1 2005-07-16 Juergen Vigna <jug@lyx.org>
3 * cursor.C (bruteFind2):
4 * bufferview_funcs.C (coordOffset):
5 * text.C (cursorX,cursorY): Handle cursor position after last char
6 in row before a inset which uses a whole row.
8 2005-07-15 José Matos <jamatos@lyx.org>
10 * output_plaintext.[Ch] (writeFileAscii): control reference title
12 (asciiParagraph): noparbreak was already deal and was incorrectly
15 2005-07-15 Juergen Vigna <jug@lyx.org>
17 * lyxfunc.C (dispatch): save and restore the cursor after a
20 2005-07-15 <lgb@tandberg.net>
22 * text.C (backspace): bug 806 for empty keepempty paragraphs we
23 change the layout to default before letting DEPM do its thing.
25 * paragraph_funcs.C (breakParagraph): dont reset the layout on
28 * text.C (setCursorFromCoordinates): add a debug statement
30 * text2.C (getColumnNearX): bug 1825 make sure that we don't
31 return a pos that is not on the row
33 * output_latex.C (TeXDeeper): get rid of potential dereferencing
34 of past the end iterator
36 2005-07-14 André Pönitz <poenitz@gmx.net>
38 * undo.C (recordUndoFullBuffer): implement undo for
41 2005-07-14 André Pönitz <poenitz@gmx.net>
43 * cursor.C (setSelection): open insets when selection is set there
44 to avoid crashs with cold coord cache
46 2005-07-14 André Pönitz <poenitz@gmx.net>
48 * trans_mgr.C (insert): move cursor to the right after inserting
51 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
53 * BufferView_pimpl.C (update): dampen some of the debug blabbering
54 * factory.C (readInset): ditto
55 * text.C, text2.C: ditto
57 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * buffer.C: format incremented to 242. There is no file format per
60 se, but the "frenchb" language has been removed from lib/language
61 and has to be translated to "french" by lyx2lyx.
63 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
65 * cursor_slice.h, dociterator.h: add some documentation
66 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
68 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
70 * text.C (leftMargin): do not add identation to display() style
71 insets, because they are always centered (bug 1293).
73 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
75 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
76 formatted_time methods in support/lyxtime.
78 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
80 * toc.[Ch]: new method getGuiName, which is used by the frontends
81 to set the toc combo (fixes bug 1870). Make TOC string translatable.
83 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
85 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
86 StableDocIterator const &)
87 * undo.C (recordUndo): use the above instead of cell.size() comparison
88 (fixes bug 1808; instructed by André).
90 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
93 * dociterator.h: Fix the assert when copying rows/cols in math
95 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
99 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
101 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
102 (findInset): new functions, refactored from goto Inset that return
103 the position of a certain inset without setting the buffer's cursor
105 (gotoInset): rewrite to call findInset and then set the cursor
108 2005-06-16 Angus Leeming <leeming@lyx.org>
110 * lyxrc.C (output, read): wrap all input and output of paths with
111 calls to os::internal_path and os::external_path, respectively.
112 (output): wrap bind_file inside quotes.
114 * format.C (view): enable the viewer to use the '$$s' placeholder.
116 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
118 * LColor.[Ch] (getFromLaTeXName): new
120 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
122 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
124 2005-06-14 Angus Leeming <leeming@lyx.org>
126 * lyx_main.C (init): ensure that the LyX binary dir is the first
127 element in the PATH on non-POSIX builds.
129 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
131 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
133 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * rowpainter.C (paintInset, paintHebrewComposeChar)
136 (paintArabicComposeChar, paintChars): add a LyXFont argument.
137 (paintChars): use getFontSpan to reduce calls to getFont to a
138 minimum; use Paragraph::lookupChange instead of isXXXText.
139 (paintForeignMark): rename LyXFont argument.
140 (paintFromPos): pass a LyXFont object to the various paintXXX
143 * FontIterator.C (FontIterator, operator++): use
144 Paragraph::getFontSpan
146 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
147 version that returns the font span as a pair.
149 2005-06-09 Angus Leeming <leeming@lyx.org>
151 * converter.C (convert): Don't forget "outfile = real_outfile" as
152 the final step in a conversion where the input and output file names
153 are the same. Otherwise, future conversion steps won't work...
155 2005-06-09 Angus Leeming <leeming@lyx.org>
157 * lyxsocket.C: remove stub code as it isn't needed by
158 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
160 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
162 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
163 effectively disabled -x
165 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
167 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
168 when it actually makes sense.
170 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
172 * BufferView_pimpl.C: revert to showCursor in connection with
173 Lars's front-end stack
175 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
177 * text.C (redoParagraph): move cursor right after a bibitem
180 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
182 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * buffer_funcs.C (bufferErrors): fix computation of the end of an
187 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
189 * BufferView.[Ch] (update):
190 * BufferView_pimpl.[Ch] (update, metrics):
191 * dimension.h (operator==):
192 * lyxfunc.C (dispatch):
193 * metricsinfo.h (ViewMetricsInfo):
194 * rowpainter.C (paintText):
196 * text.C (redoParagraph):
197 * text3.C (dispatch): Make LyX only repaint current paragraph in
198 case of character insert --> speedup. Also fix cursor draw
201 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
203 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
204 avoid a crash (bug 1891)
206 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
210 * text2.C (getStringToIndex): constify cur argument.
212 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
213 argument has been given
214 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
215 try to invoke LFUN_INSET_APPLY).
217 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
218 if no inset was created by doInsertInset
219 (doInsertInset): return true if an inset has been inserted.
221 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * vspace.C (asGUIName): new method. A version of the space
224 suitable for showing on screen.
226 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
229 * lyxrc.C: rename "ASCII" to "Plain Text"
231 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * buffer_funcs.C (expandLabel): take a Buffer as argument;
234 translate the labelstring.
235 (setCounter): translate labelstring as needed.
237 * output_docbook.C (makeCommand): fix expandLabel invokation
239 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
241 * BufferView.C: fix dialog title
243 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
245 * lyx_main.C (priv_exec): fix logic error with help from Angus
246 * lyx_main.C (parse_execute): set is_gui = false and remove now
247 obsolete comment about a segfault
249 2005-05-18 Angus Leeming <leeming@lyx.org>
251 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
253 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
255 * tabular.[hC]: added setCellInset to fix tabular paste.
257 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
259 * buffer.C (save): check if destination is writable before trying
262 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
264 * BufferView_pimpl.C (update): fix processEvents -caused update
267 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * buffer_funcs.C (setCounter): fix test for numbering of
272 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
273 depth correctly; use optional argument when it exists
275 * lyxtextclass.C: remove unused MaxCounterTags enum
276 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
277 (max_toclevel, min_toclevel): new methods.
279 * MenuBackend.C (expandToc2): fix case where depth is smaller than
280 the smallest depth in toc.
282 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
283 layouts that should not appear in a table of contents.
285 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
287 * cursor.h (undispatched, noUpdate): add comments from André
289 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
293 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
295 2005-05-07 André Pönitz <poenitz@gmx.net>
297 * cursor.[Ch] (leaveInset): new function
299 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
301 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
303 2005-05-04 Angus Leeming <leeming@lyx.org>
305 * lyxfunc.C (getStatus): disable the spell checker dialog if
306 none of USE_[AIP]SPELL are defined.
308 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
310 * tabular.C (setWidthOfCell): remove obsolete comment
312 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
314 * paragraph.C (bibitem):
315 * buffer_funcs.C (setCounter):
316 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
318 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
320 * text3.C (getStatus): immediately return after setOnOff
322 * rowpainter.C: fix drawing of appendix start
324 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
326 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
327 SwitchBetweenClasses and remove the unused return value.
328 Handle character styles, too
330 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
332 * factory.C (createInset): handle undefined character styles
334 2005-05-02 Angus Leeming <leeming@lyx.org>
336 * buffer.C: protect the #include of utime.h with a preprocessor
339 2005-05-02 Angus Leeming <leeming@lyx.org>
341 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
342 function so that auto-saving works, albeit in a blocking manner.
344 * Makefile.am: make compilation of the client sub directory, of
345 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
346 on conditionals set at configure time.
348 * SpellBase.[Ch]: no longer an abstract base class. Instead,
349 it can be compiled in its own right but has no-op functionality.
351 * aspell.C, pspell.C: remove preprocessor guards. The files should
352 be compiled only if the necessary functionality exists.
354 * lyxserver.C, lyxsocket.C: disable on Windows.
356 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
358 * text.C (leftMargin): Fix the parindent use bug (1764)
361 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
363 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
366 2005-04-25 Angus Leeming <leeming@lyx.org>
374 include <config.h> in .C files, not .h ones.
376 protect headers inside preprocessor guards.
378 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
380 * FuncStatus.h (StatusCodes): document
382 2005-04-21 André Pönitz <poenitz@gmx.net>
384 * FuncStatus.h (enabled, onoff): document
386 2005-04-19 Angus Leeming <leeming@lyx.org>
388 * BufferView_pimpl.C (cursorToggle): no longer test whether
389 any child processes have been reaped before calling
390 handleCompletedProcesses().
392 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
394 * text3.C (dispatch): fix, finally fix, the language problem in
395 new lyxtexts, without disabling on-the-fly font changes (Helge's
398 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
400 * text3.C (dispatch): set cursor on double/triple click events
403 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
405 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
406 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
408 * rowpainter.C (paintFirst): simplify the code a little bit. In
409 particular, remove the test for secnumdepth.
410 * text.C (setHeightOfRow): only allocate space for chapter number
411 when updateCounters provided an actual label, instead of looking
412 at secnumdepth directly.
414 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
416 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
417 paragraphs when secnumdepth is large enough or, for environments,
418 when they are not the first in a sequence.
420 2005-04-17 Angus Leeming <leeming@lyx.org>
422 * buffer.C (makeLaTeXFile): replace code to manipulate a path
423 containing space and '~' characters with a call to latex_path().
425 2005-04-17 Angus Leeming <leeming@lyx.org>
427 * converter.C (convert): protect all args of convertDefault.sh
430 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * text3.C (dispatch): change the layout to "Caption" after inserting
435 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
437 * text3.C (dispatch): fix language problem in newly created
438 textinsets (and main text) in non-english docs
440 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
442 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
443 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
444 * text3.C (getStatus): disable LFUN_INSET_MODIFY
446 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
451 * rowpainter.C (getFont): Fix metrics bug introduced by inset
454 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
456 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
457 output of \item arguments without trailing text.
459 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
461 * FontIterator.C (operator*): avoid a copy of the font.
463 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
465 * rowpainter.C (getFont): fix language bug from previous fix
467 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
469 * rowpainter.C (RowPainter, getFont): fix font inside inset
472 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
474 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
475 preventing inserted font, deco, delim insets jumping to start of
478 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * lyxfunc.C (dispatch): translate message before sending it to the
483 2005-03-29 Angus Leeming <leeming@lyx.org>
485 * lyx_main.C (priv_exec): call os::internal_path on each file passed
486 to LyX on the command line.
488 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
490 * vc-backend.C: use QuoteName to protect file names wherever
493 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
496 * BranchList.h: fix bugs 1844,1845: document settings don't
499 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
501 * lyxrc.C (setDefaults, read, output, getDescription): add support
502 for tex_allows_spaces.
504 * exporter.C (Export): allows files in directory containing spaces
505 if tex_allows_spaces is true.
507 * buffer.C (makeLaTeXFile): if the document path contains spaces,
508 output it in double quotes.
510 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
512 * rowpainter.C: use default text height for drawing change tracker
515 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
517 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
519 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
521 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
522 directory is missing.
524 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
526 * text2.C: fixed the fix, extended to other case.
528 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
530 * text2.C: fix for cursor up/down stuck in math [bug 1792]
532 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
534 * text2.C (cursorUp): get rid of a crash
535 * text.C (x2pos): add an assert
537 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
539 * lyxfunc.C (getStatus): fix warning when assertions are disabled
543 * dociterator.C: include <boost/current_function.hpp>, which is
544 needed when assertions are disabled.
546 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
548 * text2.C: fix for stuck cursor when traversing two
549 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
551 2005-02-25 Andreas Vox <avox@arcor.de>
553 * output_docbook.C (makeParagraph): suppress trailing newline
554 after a run of paragraphs
556 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
558 * paragraph.C: fix for confused change tracker when pasting
559 text that begins with a lineseparator. [bug 1827]
560 (setChange(0, Change::INSERTED);)
562 * paragraph_funcs.C: fix for lost changes on triple-paste
563 in change tracking mode [bug 1827] (par.setChange()).
565 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
567 * text2.C (updateCounters, setCounter, expandLabel): move to
570 * buffer_funcs.C (updateCounters): turn into a free standing
571 function and add a buffer parameter. Remove dead code for tracking
573 (setCounter): change into a free-standing function which gets a
574 dociterator as argument. Use this iterator to fix captions in a
575 simple way. When no float is found above the caption, use the
576 labelstring of the caption layout as default.
578 * text.C (breakParagraph, backspace):
579 * text2.C (init, setLayout, changeDepth):
580 * text3.C (dispatch):
581 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
584 * dociterator.C (forwardPar): make it much faster by calling
585 forwardPos() only when really necessary.
587 * output_docbook.C (makeCommand): adapt to expandLabel move.
589 * cursor.C: remove unused variable
591 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
593 * paragraph_funcs.C: fix crash when pasting insets in change
594 tracking mode [bug 1277] (honour change type in moveItem).
596 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
598 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
600 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
602 * BufferView.C (setCursor): change to use a DocIterator.
603 (gotoLabel): use BufferView::setCursor (other part of bug 781).
604 (putSelectionAt): adapt to BufferView::setCursor change.
606 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
607 moved here from LyXText and rewritten to use proper cursor
608 methods. Fixes bug 1787, 616 and 835.
610 * BufferView_pimpl.C (restorePosition): set the cursor correctly
611 when inside an inset (part of bug 781).
612 (dispatch): adapt to change of BufferView::setCursor.
613 (getStatus, dispatch): handle LFUN_GOTOERROR,
614 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
616 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
617 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
618 * text3.C (gotoNextInset, gotoInset): removed.
620 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
624 2005-02-15 Angus Leeming <leeming@lyx.org>
626 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
627 can be used meaningfully in a comparison.
629 2005-02-13 André Pönitz <poenitz@gmx.net>
631 * bufferview_funcs.C (coordOffset): improve cursor drawing
633 2005-02-13 André Pönitz <poenitz@gmx.net>
635 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
636 * Cursor.C (dispatch): use fixIfBroken
637 * lyxfunc.C (getStatus): use fixIfBroken
639 2005-02-15 Angus Leeming <leeming@lyx.org>
641 * lyx_main.C (error_handler):
643 * lyxrc.C (setDefaults):
645 #include "environment.h".
647 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
649 2005-02-15 Angus Leeming <leeming@lyx.org>
651 * lyxserver.C (startPipe): squash MSVC warning "local variable
652 'fd' used without having been initialized".
654 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
656 * BufferView_pimpl.C: revert accidental commit.
658 2005-02-14 André Pönitz <poenitz@gmx.net>
660 * dociterator.[Ch]: new member forwardPosNoDescent(),
661 which doesn't enter nested insets.
662 * text2.C (setFont): use forwardPosNoDescent() instead
663 of ForwardPos() (fixes crash on font change).
665 2005-02-13 Angus Leeming <leeming@lyx.org>
667 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
668 only if lyxrc.path_prefix is not empty.
670 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
672 * bufferparams.C (readGraphicsDriver): prevent crash
674 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
676 * text2.C (setCounter): check for inInset() == 0
678 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
680 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
681 but use update() to get correct screen display; use convert
682 instead of istringstream.
683 (getStatus): handle LFUN_GOTO_PARAGRAPH
685 * lyxfunc.C (dispatch, getStatus): do not handle
686 LFUN_GOTO_PARAGRAPH here.
688 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
690 * text3.C (dispatch): size() -> depth()
692 * text2.C: remove some debug output
694 * paragraph.C: ws changes only
696 * lyxfunc.C (getStatus): size() -> depth()
698 * dociterator.h (clear, push_back, pop_back, internalData,
699 operator[], resize, empty): new functions
700 Make StableDocIterator and operator== be friends. Don't inherit
701 from std::vector use a privat class variable slices_ instead.
704 * dociterator.C: update because of not inheriting from std::vector
705 anymore. Call explictly to slices_ instead. Use depth() instead of
706 size() and top() instead of back()
708 * cursor.C: chagne size() -> depth and back() -> top(). Also
709 remove some direct operator[](i) calls in favour of foo[i]
710 (getFont): remove some dead code
712 * bufferview_funcs.C (coordOffset): size() -> depth()
714 * buffer.C: ws changes only
716 * CutAndPaste.C (eraseSelection): back() -> top()
718 * BufferView_pimpl.C (selectionRequested): back() -> top()
720 * BufferView.C (setCursor): size() -> depth()
722 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
724 * text3.C (cursorPrevious): return true if depm changed something
726 (dispatch): rename sl to oldTopSlice, remove moving use the new
727 NoUpdate func attrib instead. Make sure that needsUpdate is set
728 for function that have NoUpdate, but where depm might have changed
731 * text2.C (cursorLeft): make us return true if depm changed
734 (cursorUpParagraph): ditto
735 (curosrDownParagraph): ditto
736 (cursorUp, cursorDown): ditto, make sure to read comments in code
737 (deleteEmptyParagraphMechanism): remove an assert, also return
738 true if just a single char was deleted.
740 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
741 cursor that we modify, to avoid modifying an active cursor before
742 we call setCursor. This allows depm to run. Also return true if
743 depm deleted something.
745 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
746 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
747 cursorDownParagraph, cursorPrevious and cursorNext, return true if
748 something was changed in the buffer because of them (ie. depm run)
750 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
751 debug messages. Make update by default be false. Make sure that
752 the result of update is retained throught several calls down to
755 * LyXAction.h: add a new func_attrib: NoUpdate
757 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
758 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
759 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
761 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
763 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
765 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
766 bv_->owner(), bv_->buffer() by direct references to the private
768 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
769 (getStatus): isSavedPosition() is in BufferView::Pimpl.
770 (fitCursor): center() is in BufferView::Pimpl.
771 (getStatus, trackChanges, dispatch): no need for a temporary buf
773 (fitCursor, workAreaDispatch): use workarea().workheight()
775 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
777 * CutAndPaste.C (pasteSelectionHelper): fix a crash
779 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
781 * buffer.C: format up to 241.
782 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
783 break if pasting into ERT
784 * lyxfunc.C (getStatus): suppress mathpanel and
785 LFUN_DIALOG_SHOW_NEW_INSET in ERT
787 2005-02-01 Angus Leeming <leeming@lyx.org>
789 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
791 2005-02-01 Angus Leeming <leeming@lyx.org>
793 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
794 calling fs::is_directory().
796 2005-01-31 Angus Leeming <leeming@lyx.org>
798 * lyx_main.C (priv_exec): specify explicitly the relative location
799 of the top level build directory when run in-place.
801 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
803 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
804 LyXText containing the cursor, not the top-level one.
806 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
808 (insertStringAsLines): rename par to pit; use temporary variable
809 par to hold a Paragraph; do not store par.layout() in a variable,
810 since the pointer may die when breaking paragraphs; pass pars to
811 breakParagraph() instead of Buffer::paragraphs().
813 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
815 * lyxlex_pimpl.h: #include <fstream>.
817 * BufferView.[Ch] (getLyXText): add a const version.
819 * BufferView_pimpl.C: add debug aids.
824 * paragraph_funcs.h: add commentary explaining what the class does.
827 * coordcache.[Ch]: add lots of commentary.
828 (startUpdating, doneUpdating): debug aids.
829 (arrays, insets, parPos, getParPos): accessors to private data.
831 * cursor_slice.[Ch] (text): add a const version.
832 * dociterator.[Ch] (text, innerText): add const versions.
834 * lyxtext.h (breakParagraph): change the keep_layout arg to a
837 * paragraph.C (getRow, pos2ros): add asserts.
839 * paragraph.h: add commentary. Lots of.
841 * paragraph.[Ch] (metrucs, draw): removed.
844 * rowpainter.[Ch]: const-correct changes.
846 * text.C: various obvious clean-ups. Removal of ancient cruft.
849 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
851 * vc-backend.C (find_file): rewrite to use boost.filesystem
854 * main.C (main): set default name check for boost.filesystem to
857 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
860 (actOnUpdatedPrefs): ditto
862 * lyx_main.C (init): rewrite to use boost.filesystem
863 (queryUserLyXDir): ditto
865 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
866 (getContentsOfAsciiFile): ditto
868 * lastfiles.C (readFile): rewrite to use boost.filesystem
870 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
872 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
875 * buffer.C (Buffer): adjust for destroydir
876 (getLogName): rewrite to use boost.filesystem
878 (save): use fs::copy_file (from fs_extras)
880 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
882 * LaTeX.C (run): rewrite to use boost.filesystem
883 (scanAuxFiles): ditto
884 (handleFoundFile): ditto
886 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
888 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
890 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
892 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
894 * lyxlayout.[Ch]: change some vars from float to double
896 * buffer.C (readFile): make a local var const
898 * Several files: use convert<> instead of atoi,strToXXX and friends
900 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
902 * LaTeXFeatures.[Ch]: Add a static list packages_ that
903 holds the contents of packages.lst. New functions getAvailable
904 and isAvailable to parse and check that list, resp.
908 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
910 * bufferparams.[Ch]: new param output_changes.
912 * Buffer.C: increase file format to 240.
913 Use output_changes and isVailable.
917 * paragraph_pimpl.C: Use output_changes and isVailable.
919 2005-01-23 Angus Leeming <leeming@lyx.org>
921 * output_latex.C: #include "insetbibitem.h", rather than
922 forward declare function bibitemWidest.
924 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
926 * lyx_main.C (init): make it compile on the Mac.
928 2005-01-20 Angus Leeming <leeming@lyx.org>
930 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
931 (setLyXMisc): (char string literal) != (char string literal) is
932 performing a comparison on the addresses. Convert one operand
933 explicitly to string to guarantee expected behaviour.
936 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
939 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
941 * output_plaintext.C: remove unneeded #include gzstream.h.
943 2005-01-20 Angus Leeming <leeming@lyx.org>
945 * SpellBase.h: rename some of the elements of the Result enum.
952 * pspell.C (check): ditto
954 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
956 * buffer.C: add #include <fstream>.
958 * lyx_main.C (init): Compile fix.
960 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
962 2005-01-20 Angus Leeming <leeming@lyx.org>
964 * mover.h: change commentary to reflect the changed meaning of
967 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
969 * output_linuxdoc.C (linuxdocParagraphs): silence warning
971 * lyxfind.C (MatchString::operator()): remove bogus semicolon
973 2005-01-20 Angus Leeming <leeming@lyx.org>
975 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
976 printing diagnostic data by not dereferecing an iterator past the
979 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
981 * buffer.C (readHeader): use "&&" rather than "and".
983 * lyxserver.h (inPipeName, outPipeName): make these const.
985 2005-01-19 Angus Leeming <leeming@lyx.org>
987 * lyx_main.C (error_handler, init): protect SIGHUP with
988 #ifdef SIGHUP guards.
990 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
992 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
994 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
996 * text.C (setHeightOfRow): add a margin at the top and bottom of
997 the document (bug 1761)
999 2005-01-17 Angus Leeming <leeming@lyx.org>
1001 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1002 with "python ". Workaround for a brain-dead Windows.
1004 2005-01-16 Angus Leeming <leeming@lyx.org>
1006 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1007 for MacOSX and Windows to use prependEnvPath.
1008 Strip out the hard-coded block to add elements to the PATH for
1009 MacOSX and replace it with a call to prependEnvPath using the
1010 contents of LyXRC::path_prefix.
1011 (queryUserLyXDir): strip out the code to run reconfigure, instead
1012 returning a boolean indicating the necessity to do so.
1013 (reconfigureUserLyXDir): contains the code to reconfigure the
1014 user support directory. Is now called after the various LyXRC data
1015 files have been read.
1017 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1019 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1021 * converter.[Ch] (convert): take a new parameter try_default. Use
1022 a default converter (imagemagick) if try_default is true.
1024 2005-01-13 Angus Leeming <leeming@lyx.org>
1026 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1027 os::cygwin_path_fix.
1028 (write): output LyXRC::cygwin_path_fix as necessary.
1030 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1033 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1035 2005-01-12 Angus Leeming <leeming@lyx.org>
1037 * lyx_main.C (init): set the PATH variable to include the
1038 directory containing the LyX binary when running on Mac or Windows.
1040 2005-01-12 Angus Leeming <leeming@lyx.org>
1042 * lyx_main.C (init): remove cruft that purports to set the locale
1043 dir. It doesn't and is not needed anyway.
1045 2005-01-10 Angus Leeming <leeming@lyx.org>
1047 * Makefile.am: remove the lyx_main.C special casing.
1049 * BufferView_pimpl.C:
1055 * messages.C: use support/package.h to provide the paths to the
1056 various directories used by LyX.
1058 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1060 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1061 layout if pasting into an empty paragraph)
1063 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1065 * tex-accent.C: add <string>
1067 2005-01-06 José Matos <jamatos@lyx.org>
1069 * ParagraphParameters.C (write): put every parameter in its own line.
1070 * paragraph.C (write): reduce number of consecutive empty lines exported.
1071 * buffer.C (LYX_FORMAT): increase file format to 239.
1073 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1075 * everywhere: change support/tostr.h -> support/convert.h
1077 * tabular.C: make all write_attributes templates, tostr -> convert
1079 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1080 (emptyTag): and -> &&, and fix type for ret from getChar
1081 (getFirstWord): fix type for ret from getChar
1082 (onlyText): and -> &&
1083 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1086 * toc.C (goTo, action):
1087 * text3.C (dispatch):
1088 * text.C (currentState):
1089 * tex-accent.C (DoAccent):
1092 * lyxfunc.C (menuNew):
1093 * lyxfinc.C (replace):
1094 * counters.C (laberItem):
1095 * bufferview_funcs.C (font2string):
1096 * bufferparams.C (writeFile):
1097 * buffer.C (readFile):
1099 * MenuBackend.C: tostr -> convert
1101 * LaTeX.C (runMessage): fix format
1102 (scanAuxFiles): tostr -> convert
1104 * BufferView_pimpl.C (savePosition): fix format
1105 (restorePosition): ditto
1108 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1110 * Spacing.[Ch]: New method getValueAsString().
1114 * ParagraphParameters.C:
1117 * text3.C: store/read spacing value as string.
1119 * rowpainter.C: change float value (spacing_val) to double.
1121 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1122 broken custom document spacing).
1124 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1126 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1127 namespace, also more use of temp references and const
1129 * cursor.[Ch] (getStatus): move to lyxfunc.C
1131 * bufferparams.C: reformat slightly
1133 * bufferview_funcs.C (font2string): constify arg
1139 * buffer_funcs.C: (many funcs): constify arg on function
1140 definitions, also make more local vars const, also add ASSERTS on
1143 * buffer.C (LYX_FORMAT): put const in correct place
1144 (many funcs): constify arg on function definitions, also make
1145 more local vars const
1147 * aspell_local.h: remove "struct" from typdef setup
1149 * aspell.C (check): make word_ok const
1150 (nextMiss): simplify slightly
1153 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1155 * lyxrc.[Ch]: store all float values as strings.
1156 use int (not float) for lyxrc.dpi.
1158 2005-01-04 Angus Leeming <leeming@lyx.org>
1160 * lyx_cb.C (Reconfigure):
1161 * lyx_main.C (queryUserLyXDir):
1162 to run the <system_lyxdir>/configure correctly on Windows, prefix
1163 the path to the script with "sh " when generating the string that
1164 is passed to system().
1166 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1168 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1170 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * lyxlength.C (asLatexString): get rid of setprecision
1174 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1176 * text2.C (setLayout): remove unused variable endpit.
1177 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1179 * paragraph.C (onlyText): remove unused variable style.
1181 * cursor.C (bruteFind): remove unused variables beg and end.
1183 * Makefile.am (dist_noinset_DATA): not needed anymore
1185 * cheaders/*: remove.
1187 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1189 * text3.C: fix LFUN_MATH_MODE.
1191 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1193 * buffer_funcs.C (countWords): new function. Counts words between
1196 * BufferView_pimpl.C (getStatus, dispatch): handle
1199 * LyXAction.C (init):
1200 * lfuns.h: add LFUN_WORDS_COUNT.
1202 2004-12-19 Angus Leeming <leeming@lyx.org>
1204 * buffer.C (save): s/slashify_path/internal_path/.
1206 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1208 * lyxfind.C (findChange): do not search for end of pars, because
1209 the change tracker cannot handle this (fixes bug 1719).
1211 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1213 * paragraph.[Ch] (autoBreakRows): remove
1215 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1217 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1218 avoid using the paragraph one
1220 * text2.C (LyXText, insertStringAsLines): adjust
1222 2004-12-16 Angus Leeming <leeming@lyx.org>
1226 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1228 2004-12-14 Angus Leeming <leeming@lyx.org>
1230 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1232 * bufferlist.C (emergencyWrite):
1233 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1236 2004-12-14 Angus Leeming <leeming@lyx.org>
1238 * main.C: (main): no longer pass pointers to os::init.
1240 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1242 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1243 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1245 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1248 * text3.C: remove selection_possible global flag
1250 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1252 * text2.C (getSelectionSpan): remove
1253 (changeDepth, changeDepthAllowed): adjust
1255 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1257 * Makefile.am (BOOST_LIBS): use boost variables
1259 2004-12-03 José Matos <jamatos@lyx.org>
1261 * buffer.C: format up to 238.
1263 2004-12-03 José Matos <jamatos@lyx.org>
1265 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1267 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1269 * cursor.C (goUpDown): remove call to idxUpDown2
1271 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1273 * tabular.[Ch]: use size_t-like types for cell, row and column
1276 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1278 * lyxfunc.C (getStatus): do not lose previous information when
1279 calling BufferView::getStatus; do not set a default "Command
1280 disabled" message at the beginning, but just before returning.
1282 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1284 * cursor.h (getStatus): add better comment from src/cursor.C
1286 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1288 * text3.C (getStatus): return false when the lfun is not handled
1290 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1292 * broken_headers.h: remove
1294 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1296 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1298 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1299 offset_ref accessors
1301 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1302 top_y_, merge fitcursor with update
1303 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1305 (metrics): introduce
1306 (workAreaDispatch): adapt to new coord scheme
1307 (redoCurrentBuffer): remove
1309 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1311 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1314 * coordcache.[Ch]: add paragraph cache and helpers
1316 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1319 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1320 (targetX, setTargetX): introduce
1322 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1323 baseline -> ascent, as the rest of lyx
1325 * lyxtext.h: remove redoParagraphs, updateParPositions,
1326 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1327 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1328 have ascent/descent (ascent is ascent of first par)
1330 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1333 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1335 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1337 * pariterator.C: fix infinite loop introduced in par->pit renaming
1339 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1340 in insets and LyXText, draw two off-screen paragraphs using
1341 NullPainter, and adapt to new coord scheme
1345 * text3.C: adapt lfun handlers to the new coord scheme, which
1346 means: there's only guaranteed coord information for onscreen pars
1347 plus one above and one below. This implies that one can do search
1348 from y coordinates in the range [-1,workHeight]
1350 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1352 * rename a lot of InsetOld to InsetBase
1354 2004-11-25 Angus Leeming <leeming@lyx.org>
1356 * BufferView_pimpl.C:
1358 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1360 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1362 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1363 call BufferView::getStatus if LCursor::getStatus did nothing
1364 (setStatusMessage, getStatusMessage): removed.
1366 * FuncStatus.C (message): new methods. Used to provide an error
1367 message indicating why a command is disabled.
1368 (clear, |=, FuncStatus): update for message.
1370 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1372 * lyxfunc.C (dispatch): always call sendDispatchMessage
1374 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1377 * BufferView_pimpl.C:
1382 * cursor_slice.[Ch]:
1385 * paragraph_funcs.C:
1391 * undo.C: par->pit renaming
1393 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1395 * tabular.C (cellstruct): use initialization, store a shared_ptr
1396 to insettext instead of the insettext directly, adjust to fit.
1397 (operator=): new function
1398 (swap): new function
1399 (rowstruct): use initialization
1400 (columnstruct): use initialization
1401 (ltType): use initialization
1404 * lyxlength.h (swap): new function
1406 * LColor.[Ch] (operator=): use the common semantics
1408 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1410 * lyxfind.C (findNextChange): update the bufferview after setting
1413 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1415 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1416 number of InsetOptArgs has already been inserted.
1418 * output_latex.C (latexOptArgInsets): new method. This outputs all
1419 the optarg insets, up to the limit defined in the layout file.
1420 (optArgInset): removed
1421 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1423 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1425 * paragraph.C (isLetter): remove special spellchecker-related
1426 code; return true also for digits
1427 (isWord, isKomma): remove
1429 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1430 * lyxfind.C (MatchString()): use isLetter instead of isWord
1432 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1434 * pariterator.h (operatir=): comment out un-implemented member
1437 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1440 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1442 * lyxfont.h: include LColor.h to satisfy concept checks.
1444 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1446 * pariterator.h: add typdefs for value_type, difference_type,
1447 pointer and reference to satisfy concept checks. Also add default
1448 constructor for same reason.
1450 * pariterator.C (operator++): add post-increment operator to
1451 satisfy concept checks.
1453 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1456 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1458 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1459 checks. Also rename base_type to BaseType to follow naming
1462 * FloatList.h: include Floating.h to satisfy concept checks.
1464 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1466 * lyxfunc.C (getStatus): when the origin of the request is menu or
1467 toolbar, and the LyXView does not have focus, do as if there was
1468 no buffer (bug 1720)
1470 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1471 FuncRequest to individual entries of LFUN_SEQUENCE
1473 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1475 * output_latex.C (TeXOnePar): override runparams.moving_arg
1476 according to the needprotect value of the current paragraph (bug
1479 * paragraph.C (simpleTeXOnePar): no need to override
1480 runparams.moving_args here
1482 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1484 * vspace.C: fix off-by-one-error, related to fix #1682
1486 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1488 * lengthcommon.C: a more general fix for bug 1682
1490 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1492 * text.C (backspace): fix crash
1494 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1496 * format.[Ch] (getFormatFromFile): new method
1497 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1499 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1501 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1503 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1505 * lyxfunc.C (dispatch): remove the verbose argument
1506 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1509 * kbmap.C (defkey): set the origin of func to KEYBOARD
1511 * MenuBackend.C (MenuItem):
1512 * ToolbarBackend.C (add): set the origin of func to UI
1514 * funcrequest.[Ch]: add origin member, which indicates which part
1515 of LyX requests an action
1517 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1519 * converter.C (move): don't lie in the error message
1520 * converter.h (isReachable, move): document
1522 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1524 * buffer.C: remove unused using lyx::support::atoi
1525 * paragraph_funcs.C: ditto
1527 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1529 * bufferlist.C (exists): use bind and equal_to instead of
1532 * lyxtextclasslist.C (NumberOfClass): ditto
1534 * cursor.C (insert): use for_each instead of explicit for loop
1536 * bufferlist.C (getFileNames): use std::transform and
1537 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1539 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1542 * buffer.C (changeLanguage): use for_each instead of explicit for
1544 (hasParWithID): implement using getParFromID
1546 * LaTeXFeatures.C: ws change only
1548 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1551 * BufferView_pimpl.C (trackChanges): use for_each instead of
1554 2004-11-04 André Pönitz <poenitz@gmx.net>
1557 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1559 * dociterator.C (asDocIterator): use hard assert again.
1561 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1563 * lyxlength.C (asLatexString): rewrite so that it does not use
1566 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1568 * text3.C (specialChar, dispatch): make sure cursor moves to the
1569 right after inserting an inset
1571 2004-11-02 José Matos <jamatos@lyx.org>
1573 * output_docbook.C (docbook):
1574 * paragraph.C (getID):
1575 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1576 garantee that the output is always legal.
1578 * tabular.C (docbook):
1579 * outputprams.[Ch]: remove mixed contents.
1581 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1583 * text2.C (setCounter): prevent endless loop
1585 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1587 * exporter.C (copyFile): use the mover instead of support::copy()
1588 * exporter.C (Export): pass format and latex name to copyFile()
1589 * exporter.h (addExternalFile): document
1590 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1592 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1594 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1596 2004-10-30 José Matos <jamatos@lyx.org>
1598 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1599 text and no inset or font change. This allows to use CDATA
1600 sections just for the whole paragraph.
1602 2004-10-30 José Matos <jamatos@lyx.org>
1604 * paragraph.C (getFirstWord): remove unused variable.
1606 2004-10-30 José Matos <jamatos@lyx.org>
1608 * paragraph.C (getFirstWord): the content should always be escaped
1610 (simpleDocBookOnePar):
1611 * output_docbook.C (makeEnvironment): replace reference to CDATA
1614 2004-10-30 José Matos <jamatos@lyx.org>
1616 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1618 2004-10-30 José Matos <jamatos@lyx.org>
1620 * output_docbook.C (makeParagraphs):
1621 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1622 standard paragraph has only a given type of content drop the wrapper.
1624 2004-10-29 José Matos <jamatos@lyx.org>
1626 * output_docbook.C (makeEnvironment):
1628 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1630 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1632 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1633 (cleanID): sanitize any id.
1635 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1637 * buffer.C, lyxlex_pimpl.C:
1638 * lyxlex_pimpl.C (setFile):
1639 s/getExtFromContents/getFormatFromContents/
1641 2004-10-28 José Matos <jamatos@lyx.org>
1643 * output_docbook.C (makeEnvironment): move id to broadest possible
1646 * sgml.C (openTag): apply substitution of <> for all attributes.
1648 2004-10-28 José Matos <jamatos@lyx.org>
1650 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1651 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1652 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1654 * sgml.[Ch]: new version for open and closeTag for paragraph and
1655 for strings. Now they handle the ids of paragraphs.
1657 2004-10-26 Angus Leeming <leeming@lyx.org>
1659 * Makefile.am: add mover.[Ch].
1661 * converter.C (convert, move): use the new Movers to move external
1662 files to the temp directory.
1664 * lyx_main.C (init): ensure that the global system_movers data
1667 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1670 * mover.[Ch]: new files, defining a Mover as a utility to move an
1671 external file between directories and, if necessary, manipulate this
1672 file using a helper script.
1674 2004-10-25 José Matos <jamatos@lyx.org>
1676 * output_docbook.C (makeCommand): merge two if's that tested the
1679 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1681 * sgml.C (escapeString): fix warning in a better way
1683 2004-10-25 José Matos <jamatos@lyx.org>
1685 * sgml.C (escapeString): import the require boosts header file for
1686 tie, and avoid a signed unsigned comparison.
1688 2004-10-25 José Matos <jamatos@lyx.org>
1690 * sgml.h: add #include <string>
1692 2004-10-25 José Matos <jamatos@lyx.org>
1694 * sgml.[Ch] (escapeString): new function to escape all the string.
1696 2004-10-24 José Matos <jamatos@lyx.org>
1698 * paragraph.[Ch] (getFirstWord): new function to get the first
1699 word. Useful for description.
1700 (simpleDocBookOnePar): remove depth argument, add another that
1701 says where to start the paragraph.
1703 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1704 use the new functions to fix cleanly the support for descriptions.
1706 2004-10-24 José Matos <jamatos@lyx.org>
1708 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1709 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1710 * output_linuxdoc.C (linuxdocParagraphs):
1711 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1712 add buffer as argument.
1714 2004-10-24 José Matos <jamatos@lyx.org>
1716 * output_docbook.C (makeEnvironment, searchEnvironment): place
1717 CDATA inside paragraphs and fix scope for listitems.
1719 2004-10-24 José Matos <jamatos@lyx.org>
1721 * output_docbook.C: remove using statement for stack.
1723 2004-10-23 José Matos <jamatos@lyx.org>
1725 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1726 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1727 docbook. The new scheme is recursive and makes use of iterators, the
1728 same as latex export works.
1729 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1730 directly with the paragraph contents. This code was moved up to
1731 output_docbook.C (docbookParagraphs).
1732 * sgml.C (openTag, closeTag): removed unneeded newlines.
1733 (closeEnvTags) removed.
1735 2004-10-23 André Pönitz <poenitz@gmx.net>
1737 * undo.C (textUndoOrRedo):
1738 * dociterator.C (asDocIterator): work around crash
1740 * cursor.C (getStatus): replace ASSERT by more verbose error message
1741 and manual correction of the problem. Should increase stability
1742 while providing more sensible information.
1744 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1746 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1748 * bufferlist.C (previous, next): new methods
1751 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1753 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1755 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1756 entities to preamble.
1758 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1760 * messages.C (Pimpl): strip off translation context information
1762 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1764 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1765 the cursor is correct (bug 1694)
1767 2004-10-13 José Matos <jamatos@lyx.org>
1769 * output_docbook.C (docbookParagraphs): fix closing tags in the
1770 end of the document.
1772 2004-10-09 José Matos <jamatos@lyx.org>
1774 * buffer.C: format up to 237.
1775 * bufferparams.C (write): use tostr to convert booleans to strings.
1777 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1779 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1781 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1783 * LaTeX.C: implement use of babel language in xindy.
1785 2004-10-05 José Matos <jamatos@lyx.org>
1787 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1788 Add new translators to help reading and writing the lyx file.
1790 2004-10-05 José Matos <jamatos@lyx.org>
1792 * ParagraphParameters.C (read):
1793 * text.C (readParToken): replace nexToken by more appropriate lex
1796 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1798 * LaTeX.C (runMakeIndex):
1799 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1800 (usually 'makeindex') configurable.
1802 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1803 with a variable rather than with a number.
1805 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1807 * output_latex.C (TeXOnePar): make sure font setting is the first
1808 thing that gets output (and the last at the end). Should fix bug
1811 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1813 * pch.h: use proper signal include
1815 * LaTeX.h: Use preferred calling of Boost.Signal
1818 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1820 * pch.h: dont include <boost/function/function0.hpp>
1822 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1824 * paragraph_pimpl.h: remove usage of ShareContainer
1826 * paragraph_pimpl.C: remove initialization of ShareContainer.
1828 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1832 * BufferView.C (putSelectionAt): change the semantics when
1833 backwards == true: now, this just swaps cursor and anchor wrt the
1836 * BufferView.h (putSelectionAt): add some documentation
1838 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1839 make sure backwardChar is done at least once (to avoid getting
1841 (findNextChange): use putSelectionAt in the forward direction
1842 (operator()): use Paragraph::isWord
1844 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1846 * Spacing.C (set): c_str fix
1848 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1850 * lyx_cb.C (Reconfigure): quote the name of configure script in
1851 case it contains spaces
1853 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1857 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1858 (BOOST_LIBS): use top_buildir when looking for the file
1860 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1862 * pch.h: do not use include boost/format.hpp, multiple symbols
1863 will result (gcc bug)
1866 2004-08-23 José Matos <jamatos@lyx.org>
1868 * bufferparams.C (readToken): fix reading of the author field.
1870 2004-08-20 José Matos <jamatos@lyx.org>
1872 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1874 2004-08-20 José Matos <jamatos@lyx.org>
1876 * lyxlex.[Ch] (findToken): remove function.
1878 * ParagraphParameters.C (findToken):
1879 * bufferparams.C (findToken): replace call for previous function
1880 with local copy. This local function has one more argument, the
1881 read string argument.
1883 2004-08-16 José Matos <jamatos@lyx.org>
1885 * ParagraphParameters.C (write):
1886 * Spacing.C (writeFile):
1887 * bufferparams.C (writeLaTeX):
1888 * lyx_cb.C (Reconfigure):
1889 * paragraph.C (write):
1890 * tabular.C (write): remove unnecessary space at end of line.
1893 2004-08-16 José Matos <jamatos@lyx.org>
1895 * text.C (readParagraph): remove debug message.
1897 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1899 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1902 * output_plaintext.C (asciiParagraph): set depth correctly
1904 * outputparams.h: add member depth
1906 * paragraph_funcs.C (ownerPar): remove.
1908 * text2.C (setCounter): remove first_pit; comment out some
1909 non-working code that uses ownerPar
1911 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1914 2004-08-16 José Matos <jamatos@lyx.org>
1916 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1917 For the same level of importance use the same chanel to report problems.
1918 (read): add code to deal with \begin_body and \end_body.
1921 2004-08-15 José Matos <jamatos@lyx.org>
1923 * lyxlex.C (getString): fix comment, buffer::readBody is now
1924 buffer:readDocument.
1926 * tex-strings.C (string_papersize): Default -> default,
1927 Custom -> custom, for consistency with other options.
1929 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1933 * Makefile.am: support pch
1935 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1937 * text.C (readParToken): remove the static LyXFont variable and
1938 pass it as a parameter instead. This fixes a nasty bug where an
1939 inset will be inserted with a bad font in some situations
1940 (readParagraph): adapt
1942 * text2.C (setCounter): reduce number of calls to pars_[pit]
1944 * text.C (singleWidth): add an assert, fix a test
1946 * rowpainter.C (paintText): reduce number of calls to singleWidth
1948 * paragraph.C (isHfill):
1949 (isNewline): ws only
1951 2004-08-14 André Pönitz <poenitz@gmx.net>
1956 * lyxtext.h (several functions): use a Paragraph & argument
1959 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1961 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1963 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1965 * text.C (singleWidth): remove useless test
1967 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1969 * tabular.h: remove bogus comments
1971 * tabular.C (getDescentOfRow):
1972 (isPartOfMultiColumn): add assertions
1974 * lyxlength.C (inPixels): remove #warning
1976 2004-08-14 André Pönitz <poenitz@gmx.net>
1978 * paragraph.h: inline getChar()
1980 * BufferView.h: remove unused declarations
1982 2004-08-14 José Matos <jamatos@lyx.org>
1984 * Buffer.[Ch] (readDocument): new name for old readBody.
1985 * Buffer.C: new file format, new keywords: \begin_document,
1986 \begin_header, \begin_body, \end_body.
1988 * bufferparams.C (readToken): replace all calls to lex.nextToken
1989 by lex.next(). Do the same to eatLine except where really needed.
1991 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1992 line when writing to the lyx file.
1994 * output_plaintext.C (asciiParagraph): fix Bibliography style
1997 * text.C (read): fix end of file handling.
1999 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2001 * MenuBackend.C (Menu::operator[]): new method to access
2002 individual menu items
2003 (Menu::hasFunc): new method. search for an item that corresponds
2005 (MenuBackend::specialMenu): new method
2006 (MenuBackend::expand): if a special menu has been set, skip
2007 entries whose func() appears in this menu
2009 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2011 * text3.C: use Debug::DEBUG a bit more
2013 * text.C (leftMargin): try to simplify a tiny bit change var x to
2014 l_margin. Dont output the wide margins always.
2015 (rightMargin): no margin in inner texts
2017 * rowpainter.h (nestMargin): new func
2018 (changebarMargin): new func
2019 (rightMargin): new func
2021 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2025 * factory.C (createInset): modify setDrawFrame
2027 * cursor.C: use Debug::DEBUG a bit more
2029 2004-08-14 André Pönitz <poenitz@gmx.net>
2032 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2033 cache for all insets in (at least partially) visible (top-level)
2036 * BufferView_pimpl.C: reset external coord cache before every update.
2037 This means the coord cache only contains valid entries.
2039 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2042 * BufferView_pimpl.C (getInsetByCode): move function out of class
2043 and change in to a template in anon namespace. Also fix to do what
2046 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2049 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2051 (breakParagraph): rename par to par_offset and use a local
2052 reference. Add code to keep the language over a rebreak.
2053 (breakParagraphConservative): rename par to par_offset, use a
2055 (mergeParagraph): ditto
2057 (isFirstInSequence): ditto
2058 (outerFont): rename pit to par_offset
2060 * paragraph.C: ws change
2061 * paragraph.h: ditto
2065 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2067 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2070 * paragraph.C (simpleTeXOnePar): when we have a \item with
2071 optional argument, enclose the argument with curly brackets (in
2072 case it contains a closing square bracket)
2076 * text3.C (checkInsetHit): constify
2078 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2080 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2081 documents (bug 1629)
2083 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2085 Fix toggling of collapsable insets with the mouse (bug 1558)
2087 * lyxfunc.C (dispatch): adapt to LCursor changes
2089 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2090 make sure that dispatch is not invoked twice
2092 * cursor.C (needsUpdate): new method
2093 (dispatch): return void
2094 (result): new method, to access the DispatchResult of the cursor.
2096 2004-08-13 José Matos <jamatos@lyx.org>
2098 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2100 2004-08-13 André Pönitz <poenitz@gmx.net>
2102 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2104 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2107 2004-08-12 André Pönitz <poenitz@gmx.net>
2109 * text3.C: take out the 'cursor right' form insertInset and only
2110 do it in those places when it is really needed. Fixes crash on
2113 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2115 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2117 * BufferView_pimpl.C (setBuffer): initialize the current font of
2118 the underlying LyXText
2120 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2122 * kbsequence.C (print): use UI native formatting for menu
2125 * text.C (insertChar): call Paragraph::insertChar with a font
2128 * paragraph.C (insertInset, insertChar): the version that takes a
2129 LyXFont argument is now a wrapper around the other one (the
2130 opposite used to be true).
2132 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2133 argument. Font setting is done in Paragraph now.
2135 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2137 * outputparams.h: add new members intitle and lang.
2139 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2140 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2142 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2144 * text3.C (dispatch): remove special handling of button 4 and 5,
2145 it is now taken care of in the frontend code.
2147 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2149 * Spacing.h: add <string> (STLPort compile fix)
2151 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2153 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2155 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2157 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2160 * converter.C (showMessage): inherit from unary_function, make
2163 * buffer.C (writeFile): initialize retval
2165 * InsetList.h: rename private variable list to list_
2166 * InsetList.[Ch]: adjust accordingly.
2168 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2170 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2171 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2172 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2173 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2174 * ParagraphParameters.C, LaTeXFeatures.C: replace
2175 "support/std_sstream.h" with <sstream>
2177 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2179 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2180 * lyxsocket.C (LyXServerSocket): ditto
2181 (serverCallback): ditto
2183 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2185 * LaTeXFeatures.C: check release date when loading jurabib.
2187 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2189 * lyxserver.C (startPipe): call register_socket_callback
2190 (endPipe): call unregister_socket_callback
2192 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2194 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2195 (LyXServerSocket): register the callback
2196 (LyXServerSocket): unregister the callback
2197 (fd): delete function
2198 (serverCallback): improve error checking and setup the callbacks.
2199 (dataCallback): change arg to fd.
2200 (writeln): new func (copied fro the client socket) used for server
2202 (LyXDataSocket): simplify
2203 (~LyXDataSocket): close ann unregiser callback
2204 (server): delete function
2205 (fd): delete function
2206 (readln): small changes, improve some std::string usage
2207 (writeln): constify a bit
2209 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2211 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2214 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2216 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2217 after it has been populated
2219 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2221 * text2.C (insertInset): move cursor when inserting inset.
2223 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2225 * kbmap.C (findbindings): a couple of new methods. returns a
2226 container of kb_sequence objects. The real work is done by the
2227 private recursive version
2228 (printbindings): uses findbindings to print out a bracketed list
2229 of bindings (renamed from findbinding).
2231 * MenuBackend.C (binding): use kb_keymap::findbindings
2233 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2235 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2237 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2239 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2241 * paragraph.C (isWord): return true on insets that report
2244 * text.C (getWord): use Paragraph::isWord to decide what is in a
2245 word and what is not; fix bug 1609.
2247 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2249 * tex-strings.C: add "none" to string_paperpackages[], fixes
2250 off-by-one-error in the paperpackage selection.
2253 * tex-strings.[Ch]: char const * string[n]
2254 -> char const * const string[]
2256 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2258 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2259 command, return early.
2261 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2263 * debug.h: add DEBUG to enum and fix size of ANY.
2265 * debug.C: add support for Debug::DEBUG
2266 (showTags): cast errorTags.level to unsigned int
2268 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2269 (redoCurrentBuffer): ditto
2270 (updateScrollbar): ditto
2271 * cursor.C (dispatch): ditto
2272 * text2.C (setLayout): ditto
2274 (updateCounters): ditto
2276 (deleteEmptyParagraphMechanism): ditto
2278 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2280 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2281 annotations to cleanup the Makefile slightly.
2283 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2285 * lyxrc.C: do not set user_email to a default value but use empty
2286 instead. The entry used to be translated, which does not work
2287 since at the point where lyxrc is constructed there is no
2288 translation service available
2290 * messages.C (getLocaleDir): remove and use directly
2291 lyx_localedir() instead
2293 2004-06-02 Angus Leeming <leeming@lyx.org>
2295 Fix crash caused by dereferencing null pointer 'exportdata' in
2296 OutputParams by creating a new ExportData variable on the heap,
2297 storing it in a boost::shared_ptr.
2298 The crash was triggered when generating an Instant Preview
2299 of an external inset.
2301 * Makefile.am: add outputparams.C
2303 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2304 (c-tor): allocate memory to it.
2306 * exporter.C (c-tor): associated changes.
2308 2004-06-01 Angus Leeming <leeming@lyx.org>
2310 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2311 contains data before calling isInset(0). (Bug 1513.)
2313 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2315 * exporter.C (checkOverwrite): new method
2316 * exporter.C (copyFile): new method
2317 * exporter.C (Export): copy referenced files to the document dir
2318 * exporter.[Ch]: new class ExportedFile
2319 * exporter.[Ch]: new class ExportData. Contains currently the
2320 names of referenced external files
2321 * outputparams.h: add exportdata member.
2323 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2325 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2328 2004-05-19 Angus Leeming <leeming@lyx.org>
2333 * lyxfunc.C: small changes due to the introduction of namespace
2334 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2336 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2338 * text3.C (dispatch): supress update when only moving the cursor
2339 * cursor.C (selHandle): remove commented code
2341 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2343 * paragraph.C (startTeXParParams): correct column count
2344 * CutAndPaste.C (pasteSelection): remove const_cast
2345 * output_docbook.C (docbookParagraphs): remove const_cast
2346 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2347 const_cast and return ParagraphList::const_iterator
2348 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2349 * output_plaintext.C (writeFileAscii): remove const_cast
2350 * paragraph.[Ch] (simpleTeXOnePar): make const
2351 * paragraph_funcs.C (outerPar): use const iterators
2352 * paragraph_pimpl.C (validate): use const iterators
2353 * text.C (setHeightOfRow): use const iterators
2355 2004-05-17 Angus Leeming <leeming@lyx.org>
2358 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2360 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2361 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2362 if the citation engine has changed.
2364 2004-05-14 José Matos <jamatos@lyx.org>
2366 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2367 if the textclass does not provide it. Have it different for sgml and
2369 support the language of document.
2370 * output_docbook.C (docbookParagraphs):
2371 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2372 first anchor as the id of the paragraph, remove special case code.
2373 * sgml.C (escapeChar): escape only < & >.
2375 2004-05-14 Angus Leeming <leeming@lyx.org>
2377 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2378 dependencies on src/frontends/controllers/biblio.h. Define a
2379 CiteEngine_enum wrapper class to enable the enum to be forward
2382 2004-05-12 Angus Leeming <leeming@lyx.org>
2384 * buffer.C: up LYX_FORMAT to 234.
2385 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2386 use_numerical_citations with a single biblio::CiteEngine cite_engine
2388 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2390 2004-05-13 José Matos <jamatos@lyx.org>
2393 * converter.C (Converter, readFlags): add xml member.
2394 * outputparams.h: add XML flavor.
2395 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2397 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2399 * lyxfunc.C (dispatch):
2400 (getStatus): fix handling of LFUN_SEQUENCE
2402 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2404 * debug.C (showLevel): do not forget the end-of-line marker
2406 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2408 * kbmap.C (read): do not stop parsing a bind file when an error
2411 2004-04-29 Angus Leeming <leeming@lyx.org>
2416 * text2.C: wrap a bunch of #warning statements
2417 inside #ifdef WITH_WARNINGS blocks.
2419 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2421 * buffer.C: increment format to 233.
2423 2004-04-28 Angus Leeming <leeming@lyx.org>
2425 * BufferView_pimpl.C:
2428 s/updateToolbar()/updateToolbars()/
2429 s/Toolbar.h/Toolbars.h/
2431 2004-04-28 Angus Leeming <leeming@lyx.org>
2433 * BufferView.[Ch] (c-tor):
2434 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2435 No longer passes these data to the WorkArea generator.
2437 2004-04-28 Angus Leeming <leeming@lyx.org>
2439 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2441 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2443 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2445 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2447 * output_latex.C (TeXEnvironment): make sure that there is a line
2448 break before \end{foo} for the last paragraph of a document
2449 (TeXOnePar): if the paragraph is at the end of the document (or
2450 inset) and the language has to be reset, then make sure that the
2451 line break is _before_ the language command, not after (fixes bug
2452 1225); also make sure that the language reset command is the first
2453 thing after the paragraph (to ensure proper nesting of
2454 environments and thus fix bug 1404)
2456 2004-04-21 John Levon <levon@movementarian.org>
2459 * ToolbarBackend.C: make "name" be a programmatic name
2460 and a gui_name field.
2462 * lyxfunc.C: display the minibuffer on M-x
2464 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2466 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2469 2004-04-19 Angus Leeming <leeming@lyx.org>
2471 * BufferView_pimpl.C (setBuffer): changed preview interface.
2473 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2476 2004-04-19 John Levon <levon@movementarian.org>
2478 * BufferView_pimpl.C:
2479 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2481 2004-04-05 Angus Leeming <leeming@lyx.org>
2483 * text.C (redoParagraphs): add call to updateCounters(), thereby
2484 fixing the missing "Figure #:" label from the caption of a
2487 2004-04-13 Angus Leeming <leeming@lyx.org>
2489 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2490 cursor is clicked out of an inset.
2492 2004-04-13 Angus Leeming <leeming@lyx.org>
2494 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2495 than an InsetOld one.
2497 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2499 * format.[Ch]: add editor to Format
2500 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2501 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2503 2004-04-08 André Pönitz <poenitz@gmx.net>
2505 * metricsinfo.h: remove PainterInfo::width member
2507 2004-04-08 Angus Leeming <leeming@lyx.org>
2509 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2510 "\providecommand" rather than "\newcommand", thereby preventing
2511 clashes with packages that define "\boldsymbol" themselves.
2514 2004-04-08 Angus Leeming <leeming@lyx.org>
2516 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2517 thereby squashing an unnecessary warning.
2519 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2521 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2524 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2526 * BufferView.C (setCursor): call redoParagraph (some insets could
2528 (putSelectionAt): remove the 'double update' trick
2530 * BufferView_pimpl.C (fitCursor): call refreshPar
2531 (workAreaDispatch): remove an uneeded update call
2532 (dispatch): remove some manual update calls
2534 * cursor.[Ch]: remove cached_y_, updatePos
2535 (selHandle): set noUpdate when appropriate
2537 * lyxfunc.C (dispatch): track if we need an update
2539 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2541 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2542 (paintSelection): cheap optimization, do not call cursorX when not
2544 (paintPars): change signature
2547 (paintTextInset): adjust
2551 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2553 * lengthcommon.C: compilation fix: remove explicit array size from
2554 unit_name[] and friends
2556 2004-04-05 Angus Leeming <leeming@lyx.org>
2558 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2560 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2561 present only for the preferences dialog.
2562 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2564 2004-04-05 Angus Leeming <leeming@lyx.org>
2566 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2567 to enable the frontends to export changes to lyxrc correctly.
2569 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2571 2004-04-07 André Pönitz <poenitz@gmx.net>
2573 * cursor.[Ch] (selClear, adjust): remove math
2575 * cursor_slice.C: more agressive assert
2578 * BufferView_pimpl.C: rework mouse event dispatch
2585 2004-04-05 André Pönitz <poenitz@gmx.net>
2587 * cursor.[Ch] (valign, halign...): remove unneeded functions
2589 2004-04-05 Angus Leeming <leeming@lyx.org>
2591 * lyxlength.[Ch] (unit_name et al.): const-correct.
2593 2004-04-05 Angus Leeming <leeming@lyx.org>
2595 * BufferView_pimpl.C:
2604 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2606 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2608 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2610 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2612 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2613 * BufferView_pimpl.[Ch] (getStatus)
2614 * BufferView.[Ch] (getStatus): add
2615 * lyxfunc.C (getStatus): move lfuns handled in
2616 BufferView::dispatch to te function above
2617 * Cursor.C (setSelection): set selection() = true
2619 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2621 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2623 2004-03-31 Angus Leeming <leeming@lyx.org>
2625 * lyxfunc.C (dispatch): Fall through to the generic
2626 Dialogs::show("preamble").
2628 2004-03-31 Angus Leeming <leeming@lyx.org>
2630 * lyxfunc.C (dispatch): Fall through to the generic
2631 Dialogs::show("spellchecker").
2633 2004-03-31 Angus Leeming <leeming@lyx.org>
2635 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2638 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2643 * insetiterator.[Ch]:
2648 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2650 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2652 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2653 insets where we are putting the cursor.
2655 2004-03-31 Angus Leeming <leeming@lyx.org>
2658 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2660 * lyxrc.[Ch] (read, write): overloaded member functions taking
2661 a std::[io]stream arguments.
2663 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2665 2004-03-31 Angus Leeming <leeming@lyx.org>
2667 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2668 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2670 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2671 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2673 2004-03-31 Angus Leeming <leeming@lyx.org>
2675 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2676 the LFUN_ALL_INSETS_TOGGLE code.
2678 2004-03-30 Angus Leeming <leeming@lyx.org>
2680 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2681 has died. Fall through to the generic Dialogs::show("document").
2683 2004-03-30 Angus Leeming <leeming@lyx.org>
2686 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2687 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2689 * lyxfunc.C (getStatus, dispatch): define the actions for these
2690 lfuns. Little more than a cut and pste job from ControlDocument.C
2692 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2694 2004-03-30 Angus Leeming <leeming@lyx.org>
2697 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2698 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2700 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2701 open/closed state of ollapsable insets. Usage:
2703 all-inset-toggle <state> <name>, where
2704 <state> == "open" || "closed" || "toggle" and
2705 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2707 * lyxtext.h, text2.C (toggleInset): removed.
2709 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2710 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2711 now passes LFUN_INSET_TOGGLE to the found inset.
2713 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2714 is now invoked as "all-insets-toggle toggle branch".
2716 2004-03-30 Angus Leeming <leeming@lyx.org>
2720 * pariterator.[Ch]: added/corrected header blurb.
2722 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2724 * dociterator.[Ch]: add an inset_ member
2725 (backwardPos): implemented
2726 (backwardPos, forwardPos): use inset_ when the stack is empty.
2727 (doc_iterator_begin, doc_iterator_end): implemented
2728 * pariterator.[Ch]: adjust, add begin, end
2729 * insetiterator.[Ch]: adjust, add begin, end
2733 * BufferView_pimpl.C:
2734 * CutAndPaste.C: adjust
2736 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2738 * buffer.C: increment file format to 232.
2739 * LaTeXFeatures.C: add bibtopic package.
2740 * bufferparams.[Ch]: param \use_bibtopic.
2742 * lyxrc.[Ch]: add lyxrc bibtex_command
2743 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2745 * buffer.C: increment file format to 231.
2747 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2749 * dociterator.C: implement forwardPar
2750 * iterators.[Ch]: remove, replaced by
2751 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2753 * BufferView_pimpl.C:
2756 * bufferview_funcs.C:
2762 * Makefile.am: adjust
2764 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2766 * CutAndPaste.C (pasteSelection): fix 2 crashes
2767 (eraseSelection): fix a crash
2768 * paragraph_funcs.C: remove a warning
2770 2004-03-28 Angus Leeming <leeming@lyx.org>
2773 * LyXAction.C (init): new LFUN_PRINT.
2775 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2777 2004-03-27 Angus Leeming <leeming@lyx.org>
2780 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2782 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2784 2004-03-27 Angus Leeming <leeming@lyx.org>
2786 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2787 insetlist always contains non-null pointers to insets.
2789 2004-03-26 Angus Leeming <leeming@lyx.org>
2791 * src/BufferView_pimpl.C:
2792 * src/CutAndPaste.C:
2795 * src/output_plaintext.C:
2796 * src/outputparams.h:
2797 * src/paragraph_funcs.C:
2801 * src/frontends/controllers/ControlErrorList.C:
2802 * src/frontends/gtk/FileDialogPrivate.C:
2803 * src/frontends/gtk/GPainter.C:
2804 * src/frontends/gtk/GToolbar.C:
2805 * src/frontends/qt2/QRef.C:
2806 * src/mathed/math_scriptinset.C: squash compiler warnings.
2808 2004-03-26 Angus Leeming <leeming@lyx.org>
2810 * ispell.C (LaunchIspell::start):
2811 * lyx_cb.C (AutoSaveBuffer::start):
2812 invoke run(DontWait) rather than runNonBlocking().
2814 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2816 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2818 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2820 * kbsequence.C (print): adjust
2822 * kbmap.C (printKeySym): rename and change signature
2823 (printKey): use LyXKeySym::print()
2825 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2827 * undo.C: add using std::advance to compile for stlport
2829 2004-03-24 Angus Leeming <leeming@lyx.org>
2831 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2832 it leads to a crash when no buffer is present.
2834 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2835 Martin Vermeer <martin.vermeer@hut.fi>
2837 * lyxfunc.C (dispatch):
2838 * bufferparams.C (readToken): use the new LColor::setColor
2840 * LColor.[Ch] (setColor): new version that takes two strings as
2841 argument and creates a new color entry if necessary
2843 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2845 * buffer.C (makeLaTeXFile): if the main latex file that is
2846 processed is usually a subdocument of some master, then pretend
2847 for a while that it is actually the master
2849 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2851 * buffer.C (getLabelList):
2852 (getBibkeyList): use getMasterBuffer()
2853 (getMasterBuffer): new method. Returns the main document in the
2854 case where one is using included documents.
2856 2004-03-25 André Pönitz <poenitz@gmx.net>
2860 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2862 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2864 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2865 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2867 * ParameterStruct.h: merge with ParagraphParameters
2869 * lyxtext.h: remove LyXText::parOffset() and getPar()
2871 * text3.C: Remove all 'manual' update calls. We do now one per user
2872 interaction which is completely sufficient.
2876 * BufferView_pimpl.C:
2877 * FontIterator.[Ch]:
2879 * ParagraphParameters.[Ch]:
2884 * cursor_slice.[Ch]:
2891 * output_docbook.[Ch]:
2892 * output_latex.[Ch]:
2893 * output_linuxdoc.[Ch]:
2894 * output_plaintext.[Ch]:
2896 * paragraph_funcs.[Ch]:
2897 * paragraph_pimpl.[Ch]:
2905 * frontends/controllers/ControlDocument.C:
2906 * frontends/controllers/ControlErrorList.C:
2907 * frontends/controllers/ControlSpellchecker.C:
2910 * insets/insetbase.h:
2911 * insets/insetbibitem.C:
2912 * insets/insetbox.C:
2913 * insets/insetbranch.C:
2914 * insets/insetcaption.C:
2915 * insets/insetcharstyle.C:
2916 * insets/insetcharstyle.h:
2917 * insets/insetcollapsable.C:
2918 * insets/insetcollapsable.h:
2919 * insets/insetert.C:
2920 * insets/insetfloat.C:
2921 * insets/insetfoot.C:
2922 * insets/insetmarginal.C:
2923 * insets/insetnote.C:
2924 * insets/insetoptarg.C:
2925 * insets/insettabular.C:
2926 * insets/insettext.C:
2927 * insets/insettext.h:
2928 * insets/insetwrap.C:
2929 * mathed/math_mboxinset.C:
2930 * mathed/math_nestinset.C:
2931 * mathed/math_scriptinset.C:
2932 * mathed/math_scriptinset.h:
2935 2004-03-24 Angus Leeming <leeming@lyx.org>
2937 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2938 deal with any child processes that have finished but are waiting to
2939 communicate this fact to the rest of LyX.
2941 2004-03-24 Angus Leeming <leeming@lyx.org>
2943 64-bit compile fixes.
2945 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2946 (c-tor): pass lyx::pos_types rather than ints.
2948 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2951 * text.C (Delete): compile fix.
2952 (getPar): ensure that function declaration is the same as that in
2955 2004-03-23 Angus Leeming <leeming@lyx.org>
2957 * ispell.C (LaunchIspell):
2958 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2959 a boost::shred_ptr rather than a std::auto_ptr.
2961 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2963 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2964 handle LFUN_FILE_INSERT_*
2966 * lyxrc.C (setDefaults, getDescription, output, read):
2967 * lyxrc.h: remove ps_command
2969 2004-03-22 Angus Leeming <leeming@lyx.org>
2971 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2972 Ensure that error_handler is processed once only and that all data
2973 is saved before attempting to output any warning messages.
2975 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2977 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2979 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2981 2004-03-19 André Pönitz <poenitz@gmx.net>
2983 * cursor.[Ch] (reset): take main text inset as argument
2985 * BufferView: adjust
2986 * BufferView_pimpl.C: adjust
2988 * paragraph.[Ch]: fix completely broken operator=()
2990 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2992 * LColor.C (getFromLyXName): make sure that the color name is used
2995 2004-03-17 Angus Leeming <leeming@lyx.org>
2998 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3000 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3001 dialog and to kill a forked process.
3003 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3005 * text2.C (setCursorFromCoordinates): fix font problem
3007 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3009 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3010 bogus "rebuild cursor" code
3012 2004-03-11 André Pönitz <poenitz@gmx.net>
3014 * buffer.[Ch]: use InsetText instead of LyXText as container for
3017 * dociterator.[Ch]: drop the BufferView * member which is not needed
3018 anymore after the change to buffer.C
3020 * paragraph_funcs.C:
3024 * BufferView_pimpl.[Ch]:
3026 * cursor_slice.[Ch]: adjust
3028 * text3.C: fix bug in mathDispatch
3030 2004-03-08 André Pönitz <poenitz@gmx.net>
3032 * undo.[Ch]: use 'StableDocumentIterator' as base for
3035 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3038 * bufferparams.[Ch]: add jurabib support and param.
3040 * LaTeX.C: add FIXME/comment.
3042 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3044 * buffer.C: increment file format to 230.
3046 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3048 * cursor.C (dispatch): avoid infinite loops
3050 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3052 * rowpainter.C (paintSelection): fix x coordinates
3054 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3056 * text.C (rowBreakPoint): fix breaking before displayed insets
3058 2004-03-01 André Pönitz <poenitz@gmx.net>
3060 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3062 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3066 * BufferView_pimpl.C:
3074 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3080 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3081 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3083 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3085 * Bidi.[Ch] (computeTables): const correctness
3086 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3087 fill_hfill, fill_label_hfill and x from Row
3088 * lyxtext.h: prepareToPrint returns a RowMetrics
3089 * rowPainter.C: adjust
3090 * text.C (prepareToPrint): use width, not textWidth. adjust
3091 (redoParagraphInternal, cursorX): adjust
3092 * text2.C (getColumnNearX): adjust
3093 (init): put a default value to the top LyXText::width
3095 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3097 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3099 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3101 * lyxtext.h: add FontIterator class
3103 * text.C (FontIterator, operator*, operator->, operator++): add
3104 (rowBreakPoint, setRowWidth): adjust (fixing a
3107 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3109 * BufferView_pimpl.C (workAreaDispatch): allow also
3110 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3112 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3114 * text.C (rowBreakPoint): fix a bug showing with very large insets
3116 2004-02-25 André Pönitz <poenitz@gmx.net>
3119 * cursor.[Ch]: move some mathed specific code to mathed
3121 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3123 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3124 use_tempdir in preferences
3125 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3127 * lyx_main.C: ensure that tempdir is valid
3128 * lyxlex.h: correct typo
3129 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3130 * paragraph.[Ch] (isMultiLingual): make const
3131 * cursor.[Ch] (openable): make const
3133 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3135 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3137 2004-02-20 André Pönitz <poenitz@gmx.net>
3139 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3141 * cursor.[Ch]: prepare for localized getStatus()
3147 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3149 2004-02-20 André Pönitz <poenitz@gmx.net>
3151 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3153 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3155 * text2.C (setCursorFromCoordinates): switch to absolute coords
3157 (cursorDown): adjust
3158 * text3.C (dispatch): adjust
3160 2004-02-16 André Pönitz <poenitz@gmx.net>
3162 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3165 * cursor_slice.[Ch]: remove unneeded acessor function
3167 * lyxtext.h: rename rtl() to isRTL()
3175 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3177 * rowpainter.C (paintSelection): coord fix
3179 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3181 * Spacing.C: compile fix
3183 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3185 * cursor.C (dispatch): restore current_ before returning
3187 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3189 * text2.C (cursorUp, cursorDown): fix coords
3192 2004-02-12 André Pönitz <poenitz@gmx.net>
3197 * text3.C: add LCursor & parameter to most cursor movement functions
3198 remove usage of LyXText::cursorRow() and cursorPar()
3200 * cursor.[Ch]: add textRow() needed members
3203 * BufferView_pimpl.C:
3206 * BufferView_pimpl.C: adjust
3208 2004-02-11 André Pönitz <poenitz@gmx.net>
3212 * BufferView_pimpl.C: shift undo/redo handling
3214 * cursor.[Ch]: fix mathed crash
3217 * lyxtext.h: move selectionAsText to LCursor
3225 * rowpainter.C: fix excessive drawing
3227 2004-02-06 André Pönitz <poenitz@gmx.net>
3230 * BufferView_pimpl.[Ch]:
3231 * text3.C: move some text specific LFUN handling
3233 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3235 * text3.C (checkInsetHit): adjust coords
3236 * text2.C (getColumnNearX): adjust coords
3237 (edit): adjust coords
3238 * text.C (getRowNearY): add two asserts
3240 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3243 * format.C: add using std::distance to compile on gcc 2.95/stlport
3245 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3247 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3249 2004-02-04 André Pönitz <poenitz@gmx.net>
3251 * BufferView.[Ch] (insertInset):
3252 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3257 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3259 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3260 on the default clause of the switch
3261 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3262 wasn't catched by LCursor::dispatch
3264 2004-02-03 André Pönitz <poenitz@gmx.net>
3267 * cursor.[Ch]: some additional asserts
3269 * undo.[Ch]: remove LyXText dependency in interface
3273 * lyxtext.h (firstPar, lastPar): remove dead functions
3278 * paragraph.[Ch]: adjust
3280 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3282 * lyxfind.C (find): fix argument order in call to ::find
3284 2004-02-02 André Pönitz <poenitz@gmx.net>
3286 * cursor.[Ch]: remove direct access to anchor
3288 * text.C: remove findText() hack
3290 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3292 * iterators.[Ch] (lockPath): remove in favour of...
3293 * BufferView.[Ch] (setCursor): this addition
3294 * BufferView.C (putSelectionAt): adjust
3295 * undo.C (performUndoOrRedo): adjust
3296 * lyxfunc.C (dispatch): adjust
3298 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3300 * iterators.C (lockPath): add a missing slice
3301 * undo.C (performUndoOrRedo): remove redundant positioning code
3303 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3305 * vc-backend.C (scanMaster): ";" -> ';'
3307 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3309 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3310 std::binary_function
3312 * lyxtextclass.C (compare_name): rename to...
3313 (LayoutNamesEqual): ...this
3315 * lyxlex_pimpl.C (compare_tags): inherit from
3316 std::binary_function, put back into anon namespace
3318 * lyxfind.C (MatchString): inherig from std::binary_function
3319 (findChange): use empty() istead of !size()
3321 * format.C (FormatNamesEqual): new functor
3328 * converter.C (compare_Converter): rename to...
3329 (ConverterEqual): ...this, and fixup a bit.
3330 (getConverter): use it, and make function const
3331 (getNumber): use it, and make function const
3335 * bufferlist.C: add using boost::bind
3337 * MenuBackend.C (MenuNamesEqual): new functor
3338 (hasMenu): use it, and make function const
3339 (hasSubmenu): use nested bind to get rid of compare_memfun.
3341 2004-01-30 André Pönitz <poenitz@gmx.net>
3343 * BufferView_pimpl.C:
3346 * cursor_slice.[Ch]:
3349 * paragraph_funcs.C:
3350 * paragraph_funcs.h:
3354 * text3.C: move some of the edit(x,y) handling to the insets
3355 some coordinate changes.
3357 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3359 * text.C: add using statements for std::advance and std::distance
3361 * paragraph.C: add using statement for std::distance
3363 * lyxfind.C: add using statement for std::advance
3365 * cursor.C (region): remove std:: from swap
3366 (openable): use nucleus in stead of operator->
3368 * BufferView.C: add using statements for std::distance and std::swap
3370 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3372 * iterators.C: Remove the pimple, move the needed structures to
3373 the header file. Create accessor for the positions stack.
3374 (asPosIterator): remove function
3376 * PosIterator.C (PosIterator): move constructors to top of file
3377 (PosIterator): reimplement the constructor taking a ParIterator in
3379 (setFrom): new function
3380 (operator!=): inline it
3382 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3384 * lyxfind.C (replaceAll): use std::advance
3386 * iterators.h: inherit from std::iterator.
3388 * PosIterator.C (advance, distance): remove
3389 * PosIterator.h: interit from std::iterator.
3391 2004-01-26 André Pönitz <poenitz@gmx.net>
3394 * BufferView_pimpl.[Ch]:
3398 * bufferview_funcs.C:
3408 * output_linuxdoc.C:
3409 * output_plaintext.C:
3411 * paragraph_funcs.[Ch]:
3412 * paragraph_pimpl.[Ch]:
3418 * text3.C: more IU: dumps most of the rest of the mathcursor
3419 implementation into cursor.[Ch]; "globalize" a bit of it.
3421 2004-01-25 Angus Leeming <leeming@lyx.org>
3423 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3425 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3427 * LaTeXFeatures.h: add nice_ and nice() const
3428 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3430 2004-01-20 André Pönitz <poenitz@gmx.net>
3433 * BufferView_pimpl.C:
3435 * bufferview_funcs.C:
3437 * cursor_slice.[Ch]:
3448 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3449 LCursor and mathcursor parts to LCursor and InsetBase.
3451 2004-01-15 André Pönitz <poenitz@gmx.net>
3453 * cursor_slice.[Ch]: add a few covienience functions
3455 * funcrequest.[Ch]: remove BufferView * member
3457 * BufferView_pimpl.C:
3464 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3466 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3468 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3469 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3471 2004-01-13 André Pönitz <poenitz@gmx.net>
3474 * lyxtext.h: hide cursor and selection anchor behind accessor function
3477 * BufferView_pimpl.[Ch]:
3479 * bufferview_funcs.C:
3489 * cursor_slice.[Ch]: some integer type changes for inset unification
3491 * lyxcursor.[hC]: remove, it's CursorSlice now.
3494 * BufferView_pimpl.[Ch]:
3495 * bufferview_funcs.C:
3501 * textcursor.[Ch]: adjust
3503 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3505 * text2.C (undoSpan): add and use
3506 * text.C (breakParagraph): use undoSpan (fix bug 578)
3509 2004-01-08 Angus Leeming <leeming@lyx.org>
3511 * BufferView_pimpl.C (MenuInsertLyXFile):
3512 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3513 * lyxfunc.C (menuNew, open, doImport):
3514 FileFilterList change to the FileDialog open and save functions.
3516 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3518 * ShareContainer.h: make isEqual and isUnique adaptable
3520 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3522 2004-01-07 Angus Leeming <leeming@lyx.org>
3525 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3527 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3529 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3530 functions replacing find, replace and replaceAll.
3532 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3533 LFUN_WORDFIND(FORWARD|BACKWARD).
3535 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3537 * text.C (breakParagraph): remove an outdated #warning
3539 2004-01-07 André Pönitz <poenitz@gmx.net>
3541 * lyxfind.C: somewhat clearer logic
3543 * text.C: prevent crash in cursorX on unitialized row cache
3545 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3547 * lyxcursor.[Ch] (operator>): add
3548 * textcursor.C (selStart, selEnd): use std::min and std::max
3550 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3552 * Chktex.C: include boost/format.hpp
3554 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3556 * InsetList.C: replace functor MathcIt with adaptable functor
3558 (insetIterator): modify accordingly
3560 * BranchList.h: move the BranchNamesEqual functor here from...
3561 * BranchList.C: ... to here
3563 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3565 (add): replace a finding loop with std::find_if.
3567 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3569 * output_docbook.C: moving LatexParam functionality into
3572 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3574 * buffer.C: increment format to 229.
3576 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3579 * lyx_sty.[Ch]: remove minipageindent_def
3585 * text3.C: remove LFUN_INSET_MINIPAGE
3587 2003-12-28 Angus Leeming <leeming@lyx.org>
3589 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3591 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3593 * text2.C (setParagraph): fix off-by-one crash
3595 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3597 * output_docbook.C: header stuff for AGU
3599 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3601 * text2.C (redoCursor): remove
3604 * BufferView_pimpl.C: remove calls to redoCursor and
3605 setCursor(cursor.par(), cursor.pos()) all around
3607 2003-12-15 Angus Leeming <leeming@lyx.org>
3609 * buffer.C: up the format to 228.
3611 2003-12-15 André Pönitz <poenitz@gmx.net>
3613 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3618 * BufferView_pimpl.C:
3627 2003-12-15 Angus Leeming <leeming@lyx.org>
3629 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3630 than getFromGUIName to manipulate the color.
3632 2003-12-14 Angus Leeming <leeming@lyx.org>
3634 * BranchList.[Ch]: minimize the API.
3635 (Branch::getBranch, getColor): now return a 'const &'.
3636 (Branch::setSelected) now returns a bool set to true if the
3637 selection status changes.
3638 (BranchList::clear, size, getColor, setColor, setSelected,
3639 allBranches, allSelected, separator): removed.
3640 (BranchList::find): new functions, returning the Branch with
3642 (BranchList::add, remove): return a bool indicating that
3643 the operation was successful.
3645 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3646 new InsetBranch::isBranchSlected member function.
3648 * LColor.[Ch]: mimimize the API.
3649 (fill): renamed as addColor and made private.
3650 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3651 versions of these functions taking a string arg have been removed.
3653 * bufferparams.C (readToken):
3654 * lyxfunc.C (dispatch):
3655 * lyxrc.C (read): changes due to the altered BranchList and
3658 * factory.C (createInset, readInset): changes due to altered
3661 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3664 * lyxfunc.C: remove insetminipage. "minipage-insert"
3665 now produces a frameless minipage box inset.
3667 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3669 * textcursor.[Ch] (selStart,selEnd): add new methods
3670 remove selection::start, end, use LyXCursor::operator<
3671 * lyxcursor.[Ch] (operator<): add
3672 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3673 * BufferView.[Ch] (unsetXSel): add
3674 * text2.C (clearSelection): use unsetXSel,adjust
3677 * rowpainter.C: adjust
3678 * bufferview_funcs.C (put_selection_at): adjust
3680 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3682 * BufferView_pimpl.C: small coord. correction
3684 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3686 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3687 dragging over the splash screen.
3689 2003-12-11 Angus Leeming <leeming@lyx.org>
3691 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3692 as it is now handled in LyXText::dispatch.
3694 * text3.C (doInsertInset): remove a level of nesting.
3696 2003-12-11 Angus Leeming <leeming@lyx.org>
3698 * factory.C (createInset): changes due to the changed interface to
3699 InsetCommandMailer::string2params.
3701 2003-12-10 Angus Leeming <leeming@lyx.org>
3703 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3704 'dialog-show-new-inset <inset name>'
3706 2003-12-10 Angus Leeming <leeming@lyx.org>
3708 * buffer.C: up the format to 227.
3710 * factory.C: the box inset is now identified simply by 'Box'.
3712 2003-12-10 Angus Leeming <leeming@lyx.org>
3714 * buffer.C: up the format to 226.
3716 * factory.C: the note inset is now identified simply by 'Note'.
3718 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3720 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3721 when a pit is enough. Standarize a couple of loops.
3723 2003-12-05 Angus Leeming <leeming@lyx.org>
3725 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3726 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3727 data to the re-worked "log" dialog.
3729 2003-12-03 André Pönitz <poenitz@gmx.net>
3735 * paragraph_funcs.C:
3737 * text2.C: use Inset::getText instead of Inset::getParagraph
3739 2003-12-03 André Pönitz <poenitz@gmx.net>
3743 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3744 InsetText::read() as LyXText::read()
3746 2003-12-02 Angus Leeming <leeming@lyx.org>
3748 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3749 type. Add a comment in the implementation that the function uses
3750 the stream's bad() function rather than fail() as the std::streams
3753 2003-12-02 André Pönitz <poenitz@gmx.net>
3755 * lyxlex.[Ch]: make interface more similar to std::stream
3757 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3759 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3761 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3763 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3765 * vspace.[Ch]: remove VSpace::NONE
3767 2003-12-01 André Pönitz <poenitz@gmx.net>
3770 * lyxtext.h: move ParagraphList member to LyXText
3771 rename LyXText::ownerParagraphs to LyXText::paragraph
3774 * bufferview_funcs.C:
3784 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3786 * undo.C: fix cursor positioning
3788 2003-12-01 John Levon <levon@movementarian.org>
3790 * BufferView_pimpl.C: fix a crash on exit with
3793 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3795 * BranchList.C: fix setSelected() method.
3797 2003-11-28 André Pönitz <poenitz@gmx.net>
3799 * ParagraphParameters.[Ch]:
3800 * ParameterStruct.h: remove space above/below from Paragraph to
3803 * BufferView_pimpl.C:
3809 * paragraph_funcs.C:
3815 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3817 * factory.C: Syntax change for CharStyles
3819 2003-11-28 André Pönitz <poenitz@gmx.net>
3824 * buffer.[Ch]: move LyXText member
3826 2003-11-28 André Pönitz <poenitz@gmx.net>
3828 * BufferView.[Ch]: make LyXText * text a private member
3830 * BufferView_pimpl.C:
3841 * output_plaintext.C: cleanup
3843 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3846 * lyxtextclass.[Ch]: parametrize SGML document header
3848 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3851 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3854 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3856 * text2.C (setFont): rework using PosIterator (no more recursive)
3857 (setCharFont): no more needed
3858 (setLayout): no more selection cursors fiddling (done by redoCursor)
3859 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3860 destroy remaining ones)
3862 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3864 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3866 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3869 * text3.C: adjust + re-allow multi par depth changes
3870 * textcursor.C: simplify a bit
3872 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3878 * src/output_docbook.C:
3879 * src/output_latex.C:
3884 * src/text2.C: Introducing a number of tags parametrizing various
3885 XML formats that we may want to support
3887 2003-11-25 André Pönitz <poenitz@gmx.net>
3889 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3891 * lyxtext.h (leftMargin/rightMargin): simplify interface
3898 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3900 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3901 master file to any child files. Fixes bug 546.
3903 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3905 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3907 2003-11-24 André Pönitz <poenitz@gmx.net>
3909 * rowpainter.C: simplification
3911 * text2.C (updateCounters): remove call to redoParagraph on
3912 changed labels as this is far too expensive.
3914 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3916 * converter.C (convert): fix a crash: this function gets
3917 called with buffer == 0 from importer code.
3919 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3921 * text3.C (cursorPrevious): make sure that we do not compare
3922 iterators form different containers.
3925 * rowpainter.C (paintSelection): make sure that we do not compare
3926 iterators from different containers.
3928 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3929 iterators from different ParagraphList containers.
3932 * text2.C (LyXText): change order of initialization slightly
3933 (operator=): new function. copy all variables except cache_par_
3934 (moveUp): make sure that we do not compare iterators from
3935 different ParagraphList constainers.
3938 * text.C (firstPar): new function
3939 (lastPar): new function
3940 (endPar): new function
3942 * lyxtext.h: move things around and group public functions, public
3943 variables, private functions, private variables
3945 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3947 * factory.C: change call to InsetERT constructor to avoid
3948 additional invocation of method status
3949 * text2.C (toggleInset): remove redundant update() call
3950 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3951 instead of a Bufferview pointer
3953 2003-11-21 André Pönitz <poenitz@gmx.net>
3955 * rowpainter.C: simplification
3957 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3959 * text3.C (dispatch): make possible to extend a word/row selection
3962 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3964 * lyxtext.h: x0_,y0_ -> xo_,yo_
3965 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3966 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3967 * rowpainter.C (paintRows): paint full paragraphs
3969 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3971 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3974 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3976 * lyxtext.h: add x0_, y0_
3977 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3978 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3980 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3982 * text2.C (setCursorIntern): move the x_target update here *
3983 * text3.C: change some bv() to true/false in calls to
3984 cursorUp/Down/Right/Left
3985 * cursor.C: use helper function.
3987 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3989 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3990 * paragraph_funcs.[Ch]: correct comment
3991 * rowpainter.C: do not paint selections away from bv->cursor()
3992 Fix a long standing selection painting bug.
3993 * text3.C: generalize mouse-selection code to LyXTexts other that
3995 * textcursor.C: do not use y coords if we can use par offsets
3997 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3999 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4000 cursor position after e.g. inset insert)
4002 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4004 * lyxfind.C (replace): adjust to locking removal + some
4007 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4009 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4012 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4015 * output_docbook.C: XML sanitation: new layout
4016 parameters InnerTag and CommandDepth
4018 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4020 * BufferView_pimpl.C:
4022 * text3.C: Fix the insertion and modification of button-style
4025 2003-11-13 André Pönitz <poenitz@gmx.net>
4027 * InsetList.[Ch]: remove deleteLyXText
4029 * paragraph.[Ch]: cache beginOfBody position
4034 * text3.C: remove superfluous update() calls
4038 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4040 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4041 * BufferView.C (fitLockedInsetCursor): remove
4042 * cursor.[Ch] (getDim): add
4043 * text.C (getRowNearY): add faster version
4044 * text3.C: remove some update calls
4046 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4058 * text3.C: The Character Style /XML short element patch.
4060 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4063 * factory.C: Small step to solving 'unable to insert some insets'
4066 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4068 * cursor.[Ch] (updatePos): new function for updating the y
4069 position of the tip inset
4070 * bufferview_funcs.C (put_selection_at):
4071 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4073 2003-11-11 André Pönitz <poenitz@gmx.net>
4075 * text.C: remove big comment on invalid Paragraph pointers as it is
4078 2003-11-11 André Pönitz <poenitz@gmx.net>
4080 * text_funcs.[Ch]: merge with ...
4088 * Makefile.am: remove text_funcs.[Ch]
4090 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4092 * cursor.C (getPos): return absolute cached y coord
4094 * BufferView_pimpl.C (fitCursor): new simplistic code
4095 (workAreaDispatch): add a fitCursor call
4097 2003-11-10 André Pönitz <poenitz@gmx.net>
4100 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4102 2003-11-10 André Pönitz <poenitz@gmx.net>
4104 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4105 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4106 indicate that the cursor needs to leave an inset
4108 * lyxtext.h: remove inset locking
4110 * cursor.[Ch]: re-implement functionality provided by inset locking
4113 * BufferView_pimpl.[Ch]:
4115 * bufferview_funcs.[Ch]:
4127 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4129 * PosIterator.[Ch]: replace the stack with a vector, add inset
4131 * iterators.[C]: adjust
4133 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4135 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4137 * paragraph_funcs.C (readParToken): put the correct id in the
4138 error item, not the id of the top paragraph
4140 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4142 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4143 * bufferview_funcs.C (put_selection_at): use the above
4145 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4147 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4149 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4151 * output_linuxdoc.h:
4152 * output_plaintext.h:
4154 * output_docbook.h: add #include statements
4156 2003-11-05 José Matos <jamatos@lyx.org>
4158 * output_docbook.[Ch]:
4159 * output_latex.[Ch]:
4160 * output_linuxdoc.[Ch]:
4161 * output_plaintext.[Ch]: New files for output formats.
4162 * output.[Ch]: New file for helper functions.
4165 * paragraph_funcs.[Ch]: output functions moved to new files.
4167 * outputparams.h: rename of latexrunparams.h
4175 * paragraph_funcs.[Ch]:
4176 * paragraph_pimpl.[Ch]:
4177 * tabular.[Ch]: rename ascii to plaintext
4178 and LatexRunParams to OutputParams.
4180 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4182 * iterators.[Ch] (text): require bv argument
4183 * undo.C (recordUndo):
4184 * lyxfunc.C (dispatch):
4185 * bufferview_funcs.C (put_selection_at): adjust
4187 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4189 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4191 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4193 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4196 2003-11-04 André Pönitz <poenitz@gmx.net>
4198 * cursor.[Ch]: restructure
4201 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4203 * iterators.[Ch] (asCursor): remove
4205 * lfuns.h: remove LFUN_INSET_EDIT
4211 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4213 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4215 * lyxfind.[Ch]: complete overhaul
4216 * BufferView_pimpl.C:
4218 * paragraph.[Ch] (insert): add
4220 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4224 * text.C: remove dead spellcheck code
4226 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4228 * dispatchresult.h: add a val setter
4230 * cursor.C (dispatch): use a tempvar for data_[i]
4232 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4234 * PosIterator.[Ch]: compile fix
4236 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4238 * text.C (cursorPar): deactivate the cursor cache
4240 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4242 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4244 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4246 * text3.C (dispatch): adjust for new DisptchResult semantics.
4248 * lyxfunc.C (dispatch): handle update when return from
4249 Cursor::dispatch, adjust for new DispatchResult semantics.
4251 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4252 DispatchResult(true) mean to not update. Add class functions for
4253 setting dispatched and update, as well as reading.
4255 * cursor.C (dispatch): don't handle update here
4257 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4259 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4260 * trans_mgr.C: adjust
4262 * paragraph_funcs.C (readParToken): exception safety
4264 * lyxvc.h: store the vcs pointer in a scoped_ptr
4267 * lyxsocket.C (serverCallback): exception safety
4269 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4271 * ispell.C (clone): make it return a auto_ptr
4273 * factory.C (createInset): exception safety
4274 (readInset): exception safety
4276 * bufferlist.C (newBuffer): exception safety
4278 * Thesaurus.C (Thesaurus): use initialization for aik_
4280 * MenuBackend.C (expandToc): exception safety.
4282 2003-11-03 André Pönitz <poenitz@gmx.net>
4286 * bufferview_funcs.C: remove getInsetFromId()
4289 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4295 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4297 * PosIterator.C (distance, advance): new
4298 * bufferview_funcs.[Ch] (put_selection_at): new
4299 * iterators.[Ch] (lockPath): new
4301 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4303 * iterators.[Ch] (asPosIterator): added
4304 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4305 * PosIterator.[Ch]: added
4307 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4311 * cursor.C (dispatch):
4312 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4314 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4315 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4316 contructor, add a class function dispatched. Remove operator>=
4318 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4320 * debug.C: only use the default constructor for debugstream
4323 * main.C (main): include debug.h and setup the lyxerr streambuf
4326 2003-10-31 José Matos <jamatos@lyx.org>
4328 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4330 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4331 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4332 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4333 * paragraph_pimpl.C (simpleTeXSpecialC):
4334 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4335 add LatexRunParams argument.
4337 * exporter.C (Export): change call accordingly.
4339 * latexrunparams.h: add new member to take care of the other backends.
4340 2003-10-30 José Matos <jamatos@lyx.org>
4342 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4343 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4344 factorise code for paragraph output.
4346 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4349 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * text3.C (dispatch):
4352 * lyxfunc.C (dispatch):
4353 * cursor.C (dispatch):
4354 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4356 * dispatchresult.h: make the dispatch_result_t ctor explicit
4358 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4361 * buffer.C: small refactoring of docbook stuff
4363 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4365 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4368 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4370 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4371 operator dispatch_result_t, and operators for == != and >=
4373 * cursor.C (dispatch): adjust for operator dispatch_result_t
4374 removal. comment out call to update
4376 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4378 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4389 * dispatchresult.h: new file, DispatchResult broken out of
4392 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4394 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4396 * text.C (rowBreakPoint): put a hack inside #if 0
4398 2003-10-28 André Pönitz <poenitz@gmx.net>
4402 * paragraph_funcs.C:
4405 * text2.C: general cleanup (lots of small stuff)
4407 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4409 * text2.C (cursorEnd): simple fix to the "end key goes to one
4410 before the end on last row" bug
4412 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4414 * text.C (backspace): fix the "zombie characters"
4416 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4418 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4420 2003-10-27 André Pönitz <poenitz@gmx.net>
4422 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4424 * factory.C: handle new InsetPagebreak, InsetLine
4426 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4427 and move handling into new InsetPagebreak, InsetLine
4429 * BufferView_pimpl.C:
4431 * ParagraphParameters.C:
4432 * ParameterStruct.h:
4437 * paragraph_funcs.C:
4438 * paragraph_pimpl.C:
4444 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4447 * lyxrow_funcs.[Ch]:
4453 * text3.C: remove lastPos uses in favour of Row::endpos
4455 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4457 * undo.C (performUndoOrRedo): fix two crashes by setting a
4458 cursor by hand and reordering some calls. Use bv->lockInset instead
4459 of inset->edit because the latter loses cursor information
4461 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4463 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4465 (rowBreakPoint): fix width. change point to point + 1.
4466 Add a missing check.
4468 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4471 * lyxfunc.C: fix (at least partly) the problems
4472 with the Nav menu and headers inside branch insets
4475 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4477 * paragraph.C (getChar): add strong asserts
4479 * lyxrow_funcs.C (lastPos): remove hideous hack
4481 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4482 (fill): adjust to that (avoid an infinite loop)
4484 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4486 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4488 2003-10-23 André Pönitz <poenitz@gmx.net>
4490 * RowList_fwd.h: change list<> to vector<> to gain speed
4491 after suggestion from Alfredo
4493 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4495 * lyxtext.h: move the bidi stuff from here...
4498 * Bidi.[Ch]: ... to here
4500 2003-10-23 André Pönitz <poenitz@gmx.net>
4503 * text.C (isLastRow, isFirstRow): new functions
4505 * paragraph.h: new width cache member
4507 * rowpainter.C: replace RowList::iterator with Row & where possible
4509 * lyxfunc.C: replace several view()->text with a single call
4511 * toc.C: fix 'unused' warning
4513 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4515 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4516 when woring with stream::pos_type
4517 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4519 2003-10-22 André Pönitz <poenitz@gmx.net>
4522 * text.C: use Row & instead of RowList::iterator
4524 * lyxrow.h: rename end() to endpos()
4530 2003-10-22 Angus Leeming <leeming@lyx.org>
4532 * buffer.[Ch] (fully_loaded): new member function, returning true
4533 only when the file has been loaded fully.
4534 Used to prevent the premature generation of previews and by the
4535 citation inset to prevent computation of the natbib-style label.
4537 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4538 templates are all set up.
4540 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4542 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4544 * text.C: fixed an "oops" in the "is a bit silly"
4547 2003-10-21 André Pönitz <poenitz@gmx.net>
4549 * FuncStatus.[Ch]: small stuff, whitespace
4551 * lyxfont.[Ch]: operator<<() for debug reasons
4555 * lyxtext.h: whitespace, spelling
4557 * paragraph.C: naming of variables
4560 * text2.C: small stuff
4563 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4565 * text.C: (1) finish off the inset display() work;
4566 (2) fix the "is a bit silly" bug (accessing char
4569 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4571 * text.C: re-introduce display() for insets, fixing the
4572 various bugs (stretch of line above, math inset
4575 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4577 * text.C (rightMargin): remove spurious semicolon
4579 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4582 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4584 * text3.C: fix one crash due to wrong cursor def
4586 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4588 * vc-backend.C (scanMaster): make the regex static
4590 * LaTeX.C (scanAuxFile): make the regexs static
4592 * text3.C (doInsertInset, dispatch, dispatch):
4593 * text2.C (cursorUp, cursorDown):
4594 * text.C (selectNextWordToSpellcheck):
4595 * BufferView_pimpl.C (dispatch):
4596 * lyxfunc.C (dispatch): localDispatch -> dispatch
4598 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4600 * lyxsocket.C: include <cerrno>
4602 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * lyxfunc.C (dispatch): remove textcache stuff
4606 * bufferlist.C (release): remove textcache stuff
4609 * TextCache.C: delete file
4610 * TextCache.h: delete file
4612 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4614 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4615 delete of the bv_->text.
4616 (resizeCurrentBuffer): remove texcache stuff
4617 (workAreaResize): ditto
4619 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4624 2003-10-16 André Pönitz <poenitz@gmx.net>
4631 * text3.C: speed up by storing y positions per paragraph plus per-row
4632 offset instead of having a 'full' y position in the row.
4634 2003-10-15 André Pönitz <poenitz@gmx.net>
4638 * undo.[Ch]: make undo aware of inner insets
4640 2003-10-14 Angus Leeming <leeming@lyx.org>
4642 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4643 static member functions LyX::ref() and LyX::cref.
4644 (lastfiles): new accessor functions for the new lastfiles_ member var.
4645 (addLyXView, views_): add a new LyXView to the list of views_.
4646 (updateInset): loop over all LyXViews to call their own updateInset
4647 member function, returning a pointer to the Buffer owning the inset.
4649 * BufferView_pimpl.C (loadLyXFile):
4650 * MenuBackend.C (expandLastfiles):
4651 * bufferlist.C (MenuWrite, QuitLyX):
4652 lastfiles is no longer a global variable.
4653 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4655 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4656 static function. Access through LyX::cref().emergencyCleanup().
4658 2003-10-14 André Pönitz <poenitz@gmx.net>
4660 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4662 * undo.[Ch]: restoring part of 'undo in insets'
4665 * undo_funcs.[Ch]: merge with undo.[Ch]
4667 * tabular.C: small cleansing stuff
4669 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4671 * paragraph_funcs.C (readParToken): report unknown insets as error
4672 boxes. Use the outer paragraph as location (also for unknown
4675 * factory.C (readInset): do not abort on reading an unknown inset.
4676 Eat it and return 0.
4678 2003-10-13 Angus Leeming <leeming@lyx.org>
4680 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4682 * lyxrc.C: displayTranslator is now a function,
4683 declared in GraphicsTypes.h.
4685 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4687 * format.C: new placeholder $$a to pass the socket address.
4689 * bufferlist.[Ch]: new function getBufferFromTmp.
4691 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4692 files in the temporary dir.
4694 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4696 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4698 * Makefile.am: add lyxsocket.[Ch].
4700 * lyx_main.C (error_handler): handle SIGPIPE.
4702 2003-10-13 André Pönitz <poenitz@gmx.net>
4704 * BufferView_pimpl.C:
4709 * undo_funcs.[Ch]: use paroffset_type instead of
4710 ParagraphList::iterators to prevent multiple conversion
4711 (and get a more robust interface)
4713 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4715 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4717 * text3.C (dispatch): ditto
4719 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4721 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4722 move the onlyfile, use onlyfile instead of foundfile in a couple
4725 * DepTable.C (update): flush the error stream a bit more
4727 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4729 * lyxserver.C (callback): adjust
4731 * lyxfunc.C (getStatus): add a missing brace in commented code
4732 (ensureBufferClean): reindent
4733 (dispatch): delete version taking a string
4735 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4737 * LaTeX.C (deplog): move found file handlig from here...
4738 (handleFoundFile): .. to new function here.
4739 (deplog): make sure to discover several files mentioned on the
4742 2003-10-10 André Pönitz <poenitz@gmx.net>
4749 * text3.C: fix some of the tabular crashes
4751 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4753 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4755 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4757 2003-10-09 André Pönitz <poenitz@gmx.net>
4759 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4762 * BufferView_pimpl.C:
4763 * bufferview_funcs.C:
4774 * undo_funcs.C: adjust
4776 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4778 * text2.C (incrementItemDepth): new function, use a backtracking
4779 algorithm to discover the correct item depth.
4780 (resetEnumCounterIfNeeded): new function, use a backtracking
4781 algorithm to discover if counter reset is needed.
4782 (setCounter): use them. Simplify a bit. Add different labels for
4783 different item depths for itemize.
4785 * paragraph.C (Paragraph): remove initialization of enumdepth
4788 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4789 enumerate and itemize. Change the type of itemdepth to signed char.
4791 2003-10-08 André Pönitz <poenitz@gmx.net>
4793 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4798 * tabular.[Ch]: fix crash after 'row-insert'
4800 2003-10-08 Angus Leeming <leeming@lyx.org>
4802 Fix doxygen warnings.
4804 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4805 Remove CutAndPaste:: prefix from header file declaration.
4807 * LColor.h (fill): remove LColor:: prefix from declaration.
4809 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4810 use lyx::depth_type rather than Paragraph::depth_type so that
4811 header file and .C file match.
4813 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4815 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4816 * aspell.C: \file aspell_local.C -> \file aspell.C
4817 * gettext.C: \file gettext.C -> \file src/gettext.C
4818 * gettext.h: \file gettext.h -> \file src/gettext.h
4819 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4820 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4821 * text.C: \file text.C -> \file src/text.C
4823 * toc.C: move comment so that doxygen is not confused.
4825 2003-10-07 Angus Leeming <leeming@lyx.org>
4827 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4829 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4832 * aspell_local.h: add forgotten std::string's.
4834 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4841 * text3.C: The Box patch. Fancybox support, minipage, parbox
4843 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4849 * ParagraphParameters.h:
4859 * lyxtextclasslist.h:
4862 * paragraph_pimpl.C:
4863 * textcursor.h: add <string> and other small fixes to make Lars'
4864 std::string patch compile with STLport.
4866 2003-10-06 Angus Leeming <leeming@lyx.org>
4868 * LColor.h: Add missing #include <string>.
4870 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4872 * All most all file in all subdirs: Make <string> be the prefered
4873 way of getting to std::string, add using declarations.
4875 2003-10-06 André Pönitz <poenitz@gmx.net>
4877 * metricsinfo.C: initialize LyXFont before changing attribute.
4878 (fixes the 'math in \emph is upright' bug)
4880 2003-10-06 André Pönitz <poenitz@gmx.net>
4882 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4884 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4887 * paragraph_pimpl.C: Small fixes to build using STLport
4889 2003-10-02 André Pönitz <poenitz@gmx.net>
4892 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4894 2003-10-01 André Pönitz <poenitz@gmx.net>
4896 * factory.C: assert early
4898 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4900 * lyx_main.C: remove the global debug object
4902 * debug.h: adjust for new debugstream
4904 * debug.C: adjust for new debugstream and keep the global debug
4907 2003-09-22 Angus Leeming <leeming@lyx.org>
4909 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4910 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4911 an incomplete class LyXFont.
4913 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4915 * factory.C: bug fix in branches
4917 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4919 * lyxfunc.C (processKeySym): adjust
4921 (dispatch): change arg name from ev to func, adjust
4922 (sendDispatchMessage): ditto
4924 * lyx_main.C (defaultKeyBindings): adjust keybindings
4925 (deadKeyBindings): ditto
4927 * kbsequence.C (addkey): return a FuncRequest
4929 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4931 * kbmap.C (bind): take a FuncRequest as arg, adjust
4934 (defkey): change to take a FuncRequest as arg, adjust
4935 (findbinding): take a FuncRequest as arg, adjust.
4937 * funcrequest.h (operator=): added
4939 * funcrequest.C (FuncRequest): default kb_action changed from
4940 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4942 * buffer.C (dispatch): simplify
4943 (dispatch): adjust to take a FuncRequest as arg, adjust
4945 * boost.C (assertion_failed): change assertion message slightly
4947 * ToolbarBackend.C (read): simplify
4949 * MenuBackend.C (binding): adjust call to findbinding, add a
4950 message if no binding is found.
4952 (expandToc): correct by adding a empty FuncRequest
4954 * LyXAction.C: include <boost/assert.hpp>
4955 (isPseudoAction): delete function
4956 (LookupFunc): change name to...
4957 (lookupFunc): this. change return type to FuncRequest.
4958 (getActionName): take kb_action as arg, simplify
4959 (funcHasFlag): add an assert, simplify.
4961 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4963 * toc.C (action): return a FuncRequest, simplify
4965 * lyxfunc.C (processKeySym): adjust
4966 (getStatus): delete version that takes an int.
4968 (dispatch): delete version that takes action as int
4970 (sendDispatchMessage): simplify and adjust
4972 * funcrequest.C (getArg): take unsigned int as arg
4974 * ToolbarBackend.C (read): adjust
4975 (add): delete version that takes func as a string.
4976 (getIton): take a FuncRequest as arg
4978 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4981 * MenuBackend.C (MenuItem): add a new construct that only takes a
4982 Kind, simplify the constructor use for submenus.
4984 (expandLastfiles): adjust
4985 (expandDocuments): adjust
4986 (expandFormats): adjust
4987 (expandFloatListInsert): adjust
4988 (expandFloatInsert): adjust
4989 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4991 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4992 Remove class variables lyx_pseudo_map and lyx_arg_map
4994 * LyXAction.C (searchActionArg): delete function
4995 (getPseudoAction): delete function
4996 (retrieveActionArg): delete function
4997 (LookupFunc): make it return kb_action, simplify.
4998 (getActionName): simplify
5000 * factory.C (createInset): fix new bug
5002 2003-09-19 Angus Leeming <leeming@lyx.org>
5004 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5005 masterFilename_ parameter in the include inset.
5007 * factory.C (createInset): changes due to the changes to InsetInclude.
5009 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5011 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5013 2003-09-18 Angus Leeming <leeming@lyx.org>
5016 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5017 Inset::fillWithBibKeys.
5018 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5020 2003-09-18 Angus Leeming <leeming@lyx.org>
5022 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5024 (ctor): pass and store a 'Buffer const &'
5025 (buffer): new member function.
5027 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5028 '*this' to the LaTeXFeatures ctor.
5030 2003-09-18 Angus Leeming <leeming@lyx.org>
5036 * text.C: rename EnumLColor as LColor_color.
5038 2003-09-18 Angus Leeming <leeming@lyx.org>
5040 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5041 remove #include "insets/insetbase.h" from cursor.h.
5043 2003-09-18 Angus Leeming <leeming@lyx.org>
5045 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5046 InsetOld_code to remove #include "inset.h".
5048 * iterators.C: add #include "insets/inset.h"
5050 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5052 * BufferView.C: remove more locking stuff that apparently doesn't
5053 do anything sensible.
5055 2003-09-16 André Pönitz <poenitz@gmx.net>
5058 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5061 2003-09-16 Angus Leeming <leeming@lyx.org>
5063 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5065 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5068 * paragraph.h: remove #include "lyxfont.h". Forward declare
5071 2003-09-16 Angus Leeming <leeming@lyx.org>
5073 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5074 of support/textutils.h.
5075 (isWord): move the contents of support/textutils.h's IsWordChar here.
5081 * text2.C: add #include "paragraph.h".
5084 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5086 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5092 * LaTeX.C: use namespace alias for lyx::support::os
5094 2003-09-16 Angus Leeming <leeming@lyx.org>
5097 * bufferview_funcs.C:
5100 * paragraph_pimpl.C:
5102 * text.C: add #include "LColor.h".
5104 2003-09-16 Angus Leeming <leeming@lyx.org>
5106 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5107 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5109 Store the FontBits::color variable as an int rather than as an
5110 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5113 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5114 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5115 string calls together.
5117 * lyxrc.C: add #include "LColor.h".
5119 2003-09-15 Angus Leeming <leeming@lyx.org>
5121 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5124 2003-09-15 Angus Leeming <leeming@lyx.org>
5126 * LColor.h: add an EnumLColor wrapper for LColor::color.
5128 * lyxfont.[Ch] (color, setColor, realColor):
5129 * lyxtext.h, text.C (backgroundColor):
5130 pass EnumLColor args to/from the functions, rather than LColor::color
5134 * lyxtext.h: forward declare EnumLColor.
5136 * lyx_main.C: add #include "LColor.h".
5138 2003-09-15 Angus Leeming <leeming@lyx.org>
5140 * .cvsignore: add lyx-gtk.
5142 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5147 * ParagraphParameters.C
5151 * bufferview_funcs.C
5161 * vc-backend.C: remove usage of STRCONV
5163 2003-09-15 Angus Leeming <leeming@lyx.org>
5165 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5166 explicitly define the color passed to the painter.
5168 2003-09-15 Angus Leeming <leeming@lyx.org>
5170 * bufferparams.C (BufferParams): reorder member initializers to avoid
5173 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5175 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5176 * text.C (updateRowPositions): remove an unusual nop
5178 2003-09-12 André Pönitz <poenitz@gmx.net>
5180 * BufferView_pimpl.C:
5189 * Counters.[Ch]: finish the 'automatic counters' job
5191 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5193 * aspell.C: include <boost/assert.cpp> (compile fix)
5195 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5197 * boost.C (assertion_failed): use lyx::support::abort instead of
5200 2003-09-10 Angus Leeming <leeming@lyx.org>
5202 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5203 with their _fwd progeny.
5205 2003-09-09 Angus Leeming <leeming@lyx.org>
5207 134 files throughtout the source tree: replace 'using namespace abc;'
5208 directives with the appropriate 'using abc::xyz;' declarations.
5210 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5212 * boost.C (emergencyCleanup): moved here from LAssert.c
5213 (assertion_failed): new function, called by BOOST_ASSERT
5215 * several files: change Assert to BOOST_ASSERT
5217 2003-09-09 Angus Leeming <leeming@lyx.org>
5219 * buffer.[Ch]: Add an Impl class and move Buffer's member
5220 variables into it. As a result move several header files out of
5223 Add header files to lots of .C files all over the tree as a result.
5225 2003-09-09 Angus Leeming <leeming@lyx.org>
5227 * buffer.[Ch]: make Buffer's member variables private. Add
5230 Lots of changes all over the tree as a result.
5232 2003-09-08 Angus Leeming <leeming@lyx.org>
5234 * graph.C: #include <config.h>.
5236 2003-09-08 Angus Leeming <leeming@lyx.org>
5240 * BufferView_pimpl.C:
5269 * toc.C: remove redundant using directives.
5271 2003-09-07 Angus Leeming <leeming@lyx.org>
5273 * LaTeXFeatures.h: remove #include "support/types.h".
5274 * ToolbarBackend.h: remove #include <algorithm>.
5275 * changes.h: remove #include <ctime>.
5276 * debug.h: remove #include <iosfwd>.
5277 * graph.h: remove #include "support/std_string.h".
5278 * lyx_main.h: remove #include <csignal>.
5279 * lyxlex_pimpl.h: remove #include <fstream>.
5280 * sgml.h: remove #include <algorithm>, <utility>.
5281 * toc.h: remove #include "support/std_ostream.h".
5282 Add #include <iosfwd>.
5284 2003-09-07 Angus Leeming <leeming@lyx.org>
5286 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5288 * converter.h: forward declare LatexRunParams.
5289 * encoding.h: remove #include "lyxrc.h".
5290 * lyxtext.h: remove #include "LColor.h".
5291 * lyxtextclass.h: remove #include "support/types.h".
5292 * trans.h: remove #include "tex-accent.h".
5293 * trans_mgr.h: remove #include "tex-accent.h".
5294 * insets/inset.h: remove #include "support/types.h", <vector>.
5295 * insets/insetcollapsable.h: remove #include "LColor.h".
5296 * insets/insetinclude.h: remove #include "dimension.h".
5297 * insets/insetlatexaccent.h: remove #include "dimension.h".
5298 * insets/insetoptarg.h:: remove #include "insettext.h".
5299 * insets/insettext.h: remove #include "dimension.h",
5300 <boost/shared_ptr.hpp>
5302 * insets/renderers.h: add #include "dimension.h".
5303 * insets/updatableinset.h: add #include "support/types.h".
5305 * many .C files: Associated changes.
5307 2003-09-06 Angus Leeming <leeming@lyx.org>
5309 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5310 one, inside testInvariant.
5312 * PrinterParams.C: new file.
5313 * PrinterParams.[Ch]: move the function bodies out of line.
5315 2003-09-06 Angus Leeming <leeming@lyx.org>
5317 * ParagraphParameters.h: forward declare ParameterStruct rather than
5318 including its header file.
5319 (depth): moved out-of-line.
5321 2003-09-06 Angus Leeming <leeming@lyx.org>
5323 * BufferView_pimpl.h:
5326 * lyxfunc.h: forward declare LyXKeySym rather than
5327 #include "frontends/LyXKeySym.h".
5329 * BufferView_pimpl.C:
5332 * lyxfunc.C: associated changes.
5334 2003-09-06 Angus Leeming <leeming@lyx.org>
5336 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5337 As a result, can remove the #include "insets/inset.h" from BufferView.h
5339 2003-09-06 Angus Leeming <leeming@lyx.org>
5341 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5342 As a result, can remove the #include "insets/inset.h" from BufferView.h
5344 2003-09-06 Angus Leeming <leeming@lyx.org>
5350 * bufferview_funcs.C:
5351 * BufferView_pimpl.C:
5356 * ParagraphParameters.C:
5361 * frontends/controllers/ControlDocument.C:
5362 * insets/insetcaption.C: rearrange the #includes into some sort of
5365 * buffer.h: remove #includes ErrorList.h, undo.h
5367 2003-09-06 Angus Leeming <leeming@lyx.org>
5369 * support/types.h: add a 'depth_type' typedef, used to store the
5370 nesting depth of a paragraph.
5373 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5374 defining explicitly.
5377 * paragraph_funcs.h:
5378 * ParagraphParameters.h:
5379 * sgml.h: use lyx::depth_type rather than Paragraph or
5380 ParameterStruct's depth_type.
5383 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5386 * BufferView_pimpl.C:
5388 * ParagraphParameters.C:
5391 * bufferview_funcs.C:
5398 * frontends/LyXView.C:
5399 * frontends/controllers/ControlDocument.C:
5400 * frontends/controllers/ControlErrorList.C:
5401 * insets/insetbibitem.C:
5402 * insets/insetbranch.C:
5403 * insets/insetcaption.C:
5404 * insets/insetcollapsable.C:
5405 * insets/insetenv.C:
5406 * insets/insetert.C:
5407 * insets/insetfloat.C:
5408 * insets/insetfoot.C:
5409 * insets/insetfootlike.C:
5410 * insets/insetnewline.C:
5411 * insets/insetquotes.C:
5412 * insets/insettabular.C:
5413 * insets/insettext.C:
5414 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5416 * frontends/controllers/ControlChanges.C: #include "changes.h".
5418 2003-09-06 Angus Leeming <leeming@lyx.org>
5420 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5421 than #including paragraph.h.
5424 * RowList.h: deleted. Superfluous.
5434 * insets/insettext.h: use ParagraphList_fwd.h rather than
5437 * paragraph.h: don't forward declare ParagraphList.
5440 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5441 rather than ParagraphList.h. paragraph.h is still needed for the
5442 Paragraph::depth_type parameters.
5444 * textcursor.h: enable it to compile stand-alone in light of the
5447 * bufferview_funcs.C:
5459 * frontends/controllers/ControlParagraph.C:
5460 * frontends/controllers/ControlTabular.C:
5461 * insets/insetmarginal.C:
5462 * insets/insetminipage.C:
5463 * insets/insetnote.C:
5464 * insets/insetoptarg.C: add header files needed to compile again.
5466 2003-09-06 Angus Leeming <leeming@lyx.org>
5468 * RowList_fwd.h: new file, forward-declaring Row rather than
5469 #including lyxrow.h.
5474 * insets/insettext.h: use it instead of RowList.h
5476 * bufferview_funcs.C:
5483 * text3.C: #include "RowList.h".
5485 2003-09-05 Angus Leeming <leeming@lyx.org>
5487 * factory.C (createInset):
5488 * vspace.C (c-tor): replace sscanf call with an istringstream.
5489 * ispell.C: re-add missing HP/UX headers.
5490 * lyxserver.C: re-add missing os2 headers.
5492 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5501 * text3.C: re-add missing system headers, needed for 2.95.2.
5503 2003-09-05 Angus Leeming <leeming@lyx.org>
5505 Changes most place everywhere due to the removal of using directives
5506 from support/std_sstream.h.
5508 2003-09-05 Angus Leeming <leeming@lyx.org>
5510 Replace LString.h with support/std_string.h,
5511 Lsstream.h with support/std_sstream.h,
5512 support/LIstream.h with support/std_istream.h,
5513 support/LOstream.h with support/std_ostream.h.
5515 Changes resulting throughout the tree.
5517 2003-09-05 Angus Leeming <leeming@lyx.org>
5519 * sgml.h: ensure that the header file can be compiled stand-alone.
5520 * *.C: strip out redundant #includes. (320 in total.)
5522 2003-09-04 Angus Leeming <leeming@lyx.org>
5524 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5525 here (from getPackages).
5527 * debug.[Ch]: add a new EXTERNAL tag.
5529 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5531 * text2.C (cursorEnd): simplify
5533 (getColumnNearX): adjust
5535 * text.C (computeBidiTables): adjust
5538 * rowpainter.C (paintChars): adjust
5539 (paintSelection): adjust
5540 (paintChangeBar): adjust
5543 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5545 (numberOfSeparators): adjust
5547 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5553 * text3.C: Restricts the mouse click functionality
5554 of insets like bibtex, include, toc and floatlist to the visible
5555 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5556 up the dialogs. Cursor has to be in front of the inset (i.e.
5557 start of row) for this to function.
5559 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5561 * bufferview_funcs.C (currentState): output row information
5563 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5565 * bufferview_funcs.C (currentState): output paragraph position
5567 2003-09-04 Angus Leeming <leeming@lyx.org>
5569 * FloatList.h: move out #include "Floating.h".
5570 * LaTeX.h: move out #include "DepTable.h".
5571 * LyXAction.h: move out #include "funcrequest.h".
5572 * buffer.h: move out #include "author.h", "iterators.h".
5573 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5574 * lyx_main.h: move out #include "errorlist.h".
5575 * lyxfunc.h: move out #include "FuncStatus.h".
5576 * lyxtext: move out #include "lyxcursor.h".
5577 * paragraph_pimpl.h: move out #include "counters.h".
5579 2003-09-03 Angus Leeming <leeming@lyx.org>
5581 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5582 preamble_snippets list, enabling us to add snippets to the preamble
5583 only if the snippet was not there already.
5585 2003-09-04 Angus Leeming <leeming@lyx.org>
5587 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5589 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5591 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5594 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5596 * BranchList.C: point fix, earlier forgotten
5598 2003-09-02 Angus Leeming <leeming@lyx.org>
5600 * box.C (contains): renamed from 'contained' after a fantastic
5603 2003-09-02 John Levon <levon@movementarian.org>
5609 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5611 2003-09-02 John Levon <levon@movementarian.org>
5613 * text2.C: simplification of cursorEnd(), including partial
5616 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5618 * buffer.C (readFile): add a space
5620 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5622 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5624 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5626 * buffer.C (readFile): new function, take a filename and a
5627 ParagraphList::iterator
5629 (readFile): adjust, make it private. don't use setStream, make
5630 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5631 always contain the filename.
5633 * BufferView.C (insertLyXFile): simplify and make it work for
5636 2003-08-30 John Levon <levon@movementarian.org>
5638 * Makefile.am: fix dist (from Kayvan)
5640 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5642 * most files: change to use const Buffer refs
5644 2003-08-27 André Pönitz <poenitz@gmx.net>
5646 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5647 on top of ownerPar().
5649 2003-08-27 John Levon <levon@movementarian.org>
5651 * funcrequest.C: properly initialise POD members
5653 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5655 * lyxtext.h (top_y): move top_y from here
5660 * BufferView_pimpl.[Ch]: to here
5661 * frontends/screen.C:
5662 * insets/insettabular.C:
5663 * insets/insettext.C: adjust
5664 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5666 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5669 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5671 2003-08-26 André Pönitz <poenitz@gmx.net>
5673 * paragraph_func.[Ch] (outerPar): new function
5676 * paragraph_funcs.C:
5677 * paragraph_funcs.h:
5678 * paragraph_pimpl.C:
5679 * text2.C: remove Inset::par_owner
5681 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5686 * text2.C: eliminates the needFullRow/display() stuff
5687 altogether, putting the logic in metrics/draw in the insets.
5689 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5691 * text2.C (redoParagraphInternal, redoParagraphs):
5692 * text.C (redoParagraph): add a call to updateRowPositions at the
5693 end of each 'metrics-like' call. Remove all others.
5694 (getRow): remove the 'y-computing' version.
5695 (getRowNearY): do not compute nor return the real y. Solve the
5696 'y < 0' problem and simplify.
5698 2003-08-22 Angus Leeming <leeming@lyx.org>
5700 * *.[Ch]: clean-up of licence and author blurbs.
5701 Also move config.h out of a few .h files and into a few .C files.
5703 2003-08-22 André Pönitz <poenitz@gmx.net>
5705 * lyxrow.[Ch]: add x_ and *fill_ members
5710 * text2.C: adjust/remove prepareToPrint() calls
5712 2003-08-22 André Pönitz <poenitz@gmx.net>
5714 * lyxrow.[Ch]: add end_ member
5716 * lyxrow_funcs.C: use LyXRow::end_
5718 * lyxtext.h (singleWidth): add LyXFont parameter
5721 * text2.C: adjust LyXText::singleWidth() calls
5723 * text.C (redoParagraph): simplify row breaking logic
5726 2003-08-19 André Pönitz <poenitz@gmx.net>
5728 * funcrequest.C: initialize button_ member
5731 * rowpainter.[Ch]: interface consolidation
5733 2003-08-18 André Pönitz <poenitz@gmx.net>
5736 * BufferView_pimpl.C:
5738 * paragraph_funcs.C:
5740 * text3.C: remove LyXScreen::draw() and fitCursor calls
5742 * BranchList.h: remove spurious semicolons
5744 * MenuBackend.C: fix branchlist related crash
5746 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5754 * bufferparams.[Ch]:
5758 * text3.C: implements the 'branch inset'
5759 idea. This allows the output of various versions of a document
5760 from a single source version, selectively outputing or suppressing
5761 output of parts of the text.
5762 This implementation contains a 'branch list editor' in a separate
5763 tab of the document settings dialog. Branches are user definable
5764 and have a "display colour" to distinguish them on-screen.
5766 ColorHandler was somewhat cleaned up.
5767 (1) make possible a dynamically growing LColor list by allowing
5768 the graphic context cache to grow along (vector);
5769 (2) eliminate an IMHO unnecessary step in colour allocation.
5771 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5773 * BufferView_pimpl.C: compile fix
5775 2003-08-15 André Pönitz <poenitz@gmx.net>
5777 * rowpainter.C: remove extra metrics calls
5779 * lyxtext.h: merge the two constructors into a single one,
5780 pass reference to owner's par list
5782 * BufferView_pimpl.C:
5786 2003-08-15 André Pönitz <poenitz@gmx.net>
5788 * lyxrow_funcs.[Ch]:
5791 * paragraph_funcs.C:
5796 * text_funcs.C: split LyXText::rowlist_ into individual
5797 Paragraph::rows_ chunks
5800 * BufferView_pimpl.[Ch]:
5803 * text3.C: remove toggleSelection()
5805 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5807 * bufferlist.C: beautify two alerts (shorter text of buttons)
5808 * buffer.C: Remove redundant ' ' from message
5810 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5811 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5812 rename VALIGN_CENTER to VALIGN_MIDDLE
5814 2003-08-11 André Pönitz <poenitz@gmx.net>
5816 * lyxtext.h (getPar):
5817 * text.C: new function
5819 2003-08-11 André Pönitz <poenitz@gmx.net>
5822 * tracer.[Ch]: remove unneeded files
5824 * InsetList.[Ch]: remove resizeInsetsLyXText()
5829 * text3.C: merge insertParagraphs() and appendParagraph()
5830 remove breakAgain(), update()
5832 * BufferView_pimpl.[Ch]:
5833 * bufferview_funcs.[Ch]:
5837 * tabular.C: adjust after text & InsetList changes.
5839 2003-08-08 André Pönitz <poenitz@gmx.net>
5841 * text.C (insertChar, backspace): replace rowlist fiddling
5842 with rebreak of full par
5845 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5846 checkParagraph, updateInset): removed
5848 2003-08-07 André Pönitz <poenitz@gmx.net>
5851 * text3.C: merge some LFUN handlers, remove dead code
5853 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5855 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5857 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5859 * text2.C (DEPM): fix part of bug 1255 and 1256
5861 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5863 * BufferView_pimpl.C (workAreaDispatch): change to use
5864 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5865 that are no mouse related.
5867 2003-08-05 André Pönitz <poenitz@gmx.net>
5870 * BufferView_pimpl.[Ch]:
5871 * bufferview_funcs.C:
5873 * text3.C: rip out "deep update"
5875 * textcursor.[Ch] (last_sel_cursor): remove unused member
5877 2003-08-04 André Pönitz <poenitz@gmx.net>
5880 * BufferView_pimpl.[Ch]:
5881 * ParagraphParameters.C:
5882 * bufferview_funcs.C:
5888 * text3.C: replace "complicated" BufferView::update(...) calls with
5891 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5893 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5895 * Makefile.am (lyx_SOURCES): add paper.h
5897 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5899 * Makefile.am: move things around so that both lyx-qt and
5900 lyx-xforms can be built (according to --with-frontend). Then lyx
5901 is a symbolic link to lyx-[firstfrontend]
5903 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5905 * Always use std::endl with lyxerr
5907 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5909 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5911 2003-08-01 André Pönitz <poenitz@gmx.net>
5914 * BufferView_pimpl.[Ch]:
5916 * text3.C: merge BufferView::repaint() and BufferView::update()
5918 2003-08-01 José Matos <jamatos@lyx.org>
5920 * buffer.[Ch]: file_format is no longer a buffer data element.
5922 2003-08-01 André Pönitz <poenitz@gmx.net>
5927 * text2.C: make redoParagraph more independent of current cursor
5929 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5931 * text2.C: remove unneeded members
5933 2003-07-30 André Pönitz <poenitz@gmx.net>
5935 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5937 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5938 create a single function...
5940 * paragraph_funcs.C (moveItem): ... here.
5943 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5945 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5947 * LColor.[Ch]: Add comment and greyedout logical colors.
5949 2003-07-30 André Pönitz <poenitz@gmx.net>
5951 * tabular.C: don't use Assert too heavily. This crashes where it
5954 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5956 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5957 is disabled (bug 1232)
5959 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5961 * factory.C: limited 'arg' scope
5963 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5965 * factory.C: fixed Note submenu issues
5967 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5969 * factory.C: submenu for Note/Comment/Greyedout
5971 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5974 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5976 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5979 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5980 greyedout. Patch provided by Jürgen Spitzmüller.
5982 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5984 * kbmap.C (read): fix error message when reading bind files
5986 2003-07-29 Angus Leeming <leeming@lyx.org>
5988 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5989 certainly does not do what it purports to do. I am doing it, and
5990 us, a favour by killing it.
5992 2003-07-28 José Matos <jamatos@lyx.org>
5994 * buffer.C (readBody, do_writeFile):
5995 * paragraph.C(readParagraph): \end_document replaces \the_end.
5997 2003-07-29 André Pönitz <poenitz@gmx.net>
6000 * BufferView_pimpl.[Ch]:
6004 * textcursor.[Ch]: remove toggleToggle & Co
6006 2003-07-28 José Matos <jamatos@fep.up.pt>
6008 * buffer.C (readParagraph):
6009 * params_func (readParToken, readParagraph):
6010 * paragraph.C (write): \layout -> \begin_layout.
6012 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6014 * lyxlex_pimpl.C (setFile): clean up slightly.
6016 * bufferparams.h: add compressed var
6018 * buffer_funcs.C (readFile): adjust for LyXLex change
6019 (newFile): ditto + simplify
6021 * buffer.C (writeFile): handle writing of compressed files
6023 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6024 Check if the file is compressed and set a bufferparm if so.
6026 * Makefile.am (lyx_LDADD): remove explicit -lz
6028 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6030 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6031 makeDocBookFile): put the real LyX version in the first line of
6035 * version.C.in: remove lyx_docversion
6037 * tabular.C (write_attribute): add a template-based version to
6038 write enums properly
6040 2003-07-28 André Pönitz <poenitz@gmx.net>
6045 * text3.C: use doubles again for x-coordinates. They are needed.
6047 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6049 * messages.C (getLocaleDir): use lyx_localedir()
6051 * lyxlex_pimpl.C (setFile): compress stuff
6053 * buffer.C (writeFile): add some compression stuff
6054 (do_writeFile): new func, dont call expliti close... will this
6057 * Makefile.am (lyx_LDADD): add -lz
6059 2003-07-28 José Matos <jamatos@fep.up.pt>
6061 * buffer.C: increment file format.
6062 * paragraph_funcs (readParagraph, readParToken):
6063 * paragraph.C (readParagraph): add \end_layout.
6065 2003-07-27 Angus Leeming <leeming@lyx.org>
6067 * Makefile.am: remove special casing for configure-time setting of
6068 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6070 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6071 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6073 2003-07-26 André Pönitz <poenitz@gmx.net>
6075 * paragraph_func.[Ch]:
6076 * paragraph.C (realizeFont): inline it whereever it is used
6081 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6084 2003-07-26 André Pönitz <poenitz@gmx.net>
6088 * text2.C: get rid of LyXText::need_break_row
6090 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6092 * toc.[Ch]: put namespace toc inside namespace lyx
6094 * MenuBackend.C (expandToc2): adjust for lyx::toc
6097 * lyxfunc.C (dispatch): adjust for lyx::find
6099 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6100 lyx::find instead. Reorganize a bit.
6101 (LyXReplace): rename to replace
6102 (LyXFind): rename to find
6104 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6107 2003-07-26 André Pönitz <poenitz@gmx.net>
6109 * text.C (setHeightOfRow): restrict scope of temporary variable
6111 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6112 code (never has been used?)
6114 2003-07-27 Asger Alstrup <alstrup@local>
6116 * text.C (fill): Optimise algorithm to exploit that we can reuse
6117 the LyXFont for many characters.
6118 (setHeightOfRow): Same thing.
6119 (rowBreakPoint): Same thing.
6121 2003-07-26 Asger Alstrup <alstrup@local>
6123 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6125 * text.C (singleWidth): Spurious font copying in hot-spot
6126 singleWidth avoided. Reorder tests for arabic for efficiency.
6128 * text.C (fill): handle empty paragraphs better.
6130 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6133 * encoding.h: add includes
6135 * lyxrc.C: remove reading of bind files
6137 * lyx_main.C (init): setup bindings and menus only if we have a
6140 * kbmap.C (read): new method. Do the actual reading of bind
6143 * converter.C (dvipdfm_options):
6146 (output): adapt PAPER_* enums.
6148 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6150 * bufferparams.h: remove paper-related enums from there
6152 * paper.h: New file. A trivial header file to hold paper-related
6153 enums. It should later expand to contain many paper-related
6156 * lyxrc.C: declare extern displayTranslator
6158 2003-07-27 José Matos <jamatos@fep.up.pt>
6160 * tabular.[Ch] (linuxdoc): add support for tables and figures
6163 2003-07-27 José Matos <jamatos@fep.up.pt>
6165 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6166 consistency in both functions.
6167 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6169 2003-07-26 Asger Alstrup <alstrup@local>
6171 * rowpainter.C (paintRows): Change algorithm to work directly on
6172 the insets rather than asking every character in the document
6173 whether its an inset.
6175 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6177 * buffer.C (openFileWrite): factorize some code
6179 2003-07-26 Angus Leeming <leeming@lyx.org>
6182 * lyx_main.[Ch]: replace occurances of system_tempdir with
6185 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6187 * rename Inset to InsetOld
6189 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6191 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6192 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6193 which I think is a bit clearer. EDIT is gone, since it was
6194 premature optimisation, and broken for mathed anyway.
6195 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6196 with cursor positioning in insets as well (math insets still do not
6197 work, but that's a different story anyway.) It mysteriously
6198 crashes sometimes with undo in the first paragraph, but I'm fairly
6199 confident that this is a compiler bug.
6201 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6203 * paragraph.C (Paragraph): adjust for new clone return type
6205 (copyIntoMinibuffer): ditto
6207 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6209 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6210 by not having a special case, and always doing a full rebreak of
6211 the document after undo.
6213 2003-07-23 Angus Leeming <leeming@lyx.org>
6215 * factory.C (createInset): InsetExternal::setParams now takes a
6218 2003-07-23 Angus Leeming <leeming@lyx.org>
6220 * factory.C (createInset): changed interface to the external and
6221 graphics mailers' string2params functions.
6223 2003-07-23 Angus Leeming <leeming@lyx.org>
6225 * factory.C (createInset): pass a
6226 Buffer const * parameter to InsetExternalMailer's string2params.
6228 2003-07-22 John Levon <levon@movementarian.org>
6230 * Thesaurus.h: include the right aiksaurus header
6232 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6234 * MenuBackend.C (expand): check menu shortcuts unconditionally
6236 2003-07-21 Angus Leeming <leeming@lyx.org>
6238 * factory.C (createInset): pass a
6239 buffer_path parameter to InsetGraphicsMailer's string2params.
6241 2003-07-21 Angus Leeming <leeming@lyx.org>
6243 * BufferView_pimpl.C (buffer):
6246 * lyxfunc.C (dispatch):
6247 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6248 rather than the grfx shortcut.
6250 2003-07-21 André Pönitz <poenitz@gmx.net>
6252 * rowpainter.C: remove unused variables
6255 * tabular_funcs.h: move to tabular.C
6256 * Makefile.am: adjust
6258 * tabular.[Ch]: basic optical cleaning
6260 * author.h: pass references, not values
6262 2003-07-18 André Pönitz <poenitz@gmx.net>
6270 * text3.C: two-phase drawing for InsetText and InsetTabular
6271 some float -> int changes.
6273 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6275 * lyx_main.C: fix the fix
6277 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6279 * lyx_main.C: fix a crash in batch mode if no files specified
6282 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6284 * format.[Ch] (papersize): moved to BufferParams
6285 * converter.[Ch] (dvips_options): moved to BufferParams
6286 (dvipdfm_options): moved to anon namespace
6287 * bufferparams.[Ch]: added above functions.
6289 2003-07-17 André Pönitz <poenitz@gmx.net>
6293 * text2.C: don't call inset->update() anymore
6295 * metricsinfo.[Ch]: add convenience constructor
6297 2003-07-16 André Pönitz <poenitz@gmx.net>
6302 * text2.C: replace the LyXCursor::irow_ member with
6303 on-demand computation of the value
6305 2003-07-16 John Levon <levon@movementarian.org>
6307 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6309 2003-07-15 André Pönitz <poenitz@gmx.net>
6312 * text2.C: remove no more needed refresh_row
6314 2003-07-15 André Pönitz <poenitz@gmx.net>
6319 * text3.C: refresh_status tristate -> need_update bool
6321 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6323 * lyxtext.h (init): remove reinit argument (act as if always true)
6324 * text2.C: adjust to that
6326 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6328 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6329 * text3.C: use it to delete selections in some cases
6330 (bugs 441, 673, 702, 954).
6332 2003-07-14 André Pönitz <poenitz@gmx.net>
6334 * rowpainter.[Ch]: reduce interface
6336 2003-07-14 André Pönitz <poenitz@gmx.net>
6338 * BufferView_pimpl.C:
6339 * text2.C: adjust after removing unused BufferView * argument
6341 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6343 * text2.C (init): fix a crash fired on resize
6345 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6347 * buffer.[Ch]: added new closing signal
6348 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6349 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6350 BufferView::Pimpl via the closing the signal
6352 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6354 * buffer.[Ch]: take out all bv-related from buffer
6356 * BufferView_pimpl.[Ch]: connect to new signals
6357 * CutAndPaste.C: removed useless asserts
6358 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6361 * lyxfunc.C: moved view-related funciontality from vc here
6362 * paragraph.C: removed outdated comments
6365 2003-07-10 André Pönitz <poenitz@gmx.net>
6367 * BufferView_pimpl.C:
6371 * text2.C: remove InsetText::InnerCache, clean up consequences
6373 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6375 * ispell.C: fix two typos in error messages
6377 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6379 * Extend Note inset to other forms of annotation like Comment
6380 and Greyedout. Right button click gives dialog.
6382 Files modified or added (+):
6386 * ControlNote.[Ch] +
6388 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6389 frontends/controllers
6393 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6395 * aspell.C: add missing namespace lyx::support
6397 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6399 * BufferView.[Ch] (newFile): Add
6400 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6401 * LaTeX.[Ch] (message): added this signal and use it
6402 * buffer.[Ch] (busy, message): added these signals and use them
6403 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6407 * importer.C: use buffer signals instead of direct bv calling
6408 * lyx_cb.[Ch] (ShowMessage): removed
6411 * paragraph_funcs.C:
6412 * text2.C: use buffer signals
6414 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6416 * introduce namespace lyx::graphics
6418 2003-07-02 André Pönitz <poenitz@gmx.net>
6420 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6422 2003-07-01 André Pönitz <poenitz@gmx.net>
6429 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6430 text*.C to text_func.C
6432 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6434 * introduce namespace lyx::support
6436 2003-06-30 André Pönitz <poenitz@gmx.net>
6441 * text.C: re-enable --with-included-string
6443 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6445 * textcursor.C: add <config.h>
6447 * text.C (getWord): remove const from word_location arg
6449 * lyxvc.C (getLogFile): fix const type order
6451 * lyxtext.h: remove const from word_location arg, add arg name
6453 * lyxlayout.h: currect type on labeltype.
6455 * importer.C: correct \file
6457 * converter.C (intToFormat): use std:: on ret val, ws changes
6459 * bufferlist.h: correct \file
6461 * buffer.C (makeLinuxDocFile): fix const type order
6462 (makeDocBookFile): ditto
6463 (fillWithBibKeys): use std:: on stdlib args.
6465 * CutAndPaste.C: fix authors.
6466 (availableSelections): use std:: on return vector
6468 2003-06-27 André Pönitz <poenitz@gmx.net>
6470 * BufferView_pimpl.C:
6471 * bufferview_funcs.C:
6479 * text3.C: remove LyXCursor::row_ member
6482 * text.C: rename fullRebreak() to partialRebreak() and implement
6483 a fullRebreak() that really bereks fully
6485 * textcursor.h: new struct for cursor-related data
6487 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6489 * lyx_main.C (LyX): get full path of document loaded on the
6492 2003-06-26 André Pönitz <poenitz@gmx.net>
6494 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6495 remove unused/broken operator>,<,>=.
6497 * text.C: remove only use of broken operator<= in an Assert().
6499 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6501 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6502 moved errorlist_.clear to showErrorList
6504 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6506 * converter.C (scanLog, runLaTeX):
6507 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6508 move the bv->showErrorList call to the callers
6509 * lyxfunc.C: i.e. here...
6511 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6512 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6513 namespace, the second to...
6514 * buffer_funcs (BufferFormat, parseErrors): added
6515 * errorlist.C (ErrorList(TeXErrors const &)): removed
6517 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6519 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6521 2003-06-24 "Garst R. Reese" <reese@isn.net>
6525 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6527 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6529 * version.C.in: change docversion to 1.4
6531 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6533 * buffer.C: fix a bug just introduced
6535 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6537 * buffer.[Ch]: added the parseError signal and use it, removed
6539 * BufferView.[Ch] (addError): moved to ...
6540 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6541 to the Buffer::parseError signal to catch (guess what) parse errors
6542 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6544 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6546 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6547 ability to create a buffer and to return an existing one from
6548 the list. Moved these functions to...
6549 * buffer_funcs.[Ch]: added
6550 * BufferView.[Ch] (loadLyXFile): added
6551 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6552 job removed from bufferlist::loadLyXFile.
6553 * buffer.C (setReadOnly): make it work without view
6554 (i.e added an if (users))
6556 2003-06-19 Angus Leeming <leeming@lyx.org>
6559 * LyXAction.C (init):
6560 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6561 with LFUN_DIALOG_SHOW <name> <data>.
6563 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6565 * CutAndPaste.C (availableSelections): small compilation fix for
6566 ancient (gcc 2.9x) compilers
6568 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6570 * text3.C (cursorNext): add tmp var
6572 * text2.C (updateCounters): for function calling out of for clause
6573 (replaceSelectionWithString): ditto
6574 (insertStringAsParagraphs): ditto
6575 (getColumnNearX): add tmp var
6576 (setCursorFromCoordinates): add tmp var
6577 (cursorDownParagraph): add tmp var
6578 (deleteEmptyParagraphMechanism): add tmp var
6580 * text.C (insertChar): add tmp var
6582 * rowpainter.C (paintDepthBar): add tmp var
6584 * CutAndPaste.C (availableSelections): potentially check all
6585 paragraphs in a cut to fill the shown strings.
6587 2003-06-18 André Pönitz <poenitz@gmx.net>
6589 * kbmap.[Ch]: use vector<> instead of list<>
6591 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6593 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6594 pasteSelection with index
6596 * text2.C (pasteSelection): modify, call pasteSelection with index
6598 * paragraph.C (asString): reimplement version with no interval to
6599 call the one with interval.
6601 * lyxtext.h: add index arg to pasteSelection
6603 * MenuBackend.C (MenuItem): handle PasteRecent
6604 (Menu::read::Menutags): add md_pasterecent
6606 (expandPasteRecent): new function
6609 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6611 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6613 (availableSelections): new function
6615 2003-06-17 Angus Leeming <leeming@lyx.org>
6617 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6619 2003-06-17 Angus Leeming <leeming@lyx.org>
6622 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6624 * lyxfunc.C (dispatch): invoke it.
6626 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6628 * iterators.C (operator++, ParPosition): reintroduce some
6629 const_cast for the benefit of older compilers.
6631 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6633 * text3.C (dispatch): do not modify clipboard when doing
6634 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6635 LFUN_DELETE_SKIP on a selection selection
6637 2003-06-16 André Pönitz <poenitz@gmx.net>
6643 * tabular.[Ch]: IU of clone() and getLabelList();
6645 2003-06-13 André Pönitz <poenitz@gmx.net>
6647 * tabular.h: compactification
6649 2003-06-12 André Pönitz <poenitz@gmx.net>
6653 * tabular_funcs.h: some renaming plus whitespace
6655 2003-06-12 André Pönitz <poenitz@gmx.net>
6658 * BufferView_pimpl.C:
6664 * toc.C: Return a Paragraph & for ParIterator::operator*()
6666 2003-06-11 John Levon <levon@movementarian.org>
6670 * ToolbarBackend.C: add "Toolbars" section and
6673 2003-06-10 Angus Leeming <leeming@lyx.org>
6676 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6678 * lyxfunc.C (dispatch): invoke it.
6680 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6682 * main.C: protect <ios> with HAVE_IOS
6683 (main): protect sync_with_stdio with HAVE_IOS
6685 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6687 * text2.C (cutSelection): adjust
6688 (pasteSelection): adjust
6690 * messages.C: handle get of empty string
6692 * main.C (main): use sync_with_stdio(false)
6694 * lyxfunc.C (dispatch): adjust
6696 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6697 (WriteAs): remove unneeded BufferView arg.
6699 * bufferparams.h: use correct types on papersize, papersize2 and
6702 * bufferparams.C (readToken): adjust for type
6703 (writeLaTeX): add missing cases to switch.
6705 * bufferlist.C (quitWriteBuffer): adjust
6708 * buffer.C (asciiParagraph): remove some commented code.
6710 * CutAndPaste.C: remove current_view extern variable.
6711 (cutSelection): add BufferParams arg.
6712 (eraseSelection): add BufferParams arg.
6713 (pasteSelection): add Buffer const & arg
6715 2003-06-07 John Levon <levon@movementarian.org>
6718 * paragraph_funcs.C:
6719 * paragraph_pimpl.C:
6723 * paragraph.C: allow InsetERT to freely space lines,
6724 and some consolidation of code
6726 2003-06-06 José Matos <jamatos@fep.up.pt>
6728 * buffer.C (makeDocBookFile): fix bug #821
6730 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6732 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6734 2003-06-04 Angus Leeming <leeming@lyx.org>
6736 * buffer.C: bump format to 224.
6738 2003-06-05 André Pönitz <poenitz@gmx.net>
6740 * text2.C (redoParagraphs): remove two const_cast<>
6742 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6744 * ParagraphList.h: remove last remnants of NO_STD_LIST
6746 2003-06-03 Angus Leeming <leeming@lyx.org>
6748 * factory.C (createInset): small change to the way InsetExternal's params
6751 2003-06-04 André Pönitz <poenitz@gmx.net>
6753 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6755 * paragraph_pimpl.h:
6756 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6758 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6760 * undo_funcs.C: make some simple cases of undo work again
6762 2003-06-03 John Levon <levon@movementarian.org>
6764 * ispell.C: HPUX doesn't have sys/select.h
6767 2003-06-03 John Levon <levon@movementarian.org>
6769 * CutAndPaste.C: update tabular and include inset
6774 * paragraph.C: remove owningBuffer(), don't pass Buffer
6777 * factory.C: insetGraphicsParams changed
6779 2003-06-02 John Levon <levon@movementarian.org>
6785 * text3.C: remove insetparent
6787 2003-06-02 John Levon <levon@movementarian.org>
6790 * buffer.C: fix inset_iterator.end(), move out of line
6793 2003-06-01 John Levon <levon@movementarian.org>
6795 * text3.C: use a proper cut/paste when doing inset
6796 insert (from Jürgen Spitzmüller)
6798 2003-06-01 John Levon <levon@movementarian.org>
6800 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6802 2003-05-30 André Pönitz <poenitz@gmx.net>
6804 * rowpainter.C: unify second drawing phase
6806 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6808 * trans_mgr.C: remove one case of current_view
6810 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6812 * paragraph_funcs.h: remove paragraph.h include
6814 * paragraph.h: delete NO_STD_LIST stuff
6816 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6818 * buffer.h: remove paragraph.h include
6820 * ParagraphList.C: delete file
6822 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6824 * toc.C (getTocList): adjust
6826 * paragraph_pimpl.C (validate): adjust
6828 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6830 * paragraph.C (Paragraph): adjust
6831 (getPositionOfInset): use const_iterator, adjust
6832 (bibitem): use const_iterator, adjust
6833 (setInsetOwner): adjust
6835 * iterators.C (operator++): adjust
6837 * InsetList.[Ch]: Replace selfmade iterator with standard
6838 vector::iterator also introduce const_iterator. Remove getPos,
6839 getInset and setInset from InsetTable. Adjust accordingly.
6841 * BufferView.C (lockInset): adjust
6842 (ChangeInsets): adjust
6844 * tabular.[Ch]: delete commented same_id functions
6846 2003-05-28 John Levon <levon@movementarian.org>
6848 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6850 2003-05-28 André Pönitz <poenitz@gmx.net>
6852 * metricsinfo.[Ch]: remove 'fullredraw' member
6854 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6856 * lyxtextclass.C (operator): remove caching.
6858 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * text2.C (cursorBottom): adjust
6863 (setCounter): use ParagraphList::find, adjust
6865 * text.C (workWidth): use ParagraphList::find, adjust
6867 * lyxcursor.C (LyXCursor): adjust
6869 * buffer.C (inset_iterator): adjust
6871 * ParagraphList.h: make iterator(value_type) private, make
6872 ParagraphList a friend of iterator.
6874 * ParagraphList.C (find): new function
6876 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6878 2003-05-27 André Pönitz <poenitz@gmx.net>
6880 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6882 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6884 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6886 2003-05-26 John Levon <levon@movementarian.org>
6888 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6890 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6892 * remove same_id from function signatures, adjust.
6894 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6896 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6898 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6900 * paragraph.C (Paragraph): get rid of same_ids parameter
6902 * ParagraphList.C (insert): adjust
6905 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6907 * paragraph_funcs.C (breakParagraph): adjust
6908 (breakParagraphConservative): adjust
6910 * buffer.C (readParagraph): adjust
6912 * ParagraphList.C (insert): take a reference instead of a pointer
6915 * paragraph.[Ch] (id): new function
6917 * bufferlist.C (newFile): adjust
6919 * ParagraphList.C (ParagraphList): adjust
6921 (push_back): take a reference instead of a pointer.
6923 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6925 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6928 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6929 set else use old code.
6931 * ParagraphList.C: remove all NO_NEXT code and only compile this
6932 code of NO_STD_LIST is set.
6934 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6936 * BufferView_pimpl.C:
6946 * graphics/GraphicsConverter.C:
6947 * graphics/PreviewLoader.C: header adjustment
6949 2003-05-23 Angus Leeming <leeming@lyx.org>
6951 * LaTeXFeatures.[Ch] (useBabel): new method.
6952 * bufferparams.C (writeLaTeX): use it.
6954 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6956 * ParagraphList.h (set): remove unused function.
6958 2003-05-23 André Pönitz <poenitz@gmx.net>
6961 * BufferView_pimpl.C:
6965 * undo_funcs.C: setUndo reworked
6967 * iterators.[Ch]: add access to topmost ParagraphList
6969 * lyxtext.[Ch] (workWidth): add a const
6971 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6973 * texrow.[Ch] (increasePos): remove function
6974 * exporter.C (export): removed unused var and outdated comment
6976 2003-05-23 Angus Leeming <leeming@lyx.org>
6978 * latexrunparams.h: rename fragile as moving_arg.
6979 * paragraph.C (simpleTeXOnePar): ditto.
6980 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6982 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6984 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6986 (textUndoOrRedo): comment out a currently unused var.
6988 * paragraph.h (NO_NEXT): enable NO_NEXT
6990 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6992 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6994 * exporter.C (Export): adjust for removeAutoInsets removal.
6996 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6998 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7000 * BufferView.[Ch] (removeAutoInsets): delete function
7002 2003-05-22 Angus Leeming <leeming@lyx.org>
7004 * latexrunparams.h: add a free_spacing variable.
7006 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7007 to pass moving_arg, as the data is stored in runparams.fragile.
7009 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7010 to Inset::latexOptional or to simpleTeXOnePar.
7012 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7013 free_spacing arg to Inset::latexOptional.
7015 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7018 2003-05-22 Angus Leeming <leeming@lyx.org>
7020 * latexrunparams.h: add fragile and use_babel variables.
7022 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7023 * buffer.C (makeLaTeXFile): store this returned value in
7024 runparams.use_babel, thus passing it to the inset::latex methods.
7026 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7027 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7029 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7030 longer has a fragile arg, as it is stored in runparams.fragile.
7032 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7033 moving_arg parameter as the data is stored in runparams.fragile.
7035 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7036 a fragile parameter as the data is stored in runparams.fragile.
7038 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7040 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7042 2003-05-22 Angus Leeming <leeming@lyx.org>
7044 * latexrunparams.h: add a 'bool nice' which defaults to false.
7046 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7047 now encapsulated within runparams.
7049 * bufferlist.C (updateIncludedTeXfiles):
7050 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7052 2003-05-22 Angus Leeming <leeming@lyx.org>
7054 * latexrunparams.h: new file containing struct LatexRunParams.
7055 * Makefile.am: add new file.
7057 * LaTeX.[Ch] (c-tor, run):
7058 * buffer.[Ch] (makeLaTeXFile):
7059 * bufferlist.[Ch] (updateIncludedTeXfiles):
7060 * converter.C (convert, scanLog):
7061 * converter.[Ch] (runLaTeX):
7062 * exporter.C (Export):
7063 * paragraph.[Ch] (simpleTeXOnePar):
7064 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7065 * paragraph_funcs.[Ch] (latexParagraphs):
7066 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7067 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7068 pass around a LatexRunParams parameter.
7070 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7072 * paragraph.[Ch]: remove unused constructor
7074 * ParagraphList.C (erase): new function, taking two iterators
7076 2003-05-22 André Pönitz <poenitz@gmx.net>
7078 * undo_funcs.C: remove duplicated code
7080 * iterator.[Ch]: operator=
7082 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * tabular.C (SetMultiColumn): ws changes
7086 * rowpainter.C (paintFirst): get rid of a ->previous
7088 * lyx_cb.C (getPossibleLabel): parlist simplification
7090 * BufferView.C (ChangeInsets): simplify slightly.
7092 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7094 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7095 * lfuns.h: new LFUN_SPACE
7096 * lyxfunc.C: protected space has a new lfun
7097 * paragraph_funcs.C: read new space insets
7099 * factory.C: handle new space insets
7101 2003-05-22 André Pönitz <poenitz@gmx.net>
7104 * BufferView_pimpl.C:
7107 * undo_funcs.C: return a ParIterator from getParFromID.
7109 * iterators.[Ch]: add two const's
7111 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7113 * toc.C (getTocList): adjust
7115 * iterators.[Ch]: rework for parlist
7117 * buffer.C (par_iterator_begin): adjust
7118 (par_iterator_end): adjust
7120 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7122 * BufferView.C (removeAutoInsets): adjust
7123 (ChangeInsets): adjust
7125 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7127 * text.C (top_y): fix bug 1110
7129 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7131 * errorlist.[Ch]: added
7134 * BufferView_pimpl.C:
7135 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7138 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7140 * Makefile.am: ensure that lyx is relinked upon changes to the
7141 various "convenience" libs.
7143 2003-05-20 Angus Leeming <leeming@lyx.org>
7145 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7146 files are compiled in alphabetical order again.
7148 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7150 2003-05-19 Angus Leeming <leeming@lyx.org>
7152 * gettext.[Ch]: remove "char const * _(char const *)".
7154 2003-05-19 André Pönitz <poenitz@gmx.net>
7156 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7165 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7167 2003-05-19 André Pönitz <poenitz@gmx.net>
7171 * lyxtextclass.[Ch]:
7173 * paragraph_funcs.[Ch]:
7175 * text3.C: more insetenv work
7177 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7179 * ParagraphParameters.C (params2string): small bug fixed
7181 2003-05-16 André Pönitz <poenitz@gmx.net>
7184 * bufferview_funcs.C: patch from Kornel Benko to prevent
7185 crash when _(...) is called twice in a statement
7187 2003-05-16 André Pönitz <poenitz@gmx.net>
7194 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7196 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7198 * lyx_main.C (init): remove spurious static_cast
7200 2003-05-14 André Pönitz <poenitz@gmx.net>
7202 * BufferView.C: fix format string
7204 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7206 * BufferView.[Ch] (insertErrors): removed
7207 * BufferView.[Ch] (showErrorList): added
7208 * buffer.C (runChkTeX):
7209 * converter.C (scanLog): call showErrorList instead of inserterrors
7211 2003-05-13 André Pönitz <poenitz@gmx.net>
7213 * BufferView_pimpl.C:
7215 * bufferview_func.C:
7222 * tabular_funcs.h: tostr() from its own header
7224 * ParagraphParameters.C:
7229 * text3.C: STRCONV()
7231 2003-05-12 André Pönitz <poenitz@gmx.net>
7234 * BufferView_pimpl.C:
7238 * ParagraphParameters.C:
7242 * bufferview_funcs.C:
7255 * paragraph_funcs.C:
7259 * text3.C: boost::format -> bformat all over the place
7262 2003-05-09 André Pönitz <poenitz@gmx.net>
7264 * LColor.[Ch]: Pimpl the #include <map> away
7266 2003-05-09 John Levon <levon@movementarian.org>
7268 * bufferlist.C: never remove emergency saves
7270 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7272 * Makefile.am: better lib building
7274 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7276 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7278 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7279 (simpleTeXSpecialChars): adjust
7280 (simpleTeXSpecialChars): adjust
7281 * paragraph.C (simpleTeXOnePar): adjust
7282 * buffer.C (makeLaTeXFile): adjust
7284 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7286 * text2.C (changeDepth): parlist cleanup
7287 (getColumnNearX): ditto
7289 * rowpainter.C (getLabelFont): parlist cleanup
7291 * bufferlist.C (newFile): parlist cleanup
7293 * CutAndPaste.C (eraseSelection): parlist cleanup
7295 * BufferView_pimpl.C (trackChanges): parlist cleanup
7298 * BufferView.C (lockInset): parlist cleanup.
7299 (ChangeInsets): ditto
7301 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7303 * CutAndPaste.h: Update file header.
7305 * CutAndPaste.C: Update file header.
7306 Store the parts cut out of the Document in a limited_stack.
7307 (copySelection): adjust
7308 (pasteSelection): new function, takes the index in the limited stack.
7309 (nrOfParagraphs): adjust
7310 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7311 simplify error inset insertion.
7312 (checkPastePossible): adjust
7314 2003-05-06 John Levon <levon@movementarian.org>
7316 * text2.C: don't cast wrap inset to float
7318 2003-05-05 André Pönitz <poenitz@gmx.net>
7321 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7323 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7324 few naked Paragraph *.
7326 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7328 * bufferparams.C: Output warning if a document with missing
7329 TeX document class is loaded
7330 * exporter.C: Disable TeX exports if the document class is missing
7333 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7334 isTeXClassAvailable()
7336 2003-05-03 John Levon <levon@movementarian.org>
7339 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7340 explicit cursor show/hide
7342 * BufferView_pimpl.h:
7343 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7344 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7346 * lyxfunc.C: hide cursor before dispatching.
7351 * text3.C: remove explicit cursor hides
7353 2003-05-02 André Pönitz <poenitz@gmx.net>
7355 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7358 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7361 * text2.C: tiny whitespace
7363 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7365 * undo_funcs.C: almost only ws changes.
7367 * ParagraphList.C (splice): just return if pl is empty.
7369 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7371 * ParagraphList.C (splice): new function.
7373 * CutAndPaste.C (pasteSelection): use it
7375 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7377 * CutAndPaste.C (pasteSelection): remove the last next and
7378 previous from this file.
7380 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * CutAndPaste.C (pasteSelection): more clean up, user proper
7383 ParagraphList functions for pasteing.
7385 * ParagraphList.C (insert): new function, three arg insert
7387 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7389 * ParagraphList.C (insert): new function, three arg insert
7391 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7394 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7396 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7398 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7400 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7402 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7404 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7405 (copySelection): clean up a bit.
7406 (pasteSelection): use make_pair
7408 * ParagraphList.C (ParagraphList): implement copy constructor
7409 (operator=): implement, base on copy constructor.
7412 * paragraph.C (erase): return a bool
7414 * paragraph_pimpl.C (erasePos): remove function, move contents...
7415 (erase): ... here. Return a bool.
7416 (erase): call erase instead of erasePos.
7418 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7420 * ParagraphList.h: define PitPosPair
7421 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7422 ParagraphList, fix a bug on pasting multiple pars
7423 * text2.C: change interface to C&P
7425 2003-04-30 André Pönitz <poenitz@gmx.net>
7427 * undo_func.C: revert part of yesterday's patch 2
7429 2003-04-30 John Levon <levon@movementarian.org>
7431 * LColor.C: s/tabular/table/
7433 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7435 * text3.C (dispatch): do not convert iterator -> pointer
7436 * undo_funcs.C (setCursorParUndo): ditto
7437 * text_funcs.C (transposeChars): ditto
7439 * text2.C (setLayout): ws changes only
7441 * text.C (breakParagraph): do not convert iterator -> pointer
7443 (acceptChange): ditto
7444 (rejectChange): ditto
7449 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7452 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7454 * text3.C (gotoInset): YABG (yet another bad getChar)
7456 2003-04-29 André Pönitz <poenitz@gmx.net>
7458 * paragraph.h: make operator= private unimplemented as long as
7461 * ParagraphList.C: whitespace
7464 * paragraph_pimpl.[Ch]:
7465 * paragraph_funcs.C:
7467 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7470 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7472 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7474 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7475 * paragraph.[Ch] (erase):
7476 * paragraph_pimpl.[Ch] (erase): change return type and value
7477 * text2.C (cutSelection): some rework
7479 2003-04-28 John Levon <levon@movementarian.org>
7481 * bufferlist.C: changes for unsaved changes dialog
7483 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7485 * bufferlist.C (newFile): set language (messages_) for new
7488 * buffer.C (readFile): ws changes only.
7490 2003-04-28 André Pönitz <poenitz@gmx.net>
7495 * BufferView_pimpl.C:
7496 * BufferView.C: getParFromID related ParagraphList::iterator changes
7498 2003-04-28 André Pönitz <poenitz@gmx.net>
7500 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7503 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7505 * messages.C: remove one more localedir class variable.
7507 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7509 * messages.C (getLocaleDir): singleton generation function
7511 (Messages): add a default constructor.
7513 * main.C (main): do not setup localedir here, do not call
7516 * gettext.C (_): use it.
7517 (gettext_init): delete funciton
7519 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7521 * gettext.C (getLyXMessages): new singleton generating function.
7523 * buffer.C (updateDocLang): adjust
7525 * Makefile.am (messages.o): add target
7526 (main.o): remove target
7528 2003-04-27 John Levon <levon@movementarian.org>
7533 * lyxvc.C: specify cancel button in Alert::prompt
7535 2003-04-26 John Levon <levon@movementarian.org>
7540 * LyXAction.C: add LFUN_INSET_SETTINGS
7542 * lyxfunc.C: don't enable tabular-feature when there's
7543 just any locking inset
7545 2003-04-26 John Levon <levon@movementarian.org>
7547 * bufferlist.C: re-add Cancel to buffer close question
7549 * lyxfunc.C: fix import UI a bit
7551 2003-04-25 John Levon <levon@movementarian.org>
7553 * gettext.C: remove the broken asserts for now
7555 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * messages.C: make case where setlocale cannot comply work better.
7559 * buffer.C (updateDocLang): new function
7560 (changeLanguage): use it
7563 * text2.C (setCounter): use B_ a bit.
7565 * lyxlayout.C (Read): be sure to trim the label strings.
7567 * messages.C (Messages): fix typo in comment
7569 * buffer.C (readFile): set message_ after file is loaded.
7570 (makeDocBookFile): remove double return
7571 (changeLanguage): reset message_ upon language change.
7572 (B_): new func, use this to get translated buffer strings.
7574 * main.C: add myself and Jean Marc as authors.
7576 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7578 * messages.[hC]: pimplify Messages, and three different pimpls to be
7579 used in different circumstances.
7581 * gettext.[Ch]: change for use with new message code.
7583 2003-04-24 André Pönitz <poenitz@gmx.net>
7585 * factory.C: support for eqref
7587 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7589 * messages.[Ch]: add missing char
7591 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7593 * messages.[Ch]: New files
7595 2003-04-18 John Levon <levon@movementarian.org>
7599 * BufferView_pimpl.C:
7603 * text2.C: remove layout-copy/paste (bug 778)
7605 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7607 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7609 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7611 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7612 if they succeed. Act accordingly.
7614 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * text2.C (setCharFont): adjust
7617 (setCounter): adjust
7618 (insertStringAsLines): adjust
7620 * text.C (leftMargin): adjust
7621 (setHeightOfRow): adjust
7623 * rowpainter.C (paintFirst): adjust
7626 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7628 (isFirstInSequence): ditto
7629 (getEndLabel): ditto
7632 * paragraph.C (getParLanguage): comment out some hard stuff.
7634 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7636 (simpleDocBookOnePar): ditto
7637 (makeDocBookFile): use ParagraphList::iterator
7639 * CutAndPaste.C (pasteSelection): adjust
7641 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7643 * text2.C (getFont): adjust
7644 (getLayoutFont): adjust
7645 (getLabelFont): adjust
7647 * paragraph_funcs.C (TeXOnePar): adjust
7649 * buffer.C (simpleLinuxDocOnePar): adjust
7650 (simpleDocBookOnePar): adjust
7652 * CutAndPaste.C (pasteSelection): adjust
7654 * BufferView.C (getEncoding): adjust
7656 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7658 2003-04-16 John Levon <levon@movementarian.org>
7660 * lyxfind.C: use parlist stuff for search/changes
7662 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7664 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7666 * text2.C (deleteEmptyParagraphMechanism): adjust
7668 * text2.[Ch] (ownerParagraph): delete func (both of them
7670 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7672 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7674 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7676 * ParagraphList.C: prepare for NO_NEXT
7678 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7680 * text2.C (getFont): adjust
7681 (getLayoutFont): adjust
7682 (getLabelFont): adjust
7684 * paragraph.C (getFont): adjust
7685 (getLabelFont): adjust
7686 (getLayoutFont): adjust
7688 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7690 2003-04-15 John Levon <levon@movementarian.org>
7694 * lyx_main.C: handle Include in .ui files
7696 2003-04-15 John Levon <levon@movementarian.org>
7698 * MenuBackend.C: make the doc files length shorter
7701 * ToolbarBackend.C: handle toolbar placement flags,
7704 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7706 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7709 * paragraph_funcs.C (TeXOnePar): adjust
7711 * paragraph.C (getLabelFont): add outerfont arg, adjust
7712 (getLayoutFont): ditto
7713 (simpleTeXOnePar): adjust
7715 * paragraph_pimpl.C (realizeFont): delete func
7717 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7719 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7720 row argument, constify cur argument.
7722 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7724 * text2.C (getFont): adjust
7725 (getLayoutFont): adjust
7726 (getLabelFont): adjust
7728 * paragraph_funcs.C (TeXOnePar): adjust
7729 (outerFont): new func...
7730 (realizeFont): ...moved out from here, changed this to facilitate
7733 * paragraph.C (getFont): take outerfont as arg, adjust
7734 (simpleTeXOnePar): add outerfont arg, adjust
7736 * buffer.C (simpleLinuxDocOnePar): adjust
7737 (simpleDocBookOnePar): adjust
7739 * CutAndPaste.C (pasteSelection): adjust
7741 * BufferView.C (getEncoding): adjust
7743 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7745 * text2.C (setCharFont): adjust
7746 (setCounter): adjust
7748 * text.C (leftMargin): adjust
7749 (setHeightOfRow): adjust
7751 * rowpainter.C (paintFirst): adjust
7754 * paragraph_pimpl.C (realizeFont): adjust
7756 * paragraph.C (isFirstInSequence): move from here...
7757 * paragraph_funcs.C (isFirstInSequence): ...to here
7759 * paragraph.C (outerHook): move from here...
7760 * paragraph_funcs.C (outerHook): ...to here
7762 * paragraph.C (depthHook): move from here...
7763 * paragraph_funcs.C (depthHook): ...to here
7765 * paragraph.C (getEndLabel): move from here...
7766 * paragraph_funcs.C (getEndLabel): ...to here
7768 * text2.C (realizeFont): move from here...
7769 * paragraph_funcs.C (realizeFont): ...to here
7771 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7773 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7775 2003-04-14 Angus Leeming <leeming@lyx.org>
7777 * LColor.[Ch]: scrap LColor mathcursor.
7779 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7781 * lyxlex.[Ch] (text): delete function
7782 * trans.C (Load): adjust
7783 * paragraph_funcs.C (readParToken): adjust
7785 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7787 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7788 vector<char> instead of a char[].
7790 * lyxlex_pimpl.C (getString): adjust
7792 (lex): use getString
7796 * lyxlex.C (text): use pimpl_->getString()
7800 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7802 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7803 (makeFontEntriesLayoutSpecific): temp var for par.size()
7804 (setLayout): temp var for ownerParagraphs().end()
7805 (fullRebreak): temp var for rows().end()
7806 (selectionAsString): temp var for boost::next(startpit), realize
7807 that the while really is a regular for loop.
7808 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7809 setCursor in one place.
7810 (setParagraph): temp vr for ownerParagraphs().end()
7811 (updateCounters): make the while loop a for loop
7812 (cutSelection): temp var for ownerParagraphs().end()
7813 (updateInset): make the do {} while() a regular for loop
7814 (getCursorX): use temp vars
7815 (setCurrentFont): use temp vars
7816 (getColumnNearX): use temp vars
7818 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7820 * text.C (transformChar): use temp var for getChar
7821 (computeBidiTables): use temp var for row->par()
7822 (fill): move temp vars for row->par() and pit->layout() earlier in
7824 (labelFill): use temp var for row->par()
7825 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7826 asc and desc, realize that pit never changes and that firstpit is
7827 just a duplicate and not needed. Exchange rit->par() with pit in a
7829 (breakAgain): use a temp var for boost::next(rit)
7830 (breakAgainOneRow): ditto
7831 (breakParagraph): use a temp var for rows().begin()
7832 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7833 (cursorRightOneWord): use temp var for cursor.par() and
7834 cursor.pos(), remove usage of tmpcursor.
7835 (cursorLeftOneWord): use temp var for cursor.par() and
7836 cursor.pos() only set cur at end of function.
7838 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7840 * text.C, text2.C: exchange all usage of Paragraph::next with
7841 boost::next(ParagraphList::iterator)
7843 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7845 * text2.C (cursorTop): simplify implementation
7846 (cursorBottom): ditto
7847 (setParagraph): use ParagraphList::iterator
7848 (setCurrentFont): adjust
7849 (getColumnNearX): adjust
7850 (cursorRight): adjust
7851 (cursorLeft): remove usage of Paragraph::previous
7852 (cursorUpParagraph): ditto
7853 (deleteEmptyParagraphMechanism): slight cleanup
7855 * text.C (isBoundary): take a Paragraph const & instead of a
7857 (addressBreakPoint): ditto
7858 (leftMargin): remove usage of Paragraph::previous.
7859 (setHeightOfRow): ditto
7860 (cursorLeftOneWord): ditto
7861 (selectNextWordToSpellcheck): ditto
7864 (breakParagraph): remove one usage of Paragraph::next
7865 (redoParagraph): ditto
7866 (acceptChange): ditto
7867 (insertChar): adjust
7868 (rowBreakPoint): adjust
7870 * bufferview_funcs.C (toggleAndShow): adjust
7872 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7874 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7875 methods to access it.
7877 * text.C: Added updateRowPositions to compute all row positions.
7878 Make top_y and getRowNearY() to use the cached y position
7880 2003-04-11 John Levon <levon@movementarian.org>
7882 * text.C (rowBreakPoint): reintroduce the labelEnd
7883 checks, code copied from the row fill stuff. Deep voodoo.
7885 * text.C (fill): add a comment and debugging for the
7888 2003-04-11 John Levon <levon@movementarian.org>
7890 * text.C: make sure fullrow insets get wrapped to the next line,
7891 even when they're in a manual label
7893 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7895 * text2.C (insertParagraph): make it take ParagraphList::iterator
7897 (setLayout): make it return ParagraphList::iterator
7898 (redoParagraphs): ditto
7900 (checkParagraph): ditto
7902 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7904 * text2.C: adjust several funcs.
7905 (realizeFont): take a ParagraphList::iterator as arg.
7906 (getLayoutFont): ditto
7907 (getLabelFont): ditto
7908 (setCharFont): ditto
7910 * text.C: adjust several funcs.
7912 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7914 * text.C (selectNextWordToSpellcheck): don't accidentally
7917 2003-04-10 John Levon <levon@movementarian.org>
7919 * ToolbarBackend.C (getIcon): special handling for
7922 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7924 * text2.C (cursorRight): a getChar assert fixed
7926 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7928 * text2.C (getFont): change to take a ParagraphList::iterator
7929 instead of Paragraph*
7930 Adjust several functions.
7932 * text.C (transformChar): change to take a ParagraphList::iterator
7933 instead of Paragraph*
7934 (singleWidth): ditto
7935 Adjust several functions.
7937 * rowpainter.C: adjust several functions
7938 * rowpainter.h:store a ParagraphList::iterator and not a
7942 2003-04-09 John Levon <levon@movementarian.org>
7947 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7948 and the "help" bits as well
7950 2003-04-09 John Levon <levon@movementarian.org>
7953 * ToolbarBackend.C: allow multiple toolbars
7955 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7957 * undo_funcs.C (setCursorParUndo): adjust
7959 * text_funcs.C (transposeChars): adjust
7961 * text3.C (gotoNextInset): adjust
7964 * text2.C (setLayout): adjust
7965 (changeDepth): adjust
7967 (redoParagraphs): adjust
7968 (selectionAsString): adjust
7969 (setParagraph): adjust
7970 (insertInset): adjust
7971 (cutSelection): adjust
7972 (copySelection): adjust
7973 (pasteSelection): adjust
7974 (insertStringAsLines): adjust
7975 (updateInset): adjust
7976 (setCursor): change to take a ParagraphList::iterator parameter
7977 (setCursorIntern): change to take a ParagraphList::iterator parameter
7978 (setCurrentFont): adjust
7979 (cursorLeft): adjust
7980 (cursorRight): adjust
7981 (deleteEmptyParagraphMechanism): adjust
7983 * text.C (breakParagraph): adjust
7984 (insertChar): adjust
7985 (acceptChange): adjust
7986 (rejectChange): adjust
7987 (selectNextWordToSpellcheck): adjust
7988 (changeCase): adjust
7992 * lyxfind.C (SearchForward): adjust
7993 (SearchBackward): adjust
7994 (nextChange): adjust
7996 * lyxcursor.C (par): adjust
7998 * lyxcursor.h: store a ParagraphList::iterator instead of a
8001 * lyx_cb.C (getPossibleLabel): adjust
8003 * bufferview_funcs.C (toggleAndShow): adjust
8005 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8008 * BufferView.C (removeAutoInsets): adjust
8009 (lockedInsetStoreUndo): adjust
8011 2003-04-09 John Levon <levon@movementarian.org>
8013 * ToolbarBackend.C: try icon without argument
8014 if with argument fails
8016 2003-04-08 John Levon <levon@movementarian.org>
8019 * ToolbarBackend.C: add getIcon(), handle tooltip,
8020 and change from "Icon" to "Item".
8022 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8024 * BufferView.C (lockInset): another bad getchar crunched
8026 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8028 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8031 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8033 * lyxfind.C (searchForward, searchBackwards): bug 782
8035 2003-04-07 John Levon <levon@movementarian.org>
8037 * paragraph.C: remove dead comment
8039 * text.C: remove troublesome depth-fiddling code
8040 in leftMargin() and rightMargin() (bug 1017)
8042 * text.C: fix breaking of rows in nested lists
8045 * text2.C (updateCounters): fix up depth values
8048 2003-04-07 John Levon <levon@movementarian.org>
8050 * BufferView_pimpl.C: clear message when doc finishes resizing,
8051 and after a mouse event
8053 * lyxfunc.C: clear message after exiting inset
8055 2003-04-07 John Levon <levon@movementarian.org>
8057 * bufferview_funcs.C: show math status not outside
8058 status in the statusbar
8060 2003-04-07 John Levon <levon@movementarian.org>
8062 * lyxfunc.C: note status changed after a depth change
8064 2003-04-04 Angus Leeming <leeming@lyx.org>
8066 * LaTeX.h: move AuxInfo operator==, != out of line.
8067 Remove LaTeX virtual destructor; nothing derives from it.
8068 Move operator()() out of public area and rename it startscript().
8069 Change protected for private.
8071 2003-04-04 Angus Leeming <leeming@lyx.org>
8074 * text2.C: remove unneeded #includes.
8076 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8078 * text2.C (dEPM): fix the heigth of the next row
8080 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8082 * text.C: squashed an invalid getChar requester + some ws changes
8084 2003-04-03 John Levon <levon@movementarian.org>
8086 * bufferview_funcs.h:
8087 * bufferview_funcs.C:
8090 * text2.C: make getStatus work for the env depth lfuns
8092 2003-04-03 John Levon <levon@movementarian.org>
8094 * bufferview_funcs.h:
8095 * bufferview_funcs.C:
8098 * text2.C: parlistize decDepth(), by merging it with incDepth()
8100 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8102 * lyxrow.h: store a ParagraphList::iterator instead of a
8103 Paragraph* and adjust other class functions to suit.
8105 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8108 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8110 * text2.C (setCursor): do not anchor to cursor row for the time being
8112 2003-04-02 John Levon <levon@movementarian.org>
8119 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8121 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8123 * paragraph.h: make ParagraphList and ParagraphList::iterator
8124 friends of Paragraph.
8126 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8128 * ParagraphList.C: Use the private next_ and previous_ from
8131 2003-04-01 John Levon <levon@movementarian.org>
8135 * Makefile.am: rename, remove defaults gunk
8138 * MenuBackend.C: remove defaults gunk
8141 * Languages.C: remove defaults gunk
8144 * lyx_main.C: error out if files couldn't be found.
8146 2003-04-02 John Levon <levon@movementarian.org>
8148 * text2.C: make incDepth() use parlist
8150 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * undo_funcs.C (firstUndoParagraph): adjust
8154 * text3.C (gotoInset): adjust
8155 (dispatch): adjust, and rewrite loop.
8157 * text2.C (init): adjust, and rewrite loop.
8158 (redoParagraphs): adjust
8159 (updateInset): adjust, and rewrite loop.
8160 (deleteEmptyParagraphMechanism): adjust
8162 * tabular.C (LyXTabular): adjust
8163 (SetMultiColumn): adjust
8166 * lyxtext.[Ch] (ownerParagraph): delete function
8167 (ownerParagraphs): new function returns a ParagraphList.
8169 * BufferView.C (removeAutoInsets): adjust
8170 (insertErrors): adjust
8171 (setCursorFromRow): adjust
8173 2003-04-01 Angus Leeming <leeming@lyx.org>
8175 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8178 2003-04-02 John Levon <levon@movementarian.org>
8184 * text_funcs.C: make transposeChars a free function
8186 * lyxrow_funcs.C: remove wrong comment
8188 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8191 * rowpainter.C: adjust
8196 * lyxrow_funcs. [Ch]: new files
8198 * lyxrow.[Ch]: remove next and previous pointers
8199 (next,previous): remove accessor functions
8200 (isParEnd): move to lyxrow_funcs
8201 (lastPos): move to lyxrow_funcs
8202 (nextRowIsAllInset): move to lyxrow_funcs
8203 (lastPrintablePos): move to lyxrow_funcs
8204 (numberOfSeparators): move to lyxrow_funcs
8205 (numberOfHfills): move to lyxrow_funcs
8206 (numberOfLabelHfills): move to lyxrow_funcs
8207 (hfillExpansion): move to lyxrow_funcs
8211 * bufferview_funcs.C (toggleAndShow): adjust
8213 * RowList.h: Remove class RowList from file leave just a
8216 * RowList.C: delete file
8218 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8221 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8223 * text3.C (cursorPrevious): adjust
8224 (cursorNext): adjust
8227 * text2.C (redoHeightOfParagraph): adjust
8228 (redoDrawingOfParagraph): adjust
8231 * text.C (breakParagraph): adjust
8232 (insertChar): adjust
8235 * rowpainter.C (RowPainter): adjust
8236 (leftMargin): simplify and adjust
8237 (most rowpainter functions): adjust.
8239 * rowpainter.h: store the row as RowList::iterator not as Row*
8241 * lyxcursor.C (row): taka RowList::iterator as arg
8244 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8247 2003-04-01 Angus Leeming <leeming@lyx.org>
8249 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8250 stuff like bool Bool.
8252 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8254 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8257 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8259 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8262 * lyxtext.h (rows): drop one version and leve a const variant that
8263 returns a RowList::iterator.
8265 2003-03-31 Angus Leeming <leeming@lyx.org>
8267 * text.C (fill): ensure that the signature is the same as that in the
8270 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8272 * text2.C (redoParagraphs): adjust
8273 (updateCounters): adjust
8274 (checkParagraph): adjust
8275 (getColumnNearX): adjust and reformat a bit.
8277 * text.C (top_y): adjust
8279 (leftMargin): adjust
8280 (prepareToPrint): adjust
8282 (getRowNearY): adjust
8284 * lyxtext.h: make rowlist_ mutable.
8286 * RowList.h: add const_iterator
8287 * RowList.C: adjust for RowList::const_iterator.
8289 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8292 2003-03-31 John Levon <levon@movementarian.org>
8295 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8297 * lyx_main.C: set default fonts from using lyx_gui funcs
8299 * exporter.C: pdf_mode moved from lyxrc
8302 * lyxfunc.C: changes from above
8304 2003-03-31 John Levon <levon@movementarian.org>
8306 * lyx_main.C: fix to the last fix
8308 2003-03-31 John Levon <levon@movementarian.org>
8310 * bufferlist.C: "Load original" -> "Load Original"
8316 * format.C: more Alert cleanups
8318 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8320 * text2.C (removeParagraph): make it take a RowList::iterator as
8322 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8323 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8325 * text.C (anchor_row): make it take a RowList::iterator as arg,
8327 (computeBidiTables): make it take a const reference to Row instead
8328 of Row pointer, adjust.
8329 (leftMargin): make it take a RowList::iterator as arg, adjust.
8330 (rowBreakPoint): adjust
8331 (breakAgainOneRow): make it take a RowList::iterator as arg,
8333 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8335 * bufferview_funcs.C (toggleAndShow): adjust
8337 2003-03-30 John Levon <levon@movementarian.org>
8341 * boost-inst.C: moved to support
8343 * several files: changes as a result
8345 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8347 * text2.C (LyXText): adjust.
8349 (removeRow): make it take a RowList::iterator as arg, adjust.
8350 (fullRebreak): adjust
8351 (deleteEmptyParagraphMechanism): adjust
8352 (clearPaint): adjust
8355 * text.C (top_y): adjust
8356 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8357 (breakAgain): make it take a RowList::iterator as arg, adjust.
8358 (breakParagraph): adjust
8359 (insertChar): adjust
8362 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8363 need_break_row, and refresh_row.
8365 * text3.C (dispatch): adjust
8367 * text2.C (checkParagraph): adjust
8369 (setCursorFromCoordinates): adjust
8371 * text.C (top_y): adjust
8373 (getRow): make it return a RowList::iterator, adjust
8374 (getRowNearY): make it return a RowList::iterator, adjust
8376 * text2.C (init): adjust
8377 (insertRow): remove function
8378 (insertParagraph): adjust
8379 (redoParagraphs): adjust
8380 (fullRebreak): adjust
8381 (updateCounters): adjust
8383 * text.C (top_y): rewrite to use RowList iterators.
8385 (setHeightOfRow): rewrite to sue RowList iterators.
8386 (appendParagraph): adjust
8387 (breakAgain): adjust
8388 (breakAgainOneRow): adjust
8389 (breakParagraph): adjust
8391 (getRowNearY): adjust, and remove commented code.
8393 * lyxtext.h (firstRow): delete function
8394 (lastRow): delete function
8395 (rows): new function (const and non-const versions.)
8396 (insertRow): delete function
8398 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8400 2003-03-29 John Levon <levon@movementarian.org>
8402 * BufferView_pimpl.C: always update scrollbar top
8403 because pasting text when we're anchored could mean we
8404 miss an update altogether
8406 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8408 * text2.C (init): use rowlist_.end() and not 0.
8409 (insertRow): change to take a RowList::iterator as arg, adjust
8411 (insertParagraph): change to take a RowList::iterator as arg,
8413 (redoParagraphs): remove some debug msgs.
8415 * text.C (appendParagraph): change to take a RowList::iterator
8416 arg, adjust for this.
8417 (breakAgain): add an assert
8418 (breakAgainOneRow): ditto
8420 2003-03-29 John Levon <levon@movementarian.org>
8422 * text2.C: do not clear selection after inc/decDepth
8425 2003-03-29 John Levon <levon@movementarian.org>
8428 * buffer.C: fix broken strerrors according to Lars
8430 2003-03-29 John Levon <levon@movementarian.org>
8432 * converters.C: more Alert cleanups
8434 2003-03-29 John Levon <levon@movementarian.org>
8436 * bufferview_funcs.C: remove pointless Alert
8438 * buffer.C: fix confusing error message when
8439 a template is chmoded 000
8441 2003-03-29 John Levon <levon@movementarian.org>
8445 * BufferView_pimpl.C: Alert fixes
8449 * tabular-old.C: remove unused table compat reading
8451 2003-03-29 John Levon <levon@movementarian.org>
8456 * lyx_cb.C: more Alert cleanups
8458 * lyxfunc.C: don't allow chktex if not latex document
8460 2003-03-29 John Levon <levon@movementarian.org>
8464 * buffer.C: warnings pushed down from support/,
8467 2003-03-29 John Levon <levon@movementarian.org>
8469 * lyxfunc.C: safety check for C-r (revert)
8471 2003-03-29 John Levon <levon@movementarian.org>
8474 * bufferlist.C: several UI fixes using Alert::prompt.
8475 Fix the pointless looping quit code. Fix stupid revert
8480 * lyx_cb.C: use Alert::prompt
8482 * lyx_main.C: remove a silly question
8484 * lyxfunc.C: remove a couple of silly questions,
8487 2003-03-28 John Levon <levon@movementarian.org>
8489 * text2.C: fix bug 974 (End on empty par)
8491 2003-03-28 John Levon <levon@movementarian.org>
8493 * BufferView_pimpl.C:
8495 * lfuns.h: remove do-nothing math greek lfuns
8497 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8499 * lyxgluelength.h (isValidGlueLength): add default arg on
8500 parameter 2. Remove default arg from friend in class.
8502 * lyxlength.h (isValidLength): add default arg on parameter 2.
8503 Remove default arg from friend in class.
8505 * text2.C (LyXText): adjust, initialize refresh_row.
8509 (insertParagraph): adjst
8510 (redoParagraphs): adjust
8511 (fullRebreak): adjust
8512 (updateCounters): adjust
8513 (deleteEmptyParagraphMechanism): first attempt at fixing a
8516 * text.C (top_y): adjust
8517 (setHeightOfRow): adjust
8519 (getRowNearY): adjust
8521 * lyxtext.h: include RowList.h
8522 (~LyXText): not needed anymore, deleted.
8523 (firstRow): modify for RowList
8524 (lastRow): new function
8525 Delete firstrow and lastrow class variables, add a Rowlist
8526 rowlist_ class variable.
8528 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8531 * RowList.C (insert): fix case where it == begin().
8533 2003-03-26 Angus Leeming <leeming@lyx.org>
8535 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8536 the thesaurus dialog.
8538 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8540 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8542 * RowList.[Ch]: new files
8544 * ParagraphList.C (erase): handle the case where it == begin
8547 2003-03-25 John Levon <levon@movementarian.org>
8551 * aspell.C: add new aspell support
8554 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8557 2003-03-25 Angus Leeming <leeming@lyx.org>
8560 * LyXAction.C (init): new LFUN_INSET_INSERT.
8562 * BufferView_pimpl.C (dispatch): split out part of the
8563 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8565 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8568 2003-03-25 Angus Leeming <leeming@lyx.org>
8570 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8572 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8575 * text3.C: remove useless row->height(0)
8577 2003-03-25 John Levon <levon@movementarian.org>
8581 * text3.C: rename the refreshing stuff to better names
8583 2003-03-24 John Levon <levon@movementarian.org>
8585 * BufferView_pimpl.h:
8586 * BufferView_pimpl.C: update layout choice on a mouse
8589 2003-03-23 John Levon <levon@movementarian.org>
8591 * Makefile.am: fix commandtags.h reference
8593 2003-03-22 John Levon <levon@movementarian.org>
8595 * BufferView_pimpl.C:
8600 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8602 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8605 * text.C: take the rtl methods out of line
8607 2003-03-21 André Pönitz <poenitz@gmx.net>
8609 * metricsinfo.[Ch]: new files containing structures to be passed around
8610 during the two-phase-drawing...
8612 2003-03-21 André Pönitz <poenitz@gmx.net>
8614 * lyxtextclass.C: read 'environment' tag.
8616 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8618 * text2.C (removeRow): fix bug 964
8620 2003-03-20 John Levon <levon@movementarian.org>
8624 * text2.C: paint cleanups. Inset::update() dropped font
8627 2003-03-19 John Levon <levon@movementarian.org>
8629 * lyxfunc.C: only fitcursor/markDirty if available()
8631 2003-03-19 John Levon <levon@movementarian.org>
8633 * commandtags.h: rename to ...
8635 * lfuns.h: ... this, and renumber / cleanup
8637 2003-03-19 John Levon <levon@movementarian.org>
8639 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8640 fit the cursor after an lfun
8644 * BufferView_pimpl.h:
8645 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8647 * LyXAction.C: layout-character should have ReadOnly
8649 * ParagraphParameters.C:
8651 * bufferview_funcs.C:
8658 * undo_funcs.C: changes from above
8660 2003-03-18 John Levon <levon@movementarian.org>
8662 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8663 remove it from update()
8665 * lyxfunc.C: update layout choice after an lfun
8667 * text3.C: remove extra updateLayoutChoice()s
8669 2003-03-18 John Levon <levon@movementarian.org>
8671 * text.C: top_y change means full repaint, fix
8672 a drawing bug with cursor movement
8674 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8678 * text2.C: anchor row on setCursor
8680 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8682 * lyxtext.h: remove almost all mutable keywords
8685 * text3.C: remove const keywords accordingly
8687 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8689 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8691 (TeXEnvironment): ditto
8694 2003-03-17 John Levon <levon@movementarian.org>
8696 * text.C (rowBreakPoint): remove attempt to fix displayed
8697 math insets inside a manual label
8699 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8701 * lyxtext.h: remove BufferView* as first arg from almost all class
8703 * other files: adjust.
8705 2003-03-17 John Levon <levon@movementarian.org>
8709 * text2.C: more paint cleanups
8711 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8714 * rowpainter.C: remove "smart" background painting code
8716 2003-03-16 John Levon <levon@movementarian.org>
8721 * text3.C: add helper functions for setting refresh_row/y
8723 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8725 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8726 newline inset which *can* get inserted in the pass_thru layouts.
8727 This is primarily for literate documents.
8729 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8731 * buffer.C: increment LYX_FORMAT to 223
8733 2003-03-14 André Pönitz <poenitz@gmx.net>
8735 * textclass.h: prepare for environment handling, ws changes
8736 * lyxlayout.C: read latexheader and latexfooter tags
8738 2003-03-14 John Levon <levon@movementarian.org>
8740 * text2.C: rewrite ::status() a bit
8742 2003-03-13 John Levon <levon@movementarian.org>
8744 * lyxtext.h: add some docs
8746 2003-03-13 John Levon <levon@movementarian.org>
8751 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8753 2003-03-13 John Levon <levon@movementarian.org>
8755 * text3.C: fix appendix redrawing
8757 2003-03-13 John Levon <levon@movementarian.org>
8759 * text.C (setHeightOfRow):
8761 * rowpainter.C: make appendix mark have the text
8762 "Appendix" so the user knows what it is
8765 * LColor.C: s/appendixline/appendix/ from above
8767 2003-03-13 John Levon <levon@movementarian.org>
8769 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8771 * text.C: fix a getChar(pos) bug properly
8773 2003-03-13 Angus Leeming <leeming@lyx.org>
8776 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8777 Probably only temporary. Let's see how things pan out.
8779 * BufferView.C (unlockInset):
8780 * BufferView_pimpl.C (fitCursor):
8781 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8783 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8784 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8786 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8787 new functions that convert ParagraphParameters to and from a string.
8789 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8790 BufferView::Pimpl's dispatch.
8791 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8793 2003-03-13 André Pönitz <poenitz@gmx.net>
8797 * factory.C: make it aware of InsetEnv
8799 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8801 * text2.C (setCursor): never ask for one past last
8802 (setCursor): add some debugging messages.
8804 * text.C (singleWidth): never ask for one past last
8805 (singleWidth): ditto
8807 (rightMargin): ditto
8808 (rowBreakPoint): ditto
8809 (setHeightOfRow): ditto
8810 (prepareToPrint): ditto
8812 * rowpainter.C (paintBackground): never ask for one past last
8813 (paintText): never ask for one past last
8815 * paragraph_pimpl.C (getChar): make the assert stricter, never
8816 allow the one past last pos to be taken
8818 * paragraph.C (getChar): ws changes only
8820 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8821 (numberOfSeparators): ditto
8822 (numberOfHfills): ditto
8824 2003-03-12 John Levon <levon@movementarian.org>
8830 * paragraph_funcs.C: fix per-buffer authorlists
8832 2003-03-12 John Levon <levon@movementarian.org>
8834 * text.C: fix newline in right address
8836 2003-03-12 Angus Leeming <leeming@lyx.org>
8838 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8839 duplicate those in LyXFunc::dispatch.
8843 * ToolbarDefaults.C:
8844 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8845 Add LFUN_FONTFREE_UPDATE.
8847 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8848 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8850 * bufferview_func.[Ch]: several new functions to facilliate
8851 transfer of data to and from the character dialog.
8853 2003-03-12 John Levon <levon@movementarian.org>
8858 * paragraph_funcs.C:
8859 * paragraph_pimpl.C:
8863 * text3.C: remove META_NEWLINE in favour of an inset
8866 * rowpainter.C: remove paintNewline (done by inset)
8868 2003-03-12 John Levon <levon@movementarian.org>
8870 * paragraph_pimpl.C: complain about bad getChar()s
8871 for a while at least
8873 2003-03-12 John Levon <levon@movementarian.org>
8876 * buffer.C: move paragraph read into a separate function,
8877 a little renaming to reflect that.
8880 * bufferparams.C: remove the author_ids map, not necessary now
8883 * factory.C: moved Buffer::readInset to here
8885 * paragraph_funcs.h:
8886 * paragraph_funcs.C: readParagraph free function moved from
8889 * tabular.C: name change
8891 2003-03-12 John Levon <levon@movementarian.org>
8894 * ParagraphParameters.C: move par params input to
8897 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8898 behave like a normal read from the stream wrt reading
8899 a line vs. a \\token
8901 2003-03-12 John Levon <levon@movementarian.org>
8904 * ParagraphParameters.h:
8905 * ParagraphParameters.C: move output code to a
8908 2003-03-12 John Levon <levon@movementarian.org>
8910 * BufferView.C (insertLyXFile):
8913 * tabular.C: use a parlist iterator for creating the
8916 2003-03-12 John Levon <levon@movementarian.org>
8918 * buffer.C: make current_change static local not
8921 2003-03-12 John Levon <levon@movementarian.org>
8923 * buffer.C: fix insertStringAsLines for change tracking
8925 2003-03-12 John Levon <levon@movementarian.org>
8932 * bufferparams.C: move author list into params. Rename some
8933 functions. Move the header reading into a separate token
8934 loop. Move the header token reading into BufferParams.
8936 2003-03-12 John Levon <levon@movementarian.org>
8938 * changes.C: put debug inside lyxerr.debugging() checks
8940 2003-03-11 André Pönitz <poenitz@gmx.net>
8942 * factory.C: make it aware of InsetHFill
8944 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8946 * buffer.C (latexParagraphs): move function from here...
8947 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8950 2003-03-10 Angus Leeming <leeming@lyx.org>
8952 * LyXAction.C (init): fix bug in poplating array with multiple entries
8953 with the same LFUN (spotted by JMarc).
8955 2003-03-10 John Levon <levon@movementarian.org>
8958 * text2.C: move getColumnNearX() near its
8961 2003-03-10 John Levon <levon@movementarian.org>
8963 * text.C: fix break before a minipage
8965 2003-03-10 John Levon <levon@movementarian.org>
8967 * text.C: fix the last commit
8969 2003-03-09 John Levon <levon@movementarian.org>
8973 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8974 bug 365 (don't break before insets unless needed). Don't
8975 return a value > last under any circumstances.
8977 2003-03-09 Angus Leeming <leeming@lyx.org>
8979 * BufferView_pimpl.C (trackChanges, dispatch): call
8980 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8982 2003-03-09 Angus Leeming <leeming@lyx.org>
8984 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8985 than Dialogs::showAboutlyx().
8987 2003-03-09 Angus Leeming <leeming@lyx.org>
8989 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8990 than Dialogs::showTabularCreate().
8992 2003-03-09 John Levon <levon@movementarian.org>
8996 * text2.C: 3rd arg to nextBreakPoint was always the same.
8999 2003-03-08 John Levon <levon@movementarian.org>
9006 * text2.C: Remove the "main" bit from the "main body"
9009 2003-03-08 John Levon <levon@movementarian.org>
9011 * text.C (leftMargin): The left margin of an empty
9012 manual label paragraph should not include the label width
9015 * text.C (prepareToPrint): don't attempt to measure hfills
9016 for empty manual label paragraphs - the answer should be 0
9018 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9020 * CutAndPaste.C: remove commented code and reindent.
9022 2003-03-08 John Levon <levon@movementarian.org>
9025 * lyxfunc.C: move reloadBuffer()
9028 * BufferView.C: to here
9030 * lyxvc.C: add comment
9033 * vc-backend.C: call bv->reload() to avoid
9034 getStatus() check on MENURELOAD
9036 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9038 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9039 to an old format .dep file.
9041 2003-03-07 Angus Leeming <leeming@lyx.org>
9043 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9044 when the LFUN_MOUSE_RELEASE should have been handled by
9045 inset->localDispatch.
9047 2003-03-07 Angus Leeming <leeming@lyx.org>
9049 * BufferView_pimpl.C (dispatch):
9050 * LyXAction.C (init):
9051 * ToolbarDefaults.C (init):
9053 * lyxfunc.C (getStatus):
9054 remove LFUN_INSET_GRAPHICS.
9056 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9058 2003-03-07 Angus Leeming <leeming@lyx.org>
9061 * LyXAction.C (init):
9062 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9064 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9067 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9069 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9070 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9072 2003-03-07 Angus Leeming <leeming@lyx.org>
9074 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9077 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9079 * ParagraphList.C (front): new function
9082 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9084 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9085 and top_row_offset_. removed var first_y.
9087 * text2.C (LyXText, removeRow):
9089 * BufferView_pimpl.C:
9090 use these methods instead of using first_y
9092 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9094 * text2.C (pasteSelection): adjust for checkPastePossible
9096 * CutAndPaste.C: remove Paragraph * buf and replace with
9097 ParagraphList paragraphs.
9098 (DeleteBuffer): delete
9099 (cutSelection): change the tc type to textclass_type
9100 (copySelection): change the tc type to textclass_type
9101 (copySelection): adjust for ParagraphList
9102 (pasteSelection): change the tc type to textclass_type
9103 (pasteSelection): adjust for Paragraphlist
9104 (nrOfParagraphs): simplify for ParagraphList
9105 (checkPastePossible): simplify for ParagraphList
9106 (checkPastePossible): remove unused arg
9108 * ParagraphList.C (insert): handle the case where there are no
9111 * CutAndPaste.h: make CutAndPaste a namespace.
9113 * text3.C (dispatch): adjust
9115 * text.C (breakParagraph): add a ParagraphList as arg
9117 * paragraph_funcs.C (breakParagraph): change to take a
9118 BufferParams and a ParagraphList as args.
9119 (breakParagraphConservative): ditto
9120 (mergeParagraph): ditto
9121 (TeXDeeper): add a ParagraphList arg
9122 (TeXEnvironment): ditto
9125 * buffer.C (readLyXformat2): adjust
9126 (insertStringAsLines): adjust
9127 (latexParagraphs): adjust
9129 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9130 (cutSelection): adjust
9131 (pasteSelection): adjust
9133 * BufferView_pimpl.C (insertInset): adjust
9135 2003-03-05 Angus Leeming <leeming@lyx.org>
9138 * LyXAction.C (init):
9139 * BufferView_pimpl.C (dispatch):
9140 * lyxfunc.C (getStatus):
9141 remove LFUN_CHILD_INSERT.
9143 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9145 2003-03-05 Angus Leeming <leeming@lyx.org>
9148 * LyXAction.C (init):
9149 * src/factory.C (createInset):
9150 * lyxfunc.C (getStatus):
9151 * text3.C (dispatch):
9152 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9154 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9156 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9158 * ParagraphList.C (insert): handle insert right before end()
9159 (erase): fix cases where it can be first or last paragraph.
9161 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9163 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9164 Paragraph::next and Paragraph::previous
9167 * text.C (breakParagraph): adjust
9169 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9170 BufferParams& as arg.
9171 (breakParagraph): use ParagraphList::insert
9172 (breakParagraphConservative): take a Buffer* instead of a
9173 BufferParams& as arg.
9174 (breakParagraphConservative): use ParagraphList::insert.
9176 * buffer.C (insertStringAsLines): un-const it
9177 (insertStringAsLines): adjust
9179 * ParagraphList.C (insert): new function
9181 * CutAndPaste.C (pasteSelection): adjust
9183 * text.C (backspace): adjust
9185 * tabular.C (SetMultiColumn): adjust
9187 * CutAndPaste.C (cutSelection): adjust
9188 (pasteSelection): adjust
9190 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9191 Buffer const * as arg
9193 * ParagraphList.C (erase): new function
9194 * paragraph_funcs.C (mergeParagraph): use it
9195 (mergeParagraph): make it take a Buffer* instead of a
9196 BufferParams* as arg
9198 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9200 (breakParagraphConservative): ditto
9202 * paragraph.h: remove the breakParagraph friend
9204 * paragraph.C (eraseIntern): new function
9205 (setChange): new function
9207 * paragraph_funcs.C (mergeParagraph): make it take a
9208 ParagraphList::iterator instead of a Paragraph *, adjust
9211 * paragraph.h: move an #endif so that the change tracking stuff
9212 also works in the NO_NEXT case.
9214 2003-03-04 Angus Leeming <leeming@lyx.org>
9217 * LyXAction.C: new LFUN_INSET_MODIFY.
9219 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9220 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9222 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9224 * several files: ws changes only
9226 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9227 (TeXEnvironment): ditto
9230 * buffer.C (makeLaTeXFile): adjust
9231 (latexParagraphs): make it take ParagraphList::iterator as args
9233 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9235 * buffer.C (latexParagraphs): adjust
9237 * paragraph.C (TeXOnePar): move function...
9238 (optArgInset): move function...
9239 (TeXEnvironment): move function...
9240 * paragraph_pimpl.C (TeXDeeper): move function...
9241 * paragraph_funcs.C: ...here
9243 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9245 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9247 * buffer.C (readInset): remove compability code for old Figure and
9250 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9252 * buffer.C: ws changes
9255 * BufferView_pimpl.C: ditto
9258 * bufferlist.h: ditto
9262 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9264 * converter.[Ch]: split into itself +
9267 * Makefile.am: += graph.[Ch] + format.[Ch]
9274 * lyxrc.C: added #include "format.h"
9276 2003-02-27 Angus Leeming <leeming@lyx.org>
9278 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9281 * factory.C (createInset): add "label" to the factory.
9283 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9284 string and do no more.
9286 2003-02-27 Angus Leeming <leeming@lyx.org>
9289 * LyXAction.C (init):
9290 * factory.C (createInset):
9291 * BufferView_pimpl.C (dispatch):
9292 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9294 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9296 * lyxfunc.C (dispatch):
9297 * text3.C (dispatch): pass name to params2string.
9299 2003-02-26 Angus Leeming <leeming@lyx.org>
9301 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9303 Rearrange the ~includes. Strip out the unnecessary ones.
9305 * factory.C (createInset): reformat.
9306 create new insets for the various LFUN_XYZ_APPLY lfuns.
9308 2003-02-26 John Levon <levon@movementarian.org>
9311 * lyxrow.C: add isParStart,isParEnd helpers
9313 * paragraph.h: make isInserted/DeletedText take refs
9315 * paragraph_funcs.h:
9316 * paragraph_funcs.C: remove #if 0'd code
9321 * text.C: use lyxrow helpers above.
9322 Move draw and paint routines to RowPainter.
9323 Make several methods use refs not pointers.
9324 Make backgroundColor() const.
9325 Add markChangeInDraw(), isInInset().
9326 Merge changeRegionCase into changeCase.
9327 Make workWidth() shouldn't-happen code into an Assert.
9330 * rowpainter.C: new class for painting a row.
9333 * vspace.C: make inPixels take a ref
9335 2003-02-26 Angus Leeming <leeming@lyx.org>
9337 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9340 2003-02-25 John Levon <levon@movementarian.org>
9342 * ispell.C: give the forked command a more accurate name
9344 2003-02-22 John Levon <levon@movementarian.org>
9347 * toc.C: make TocItem store an id not a Paragraph *
9350 2003-02-21 Angus Leeming <leeming@lyx.org>
9352 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9353 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9354 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9355 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9356 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9357 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9359 * BufferView_pimpl.C (dispatch):
9360 * LyXAction.C (init):
9361 * factory.C (createInset):
9362 * lyxfunc.C (getStatus, dispatch):
9363 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9365 2003-02-21 Angus Leeming <leeming@lyx.org>
9367 * BufferView_pimpl.C (MenuInsertLyXFile):
9368 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9369 * lyxfunc.C (menuNew, open, doImport):
9370 no longer pass a LyXView & to fileDlg.
9372 2003-02-21 Angus Leeming <leeming@lyx.org>
9374 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9375 * LyXAction.C: change, BIBKEY to BIBITEM.
9376 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9377 Change InsetBibKey to InsetBibitem.
9378 Change BIBKEY_CODE to BIBITEM_CODE.
9379 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9380 * factory.C: replace insetbib.h with insetbibitem.h.
9381 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9382 * paragraph.C: replace insetbib.h with insetbibitem.h.
9383 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9384 Change bibkey() to bibitem().
9385 * text.C: remove insetbib.h.
9386 * text2.C: replace insetbib.h with insetbibitem.h.
9387 change bibkey() to bibitem().
9388 * text3.C: remove insetbib.h.
9389 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9391 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9393 * lyxrc.C (output): enclose user email in quotes (in case there are
9396 2003-02-18 John Levon <levon@movementarian.org>
9398 * buffer.h: add std::
9400 2003-02-17 John Levon <levon@movementarian.org>
9406 * pspell.C: reworking. Especially in ispell, a large
9407 number of clean ups and bug fixes.
9409 * lyxfunc.C: fix revert to behave sensibly
9411 2003-02-17 André Pönitz <poenitz@gmx.net>
9414 * commandtags.h: new LFUN_INSERT_BIBKEY
9424 * paragraph_func.C: remove special bibkey handling
9426 2003-02-17 John Levon <levon@movementarian.org>
9428 * text.C (Delete): fix case where delete at the end of
9429 the very first paragraph would not merge the pars
9431 2003-02-17 John Levon <levon@movementarian.org>
9433 * lyxrow.C: fix lastPrintablePos()
9435 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9437 * bufferparams.C (writeLaTeX): add a std:here
9439 * buffer.C: and remove a using directive there
9441 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9443 * buffer.C (makeLaTeXFile): move the code that generates the
9446 * bufferparams.C (writeLaTeX): ... in this new method
9448 * LaTeXFeatures.C (getEncodingSet): make const
9449 (getLanguages): make const
9451 * MenuBackend.C (binding): returns the binding associated to this
9453 (add): sets the status of each item by calling getStatus. Adds
9455 (read): add support for OptSubMenu
9456 (expand): remove extra separator at the end of expanded menu
9458 2003-02-15 John Levon <levon@movementarian.org>
9461 * BufferView_pimpl.C:
9463 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9464 inset code that had no actual effect. Remove unneeded status
9467 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9469 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9472 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9474 * text.C (drawLengthMarker): also draw an arrow marker for
9475 symbolic lengths (medskip...)
9477 2003-02-14 John Levon <levon@movementarian.org>
9480 * tabular.C: better method names
9482 2003-02-14 John Levon <levon@movementarian.org>
9484 * BufferView_pimpl.C:
9489 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9490 it's a more accurate name. Remove some pointless uses.
9492 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9494 * text2.C (LyXText): change order of initilizers to shut off
9497 2003-02-14 John Levon <levon@movementarian.org>
9499 * buffer.C: use ParIterator for getParFromID()
9503 * paragraph_pimpl.h:
9504 * paragraph_pimpl.C: remove unused getParFromID()
9506 2003-02-14 John Levon <levon@movementarian.org>
9508 * buffer.C: remove some very old #if 0'd parse code
9510 2003-02-13 John Levon <levon@movementarian.org>
9514 * text2.C: move hfillExpansion(), numberOfSeparators(),
9515 rowLast(), rowLastPrintable(), numberofHfills(),
9516 numberOfLabelHfills() ...
9519 * lyxrow.C: ... to member functions here.
9524 * text.C: remove LyXText::beginningOfMainBody(), and call
9525 p->beginningOfMainBody() directly. Move the check for
9526 LABEL_MANUAL into the latter.
9533 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9539 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9540 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9542 2003-02-13 John Levon <levon@movementarian.org>
9544 * CutAndPaste.C: remove debug
9546 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9548 * paragraph.C (asString): remove two unused variables
9550 * lyxtextclass.C (readTitleType):
9552 (LyXTextClass): handle new members titletype_ and titlename_
9554 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9556 2003-02-09 John Levon <levon@movementarian.org>
9559 * buffer.C: replace hand-coded list with a map for the dep clean
9561 2003-02-08 John Levon <levon@movementarian.org>
9563 * LaTeX.C: consolidate code into showRunMessage() helper
9565 2003-02-08 John Levon <levon@movementarian.org>
9570 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9571 and pass the size in explicitly
9573 * BufferView_pimpl.h:
9574 * BufferView_pimpl.C:
9576 * BufferView.C: add getCurrentChange()
9578 * BufferView_pimpl.h:
9579 * BufferView_pimpl.C: handle change lfuns
9581 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9582 for changes. Mark pasted paragraphs as new.
9584 * support/lyxtime.h:
9585 * support/lyxtime.C:
9586 * DepTable.C: abstract time_t as lyx::time_type
9589 * LColor.C: add colours for new text, deleted text, changebars
9591 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9592 package use "usenames" option.
9596 * LyXAction.C: add change lfuns
9600 * author.C: author handling
9603 * buffer.C: add a per-buffer author list, with first entry as
9604 current author. Handle new .lyx tokens for change tracking. Output
9605 author list to .lyx file. Output dvipost stuff to .tex preamble.
9606 Bump lyx format to 222.
9609 * bufferlist.C: add setCurrentAuthor() to reset current author details
9613 * bufferparams.C: add param for tracking
9615 * bufferview_funcs.C: output change info in minibuffer
9619 * changes.C: add change-tracking structure
9622 * debug.C: add CHANGES debug flag
9625 * lyxfind.C: add code for finding the next change piece
9628 * lyxrc.C: add user_name and user_email
9631 * lyxrow.C: add a metric for the top of the text line
9634 * text.C: implement accept/rejectChange()
9637 * text.C: paint changebars. Paint new/deleted text in the chosen
9638 colours. Strike through deleted text.
9642 * paragraph_pimpl.h:
9643 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9644 in the current change to the insert functions. Rework erase to
9645 mark text as deleted, adding an eraseIntern() and a range-based
9646 erase(). Implement per-paragraph change lookup and
9649 * paragraph_funcs.C: Fixup paste for change tracking.
9651 * tabular.C: mark added row/columns as new.
9653 * text.C: fix rowLast() to never return -1. Don't allow
9654 spellchecking of deleted text. Track transpose changes. Don't
9655 allow paragraph break or merge where appropriate.
9657 * text2.C: leave cursor at end of selection after a cut.
9659 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9661 * text.C (getLengthMarkerHeight):
9662 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9663 visible on screen too.
9665 2003-02-07 John Levon <levon@movementarian.org>
9667 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9669 2003-02-05 Angus Leeming <leeming@lyx.org>
9671 * lyxserver.C (read_ready): revert my patch of 11 September last year
9672 as it sends PC cpu through the roof. Presumably this means that
9673 the lyxserver will no longer run on an Alpha...
9675 2003-01-30 Angus Leeming <leeming@lyx.org>
9677 * factory.C (createInset): create an InsetCommandParam of type "index"
9678 and use it to 'do the right thing'.
9680 * text2.C (getStringToIndex): ensure that cursor position is always
9681 reset to the reset_cursor position.
9683 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9685 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9688 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9692 * lyxfunc.C: Output messages with identical spelling, punctuation,
9695 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9697 * MenuBackend.C (expandFormats): List only viewable export formats
9700 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9703 * lyxfunc.C (getStatus): Make sure that formats other than
9704 "fax" can also be disabled
9706 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9708 * text3.C (dispatch): put the lfuns that insert insets in 3
9709 groups, and call doInsertInset with appropriate arguments.
9710 (doInsertInset): new function, that creates an inset and inserts
9711 it according to some boolean parameters.
9713 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9715 * buffer.C (readFile): remember to pass on 'par' when calling
9716 readFile recursively.
9718 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9720 * MenuBackend.C (expandFormats): add "..." to import formats.
9722 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9724 * paragraph.C (asString): Remove XForms RTL hacks.
9726 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9727 * buffer.C: fix typo
9729 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9731 * Makefile.am (LIBS): delete var
9732 (lyx_LDADD): add @LIBS@ here instead.
9734 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9736 * Clarify the meaning of "wheel mouse jump"
9738 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9740 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9743 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9745 * importer.C (Loaders): do not preallocate 3 elements in the
9746 vector, since one ends up with 6 elements otherwise
9748 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9750 * DepTable.C (write): write the file name as last element of the
9751 .dep file (because it may contain spaces)
9752 (read): read info in the right order
9754 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9756 * paragraph_pimpl.C (simpleTeXBlanks):
9757 (simpleTeXSpecialChars):
9758 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9760 * tabular.C (latex): add some missing case statements. Reindent.
9762 * MenuBackend.C (expandToc): remove unused variable.
9764 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9773 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9776 2003-01-05 John Levon <levon@movementarian.org>
9779 * BufferView.C: add getEncoding()
9782 * kbsequence.C: do not store last keypress
9785 * lyxfunc.C: store last keypress here instead. Pass encoding
9788 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9790 * lyx_main.C (init): remove annoying error message when following
9791 symbolic links (bug #780)
9793 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9795 * text.C (insertChar):
9796 * lyxrc.C (getDescription): remove extra spaces
9798 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9800 * lyxrc.C (getDescription): remove extra spaces
9802 2002-12-20 John Levon <levon@movementarian.org>
9804 * text3.C: hack fix for page up/down across tall rows
9806 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9808 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9811 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9813 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9814 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9815 thesaurus is not compiled in
9817 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9819 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9821 2002-12-16 Angus Leeming <leeming@lyx.org>
9824 * lyx_main.C (init): remove override_x_deadkeys stuff.
9826 2002-12-12 John Levon <levon@movementarian.org>
9828 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9829 insert. Only remove shift modifier under strict
9832 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9834 * MenuBackend.C (expandToc): fix crash.
9836 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9838 * MenuBackend.C (expandToc): gettext on float names.
9840 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9842 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9843 implement bool empty() [bug 490]
9845 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9847 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9849 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9851 * several files: ws changes
9853 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9855 * text2.C (setCounter): clean up a bit, use boost.format.
9856 (updateCounters): initialize par upon declaration.
9858 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9859 if the layout exists. We do not just store the layout any more.
9860 (SwitchLayoutsBetweenClasses): use boost.format
9862 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9864 * converter.C (convert): if from and to files are the same, use a
9865 temporary files as intermediary
9867 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9870 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9872 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9874 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9876 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9878 * tabular.C (asciiPrintCell): use string(size, char) instead of
9881 * sgml.C (openTag): fix order of arguments to string constructor
9884 * lyxfunc.C (dispatch): use boost.format
9886 * lots of files: change "c" -> 'c'
9888 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9890 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9892 2002-11-25 Angus Leeming <leeming@lyx.org>
9894 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9896 * lyx_main.C (init): compile fix.
9898 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9900 * lyx_cb.C (start): boost.formatify
9901 do not include <iostream>
9903 * lengthcommon.C: ws only
9905 * boost-inst.C,BoostFormat.h: add more explict instantations
9907 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9909 * lots of files: handle USE_BOOST_FORMAT
9911 2002-11-21 John Levon <levon@movementarian.org>
9913 * pspell.C: fix compile
9915 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9917 * lyxfunc.C (dispatch): use boost::format
9921 * lyxfont.C (stateText): use boost::format
9923 * lyx_main.C (LyX): use boost::format
9925 (queryUserLyXDir): ditto
9928 (typedef boost::function): use the recommened syntax.
9930 * importer.C (Import): use boost::format
9932 * debug.C (showLevel): use boost::format
9934 * converter.C (view): use boost::format
9939 * bufferview_funcs.C (currentState): use boost::format
9941 * bufferlist.C (emergencyWrite): use boost::format
9943 * buffer.C (readLyXformat2): use boost::format
9944 (parseSingleLyXformat2Token): ditto
9946 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9948 * LaTeX.C (run): use boost::format
9950 * Chktex.C (scanLogFile): use boost::format
9952 * BufferView_pimpl.C (savePosition): use boost::format
9953 (restorePosition): ditto
9954 (MenuInsertLyXFile): ditto
9956 * BoostFormat.h: help file for explicit instation.
9958 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9960 * tabular.C (latex): Support for block alignment in fixed width
9963 2002-11-17 John Levon <levon@movementarian.org>
9965 * BufferView_pimpl.C:
9967 * lyxfunc.C: split filedialog into open/save
9969 2002-11-08 Juergen Vigna <jug@sad.it>
9971 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9972 by my last patch (hopefully).
9974 2002-11-08 John Levon <levon@movementarian.org>
9983 * toc.C: ParConstIterator, and use it (from Lars)
9985 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9987 * lyxtextclass.[Ch]: revise and add doxygen comments
9989 2002-11-07 John Levon <levon@movementarian.org>
9991 * text.C: fix progress value for spellchecker
9993 * toc.C: fix navigate menu for insetwrap inside minipage
9995 * paragraph_funcs.C: added FIXME for suspect code
9997 2002-11-07 John Levon <levon@movementarian.org>
9999 * BufferView_pimpl.C: fix redrawing of insets
10002 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10004 * text2.C (updateCounters): fix bug 668
10006 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10008 * text3.C (dispatch): Do not make the buffer dirty when moving the
10011 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10013 * vc-backend.C: STRCONV
10014 (scanMaster): ditto
10016 * text2.C (setCounter): STRCONV
10018 * paragraph.C (asString): STRCONV
10020 * lyxlength.C (asString): STRCONV
10021 (asLatexString): ditto
10023 * lyxgluelength.C (asString): STRCONV
10024 (asLatexString): ditto
10026 * lyxfunc.C (dispatch): STRCONV
10029 * lyxfont.C (stateText): STRCONV
10031 * importer.C (Import): STRCONV
10033 * counters.C (labelItem): STRCONV
10034 (numberLabel): ditto
10035 (numberLabel): remove unused ostringstream o
10040 * bufferview_funcs.C (currentState): STRCONV
10042 * buffer.C (readFile): STRCONV
10043 (asciiParagraph): ditto
10044 (makeLaTeXFile): ditto
10046 * Spacing.C (writeEnvirBegin): STRCONV
10048 * LaTeXFeatures.C (getLanguages): STRCONV
10049 (getPackages): ditto
10051 (getBabelOptions): ditto
10052 (getTClassPreamble): ditto
10053 (getLyXSGMLEntities): ditto
10054 (getIncludedFiles): ditto
10058 (scanAuxFile): ditto
10061 * LString.h: add the STRCONV macros
10063 * BufferView_pimpl.C (savePosition): STRCONV
10064 (restorePosition): ditto
10065 (MenuInsertLyXFile): ditto
10067 * vc-backend.C (scanMaster): change from submatch[...] to
10070 * funcrequest.C: include config.h
10072 * factory.C: include config.h
10074 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10076 * box.C: include config.h
10078 * LaTeX.C (scanAuxFile): change from submatch[...] to
10082 2002-10-25 Angus Leeming <leeming@lyx.org>
10084 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10086 * ispell.[Ch] (setError): new method.
10087 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10088 Use setError() insetead of goto END.
10090 * lyx_cb.C (AutoSave): move out child process into new class
10093 2002-10-30 John Levon <levon@movementarian.org>
10095 * text3.C: make start appendix undoable
10097 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10099 * lyxlength.C (inPixels): Fix returned value.
10101 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10104 2002-10-24 Angus Leeming <leeming@lyx.org>
10106 * lyxgluelength.h: no need to forward declare BufferParams
10107 or BufferView, so don't.
10109 2002-10-21 John Levon <levon@movementarian.org>
10111 * BufferView.C: menuUndo ->undo, redo
10113 * BufferView.h: document, remove dead, make some methods private
10115 * paragraph_funcs.h:
10116 * paragraph_funcs.C:
10117 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10122 * sgml.C: move sgml open/close tag into sgml.C
10124 * bufferview_funcs.h: unused prototype
10127 * lyxfunc.C: remove unused
10130 * text.C: remove unused
10132 2002-10-21 John Levon <levon@movementarian.org>
10136 * BufferView_pimpl.h:
10137 * BufferView_pimpl.C: fix mouse wheel handling based on
10138 patch from Darren Freeman
10140 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10142 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10144 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10146 * lyxlength.C (inPixels): Fix hanfling of negative length.
10147 Fix LyXLength::MU case.
10149 2002-10-16 John Levon <levon@movementarian.org>
10151 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10153 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10155 * converter.C (view): add support for $$i (file name) and $$p
10156 (file path) for the viewer command. If $$i is not specified, then
10157 it is appended to the command (for compatibility with old syntax)
10159 2002-10-14 Juergen Vigna <jug@sad.it>
10161 * undo_funcs.C (textHandleUndo): alter the order in which the
10162 new undopar is added to the LyXText, as we have to set first
10163 the right prev/next and then add it as otherwise the rebuild of
10164 LyXText is not correct. Also reset the cursor to the right paragraph,
10165 with this IMO we could remove the hack in "redoParagraphs()".
10167 2002-10-09 Angus Leeming <leeming@lyx.org>
10169 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10170 to turn off an optimisation if a new inset is to be inserted.
10172 2002-10-11 André Pönitz <poenitz@gmx.net>
10174 * lyxtext.h: make some functions public to allow access
10175 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10177 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10179 * text3.C (dispatch): when changing layout, avoid an infinite loop
10182 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10184 * lyxrc.C (read): treat a viewer or converter command of "none" as
10187 * MenuBackend.C (expandFormats): for an update, also allow the
10188 formats that are not viewable
10190 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10191 script if it is newer than the lyxrc.defaults in user directory
10193 2002-10-07 André Pönitz <poenitz@gmx.net>
10195 * text.C: Vitaly Lipatov's small i18n fix
10197 2002-09-25 Angus Leeming <leeming@lyx.org>
10199 * ispell.h: doxygen fix.
10201 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10203 * buffer.h (readFile): Add a new argument to the method, to allow
10204 reading of old-format templates.
10206 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10208 * toc.C (getTocList): Get TOC from InsetWrap.
10210 2002-09-16 John Levon <levon@movementarian.org>
10212 * lyxfunc.C: check tabular for cut/copy too
10214 2002-09-12 John Levon <levon@movementarian.org>
10216 * LyXAction.C: tidy
10219 * factory.C: add header
10221 * paragraph_funcs.h:
10222 * paragraph_funcs.C: cleanup
10224 2002-09-11 John Levon <levon@movementarian.org>
10226 * PrinterParams.h: odd/even default to true
10228 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10230 * PrinterParams.h: update printer parameters for new xforms dialog
10232 2002-09-11 Angus Leeming <leeming@lyx.org>
10234 * lyxserver.C (read_ready): re-write to make it more transparent
10235 and to make it work in coherent fashion under Tru64 Unix.
10237 2002-09-11 André Pönitz <poenitz@gmx.net>
10241 * text3.C: implement LFUN_WORDSEL
10243 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10245 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10246 make floatlist_ a boost::shared_ptr<FloatList>
10248 * lyxtextclass.C: include FloatList.h
10249 (LyXTextClass): initialize floatlist_
10250 (TextClassTags): add TC_NOFLOAT
10251 (Read): match "nofloat" to TC_NOFLOAT and use it.
10252 (readFloat): modify call to floatlist_
10256 * FloatList.[Ch] (FloatList): remove commented out float
10258 (erase): new function
10260 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10262 * MenuBackend.C (expandToc): fix crash when there is no document
10265 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10267 * many files: Add insetwrap.
10269 2002-09-09 John Levon <levon@movementarian.org>
10271 * text2.C: remove confusing and awkward depth wraparound
10273 2002-09-09 John Levon <levon@movementarian.org>
10275 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10278 * buffer.C: remove getIncludeonlyList()
10281 * lyxfunc.C: remove headers
10283 2002-09-09 Juergen Vigna <jug@sad.it>
10285 * text.C (getColumnNearX): fix form Michael this is most
10286 probably a cut&paste bug.
10288 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10290 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10292 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10293 references, ws changes.
10295 * text2.C (init): update counters after init
10296 (insertParagraph): no need to set counter on idividual paragraphs.
10297 (setCounter): access the counters object in the textclass object
10298 on in the buffer object.
10299 (updateCounters): ditto
10301 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10302 shared_ptr<Counters> to avoid loading counters.h in all
10304 (LyXTextClass): initialize ctrs_
10305 (TextClassTags): add TC_COUNTER, and ...
10306 (Read): use it here.
10307 (CounterTags): new tags
10308 (readCounter): new function
10309 (counters): new funtion
10310 (defaultLayoutName): return a const reference
10312 * counters.C (Counters): remove contructor
10313 (newCounter): remove a couple of unneeded statements.
10314 (newCounter): simplify a bit.
10315 (numberLabel): some small formatting changes.
10317 * buffer.[Ch]: remove all traces of counters, move the Counters
10318 object to the LyXTextClass.
10320 2002-09-06 Alain Castera <castera@in2p3.fr>
10322 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10323 package to set the horizontal alignment on fixed width columns.
10326 * lyx_sty.h: added tabularnewline macro def.
10328 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10330 2002-09-06 John Levon <levon@movementarian.org>
10332 * LyXAction.C: tooltips for sub/superscript
10334 * MenuBackend.C: a bit more verbose
10336 * lyxfunc.C: tiny clean
10338 * undo_funcs.C: document undo_frozen
10340 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10342 * counters.C (Counters): add missing algorithm counter.
10344 * text2.C (setCounter): lookup the counter with layouts latexname
10345 instead of by section number.
10346 (setCounter): use a hackish way to lookup the correct enum
10348 a float name->type change
10349 reset enum couners with counter name directly instead of depth value.
10351 * counters.C (Counters): remove the push_backs, change to use the
10352 float type not the float name.
10353 (labelItem): remove unused string, float name->type change
10355 * counters.h: don't include vector, loose the enums and sects vectors
10357 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10359 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10360 (Read): add float->TC_FLOAT to textclassTags
10361 (Read): and handle it in the switch
10362 (readFloat): new function
10364 * FloatList.C (FloatList): comment out the hardcoded float
10367 * lyxlayout.h: ws change.
10369 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10371 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10373 2002-09-03 Angus Leeming <leeming@lyx.org>
10375 * BufferView_pimpl.h: qualified name is not allowed in member
10376 declaration: WorkArea & Pimpl::workarea() const;
10378 * factory.C: added using std::endl directive.
10380 * text3.C: added using std::find and std::vector directives.
10382 2002-08-29 André Pönitz <poenitz@gmx.net>
10385 * text2.C: remove unused member number_of_rows
10388 * BufferView2.C: remove file, move contents to...
10389 * BufferView.C: ... here
10391 * BufferView_pimpl.C:
10392 * factory.C: move more inset creation to factory
10394 * vspace.C: avoid direct usage of LyXText, ws changes
10397 don't provide direct access to WorkArea, use two simple
10398 acessors haveSelction() and workHeight() instead
10401 2002-08-29 John Levon <levon@movementarian.org>
10403 * BufferView_pimpl.C (dispatch): do not continue when
10406 2002-08-28 André Pönitz <poenitz@gmx.net>
10408 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10411 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10413 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10415 * buffer.C: increment LYX_FORMAT to 221
10417 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10418 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10420 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10422 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10424 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10426 * factory.C (createInset): use LyXTextClass::floats
10428 * MenuBackend.C (expandFloatListInsert):
10429 (expandFloatInsert):
10432 * text2.C (setCounter):
10434 * LaTeXFeatures.C (useFloat):
10435 (getFloatDefinitions):
10437 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10439 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10440 floatlist_, with accessor floats().
10442 * FloatList.h: remove global FloatList
10444 2002-08-26 André Pönitz <poenitz@gmx.net>
10446 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10450 * BufferView_pimpl.C:
10451 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10453 2002-08-25 John Levon <levon@movementarian.org>
10455 * LyXAction.C: fix margin note description
10457 2002-08-24 John Levon <levon@movementarian.org>
10461 * bufferview_funcs.C:
10463 * undo_funcs.C: cleanups
10465 * lyxfunc.C: disable CUT/COPY when no selection
10467 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10469 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10470 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10472 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10473 Add backward compatibility to "mono", "gray" and "no".
10475 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10477 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10478 (and file_format >= 200).
10480 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10482 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10484 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10486 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10488 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10490 * BufferView_pimpl.C:
10497 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10498 inset and code to make it work with the paragraph code. The inset
10499 can be anywhere in the paragraph, but will only do the expected
10500 thing in LaTeX if the layout file contains the parameter line
10502 (or more generally, a nonzero value) for that layout.
10504 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10506 * paragraph.h: remove the declaration of undefined counters class
10509 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10511 * text2.C (setCounter): fixed enumeration mis-count as reported by
10512 Dr. Richard Hawkins.
10514 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10516 * paragraph_funcs.h: remove some unneeded includes
10518 * text.C (backspace): pasteParagraph now in global scipe
10520 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10521 (pasteSelection): ditto
10523 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10524 * paragraph_funcs.C (pasteParagraph): ... here
10526 2002-08-20 André Pönitz <poenitz@gmx.net>
10528 * commandtags.h: new LFUNs for swapping/copying table row/colums
10531 * lyxfunc.C: support for new lfuns
10533 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10536 * buffer.[Ch]: remove NO_COMPABILITY stuff
10538 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10540 * boost.C (throw_exception): new file, with helper function for
10541 boost compiled without exceptions.
10546 * ParameterStruct.h:
10547 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10549 * bufferlist.C (emergencyWriteAll): use boost bind
10551 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10553 * text.C: include paragraph_funcs.h
10554 (breakParagraph): breakParagraph is now in global scope
10556 * paragraph_funcs.[Ch]: new files
10558 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10561 * buffer.C: include paragraph_funcs.h
10562 (insertStringAsLines): breakParagraph is now in global scope
10564 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10567 * CutAndPaste.C: include paragraph_funcs.h
10568 (cutSelection): breakParagraphConservative is now in global scope
10569 (pasteSelection): ditto
10571 * buffer.h: declare oprator== and operator!= for
10572 Buffer::inset_iterator
10574 * bufferlist.C (emergencyWrite): don't use fmt(...)
10576 * text3.C: add using std::endl
10578 * BufferView.C (moveCursorUpdate): remove default arg
10580 2002-08-20 André Pönitz <poenitz@gmx.net>
10582 * buffer.[Ch]: move inline functions to .C
10585 * BufferView_pimpl.C:
10587 * buffer.[Ch]: use improved inset_iterator
10590 * paragraph.[Ch]: write one paragraph at a time
10592 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10594 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10595 style if style is not specified.
10597 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10599 * text2.C (setCounter): when searching for right label for a
10600 caption, make sure to recurse to parent insets (so that a caption
10601 in a minipage in a figure float works) (bug #568)
10603 2002-08-20 André Pönitz <poenitz@gmx.net>
10605 * text3.C: new file for LyXText::dispatch() and helpers
10607 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10609 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10611 2002-08-19 André Pönitz <poenitz@gmx.net>
10614 * text.C: new LyXText::dispatch()
10616 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10618 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10620 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10622 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10625 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * Makefile.am: use $(variables) instead of @substitutions@
10629 2002-08-15 André Pönitz <poenitz@gmx.net>
10632 * BufferView_pimpl.C: streamlining mathed <-> outer world
10636 * LyXAction.C: remove unused LFUN_MATH
10638 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10640 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10642 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10644 * paragraph.C (Paragraph): reformat a bit
10645 (cutIntoMinibuffer): use builtin InsetList function instad of
10649 * buffer.C: include boost/bind.hpp, add using std::for_each
10650 (writeFileAscii): use ParagraphList iterators
10651 (validate): use for_each for validate traversal of paragraphs
10652 (getBibkeyList): use ParagraphList iterators
10653 (resizeInsets): use for_each to resizeInsetsLyXText for all
10655 (getParFromID): use ParagraphList iterators
10657 * BufferView2.C (lockInset): use paragraph list and iterators
10659 2002-08-14 John Levon <levon@movementarian.org>
10661 * lyxserver.C: remove spurious xforms include
10663 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10665 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10667 2002-08-13 André Pönitz <poenitz@gmx.net>
10670 * lyxfunc.C: further cleaning
10672 2002-08-13 André Pönitz <poenitz@gmx.net>
10674 * funcrequest.h: new constructor
10676 * funcrequest.C: move stuff here from .h
10679 * BufferView_pimpl.C:
10682 * lyxfunc.C: subsequent changes
10684 * lyxfunc.h: new view() member function
10686 * lyxfunc.C: subsequent changes
10688 2002-08-13 Angus Leeming <leeming@lyx.org>
10691 * BufferView_pimpl.C:
10699 changes due to the changed LyXView interface that now returns references
10700 to member variables not pointers.
10702 2002-08-13 Angus Leeming <leeming@lyx.org>
10704 * WordLangTuple (word, lang_code): return references to strings,
10709 * lyxtext.h: forward-declare WordLangTuple.
10714 * text.C: #include "WordLangTuple.h".
10717 * text.C: (selectNextWordToSpellcheck): constify return type.
10719 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10725 * paragraph_pimpl.h:
10728 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10729 suggested by Angus.
10730 Made updateCounter always count from start of buffer, and removed
10731 second argument (par).
10732 Reverted floats number display to '#'. Perhaps I'll try again when the
10733 code base is sanitized a bit.
10735 2002-08-12 Angus Leeming <leeming@lyx.org>
10737 * buffer.[Ch] (getLabelList): constify.
10739 2002-08-07 André Pönitz <poenitz@gmx.net>
10741 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10743 * funcrequest.h: extension to keep mouse (x,y) position
10745 2002-08-12 Juergen Vigna <jug@sad.it>
10747 * BufferView2.C (insertErrors): forbid undo when inserting error
10750 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10752 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10754 * ParagraphList.[Ch]: new files
10756 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10758 * BufferView2.C (lockInset): ParagraphList changes
10761 * bufferlist.C: ditto
10765 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10767 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10768 unused class variable counter_,
10770 * paragraph.[Ch] (getFirstCounter): delete unused function
10772 * counters.C: include LAssert.h
10773 (reset): add a new function with no arg, change other version to
10774 not have def. arg and to not allow empty arg.
10776 * text2.C (setCounter): remove empty arg from call to Counters::reset
10778 2002-08-11 John Levon <levon@movementarian.org>
10780 * Makefile.am: add WordLangTuple.h
10782 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10784 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10785 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10787 * insets/insettext.C: InsetList changes
10789 * graphics/GraphicsSupport.C (operator()): InsetList changes
10791 * toc.C (getTocList): InsetList changes
10793 * paragraph_pimpl.[Ch]: InsetList changes
10795 * paragraph.[Ch]: InsetList changes
10797 * buffer.C (inset_iterator): InsetList changes
10798 (setParagraph): ditto
10799 * buffer.h (inset_iterator): ditto
10800 * iterators.C (operator++): ditto
10801 * iterators.h: ditto
10803 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10805 * InsetList.[Ch]: new files, most InsetList handling moved out of
10808 * BufferView2.C (removeAutoInsets): InsetList changes
10810 (ChangeInsets): ditto
10812 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10814 * paragraph_pimpl.h (empty): new function
10816 * paragraph.[Ch] (empty): new function
10818 * other files: use the new Paragraph::empty function
10820 2002-08-09 John Levon <levon@movementarian.org>
10822 * lyxtext.h: remove unused refresh_height
10824 2002-08-09 John Levon <levon@movementarian.org>
10831 * paragraph.C: move sgml char escaping out of paragraph
10834 * paragraph.C: remove id setter
10838 * paragraph_pimpl.C: remove dead tex_code_break_column
10840 * bufferview_funcs.C: small cleanup
10842 * lyxfunc.C: remove dead proto
10844 * lyxtext.h: make some stuff private. Remove some dead stuff.
10846 * lyxgluelength.C: make as[LyX]String() readable
10848 2002-08-08 John Levon <levon@movementarian.org>
10853 * ToolbarDefaults.C:
10856 * toc.C: lyxaction cleanup
10858 2002-08-08 John Levon <levon@movementarian.org>
10860 * BufferView2.C: small cleanup
10863 * lyxfind.C: move unnecessary header into the .C
10865 2002-08-08 John Levon <levon@movementarian.org>
10867 * funcrequest.h: just tedious nonsense
10870 * lyx_main.C: cleanups
10873 * vspace.C: remove dead header lyx_main.h
10875 2002-08-07 Angus Leeming <leeming@lyx.org>
10878 * paragraph_pimpl.h:
10879 Forward declare class Counters in paragraph.h by moving the ctrs member
10880 variable into Paragraph::Pimpl.
10881 (counters): new method, returning a reference to pimpl_->ctrs.
10883 * text2.C: ensuing changes.
10885 2002-08-07 John Levon <levon@movementarian.org>
10887 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10889 * BufferView_pimpl.C: announce X selection on double/triple
10892 * lyx_main.C: use correct bool in batch dispatch
10894 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10896 2002-08-07 André Pönitz <poenitz@gmx.net>
10898 * funcrequest.h: new class to wrap a kb_action and its argument
10901 * BufferView_pimpl[Ch]:
10905 * lyxrc.C: subsequent changes
10908 2002-08-07 John Levon <levon@movementarian.org>
10910 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10911 document options change.
10913 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10918 * makefile.am: move counters functionality over from
10919 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10921 2002-08-06 John Levon <levon@movementarian.org>
10923 * WordLangTuple.h: new file for word + language code tuple
10934 * BufferView2.C: use WordLangTuple
10937 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10939 2002-08-06 John Levon <levon@movementarian.org>
10941 * lyx_main.C: fix cmdline batch handling
10943 2002-08-06 André Pönitz <poenitz@gmx.net>
10945 * lyxrc.C: set default for show_banner to true
10947 2002-08-06 John Levon <levon@movementarian.org>
10949 * pspell.C: fix a crash, and allow new aspell to work
10951 2002-08-06 John Levon <levon@movementarian.org>
10954 * kbmap.C: small cleanup
10957 * vspace.C: add const
10959 2002-08-05 John Levon <levon@movementarian.org>
10961 * LyXAction.C: back to tabular-insert
10963 2002-08-04 John Levon <levon@movementarian.org>
10966 * BufferView.C: cosmetic change
10968 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10978 * BufferView2.C: purge all "Lyx" not "LyX" strings
10981 * lyxcursor.C: attempt to add some documentation
10986 * ToolbarDefaults.C:
10987 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10988 merge with LFUN_TABULAR_INSERT
10995 * pspell.C: split up i/pspell implementations into separate
10996 files, many cleanups
10998 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11000 * text2.C: some cleanup
11002 * lyxfunc.C: don't check for isp_command == "none" any more, it
11003 didn't make any sense
11005 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11010 * makefile.am: move counters functionality over
11011 from text2.C/paragraph.[Ch] to counters.[Ch], and
11013 2002-08-02 John Levon <levon@movementarian.org>
11015 * buffer.C: s/lyxconvert/lyx2lyx/
11017 2002-08-02 Angus Leeming <leeming@lyx.org>
11019 * lyxlex.C: revert John's change as it breaks reading of the user
11022 2002-08-02 Angus Leeming <leeming@lyx.org>
11024 * importer.C (Import):
11025 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11026 changes due to LyXView::view() now returning a boost::shared_ptr.
11028 2002-08-02 John Levon <levon@movementarian.org>
11030 * lyxlex.C: small cleanup
11032 2002-08-02 John Levon <levon@movementarian.org>
11034 * text2.C (status): small cleanup, no logic change
11036 2002-08-01 John Levon <levon@movementarian.org>
11039 * buffer.C (writeFile): don't output alerts, caller
11043 * lyx_cb.C: from above
11045 * lyxfunc.C: allow to open non-existent files
11047 2002-07-31 John Levon <levon@movementarian.org>
11049 * lyxserver.C: don't let incidental errors get
11052 2002-07-30 John Levon <levon@movementarian.org>
11054 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11056 2002-07-30 John Levon <levon@movementarian.org>
11059 * lyxserver.C: remove I/O callback too
11061 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11063 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11066 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11068 * many files: strip,frontStrip -> trim,ltrim,rtrim
11070 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11072 * PrinterParams.h: remove extern containsOnly, and include
11073 support/lstrings.h instead.
11075 * LaTeX.C (scanAuxFile): modify because of strip changes
11077 * buffer.C (makeLaTeXFile): ditto
11078 * bufferparams.C (writeFile): ditt
11079 * lyxfont.C (stateText): ditto
11080 * lyxserver.C (read_ready): ditto
11081 * vc-backend.C (scanMaster): ditto
11083 * BufferView_pimpl.h: ws changes
11085 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11087 2002-07-26 André Pönitz <poenitz@gmx.net>
11089 * kb_sequence.C: remove unnedred usings
11091 2002-07-26 Juergen Vigna <jug@sad.it>
11093 * lyxfind.C (LyXReplace): we have to check better if the returned
11094 text is not of theLockingInset()->getLockingInset().
11096 2002-07-25 Juergen Vigna <jug@sad.it>
11098 * lyxfind.C (LyXReplace): don't replace if we don't get the
11101 * undo_funcs.C (createUndo): remove debugging code.
11103 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11105 * buffer.C (parseSingleLyXformat2Token): Use default placement
11106 when reading old floats.
11108 * FloatList.C (FloatList): Change the default placement of figure
11109 and tables to "tbp".
11111 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11113 * MenuBackend.C: using std::max
11115 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11117 * MenuBackend.C (expandToc):
11118 (expandToc2): code moved from xforms menu frontend. It is now
11119 generic and TOCs are transparent to menu frontends.
11121 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11123 * toc.C (getTocList): protect against buf=0
11125 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11126 Menu as first parameter. Now, this calls itself recursively to
11127 expand a whole tree (this will be useful for TOC handling)
11128 (expandFloatInsert): remove 'wide' version of floats
11130 * MenuBackend.h (submenuname): returns the name of the submenu.
11131 (submenu): returns the submenu itself, provided it has been
11132 created by MenuBackend::expand
11134 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11136 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11137 insets which have noFontChange == true. (bug #172)
11139 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11141 * BufferView_pimpl.C: add connection objects and use them...
11144 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11146 * MenuBackend.C (expandLastfiles):
11149 (expandFloatListInsert):
11150 (expandFloatInsert):
11151 (expand): split expand in parts
11153 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11155 * lyx_gui.C: use lyx_gui::exit()
11157 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11159 * LyXAction.C: show the failing pseudo action
11161 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11163 * buffer.C (readFile): Run the lyxconvert script in order to read
11166 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11170 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11172 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11176 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11178 2002-07-22 Herbert Voss <voss@lyx.org>
11181 * lyxlength.[Ch]: add support for the vertical lengths
11183 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11185 * toc.[Ch]: std:: fixes
11187 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11189 * lyxrc.C: do not include lyx_main.h
11191 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11197 * BufferView2.C: include "lyxlex.h"
11200 * bufferparams.h: do not #include "lyxlex.h"
11202 * lyxtextclasslist.C (Add): remove method
11203 (classlist): renamed to classlist_
11205 * paragraph_pimpl.C:
11209 * bufferview_funcs.C:
11214 * toc.C (getTocList): use BufferParams::getLyXTextClass
11216 * toc.C (getTocList): use InsetFloat::addToToc
11218 * toc.[Ch]: new files, containing helper functions to handle table
11221 * lyxfunc.C (dispatch): no need to remove spaces around command
11223 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11224 first command of the sequence; it is not very clever, but I do not
11225 have a better idea, actually
11227 * LyXAction.C (LookupFunc): make sure to remove space at the
11228 beginning and end of the command
11230 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11232 * MenuBackend.C (getMenubar): new method: return the menubar of
11234 (read): treat differently reading of menu and menubar (in
11235 particular, the menubar has no name now)
11236 (Menu::menubar): remove
11238 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11241 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11243 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11244 a bibitem inset in a RTL paragraph.
11246 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11248 * paragraph_pimpl.C: constify
11250 * BufferView_pimpl.C:
11252 * lyxfunc.C: fix dispatch in a nicer way
11254 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11256 * lyxfunc.C (dispatch):
11257 * BufferView_pimpl.C:
11258 * BufferView_pimpl.h:
11260 * BufferView.h: rename Dispatch() to dispatch()
11262 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11264 * lyxlayout.C (Read): honor DependsOn tag
11266 * lyxlayout.[Ch] (depends_on): new method
11268 * version.C.in: update lyx_docversion
11270 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11272 * paragraph.C (validate): remove from here...
11273 * paragraph_pimpl.C (validate): ... and move here
11274 (isTextAt): make it const
11276 * buffer.C (getLists): ws cleanup
11278 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11280 * language.C (read): Use iso8859-1 encoding in latex_lang
11281 (this prevents LyX from crashing when using iso10646-1 encoding).
11283 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11285 * text2.C (toggleInset): if cursor is inside an inset, close the
11286 inset and leave cursor _after_ it
11288 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11290 * lyxfunc.C: move minibuffer completion handling out of here
11292 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11294 * BufferView_pimpl.C:
11295 * LaTeX.C: fix dispatch calls
11297 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11299 * text.C (drawChars): Fix Arabic text rendering.
11301 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11305 * lyxfunc.C: remove message-push/pop
11309 * lyxfunc.C: rationalise some code by removing verboseDispatch
11310 in favour of a bool argument to dispatch()
11312 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11314 * lyx_main.C (init): make sure to read symlinks as absolute paths
11316 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11319 * lyxfunc.C: no need for commandshortcut to be a member
11321 2002-07-15 André Pönitz <poenitz@gmx.net>
11323 * converter.C: add support for $$s (scripts from lib/scripts dir)
11324 * lyx_main.C: white space
11326 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11330 * lyxrc.C: remove second exit confirmation
11332 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11337 * BufferView_pimpl.h:
11338 * BufferView_pimpl.C:
11339 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11341 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11343 * MenuBackend.C (expand): add numeric shortcuts to document menu
11345 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11347 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11349 * lyxfont.C (setLyXFamily):
11356 * buffer.C (asciiParagraph): use ascii_lowercase
11358 2002-07-15 Mike Fabian <mfabian@suse.de>
11360 * lyxlex_pimpl.C (search_kw):
11361 * lyxlex.C (getLongString):
11362 * converter.h (operator<):
11363 * converter.C (operator<):
11364 * buffer.C (parseSingleLyXformat2Token):
11366 * ToolbarDefaults.C (read):
11367 * MenuBackend.C (checkShortcuts):
11369 * LColor.C (getFromGUIName):
11370 (getFromLyXName): use the compare_ascii_no_case instead of
11371 compare_no_case, because in turkish, 'i' is not the lowercase
11372 version of 'I', and thus turkish locale breaks parsing of tags.
11374 2002-07-16 Angus Leeming <leeming@lyx.org>
11376 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11377 now takes a Buffer const & argument.
11379 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11381 * BufferView.C (resize): check there's a buffer to resize
11383 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11385 * lyxfunc.C: remove dead code
11388 * lyxserver.C: use lyx_guii::set_read_callback
11390 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11392 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11393 an inset in a RTL paragraph.
11395 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11397 * lyxfunc.C: repaint after a font size update
11399 2002-07-15 André Pönitz <poenitz@gmx.net>
11401 * lyxlength.C: inBP should be able to return negative values
11403 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11405 * lyxfunc.C: use lyx_gui::update_fonts()
11407 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11409 * lyxfunc.C: use lyx_gui::update_color()
11411 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11417 * lyxrc.C: remove file->new asks for name option, and let
11418 buffer-new take an argument
11420 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11422 * BufferView_pimpl.C: remove unneeded extra repaint()
11424 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11426 * LyXAction.C: allow command-sequence with NoBuffer
11428 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11430 2002-07-10 Angus Leeming <leeming@lyx.org>
11432 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11434 2002-07-09 Angus Leeming <leeming@lyx.org>
11436 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11438 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11440 * lengthcommon.h: whitespace
11442 * lyxfunc.C: update scrollbar after goto paragraph
11444 * lyxtext.h: factor out page break drawing, and fix it so
11445 page break/added space paints as selected nicely
11447 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11449 * BufferView_pimpl.C: add FIXMEs, clean up a little
11451 2002-07-09 André Pönitz <poenitz@gmx.net>
11453 * lyxfont.[Ch]: support for wasy symbols
11455 2002-07-08 André Pönitz <poenitz@gmx.net>
11457 * BufferView_pimpl.C: apply John's patch for #93.
11459 2002-07-05 Angus Leeming <leeming@lyx.org>
11461 * BufferView_pimpl.C (buffer): generate previews if desired.
11463 * LColor.h: add "preview" to the color enum.
11465 * LColor.C (LColor): add a corresponding entry to the items array.
11467 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11470 2002-07-05 Angus Leeming <leeming@lyx.org>
11472 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11473 The body of the code is now in the method that is passed an ostream &
11474 rather than a file name.
11475 Pass an additional only_preamble parameter, useful for the forthcoming
11478 2002-07-03 André Pönitz <poenitz@gmx.net>
11480 * lyxfunc.C: simplify getStatus() a bit for math stuff
11482 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11484 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11486 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11488 * text.C (changeRegionCase): do not change case of all the
11489 document when region ends at paragraph end (bug #461)
11491 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11493 * paragraph.C (startTeXParParams):
11494 (endTeXParParams): add \protect when necessary
11496 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11498 * BufferView_pimpl.C (workAreaExpose): remove warning
11500 2002-06-27 Angus Leeming <leeming@lyx.org>
11502 * Makefile.am: add lyxlayout_ptr_fwd.h.
11504 2002-06-26 André Pönitz <poenitz@gmx.net>
11506 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11508 2002-06-25 Angus Leeming <leeming@lyx.org>
11510 * lyxfunc.C (dispatch): Comment out the call to
11511 grfx::GCache::changeDisplay. The method no longer exists now that the
11512 pixmap generation part of the graphics loader has been moved into
11515 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11517 * text2.C: layout as layout
11519 * text.C: layout as layout
11521 * tabular.C (OldFormatRead): layout as layout
11523 * paragraph_pimpl.C (TeXDeeper): layout as layout
11524 (realizeFont): layout as layout
11526 * paragraph.C (writeFile): layout as layout
11527 (validate): layout as layout
11528 (getFont): layout as layout
11529 (getLabelFont): layout as layout
11530 (getLayoutFont): layout as layout
11531 (breakParagraph): layout as layout
11532 (stripLeadingSpaces): layout as layout
11533 (getEndLabel): layout as layout
11534 (getMaxDepthAfter): layout as layout
11535 (applyLayout): layout as layout
11536 (TeXOnePar): layout as layout
11537 (simpleTeXOnePar): layout as layout
11538 (TeXEnvironment): layout as layout
11539 (layout): layout as layout
11540 (layout): layout as layout
11542 * lyxtextclass.C (compare_name): new functor to work with
11543 shared_ptr, layout as layout
11544 (Read): layout as layout
11545 (hasLayout): layout as layout
11546 (operator): layout as layout
11547 (delete_layout): layout as layout
11548 (defaultLayout): layout as layout
11550 * lyxlayout_ptr_fwd.h: new file
11552 * lyxlayout.C (Read): layout as layout
11554 * lyx_cb.C (MenuInsertLabel): layout as layout
11556 * bufferlist.C (newFile): layout as layout
11558 * buffer.C (readLyXformat2): layout as layout
11559 (parseSingleLyXformat2Token): layout as layout
11560 (insertStringAsLines): layout as layout
11561 (asciiParagraph): layout as layout
11562 (latexParagraphs): layout as layout
11563 (makeLinuxDocFile): layout as layout
11564 (simpleLinuxDocOnePar): layout as layout
11565 (makeDocBookFile): layout as layout
11566 (simpleDocBookOnePar): layout as layout
11567 (getLists): layout as layout
11569 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11571 * CutAndPaste.C (cutSelection): layout as layout
11572 (pasteSelection): layout as layout
11573 (SwitchLayoutsBetweenClasses): layout as layout
11575 * BufferView_pimpl.C (Dispatch): layout as layout
11576 (smartQuote): layout as layout
11578 * BufferView2.C (unlockInset): layout as layout
11580 2002-06-24 André Pönitz <poenitz@gmx.net>
11582 * lyxfunc.C: fix #487
11584 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11588 * lyxfunc.C: remove display_shortcuts, show_banner
11590 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11592 * Buffer_pimpl.C: oops, update on resize
11594 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11601 * BufferView.C: use repaint()
11603 * BufferView_pimpl.h:
11604 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11605 as it's a clearer description. Remove superfluous
11608 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11610 * text.C: fix bug 488. Not ideal, but getting
11611 getWord() to work properly for the insets that
11612 matter is more difficult ...
11614 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11616 * BufferView_pimpl.C:
11619 * lyxfunc.C: remove the six million index lyxfuncs to just
11620 one, and DTRT (bug 458)
11622 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11626 * BufferView_pimpl.h:
11627 * BufferView_pimpl.C: clean up resize() stuff,
11628 and unnecessary updateScreen()s
11630 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11634 * BufferView_pimpl.h:
11635 * BufferView_pimpl.C:
11638 * minibuffer.C: remove focus management of workarea,
11639 not needed. Use screen's greyOut()
11641 2002-06-17 Herbert Voss <voss@lyx.org>
11643 * converter.C: (convert) do not post a message, when converting
11644 fails, let the calling function decide what to do in this case
11646 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11648 * lyxfunc.C: tidy up a little
11650 2002-06-16 <alstrup@diku.dk>
11652 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11653 Got rid of FORMS_H_LOCATION include. Now we are
11656 2002-06-15 LyX Development team <lyx@rilke>
11658 * buffer.[Ch] (sgmlOpenTag):
11659 (sgmlCloseTag): Added support for avoiding pernicious mixed
11660 content. Return number of lines written.
11662 (makeLinuxDocFile):
11663 (makeDocBookFile): Fixed calls to sgml*Tag.
11664 Simple white space clean.
11666 (simpleDocBookOnePar): Simple white space clean.
11668 * tabular.[Ch] (docBook): Renamed to docbook and got another
11669 argument to related with the pernicious mixed content.
11671 (docbookRow): Fixed calls for docbook inset method.
11673 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11675 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11676 so it's X11 independent.
11680 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11682 2002-06-15 Lyx Development team <lyx@electronia>
11684 * intl.h: Renamed getTrans to getTransManager.
11686 2002-06-14 Angus Leeming <leeming@lyx.org>
11688 * Makefile.am: nuke forgotten stl_string_fwd.h.
11690 2002-06-12 Angus Leeming <leeming@lyx.org>
11692 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11694 2002-06-13 Angus Leeming <leeming@lyx.org>
11697 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11699 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11701 * kbmap.C (getiso): add support for cyrillic and greek
11703 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11707 * BufferView_pimpl.h:
11708 * BufferView_pimpl.C: move bogus scrolling logic
11711 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11714 * BufferView_pimpl.C: view->resize() change
11716 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11718 * BufferView_pimpl.C: topCursorVisible
11721 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11725 * lyx_gui.C: move to frontends/
11729 * lyx_main.C: changes from above
11731 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11738 * lyx_main.C: minor tidy
11740 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11742 * BufferView_pimpl.h:
11743 * BufferView_pimpl.C:
11745 * BufferView.C: make painter() const,
11748 * BufferView2.C: use screen() accessor
11751 * lyx_main.C: some minor cleanup
11753 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11755 * BufferView_pimpl.h:
11756 * BufferView_pimpl.C: remove enter/leaveView,
11759 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11764 * BufferView_pimpl.h:
11765 * BufferView_pimpl.C: only construct screen once,
11768 * lyxrc.C: remove pointless comment
11770 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11773 * BufferView.C: remove active() and belowMouse()
11775 * BufferView_pimpl.h:
11776 * BufferView_pimpl.C: use workarea() not workarea_,
11777 and make it use a scoped_ptr instead
11779 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11781 * lyx_gui.C: add debug message on BadWindow
11783 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11785 * sp_spell.C: fdopen is not part of the C++ standard.
11787 * paragraph.C (InsetIterator): use >= instead of ==
11789 2002-06-07 Angus Leeming <leeming@lyx.org>
11791 Fixes needed to compile with Compaq cxx 6.5.
11792 * BufferView_pimpl.C:
11799 * lyxtextclasslist.C:
11804 all c-library variables have been moved into namespace std. Wrap
11805 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11810 Add a using std::abs declaration.
11812 * kbmap.h (modifier_pair):
11813 * paragraph.h (InsetTable, InsetList):
11814 * lyxfont.h (FontBits):
11815 type definition made public.
11817 * bufferlist.C (emergencyWriteAll): the compiler complains that
11818 there is more than one possible lyx::class_fun template to choose from.
11819 I re-named the void specialisation as lyx::void_class_fun.
11821 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11823 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11824 the compiler is is unable to find tostr in write_attribute.
11826 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11828 * buffer.C (sgmlError): hide #warning
11830 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11832 * xtl/*: get rid of xtl, which is not in use anyway
11834 * LyXAction.C (init):
11835 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11836 were unimplemented xtl experimentation
11838 2002-06-04 André Pönitz <poenitz@gmx.net>
11840 * lyxfunc.C: disable array operation on simple formulae
11842 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11844 * converter.C: constify a bit
11846 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11848 * lyx_gui.C: check xforms version correctly
11850 2002-04-30 Herbert Voss <voss@lyx.org>
11852 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11855 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11857 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11858 attempt to register it with a VCS)
11860 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11862 * lyx_main.C (init): honor variables LYX_DIR_13x and
11865 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11869 * lyx_main.C: fix a crash on bad command line,
11870 and give a useful exit status on error
11872 * lyxfunc.C (doImport): allow -i lyx to work
11874 2002-03-30 André Pönitz <poenitz@gmx.net>
11876 * lyxfunc.C: mathed font changes
11878 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11893 * trans_mgr.h: srcdocs, and some minor cleanups
11895 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11897 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11898 call getFont all the time)
11900 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11902 * switch from SigC signals to boost::signals
11904 2002-05-29 André Pönitz <poenitz@gmx.net>
11906 * paragraph_pimpl.C (getChar): don't call size() too often...
11908 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11910 * paragraph_pimpl.C (insertChar): do not try to update tables when
11911 appending (pos == size())
11913 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11914 in order to reduce drastically the number of comparisons needed to
11915 parse a large document
11917 2002-05-29 André Pönitz <poenitz@gmx.net>
11923 * textclasslist.[Ch]:
11924 * sp_ispell.h: whitespace change
11926 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11928 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11929 lyxaction directly now.
11931 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11935 * lyxvc.C: remove unused headers
11937 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11944 * undo_funcs.C: some cleanups. Use shared_ptr
11945 and a template for the undo stacks.
11947 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11949 * BufferView_pimpl.h:
11950 * BufferView_pimpl.C:
11957 * text2.C: use key_state/mouse_state
11959 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11961 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11964 * chset.C: change include order
11965 (loadFile): use boost regex and get rid of LRegex and LSubstring
11967 * Makefile.am (BOOST_LIBS): new variable
11968 (lyx_LDADD): use it
11970 * LaTeX.C: change include order.
11971 (scanAuxFile): use boost regex and get rid of LRegex and
11975 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11980 * FontInfo.C: moved to frontends/xforms/
11983 * FontLoader.C: moved into frontends for GUIIzation
11988 * lyxfunc.C: changes from above
11990 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11992 * LColor.C: remove spurious X include
11994 * BufferView_pimpl.C:
11999 * text2.C: move font metrics to frontends/
12001 2002-05-24 Juergen Vigna <jug@sad.it>
12003 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12004 setting the undo_cursor.
12006 * ParagraphParameters.h: include local includes first.
12008 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12010 * BufferView_pimpl.C:
12011 * BufferView_pimpl.h:
12015 * screen.C: move WorkArea into frontends/
12021 * BufferView2.C: move LyXScreen into frontends/
12025 * lyx_gui.C: move lyxlookup into frontends/xforms/
12027 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12030 * BufferView_pimpl.C:
12040 * bufferview_funcs.C:
12053 * vc-backend.C: move LyX/XFormsView into frontends/
12055 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12067 * text2.C: move Painter to frontends/
12069 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12071 * buffer.C: comment out some some code that depend upon lyx_format
12074 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12075 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12077 * buffer.h (NO_COMPABILITY): turn off compability
12079 * ColorHandler.C: include scoped_array.hpp
12081 * font.C: Use more specific smart_ptr header.
12084 * ShareContainer.h: ditto
12085 * lyx_main.h: ditto
12087 * FontInfo.h: ditto
12088 * BufferView_pimpl.h: ditto
12089 * ColorHandler.h: ditto
12091 * kbmap.C (defkey): change call to shared_ptr::reset
12093 2002-05-21 Juergen Vigna <jug@sad.it>
12095 * buffer.C (insertErtContents): fix to insert ert asis if it is
12096 non empty. Skip it completely if it contains only whitespaces.
12098 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12100 * BufferView_pimpl.C:
12101 * BufferView2.C: clear selection on paste (bug 393)
12103 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12105 * DepTable.C: include ctime
12107 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12109 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12111 2002-05-14 Juergen Vigna <jug@sad.it>
12113 * text.C (breakParagraph): fixed function to honor the keepempty
12114 layout in the right maner and also to permit the right breaking
12115 algorithm on empty or non empyt keepempty paragraphs.
12117 * paragraph.C (breakParagraph): we have to check also if the par
12118 is really empty (!size()) for isempty otherwise we do the wrong
12121 2002-05-10 Juergen Vigna <jug@sad.it>
12123 * buffer.[Ch] : The following are only changes to the ert
12124 compatibility read reading old LaTeX layout and font stuff and
12125 convert it to ERTInsets.
12127 * buffer.h: added isErtInset().
12129 * buffer.C (struct ErtComp): add a fromlayout bool to check
12130 if we're inside a LaTeX layout.
12131 (isErtInset): new helper function.
12132 (insertErtContents): look for other ert insets before this one
12133 and insert the contents there, so that we don't have subsequent
12134 ERT insets with nothing between them. This way we create only one
12135 inset with multiple paragraphs. Also check if we don't insert only
12136 spaces ' ' as they are ignored anyway afterwards in the .tex file
12137 so if we have only spaces we will ignore this latex part in the
12139 (parseSingleLyXformat2Token \\layout): better compatibility when
12140 reading layout-latex stuff.
12141 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12143 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12144 stuff after reading the inset only get the information back from
12147 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12149 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12151 * LaTeXFeatures.C (getBabelOptions): New method.
12153 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12155 * BufferView_pimpl.C (Dispatch): work around missing argument for
12158 2002-05-08 Juergen Vigna <jug@sad.it>
12160 * text.C (leftMargin): handle paragraph leftindent.
12162 * paragraph.C (writeFile): write the new \\leftindent tag.
12163 (validate): handle leftindent code.
12164 (TeXEnvironment): handle paragraphleftindent code again.
12166 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12168 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12169 for paragrap_extra indent code and new token \\leftindent.
12170 (latexParagraphs): handle the leftindent as environment.
12172 * ParameterStruct.h: added leftindent support.
12174 * ParagraphParameters.C (leftIndent): added support functions for
12175 the paragraph left indent.
12177 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12180 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12182 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12185 * text.C (computeBidiTables): No bidi in insetERT.
12187 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12190 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12192 * version.C.in: pre 5
12194 2002-05-02 José Matos <jamatos@fep.up.pt>
12195 * buffer.C (makeDocBookFile): white space changes, add newline to
12197 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12199 * tabular.C (docBook): fix typo.
12201 2002-05-03 Juergen Vigna <jug@sad.it>
12203 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12204 change in LyXText as we can not be sure it was not freed.
12205 (drawOneRow): remove unused code.
12207 * text.C (drawInset): redo the calculation of the need_break_row as
12208 it could have a row which was already freed.
12209 (draw): look at the return value of drawInset and return false if
12210 it also returned false.
12211 (paintRowText): look at the return value of draw and return false if
12212 it also returned false.
12214 * lyxtext.h: added bool return type to drawInset() and draw() so that
12215 if we have a change in the row so that the rowbreak has to be redone
12216 we abort drawing as it will be called again.
12218 2002-05-02 Juergen Vigna <jug@sad.it>
12220 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12221 a change in the maintext also if we're inside an inset.
12222 (Dispatch): set the cursor again after a break line and after the
12223 screen has been updated as it could be we're in a different row.
12225 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12226 to set the cursor behind the pargraph with > size().
12227 (setCursor): check also for the same paragraph when checking where
12228 to put the cursor if we have a NFR inset.
12230 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12231 parts of layout read further up as it still was in the wrong
12234 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12236 * screen.C (drawFromTo): change sine fullRebreak always return
12239 * buffer.C (parseSingleLyXformat2Token): reindent some
12241 * BufferView_pimpl.C (update): change since fullRebreak always
12243 (Dispatch): git rid of the last hardcoded "Standard"s.
12245 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12247 * text2.[Ch] (fullRebreak): make it return void now that we always
12250 2002-04-30 Juergen Vigna <jug@sad.it>
12252 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12253 ert compatibility check for "latex" layout.
12255 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12257 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12258 minipages: use col% instead of p%, and also use the current font.
12259 (makeLaTeXFile): Fix use babel condition.
12260 (parseSingleLyXformat2Token): Correct font when reading old floats.
12262 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12264 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12265 inserting list of floats.
12267 2002-04-25 Herbert Voss <voss@lyx.org>
12269 * MenuBackend.C (expand): don't add the graphics extensions to the
12272 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12274 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12275 non-existing layout, do not complain if it was the default layout
12276 of the original class (bug #342)
12278 2002-04-24 Juergen Vigna <jug@sad.it>
12280 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12281 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12283 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12285 * buffer.C (getBibkeyList): If using \bibliography, return the
12286 option field with the reference itself. Enables us to provide natbib
12287 support when using \bibliography.
12289 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12291 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12293 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12294 natbib is provided by the LaTeX class.
12296 2002-04-23 Juergen Vigna <jug@sad.it>
12298 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12301 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12303 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12305 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12307 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12308 ensuremath around textordmasculine, textordfeminine and
12311 2002-04-19 Juergen Vigna <jug@sad.it>
12313 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12314 reinitializing the buffer otherwise row-dimensions may be wrong.
12315 (update): reset also the selection cursors if they do exits otherwise
12316 their x/y positions may be wrong.
12318 * text2.C (cursorDown): don't enter the inset if we came from a row
12319 above and are one row over the inset.
12321 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12322 really leaving an inset.
12324 2002-04-18 Juergen Vigna <jug@sad.it>
12326 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12327 of the selected paragraph does not have the selected layout also if
12330 * text2.C (setLayout): fixed bug which did not change last selected
12333 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12334 changed the read and substituted \\end_float with \\end_inset!
12336 * BufferView_pimpl.C (cursorPrevious):
12337 (cursorNext): fixed to make it work with rows heigher than the work
12338 area without moving the cursor only the draw of the row.
12339 (workAreaMotionNotify): fix jumping over high rows.
12341 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12343 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12346 2002-04-16 Juergen Vigna <jug@sad.it>
12348 * text2.C (setCursor): set also the irow().
12349 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12351 (cursorDown): support for locking an inset if the x_fix value goes
12352 inside it. That way I can transverse insets too with cursor up/down.
12354 * lyxrow.h: added irow helper function same as other (i) functions.
12356 * BufferView_pimpl.C (cursorPrevious):
12357 (cursorNext): fixed for insets!
12359 2002-04-15 Juergen Vigna <jug@sad.it>
12361 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12362 position otherwise it is wrong in some cases.
12364 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12365 inside the inset before the call.
12367 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12369 * buffer.[Ch] (getBibkeyList): make it const.
12371 2002-04-12 Juergen Vigna <jug@sad.it>
12373 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12375 * text2.C (getCursorX): new helper function
12376 (setCursor): compute also ix_
12377 (setCursorFromCoordinates): set also ix.
12379 * lyxcursor.h: added ix_ and helper functions.
12381 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12383 * buffer.C (insertStringAsLines): dont break paragraph if the this
12384 paragraph is inside an inset which does not permit it!
12386 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12387 also with no chars on this paragraph.
12388 (paintRowText): only paint stuff if it's inside the workarea!
12390 * paragraph.C (breakParagraph): honor keepempty flag and break the
12391 paragraph always below not above.
12393 * BufferView2.C (unlockInset): update the paragraph layout on inset
12394 unlock as we changed paragraph in such a case.
12396 * lyxfind.C (LyXFind): clear the former selection if not found!
12398 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12399 again called in insertChar().
12401 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12402 an inset which uses the whole row!
12403 (rightMargin): ditto.
12404 (insertChar): force a rebreak if we inserted an inset!
12406 2002-03-28 Herbert Voss <voss@lyx.org>
12408 * lyxlength.[Ch]: add inBP() to get the right PS-point
12409 units (BigPoint). With inPixels we have rounding errors
12411 2002-04-11 Juergen Vigna <jug@sad.it>
12413 * text2.C (setCursorFromCoordinates): set iy to the right value.
12414 (setCursor): add check if row->previous exists!
12416 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12417 an old float_type as this was the case in the old code!
12419 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12421 * BufferView2.C (showLockedInsetCursor): use iy
12422 (fitLockedInsetCursor): ditto
12424 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12425 locked insets as there we have the right value now.
12427 * lyxcursor.C: added iy_ variable and iy functions to set to the
12428 baseline of cursor-y of the locked inset.
12430 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12431 (setCursor): fixed for insets which need a full row.
12433 * text.C (rowLastPrintable): don't ignore the last space when before
12434 an inset which needs a full row.
12435 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12436 as last character of a row when before a inset which needs a full row.
12438 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12440 * version.C.in: update date
12442 * text2.C (fullRebreak): try to always return true and see what
12445 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12447 * MenuBackend.C (expand): use Floating::listName
12449 * FloatList.C (FloatList): add listName argument to the built-in
12452 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12453 text associated with the float.
12455 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12457 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12459 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12461 * ShareContainer.h: add a couple of missing typenames.
12463 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12465 * lyxrc.C (getDescription): use _() correctly rather than N_().
12467 2002-03-28 Herbert Voss <voss@lyx.org>
12469 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12470 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12472 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12474 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12475 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12477 2002-03-29 Juergen Vigna <jug@sad.it>
12479 * lyxfunc.C (dispatch): add a missing fitCursor call.
12481 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12482 it was scrolled by a cursor move, so return the bool status.
12484 * BufferView.C (fitCursor): return the bool flag also to the outside
12485 world as this is needed.
12487 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12489 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12490 call the edit() as it is not needed (and wrong) IMO.
12491 (workAreaButtonPress): set the screen_first variable before evt.
12492 unlock the inset as this may change screen_first and then we have
12493 a wrong y position for the click!
12495 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12497 * MenuBackend.C (expand): another translation that I missed
12499 2002-03-28 Juergen Vigna <jug@sad.it>
12501 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12503 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12505 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12507 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12509 * MenuBackend.C (expand): fix export/view/update when there is no
12512 2002-03-27 Herbert Voss <voss@lyx.org>
12514 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12517 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12519 * bufferview_funcs.C (currentState): only show paragraph number
12520 for is DEVEL_VERSION is set.
12522 * lyxfunc.C (dispatch): put warning in INFO channel
12524 * MenuBackend.C (expand): translate the name of floats
12526 * FloatList.C (FloatList): mark the float names for translation
12528 * converter.C (convert): use LibScriptSearch
12530 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12532 * MenuBackend.C (defaults): fix default menu (we might as well get
12535 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12537 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12540 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12542 * lyxvc.C: reorder includes.
12544 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12546 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12549 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12551 * CutAndPaste.C: change layouts earlier on paste
12552 to avoid crashing when calling getFont()
12554 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12556 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12559 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12561 * WorkArea.C: remove 'Pending' debug message.
12563 * most files: ws cleanup
12565 * buffer.[Ch]: ws changes
12567 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12569 2002-03-21 Juergen Vigna <jug@sad.it>
12571 * tabular.C (SetMultiColumn): collapse also the contents of the
12572 cells and set the last border right. Added a Buffer const * param.
12574 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12576 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12579 2002-03-19 Juergen Vigna <jug@sad.it>
12581 * text2.C (clearSelection): reset also xsel_cache.
12583 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12584 where it needs to be called (John tells us to do so too :)
12585 (selectionLost): reset sel_cache.
12587 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12589 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12591 * text2.C (setCursorIntern): put debuging code in INSETS channel
12593 2002-03-19 André Pönitz <poenitz@gmx.net>
12595 * lyxfunc.C: tiny whitespace change
12597 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12599 * ToolbarDefaults.C (init):
12600 * LyXAction.C (init):
12602 * BufferView_pimpl.C (Dispatch):
12603 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12605 2002-03-19 Allan Rae <rae@lyx.org>
12607 * exporter.C (Export): removeAutoInsets before doing anything else.
12608 While I've just introduced a dependency on BufferView this really is
12609 the best place to clean the buffer otherwise you need to cleanup in
12610 a dozen places before calling export or cleanup in a dozen functions
12613 * converter.C (runLaTeX):
12614 (scanLog): Better handling of removeAutoInsets and screen updates.
12616 * lyxfunc.C (dispatch): small whitespace changes
12618 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12620 * WorkArea.C (C_WorkAreaEvent): return a value.
12621 (event_cb): return 1 if we handled the event, 0 otherwise.
12623 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12625 2002-03-18 Juergen Vigna <jug@sad.it>
12627 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12628 (GetAdditionalWidth): ditto.
12629 (RightLine): ditto.
12632 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12633 inset if we're there actually (probably not used right now but this
12634 is the direction to go for unifying code).
12635 (paste): disable code to clear the selection.
12637 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12638 inside an InsetText and move the check further up as it is in the
12641 * text2.C (pasteSelection): set a selection over the pasted text.
12643 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12645 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12646 and libgraphics to build on Cygwin.
12648 2002-03-15 Juergen Vigna <jug@sad.it>
12650 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12651 inserting an Inset into the paragraph. I know this is not the best
12652 fix but we already use current_view in CutAndPaste so we will remove
12653 all of it's using at the same time.
12655 * buffer.C (sgmlError): deactivated function till it is rewritten in
12656 the right mode, now it can create problems.
12658 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12659 before accessing it.
12661 2002-03-14 Juergen Vigna <jug@sad.it>
12663 * undo_funcs.C (textHandleUndo): do the right thing when updating
12664 the inset after the undo/redo.
12666 * text2.C (setCursor): just some testcode for #44 not ready yet.
12668 * undo_funcs.C (textHandleUndo): set the next() and previous()
12669 pointers of the paragraph to 0 before deleting otherwise we have
12670 problems with the Paragraph::[destructor].
12672 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12673 on a paragraph insertion.
12675 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12677 * buffer.C (asciiParagraph): use += operator for char append to
12680 * paragraph.C (getFontSettings): compare >= not just >
12681 (highestFontInRange): ditto
12684 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12686 * paragraph.C: change several algorithm to be more appripriate for
12687 the problem domain. This is lookip in FontList and in the InsetList.
12689 2002-03-13 André Pönitz <poenitz@gmx.net>
12692 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12694 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12699 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12701 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * Painter.C (display): anon helper function, adjust code for this
12705 (pixmap): remove function.
12707 * Painter.h: remove private display variable.
12709 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12711 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12713 * WorkArea.[Ch]: remove figinset_canvas cruft.
12715 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12717 * lyxtextclass.C (operator): add one item cache optimization.
12719 * bufferlist.h: doxy changes
12721 * bufferlist.C: ws changes
12723 * DepTable.[Ch] (ext_exist): place const in the right spot.
12725 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12727 (workAreaExpose): call resizeInsets when the with BufferView changes.
12728 (Dispatch): adjust for protectedBlank removal
12729 (specialChar): call updateInset if the insert went ok.
12731 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12732 specialChar instead.
12734 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12736 * BufferView.h: doxy change
12738 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12740 * lyxtextclass.C (operator[]): remove non-const version
12741 (defaultLayout): remove non-const version
12743 2002-03-12 Juergen Vigna <jug@sad.it>
12745 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12746 did resize the LyXText too.
12748 * buffer.C (readLyXformat2): set layout information on newly allocated
12751 * tabular.C (OldFormatRead): set layout information on the paragraph.
12753 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12755 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12757 2002-03-11 Juergen Vigna <jug@sad.it>
12759 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12761 (resizeCurrentBuffer): force also the insets to resize themselfes.
12762 (moveCursorUpdate): fixed up for InsetText.
12764 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12767 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12768 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12769 value of Dialogs::tooltipsEnabled().
12770 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12772 2002-03-08 Juergen Vigna <jug@sad.it>
12774 * BufferView_pimpl.C (updateInset): update inset inside inset also
12775 if it isn't inside theLockingInset().
12777 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12779 * buffer.C (asciiParagraph): redo some of the word and line length
12781 (getLists): look for Caption instead of caption.
12783 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12785 * buffer.C (Buffer): initialize niceFile to true
12787 (makeLinuxDocFile):
12788 (makeDocBookFile): make sure niceFile is true on exit
12790 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12792 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12794 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12796 * LyXSendto.C: remove.
12797 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12798 * lyx_gui.C: remove now-redundant comment.
12799 * ColorHandler.h: remove forward declaration of class WorkArea.
12800 * lyxfunc.C: remove #include "WorkArea.h".
12802 2002-03-07 Juergen Vigna <jug@sad.it>
12804 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12805 got moved away with the DEPM and also set the inset_owner always
12806 right which before could have been omitted.
12808 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12810 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12811 wanted layout is not found.
12813 2002-03-07 Juergen Vigna <jug@sad.it>
12815 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12817 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12819 * paragraph.C (breakParagraph): use default layout not layout of
12821 (Paragraph): clear ParagraphParameters.
12823 2002-03-06 Juergen Vigna <jug@sad.it>
12825 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12826 otherwise it would not be a valid lenght. Fixed a special case in
12827 the minipage compatibility read where we end the document with a
12830 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12831 was set as it could be 0 for InsetTexts first entry.
12833 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12835 * paragraph.C (writeFile): if layout is empty write out
12836 defaultLayoutName().
12838 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12839 file without named layout we set layout to defaultLayoutName().
12841 2002-03-06 Juergen Vigna <jug@sad.it>
12843 * CutAndPaste.C (copySelection): set layout for new paragraph.
12845 * text.C (prepareToPrint): leave ERT inset left aligned
12846 (leftMargin): don't indent paragraphs inside ERT insets
12848 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12850 * paragraph.C (breakParagraph): dont call clear do the work manually
12852 * paragraph.[Ch] (clear): remove function
12854 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12856 * paragraph.C (Paragraph): dont call clear, the work has already
12859 * lyxtextclass.C (operator): assert if n is empty
12861 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12862 work manually instead.
12864 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12866 * BufferView_pimpl.C: protect selectionLost against text == 0
12868 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12870 * text.C (breakParagraph): fix a setting layout to '0' problem.
12872 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12874 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12875 final location of file, for the included files, and graphics.
12877 2002-03-05 Juergen Vigna <jug@sad.it>
12879 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12881 2002-03-04 Juergen Vigna <jug@sad.it>
12883 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12885 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12886 last column of multicolumn cells.
12887 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12889 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12891 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12892 file if it doesn't go to a temporary file.
12894 * buffer.C (sgmlOpenTag):
12895 (sgmlCloseTag): remove extra newline insertion.
12897 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12899 * text.C (getRowNearY): comment out debug msg
12901 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12903 * text2.C: first -> first_y
12905 * text.C (getRowNearY): add some attemts at a possible
12906 optimization, not working.
12908 * tabular.[Ch]: add BufferParams to several function so that newly
12909 created paragraph can be initialized to he default layotu for the
12912 * tabular-old.C (ReadOld): add buf->params to call of Init
12914 * screen.C: rename text->first to text->first_y
12916 * paragraph.C (breakParagraph): always set layout in the broken
12919 * lyxtextclass.C (Read): remove lowercase
12922 (delete_layout): ditto
12924 * lyxtext.h: rename first -> first_y
12926 * lyxlayout.C (Read): remove lowercase
12929 (obsoleted_by): ditto
12931 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12933 * buffer.C (insertErtContents): add params are to InsetERT
12934 (parseSingleLyXformat2Token): add code to check if a paragraphs
12935 layout really exist.
12936 (parseSingleLyXformat2Token): add params to several inset
12938 (asciiParagraph): remove lowercase, do the layout comparisons with
12941 * BufferView_pimpl.C (cursorNext): first -> first_y
12942 (resizeCurrentBuffer): first -> first_y
12943 (updateScrollbar): first -> first_y
12944 (scrollCB): first -> first_y
12945 (workAreaMotionNotify): first -> first_y
12946 (workAreaButtonPress): first -> first_y
12947 (checkInsetHit): first -> first_y
12948 (cursorPrevious): first -> first_y
12949 (cursorNext): first -> first_y
12950 (Dispatch): add buffer_->params to severl inset contructors
12952 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12954 * lyxlayout.C (Read): remove some debug info that I forgot.
12956 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12957 clean up the code slightly.
12958 (makeLinuxDocFile): ditto
12959 (makeDocBookFile): ditto
12961 * text2.C: layout as string
12963 * text.C: layout as string
12965 * paragraph_pimpl.C: layout as string
12967 * paragraph.[Ch]: layout as string
12969 * lyxtextclasslist.[Ch]: layout as string
12971 * lyxtextclass.[Ch]: layout as string
12973 * lyxtext.h: layout as string
12975 * lyxlayout.[Ch]: layout as string
12977 * lyx_cb.C: layout as string
12979 * bufferview_funcs.C: layout as string
12981 * bufferparams.C: layout as string
12983 * buffer.C: layout as string
12985 * LyXView.[Ch]: layout as string
12987 * LaTeXFeatures.[Ch]: layout as string
12989 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12991 * BufferView_pimpl.C: change current_layout to string, remove
12996 (workAreaButtonRelease): layout as string
12998 * BufferView2.C (unlockInset): adjust
13000 * vspace.C (asLatexCommand): use an explict temp variable.
13002 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13004 * Makefile.am: use FRONTEND_*
13006 2002-03-01 Juergen Vigna <jug@sad.it>
13008 * tabular.C (SetWidthOfMulticolCell): changed to something better
13009 I hope but still work in progress.
13010 (recalculateMulticolumnsOfColumn): renamed function from
13011 recalculateMulticolCells as it is more appropriate now.
13012 (SetWidthOfCell): calculate multicols better.
13014 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13016 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13018 * lyxfunc.C (processKeySym): print sequence also if it is
13019 `deleted' (complete)
13021 * kbsequence.C (print): print sequence even if it is deleted
13022 (complete would be a better word, actually).
13024 * lyxfunc.C (dispatch): print complete options after a prefix key
13026 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13028 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13030 * text2.C (setCharFont): eliminate setCharFont code duplication.
13032 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13034 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13035 LFUN_TABULAR_FEATURE (bug #177)
13037 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13039 * Makefile.am: remove figure.h
13041 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13043 * Bufferview_pimpl.C:
13055 * text2.C: remove #include "lyx_gui_misc.h".
13057 * LaTeX.C: added #include <cstdio>
13059 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13061 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13062 that the paragraph following this one can have.
13064 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13066 * vspace.C (asLatexCommand): fix bogus gcc warning
13068 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13070 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13072 * text2.C (setLayout): get rid of redundant code
13074 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13076 * text2.C (incDepth): make sure depth cannot be increased beyond
13079 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13081 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13082 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13084 * PainterBase.h (image):
13085 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13086 a LyXImage const *.
13088 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13092 * BufferView_pimpl.C:
13093 * BufferView_pimpl.h:
13113 * sp_spell.C: remove fig inset, and the crap house of
13114 cards that follows it
13116 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13121 * os2_errortable.h:
13122 * nt_defines.h: move .h into support/
13124 * vms_defines.h: remove
13126 * WorkArea.C: add space in debug output
13130 * buffer.C: add WITH_WARNINGS
13134 * bufferlist.C: s/retrive/retrieve/, add docs
13143 * chset.C: add docs
13145 * lyxgui.C: add ID to X error handler
13147 * lyxtestclass.c: fix typo
13149 2002-02-26 Juergen Vigna <jug@sad.it>
13151 * tabular_funcs.C (write_attribute): changed so that some default
13152 attributes are not written at all.
13153 (getTokenValue): set default values before trying to read the
13154 value so we have the return value always set as default if we don't
13155 find the token we search for.
13157 * tabular.C (Write): write bools as bools not as strings!
13159 2002-02-22 Juergen Vigna <jug@sad.it>
13161 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13162 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13164 * text.C (leftMargin): don't add an indent for paragraphs inside
13165 tabular cells (fix #208).
13167 2002-02-21 José Matos <jamatos@fep.up.pt>
13169 * tabular.C (docBook): fixed support for long tables.
13171 2002-02-20 Juergen Vigna <jug@sad.it>
13173 * text2.C (getFont): get the drawing font of the Inset if this
13174 paragraph is inside an inset (only important for InsetERT for now).
13176 * buffer.C (insertErtContents): use new lanugage params in ERT
13179 * CutAndPaste.C: commenting out seemingly uneeded code.
13181 2002-02-19 Allan Rae <rae@lyx.org>
13183 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13184 Iterators might be simple to use but they also get invalidated.
13185 (removeAutoInsets): renamed saved cursor tracking variables and added
13186 some comments to clarify what everything does.
13188 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13195 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13196 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13199 * vc-backend.h: remove #include "support/syscall.h"
13203 * converter.C: rearrange #includes in Lars' approved fashion.
13205 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13206 forward declare class Timeout in the header file.
13208 * XFormsView.C: changes due to the above.
13210 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13211 similar to LyXView.
13213 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13214 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13216 2002-02-18 José Matos <jamatos@fep.up.pt>
13218 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13221 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13223 * a lot of small ws changes
13224 * add a lot of using std::XXX
13225 * use std construcs some places where approp.
13226 * use some exisint stuff from lyxfunctional where approp.
13227 * Make file changes to use partial linking (lets test this now...)
13229 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13233 remove #include "support/syscontr.h" as it's redundant. Always has been.
13241 change Systemcalls::System to Systemcalls::Wait and
13242 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13243 No change of functionality, just reflects the stripped down Systemcalls
13246 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13248 * debug.[Ch]: add a GRAPHICS type to the enum.
13250 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13252 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13254 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13257 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13259 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13260 match the changes below.
13262 * text2.C (toggleInset): if there is not editable inset at cursor
13263 position, try to see if cursor is _inside_ a collapsable inset
13266 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13268 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13269 document menu has a nice checkbox
13271 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13273 * lyxlength.C (asLatexString): change PW to output as percent of
13276 * lengthcommon.C: change '%' to 't%'
13278 * lyxfunc.C (dispatch): a few comments from Martin
13280 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13284 * BufferView_pimpl.h:
13285 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13288 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13290 * vspace.C (inPixels): fix compiler warning
13292 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13294 * lyxfunc.C (getStatus): fix status message for disabled commands.
13296 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13298 * BufferView_pimpl.C: fix crash on close buffer
13299 during selection (#227)
13301 2002-01-27 Herbert Voss <voss@lyx.org>
13303 * buffer.C: link old Figure to new graphic inset
13305 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13307 * FontLoader.C (getFontinfo): Change the latex font names in order
13308 to match the names of type1inst.
13310 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13312 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13314 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13315 (extchanged): ditto
13317 (remove_files_with_extension): ditto
13318 (remove_file): ditto
13321 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13322 document is smaller than the work area height. Do not initialize
13323 static variables to 0.
13325 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13327 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13329 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13330 LFUN_LAYOUT_PARAGRAPHS.
13332 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13333 tabular. It is possible to provide a possible cell, which will
13334 typically be the actcell from the corresponding insettabular
13336 * lyxfunc.C (getStatus): small cleanup; disable
13337 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13340 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13342 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13344 * paragraph.C (startTeXParParams):
13345 (endTeXParParams): new methods. The LaTeX code to
13346 start/end paragraph formatting
13347 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13348 empty (fixes bug #200)
13350 * vspace.C (inPixels): adapt to the change below
13351 (inPixels): [later] more cleanups (remove unused variables)
13353 * lyxlength.C (inPixels): change to use a width and a height as
13356 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13358 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13359 Replaced with \paperwidth
13361 * DepTable.C (insert): add std:: qualifier
13363 2002-01-18 Allan Rae <rae@lyx.org>
13365 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13368 * text.C (drawInset): Turned out I didn't know enough about how
13369 rebreaking worked. This fixes most of the redraw problems. I see
13370 an occasional cursor trail when a line is broken now and the cursor
13371 placement can seem out by a few pixels also after a rebreak.
13373 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13375 * buffer.C (parseSingleLyXformat2Token): update because minipage
13376 width is now a LyXLength
13378 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13380 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13383 2002-01-17 Juergen Vigna <jug@sad.it>
13385 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13387 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13388 is set correctly and the inset is updated correctly.
13390 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13392 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13393 the beginning of the loop.
13395 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13397 * lyxrc.C: improve help for use_scalable_fonts
13399 2002-01-17 Allan Rae <rae@lyx.org>
13401 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13403 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13405 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13406 make sure to set their inset_owner to the right value (bug #171)
13408 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13411 * DepTable.C: Implement mtime checking to reduce time spent doing
13414 2002-01-16 Juergen Vigna <jug@sad.it>
13416 * tabular.C (GetAdditionalHeight): one of error fixed.
13418 * lyxrc.C (output): small fix in writing use_pspell.
13420 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13422 * sp_base.h: #include LString.h
13424 2002-01-16 Allan Rae <rae@lyx.org>
13426 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13427 Can someone check this please?
13429 * text.C (drawInset): It was possible that p.row would be removed by
13430 breakAgainOneRow upsetting a few other settings. There may be another
13431 small tweak possible by setting need_break_row = 0 when p.row has been
13432 removed but I don't know enough about the logic here.
13434 2002-01-15 Allan Rae <rae@lyx.org>
13436 * text.C (insertChar): removed conditional truism.
13438 * BufferView2.C (removeAutoInsets): More tweaks.
13439 cur_par_prev could be a stray pointer. Check for trailing empty line
13440 in case last line was cur_par and only had an error inset on it.
13442 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13444 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13447 * vc-backend.C (most methods):
13448 * exporter.C (Export):
13449 * converter.C (convert):
13451 * LyXSendto.C (SendtoApplyCB):
13452 * lyxfunc.C (dispatch):
13456 * lyx_cb.C (AutoSave):
13458 * BufferView_pimpl.C (MenuInsertLyXFile):
13459 * buffer.C (runChktex): use Buffer::filePath().
13461 * buffer.h: rename filename to filename_; rename filepath to
13462 filepath_ and make it private
13463 (filePath): new method
13465 * buffer.C (writeFile): use fileName()
13468 * lyx_main.C (init): fix starting of LyX when the binary is a
13469 link from so,ewhere else.
13471 * minibuffer.C: include <cctype> for isprint
13473 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13475 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13476 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13477 name clash with InsetCollapsable's width function.
13479 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13481 * lastfiles.C: include <iterator>
13483 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13485 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13488 * buffer.C (makeLaTeXFile): ditto.
13489 Also make loop operation more transparent.
13491 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13493 * ToolbarDefaults.C: remove trailing comma closing namespace.
13495 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13497 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13500 * trans.C (Load): comment out unused variable, allowed.
13502 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13504 * minibuffer.[Ch] (append_char): new method to recieve input from the
13505 drop-down completion browser. If a key was pressed, then recieve this
13506 char and append it to the existing string.
13507 (peek_event): modify the positioning data passed to the completion
13508 browser so that it can be placed above the minibuffer rather than below.
13509 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13511 * LyXAction.C (init): alloe error-next for readonly documents.
13513 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13516 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13518 * bufferlist.C (readFile): create the buffer _after_ checking that
13521 * lyxfunc.C (verboseDispatch): fix handling of arguments
13523 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13525 * lyxrc.C: use string::erase() instead of initializing to "".
13528 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13530 * BufferView_pimpl.h:
13531 * BufferView_pimpl.C:
13534 * text2.C: tell X when we have made a selection for copying
13536 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13538 * BufferView_pimpl.C (MenuInsertLyXFile):
13539 * lyxfunc.C (menuNew):
13541 (doImport): add shortcuts to directory buttons
13543 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13546 * lyxfunc.C (setStatusMessage):
13547 (getStatusMessage): new methods
13548 (getStatus):use setStatusMessage instead of setErrorMessage
13549 (dispatch): when function is disabled, set error message here
13550 [instead of in getStatus previously]
13552 * BufferView_pimpl.C (workAreaButtonRelease): update
13553 toolbar/menubar here too.
13555 2002-01-13 Allan Rae <rae@lyx.org>
13557 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13558 Now seems indestructible. Remaining task is to audit all other
13559 code affected by deleteEmptyParagraphMechanism. One small quirk
13560 left is that an empty document with an error in the preamble can
13561 be made to report an error but no error box appears. I don't know
13563 (removeAutoInsets): Improved comments.
13565 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13568 * Thesaurus.C: update for Aiksaurus 0.14
13570 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13572 * text2.C (firstParagraph): removed member function, all uses
13573 replaces with ownerParagraph
13574 (redoParagraphs): here
13575 (updateInset): here
13576 (toggleAppendix): here
13577 * BufferView2.C (insertErrors): here
13578 (setCursorFromRow): here
13580 2002-01-13 Allan Rae <rae@lyx.org>
13582 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13583 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13584 There is still a way to segfault this although you may have to do this
13585 multiple times: Have an InsetERT with an unknown command in it.
13586 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13587 <down-arrow>, <Enter> again, View->DVI, BANG!
13589 * text2.C (setCursor):
13590 (deleteEmptyParagraphMechanism):
13591 * lyxtext.h (setCursor):
13592 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13593 Making use of the return value may help fix other bugs.
13595 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13597 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13599 * LyXView.C (updateMenubar): call MenuBar::update here
13600 (updateToolbar): but not here
13601 (showState): do not update toolbar/menubar
13603 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13604 should need to care about that.
13606 * lyxfunc.C (verboseDispatch): simplify a bit
13607 (getStatus): have a version which takes a pseudoaction, and
13608 another which requires a (kb_action,string).
13610 * LyXAction.C (retrieveActionArg): make it work also when action
13611 is not a pseudo-action.
13612 (getActionName): simplify a bit
13615 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13617 * lyxfunc.C (verboseDispatch): new families of methods with
13618 several ways to specify a command and a bool to indicate whether
13619 the command name and shortcut should be displayed in minibuffer
13620 (eventually, we could extend that to a finer bitmask like
13621 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13622 (dispatch): the pristine dispatch command which just, well,
13623 dispatchs! Note it still sets its result to minibuffer; I'm not
13626 * lyxfunc.h: remove setHintMessage
13628 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13630 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13632 * BufferView_pimpl.C (specialChar): delete new inset if we have
13633 not been able to insert it.
13635 * kbmap.C: revert to using int instead of kb_action, since all we
13636 are dealing with is pseudo-actions.
13638 * LyXAction.C (searchActionArg): change to return int instead of
13639 kb_action, since the result is a pseudoaction.
13641 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13643 * buffer.C (insertErtContents): Fix (partially) the font bug.
13645 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13647 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13648 as the other one is broken on my machine!
13650 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13653 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13655 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13657 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13658 reflect their actual use. Provide compatibility code for older lyxrc
13661 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13663 change names of popup font variables in line with the changes to lyxrc.C
13665 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13667 * buffer.C (asciiParagraph): avoid outputing a word twice after
13670 * lyxrc.C (getDescription): document that document_path and
13671 template_path can be empty.
13673 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13675 * LaTeXFeatures.C (getMacros):
13676 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13678 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13680 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13682 (getPackages): rename feature "floats" to "float". Use an array to
13683 iterate over 'simple' features (i.e. just a \usepackage). Add
13684 handling of "amsmath" (renamed from "amsstyle").
13686 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13688 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13691 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13693 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13694 FuncStaus::FuncStatus & FuncStaus::some_method().
13696 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13698 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13699 of the func_satus stuff. Edited and massaged in various ways by
13702 * lyxfunc.C (getStatus): use FuncStatus
13704 2002-01-08 Juergen Vigna <jug@sad.it>
13706 * text.C (nextBreakPoint): use function Inset::isChar().
13708 * paragraph.C (TeXOnePar): use function
13709 Inset::forceDefaultParagraphs.
13711 * buffer.C (latexParagraphs): use function
13712 Inset::forceDefaultParagraphs.
13714 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13716 * lyx_gui.C (init): set the style of the menu popups to
13717 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13719 2002-01-07 Juergen Vigna <jug@sad.it>
13721 * text.C (setHeightOfRow): small fix
13722 (prepareToPrint): don't look at alignment if we don't have the place
13725 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13727 * box.C: New file. Move the Box methods and functions out of box.h,
13728 following Lars' suggestion.
13730 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13732 * box.h: #include "support/LOstream.h", needed for inlined function.
13735 * lyxtextclasslist.C: added some using std declarations.
13737 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13739 * box.h: make signed dimensions to allow insets wider than
13740 the screen (bug #162)
13742 * BufferView_pimpl.C: add some insetHit debug
13744 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13746 * vc-backend.C: add FIXME
13748 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13750 * lyxfunc.C (getStatus): enable code for showing math font status
13753 2002-01-07 Juergen Vigna <jug@sad.it>
13755 * text.C (nextBreakPoint): removed debug output not needed anymore.
13757 2002-01-06 Juergen Vigna <jug@sad.it>
13759 * text.C (nextBreakPoint): fixed up this function we had this bug
13760 since ever but now hopefully we break row better.
13761 (insertChar): we have to check if an inset is the next char as it
13762 could now happen that a large inset is causing a break.
13764 2002-01-05 Juergen Vigna <jug@sad.it>
13766 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13767 if it doesn't like to be drawed.
13769 2002-01-04 Juergen Vigna <jug@sad.it>
13771 * BufferView2.C (lockInset): forgot to set a cursor.
13773 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13775 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13777 * FormMathsPanel.C:
13780 * form_maths_panel.C:
13781 * form_maths_panel.h:
13782 * form_maths_panel.fd: implemented sub- and super- buttons in math
13785 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13786 (or ^ space) to be used as in TeX (req'd by André).
13788 * lyxfunc.C: Allow ^ and _ again to be used both as
13789 super/subscript (mathed) and as themselves (in text).
13791 2002-01-03 Allan Rae <rae@lyx.org>
13793 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13794 "LyX" or the filename of the current buffer if it has one. This is a
13795 modified form of John Levon's patch.
13797 * XFormsView.C (setWindowTitle): also set icon title.
13799 * LyXView.h (setWindowTitle): signature changed.
13800 * XFormsView.h (setWindowTitle): ditto.
13802 2002-01-02 Juergen Vigna <jug@sad.it>
13804 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13806 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13808 * screen.C (topCursorVisible): introduce a temp var for
13809 text->cursor.row(), handle the case where this row is null. (kindo
13812 * text2.C (setCursor): add a couple of asserts.
13814 * paragraph.h (inset_iterator): add -> operator
13816 * paragraph.[Ch] (autoDeleteInsets): remove member function
13818 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13819 cursor pos correctly and handle inset deletion by itself.
13820 (insertErrors): move iterator declaration out of for expression
13822 * lyxtextclass.C: add <algorithm>
13824 * Makefile.am: added the new files to sources, removed layout.C
13826 * layout.C: removed file
13828 * layout.h: remove LYX_DUMMY_LAYOUT
13830 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13834 * lyxtextclass.[Ch]:
13835 * lyxtextclasslist.[Ch]: new files
13837 * include order changes to a lot of files, also changes because of
13840 2001-12-27 Juergen Vigna <jug@sad.it>
13842 * buffer.C (asciiParagraph): more fixes.
13844 * tabular.C (ascii): make ascii export support export of only the
13845 data separated by a column-delimiter.
13846 (ascii): better support for ascii export.
13848 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13850 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13852 * tabular_funcs.C: use a "using std::getline" instead of the
13853 previous fix from Angus (necessary for cxx + lyxstring)
13855 2001-12-24 Juergen Vigna <jug@sad.it>
13857 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13859 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13860 problems. First check a minipage also if we have some ert-contents
13861 (not only on par->size(), second set the right depth of the paragraph
13862 on the relink to the root-paragraph-list!
13864 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13865 which then did not anymore update the main paragraphs on undo/redo!
13867 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13869 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13870 code. Support all font-changing funcs (even those which are not in
13871 menu currently). Support for reporting font settings in
13872 mathed (disabled until Andre provides a function on mathed's side).
13874 * func_status.h (toggle): small helper function to set toggle
13877 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13879 * tabular_funcs.C: getline -> std::getline
13881 2001-12-21 Juergen Vigna <jug@sad.it>
13883 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13884 accessed and could be 0 (I couldn't generate this but it seems
13887 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13889 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13890 * tabular_funcs.h: here and include iosfwd
13892 2001-12-20 Juergen Vigna <jug@sad.it>
13894 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13895 inside inset but undo_par was.
13897 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13899 * Thesaurus.C: always include <config.h> in sources.
13903 * box.h: do not include <config.h> in header files
13905 * text.C (paintLastRow): remove unused variable
13907 * text.C (transformChar):
13909 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13911 * Painter.C (text):
13912 * font.C (width): rewrite to use uppercase() instead of
13915 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13917 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13919 * lyxfind.C: clean up of find failure position change
13921 2001-12-20 Juergen Vigna <jug@sad.it>
13923 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13925 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13926 (TeXRow): added to LaTeX a single tabular row.
13927 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13928 (Latex): simplified and finally good LT-h/f support.
13929 (various_functions): just small adaptions for LT-h/f support.
13931 * tabular_funcs.[hC]: added and moved here all not classfunctions
13934 2001-12-19 Juergen Vigna <jug@sad.it>
13936 * tabular.[Ch]: better support for longtabular options (not finished
13939 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13941 * text.C (paintLastRow): use the label font instead of the font of
13942 the last character to compute the size of *_BOX. This makes more
13943 sense and avoids a crash with empty paragraphs.
13944 Use Painter::rectangle to draw EMPTY_BOX.
13946 2001-12-19 Juergen Vigna <jug@sad.it>
13948 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13949 the paragraphs if the replaced paragraph is not the first one!
13950 Tried to delete not used paragraphs but does not work yet so for
13951 now it's inside #ifdef's and by default off!
13953 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13955 * MenuBackend.C: include "lyx_main.h" instead of declaring
13956 lastfiles (actually was declared as LastFiles* instead of a
13959 2001-12-17 Juergen Vigna <jug@sad.it>
13961 * tabular.C (AppendColumn): applied John's fix
13963 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13967 * BufferView_pimpl.h:
13968 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13971 * box.h: new start of class for above
13973 * lyxfunc.C: ignore space-only minibuffer dispatches.
13974 Show the command name when it doesn't exist
13976 * minibuffer.C: don't add empty lines to the history
13978 * minibuffer.C: add a space on dropdown completion
13980 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13982 * text.C: fix line above/below drawing in insets
13984 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13986 * lyxlength.C (LyXLength): Initialize private variables.
13988 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13990 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13991 when inserting error insets.
13993 2001-12-13 Juergen Vigna <jug@sad.it>
13995 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13996 actually sometimes the before-paragraph.
13997 (setUndo): don't clear the redostack if we're not actually undoing!
13999 2001-12-06 Juergen Vigna <jug@sad.it>
14001 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14002 and fixed redoing of main paragraph, so we can use it now ;)
14004 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14006 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14008 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14011 2001-12-13 André Pönitz <poenitz@gmx.net>
14014 * undo_func.C: minor cleanup
14016 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14018 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14019 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14020 font in urw-fonts package which is marked as -urw-fontspecific and
14021 does not work (incidentally, changing the encoding in the
14022 fonts.dir of this package to -adobe-fontspecific fixes the
14025 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14026 is a crash when undoing first paragraph (Juergen, please take a
14027 look). THis does not mean the undo fix is wrong, just that it
14030 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14031 the (Paragraph*) version when needed instead of duplicating the
14034 * text.C (workWidth): use Inset::parOwner to find out where the
14035 inset has been inserted. This is a huge performance gain for large
14036 documents with lots of insets. If Inset::parOwner is not set, fall
14037 back on the brute force method
14039 * paragraph_pimpl.C (insertInset):
14040 * paragraph.C (Paragraph):
14041 (cutIntoMinibuffer): set parOwner of insets when
14042 inserting/removing them
14044 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14046 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14052 * mathed/formulabase.C:
14053 * mathed/math_cursor.[Ch]:
14054 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14057 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14059 * lyxlength.[Ch] (operator!=): new function
14061 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14063 * text.C (workWidth): use Inset::parOwner to find out where the
14064 inset has been inserted. This is a huge performance gain for large
14065 documents with lots of insets. If Inset::parOwner is not set, fall
14066 back on the brute force method
14068 * paragraph_pimpl.C (insertInset):
14069 * paragraph.C (Paragraph):
14070 (cutIntoMinibuffer): set parOwner of insets when
14071 inserting/removing them
14073 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14075 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14077 * tabular-old.C (getTokenValue):
14078 * tabular.C (getTokenValue):
14079 (write_attribute): new versions for LyXLength
14080 (everywhere): adjust the use of widths
14082 * tabular.h: change the type of widths from string to LyXLength
14084 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14086 * paragraph.C: fixed missing line number count when exporting
14087 Environments to LaTeX file
14089 * buffer.C: added informational message for checking line numbers.
14091 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14093 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14094 paragraph, do the 'double space' part, but not the 'empty
14097 * text.C (workWidth): small optimization
14098 (getLengthMarkerHeight): use minimal size for negative lengths.
14100 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14102 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14104 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14106 2001-12-11 André Pönitz <poenitz@gmx.net>
14109 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14111 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14113 * text2.C: keep selection on a setFont()
14115 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14117 * lyx_cb.C: another bv->text misuse, from insert label
14119 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14122 * kbsequence.C: re-instate nmodifier mask
14124 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14126 * lyx_main.h: make lyxGUI private.
14128 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14130 * lyxfind.C: place the cursor correctly on failed search
14132 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14134 * text.C (getLengthMarkerHeight): for small heights, the arrows
14135 are not always on top/bottom of the text
14136 (drawLengthMarker): smaller arrows; take the left margin in
14137 account; draw also vfills.
14139 (paintLastRow): remove special code for vfill and standard spaces,
14140 since everything is handled in drawLengthMarker now.
14142 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14144 * buffer.C (insertErtContents): try to handle font and language
14145 interaction a bit better.g
14147 * ColorHandler.C (updateColor): change the hash to cover the whole
14148 LColor enum, ws cleanup
14149 (getGCLinepars): ditto
14150 (getGCLinepars): only lookup in the linecache once.
14152 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14154 * iterators.C (operator++): Make the iterator more robust
14156 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14158 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14160 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14163 * text.C: better added space drawing
14165 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14168 * BufferView2.C: fix layout combo update on inset unlock
14170 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14172 * Makefile.am: don't compile unused files
14174 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14178 * LyXAction.C: remove old LFUN_LAYOUTNO
14180 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14182 * paragraph_pimpl.h:
14183 * paragraph_pimpl.C: isTextAt() doesn't need font param
14185 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14188 * lyxlex.C: little cleanup
14190 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14192 * BufferView_pimpl.C: fix insertAscii for insets
14194 2001-12-05 Juergen Vigna <jug@sad.it>
14196 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14197 set the right font on the "multi" paragraph paste!
14199 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14205 * lyxlength.C: remove out-commented code.
14207 * BufferView_pimpl:
14221 * vc-backend.C: change "while(" to "while ("
14223 * lyxlength.[Ch]: add zero function to check if length is zero or
14225 * lyxgluelength.C: use it
14227 2001-12-05 Allan Rae <rae@lyx.org>
14229 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14230 Works for 2.95.3, from what I understand of Garst's reports this should
14231 work for other g++ versions. We're screwed if the abs(int) definition
14232 changed between bugfix releases of gcc.
14234 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14236 * text.C: fix chapter label offset !
14238 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14241 * text.C: fix hfill at end of line, clean up
14243 2001-12-04 Juergen Vigna <jug@sad.it>
14245 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14246 that we force an update of the inset and it's owners if neccessary.
14248 2001-12-03 Juergen Vigna <jug@sad.it>
14250 * text.C (rowLast): simplified code
14252 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14254 * lyxfunc.C: fix show options on timeout
14256 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14258 * screen.C (topCursorVisible): scroll half a page when the cursor
14259 reached top of bottom of screen
14261 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14263 * minibuffer.C: deactivate on loss of focus
14265 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14267 * vspace.[Ch] (operator!=): add operator.
14269 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14271 * BufferView_pimpl.C: refuse to open an inset when
14272 there's a selection.
14274 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14276 * BufferView_pimpl.C: allow to click on RHS of full row insets
14278 2001-11-30 Juergen Vigna <jug@sad.it>
14280 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14281 insets for undo reasons.
14283 2001-11-28 André Pönitz <poenitz@gmx.net>
14285 * vspace.[Ch]: cosmetical changes
14287 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14297 * kbsequence.C: part re-write of old kb code
14300 * WorkArea.C: remove Lgb_bug_find_hack
14302 2001-11-30 José Matos <jamatos@fep.up.pt>
14304 * buffer.C (makeDocBookFile): add a comment to point a hack.
14305 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14306 Fixed a double write of labels.
14308 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14311 * LaTeX.h Fixed bug in LaTeX class where it would not
14312 re-run latex if no depfiles were changed, but the .dvi was removed.
14314 2001-11-28 André Pönitz <poenitz@gmx.net>
14316 * all the files from the change on 2001/11/26:
14317 use lyx::layout_type instead of LyXTextClass::size_type
14318 use lyx::textclass_type instead of LyXTextClassList::size_type
14320 2001-11-29 Juergen Vigna <jug@sad.it>
14322 * text.C: added support for paragraph::isFreeSpacing()
14324 * buffer.C: same as above
14326 * paragraph.h: inserted isFreeSpacing() function to enable
14327 FreeSpacing inside InsetERT.
14329 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14330 of the paragraph's in the cut/copy buffer to 0!
14332 * text2.C (removeRow): remove the assert as it can!
14334 * lyxtext.h: added helper function firstRow returning firstrow and
14335 made firstrow private again.
14337 * BufferView2.C (lockInset): don't relock if we're already locked!
14339 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14340 the only paragraph.
14341 (removeRow): added Assert::(firstrow)
14343 * debug.C: forgot to add INSETTEXT here.
14345 2001-11-28 Juergen Vigna <jug@sad.it>
14347 * sp_spell.C (initialize): changed error text to more general
14348 spellchecker command use (not only ispell!)
14350 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14352 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14354 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14356 * vspace.C: initialise lyxgluelength on failure
14358 2001-11-28 Allan Rae <rae@lyx.org>
14360 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14361 declaration & definition that looks like a function declaration.
14363 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14365 * BufferView2.C (copy):
14366 (copyEnvironment): do not clear the selection when doing a copy.
14368 * text.C (paintFirstRow): compilation fix
14370 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14372 * tabular.C (Latex): correct line count when writing latex.
14374 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14376 * paragraph_pimpl.h:
14377 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14380 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14384 * LColor.C: change vfillline->added_space
14386 * text.C: add markers and text for added space
14388 * vspace.C: fix comment
14390 2001-11-28 André Pönitz <poenitz@gmx.net>
14392 * paragraph.C: whitespace changes
14393 * all the other files from the change on 2001/11/26:
14394 change *::pos_type into lyx::pos_type
14396 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14398 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14399 language of the document when inserting error insets.
14401 2001-11-26 André Pönitz <poenitz@gmx.net>
14403 * BufferView_pimpl.[Ch]:
14411 * paragraph_pimpl.[Ch]:
14414 * text2.C: reduce header dependencies, introduce type for positions
14416 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14418 * <various>: change to use Alert.h
14420 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14422 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14423 when encountering an unknown token.
14424 (readLyXformat2): Show an error message if there were unknown tokens.
14426 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14429 * BufferView_pimpl.C:
14433 * text2.C: use par->isInset()
14435 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14437 * paragraph_pimpl.h:
14438 * paragraph_pimpl.C: cleanup
14440 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14442 * text2.C (removeRow):
14443 * text.C (setHeightOfRow): remove useless (and costly) call to
14446 2001-11-20 Allan Rae <rae@lyx.org>
14448 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14449 Now need Inset*::checkInsertChar() to return true for appropriate
14450 cases so that the characters in the minibuffer will actually be
14453 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14455 * text.C: change the order of the includes.
14456 (workWidth): initialize it at once.
14457 (workWidth): make maxw unsigned
14458 (setHeightOfRow): remove unused variable (inset)
14459 (selectSelectedWord): remove unused variable (inset)
14460 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14462 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14464 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14465 server is not running.
14467 (closeConnection): add debug info when server is disabled.
14469 * ColorHandler.C (getGCForeground): send debug message to GUI
14472 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14474 * kbmap.C (bind): modify because return conventions of
14475 kb_sequence::parse have changed.
14477 * kbsequence.C (parse): only ignore spaces and not any stupid
14478 control character. This avoids tests like s[i] <= ' ', which are
14479 guaranteed to fail with 8bit characters and signed chars.
14480 Change return code to string::npos when there have been no error
14481 (0 was a bad idea when error is at first character)
14483 2001-11-14 José Matos <jamatos@fep.up.pt>
14486 * buffer.C (simpleDocBookOnePar): removed unused argument.
14488 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14490 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14491 insets which are part of a word. Paragraph::isLetter takes care of
14492 that now. Use Paragraph::isInset to identify insets.
14493 (selectSelectedWord): do not test for hyphenation break.
14495 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14496 that protected spaces are considered as spaces.
14498 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14501 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14504 * lyxserver.C: fix it. and small cleanup.
14506 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14508 * BufferView_pimpl.C: use inline helpers
14511 * LaTeXFeatures.C: fix typos
14514 * Spacing.C: move spacing_string into class
14516 * ToolbarDefaults.C: move stuff into namespace anon
14518 * layout.h: update enum
14520 * lyxfunc.C: use better debug
14522 * minibuffer.h: fix typo
14526 * WorkArea.C: add and use Debug::WORKAREA
14530 * text2.C: code re-organisation, inline helpers
14532 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14534 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14535 std::vector.empty().
14537 2001-11-09 Allan Rae <rae@lyx.org>
14539 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14540 '\n's after tables. Tabular and ERT inset work now makes this no
14543 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14546 * minibuffer.C: fix crash, improve drop-down completion
14548 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14551 * lyxserver.C: invalidate fd's when doing endPipe()
14553 2001-11-08 José Matos <jamatos@fep.up.pt>
14555 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14556 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14559 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14561 2001-11-07 José Matos <jamatos@fep.up.pt>
14564 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14567 * buffer.C (sgmlOpenTag):
14568 * buffer.C (sgmlCloseTag): removed debug info.
14570 * buffer.h (sgmlOpenTag):
14571 * buffer.h (sgmlCloseTag): made public.
14573 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14575 * buffer.C (saveParamsAsDefaults):
14576 * lyx_cb.C (MenuLayoutSave): remove
14578 * LyXAction.C (init):
14580 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14582 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14584 * buffer.C (setPaperStuff): removed from here...
14586 * bufferparams.C (setPaperStuff): ... and moved there.
14588 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14592 * XFormsView.C: add support for drop-down completion
14594 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14596 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14599 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14601 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14604 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14606 * lyx_main.C: change ref to known bugs
14608 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14610 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14611 to work around older babel problems.
14613 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14615 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14617 2001-10-24 Juergen Vigna <jug@sad.it>
14619 * tabular-old.C (ReadOld): below variable changes reflected.
14621 * tabular.[Ch]: added ltType struct for longtable header/footer
14622 defines and changed all instances where they are used. Added
14623 future support for double top/bottom rows.
14625 2001-10-24 José Matos <jamatos@fep.up.pt>
14627 * buffer.h (docbookHandleCaption):
14628 * buffer.C (docbookHandleCaption): removed unused function.
14629 (makeDocBookFile): moved docbook supported version to v4.1.
14631 2001-10-24 José Matos <jamatos@fep.up.pt>
14634 * tabular.C (docbookRow): new function to export docbook code of a row.
14635 (DocBook): now honors the longtable flags.
14637 2001-10-23 José Matos <jamatos@fep.up.pt>
14640 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14641 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14643 * buffer.C (makeLinuxDocFile):
14644 (makeDocBookFile): reworked the preamble, more clean, and with
14645 support for lyx defined entities. Changed the document declaration
14646 to be more XML friendly.
14648 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14649 if we need to output XML that should be done with a filter.
14651 2001-10-22 Juergen Vigna <jug@sad.it>
14653 * sp_pspell.h (class PSpell): add alive function needed in the
14654 controller to see if the spellchecker could be started.
14656 2001-10-22 Juergen Vigna <jug@sad.it>
14658 * buffer.C (insertStringAsLines): modify the font for inserting
14659 chars in certain conditions by calling checkInsertChar(font).
14661 2001-10-19 Juergen Vigna <jug@sad.it>
14663 * text.C (workWidth): use getRow instead of wrong algorithm.
14664 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14666 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14671 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14673 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14675 * text.C (workWidth): do not search for the exact row when
14676 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14677 optimization for big documents.
14679 2001-10-18 Juergen Vigna <jug@sad.it>
14681 * text.C (workWidth): new function with added Inset * parameter.
14683 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14685 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14687 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14688 change return type of getColumnNearX.
14691 * text.C (changeRegionCase): use uppercase/lowercase instead of
14694 (rightMargin): simplify code by factoring out the uses of
14699 (appendParagraph): use Paragraph::size_type
14701 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14703 * vspace.C (asLatexString): add a missing break
14705 2001-10-15 Herbert Voss <voss@perce.de>
14707 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14709 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14711 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14714 2001-10-10 André Pönitz <poenitz@gmx.net>
14716 * lyxfunc.C: removed greek_kb_flag.
14718 2001-10-10 Herbert Voss <voss@perce.de>
14720 * lyx_main.C: delete global string help_lyxdir.
14722 2001-10-09 Herbert Voss <voss@perce.de>
14724 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14726 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14728 * lyx_main.C: added global string help_lyxdir.
14730 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14732 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14734 * lyxrc.C (set_font_norm_type): support iso8859-4
14736 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14738 * LaTeX.C (deplog): add another regex for MikTeX
14740 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14742 * lyxrc.C (set_font_norm_type): support iso8859-3
14744 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14746 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14748 * LaTeXFeatures.C: remove special case of french and index
14750 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14751 before \begin{document}). This solves several incompatibilities.
14753 2001-10-03 Garst Reese <reese@isn.net>
14755 * lyx_cb.C: change CheckTex error msg.
14757 2001-10-03 José Matos <jamatos@fep.up.pt>
14759 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14761 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14763 * .cvsignore: update
14765 * lyx_main.C (commandLineVersionInfo): use new style version info.
14767 * buffer.C (writeFile):
14769 (makeLinuxDocFile):
14770 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14772 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14774 * version.h: update to use stuff in version.C
14776 * version.C.in: new file. Contains version information determined
14777 at compile time. This is a merging of version.h and
14780 2001-10-03 Juergen Vigna <jug@sad.it>
14782 * BufferView_pimpl.C (update): don't change "dirty" status in
14785 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14787 * WorkArea.C (c-tor): re-position version string slightly.
14789 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14791 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14792 revert to previous code.
14794 WorkArea.[Ch]: (show, destroySplash): methods removed.
14796 WorkArea.C: rework code so that it's an amalgam of the codes before and
14797 after the splash screen was moved to WorkArea.
14799 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14802 * vspace.C (inPixels):
14805 * buffer.C (insertStringAsLines):
14806 (asciiParagraph): fix types to be large enough
14808 * lyxlex_pimpl.h: change member status from short to int
14810 * layout.h: fix type of endlabeltype
14813 * kbsequence.C (parse): change return type to string::size_type
14815 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14818 * Bullet.C (bulletSize):
14819 (bulletEntry): do not use short ints as parameters
14821 * BufferView2.C (insertLyXFile): change a char to an int.
14823 * WorkArea.C (WorkArea): remove unneeded floats in computation
14825 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14827 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14829 * paragraph.C (asString): Do not ignore newline/hfill chars when
14830 copying to the clipboard.
14832 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14834 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14835 after a multi-line inset.
14837 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14839 * paragraph.C (validate): Set NeedLyXFootnoteCode
14841 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14843 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14844 and decrease-error to decrease.
14846 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14848 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14849 it more readable (should be equivalent)
14851 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14853 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14855 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14857 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14858 of a cursor (row, etc.) after a character has been deleted
14859 (deleteEmptyParagraphMechanism): call the method above on _all_
14860 cursors held by the LyXText when a double space has been
14863 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14865 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14867 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14869 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14870 background. Use greyOut() and the new show() methods to toggle between
14871 the foreground and background. Add code to remove the splash after
14872 its initial showing.
14874 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14875 (create_forms): no longer call Dialogs::showSplash.
14877 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14879 * .cvsignore: add version_info.h
14881 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14883 * version_info.h.in: new file
14885 * Makefile.am: add version_info.h.in
14887 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14888 version_info.h instead of VERSION_INFO
14890 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14892 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14893 The ERT inset now returns string().
14895 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14897 * lyxtext.h, text.C (selectNextWord): renamed as
14898 selectNextWordToSpellcheck.
14900 * text.C (selectNextWordToSpellcheck): Modified to not select
14901 words inside an ERT inset.
14903 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14905 * lyx_cb.C (MenuLayoutSave): change a bit the question
14907 * sp_base.h: include <sys/types.h>
14909 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14911 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14913 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14915 * several files: fix typos in user-visible strings
14917 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14919 * text2.C (pasteSelection): do not set the selection, since it
14920 will be cleared later. Actually, the intent was to fix the way the
14921 selection was set, but I figured rmoving the code was just as good.
14923 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14925 * FontLoader.C (available): Check if font is available without
14928 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14930 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14932 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14934 * lyxrc.[Ch]: added display_graphics variable and associated code.
14936 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14938 * bufferparams.C (hasClassDefaults): new method. Returns true if
14939 the buffer parameters correspond to known class defaults
14941 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14943 * XFormsView.C (show): set minimum size to the main window.
14945 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14947 * text2.C (copySelection):
14949 * lyxfind.C (LyXReplace):
14950 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14951 LyXText::selectionAsString.
14953 * paragraph.C (asString): add "label" argument to the second form
14955 * text2.C (selectionAsString): add "label" argument and pass it to
14956 Paragraph::asString.
14958 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14960 * lyx_main.C (commandLineHelp): remove version information
14962 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14964 * lyx_main.C: add -version commandline option
14966 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14968 * paragraph.h: make the optional constructor arg required instead.
14969 some modifications to other files because of this.
14971 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14973 * lyxserver.C (C_LyXComm_callback): make it static
14975 * lyx_main.C (error_handler): make it static
14977 * lyx_gui.C (LyX_XErrHandler): make it static
14979 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14981 * WorkArea.C: make the extern "C" methods static.
14983 * Makefile.am (lyx_LDADD): simplify
14985 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14987 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14988 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14990 * LyXAction.C (init):
14991 * lyxfunc.C (dispatch): associated code removal.
14993 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14995 * lyxfont.h (isSymbolFont): shut off warning
14997 * text.C (setHeightOfRow):
14998 (getVisibleRow): fix crash with empty paragraphs which have a
15001 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15003 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15006 2001-09-04 José Matos <jamatos@fep.up.pt>
15009 * tabular.C (docbook): rename docBook method to docbook.
15011 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15013 * Makefile.am: add dependencies to main.o.
15015 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15017 * FontLoader.C (available): Return false if !lyxrc.use_gui
15019 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15021 * FontInfo.C (query):
15022 * converter.C (view):
15023 * importer.C (Import):
15024 * exporter.C (Export): Can not -> cannot.
15026 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15028 * BufferView_pimpl.C: allow to create index inset even if
15031 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15033 * buffer.C (getLists): replace boost::tie code with an explicit pair
15034 as boost::tie can break some compilers.
15036 * iterators.h: Added a std:: declaration to the return type of
15039 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15041 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15044 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15046 * iterators.[Ch]: New files. Provide paragraph iterators.
15048 * buffer.C (changeLanguage): Use paragraph iterators.
15049 (isMultiLingual): ditto
15051 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15053 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15055 * FontLoader.C: Support for cmr font.
15057 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15059 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15060 (available): New method.
15062 * FontInfo.C (getFontname): Use scalable fonts even when
15063 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15066 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15068 * converter.C (Formats::view): reverted! Incorrect fix.
15070 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15072 * converter.C (Formats::view): only output the -paper option
15073 if the dvi viewer is xdvi, thereby fixing bug #233429.
15075 2001-08-23 Herbert Voss <voss@perce>
15077 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15079 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15081 * Spacing.h (Spacing): Set space to Default on in the default
15084 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15086 * vc-backend.h (RCS::versionString): add RCS to version
15087 (CVS::versionString): add CVS to version
15089 * vc-backend.C (scanMaster): do not add CVS to version.
15090 (scanMaster): do not add RCS to version
15092 * lyxvc.C (versionString): new method
15094 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15096 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15098 * Spacing.C (set): initialize fval
15100 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15102 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15105 2001-08-16 Juergen Vigna <jug@sad.it>
15107 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15109 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15111 * BufferView_pimpl.C:
15114 * text2.C: setParagraph takes linespacing now
15116 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15118 * LyxAction.C: add internal LFUN_CITATION_INSERT
15120 * LyXView.C: actually apply fix
15122 * bufferlist.C: fix open non-existent file
15124 * lyxfind.C: fix indentation
15126 * lyxfunc.C: remove unneeded assert, fix typo
15128 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15130 * MenuBackend.C: use "Floatname List"
15132 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15134 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15135 when converting LaTeX layout to insetERT.
15136 Generate a non-collapsed float when reading old float
15138 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15140 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15143 2001-08-13 Juergen Vigna <jug@sad.it>
15145 * text.C (fill): return 0 instead of 20 as this seems to be the more
15148 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15150 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15153 2001-08-13 Juergen Vigna <jug@sad.it>
15155 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15157 (SearchBackward): comment out the unlocking of the inset_owner this
15158 should not be needed!
15160 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15162 * Many files: Remove inherit_language, and add latex_language
15164 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15165 collapsible insets.
15167 2001-08-10 Juergen Vigna <jug@sad.it>
15169 * text.C (prepareToPrint): fixed hfill-width in draw!
15171 * BufferView2.C (selectLastWord): save the selection cursor as this
15172 now is cleared in the function LyXText::clearSelection!
15174 2001-08-08 Juergen Vigna <jug@sad.it>
15176 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15177 BACKSPACE type functions.
15179 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15180 is only cutted from the document but not put in the cut-buffer, where
15181 still the old stuff should be.
15183 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15185 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15187 * tabular.C (SetWidthOfCell): fixed special case where the width
15189 (LeftLine): handle '|' in align_special.
15191 (LeftAlreadyDrawed): ditto
15192 (SetWidthOfCell): ditto
15194 2001-08-07 Juergen Vigna <jug@sad.it>
15196 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15198 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15200 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15201 * lyxlex.[hC]: ditto
15203 2001-08-06 Juergen Vigna <jug@sad.it>
15205 * text.C (getVisibleRow): fix up row clearing a bit.
15207 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15209 * minibuffer.C: make sure the X server sees the changes in the input.
15211 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15213 * paragraph.C (getFont): split into...
15214 (getLabelFont): this
15215 (getLayoutFont): and this
15216 * paragraph_pimpl.C (realizeFont): calling this
15218 * text2.C (getFont): split into...
15219 (getLayoutFont): this
15220 (getLabelFont): and this
15221 (realizeFont): all three calling this
15223 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15226 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15228 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15230 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15232 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15233 layouts from the Quote inset insertion.
15235 2001-08-03 Juergen Vigna <jug@sad.it>
15237 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15239 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15240 only if status not is already CHANGED_IN_DRAW (second level).
15242 * text.C (draw): don't set the need_break_row when inside an
15245 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15247 * buffer.C (parseSingleLyXformat2Token): handle more latex
15250 * bufferview_funcs.[hC]: change function names to
15251 begin with small char, adjust other files.
15253 2001-08-02 André Pönitz <poenitz@gmx.net>
15256 BufferView_pimpl.C: remove broken special code for math-greek
15258 2001-08-02 Juergen Vigna <jug@sad.it>
15260 * BufferView_pimpl.C (update): redone this function so that we
15261 update the text again if there was a CHANGE_IN_DRAW.
15263 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15264 (drawFromTo): added a new internal bool which is used by draw() and
15266 (general): some cursor drawing problems fixed.
15268 2001-08-01 Juergen Vigna <jug@sad.it>
15270 * lyxfind.C (LyXFind): fixed
15271 (SearchForward): ditto
15272 (SearchBackward): ditto
15274 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15275 spurius drawing of the cursor in the main area.
15277 * text2.C (status): small fix which could lead to a segfault!
15278 (clearSelection): remove unneeded BufferView param.
15280 2001-08-01 André Pönitz <poenitz@gmx.net>
15282 * lyxfunc.C: small change due to changed mathed interface
15284 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15286 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15288 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15290 * lyxfunc.c: fail gracefully if file doesn't exist
15295 * BufferView_pimpl.C: IsDirWriteable() proto changed
15297 * LyXView.C: fix updateWindowTitle() to store the last title
15299 2001-07-31 Juergen Vigna <jug@sad.it>
15301 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15302 the font (wrong since using of Paragraph::highestFontInRange).
15304 * paragraph.C (highestFontInRange): added a default_size parameter.
15306 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15307 (setHeightOfRow): reformat
15309 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15311 * converter.[hC] + affected files: move to (inital-char)lowercase
15314 * ParagraphParameters.C (ParagraphParameters): remove commented code
15316 * PainterBase.[Ch]: remove commented code
15318 * LaTeXFeatures.h: add "bool floats" for float.sty
15320 * LaTeXFeatures.C (LaTeXFeatures): init floats
15321 (require): handle float
15322 (getPackages): do it with floats
15324 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * BufferView_pimpl.C (Dispatch): improve handling of
15327 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15329 * commandtags.h: #include lyxfont.h here temporarily to avoid
15332 * bufferlist.h: include LString.h here.
15334 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15336 * text2.C (getStringToIndex): new method.
15338 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15340 * *: Reduced header file dependencies all over.
15342 2001-07-30 Baruch Even <baruch@lyx.org>
15344 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15346 2001-07-29 Baruch Even <baruch@lyx.org>
15348 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15350 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15352 * ParameterStruct.h (endif): add a default constructor to make
15353 sure that all variables is initialized.
15355 * ParagraphParameters.C (ParagraphParameters): adjust
15357 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15359 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15360 index; also, check that there is something to index, and that it
15361 does not span over several paragraphs.
15362 (doubleClick): use WHOLE_WORD_STRICT for double click.
15364 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15366 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15369 2001-07-26 Baruch Even <baruch@lyx.org>
15371 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15372 an InsetFig figure, backwards compatible reading of old figure code.
15374 2001-07-27 Juergen Vigna <jug@sad.it>
15376 * text2.C: font.realize function adaption.
15378 * text.C (draw): add a warnings lyxerr text if needed.
15380 * layout.C: font.realize function adaption.
15382 * language.C: add inherit_language and implement it's handlings
15384 * bufferview_funcs.C (StyleReset): remove language parameter from
15385 font creation (should be language_inherit now).
15387 * bufferparams.C (writeFile): handle ignore_language.
15389 * paragraph.C (getFontSettings): the language has to be resolved
15390 otherwise we have problems in LyXFont!
15392 * lyxfont.C (lyxWriteChanges): added document_language parameter
15393 (update): removed unneeded language parameter
15395 * paragraph.C (validate): fixed wrong output of color-package when
15396 using interface colors for certain fonts in certain environments,
15397 which should not seen as that on the final output.
15399 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15401 * BufferView_pimpl.C:
15406 * LyXAction.C: add thesaurus support
15409 * lyxfind.C: add "once" parameter, for thesaurus, to not
15410 move to the next match
15412 2001-07-26 Juergen Vigna <jug@sad.it>
15414 * lyxfont.C (realize): honor ignore_language too!
15417 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15419 * text.C (draw): one place more for ignore_language to not draw
15422 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15424 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15426 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15428 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15429 the minipage conversion problem.
15431 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15433 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15436 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15438 * BufferView.h: don't forward declare WorkArea
15440 * BufferView.C: don't include WorkArea.h
15442 2001-07-25 André Pönitz <poenitz@gmx.net>
15446 * lyxfunc.C: new LFUN 'math-space'
15448 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15450 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15452 * text2.C (toggleInset): call open/close
15454 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15456 * lyxfunc.C (dispatch): add debug for the disabled case
15458 * font.C (buttonText): make similar to rectText
15460 * buffer.C (readInset): comment out parsing of insetlist and
15463 * PainterBase.C (rectText): small correction
15465 * BufferView_pimpl.C: comment out insettheorem and insetlist
15466 * LyXAction.C: ditto
15467 * commandtags.h: ditto
15469 2001-07-24 Juergen Vigna <jug@sad.it>
15471 * text.C (draw): honor the ignore_language.
15473 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15475 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15477 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15480 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15482 * lyxtext.h: remove unused (and unimplemented) methods
15484 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15486 * text.C (getVisibleRow): honor background color
15489 * Painter.h: remove default color argument for fillRectangle
15491 * text.C (backgroundColor): new method
15493 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15495 * text.C (getVisibleRow): adjust
15497 * font.[Ch] (rectText): new method, metrics
15498 (buttonText): new method, metrics
15500 * PainterBase.[hC]: make rectText and buttonText always draw and take
15503 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15505 * ToolbarDefaults.C (read):
15506 * MenuBackend.C (read): allow escaping in all strings
15508 * BufferView_pimpl.C (insertAndEditInset): new method.
15509 (Dispatch): use insertAndEditInset whenever appropriate.
15511 * BufferView_pimpl.C (insertNote): removed
15513 * BufferView_pimpl.C (smartQuote): new method, moved from
15514 BufferView; if an insetquote cannot be inserted, insert a '"'
15517 * BufferView2.C: remove insertCorrectQuote();
15519 * lyxfunc.C (getStatus): Add support for all remaingin
15520 inset-insert lfuns.
15522 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15524 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15525 command (necessary to pass " as parameter of self-insert.
15527 * text.C (selectWordWhenUnderCursor):
15528 (selectWord): add word_location parameter
15529 (selectWordWhenUnderCursor): same + remove special code for word
15531 (selectNextWord): use kind() to guess type of insetspecialchar,
15534 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15535 (insertErtContents): create ert insets as collapsed.
15536 (readInset): better compatibility code for Info inset.
15538 2001-07-20 Juergen Vigna <jug@sad.it>
15540 * lyxfunc.C (dispatch): use always LyXFind now!
15542 * text2.C (init): add a reinit flag so that the LyXText can be
15543 reinited instead of deleted and reallocated (used in InsetText).
15545 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15551 2001-07-18 Juergen Vigna <jug@sad.it>
15553 * text.C (selectNextWord): handle insets inside inset by calling
15554 always the bv->text functions so that we can go up the_locking_inset!
15556 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15557 in strange locations when inside an inset!
15559 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15560 handling to include insets.
15562 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15564 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15566 * LyXAction.C (init):
15568 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15569 LIGATURE_BREAK, since the name is so stupid.
15571 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15573 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15576 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15578 * sp_form.[Ch]: remove.
15580 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15582 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15585 * src/buffer.C (readInset): ditto.
15587 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15589 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15590 menuSeparator(), endOfSentenceDot(), ldots() and
15591 hyphenationPoint(), which are therefore removed.
15592 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15594 * LyXAction.C (init):
15595 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15597 * paragraph.C (getWord): removed.
15599 * BufferView_pimpl.C (Dispatch): use last word or selection for
15600 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15602 * lyx_main.C (queryUserLyXDir): do not ask before creating
15603 user_dir, except if it has been named explicitely.
15605 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15607 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15608 a document of zero size.
15610 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15612 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15613 approriately in the c-tor and in require().
15614 (getPackages): output the appropriate LaTeX for natbib support.
15616 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15617 variables "use_natbib" and "use_numerical_citations" when reading the
15619 (readInset): read the various natbib cite commands.
15620 (validate): white-space change.
15622 * bufferparams.[Ch]: new variables "bool use_natbib" and
15623 "bool use_numerical_citations".
15624 (writeFile): output them in the LyX file.
15626 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15628 * lyxfunc.C (getStatus): add support for all the inset insertion
15631 * text2.C (insertInset):
15632 * paragraph.C (insetAllowed):
15633 * BufferView_pimpl.C (insertInset): update to take in account the
15634 renaming of insertInsetAllowed
15636 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15638 * text2.C (getInset): new method. returns inset at cursor position.
15640 * BufferView_pimpl.C (Dispatch): changes because of this.
15642 * LyXAction.C (init): rename open-stuff to inset-toggle.
15644 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15646 * text2.C (toggleInset): renamed from openStuff; use
15649 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15651 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15653 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15655 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15657 * buffer.C (readLyXformat2): Add filename to the error dialog
15659 2001-07-18 Juergen Vigna <jug@sad.it>
15661 * tabular.C (GetCellNumber): put an assert here instead of the check!
15663 2001-07-17 Juergen Vigna <jug@sad.it>
15665 * BufferView_pimpl.C (toggleSelection): adapted too.
15667 * text.C (selectNextWord): adapted for use with insets.
15668 (selectSelectedWord): ditto
15670 2001-07-17 Juergen Vigna <jug@sad.it>
15672 * sp_spell.C (PSpell): fix initialitation order.
15674 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15676 * paragraph.C: spacing
15678 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15680 * sp_spell.C: repair language selection for pspell
15682 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15684 * lyxfunc.h: change more methods to begin with lower char.
15686 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15688 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15689 for unknown layouts.
15691 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15693 * buffer.C (readLyXformat2): Generate an error dialog if there are
15696 2001-07-16 Juergen Vigna <jug@sad.it>
15698 * sp_spell.C: always compile ISpell part.
15700 * lyxrc.C: added use_pspell entry and it's handling.
15702 2001-07-13 Juergen Vigna <jug@sad.it>
15704 * sp_spell.C: removed double includes.
15706 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15708 Consistent use of Lsstream.h:
15709 * Lsstream.h: added using std::stringstream for consistencies sake.
15711 * buffer.C: removed using std::stringstream
15713 * lyxfont.C (stateText):
15714 * paragraph.C (asString):
15715 * text.C (selectNextWord, selectSelectedWord):
15716 * text2.C (setCounter):
15717 * vspace.C (asString, asLatexString):
15718 std::ostringstream -> ostringstream.
15720 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15722 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15723 * commandtags.h: add LFUN_HELP_ABOUTLYX
15724 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15726 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15728 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15730 * lyx_gui_misc.C: remove spellchecker
15731 * lyxfunc.C: showSpellchecker
15733 * sp_ispell.h: added
15734 * sp_pspell.h: added
15735 * sp_spell.C: added
15736 * sp_form.[Ch]: removed
15737 * spellchecker.[Ch]: removed
15739 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15741 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15743 (simpleTeXSpecialChars): Simply print the input character without
15744 any special translation if pass_thru is set.
15746 * layout.h: Added bool pass_thru to layout class for being able to
15747 implement pass through of a paragraph for Literate Programming.
15749 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15750 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15751 * layout.C (Read): add "passthru" to list of layout tags and add
15752 code to set the pass_thru boolean when it is read.
15754 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15756 * trans_decl.h: remove allowed from KmodInfo
15758 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15759 remove allowed code
15762 * paragraph_pimpl.C (erase): use boost::prior
15764 * Painter.C (text): use data() instead of c_str() when length is
15766 * WorkArea.C (putClipboard): ditto
15767 * font.h (width): ditto
15769 * BufferView2.C: use it-> instead of (*it). for iterators
15771 * paragraph_pimpl.C: ditto
15772 * paragraph.C: ditto
15773 * minibuffer.C: ditto
15774 * language.C: ditto
15776 * encoding.C: ditto
15777 * counters.C: ditto
15778 * converter.C: ditto
15780 * Variables.C: ditto
15781 * TextCache.C: ditto
15782 * MenuBackend.C: ditto
15783 * LyXAction.C: ditto
15785 * FloatList.C: ditto
15786 * DepTable.C: ditto
15787 * ColorHandler.C (LyXColorHandler): ditto
15789 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15791 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15793 * text2.C (openStuff): reintroduce this method (which had been
15794 nuked in NEW_INSETS frenzy).
15796 * lyxfunc.C (Dispatch): when an action has not been handled, use
15797 its name in the error message, not its number.
15799 * paragraph.C (inInset): change method name to begin with lowercase.
15802 * text2.C: updates because of this.
15804 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15806 * ToolbarDefaults.C (add): add spaces in error message
15808 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15810 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15811 (readLyXformat2): rename return_par to first_par, use lyxlex's
15812 pushToken and remove the manual push handling.
15813 (parseSingleLyXformat2Token): add another ert comp. variable:
15814 in_tabular, rename return_par to first_par. handle newlines better
15816 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15818 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15820 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15822 * text2.C (getParFromID): removed
15824 * buffer.C (getParFromID): new method moved form lyxtext.
15825 * BufferView2.C (insertErrors): adjust
15826 (setCursorFromRow): adjust
15827 * BufferView_pimpl.C (restorePosition): adjust
15828 * lyxfunc.C (Dispatch): adjust
15829 * undo_funcs.C (textUndo): adjust
15831 (textHandleUndo): adjust
15832 (textHandleUndo): adjust
15834 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15836 * buffer.C: up' the LYX_FORMAT
15838 * lyxfont.h: turn NO_LATEX on as default
15840 * buffer.C (insertErtContents): new methods of tex style compability.
15841 (parseSingleLyXformat2Token): use it several places.
15842 * tabular.C (OldFormatRead): and here
15844 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15846 * text2.C: remove some commented code.
15849 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15850 * trans.C: changes because of the above.
15852 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15854 * text2.C (setCounter): Fix counters bug with bibliography layout.
15856 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15858 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15859 own member functions
15860 (simpleTeXSpecialChars): ditto
15862 2001-07-06 Juergen Vigna <jug@sad.it>
15864 * a lot of files: changed the access to LyXText::status and the
15865 call of undo-functions.
15867 * undo.[Ch]: added a inset_id to the undo informations.
15869 * undo_funcs.[Ch]: added and moved here all undo functions.
15871 * lyxtext.h: give the status enum a weight, made status_ a private
15872 variable and made accessor functions for it, removed the whole bunch
15873 of undo-functions as they are now in their own file, make some
15874 functions publically available. Added function ownerParagraph with
15877 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15878 made InInset() a const function, added getParFromID() function.
15880 * buffer.[Ch]: added const version for inset_iterator functions,
15881 added getInsetFromID() function.
15883 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15884 changed undo functions for new version.
15886 2001-07-05 Juergen Vigna <jug@sad.it>
15888 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15889 unknow mechanism does not call the proper constructor but only this
15890 one also if I request the other!?
15892 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15894 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15896 * text2.C (LyXText): use initialization lists.
15898 * lyxtext.h (Selection): initialize set_ and mark_
15899 (init): remove method
15901 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15903 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15905 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15907 * screen.[Ch]: change method names to begin with lowercase
15909 * BufferView_pimpl.C (updateScrollbar): simplify further and
15910 hopefully make it a bit faster.
15912 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15914 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15915 calling directly xforms functions.
15917 * Painter.C (Painter):
15918 * lyx_cb.C (MenuWrite):
15919 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15922 * lyx_gui.C: remove bogus guiruntime extern declaration.
15924 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15926 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15928 (redoDrawingOfParagraph): ditto
15929 (redoParagraphs): ditto
15930 (cutSelection): don't create a object for CutAndPaste use the
15931 static method directly
15932 (pasteSelection): ditto
15934 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15937 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15939 * modifications to some other files because of this.
15941 * Makefile.am (lyx_SOURCES): add XFormsView
15943 * XFormsView.[Ch]: new files
15945 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15946 the main window. Move the gui dependent stuff to XFormsView
15948 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15950 * tabular.C (GetCellInset): update cur_cell also in the row/col
15951 version of this function.
15953 * lyxfunc.C: no need to include figure_form.h here.
15959 * lyxvc.C: no need to include forms.h here.
15961 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15963 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15965 * lyxfunc.C (Dispatch):
15967 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15968 constructor argument.
15970 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15972 * paragraph.C (Paragraph): dont't clear, and just set layout.
15973 (makeSameLayout): use params's copy contructor.
15975 * ParagraphParameters.[Ch] (makeSame): delete method
15977 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15979 * Variables.[Ch]: fix indentation, rename set to isSet
15981 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15983 * lyxfunc.C (Dispatch): fix typo
15985 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15987 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15990 * bufferlist.C: include assert.h for emergencyWrite().
15992 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15994 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15995 give up at last (bug #425202) !
15997 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16003 * spellchecker.C: strip spellchecker options and bring up
16004 preferences tab instead
16006 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16008 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16009 the istringstream constructor
16011 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16013 * paragraph.C (getLayout): fix return value
16015 * paragraph.h: do not declare getLayout as inline.
16017 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16019 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16021 * lyxcursor.h (operator<): new func
16022 (operator>): new func
16023 (operator>=): new func
16024 (operator<=): new func
16026 * text.C (changeCase): use selection.start and selection.end
16027 (changeRegionCase): require from to be <= to. Require par to be a
16030 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16032 2001-06-27 Juergen Vigna <jug@sad.it>
16034 * text.C (cursorLeftOneWord): changed to return the cursor and added
16035 overlay with BufferView * parameter which calls this one.
16037 (selectWord): use new getWord function.
16038 (changeCase): renamed from changeWordCase as and extended to work
16039 also on selections.
16041 * lyxtext.h: added enum word_location
16043 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16044 changeCase as this operates now also on selections.
16046 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16048 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16050 * many files: send debug output to Debug::INFO instead of
16053 * converter.C (View):
16055 (Move): send debug output to Debug::FILES instead of console.
16057 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16059 * lyxfunc.C (getStatus): use func_status
16061 * func_status.h: new header, describing the results of
16062 LyXFunc::getStatus;
16064 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16067 2001-06-25 The LyX Project <jug@sad.it>
16069 * buffer.C (sgmlOpenTag):
16071 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16073 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16075 * text2.C: remove some dead code
16077 * tabular.C (GetCellInset): store the last cell checked (gotten)
16079 * tabular.h: add the helper for the speedup
16081 * lyxtext.h: remove some dead code
16083 2001-06-26 The LyX Project <Asger>
16085 * paragraph.C: Change export to LaTeX of alignment to
16086 \begin{center} and family for better roundtrip work with reLyX.
16088 * Tune the math drawing a bit.
16090 2001-06-25 The LyX Project <Asger>
16092 * LColor.C (LColor): New color for math background. New color
16095 2001-06-25 The LyX Project <jug@sad.it>
16097 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16099 * lyxfunc.C (Open):
16100 * bufferlist.C (newFile): do not restrict to files ending with
16103 * BufferView_pimpl.C (MenuInsertLyXFile):
16105 2001-06-24 The LyX Project <jug@sad.it>
16107 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16110 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16112 * lyxtext.h: rename most methods to begin with a small char.
16113 Lots of changes because of this.
16115 * paragraph.C (Paragraph): do not call fitToSize
16116 (erase): call Pimpl::erase
16117 (insertChar): call Pimpl::insertChar
16118 (insertInset): call Pipl::insertInset
16119 (breakParagraph): do not call fitToSize
16120 (breakParagraphConservative): do not call fitToSize
16121 (fitToSize): remove method
16123 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16125 2001-06-24 The LyX Project <Asger>
16127 * Fix Qt compilation^2
16129 2001-06-24 The LyX Project <jug@sad.it>
16131 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16132 depthHook(getDepth()-1).
16135 * ParagraphParameters.h:
16136 * ParameterStruct.h: change type of depth to unsigned int ==
16137 depth_type. Many adaptations to other files before of that.
16139 2001-06-24 The LyX Project <Asger>
16141 * Fix Qt compilation.
16143 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16145 * paragraph.h: renamed several methods to begin with small letter.
16146 several changes to many parts of the code because of this.
16148 2001-06-23 The LyX Project <jug@sad.it>
16150 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16151 rewritten to discard all double spaces when KeepEmpty is off
16152 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16153 to only handle newlines but not fiddle with spaces and friends.
16155 * lyxfunc.C (MenuNew): when doing 'new from template', use
16156 template_path as default directory
16158 2001-06-23 The LyX Project <Asger>
16160 * Clean-up of header file includes all over
16161 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16163 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16165 * paragraph.h: renamed from lyxparagraph.h
16167 2001-06-23 Asger <lyx@violet.home.sad.it>
16169 * Buffer.h: Removed Buffer::resize
16170 * BufferList.h: Removed BufferList::resize
16171 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16172 the document lazily when we change the width, or the font settings.
16174 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16176 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16178 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16180 * buffer.h: remove out of date comment
16182 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16185 * screen.C: fix "theoretical" GC leak
16187 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16189 * LaTeX.C (scanAuxFile):
16190 (deplog): remove trailing \r when reading stream (useful under
16193 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16195 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16196 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16197 and BufferView::theLockingInset(Inset*), so should use them and not
16198 access bv_->text->the_locking_inset directly.
16200 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16202 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16205 * tex-defs.h: remove old unused file
16207 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16209 * BufferView_pimpl.C: fix typo, remove minibuffer message
16210 when buffer has loaded
16212 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16214 * lyxfunc.C (Dispatch): use stringstream
16215 (MenuNew): use stringstream
16216 (Open): use stringstream
16218 * importer.C (Import): use stringstream
16220 * bufferview_funcs.C (CurrentState): use stringstream
16222 * LaTeX.C (run): use stringstream
16224 * BufferView_pimpl.C (savePosition): use stringstream
16225 (restorePosition): use stringstream
16226 (MenuInsertLyXFile): use stringstream
16228 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16241 * vspace.C: removed // -*- C++ -*- as first line.
16244 * version.h: added // -*- C++ -*- as first line.
16246 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16248 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16250 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16253 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16255 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16258 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16260 * gettext.C: include LString.h even when --disable-nls is on.
16262 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16264 * converter.h (Get): changed argument type from int to
16265 FormatList::size_type to avoid unnecessary conversion.
16267 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16270 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16272 * gettext.h: include LString.h even when --disable-nls is on.
16274 2001-06-07 Juergen Vigna <jug@sad.it>
16276 * text.C (BreakAgain): subst spaces with tabs.
16278 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16279 (resizeInsetsLyXText): set force on resizeLyXText.
16281 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16283 * gettext.h (gettext_init):
16284 (locale_init): use a real definition instead of a macro
16286 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16288 * Bufferview_pimpl.C:
16290 * LColor.C: further lcolor tidies
16292 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16294 * BufferView_pimpl.C (updateScrollbar): simplify.
16296 * BufferView2.C: don't include insets/insetinfo.h, change
16297 prototype for insertInset and call the Pimpl version. let
16298 updateInset call Pimpl version.
16300 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16301 gotoInset to BufferView::Pimpl
16303 2001-06-01 Juergen Vigna <jug@sad.it>
16305 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16306 inside a LockingInset (is the update needed at all?).
16308 2001-05-31 Juergen Vigna <jug@sad.it>
16310 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16311 here not the old one otherwise how should we compare it afterwards
16314 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16319 * FontInfo.C: bring C functions into global namespace when
16322 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16324 * LString.h: make sure config.h has been loaded before LString.h.
16326 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16327 (one for each char read by EatLine!).
16329 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16332 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16334 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16335 to the same as the par we break from
16337 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16339 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16341 * MenuBackend.C (expand): also create menu entries for wide
16342 versions of the floats.
16344 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16346 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16348 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16349 frontends/Makefile.am
16355 * tabular.C (getTokenValue): add std::
16357 * tabular-old.C (getTokenValue): add std::
16358 (getTokenValue): ditto
16359 (getTokenValue): ditto
16361 * screen.C (ToggleSelection): adjust
16363 * lyxtext.h: put selection cursors inside a Selection struct.
16365 * lyxfunc.C (moveCursorUpdate): adjust
16367 * lyxfont.C (latexWriteStartChanges): add std::
16369 * lyxfind.C: adjust
16371 * font.h: delete with(char const *, LyXFont const &)
16373 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16375 * FontInfo.C (getFontname): add std::
16377 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16378 (workAreaButtonPress): adjust
16379 (tripleClick): adjust
16381 (moveCursorUpdate): adjust
16384 * BufferView2.C (gotoInset): adjust
16386 2001-05-30 Juergen Vigna <jug@sad.it>
16388 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16389 to check pspell I add this as default as I now have new pspell
16390 libraries and they seem to use this.
16392 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16394 * text2.C (CutSelection): make the cursor valid before the call to
16397 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16399 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16400 relied on 0 terminated strings and other horrors. Bug found due to
16401 the new assert in lyxstring!
16403 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16406 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16408 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16411 * lyxfunc.C (processKeySym): change method of getting to the
16414 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16415 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16416 * BufferView_pimpl.[Ch]: here as private methods.
16418 2001-05-28 Juergen Vigna <jug@sad.it>
16420 * text.C (SetHeightOfRow): added the update() call again as it is
16421 needed to initialize inset dimensions!
16423 2001-05-16 Juergen Vigna <jug@sad.it>
16425 * text2.C (SetCharFont): Add new function with BufferView * and
16426 bool toggleall parameters for setting insets internal fonts.
16427 (SetFont): Freeze the undo as we may change fonts in Insets and
16428 all this change should be inside only one Undo!
16430 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16431 setting font's in insets as for them we have the SetFont function!
16433 2001-05-15 Juergen Vigna <jug@sad.it>
16435 * text2.C (ClearSelection): to be sure we REALLY don't have any
16438 * tabular.C (TeXCellPreamble): fixed the left border problem for
16441 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16443 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16446 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16448 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16449 LFUN_BREAKPARAGRAPH.
16451 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16452 help test to "internal only", similar for LFUN_INSERT_URL
16454 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16455 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16456 auto_region_delete and deadkeys.
16458 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16461 * LColor.C: remove some dead entries, tidy a little
16463 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16465 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16467 (Dispatch): implement LFUN_ESCAPE
16469 * commandtags.h: add LFUN_ESCAPE
16471 * LyXAction.C (init): add entry for LFUN_ESCAPE
16473 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16474 Remove commented code.
16475 (insertNote): moved here
16476 (open_new_inset): moved here
16478 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16481 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16483 * kbmap.C (findbinding): clean it up and make it work correctly.
16485 * lyx_main.C (init): do not pass argc and argv as parameters
16487 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16489 * buffer.C: fix path for OS/2 & Win32
16493 * lyx_main.C: Added os:: class.
16495 * os2_defines.h: update
16497 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16499 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16500 better by trying again with reduced state.
16502 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16504 * lyxrc.C (read): print error about invalid key sequence only when
16505 debugging (because not all latinX keysyms are known to some X
16508 * kbsequence.C (getiso): add a few std:: qualifiers
16509 (getiso): comment out extra return statement.
16511 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16513 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16515 (Dispatch): enhance the accent inset a bit. (not perfect)
16517 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16519 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16521 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16523 * bufferlist.C (emergencyWrite): fix assert() call
16525 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16527 * text.C (InsertChar): Added trivial patch to only send the "you
16528 can not do multiple spaces this way" message once during a
16531 2001-05-08 Baruch Even <baruch@lyx.org>
16533 * Makefile.am: Changed order of libraries to get LyX to link properly
16534 with the gnome frontend.
16536 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16538 * LaTeXFeatures.h: add a std:: qualifier
16540 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16542 * paragraph.C (String): use stringstream
16544 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16546 * paragraph.C (writeFile): remove footflag arg
16548 * buffer.C (makeLaTeXFile): use stringstream
16549 (latexParagraphs): remove footnot gurba
16551 * LaTeXFeatures.C (getPackages): use stringstream
16552 (getMacros): likewise
16553 (getTClassPreamble): likewise
16554 (getFloatDefinitions): new method
16556 * paragraph.C (writeFile): reindent
16559 * WorkArea.h: revert the xpos + etc changes.
16561 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16563 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16565 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16566 (pasteSelection): likewise
16567 * text2.C (CreateUndo): likewise
16569 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16571 * minibuffer.C (peek_event): temporarily reduce the functionality
16572 of the minibuffer (to allow args on lfuns)
16574 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16575 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16577 * buffer.C (readInset): add compability reading of old float
16578 lists, add reading of new style float list.
16579 (readInset): avoid reevaluation of inscmd.getCmdName()
16580 (getLists): reindent
16582 * MenuBackend.C (MenuItem): implement parsing of
16583 md_floatlistinsert and md_floatinsert.
16584 (expand::LastFiles): move initalizaton of iterators out of loop,
16585 avoid reevaluation.
16586 (expand::Documents): introduce typdedef vector<string> Strings,
16588 (expand::ExportFormats): introduce typedef vector<Format const *>
16589 Formats, and use it.
16590 (expand): implement FloatListInsert and FloatInsert.
16592 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16593 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16594 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16596 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16598 (Dispatch::LFUN_FLOAT_LIST): implement
16600 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16602 * LaTeX.C (run): Fix problem with --export code.
16604 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16606 * BufferView.[Ch] (workarea): removed.
16607 (getClipboard) new method; wrapper for workarea()->getClipboard()
16609 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16612 * WorkArea.h (width, height, xpos, ypos): These methods all
16613 returned the dimensions of the work_area sub-area of WorkArea,
16614 resulting in a position error if the WorkArea were resized. Now
16615 return the dimensions of the entire WorkArea.
16617 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16619 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16621 * LaTeX.C (deplog): correct the syntax of regex reg1
16623 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16625 * undo.C: remove !NEW_INSETS cruft
16627 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16629 * text2.C: remove !NEW_INSETS cruft
16631 * text.C: remove !NEW_INSETS cruft
16633 * tabular.C: remove !NEW_INSETS cruft
16635 * spellchecker.C: remove !NEW_INSETS cruft
16637 * lyxtext.h: remove !NEW_INSETS cruft
16639 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16641 * lyxfunc.C: remove !NEW_INSETS cruft
16643 * lyxfind.C: remove !NEW_INSETS cruft
16645 * lyx_cb.C: remove !NEW_INSETS cruft
16647 * figureForm.C: remove !NEW_INSETS cruft
16649 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16651 * buffer.[Ch]: remove !NEW_INSETS cruft
16653 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16655 * CutAndPaste.C: remove !NEW_INSETS cruft
16657 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16659 * BufferView2.C: remove !NEW_INSETS cruft
16661 * BufferView.h: remove !NEW_INSETS cruft
16663 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16665 * Lsstream.h: include LString.h before the sstream headers to
16666 fix problem with gcc 2.95.3 and lyxstring
16668 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16670 * lyx_main.C: add using directives when needed for C functions
16671 declared in std:: namespace.
16673 2001-04-27 Juergen Vigna <jug@sad.it>
16675 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16676 (SetHeightOfRow): comment out the update call should not be needed!
16678 2001-04-13 Juergen Vigna <jug@sad.it>
16680 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16681 (LyXTabular): tried to minimize operator= operations (and realized
16682 hopfully Lars wish).
16684 2001-04-27 Juergen Vigna <jug@sad.it>
16686 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16688 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16690 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16692 * buffer.C (readInset): hack to make listof algorithm work
16694 * BufferView_pimpl.C: hack to make listof algorithm work
16696 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16698 * LyXAction.C: removed all !NEW_INSETS cruft
16699 (init): moved lfun_item in method
16701 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16703 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16705 * BufferView2.C (theLockingInset): white space.
16707 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16709 * minibuffer.C: include <iostream>
16711 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16713 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16715 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16717 * text.[Ch] (TransposeChars): new method
16719 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16721 * call message directly through LyXView instead of through LyXFunc
16722 * BufferView2.C: adjust
16723 * BufferView_pimpl.C: adjust
16724 * FontLoader.C: adjust
16726 * bufferview_funcs.C: adjust
16727 * converter.C: adjust
16728 * figureForm.C: adjust
16729 * importer.C: adjust
16731 * lyx_gui_misc.C: adjust
16732 * lyxfunc.C: adjust
16735 + more files in subdirs
16737 * lyxparagraph.h (size): move up int file
16740 * adjust all uses of Assert to lyx::Assert.
16742 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16743 lyxfunctional in namespace lyx
16744 * layout.C (hasLayout): ditto
16747 (delete_layout): ditto
16748 (NumberOfClass): ditto
16749 * converter.C (GetFormat): ditto
16754 * bufferlist.C (getFileNames): ditto
16755 (emergencyWriteAll): ditto
16758 * MenuBackend.C (hasSubmenu): ditto
16761 * BufferView_pimpl.C (getInsetByCode): ditto
16763 2001-04-18 Juergen Vigna <jug@sad.it>
16765 * vspace.C (asLatexString): fixed the 100% problem.
16767 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16769 * lyxfunc.C (Dispatch):
16771 * minibuffer.h: add a few std:: qualifiers
16773 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16775 * minibuffer.[Ch]: reimplement so that commands is initiated and
16776 run from lyxfunc, simplified som handling, and made the completion
16777 and history code for complete. wip.
16779 * lyxfunc.C (processKeySym): call message
16780 (miniDispatch): new temporary method
16781 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16782 (LFUN_MESSAGE): implement
16783 (LFUN_MESSAGE_PUSH): implement
16784 (LFUN_MESSAGE_POP): implement
16785 (initMiniBuffer): the initial/defualt minibuffer message.
16787 * lyxfont.[Ch]: inline some more getters
16789 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16791 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16793 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16794 (AutoSave): use LFUN_MESSAGE
16795 (Reconfigure): ditto
16797 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16799 * figureForm.C: use LFUN_MESSAGE
16801 * converter.C (runLaTeX): use LFUN_MESSAGE
16803 * bufferview_funcs.C: use LFUN_MESSAGE
16805 (changeDepth): ditto
16807 * bufferparams.h: use boost::
16809 * bufferlist.h: inherit privately from noncopyable
16811 * bufferlist.C (loadLyXFile): remove some commented code.
16813 * buffer.C (runChktex): use LFUN_MESSAGE
16815 * ShareContainer.h: inherit privately from noncopyable
16817 * ParagraphParameters.[hC] (depth): inline it.
16819 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16821 (message): new method
16822 (messagePush): ditto
16823 (messagePop): ditto
16824 (show): init minibuffer
16825 (showState): direct call
16827 * LaTeX.[Ch]: inherit privately from noncopyable
16828 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16829 instead of WriteStatus.
16831 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16833 * BufferView_pimpl.C (buffer): don't init minibuffer
16834 (workAreaButtonPress): use LFUN_MESSAGE
16835 (workAreaButtonRelease): ditto
16836 (savePosition): ditto
16837 (restorePosition): ditto
16838 (MenuInsertLyXFile): ditto
16839 (workAreaExpose): don't init minibuffer
16840 (update): remove commented code, simplify
16842 * BufferView2.C (openStuff): use LFUN_MESSAGE
16843 (toggleFloat): ditto
16846 (copyEnvironment): ditto
16847 (pasteEnvironment): ditto
16852 (updateInset): remove some commented code
16854 * lastfiles.h: inherit privately from noncopyable
16857 * lyx_main.h: ditto
16859 * lyxlex_pimpl.h: ditto
16861 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16862 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16863 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16865 * LyXAction.h: inherit privately from noncopyable, add methods
16866 func_begin, func_end, returning iterators to the func map.
16868 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16869 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16870 (func_begin): new method
16871 (func_end): new method
16873 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16875 (copySelection): ditto
16876 (pasteSelection): ditto
16878 * BufferView.C: whitespace change
16879 * BufferView.h: inherit privately from noncopyable
16881 2001-04-16 Allan Rae <rae@lyx.org>
16883 * tabular-old.C (l_getline):
16884 * spellchecker.C (sc_check_word):
16885 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16886 an unrecognised preprocessor directive. So ensure they're wrapped.
16888 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16890 * src/exporter.C (Export): Give an error message when path to file
16893 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16895 * LaTeX.C (deplog): Always check that foundfile exists.
16897 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16900 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16902 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16904 * tabular.[Ch] (getLabelList): implement new method
16906 * minibuffer.h: comment ouf setTiimer
16908 * minibuffer.C (ExecutingCB): constify res
16909 (peek_event): constify s
16910 (Set): constify ntext
16911 (Init): constify nicename
16913 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16915 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16916 (savePosition): use two params to Minibuffer::Set
16917 (restorePosition): ditto
16919 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16921 * lyx_main.C: include language.h
16923 * Makefile.am (lyx_main.o): add language.h
16925 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16931 * CutAndPaste.C: include gettext.h
16933 * lyxfont.h: remove old hack with ON and OFF.
16936 * lyxfont.h: do not include language.h...
16941 * bufferview_funcs.C:
16947 * paragraph.C: ... but do it here instead
16949 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16951 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16953 * tabular.C: small reformat
16955 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16958 (BreakParagraph): ditto
16959 (SetOnlyLayout): ditto
16962 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16965 * lastfiles.C: removed most using decl, add std:: where needed
16967 * buffer.C: ws changes
16969 * MenuBackend.C (class compare_format): put into anon namespace
16970 (expand): constify label, names, action, action2
16973 * text.C (SingleWidth): constify font
16974 (IsBoundary): constify rtl2
16975 (GetVisibleRow): constify ww
16977 * LaTeX.C (deplog): constify logfile
16979 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16981 (workAreaExpose): constify widthChange, heightChange
16983 * lyxrow.C (par): moved
16986 * lyxrow.h: as inlines here
16988 * lyxfont.h (shape): moved from lyxfont.C
16989 (emph): moved from lyxfont.C
16991 * lyxfont.C (LyXFont): use initialization list for all
16993 (shape): move to lyxfont.h as inline
16994 (emph): move to lyxfont.h as inline
16997 2001-04-04 Juergen Vigna <jug@sad.it>
16999 * vspace.C: had to include stdio.h for use of sscanf
17001 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17004 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17005 independent of xforms.
17007 2001-04-02 Juergen Vigna <jug@sad.it>
17009 * spellchecker.C: fixed namespace placing!
17011 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17013 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17014 the LyXParagraph * is 0.
17016 2001-03-29 Juergen Vigna <jug@sad.it>
17018 * vspace.C: added support for %, c%, p%, l%.
17019 (stringFromUnit): added helper function.
17020 (asLatexString): changed to give right results for the %-values.
17022 * buffer.C: convert the widthp in a width%.
17024 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17026 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17029 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17030 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17032 * lyx_cb.[Ch]: see above.
17034 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17038 * lyx.[Ch]: replaced by figure_form.[Ch].
17042 * lyxfunc.C: changed headers associated with above changes.
17044 2001-03-27 Juergen Vigna <jug@sad.it>
17046 * BufferView_pimpl.C: set the temporary cursor right!
17048 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17050 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17052 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17054 * LString.h: removed "using std::getline"!
17056 * BufferView_pimpl.C (Dispatch): changes due to changes in
17057 InsetInclude::Params.
17059 * buffer.C (tag_name): removed redundant break statements as they were
17060 producing lots of warnings with my compiler.
17062 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17064 * LString.h: add "using std::getline" when using the real <string>.
17066 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17068 * buffer.C: removed bitset usage.
17069 PAR_TAG moved to an anonymous name space.
17070 (tag_name): new funtion, also in the anonymous namespace.
17071 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17072 (makeDocBookFile): clean code. Completed transition from string arrays
17074 (SimpleDocBookOnePar): code clean.
17076 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17078 * tabular.C: add some comments.
17080 2001-03-22 Juergen Vigna <jug@sad.it>
17082 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17083 compatibility read a bit and fixed bug with minipage in different
17086 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17088 * buffer.C (pop_tag): removed.
17089 (push_tag): removed.
17090 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17091 array replaced with vector. Added support for CDATA sections.
17092 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17094 (makeDocBookFile): XML conformant declaration of CDATA section,
17095 fixed bug related to <emphasis> in the first paragraph char.
17096 (sgmlOpenTag): exclude empty tags.
17097 (sgmlCloseTag): ditto.
17099 * buffer.h (pop_tag): removed.
17100 (push_tag): removed.
17102 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17104 * language.h (Languages): added size_type and size().
17106 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17108 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17109 response on compability reading of minipages. One probliem is that
17110 the old usage of minipages was «flertydig»
17112 * several files here and in subdirs: don't use static at file
17113 scope use anon namespaces instead.
17115 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17117 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17118 LaTeX output. This is necessary for Literate document
17121 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17123 * buffer.C: insert hfill when needed.
17125 * tabular.C (l_getline): use string::erase, small whitespace change.
17127 * BufferView_pimpl.C: try the anon namespace.
17128 * WorkArea.C: ditto
17130 2001-03-16 Juergen Vigna <jug@sad.it>
17132 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17133 otherwise it won't open options-dialogs.
17135 * buffer.C: honor pextraWidth(p) on converting minipages.
17137 * tabular.C (l_getline): changed the functions to strip trailing \r.
17139 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17141 * BufferView_pimpl.C:
17142 * minibuffer..C: added "using SigC::slot" declaration.
17144 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17146 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17152 * paragraph.C: ditto
17154 * lyxtext.h: NO_PEXTRA
17156 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17158 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17159 * ParameterStruct.h: ditto
17160 * ParagraphParameters.h: ditto
17161 * lyxparagraph.h: ditto
17163 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17165 * buffer.C: add compability for minipage alignment.
17166 (latexParagraphs): remove unwanted pextra check.
17168 * several files: remove CXX_WORKING_NAMESPACES
17170 * buffer.C (pop_tag): tie is in namespace boost
17172 * BufferView.h: noncopyable is in namespace boost
17174 * lyx_main.h: ditto
17177 * lastfiles.h: ditto
17178 * bufferlist.h: ditto
17179 * ShareContainer.h: ditto
17181 * LyXAction.h: ditto
17184 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17186 * Merging changes from BRANCH_MVC back into HEAD.
17188 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17190 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17192 * BufferView_pimpl.C: change from intl.C
17196 * Makefile.am: move combox.*
17202 * intl.C: remove dialog (covered by prefs)
17204 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17206 * lyxfunc.C (Dispatch): removed redundant break statement.
17208 2001-03-14 Juergen Vigna <jug@sad.it>
17210 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17212 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17214 * buffer.C: add hack to fix compability reading of minipages.
17216 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17218 * buffer.C (getLists): Cleanup.
17220 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17222 * lyxfont.C (update): don't honor toggleall on font size.
17224 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17228 * Makefile.am: moved to frontends/xforms/
17232 * BufferView_pimpl.C: changes for moved mathpanel
17234 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17236 * gettext.h: fix gettext_init() in --disable-nls
17238 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17240 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17242 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17245 * lyx.h: strip external form
17247 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17249 * BufferView_pimpl.C: add comment, destroySplash()
17251 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17253 * BufferView_pimpl.C:
17257 * lyxfunc.C: use re-worked insetinclude
17259 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17261 * buffer.C: add using std::stringstream.
17263 * lyx_cb.C: readd using std::ios.
17265 * buffer.C: add using std::map.
17267 * BufferView_pimpl.C: add using std::vector.
17269 * ShareContainer.h: add std:: to swap.
17271 * buffer.h: add some typedefs
17272 * buffer.C (getLists): use them
17273 (getLists): renamed from getTocList.
17274 add a counter for the different float types and use it in the
17276 (getLists): use the same counter for the NEW_INSETS and the "non"
17279 * lyx_cb.h: remove unused items, includes, using etc.
17281 * ShareContainer.h: remove some commented code, add more comments
17282 and "documentation".
17284 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17286 * buffer.C (getTocList): make the list also when NEW_INSETS is
17289 * buffer.h: remove TocType
17291 * buffer.C (getTocList): change to return a map<string,
17292 vector<TocItem> >, implement for dynamic number of list.
17294 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17295 * text2.C (PasteSelection): adjust
17296 * CutAndPaste.C (pasteSelection): adjust
17298 * FloatList.C (FloatList): update from the new_insets branch.
17299 * Floating.[Ch]: ditto
17300 * LaTeXFeatures.C: ditto
17302 * lyxlex_pimpl.C: ditto
17304 * paragraph.C (Last): remove when NEW_INSETS is defined.
17306 * other file: changes because of the above.
17308 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17310 * lyxparagraph.h: rename next to next_, previous to previous_,
17311 make them private for NEW_INSETS. Rename Next() to next(),
17312 Previous() to previous().
17314 * other files: changes because of the above.
17316 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17319 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17322 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17324 * main.C (main): pass lyx_localedir to gettext_init().
17326 * gettext.h: remove locale_init and gettext_init macros
17328 * gettext.C (locale_init): new function
17329 (gettext_init): new function
17331 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17334 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17336 * Moved credits to frontends:
17337 * credits.[Ch]: removed
17338 * credits_form.[Ch]: removed
17339 * lyx_gui_misc.C: remove credits stuff
17342 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17344 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17346 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17347 unneeded destructor.
17349 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17350 a standalone pointer again.
17352 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17354 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17360 * ToolbarDefaults.C:
17369 * BufferView_pimpl.C: use new file dialog in GUII
17372 * lyx_cb.C: remove LayoutsCB to Toolbar
17374 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17376 * ShareContainer.h (get): add std:: qualifier
17378 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17380 * ShareContainer.h: define a proper ShareContainer::value_type
17381 type (and use typename to please compaq cxx)
17383 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17385 * lyxparagraph.h: move serveral local vars to
17386 ParameterStruct/ParagraphParameters., use ShareContainer in
17387 FontTable., make vars in FontTable private and add getter and
17390 * paragraph.C: changes because of the above.
17392 * lyxfont.h: remove copy constructor and copy assignment. (the
17393 default ones is ok), move number inside FontBits. move inlines to
17396 * lyxfont.C: add number to initializaton of statics, move several
17397 inlines here. constify several local vars. some whitespace
17398 cleanup. Dont hide outerscope variables.
17400 * Spacing.h: add two new constructors to match the set methods.
17402 * ShareContainer.h: new file, will perhaps be moved to support
17404 * ParameterStruct.h: new file
17406 * ParagraphParameters.h: new file
17408 * ParagraphParameters.C: new file
17410 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17411 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17413 * BufferView_pimpl.C: ParagraphParameter changes.
17414 * buffer.C: Likewise.
17415 * bufferview_funcs.C: Likewise.
17416 * text.C: Likewise.
17417 * text2.C: Likewise.
17419 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17421 * lyxfind.C (LyXReplace): do not redefine default argument in
17423 (IsStringInText): ditto
17424 (SearchForward): ditto
17425 (SearchBackward): ditto
17427 2001-03-06 Juergen Vigna <jug@sad.it>
17429 * lyxfind.C (IsStringInText): put parentes around expressions.
17431 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17433 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17435 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17437 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17439 * stl_string_fwd.h: add comment
17441 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17444 * tabular.C: remove unused DocBook methods
17450 killed DO_USE_DEFAULT_LANGUAGE
17452 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17454 * lyx_gui.C: do not include language.h.
17456 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17457 arguments in function implementation.
17459 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17461 * BufferView_pimpl.C: add <ctime>
17463 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17465 * BufferView_pimpl.C: add using std::find_if
17467 2001-02-27 José Matos <jamatos@fep.up.pt>
17469 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17472 2001-02-11 José Matos <jamatos@fep.up.pt>
17474 * buffer.C (makeDocBookFile): command styles now have a parameter as
17475 "title" by default.
17477 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17479 * layout_forms.[Ch]: removed
17480 * lyx_cb.[Ch]: out character
17481 * lyx_gui.C: out character
17482 * lyx_gui_misc.C: out character
17483 * bufferview_funcs.C: : out character,
17484 added toggleall as parameter in ToggleAndShow
17486 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17488 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17490 * text2.C (SetCurrentFont): Disable number property at boundary.
17492 2001-02-26 Juergen Vigna <jug@sad.it>
17494 * lyxfunc.C (getStatus): added a string argument override function so
17495 that this is correctly called from LyXFunc::Dispatch if it contains a
17496 do_not_use_argument which is used!
17497 (Dispatch): added check for "custom" export and call appropriate func.
17499 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17501 * lyxrc.C: Add language_command_local, language_use_babel and
17502 language_global_options.
17504 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17506 * buffer.C (makeLaTeXFile): Use language_use_babel and
17507 language_global_options.
17509 2001-02-23 Juergen Vigna <jug@sad.it>
17511 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17512 which works with LyXText and putted it inside BufferView. Here now we
17513 only call for that part the BufferView::Dispatch() function.
17515 * BufferView.C (Dispatch): added.
17517 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17518 functions which needs to use a LyXText over from LyXFunc.
17519 (MenuInsertLyXFile): added
17520 (getInsetByCode): added
17521 (moveCursorUpdate): added
17522 (static TEXT): added
17524 2001-02-22 Juergen Vigna <jug@sad.it>
17526 * BufferView_pimpl.C (update): call a status update to see if LyXText
17529 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17531 * vc-backend.C (revert): implement for CVS
17532 (getLog): implement for CVS
17534 2001-02-20 Juergen Vigna <jug@sad.it>
17536 * text2.C (ClearSelection): added BufferView param for inset_owner call
17538 * lyxfunc.C (TEXT): added this function and use it instead of
17539 directly owner->view()-text of getLyXText().
17541 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17543 * src/layout_forms.C: out preamble
17544 * src/layout_forms.h: out preamble
17545 * src/lyx_cb.C: out preamble
17546 * src/lyx_cb.h: out preamble
17547 * src/lyx_gui.C: out preamble
17548 * src/lyx_gui_misc.C: out preamble
17549 * src/lyxfunc.C: connect with guii preamble
17551 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17553 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17555 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17557 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17558 whether to run bibtex.
17560 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17562 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17564 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17566 * Makefile.am (lyx_SOURCES): removed bibforms.h
17568 * vspace.h: doxygen
17570 * text.C (GetVisibleRow): make several local vars const
17572 * tabular.C: small cleanup.
17574 * lyxserver.C (callback): use compare instead of strncmp
17576 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17577 inlines to after class or to paragraph.C
17579 * lyxfont.h: remove friend operator!=
17581 * converter.h: move friend bool operator< to non friend and after
17584 * combox.h: small cleanup
17586 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17587 to inlines after class def.
17589 * buffer.C (pop_tag): use string operations instead of strcmp
17591 * bmtable.c: doxygen, small cleanup
17593 * LaTeX.h: remove friend operator==
17595 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17607 * BufferView_pimpl.C:
17608 * BufferView.[Ch]: remove cruft
17610 2001-02-14 Juergen Vigna <jug@sad.it>
17612 * lyxfunc.C: removed #if 0 unused code
17614 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17616 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17618 * text2.C (SetSelection): added a BufferView * parameter
17620 2001-02-13 Juergen Vigna <jug@sad.it>
17622 * lyxfunc.C (Dispatch): fixed protected blank problem.
17623 * BufferView2.C (protectedBlank): added LyxText * parameter.
17625 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17626 (AppendColumn): same as above for column_info.
17628 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17629 (moveCursorUpdate): use a LyXText param for support of InsetText.
17631 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17632 (tripleClick): ditto
17634 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17636 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17638 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17640 * text2.C (SetSelection): set correct update status if inset_owner
17641 (ToggleFree): ditto
17643 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17645 * tabular.C: remove some commented code.
17647 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17649 * BufferView_pimpl.C: call hideSplash()
17651 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17654 * bibforms.h: remove
17657 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17658 add LFUN_CHILD_CREATE
17660 * counters.h: fix tiny typo
17665 * lyx.C: move splash to frontends/xforms/
17667 * lyx_gui_misc.C: move Include and Bibform to frontends
17669 * lyxvc.h: clarify comment
17671 * vspace.C: tiny housekeeping
17673 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17675 * text.C (PrepareToPrint): RTL Fix.
17677 * paragraph.C (GetUChar): New method.
17678 (String): Use GetUChar.
17680 * buffer.C (asciiParagraph): Use GetUChar.
17682 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17684 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17686 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17689 * buffer.C: rename to getLogName(), handle
17690 build log / latex log nicely
17692 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17695 * MenuBackend.h: remove support for reference menuitem type.
17697 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17699 * BufferView_pimpl.C: housekeeping
17700 * BufferView_pimpl.h:
17705 * minibuffer.h: move Timeout GUI-I
17707 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17709 * lyxrc.C (read): Update converters data-structures.
17711 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17713 * LaTeX.h (operator!=): add operator != for Aux_Info
17715 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17717 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17719 * LaTeXLog.C: deleted, useful code moved to Buffer
17722 * buffer.C: new function getLatexLogName()
17728 * lyxfunc.C: use frontends for LaTeX and VC logs
17730 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17732 * LaTeX.h: yet another std:: that Allan forgot.
17734 * Variables.C (set): renamed from isset(), because this clashes
17735 with some HP-UX macros (grr).
17737 2001-02-06 Allan Rae <rae@lyx.org>
17739 * LaTeX.h: Another bug fix. Missing std:: this time.
17741 2001-02-04 Allan Rae <rae@lyx.org>
17743 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17744 floats problem. I've left it commented out because it's not quite
17745 correct. It should also test that the current object is a table or
17746 figure inset. But I haven't gotten around to figuring out how to do
17747 that. I *think* it'll be something like: "table" == inset.type()
17749 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17752 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17754 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17755 all the citation/databases/styles in the auxilary file.
17756 (run): Rerun latex if there was a babel language error.
17758 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17760 * text.C (Backspace): Preserve the font when changing newline char
17762 (BreakParagraph): If the cursor is before a space, delete the space.
17764 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17766 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17768 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17769 new argument (code).
17770 (ChangeCitationsIfUnique): New method.
17772 * paragraph.C (GetPositionOfInset): Handle bibkey.
17774 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17776 * BufferView_pimpl.h: change type of Position::par_pos to
17777 LyXParagraph::size_type.
17779 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17781 * BufferView_pimpl.C (savePosition, restorePosition): Write
17782 messages to minibuffer.
17784 2001-01-28 José Matos <jamatos@fep.up.pt>
17786 * buffer.C (makeDocBookFile): adds support for document language.
17787 A silly restriction on the name of LatexCommand types where removed.
17788 Added support for CDATA sections, allows to chars unescaped, used
17789 among others in code, to avoid escape < and >.
17791 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17793 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17794 saved positions instrad of a stack. Furthermore, a position is
17795 stored using paragraph id/paragraph position.
17797 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17798 Remove LFUN_REF_BACK.
17800 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17802 * converter.C (dvipdfm_options): New method.
17804 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17806 * vspace.C (isValidLength): Fix for empty input string.
17808 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17810 * LyXAction.C (init): change description of LFUN_FIGURE to
17813 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17815 * LaTeX.C: add using directive
17817 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17819 * MenuBackend.C (expand): Fix the sorting of the formats.
17821 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17823 * lyx_main.C: tiny error message fix
17825 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17827 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17828 calling fl_initialize(). This fixes the problem with ',' as
17829 decimal separator in text files.
17831 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17833 * trans.C (process): Fix the keymap bug.
17835 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17837 * LaTeX.C (scanAuxFiles): New method. Provides support for
17838 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17839 (scanLogFile) Scan for "run BibTeX" messages.
17841 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17842 OT1 font encoding. Also, load the aecompl package if the ae
17845 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17847 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17849 * texrow.C (increasePos): turn two error messages into debug
17852 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17854 * LaTeX.C (scanAux): Handle the \@input macro.
17855 (runBibTeX): Use scanAux().
17857 * language.C (latex_options_): New field.
17859 * LaTeXFeatures.C (getMacros): Add language macros.
17861 * buffer.C (makeLaTeXFile): Small fix.
17863 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17865 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17867 * text2.C: add a using directive.
17869 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17874 * lyxfunc.C: kill LyXBell.
17876 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17878 * text.C (IsBoundary): Remove the error message
17880 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17882 * lyxrc.C (setDefaults): Correct initialization value for
17885 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17887 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17890 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17891 and GotoNextNote().
17893 * src/LyXAction.C: Added reference-next.
17895 * text.C (InsertChar): Use contains instead of strchr.
17897 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17899 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17901 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17902 alignment commands (when needed).
17904 * text.C (InsertChar): Add ':' to number separator chars.