1 2005-07-16 Juergen Vigna <jug@lyx.org>
3 * text2.C (getColumnNearX): hopefully got it right now,
4 check if we are on column 0 for special case.
6 2005-07-16 Juergen Vigna <jug@lyx.org>
8 * text2.C (getColumnNearX): handle special case Newline Inset
10 * text.C (singleWidth): Just remove bogus check
12 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
14 * funcrequest.C (split): avoid reading uninitialized char c
16 2005-07-16 José Matos <jamatos@fc.up.pt>
22 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
23 single papersize variable.
25 2005-07-16 Juergen Vigna <jug@lyx.org>
27 * text3.C (dispatch): honor boundary when checking if a cursor
28 movement has been done
30 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
31 (setCursor, setCursorIntern): fix cursor movement with boundary
33 2005-07-16 Juergen Vigna <jug@lyx.org>
35 * text.C (currentState): output the actual Boundary
37 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * factory.C (createInset): fix bad logic for tabular creation
41 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
43 * lyx_main.C (init): change some reLyX reference to tex2lyx
45 2005-07-16 Juergen Vigna <jug@lyx.org>
47 * dociterator.C (DocIterator): initialize boundary
49 2005-07-16 Juergen Vigna <jug@lyx.org>
51 * text2.C (getColumnNearX): Consider rows without trailing blank.
53 2005-07-16 André Pönitz <poenitz@gmx.net>
55 * lyxfont.h: Change order of declarations to give the compiler
56 a better chance to inline things
58 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
59 questions on unsaved docs for better scritability
61 2005-07-16 André Pönitz <poenitz@gmx.net>
63 * paragraph.h (getChar): remove asserts as the same kind of security
64 can be achieved by using a suitable standard library implementation
65 and the function was in the critical path (25.9% in profiler)
67 2005-07-16 Juergen Vigna <jug@lyx.org>
69 * cursor.C (bruteFind2):
70 * bufferview_funcs.C (coordOffset):
71 * text.C (cursorX,cursorY): Handle cursor position after last char
72 in row before a inset which uses a whole row.
74 2005-07-15 José Matos <jamatos@lyx.org>
76 * output_plaintext.[Ch] (writeFileAscii): control reference title
78 (asciiParagraph): noparbreak was already deal and was incorrectly
81 2005-07-15 Juergen Vigna <jug@lyx.org>
83 * lyxfunc.C (dispatch): save and restore the cursor after a
86 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
88 * text.C (backspace): bug 806 for empty keepempty paragraphs we
89 change the layout to default before letting DEPM do its thing.
91 * paragraph_funcs.C (breakParagraph): dont reset the layout on
94 * text.C (setCursorFromCoordinates): add a debug statement
96 * text2.C (getColumnNearX): bug 1825 make sure that we don't
97 return a pos that is not on the row
99 * output_latex.C (TeXDeeper): get rid of potential dereferencing
100 of past the end iterator
102 2005-07-14 André Pönitz <poenitz@gmx.net>
104 * undo.C (recordUndoFullBuffer): implement undo for
107 2005-07-14 André Pönitz <poenitz@gmx.net>
109 * cursor.C (setSelection): open insets when selection is set there
110 to avoid crashs with cold coord cache
112 2005-07-14 André Pönitz <poenitz@gmx.net>
114 * trans_mgr.C (insert): move cursor to the right after inserting
117 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
119 * BufferView_pimpl.C (update): dampen some of the debug blabbering
120 * factory.C (readInset): ditto
121 * text.C, text2.C: ditto
123 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
125 * buffer.C: format incremented to 242. There is no file format per
126 se, but the "frenchb" language has been removed from lib/language
127 and has to be translated to "french" by lyx2lyx.
129 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
131 * cursor_slice.h, dociterator.h: add some documentation
132 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
134 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
136 * text.C (leftMargin): do not add identation to display() style
137 insets, because they are always centered (bug 1293).
139 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
141 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
142 formatted_time methods in support/lyxtime.
144 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
146 * toc.[Ch]: new method getGuiName, which is used by the frontends
147 to set the toc combo (fixes bug 1870). Make TOC string translatable.
149 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
151 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
152 StableDocIterator const &)
153 * undo.C (recordUndo): use the above instead of cell.size() comparison
154 (fixes bug 1808; instructed by André).
156 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
159 * dociterator.h: Fix the assert when copying rows/cols in math
161 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
163 * BufferView_pimpl.C:
165 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
167 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
168 (findInset): new functions, refactored from goto Inset that return
169 the position of a certain inset without setting the buffer's cursor
171 (gotoInset): rewrite to call findInset and then set the cursor
174 2005-06-16 Angus Leeming <leeming@lyx.org>
176 * lyxrc.C (output, read): wrap all input and output of paths with
177 calls to os::internal_path and os::external_path, respectively.
178 (output): wrap bind_file inside quotes.
180 * format.C (view): enable the viewer to use the '$$s' placeholder.
182 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
184 * LColor.[Ch] (getFromLaTeXName): new
186 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
188 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
190 2005-06-14 Angus Leeming <leeming@lyx.org>
192 * lyx_main.C (init): ensure that the LyX binary dir is the first
193 element in the PATH on non-POSIX builds.
195 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
197 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
199 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
201 * rowpainter.C (paintInset, paintHebrewComposeChar)
202 (paintArabicComposeChar, paintChars): add a LyXFont argument.
203 (paintChars): use getFontSpan to reduce calls to getFont to a
204 minimum; use Paragraph::lookupChange instead of isXXXText.
205 (paintForeignMark): rename LyXFont argument.
206 (paintFromPos): pass a LyXFont object to the various paintXXX
209 * FontIterator.C (FontIterator, operator++): use
210 Paragraph::getFontSpan
212 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
213 version that returns the font span as a pair.
215 2005-06-09 Angus Leeming <leeming@lyx.org>
217 * converter.C (convert): Don't forget "outfile = real_outfile" as
218 the final step in a conversion where the input and output file names
219 are the same. Otherwise, future conversion steps won't work...
221 2005-06-09 Angus Leeming <leeming@lyx.org>
223 * lyxsocket.C: remove stub code as it isn't needed by
224 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
226 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
228 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
229 effectively disabled -x
231 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
233 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
234 when it actually makes sense.
236 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
238 * BufferView_pimpl.C: revert to showCursor in connection with
239 Lars's front-end stack
241 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
243 * text.C (redoParagraph): move cursor right after a bibitem
246 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
248 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * buffer_funcs.C (bufferErrors): fix computation of the end of an
253 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
255 * BufferView.[Ch] (update):
256 * BufferView_pimpl.[Ch] (update, metrics):
257 * dimension.h (operator==):
258 * lyxfunc.C (dispatch):
259 * metricsinfo.h (ViewMetricsInfo):
260 * rowpainter.C (paintText):
262 * text.C (redoParagraph):
263 * text3.C (dispatch): Make LyX only repaint current paragraph in
264 case of character insert --> speedup. Also fix cursor draw
267 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
270 avoid a crash (bug 1891)
272 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * text2.C (getStringToIndex): constify cur argument.
278 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
279 argument has been given
280 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
281 try to invoke LFUN_INSET_APPLY).
283 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
284 if no inset was created by doInsertInset
285 (doInsertInset): return true if an inset has been inserted.
287 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * vspace.C (asGUIName): new method. A version of the space
290 suitable for showing on screen.
292 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
295 * lyxrc.C: rename "ASCII" to "Plain Text"
297 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * buffer_funcs.C (expandLabel): take a Buffer as argument;
300 translate the labelstring.
301 (setCounter): translate labelstring as needed.
303 * output_docbook.C (makeCommand): fix expandLabel invokation
305 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
307 * BufferView.C: fix dialog title
309 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
311 * lyx_main.C (priv_exec): fix logic error with help from Angus
312 * lyx_main.C (parse_execute): set is_gui = false and remove now
313 obsolete comment about a segfault
315 2005-05-18 Angus Leeming <leeming@lyx.org>
317 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
319 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
321 * tabular.[hC]: added setCellInset to fix tabular paste.
323 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
325 * buffer.C (save): check if destination is writable before trying
328 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
330 * BufferView_pimpl.C (update): fix processEvents -caused update
333 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
335 * buffer_funcs.C (setCounter): fix test for numbering of
338 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
339 depth correctly; use optional argument when it exists
341 * lyxtextclass.C: remove unused MaxCounterTags enum
342 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
343 (max_toclevel, min_toclevel): new methods.
345 * MenuBackend.C (expandToc2): fix case where depth is smaller than
346 the smallest depth in toc.
348 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
349 layouts that should not appear in a table of contents.
351 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
353 * cursor.h (undispatched, noUpdate): add comments from André
355 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
359 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
361 2005-05-07 André Pönitz <poenitz@gmx.net>
363 * cursor.[Ch] (leaveInset): new function
365 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
367 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
369 2005-05-04 Angus Leeming <leeming@lyx.org>
371 * lyxfunc.C (getStatus): disable the spell checker dialog if
372 none of USE_[AIP]SPELL are defined.
374 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
376 * tabular.C (setWidthOfCell): remove obsolete comment
378 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
380 * paragraph.C (bibitem):
381 * buffer_funcs.C (setCounter):
382 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
384 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
386 * text3.C (getStatus): immediately return after setOnOff
388 * rowpainter.C: fix drawing of appendix start
390 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
392 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
393 SwitchBetweenClasses and remove the unused return value.
394 Handle character styles, too
396 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
398 * factory.C (createInset): handle undefined character styles
400 2005-05-02 Angus Leeming <leeming@lyx.org>
402 * buffer.C: protect the #include of utime.h with a preprocessor
405 2005-05-02 Angus Leeming <leeming@lyx.org>
407 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
408 function so that auto-saving works, albeit in a blocking manner.
410 * Makefile.am: make compilation of the client sub directory, of
411 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
412 on conditionals set at configure time.
414 * SpellBase.[Ch]: no longer an abstract base class. Instead,
415 it can be compiled in its own right but has no-op functionality.
417 * aspell.C, pspell.C: remove preprocessor guards. The files should
418 be compiled only if the necessary functionality exists.
420 * lyxserver.C, lyxsocket.C: disable on Windows.
422 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
424 * text.C (leftMargin): Fix the parindent use bug (1764)
427 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
429 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
432 2005-04-25 Angus Leeming <leeming@lyx.org>
440 include <config.h> in .C files, not .h ones.
442 protect headers inside preprocessor guards.
444 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
446 * FuncStatus.h (StatusCodes): document
448 2005-04-21 André Pönitz <poenitz@gmx.net>
450 * FuncStatus.h (enabled, onoff): document
452 2005-04-19 Angus Leeming <leeming@lyx.org>
454 * BufferView_pimpl.C (cursorToggle): no longer test whether
455 any child processes have been reaped before calling
456 handleCompletedProcesses().
458 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
460 * text3.C (dispatch): fix, finally fix, the language problem in
461 new lyxtexts, without disabling on-the-fly font changes (Helge's
464 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
466 * text3.C (dispatch): set cursor on double/triple click events
469 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
472 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
474 * rowpainter.C (paintFirst): simplify the code a little bit. In
475 particular, remove the test for secnumdepth.
476 * text.C (setHeightOfRow): only allocate space for chapter number
477 when updateCounters provided an actual label, instead of looking
478 at secnumdepth directly.
480 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
482 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
483 paragraphs when secnumdepth is large enough or, for environments,
484 when they are not the first in a sequence.
486 2005-04-17 Angus Leeming <leeming@lyx.org>
488 * buffer.C (makeLaTeXFile): replace code to manipulate a path
489 containing space and '~' characters with a call to latex_path().
491 2005-04-17 Angus Leeming <leeming@lyx.org>
493 * converter.C (convert): protect all args of convertDefault.sh
496 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * text3.C (dispatch): change the layout to "Caption" after inserting
501 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
503 * text3.C (dispatch): fix language problem in newly created
504 textinsets (and main text) in non-english docs
506 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
508 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
509 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
510 * text3.C (getStatus): disable LFUN_INSET_MODIFY
512 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
517 * rowpainter.C (getFont): Fix metrics bug introduced by inset
520 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
522 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
523 output of \item arguments without trailing text.
525 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * FontIterator.C (operator*): avoid a copy of the font.
529 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
531 * rowpainter.C (getFont): fix language bug from previous fix
533 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
535 * rowpainter.C (RowPainter, getFont): fix font inside inset
538 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
540 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
541 preventing inserted font, deco, delim insets jumping to start of
544 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
546 * lyxfunc.C (dispatch): translate message before sending it to the
549 2005-03-29 Angus Leeming <leeming@lyx.org>
551 * lyx_main.C (priv_exec): call os::internal_path on each file passed
552 to LyX on the command line.
554 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
556 * vc-backend.C: use QuoteName to protect file names wherever
559 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
562 * BranchList.h: fix bugs 1844,1845: document settings don't
565 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
567 * lyxrc.C (setDefaults, read, output, getDescription): add support
568 for tex_allows_spaces.
570 * exporter.C (Export): allows files in directory containing spaces
571 if tex_allows_spaces is true.
573 * buffer.C (makeLaTeXFile): if the document path contains spaces,
574 output it in double quotes.
576 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
578 * rowpainter.C: use default text height for drawing change tracker
581 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
583 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
585 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
587 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
588 directory is missing.
590 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
592 * text2.C: fixed the fix, extended to other case.
594 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
596 * text2.C: fix for cursor up/down stuck in math [bug 1792]
598 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
600 * text2.C (cursorUp): get rid of a crash
601 * text.C (x2pos): add an assert
603 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
605 * lyxfunc.C (getStatus): fix warning when assertions are disabled
609 * dociterator.C: include <boost/current_function.hpp>, which is
610 needed when assertions are disabled.
612 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
614 * text2.C: fix for stuck cursor when traversing two
615 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
617 2005-02-25 Andreas Vox <avox@arcor.de>
619 * output_docbook.C (makeParagraph): suppress trailing newline
620 after a run of paragraphs
622 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
624 * paragraph.C: fix for confused change tracker when pasting
625 text that begins with a lineseparator. [bug 1827]
626 (setChange(0, Change::INSERTED);)
628 * paragraph_funcs.C: fix for lost changes on triple-paste
629 in change tracking mode [bug 1827] (par.setChange()).
631 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
633 * text2.C (updateCounters, setCounter, expandLabel): move to
636 * buffer_funcs.C (updateCounters): turn into a free standing
637 function and add a buffer parameter. Remove dead code for tracking
639 (setCounter): change into a free-standing function which gets a
640 dociterator as argument. Use this iterator to fix captions in a
641 simple way. When no float is found above the caption, use the
642 labelstring of the caption layout as default.
644 * text.C (breakParagraph, backspace):
645 * text2.C (init, setLayout, changeDepth):
646 * text3.C (dispatch):
647 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
650 * dociterator.C (forwardPar): make it much faster by calling
651 forwardPos() only when really necessary.
653 * output_docbook.C (makeCommand): adapt to expandLabel move.
655 * cursor.C: remove unused variable
657 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
659 * paragraph_funcs.C: fix crash when pasting insets in change
660 tracking mode [bug 1277] (honour change type in moveItem).
662 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
664 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
666 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 * BufferView.C (setCursor): change to use a DocIterator.
669 (gotoLabel): use BufferView::setCursor (other part of bug 781).
670 (putSelectionAt): adapt to BufferView::setCursor change.
672 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
673 moved here from LyXText and rewritten to use proper cursor
674 methods. Fixes bug 1787, 616 and 835.
676 * BufferView_pimpl.C (restorePosition): set the cursor correctly
677 when inside an inset (part of bug 781).
678 (dispatch): adapt to change of BufferView::setCursor.
679 (getStatus, dispatch): handle LFUN_GOTOERROR,
680 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
682 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
683 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
684 * text3.C (gotoNextInset, gotoInset): removed.
686 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
688 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
690 2005-02-15 Angus Leeming <leeming@lyx.org>
692 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
693 can be used meaningfully in a comparison.
695 2005-02-13 André Pönitz <poenitz@gmx.net>
697 * bufferview_funcs.C (coordOffset): improve cursor drawing
699 2005-02-13 André Pönitz <poenitz@gmx.net>
701 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
702 * Cursor.C (dispatch): use fixIfBroken
703 * lyxfunc.C (getStatus): use fixIfBroken
705 2005-02-15 Angus Leeming <leeming@lyx.org>
707 * lyx_main.C (error_handler):
709 * lyxrc.C (setDefaults):
711 #include "environment.h".
713 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
715 2005-02-15 Angus Leeming <leeming@lyx.org>
717 * lyxserver.C (startPipe): squash MSVC warning "local variable
718 'fd' used without having been initialized".
720 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
722 * BufferView_pimpl.C: revert accidental commit.
724 2005-02-14 André Pönitz <poenitz@gmx.net>
726 * dociterator.[Ch]: new member forwardPosNoDescent(),
727 which doesn't enter nested insets.
728 * text2.C (setFont): use forwardPosNoDescent() instead
729 of ForwardPos() (fixes crash on font change).
731 2005-02-13 Angus Leeming <leeming@lyx.org>
733 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
734 only if lyxrc.path_prefix is not empty.
736 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
738 * bufferparams.C (readGraphicsDriver): prevent crash
740 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
742 * text2.C (setCounter): check for inInset() == 0
744 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
746 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
747 but use update() to get correct screen display; use convert
748 instead of istringstream.
749 (getStatus): handle LFUN_GOTO_PARAGRAPH
751 * lyxfunc.C (dispatch, getStatus): do not handle
752 LFUN_GOTO_PARAGRAPH here.
754 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
756 * text3.C (dispatch): size() -> depth()
758 * text2.C: remove some debug output
760 * paragraph.C: ws changes only
762 * lyxfunc.C (getStatus): size() -> depth()
764 * dociterator.h (clear, push_back, pop_back, internalData,
765 operator[], resize, empty): new functions
766 Make StableDocIterator and operator== be friends. Don't inherit
767 from std::vector use a privat class variable slices_ instead.
770 * dociterator.C: update because of not inheriting from std::vector
771 anymore. Call explictly to slices_ instead. Use depth() instead of
772 size() and top() instead of back()
774 * cursor.C: chagne size() -> depth and back() -> top(). Also
775 remove some direct operator[](i) calls in favour of foo[i]
776 (getFont): remove some dead code
778 * bufferview_funcs.C (coordOffset): size() -> depth()
780 * buffer.C: ws changes only
782 * CutAndPaste.C (eraseSelection): back() -> top()
784 * BufferView_pimpl.C (selectionRequested): back() -> top()
786 * BufferView.C (setCursor): size() -> depth()
788 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
790 * text3.C (cursorPrevious): return true if depm changed something
792 (dispatch): rename sl to oldTopSlice, remove moving use the new
793 NoUpdate func attrib instead. Make sure that needsUpdate is set
794 for function that have NoUpdate, but where depm might have changed
797 * text2.C (cursorLeft): make us return true if depm changed
800 (cursorUpParagraph): ditto
801 (curosrDownParagraph): ditto
802 (cursorUp, cursorDown): ditto, make sure to read comments in code
803 (deleteEmptyParagraphMechanism): remove an assert, also return
804 true if just a single char was deleted.
806 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
807 cursor that we modify, to avoid modifying an active cursor before
808 we call setCursor. This allows depm to run. Also return true if
809 depm deleted something.
811 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
812 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
813 cursorDownParagraph, cursorPrevious and cursorNext, return true if
814 something was changed in the buffer because of them (ie. depm run)
816 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
817 debug messages. Make update by default be false. Make sure that
818 the result of update is retained throught several calls down to
821 * LyXAction.h: add a new func_attrib: NoUpdate
823 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
824 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
825 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
827 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
829 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
831 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
832 bv_->owner(), bv_->buffer() by direct references to the private
834 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
835 (getStatus): isSavedPosition() is in BufferView::Pimpl.
836 (fitCursor): center() is in BufferView::Pimpl.
837 (getStatus, trackChanges, dispatch): no need for a temporary buf
839 (fitCursor, workAreaDispatch): use workarea().workheight()
841 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
843 * CutAndPaste.C (pasteSelectionHelper): fix a crash
845 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
847 * buffer.C: format up to 241.
848 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
849 break if pasting into ERT
850 * lyxfunc.C (getStatus): suppress mathpanel and
851 LFUN_DIALOG_SHOW_NEW_INSET in ERT
853 2005-02-01 Angus Leeming <leeming@lyx.org>
855 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
857 2005-02-01 Angus Leeming <leeming@lyx.org>
859 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
860 calling fs::is_directory().
862 2005-01-31 Angus Leeming <leeming@lyx.org>
864 * lyx_main.C (priv_exec): specify explicitly the relative location
865 of the top level build directory when run in-place.
867 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
869 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
870 LyXText containing the cursor, not the top-level one.
872 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
874 (insertStringAsLines): rename par to pit; use temporary variable
875 par to hold a Paragraph; do not store par.layout() in a variable,
876 since the pointer may die when breaking paragraphs; pass pars to
877 breakParagraph() instead of Buffer::paragraphs().
879 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
881 * lyxlex_pimpl.h: #include <fstream>.
883 * BufferView.[Ch] (getLyXText): add a const version.
885 * BufferView_pimpl.C: add debug aids.
890 * paragraph_funcs.h: add commentary explaining what the class does.
893 * coordcache.[Ch]: add lots of commentary.
894 (startUpdating, doneUpdating): debug aids.
895 (arrays, insets, parPos, getParPos): accessors to private data.
897 * cursor_slice.[Ch] (text): add a const version.
898 * dociterator.[Ch] (text, innerText): add const versions.
900 * lyxtext.h (breakParagraph): change the keep_layout arg to a
903 * paragraph.C (getRow, pos2ros): add asserts.
905 * paragraph.h: add commentary. Lots of.
907 * paragraph.[Ch] (metrucs, draw): removed.
910 * rowpainter.[Ch]: const-correct changes.
912 * text.C: various obvious clean-ups. Removal of ancient cruft.
915 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
917 * vc-backend.C (find_file): rewrite to use boost.filesystem
920 * main.C (main): set default name check for boost.filesystem to
923 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
926 (actOnUpdatedPrefs): ditto
928 * lyx_main.C (init): rewrite to use boost.filesystem
929 (queryUserLyXDir): ditto
931 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
932 (getContentsOfAsciiFile): ditto
934 * lastfiles.C (readFile): rewrite to use boost.filesystem
936 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
938 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
941 * buffer.C (Buffer): adjust for destroydir
942 (getLogName): rewrite to use boost.filesystem
944 (save): use fs::copy_file (from fs_extras)
946 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
948 * LaTeX.C (run): rewrite to use boost.filesystem
949 (scanAuxFiles): ditto
950 (handleFoundFile): ditto
952 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
954 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
956 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
958 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
960 * lyxlayout.[Ch]: change some vars from float to double
962 * buffer.C (readFile): make a local var const
964 * Several files: use convert<> instead of atoi,strToXXX and friends
966 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
968 * LaTeXFeatures.[Ch]: Add a static list packages_ that
969 holds the contents of packages.lst. New functions getAvailable
970 and isAvailable to parse and check that list, resp.
974 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
976 * bufferparams.[Ch]: new param output_changes.
978 * Buffer.C: increase file format to 240.
979 Use output_changes and isVailable.
983 * paragraph_pimpl.C: Use output_changes and isVailable.
985 2005-01-23 Angus Leeming <leeming@lyx.org>
987 * output_latex.C: #include "insetbibitem.h", rather than
988 forward declare function bibitemWidest.
990 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
992 * lyx_main.C (init): make it compile on the Mac.
994 2005-01-20 Angus Leeming <leeming@lyx.org>
996 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
997 (setLyXMisc): (char string literal) != (char string literal) is
998 performing a comparison on the addresses. Convert one operand
999 explicitly to string to guarantee expected behaviour.
1002 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1005 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1007 * output_plaintext.C: remove unneeded #include gzstream.h.
1009 2005-01-20 Angus Leeming <leeming@lyx.org>
1011 * SpellBase.h: rename some of the elements of the Result enum.
1018 * pspell.C (check): ditto
1020 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1022 * buffer.C: add #include <fstream>.
1024 * lyx_main.C (init): Compile fix.
1026 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1028 2005-01-20 Angus Leeming <leeming@lyx.org>
1030 * mover.h: change commentary to reflect the changed meaning of
1031 the $$s placeholder.
1033 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1035 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1037 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1039 2005-01-20 Angus Leeming <leeming@lyx.org>
1041 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1042 printing diagnostic data by not dereferecing an iterator past the
1045 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1047 * buffer.C (readHeader): use "&&" rather than "and".
1049 * lyxserver.h (inPipeName, outPipeName): make these const.
1051 2005-01-19 Angus Leeming <leeming@lyx.org>
1053 * lyx_main.C (error_handler, init): protect SIGHUP with
1054 #ifdef SIGHUP guards.
1056 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1058 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1060 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1062 * text.C (setHeightOfRow): add a margin at the top and bottom of
1063 the document (bug 1761)
1065 2005-01-17 Angus Leeming <leeming@lyx.org>
1067 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1068 with "python ". Workaround for a brain-dead Windows.
1070 2005-01-16 Angus Leeming <leeming@lyx.org>
1072 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1073 for MacOSX and Windows to use prependEnvPath.
1074 Strip out the hard-coded block to add elements to the PATH for
1075 MacOSX and replace it with a call to prependEnvPath using the
1076 contents of LyXRC::path_prefix.
1077 (queryUserLyXDir): strip out the code to run reconfigure, instead
1078 returning a boolean indicating the necessity to do so.
1079 (reconfigureUserLyXDir): contains the code to reconfigure the
1080 user support directory. Is now called after the various LyXRC data
1081 files have been read.
1083 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1085 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1087 * converter.[Ch] (convert): take a new parameter try_default. Use
1088 a default converter (imagemagick) if try_default is true.
1090 2005-01-13 Angus Leeming <leeming@lyx.org>
1092 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1093 os::cygwin_path_fix.
1094 (write): output LyXRC::cygwin_path_fix as necessary.
1096 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1099 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1101 2005-01-12 Angus Leeming <leeming@lyx.org>
1103 * lyx_main.C (init): set the PATH variable to include the
1104 directory containing the LyX binary when running on Mac or Windows.
1106 2005-01-12 Angus Leeming <leeming@lyx.org>
1108 * lyx_main.C (init): remove cruft that purports to set the locale
1109 dir. It doesn't and is not needed anyway.
1111 2005-01-10 Angus Leeming <leeming@lyx.org>
1113 * Makefile.am: remove the lyx_main.C special casing.
1115 * BufferView_pimpl.C:
1121 * messages.C: use support/package.h to provide the paths to the
1122 various directories used by LyX.
1124 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1126 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1127 layout if pasting into an empty paragraph)
1129 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1131 * tex-accent.C: add <string>
1133 2005-01-06 José Matos <jamatos@lyx.org>
1135 * ParagraphParameters.C (write): put every parameter in its own line.
1136 * paragraph.C (write): reduce number of consecutive empty lines exported.
1137 * buffer.C (LYX_FORMAT): increase file format to 239.
1139 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1141 * everywhere: change support/tostr.h -> support/convert.h
1143 * tabular.C: make all write_attributes templates, tostr -> convert
1145 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1146 (emptyTag): and -> &&, and fix type for ret from getChar
1147 (getFirstWord): fix type for ret from getChar
1148 (onlyText): and -> &&
1149 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1152 * toc.C (goTo, action):
1153 * text3.C (dispatch):
1154 * text.C (currentState):
1155 * tex-accent.C (DoAccent):
1158 * lyxfunc.C (menuNew):
1159 * lyxfinc.C (replace):
1160 * counters.C (laberItem):
1161 * bufferview_funcs.C (font2string):
1162 * bufferparams.C (writeFile):
1163 * buffer.C (readFile):
1165 * MenuBackend.C: tostr -> convert
1167 * LaTeX.C (runMessage): fix format
1168 (scanAuxFiles): tostr -> convert
1170 * BufferView_pimpl.C (savePosition): fix format
1171 (restorePosition): ditto
1174 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1176 * Spacing.[Ch]: New method getValueAsString().
1180 * ParagraphParameters.C:
1183 * text3.C: store/read spacing value as string.
1185 * rowpainter.C: change float value (spacing_val) to double.
1187 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1188 broken custom document spacing).
1190 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1192 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1193 namespace, also more use of temp references and const
1195 * cursor.[Ch] (getStatus): move to lyxfunc.C
1197 * bufferparams.C: reformat slightly
1199 * bufferview_funcs.C (font2string): constify arg
1205 * buffer_funcs.C: (many funcs): constify arg on function
1206 definitions, also make more local vars const, also add ASSERTS on
1209 * buffer.C (LYX_FORMAT): put const in correct place
1210 (many funcs): constify arg on function definitions, also make
1211 more local vars const
1213 * aspell_local.h: remove "struct" from typdef setup
1215 * aspell.C (check): make word_ok const
1216 (nextMiss): simplify slightly
1219 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1221 * lyxrc.[Ch]: store all float values as strings.
1222 use int (not float) for lyxrc.dpi.
1224 2005-01-04 Angus Leeming <leeming@lyx.org>
1226 * lyx_cb.C (Reconfigure):
1227 * lyx_main.C (queryUserLyXDir):
1228 to run the <system_lyxdir>/configure correctly on Windows, prefix
1229 the path to the script with "sh " when generating the string that
1230 is passed to system().
1232 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1234 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1236 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1238 * lyxlength.C (asLatexString): get rid of setprecision
1240 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1242 * text2.C (setLayout): remove unused variable endpit.
1243 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1245 * paragraph.C (onlyText): remove unused variable style.
1247 * cursor.C (bruteFind): remove unused variables beg and end.
1249 * Makefile.am (dist_noinset_DATA): not needed anymore
1251 * cheaders/*: remove.
1253 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1255 * text3.C: fix LFUN_MATH_MODE.
1257 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1259 * buffer_funcs.C (countWords): new function. Counts words between
1262 * BufferView_pimpl.C (getStatus, dispatch): handle
1265 * LyXAction.C (init):
1266 * lfuns.h: add LFUN_WORDS_COUNT.
1268 2004-12-19 Angus Leeming <leeming@lyx.org>
1270 * buffer.C (save): s/slashify_path/internal_path/.
1272 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1274 * lyxfind.C (findChange): do not search for end of pars, because
1275 the change tracker cannot handle this (fixes bug 1719).
1277 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1279 * paragraph.[Ch] (autoBreakRows): remove
1281 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1283 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1284 avoid using the paragraph one
1286 * text2.C (LyXText, insertStringAsLines): adjust
1288 2004-12-16 Angus Leeming <leeming@lyx.org>
1292 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1294 2004-12-14 Angus Leeming <leeming@lyx.org>
1296 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1298 * bufferlist.C (emergencyWrite):
1299 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1302 2004-12-14 Angus Leeming <leeming@lyx.org>
1304 * main.C: (main): no longer pass pointers to os::init.
1306 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1308 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1309 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1311 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1314 * text3.C: remove selection_possible global flag
1316 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1318 * text2.C (getSelectionSpan): remove
1319 (changeDepth, changeDepthAllowed): adjust
1321 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1323 * Makefile.am (BOOST_LIBS): use boost variables
1325 2004-12-03 José Matos <jamatos@lyx.org>
1327 * buffer.C: format up to 238.
1329 2004-12-03 José Matos <jamatos@lyx.org>
1331 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1333 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1335 * cursor.C (goUpDown): remove call to idxUpDown2
1337 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1339 * tabular.[Ch]: use size_t-like types for cell, row and column
1342 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1344 * lyxfunc.C (getStatus): do not lose previous information when
1345 calling BufferView::getStatus; do not set a default "Command
1346 disabled" message at the beginning, but just before returning.
1348 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1350 * cursor.h (getStatus): add better comment from src/cursor.C
1352 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1354 * text3.C (getStatus): return false when the lfun is not handled
1356 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1358 * broken_headers.h: remove
1360 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1362 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1364 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1365 offset_ref accessors
1367 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1368 top_y_, merge fitcursor with update
1369 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1371 (metrics): introduce
1372 (workAreaDispatch): adapt to new coord scheme
1373 (redoCurrentBuffer): remove
1375 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1377 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1380 * coordcache.[Ch]: add paragraph cache and helpers
1382 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1385 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1386 (targetX, setTargetX): introduce
1388 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1389 baseline -> ascent, as the rest of lyx
1391 * lyxtext.h: remove redoParagraphs, updateParPositions,
1392 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1393 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1394 have ascent/descent (ascent is ascent of first par)
1396 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1399 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1401 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1403 * pariterator.C: fix infinite loop introduced in par->pit renaming
1405 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1406 in insets and LyXText, draw two off-screen paragraphs using
1407 NullPainter, and adapt to new coord scheme
1411 * text3.C: adapt lfun handlers to the new coord scheme, which
1412 means: there's only guaranteed coord information for onscreen pars
1413 plus one above and one below. This implies that one can do search
1414 from y coordinates in the range [-1,workHeight]
1416 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1418 * rename a lot of InsetOld to InsetBase
1420 2004-11-25 Angus Leeming <leeming@lyx.org>
1422 * BufferView_pimpl.C:
1424 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1426 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1428 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1429 call BufferView::getStatus if LCursor::getStatus did nothing
1430 (setStatusMessage, getStatusMessage): removed.
1432 * FuncStatus.C (message): new methods. Used to provide an error
1433 message indicating why a command is disabled.
1434 (clear, |=, FuncStatus): update for message.
1436 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1438 * lyxfunc.C (dispatch): always call sendDispatchMessage
1440 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1443 * BufferView_pimpl.C:
1448 * cursor_slice.[Ch]:
1451 * paragraph_funcs.C:
1457 * undo.C: par->pit renaming
1459 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1461 * tabular.C (cellstruct): use initialization, store a shared_ptr
1462 to insettext instead of the insettext directly, adjust to fit.
1463 (operator=): new function
1464 (swap): new function
1465 (rowstruct): use initialization
1466 (columnstruct): use initialization
1467 (ltType): use initialization
1470 * lyxlength.h (swap): new function
1472 * LColor.[Ch] (operator=): use the common semantics
1474 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1476 * lyxfind.C (findNextChange): update the bufferview after setting
1479 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1481 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1482 number of InsetOptArgs has already been inserted.
1484 * output_latex.C (latexOptArgInsets): new method. This outputs all
1485 the optarg insets, up to the limit defined in the layout file.
1486 (optArgInset): removed
1487 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1489 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1491 * paragraph.C (isLetter): remove special spellchecker-related
1492 code; return true also for digits
1493 (isWord, isKomma): remove
1495 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1496 * lyxfind.C (MatchString()): use isLetter instead of isWord
1498 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1500 * pariterator.h (operatir=): comment out un-implemented member
1503 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1506 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1508 * lyxfont.h: include LColor.h to satisfy concept checks.
1510 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1512 * pariterator.h: add typdefs for value_type, difference_type,
1513 pointer and reference to satisfy concept checks. Also add default
1514 constructor for same reason.
1516 * pariterator.C (operator++): add post-increment operator to
1517 satisfy concept checks.
1519 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1522 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1524 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1525 checks. Also rename base_type to BaseType to follow naming
1528 * FloatList.h: include Floating.h to satisfy concept checks.
1530 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1532 * lyxfunc.C (getStatus): when the origin of the request is menu or
1533 toolbar, and the LyXView does not have focus, do as if there was
1534 no buffer (bug 1720)
1536 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1537 FuncRequest to individual entries of LFUN_SEQUENCE
1539 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1541 * output_latex.C (TeXOnePar): override runparams.moving_arg
1542 according to the needprotect value of the current paragraph (bug
1545 * paragraph.C (simpleTeXOnePar): no need to override
1546 runparams.moving_args here
1548 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1550 * vspace.C: fix off-by-one-error, related to fix #1682
1552 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1554 * lengthcommon.C: a more general fix for bug 1682
1556 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1558 * text.C (backspace): fix crash
1560 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1562 * format.[Ch] (getFormatFromFile): new method
1563 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1565 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1567 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1569 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1571 * lyxfunc.C (dispatch): remove the verbose argument
1572 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1575 * kbmap.C (defkey): set the origin of func to KEYBOARD
1577 * MenuBackend.C (MenuItem):
1578 * ToolbarBackend.C (add): set the origin of func to UI
1580 * funcrequest.[Ch]: add origin member, which indicates which part
1581 of LyX requests an action
1583 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1585 * converter.C (move): don't lie in the error message
1586 * converter.h (isReachable, move): document
1588 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1590 * buffer.C: remove unused using lyx::support::atoi
1591 * paragraph_funcs.C: ditto
1593 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1595 * bufferlist.C (exists): use bind and equal_to instead of
1598 * lyxtextclasslist.C (NumberOfClass): ditto
1600 * cursor.C (insert): use for_each instead of explicit for loop
1602 * bufferlist.C (getFileNames): use std::transform and
1603 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1605 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1608 * buffer.C (changeLanguage): use for_each instead of explicit for
1610 (hasParWithID): implement using getParFromID
1612 * LaTeXFeatures.C: ws change only
1614 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1617 * BufferView_pimpl.C (trackChanges): use for_each instead of
1620 2004-11-04 André Pönitz <poenitz@gmx.net>
1623 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1625 * dociterator.C (asDocIterator): use hard assert again.
1627 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1629 * lyxlength.C (asLatexString): rewrite so that it does not use
1632 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1634 * text3.C (specialChar, dispatch): make sure cursor moves to the
1635 right after inserting an inset
1637 2004-11-02 José Matos <jamatos@lyx.org>
1639 * output_docbook.C (docbook):
1640 * paragraph.C (getID):
1641 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1642 garantee that the output is always legal.
1644 * tabular.C (docbook):
1645 * outputprams.[Ch]: remove mixed contents.
1647 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1649 * text2.C (setCounter): prevent endless loop
1651 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1653 * exporter.C (copyFile): use the mover instead of support::copy()
1654 * exporter.C (Export): pass format and latex name to copyFile()
1655 * exporter.h (addExternalFile): document
1656 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1658 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1660 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1662 2004-10-30 José Matos <jamatos@lyx.org>
1664 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1665 text and no inset or font change. This allows to use CDATA
1666 sections just for the whole paragraph.
1668 2004-10-30 José Matos <jamatos@lyx.org>
1670 * paragraph.C (getFirstWord): remove unused variable.
1672 2004-10-30 José Matos <jamatos@lyx.org>
1674 * paragraph.C (getFirstWord): the content should always be escaped
1676 (simpleDocBookOnePar):
1677 * output_docbook.C (makeEnvironment): replace reference to CDATA
1680 2004-10-30 José Matos <jamatos@lyx.org>
1682 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1684 2004-10-30 José Matos <jamatos@lyx.org>
1686 * output_docbook.C (makeParagraphs):
1687 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1688 standard paragraph has only a given type of content drop the wrapper.
1690 2004-10-29 José Matos <jamatos@lyx.org>
1692 * output_docbook.C (makeEnvironment):
1694 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1696 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1698 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1699 (cleanID): sanitize any id.
1701 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1703 * buffer.C, lyxlex_pimpl.C:
1704 * lyxlex_pimpl.C (setFile):
1705 s/getExtFromContents/getFormatFromContents/
1707 2004-10-28 José Matos <jamatos@lyx.org>
1709 * output_docbook.C (makeEnvironment): move id to broadest possible
1712 * sgml.C (openTag): apply substitution of <> for all attributes.
1714 2004-10-28 José Matos <jamatos@lyx.org>
1716 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1717 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1718 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1720 * sgml.[Ch]: new version for open and closeTag for paragraph and
1721 for strings. Now they handle the ids of paragraphs.
1723 2004-10-26 Angus Leeming <leeming@lyx.org>
1725 * Makefile.am: add mover.[Ch].
1727 * converter.C (convert, move): use the new Movers to move external
1728 files to the temp directory.
1730 * lyx_main.C (init): ensure that the global system_movers data
1733 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1736 * mover.[Ch]: new files, defining a Mover as a utility to move an
1737 external file between directories and, if necessary, manipulate this
1738 file using a helper script.
1740 2004-10-25 José Matos <jamatos@lyx.org>
1742 * output_docbook.C (makeCommand): merge two if's that tested the
1745 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1747 * sgml.C (escapeString): fix warning in a better way
1749 2004-10-25 José Matos <jamatos@lyx.org>
1751 * sgml.C (escapeString): import the require boosts header file for
1752 tie, and avoid a signed unsigned comparison.
1754 2004-10-25 José Matos <jamatos@lyx.org>
1756 * sgml.h: add #include <string>
1758 2004-10-25 José Matos <jamatos@lyx.org>
1760 * sgml.[Ch] (escapeString): new function to escape all the string.
1762 2004-10-24 José Matos <jamatos@lyx.org>
1764 * paragraph.[Ch] (getFirstWord): new function to get the first
1765 word. Useful for description.
1766 (simpleDocBookOnePar): remove depth argument, add another that
1767 says where to start the paragraph.
1769 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1770 use the new functions to fix cleanly the support for descriptions.
1772 2004-10-24 José Matos <jamatos@lyx.org>
1774 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1775 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1776 * output_linuxdoc.C (linuxdocParagraphs):
1777 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1778 add buffer as argument.
1780 2004-10-24 José Matos <jamatos@lyx.org>
1782 * output_docbook.C (makeEnvironment, searchEnvironment): place
1783 CDATA inside paragraphs and fix scope for listitems.
1785 2004-10-24 José Matos <jamatos@lyx.org>
1787 * output_docbook.C: remove using statement for stack.
1789 2004-10-23 José Matos <jamatos@lyx.org>
1791 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1792 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1793 docbook. The new scheme is recursive and makes use of iterators, the
1794 same as latex export works.
1795 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1796 directly with the paragraph contents. This code was moved up to
1797 output_docbook.C (docbookParagraphs).
1798 * sgml.C (openTag, closeTag): removed unneeded newlines.
1799 (closeEnvTags) removed.
1801 2004-10-23 André Pönitz <poenitz@gmx.net>
1803 * undo.C (textUndoOrRedo):
1804 * dociterator.C (asDocIterator): work around crash
1806 * cursor.C (getStatus): replace ASSERT by more verbose error message
1807 and manual correction of the problem. Should increase stability
1808 while providing more sensible information.
1810 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1812 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1814 * bufferlist.C (previous, next): new methods
1817 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1819 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1821 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1822 entities to preamble.
1824 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1826 * messages.C (Pimpl): strip off translation context information
1828 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1830 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1831 the cursor is correct (bug 1694)
1833 2004-10-13 José Matos <jamatos@lyx.org>
1835 * output_docbook.C (docbookParagraphs): fix closing tags in the
1836 end of the document.
1838 2004-10-09 José Matos <jamatos@lyx.org>
1840 * buffer.C: format up to 237.
1841 * bufferparams.C (write): use tostr to convert booleans to strings.
1843 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1845 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1847 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1849 * LaTeX.C: implement use of babel language in xindy.
1851 2004-10-05 José Matos <jamatos@lyx.org>
1853 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1854 Add new translators to help reading and writing the lyx file.
1856 2004-10-05 José Matos <jamatos@lyx.org>
1858 * ParagraphParameters.C (read):
1859 * text.C (readParToken): replace nexToken by more appropriate lex
1862 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1864 * LaTeX.C (runMakeIndex):
1865 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1866 (usually 'makeindex') configurable.
1868 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1869 with a variable rather than with a number.
1871 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1873 * output_latex.C (TeXOnePar): make sure font setting is the first
1874 thing that gets output (and the last at the end). Should fix bug
1877 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1879 * pch.h: use proper signal include
1881 * LaTeX.h: Use preferred calling of Boost.Signal
1884 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1886 * pch.h: dont include <boost/function/function0.hpp>
1888 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1890 * paragraph_pimpl.h: remove usage of ShareContainer
1892 * paragraph_pimpl.C: remove initialization of ShareContainer.
1894 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1898 * BufferView.C (putSelectionAt): change the semantics when
1899 backwards == true: now, this just swaps cursor and anchor wrt the
1902 * BufferView.h (putSelectionAt): add some documentation
1904 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1905 make sure backwardChar is done at least once (to avoid getting
1907 (findNextChange): use putSelectionAt in the forward direction
1908 (operator()): use Paragraph::isWord
1910 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1912 * Spacing.C (set): c_str fix
1914 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1916 * lyx_cb.C (Reconfigure): quote the name of configure script in
1917 case it contains spaces
1919 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1923 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1924 (BOOST_LIBS): use top_buildir when looking for the file
1926 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1928 * pch.h: do not use include boost/format.hpp, multiple symbols
1929 will result (gcc bug)
1932 2004-08-23 José Matos <jamatos@lyx.org>
1934 * bufferparams.C (readToken): fix reading of the author field.
1936 2004-08-20 José Matos <jamatos@lyx.org>
1938 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1940 2004-08-20 José Matos <jamatos@lyx.org>
1942 * lyxlex.[Ch] (findToken): remove function.
1944 * ParagraphParameters.C (findToken):
1945 * bufferparams.C (findToken): replace call for previous function
1946 with local copy. This local function has one more argument, the
1947 read string argument.
1949 2004-08-16 José Matos <jamatos@lyx.org>
1951 * ParagraphParameters.C (write):
1952 * Spacing.C (writeFile):
1953 * bufferparams.C (writeLaTeX):
1954 * lyx_cb.C (Reconfigure):
1955 * paragraph.C (write):
1956 * tabular.C (write): remove unnecessary space at end of line.
1959 2004-08-16 José Matos <jamatos@lyx.org>
1961 * text.C (readParagraph): remove debug message.
1963 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1965 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1968 * output_plaintext.C (asciiParagraph): set depth correctly
1970 * outputparams.h: add member depth
1972 * paragraph_funcs.C (ownerPar): remove.
1974 * text2.C (setCounter): remove first_pit; comment out some
1975 non-working code that uses ownerPar
1977 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1980 2004-08-16 José Matos <jamatos@lyx.org>
1982 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1983 For the same level of importance use the same chanel to report problems.
1984 (read): add code to deal with \begin_body and \end_body.
1987 2004-08-15 José Matos <jamatos@lyx.org>
1989 * lyxlex.C (getString): fix comment, buffer::readBody is now
1990 buffer:readDocument.
1992 * tex-strings.C (string_papersize): Default -> default,
1993 Custom -> custom, for consistency with other options.
1995 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1999 * Makefile.am: support pch
2001 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2003 * text.C (readParToken): remove the static LyXFont variable and
2004 pass it as a parameter instead. This fixes a nasty bug where an
2005 inset will be inserted with a bad font in some situations
2006 (readParagraph): adapt
2008 * text2.C (setCounter): reduce number of calls to pars_[pit]
2010 * text.C (singleWidth): add an assert, fix a test
2012 * rowpainter.C (paintText): reduce number of calls to singleWidth
2014 * paragraph.C (isHfill):
2015 (isNewline): ws only
2017 2004-08-14 André Pönitz <poenitz@gmx.net>
2022 * lyxtext.h (several functions): use a Paragraph & argument
2025 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2027 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2029 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2031 * text.C (singleWidth): remove useless test
2033 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2035 * tabular.h: remove bogus comments
2037 * tabular.C (getDescentOfRow):
2038 (isPartOfMultiColumn): add assertions
2040 * lyxlength.C (inPixels): remove #warning
2042 2004-08-14 André Pönitz <poenitz@gmx.net>
2044 * paragraph.h: inline getChar()
2046 * BufferView.h: remove unused declarations
2048 2004-08-14 José Matos <jamatos@lyx.org>
2050 * Buffer.[Ch] (readDocument): new name for old readBody.
2051 * Buffer.C: new file format, new keywords: \begin_document,
2052 \begin_header, \begin_body, \end_body.
2054 * bufferparams.C (readToken): replace all calls to lex.nextToken
2055 by lex.next(). Do the same to eatLine except where really needed.
2057 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2058 line when writing to the lyx file.
2060 * output_plaintext.C (asciiParagraph): fix Bibliography style
2063 * text.C (read): fix end of file handling.
2065 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2067 * MenuBackend.C (Menu::operator[]): new method to access
2068 individual menu items
2069 (Menu::hasFunc): new method. search for an item that corresponds
2071 (MenuBackend::specialMenu): new method
2072 (MenuBackend::expand): if a special menu has been set, skip
2073 entries whose func() appears in this menu
2075 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2077 * text3.C: use Debug::DEBUG a bit more
2079 * text.C (leftMargin): try to simplify a tiny bit change var x to
2080 l_margin. Dont output the wide margins always.
2081 (rightMargin): no margin in inner texts
2083 * rowpainter.h (nestMargin): new func
2084 (changebarMargin): new func
2085 (rightMargin): new func
2087 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2091 * factory.C (createInset): modify setDrawFrame
2093 * cursor.C: use Debug::DEBUG a bit more
2095 2004-08-14 André Pönitz <poenitz@gmx.net>
2098 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2099 cache for all insets in (at least partially) visible (top-level)
2102 * BufferView_pimpl.C: reset external coord cache before every update.
2103 This means the coord cache only contains valid entries.
2105 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2108 * BufferView_pimpl.C (getInsetByCode): move function out of class
2109 and change in to a template in anon namespace. Also fix to do what
2112 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2115 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2117 (breakParagraph): rename par to par_offset and use a local
2118 reference. Add code to keep the language over a rebreak.
2119 (breakParagraphConservative): rename par to par_offset, use a
2121 (mergeParagraph): ditto
2123 (isFirstInSequence): ditto
2124 (outerFont): rename pit to par_offset
2126 * paragraph.C: ws change
2127 * paragraph.h: ditto
2131 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2133 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2136 * paragraph.C (simpleTeXOnePar): when we have a \item with
2137 optional argument, enclose the argument with curly brackets (in
2138 case it contains a closing square bracket)
2142 * text3.C (checkInsetHit): constify
2144 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2146 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2147 documents (bug 1629)
2149 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2151 Fix toggling of collapsable insets with the mouse (bug 1558)
2153 * lyxfunc.C (dispatch): adapt to LCursor changes
2155 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2156 make sure that dispatch is not invoked twice
2158 * cursor.C (needsUpdate): new method
2159 (dispatch): return void
2160 (result): new method, to access the DispatchResult of the cursor.
2162 2004-08-13 José Matos <jamatos@lyx.org>
2164 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2166 2004-08-13 André Pönitz <poenitz@gmx.net>
2168 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2170 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2173 2004-08-12 André Pönitz <poenitz@gmx.net>
2175 * text3.C: take out the 'cursor right' form insertInset and only
2176 do it in those places when it is really needed. Fixes crash on
2179 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2181 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2183 * BufferView_pimpl.C (setBuffer): initialize the current font of
2184 the underlying LyXText
2186 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2188 * kbsequence.C (print): use UI native formatting for menu
2191 * text.C (insertChar): call Paragraph::insertChar with a font
2194 * paragraph.C (insertInset, insertChar): the version that takes a
2195 LyXFont argument is now a wrapper around the other one (the
2196 opposite used to be true).
2198 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2199 argument. Font setting is done in Paragraph now.
2201 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2203 * outputparams.h: add new members intitle and lang.
2205 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2206 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2208 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2210 * text3.C (dispatch): remove special handling of button 4 and 5,
2211 it is now taken care of in the frontend code.
2213 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2215 * Spacing.h: add <string> (STLPort compile fix)
2217 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2219 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2221 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2223 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2226 * converter.C (showMessage): inherit from unary_function, make
2229 * buffer.C (writeFile): initialize retval
2231 * InsetList.h: rename private variable list to list_
2232 * InsetList.[Ch]: adjust accordingly.
2234 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2236 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2237 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2238 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2239 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2240 * ParagraphParameters.C, LaTeXFeatures.C: replace
2241 "support/std_sstream.h" with <sstream>
2243 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2245 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2246 * lyxsocket.C (LyXServerSocket): ditto
2247 (serverCallback): ditto
2249 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2251 * LaTeXFeatures.C: check release date when loading jurabib.
2253 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2255 * lyxserver.C (startPipe): call register_socket_callback
2256 (endPipe): call unregister_socket_callback
2258 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2260 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2261 (LyXServerSocket): register the callback
2262 (LyXServerSocket): unregister the callback
2263 (fd): delete function
2264 (serverCallback): improve error checking and setup the callbacks.
2265 (dataCallback): change arg to fd.
2266 (writeln): new func (copied fro the client socket) used for server
2268 (LyXDataSocket): simplify
2269 (~LyXDataSocket): close ann unregiser callback
2270 (server): delete function
2271 (fd): delete function
2272 (readln): small changes, improve some std::string usage
2273 (writeln): constify a bit
2275 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2277 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2280 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2282 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2283 after it has been populated
2285 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2287 * text2.C (insertInset): move cursor when inserting inset.
2289 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2291 * kbmap.C (findbindings): a couple of new methods. returns a
2292 container of kb_sequence objects. The real work is done by the
2293 private recursive version
2294 (printbindings): uses findbindings to print out a bracketed list
2295 of bindings (renamed from findbinding).
2297 * MenuBackend.C (binding): use kb_keymap::findbindings
2299 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2301 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2303 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2305 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2307 * paragraph.C (isWord): return true on insets that report
2310 * text.C (getWord): use Paragraph::isWord to decide what is in a
2311 word and what is not; fix bug 1609.
2313 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2315 * tex-strings.C: add "none" to string_paperpackages[], fixes
2316 off-by-one-error in the paperpackage selection.
2319 * tex-strings.[Ch]: char const * string[n]
2320 -> char const * const string[]
2322 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2324 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2325 command, return early.
2327 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2329 * debug.h: add DEBUG to enum and fix size of ANY.
2331 * debug.C: add support for Debug::DEBUG
2332 (showTags): cast errorTags.level to unsigned int
2334 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2335 (redoCurrentBuffer): ditto
2336 (updateScrollbar): ditto
2337 * cursor.C (dispatch): ditto
2338 * text2.C (setLayout): ditto
2340 (updateCounters): ditto
2342 (deleteEmptyParagraphMechanism): ditto
2344 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2346 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2347 annotations to cleanup the Makefile slightly.
2349 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2351 * lyxrc.C: do not set user_email to a default value but use empty
2352 instead. The entry used to be translated, which does not work
2353 since at the point where lyxrc is constructed there is no
2354 translation service available
2356 * messages.C (getLocaleDir): remove and use directly
2357 lyx_localedir() instead
2359 2004-06-02 Angus Leeming <leeming@lyx.org>
2361 Fix crash caused by dereferencing null pointer 'exportdata' in
2362 OutputParams by creating a new ExportData variable on the heap,
2363 storing it in a boost::shared_ptr.
2364 The crash was triggered when generating an Instant Preview
2365 of an external inset.
2367 * Makefile.am: add outputparams.C
2369 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2370 (c-tor): allocate memory to it.
2372 * exporter.C (c-tor): associated changes.
2374 2004-06-01 Angus Leeming <leeming@lyx.org>
2376 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2377 contains data before calling isInset(0). (Bug 1513.)
2379 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2381 * exporter.C (checkOverwrite): new method
2382 * exporter.C (copyFile): new method
2383 * exporter.C (Export): copy referenced files to the document dir
2384 * exporter.[Ch]: new class ExportedFile
2385 * exporter.[Ch]: new class ExportData. Contains currently the
2386 names of referenced external files
2387 * outputparams.h: add exportdata member.
2389 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2391 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2394 2004-05-19 Angus Leeming <leeming@lyx.org>
2399 * lyxfunc.C: small changes due to the introduction of namespace
2400 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2402 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2404 * text3.C (dispatch): supress update when only moving the cursor
2405 * cursor.C (selHandle): remove commented code
2407 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2409 * paragraph.C (startTeXParParams): correct column count
2410 * CutAndPaste.C (pasteSelection): remove const_cast
2411 * output_docbook.C (docbookParagraphs): remove const_cast
2412 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2413 const_cast and return ParagraphList::const_iterator
2414 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2415 * output_plaintext.C (writeFileAscii): remove const_cast
2416 * paragraph.[Ch] (simpleTeXOnePar): make const
2417 * paragraph_funcs.C (outerPar): use const iterators
2418 * paragraph_pimpl.C (validate): use const iterators
2419 * text.C (setHeightOfRow): use const iterators
2421 2004-05-17 Angus Leeming <leeming@lyx.org>
2424 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2426 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2427 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2428 if the citation engine has changed.
2430 2004-05-14 José Matos <jamatos@lyx.org>
2432 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2433 if the textclass does not provide it. Have it different for sgml and
2435 support the language of document.
2436 * output_docbook.C (docbookParagraphs):
2437 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2438 first anchor as the id of the paragraph, remove special case code.
2439 * sgml.C (escapeChar): escape only < & >.
2441 2004-05-14 Angus Leeming <leeming@lyx.org>
2443 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2444 dependencies on src/frontends/controllers/biblio.h. Define a
2445 CiteEngine_enum wrapper class to enable the enum to be forward
2448 2004-05-12 Angus Leeming <leeming@lyx.org>
2450 * buffer.C: up LYX_FORMAT to 234.
2451 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2452 use_numerical_citations with a single biblio::CiteEngine cite_engine
2454 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2456 2004-05-13 José Matos <jamatos@lyx.org>
2459 * converter.C (Converter, readFlags): add xml member.
2460 * outputparams.h: add XML flavor.
2461 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2463 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2465 * lyxfunc.C (dispatch):
2466 (getStatus): fix handling of LFUN_SEQUENCE
2468 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2470 * debug.C (showLevel): do not forget the end-of-line marker
2472 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2474 * kbmap.C (read): do not stop parsing a bind file when an error
2477 2004-04-29 Angus Leeming <leeming@lyx.org>
2482 * text2.C: wrap a bunch of #warning statements
2483 inside #ifdef WITH_WARNINGS blocks.
2485 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2487 * buffer.C: increment format to 233.
2489 2004-04-28 Angus Leeming <leeming@lyx.org>
2491 * BufferView_pimpl.C:
2494 s/updateToolbar()/updateToolbars()/
2495 s/Toolbar.h/Toolbars.h/
2497 2004-04-28 Angus Leeming <leeming@lyx.org>
2499 * BufferView.[Ch] (c-tor):
2500 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2501 No longer passes these data to the WorkArea generator.
2503 2004-04-28 Angus Leeming <leeming@lyx.org>
2505 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2507 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2509 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2511 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2513 * output_latex.C (TeXEnvironment): make sure that there is a line
2514 break before \end{foo} for the last paragraph of a document
2515 (TeXOnePar): if the paragraph is at the end of the document (or
2516 inset) and the language has to be reset, then make sure that the
2517 line break is _before_ the language command, not after (fixes bug
2518 1225); also make sure that the language reset command is the first
2519 thing after the paragraph (to ensure proper nesting of
2520 environments and thus fix bug 1404)
2522 2004-04-21 John Levon <levon@movementarian.org>
2525 * ToolbarBackend.C: make "name" be a programmatic name
2526 and a gui_name field.
2528 * lyxfunc.C: display the minibuffer on M-x
2530 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2532 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2535 2004-04-19 Angus Leeming <leeming@lyx.org>
2537 * BufferView_pimpl.C (setBuffer): changed preview interface.
2539 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2542 2004-04-19 John Levon <levon@movementarian.org>
2544 * BufferView_pimpl.C:
2545 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2547 2004-04-05 Angus Leeming <leeming@lyx.org>
2549 * text.C (redoParagraphs): add call to updateCounters(), thereby
2550 fixing the missing "Figure #:" label from the caption of a
2553 2004-04-13 Angus Leeming <leeming@lyx.org>
2555 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2556 cursor is clicked out of an inset.
2558 2004-04-13 Angus Leeming <leeming@lyx.org>
2560 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2561 than an InsetOld one.
2563 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2565 * format.[Ch]: add editor to Format
2566 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2567 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2569 2004-04-08 André Pönitz <poenitz@gmx.net>
2571 * metricsinfo.h: remove PainterInfo::width member
2573 2004-04-08 Angus Leeming <leeming@lyx.org>
2575 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2576 "\providecommand" rather than "\newcommand", thereby preventing
2577 clashes with packages that define "\boldsymbol" themselves.
2580 2004-04-08 Angus Leeming <leeming@lyx.org>
2582 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2583 thereby squashing an unnecessary warning.
2585 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2587 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2590 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2592 * BufferView.C (setCursor): call redoParagraph (some insets could
2594 (putSelectionAt): remove the 'double update' trick
2596 * BufferView_pimpl.C (fitCursor): call refreshPar
2597 (workAreaDispatch): remove an uneeded update call
2598 (dispatch): remove some manual update calls
2600 * cursor.[Ch]: remove cached_y_, updatePos
2601 (selHandle): set noUpdate when appropriate
2603 * lyxfunc.C (dispatch): track if we need an update
2605 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2607 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2608 (paintSelection): cheap optimization, do not call cursorX when not
2610 (paintPars): change signature
2613 (paintTextInset): adjust
2617 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2619 * lengthcommon.C: compilation fix: remove explicit array size from
2620 unit_name[] and friends
2622 2004-04-05 Angus Leeming <leeming@lyx.org>
2624 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2626 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2627 present only for the preferences dialog.
2628 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2630 2004-04-05 Angus Leeming <leeming@lyx.org>
2632 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2633 to enable the frontends to export changes to lyxrc correctly.
2635 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2637 2004-04-07 André Pönitz <poenitz@gmx.net>
2639 * cursor.[Ch] (selClear, adjust): remove math
2641 * cursor_slice.C: more agressive assert
2644 * BufferView_pimpl.C: rework mouse event dispatch
2651 2004-04-05 André Pönitz <poenitz@gmx.net>
2653 * cursor.[Ch] (valign, halign...): remove unneeded functions
2655 2004-04-05 Angus Leeming <leeming@lyx.org>
2657 * lyxlength.[Ch] (unit_name et al.): const-correct.
2659 2004-04-05 Angus Leeming <leeming@lyx.org>
2661 * BufferView_pimpl.C:
2670 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2672 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2674 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2676 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2678 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2679 * BufferView_pimpl.[Ch] (getStatus)
2680 * BufferView.[Ch] (getStatus): add
2681 * lyxfunc.C (getStatus): move lfuns handled in
2682 BufferView::dispatch to te function above
2683 * Cursor.C (setSelection): set selection() = true
2685 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2687 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2689 2004-03-31 Angus Leeming <leeming@lyx.org>
2691 * lyxfunc.C (dispatch): Fall through to the generic
2692 Dialogs::show("preamble").
2694 2004-03-31 Angus Leeming <leeming@lyx.org>
2696 * lyxfunc.C (dispatch): Fall through to the generic
2697 Dialogs::show("spellchecker").
2699 2004-03-31 Angus Leeming <leeming@lyx.org>
2701 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2704 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2709 * insetiterator.[Ch]:
2714 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2716 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2718 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2719 insets where we are putting the cursor.
2721 2004-03-31 Angus Leeming <leeming@lyx.org>
2724 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2726 * lyxrc.[Ch] (read, write): overloaded member functions taking
2727 a std::[io]stream arguments.
2729 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2731 2004-03-31 Angus Leeming <leeming@lyx.org>
2733 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2734 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2736 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2737 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2739 2004-03-31 Angus Leeming <leeming@lyx.org>
2741 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2742 the LFUN_ALL_INSETS_TOGGLE code.
2744 2004-03-30 Angus Leeming <leeming@lyx.org>
2746 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2747 has died. Fall through to the generic Dialogs::show("document").
2749 2004-03-30 Angus Leeming <leeming@lyx.org>
2752 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2753 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2755 * lyxfunc.C (getStatus, dispatch): define the actions for these
2756 lfuns. Little more than a cut and pste job from ControlDocument.C
2758 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2760 2004-03-30 Angus Leeming <leeming@lyx.org>
2763 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2764 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2766 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2767 open/closed state of ollapsable insets. Usage:
2769 all-inset-toggle <state> <name>, where
2770 <state> == "open" || "closed" || "toggle" and
2771 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2773 * lyxtext.h, text2.C (toggleInset): removed.
2775 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2776 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2777 now passes LFUN_INSET_TOGGLE to the found inset.
2779 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2780 is now invoked as "all-insets-toggle toggle branch".
2782 2004-03-30 Angus Leeming <leeming@lyx.org>
2786 * pariterator.[Ch]: added/corrected header blurb.
2788 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2790 * dociterator.[Ch]: add an inset_ member
2791 (backwardPos): implemented
2792 (backwardPos, forwardPos): use inset_ when the stack is empty.
2793 (doc_iterator_begin, doc_iterator_end): implemented
2794 * pariterator.[Ch]: adjust, add begin, end
2795 * insetiterator.[Ch]: adjust, add begin, end
2799 * BufferView_pimpl.C:
2800 * CutAndPaste.C: adjust
2802 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2804 * buffer.C: increment file format to 232.
2805 * LaTeXFeatures.C: add bibtopic package.
2806 * bufferparams.[Ch]: param \use_bibtopic.
2808 * lyxrc.[Ch]: add lyxrc bibtex_command
2809 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2811 * buffer.C: increment file format to 231.
2813 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2815 * dociterator.C: implement forwardPar
2816 * iterators.[Ch]: remove, replaced by
2817 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2819 * BufferView_pimpl.C:
2822 * bufferview_funcs.C:
2828 * Makefile.am: adjust
2830 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2832 * CutAndPaste.C (pasteSelection): fix 2 crashes
2833 (eraseSelection): fix a crash
2834 * paragraph_funcs.C: remove a warning
2836 2004-03-28 Angus Leeming <leeming@lyx.org>
2839 * LyXAction.C (init): new LFUN_PRINT.
2841 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2843 2004-03-27 Angus Leeming <leeming@lyx.org>
2846 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2848 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2850 2004-03-27 Angus Leeming <leeming@lyx.org>
2852 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2853 insetlist always contains non-null pointers to insets.
2855 2004-03-26 Angus Leeming <leeming@lyx.org>
2857 * src/BufferView_pimpl.C:
2858 * src/CutAndPaste.C:
2861 * src/output_plaintext.C:
2862 * src/outputparams.h:
2863 * src/paragraph_funcs.C:
2867 * src/frontends/controllers/ControlErrorList.C:
2868 * src/frontends/gtk/FileDialogPrivate.C:
2869 * src/frontends/gtk/GPainter.C:
2870 * src/frontends/gtk/GToolbar.C:
2871 * src/frontends/qt2/QRef.C:
2872 * src/mathed/math_scriptinset.C: squash compiler warnings.
2874 2004-03-26 Angus Leeming <leeming@lyx.org>
2876 * ispell.C (LaunchIspell::start):
2877 * lyx_cb.C (AutoSaveBuffer::start):
2878 invoke run(DontWait) rather than runNonBlocking().
2880 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2882 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2884 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2886 * kbsequence.C (print): adjust
2888 * kbmap.C (printKeySym): rename and change signature
2889 (printKey): use LyXKeySym::print()
2891 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2893 * undo.C: add using std::advance to compile for stlport
2895 2004-03-24 Angus Leeming <leeming@lyx.org>
2897 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2898 it leads to a crash when no buffer is present.
2900 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2901 Martin Vermeer <martin.vermeer@hut.fi>
2903 * lyxfunc.C (dispatch):
2904 * bufferparams.C (readToken): use the new LColor::setColor
2906 * LColor.[Ch] (setColor): new version that takes two strings as
2907 argument and creates a new color entry if necessary
2909 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2911 * buffer.C (makeLaTeXFile): if the main latex file that is
2912 processed is usually a subdocument of some master, then pretend
2913 for a while that it is actually the master
2915 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2917 * buffer.C (getLabelList):
2918 (getBibkeyList): use getMasterBuffer()
2919 (getMasterBuffer): new method. Returns the main document in the
2920 case where one is using included documents.
2922 2004-03-25 André Pönitz <poenitz@gmx.net>
2926 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2928 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2930 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2931 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2933 * ParameterStruct.h: merge with ParagraphParameters
2935 * lyxtext.h: remove LyXText::parOffset() and getPar()
2937 * text3.C: Remove all 'manual' update calls. We do now one per user
2938 interaction which is completely sufficient.
2942 * BufferView_pimpl.C:
2943 * FontIterator.[Ch]:
2945 * ParagraphParameters.[Ch]:
2950 * cursor_slice.[Ch]:
2957 * output_docbook.[Ch]:
2958 * output_latex.[Ch]:
2959 * output_linuxdoc.[Ch]:
2960 * output_plaintext.[Ch]:
2962 * paragraph_funcs.[Ch]:
2963 * paragraph_pimpl.[Ch]:
2971 * frontends/controllers/ControlDocument.C:
2972 * frontends/controllers/ControlErrorList.C:
2973 * frontends/controllers/ControlSpellchecker.C:
2976 * insets/insetbase.h:
2977 * insets/insetbibitem.C:
2978 * insets/insetbox.C:
2979 * insets/insetbranch.C:
2980 * insets/insetcaption.C:
2981 * insets/insetcharstyle.C:
2982 * insets/insetcharstyle.h:
2983 * insets/insetcollapsable.C:
2984 * insets/insetcollapsable.h:
2985 * insets/insetert.C:
2986 * insets/insetfloat.C:
2987 * insets/insetfoot.C:
2988 * insets/insetmarginal.C:
2989 * insets/insetnote.C:
2990 * insets/insetoptarg.C:
2991 * insets/insettabular.C:
2992 * insets/insettext.C:
2993 * insets/insettext.h:
2994 * insets/insetwrap.C:
2995 * mathed/math_mboxinset.C:
2996 * mathed/math_nestinset.C:
2997 * mathed/math_scriptinset.C:
2998 * mathed/math_scriptinset.h:
3001 2004-03-24 Angus Leeming <leeming@lyx.org>
3003 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3004 deal with any child processes that have finished but are waiting to
3005 communicate this fact to the rest of LyX.
3007 2004-03-24 Angus Leeming <leeming@lyx.org>
3009 64-bit compile fixes.
3011 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3012 (c-tor): pass lyx::pos_types rather than ints.
3014 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3017 * text.C (Delete): compile fix.
3018 (getPar): ensure that function declaration is the same as that in
3021 2004-03-23 Angus Leeming <leeming@lyx.org>
3023 * ispell.C (LaunchIspell):
3024 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3025 a boost::shred_ptr rather than a std::auto_ptr.
3027 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3029 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3030 handle LFUN_FILE_INSERT_*
3032 * lyxrc.C (setDefaults, getDescription, output, read):
3033 * lyxrc.h: remove ps_command
3035 2004-03-22 Angus Leeming <leeming@lyx.org>
3037 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3038 Ensure that error_handler is processed once only and that all data
3039 is saved before attempting to output any warning messages.
3041 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3043 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3045 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3047 2004-03-19 André Pönitz <poenitz@gmx.net>
3049 * cursor.[Ch] (reset): take main text inset as argument
3051 * BufferView: adjust
3052 * BufferView_pimpl.C: adjust
3054 * paragraph.[Ch]: fix completely broken operator=()
3056 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3058 * LColor.C (getFromLyXName): make sure that the color name is used
3061 2004-03-17 Angus Leeming <leeming@lyx.org>
3064 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3066 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3067 dialog and to kill a forked process.
3069 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3071 * text2.C (setCursorFromCoordinates): fix font problem
3073 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3075 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3076 bogus "rebuild cursor" code
3078 2004-03-11 André Pönitz <poenitz@gmx.net>
3080 * buffer.[Ch]: use InsetText instead of LyXText as container for
3083 * dociterator.[Ch]: drop the BufferView * member which is not needed
3084 anymore after the change to buffer.C
3086 * paragraph_funcs.C:
3090 * BufferView_pimpl.[Ch]:
3092 * cursor_slice.[Ch]: adjust
3094 * text3.C: fix bug in mathDispatch
3096 2004-03-08 André Pönitz <poenitz@gmx.net>
3098 * undo.[Ch]: use 'StableDocumentIterator' as base for
3101 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3104 * bufferparams.[Ch]: add jurabib support and param.
3106 * LaTeX.C: add FIXME/comment.
3108 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3110 * buffer.C: increment file format to 230.
3112 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3114 * cursor.C (dispatch): avoid infinite loops
3116 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3118 * rowpainter.C (paintSelection): fix x coordinates
3120 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3122 * text.C (rowBreakPoint): fix breaking before displayed insets
3124 2004-03-01 André Pönitz <poenitz@gmx.net>
3126 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3128 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3132 * BufferView_pimpl.C:
3140 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3146 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3147 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3149 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3151 * Bidi.[Ch] (computeTables): const correctness
3152 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3153 fill_hfill, fill_label_hfill and x from Row
3154 * lyxtext.h: prepareToPrint returns a RowMetrics
3155 * rowPainter.C: adjust
3156 * text.C (prepareToPrint): use width, not textWidth. adjust
3157 (redoParagraphInternal, cursorX): adjust
3158 * text2.C (getColumnNearX): adjust
3159 (init): put a default value to the top LyXText::width
3161 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3163 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3165 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3167 * lyxtext.h: add FontIterator class
3169 * text.C (FontIterator, operator*, operator->, operator++): add
3170 (rowBreakPoint, setRowWidth): adjust (fixing a
3173 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3175 * BufferView_pimpl.C (workAreaDispatch): allow also
3176 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3178 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3180 * text.C (rowBreakPoint): fix a bug showing with very large insets
3182 2004-02-25 André Pönitz <poenitz@gmx.net>
3185 * cursor.[Ch]: move some mathed specific code to mathed
3187 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3189 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3190 use_tempdir in preferences
3191 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3193 * lyx_main.C: ensure that tempdir is valid
3194 * lyxlex.h: correct typo
3195 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3196 * paragraph.[Ch] (isMultiLingual): make const
3197 * cursor.[Ch] (openable): make const
3199 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3201 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3203 2004-02-20 André Pönitz <poenitz@gmx.net>
3205 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3207 * cursor.[Ch]: prepare for localized getStatus()
3213 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3215 2004-02-20 André Pönitz <poenitz@gmx.net>
3217 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3219 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3221 * text2.C (setCursorFromCoordinates): switch to absolute coords
3223 (cursorDown): adjust
3224 * text3.C (dispatch): adjust
3226 2004-02-16 André Pönitz <poenitz@gmx.net>
3228 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3231 * cursor_slice.[Ch]: remove unneeded acessor function
3233 * lyxtext.h: rename rtl() to isRTL()
3241 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3243 * rowpainter.C (paintSelection): coord fix
3245 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3247 * Spacing.C: compile fix
3249 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3251 * cursor.C (dispatch): restore current_ before returning
3253 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3255 * text2.C (cursorUp, cursorDown): fix coords
3258 2004-02-12 André Pönitz <poenitz@gmx.net>
3263 * text3.C: add LCursor & parameter to most cursor movement functions
3264 remove usage of LyXText::cursorRow() and cursorPar()
3266 * cursor.[Ch]: add textRow() needed members
3269 * BufferView_pimpl.C:
3272 * BufferView_pimpl.C: adjust
3274 2004-02-11 André Pönitz <poenitz@gmx.net>
3278 * BufferView_pimpl.C: shift undo/redo handling
3280 * cursor.[Ch]: fix mathed crash
3283 * lyxtext.h: move selectionAsText to LCursor
3291 * rowpainter.C: fix excessive drawing
3293 2004-02-06 André Pönitz <poenitz@gmx.net>
3296 * BufferView_pimpl.[Ch]:
3297 * text3.C: move some text specific LFUN handling
3299 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3301 * text3.C (checkInsetHit): adjust coords
3302 * text2.C (getColumnNearX): adjust coords
3303 (edit): adjust coords
3304 * text.C (getRowNearY): add two asserts
3306 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3309 * format.C: add using std::distance to compile on gcc 2.95/stlport
3311 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3313 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3315 2004-02-04 André Pönitz <poenitz@gmx.net>
3317 * BufferView.[Ch] (insertInset):
3318 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3323 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3325 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3326 on the default clause of the switch
3327 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3328 wasn't catched by LCursor::dispatch
3330 2004-02-03 André Pönitz <poenitz@gmx.net>
3333 * cursor.[Ch]: some additional asserts
3335 * undo.[Ch]: remove LyXText dependency in interface
3339 * lyxtext.h (firstPar, lastPar): remove dead functions
3344 * paragraph.[Ch]: adjust
3346 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3348 * lyxfind.C (find): fix argument order in call to ::find
3350 2004-02-02 André Pönitz <poenitz@gmx.net>
3352 * cursor.[Ch]: remove direct access to anchor
3354 * text.C: remove findText() hack
3356 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3358 * iterators.[Ch] (lockPath): remove in favour of...
3359 * BufferView.[Ch] (setCursor): this addition
3360 * BufferView.C (putSelectionAt): adjust
3361 * undo.C (performUndoOrRedo): adjust
3362 * lyxfunc.C (dispatch): adjust
3364 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3366 * iterators.C (lockPath): add a missing slice
3367 * undo.C (performUndoOrRedo): remove redundant positioning code
3369 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3371 * vc-backend.C (scanMaster): ";" -> ';'
3373 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3375 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3376 std::binary_function
3378 * lyxtextclass.C (compare_name): rename to...
3379 (LayoutNamesEqual): ...this
3381 * lyxlex_pimpl.C (compare_tags): inherit from
3382 std::binary_function, put back into anon namespace
3384 * lyxfind.C (MatchString): inherig from std::binary_function
3385 (findChange): use empty() istead of !size()
3387 * format.C (FormatNamesEqual): new functor
3394 * converter.C (compare_Converter): rename to...
3395 (ConverterEqual): ...this, and fixup a bit.
3396 (getConverter): use it, and make function const
3397 (getNumber): use it, and make function const
3401 * bufferlist.C: add using boost::bind
3403 * MenuBackend.C (MenuNamesEqual): new functor
3404 (hasMenu): use it, and make function const
3405 (hasSubmenu): use nested bind to get rid of compare_memfun.
3407 2004-01-30 André Pönitz <poenitz@gmx.net>
3409 * BufferView_pimpl.C:
3412 * cursor_slice.[Ch]:
3415 * paragraph_funcs.C:
3416 * paragraph_funcs.h:
3420 * text3.C: move some of the edit(x,y) handling to the insets
3421 some coordinate changes.
3423 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3425 * text.C: add using statements for std::advance and std::distance
3427 * paragraph.C: add using statement for std::distance
3429 * lyxfind.C: add using statement for std::advance
3431 * cursor.C (region): remove std:: from swap
3432 (openable): use nucleus in stead of operator->
3434 * BufferView.C: add using statements for std::distance and std::swap
3436 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3438 * iterators.C: Remove the pimple, move the needed structures to
3439 the header file. Create accessor for the positions stack.
3440 (asPosIterator): remove function
3442 * PosIterator.C (PosIterator): move constructors to top of file
3443 (PosIterator): reimplement the constructor taking a ParIterator in
3445 (setFrom): new function
3446 (operator!=): inline it
3448 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3450 * lyxfind.C (replaceAll): use std::advance
3452 * iterators.h: inherit from std::iterator.
3454 * PosIterator.C (advance, distance): remove
3455 * PosIterator.h: interit from std::iterator.
3457 2004-01-26 André Pönitz <poenitz@gmx.net>
3460 * BufferView_pimpl.[Ch]:
3464 * bufferview_funcs.C:
3474 * output_linuxdoc.C:
3475 * output_plaintext.C:
3477 * paragraph_funcs.[Ch]:
3478 * paragraph_pimpl.[Ch]:
3484 * text3.C: more IU: dumps most of the rest of the mathcursor
3485 implementation into cursor.[Ch]; "globalize" a bit of it.
3487 2004-01-25 Angus Leeming <leeming@lyx.org>
3489 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3491 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3493 * LaTeXFeatures.h: add nice_ and nice() const
3494 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3496 2004-01-20 André Pönitz <poenitz@gmx.net>
3499 * BufferView_pimpl.C:
3501 * bufferview_funcs.C:
3503 * cursor_slice.[Ch]:
3514 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3515 LCursor and mathcursor parts to LCursor and InsetBase.
3517 2004-01-15 André Pönitz <poenitz@gmx.net>
3519 * cursor_slice.[Ch]: add a few covienience functions
3521 * funcrequest.[Ch]: remove BufferView * member
3523 * BufferView_pimpl.C:
3530 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3532 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3534 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3535 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3537 2004-01-13 André Pönitz <poenitz@gmx.net>
3540 * lyxtext.h: hide cursor and selection anchor behind accessor function
3543 * BufferView_pimpl.[Ch]:
3545 * bufferview_funcs.C:
3555 * cursor_slice.[Ch]: some integer type changes for inset unification
3557 * lyxcursor.[hC]: remove, it's CursorSlice now.
3560 * BufferView_pimpl.[Ch]:
3561 * bufferview_funcs.C:
3567 * textcursor.[Ch]: adjust
3569 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3571 * text2.C (undoSpan): add and use
3572 * text.C (breakParagraph): use undoSpan (fix bug 578)
3575 2004-01-08 Angus Leeming <leeming@lyx.org>
3577 * BufferView_pimpl.C (MenuInsertLyXFile):
3578 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3579 * lyxfunc.C (menuNew, open, doImport):
3580 FileFilterList change to the FileDialog open and save functions.
3582 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3584 * ShareContainer.h: make isEqual and isUnique adaptable
3586 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3588 2004-01-07 Angus Leeming <leeming@lyx.org>
3591 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3593 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3595 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3596 functions replacing find, replace and replaceAll.
3598 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3599 LFUN_WORDFIND(FORWARD|BACKWARD).
3601 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3603 * text.C (breakParagraph): remove an outdated #warning
3605 2004-01-07 André Pönitz <poenitz@gmx.net>
3607 * lyxfind.C: somewhat clearer logic
3609 * text.C: prevent crash in cursorX on unitialized row cache
3611 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3613 * lyxcursor.[Ch] (operator>): add
3614 * textcursor.C (selStart, selEnd): use std::min and std::max
3616 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3618 * Chktex.C: include boost/format.hpp
3620 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3622 * InsetList.C: replace functor MathcIt with adaptable functor
3624 (insetIterator): modify accordingly
3626 * BranchList.h: move the BranchNamesEqual functor here from...
3627 * BranchList.C: ... to here
3629 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3631 (add): replace a finding loop with std::find_if.
3633 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3635 * output_docbook.C: moving LatexParam functionality into
3638 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3640 * buffer.C: increment format to 229.
3642 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3645 * lyx_sty.[Ch]: remove minipageindent_def
3651 * text3.C: remove LFUN_INSET_MINIPAGE
3653 2003-12-28 Angus Leeming <leeming@lyx.org>
3655 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3657 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3659 * text2.C (setParagraph): fix off-by-one crash
3661 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3663 * output_docbook.C: header stuff for AGU
3665 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3667 * text2.C (redoCursor): remove
3670 * BufferView_pimpl.C: remove calls to redoCursor and
3671 setCursor(cursor.par(), cursor.pos()) all around
3673 2003-12-15 Angus Leeming <leeming@lyx.org>
3675 * buffer.C: up the format to 228.
3677 2003-12-15 André Pönitz <poenitz@gmx.net>
3679 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3684 * BufferView_pimpl.C:
3693 2003-12-15 Angus Leeming <leeming@lyx.org>
3695 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3696 than getFromGUIName to manipulate the color.
3698 2003-12-14 Angus Leeming <leeming@lyx.org>
3700 * BranchList.[Ch]: minimize the API.
3701 (Branch::getBranch, getColor): now return a 'const &'.
3702 (Branch::setSelected) now returns a bool set to true if the
3703 selection status changes.
3704 (BranchList::clear, size, getColor, setColor, setSelected,
3705 allBranches, allSelected, separator): removed.
3706 (BranchList::find): new functions, returning the Branch with
3708 (BranchList::add, remove): return a bool indicating that
3709 the operation was successful.
3711 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3712 new InsetBranch::isBranchSlected member function.
3714 * LColor.[Ch]: mimimize the API.
3715 (fill): renamed as addColor and made private.
3716 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3717 versions of these functions taking a string arg have been removed.
3719 * bufferparams.C (readToken):
3720 * lyxfunc.C (dispatch):
3721 * lyxrc.C (read): changes due to the altered BranchList and
3724 * factory.C (createInset, readInset): changes due to altered
3727 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3730 * lyxfunc.C: remove insetminipage. "minipage-insert"
3731 now produces a frameless minipage box inset.
3733 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3735 * textcursor.[Ch] (selStart,selEnd): add new methods
3736 remove selection::start, end, use LyXCursor::operator<
3737 * lyxcursor.[Ch] (operator<): add
3738 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3739 * BufferView.[Ch] (unsetXSel): add
3740 * text2.C (clearSelection): use unsetXSel,adjust
3743 * rowpainter.C: adjust
3744 * bufferview_funcs.C (put_selection_at): adjust
3746 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3748 * BufferView_pimpl.C: small coord. correction
3750 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3752 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3753 dragging over the splash screen.
3755 2003-12-11 Angus Leeming <leeming@lyx.org>
3757 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3758 as it is now handled in LyXText::dispatch.
3760 * text3.C (doInsertInset): remove a level of nesting.
3762 2003-12-11 Angus Leeming <leeming@lyx.org>
3764 * factory.C (createInset): changes due to the changed interface to
3765 InsetCommandMailer::string2params.
3767 2003-12-10 Angus Leeming <leeming@lyx.org>
3769 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3770 'dialog-show-new-inset <inset name>'
3772 2003-12-10 Angus Leeming <leeming@lyx.org>
3774 * buffer.C: up the format to 227.
3776 * factory.C: the box inset is now identified simply by 'Box'.
3778 2003-12-10 Angus Leeming <leeming@lyx.org>
3780 * buffer.C: up the format to 226.
3782 * factory.C: the note inset is now identified simply by 'Note'.
3784 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3786 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3787 when a pit is enough. Standarize a couple of loops.
3789 2003-12-05 Angus Leeming <leeming@lyx.org>
3791 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3792 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3793 data to the re-worked "log" dialog.
3795 2003-12-03 André Pönitz <poenitz@gmx.net>
3801 * paragraph_funcs.C:
3803 * text2.C: use Inset::getText instead of Inset::getParagraph
3805 2003-12-03 André Pönitz <poenitz@gmx.net>
3809 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3810 InsetText::read() as LyXText::read()
3812 2003-12-02 Angus Leeming <leeming@lyx.org>
3814 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3815 type. Add a comment in the implementation that the function uses
3816 the stream's bad() function rather than fail() as the std::streams
3819 2003-12-02 André Pönitz <poenitz@gmx.net>
3821 * lyxlex.[Ch]: make interface more similar to std::stream
3823 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3825 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3827 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3829 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3831 * vspace.[Ch]: remove VSpace::NONE
3833 2003-12-01 André Pönitz <poenitz@gmx.net>
3836 * lyxtext.h: move ParagraphList member to LyXText
3837 rename LyXText::ownerParagraphs to LyXText::paragraph
3840 * bufferview_funcs.C:
3850 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3852 * undo.C: fix cursor positioning
3854 2003-12-01 John Levon <levon@movementarian.org>
3856 * BufferView_pimpl.C: fix a crash on exit with
3859 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3861 * BranchList.C: fix setSelected() method.
3863 2003-11-28 André Pönitz <poenitz@gmx.net>
3865 * ParagraphParameters.[Ch]:
3866 * ParameterStruct.h: remove space above/below from Paragraph to
3869 * BufferView_pimpl.C:
3875 * paragraph_funcs.C:
3881 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3883 * factory.C: Syntax change for CharStyles
3885 2003-11-28 André Pönitz <poenitz@gmx.net>
3890 * buffer.[Ch]: move LyXText member
3892 2003-11-28 André Pönitz <poenitz@gmx.net>
3894 * BufferView.[Ch]: make LyXText * text a private member
3896 * BufferView_pimpl.C:
3907 * output_plaintext.C: cleanup
3909 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3912 * lyxtextclass.[Ch]: parametrize SGML document header
3914 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3917 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3920 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3922 * text2.C (setFont): rework using PosIterator (no more recursive)
3923 (setCharFont): no more needed
3924 (setLayout): no more selection cursors fiddling (done by redoCursor)
3925 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3926 destroy remaining ones)
3928 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3930 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3932 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3935 * text3.C: adjust + re-allow multi par depth changes
3936 * textcursor.C: simplify a bit
3938 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3944 * src/output_docbook.C:
3945 * src/output_latex.C:
3950 * src/text2.C: Introducing a number of tags parametrizing various
3951 XML formats that we may want to support
3953 2003-11-25 André Pönitz <poenitz@gmx.net>
3955 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3957 * lyxtext.h (leftMargin/rightMargin): simplify interface
3964 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3966 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3967 master file to any child files. Fixes bug 546.
3969 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3971 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3973 2003-11-24 André Pönitz <poenitz@gmx.net>
3975 * rowpainter.C: simplification
3977 * text2.C (updateCounters): remove call to redoParagraph on
3978 changed labels as this is far too expensive.
3980 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3982 * converter.C (convert): fix a crash: this function gets
3983 called with buffer == 0 from importer code.
3985 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3987 * text3.C (cursorPrevious): make sure that we do not compare
3988 iterators form different containers.
3991 * rowpainter.C (paintSelection): make sure that we do not compare
3992 iterators from different containers.
3994 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3995 iterators from different ParagraphList containers.
3998 * text2.C (LyXText): change order of initialization slightly
3999 (operator=): new function. copy all variables except cache_par_
4000 (moveUp): make sure that we do not compare iterators from
4001 different ParagraphList constainers.
4004 * text.C (firstPar): new function
4005 (lastPar): new function
4006 (endPar): new function
4008 * lyxtext.h: move things around and group public functions, public
4009 variables, private functions, private variables
4011 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4013 * factory.C: change call to InsetERT constructor to avoid
4014 additional invocation of method status
4015 * text2.C (toggleInset): remove redundant update() call
4016 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4017 instead of a Bufferview pointer
4019 2003-11-21 André Pönitz <poenitz@gmx.net>
4021 * rowpainter.C: simplification
4023 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4025 * text3.C (dispatch): make possible to extend a word/row selection
4028 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4030 * lyxtext.h: x0_,y0_ -> xo_,yo_
4031 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4032 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4033 * rowpainter.C (paintRows): paint full paragraphs
4035 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4037 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4040 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4042 * lyxtext.h: add x0_, y0_
4043 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4044 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4046 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4048 * text2.C (setCursorIntern): move the x_target update here *
4049 * text3.C: change some bv() to true/false in calls to
4050 cursorUp/Down/Right/Left
4051 * cursor.C: use helper function.
4053 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4055 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4056 * paragraph_funcs.[Ch]: correct comment
4057 * rowpainter.C: do not paint selections away from bv->cursor()
4058 Fix a long standing selection painting bug.
4059 * text3.C: generalize mouse-selection code to LyXTexts other that
4061 * textcursor.C: do not use y coords if we can use par offsets
4063 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4065 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4066 cursor position after e.g. inset insert)
4068 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4070 * lyxfind.C (replace): adjust to locking removal + some
4073 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4075 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4078 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4081 * output_docbook.C: XML sanitation: new layout
4082 parameters InnerTag and CommandDepth
4084 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4086 * BufferView_pimpl.C:
4088 * text3.C: Fix the insertion and modification of button-style
4091 2003-11-13 André Pönitz <poenitz@gmx.net>
4093 * InsetList.[Ch]: remove deleteLyXText
4095 * paragraph.[Ch]: cache beginOfBody position
4100 * text3.C: remove superfluous update() calls
4104 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4106 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4107 * BufferView.C (fitLockedInsetCursor): remove
4108 * cursor.[Ch] (getDim): add
4109 * text.C (getRowNearY): add faster version
4110 * text3.C: remove some update calls
4112 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4124 * text3.C: The Character Style /XML short element patch.
4126 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4129 * factory.C: Small step to solving 'unable to insert some insets'
4132 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4134 * cursor.[Ch] (updatePos): new function for updating the y
4135 position of the tip inset
4136 * bufferview_funcs.C (put_selection_at):
4137 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4139 2003-11-11 André Pönitz <poenitz@gmx.net>
4141 * text.C: remove big comment on invalid Paragraph pointers as it is
4144 2003-11-11 André Pönitz <poenitz@gmx.net>
4146 * text_funcs.[Ch]: merge with ...
4154 * Makefile.am: remove text_funcs.[Ch]
4156 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4158 * cursor.C (getPos): return absolute cached y coord
4160 * BufferView_pimpl.C (fitCursor): new simplistic code
4161 (workAreaDispatch): add a fitCursor call
4163 2003-11-10 André Pönitz <poenitz@gmx.net>
4166 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4168 2003-11-10 André Pönitz <poenitz@gmx.net>
4170 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4171 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4172 indicate that the cursor needs to leave an inset
4174 * lyxtext.h: remove inset locking
4176 * cursor.[Ch]: re-implement functionality provided by inset locking
4179 * BufferView_pimpl.[Ch]:
4181 * bufferview_funcs.[Ch]:
4193 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4195 * PosIterator.[Ch]: replace the stack with a vector, add inset
4197 * iterators.[C]: adjust
4199 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4201 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4203 * paragraph_funcs.C (readParToken): put the correct id in the
4204 error item, not the id of the top paragraph
4206 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4208 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4209 * bufferview_funcs.C (put_selection_at): use the above
4211 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4213 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4215 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4217 * output_linuxdoc.h:
4218 * output_plaintext.h:
4220 * output_docbook.h: add #include statements
4222 2003-11-05 José Matos <jamatos@lyx.org>
4224 * output_docbook.[Ch]:
4225 * output_latex.[Ch]:
4226 * output_linuxdoc.[Ch]:
4227 * output_plaintext.[Ch]: New files for output formats.
4228 * output.[Ch]: New file for helper functions.
4231 * paragraph_funcs.[Ch]: output functions moved to new files.
4233 * outputparams.h: rename of latexrunparams.h
4241 * paragraph_funcs.[Ch]:
4242 * paragraph_pimpl.[Ch]:
4243 * tabular.[Ch]: rename ascii to plaintext
4244 and LatexRunParams to OutputParams.
4246 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4248 * iterators.[Ch] (text): require bv argument
4249 * undo.C (recordUndo):
4250 * lyxfunc.C (dispatch):
4251 * bufferview_funcs.C (put_selection_at): adjust
4253 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4255 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4257 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4259 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4262 2003-11-04 André Pönitz <poenitz@gmx.net>
4264 * cursor.[Ch]: restructure
4267 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4269 * iterators.[Ch] (asCursor): remove
4271 * lfuns.h: remove LFUN_INSET_EDIT
4277 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4279 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4281 * lyxfind.[Ch]: complete overhaul
4282 * BufferView_pimpl.C:
4284 * paragraph.[Ch] (insert): add
4286 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4290 * text.C: remove dead spellcheck code
4292 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4294 * dispatchresult.h: add a val setter
4296 * cursor.C (dispatch): use a tempvar for data_[i]
4298 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4300 * PosIterator.[Ch]: compile fix
4302 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4304 * text.C (cursorPar): deactivate the cursor cache
4306 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4308 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4310 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4312 * text3.C (dispatch): adjust for new DisptchResult semantics.
4314 * lyxfunc.C (dispatch): handle update when return from
4315 Cursor::dispatch, adjust for new DispatchResult semantics.
4317 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4318 DispatchResult(true) mean to not update. Add class functions for
4319 setting dispatched and update, as well as reading.
4321 * cursor.C (dispatch): don't handle update here
4323 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4325 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4326 * trans_mgr.C: adjust
4328 * paragraph_funcs.C (readParToken): exception safety
4330 * lyxvc.h: store the vcs pointer in a scoped_ptr
4333 * lyxsocket.C (serverCallback): exception safety
4335 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4337 * ispell.C (clone): make it return a auto_ptr
4339 * factory.C (createInset): exception safety
4340 (readInset): exception safety
4342 * bufferlist.C (newBuffer): exception safety
4344 * Thesaurus.C (Thesaurus): use initialization for aik_
4346 * MenuBackend.C (expandToc): exception safety.
4348 2003-11-03 André Pönitz <poenitz@gmx.net>
4352 * bufferview_funcs.C: remove getInsetFromId()
4355 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4361 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4363 * PosIterator.C (distance, advance): new
4364 * bufferview_funcs.[Ch] (put_selection_at): new
4365 * iterators.[Ch] (lockPath): new
4367 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4369 * iterators.[Ch] (asPosIterator): added
4370 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4371 * PosIterator.[Ch]: added
4373 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4377 * cursor.C (dispatch):
4378 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4380 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4381 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4382 contructor, add a class function dispatched. Remove operator>=
4384 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * debug.C: only use the default constructor for debugstream
4389 * main.C (main): include debug.h and setup the lyxerr streambuf
4392 2003-10-31 José Matos <jamatos@lyx.org>
4394 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4396 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4397 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4398 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4399 * paragraph_pimpl.C (simpleTeXSpecialC):
4400 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4401 add LatexRunParams argument.
4403 * exporter.C (Export): change call accordingly.
4405 * latexrunparams.h: add new member to take care of the other backends.
4406 2003-10-30 José Matos <jamatos@lyx.org>
4408 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4409 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4410 factorise code for paragraph output.
4412 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4415 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4417 * text3.C (dispatch):
4418 * lyxfunc.C (dispatch):
4419 * cursor.C (dispatch):
4420 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4422 * dispatchresult.h: make the dispatch_result_t ctor explicit
4424 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4427 * buffer.C: small refactoring of docbook stuff
4429 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4431 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4434 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4437 operator dispatch_result_t, and operators for == != and >=
4439 * cursor.C (dispatch): adjust for operator dispatch_result_t
4440 removal. comment out call to update
4442 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4444 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4452 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4455 * dispatchresult.h: new file, DispatchResult broken out of
4458 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4460 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4462 * text.C (rowBreakPoint): put a hack inside #if 0
4464 2003-10-28 André Pönitz <poenitz@gmx.net>
4468 * paragraph_funcs.C:
4471 * text2.C: general cleanup (lots of small stuff)
4473 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4475 * text2.C (cursorEnd): simple fix to the "end key goes to one
4476 before the end on last row" bug
4478 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4480 * text.C (backspace): fix the "zombie characters"
4482 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4484 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4486 2003-10-27 André Pönitz <poenitz@gmx.net>
4488 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4490 * factory.C: handle new InsetPagebreak, InsetLine
4492 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4493 and move handling into new InsetPagebreak, InsetLine
4495 * BufferView_pimpl.C:
4497 * ParagraphParameters.C:
4498 * ParameterStruct.h:
4503 * paragraph_funcs.C:
4504 * paragraph_pimpl.C:
4510 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4513 * lyxrow_funcs.[Ch]:
4519 * text3.C: remove lastPos uses in favour of Row::endpos
4521 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4523 * undo.C (performUndoOrRedo): fix two crashes by setting a
4524 cursor by hand and reordering some calls. Use bv->lockInset instead
4525 of inset->edit because the latter loses cursor information
4527 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4529 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4531 (rowBreakPoint): fix width. change point to point + 1.
4532 Add a missing check.
4534 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4537 * lyxfunc.C: fix (at least partly) the problems
4538 with the Nav menu and headers inside branch insets
4541 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4543 * paragraph.C (getChar): add strong asserts
4545 * lyxrow_funcs.C (lastPos): remove hideous hack
4547 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4548 (fill): adjust to that (avoid an infinite loop)
4550 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4552 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4554 2003-10-23 André Pönitz <poenitz@gmx.net>
4556 * RowList_fwd.h: change list<> to vector<> to gain speed
4557 after suggestion from Alfredo
4559 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4561 * lyxtext.h: move the bidi stuff from here...
4564 * Bidi.[Ch]: ... to here
4566 2003-10-23 André Pönitz <poenitz@gmx.net>
4569 * text.C (isLastRow, isFirstRow): new functions
4571 * paragraph.h: new width cache member
4573 * rowpainter.C: replace RowList::iterator with Row & where possible
4575 * lyxfunc.C: replace several view()->text with a single call
4577 * toc.C: fix 'unused' warning
4579 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4581 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4582 when woring with stream::pos_type
4583 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4585 2003-10-22 André Pönitz <poenitz@gmx.net>
4588 * text.C: use Row & instead of RowList::iterator
4590 * lyxrow.h: rename end() to endpos()
4596 2003-10-22 Angus Leeming <leeming@lyx.org>
4598 * buffer.[Ch] (fully_loaded): new member function, returning true
4599 only when the file has been loaded fully.
4600 Used to prevent the premature generation of previews and by the
4601 citation inset to prevent computation of the natbib-style label.
4603 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4604 templates are all set up.
4606 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4608 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4610 * text.C: fixed an "oops" in the "is a bit silly"
4613 2003-10-21 André Pönitz <poenitz@gmx.net>
4615 * FuncStatus.[Ch]: small stuff, whitespace
4617 * lyxfont.[Ch]: operator<<() for debug reasons
4621 * lyxtext.h: whitespace, spelling
4623 * paragraph.C: naming of variables
4626 * text2.C: small stuff
4629 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4631 * text.C: (1) finish off the inset display() work;
4632 (2) fix the "is a bit silly" bug (accessing char
4635 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4637 * text.C: re-introduce display() for insets, fixing the
4638 various bugs (stretch of line above, math inset
4641 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4643 * text.C (rightMargin): remove spurious semicolon
4645 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4648 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4650 * text3.C: fix one crash due to wrong cursor def
4652 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * vc-backend.C (scanMaster): make the regex static
4656 * LaTeX.C (scanAuxFile): make the regexs static
4658 * text3.C (doInsertInset, dispatch, dispatch):
4659 * text2.C (cursorUp, cursorDown):
4660 * text.C (selectNextWordToSpellcheck):
4661 * BufferView_pimpl.C (dispatch):
4662 * lyxfunc.C (dispatch): localDispatch -> dispatch
4664 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4666 * lyxsocket.C: include <cerrno>
4668 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * lyxfunc.C (dispatch): remove textcache stuff
4672 * bufferlist.C (release): remove textcache stuff
4675 * TextCache.C: delete file
4676 * TextCache.h: delete file
4678 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4680 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4681 delete of the bv_->text.
4682 (resizeCurrentBuffer): remove texcache stuff
4683 (workAreaResize): ditto
4685 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4687 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4690 2003-10-16 André Pönitz <poenitz@gmx.net>
4697 * text3.C: speed up by storing y positions per paragraph plus per-row
4698 offset instead of having a 'full' y position in the row.
4700 2003-10-15 André Pönitz <poenitz@gmx.net>
4704 * undo.[Ch]: make undo aware of inner insets
4706 2003-10-14 Angus Leeming <leeming@lyx.org>
4708 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4709 static member functions LyX::ref() and LyX::cref.
4710 (lastfiles): new accessor functions for the new lastfiles_ member var.
4711 (addLyXView, views_): add a new LyXView to the list of views_.
4712 (updateInset): loop over all LyXViews to call their own updateInset
4713 member function, returning a pointer to the Buffer owning the inset.
4715 * BufferView_pimpl.C (loadLyXFile):
4716 * MenuBackend.C (expandLastfiles):
4717 * bufferlist.C (MenuWrite, QuitLyX):
4718 lastfiles is no longer a global variable.
4719 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4721 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4722 static function. Access through LyX::cref().emergencyCleanup().
4724 2003-10-14 André Pönitz <poenitz@gmx.net>
4726 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4728 * undo.[Ch]: restoring part of 'undo in insets'
4731 * undo_funcs.[Ch]: merge with undo.[Ch]
4733 * tabular.C: small cleansing stuff
4735 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4737 * paragraph_funcs.C (readParToken): report unknown insets as error
4738 boxes. Use the outer paragraph as location (also for unknown
4741 * factory.C (readInset): do not abort on reading an unknown inset.
4742 Eat it and return 0.
4744 2003-10-13 Angus Leeming <leeming@lyx.org>
4746 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4748 * lyxrc.C: displayTranslator is now a function,
4749 declared in GraphicsTypes.h.
4751 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4753 * format.C: new placeholder $$a to pass the socket address.
4755 * bufferlist.[Ch]: new function getBufferFromTmp.
4757 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4758 files in the temporary dir.
4760 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4762 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4764 * Makefile.am: add lyxsocket.[Ch].
4766 * lyx_main.C (error_handler): handle SIGPIPE.
4768 2003-10-13 André Pönitz <poenitz@gmx.net>
4770 * BufferView_pimpl.C:
4775 * undo_funcs.[Ch]: use paroffset_type instead of
4776 ParagraphList::iterators to prevent multiple conversion
4777 (and get a more robust interface)
4779 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4783 * text3.C (dispatch): ditto
4785 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4787 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4788 move the onlyfile, use onlyfile instead of foundfile in a couple
4791 * DepTable.C (update): flush the error stream a bit more
4793 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4795 * lyxserver.C (callback): adjust
4797 * lyxfunc.C (getStatus): add a missing brace in commented code
4798 (ensureBufferClean): reindent
4799 (dispatch): delete version taking a string
4801 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * LaTeX.C (deplog): move found file handlig from here...
4804 (handleFoundFile): .. to new function here.
4805 (deplog): make sure to discover several files mentioned on the
4808 2003-10-10 André Pönitz <poenitz@gmx.net>
4815 * text3.C: fix some of the tabular crashes
4817 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4819 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4821 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4823 2003-10-09 André Pönitz <poenitz@gmx.net>
4825 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4828 * BufferView_pimpl.C:
4829 * bufferview_funcs.C:
4840 * undo_funcs.C: adjust
4842 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4844 * text2.C (incrementItemDepth): new function, use a backtracking
4845 algorithm to discover the correct item depth.
4846 (resetEnumCounterIfNeeded): new function, use a backtracking
4847 algorithm to discover if counter reset is needed.
4848 (setCounter): use them. Simplify a bit. Add different labels for
4849 different item depths for itemize.
4851 * paragraph.C (Paragraph): remove initialization of enumdepth
4854 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4855 enumerate and itemize. Change the type of itemdepth to signed char.
4857 2003-10-08 André Pönitz <poenitz@gmx.net>
4859 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4864 * tabular.[Ch]: fix crash after 'row-insert'
4866 2003-10-08 Angus Leeming <leeming@lyx.org>
4868 Fix doxygen warnings.
4870 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4871 Remove CutAndPaste:: prefix from header file declaration.
4873 * LColor.h (fill): remove LColor:: prefix from declaration.
4875 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4876 use lyx::depth_type rather than Paragraph::depth_type so that
4877 header file and .C file match.
4879 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4881 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4882 * aspell.C: \file aspell_local.C -> \file aspell.C
4883 * gettext.C: \file gettext.C -> \file src/gettext.C
4884 * gettext.h: \file gettext.h -> \file src/gettext.h
4885 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4886 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4887 * text.C: \file text.C -> \file src/text.C
4889 * toc.C: move comment so that doxygen is not confused.
4891 2003-10-07 Angus Leeming <leeming@lyx.org>
4893 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4895 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4898 * aspell_local.h: add forgotten std::string's.
4900 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4907 * text3.C: The Box patch. Fancybox support, minipage, parbox
4909 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4915 * ParagraphParameters.h:
4925 * lyxtextclasslist.h:
4928 * paragraph_pimpl.C:
4929 * textcursor.h: add <string> and other small fixes to make Lars'
4930 std::string patch compile with STLport.
4932 2003-10-06 Angus Leeming <leeming@lyx.org>
4934 * LColor.h: Add missing #include <string>.
4936 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4938 * All most all file in all subdirs: Make <string> be the prefered
4939 way of getting to std::string, add using declarations.
4941 2003-10-06 André Pönitz <poenitz@gmx.net>
4943 * metricsinfo.C: initialize LyXFont before changing attribute.
4944 (fixes the 'math in \emph is upright' bug)
4946 2003-10-06 André Pönitz <poenitz@gmx.net>
4948 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4950 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4953 * paragraph_pimpl.C: Small fixes to build using STLport
4955 2003-10-02 André Pönitz <poenitz@gmx.net>
4958 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4960 2003-10-01 André Pönitz <poenitz@gmx.net>
4962 * factory.C: assert early
4964 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4966 * lyx_main.C: remove the global debug object
4968 * debug.h: adjust for new debugstream
4970 * debug.C: adjust for new debugstream and keep the global debug
4973 2003-09-22 Angus Leeming <leeming@lyx.org>
4975 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4976 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4977 an incomplete class LyXFont.
4979 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4981 * factory.C: bug fix in branches
4983 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4985 * lyxfunc.C (processKeySym): adjust
4987 (dispatch): change arg name from ev to func, adjust
4988 (sendDispatchMessage): ditto
4990 * lyx_main.C (defaultKeyBindings): adjust keybindings
4991 (deadKeyBindings): ditto
4993 * kbsequence.C (addkey): return a FuncRequest
4995 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4997 * kbmap.C (bind): take a FuncRequest as arg, adjust
5000 (defkey): change to take a FuncRequest as arg, adjust
5001 (findbinding): take a FuncRequest as arg, adjust.
5003 * funcrequest.h (operator=): added
5005 * funcrequest.C (FuncRequest): default kb_action changed from
5006 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5008 * buffer.C (dispatch): simplify
5009 (dispatch): adjust to take a FuncRequest as arg, adjust
5011 * boost.C (assertion_failed): change assertion message slightly
5013 * ToolbarBackend.C (read): simplify
5015 * MenuBackend.C (binding): adjust call to findbinding, add a
5016 message if no binding is found.
5018 (expandToc): correct by adding a empty FuncRequest
5020 * LyXAction.C: include <boost/assert.hpp>
5021 (isPseudoAction): delete function
5022 (LookupFunc): change name to...
5023 (lookupFunc): this. change return type to FuncRequest.
5024 (getActionName): take kb_action as arg, simplify
5025 (funcHasFlag): add an assert, simplify.
5027 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5029 * toc.C (action): return a FuncRequest, simplify
5031 * lyxfunc.C (processKeySym): adjust
5032 (getStatus): delete version that takes an int.
5034 (dispatch): delete version that takes action as int
5036 (sendDispatchMessage): simplify and adjust
5038 * funcrequest.C (getArg): take unsigned int as arg
5040 * ToolbarBackend.C (read): adjust
5041 (add): delete version that takes func as a string.
5042 (getIton): take a FuncRequest as arg
5044 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5047 * MenuBackend.C (MenuItem): add a new construct that only takes a
5048 Kind, simplify the constructor use for submenus.
5050 (expandLastfiles): adjust
5051 (expandDocuments): adjust
5052 (expandFormats): adjust
5053 (expandFloatListInsert): adjust
5054 (expandFloatInsert): adjust
5055 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5057 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5058 Remove class variables lyx_pseudo_map and lyx_arg_map
5060 * LyXAction.C (searchActionArg): delete function
5061 (getPseudoAction): delete function
5062 (retrieveActionArg): delete function
5063 (LookupFunc): make it return kb_action, simplify.
5064 (getActionName): simplify
5066 * factory.C (createInset): fix new bug
5068 2003-09-19 Angus Leeming <leeming@lyx.org>
5070 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5071 masterFilename_ parameter in the include inset.
5073 * factory.C (createInset): changes due to the changes to InsetInclude.
5075 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5077 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5079 2003-09-18 Angus Leeming <leeming@lyx.org>
5082 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5083 Inset::fillWithBibKeys.
5084 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5086 2003-09-18 Angus Leeming <leeming@lyx.org>
5088 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5090 (ctor): pass and store a 'Buffer const &'
5091 (buffer): new member function.
5093 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5094 '*this' to the LaTeXFeatures ctor.
5096 2003-09-18 Angus Leeming <leeming@lyx.org>
5102 * text.C: rename EnumLColor as LColor_color.
5104 2003-09-18 Angus Leeming <leeming@lyx.org>
5106 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5107 remove #include "insets/insetbase.h" from cursor.h.
5109 2003-09-18 Angus Leeming <leeming@lyx.org>
5111 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5112 InsetOld_code to remove #include "inset.h".
5114 * iterators.C: add #include "insets/inset.h"
5116 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5118 * BufferView.C: remove more locking stuff that apparently doesn't
5119 do anything sensible.
5121 2003-09-16 André Pönitz <poenitz@gmx.net>
5124 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5127 2003-09-16 Angus Leeming <leeming@lyx.org>
5129 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5131 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5134 * paragraph.h: remove #include "lyxfont.h". Forward declare
5137 2003-09-16 Angus Leeming <leeming@lyx.org>
5139 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5140 of support/textutils.h.
5141 (isWord): move the contents of support/textutils.h's IsWordChar here.
5147 * text2.C: add #include "paragraph.h".
5150 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5152 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * LaTeX.C: use namespace alias for lyx::support::os
5160 2003-09-16 Angus Leeming <leeming@lyx.org>
5163 * bufferview_funcs.C:
5166 * paragraph_pimpl.C:
5168 * text.C: add #include "LColor.h".
5170 2003-09-16 Angus Leeming <leeming@lyx.org>
5172 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5173 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5175 Store the FontBits::color variable as an int rather than as an
5176 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5179 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5180 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5181 string calls together.
5183 * lyxrc.C: add #include "LColor.h".
5185 2003-09-15 Angus Leeming <leeming@lyx.org>
5187 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5190 2003-09-15 Angus Leeming <leeming@lyx.org>
5192 * LColor.h: add an EnumLColor wrapper for LColor::color.
5194 * lyxfont.[Ch] (color, setColor, realColor):
5195 * lyxtext.h, text.C (backgroundColor):
5196 pass EnumLColor args to/from the functions, rather than LColor::color
5200 * lyxtext.h: forward declare EnumLColor.
5202 * lyx_main.C: add #include "LColor.h".
5204 2003-09-15 Angus Leeming <leeming@lyx.org>
5206 * .cvsignore: add lyx-gtk.
5208 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * ParagraphParameters.C
5217 * bufferview_funcs.C
5227 * vc-backend.C: remove usage of STRCONV
5229 2003-09-15 Angus Leeming <leeming@lyx.org>
5231 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5232 explicitly define the color passed to the painter.
5234 2003-09-15 Angus Leeming <leeming@lyx.org>
5236 * bufferparams.C (BufferParams): reorder member initializers to avoid
5239 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5241 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5242 * text.C (updateRowPositions): remove an unusual nop
5244 2003-09-12 André Pönitz <poenitz@gmx.net>
5246 * BufferView_pimpl.C:
5255 * Counters.[Ch]: finish the 'automatic counters' job
5257 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5259 * aspell.C: include <boost/assert.cpp> (compile fix)
5261 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5263 * boost.C (assertion_failed): use lyx::support::abort instead of
5266 2003-09-10 Angus Leeming <leeming@lyx.org>
5268 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5269 with their _fwd progeny.
5271 2003-09-09 Angus Leeming <leeming@lyx.org>
5273 134 files throughtout the source tree: replace 'using namespace abc;'
5274 directives with the appropriate 'using abc::xyz;' declarations.
5276 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5278 * boost.C (emergencyCleanup): moved here from LAssert.c
5279 (assertion_failed): new function, called by BOOST_ASSERT
5281 * several files: change Assert to BOOST_ASSERT
5283 2003-09-09 Angus Leeming <leeming@lyx.org>
5285 * buffer.[Ch]: Add an Impl class and move Buffer's member
5286 variables into it. As a result move several header files out of
5289 Add header files to lots of .C files all over the tree as a result.
5291 2003-09-09 Angus Leeming <leeming@lyx.org>
5293 * buffer.[Ch]: make Buffer's member variables private. Add
5296 Lots of changes all over the tree as a result.
5298 2003-09-08 Angus Leeming <leeming@lyx.org>
5300 * graph.C: #include <config.h>.
5302 2003-09-08 Angus Leeming <leeming@lyx.org>
5306 * BufferView_pimpl.C:
5335 * toc.C: remove redundant using directives.
5337 2003-09-07 Angus Leeming <leeming@lyx.org>
5339 * LaTeXFeatures.h: remove #include "support/types.h".
5340 * ToolbarBackend.h: remove #include <algorithm>.
5341 * changes.h: remove #include <ctime>.
5342 * debug.h: remove #include <iosfwd>.
5343 * graph.h: remove #include "support/std_string.h".
5344 * lyx_main.h: remove #include <csignal>.
5345 * lyxlex_pimpl.h: remove #include <fstream>.
5346 * sgml.h: remove #include <algorithm>, <utility>.
5347 * toc.h: remove #include "support/std_ostream.h".
5348 Add #include <iosfwd>.
5350 2003-09-07 Angus Leeming <leeming@lyx.org>
5352 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5354 * converter.h: forward declare LatexRunParams.
5355 * encoding.h: remove #include "lyxrc.h".
5356 * lyxtext.h: remove #include "LColor.h".
5357 * lyxtextclass.h: remove #include "support/types.h".
5358 * trans.h: remove #include "tex-accent.h".
5359 * trans_mgr.h: remove #include "tex-accent.h".
5360 * insets/inset.h: remove #include "support/types.h", <vector>.
5361 * insets/insetcollapsable.h: remove #include "LColor.h".
5362 * insets/insetinclude.h: remove #include "dimension.h".
5363 * insets/insetlatexaccent.h: remove #include "dimension.h".
5364 * insets/insetoptarg.h:: remove #include "insettext.h".
5365 * insets/insettext.h: remove #include "dimension.h",
5366 <boost/shared_ptr.hpp>
5368 * insets/renderers.h: add #include "dimension.h".
5369 * insets/updatableinset.h: add #include "support/types.h".
5371 * many .C files: Associated changes.
5373 2003-09-06 Angus Leeming <leeming@lyx.org>
5375 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5376 one, inside testInvariant.
5378 * PrinterParams.C: new file.
5379 * PrinterParams.[Ch]: move the function bodies out of line.
5381 2003-09-06 Angus Leeming <leeming@lyx.org>
5383 * ParagraphParameters.h: forward declare ParameterStruct rather than
5384 including its header file.
5385 (depth): moved out-of-line.
5387 2003-09-06 Angus Leeming <leeming@lyx.org>
5389 * BufferView_pimpl.h:
5392 * lyxfunc.h: forward declare LyXKeySym rather than
5393 #include "frontends/LyXKeySym.h".
5395 * BufferView_pimpl.C:
5398 * lyxfunc.C: associated changes.
5400 2003-09-06 Angus Leeming <leeming@lyx.org>
5402 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5403 As a result, can remove the #include "insets/inset.h" from BufferView.h
5405 2003-09-06 Angus Leeming <leeming@lyx.org>
5407 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5408 As a result, can remove the #include "insets/inset.h" from BufferView.h
5410 2003-09-06 Angus Leeming <leeming@lyx.org>
5416 * bufferview_funcs.C:
5417 * BufferView_pimpl.C:
5422 * ParagraphParameters.C:
5427 * frontends/controllers/ControlDocument.C:
5428 * insets/insetcaption.C: rearrange the #includes into some sort of
5431 * buffer.h: remove #includes ErrorList.h, undo.h
5433 2003-09-06 Angus Leeming <leeming@lyx.org>
5435 * support/types.h: add a 'depth_type' typedef, used to store the
5436 nesting depth of a paragraph.
5439 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5440 defining explicitly.
5443 * paragraph_funcs.h:
5444 * ParagraphParameters.h:
5445 * sgml.h: use lyx::depth_type rather than Paragraph or
5446 ParameterStruct's depth_type.
5449 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5452 * BufferView_pimpl.C:
5454 * ParagraphParameters.C:
5457 * bufferview_funcs.C:
5464 * frontends/LyXView.C:
5465 * frontends/controllers/ControlDocument.C:
5466 * frontends/controllers/ControlErrorList.C:
5467 * insets/insetbibitem.C:
5468 * insets/insetbranch.C:
5469 * insets/insetcaption.C:
5470 * insets/insetcollapsable.C:
5471 * insets/insetenv.C:
5472 * insets/insetert.C:
5473 * insets/insetfloat.C:
5474 * insets/insetfoot.C:
5475 * insets/insetfootlike.C:
5476 * insets/insetnewline.C:
5477 * insets/insetquotes.C:
5478 * insets/insettabular.C:
5479 * insets/insettext.C:
5480 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5482 * frontends/controllers/ControlChanges.C: #include "changes.h".
5484 2003-09-06 Angus Leeming <leeming@lyx.org>
5486 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5487 than #including paragraph.h.
5490 * RowList.h: deleted. Superfluous.
5500 * insets/insettext.h: use ParagraphList_fwd.h rather than
5503 * paragraph.h: don't forward declare ParagraphList.
5506 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5507 rather than ParagraphList.h. paragraph.h is still needed for the
5508 Paragraph::depth_type parameters.
5510 * textcursor.h: enable it to compile stand-alone in light of the
5513 * bufferview_funcs.C:
5525 * frontends/controllers/ControlParagraph.C:
5526 * frontends/controllers/ControlTabular.C:
5527 * insets/insetmarginal.C:
5528 * insets/insetminipage.C:
5529 * insets/insetnote.C:
5530 * insets/insetoptarg.C: add header files needed to compile again.
5532 2003-09-06 Angus Leeming <leeming@lyx.org>
5534 * RowList_fwd.h: new file, forward-declaring Row rather than
5535 #including lyxrow.h.
5540 * insets/insettext.h: use it instead of RowList.h
5542 * bufferview_funcs.C:
5549 * text3.C: #include "RowList.h".
5551 2003-09-05 Angus Leeming <leeming@lyx.org>
5553 * factory.C (createInset):
5554 * vspace.C (c-tor): replace sscanf call with an istringstream.
5555 * ispell.C: re-add missing HP/UX headers.
5556 * lyxserver.C: re-add missing os2 headers.
5558 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5567 * text3.C: re-add missing system headers, needed for 2.95.2.
5569 2003-09-05 Angus Leeming <leeming@lyx.org>
5571 Changes most place everywhere due to the removal of using directives
5572 from support/std_sstream.h.
5574 2003-09-05 Angus Leeming <leeming@lyx.org>
5576 Replace LString.h with support/std_string.h,
5577 Lsstream.h with support/std_sstream.h,
5578 support/LIstream.h with support/std_istream.h,
5579 support/LOstream.h with support/std_ostream.h.
5581 Changes resulting throughout the tree.
5583 2003-09-05 Angus Leeming <leeming@lyx.org>
5585 * sgml.h: ensure that the header file can be compiled stand-alone.
5586 * *.C: strip out redundant #includes. (320 in total.)
5588 2003-09-04 Angus Leeming <leeming@lyx.org>
5590 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5591 here (from getPackages).
5593 * debug.[Ch]: add a new EXTERNAL tag.
5595 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5597 * text2.C (cursorEnd): simplify
5599 (getColumnNearX): adjust
5601 * text.C (computeBidiTables): adjust
5604 * rowpainter.C (paintChars): adjust
5605 (paintSelection): adjust
5606 (paintChangeBar): adjust
5609 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5611 (numberOfSeparators): adjust
5613 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5619 * text3.C: Restricts the mouse click functionality
5620 of insets like bibtex, include, toc and floatlist to the visible
5621 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5622 up the dialogs. Cursor has to be in front of the inset (i.e.
5623 start of row) for this to function.
5625 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5627 * bufferview_funcs.C (currentState): output row information
5629 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5631 * bufferview_funcs.C (currentState): output paragraph position
5633 2003-09-04 Angus Leeming <leeming@lyx.org>
5635 * FloatList.h: move out #include "Floating.h".
5636 * LaTeX.h: move out #include "DepTable.h".
5637 * LyXAction.h: move out #include "funcrequest.h".
5638 * buffer.h: move out #include "author.h", "iterators.h".
5639 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5640 * lyx_main.h: move out #include "errorlist.h".
5641 * lyxfunc.h: move out #include "FuncStatus.h".
5642 * lyxtext: move out #include "lyxcursor.h".
5643 * paragraph_pimpl.h: move out #include "counters.h".
5645 2003-09-03 Angus Leeming <leeming@lyx.org>
5647 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5648 preamble_snippets list, enabling us to add snippets to the preamble
5649 only if the snippet was not there already.
5651 2003-09-04 Angus Leeming <leeming@lyx.org>
5653 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5655 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5657 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5660 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5662 * BranchList.C: point fix, earlier forgotten
5664 2003-09-02 Angus Leeming <leeming@lyx.org>
5666 * box.C (contains): renamed from 'contained' after a fantastic
5669 2003-09-02 John Levon <levon@movementarian.org>
5675 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5677 2003-09-02 John Levon <levon@movementarian.org>
5679 * text2.C: simplification of cursorEnd(), including partial
5682 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5684 * buffer.C (readFile): add a space
5686 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5688 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5690 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5692 * buffer.C (readFile): new function, take a filename and a
5693 ParagraphList::iterator
5695 (readFile): adjust, make it private. don't use setStream, make
5696 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5697 always contain the filename.
5699 * BufferView.C (insertLyXFile): simplify and make it work for
5702 2003-08-30 John Levon <levon@movementarian.org>
5704 * Makefile.am: fix dist (from Kayvan)
5706 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5708 * most files: change to use const Buffer refs
5710 2003-08-27 André Pönitz <poenitz@gmx.net>
5712 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5713 on top of ownerPar().
5715 2003-08-27 John Levon <levon@movementarian.org>
5717 * funcrequest.C: properly initialise POD members
5719 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5721 * lyxtext.h (top_y): move top_y from here
5726 * BufferView_pimpl.[Ch]: to here
5727 * frontends/screen.C:
5728 * insets/insettabular.C:
5729 * insets/insettext.C: adjust
5730 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5732 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5735 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5737 2003-08-26 André Pönitz <poenitz@gmx.net>
5739 * paragraph_func.[Ch] (outerPar): new function
5742 * paragraph_funcs.C:
5743 * paragraph_funcs.h:
5744 * paragraph_pimpl.C:
5745 * text2.C: remove Inset::par_owner
5747 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5752 * text2.C: eliminates the needFullRow/display() stuff
5753 altogether, putting the logic in metrics/draw in the insets.
5755 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5757 * text2.C (redoParagraphInternal, redoParagraphs):
5758 * text.C (redoParagraph): add a call to updateRowPositions at the
5759 end of each 'metrics-like' call. Remove all others.
5760 (getRow): remove the 'y-computing' version.
5761 (getRowNearY): do not compute nor return the real y. Solve the
5762 'y < 0' problem and simplify.
5764 2003-08-22 Angus Leeming <leeming@lyx.org>
5766 * *.[Ch]: clean-up of licence and author blurbs.
5767 Also move config.h out of a few .h files and into a few .C files.
5769 2003-08-22 André Pönitz <poenitz@gmx.net>
5771 * lyxrow.[Ch]: add x_ and *fill_ members
5776 * text2.C: adjust/remove prepareToPrint() calls
5778 2003-08-22 André Pönitz <poenitz@gmx.net>
5780 * lyxrow.[Ch]: add end_ member
5782 * lyxrow_funcs.C: use LyXRow::end_
5784 * lyxtext.h (singleWidth): add LyXFont parameter
5787 * text2.C: adjust LyXText::singleWidth() calls
5789 * text.C (redoParagraph): simplify row breaking logic
5792 2003-08-19 André Pönitz <poenitz@gmx.net>
5794 * funcrequest.C: initialize button_ member
5797 * rowpainter.[Ch]: interface consolidation
5799 2003-08-18 André Pönitz <poenitz@gmx.net>
5802 * BufferView_pimpl.C:
5804 * paragraph_funcs.C:
5806 * text3.C: remove LyXScreen::draw() and fitCursor calls
5808 * BranchList.h: remove spurious semicolons
5810 * MenuBackend.C: fix branchlist related crash
5812 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5820 * bufferparams.[Ch]:
5824 * text3.C: implements the 'branch inset'
5825 idea. This allows the output of various versions of a document
5826 from a single source version, selectively outputing or suppressing
5827 output of parts of the text.
5828 This implementation contains a 'branch list editor' in a separate
5829 tab of the document settings dialog. Branches are user definable
5830 and have a "display colour" to distinguish them on-screen.
5832 ColorHandler was somewhat cleaned up.
5833 (1) make possible a dynamically growing LColor list by allowing
5834 the graphic context cache to grow along (vector);
5835 (2) eliminate an IMHO unnecessary step in colour allocation.
5837 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5839 * BufferView_pimpl.C: compile fix
5841 2003-08-15 André Pönitz <poenitz@gmx.net>
5843 * rowpainter.C: remove extra metrics calls
5845 * lyxtext.h: merge the two constructors into a single one,
5846 pass reference to owner's par list
5848 * BufferView_pimpl.C:
5852 2003-08-15 André Pönitz <poenitz@gmx.net>
5854 * lyxrow_funcs.[Ch]:
5857 * paragraph_funcs.C:
5862 * text_funcs.C: split LyXText::rowlist_ into individual
5863 Paragraph::rows_ chunks
5866 * BufferView_pimpl.[Ch]:
5869 * text3.C: remove toggleSelection()
5871 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5873 * bufferlist.C: beautify two alerts (shorter text of buttons)
5874 * buffer.C: Remove redundant ' ' from message
5876 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5877 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5878 rename VALIGN_CENTER to VALIGN_MIDDLE
5880 2003-08-11 André Pönitz <poenitz@gmx.net>
5882 * lyxtext.h (getPar):
5883 * text.C: new function
5885 2003-08-11 André Pönitz <poenitz@gmx.net>
5888 * tracer.[Ch]: remove unneeded files
5890 * InsetList.[Ch]: remove resizeInsetsLyXText()
5895 * text3.C: merge insertParagraphs() and appendParagraph()
5896 remove breakAgain(), update()
5898 * BufferView_pimpl.[Ch]:
5899 * bufferview_funcs.[Ch]:
5903 * tabular.C: adjust after text & InsetList changes.
5905 2003-08-08 André Pönitz <poenitz@gmx.net>
5907 * text.C (insertChar, backspace): replace rowlist fiddling
5908 with rebreak of full par
5911 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5912 checkParagraph, updateInset): removed
5914 2003-08-07 André Pönitz <poenitz@gmx.net>
5917 * text3.C: merge some LFUN handlers, remove dead code
5919 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5921 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5923 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5925 * text2.C (DEPM): fix part of bug 1255 and 1256
5927 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5929 * BufferView_pimpl.C (workAreaDispatch): change to use
5930 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5931 that are no mouse related.
5933 2003-08-05 André Pönitz <poenitz@gmx.net>
5936 * BufferView_pimpl.[Ch]:
5937 * bufferview_funcs.C:
5939 * text3.C: rip out "deep update"
5941 * textcursor.[Ch] (last_sel_cursor): remove unused member
5943 2003-08-04 André Pönitz <poenitz@gmx.net>
5946 * BufferView_pimpl.[Ch]:
5947 * ParagraphParameters.C:
5948 * bufferview_funcs.C:
5954 * text3.C: replace "complicated" BufferView::update(...) calls with
5957 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5959 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5961 * Makefile.am (lyx_SOURCES): add paper.h
5963 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5965 * Makefile.am: move things around so that both lyx-qt and
5966 lyx-xforms can be built (according to --with-frontend). Then lyx
5967 is a symbolic link to lyx-[firstfrontend]
5969 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5971 * Always use std::endl with lyxerr
5973 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5975 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5977 2003-08-01 André Pönitz <poenitz@gmx.net>
5980 * BufferView_pimpl.[Ch]:
5982 * text3.C: merge BufferView::repaint() and BufferView::update()
5984 2003-08-01 José Matos <jamatos@lyx.org>
5986 * buffer.[Ch]: file_format is no longer a buffer data element.
5988 2003-08-01 André Pönitz <poenitz@gmx.net>
5993 * text2.C: make redoParagraph more independent of current cursor
5995 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5997 * text2.C: remove unneeded members
5999 2003-07-30 André Pönitz <poenitz@gmx.net>
6001 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6003 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6004 create a single function...
6006 * paragraph_funcs.C (moveItem): ... here.
6009 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6011 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6013 * LColor.[Ch]: Add comment and greyedout logical colors.
6015 2003-07-30 André Pönitz <poenitz@gmx.net>
6017 * tabular.C: don't use Assert too heavily. This crashes where it
6020 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6022 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6023 is disabled (bug 1232)
6025 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6027 * factory.C: limited 'arg' scope
6029 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6031 * factory.C: fixed Note submenu issues
6033 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6035 * factory.C: submenu for Note/Comment/Greyedout
6037 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6040 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6042 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6045 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6046 greyedout. Patch provided by Jürgen Spitzmüller.
6048 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6050 * kbmap.C (read): fix error message when reading bind files
6052 2003-07-29 Angus Leeming <leeming@lyx.org>
6054 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6055 certainly does not do what it purports to do. I am doing it, and
6056 us, a favour by killing it.
6058 2003-07-28 José Matos <jamatos@lyx.org>
6060 * buffer.C (readBody, do_writeFile):
6061 * paragraph.C(readParagraph): \end_document replaces \the_end.
6063 2003-07-29 André Pönitz <poenitz@gmx.net>
6066 * BufferView_pimpl.[Ch]:
6070 * textcursor.[Ch]: remove toggleToggle & Co
6072 2003-07-28 José Matos <jamatos@fep.up.pt>
6074 * buffer.C (readParagraph):
6075 * params_func (readParToken, readParagraph):
6076 * paragraph.C (write): \layout -> \begin_layout.
6078 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6080 * lyxlex_pimpl.C (setFile): clean up slightly.
6082 * bufferparams.h: add compressed var
6084 * buffer_funcs.C (readFile): adjust for LyXLex change
6085 (newFile): ditto + simplify
6087 * buffer.C (writeFile): handle writing of compressed files
6089 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6090 Check if the file is compressed and set a bufferparm if so.
6092 * Makefile.am (lyx_LDADD): remove explicit -lz
6094 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6096 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6097 makeDocBookFile): put the real LyX version in the first line of
6101 * version.C.in: remove lyx_docversion
6103 * tabular.C (write_attribute): add a template-based version to
6104 write enums properly
6106 2003-07-28 André Pönitz <poenitz@gmx.net>
6111 * text3.C: use doubles again for x-coordinates. They are needed.
6113 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6115 * messages.C (getLocaleDir): use lyx_localedir()
6117 * lyxlex_pimpl.C (setFile): compress stuff
6119 * buffer.C (writeFile): add some compression stuff
6120 (do_writeFile): new func, dont call expliti close... will this
6123 * Makefile.am (lyx_LDADD): add -lz
6125 2003-07-28 José Matos <jamatos@fep.up.pt>
6127 * buffer.C: increment file format.
6128 * paragraph_funcs (readParagraph, readParToken):
6129 * paragraph.C (readParagraph): add \end_layout.
6131 2003-07-27 Angus Leeming <leeming@lyx.org>
6133 * Makefile.am: remove special casing for configure-time setting of
6134 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6136 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6137 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6139 2003-07-26 André Pönitz <poenitz@gmx.net>
6141 * paragraph_func.[Ch]:
6142 * paragraph.C (realizeFont): inline it whereever it is used
6147 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6150 2003-07-26 André Pönitz <poenitz@gmx.net>
6154 * text2.C: get rid of LyXText::need_break_row
6156 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6158 * toc.[Ch]: put namespace toc inside namespace lyx
6160 * MenuBackend.C (expandToc2): adjust for lyx::toc
6163 * lyxfunc.C (dispatch): adjust for lyx::find
6165 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6166 lyx::find instead. Reorganize a bit.
6167 (LyXReplace): rename to replace
6168 (LyXFind): rename to find
6170 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6173 2003-07-26 André Pönitz <poenitz@gmx.net>
6175 * text.C (setHeightOfRow): restrict scope of temporary variable
6177 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6178 code (never has been used?)
6180 2003-07-27 Asger Alstrup <alstrup@local>
6182 * text.C (fill): Optimise algorithm to exploit that we can reuse
6183 the LyXFont for many characters.
6184 (setHeightOfRow): Same thing.
6185 (rowBreakPoint): Same thing.
6187 2003-07-26 Asger Alstrup <alstrup@local>
6189 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6191 * text.C (singleWidth): Spurious font copying in hot-spot
6192 singleWidth avoided. Reorder tests for arabic for efficiency.
6194 * text.C (fill): handle empty paragraphs better.
6196 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6199 * encoding.h: add includes
6201 * lyxrc.C: remove reading of bind files
6203 * lyx_main.C (init): setup bindings and menus only if we have a
6206 * kbmap.C (read): new method. Do the actual reading of bind
6209 * converter.C (dvipdfm_options):
6212 (output): adapt PAPER_* enums.
6214 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6216 * bufferparams.h: remove paper-related enums from there
6218 * paper.h: New file. A trivial header file to hold paper-related
6219 enums. It should later expand to contain many paper-related
6222 * lyxrc.C: declare extern displayTranslator
6224 2003-07-27 José Matos <jamatos@fep.up.pt>
6226 * tabular.[Ch] (linuxdoc): add support for tables and figures
6229 2003-07-27 José Matos <jamatos@fep.up.pt>
6231 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6232 consistency in both functions.
6233 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6235 2003-07-26 Asger Alstrup <alstrup@local>
6237 * rowpainter.C (paintRows): Change algorithm to work directly on
6238 the insets rather than asking every character in the document
6239 whether its an inset.
6241 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6243 * buffer.C (openFileWrite): factorize some code
6245 2003-07-26 Angus Leeming <leeming@lyx.org>
6248 * lyx_main.[Ch]: replace occurances of system_tempdir with
6251 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6253 * rename Inset to InsetOld
6255 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6257 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6258 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6259 which I think is a bit clearer. EDIT is gone, since it was
6260 premature optimisation, and broken for mathed anyway.
6261 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6262 with cursor positioning in insets as well (math insets still do not
6263 work, but that's a different story anyway.) It mysteriously
6264 crashes sometimes with undo in the first paragraph, but I'm fairly
6265 confident that this is a compiler bug.
6267 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * paragraph.C (Paragraph): adjust for new clone return type
6271 (copyIntoMinibuffer): ditto
6273 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6275 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6276 by not having a special case, and always doing a full rebreak of
6277 the document after undo.
6279 2003-07-23 Angus Leeming <leeming@lyx.org>
6281 * factory.C (createInset): InsetExternal::setParams now takes a
6284 2003-07-23 Angus Leeming <leeming@lyx.org>
6286 * factory.C (createInset): changed interface to the external and
6287 graphics mailers' string2params functions.
6289 2003-07-23 Angus Leeming <leeming@lyx.org>
6291 * factory.C (createInset): pass a
6292 Buffer const * parameter to InsetExternalMailer's string2params.
6294 2003-07-22 John Levon <levon@movementarian.org>
6296 * Thesaurus.h: include the right aiksaurus header
6298 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6300 * MenuBackend.C (expand): check menu shortcuts unconditionally
6302 2003-07-21 Angus Leeming <leeming@lyx.org>
6304 * factory.C (createInset): pass a
6305 buffer_path parameter to InsetGraphicsMailer's string2params.
6307 2003-07-21 Angus Leeming <leeming@lyx.org>
6309 * BufferView_pimpl.C (buffer):
6312 * lyxfunc.C (dispatch):
6313 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6314 rather than the grfx shortcut.
6316 2003-07-21 André Pönitz <poenitz@gmx.net>
6318 * rowpainter.C: remove unused variables
6321 * tabular_funcs.h: move to tabular.C
6322 * Makefile.am: adjust
6324 * tabular.[Ch]: basic optical cleaning
6326 * author.h: pass references, not values
6328 2003-07-18 André Pönitz <poenitz@gmx.net>
6336 * text3.C: two-phase drawing for InsetText and InsetTabular
6337 some float -> int changes.
6339 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6341 * lyx_main.C: fix the fix
6343 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6345 * lyx_main.C: fix a crash in batch mode if no files specified
6348 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6350 * format.[Ch] (papersize): moved to BufferParams
6351 * converter.[Ch] (dvips_options): moved to BufferParams
6352 (dvipdfm_options): moved to anon namespace
6353 * bufferparams.[Ch]: added above functions.
6355 2003-07-17 André Pönitz <poenitz@gmx.net>
6359 * text2.C: don't call inset->update() anymore
6361 * metricsinfo.[Ch]: add convenience constructor
6363 2003-07-16 André Pönitz <poenitz@gmx.net>
6368 * text2.C: replace the LyXCursor::irow_ member with
6369 on-demand computation of the value
6371 2003-07-16 John Levon <levon@movementarian.org>
6373 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6375 2003-07-15 André Pönitz <poenitz@gmx.net>
6378 * text2.C: remove no more needed refresh_row
6380 2003-07-15 André Pönitz <poenitz@gmx.net>
6385 * text3.C: refresh_status tristate -> need_update bool
6387 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6389 * lyxtext.h (init): remove reinit argument (act as if always true)
6390 * text2.C: adjust to that
6392 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6394 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6395 * text3.C: use it to delete selections in some cases
6396 (bugs 441, 673, 702, 954).
6398 2003-07-14 André Pönitz <poenitz@gmx.net>
6400 * rowpainter.[Ch]: reduce interface
6402 2003-07-14 André Pönitz <poenitz@gmx.net>
6404 * BufferView_pimpl.C:
6405 * text2.C: adjust after removing unused BufferView * argument
6407 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6409 * text2.C (init): fix a crash fired on resize
6411 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6413 * buffer.[Ch]: added new closing signal
6414 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6415 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6416 BufferView::Pimpl via the closing the signal
6418 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6420 * buffer.[Ch]: take out all bv-related from buffer
6422 * BufferView_pimpl.[Ch]: connect to new signals
6423 * CutAndPaste.C: removed useless asserts
6424 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6427 * lyxfunc.C: moved view-related funciontality from vc here
6428 * paragraph.C: removed outdated comments
6431 2003-07-10 André Pönitz <poenitz@gmx.net>
6433 * BufferView_pimpl.C:
6437 * text2.C: remove InsetText::InnerCache, clean up consequences
6439 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6441 * ispell.C: fix two typos in error messages
6443 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6445 * Extend Note inset to other forms of annotation like Comment
6446 and Greyedout. Right button click gives dialog.
6448 Files modified or added (+):
6452 * ControlNote.[Ch] +
6454 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6455 frontends/controllers
6459 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6461 * aspell.C: add missing namespace lyx::support
6463 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6465 * BufferView.[Ch] (newFile): Add
6466 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6467 * LaTeX.[Ch] (message): added this signal and use it
6468 * buffer.[Ch] (busy, message): added these signals and use them
6469 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6473 * importer.C: use buffer signals instead of direct bv calling
6474 * lyx_cb.[Ch] (ShowMessage): removed
6477 * paragraph_funcs.C:
6478 * text2.C: use buffer signals
6480 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6482 * introduce namespace lyx::graphics
6484 2003-07-02 André Pönitz <poenitz@gmx.net>
6486 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6488 2003-07-01 André Pönitz <poenitz@gmx.net>
6495 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6496 text*.C to text_func.C
6498 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6500 * introduce namespace lyx::support
6502 2003-06-30 André Pönitz <poenitz@gmx.net>
6507 * text.C: re-enable --with-included-string
6509 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6511 * textcursor.C: add <config.h>
6513 * text.C (getWord): remove const from word_location arg
6515 * lyxvc.C (getLogFile): fix const type order
6517 * lyxtext.h: remove const from word_location arg, add arg name
6519 * lyxlayout.h: currect type on labeltype.
6521 * importer.C: correct \file
6523 * converter.C (intToFormat): use std:: on ret val, ws changes
6525 * bufferlist.h: correct \file
6527 * buffer.C (makeLinuxDocFile): fix const type order
6528 (makeDocBookFile): ditto
6529 (fillWithBibKeys): use std:: on stdlib args.
6531 * CutAndPaste.C: fix authors.
6532 (availableSelections): use std:: on return vector
6534 2003-06-27 André Pönitz <poenitz@gmx.net>
6536 * BufferView_pimpl.C:
6537 * bufferview_funcs.C:
6545 * text3.C: remove LyXCursor::row_ member
6548 * text.C: rename fullRebreak() to partialRebreak() and implement
6549 a fullRebreak() that really bereks fully
6551 * textcursor.h: new struct for cursor-related data
6553 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6555 * lyx_main.C (LyX): get full path of document loaded on the
6558 2003-06-26 André Pönitz <poenitz@gmx.net>
6560 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6561 remove unused/broken operator>,<,>=.
6563 * text.C: remove only use of broken operator<= in an Assert().
6565 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6567 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6568 moved errorlist_.clear to showErrorList
6570 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6572 * converter.C (scanLog, runLaTeX):
6573 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6574 move the bv->showErrorList call to the callers
6575 * lyxfunc.C: i.e. here...
6577 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6578 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6579 namespace, the second to...
6580 * buffer_funcs (BufferFormat, parseErrors): added
6581 * errorlist.C (ErrorList(TeXErrors const &)): removed
6583 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6585 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6587 2003-06-24 "Garst R. Reese" <reese@isn.net>
6591 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6593 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6595 * version.C.in: change docversion to 1.4
6597 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6599 * buffer.C: fix a bug just introduced
6601 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6603 * buffer.[Ch]: added the parseError signal and use it, removed
6605 * BufferView.[Ch] (addError): moved to ...
6606 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6607 to the Buffer::parseError signal to catch (guess what) parse errors
6608 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6610 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6612 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6613 ability to create a buffer and to return an existing one from
6614 the list. Moved these functions to...
6615 * buffer_funcs.[Ch]: added
6616 * BufferView.[Ch] (loadLyXFile): added
6617 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6618 job removed from bufferlist::loadLyXFile.
6619 * buffer.C (setReadOnly): make it work without view
6620 (i.e added an if (users))
6622 2003-06-19 Angus Leeming <leeming@lyx.org>
6625 * LyXAction.C (init):
6626 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6627 with LFUN_DIALOG_SHOW <name> <data>.
6629 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6631 * CutAndPaste.C (availableSelections): small compilation fix for
6632 ancient (gcc 2.9x) compilers
6634 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * text3.C (cursorNext): add tmp var
6638 * text2.C (updateCounters): for function calling out of for clause
6639 (replaceSelectionWithString): ditto
6640 (insertStringAsParagraphs): ditto
6641 (getColumnNearX): add tmp var
6642 (setCursorFromCoordinates): add tmp var
6643 (cursorDownParagraph): add tmp var
6644 (deleteEmptyParagraphMechanism): add tmp var
6646 * text.C (insertChar): add tmp var
6648 * rowpainter.C (paintDepthBar): add tmp var
6650 * CutAndPaste.C (availableSelections): potentially check all
6651 paragraphs in a cut to fill the shown strings.
6653 2003-06-18 André Pönitz <poenitz@gmx.net>
6655 * kbmap.[Ch]: use vector<> instead of list<>
6657 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6659 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6660 pasteSelection with index
6662 * text2.C (pasteSelection): modify, call pasteSelection with index
6664 * paragraph.C (asString): reimplement version with no interval to
6665 call the one with interval.
6667 * lyxtext.h: add index arg to pasteSelection
6669 * MenuBackend.C (MenuItem): handle PasteRecent
6670 (Menu::read::Menutags): add md_pasterecent
6672 (expandPasteRecent): new function
6675 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6677 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6679 (availableSelections): new function
6681 2003-06-17 Angus Leeming <leeming@lyx.org>
6683 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6685 2003-06-17 Angus Leeming <leeming@lyx.org>
6688 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6690 * lyxfunc.C (dispatch): invoke it.
6692 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6694 * iterators.C (operator++, ParPosition): reintroduce some
6695 const_cast for the benefit of older compilers.
6697 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6699 * text3.C (dispatch): do not modify clipboard when doing
6700 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6701 LFUN_DELETE_SKIP on a selection selection
6703 2003-06-16 André Pönitz <poenitz@gmx.net>
6709 * tabular.[Ch]: IU of clone() and getLabelList();
6711 2003-06-13 André Pönitz <poenitz@gmx.net>
6713 * tabular.h: compactification
6715 2003-06-12 André Pönitz <poenitz@gmx.net>
6719 * tabular_funcs.h: some renaming plus whitespace
6721 2003-06-12 André Pönitz <poenitz@gmx.net>
6724 * BufferView_pimpl.C:
6730 * toc.C: Return a Paragraph & for ParIterator::operator*()
6732 2003-06-11 John Levon <levon@movementarian.org>
6736 * ToolbarBackend.C: add "Toolbars" section and
6739 2003-06-10 Angus Leeming <leeming@lyx.org>
6742 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6744 * lyxfunc.C (dispatch): invoke it.
6746 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6748 * main.C: protect <ios> with HAVE_IOS
6749 (main): protect sync_with_stdio with HAVE_IOS
6751 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6753 * text2.C (cutSelection): adjust
6754 (pasteSelection): adjust
6756 * messages.C: handle get of empty string
6758 * main.C (main): use sync_with_stdio(false)
6760 * lyxfunc.C (dispatch): adjust
6762 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6763 (WriteAs): remove unneeded BufferView arg.
6765 * bufferparams.h: use correct types on papersize, papersize2 and
6768 * bufferparams.C (readToken): adjust for type
6769 (writeLaTeX): add missing cases to switch.
6771 * bufferlist.C (quitWriteBuffer): adjust
6774 * buffer.C (asciiParagraph): remove some commented code.
6776 * CutAndPaste.C: remove current_view extern variable.
6777 (cutSelection): add BufferParams arg.
6778 (eraseSelection): add BufferParams arg.
6779 (pasteSelection): add Buffer const & arg
6781 2003-06-07 John Levon <levon@movementarian.org>
6784 * paragraph_funcs.C:
6785 * paragraph_pimpl.C:
6789 * paragraph.C: allow InsetERT to freely space lines,
6790 and some consolidation of code
6792 2003-06-06 José Matos <jamatos@fep.up.pt>
6794 * buffer.C (makeDocBookFile): fix bug #821
6796 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6798 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6800 2003-06-04 Angus Leeming <leeming@lyx.org>
6802 * buffer.C: bump format to 224.
6804 2003-06-05 André Pönitz <poenitz@gmx.net>
6806 * text2.C (redoParagraphs): remove two const_cast<>
6808 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6810 * ParagraphList.h: remove last remnants of NO_STD_LIST
6812 2003-06-03 Angus Leeming <leeming@lyx.org>
6814 * factory.C (createInset): small change to the way InsetExternal's params
6817 2003-06-04 André Pönitz <poenitz@gmx.net>
6819 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6821 * paragraph_pimpl.h:
6822 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6824 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6826 * undo_funcs.C: make some simple cases of undo work again
6828 2003-06-03 John Levon <levon@movementarian.org>
6830 * ispell.C: HPUX doesn't have sys/select.h
6833 2003-06-03 John Levon <levon@movementarian.org>
6835 * CutAndPaste.C: update tabular and include inset
6840 * paragraph.C: remove owningBuffer(), don't pass Buffer
6843 * factory.C: insetGraphicsParams changed
6845 2003-06-02 John Levon <levon@movementarian.org>
6851 * text3.C: remove insetparent
6853 2003-06-02 John Levon <levon@movementarian.org>
6856 * buffer.C: fix inset_iterator.end(), move out of line
6859 2003-06-01 John Levon <levon@movementarian.org>
6861 * text3.C: use a proper cut/paste when doing inset
6862 insert (from Jürgen Spitzmüller)
6864 2003-06-01 John Levon <levon@movementarian.org>
6866 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6868 2003-05-30 André Pönitz <poenitz@gmx.net>
6870 * rowpainter.C: unify second drawing phase
6872 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6874 * trans_mgr.C: remove one case of current_view
6876 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6878 * paragraph_funcs.h: remove paragraph.h include
6880 * paragraph.h: delete NO_STD_LIST stuff
6882 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6884 * buffer.h: remove paragraph.h include
6886 * ParagraphList.C: delete file
6888 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6890 * toc.C (getTocList): adjust
6892 * paragraph_pimpl.C (validate): adjust
6894 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6896 * paragraph.C (Paragraph): adjust
6897 (getPositionOfInset): use const_iterator, adjust
6898 (bibitem): use const_iterator, adjust
6899 (setInsetOwner): adjust
6901 * iterators.C (operator++): adjust
6903 * InsetList.[Ch]: Replace selfmade iterator with standard
6904 vector::iterator also introduce const_iterator. Remove getPos,
6905 getInset and setInset from InsetTable. Adjust accordingly.
6907 * BufferView.C (lockInset): adjust
6908 (ChangeInsets): adjust
6910 * tabular.[Ch]: delete commented same_id functions
6912 2003-05-28 John Levon <levon@movementarian.org>
6914 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6916 2003-05-28 André Pönitz <poenitz@gmx.net>
6918 * metricsinfo.[Ch]: remove 'fullredraw' member
6920 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6922 * lyxtextclass.C (operator): remove caching.
6924 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6928 * text2.C (cursorBottom): adjust
6929 (setCounter): use ParagraphList::find, adjust
6931 * text.C (workWidth): use ParagraphList::find, adjust
6933 * lyxcursor.C (LyXCursor): adjust
6935 * buffer.C (inset_iterator): adjust
6937 * ParagraphList.h: make iterator(value_type) private, make
6938 ParagraphList a friend of iterator.
6940 * ParagraphList.C (find): new function
6942 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6944 2003-05-27 André Pönitz <poenitz@gmx.net>
6946 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6948 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6950 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6952 2003-05-26 John Levon <levon@movementarian.org>
6954 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6956 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6958 * remove same_id from function signatures, adjust.
6960 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6962 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6964 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6966 * paragraph.C (Paragraph): get rid of same_ids parameter
6968 * ParagraphList.C (insert): adjust
6971 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6973 * paragraph_funcs.C (breakParagraph): adjust
6974 (breakParagraphConservative): adjust
6976 * buffer.C (readParagraph): adjust
6978 * ParagraphList.C (insert): take a reference instead of a pointer
6981 * paragraph.[Ch] (id): new function
6983 * bufferlist.C (newFile): adjust
6985 * ParagraphList.C (ParagraphList): adjust
6987 (push_back): take a reference instead of a pointer.
6989 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6991 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6994 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6995 set else use old code.
6997 * ParagraphList.C: remove all NO_NEXT code and only compile this
6998 code of NO_STD_LIST is set.
7000 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7002 * BufferView_pimpl.C:
7012 * graphics/GraphicsConverter.C:
7013 * graphics/PreviewLoader.C: header adjustment
7015 2003-05-23 Angus Leeming <leeming@lyx.org>
7017 * LaTeXFeatures.[Ch] (useBabel): new method.
7018 * bufferparams.C (writeLaTeX): use it.
7020 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * ParagraphList.h (set): remove unused function.
7024 2003-05-23 André Pönitz <poenitz@gmx.net>
7027 * BufferView_pimpl.C:
7031 * undo_funcs.C: setUndo reworked
7033 * iterators.[Ch]: add access to topmost ParagraphList
7035 * lyxtext.[Ch] (workWidth): add a const
7037 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7039 * texrow.[Ch] (increasePos): remove function
7040 * exporter.C (export): removed unused var and outdated comment
7042 2003-05-23 Angus Leeming <leeming@lyx.org>
7044 * latexrunparams.h: rename fragile as moving_arg.
7045 * paragraph.C (simpleTeXOnePar): ditto.
7046 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7048 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7050 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7052 (textUndoOrRedo): comment out a currently unused var.
7054 * paragraph.h (NO_NEXT): enable NO_NEXT
7056 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7058 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7060 * exporter.C (Export): adjust for removeAutoInsets removal.
7062 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7064 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7066 * BufferView.[Ch] (removeAutoInsets): delete function
7068 2003-05-22 Angus Leeming <leeming@lyx.org>
7070 * latexrunparams.h: add a free_spacing variable.
7072 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7073 to pass moving_arg, as the data is stored in runparams.fragile.
7075 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7076 to Inset::latexOptional or to simpleTeXOnePar.
7078 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7079 free_spacing arg to Inset::latexOptional.
7081 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7084 2003-05-22 Angus Leeming <leeming@lyx.org>
7086 * latexrunparams.h: add fragile and use_babel variables.
7088 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7089 * buffer.C (makeLaTeXFile): store this returned value in
7090 runparams.use_babel, thus passing it to the inset::latex methods.
7092 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7093 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7095 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7096 longer has a fragile arg, as it is stored in runparams.fragile.
7098 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7099 moving_arg parameter as the data is stored in runparams.fragile.
7101 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7102 a fragile parameter as the data is stored in runparams.fragile.
7104 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7106 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7108 2003-05-22 Angus Leeming <leeming@lyx.org>
7110 * latexrunparams.h: add a 'bool nice' which defaults to false.
7112 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7113 now encapsulated within runparams.
7115 * bufferlist.C (updateIncludedTeXfiles):
7116 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7118 2003-05-22 Angus Leeming <leeming@lyx.org>
7120 * latexrunparams.h: new file containing struct LatexRunParams.
7121 * Makefile.am: add new file.
7123 * LaTeX.[Ch] (c-tor, run):
7124 * buffer.[Ch] (makeLaTeXFile):
7125 * bufferlist.[Ch] (updateIncludedTeXfiles):
7126 * converter.C (convert, scanLog):
7127 * converter.[Ch] (runLaTeX):
7128 * exporter.C (Export):
7129 * paragraph.[Ch] (simpleTeXOnePar):
7130 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7131 * paragraph_funcs.[Ch] (latexParagraphs):
7132 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7133 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7134 pass around a LatexRunParams parameter.
7136 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7138 * paragraph.[Ch]: remove unused constructor
7140 * ParagraphList.C (erase): new function, taking two iterators
7142 2003-05-22 André Pönitz <poenitz@gmx.net>
7144 * undo_funcs.C: remove duplicated code
7146 * iterator.[Ch]: operator=
7148 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7150 * tabular.C (SetMultiColumn): ws changes
7152 * rowpainter.C (paintFirst): get rid of a ->previous
7154 * lyx_cb.C (getPossibleLabel): parlist simplification
7156 * BufferView.C (ChangeInsets): simplify slightly.
7158 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7160 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7161 * lfuns.h: new LFUN_SPACE
7162 * lyxfunc.C: protected space has a new lfun
7163 * paragraph_funcs.C: read new space insets
7165 * factory.C: handle new space insets
7167 2003-05-22 André Pönitz <poenitz@gmx.net>
7170 * BufferView_pimpl.C:
7173 * undo_funcs.C: return a ParIterator from getParFromID.
7175 * iterators.[Ch]: add two const's
7177 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7179 * toc.C (getTocList): adjust
7181 * iterators.[Ch]: rework for parlist
7183 * buffer.C (par_iterator_begin): adjust
7184 (par_iterator_end): adjust
7186 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7188 * BufferView.C (removeAutoInsets): adjust
7189 (ChangeInsets): adjust
7191 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7193 * text.C (top_y): fix bug 1110
7195 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7197 * errorlist.[Ch]: added
7200 * BufferView_pimpl.C:
7201 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7204 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7206 * Makefile.am: ensure that lyx is relinked upon changes to the
7207 various "convenience" libs.
7209 2003-05-20 Angus Leeming <leeming@lyx.org>
7211 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7212 files are compiled in alphabetical order again.
7214 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7216 2003-05-19 Angus Leeming <leeming@lyx.org>
7218 * gettext.[Ch]: remove "char const * _(char const *)".
7220 2003-05-19 André Pönitz <poenitz@gmx.net>
7222 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7231 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7233 2003-05-19 André Pönitz <poenitz@gmx.net>
7237 * lyxtextclass.[Ch]:
7239 * paragraph_funcs.[Ch]:
7241 * text3.C: more insetenv work
7243 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7245 * ParagraphParameters.C (params2string): small bug fixed
7247 2003-05-16 André Pönitz <poenitz@gmx.net>
7250 * bufferview_funcs.C: patch from Kornel Benko to prevent
7251 crash when _(...) is called twice in a statement
7253 2003-05-16 André Pönitz <poenitz@gmx.net>
7260 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7262 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7264 * lyx_main.C (init): remove spurious static_cast
7266 2003-05-14 André Pönitz <poenitz@gmx.net>
7268 * BufferView.C: fix format string
7270 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7272 * BufferView.[Ch] (insertErrors): removed
7273 * BufferView.[Ch] (showErrorList): added
7274 * buffer.C (runChkTeX):
7275 * converter.C (scanLog): call showErrorList instead of inserterrors
7277 2003-05-13 André Pönitz <poenitz@gmx.net>
7279 * BufferView_pimpl.C:
7281 * bufferview_func.C:
7288 * tabular_funcs.h: tostr() from its own header
7290 * ParagraphParameters.C:
7295 * text3.C: STRCONV()
7297 2003-05-12 André Pönitz <poenitz@gmx.net>
7300 * BufferView_pimpl.C:
7304 * ParagraphParameters.C:
7308 * bufferview_funcs.C:
7321 * paragraph_funcs.C:
7325 * text3.C: boost::format -> bformat all over the place
7328 2003-05-09 André Pönitz <poenitz@gmx.net>
7330 * LColor.[Ch]: Pimpl the #include <map> away
7332 2003-05-09 John Levon <levon@movementarian.org>
7334 * bufferlist.C: never remove emergency saves
7336 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7338 * Makefile.am: better lib building
7340 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7342 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7344 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7345 (simpleTeXSpecialChars): adjust
7346 (simpleTeXSpecialChars): adjust
7347 * paragraph.C (simpleTeXOnePar): adjust
7348 * buffer.C (makeLaTeXFile): adjust
7350 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7352 * text2.C (changeDepth): parlist cleanup
7353 (getColumnNearX): ditto
7355 * rowpainter.C (getLabelFont): parlist cleanup
7357 * bufferlist.C (newFile): parlist cleanup
7359 * CutAndPaste.C (eraseSelection): parlist cleanup
7361 * BufferView_pimpl.C (trackChanges): parlist cleanup
7364 * BufferView.C (lockInset): parlist cleanup.
7365 (ChangeInsets): ditto
7367 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7369 * CutAndPaste.h: Update file header.
7371 * CutAndPaste.C: Update file header.
7372 Store the parts cut out of the Document in a limited_stack.
7373 (copySelection): adjust
7374 (pasteSelection): new function, takes the index in the limited stack.
7375 (nrOfParagraphs): adjust
7376 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7377 simplify error inset insertion.
7378 (checkPastePossible): adjust
7380 2003-05-06 John Levon <levon@movementarian.org>
7382 * text2.C: don't cast wrap inset to float
7384 2003-05-05 André Pönitz <poenitz@gmx.net>
7387 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7389 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7390 few naked Paragraph *.
7392 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7394 * bufferparams.C: Output warning if a document with missing
7395 TeX document class is loaded
7396 * exporter.C: Disable TeX exports if the document class is missing
7399 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7400 isTeXClassAvailable()
7402 2003-05-03 John Levon <levon@movementarian.org>
7405 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7406 explicit cursor show/hide
7408 * BufferView_pimpl.h:
7409 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7410 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7412 * lyxfunc.C: hide cursor before dispatching.
7417 * text3.C: remove explicit cursor hides
7419 2003-05-02 André Pönitz <poenitz@gmx.net>
7421 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7424 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7427 * text2.C: tiny whitespace
7429 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7431 * undo_funcs.C: almost only ws changes.
7433 * ParagraphList.C (splice): just return if pl is empty.
7435 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7437 * ParagraphList.C (splice): new function.
7439 * CutAndPaste.C (pasteSelection): use it
7441 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7443 * CutAndPaste.C (pasteSelection): remove the last next and
7444 previous from this file.
7446 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7448 * CutAndPaste.C (pasteSelection): more clean up, user proper
7449 ParagraphList functions for pasteing.
7451 * ParagraphList.C (insert): new function, three arg insert
7453 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7455 * ParagraphList.C (insert): new function, three arg insert
7457 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7460 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7462 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7464 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7466 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7468 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7470 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7471 (copySelection): clean up a bit.
7472 (pasteSelection): use make_pair
7474 * ParagraphList.C (ParagraphList): implement copy constructor
7475 (operator=): implement, base on copy constructor.
7478 * paragraph.C (erase): return a bool
7480 * paragraph_pimpl.C (erasePos): remove function, move contents...
7481 (erase): ... here. Return a bool.
7482 (erase): call erase instead of erasePos.
7484 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7486 * ParagraphList.h: define PitPosPair
7487 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7488 ParagraphList, fix a bug on pasting multiple pars
7489 * text2.C: change interface to C&P
7491 2003-04-30 André Pönitz <poenitz@gmx.net>
7493 * undo_func.C: revert part of yesterday's patch 2
7495 2003-04-30 John Levon <levon@movementarian.org>
7497 * LColor.C: s/tabular/table/
7499 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7501 * text3.C (dispatch): do not convert iterator -> pointer
7502 * undo_funcs.C (setCursorParUndo): ditto
7503 * text_funcs.C (transposeChars): ditto
7505 * text2.C (setLayout): ws changes only
7507 * text.C (breakParagraph): do not convert iterator -> pointer
7509 (acceptChange): ditto
7510 (rejectChange): ditto
7515 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7518 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7520 * text3.C (gotoInset): YABG (yet another bad getChar)
7522 2003-04-29 André Pönitz <poenitz@gmx.net>
7524 * paragraph.h: make operator= private unimplemented as long as
7527 * ParagraphList.C: whitespace
7530 * paragraph_pimpl.[Ch]:
7531 * paragraph_funcs.C:
7533 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7536 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7538 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7540 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7541 * paragraph.[Ch] (erase):
7542 * paragraph_pimpl.[Ch] (erase): change return type and value
7543 * text2.C (cutSelection): some rework
7545 2003-04-28 John Levon <levon@movementarian.org>
7547 * bufferlist.C: changes for unsaved changes dialog
7549 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7551 * bufferlist.C (newFile): set language (messages_) for new
7554 * buffer.C (readFile): ws changes only.
7556 2003-04-28 André Pönitz <poenitz@gmx.net>
7561 * BufferView_pimpl.C:
7562 * BufferView.C: getParFromID related ParagraphList::iterator changes
7564 2003-04-28 André Pönitz <poenitz@gmx.net>
7566 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7569 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7571 * messages.C: remove one more localedir class variable.
7573 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7575 * messages.C (getLocaleDir): singleton generation function
7577 (Messages): add a default constructor.
7579 * main.C (main): do not setup localedir here, do not call
7582 * gettext.C (_): use it.
7583 (gettext_init): delete funciton
7585 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7587 * gettext.C (getLyXMessages): new singleton generating function.
7589 * buffer.C (updateDocLang): adjust
7591 * Makefile.am (messages.o): add target
7592 (main.o): remove target
7594 2003-04-27 John Levon <levon@movementarian.org>
7599 * lyxvc.C: specify cancel button in Alert::prompt
7601 2003-04-26 John Levon <levon@movementarian.org>
7606 * LyXAction.C: add LFUN_INSET_SETTINGS
7608 * lyxfunc.C: don't enable tabular-feature when there's
7609 just any locking inset
7611 2003-04-26 John Levon <levon@movementarian.org>
7613 * bufferlist.C: re-add Cancel to buffer close question
7615 * lyxfunc.C: fix import UI a bit
7617 2003-04-25 John Levon <levon@movementarian.org>
7619 * gettext.C: remove the broken asserts for now
7621 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7623 * messages.C: make case where setlocale cannot comply work better.
7625 * buffer.C (updateDocLang): new function
7626 (changeLanguage): use it
7629 * text2.C (setCounter): use B_ a bit.
7631 * lyxlayout.C (Read): be sure to trim the label strings.
7633 * messages.C (Messages): fix typo in comment
7635 * buffer.C (readFile): set message_ after file is loaded.
7636 (makeDocBookFile): remove double return
7637 (changeLanguage): reset message_ upon language change.
7638 (B_): new func, use this to get translated buffer strings.
7640 * main.C: add myself and Jean Marc as authors.
7642 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7644 * messages.[hC]: pimplify Messages, and three different pimpls to be
7645 used in different circumstances.
7647 * gettext.[Ch]: change for use with new message code.
7649 2003-04-24 André Pönitz <poenitz@gmx.net>
7651 * factory.C: support for eqref
7653 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7655 * messages.[Ch]: add missing char
7657 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7659 * messages.[Ch]: New files
7661 2003-04-18 John Levon <levon@movementarian.org>
7665 * BufferView_pimpl.C:
7669 * text2.C: remove layout-copy/paste (bug 778)
7671 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7673 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7675 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7677 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7678 if they succeed. Act accordingly.
7680 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * text2.C (setCharFont): adjust
7683 (setCounter): adjust
7684 (insertStringAsLines): adjust
7686 * text.C (leftMargin): adjust
7687 (setHeightOfRow): adjust
7689 * rowpainter.C (paintFirst): adjust
7692 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7694 (isFirstInSequence): ditto
7695 (getEndLabel): ditto
7698 * paragraph.C (getParLanguage): comment out some hard stuff.
7700 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7702 (simpleDocBookOnePar): ditto
7703 (makeDocBookFile): use ParagraphList::iterator
7705 * CutAndPaste.C (pasteSelection): adjust
7707 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7709 * text2.C (getFont): adjust
7710 (getLayoutFont): adjust
7711 (getLabelFont): adjust
7713 * paragraph_funcs.C (TeXOnePar): adjust
7715 * buffer.C (simpleLinuxDocOnePar): adjust
7716 (simpleDocBookOnePar): adjust
7718 * CutAndPaste.C (pasteSelection): adjust
7720 * BufferView.C (getEncoding): adjust
7722 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7724 2003-04-16 John Levon <levon@movementarian.org>
7726 * lyxfind.C: use parlist stuff for search/changes
7728 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7730 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7732 * text2.C (deleteEmptyParagraphMechanism): adjust
7734 * text2.[Ch] (ownerParagraph): delete func (both of them
7736 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7738 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7740 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7742 * ParagraphList.C: prepare for NO_NEXT
7744 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7746 * text2.C (getFont): adjust
7747 (getLayoutFont): adjust
7748 (getLabelFont): adjust
7750 * paragraph.C (getFont): adjust
7751 (getLabelFont): adjust
7752 (getLayoutFont): adjust
7754 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7756 2003-04-15 John Levon <levon@movementarian.org>
7760 * lyx_main.C: handle Include in .ui files
7762 2003-04-15 John Levon <levon@movementarian.org>
7764 * MenuBackend.C: make the doc files length shorter
7767 * ToolbarBackend.C: handle toolbar placement flags,
7770 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7772 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7775 * paragraph_funcs.C (TeXOnePar): adjust
7777 * paragraph.C (getLabelFont): add outerfont arg, adjust
7778 (getLayoutFont): ditto
7779 (simpleTeXOnePar): adjust
7781 * paragraph_pimpl.C (realizeFont): delete func
7783 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7785 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7786 row argument, constify cur argument.
7788 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7790 * text2.C (getFont): adjust
7791 (getLayoutFont): adjust
7792 (getLabelFont): adjust
7794 * paragraph_funcs.C (TeXOnePar): adjust
7795 (outerFont): new func...
7796 (realizeFont): ...moved out from here, changed this to facilitate
7799 * paragraph.C (getFont): take outerfont as arg, adjust
7800 (simpleTeXOnePar): add outerfont arg, adjust
7802 * buffer.C (simpleLinuxDocOnePar): adjust
7803 (simpleDocBookOnePar): adjust
7805 * CutAndPaste.C (pasteSelection): adjust
7807 * BufferView.C (getEncoding): adjust
7809 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7811 * text2.C (setCharFont): adjust
7812 (setCounter): adjust
7814 * text.C (leftMargin): adjust
7815 (setHeightOfRow): adjust
7817 * rowpainter.C (paintFirst): adjust
7820 * paragraph_pimpl.C (realizeFont): adjust
7822 * paragraph.C (isFirstInSequence): move from here...
7823 * paragraph_funcs.C (isFirstInSequence): ...to here
7825 * paragraph.C (outerHook): move from here...
7826 * paragraph_funcs.C (outerHook): ...to here
7828 * paragraph.C (depthHook): move from here...
7829 * paragraph_funcs.C (depthHook): ...to here
7831 * paragraph.C (getEndLabel): move from here...
7832 * paragraph_funcs.C (getEndLabel): ...to here
7834 * text2.C (realizeFont): move from here...
7835 * paragraph_funcs.C (realizeFont): ...to here
7837 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7839 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7841 2003-04-14 Angus Leeming <leeming@lyx.org>
7843 * LColor.[Ch]: scrap LColor mathcursor.
7845 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7847 * lyxlex.[Ch] (text): delete function
7848 * trans.C (Load): adjust
7849 * paragraph_funcs.C (readParToken): adjust
7851 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7853 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7854 vector<char> instead of a char[].
7856 * lyxlex_pimpl.C (getString): adjust
7858 (lex): use getString
7862 * lyxlex.C (text): use pimpl_->getString()
7866 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7868 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7869 (makeFontEntriesLayoutSpecific): temp var for par.size()
7870 (setLayout): temp var for ownerParagraphs().end()
7871 (fullRebreak): temp var for rows().end()
7872 (selectionAsString): temp var for boost::next(startpit), realize
7873 that the while really is a regular for loop.
7874 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7875 setCursor in one place.
7876 (setParagraph): temp vr for ownerParagraphs().end()
7877 (updateCounters): make the while loop a for loop
7878 (cutSelection): temp var for ownerParagraphs().end()
7879 (updateInset): make the do {} while() a regular for loop
7880 (getCursorX): use temp vars
7881 (setCurrentFont): use temp vars
7882 (getColumnNearX): use temp vars
7884 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7886 * text.C (transformChar): use temp var for getChar
7887 (computeBidiTables): use temp var for row->par()
7888 (fill): move temp vars for row->par() and pit->layout() earlier in
7890 (labelFill): use temp var for row->par()
7891 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7892 asc and desc, realize that pit never changes and that firstpit is
7893 just a duplicate and not needed. Exchange rit->par() with pit in a
7895 (breakAgain): use a temp var for boost::next(rit)
7896 (breakAgainOneRow): ditto
7897 (breakParagraph): use a temp var for rows().begin()
7898 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7899 (cursorRightOneWord): use temp var for cursor.par() and
7900 cursor.pos(), remove usage of tmpcursor.
7901 (cursorLeftOneWord): use temp var for cursor.par() and
7902 cursor.pos() only set cur at end of function.
7904 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7906 * text.C, text2.C: exchange all usage of Paragraph::next with
7907 boost::next(ParagraphList::iterator)
7909 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7911 * text2.C (cursorTop): simplify implementation
7912 (cursorBottom): ditto
7913 (setParagraph): use ParagraphList::iterator
7914 (setCurrentFont): adjust
7915 (getColumnNearX): adjust
7916 (cursorRight): adjust
7917 (cursorLeft): remove usage of Paragraph::previous
7918 (cursorUpParagraph): ditto
7919 (deleteEmptyParagraphMechanism): slight cleanup
7921 * text.C (isBoundary): take a Paragraph const & instead of a
7923 (addressBreakPoint): ditto
7924 (leftMargin): remove usage of Paragraph::previous.
7925 (setHeightOfRow): ditto
7926 (cursorLeftOneWord): ditto
7927 (selectNextWordToSpellcheck): ditto
7930 (breakParagraph): remove one usage of Paragraph::next
7931 (redoParagraph): ditto
7932 (acceptChange): ditto
7933 (insertChar): adjust
7934 (rowBreakPoint): adjust
7936 * bufferview_funcs.C (toggleAndShow): adjust
7938 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7940 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7941 methods to access it.
7943 * text.C: Added updateRowPositions to compute all row positions.
7944 Make top_y and getRowNearY() to use the cached y position
7946 2003-04-11 John Levon <levon@movementarian.org>
7948 * text.C (rowBreakPoint): reintroduce the labelEnd
7949 checks, code copied from the row fill stuff. Deep voodoo.
7951 * text.C (fill): add a comment and debugging for the
7954 2003-04-11 John Levon <levon@movementarian.org>
7956 * text.C: make sure fullrow insets get wrapped to the next line,
7957 even when they're in a manual label
7959 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7961 * text2.C (insertParagraph): make it take ParagraphList::iterator
7963 (setLayout): make it return ParagraphList::iterator
7964 (redoParagraphs): ditto
7966 (checkParagraph): ditto
7968 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7970 * text2.C: adjust several funcs.
7971 (realizeFont): take a ParagraphList::iterator as arg.
7972 (getLayoutFont): ditto
7973 (getLabelFont): ditto
7974 (setCharFont): ditto
7976 * text.C: adjust several funcs.
7978 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7980 * text.C (selectNextWordToSpellcheck): don't accidentally
7983 2003-04-10 John Levon <levon@movementarian.org>
7985 * ToolbarBackend.C (getIcon): special handling for
7988 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7990 * text2.C (cursorRight): a getChar assert fixed
7992 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7994 * text2.C (getFont): change to take a ParagraphList::iterator
7995 instead of Paragraph*
7996 Adjust several functions.
7998 * text.C (transformChar): change to take a ParagraphList::iterator
7999 instead of Paragraph*
8000 (singleWidth): ditto
8001 Adjust several functions.
8003 * rowpainter.C: adjust several functions
8004 * rowpainter.h:store a ParagraphList::iterator and not a
8008 2003-04-09 John Levon <levon@movementarian.org>
8013 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8014 and the "help" bits as well
8016 2003-04-09 John Levon <levon@movementarian.org>
8019 * ToolbarBackend.C: allow multiple toolbars
8021 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8023 * undo_funcs.C (setCursorParUndo): adjust
8025 * text_funcs.C (transposeChars): adjust
8027 * text3.C (gotoNextInset): adjust
8030 * text2.C (setLayout): adjust
8031 (changeDepth): adjust
8033 (redoParagraphs): adjust
8034 (selectionAsString): adjust
8035 (setParagraph): adjust
8036 (insertInset): adjust
8037 (cutSelection): adjust
8038 (copySelection): adjust
8039 (pasteSelection): adjust
8040 (insertStringAsLines): adjust
8041 (updateInset): adjust
8042 (setCursor): change to take a ParagraphList::iterator parameter
8043 (setCursorIntern): change to take a ParagraphList::iterator parameter
8044 (setCurrentFont): adjust
8045 (cursorLeft): adjust
8046 (cursorRight): adjust
8047 (deleteEmptyParagraphMechanism): adjust
8049 * text.C (breakParagraph): adjust
8050 (insertChar): adjust
8051 (acceptChange): adjust
8052 (rejectChange): adjust
8053 (selectNextWordToSpellcheck): adjust
8054 (changeCase): adjust
8058 * lyxfind.C (SearchForward): adjust
8059 (SearchBackward): adjust
8060 (nextChange): adjust
8062 * lyxcursor.C (par): adjust
8064 * lyxcursor.h: store a ParagraphList::iterator instead of a
8067 * lyx_cb.C (getPossibleLabel): adjust
8069 * bufferview_funcs.C (toggleAndShow): adjust
8071 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8074 * BufferView.C (removeAutoInsets): adjust
8075 (lockedInsetStoreUndo): adjust
8077 2003-04-09 John Levon <levon@movementarian.org>
8079 * ToolbarBackend.C: try icon without argument
8080 if with argument fails
8082 2003-04-08 John Levon <levon@movementarian.org>
8085 * ToolbarBackend.C: add getIcon(), handle tooltip,
8086 and change from "Icon" to "Item".
8088 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8090 * BufferView.C (lockInset): another bad getchar crunched
8092 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8094 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8097 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8099 * lyxfind.C (searchForward, searchBackwards): bug 782
8101 2003-04-07 John Levon <levon@movementarian.org>
8103 * paragraph.C: remove dead comment
8105 * text.C: remove troublesome depth-fiddling code
8106 in leftMargin() and rightMargin() (bug 1017)
8108 * text.C: fix breaking of rows in nested lists
8111 * text2.C (updateCounters): fix up depth values
8114 2003-04-07 John Levon <levon@movementarian.org>
8116 * BufferView_pimpl.C: clear message when doc finishes resizing,
8117 and after a mouse event
8119 * lyxfunc.C: clear message after exiting inset
8121 2003-04-07 John Levon <levon@movementarian.org>
8123 * bufferview_funcs.C: show math status not outside
8124 status in the statusbar
8126 2003-04-07 John Levon <levon@movementarian.org>
8128 * lyxfunc.C: note status changed after a depth change
8130 2003-04-04 Angus Leeming <leeming@lyx.org>
8132 * LaTeX.h: move AuxInfo operator==, != out of line.
8133 Remove LaTeX virtual destructor; nothing derives from it.
8134 Move operator()() out of public area and rename it startscript().
8135 Change protected for private.
8137 2003-04-04 Angus Leeming <leeming@lyx.org>
8140 * text2.C: remove unneeded #includes.
8142 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8144 * text2.C (dEPM): fix the heigth of the next row
8146 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8148 * text.C: squashed an invalid getChar requester + some ws changes
8150 2003-04-03 John Levon <levon@movementarian.org>
8152 * bufferview_funcs.h:
8153 * bufferview_funcs.C:
8156 * text2.C: make getStatus work for the env depth lfuns
8158 2003-04-03 John Levon <levon@movementarian.org>
8160 * bufferview_funcs.h:
8161 * bufferview_funcs.C:
8164 * text2.C: parlistize decDepth(), by merging it with incDepth()
8166 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8168 * lyxrow.h: store a ParagraphList::iterator instead of a
8169 Paragraph* and adjust other class functions to suit.
8171 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8174 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8176 * text2.C (setCursor): do not anchor to cursor row for the time being
8178 2003-04-02 John Levon <levon@movementarian.org>
8185 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8187 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8189 * paragraph.h: make ParagraphList and ParagraphList::iterator
8190 friends of Paragraph.
8192 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8194 * ParagraphList.C: Use the private next_ and previous_ from
8197 2003-04-01 John Levon <levon@movementarian.org>
8201 * Makefile.am: rename, remove defaults gunk
8204 * MenuBackend.C: remove defaults gunk
8207 * Languages.C: remove defaults gunk
8210 * lyx_main.C: error out if files couldn't be found.
8212 2003-04-02 John Levon <levon@movementarian.org>
8214 * text2.C: make incDepth() use parlist
8216 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8218 * undo_funcs.C (firstUndoParagraph): adjust
8220 * text3.C (gotoInset): adjust
8221 (dispatch): adjust, and rewrite loop.
8223 * text2.C (init): adjust, and rewrite loop.
8224 (redoParagraphs): adjust
8225 (updateInset): adjust, and rewrite loop.
8226 (deleteEmptyParagraphMechanism): adjust
8228 * tabular.C (LyXTabular): adjust
8229 (SetMultiColumn): adjust
8232 * lyxtext.[Ch] (ownerParagraph): delete function
8233 (ownerParagraphs): new function returns a ParagraphList.
8235 * BufferView.C (removeAutoInsets): adjust
8236 (insertErrors): adjust
8237 (setCursorFromRow): adjust
8239 2003-04-01 Angus Leeming <leeming@lyx.org>
8241 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8244 2003-04-02 John Levon <levon@movementarian.org>
8250 * text_funcs.C: make transposeChars a free function
8252 * lyxrow_funcs.C: remove wrong comment
8254 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8257 * rowpainter.C: adjust
8262 * lyxrow_funcs. [Ch]: new files
8264 * lyxrow.[Ch]: remove next and previous pointers
8265 (next,previous): remove accessor functions
8266 (isParEnd): move to lyxrow_funcs
8267 (lastPos): move to lyxrow_funcs
8268 (nextRowIsAllInset): move to lyxrow_funcs
8269 (lastPrintablePos): move to lyxrow_funcs
8270 (numberOfSeparators): move to lyxrow_funcs
8271 (numberOfHfills): move to lyxrow_funcs
8272 (numberOfLabelHfills): move to lyxrow_funcs
8273 (hfillExpansion): move to lyxrow_funcs
8277 * bufferview_funcs.C (toggleAndShow): adjust
8279 * RowList.h: Remove class RowList from file leave just a
8282 * RowList.C: delete file
8284 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8287 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8289 * text3.C (cursorPrevious): adjust
8290 (cursorNext): adjust
8293 * text2.C (redoHeightOfParagraph): adjust
8294 (redoDrawingOfParagraph): adjust
8297 * text.C (breakParagraph): adjust
8298 (insertChar): adjust
8301 * rowpainter.C (RowPainter): adjust
8302 (leftMargin): simplify and adjust
8303 (most rowpainter functions): adjust.
8305 * rowpainter.h: store the row as RowList::iterator not as Row*
8307 * lyxcursor.C (row): taka RowList::iterator as arg
8310 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8313 2003-04-01 Angus Leeming <leeming@lyx.org>
8315 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8316 stuff like bool Bool.
8318 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8320 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8323 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8325 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8328 * lyxtext.h (rows): drop one version and leve a const variant that
8329 returns a RowList::iterator.
8331 2003-03-31 Angus Leeming <leeming@lyx.org>
8333 * text.C (fill): ensure that the signature is the same as that in the
8336 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8338 * text2.C (redoParagraphs): adjust
8339 (updateCounters): adjust
8340 (checkParagraph): adjust
8341 (getColumnNearX): adjust and reformat a bit.
8343 * text.C (top_y): adjust
8345 (leftMargin): adjust
8346 (prepareToPrint): adjust
8348 (getRowNearY): adjust
8350 * lyxtext.h: make rowlist_ mutable.
8352 * RowList.h: add const_iterator
8353 * RowList.C: adjust for RowList::const_iterator.
8355 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8358 2003-03-31 John Levon <levon@movementarian.org>
8361 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8363 * lyx_main.C: set default fonts from using lyx_gui funcs
8365 * exporter.C: pdf_mode moved from lyxrc
8368 * lyxfunc.C: changes from above
8370 2003-03-31 John Levon <levon@movementarian.org>
8372 * lyx_main.C: fix to the last fix
8374 2003-03-31 John Levon <levon@movementarian.org>
8376 * bufferlist.C: "Load original" -> "Load Original"
8382 * format.C: more Alert cleanups
8384 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8386 * text2.C (removeParagraph): make it take a RowList::iterator as
8388 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8389 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8391 * text.C (anchor_row): make it take a RowList::iterator as arg,
8393 (computeBidiTables): make it take a const reference to Row instead
8394 of Row pointer, adjust.
8395 (leftMargin): make it take a RowList::iterator as arg, adjust.
8396 (rowBreakPoint): adjust
8397 (breakAgainOneRow): make it take a RowList::iterator as arg,
8399 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8401 * bufferview_funcs.C (toggleAndShow): adjust
8403 2003-03-30 John Levon <levon@movementarian.org>
8407 * boost-inst.C: moved to support
8409 * several files: changes as a result
8411 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8413 * text2.C (LyXText): adjust.
8415 (removeRow): make it take a RowList::iterator as arg, adjust.
8416 (fullRebreak): adjust
8417 (deleteEmptyParagraphMechanism): adjust
8418 (clearPaint): adjust
8421 * text.C (top_y): adjust
8422 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8423 (breakAgain): make it take a RowList::iterator as arg, adjust.
8424 (breakParagraph): adjust
8425 (insertChar): adjust
8428 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8429 need_break_row, and refresh_row.
8431 * text3.C (dispatch): adjust
8433 * text2.C (checkParagraph): adjust
8435 (setCursorFromCoordinates): adjust
8437 * text.C (top_y): adjust
8439 (getRow): make it return a RowList::iterator, adjust
8440 (getRowNearY): make it return a RowList::iterator, adjust
8442 * text2.C (init): adjust
8443 (insertRow): remove function
8444 (insertParagraph): adjust
8445 (redoParagraphs): adjust
8446 (fullRebreak): adjust
8447 (updateCounters): adjust
8449 * text.C (top_y): rewrite to use RowList iterators.
8451 (setHeightOfRow): rewrite to sue RowList iterators.
8452 (appendParagraph): adjust
8453 (breakAgain): adjust
8454 (breakAgainOneRow): adjust
8455 (breakParagraph): adjust
8457 (getRowNearY): adjust, and remove commented code.
8459 * lyxtext.h (firstRow): delete function
8460 (lastRow): delete function
8461 (rows): new function (const and non-const versions.)
8462 (insertRow): delete function
8464 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8466 2003-03-29 John Levon <levon@movementarian.org>
8468 * BufferView_pimpl.C: always update scrollbar top
8469 because pasting text when we're anchored could mean we
8470 miss an update altogether
8472 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8474 * text2.C (init): use rowlist_.end() and not 0.
8475 (insertRow): change to take a RowList::iterator as arg, adjust
8477 (insertParagraph): change to take a RowList::iterator as arg,
8479 (redoParagraphs): remove some debug msgs.
8481 * text.C (appendParagraph): change to take a RowList::iterator
8482 arg, adjust for this.
8483 (breakAgain): add an assert
8484 (breakAgainOneRow): ditto
8486 2003-03-29 John Levon <levon@movementarian.org>
8488 * text2.C: do not clear selection after inc/decDepth
8491 2003-03-29 John Levon <levon@movementarian.org>
8494 * buffer.C: fix broken strerrors according to Lars
8496 2003-03-29 John Levon <levon@movementarian.org>
8498 * converters.C: more Alert cleanups
8500 2003-03-29 John Levon <levon@movementarian.org>
8502 * bufferview_funcs.C: remove pointless Alert
8504 * buffer.C: fix confusing error message when
8505 a template is chmoded 000
8507 2003-03-29 John Levon <levon@movementarian.org>
8511 * BufferView_pimpl.C: Alert fixes
8515 * tabular-old.C: remove unused table compat reading
8517 2003-03-29 John Levon <levon@movementarian.org>
8522 * lyx_cb.C: more Alert cleanups
8524 * lyxfunc.C: don't allow chktex if not latex document
8526 2003-03-29 John Levon <levon@movementarian.org>
8530 * buffer.C: warnings pushed down from support/,
8533 2003-03-29 John Levon <levon@movementarian.org>
8535 * lyxfunc.C: safety check for C-r (revert)
8537 2003-03-29 John Levon <levon@movementarian.org>
8540 * bufferlist.C: several UI fixes using Alert::prompt.
8541 Fix the pointless looping quit code. Fix stupid revert
8546 * lyx_cb.C: use Alert::prompt
8548 * lyx_main.C: remove a silly question
8550 * lyxfunc.C: remove a couple of silly questions,
8553 2003-03-28 John Levon <levon@movementarian.org>
8555 * text2.C: fix bug 974 (End on empty par)
8557 2003-03-28 John Levon <levon@movementarian.org>
8559 * BufferView_pimpl.C:
8561 * lfuns.h: remove do-nothing math greek lfuns
8563 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8565 * lyxgluelength.h (isValidGlueLength): add default arg on
8566 parameter 2. Remove default arg from friend in class.
8568 * lyxlength.h (isValidLength): add default arg on parameter 2.
8569 Remove default arg from friend in class.
8571 * text2.C (LyXText): adjust, initialize refresh_row.
8575 (insertParagraph): adjst
8576 (redoParagraphs): adjust
8577 (fullRebreak): adjust
8578 (updateCounters): adjust
8579 (deleteEmptyParagraphMechanism): first attempt at fixing a
8582 * text.C (top_y): adjust
8583 (setHeightOfRow): adjust
8585 (getRowNearY): adjust
8587 * lyxtext.h: include RowList.h
8588 (~LyXText): not needed anymore, deleted.
8589 (firstRow): modify for RowList
8590 (lastRow): new function
8591 Delete firstrow and lastrow class variables, add a Rowlist
8592 rowlist_ class variable.
8594 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8597 * RowList.C (insert): fix case where it == begin().
8599 2003-03-26 Angus Leeming <leeming@lyx.org>
8601 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8602 the thesaurus dialog.
8604 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8606 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8608 * RowList.[Ch]: new files
8610 * ParagraphList.C (erase): handle the case where it == begin
8613 2003-03-25 John Levon <levon@movementarian.org>
8617 * aspell.C: add new aspell support
8620 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8623 2003-03-25 Angus Leeming <leeming@lyx.org>
8626 * LyXAction.C (init): new LFUN_INSET_INSERT.
8628 * BufferView_pimpl.C (dispatch): split out part of the
8629 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8631 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8634 2003-03-25 Angus Leeming <leeming@lyx.org>
8636 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8638 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8641 * text3.C: remove useless row->height(0)
8643 2003-03-25 John Levon <levon@movementarian.org>
8647 * text3.C: rename the refreshing stuff to better names
8649 2003-03-24 John Levon <levon@movementarian.org>
8651 * BufferView_pimpl.h:
8652 * BufferView_pimpl.C: update layout choice on a mouse
8655 2003-03-23 John Levon <levon@movementarian.org>
8657 * Makefile.am: fix commandtags.h reference
8659 2003-03-22 John Levon <levon@movementarian.org>
8661 * BufferView_pimpl.C:
8666 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8668 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8671 * text.C: take the rtl methods out of line
8673 2003-03-21 André Pönitz <poenitz@gmx.net>
8675 * metricsinfo.[Ch]: new files containing structures to be passed around
8676 during the two-phase-drawing...
8678 2003-03-21 André Pönitz <poenitz@gmx.net>
8680 * lyxtextclass.C: read 'environment' tag.
8682 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8684 * text2.C (removeRow): fix bug 964
8686 2003-03-20 John Levon <levon@movementarian.org>
8690 * text2.C: paint cleanups. Inset::update() dropped font
8693 2003-03-19 John Levon <levon@movementarian.org>
8695 * lyxfunc.C: only fitcursor/markDirty if available()
8697 2003-03-19 John Levon <levon@movementarian.org>
8699 * commandtags.h: rename to ...
8701 * lfuns.h: ... this, and renumber / cleanup
8703 2003-03-19 John Levon <levon@movementarian.org>
8705 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8706 fit the cursor after an lfun
8710 * BufferView_pimpl.h:
8711 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8713 * LyXAction.C: layout-character should have ReadOnly
8715 * ParagraphParameters.C:
8717 * bufferview_funcs.C:
8724 * undo_funcs.C: changes from above
8726 2003-03-18 John Levon <levon@movementarian.org>
8728 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8729 remove it from update()
8731 * lyxfunc.C: update layout choice after an lfun
8733 * text3.C: remove extra updateLayoutChoice()s
8735 2003-03-18 John Levon <levon@movementarian.org>
8737 * text.C: top_y change means full repaint, fix
8738 a drawing bug with cursor movement
8740 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8744 * text2.C: anchor row on setCursor
8746 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8748 * lyxtext.h: remove almost all mutable keywords
8751 * text3.C: remove const keywords accordingly
8753 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8755 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8757 (TeXEnvironment): ditto
8760 2003-03-17 John Levon <levon@movementarian.org>
8762 * text.C (rowBreakPoint): remove attempt to fix displayed
8763 math insets inside a manual label
8765 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8767 * lyxtext.h: remove BufferView* as first arg from almost all class
8769 * other files: adjust.
8771 2003-03-17 John Levon <levon@movementarian.org>
8775 * text2.C: more paint cleanups
8777 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8780 * rowpainter.C: remove "smart" background painting code
8782 2003-03-16 John Levon <levon@movementarian.org>
8787 * text3.C: add helper functions for setting refresh_row/y
8789 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8791 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8792 newline inset which *can* get inserted in the pass_thru layouts.
8793 This is primarily for literate documents.
8795 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8797 * buffer.C: increment LYX_FORMAT to 223
8799 2003-03-14 André Pönitz <poenitz@gmx.net>
8801 * textclass.h: prepare for environment handling, ws changes
8802 * lyxlayout.C: read latexheader and latexfooter tags
8804 2003-03-14 John Levon <levon@movementarian.org>
8806 * text2.C: rewrite ::status() a bit
8808 2003-03-13 John Levon <levon@movementarian.org>
8810 * lyxtext.h: add some docs
8812 2003-03-13 John Levon <levon@movementarian.org>
8817 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8819 2003-03-13 John Levon <levon@movementarian.org>
8821 * text3.C: fix appendix redrawing
8823 2003-03-13 John Levon <levon@movementarian.org>
8825 * text.C (setHeightOfRow):
8827 * rowpainter.C: make appendix mark have the text
8828 "Appendix" so the user knows what it is
8831 * LColor.C: s/appendixline/appendix/ from above
8833 2003-03-13 John Levon <levon@movementarian.org>
8835 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8837 * text.C: fix a getChar(pos) bug properly
8839 2003-03-13 Angus Leeming <leeming@lyx.org>
8842 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8843 Probably only temporary. Let's see how things pan out.
8845 * BufferView.C (unlockInset):
8846 * BufferView_pimpl.C (fitCursor):
8847 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8849 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8850 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8852 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8853 new functions that convert ParagraphParameters to and from a string.
8855 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8856 BufferView::Pimpl's dispatch.
8857 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8859 2003-03-13 André Pönitz <poenitz@gmx.net>
8863 * factory.C: make it aware of InsetEnv
8865 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8867 * text2.C (setCursor): never ask for one past last
8868 (setCursor): add some debugging messages.
8870 * text.C (singleWidth): never ask for one past last
8871 (singleWidth): ditto
8873 (rightMargin): ditto
8874 (rowBreakPoint): ditto
8875 (setHeightOfRow): ditto
8876 (prepareToPrint): ditto
8878 * rowpainter.C (paintBackground): never ask for one past last
8879 (paintText): never ask for one past last
8881 * paragraph_pimpl.C (getChar): make the assert stricter, never
8882 allow the one past last pos to be taken
8884 * paragraph.C (getChar): ws changes only
8886 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8887 (numberOfSeparators): ditto
8888 (numberOfHfills): ditto
8890 2003-03-12 John Levon <levon@movementarian.org>
8896 * paragraph_funcs.C: fix per-buffer authorlists
8898 2003-03-12 John Levon <levon@movementarian.org>
8900 * text.C: fix newline in right address
8902 2003-03-12 Angus Leeming <leeming@lyx.org>
8904 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8905 duplicate those in LyXFunc::dispatch.
8909 * ToolbarDefaults.C:
8910 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8911 Add LFUN_FONTFREE_UPDATE.
8913 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8914 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8916 * bufferview_func.[Ch]: several new functions to facilliate
8917 transfer of data to and from the character dialog.
8919 2003-03-12 John Levon <levon@movementarian.org>
8924 * paragraph_funcs.C:
8925 * paragraph_pimpl.C:
8929 * text3.C: remove META_NEWLINE in favour of an inset
8932 * rowpainter.C: remove paintNewline (done by inset)
8934 2003-03-12 John Levon <levon@movementarian.org>
8936 * paragraph_pimpl.C: complain about bad getChar()s
8937 for a while at least
8939 2003-03-12 John Levon <levon@movementarian.org>
8942 * buffer.C: move paragraph read into a separate function,
8943 a little renaming to reflect that.
8946 * bufferparams.C: remove the author_ids map, not necessary now
8949 * factory.C: moved Buffer::readInset to here
8951 * paragraph_funcs.h:
8952 * paragraph_funcs.C: readParagraph free function moved from
8955 * tabular.C: name change
8957 2003-03-12 John Levon <levon@movementarian.org>
8960 * ParagraphParameters.C: move par params input to
8963 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8964 behave like a normal read from the stream wrt reading
8965 a line vs. a \\token
8967 2003-03-12 John Levon <levon@movementarian.org>
8970 * ParagraphParameters.h:
8971 * ParagraphParameters.C: move output code to a
8974 2003-03-12 John Levon <levon@movementarian.org>
8976 * BufferView.C (insertLyXFile):
8979 * tabular.C: use a parlist iterator for creating the
8982 2003-03-12 John Levon <levon@movementarian.org>
8984 * buffer.C: make current_change static local not
8987 2003-03-12 John Levon <levon@movementarian.org>
8989 * buffer.C: fix insertStringAsLines for change tracking
8991 2003-03-12 John Levon <levon@movementarian.org>
8998 * bufferparams.C: move author list into params. Rename some
8999 functions. Move the header reading into a separate token
9000 loop. Move the header token reading into BufferParams.
9002 2003-03-12 John Levon <levon@movementarian.org>
9004 * changes.C: put debug inside lyxerr.debugging() checks
9006 2003-03-11 André Pönitz <poenitz@gmx.net>
9008 * factory.C: make it aware of InsetHFill
9010 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9012 * buffer.C (latexParagraphs): move function from here...
9013 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9016 2003-03-10 Angus Leeming <leeming@lyx.org>
9018 * LyXAction.C (init): fix bug in poplating array with multiple entries
9019 with the same LFUN (spotted by JMarc).
9021 2003-03-10 John Levon <levon@movementarian.org>
9024 * text2.C: move getColumnNearX() near its
9027 2003-03-10 John Levon <levon@movementarian.org>
9029 * text.C: fix break before a minipage
9031 2003-03-10 John Levon <levon@movementarian.org>
9033 * text.C: fix the last commit
9035 2003-03-09 John Levon <levon@movementarian.org>
9039 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9040 bug 365 (don't break before insets unless needed). Don't
9041 return a value > last under any circumstances.
9043 2003-03-09 Angus Leeming <leeming@lyx.org>
9045 * BufferView_pimpl.C (trackChanges, dispatch): call
9046 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9048 2003-03-09 Angus Leeming <leeming@lyx.org>
9050 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9051 than Dialogs::showAboutlyx().
9053 2003-03-09 Angus Leeming <leeming@lyx.org>
9055 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9056 than Dialogs::showTabularCreate().
9058 2003-03-09 John Levon <levon@movementarian.org>
9062 * text2.C: 3rd arg to nextBreakPoint was always the same.
9065 2003-03-08 John Levon <levon@movementarian.org>
9072 * text2.C: Remove the "main" bit from the "main body"
9075 2003-03-08 John Levon <levon@movementarian.org>
9077 * text.C (leftMargin): The left margin of an empty
9078 manual label paragraph should not include the label width
9081 * text.C (prepareToPrint): don't attempt to measure hfills
9082 for empty manual label paragraphs - the answer should be 0
9084 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9086 * CutAndPaste.C: remove commented code and reindent.
9088 2003-03-08 John Levon <levon@movementarian.org>
9091 * lyxfunc.C: move reloadBuffer()
9094 * BufferView.C: to here
9096 * lyxvc.C: add comment
9099 * vc-backend.C: call bv->reload() to avoid
9100 getStatus() check on MENURELOAD
9102 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9104 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9105 to an old format .dep file.
9107 2003-03-07 Angus Leeming <leeming@lyx.org>
9109 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9110 when the LFUN_MOUSE_RELEASE should have been handled by
9111 inset->localDispatch.
9113 2003-03-07 Angus Leeming <leeming@lyx.org>
9115 * BufferView_pimpl.C (dispatch):
9116 * LyXAction.C (init):
9117 * ToolbarDefaults.C (init):
9119 * lyxfunc.C (getStatus):
9120 remove LFUN_INSET_GRAPHICS.
9122 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9124 2003-03-07 Angus Leeming <leeming@lyx.org>
9127 * LyXAction.C (init):
9128 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9130 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9133 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9135 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9136 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9138 2003-03-07 Angus Leeming <leeming@lyx.org>
9140 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9143 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9145 * ParagraphList.C (front): new function
9148 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9150 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9151 and top_row_offset_. removed var first_y.
9153 * text2.C (LyXText, removeRow):
9155 * BufferView_pimpl.C:
9156 use these methods instead of using first_y
9158 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9160 * text2.C (pasteSelection): adjust for checkPastePossible
9162 * CutAndPaste.C: remove Paragraph * buf and replace with
9163 ParagraphList paragraphs.
9164 (DeleteBuffer): delete
9165 (cutSelection): change the tc type to textclass_type
9166 (copySelection): change the tc type to textclass_type
9167 (copySelection): adjust for ParagraphList
9168 (pasteSelection): change the tc type to textclass_type
9169 (pasteSelection): adjust for Paragraphlist
9170 (nrOfParagraphs): simplify for ParagraphList
9171 (checkPastePossible): simplify for ParagraphList
9172 (checkPastePossible): remove unused arg
9174 * ParagraphList.C (insert): handle the case where there are no
9177 * CutAndPaste.h: make CutAndPaste a namespace.
9179 * text3.C (dispatch): adjust
9181 * text.C (breakParagraph): add a ParagraphList as arg
9183 * paragraph_funcs.C (breakParagraph): change to take a
9184 BufferParams and a ParagraphList as args.
9185 (breakParagraphConservative): ditto
9186 (mergeParagraph): ditto
9187 (TeXDeeper): add a ParagraphList arg
9188 (TeXEnvironment): ditto
9191 * buffer.C (readLyXformat2): adjust
9192 (insertStringAsLines): adjust
9193 (latexParagraphs): adjust
9195 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9196 (cutSelection): adjust
9197 (pasteSelection): adjust
9199 * BufferView_pimpl.C (insertInset): adjust
9201 2003-03-05 Angus Leeming <leeming@lyx.org>
9204 * LyXAction.C (init):
9205 * BufferView_pimpl.C (dispatch):
9206 * lyxfunc.C (getStatus):
9207 remove LFUN_CHILD_INSERT.
9209 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9211 2003-03-05 Angus Leeming <leeming@lyx.org>
9214 * LyXAction.C (init):
9215 * src/factory.C (createInset):
9216 * lyxfunc.C (getStatus):
9217 * text3.C (dispatch):
9218 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9220 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9222 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9224 * ParagraphList.C (insert): handle insert right before end()
9225 (erase): fix cases where it can be first or last paragraph.
9227 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9229 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9230 Paragraph::next and Paragraph::previous
9233 * text.C (breakParagraph): adjust
9235 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9236 BufferParams& as arg.
9237 (breakParagraph): use ParagraphList::insert
9238 (breakParagraphConservative): take a Buffer* instead of a
9239 BufferParams& as arg.
9240 (breakParagraphConservative): use ParagraphList::insert.
9242 * buffer.C (insertStringAsLines): un-const it
9243 (insertStringAsLines): adjust
9245 * ParagraphList.C (insert): new function
9247 * CutAndPaste.C (pasteSelection): adjust
9249 * text.C (backspace): adjust
9251 * tabular.C (SetMultiColumn): adjust
9253 * CutAndPaste.C (cutSelection): adjust
9254 (pasteSelection): adjust
9256 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9257 Buffer const * as arg
9259 * ParagraphList.C (erase): new function
9260 * paragraph_funcs.C (mergeParagraph): use it
9261 (mergeParagraph): make it take a Buffer* instead of a
9262 BufferParams* as arg
9264 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9266 (breakParagraphConservative): ditto
9268 * paragraph.h: remove the breakParagraph friend
9270 * paragraph.C (eraseIntern): new function
9271 (setChange): new function
9273 * paragraph_funcs.C (mergeParagraph): make it take a
9274 ParagraphList::iterator instead of a Paragraph *, adjust
9277 * paragraph.h: move an #endif so that the change tracking stuff
9278 also works in the NO_NEXT case.
9280 2003-03-04 Angus Leeming <leeming@lyx.org>
9283 * LyXAction.C: new LFUN_INSET_MODIFY.
9285 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9286 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9288 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9290 * several files: ws changes only
9292 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9293 (TeXEnvironment): ditto
9296 * buffer.C (makeLaTeXFile): adjust
9297 (latexParagraphs): make it take ParagraphList::iterator as args
9299 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9301 * buffer.C (latexParagraphs): adjust
9303 * paragraph.C (TeXOnePar): move function...
9304 (optArgInset): move function...
9305 (TeXEnvironment): move function...
9306 * paragraph_pimpl.C (TeXDeeper): move function...
9307 * paragraph_funcs.C: ...here
9309 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9311 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9313 * buffer.C (readInset): remove compability code for old Figure and
9316 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9318 * buffer.C: ws changes
9321 * BufferView_pimpl.C: ditto
9324 * bufferlist.h: ditto
9328 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9330 * converter.[Ch]: split into itself +
9333 * Makefile.am: += graph.[Ch] + format.[Ch]
9340 * lyxrc.C: added #include "format.h"
9342 2003-02-27 Angus Leeming <leeming@lyx.org>
9344 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9347 * factory.C (createInset): add "label" to the factory.
9349 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9350 string and do no more.
9352 2003-02-27 Angus Leeming <leeming@lyx.org>
9355 * LyXAction.C (init):
9356 * factory.C (createInset):
9357 * BufferView_pimpl.C (dispatch):
9358 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9360 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9362 * lyxfunc.C (dispatch):
9363 * text3.C (dispatch): pass name to params2string.
9365 2003-02-26 Angus Leeming <leeming@lyx.org>
9367 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9369 Rearrange the ~includes. Strip out the unnecessary ones.
9371 * factory.C (createInset): reformat.
9372 create new insets for the various LFUN_XYZ_APPLY lfuns.
9374 2003-02-26 John Levon <levon@movementarian.org>
9377 * lyxrow.C: add isParStart,isParEnd helpers
9379 * paragraph.h: make isInserted/DeletedText take refs
9381 * paragraph_funcs.h:
9382 * paragraph_funcs.C: remove #if 0'd code
9387 * text.C: use lyxrow helpers above.
9388 Move draw and paint routines to RowPainter.
9389 Make several methods use refs not pointers.
9390 Make backgroundColor() const.
9391 Add markChangeInDraw(), isInInset().
9392 Merge changeRegionCase into changeCase.
9393 Make workWidth() shouldn't-happen code into an Assert.
9396 * rowpainter.C: new class for painting a row.
9399 * vspace.C: make inPixels take a ref
9401 2003-02-26 Angus Leeming <leeming@lyx.org>
9403 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9406 2003-02-25 John Levon <levon@movementarian.org>
9408 * ispell.C: give the forked command a more accurate name
9410 2003-02-22 John Levon <levon@movementarian.org>
9413 * toc.C: make TocItem store an id not a Paragraph *
9416 2003-02-21 Angus Leeming <leeming@lyx.org>
9418 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9419 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9420 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9421 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9422 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9423 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9425 * BufferView_pimpl.C (dispatch):
9426 * LyXAction.C (init):
9427 * factory.C (createInset):
9428 * lyxfunc.C (getStatus, dispatch):
9429 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9431 2003-02-21 Angus Leeming <leeming@lyx.org>
9433 * BufferView_pimpl.C (MenuInsertLyXFile):
9434 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9435 * lyxfunc.C (menuNew, open, doImport):
9436 no longer pass a LyXView & to fileDlg.
9438 2003-02-21 Angus Leeming <leeming@lyx.org>
9440 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9441 * LyXAction.C: change, BIBKEY to BIBITEM.
9442 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9443 Change InsetBibKey to InsetBibitem.
9444 Change BIBKEY_CODE to BIBITEM_CODE.
9445 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9446 * factory.C: replace insetbib.h with insetbibitem.h.
9447 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9448 * paragraph.C: replace insetbib.h with insetbibitem.h.
9449 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9450 Change bibkey() to bibitem().
9451 * text.C: remove insetbib.h.
9452 * text2.C: replace insetbib.h with insetbibitem.h.
9453 change bibkey() to bibitem().
9454 * text3.C: remove insetbib.h.
9455 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9457 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9459 * lyxrc.C (output): enclose user email in quotes (in case there are
9462 2003-02-18 John Levon <levon@movementarian.org>
9464 * buffer.h: add std::
9466 2003-02-17 John Levon <levon@movementarian.org>
9472 * pspell.C: reworking. Especially in ispell, a large
9473 number of clean ups and bug fixes.
9475 * lyxfunc.C: fix revert to behave sensibly
9477 2003-02-17 André Pönitz <poenitz@gmx.net>
9480 * commandtags.h: new LFUN_INSERT_BIBKEY
9490 * paragraph_func.C: remove special bibkey handling
9492 2003-02-17 John Levon <levon@movementarian.org>
9494 * text.C (Delete): fix case where delete at the end of
9495 the very first paragraph would not merge the pars
9497 2003-02-17 John Levon <levon@movementarian.org>
9499 * lyxrow.C: fix lastPrintablePos()
9501 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9503 * bufferparams.C (writeLaTeX): add a std:here
9505 * buffer.C: and remove a using directive there
9507 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9509 * buffer.C (makeLaTeXFile): move the code that generates the
9512 * bufferparams.C (writeLaTeX): ... in this new method
9514 * LaTeXFeatures.C (getEncodingSet): make const
9515 (getLanguages): make const
9517 * MenuBackend.C (binding): returns the binding associated to this
9519 (add): sets the status of each item by calling getStatus. Adds
9521 (read): add support for OptSubMenu
9522 (expand): remove extra separator at the end of expanded menu
9524 2003-02-15 John Levon <levon@movementarian.org>
9527 * BufferView_pimpl.C:
9529 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9530 inset code that had no actual effect. Remove unneeded status
9533 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9535 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9538 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9540 * text.C (drawLengthMarker): also draw an arrow marker for
9541 symbolic lengths (medskip...)
9543 2003-02-14 John Levon <levon@movementarian.org>
9546 * tabular.C: better method names
9548 2003-02-14 John Levon <levon@movementarian.org>
9550 * BufferView_pimpl.C:
9555 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9556 it's a more accurate name. Remove some pointless uses.
9558 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9560 * text2.C (LyXText): change order of initilizers to shut off
9563 2003-02-14 John Levon <levon@movementarian.org>
9565 * buffer.C: use ParIterator for getParFromID()
9569 * paragraph_pimpl.h:
9570 * paragraph_pimpl.C: remove unused getParFromID()
9572 2003-02-14 John Levon <levon@movementarian.org>
9574 * buffer.C: remove some very old #if 0'd parse code
9576 2003-02-13 John Levon <levon@movementarian.org>
9580 * text2.C: move hfillExpansion(), numberOfSeparators(),
9581 rowLast(), rowLastPrintable(), numberofHfills(),
9582 numberOfLabelHfills() ...
9585 * lyxrow.C: ... to member functions here.
9590 * text.C: remove LyXText::beginningOfMainBody(), and call
9591 p->beginningOfMainBody() directly. Move the check for
9592 LABEL_MANUAL into the latter.
9599 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9605 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9606 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9608 2003-02-13 John Levon <levon@movementarian.org>
9610 * CutAndPaste.C: remove debug
9612 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9614 * paragraph.C (asString): remove two unused variables
9616 * lyxtextclass.C (readTitleType):
9618 (LyXTextClass): handle new members titletype_ and titlename_
9620 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9622 2003-02-09 John Levon <levon@movementarian.org>
9625 * buffer.C: replace hand-coded list with a map for the dep clean
9627 2003-02-08 John Levon <levon@movementarian.org>
9629 * LaTeX.C: consolidate code into showRunMessage() helper
9631 2003-02-08 John Levon <levon@movementarian.org>
9636 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9637 and pass the size in explicitly
9639 * BufferView_pimpl.h:
9640 * BufferView_pimpl.C:
9642 * BufferView.C: add getCurrentChange()
9644 * BufferView_pimpl.h:
9645 * BufferView_pimpl.C: handle change lfuns
9647 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9648 for changes. Mark pasted paragraphs as new.
9650 * support/lyxtime.h:
9651 * support/lyxtime.C:
9652 * DepTable.C: abstract time_t as lyx::time_type
9655 * LColor.C: add colours for new text, deleted text, changebars
9657 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9658 package use "usenames" option.
9662 * LyXAction.C: add change lfuns
9666 * author.C: author handling
9669 * buffer.C: add a per-buffer author list, with first entry as
9670 current author. Handle new .lyx tokens for change tracking. Output
9671 author list to .lyx file. Output dvipost stuff to .tex preamble.
9672 Bump lyx format to 222.
9675 * bufferlist.C: add setCurrentAuthor() to reset current author details
9679 * bufferparams.C: add param for tracking
9681 * bufferview_funcs.C: output change info in minibuffer
9685 * changes.C: add change-tracking structure
9688 * debug.C: add CHANGES debug flag
9691 * lyxfind.C: add code for finding the next change piece
9694 * lyxrc.C: add user_name and user_email
9697 * lyxrow.C: add a metric for the top of the text line
9700 * text.C: implement accept/rejectChange()
9703 * text.C: paint changebars. Paint new/deleted text in the chosen
9704 colours. Strike through deleted text.
9708 * paragraph_pimpl.h:
9709 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9710 in the current change to the insert functions. Rework erase to
9711 mark text as deleted, adding an eraseIntern() and a range-based
9712 erase(). Implement per-paragraph change lookup and
9715 * paragraph_funcs.C: Fixup paste for change tracking.
9717 * tabular.C: mark added row/columns as new.
9719 * text.C: fix rowLast() to never return -1. Don't allow
9720 spellchecking of deleted text. Track transpose changes. Don't
9721 allow paragraph break or merge where appropriate.
9723 * text2.C: leave cursor at end of selection after a cut.
9725 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9727 * text.C (getLengthMarkerHeight):
9728 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9729 visible on screen too.
9731 2003-02-07 John Levon <levon@movementarian.org>
9733 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9735 2003-02-05 Angus Leeming <leeming@lyx.org>
9737 * lyxserver.C (read_ready): revert my patch of 11 September last year
9738 as it sends PC cpu through the roof. Presumably this means that
9739 the lyxserver will no longer run on an Alpha...
9741 2003-01-30 Angus Leeming <leeming@lyx.org>
9743 * factory.C (createInset): create an InsetCommandParam of type "index"
9744 and use it to 'do the right thing'.
9746 * text2.C (getStringToIndex): ensure that cursor position is always
9747 reset to the reset_cursor position.
9749 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9751 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9754 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9758 * lyxfunc.C: Output messages with identical spelling, punctuation,
9761 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9763 * MenuBackend.C (expandFormats): List only viewable export formats
9766 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9769 * lyxfunc.C (getStatus): Make sure that formats other than
9770 "fax" can also be disabled
9772 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9774 * text3.C (dispatch): put the lfuns that insert insets in 3
9775 groups, and call doInsertInset with appropriate arguments.
9776 (doInsertInset): new function, that creates an inset and inserts
9777 it according to some boolean parameters.
9779 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9781 * buffer.C (readFile): remember to pass on 'par' when calling
9782 readFile recursively.
9784 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9786 * MenuBackend.C (expandFormats): add "..." to import formats.
9788 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9790 * paragraph.C (asString): Remove XForms RTL hacks.
9792 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9793 * buffer.C: fix typo
9795 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9797 * Makefile.am (LIBS): delete var
9798 (lyx_LDADD): add @LIBS@ here instead.
9800 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9802 * Clarify the meaning of "wheel mouse jump"
9804 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9806 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9809 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9811 * importer.C (Loaders): do not preallocate 3 elements in the
9812 vector, since one ends up with 6 elements otherwise
9814 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9816 * DepTable.C (write): write the file name as last element of the
9817 .dep file (because it may contain spaces)
9818 (read): read info in the right order
9820 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9822 * paragraph_pimpl.C (simpleTeXBlanks):
9823 (simpleTeXSpecialChars):
9824 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9826 * tabular.C (latex): add some missing case statements. Reindent.
9828 * MenuBackend.C (expandToc): remove unused variable.
9830 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9839 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9842 2003-01-05 John Levon <levon@movementarian.org>
9845 * BufferView.C: add getEncoding()
9848 * kbsequence.C: do not store last keypress
9851 * lyxfunc.C: store last keypress here instead. Pass encoding
9854 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9856 * lyx_main.C (init): remove annoying error message when following
9857 symbolic links (bug #780)
9859 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9861 * text.C (insertChar):
9862 * lyxrc.C (getDescription): remove extra spaces
9864 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9866 * lyxrc.C (getDescription): remove extra spaces
9868 2002-12-20 John Levon <levon@movementarian.org>
9870 * text3.C: hack fix for page up/down across tall rows
9872 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9874 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9877 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9879 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9880 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9881 thesaurus is not compiled in
9883 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9885 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9887 2002-12-16 Angus Leeming <leeming@lyx.org>
9890 * lyx_main.C (init): remove override_x_deadkeys stuff.
9892 2002-12-12 John Levon <levon@movementarian.org>
9894 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9895 insert. Only remove shift modifier under strict
9898 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9900 * MenuBackend.C (expandToc): fix crash.
9902 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9904 * MenuBackend.C (expandToc): gettext on float names.
9906 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9908 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9909 implement bool empty() [bug 490]
9911 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9913 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9915 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9917 * several files: ws changes
9919 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9921 * text2.C (setCounter): clean up a bit, use boost.format.
9922 (updateCounters): initialize par upon declaration.
9924 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9925 if the layout exists. We do not just store the layout any more.
9926 (SwitchLayoutsBetweenClasses): use boost.format
9928 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9930 * converter.C (convert): if from and to files are the same, use a
9931 temporary files as intermediary
9933 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9936 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9938 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9940 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9942 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9944 * tabular.C (asciiPrintCell): use string(size, char) instead of
9947 * sgml.C (openTag): fix order of arguments to string constructor
9950 * lyxfunc.C (dispatch): use boost.format
9952 * lots of files: change "c" -> 'c'
9954 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9956 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9958 2002-11-25 Angus Leeming <leeming@lyx.org>
9960 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9962 * lyx_main.C (init): compile fix.
9964 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9966 * lyx_cb.C (start): boost.formatify
9967 do not include <iostream>
9969 * lengthcommon.C: ws only
9971 * boost-inst.C,BoostFormat.h: add more explict instantations
9973 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9975 * lots of files: handle USE_BOOST_FORMAT
9977 2002-11-21 John Levon <levon@movementarian.org>
9979 * pspell.C: fix compile
9981 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9983 * lyxfunc.C (dispatch): use boost::format
9987 * lyxfont.C (stateText): use boost::format
9989 * lyx_main.C (LyX): use boost::format
9991 (queryUserLyXDir): ditto
9994 (typedef boost::function): use the recommened syntax.
9996 * importer.C (Import): use boost::format
9998 * debug.C (showLevel): use boost::format
10000 * converter.C (view): use boost::format
10005 * bufferview_funcs.C (currentState): use boost::format
10007 * bufferlist.C (emergencyWrite): use boost::format
10009 * buffer.C (readLyXformat2): use boost::format
10010 (parseSingleLyXformat2Token): ditto
10012 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10014 * LaTeX.C (run): use boost::format
10016 * Chktex.C (scanLogFile): use boost::format
10018 * BufferView_pimpl.C (savePosition): use boost::format
10019 (restorePosition): ditto
10020 (MenuInsertLyXFile): ditto
10022 * BoostFormat.h: help file for explicit instation.
10024 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10026 * tabular.C (latex): Support for block alignment in fixed width
10029 2002-11-17 John Levon <levon@movementarian.org>
10031 * BufferView_pimpl.C:
10033 * lyxfunc.C: split filedialog into open/save
10035 2002-11-08 Juergen Vigna <jug@sad.it>
10037 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10038 by my last patch (hopefully).
10040 2002-11-08 John Levon <levon@movementarian.org>
10049 * toc.C: ParConstIterator, and use it (from Lars)
10051 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10053 * lyxtextclass.[Ch]: revise and add doxygen comments
10055 2002-11-07 John Levon <levon@movementarian.org>
10057 * text.C: fix progress value for spellchecker
10059 * toc.C: fix navigate menu for insetwrap inside minipage
10061 * paragraph_funcs.C: added FIXME for suspect code
10063 2002-11-07 John Levon <levon@movementarian.org>
10065 * BufferView_pimpl.C: fix redrawing of insets
10068 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10070 * text2.C (updateCounters): fix bug 668
10072 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10074 * text3.C (dispatch): Do not make the buffer dirty when moving the
10077 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10079 * vc-backend.C: STRCONV
10080 (scanMaster): ditto
10082 * text2.C (setCounter): STRCONV
10084 * paragraph.C (asString): STRCONV
10086 * lyxlength.C (asString): STRCONV
10087 (asLatexString): ditto
10089 * lyxgluelength.C (asString): STRCONV
10090 (asLatexString): ditto
10092 * lyxfunc.C (dispatch): STRCONV
10095 * lyxfont.C (stateText): STRCONV
10097 * importer.C (Import): STRCONV
10099 * counters.C (labelItem): STRCONV
10100 (numberLabel): ditto
10101 (numberLabel): remove unused ostringstream o
10106 * bufferview_funcs.C (currentState): STRCONV
10108 * buffer.C (readFile): STRCONV
10109 (asciiParagraph): ditto
10110 (makeLaTeXFile): ditto
10112 * Spacing.C (writeEnvirBegin): STRCONV
10114 * LaTeXFeatures.C (getLanguages): STRCONV
10115 (getPackages): ditto
10117 (getBabelOptions): ditto
10118 (getTClassPreamble): ditto
10119 (getLyXSGMLEntities): ditto
10120 (getIncludedFiles): ditto
10124 (scanAuxFile): ditto
10127 * LString.h: add the STRCONV macros
10129 * BufferView_pimpl.C (savePosition): STRCONV
10130 (restorePosition): ditto
10131 (MenuInsertLyXFile): ditto
10133 * vc-backend.C (scanMaster): change from submatch[...] to
10136 * funcrequest.C: include config.h
10138 * factory.C: include config.h
10140 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10142 * box.C: include config.h
10144 * LaTeX.C (scanAuxFile): change from submatch[...] to
10148 2002-10-25 Angus Leeming <leeming@lyx.org>
10150 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10152 * ispell.[Ch] (setError): new method.
10153 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10154 Use setError() insetead of goto END.
10156 * lyx_cb.C (AutoSave): move out child process into new class
10159 2002-10-30 John Levon <levon@movementarian.org>
10161 * text3.C: make start appendix undoable
10163 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10165 * lyxlength.C (inPixels): Fix returned value.
10167 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10170 2002-10-24 Angus Leeming <leeming@lyx.org>
10172 * lyxgluelength.h: no need to forward declare BufferParams
10173 or BufferView, so don't.
10175 2002-10-21 John Levon <levon@movementarian.org>
10177 * BufferView.C: menuUndo ->undo, redo
10179 * BufferView.h: document, remove dead, make some methods private
10181 * paragraph_funcs.h:
10182 * paragraph_funcs.C:
10183 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10188 * sgml.C: move sgml open/close tag into sgml.C
10190 * bufferview_funcs.h: unused prototype
10193 * lyxfunc.C: remove unused
10196 * text.C: remove unused
10198 2002-10-21 John Levon <levon@movementarian.org>
10202 * BufferView_pimpl.h:
10203 * BufferView_pimpl.C: fix mouse wheel handling based on
10204 patch from Darren Freeman
10206 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10208 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10210 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10212 * lyxlength.C (inPixels): Fix hanfling of negative length.
10213 Fix LyXLength::MU case.
10215 2002-10-16 John Levon <levon@movementarian.org>
10217 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10219 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10221 * converter.C (view): add support for $$i (file name) and $$p
10222 (file path) for the viewer command. If $$i is not specified, then
10223 it is appended to the command (for compatibility with old syntax)
10225 2002-10-14 Juergen Vigna <jug@sad.it>
10227 * undo_funcs.C (textHandleUndo): alter the order in which the
10228 new undopar is added to the LyXText, as we have to set first
10229 the right prev/next and then add it as otherwise the rebuild of
10230 LyXText is not correct. Also reset the cursor to the right paragraph,
10231 with this IMO we could remove the hack in "redoParagraphs()".
10233 2002-10-09 Angus Leeming <leeming@lyx.org>
10235 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10236 to turn off an optimisation if a new inset is to be inserted.
10238 2002-10-11 André Pönitz <poenitz@gmx.net>
10240 * lyxtext.h: make some functions public to allow access
10241 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10243 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10245 * text3.C (dispatch): when changing layout, avoid an infinite loop
10248 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10250 * lyxrc.C (read): treat a viewer or converter command of "none" as
10253 * MenuBackend.C (expandFormats): for an update, also allow the
10254 formats that are not viewable
10256 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10257 script if it is newer than the lyxrc.defaults in user directory
10259 2002-10-07 André Pönitz <poenitz@gmx.net>
10261 * text.C: Vitaly Lipatov's small i18n fix
10263 2002-09-25 Angus Leeming <leeming@lyx.org>
10265 * ispell.h: doxygen fix.
10267 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10269 * buffer.h (readFile): Add a new argument to the method, to allow
10270 reading of old-format templates.
10272 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10274 * toc.C (getTocList): Get TOC from InsetWrap.
10276 2002-09-16 John Levon <levon@movementarian.org>
10278 * lyxfunc.C: check tabular for cut/copy too
10280 2002-09-12 John Levon <levon@movementarian.org>
10282 * LyXAction.C: tidy
10285 * factory.C: add header
10287 * paragraph_funcs.h:
10288 * paragraph_funcs.C: cleanup
10290 2002-09-11 John Levon <levon@movementarian.org>
10292 * PrinterParams.h: odd/even default to true
10294 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10296 * PrinterParams.h: update printer parameters for new xforms dialog
10298 2002-09-11 Angus Leeming <leeming@lyx.org>
10300 * lyxserver.C (read_ready): re-write to make it more transparent
10301 and to make it work in coherent fashion under Tru64 Unix.
10303 2002-09-11 André Pönitz <poenitz@gmx.net>
10307 * text3.C: implement LFUN_WORDSEL
10309 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10311 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10312 make floatlist_ a boost::shared_ptr<FloatList>
10314 * lyxtextclass.C: include FloatList.h
10315 (LyXTextClass): initialize floatlist_
10316 (TextClassTags): add TC_NOFLOAT
10317 (Read): match "nofloat" to TC_NOFLOAT and use it.
10318 (readFloat): modify call to floatlist_
10322 * FloatList.[Ch] (FloatList): remove commented out float
10324 (erase): new function
10326 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10328 * MenuBackend.C (expandToc): fix crash when there is no document
10331 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10333 * many files: Add insetwrap.
10335 2002-09-09 John Levon <levon@movementarian.org>
10337 * text2.C: remove confusing and awkward depth wraparound
10339 2002-09-09 John Levon <levon@movementarian.org>
10341 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10344 * buffer.C: remove getIncludeonlyList()
10347 * lyxfunc.C: remove headers
10349 2002-09-09 Juergen Vigna <jug@sad.it>
10351 * text.C (getColumnNearX): fix form Michael this is most
10352 probably a cut&paste bug.
10354 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10356 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10358 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10359 references, ws changes.
10361 * text2.C (init): update counters after init
10362 (insertParagraph): no need to set counter on idividual paragraphs.
10363 (setCounter): access the counters object in the textclass object
10364 on in the buffer object.
10365 (updateCounters): ditto
10367 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10368 shared_ptr<Counters> to avoid loading counters.h in all
10370 (LyXTextClass): initialize ctrs_
10371 (TextClassTags): add TC_COUNTER, and ...
10372 (Read): use it here.
10373 (CounterTags): new tags
10374 (readCounter): new function
10375 (counters): new funtion
10376 (defaultLayoutName): return a const reference
10378 * counters.C (Counters): remove contructor
10379 (newCounter): remove a couple of unneeded statements.
10380 (newCounter): simplify a bit.
10381 (numberLabel): some small formatting changes.
10383 * buffer.[Ch]: remove all traces of counters, move the Counters
10384 object to the LyXTextClass.
10386 2002-09-06 Alain Castera <castera@in2p3.fr>
10388 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10389 package to set the horizontal alignment on fixed width columns.
10392 * lyx_sty.h: added tabularnewline macro def.
10394 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10396 2002-09-06 John Levon <levon@movementarian.org>
10398 * LyXAction.C: tooltips for sub/superscript
10400 * MenuBackend.C: a bit more verbose
10402 * lyxfunc.C: tiny clean
10404 * undo_funcs.C: document undo_frozen
10406 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10408 * counters.C (Counters): add missing algorithm counter.
10410 * text2.C (setCounter): lookup the counter with layouts latexname
10411 instead of by section number.
10412 (setCounter): use a hackish way to lookup the correct enum
10414 a float name->type change
10415 reset enum couners with counter name directly instead of depth value.
10417 * counters.C (Counters): remove the push_backs, change to use the
10418 float type not the float name.
10419 (labelItem): remove unused string, float name->type change
10421 * counters.h: don't include vector, loose the enums and sects vectors
10423 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10425 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10426 (Read): add float->TC_FLOAT to textclassTags
10427 (Read): and handle it in the switch
10428 (readFloat): new function
10430 * FloatList.C (FloatList): comment out the hardcoded float
10433 * lyxlayout.h: ws change.
10435 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10437 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10439 2002-09-03 Angus Leeming <leeming@lyx.org>
10441 * BufferView_pimpl.h: qualified name is not allowed in member
10442 declaration: WorkArea & Pimpl::workarea() const;
10444 * factory.C: added using std::endl directive.
10446 * text3.C: added using std::find and std::vector directives.
10448 2002-08-29 André Pönitz <poenitz@gmx.net>
10451 * text2.C: remove unused member number_of_rows
10454 * BufferView2.C: remove file, move contents to...
10455 * BufferView.C: ... here
10457 * BufferView_pimpl.C:
10458 * factory.C: move more inset creation to factory
10460 * vspace.C: avoid direct usage of LyXText, ws changes
10463 don't provide direct access to WorkArea, use two simple
10464 acessors haveSelction() and workHeight() instead
10467 2002-08-29 John Levon <levon@movementarian.org>
10469 * BufferView_pimpl.C (dispatch): do not continue when
10472 2002-08-28 André Pönitz <poenitz@gmx.net>
10474 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10477 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10479 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10481 * buffer.C: increment LYX_FORMAT to 221
10483 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10484 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10486 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10488 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10490 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10492 * factory.C (createInset): use LyXTextClass::floats
10494 * MenuBackend.C (expandFloatListInsert):
10495 (expandFloatInsert):
10498 * text2.C (setCounter):
10500 * LaTeXFeatures.C (useFloat):
10501 (getFloatDefinitions):
10503 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10505 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10506 floatlist_, with accessor floats().
10508 * FloatList.h: remove global FloatList
10510 2002-08-26 André Pönitz <poenitz@gmx.net>
10512 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10516 * BufferView_pimpl.C:
10517 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10519 2002-08-25 John Levon <levon@movementarian.org>
10521 * LyXAction.C: fix margin note description
10523 2002-08-24 John Levon <levon@movementarian.org>
10527 * bufferview_funcs.C:
10529 * undo_funcs.C: cleanups
10531 * lyxfunc.C: disable CUT/COPY when no selection
10533 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10535 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10536 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10538 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10539 Add backward compatibility to "mono", "gray" and "no".
10541 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10543 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10544 (and file_format >= 200).
10546 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10548 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10550 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10552 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10554 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10556 * BufferView_pimpl.C:
10563 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10564 inset and code to make it work with the paragraph code. The inset
10565 can be anywhere in the paragraph, but will only do the expected
10566 thing in LaTeX if the layout file contains the parameter line
10568 (or more generally, a nonzero value) for that layout.
10570 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10572 * paragraph.h: remove the declaration of undefined counters class
10575 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10577 * text2.C (setCounter): fixed enumeration mis-count as reported by
10578 Dr. Richard Hawkins.
10580 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10582 * paragraph_funcs.h: remove some unneeded includes
10584 * text.C (backspace): pasteParagraph now in global scipe
10586 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10587 (pasteSelection): ditto
10589 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10590 * paragraph_funcs.C (pasteParagraph): ... here
10592 2002-08-20 André Pönitz <poenitz@gmx.net>
10594 * commandtags.h: new LFUNs for swapping/copying table row/colums
10597 * lyxfunc.C: support for new lfuns
10599 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10602 * buffer.[Ch]: remove NO_COMPABILITY stuff
10604 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10606 * boost.C (throw_exception): new file, with helper function for
10607 boost compiled without exceptions.
10612 * ParameterStruct.h:
10613 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10615 * bufferlist.C (emergencyWriteAll): use boost bind
10617 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10619 * text.C: include paragraph_funcs.h
10620 (breakParagraph): breakParagraph is now in global scope
10622 * paragraph_funcs.[Ch]: new files
10624 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10627 * buffer.C: include paragraph_funcs.h
10628 (insertStringAsLines): breakParagraph is now in global scope
10630 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10633 * CutAndPaste.C: include paragraph_funcs.h
10634 (cutSelection): breakParagraphConservative is now in global scope
10635 (pasteSelection): ditto
10637 * buffer.h: declare oprator== and operator!= for
10638 Buffer::inset_iterator
10640 * bufferlist.C (emergencyWrite): don't use fmt(...)
10642 * text3.C: add using std::endl
10644 * BufferView.C (moveCursorUpdate): remove default arg
10646 2002-08-20 André Pönitz <poenitz@gmx.net>
10648 * buffer.[Ch]: move inline functions to .C
10651 * BufferView_pimpl.C:
10653 * buffer.[Ch]: use improved inset_iterator
10656 * paragraph.[Ch]: write one paragraph at a time
10658 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10660 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10661 style if style is not specified.
10663 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10665 * text2.C (setCounter): when searching for right label for a
10666 caption, make sure to recurse to parent insets (so that a caption
10667 in a minipage in a figure float works) (bug #568)
10669 2002-08-20 André Pönitz <poenitz@gmx.net>
10671 * text3.C: new file for LyXText::dispatch() and helpers
10673 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10675 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10677 2002-08-19 André Pönitz <poenitz@gmx.net>
10680 * text.C: new LyXText::dispatch()
10682 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10684 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10686 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10688 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10691 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10693 * Makefile.am: use $(variables) instead of @substitutions@
10695 2002-08-15 André Pönitz <poenitz@gmx.net>
10698 * BufferView_pimpl.C: streamlining mathed <-> outer world
10702 * LyXAction.C: remove unused LFUN_MATH
10704 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10706 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10708 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10710 * paragraph.C (Paragraph): reformat a bit
10711 (cutIntoMinibuffer): use builtin InsetList function instad of
10715 * buffer.C: include boost/bind.hpp, add using std::for_each
10716 (writeFileAscii): use ParagraphList iterators
10717 (validate): use for_each for validate traversal of paragraphs
10718 (getBibkeyList): use ParagraphList iterators
10719 (resizeInsets): use for_each to resizeInsetsLyXText for all
10721 (getParFromID): use ParagraphList iterators
10723 * BufferView2.C (lockInset): use paragraph list and iterators
10725 2002-08-14 John Levon <levon@movementarian.org>
10727 * lyxserver.C: remove spurious xforms include
10729 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10731 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10733 2002-08-13 André Pönitz <poenitz@gmx.net>
10736 * lyxfunc.C: further cleaning
10738 2002-08-13 André Pönitz <poenitz@gmx.net>
10740 * funcrequest.h: new constructor
10742 * funcrequest.C: move stuff here from .h
10745 * BufferView_pimpl.C:
10748 * lyxfunc.C: subsequent changes
10750 * lyxfunc.h: new view() member function
10752 * lyxfunc.C: subsequent changes
10754 2002-08-13 Angus Leeming <leeming@lyx.org>
10757 * BufferView_pimpl.C:
10765 changes due to the changed LyXView interface that now returns references
10766 to member variables not pointers.
10768 2002-08-13 Angus Leeming <leeming@lyx.org>
10770 * WordLangTuple (word, lang_code): return references to strings,
10775 * lyxtext.h: forward-declare WordLangTuple.
10780 * text.C: #include "WordLangTuple.h".
10783 * text.C: (selectNextWordToSpellcheck): constify return type.
10785 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10791 * paragraph_pimpl.h:
10794 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10795 suggested by Angus.
10796 Made updateCounter always count from start of buffer, and removed
10797 second argument (par).
10798 Reverted floats number display to '#'. Perhaps I'll try again when the
10799 code base is sanitized a bit.
10801 2002-08-12 Angus Leeming <leeming@lyx.org>
10803 * buffer.[Ch] (getLabelList): constify.
10805 2002-08-07 André Pönitz <poenitz@gmx.net>
10807 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10809 * funcrequest.h: extension to keep mouse (x,y) position
10811 2002-08-12 Juergen Vigna <jug@sad.it>
10813 * BufferView2.C (insertErrors): forbid undo when inserting error
10816 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10818 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10820 * ParagraphList.[Ch]: new files
10822 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10824 * BufferView2.C (lockInset): ParagraphList changes
10827 * bufferlist.C: ditto
10831 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10833 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10834 unused class variable counter_,
10836 * paragraph.[Ch] (getFirstCounter): delete unused function
10838 * counters.C: include LAssert.h
10839 (reset): add a new function with no arg, change other version to
10840 not have def. arg and to not allow empty arg.
10842 * text2.C (setCounter): remove empty arg from call to Counters::reset
10844 2002-08-11 John Levon <levon@movementarian.org>
10846 * Makefile.am: add WordLangTuple.h
10848 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10850 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10851 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10853 * insets/insettext.C: InsetList changes
10855 * graphics/GraphicsSupport.C (operator()): InsetList changes
10857 * toc.C (getTocList): InsetList changes
10859 * paragraph_pimpl.[Ch]: InsetList changes
10861 * paragraph.[Ch]: InsetList changes
10863 * buffer.C (inset_iterator): InsetList changes
10864 (setParagraph): ditto
10865 * buffer.h (inset_iterator): ditto
10866 * iterators.C (operator++): ditto
10867 * iterators.h: ditto
10869 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10871 * InsetList.[Ch]: new files, most InsetList handling moved out of
10874 * BufferView2.C (removeAutoInsets): InsetList changes
10876 (ChangeInsets): ditto
10878 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10880 * paragraph_pimpl.h (empty): new function
10882 * paragraph.[Ch] (empty): new function
10884 * other files: use the new Paragraph::empty function
10886 2002-08-09 John Levon <levon@movementarian.org>
10888 * lyxtext.h: remove unused refresh_height
10890 2002-08-09 John Levon <levon@movementarian.org>
10897 * paragraph.C: move sgml char escaping out of paragraph
10900 * paragraph.C: remove id setter
10904 * paragraph_pimpl.C: remove dead tex_code_break_column
10906 * bufferview_funcs.C: small cleanup
10908 * lyxfunc.C: remove dead proto
10910 * lyxtext.h: make some stuff private. Remove some dead stuff.
10912 * lyxgluelength.C: make as[LyX]String() readable
10914 2002-08-08 John Levon <levon@movementarian.org>
10919 * ToolbarDefaults.C:
10922 * toc.C: lyxaction cleanup
10924 2002-08-08 John Levon <levon@movementarian.org>
10926 * BufferView2.C: small cleanup
10929 * lyxfind.C: move unnecessary header into the .C
10931 2002-08-08 John Levon <levon@movementarian.org>
10933 * funcrequest.h: just tedious nonsense
10936 * lyx_main.C: cleanups
10939 * vspace.C: remove dead header lyx_main.h
10941 2002-08-07 Angus Leeming <leeming@lyx.org>
10944 * paragraph_pimpl.h:
10945 Forward declare class Counters in paragraph.h by moving the ctrs member
10946 variable into Paragraph::Pimpl.
10947 (counters): new method, returning a reference to pimpl_->ctrs.
10949 * text2.C: ensuing changes.
10951 2002-08-07 John Levon <levon@movementarian.org>
10953 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10955 * BufferView_pimpl.C: announce X selection on double/triple
10958 * lyx_main.C: use correct bool in batch dispatch
10960 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10962 2002-08-07 André Pönitz <poenitz@gmx.net>
10964 * funcrequest.h: new class to wrap a kb_action and its argument
10967 * BufferView_pimpl[Ch]:
10971 * lyxrc.C: subsequent changes
10974 2002-08-07 John Levon <levon@movementarian.org>
10976 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10977 document options change.
10979 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10984 * makefile.am: move counters functionality over from
10985 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10987 2002-08-06 John Levon <levon@movementarian.org>
10989 * WordLangTuple.h: new file for word + language code tuple
11000 * BufferView2.C: use WordLangTuple
11003 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11005 2002-08-06 John Levon <levon@movementarian.org>
11007 * lyx_main.C: fix cmdline batch handling
11009 2002-08-06 André Pönitz <poenitz@gmx.net>
11011 * lyxrc.C: set default for show_banner to true
11013 2002-08-06 John Levon <levon@movementarian.org>
11015 * pspell.C: fix a crash, and allow new aspell to work
11017 2002-08-06 John Levon <levon@movementarian.org>
11020 * kbmap.C: small cleanup
11023 * vspace.C: add const
11025 2002-08-05 John Levon <levon@movementarian.org>
11027 * LyXAction.C: back to tabular-insert
11029 2002-08-04 John Levon <levon@movementarian.org>
11032 * BufferView.C: cosmetic change
11034 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11044 * BufferView2.C: purge all "Lyx" not "LyX" strings
11047 * lyxcursor.C: attempt to add some documentation
11052 * ToolbarDefaults.C:
11053 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11054 merge with LFUN_TABULAR_INSERT
11061 * pspell.C: split up i/pspell implementations into separate
11062 files, many cleanups
11064 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11066 * text2.C: some cleanup
11068 * lyxfunc.C: don't check for isp_command == "none" any more, it
11069 didn't make any sense
11071 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11076 * makefile.am: move counters functionality over
11077 from text2.C/paragraph.[Ch] to counters.[Ch], and
11079 2002-08-02 John Levon <levon@movementarian.org>
11081 * buffer.C: s/lyxconvert/lyx2lyx/
11083 2002-08-02 Angus Leeming <leeming@lyx.org>
11085 * lyxlex.C: revert John's change as it breaks reading of the user
11088 2002-08-02 Angus Leeming <leeming@lyx.org>
11090 * importer.C (Import):
11091 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11092 changes due to LyXView::view() now returning a boost::shared_ptr.
11094 2002-08-02 John Levon <levon@movementarian.org>
11096 * lyxlex.C: small cleanup
11098 2002-08-02 John Levon <levon@movementarian.org>
11100 * text2.C (status): small cleanup, no logic change
11102 2002-08-01 John Levon <levon@movementarian.org>
11105 * buffer.C (writeFile): don't output alerts, caller
11109 * lyx_cb.C: from above
11111 * lyxfunc.C: allow to open non-existent files
11113 2002-07-31 John Levon <levon@movementarian.org>
11115 * lyxserver.C: don't let incidental errors get
11118 2002-07-30 John Levon <levon@movementarian.org>
11120 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11122 2002-07-30 John Levon <levon@movementarian.org>
11125 * lyxserver.C: remove I/O callback too
11127 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11129 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11132 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11134 * many files: strip,frontStrip -> trim,ltrim,rtrim
11136 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11138 * PrinterParams.h: remove extern containsOnly, and include
11139 support/lstrings.h instead.
11141 * LaTeX.C (scanAuxFile): modify because of strip changes
11143 * buffer.C (makeLaTeXFile): ditto
11144 * bufferparams.C (writeFile): ditt
11145 * lyxfont.C (stateText): ditto
11146 * lyxserver.C (read_ready): ditto
11147 * vc-backend.C (scanMaster): ditto
11149 * BufferView_pimpl.h: ws changes
11151 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11153 2002-07-26 André Pönitz <poenitz@gmx.net>
11155 * kb_sequence.C: remove unnedred usings
11157 2002-07-26 Juergen Vigna <jug@sad.it>
11159 * lyxfind.C (LyXReplace): we have to check better if the returned
11160 text is not of theLockingInset()->getLockingInset().
11162 2002-07-25 Juergen Vigna <jug@sad.it>
11164 * lyxfind.C (LyXReplace): don't replace if we don't get the
11167 * undo_funcs.C (createUndo): remove debugging code.
11169 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11171 * buffer.C (parseSingleLyXformat2Token): Use default placement
11172 when reading old floats.
11174 * FloatList.C (FloatList): Change the default placement of figure
11175 and tables to "tbp".
11177 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11179 * MenuBackend.C: using std::max
11181 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11183 * MenuBackend.C (expandToc):
11184 (expandToc2): code moved from xforms menu frontend. It is now
11185 generic and TOCs are transparent to menu frontends.
11187 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11189 * toc.C (getTocList): protect against buf=0
11191 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11192 Menu as first parameter. Now, this calls itself recursively to
11193 expand a whole tree (this will be useful for TOC handling)
11194 (expandFloatInsert): remove 'wide' version of floats
11196 * MenuBackend.h (submenuname): returns the name of the submenu.
11197 (submenu): returns the submenu itself, provided it has been
11198 created by MenuBackend::expand
11200 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11202 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11203 insets which have noFontChange == true. (bug #172)
11205 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11207 * BufferView_pimpl.C: add connection objects and use them...
11210 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11212 * MenuBackend.C (expandLastfiles):
11215 (expandFloatListInsert):
11216 (expandFloatInsert):
11217 (expand): split expand in parts
11219 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11221 * lyx_gui.C: use lyx_gui::exit()
11223 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11225 * LyXAction.C: show the failing pseudo action
11227 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11229 * buffer.C (readFile): Run the lyxconvert script in order to read
11232 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11236 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11238 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11242 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11244 2002-07-22 Herbert Voss <voss@lyx.org>
11247 * lyxlength.[Ch]: add support for the vertical lengths
11249 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11251 * toc.[Ch]: std:: fixes
11253 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11255 * lyxrc.C: do not include lyx_main.h
11257 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11263 * BufferView2.C: include "lyxlex.h"
11266 * bufferparams.h: do not #include "lyxlex.h"
11268 * lyxtextclasslist.C (Add): remove method
11269 (classlist): renamed to classlist_
11271 * paragraph_pimpl.C:
11275 * bufferview_funcs.C:
11280 * toc.C (getTocList): use BufferParams::getLyXTextClass
11282 * toc.C (getTocList): use InsetFloat::addToToc
11284 * toc.[Ch]: new files, containing helper functions to handle table
11287 * lyxfunc.C (dispatch): no need to remove spaces around command
11289 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11290 first command of the sequence; it is not very clever, but I do not
11291 have a better idea, actually
11293 * LyXAction.C (LookupFunc): make sure to remove space at the
11294 beginning and end of the command
11296 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11298 * MenuBackend.C (getMenubar): new method: return the menubar of
11300 (read): treat differently reading of menu and menubar (in
11301 particular, the menubar has no name now)
11302 (Menu::menubar): remove
11304 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11307 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11309 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11310 a bibitem inset in a RTL paragraph.
11312 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11314 * paragraph_pimpl.C: constify
11316 * BufferView_pimpl.C:
11318 * lyxfunc.C: fix dispatch in a nicer way
11320 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11322 * lyxfunc.C (dispatch):
11323 * BufferView_pimpl.C:
11324 * BufferView_pimpl.h:
11326 * BufferView.h: rename Dispatch() to dispatch()
11328 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11330 * lyxlayout.C (Read): honor DependsOn tag
11332 * lyxlayout.[Ch] (depends_on): new method
11334 * version.C.in: update lyx_docversion
11336 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11338 * paragraph.C (validate): remove from here...
11339 * paragraph_pimpl.C (validate): ... and move here
11340 (isTextAt): make it const
11342 * buffer.C (getLists): ws cleanup
11344 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11346 * language.C (read): Use iso8859-1 encoding in latex_lang
11347 (this prevents LyX from crashing when using iso10646-1 encoding).
11349 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11351 * text2.C (toggleInset): if cursor is inside an inset, close the
11352 inset and leave cursor _after_ it
11354 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11356 * lyxfunc.C: move minibuffer completion handling out of here
11358 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11360 * BufferView_pimpl.C:
11361 * LaTeX.C: fix dispatch calls
11363 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11365 * text.C (drawChars): Fix Arabic text rendering.
11367 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11371 * lyxfunc.C: remove message-push/pop
11375 * lyxfunc.C: rationalise some code by removing verboseDispatch
11376 in favour of a bool argument to dispatch()
11378 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11380 * lyx_main.C (init): make sure to read symlinks as absolute paths
11382 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11385 * lyxfunc.C: no need for commandshortcut to be a member
11387 2002-07-15 André Pönitz <poenitz@gmx.net>
11389 * converter.C: add support for $$s (scripts from lib/scripts dir)
11390 * lyx_main.C: white space
11392 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11396 * lyxrc.C: remove second exit confirmation
11398 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11403 * BufferView_pimpl.h:
11404 * BufferView_pimpl.C:
11405 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11407 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11409 * MenuBackend.C (expand): add numeric shortcuts to document menu
11411 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11413 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11415 * lyxfont.C (setLyXFamily):
11422 * buffer.C (asciiParagraph): use ascii_lowercase
11424 2002-07-15 Mike Fabian <mfabian@suse.de>
11426 * lyxlex_pimpl.C (search_kw):
11427 * lyxlex.C (getLongString):
11428 * converter.h (operator<):
11429 * converter.C (operator<):
11430 * buffer.C (parseSingleLyXformat2Token):
11432 * ToolbarDefaults.C (read):
11433 * MenuBackend.C (checkShortcuts):
11435 * LColor.C (getFromGUIName):
11436 (getFromLyXName): use the compare_ascii_no_case instead of
11437 compare_no_case, because in turkish, 'i' is not the lowercase
11438 version of 'I', and thus turkish locale breaks parsing of tags.
11440 2002-07-16 Angus Leeming <leeming@lyx.org>
11442 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11443 now takes a Buffer const & argument.
11445 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11447 * BufferView.C (resize): check there's a buffer to resize
11449 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11451 * lyxfunc.C: remove dead code
11454 * lyxserver.C: use lyx_guii::set_read_callback
11456 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11458 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11459 an inset in a RTL paragraph.
11461 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11463 * lyxfunc.C: repaint after a font size update
11465 2002-07-15 André Pönitz <poenitz@gmx.net>
11467 * lyxlength.C: inBP should be able to return negative values
11469 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11471 * lyxfunc.C: use lyx_gui::update_fonts()
11473 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11475 * lyxfunc.C: use lyx_gui::update_color()
11477 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11483 * lyxrc.C: remove file->new asks for name option, and let
11484 buffer-new take an argument
11486 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11488 * BufferView_pimpl.C: remove unneeded extra repaint()
11490 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11492 * LyXAction.C: allow command-sequence with NoBuffer
11494 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11496 2002-07-10 Angus Leeming <leeming@lyx.org>
11498 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11500 2002-07-09 Angus Leeming <leeming@lyx.org>
11502 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11504 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11506 * lengthcommon.h: whitespace
11508 * lyxfunc.C: update scrollbar after goto paragraph
11510 * lyxtext.h: factor out page break drawing, and fix it so
11511 page break/added space paints as selected nicely
11513 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11515 * BufferView_pimpl.C: add FIXMEs, clean up a little
11517 2002-07-09 André Pönitz <poenitz@gmx.net>
11519 * lyxfont.[Ch]: support for wasy symbols
11521 2002-07-08 André Pönitz <poenitz@gmx.net>
11523 * BufferView_pimpl.C: apply John's patch for #93.
11525 2002-07-05 Angus Leeming <leeming@lyx.org>
11527 * BufferView_pimpl.C (buffer): generate previews if desired.
11529 * LColor.h: add "preview" to the color enum.
11531 * LColor.C (LColor): add a corresponding entry to the items array.
11533 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11536 2002-07-05 Angus Leeming <leeming@lyx.org>
11538 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11539 The body of the code is now in the method that is passed an ostream &
11540 rather than a file name.
11541 Pass an additional only_preamble parameter, useful for the forthcoming
11544 2002-07-03 André Pönitz <poenitz@gmx.net>
11546 * lyxfunc.C: simplify getStatus() a bit for math stuff
11548 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11550 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11552 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11554 * text.C (changeRegionCase): do not change case of all the
11555 document when region ends at paragraph end (bug #461)
11557 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11559 * paragraph.C (startTeXParParams):
11560 (endTeXParParams): add \protect when necessary
11562 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11564 * BufferView_pimpl.C (workAreaExpose): remove warning
11566 2002-06-27 Angus Leeming <leeming@lyx.org>
11568 * Makefile.am: add lyxlayout_ptr_fwd.h.
11570 2002-06-26 André Pönitz <poenitz@gmx.net>
11572 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11574 2002-06-25 Angus Leeming <leeming@lyx.org>
11576 * lyxfunc.C (dispatch): Comment out the call to
11577 grfx::GCache::changeDisplay. The method no longer exists now that the
11578 pixmap generation part of the graphics loader has been moved into
11581 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11583 * text2.C: layout as layout
11585 * text.C: layout as layout
11587 * tabular.C (OldFormatRead): layout as layout
11589 * paragraph_pimpl.C (TeXDeeper): layout as layout
11590 (realizeFont): layout as layout
11592 * paragraph.C (writeFile): layout as layout
11593 (validate): layout as layout
11594 (getFont): layout as layout
11595 (getLabelFont): layout as layout
11596 (getLayoutFont): layout as layout
11597 (breakParagraph): layout as layout
11598 (stripLeadingSpaces): layout as layout
11599 (getEndLabel): layout as layout
11600 (getMaxDepthAfter): layout as layout
11601 (applyLayout): layout as layout
11602 (TeXOnePar): layout as layout
11603 (simpleTeXOnePar): layout as layout
11604 (TeXEnvironment): layout as layout
11605 (layout): layout as layout
11606 (layout): layout as layout
11608 * lyxtextclass.C (compare_name): new functor to work with
11609 shared_ptr, layout as layout
11610 (Read): layout as layout
11611 (hasLayout): layout as layout
11612 (operator): layout as layout
11613 (delete_layout): layout as layout
11614 (defaultLayout): layout as layout
11616 * lyxlayout_ptr_fwd.h: new file
11618 * lyxlayout.C (Read): layout as layout
11620 * lyx_cb.C (MenuInsertLabel): layout as layout
11622 * bufferlist.C (newFile): layout as layout
11624 * buffer.C (readLyXformat2): layout as layout
11625 (parseSingleLyXformat2Token): layout as layout
11626 (insertStringAsLines): layout as layout
11627 (asciiParagraph): layout as layout
11628 (latexParagraphs): layout as layout
11629 (makeLinuxDocFile): layout as layout
11630 (simpleLinuxDocOnePar): layout as layout
11631 (makeDocBookFile): layout as layout
11632 (simpleDocBookOnePar): layout as layout
11633 (getLists): layout as layout
11635 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11637 * CutAndPaste.C (cutSelection): layout as layout
11638 (pasteSelection): layout as layout
11639 (SwitchLayoutsBetweenClasses): layout as layout
11641 * BufferView_pimpl.C (Dispatch): layout as layout
11642 (smartQuote): layout as layout
11644 * BufferView2.C (unlockInset): layout as layout
11646 2002-06-24 André Pönitz <poenitz@gmx.net>
11648 * lyxfunc.C: fix #487
11650 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11654 * lyxfunc.C: remove display_shortcuts, show_banner
11656 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11658 * Buffer_pimpl.C: oops, update on resize
11660 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11667 * BufferView.C: use repaint()
11669 * BufferView_pimpl.h:
11670 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11671 as it's a clearer description. Remove superfluous
11674 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11676 * text.C: fix bug 488. Not ideal, but getting
11677 getWord() to work properly for the insets that
11678 matter is more difficult ...
11680 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11682 * BufferView_pimpl.C:
11685 * lyxfunc.C: remove the six million index lyxfuncs to just
11686 one, and DTRT (bug 458)
11688 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11692 * BufferView_pimpl.h:
11693 * BufferView_pimpl.C: clean up resize() stuff,
11694 and unnecessary updateScreen()s
11696 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11700 * BufferView_pimpl.h:
11701 * BufferView_pimpl.C:
11704 * minibuffer.C: remove focus management of workarea,
11705 not needed. Use screen's greyOut()
11707 2002-06-17 Herbert Voss <voss@lyx.org>
11709 * converter.C: (convert) do not post a message, when converting
11710 fails, let the calling function decide what to do in this case
11712 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11714 * lyxfunc.C: tidy up a little
11716 2002-06-16 <alstrup@diku.dk>
11718 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11719 Got rid of FORMS_H_LOCATION include. Now we are
11722 2002-06-15 LyX Development team <lyx@rilke>
11724 * buffer.[Ch] (sgmlOpenTag):
11725 (sgmlCloseTag): Added support for avoiding pernicious mixed
11726 content. Return number of lines written.
11728 (makeLinuxDocFile):
11729 (makeDocBookFile): Fixed calls to sgml*Tag.
11730 Simple white space clean.
11732 (simpleDocBookOnePar): Simple white space clean.
11734 * tabular.[Ch] (docBook): Renamed to docbook and got another
11735 argument to related with the pernicious mixed content.
11737 (docbookRow): Fixed calls for docbook inset method.
11739 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11741 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11742 so it's X11 independent.
11746 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11748 2002-06-15 Lyx Development team <lyx@electronia>
11750 * intl.h: Renamed getTrans to getTransManager.
11752 2002-06-14 Angus Leeming <leeming@lyx.org>
11754 * Makefile.am: nuke forgotten stl_string_fwd.h.
11756 2002-06-12 Angus Leeming <leeming@lyx.org>
11758 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11760 2002-06-13 Angus Leeming <leeming@lyx.org>
11763 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11765 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11767 * kbmap.C (getiso): add support for cyrillic and greek
11769 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11773 * BufferView_pimpl.h:
11774 * BufferView_pimpl.C: move bogus scrolling logic
11777 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11780 * BufferView_pimpl.C: view->resize() change
11782 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11784 * BufferView_pimpl.C: topCursorVisible
11787 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11791 * lyx_gui.C: move to frontends/
11795 * lyx_main.C: changes from above
11797 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11804 * lyx_main.C: minor tidy
11806 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11808 * BufferView_pimpl.h:
11809 * BufferView_pimpl.C:
11811 * BufferView.C: make painter() const,
11814 * BufferView2.C: use screen() accessor
11817 * lyx_main.C: some minor cleanup
11819 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11821 * BufferView_pimpl.h:
11822 * BufferView_pimpl.C: remove enter/leaveView,
11825 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11830 * BufferView_pimpl.h:
11831 * BufferView_pimpl.C: only construct screen once,
11834 * lyxrc.C: remove pointless comment
11836 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11839 * BufferView.C: remove active() and belowMouse()
11841 * BufferView_pimpl.h:
11842 * BufferView_pimpl.C: use workarea() not workarea_,
11843 and make it use a scoped_ptr instead
11845 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11847 * lyx_gui.C: add debug message on BadWindow
11849 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11851 * sp_spell.C: fdopen is not part of the C++ standard.
11853 * paragraph.C (InsetIterator): use >= instead of ==
11855 2002-06-07 Angus Leeming <leeming@lyx.org>
11857 Fixes needed to compile with Compaq cxx 6.5.
11858 * BufferView_pimpl.C:
11865 * lyxtextclasslist.C:
11870 all c-library variables have been moved into namespace std. Wrap
11871 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11876 Add a using std::abs declaration.
11878 * kbmap.h (modifier_pair):
11879 * paragraph.h (InsetTable, InsetList):
11880 * lyxfont.h (FontBits):
11881 type definition made public.
11883 * bufferlist.C (emergencyWriteAll): the compiler complains that
11884 there is more than one possible lyx::class_fun template to choose from.
11885 I re-named the void specialisation as lyx::void_class_fun.
11887 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11889 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11890 the compiler is is unable to find tostr in write_attribute.
11892 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11894 * buffer.C (sgmlError): hide #warning
11896 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11898 * xtl/*: get rid of xtl, which is not in use anyway
11900 * LyXAction.C (init):
11901 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11902 were unimplemented xtl experimentation
11904 2002-06-04 André Pönitz <poenitz@gmx.net>
11906 * lyxfunc.C: disable array operation on simple formulae
11908 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11910 * converter.C: constify a bit
11912 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11914 * lyx_gui.C: check xforms version correctly
11916 2002-04-30 Herbert Voss <voss@lyx.org>
11918 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11921 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11923 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11924 attempt to register it with a VCS)
11926 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11928 * lyx_main.C (init): honor variables LYX_DIR_13x and
11931 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11935 * lyx_main.C: fix a crash on bad command line,
11936 and give a useful exit status on error
11938 * lyxfunc.C (doImport): allow -i lyx to work
11940 2002-03-30 André Pönitz <poenitz@gmx.net>
11942 * lyxfunc.C: mathed font changes
11944 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11959 * trans_mgr.h: srcdocs, and some minor cleanups
11961 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11963 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11964 call getFont all the time)
11966 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11968 * switch from SigC signals to boost::signals
11970 2002-05-29 André Pönitz <poenitz@gmx.net>
11972 * paragraph_pimpl.C (getChar): don't call size() too often...
11974 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11976 * paragraph_pimpl.C (insertChar): do not try to update tables when
11977 appending (pos == size())
11979 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11980 in order to reduce drastically the number of comparisons needed to
11981 parse a large document
11983 2002-05-29 André Pönitz <poenitz@gmx.net>
11989 * textclasslist.[Ch]:
11990 * sp_ispell.h: whitespace change
11992 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11994 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11995 lyxaction directly now.
11997 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12001 * lyxvc.C: remove unused headers
12003 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12010 * undo_funcs.C: some cleanups. Use shared_ptr
12011 and a template for the undo stacks.
12013 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12015 * BufferView_pimpl.h:
12016 * BufferView_pimpl.C:
12023 * text2.C: use key_state/mouse_state
12025 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12027 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12030 * chset.C: change include order
12031 (loadFile): use boost regex and get rid of LRegex and LSubstring
12033 * Makefile.am (BOOST_LIBS): new variable
12034 (lyx_LDADD): use it
12036 * LaTeX.C: change include order.
12037 (scanAuxFile): use boost regex and get rid of LRegex and
12041 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12046 * FontInfo.C: moved to frontends/xforms/
12049 * FontLoader.C: moved into frontends for GUIIzation
12054 * lyxfunc.C: changes from above
12056 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12058 * LColor.C: remove spurious X include
12060 * BufferView_pimpl.C:
12065 * text2.C: move font metrics to frontends/
12067 2002-05-24 Juergen Vigna <jug@sad.it>
12069 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12070 setting the undo_cursor.
12072 * ParagraphParameters.h: include local includes first.
12074 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12076 * BufferView_pimpl.C:
12077 * BufferView_pimpl.h:
12081 * screen.C: move WorkArea into frontends/
12087 * BufferView2.C: move LyXScreen into frontends/
12091 * lyx_gui.C: move lyxlookup into frontends/xforms/
12093 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12096 * BufferView_pimpl.C:
12106 * bufferview_funcs.C:
12119 * vc-backend.C: move LyX/XFormsView into frontends/
12121 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12133 * text2.C: move Painter to frontends/
12135 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12137 * buffer.C: comment out some some code that depend upon lyx_format
12140 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12141 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12143 * buffer.h (NO_COMPABILITY): turn off compability
12145 * ColorHandler.C: include scoped_array.hpp
12147 * font.C: Use more specific smart_ptr header.
12150 * ShareContainer.h: ditto
12151 * lyx_main.h: ditto
12153 * FontInfo.h: ditto
12154 * BufferView_pimpl.h: ditto
12155 * ColorHandler.h: ditto
12157 * kbmap.C (defkey): change call to shared_ptr::reset
12159 2002-05-21 Juergen Vigna <jug@sad.it>
12161 * buffer.C (insertErtContents): fix to insert ert asis if it is
12162 non empty. Skip it completely if it contains only whitespaces.
12164 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12166 * BufferView_pimpl.C:
12167 * BufferView2.C: clear selection on paste (bug 393)
12169 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12171 * DepTable.C: include ctime
12173 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12175 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12177 2002-05-14 Juergen Vigna <jug@sad.it>
12179 * text.C (breakParagraph): fixed function to honor the keepempty
12180 layout in the right maner and also to permit the right breaking
12181 algorithm on empty or non empyt keepempty paragraphs.
12183 * paragraph.C (breakParagraph): we have to check also if the par
12184 is really empty (!size()) for isempty otherwise we do the wrong
12187 2002-05-10 Juergen Vigna <jug@sad.it>
12189 * buffer.[Ch] : The following are only changes to the ert
12190 compatibility read reading old LaTeX layout and font stuff and
12191 convert it to ERTInsets.
12193 * buffer.h: added isErtInset().
12195 * buffer.C (struct ErtComp): add a fromlayout bool to check
12196 if we're inside a LaTeX layout.
12197 (isErtInset): new helper function.
12198 (insertErtContents): look for other ert insets before this one
12199 and insert the contents there, so that we don't have subsequent
12200 ERT insets with nothing between them. This way we create only one
12201 inset with multiple paragraphs. Also check if we don't insert only
12202 spaces ' ' as they are ignored anyway afterwards in the .tex file
12203 so if we have only spaces we will ignore this latex part in the
12205 (parseSingleLyXformat2Token \\layout): better compatibility when
12206 reading layout-latex stuff.
12207 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12209 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12210 stuff after reading the inset only get the information back from
12213 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12215 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12217 * LaTeXFeatures.C (getBabelOptions): New method.
12219 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12221 * BufferView_pimpl.C (Dispatch): work around missing argument for
12224 2002-05-08 Juergen Vigna <jug@sad.it>
12226 * text.C (leftMargin): handle paragraph leftindent.
12228 * paragraph.C (writeFile): write the new \\leftindent tag.
12229 (validate): handle leftindent code.
12230 (TeXEnvironment): handle paragraphleftindent code again.
12232 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12234 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12235 for paragrap_extra indent code and new token \\leftindent.
12236 (latexParagraphs): handle the leftindent as environment.
12238 * ParameterStruct.h: added leftindent support.
12240 * ParagraphParameters.C (leftIndent): added support functions for
12241 the paragraph left indent.
12243 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12246 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12248 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12251 * text.C (computeBidiTables): No bidi in insetERT.
12253 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12256 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12258 * version.C.in: pre 5
12260 2002-05-02 José Matos <jamatos@fep.up.pt>
12261 * buffer.C (makeDocBookFile): white space changes, add newline to
12263 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12265 * tabular.C (docBook): fix typo.
12267 2002-05-03 Juergen Vigna <jug@sad.it>
12269 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12270 change in LyXText as we can not be sure it was not freed.
12271 (drawOneRow): remove unused code.
12273 * text.C (drawInset): redo the calculation of the need_break_row as
12274 it could have a row which was already freed.
12275 (draw): look at the return value of drawInset and return false if
12276 it also returned false.
12277 (paintRowText): look at the return value of draw and return false if
12278 it also returned false.
12280 * lyxtext.h: added bool return type to drawInset() and draw() so that
12281 if we have a change in the row so that the rowbreak has to be redone
12282 we abort drawing as it will be called again.
12284 2002-05-02 Juergen Vigna <jug@sad.it>
12286 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12287 a change in the maintext also if we're inside an inset.
12288 (Dispatch): set the cursor again after a break line and after the
12289 screen has been updated as it could be we're in a different row.
12291 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12292 to set the cursor behind the pargraph with > size().
12293 (setCursor): check also for the same paragraph when checking where
12294 to put the cursor if we have a NFR inset.
12296 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12297 parts of layout read further up as it still was in the wrong
12300 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12302 * screen.C (drawFromTo): change sine fullRebreak always return
12305 * buffer.C (parseSingleLyXformat2Token): reindent some
12307 * BufferView_pimpl.C (update): change since fullRebreak always
12309 (Dispatch): git rid of the last hardcoded "Standard"s.
12311 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12313 * text2.[Ch] (fullRebreak): make it return void now that we always
12316 2002-04-30 Juergen Vigna <jug@sad.it>
12318 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12319 ert compatibility check for "latex" layout.
12321 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12323 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12324 minipages: use col% instead of p%, and also use the current font.
12325 (makeLaTeXFile): Fix use babel condition.
12326 (parseSingleLyXformat2Token): Correct font when reading old floats.
12328 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12330 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12331 inserting list of floats.
12333 2002-04-25 Herbert Voss <voss@lyx.org>
12335 * MenuBackend.C (expand): don't add the graphics extensions to the
12338 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12340 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12341 non-existing layout, do not complain if it was the default layout
12342 of the original class (bug #342)
12344 2002-04-24 Juergen Vigna <jug@sad.it>
12346 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12347 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12349 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12351 * buffer.C (getBibkeyList): If using \bibliography, return the
12352 option field with the reference itself. Enables us to provide natbib
12353 support when using \bibliography.
12355 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12357 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12359 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12360 natbib is provided by the LaTeX class.
12362 2002-04-23 Juergen Vigna <jug@sad.it>
12364 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12367 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12369 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12371 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12373 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12374 ensuremath around textordmasculine, textordfeminine and
12377 2002-04-19 Juergen Vigna <jug@sad.it>
12379 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12380 reinitializing the buffer otherwise row-dimensions may be wrong.
12381 (update): reset also the selection cursors if they do exits otherwise
12382 their x/y positions may be wrong.
12384 * text2.C (cursorDown): don't enter the inset if we came from a row
12385 above and are one row over the inset.
12387 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12388 really leaving an inset.
12390 2002-04-18 Juergen Vigna <jug@sad.it>
12392 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12393 of the selected paragraph does not have the selected layout also if
12396 * text2.C (setLayout): fixed bug which did not change last selected
12399 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12400 changed the read and substituted \\end_float with \\end_inset!
12402 * BufferView_pimpl.C (cursorPrevious):
12403 (cursorNext): fixed to make it work with rows heigher than the work
12404 area without moving the cursor only the draw of the row.
12405 (workAreaMotionNotify): fix jumping over high rows.
12407 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12409 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12412 2002-04-16 Juergen Vigna <jug@sad.it>
12414 * text2.C (setCursor): set also the irow().
12415 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12417 (cursorDown): support for locking an inset if the x_fix value goes
12418 inside it. That way I can transverse insets too with cursor up/down.
12420 * lyxrow.h: added irow helper function same as other (i) functions.
12422 * BufferView_pimpl.C (cursorPrevious):
12423 (cursorNext): fixed for insets!
12425 2002-04-15 Juergen Vigna <jug@sad.it>
12427 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12428 position otherwise it is wrong in some cases.
12430 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12431 inside the inset before the call.
12433 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12435 * buffer.[Ch] (getBibkeyList): make it const.
12437 2002-04-12 Juergen Vigna <jug@sad.it>
12439 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12441 * text2.C (getCursorX): new helper function
12442 (setCursor): compute also ix_
12443 (setCursorFromCoordinates): set also ix.
12445 * lyxcursor.h: added ix_ and helper functions.
12447 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12449 * buffer.C (insertStringAsLines): dont break paragraph if the this
12450 paragraph is inside an inset which does not permit it!
12452 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12453 also with no chars on this paragraph.
12454 (paintRowText): only paint stuff if it's inside the workarea!
12456 * paragraph.C (breakParagraph): honor keepempty flag and break the
12457 paragraph always below not above.
12459 * BufferView2.C (unlockInset): update the paragraph layout on inset
12460 unlock as we changed paragraph in such a case.
12462 * lyxfind.C (LyXFind): clear the former selection if not found!
12464 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12465 again called in insertChar().
12467 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12468 an inset which uses the whole row!
12469 (rightMargin): ditto.
12470 (insertChar): force a rebreak if we inserted an inset!
12472 2002-03-28 Herbert Voss <voss@lyx.org>
12474 * lyxlength.[Ch]: add inBP() to get the right PS-point
12475 units (BigPoint). With inPixels we have rounding errors
12477 2002-04-11 Juergen Vigna <jug@sad.it>
12479 * text2.C (setCursorFromCoordinates): set iy to the right value.
12480 (setCursor): add check if row->previous exists!
12482 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12483 an old float_type as this was the case in the old code!
12485 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12487 * BufferView2.C (showLockedInsetCursor): use iy
12488 (fitLockedInsetCursor): ditto
12490 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12491 locked insets as there we have the right value now.
12493 * lyxcursor.C: added iy_ variable and iy functions to set to the
12494 baseline of cursor-y of the locked inset.
12496 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12497 (setCursor): fixed for insets which need a full row.
12499 * text.C (rowLastPrintable): don't ignore the last space when before
12500 an inset which needs a full row.
12501 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12502 as last character of a row when before a inset which needs a full row.
12504 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12506 * version.C.in: update date
12508 * text2.C (fullRebreak): try to always return true and see what
12511 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12513 * MenuBackend.C (expand): use Floating::listName
12515 * FloatList.C (FloatList): add listName argument to the built-in
12518 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12519 text associated with the float.
12521 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12523 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12525 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12527 * ShareContainer.h: add a couple of missing typenames.
12529 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12531 * lyxrc.C (getDescription): use _() correctly rather than N_().
12533 2002-03-28 Herbert Voss <voss@lyx.org>
12535 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12536 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12538 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12540 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12541 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12543 2002-03-29 Juergen Vigna <jug@sad.it>
12545 * lyxfunc.C (dispatch): add a missing fitCursor call.
12547 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12548 it was scrolled by a cursor move, so return the bool status.
12550 * BufferView.C (fitCursor): return the bool flag also to the outside
12551 world as this is needed.
12553 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12555 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12556 call the edit() as it is not needed (and wrong) IMO.
12557 (workAreaButtonPress): set the screen_first variable before evt.
12558 unlock the inset as this may change screen_first and then we have
12559 a wrong y position for the click!
12561 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12563 * MenuBackend.C (expand): another translation that I missed
12565 2002-03-28 Juergen Vigna <jug@sad.it>
12567 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12569 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12571 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12573 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12575 * MenuBackend.C (expand): fix export/view/update when there is no
12578 2002-03-27 Herbert Voss <voss@lyx.org>
12580 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12583 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12585 * bufferview_funcs.C (currentState): only show paragraph number
12586 for is DEVEL_VERSION is set.
12588 * lyxfunc.C (dispatch): put warning in INFO channel
12590 * MenuBackend.C (expand): translate the name of floats
12592 * FloatList.C (FloatList): mark the float names for translation
12594 * converter.C (convert): use LibScriptSearch
12596 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12598 * MenuBackend.C (defaults): fix default menu (we might as well get
12601 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12603 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12606 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12608 * lyxvc.C: reorder includes.
12610 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12612 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12615 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12617 * CutAndPaste.C: change layouts earlier on paste
12618 to avoid crashing when calling getFont()
12620 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12622 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12625 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12627 * WorkArea.C: remove 'Pending' debug message.
12629 * most files: ws cleanup
12631 * buffer.[Ch]: ws changes
12633 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12635 2002-03-21 Juergen Vigna <jug@sad.it>
12637 * tabular.C (SetMultiColumn): collapse also the contents of the
12638 cells and set the last border right. Added a Buffer const * param.
12640 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12642 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12645 2002-03-19 Juergen Vigna <jug@sad.it>
12647 * text2.C (clearSelection): reset also xsel_cache.
12649 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12650 where it needs to be called (John tells us to do so too :)
12651 (selectionLost): reset sel_cache.
12653 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12655 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12657 * text2.C (setCursorIntern): put debuging code in INSETS channel
12659 2002-03-19 André Pönitz <poenitz@gmx.net>
12661 * lyxfunc.C: tiny whitespace change
12663 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12665 * ToolbarDefaults.C (init):
12666 * LyXAction.C (init):
12668 * BufferView_pimpl.C (Dispatch):
12669 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12671 2002-03-19 Allan Rae <rae@lyx.org>
12673 * exporter.C (Export): removeAutoInsets before doing anything else.
12674 While I've just introduced a dependency on BufferView this really is
12675 the best place to clean the buffer otherwise you need to cleanup in
12676 a dozen places before calling export or cleanup in a dozen functions
12679 * converter.C (runLaTeX):
12680 (scanLog): Better handling of removeAutoInsets and screen updates.
12682 * lyxfunc.C (dispatch): small whitespace changes
12684 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12686 * WorkArea.C (C_WorkAreaEvent): return a value.
12687 (event_cb): return 1 if we handled the event, 0 otherwise.
12689 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12691 2002-03-18 Juergen Vigna <jug@sad.it>
12693 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12694 (GetAdditionalWidth): ditto.
12695 (RightLine): ditto.
12698 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12699 inset if we're there actually (probably not used right now but this
12700 is the direction to go for unifying code).
12701 (paste): disable code to clear the selection.
12703 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12704 inside an InsetText and move the check further up as it is in the
12707 * text2.C (pasteSelection): set a selection over the pasted text.
12709 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12711 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12712 and libgraphics to build on Cygwin.
12714 2002-03-15 Juergen Vigna <jug@sad.it>
12716 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12717 inserting an Inset into the paragraph. I know this is not the best
12718 fix but we already use current_view in CutAndPaste so we will remove
12719 all of it's using at the same time.
12721 * buffer.C (sgmlError): deactivated function till it is rewritten in
12722 the right mode, now it can create problems.
12724 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12725 before accessing it.
12727 2002-03-14 Juergen Vigna <jug@sad.it>
12729 * undo_funcs.C (textHandleUndo): do the right thing when updating
12730 the inset after the undo/redo.
12732 * text2.C (setCursor): just some testcode for #44 not ready yet.
12734 * undo_funcs.C (textHandleUndo): set the next() and previous()
12735 pointers of the paragraph to 0 before deleting otherwise we have
12736 problems with the Paragraph::[destructor].
12738 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12739 on a paragraph insertion.
12741 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12743 * buffer.C (asciiParagraph): use += operator for char append to
12746 * paragraph.C (getFontSettings): compare >= not just >
12747 (highestFontInRange): ditto
12750 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12752 * paragraph.C: change several algorithm to be more appripriate for
12753 the problem domain. This is lookip in FontList and in the InsetList.
12755 2002-03-13 André Pönitz <poenitz@gmx.net>
12758 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12760 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12765 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12767 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12769 * Painter.C (display): anon helper function, adjust code for this
12771 (pixmap): remove function.
12773 * Painter.h: remove private display variable.
12775 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12777 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12779 * WorkArea.[Ch]: remove figinset_canvas cruft.
12781 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12783 * lyxtextclass.C (operator): add one item cache optimization.
12785 * bufferlist.h: doxy changes
12787 * bufferlist.C: ws changes
12789 * DepTable.[Ch] (ext_exist): place const in the right spot.
12791 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12793 (workAreaExpose): call resizeInsets when the with BufferView changes.
12794 (Dispatch): adjust for protectedBlank removal
12795 (specialChar): call updateInset if the insert went ok.
12797 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12798 specialChar instead.
12800 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12802 * BufferView.h: doxy change
12804 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12806 * lyxtextclass.C (operator[]): remove non-const version
12807 (defaultLayout): remove non-const version
12809 2002-03-12 Juergen Vigna <jug@sad.it>
12811 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12812 did resize the LyXText too.
12814 * buffer.C (readLyXformat2): set layout information on newly allocated
12817 * tabular.C (OldFormatRead): set layout information on the paragraph.
12819 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12821 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12823 2002-03-11 Juergen Vigna <jug@sad.it>
12825 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12827 (resizeCurrentBuffer): force also the insets to resize themselfes.
12828 (moveCursorUpdate): fixed up for InsetText.
12830 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12833 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12834 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12835 value of Dialogs::tooltipsEnabled().
12836 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12838 2002-03-08 Juergen Vigna <jug@sad.it>
12840 * BufferView_pimpl.C (updateInset): update inset inside inset also
12841 if it isn't inside theLockingInset().
12843 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * buffer.C (asciiParagraph): redo some of the word and line length
12847 (getLists): look for Caption instead of caption.
12849 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12851 * buffer.C (Buffer): initialize niceFile to true
12853 (makeLinuxDocFile):
12854 (makeDocBookFile): make sure niceFile is true on exit
12856 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12858 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12860 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12862 * LyXSendto.C: remove.
12863 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12864 * lyx_gui.C: remove now-redundant comment.
12865 * ColorHandler.h: remove forward declaration of class WorkArea.
12866 * lyxfunc.C: remove #include "WorkArea.h".
12868 2002-03-07 Juergen Vigna <jug@sad.it>
12870 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12871 got moved away with the DEPM and also set the inset_owner always
12872 right which before could have been omitted.
12874 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12876 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12877 wanted layout is not found.
12879 2002-03-07 Juergen Vigna <jug@sad.it>
12881 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12883 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12885 * paragraph.C (breakParagraph): use default layout not layout of
12887 (Paragraph): clear ParagraphParameters.
12889 2002-03-06 Juergen Vigna <jug@sad.it>
12891 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12892 otherwise it would not be a valid lenght. Fixed a special case in
12893 the minipage compatibility read where we end the document with a
12896 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12897 was set as it could be 0 for InsetTexts first entry.
12899 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12901 * paragraph.C (writeFile): if layout is empty write out
12902 defaultLayoutName().
12904 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12905 file without named layout we set layout to defaultLayoutName().
12907 2002-03-06 Juergen Vigna <jug@sad.it>
12909 * CutAndPaste.C (copySelection): set layout for new paragraph.
12911 * text.C (prepareToPrint): leave ERT inset left aligned
12912 (leftMargin): don't indent paragraphs inside ERT insets
12914 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12916 * paragraph.C (breakParagraph): dont call clear do the work manually
12918 * paragraph.[Ch] (clear): remove function
12920 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12922 * paragraph.C (Paragraph): dont call clear, the work has already
12925 * lyxtextclass.C (operator): assert if n is empty
12927 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12928 work manually instead.
12930 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12932 * BufferView_pimpl.C: protect selectionLost against text == 0
12934 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12936 * text.C (breakParagraph): fix a setting layout to '0' problem.
12938 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12940 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12941 final location of file, for the included files, and graphics.
12943 2002-03-05 Juergen Vigna <jug@sad.it>
12945 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12947 2002-03-04 Juergen Vigna <jug@sad.it>
12949 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12951 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12952 last column of multicolumn cells.
12953 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12955 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12957 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12958 file if it doesn't go to a temporary file.
12960 * buffer.C (sgmlOpenTag):
12961 (sgmlCloseTag): remove extra newline insertion.
12963 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12965 * text.C (getRowNearY): comment out debug msg
12967 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12969 * text2.C: first -> first_y
12971 * text.C (getRowNearY): add some attemts at a possible
12972 optimization, not working.
12974 * tabular.[Ch]: add BufferParams to several function so that newly
12975 created paragraph can be initialized to he default layotu for the
12978 * tabular-old.C (ReadOld): add buf->params to call of Init
12980 * screen.C: rename text->first to text->first_y
12982 * paragraph.C (breakParagraph): always set layout in the broken
12985 * lyxtextclass.C (Read): remove lowercase
12988 (delete_layout): ditto
12990 * lyxtext.h: rename first -> first_y
12992 * lyxlayout.C (Read): remove lowercase
12995 (obsoleted_by): ditto
12997 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12999 * buffer.C (insertErtContents): add params are to InsetERT
13000 (parseSingleLyXformat2Token): add code to check if a paragraphs
13001 layout really exist.
13002 (parseSingleLyXformat2Token): add params to several inset
13004 (asciiParagraph): remove lowercase, do the layout comparisons with
13007 * BufferView_pimpl.C (cursorNext): first -> first_y
13008 (resizeCurrentBuffer): first -> first_y
13009 (updateScrollbar): first -> first_y
13010 (scrollCB): first -> first_y
13011 (workAreaMotionNotify): first -> first_y
13012 (workAreaButtonPress): first -> first_y
13013 (checkInsetHit): first -> first_y
13014 (cursorPrevious): first -> first_y
13015 (cursorNext): first -> first_y
13016 (Dispatch): add buffer_->params to severl inset contructors
13018 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13020 * lyxlayout.C (Read): remove some debug info that I forgot.
13022 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13023 clean up the code slightly.
13024 (makeLinuxDocFile): ditto
13025 (makeDocBookFile): ditto
13027 * text2.C: layout as string
13029 * text.C: layout as string
13031 * paragraph_pimpl.C: layout as string
13033 * paragraph.[Ch]: layout as string
13035 * lyxtextclasslist.[Ch]: layout as string
13037 * lyxtextclass.[Ch]: layout as string
13039 * lyxtext.h: layout as string
13041 * lyxlayout.[Ch]: layout as string
13043 * lyx_cb.C: layout as string
13045 * bufferview_funcs.C: layout as string
13047 * bufferparams.C: layout as string
13049 * buffer.C: layout as string
13051 * LyXView.[Ch]: layout as string
13053 * LaTeXFeatures.[Ch]: layout as string
13055 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13057 * BufferView_pimpl.C: change current_layout to string, remove
13062 (workAreaButtonRelease): layout as string
13064 * BufferView2.C (unlockInset): adjust
13066 * vspace.C (asLatexCommand): use an explict temp variable.
13068 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13070 * Makefile.am: use FRONTEND_*
13072 2002-03-01 Juergen Vigna <jug@sad.it>
13074 * tabular.C (SetWidthOfMulticolCell): changed to something better
13075 I hope but still work in progress.
13076 (recalculateMulticolumnsOfColumn): renamed function from
13077 recalculateMulticolCells as it is more appropriate now.
13078 (SetWidthOfCell): calculate multicols better.
13080 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13082 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13084 * lyxfunc.C (processKeySym): print sequence also if it is
13085 `deleted' (complete)
13087 * kbsequence.C (print): print sequence even if it is deleted
13088 (complete would be a better word, actually).
13090 * lyxfunc.C (dispatch): print complete options after a prefix key
13092 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13094 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13096 * text2.C (setCharFont): eliminate setCharFont code duplication.
13098 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13100 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13101 LFUN_TABULAR_FEATURE (bug #177)
13103 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13105 * Makefile.am: remove figure.h
13107 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13109 * Bufferview_pimpl.C:
13121 * text2.C: remove #include "lyx_gui_misc.h".
13123 * LaTeX.C: added #include <cstdio>
13125 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13127 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13128 that the paragraph following this one can have.
13130 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13132 * vspace.C (asLatexCommand): fix bogus gcc warning
13134 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13136 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13138 * text2.C (setLayout): get rid of redundant code
13140 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13142 * text2.C (incDepth): make sure depth cannot be increased beyond
13145 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13147 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13148 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13150 * PainterBase.h (image):
13151 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13152 a LyXImage const *.
13154 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13158 * BufferView_pimpl.C:
13159 * BufferView_pimpl.h:
13179 * sp_spell.C: remove fig inset, and the crap house of
13180 cards that follows it
13182 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13187 * os2_errortable.h:
13188 * nt_defines.h: move .h into support/
13190 * vms_defines.h: remove
13192 * WorkArea.C: add space in debug output
13196 * buffer.C: add WITH_WARNINGS
13200 * bufferlist.C: s/retrive/retrieve/, add docs
13209 * chset.C: add docs
13211 * lyxgui.C: add ID to X error handler
13213 * lyxtestclass.c: fix typo
13215 2002-02-26 Juergen Vigna <jug@sad.it>
13217 * tabular_funcs.C (write_attribute): changed so that some default
13218 attributes are not written at all.
13219 (getTokenValue): set default values before trying to read the
13220 value so we have the return value always set as default if we don't
13221 find the token we search for.
13223 * tabular.C (Write): write bools as bools not as strings!
13225 2002-02-22 Juergen Vigna <jug@sad.it>
13227 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13228 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13230 * text.C (leftMargin): don't add an indent for paragraphs inside
13231 tabular cells (fix #208).
13233 2002-02-21 José Matos <jamatos@fep.up.pt>
13235 * tabular.C (docBook): fixed support for long tables.
13237 2002-02-20 Juergen Vigna <jug@sad.it>
13239 * text2.C (getFont): get the drawing font of the Inset if this
13240 paragraph is inside an inset (only important for InsetERT for now).
13242 * buffer.C (insertErtContents): use new lanugage params in ERT
13245 * CutAndPaste.C: commenting out seemingly uneeded code.
13247 2002-02-19 Allan Rae <rae@lyx.org>
13249 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13250 Iterators might be simple to use but they also get invalidated.
13251 (removeAutoInsets): renamed saved cursor tracking variables and added
13252 some comments to clarify what everything does.
13254 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13261 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13262 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13265 * vc-backend.h: remove #include "support/syscall.h"
13269 * converter.C: rearrange #includes in Lars' approved fashion.
13271 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13272 forward declare class Timeout in the header file.
13274 * XFormsView.C: changes due to the above.
13276 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13277 similar to LyXView.
13279 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13280 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13282 2002-02-18 José Matos <jamatos@fep.up.pt>
13284 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13287 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13289 * a lot of small ws changes
13290 * add a lot of using std::XXX
13291 * use std construcs some places where approp.
13292 * use some exisint stuff from lyxfunctional where approp.
13293 * Make file changes to use partial linking (lets test this now...)
13295 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13299 remove #include "support/syscontr.h" as it's redundant. Always has been.
13307 change Systemcalls::System to Systemcalls::Wait and
13308 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13309 No change of functionality, just reflects the stripped down Systemcalls
13312 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13314 * debug.[Ch]: add a GRAPHICS type to the enum.
13316 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13318 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13320 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13323 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13325 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13326 match the changes below.
13328 * text2.C (toggleInset): if there is not editable inset at cursor
13329 position, try to see if cursor is _inside_ a collapsable inset
13332 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13334 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13335 document menu has a nice checkbox
13337 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13339 * lyxlength.C (asLatexString): change PW to output as percent of
13342 * lengthcommon.C: change '%' to 't%'
13344 * lyxfunc.C (dispatch): a few comments from Martin
13346 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13350 * BufferView_pimpl.h:
13351 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13354 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13356 * vspace.C (inPixels): fix compiler warning
13358 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13360 * lyxfunc.C (getStatus): fix status message for disabled commands.
13362 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13364 * BufferView_pimpl.C: fix crash on close buffer
13365 during selection (#227)
13367 2002-01-27 Herbert Voss <voss@lyx.org>
13369 * buffer.C: link old Figure to new graphic inset
13371 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13373 * FontLoader.C (getFontinfo): Change the latex font names in order
13374 to match the names of type1inst.
13376 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13378 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13380 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13381 (extchanged): ditto
13383 (remove_files_with_extension): ditto
13384 (remove_file): ditto
13387 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13388 document is smaller than the work area height. Do not initialize
13389 static variables to 0.
13391 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13393 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13395 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13396 LFUN_LAYOUT_PARAGRAPHS.
13398 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13399 tabular. It is possible to provide a possible cell, which will
13400 typically be the actcell from the corresponding insettabular
13402 * lyxfunc.C (getStatus): small cleanup; disable
13403 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13406 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13408 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13410 * paragraph.C (startTeXParParams):
13411 (endTeXParParams): new methods. The LaTeX code to
13412 start/end paragraph formatting
13413 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13414 empty (fixes bug #200)
13416 * vspace.C (inPixels): adapt to the change below
13417 (inPixels): [later] more cleanups (remove unused variables)
13419 * lyxlength.C (inPixels): change to use a width and a height as
13422 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13424 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13425 Replaced with \paperwidth
13427 * DepTable.C (insert): add std:: qualifier
13429 2002-01-18 Allan Rae <rae@lyx.org>
13431 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13434 * text.C (drawInset): Turned out I didn't know enough about how
13435 rebreaking worked. This fixes most of the redraw problems. I see
13436 an occasional cursor trail when a line is broken now and the cursor
13437 placement can seem out by a few pixels also after a rebreak.
13439 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13441 * buffer.C (parseSingleLyXformat2Token): update because minipage
13442 width is now a LyXLength
13444 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13446 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13449 2002-01-17 Juergen Vigna <jug@sad.it>
13451 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13453 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13454 is set correctly and the inset is updated correctly.
13456 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13458 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13459 the beginning of the loop.
13461 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13463 * lyxrc.C: improve help for use_scalable_fonts
13465 2002-01-17 Allan Rae <rae@lyx.org>
13467 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13469 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13471 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13472 make sure to set their inset_owner to the right value (bug #171)
13474 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13477 * DepTable.C: Implement mtime checking to reduce time spent doing
13480 2002-01-16 Juergen Vigna <jug@sad.it>
13482 * tabular.C (GetAdditionalHeight): one of error fixed.
13484 * lyxrc.C (output): small fix in writing use_pspell.
13486 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13488 * sp_base.h: #include LString.h
13490 2002-01-16 Allan Rae <rae@lyx.org>
13492 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13493 Can someone check this please?
13495 * text.C (drawInset): It was possible that p.row would be removed by
13496 breakAgainOneRow upsetting a few other settings. There may be another
13497 small tweak possible by setting need_break_row = 0 when p.row has been
13498 removed but I don't know enough about the logic here.
13500 2002-01-15 Allan Rae <rae@lyx.org>
13502 * text.C (insertChar): removed conditional truism.
13504 * BufferView2.C (removeAutoInsets): More tweaks.
13505 cur_par_prev could be a stray pointer. Check for trailing empty line
13506 in case last line was cur_par and only had an error inset on it.
13508 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13510 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13513 * vc-backend.C (most methods):
13514 * exporter.C (Export):
13515 * converter.C (convert):
13517 * LyXSendto.C (SendtoApplyCB):
13518 * lyxfunc.C (dispatch):
13522 * lyx_cb.C (AutoSave):
13524 * BufferView_pimpl.C (MenuInsertLyXFile):
13525 * buffer.C (runChktex): use Buffer::filePath().
13527 * buffer.h: rename filename to filename_; rename filepath to
13528 filepath_ and make it private
13529 (filePath): new method
13531 * buffer.C (writeFile): use fileName()
13534 * lyx_main.C (init): fix starting of LyX when the binary is a
13535 link from so,ewhere else.
13537 * minibuffer.C: include <cctype> for isprint
13539 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13541 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13542 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13543 name clash with InsetCollapsable's width function.
13545 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13547 * lastfiles.C: include <iterator>
13549 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13551 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13554 * buffer.C (makeLaTeXFile): ditto.
13555 Also make loop operation more transparent.
13557 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13559 * ToolbarDefaults.C: remove trailing comma closing namespace.
13561 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13563 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13566 * trans.C (Load): comment out unused variable, allowed.
13568 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13570 * minibuffer.[Ch] (append_char): new method to recieve input from the
13571 drop-down completion browser. If a key was pressed, then recieve this
13572 char and append it to the existing string.
13573 (peek_event): modify the positioning data passed to the completion
13574 browser so that it can be placed above the minibuffer rather than below.
13575 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13577 * LyXAction.C (init): alloe error-next for readonly documents.
13579 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13582 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13584 * bufferlist.C (readFile): create the buffer _after_ checking that
13587 * lyxfunc.C (verboseDispatch): fix handling of arguments
13589 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13591 * lyxrc.C: use string::erase() instead of initializing to "".
13594 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13596 * BufferView_pimpl.h:
13597 * BufferView_pimpl.C:
13600 * text2.C: tell X when we have made a selection for copying
13602 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13604 * BufferView_pimpl.C (MenuInsertLyXFile):
13605 * lyxfunc.C (menuNew):
13607 (doImport): add shortcuts to directory buttons
13609 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13612 * lyxfunc.C (setStatusMessage):
13613 (getStatusMessage): new methods
13614 (getStatus):use setStatusMessage instead of setErrorMessage
13615 (dispatch): when function is disabled, set error message here
13616 [instead of in getStatus previously]
13618 * BufferView_pimpl.C (workAreaButtonRelease): update
13619 toolbar/menubar here too.
13621 2002-01-13 Allan Rae <rae@lyx.org>
13623 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13624 Now seems indestructible. Remaining task is to audit all other
13625 code affected by deleteEmptyParagraphMechanism. One small quirk
13626 left is that an empty document with an error in the preamble can
13627 be made to report an error but no error box appears. I don't know
13629 (removeAutoInsets): Improved comments.
13631 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13634 * Thesaurus.C: update for Aiksaurus 0.14
13636 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13638 * text2.C (firstParagraph): removed member function, all uses
13639 replaces with ownerParagraph
13640 (redoParagraphs): here
13641 (updateInset): here
13642 (toggleAppendix): here
13643 * BufferView2.C (insertErrors): here
13644 (setCursorFromRow): here
13646 2002-01-13 Allan Rae <rae@lyx.org>
13648 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13649 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13650 There is still a way to segfault this although you may have to do this
13651 multiple times: Have an InsetERT with an unknown command in it.
13652 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13653 <down-arrow>, <Enter> again, View->DVI, BANG!
13655 * text2.C (setCursor):
13656 (deleteEmptyParagraphMechanism):
13657 * lyxtext.h (setCursor):
13658 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13659 Making use of the return value may help fix other bugs.
13661 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13663 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13665 * LyXView.C (updateMenubar): call MenuBar::update here
13666 (updateToolbar): but not here
13667 (showState): do not update toolbar/menubar
13669 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13670 should need to care about that.
13672 * lyxfunc.C (verboseDispatch): simplify a bit
13673 (getStatus): have a version which takes a pseudoaction, and
13674 another which requires a (kb_action,string).
13676 * LyXAction.C (retrieveActionArg): make it work also when action
13677 is not a pseudo-action.
13678 (getActionName): simplify a bit
13681 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13683 * lyxfunc.C (verboseDispatch): new families of methods with
13684 several ways to specify a command and a bool to indicate whether
13685 the command name and shortcut should be displayed in minibuffer
13686 (eventually, we could extend that to a finer bitmask like
13687 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13688 (dispatch): the pristine dispatch command which just, well,
13689 dispatchs! Note it still sets its result to minibuffer; I'm not
13692 * lyxfunc.h: remove setHintMessage
13694 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13696 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13698 * BufferView_pimpl.C (specialChar): delete new inset if we have
13699 not been able to insert it.
13701 * kbmap.C: revert to using int instead of kb_action, since all we
13702 are dealing with is pseudo-actions.
13704 * LyXAction.C (searchActionArg): change to return int instead of
13705 kb_action, since the result is a pseudoaction.
13707 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13709 * buffer.C (insertErtContents): Fix (partially) the font bug.
13711 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13713 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13714 as the other one is broken on my machine!
13716 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13719 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13721 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13723 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13724 reflect their actual use. Provide compatibility code for older lyxrc
13727 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13729 change names of popup font variables in line with the changes to lyxrc.C
13731 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13733 * buffer.C (asciiParagraph): avoid outputing a word twice after
13736 * lyxrc.C (getDescription): document that document_path and
13737 template_path can be empty.
13739 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13741 * LaTeXFeatures.C (getMacros):
13742 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13744 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13746 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13748 (getPackages): rename feature "floats" to "float". Use an array to
13749 iterate over 'simple' features (i.e. just a \usepackage). Add
13750 handling of "amsmath" (renamed from "amsstyle").
13752 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13754 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13757 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13759 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13760 FuncStaus::FuncStatus & FuncStaus::some_method().
13762 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13764 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13765 of the func_satus stuff. Edited and massaged in various ways by
13768 * lyxfunc.C (getStatus): use FuncStatus
13770 2002-01-08 Juergen Vigna <jug@sad.it>
13772 * text.C (nextBreakPoint): use function Inset::isChar().
13774 * paragraph.C (TeXOnePar): use function
13775 Inset::forceDefaultParagraphs.
13777 * buffer.C (latexParagraphs): use function
13778 Inset::forceDefaultParagraphs.
13780 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13782 * lyx_gui.C (init): set the style of the menu popups to
13783 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13785 2002-01-07 Juergen Vigna <jug@sad.it>
13787 * text.C (setHeightOfRow): small fix
13788 (prepareToPrint): don't look at alignment if we don't have the place
13791 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13793 * box.C: New file. Move the Box methods and functions out of box.h,
13794 following Lars' suggestion.
13796 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13798 * box.h: #include "support/LOstream.h", needed for inlined function.
13801 * lyxtextclasslist.C: added some using std declarations.
13803 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13805 * box.h: make signed dimensions to allow insets wider than
13806 the screen (bug #162)
13808 * BufferView_pimpl.C: add some insetHit debug
13810 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13812 * vc-backend.C: add FIXME
13814 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13816 * lyxfunc.C (getStatus): enable code for showing math font status
13819 2002-01-07 Juergen Vigna <jug@sad.it>
13821 * text.C (nextBreakPoint): removed debug output not needed anymore.
13823 2002-01-06 Juergen Vigna <jug@sad.it>
13825 * text.C (nextBreakPoint): fixed up this function we had this bug
13826 since ever but now hopefully we break row better.
13827 (insertChar): we have to check if an inset is the next char as it
13828 could now happen that a large inset is causing a break.
13830 2002-01-05 Juergen Vigna <jug@sad.it>
13832 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13833 if it doesn't like to be drawed.
13835 2002-01-04 Juergen Vigna <jug@sad.it>
13837 * BufferView2.C (lockInset): forgot to set a cursor.
13839 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13841 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13843 * FormMathsPanel.C:
13846 * form_maths_panel.C:
13847 * form_maths_panel.h:
13848 * form_maths_panel.fd: implemented sub- and super- buttons in math
13851 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13852 (or ^ space) to be used as in TeX (req'd by André).
13854 * lyxfunc.C: Allow ^ and _ again to be used both as
13855 super/subscript (mathed) and as themselves (in text).
13857 2002-01-03 Allan Rae <rae@lyx.org>
13859 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13860 "LyX" or the filename of the current buffer if it has one. This is a
13861 modified form of John Levon's patch.
13863 * XFormsView.C (setWindowTitle): also set icon title.
13865 * LyXView.h (setWindowTitle): signature changed.
13866 * XFormsView.h (setWindowTitle): ditto.
13868 2002-01-02 Juergen Vigna <jug@sad.it>
13870 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13872 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13874 * screen.C (topCursorVisible): introduce a temp var for
13875 text->cursor.row(), handle the case where this row is null. (kindo
13878 * text2.C (setCursor): add a couple of asserts.
13880 * paragraph.h (inset_iterator): add -> operator
13882 * paragraph.[Ch] (autoDeleteInsets): remove member function
13884 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13885 cursor pos correctly and handle inset deletion by itself.
13886 (insertErrors): move iterator declaration out of for expression
13888 * lyxtextclass.C: add <algorithm>
13890 * Makefile.am: added the new files to sources, removed layout.C
13892 * layout.C: removed file
13894 * layout.h: remove LYX_DUMMY_LAYOUT
13896 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13900 * lyxtextclass.[Ch]:
13901 * lyxtextclasslist.[Ch]: new files
13903 * include order changes to a lot of files, also changes because of
13906 2001-12-27 Juergen Vigna <jug@sad.it>
13908 * buffer.C (asciiParagraph): more fixes.
13910 * tabular.C (ascii): make ascii export support export of only the
13911 data separated by a column-delimiter.
13912 (ascii): better support for ascii export.
13914 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13916 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13918 * tabular_funcs.C: use a "using std::getline" instead of the
13919 previous fix from Angus (necessary for cxx + lyxstring)
13921 2001-12-24 Juergen Vigna <jug@sad.it>
13923 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13925 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13926 problems. First check a minipage also if we have some ert-contents
13927 (not only on par->size(), second set the right depth of the paragraph
13928 on the relink to the root-paragraph-list!
13930 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13931 which then did not anymore update the main paragraphs on undo/redo!
13933 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13935 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13936 code. Support all font-changing funcs (even those which are not in
13937 menu currently). Support for reporting font settings in
13938 mathed (disabled until Andre provides a function on mathed's side).
13940 * func_status.h (toggle): small helper function to set toggle
13943 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13945 * tabular_funcs.C: getline -> std::getline
13947 2001-12-21 Juergen Vigna <jug@sad.it>
13949 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13950 accessed and could be 0 (I couldn't generate this but it seems
13953 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13955 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13956 * tabular_funcs.h: here and include iosfwd
13958 2001-12-20 Juergen Vigna <jug@sad.it>
13960 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13961 inside inset but undo_par was.
13963 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13965 * Thesaurus.C: always include <config.h> in sources.
13969 * box.h: do not include <config.h> in header files
13971 * text.C (paintLastRow): remove unused variable
13973 * text.C (transformChar):
13975 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13977 * Painter.C (text):
13978 * font.C (width): rewrite to use uppercase() instead of
13981 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13983 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13985 * lyxfind.C: clean up of find failure position change
13987 2001-12-20 Juergen Vigna <jug@sad.it>
13989 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13991 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13992 (TeXRow): added to LaTeX a single tabular row.
13993 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13994 (Latex): simplified and finally good LT-h/f support.
13995 (various_functions): just small adaptions for LT-h/f support.
13997 * tabular_funcs.[hC]: added and moved here all not classfunctions
14000 2001-12-19 Juergen Vigna <jug@sad.it>
14002 * tabular.[Ch]: better support for longtabular options (not finished
14005 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14007 * text.C (paintLastRow): use the label font instead of the font of
14008 the last character to compute the size of *_BOX. This makes more
14009 sense and avoids a crash with empty paragraphs.
14010 Use Painter::rectangle to draw EMPTY_BOX.
14012 2001-12-19 Juergen Vigna <jug@sad.it>
14014 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14015 the paragraphs if the replaced paragraph is not the first one!
14016 Tried to delete not used paragraphs but does not work yet so for
14017 now it's inside #ifdef's and by default off!
14019 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14021 * MenuBackend.C: include "lyx_main.h" instead of declaring
14022 lastfiles (actually was declared as LastFiles* instead of a
14025 2001-12-17 Juergen Vigna <jug@sad.it>
14027 * tabular.C (AppendColumn): applied John's fix
14029 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14033 * BufferView_pimpl.h:
14034 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14037 * box.h: new start of class for above
14039 * lyxfunc.C: ignore space-only minibuffer dispatches.
14040 Show the command name when it doesn't exist
14042 * minibuffer.C: don't add empty lines to the history
14044 * minibuffer.C: add a space on dropdown completion
14046 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14048 * text.C: fix line above/below drawing in insets
14050 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14052 * lyxlength.C (LyXLength): Initialize private variables.
14054 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14056 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14057 when inserting error insets.
14059 2001-12-13 Juergen Vigna <jug@sad.it>
14061 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14062 actually sometimes the before-paragraph.
14063 (setUndo): don't clear the redostack if we're not actually undoing!
14065 2001-12-06 Juergen Vigna <jug@sad.it>
14067 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14068 and fixed redoing of main paragraph, so we can use it now ;)
14070 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14072 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14074 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14077 2001-12-13 André Pönitz <poenitz@gmx.net>
14080 * undo_func.C: minor cleanup
14082 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14084 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14085 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14086 font in urw-fonts package which is marked as -urw-fontspecific and
14087 does not work (incidentally, changing the encoding in the
14088 fonts.dir of this package to -adobe-fontspecific fixes the
14091 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14092 is a crash when undoing first paragraph (Juergen, please take a
14093 look). THis does not mean the undo fix is wrong, just that it
14096 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14097 the (Paragraph*) version when needed instead of duplicating the
14100 * text.C (workWidth): use Inset::parOwner to find out where the
14101 inset has been inserted. This is a huge performance gain for large
14102 documents with lots of insets. If Inset::parOwner is not set, fall
14103 back on the brute force method
14105 * paragraph_pimpl.C (insertInset):
14106 * paragraph.C (Paragraph):
14107 (cutIntoMinibuffer): set parOwner of insets when
14108 inserting/removing them
14110 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14112 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14118 * mathed/formulabase.C:
14119 * mathed/math_cursor.[Ch]:
14120 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14123 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14125 * lyxlength.[Ch] (operator!=): new function
14127 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14129 * text.C (workWidth): use Inset::parOwner to find out where the
14130 inset has been inserted. This is a huge performance gain for large
14131 documents with lots of insets. If Inset::parOwner is not set, fall
14132 back on the brute force method
14134 * paragraph_pimpl.C (insertInset):
14135 * paragraph.C (Paragraph):
14136 (cutIntoMinibuffer): set parOwner of insets when
14137 inserting/removing them
14139 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14141 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14143 * tabular-old.C (getTokenValue):
14144 * tabular.C (getTokenValue):
14145 (write_attribute): new versions for LyXLength
14146 (everywhere): adjust the use of widths
14148 * tabular.h: change the type of widths from string to LyXLength
14150 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14152 * paragraph.C: fixed missing line number count when exporting
14153 Environments to LaTeX file
14155 * buffer.C: added informational message for checking line numbers.
14157 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14159 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14160 paragraph, do the 'double space' part, but not the 'empty
14163 * text.C (workWidth): small optimization
14164 (getLengthMarkerHeight): use minimal size for negative lengths.
14166 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14168 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14170 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14172 2001-12-11 André Pönitz <poenitz@gmx.net>
14175 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14177 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14179 * text2.C: keep selection on a setFont()
14181 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14183 * lyx_cb.C: another bv->text misuse, from insert label
14185 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14188 * kbsequence.C: re-instate nmodifier mask
14190 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14192 * lyx_main.h: make lyxGUI private.
14194 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14196 * lyxfind.C: place the cursor correctly on failed search
14198 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14200 * text.C (getLengthMarkerHeight): for small heights, the arrows
14201 are not always on top/bottom of the text
14202 (drawLengthMarker): smaller arrows; take the left margin in
14203 account; draw also vfills.
14205 (paintLastRow): remove special code for vfill and standard spaces,
14206 since everything is handled in drawLengthMarker now.
14208 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14210 * buffer.C (insertErtContents): try to handle font and language
14211 interaction a bit better.g
14213 * ColorHandler.C (updateColor): change the hash to cover the whole
14214 LColor enum, ws cleanup
14215 (getGCLinepars): ditto
14216 (getGCLinepars): only lookup in the linecache once.
14218 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14220 * iterators.C (operator++): Make the iterator more robust
14222 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14224 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14226 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14229 * text.C: better added space drawing
14231 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14234 * BufferView2.C: fix layout combo update on inset unlock
14236 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14238 * Makefile.am: don't compile unused files
14240 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14244 * LyXAction.C: remove old LFUN_LAYOUTNO
14246 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14248 * paragraph_pimpl.h:
14249 * paragraph_pimpl.C: isTextAt() doesn't need font param
14251 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14254 * lyxlex.C: little cleanup
14256 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14258 * BufferView_pimpl.C: fix insertAscii for insets
14260 2001-12-05 Juergen Vigna <jug@sad.it>
14262 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14263 set the right font on the "multi" paragraph paste!
14265 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14271 * lyxlength.C: remove out-commented code.
14273 * BufferView_pimpl:
14287 * vc-backend.C: change "while(" to "while ("
14289 * lyxlength.[Ch]: add zero function to check if length is zero or
14291 * lyxgluelength.C: use it
14293 2001-12-05 Allan Rae <rae@lyx.org>
14295 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14296 Works for 2.95.3, from what I understand of Garst's reports this should
14297 work for other g++ versions. We're screwed if the abs(int) definition
14298 changed between bugfix releases of gcc.
14300 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14302 * text.C: fix chapter label offset !
14304 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14307 * text.C: fix hfill at end of line, clean up
14309 2001-12-04 Juergen Vigna <jug@sad.it>
14311 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14312 that we force an update of the inset and it's owners if neccessary.
14314 2001-12-03 Juergen Vigna <jug@sad.it>
14316 * text.C (rowLast): simplified code
14318 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14320 * lyxfunc.C: fix show options on timeout
14322 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14324 * screen.C (topCursorVisible): scroll half a page when the cursor
14325 reached top of bottom of screen
14327 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14329 * minibuffer.C: deactivate on loss of focus
14331 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14333 * vspace.[Ch] (operator!=): add operator.
14335 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14337 * BufferView_pimpl.C: refuse to open an inset when
14338 there's a selection.
14340 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14342 * BufferView_pimpl.C: allow to click on RHS of full row insets
14344 2001-11-30 Juergen Vigna <jug@sad.it>
14346 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14347 insets for undo reasons.
14349 2001-11-28 André Pönitz <poenitz@gmx.net>
14351 * vspace.[Ch]: cosmetical changes
14353 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14363 * kbsequence.C: part re-write of old kb code
14366 * WorkArea.C: remove Lgb_bug_find_hack
14368 2001-11-30 José Matos <jamatos@fep.up.pt>
14370 * buffer.C (makeDocBookFile): add a comment to point a hack.
14371 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14372 Fixed a double write of labels.
14374 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14377 * LaTeX.h Fixed bug in LaTeX class where it would not
14378 re-run latex if no depfiles were changed, but the .dvi was removed.
14380 2001-11-28 André Pönitz <poenitz@gmx.net>
14382 * all the files from the change on 2001/11/26:
14383 use lyx::layout_type instead of LyXTextClass::size_type
14384 use lyx::textclass_type instead of LyXTextClassList::size_type
14386 2001-11-29 Juergen Vigna <jug@sad.it>
14388 * text.C: added support for paragraph::isFreeSpacing()
14390 * buffer.C: same as above
14392 * paragraph.h: inserted isFreeSpacing() function to enable
14393 FreeSpacing inside InsetERT.
14395 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14396 of the paragraph's in the cut/copy buffer to 0!
14398 * text2.C (removeRow): remove the assert as it can!
14400 * lyxtext.h: added helper function firstRow returning firstrow and
14401 made firstrow private again.
14403 * BufferView2.C (lockInset): don't relock if we're already locked!
14405 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14406 the only paragraph.
14407 (removeRow): added Assert::(firstrow)
14409 * debug.C: forgot to add INSETTEXT here.
14411 2001-11-28 Juergen Vigna <jug@sad.it>
14413 * sp_spell.C (initialize): changed error text to more general
14414 spellchecker command use (not only ispell!)
14416 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14418 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14420 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14422 * vspace.C: initialise lyxgluelength on failure
14424 2001-11-28 Allan Rae <rae@lyx.org>
14426 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14427 declaration & definition that looks like a function declaration.
14429 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14431 * BufferView2.C (copy):
14432 (copyEnvironment): do not clear the selection when doing a copy.
14434 * text.C (paintFirstRow): compilation fix
14436 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14438 * tabular.C (Latex): correct line count when writing latex.
14440 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14442 * paragraph_pimpl.h:
14443 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14446 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14450 * LColor.C: change vfillline->added_space
14452 * text.C: add markers and text for added space
14454 * vspace.C: fix comment
14456 2001-11-28 André Pönitz <poenitz@gmx.net>
14458 * paragraph.C: whitespace changes
14459 * all the other files from the change on 2001/11/26:
14460 change *::pos_type into lyx::pos_type
14462 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14464 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14465 language of the document when inserting error insets.
14467 2001-11-26 André Pönitz <poenitz@gmx.net>
14469 * BufferView_pimpl.[Ch]:
14477 * paragraph_pimpl.[Ch]:
14480 * text2.C: reduce header dependencies, introduce type for positions
14482 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14484 * <various>: change to use Alert.h
14486 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14488 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14489 when encountering an unknown token.
14490 (readLyXformat2): Show an error message if there were unknown tokens.
14492 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14495 * BufferView_pimpl.C:
14499 * text2.C: use par->isInset()
14501 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14503 * paragraph_pimpl.h:
14504 * paragraph_pimpl.C: cleanup
14506 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14508 * text2.C (removeRow):
14509 * text.C (setHeightOfRow): remove useless (and costly) call to
14512 2001-11-20 Allan Rae <rae@lyx.org>
14514 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14515 Now need Inset*::checkInsertChar() to return true for appropriate
14516 cases so that the characters in the minibuffer will actually be
14519 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14521 * text.C: change the order of the includes.
14522 (workWidth): initialize it at once.
14523 (workWidth): make maxw unsigned
14524 (setHeightOfRow): remove unused variable (inset)
14525 (selectSelectedWord): remove unused variable (inset)
14526 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14528 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14530 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14531 server is not running.
14533 (closeConnection): add debug info when server is disabled.
14535 * ColorHandler.C (getGCForeground): send debug message to GUI
14538 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14540 * kbmap.C (bind): modify because return conventions of
14541 kb_sequence::parse have changed.
14543 * kbsequence.C (parse): only ignore spaces and not any stupid
14544 control character. This avoids tests like s[i] <= ' ', which are
14545 guaranteed to fail with 8bit characters and signed chars.
14546 Change return code to string::npos when there have been no error
14547 (0 was a bad idea when error is at first character)
14549 2001-11-14 José Matos <jamatos@fep.up.pt>
14552 * buffer.C (simpleDocBookOnePar): removed unused argument.
14554 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14556 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14557 insets which are part of a word. Paragraph::isLetter takes care of
14558 that now. Use Paragraph::isInset to identify insets.
14559 (selectSelectedWord): do not test for hyphenation break.
14561 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14562 that protected spaces are considered as spaces.
14564 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14567 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14570 * lyxserver.C: fix it. and small cleanup.
14572 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14574 * BufferView_pimpl.C: use inline helpers
14577 * LaTeXFeatures.C: fix typos
14580 * Spacing.C: move spacing_string into class
14582 * ToolbarDefaults.C: move stuff into namespace anon
14584 * layout.h: update enum
14586 * lyxfunc.C: use better debug
14588 * minibuffer.h: fix typo
14592 * WorkArea.C: add and use Debug::WORKAREA
14596 * text2.C: code re-organisation, inline helpers
14598 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14600 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14601 std::vector.empty().
14603 2001-11-09 Allan Rae <rae@lyx.org>
14605 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14606 '\n's after tables. Tabular and ERT inset work now makes this no
14609 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14612 * minibuffer.C: fix crash, improve drop-down completion
14614 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14617 * lyxserver.C: invalidate fd's when doing endPipe()
14619 2001-11-08 José Matos <jamatos@fep.up.pt>
14621 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14622 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14625 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14627 2001-11-07 José Matos <jamatos@fep.up.pt>
14630 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14633 * buffer.C (sgmlOpenTag):
14634 * buffer.C (sgmlCloseTag): removed debug info.
14636 * buffer.h (sgmlOpenTag):
14637 * buffer.h (sgmlCloseTag): made public.
14639 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14641 * buffer.C (saveParamsAsDefaults):
14642 * lyx_cb.C (MenuLayoutSave): remove
14644 * LyXAction.C (init):
14646 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14648 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14650 * buffer.C (setPaperStuff): removed from here...
14652 * bufferparams.C (setPaperStuff): ... and moved there.
14654 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14658 * XFormsView.C: add support for drop-down completion
14660 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14662 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14665 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14667 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14670 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14672 * lyx_main.C: change ref to known bugs
14674 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14676 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14677 to work around older babel problems.
14679 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14681 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14683 2001-10-24 Juergen Vigna <jug@sad.it>
14685 * tabular-old.C (ReadOld): below variable changes reflected.
14687 * tabular.[Ch]: added ltType struct for longtable header/footer
14688 defines and changed all instances where they are used. Added
14689 future support for double top/bottom rows.
14691 2001-10-24 José Matos <jamatos@fep.up.pt>
14693 * buffer.h (docbookHandleCaption):
14694 * buffer.C (docbookHandleCaption): removed unused function.
14695 (makeDocBookFile): moved docbook supported version to v4.1.
14697 2001-10-24 José Matos <jamatos@fep.up.pt>
14700 * tabular.C (docbookRow): new function to export docbook code of a row.
14701 (DocBook): now honors the longtable flags.
14703 2001-10-23 José Matos <jamatos@fep.up.pt>
14706 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14707 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14709 * buffer.C (makeLinuxDocFile):
14710 (makeDocBookFile): reworked the preamble, more clean, and with
14711 support for lyx defined entities. Changed the document declaration
14712 to be more XML friendly.
14714 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14715 if we need to output XML that should be done with a filter.
14717 2001-10-22 Juergen Vigna <jug@sad.it>
14719 * sp_pspell.h (class PSpell): add alive function needed in the
14720 controller to see if the spellchecker could be started.
14722 2001-10-22 Juergen Vigna <jug@sad.it>
14724 * buffer.C (insertStringAsLines): modify the font for inserting
14725 chars in certain conditions by calling checkInsertChar(font).
14727 2001-10-19 Juergen Vigna <jug@sad.it>
14729 * text.C (workWidth): use getRow instead of wrong algorithm.
14730 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14732 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14737 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14739 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14741 * text.C (workWidth): do not search for the exact row when
14742 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14743 optimization for big documents.
14745 2001-10-18 Juergen Vigna <jug@sad.it>
14747 * text.C (workWidth): new function with added Inset * parameter.
14749 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14751 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14753 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14754 change return type of getColumnNearX.
14757 * text.C (changeRegionCase): use uppercase/lowercase instead of
14760 (rightMargin): simplify code by factoring out the uses of
14765 (appendParagraph): use Paragraph::size_type
14767 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14769 * vspace.C (asLatexString): add a missing break
14771 2001-10-15 Herbert Voss <voss@perce.de>
14773 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14775 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14777 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14780 2001-10-10 André Pönitz <poenitz@gmx.net>
14782 * lyxfunc.C: removed greek_kb_flag.
14784 2001-10-10 Herbert Voss <voss@perce.de>
14786 * lyx_main.C: delete global string help_lyxdir.
14788 2001-10-09 Herbert Voss <voss@perce.de>
14790 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14792 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14794 * lyx_main.C: added global string help_lyxdir.
14796 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14798 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14800 * lyxrc.C (set_font_norm_type): support iso8859-4
14802 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14804 * LaTeX.C (deplog): add another regex for MikTeX
14806 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14808 * lyxrc.C (set_font_norm_type): support iso8859-3
14810 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14812 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14814 * LaTeXFeatures.C: remove special case of french and index
14816 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14817 before \begin{document}). This solves several incompatibilities.
14819 2001-10-03 Garst Reese <reese@isn.net>
14821 * lyx_cb.C: change CheckTex error msg.
14823 2001-10-03 José Matos <jamatos@fep.up.pt>
14825 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14827 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14829 * .cvsignore: update
14831 * lyx_main.C (commandLineVersionInfo): use new style version info.
14833 * buffer.C (writeFile):
14835 (makeLinuxDocFile):
14836 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14838 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14840 * version.h: update to use stuff in version.C
14842 * version.C.in: new file. Contains version information determined
14843 at compile time. This is a merging of version.h and
14846 2001-10-03 Juergen Vigna <jug@sad.it>
14848 * BufferView_pimpl.C (update): don't change "dirty" status in
14851 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14853 * WorkArea.C (c-tor): re-position version string slightly.
14855 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14857 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14858 revert to previous code.
14860 WorkArea.[Ch]: (show, destroySplash): methods removed.
14862 WorkArea.C: rework code so that it's an amalgam of the codes before and
14863 after the splash screen was moved to WorkArea.
14865 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14868 * vspace.C (inPixels):
14871 * buffer.C (insertStringAsLines):
14872 (asciiParagraph): fix types to be large enough
14874 * lyxlex_pimpl.h: change member status from short to int
14876 * layout.h: fix type of endlabeltype
14879 * kbsequence.C (parse): change return type to string::size_type
14881 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14884 * Bullet.C (bulletSize):
14885 (bulletEntry): do not use short ints as parameters
14887 * BufferView2.C (insertLyXFile): change a char to an int.
14889 * WorkArea.C (WorkArea): remove unneeded floats in computation
14891 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14893 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14895 * paragraph.C (asString): Do not ignore newline/hfill chars when
14896 copying to the clipboard.
14898 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14900 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14901 after a multi-line inset.
14903 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14905 * paragraph.C (validate): Set NeedLyXFootnoteCode
14907 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14909 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14910 and decrease-error to decrease.
14912 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14914 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14915 it more readable (should be equivalent)
14917 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14919 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14921 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14923 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14924 of a cursor (row, etc.) after a character has been deleted
14925 (deleteEmptyParagraphMechanism): call the method above on _all_
14926 cursors held by the LyXText when a double space has been
14929 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14931 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14933 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14935 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14936 background. Use greyOut() and the new show() methods to toggle between
14937 the foreground and background. Add code to remove the splash after
14938 its initial showing.
14940 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14941 (create_forms): no longer call Dialogs::showSplash.
14943 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14945 * .cvsignore: add version_info.h
14947 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14949 * version_info.h.in: new file
14951 * Makefile.am: add version_info.h.in
14953 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14954 version_info.h instead of VERSION_INFO
14956 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14958 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14959 The ERT inset now returns string().
14961 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14963 * lyxtext.h, text.C (selectNextWord): renamed as
14964 selectNextWordToSpellcheck.
14966 * text.C (selectNextWordToSpellcheck): Modified to not select
14967 words inside an ERT inset.
14969 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14971 * lyx_cb.C (MenuLayoutSave): change a bit the question
14973 * sp_base.h: include <sys/types.h>
14975 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14977 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14979 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14981 * several files: fix typos in user-visible strings
14983 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14985 * text2.C (pasteSelection): do not set the selection, since it
14986 will be cleared later. Actually, the intent was to fix the way the
14987 selection was set, but I figured rmoving the code was just as good.
14989 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14991 * FontLoader.C (available): Check if font is available without
14994 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14996 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14998 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15000 * lyxrc.[Ch]: added display_graphics variable and associated code.
15002 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15004 * bufferparams.C (hasClassDefaults): new method. Returns true if
15005 the buffer parameters correspond to known class defaults
15007 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15009 * XFormsView.C (show): set minimum size to the main window.
15011 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15013 * text2.C (copySelection):
15015 * lyxfind.C (LyXReplace):
15016 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15017 LyXText::selectionAsString.
15019 * paragraph.C (asString): add "label" argument to the second form
15021 * text2.C (selectionAsString): add "label" argument and pass it to
15022 Paragraph::asString.
15024 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15026 * lyx_main.C (commandLineHelp): remove version information
15028 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15030 * lyx_main.C: add -version commandline option
15032 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15034 * paragraph.h: make the optional constructor arg required instead.
15035 some modifications to other files because of this.
15037 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15039 * lyxserver.C (C_LyXComm_callback): make it static
15041 * lyx_main.C (error_handler): make it static
15043 * lyx_gui.C (LyX_XErrHandler): make it static
15045 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15047 * WorkArea.C: make the extern "C" methods static.
15049 * Makefile.am (lyx_LDADD): simplify
15051 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15053 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15054 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15056 * LyXAction.C (init):
15057 * lyxfunc.C (dispatch): associated code removal.
15059 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15061 * lyxfont.h (isSymbolFont): shut off warning
15063 * text.C (setHeightOfRow):
15064 (getVisibleRow): fix crash with empty paragraphs which have a
15067 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15069 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15072 2001-09-04 José Matos <jamatos@fep.up.pt>
15075 * tabular.C (docbook): rename docBook method to docbook.
15077 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15079 * Makefile.am: add dependencies to main.o.
15081 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15083 * FontLoader.C (available): Return false if !lyxrc.use_gui
15085 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15087 * FontInfo.C (query):
15088 * converter.C (view):
15089 * importer.C (Import):
15090 * exporter.C (Export): Can not -> cannot.
15092 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15094 * BufferView_pimpl.C: allow to create index inset even if
15097 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15099 * buffer.C (getLists): replace boost::tie code with an explicit pair
15100 as boost::tie can break some compilers.
15102 * iterators.h: Added a std:: declaration to the return type of
15105 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15107 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15110 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15112 * iterators.[Ch]: New files. Provide paragraph iterators.
15114 * buffer.C (changeLanguage): Use paragraph iterators.
15115 (isMultiLingual): ditto
15117 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15119 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15121 * FontLoader.C: Support for cmr font.
15123 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15125 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15126 (available): New method.
15128 * FontInfo.C (getFontname): Use scalable fonts even when
15129 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15132 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15134 * converter.C (Formats::view): reverted! Incorrect fix.
15136 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15138 * converter.C (Formats::view): only output the -paper option
15139 if the dvi viewer is xdvi, thereby fixing bug #233429.
15141 2001-08-23 Herbert Voss <voss@perce>
15143 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15145 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15147 * Spacing.h (Spacing): Set space to Default on in the default
15150 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15152 * vc-backend.h (RCS::versionString): add RCS to version
15153 (CVS::versionString): add CVS to version
15155 * vc-backend.C (scanMaster): do not add CVS to version.
15156 (scanMaster): do not add RCS to version
15158 * lyxvc.C (versionString): new method
15160 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15162 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15164 * Spacing.C (set): initialize fval
15166 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15168 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15171 2001-08-16 Juergen Vigna <jug@sad.it>
15173 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15175 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15177 * BufferView_pimpl.C:
15180 * text2.C: setParagraph takes linespacing now
15182 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15184 * LyxAction.C: add internal LFUN_CITATION_INSERT
15186 * LyXView.C: actually apply fix
15188 * bufferlist.C: fix open non-existent file
15190 * lyxfind.C: fix indentation
15192 * lyxfunc.C: remove unneeded assert, fix typo
15194 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15196 * MenuBackend.C: use "Floatname List"
15198 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15200 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15201 when converting LaTeX layout to insetERT.
15202 Generate a non-collapsed float when reading old float
15204 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15206 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15209 2001-08-13 Juergen Vigna <jug@sad.it>
15211 * text.C (fill): return 0 instead of 20 as this seems to be the more
15214 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15216 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15219 2001-08-13 Juergen Vigna <jug@sad.it>
15221 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15223 (SearchBackward): comment out the unlocking of the inset_owner this
15224 should not be needed!
15226 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15228 * Many files: Remove inherit_language, and add latex_language
15230 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15231 collapsible insets.
15233 2001-08-10 Juergen Vigna <jug@sad.it>
15235 * text.C (prepareToPrint): fixed hfill-width in draw!
15237 * BufferView2.C (selectLastWord): save the selection cursor as this
15238 now is cleared in the function LyXText::clearSelection!
15240 2001-08-08 Juergen Vigna <jug@sad.it>
15242 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15243 BACKSPACE type functions.
15245 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15246 is only cutted from the document but not put in the cut-buffer, where
15247 still the old stuff should be.
15249 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15251 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15253 * tabular.C (SetWidthOfCell): fixed special case where the width
15255 (LeftLine): handle '|' in align_special.
15257 (LeftAlreadyDrawed): ditto
15258 (SetWidthOfCell): ditto
15260 2001-08-07 Juergen Vigna <jug@sad.it>
15262 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15264 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15266 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15267 * lyxlex.[hC]: ditto
15269 2001-08-06 Juergen Vigna <jug@sad.it>
15271 * text.C (getVisibleRow): fix up row clearing a bit.
15273 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15275 * minibuffer.C: make sure the X server sees the changes in the input.
15277 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15279 * paragraph.C (getFont): split into...
15280 (getLabelFont): this
15281 (getLayoutFont): and this
15282 * paragraph_pimpl.C (realizeFont): calling this
15284 * text2.C (getFont): split into...
15285 (getLayoutFont): this
15286 (getLabelFont): and this
15287 (realizeFont): all three calling this
15289 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15292 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15294 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15296 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15298 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15299 layouts from the Quote inset insertion.
15301 2001-08-03 Juergen Vigna <jug@sad.it>
15303 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15305 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15306 only if status not is already CHANGED_IN_DRAW (second level).
15308 * text.C (draw): don't set the need_break_row when inside an
15311 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15313 * buffer.C (parseSingleLyXformat2Token): handle more latex
15316 * bufferview_funcs.[hC]: change function names to
15317 begin with small char, adjust other files.
15319 2001-08-02 André Pönitz <poenitz@gmx.net>
15322 BufferView_pimpl.C: remove broken special code for math-greek
15324 2001-08-02 Juergen Vigna <jug@sad.it>
15326 * BufferView_pimpl.C (update): redone this function so that we
15327 update the text again if there was a CHANGE_IN_DRAW.
15329 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15330 (drawFromTo): added a new internal bool which is used by draw() and
15332 (general): some cursor drawing problems fixed.
15334 2001-08-01 Juergen Vigna <jug@sad.it>
15336 * lyxfind.C (LyXFind): fixed
15337 (SearchForward): ditto
15338 (SearchBackward): ditto
15340 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15341 spurius drawing of the cursor in the main area.
15343 * text2.C (status): small fix which could lead to a segfault!
15344 (clearSelection): remove unneeded BufferView param.
15346 2001-08-01 André Pönitz <poenitz@gmx.net>
15348 * lyxfunc.C: small change due to changed mathed interface
15350 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15354 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15356 * lyxfunc.c: fail gracefully if file doesn't exist
15361 * BufferView_pimpl.C: IsDirWriteable() proto changed
15363 * LyXView.C: fix updateWindowTitle() to store the last title
15365 2001-07-31 Juergen Vigna <jug@sad.it>
15367 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15368 the font (wrong since using of Paragraph::highestFontInRange).
15370 * paragraph.C (highestFontInRange): added a default_size parameter.
15372 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15373 (setHeightOfRow): reformat
15375 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15377 * converter.[hC] + affected files: move to (inital-char)lowercase
15380 * ParagraphParameters.C (ParagraphParameters): remove commented code
15382 * PainterBase.[Ch]: remove commented code
15384 * LaTeXFeatures.h: add "bool floats" for float.sty
15386 * LaTeXFeatures.C (LaTeXFeatures): init floats
15387 (require): handle float
15388 (getPackages): do it with floats
15390 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15392 * BufferView_pimpl.C (Dispatch): improve handling of
15393 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15395 * commandtags.h: #include lyxfont.h here temporarily to avoid
15398 * bufferlist.h: include LString.h here.
15400 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15402 * text2.C (getStringToIndex): new method.
15404 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15406 * *: Reduced header file dependencies all over.
15408 2001-07-30 Baruch Even <baruch@lyx.org>
15410 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15412 2001-07-29 Baruch Even <baruch@lyx.org>
15414 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15416 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15418 * ParameterStruct.h (endif): add a default constructor to make
15419 sure that all variables is initialized.
15421 * ParagraphParameters.C (ParagraphParameters): adjust
15423 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15425 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15426 index; also, check that there is something to index, and that it
15427 does not span over several paragraphs.
15428 (doubleClick): use WHOLE_WORD_STRICT for double click.
15430 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15432 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15435 2001-07-26 Baruch Even <baruch@lyx.org>
15437 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15438 an InsetFig figure, backwards compatible reading of old figure code.
15440 2001-07-27 Juergen Vigna <jug@sad.it>
15442 * text2.C: font.realize function adaption.
15444 * text.C (draw): add a warnings lyxerr text if needed.
15446 * layout.C: font.realize function adaption.
15448 * language.C: add inherit_language and implement it's handlings
15450 * bufferview_funcs.C (StyleReset): remove language parameter from
15451 font creation (should be language_inherit now).
15453 * bufferparams.C (writeFile): handle ignore_language.
15455 * paragraph.C (getFontSettings): the language has to be resolved
15456 otherwise we have problems in LyXFont!
15458 * lyxfont.C (lyxWriteChanges): added document_language parameter
15459 (update): removed unneeded language parameter
15461 * paragraph.C (validate): fixed wrong output of color-package when
15462 using interface colors for certain fonts in certain environments,
15463 which should not seen as that on the final output.
15465 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15467 * BufferView_pimpl.C:
15472 * LyXAction.C: add thesaurus support
15475 * lyxfind.C: add "once" parameter, for thesaurus, to not
15476 move to the next match
15478 2001-07-26 Juergen Vigna <jug@sad.it>
15480 * lyxfont.C (realize): honor ignore_language too!
15483 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15485 * text.C (draw): one place more for ignore_language to not draw
15488 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15490 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15492 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15494 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15495 the minipage conversion problem.
15497 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15499 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15502 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15504 * BufferView.h: don't forward declare WorkArea
15506 * BufferView.C: don't include WorkArea.h
15508 2001-07-25 André Pönitz <poenitz@gmx.net>
15512 * lyxfunc.C: new LFUN 'math-space'
15514 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15516 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15518 * text2.C (toggleInset): call open/close
15520 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15522 * lyxfunc.C (dispatch): add debug for the disabled case
15524 * font.C (buttonText): make similar to rectText
15526 * buffer.C (readInset): comment out parsing of insetlist and
15529 * PainterBase.C (rectText): small correction
15531 * BufferView_pimpl.C: comment out insettheorem and insetlist
15532 * LyXAction.C: ditto
15533 * commandtags.h: ditto
15535 2001-07-24 Juergen Vigna <jug@sad.it>
15537 * text.C (draw): honor the ignore_language.
15539 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15541 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15543 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15546 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15548 * lyxtext.h: remove unused (and unimplemented) methods
15550 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15552 * text.C (getVisibleRow): honor background color
15555 * Painter.h: remove default color argument for fillRectangle
15557 * text.C (backgroundColor): new method
15559 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15561 * text.C (getVisibleRow): adjust
15563 * font.[Ch] (rectText): new method, metrics
15564 (buttonText): new method, metrics
15566 * PainterBase.[hC]: make rectText and buttonText always draw and take
15569 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15571 * ToolbarDefaults.C (read):
15572 * MenuBackend.C (read): allow escaping in all strings
15574 * BufferView_pimpl.C (insertAndEditInset): new method.
15575 (Dispatch): use insertAndEditInset whenever appropriate.
15577 * BufferView_pimpl.C (insertNote): removed
15579 * BufferView_pimpl.C (smartQuote): new method, moved from
15580 BufferView; if an insetquote cannot be inserted, insert a '"'
15583 * BufferView2.C: remove insertCorrectQuote();
15585 * lyxfunc.C (getStatus): Add support for all remaingin
15586 inset-insert lfuns.
15588 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15590 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15591 command (necessary to pass " as parameter of self-insert.
15593 * text.C (selectWordWhenUnderCursor):
15594 (selectWord): add word_location parameter
15595 (selectWordWhenUnderCursor): same + remove special code for word
15597 (selectNextWord): use kind() to guess type of insetspecialchar,
15600 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15601 (insertErtContents): create ert insets as collapsed.
15602 (readInset): better compatibility code for Info inset.
15604 2001-07-20 Juergen Vigna <jug@sad.it>
15606 * lyxfunc.C (dispatch): use always LyXFind now!
15608 * text2.C (init): add a reinit flag so that the LyXText can be
15609 reinited instead of deleted and reallocated (used in InsetText).
15611 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15617 2001-07-18 Juergen Vigna <jug@sad.it>
15619 * text.C (selectNextWord): handle insets inside inset by calling
15620 always the bv->text functions so that we can go up the_locking_inset!
15622 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15623 in strange locations when inside an inset!
15625 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15626 handling to include insets.
15628 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15630 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15632 * LyXAction.C (init):
15634 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15635 LIGATURE_BREAK, since the name is so stupid.
15637 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15639 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15642 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15644 * sp_form.[Ch]: remove.
15646 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15648 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15651 * src/buffer.C (readInset): ditto.
15653 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15655 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15656 menuSeparator(), endOfSentenceDot(), ldots() and
15657 hyphenationPoint(), which are therefore removed.
15658 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15660 * LyXAction.C (init):
15661 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15663 * paragraph.C (getWord): removed.
15665 * BufferView_pimpl.C (Dispatch): use last word or selection for
15666 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15668 * lyx_main.C (queryUserLyXDir): do not ask before creating
15669 user_dir, except if it has been named explicitely.
15671 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15673 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15674 a document of zero size.
15676 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15678 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15679 approriately in the c-tor and in require().
15680 (getPackages): output the appropriate LaTeX for natbib support.
15682 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15683 variables "use_natbib" and "use_numerical_citations" when reading the
15685 (readInset): read the various natbib cite commands.
15686 (validate): white-space change.
15688 * bufferparams.[Ch]: new variables "bool use_natbib" and
15689 "bool use_numerical_citations".
15690 (writeFile): output them in the LyX file.
15692 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15694 * lyxfunc.C (getStatus): add support for all the inset insertion
15697 * text2.C (insertInset):
15698 * paragraph.C (insetAllowed):
15699 * BufferView_pimpl.C (insertInset): update to take in account the
15700 renaming of insertInsetAllowed
15702 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15704 * text2.C (getInset): new method. returns inset at cursor position.
15706 * BufferView_pimpl.C (Dispatch): changes because of this.
15708 * LyXAction.C (init): rename open-stuff to inset-toggle.
15710 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15712 * text2.C (toggleInset): renamed from openStuff; use
15715 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15717 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15719 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15721 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15723 * buffer.C (readLyXformat2): Add filename to the error dialog
15725 2001-07-18 Juergen Vigna <jug@sad.it>
15727 * tabular.C (GetCellNumber): put an assert here instead of the check!
15729 2001-07-17 Juergen Vigna <jug@sad.it>
15731 * BufferView_pimpl.C (toggleSelection): adapted too.
15733 * text.C (selectNextWord): adapted for use with insets.
15734 (selectSelectedWord): ditto
15736 2001-07-17 Juergen Vigna <jug@sad.it>
15738 * sp_spell.C (PSpell): fix initialitation order.
15740 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15742 * paragraph.C: spacing
15744 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15746 * sp_spell.C: repair language selection for pspell
15748 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15750 * lyxfunc.h: change more methods to begin with lower char.
15752 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15754 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15755 for unknown layouts.
15757 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15759 * buffer.C (readLyXformat2): Generate an error dialog if there are
15762 2001-07-16 Juergen Vigna <jug@sad.it>
15764 * sp_spell.C: always compile ISpell part.
15766 * lyxrc.C: added use_pspell entry and it's handling.
15768 2001-07-13 Juergen Vigna <jug@sad.it>
15770 * sp_spell.C: removed double includes.
15772 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15774 Consistent use of Lsstream.h:
15775 * Lsstream.h: added using std::stringstream for consistencies sake.
15777 * buffer.C: removed using std::stringstream
15779 * lyxfont.C (stateText):
15780 * paragraph.C (asString):
15781 * text.C (selectNextWord, selectSelectedWord):
15782 * text2.C (setCounter):
15783 * vspace.C (asString, asLatexString):
15784 std::ostringstream -> ostringstream.
15786 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15788 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15789 * commandtags.h: add LFUN_HELP_ABOUTLYX
15790 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15792 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15794 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15796 * lyx_gui_misc.C: remove spellchecker
15797 * lyxfunc.C: showSpellchecker
15799 * sp_ispell.h: added
15800 * sp_pspell.h: added
15801 * sp_spell.C: added
15802 * sp_form.[Ch]: removed
15803 * spellchecker.[Ch]: removed
15805 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15807 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15809 (simpleTeXSpecialChars): Simply print the input character without
15810 any special translation if pass_thru is set.
15812 * layout.h: Added bool pass_thru to layout class for being able to
15813 implement pass through of a paragraph for Literate Programming.
15815 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15816 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15817 * layout.C (Read): add "passthru" to list of layout tags and add
15818 code to set the pass_thru boolean when it is read.
15820 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15822 * trans_decl.h: remove allowed from KmodInfo
15824 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15825 remove allowed code
15828 * paragraph_pimpl.C (erase): use boost::prior
15830 * Painter.C (text): use data() instead of c_str() when length is
15832 * WorkArea.C (putClipboard): ditto
15833 * font.h (width): ditto
15835 * BufferView2.C: use it-> instead of (*it). for iterators
15837 * paragraph_pimpl.C: ditto
15838 * paragraph.C: ditto
15839 * minibuffer.C: ditto
15840 * language.C: ditto
15842 * encoding.C: ditto
15843 * counters.C: ditto
15844 * converter.C: ditto
15846 * Variables.C: ditto
15847 * TextCache.C: ditto
15848 * MenuBackend.C: ditto
15849 * LyXAction.C: ditto
15851 * FloatList.C: ditto
15852 * DepTable.C: ditto
15853 * ColorHandler.C (LyXColorHandler): ditto
15855 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15857 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15859 * text2.C (openStuff): reintroduce this method (which had been
15860 nuked in NEW_INSETS frenzy).
15862 * lyxfunc.C (Dispatch): when an action has not been handled, use
15863 its name in the error message, not its number.
15865 * paragraph.C (inInset): change method name to begin with lowercase.
15868 * text2.C: updates because of this.
15870 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15872 * ToolbarDefaults.C (add): add spaces in error message
15874 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15876 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15877 (readLyXformat2): rename return_par to first_par, use lyxlex's
15878 pushToken and remove the manual push handling.
15879 (parseSingleLyXformat2Token): add another ert comp. variable:
15880 in_tabular, rename return_par to first_par. handle newlines better
15882 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15884 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15886 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15888 * text2.C (getParFromID): removed
15890 * buffer.C (getParFromID): new method moved form lyxtext.
15891 * BufferView2.C (insertErrors): adjust
15892 (setCursorFromRow): adjust
15893 * BufferView_pimpl.C (restorePosition): adjust
15894 * lyxfunc.C (Dispatch): adjust
15895 * undo_funcs.C (textUndo): adjust
15897 (textHandleUndo): adjust
15898 (textHandleUndo): adjust
15900 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15902 * buffer.C: up' the LYX_FORMAT
15904 * lyxfont.h: turn NO_LATEX on as default
15906 * buffer.C (insertErtContents): new methods of tex style compability.
15907 (parseSingleLyXformat2Token): use it several places.
15908 * tabular.C (OldFormatRead): and here
15910 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15912 * text2.C: remove some commented code.
15915 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15916 * trans.C: changes because of the above.
15918 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15920 * text2.C (setCounter): Fix counters bug with bibliography layout.
15922 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15924 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15925 own member functions
15926 (simpleTeXSpecialChars): ditto
15928 2001-07-06 Juergen Vigna <jug@sad.it>
15930 * a lot of files: changed the access to LyXText::status and the
15931 call of undo-functions.
15933 * undo.[Ch]: added a inset_id to the undo informations.
15935 * undo_funcs.[Ch]: added and moved here all undo functions.
15937 * lyxtext.h: give the status enum a weight, made status_ a private
15938 variable and made accessor functions for it, removed the whole bunch
15939 of undo-functions as they are now in their own file, make some
15940 functions publically available. Added function ownerParagraph with
15943 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15944 made InInset() a const function, added getParFromID() function.
15946 * buffer.[Ch]: added const version for inset_iterator functions,
15947 added getInsetFromID() function.
15949 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15950 changed undo functions for new version.
15952 2001-07-05 Juergen Vigna <jug@sad.it>
15954 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15955 unknow mechanism does not call the proper constructor but only this
15956 one also if I request the other!?
15958 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15960 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15962 * text2.C (LyXText): use initialization lists.
15964 * lyxtext.h (Selection): initialize set_ and mark_
15965 (init): remove method
15967 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15969 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15971 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15973 * screen.[Ch]: change method names to begin with lowercase
15975 * BufferView_pimpl.C (updateScrollbar): simplify further and
15976 hopefully make it a bit faster.
15978 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15980 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15981 calling directly xforms functions.
15983 * Painter.C (Painter):
15984 * lyx_cb.C (MenuWrite):
15985 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15988 * lyx_gui.C: remove bogus guiruntime extern declaration.
15990 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15992 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15994 (redoDrawingOfParagraph): ditto
15995 (redoParagraphs): ditto
15996 (cutSelection): don't create a object for CutAndPaste use the
15997 static method directly
15998 (pasteSelection): ditto
16000 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16003 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16005 * modifications to some other files because of this.
16007 * Makefile.am (lyx_SOURCES): add XFormsView
16009 * XFormsView.[Ch]: new files
16011 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16012 the main window. Move the gui dependent stuff to XFormsView
16014 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16016 * tabular.C (GetCellInset): update cur_cell also in the row/col
16017 version of this function.
16019 * lyxfunc.C: no need to include figure_form.h here.
16025 * lyxvc.C: no need to include forms.h here.
16027 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16029 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16031 * lyxfunc.C (Dispatch):
16033 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16034 constructor argument.
16036 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16038 * paragraph.C (Paragraph): dont't clear, and just set layout.
16039 (makeSameLayout): use params's copy contructor.
16041 * ParagraphParameters.[Ch] (makeSame): delete method
16043 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16045 * Variables.[Ch]: fix indentation, rename set to isSet
16047 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16049 * lyxfunc.C (Dispatch): fix typo
16051 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16053 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16056 * bufferlist.C: include assert.h for emergencyWrite().
16058 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16060 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16061 give up at last (bug #425202) !
16063 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16069 * spellchecker.C: strip spellchecker options and bring up
16070 preferences tab instead
16072 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16074 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16075 the istringstream constructor
16077 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16079 * paragraph.C (getLayout): fix return value
16081 * paragraph.h: do not declare getLayout as inline.
16083 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16085 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16087 * lyxcursor.h (operator<): new func
16088 (operator>): new func
16089 (operator>=): new func
16090 (operator<=): new func
16092 * text.C (changeCase): use selection.start and selection.end
16093 (changeRegionCase): require from to be <= to. Require par to be a
16096 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16098 2001-06-27 Juergen Vigna <jug@sad.it>
16100 * text.C (cursorLeftOneWord): changed to return the cursor and added
16101 overlay with BufferView * parameter which calls this one.
16103 (selectWord): use new getWord function.
16104 (changeCase): renamed from changeWordCase as and extended to work
16105 also on selections.
16107 * lyxtext.h: added enum word_location
16109 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16110 changeCase as this operates now also on selections.
16112 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16114 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16116 * many files: send debug output to Debug::INFO instead of
16119 * converter.C (View):
16121 (Move): send debug output to Debug::FILES instead of console.
16123 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16125 * lyxfunc.C (getStatus): use func_status
16127 * func_status.h: new header, describing the results of
16128 LyXFunc::getStatus;
16130 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16133 2001-06-25 The LyX Project <jug@sad.it>
16135 * buffer.C (sgmlOpenTag):
16137 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16139 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16141 * text2.C: remove some dead code
16143 * tabular.C (GetCellInset): store the last cell checked (gotten)
16145 * tabular.h: add the helper for the speedup
16147 * lyxtext.h: remove some dead code
16149 2001-06-26 The LyX Project <Asger>
16151 * paragraph.C: Change export to LaTeX of alignment to
16152 \begin{center} and family for better roundtrip work with reLyX.
16154 * Tune the math drawing a bit.
16156 2001-06-25 The LyX Project <Asger>
16158 * LColor.C (LColor): New color for math background. New color
16161 2001-06-25 The LyX Project <jug@sad.it>
16163 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16165 * lyxfunc.C (Open):
16166 * bufferlist.C (newFile): do not restrict to files ending with
16169 * BufferView_pimpl.C (MenuInsertLyXFile):
16171 2001-06-24 The LyX Project <jug@sad.it>
16173 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16176 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16178 * lyxtext.h: rename most methods to begin with a small char.
16179 Lots of changes because of this.
16181 * paragraph.C (Paragraph): do not call fitToSize
16182 (erase): call Pimpl::erase
16183 (insertChar): call Pimpl::insertChar
16184 (insertInset): call Pipl::insertInset
16185 (breakParagraph): do not call fitToSize
16186 (breakParagraphConservative): do not call fitToSize
16187 (fitToSize): remove method
16189 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16191 2001-06-24 The LyX Project <Asger>
16193 * Fix Qt compilation^2
16195 2001-06-24 The LyX Project <jug@sad.it>
16197 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16198 depthHook(getDepth()-1).
16201 * ParagraphParameters.h:
16202 * ParameterStruct.h: change type of depth to unsigned int ==
16203 depth_type. Many adaptations to other files before of that.
16205 2001-06-24 The LyX Project <Asger>
16207 * Fix Qt compilation.
16209 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16211 * paragraph.h: renamed several methods to begin with small letter.
16212 several changes to many parts of the code because of this.
16214 2001-06-23 The LyX Project <jug@sad.it>
16216 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16217 rewritten to discard all double spaces when KeepEmpty is off
16218 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16219 to only handle newlines but not fiddle with spaces and friends.
16221 * lyxfunc.C (MenuNew): when doing 'new from template', use
16222 template_path as default directory
16224 2001-06-23 The LyX Project <Asger>
16226 * Clean-up of header file includes all over
16227 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16229 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16231 * paragraph.h: renamed from lyxparagraph.h
16233 2001-06-23 Asger <lyx@violet.home.sad.it>
16235 * Buffer.h: Removed Buffer::resize
16236 * BufferList.h: Removed BufferList::resize
16237 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16238 the document lazily when we change the width, or the font settings.
16240 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16242 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16244 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16246 * buffer.h: remove out of date comment
16248 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16251 * screen.C: fix "theoretical" GC leak
16253 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16255 * LaTeX.C (scanAuxFile):
16256 (deplog): remove trailing \r when reading stream (useful under
16259 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16261 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16262 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16263 and BufferView::theLockingInset(Inset*), so should use them and not
16264 access bv_->text->the_locking_inset directly.
16266 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16268 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16271 * tex-defs.h: remove old unused file
16273 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16275 * BufferView_pimpl.C: fix typo, remove minibuffer message
16276 when buffer has loaded
16278 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16280 * lyxfunc.C (Dispatch): use stringstream
16281 (MenuNew): use stringstream
16282 (Open): use stringstream
16284 * importer.C (Import): use stringstream
16286 * bufferview_funcs.C (CurrentState): use stringstream
16288 * LaTeX.C (run): use stringstream
16290 * BufferView_pimpl.C (savePosition): use stringstream
16291 (restorePosition): use stringstream
16292 (MenuInsertLyXFile): use stringstream
16294 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16307 * vspace.C: removed // -*- C++ -*- as first line.
16310 * version.h: added // -*- C++ -*- as first line.
16312 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16314 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16316 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16319 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16321 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16324 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16326 * gettext.C: include LString.h even when --disable-nls is on.
16328 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16330 * converter.h (Get): changed argument type from int to
16331 FormatList::size_type to avoid unnecessary conversion.
16333 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16336 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16338 * gettext.h: include LString.h even when --disable-nls is on.
16340 2001-06-07 Juergen Vigna <jug@sad.it>
16342 * text.C (BreakAgain): subst spaces with tabs.
16344 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16345 (resizeInsetsLyXText): set force on resizeLyXText.
16347 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16349 * gettext.h (gettext_init):
16350 (locale_init): use a real definition instead of a macro
16352 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16354 * Bufferview_pimpl.C:
16356 * LColor.C: further lcolor tidies
16358 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16360 * BufferView_pimpl.C (updateScrollbar): simplify.
16362 * BufferView2.C: don't include insets/insetinfo.h, change
16363 prototype for insertInset and call the Pimpl version. let
16364 updateInset call Pimpl version.
16366 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16367 gotoInset to BufferView::Pimpl
16369 2001-06-01 Juergen Vigna <jug@sad.it>
16371 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16372 inside a LockingInset (is the update needed at all?).
16374 2001-05-31 Juergen Vigna <jug@sad.it>
16376 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16377 here not the old one otherwise how should we compare it afterwards
16380 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16385 * FontInfo.C: bring C functions into global namespace when
16388 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16390 * LString.h: make sure config.h has been loaded before LString.h.
16392 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16393 (one for each char read by EatLine!).
16395 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16398 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16400 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16401 to the same as the par we break from
16403 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16405 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16407 * MenuBackend.C (expand): also create menu entries for wide
16408 versions of the floats.
16410 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16412 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16414 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16415 frontends/Makefile.am
16421 * tabular.C (getTokenValue): add std::
16423 * tabular-old.C (getTokenValue): add std::
16424 (getTokenValue): ditto
16425 (getTokenValue): ditto
16427 * screen.C (ToggleSelection): adjust
16429 * lyxtext.h: put selection cursors inside a Selection struct.
16431 * lyxfunc.C (moveCursorUpdate): adjust
16433 * lyxfont.C (latexWriteStartChanges): add std::
16435 * lyxfind.C: adjust
16437 * font.h: delete with(char const *, LyXFont const &)
16439 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16441 * FontInfo.C (getFontname): add std::
16443 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16444 (workAreaButtonPress): adjust
16445 (tripleClick): adjust
16447 (moveCursorUpdate): adjust
16450 * BufferView2.C (gotoInset): adjust
16452 2001-05-30 Juergen Vigna <jug@sad.it>
16454 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16455 to check pspell I add this as default as I now have new pspell
16456 libraries and they seem to use this.
16458 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16460 * text2.C (CutSelection): make the cursor valid before the call to
16463 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16465 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16466 relied on 0 terminated strings and other horrors. Bug found due to
16467 the new assert in lyxstring!
16469 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16472 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16474 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16477 * lyxfunc.C (processKeySym): change method of getting to the
16480 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16481 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16482 * BufferView_pimpl.[Ch]: here as private methods.
16484 2001-05-28 Juergen Vigna <jug@sad.it>
16486 * text.C (SetHeightOfRow): added the update() call again as it is
16487 needed to initialize inset dimensions!
16489 2001-05-16 Juergen Vigna <jug@sad.it>
16491 * text2.C (SetCharFont): Add new function with BufferView * and
16492 bool toggleall parameters for setting insets internal fonts.
16493 (SetFont): Freeze the undo as we may change fonts in Insets and
16494 all this change should be inside only one Undo!
16496 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16497 setting font's in insets as for them we have the SetFont function!
16499 2001-05-15 Juergen Vigna <jug@sad.it>
16501 * text2.C (ClearSelection): to be sure we REALLY don't have any
16504 * tabular.C (TeXCellPreamble): fixed the left border problem for
16507 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16509 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16512 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16514 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16515 LFUN_BREAKPARAGRAPH.
16517 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16518 help test to "internal only", similar for LFUN_INSERT_URL
16520 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16521 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16522 auto_region_delete and deadkeys.
16524 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16527 * LColor.C: remove some dead entries, tidy a little
16529 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16531 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16533 (Dispatch): implement LFUN_ESCAPE
16535 * commandtags.h: add LFUN_ESCAPE
16537 * LyXAction.C (init): add entry for LFUN_ESCAPE
16539 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16540 Remove commented code.
16541 (insertNote): moved here
16542 (open_new_inset): moved here
16544 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16547 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16549 * kbmap.C (findbinding): clean it up and make it work correctly.
16551 * lyx_main.C (init): do not pass argc and argv as parameters
16553 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16555 * buffer.C: fix path for OS/2 & Win32
16559 * lyx_main.C: Added os:: class.
16561 * os2_defines.h: update
16563 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16565 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16566 better by trying again with reduced state.
16568 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16570 * lyxrc.C (read): print error about invalid key sequence only when
16571 debugging (because not all latinX keysyms are known to some X
16574 * kbsequence.C (getiso): add a few std:: qualifiers
16575 (getiso): comment out extra return statement.
16577 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16579 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16581 (Dispatch): enhance the accent inset a bit. (not perfect)
16583 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16585 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16587 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16589 * bufferlist.C (emergencyWrite): fix assert() call
16591 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16593 * text.C (InsertChar): Added trivial patch to only send the "you
16594 can not do multiple spaces this way" message once during a
16597 2001-05-08 Baruch Even <baruch@lyx.org>
16599 * Makefile.am: Changed order of libraries to get LyX to link properly
16600 with the gnome frontend.
16602 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16604 * LaTeXFeatures.h: add a std:: qualifier
16606 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16608 * paragraph.C (String): use stringstream
16610 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16612 * paragraph.C (writeFile): remove footflag arg
16614 * buffer.C (makeLaTeXFile): use stringstream
16615 (latexParagraphs): remove footnot gurba
16617 * LaTeXFeatures.C (getPackages): use stringstream
16618 (getMacros): likewise
16619 (getTClassPreamble): likewise
16620 (getFloatDefinitions): new method
16622 * paragraph.C (writeFile): reindent
16625 * WorkArea.h: revert the xpos + etc changes.
16627 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16629 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16631 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16632 (pasteSelection): likewise
16633 * text2.C (CreateUndo): likewise
16635 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16637 * minibuffer.C (peek_event): temporarily reduce the functionality
16638 of the minibuffer (to allow args on lfuns)
16640 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16641 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16643 * buffer.C (readInset): add compability reading of old float
16644 lists, add reading of new style float list.
16645 (readInset): avoid reevaluation of inscmd.getCmdName()
16646 (getLists): reindent
16648 * MenuBackend.C (MenuItem): implement parsing of
16649 md_floatlistinsert and md_floatinsert.
16650 (expand::LastFiles): move initalizaton of iterators out of loop,
16651 avoid reevaluation.
16652 (expand::Documents): introduce typdedef vector<string> Strings,
16654 (expand::ExportFormats): introduce typedef vector<Format const *>
16655 Formats, and use it.
16656 (expand): implement FloatListInsert and FloatInsert.
16658 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16659 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16660 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16662 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16664 (Dispatch::LFUN_FLOAT_LIST): implement
16666 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16668 * LaTeX.C (run): Fix problem with --export code.
16670 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16672 * BufferView.[Ch] (workarea): removed.
16673 (getClipboard) new method; wrapper for workarea()->getClipboard()
16675 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16678 * WorkArea.h (width, height, xpos, ypos): These methods all
16679 returned the dimensions of the work_area sub-area of WorkArea,
16680 resulting in a position error if the WorkArea were resized. Now
16681 return the dimensions of the entire WorkArea.
16683 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16685 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16687 * LaTeX.C (deplog): correct the syntax of regex reg1
16689 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16691 * undo.C: remove !NEW_INSETS cruft
16693 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16695 * text2.C: remove !NEW_INSETS cruft
16697 * text.C: remove !NEW_INSETS cruft
16699 * tabular.C: remove !NEW_INSETS cruft
16701 * spellchecker.C: remove !NEW_INSETS cruft
16703 * lyxtext.h: remove !NEW_INSETS cruft
16705 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16707 * lyxfunc.C: remove !NEW_INSETS cruft
16709 * lyxfind.C: remove !NEW_INSETS cruft
16711 * lyx_cb.C: remove !NEW_INSETS cruft
16713 * figureForm.C: remove !NEW_INSETS cruft
16715 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16717 * buffer.[Ch]: remove !NEW_INSETS cruft
16719 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16721 * CutAndPaste.C: remove !NEW_INSETS cruft
16723 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16725 * BufferView2.C: remove !NEW_INSETS cruft
16727 * BufferView.h: remove !NEW_INSETS cruft
16729 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16731 * Lsstream.h: include LString.h before the sstream headers to
16732 fix problem with gcc 2.95.3 and lyxstring
16734 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16736 * lyx_main.C: add using directives when needed for C functions
16737 declared in std:: namespace.
16739 2001-04-27 Juergen Vigna <jug@sad.it>
16741 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16742 (SetHeightOfRow): comment out the update call should not be needed!
16744 2001-04-13 Juergen Vigna <jug@sad.it>
16746 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16747 (LyXTabular): tried to minimize operator= operations (and realized
16748 hopfully Lars wish).
16750 2001-04-27 Juergen Vigna <jug@sad.it>
16752 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16754 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16756 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16758 * buffer.C (readInset): hack to make listof algorithm work
16760 * BufferView_pimpl.C: hack to make listof algorithm work
16762 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16764 * LyXAction.C: removed all !NEW_INSETS cruft
16765 (init): moved lfun_item in method
16767 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16769 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16771 * BufferView2.C (theLockingInset): white space.
16773 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16775 * minibuffer.C: include <iostream>
16777 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16779 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16781 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16783 * text.[Ch] (TransposeChars): new method
16785 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16787 * call message directly through LyXView instead of through LyXFunc
16788 * BufferView2.C: adjust
16789 * BufferView_pimpl.C: adjust
16790 * FontLoader.C: adjust
16792 * bufferview_funcs.C: adjust
16793 * converter.C: adjust
16794 * figureForm.C: adjust
16795 * importer.C: adjust
16797 * lyx_gui_misc.C: adjust
16798 * lyxfunc.C: adjust
16801 + more files in subdirs
16803 * lyxparagraph.h (size): move up int file
16806 * adjust all uses of Assert to lyx::Assert.
16808 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16809 lyxfunctional in namespace lyx
16810 * layout.C (hasLayout): ditto
16813 (delete_layout): ditto
16814 (NumberOfClass): ditto
16815 * converter.C (GetFormat): ditto
16820 * bufferlist.C (getFileNames): ditto
16821 (emergencyWriteAll): ditto
16824 * MenuBackend.C (hasSubmenu): ditto
16827 * BufferView_pimpl.C (getInsetByCode): ditto
16829 2001-04-18 Juergen Vigna <jug@sad.it>
16831 * vspace.C (asLatexString): fixed the 100% problem.
16833 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16835 * lyxfunc.C (Dispatch):
16837 * minibuffer.h: add a few std:: qualifiers
16839 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16841 * minibuffer.[Ch]: reimplement so that commands is initiated and
16842 run from lyxfunc, simplified som handling, and made the completion
16843 and history code for complete. wip.
16845 * lyxfunc.C (processKeySym): call message
16846 (miniDispatch): new temporary method
16847 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16848 (LFUN_MESSAGE): implement
16849 (LFUN_MESSAGE_PUSH): implement
16850 (LFUN_MESSAGE_POP): implement
16851 (initMiniBuffer): the initial/defualt minibuffer message.
16853 * lyxfont.[Ch]: inline some more getters
16855 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16857 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16859 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16860 (AutoSave): use LFUN_MESSAGE
16861 (Reconfigure): ditto
16863 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16865 * figureForm.C: use LFUN_MESSAGE
16867 * converter.C (runLaTeX): use LFUN_MESSAGE
16869 * bufferview_funcs.C: use LFUN_MESSAGE
16871 (changeDepth): ditto
16873 * bufferparams.h: use boost::
16875 * bufferlist.h: inherit privately from noncopyable
16877 * bufferlist.C (loadLyXFile): remove some commented code.
16879 * buffer.C (runChktex): use LFUN_MESSAGE
16881 * ShareContainer.h: inherit privately from noncopyable
16883 * ParagraphParameters.[hC] (depth): inline it.
16885 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16887 (message): new method
16888 (messagePush): ditto
16889 (messagePop): ditto
16890 (show): init minibuffer
16891 (showState): direct call
16893 * LaTeX.[Ch]: inherit privately from noncopyable
16894 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16895 instead of WriteStatus.
16897 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16899 * BufferView_pimpl.C (buffer): don't init minibuffer
16900 (workAreaButtonPress): use LFUN_MESSAGE
16901 (workAreaButtonRelease): ditto
16902 (savePosition): ditto
16903 (restorePosition): ditto
16904 (MenuInsertLyXFile): ditto
16905 (workAreaExpose): don't init minibuffer
16906 (update): remove commented code, simplify
16908 * BufferView2.C (openStuff): use LFUN_MESSAGE
16909 (toggleFloat): ditto
16912 (copyEnvironment): ditto
16913 (pasteEnvironment): ditto
16918 (updateInset): remove some commented code
16920 * lastfiles.h: inherit privately from noncopyable
16923 * lyx_main.h: ditto
16925 * lyxlex_pimpl.h: ditto
16927 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16928 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16929 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16931 * LyXAction.h: inherit privately from noncopyable, add methods
16932 func_begin, func_end, returning iterators to the func map.
16934 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16935 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16936 (func_begin): new method
16937 (func_end): new method
16939 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16941 (copySelection): ditto
16942 (pasteSelection): ditto
16944 * BufferView.C: whitespace change
16945 * BufferView.h: inherit privately from noncopyable
16947 2001-04-16 Allan Rae <rae@lyx.org>
16949 * tabular-old.C (l_getline):
16950 * spellchecker.C (sc_check_word):
16951 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16952 an unrecognised preprocessor directive. So ensure they're wrapped.
16954 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16956 * src/exporter.C (Export): Give an error message when path to file
16959 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16961 * LaTeX.C (deplog): Always check that foundfile exists.
16963 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16966 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16968 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16970 * tabular.[Ch] (getLabelList): implement new method
16972 * minibuffer.h: comment ouf setTiimer
16974 * minibuffer.C (ExecutingCB): constify res
16975 (peek_event): constify s
16976 (Set): constify ntext
16977 (Init): constify nicename
16979 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16981 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16982 (savePosition): use two params to Minibuffer::Set
16983 (restorePosition): ditto
16985 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16987 * lyx_main.C: include language.h
16989 * Makefile.am (lyx_main.o): add language.h
16991 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16997 * CutAndPaste.C: include gettext.h
16999 * lyxfont.h: remove old hack with ON and OFF.
17002 * lyxfont.h: do not include language.h...
17007 * bufferview_funcs.C:
17013 * paragraph.C: ... but do it here instead
17015 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17017 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17019 * tabular.C: small reformat
17021 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17024 (BreakParagraph): ditto
17025 (SetOnlyLayout): ditto
17028 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17031 * lastfiles.C: removed most using decl, add std:: where needed
17033 * buffer.C: ws changes
17035 * MenuBackend.C (class compare_format): put into anon namespace
17036 (expand): constify label, names, action, action2
17039 * text.C (SingleWidth): constify font
17040 (IsBoundary): constify rtl2
17041 (GetVisibleRow): constify ww
17043 * LaTeX.C (deplog): constify logfile
17045 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17047 (workAreaExpose): constify widthChange, heightChange
17049 * lyxrow.C (par): moved
17052 * lyxrow.h: as inlines here
17054 * lyxfont.h (shape): moved from lyxfont.C
17055 (emph): moved from lyxfont.C
17057 * lyxfont.C (LyXFont): use initialization list for all
17059 (shape): move to lyxfont.h as inline
17060 (emph): move to lyxfont.h as inline
17063 2001-04-04 Juergen Vigna <jug@sad.it>
17065 * vspace.C: had to include stdio.h for use of sscanf
17067 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17070 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17071 independent of xforms.
17073 2001-04-02 Juergen Vigna <jug@sad.it>
17075 * spellchecker.C: fixed namespace placing!
17077 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17079 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17080 the LyXParagraph * is 0.
17082 2001-03-29 Juergen Vigna <jug@sad.it>
17084 * vspace.C: added support for %, c%, p%, l%.
17085 (stringFromUnit): added helper function.
17086 (asLatexString): changed to give right results for the %-values.
17088 * buffer.C: convert the widthp in a width%.
17090 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17092 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17095 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17096 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17098 * lyx_cb.[Ch]: see above.
17100 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17104 * lyx.[Ch]: replaced by figure_form.[Ch].
17108 * lyxfunc.C: changed headers associated with above changes.
17110 2001-03-27 Juergen Vigna <jug@sad.it>
17112 * BufferView_pimpl.C: set the temporary cursor right!
17114 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17116 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17118 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17120 * LString.h: removed "using std::getline"!
17122 * BufferView_pimpl.C (Dispatch): changes due to changes in
17123 InsetInclude::Params.
17125 * buffer.C (tag_name): removed redundant break statements as they were
17126 producing lots of warnings with my compiler.
17128 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17130 * LString.h: add "using std::getline" when using the real <string>.
17132 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17134 * buffer.C: removed bitset usage.
17135 PAR_TAG moved to an anonymous name space.
17136 (tag_name): new funtion, also in the anonymous namespace.
17137 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17138 (makeDocBookFile): clean code. Completed transition from string arrays
17140 (SimpleDocBookOnePar): code clean.
17142 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17144 * tabular.C: add some comments.
17146 2001-03-22 Juergen Vigna <jug@sad.it>
17148 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17149 compatibility read a bit and fixed bug with minipage in different
17152 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17154 * buffer.C (pop_tag): removed.
17155 (push_tag): removed.
17156 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17157 array replaced with vector. Added support for CDATA sections.
17158 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17160 (makeDocBookFile): XML conformant declaration of CDATA section,
17161 fixed bug related to <emphasis> in the first paragraph char.
17162 (sgmlOpenTag): exclude empty tags.
17163 (sgmlCloseTag): ditto.
17165 * buffer.h (pop_tag): removed.
17166 (push_tag): removed.
17168 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17170 * language.h (Languages): added size_type and size().
17172 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17174 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17175 response on compability reading of minipages. One probliem is that
17176 the old usage of minipages was «flertydig»
17178 * several files here and in subdirs: don't use static at file
17179 scope use anon namespaces instead.
17181 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17183 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17184 LaTeX output. This is necessary for Literate document
17187 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17189 * buffer.C: insert hfill when needed.
17191 * tabular.C (l_getline): use string::erase, small whitespace change.
17193 * BufferView_pimpl.C: try the anon namespace.
17194 * WorkArea.C: ditto
17196 2001-03-16 Juergen Vigna <jug@sad.it>
17198 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17199 otherwise it won't open options-dialogs.
17201 * buffer.C: honor pextraWidth(p) on converting minipages.
17203 * tabular.C (l_getline): changed the functions to strip trailing \r.
17205 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17207 * BufferView_pimpl.C:
17208 * minibuffer..C: added "using SigC::slot" declaration.
17210 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17212 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17218 * paragraph.C: ditto
17220 * lyxtext.h: NO_PEXTRA
17222 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17224 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17225 * ParameterStruct.h: ditto
17226 * ParagraphParameters.h: ditto
17227 * lyxparagraph.h: ditto
17229 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17231 * buffer.C: add compability for minipage alignment.
17232 (latexParagraphs): remove unwanted pextra check.
17234 * several files: remove CXX_WORKING_NAMESPACES
17236 * buffer.C (pop_tag): tie is in namespace boost
17238 * BufferView.h: noncopyable is in namespace boost
17240 * lyx_main.h: ditto
17243 * lastfiles.h: ditto
17244 * bufferlist.h: ditto
17245 * ShareContainer.h: ditto
17247 * LyXAction.h: ditto
17250 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17252 * Merging changes from BRANCH_MVC back into HEAD.
17254 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17256 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17258 * BufferView_pimpl.C: change from intl.C
17262 * Makefile.am: move combox.*
17268 * intl.C: remove dialog (covered by prefs)
17270 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17272 * lyxfunc.C (Dispatch): removed redundant break statement.
17274 2001-03-14 Juergen Vigna <jug@sad.it>
17276 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17278 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17280 * buffer.C: add hack to fix compability reading of minipages.
17282 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17284 * buffer.C (getLists): Cleanup.
17286 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17288 * lyxfont.C (update): don't honor toggleall on font size.
17290 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17294 * Makefile.am: moved to frontends/xforms/
17298 * BufferView_pimpl.C: changes for moved mathpanel
17300 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17302 * gettext.h: fix gettext_init() in --disable-nls
17304 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17306 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17308 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17311 * lyx.h: strip external form
17313 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17315 * BufferView_pimpl.C: add comment, destroySplash()
17317 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17319 * BufferView_pimpl.C:
17323 * lyxfunc.C: use re-worked insetinclude
17325 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17327 * buffer.C: add using std::stringstream.
17329 * lyx_cb.C: readd using std::ios.
17331 * buffer.C: add using std::map.
17333 * BufferView_pimpl.C: add using std::vector.
17335 * ShareContainer.h: add std:: to swap.
17337 * buffer.h: add some typedefs
17338 * buffer.C (getLists): use them
17339 (getLists): renamed from getTocList.
17340 add a counter for the different float types and use it in the
17342 (getLists): use the same counter for the NEW_INSETS and the "non"
17345 * lyx_cb.h: remove unused items, includes, using etc.
17347 * ShareContainer.h: remove some commented code, add more comments
17348 and "documentation".
17350 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17352 * buffer.C (getTocList): make the list also when NEW_INSETS is
17355 * buffer.h: remove TocType
17357 * buffer.C (getTocList): change to return a map<string,
17358 vector<TocItem> >, implement for dynamic number of list.
17360 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17361 * text2.C (PasteSelection): adjust
17362 * CutAndPaste.C (pasteSelection): adjust
17364 * FloatList.C (FloatList): update from the new_insets branch.
17365 * Floating.[Ch]: ditto
17366 * LaTeXFeatures.C: ditto
17368 * lyxlex_pimpl.C: ditto
17370 * paragraph.C (Last): remove when NEW_INSETS is defined.
17372 * other file: changes because of the above.
17374 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17376 * lyxparagraph.h: rename next to next_, previous to previous_,
17377 make them private for NEW_INSETS. Rename Next() to next(),
17378 Previous() to previous().
17380 * other files: changes because of the above.
17382 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17385 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17388 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17390 * main.C (main): pass lyx_localedir to gettext_init().
17392 * gettext.h: remove locale_init and gettext_init macros
17394 * gettext.C (locale_init): new function
17395 (gettext_init): new function
17397 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17400 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17402 * Moved credits to frontends:
17403 * credits.[Ch]: removed
17404 * credits_form.[Ch]: removed
17405 * lyx_gui_misc.C: remove credits stuff
17408 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17410 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17412 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17413 unneeded destructor.
17415 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17416 a standalone pointer again.
17418 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17420 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17426 * ToolbarDefaults.C:
17435 * BufferView_pimpl.C: use new file dialog in GUII
17438 * lyx_cb.C: remove LayoutsCB to Toolbar
17440 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17442 * ShareContainer.h (get): add std:: qualifier
17444 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17446 * ShareContainer.h: define a proper ShareContainer::value_type
17447 type (and use typename to please compaq cxx)
17449 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17451 * lyxparagraph.h: move serveral local vars to
17452 ParameterStruct/ParagraphParameters., use ShareContainer in
17453 FontTable., make vars in FontTable private and add getter and
17456 * paragraph.C: changes because of the above.
17458 * lyxfont.h: remove copy constructor and copy assignment. (the
17459 default ones is ok), move number inside FontBits. move inlines to
17462 * lyxfont.C: add number to initializaton of statics, move several
17463 inlines here. constify several local vars. some whitespace
17464 cleanup. Dont hide outerscope variables.
17466 * Spacing.h: add two new constructors to match the set methods.
17468 * ShareContainer.h: new file, will perhaps be moved to support
17470 * ParameterStruct.h: new file
17472 * ParagraphParameters.h: new file
17474 * ParagraphParameters.C: new file
17476 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17477 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17479 * BufferView_pimpl.C: ParagraphParameter changes.
17480 * buffer.C: Likewise.
17481 * bufferview_funcs.C: Likewise.
17482 * text.C: Likewise.
17483 * text2.C: Likewise.
17485 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17487 * lyxfind.C (LyXReplace): do not redefine default argument in
17489 (IsStringInText): ditto
17490 (SearchForward): ditto
17491 (SearchBackward): ditto
17493 2001-03-06 Juergen Vigna <jug@sad.it>
17495 * lyxfind.C (IsStringInText): put parentes around expressions.
17497 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17499 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17501 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17503 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17505 * stl_string_fwd.h: add comment
17507 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17510 * tabular.C: remove unused DocBook methods
17516 killed DO_USE_DEFAULT_LANGUAGE
17518 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17520 * lyx_gui.C: do not include language.h.
17522 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17523 arguments in function implementation.
17525 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17527 * BufferView_pimpl.C: add <ctime>
17529 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17531 * BufferView_pimpl.C: add using std::find_if
17533 2001-02-27 José Matos <jamatos@fep.up.pt>
17535 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17538 2001-02-11 José Matos <jamatos@fep.up.pt>
17540 * buffer.C (makeDocBookFile): command styles now have a parameter as
17541 "title" by default.
17543 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17545 * layout_forms.[Ch]: removed
17546 * lyx_cb.[Ch]: out character
17547 * lyx_gui.C: out character
17548 * lyx_gui_misc.C: out character
17549 * bufferview_funcs.C: : out character,
17550 added toggleall as parameter in ToggleAndShow
17552 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17554 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17556 * text2.C (SetCurrentFont): Disable number property at boundary.
17558 2001-02-26 Juergen Vigna <jug@sad.it>
17560 * lyxfunc.C (getStatus): added a string argument override function so
17561 that this is correctly called from LyXFunc::Dispatch if it contains a
17562 do_not_use_argument which is used!
17563 (Dispatch): added check for "custom" export and call appropriate func.
17565 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17567 * lyxrc.C: Add language_command_local, language_use_babel and
17568 language_global_options.
17570 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17572 * buffer.C (makeLaTeXFile): Use language_use_babel and
17573 language_global_options.
17575 2001-02-23 Juergen Vigna <jug@sad.it>
17577 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17578 which works with LyXText and putted it inside BufferView. Here now we
17579 only call for that part the BufferView::Dispatch() function.
17581 * BufferView.C (Dispatch): added.
17583 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17584 functions which needs to use a LyXText over from LyXFunc.
17585 (MenuInsertLyXFile): added
17586 (getInsetByCode): added
17587 (moveCursorUpdate): added
17588 (static TEXT): added
17590 2001-02-22 Juergen Vigna <jug@sad.it>
17592 * BufferView_pimpl.C (update): call a status update to see if LyXText
17595 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17597 * vc-backend.C (revert): implement for CVS
17598 (getLog): implement for CVS
17600 2001-02-20 Juergen Vigna <jug@sad.it>
17602 * text2.C (ClearSelection): added BufferView param for inset_owner call
17604 * lyxfunc.C (TEXT): added this function and use it instead of
17605 directly owner->view()-text of getLyXText().
17607 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17609 * src/layout_forms.C: out preamble
17610 * src/layout_forms.h: out preamble
17611 * src/lyx_cb.C: out preamble
17612 * src/lyx_cb.h: out preamble
17613 * src/lyx_gui.C: out preamble
17614 * src/lyx_gui_misc.C: out preamble
17615 * src/lyxfunc.C: connect with guii preamble
17617 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17619 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17621 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17623 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17624 whether to run bibtex.
17626 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17628 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17630 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17632 * Makefile.am (lyx_SOURCES): removed bibforms.h
17634 * vspace.h: doxygen
17636 * text.C (GetVisibleRow): make several local vars const
17638 * tabular.C: small cleanup.
17640 * lyxserver.C (callback): use compare instead of strncmp
17642 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17643 inlines to after class or to paragraph.C
17645 * lyxfont.h: remove friend operator!=
17647 * converter.h: move friend bool operator< to non friend and after
17650 * combox.h: small cleanup
17652 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17653 to inlines after class def.
17655 * buffer.C (pop_tag): use string operations instead of strcmp
17657 * bmtable.c: doxygen, small cleanup
17659 * LaTeX.h: remove friend operator==
17661 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17673 * BufferView_pimpl.C:
17674 * BufferView.[Ch]: remove cruft
17676 2001-02-14 Juergen Vigna <jug@sad.it>
17678 * lyxfunc.C: removed #if 0 unused code
17680 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17682 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17684 * text2.C (SetSelection): added a BufferView * parameter
17686 2001-02-13 Juergen Vigna <jug@sad.it>
17688 * lyxfunc.C (Dispatch): fixed protected blank problem.
17689 * BufferView2.C (protectedBlank): added LyxText * parameter.
17691 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17692 (AppendColumn): same as above for column_info.
17694 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17695 (moveCursorUpdate): use a LyXText param for support of InsetText.
17697 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17698 (tripleClick): ditto
17700 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17702 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17704 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17706 * text2.C (SetSelection): set correct update status if inset_owner
17707 (ToggleFree): ditto
17709 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17711 * tabular.C: remove some commented code.
17713 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17715 * BufferView_pimpl.C: call hideSplash()
17717 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17720 * bibforms.h: remove
17723 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17724 add LFUN_CHILD_CREATE
17726 * counters.h: fix tiny typo
17731 * lyx.C: move splash to frontends/xforms/
17733 * lyx_gui_misc.C: move Include and Bibform to frontends
17735 * lyxvc.h: clarify comment
17737 * vspace.C: tiny housekeeping
17739 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17741 * text.C (PrepareToPrint): RTL Fix.
17743 * paragraph.C (GetUChar): New method.
17744 (String): Use GetUChar.
17746 * buffer.C (asciiParagraph): Use GetUChar.
17748 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17750 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17752 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17755 * buffer.C: rename to getLogName(), handle
17756 build log / latex log nicely
17758 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17761 * MenuBackend.h: remove support for reference menuitem type.
17763 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17765 * BufferView_pimpl.C: housekeeping
17766 * BufferView_pimpl.h:
17771 * minibuffer.h: move Timeout GUI-I
17773 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17775 * lyxrc.C (read): Update converters data-structures.
17777 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17779 * LaTeX.h (operator!=): add operator != for Aux_Info
17781 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17783 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17785 * LaTeXLog.C: deleted, useful code moved to Buffer
17788 * buffer.C: new function getLatexLogName()
17794 * lyxfunc.C: use frontends for LaTeX and VC logs
17796 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17798 * LaTeX.h: yet another std:: that Allan forgot.
17800 * Variables.C (set): renamed from isset(), because this clashes
17801 with some HP-UX macros (grr).
17803 2001-02-06 Allan Rae <rae@lyx.org>
17805 * LaTeX.h: Another bug fix. Missing std:: this time.
17807 2001-02-04 Allan Rae <rae@lyx.org>
17809 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17810 floats problem. I've left it commented out because it's not quite
17811 correct. It should also test that the current object is a table or
17812 figure inset. But I haven't gotten around to figuring out how to do
17813 that. I *think* it'll be something like: "table" == inset.type()
17815 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17818 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17820 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17821 all the citation/databases/styles in the auxilary file.
17822 (run): Rerun latex if there was a babel language error.
17824 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17826 * text.C (Backspace): Preserve the font when changing newline char
17828 (BreakParagraph): If the cursor is before a space, delete the space.
17830 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17832 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17834 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17835 new argument (code).
17836 (ChangeCitationsIfUnique): New method.
17838 * paragraph.C (GetPositionOfInset): Handle bibkey.
17840 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17842 * BufferView_pimpl.h: change type of Position::par_pos to
17843 LyXParagraph::size_type.
17845 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17847 * BufferView_pimpl.C (savePosition, restorePosition): Write
17848 messages to minibuffer.
17850 2001-01-28 José Matos <jamatos@fep.up.pt>
17852 * buffer.C (makeDocBookFile): adds support for document language.
17853 A silly restriction on the name of LatexCommand types where removed.
17854 Added support for CDATA sections, allows to chars unescaped, used
17855 among others in code, to avoid escape < and >.
17857 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17859 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17860 saved positions instrad of a stack. Furthermore, a position is
17861 stored using paragraph id/paragraph position.
17863 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17864 Remove LFUN_REF_BACK.
17866 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17868 * converter.C (dvipdfm_options): New method.
17870 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17872 * vspace.C (isValidLength): Fix for empty input string.
17874 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17876 * LyXAction.C (init): change description of LFUN_FIGURE to
17879 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17881 * LaTeX.C: add using directive
17883 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17885 * MenuBackend.C (expand): Fix the sorting of the formats.
17887 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17889 * lyx_main.C: tiny error message fix
17891 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17893 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17894 calling fl_initialize(). This fixes the problem with ',' as
17895 decimal separator in text files.
17897 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17899 * trans.C (process): Fix the keymap bug.
17901 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17903 * LaTeX.C (scanAuxFiles): New method. Provides support for
17904 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17905 (scanLogFile) Scan for "run BibTeX" messages.
17907 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17908 OT1 font encoding. Also, load the aecompl package if the ae
17911 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17913 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17915 * texrow.C (increasePos): turn two error messages into debug
17918 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17920 * LaTeX.C (scanAux): Handle the \@input macro.
17921 (runBibTeX): Use scanAux().
17923 * language.C (latex_options_): New field.
17925 * LaTeXFeatures.C (getMacros): Add language macros.
17927 * buffer.C (makeLaTeXFile): Small fix.
17929 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17931 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17933 * text2.C: add a using directive.
17935 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17940 * lyxfunc.C: kill LyXBell.
17942 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17944 * text.C (IsBoundary): Remove the error message
17946 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17948 * lyxrc.C (setDefaults): Correct initialization value for
17951 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17953 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17956 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17957 and GotoNextNote().
17959 * src/LyXAction.C: Added reference-next.
17961 * text.C (InsertChar): Use contains instead of strchr.
17963 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17965 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17967 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17968 alignment commands (when needed).
17970 * text.C (InsertChar): Add ':' to number separator chars.