1 2005-07-18 José Matos <jamatos@fc.up.pt>
5 * tex-strings.[Ch]: new file format, remove support for a4.sty,
6 a4wide.sty and a4widemargins.
8 2005-07-17 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10 * text2.C (cursorLeft): fix one of error
12 2005-07-17 Juergen Vigna <jug@lyx.org>
14 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
16 more fixes for boundary handling
18 * text3.C (dispatch): don't reset cursor if boundary has changed
21 2005-07-16 Juergen Vigna <jug@lyx.org>
23 * text2.C (getColumnNearX): hopefully got it right now,
24 check if we are on column 0 for special case.
26 2005-07-16 Juergen Vigna <jug@lyx.org>
28 * text2.C (getColumnNearX): handle special case Newline Inset
30 * text.C (singleWidth): Just remove bogus check
32 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
34 * funcrequest.C (split): avoid reading uninitialized char c
36 2005-07-16 José Matos <jamatos@fc.up.pt>
42 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
43 single papersize variable.
45 2005-07-16 Juergen Vigna <jug@lyx.org>
47 * text3.C (dispatch): honor boundary when checking if a cursor
48 movement has been done
50 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
51 (setCursor, setCursorIntern): fix cursor movement with boundary
53 2005-07-16 Juergen Vigna <jug@lyx.org>
55 * text.C (currentState): output the actual Boundary
57 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * factory.C (createInset): fix bad logic for tabular creation
61 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
63 * lyx_main.C (init): change some reLyX reference to tex2lyx
65 2005-07-16 Juergen Vigna <jug@lyx.org>
67 * dociterator.C (DocIterator): initialize boundary
69 2005-07-16 Juergen Vigna <jug@lyx.org>
71 * text2.C (getColumnNearX): Consider rows without trailing blank.
73 2005-07-16 André Pönitz <poenitz@gmx.net>
75 * lyxfont.h: Change order of declarations to give the compiler
76 a better chance to inline things
78 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
79 questions on unsaved docs for better scritability
81 2005-07-16 André Pönitz <poenitz@gmx.net>
83 * paragraph.h (getChar): remove asserts as the same kind of security
84 can be achieved by using a suitable standard library implementation
85 and the function was in the critical path (25.9% in profiler)
87 2005-07-16 Juergen Vigna <jug@lyx.org>
89 * cursor.C (bruteFind2):
90 * bufferview_funcs.C (coordOffset):
91 * text.C (cursorX,cursorY): Handle cursor position after last char
92 in row before a inset which uses a whole row.
94 2005-07-15 José Matos <jamatos@lyx.org>
96 * output_plaintext.[Ch] (writeFileAscii): control reference title
98 (asciiParagraph): noparbreak was already deal and was incorrectly
101 2005-07-15 Juergen Vigna <jug@lyx.org>
103 * lyxfunc.C (dispatch): save and restore the cursor after a
106 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
108 * text.C (backspace): bug 806 for empty keepempty paragraphs we
109 change the layout to default before letting DEPM do its thing.
111 * paragraph_funcs.C (breakParagraph): dont reset the layout on
114 * text.C (setCursorFromCoordinates): add a debug statement
116 * text2.C (getColumnNearX): bug 1825 make sure that we don't
117 return a pos that is not on the row
119 * output_latex.C (TeXDeeper): get rid of potential dereferencing
120 of past the end iterator
122 2005-07-14 André Pönitz <poenitz@gmx.net>
124 * undo.C (recordUndoFullBuffer): implement undo for
127 2005-07-14 André Pönitz <poenitz@gmx.net>
129 * cursor.C (setSelection): open insets when selection is set there
130 to avoid crashs with cold coord cache
132 2005-07-14 André Pönitz <poenitz@gmx.net>
134 * trans_mgr.C (insert): move cursor to the right after inserting
137 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
139 * BufferView_pimpl.C (update): dampen some of the debug blabbering
140 * factory.C (readInset): ditto
141 * text.C, text2.C: ditto
143 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * buffer.C: format incremented to 242. There is no file format per
146 se, but the "frenchb" language has been removed from lib/language
147 and has to be translated to "french" by lyx2lyx.
149 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
151 * cursor_slice.h, dociterator.h: add some documentation
152 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
154 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
156 * text.C (leftMargin): do not add identation to display() style
157 insets, because they are always centered (bug 1293).
159 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
161 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
162 formatted_time methods in support/lyxtime.
164 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
166 * toc.[Ch]: new method getGuiName, which is used by the frontends
167 to set the toc combo (fixes bug 1870). Make TOC string translatable.
169 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
171 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
172 StableDocIterator const &)
173 * undo.C (recordUndo): use the above instead of cell.size() comparison
174 (fixes bug 1808; instructed by André).
176 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
179 * dociterator.h: Fix the assert when copying rows/cols in math
181 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
183 * BufferView_pimpl.C:
185 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
187 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
188 (findInset): new functions, refactored from goto Inset that return
189 the position of a certain inset without setting the buffer's cursor
191 (gotoInset): rewrite to call findInset and then set the cursor
194 2005-06-16 Angus Leeming <leeming@lyx.org>
196 * lyxrc.C (output, read): wrap all input and output of paths with
197 calls to os::internal_path and os::external_path, respectively.
198 (output): wrap bind_file inside quotes.
200 * format.C (view): enable the viewer to use the '$$s' placeholder.
202 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
204 * LColor.[Ch] (getFromLaTeXName): new
206 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
208 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
210 2005-06-14 Angus Leeming <leeming@lyx.org>
212 * lyx_main.C (init): ensure that the LyX binary dir is the first
213 element in the PATH on non-POSIX builds.
215 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
217 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
219 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
221 * rowpainter.C (paintInset, paintHebrewComposeChar)
222 (paintArabicComposeChar, paintChars): add a LyXFont argument.
223 (paintChars): use getFontSpan to reduce calls to getFont to a
224 minimum; use Paragraph::lookupChange instead of isXXXText.
225 (paintForeignMark): rename LyXFont argument.
226 (paintFromPos): pass a LyXFont object to the various paintXXX
229 * FontIterator.C (FontIterator, operator++): use
230 Paragraph::getFontSpan
232 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
233 version that returns the font span as a pair.
235 2005-06-09 Angus Leeming <leeming@lyx.org>
237 * converter.C (convert): Don't forget "outfile = real_outfile" as
238 the final step in a conversion where the input and output file names
239 are the same. Otherwise, future conversion steps won't work...
241 2005-06-09 Angus Leeming <leeming@lyx.org>
243 * lyxsocket.C: remove stub code as it isn't needed by
244 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
246 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
248 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
249 effectively disabled -x
251 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
253 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
254 when it actually makes sense.
256 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
258 * BufferView_pimpl.C: revert to showCursor in connection with
259 Lars's front-end stack
261 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
263 * text.C (redoParagraph): move cursor right after a bibitem
266 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
268 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * buffer_funcs.C (bufferErrors): fix computation of the end of an
273 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
275 * BufferView.[Ch] (update):
276 * BufferView_pimpl.[Ch] (update, metrics):
277 * dimension.h (operator==):
278 * lyxfunc.C (dispatch):
279 * metricsinfo.h (ViewMetricsInfo):
280 * rowpainter.C (paintText):
282 * text.C (redoParagraph):
283 * text3.C (dispatch): Make LyX only repaint current paragraph in
284 case of character insert --> speedup. Also fix cursor draw
287 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
290 avoid a crash (bug 1891)
292 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
296 * text2.C (getStringToIndex): constify cur argument.
298 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
299 argument has been given
300 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
301 try to invoke LFUN_INSET_APPLY).
303 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
304 if no inset was created by doInsertInset
305 (doInsertInset): return true if an inset has been inserted.
307 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 * vspace.C (asGUIName): new method. A version of the space
310 suitable for showing on screen.
312 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
315 * lyxrc.C: rename "ASCII" to "Plain Text"
317 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * buffer_funcs.C (expandLabel): take a Buffer as argument;
320 translate the labelstring.
321 (setCounter): translate labelstring as needed.
323 * output_docbook.C (makeCommand): fix expandLabel invokation
325 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
327 * BufferView.C: fix dialog title
329 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
331 * lyx_main.C (priv_exec): fix logic error with help from Angus
332 * lyx_main.C (parse_execute): set is_gui = false and remove now
333 obsolete comment about a segfault
335 2005-05-18 Angus Leeming <leeming@lyx.org>
337 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
339 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
341 * tabular.[hC]: added setCellInset to fix tabular paste.
343 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
345 * buffer.C (save): check if destination is writable before trying
348 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
350 * BufferView_pimpl.C (update): fix processEvents -caused update
353 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
355 * buffer_funcs.C (setCounter): fix test for numbering of
358 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
359 depth correctly; use optional argument when it exists
361 * lyxtextclass.C: remove unused MaxCounterTags enum
362 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
363 (max_toclevel, min_toclevel): new methods.
365 * MenuBackend.C (expandToc2): fix case where depth is smaller than
366 the smallest depth in toc.
368 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
369 layouts that should not appear in a table of contents.
371 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
373 * cursor.h (undispatched, noUpdate): add comments from André
375 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
379 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
381 2005-05-07 André Pönitz <poenitz@gmx.net>
383 * cursor.[Ch] (leaveInset): new function
385 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
387 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
389 2005-05-04 Angus Leeming <leeming@lyx.org>
391 * lyxfunc.C (getStatus): disable the spell checker dialog if
392 none of USE_[AIP]SPELL are defined.
394 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
396 * tabular.C (setWidthOfCell): remove obsolete comment
398 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
400 * paragraph.C (bibitem):
401 * buffer_funcs.C (setCounter):
402 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
404 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
406 * text3.C (getStatus): immediately return after setOnOff
408 * rowpainter.C: fix drawing of appendix start
410 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
412 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
413 SwitchBetweenClasses and remove the unused return value.
414 Handle character styles, too
416 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
418 * factory.C (createInset): handle undefined character styles
420 2005-05-02 Angus Leeming <leeming@lyx.org>
422 * buffer.C: protect the #include of utime.h with a preprocessor
425 2005-05-02 Angus Leeming <leeming@lyx.org>
427 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
428 function so that auto-saving works, albeit in a blocking manner.
430 * Makefile.am: make compilation of the client sub directory, of
431 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
432 on conditionals set at configure time.
434 * SpellBase.[Ch]: no longer an abstract base class. Instead,
435 it can be compiled in its own right but has no-op functionality.
437 * aspell.C, pspell.C: remove preprocessor guards. The files should
438 be compiled only if the necessary functionality exists.
440 * lyxserver.C, lyxsocket.C: disable on Windows.
442 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
444 * text.C (leftMargin): Fix the parindent use bug (1764)
447 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
449 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
452 2005-04-25 Angus Leeming <leeming@lyx.org>
460 include <config.h> in .C files, not .h ones.
462 protect headers inside preprocessor guards.
464 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
466 * FuncStatus.h (StatusCodes): document
468 2005-04-21 André Pönitz <poenitz@gmx.net>
470 * FuncStatus.h (enabled, onoff): document
472 2005-04-19 Angus Leeming <leeming@lyx.org>
474 * BufferView_pimpl.C (cursorToggle): no longer test whether
475 any child processes have been reaped before calling
476 handleCompletedProcesses().
478 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
480 * text3.C (dispatch): fix, finally fix, the language problem in
481 new lyxtexts, without disabling on-the-fly font changes (Helge's
484 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
486 * text3.C (dispatch): set cursor on double/triple click events
489 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
491 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
492 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
494 * rowpainter.C (paintFirst): simplify the code a little bit. In
495 particular, remove the test for secnumdepth.
496 * text.C (setHeightOfRow): only allocate space for chapter number
497 when updateCounters provided an actual label, instead of looking
498 at secnumdepth directly.
500 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
502 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
503 paragraphs when secnumdepth is large enough or, for environments,
504 when they are not the first in a sequence.
506 2005-04-17 Angus Leeming <leeming@lyx.org>
508 * buffer.C (makeLaTeXFile): replace code to manipulate a path
509 containing space and '~' characters with a call to latex_path().
511 2005-04-17 Angus Leeming <leeming@lyx.org>
513 * converter.C (convert): protect all args of convertDefault.sh
516 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
518 * text3.C (dispatch): change the layout to "Caption" after inserting
521 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
523 * text3.C (dispatch): fix language problem in newly created
524 textinsets (and main text) in non-english docs
526 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
528 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
529 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
530 * text3.C (getStatus): disable LFUN_INSET_MODIFY
532 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
537 * rowpainter.C (getFont): Fix metrics bug introduced by inset
540 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
542 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
543 output of \item arguments without trailing text.
545 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
547 * FontIterator.C (operator*): avoid a copy of the font.
549 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
551 * rowpainter.C (getFont): fix language bug from previous fix
553 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
555 * rowpainter.C (RowPainter, getFont): fix font inside inset
558 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
560 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
561 preventing inserted font, deco, delim insets jumping to start of
564 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
566 * lyxfunc.C (dispatch): translate message before sending it to the
569 2005-03-29 Angus Leeming <leeming@lyx.org>
571 * lyx_main.C (priv_exec): call os::internal_path on each file passed
572 to LyX on the command line.
574 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
576 * vc-backend.C: use QuoteName to protect file names wherever
579 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
582 * BranchList.h: fix bugs 1844,1845: document settings don't
585 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
587 * lyxrc.C (setDefaults, read, output, getDescription): add support
588 for tex_allows_spaces.
590 * exporter.C (Export): allows files in directory containing spaces
591 if tex_allows_spaces is true.
593 * buffer.C (makeLaTeXFile): if the document path contains spaces,
594 output it in double quotes.
596 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
598 * rowpainter.C: use default text height for drawing change tracker
601 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
603 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
605 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
607 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
608 directory is missing.
610 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
612 * text2.C: fixed the fix, extended to other case.
614 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
616 * text2.C: fix for cursor up/down stuck in math [bug 1792]
618 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
620 * text2.C (cursorUp): get rid of a crash
621 * text.C (x2pos): add an assert
623 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
625 * lyxfunc.C (getStatus): fix warning when assertions are disabled
629 * dociterator.C: include <boost/current_function.hpp>, which is
630 needed when assertions are disabled.
632 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
634 * text2.C: fix for stuck cursor when traversing two
635 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
637 2005-02-25 Andreas Vox <avox@arcor.de>
639 * output_docbook.C (makeParagraph): suppress trailing newline
640 after a run of paragraphs
642 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
644 * paragraph.C: fix for confused change tracker when pasting
645 text that begins with a lineseparator. [bug 1827]
646 (setChange(0, Change::INSERTED);)
648 * paragraph_funcs.C: fix for lost changes on triple-paste
649 in change tracking mode [bug 1827] (par.setChange()).
651 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
653 * text2.C (updateCounters, setCounter, expandLabel): move to
656 * buffer_funcs.C (updateCounters): turn into a free standing
657 function and add a buffer parameter. Remove dead code for tracking
659 (setCounter): change into a free-standing function which gets a
660 dociterator as argument. Use this iterator to fix captions in a
661 simple way. When no float is found above the caption, use the
662 labelstring of the caption layout as default.
664 * text.C (breakParagraph, backspace):
665 * text2.C (init, setLayout, changeDepth):
666 * text3.C (dispatch):
667 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
670 * dociterator.C (forwardPar): make it much faster by calling
671 forwardPos() only when really necessary.
673 * output_docbook.C (makeCommand): adapt to expandLabel move.
675 * cursor.C: remove unused variable
677 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
679 * paragraph_funcs.C: fix crash when pasting insets in change
680 tracking mode [bug 1277] (honour change type in moveItem).
682 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
684 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
686 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
688 * BufferView.C (setCursor): change to use a DocIterator.
689 (gotoLabel): use BufferView::setCursor (other part of bug 781).
690 (putSelectionAt): adapt to BufferView::setCursor change.
692 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
693 moved here from LyXText and rewritten to use proper cursor
694 methods. Fixes bug 1787, 616 and 835.
696 * BufferView_pimpl.C (restorePosition): set the cursor correctly
697 when inside an inset (part of bug 781).
698 (dispatch): adapt to change of BufferView::setCursor.
699 (getStatus, dispatch): handle LFUN_GOTOERROR,
700 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
702 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
703 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
704 * text3.C (gotoNextInset, gotoInset): removed.
706 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
708 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
710 2005-02-15 Angus Leeming <leeming@lyx.org>
712 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
713 can be used meaningfully in a comparison.
715 2005-02-13 André Pönitz <poenitz@gmx.net>
717 * bufferview_funcs.C (coordOffset): improve cursor drawing
719 2005-02-13 André Pönitz <poenitz@gmx.net>
721 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
722 * Cursor.C (dispatch): use fixIfBroken
723 * lyxfunc.C (getStatus): use fixIfBroken
725 2005-02-15 Angus Leeming <leeming@lyx.org>
727 * lyx_main.C (error_handler):
729 * lyxrc.C (setDefaults):
731 #include "environment.h".
733 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
735 2005-02-15 Angus Leeming <leeming@lyx.org>
737 * lyxserver.C (startPipe): squash MSVC warning "local variable
738 'fd' used without having been initialized".
740 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
742 * BufferView_pimpl.C: revert accidental commit.
744 2005-02-14 André Pönitz <poenitz@gmx.net>
746 * dociterator.[Ch]: new member forwardPosNoDescent(),
747 which doesn't enter nested insets.
748 * text2.C (setFont): use forwardPosNoDescent() instead
749 of ForwardPos() (fixes crash on font change).
751 2005-02-13 Angus Leeming <leeming@lyx.org>
753 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
754 only if lyxrc.path_prefix is not empty.
756 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
758 * bufferparams.C (readGraphicsDriver): prevent crash
760 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
762 * text2.C (setCounter): check for inInset() == 0
764 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
766 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
767 but use update() to get correct screen display; use convert
768 instead of istringstream.
769 (getStatus): handle LFUN_GOTO_PARAGRAPH
771 * lyxfunc.C (dispatch, getStatus): do not handle
772 LFUN_GOTO_PARAGRAPH here.
774 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
776 * text3.C (dispatch): size() -> depth()
778 * text2.C: remove some debug output
780 * paragraph.C: ws changes only
782 * lyxfunc.C (getStatus): size() -> depth()
784 * dociterator.h (clear, push_back, pop_back, internalData,
785 operator[], resize, empty): new functions
786 Make StableDocIterator and operator== be friends. Don't inherit
787 from std::vector use a privat class variable slices_ instead.
790 * dociterator.C: update because of not inheriting from std::vector
791 anymore. Call explictly to slices_ instead. Use depth() instead of
792 size() and top() instead of back()
794 * cursor.C: chagne size() -> depth and back() -> top(). Also
795 remove some direct operator[](i) calls in favour of foo[i]
796 (getFont): remove some dead code
798 * bufferview_funcs.C (coordOffset): size() -> depth()
800 * buffer.C: ws changes only
802 * CutAndPaste.C (eraseSelection): back() -> top()
804 * BufferView_pimpl.C (selectionRequested): back() -> top()
806 * BufferView.C (setCursor): size() -> depth()
808 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
810 * text3.C (cursorPrevious): return true if depm changed something
812 (dispatch): rename sl to oldTopSlice, remove moving use the new
813 NoUpdate func attrib instead. Make sure that needsUpdate is set
814 for function that have NoUpdate, but where depm might have changed
817 * text2.C (cursorLeft): make us return true if depm changed
820 (cursorUpParagraph): ditto
821 (curosrDownParagraph): ditto
822 (cursorUp, cursorDown): ditto, make sure to read comments in code
823 (deleteEmptyParagraphMechanism): remove an assert, also return
824 true if just a single char was deleted.
826 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
827 cursor that we modify, to avoid modifying an active cursor before
828 we call setCursor. This allows depm to run. Also return true if
829 depm deleted something.
831 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
832 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
833 cursorDownParagraph, cursorPrevious and cursorNext, return true if
834 something was changed in the buffer because of them (ie. depm run)
836 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
837 debug messages. Make update by default be false. Make sure that
838 the result of update is retained throught several calls down to
841 * LyXAction.h: add a new func_attrib: NoUpdate
843 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
844 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
845 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
847 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
849 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
851 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
852 bv_->owner(), bv_->buffer() by direct references to the private
854 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
855 (getStatus): isSavedPosition() is in BufferView::Pimpl.
856 (fitCursor): center() is in BufferView::Pimpl.
857 (getStatus, trackChanges, dispatch): no need for a temporary buf
859 (fitCursor, workAreaDispatch): use workarea().workheight()
861 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
863 * CutAndPaste.C (pasteSelectionHelper): fix a crash
865 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
867 * buffer.C: format up to 241.
868 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
869 break if pasting into ERT
870 * lyxfunc.C (getStatus): suppress mathpanel and
871 LFUN_DIALOG_SHOW_NEW_INSET in ERT
873 2005-02-01 Angus Leeming <leeming@lyx.org>
875 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
877 2005-02-01 Angus Leeming <leeming@lyx.org>
879 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
880 calling fs::is_directory().
882 2005-01-31 Angus Leeming <leeming@lyx.org>
884 * lyx_main.C (priv_exec): specify explicitly the relative location
885 of the top level build directory when run in-place.
887 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
890 LyXText containing the cursor, not the top-level one.
892 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
894 (insertStringAsLines): rename par to pit; use temporary variable
895 par to hold a Paragraph; do not store par.layout() in a variable,
896 since the pointer may die when breaking paragraphs; pass pars to
897 breakParagraph() instead of Buffer::paragraphs().
899 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
901 * lyxlex_pimpl.h: #include <fstream>.
903 * BufferView.[Ch] (getLyXText): add a const version.
905 * BufferView_pimpl.C: add debug aids.
910 * paragraph_funcs.h: add commentary explaining what the class does.
913 * coordcache.[Ch]: add lots of commentary.
914 (startUpdating, doneUpdating): debug aids.
915 (arrays, insets, parPos, getParPos): accessors to private data.
917 * cursor_slice.[Ch] (text): add a const version.
918 * dociterator.[Ch] (text, innerText): add const versions.
920 * lyxtext.h (breakParagraph): change the keep_layout arg to a
923 * paragraph.C (getRow, pos2ros): add asserts.
925 * paragraph.h: add commentary. Lots of.
927 * paragraph.[Ch] (metrucs, draw): removed.
930 * rowpainter.[Ch]: const-correct changes.
932 * text.C: various obvious clean-ups. Removal of ancient cruft.
935 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
937 * vc-backend.C (find_file): rewrite to use boost.filesystem
940 * main.C (main): set default name check for boost.filesystem to
943 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
946 (actOnUpdatedPrefs): ditto
948 * lyx_main.C (init): rewrite to use boost.filesystem
949 (queryUserLyXDir): ditto
951 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
952 (getContentsOfAsciiFile): ditto
954 * lastfiles.C (readFile): rewrite to use boost.filesystem
956 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
958 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
961 * buffer.C (Buffer): adjust for destroydir
962 (getLogName): rewrite to use boost.filesystem
964 (save): use fs::copy_file (from fs_extras)
966 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
968 * LaTeX.C (run): rewrite to use boost.filesystem
969 (scanAuxFiles): ditto
970 (handleFoundFile): ditto
972 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
974 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
976 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
978 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
980 * lyxlayout.[Ch]: change some vars from float to double
982 * buffer.C (readFile): make a local var const
984 * Several files: use convert<> instead of atoi,strToXXX and friends
986 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
988 * LaTeXFeatures.[Ch]: Add a static list packages_ that
989 holds the contents of packages.lst. New functions getAvailable
990 and isAvailable to parse and check that list, resp.
994 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
996 * bufferparams.[Ch]: new param output_changes.
998 * Buffer.C: increase file format to 240.
999 Use output_changes and isVailable.
1003 * paragraph_pimpl.C: Use output_changes and isVailable.
1005 2005-01-23 Angus Leeming <leeming@lyx.org>
1007 * output_latex.C: #include "insetbibitem.h", rather than
1008 forward declare function bibitemWidest.
1010 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1012 * lyx_main.C (init): make it compile on the Mac.
1014 2005-01-20 Angus Leeming <leeming@lyx.org>
1016 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1017 (setLyXMisc): (char string literal) != (char string literal) is
1018 performing a comparison on the addresses. Convert one operand
1019 explicitly to string to guarantee expected behaviour.
1022 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1025 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1027 * output_plaintext.C: remove unneeded #include gzstream.h.
1029 2005-01-20 Angus Leeming <leeming@lyx.org>
1031 * SpellBase.h: rename some of the elements of the Result enum.
1038 * pspell.C (check): ditto
1040 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1042 * buffer.C: add #include <fstream>.
1044 * lyx_main.C (init): Compile fix.
1046 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1048 2005-01-20 Angus Leeming <leeming@lyx.org>
1050 * mover.h: change commentary to reflect the changed meaning of
1051 the $$s placeholder.
1053 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1055 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1057 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1059 2005-01-20 Angus Leeming <leeming@lyx.org>
1061 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1062 printing diagnostic data by not dereferecing an iterator past the
1065 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1067 * buffer.C (readHeader): use "&&" rather than "and".
1069 * lyxserver.h (inPipeName, outPipeName): make these const.
1071 2005-01-19 Angus Leeming <leeming@lyx.org>
1073 * lyx_main.C (error_handler, init): protect SIGHUP with
1074 #ifdef SIGHUP guards.
1076 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1078 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1080 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1082 * text.C (setHeightOfRow): add a margin at the top and bottom of
1083 the document (bug 1761)
1085 2005-01-17 Angus Leeming <leeming@lyx.org>
1087 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1088 with "python ". Workaround for a brain-dead Windows.
1090 2005-01-16 Angus Leeming <leeming@lyx.org>
1092 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1093 for MacOSX and Windows to use prependEnvPath.
1094 Strip out the hard-coded block to add elements to the PATH for
1095 MacOSX and replace it with a call to prependEnvPath using the
1096 contents of LyXRC::path_prefix.
1097 (queryUserLyXDir): strip out the code to run reconfigure, instead
1098 returning a boolean indicating the necessity to do so.
1099 (reconfigureUserLyXDir): contains the code to reconfigure the
1100 user support directory. Is now called after the various LyXRC data
1101 files have been read.
1103 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1105 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1107 * converter.[Ch] (convert): take a new parameter try_default. Use
1108 a default converter (imagemagick) if try_default is true.
1110 2005-01-13 Angus Leeming <leeming@lyx.org>
1112 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1113 os::cygwin_path_fix.
1114 (write): output LyXRC::cygwin_path_fix as necessary.
1116 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1119 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1121 2005-01-12 Angus Leeming <leeming@lyx.org>
1123 * lyx_main.C (init): set the PATH variable to include the
1124 directory containing the LyX binary when running on Mac or Windows.
1126 2005-01-12 Angus Leeming <leeming@lyx.org>
1128 * lyx_main.C (init): remove cruft that purports to set the locale
1129 dir. It doesn't and is not needed anyway.
1131 2005-01-10 Angus Leeming <leeming@lyx.org>
1133 * Makefile.am: remove the lyx_main.C special casing.
1135 * BufferView_pimpl.C:
1141 * messages.C: use support/package.h to provide the paths to the
1142 various directories used by LyX.
1144 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1146 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1147 layout if pasting into an empty paragraph)
1149 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1151 * tex-accent.C: add <string>
1153 2005-01-06 José Matos <jamatos@lyx.org>
1155 * ParagraphParameters.C (write): put every parameter in its own line.
1156 * paragraph.C (write): reduce number of consecutive empty lines exported.
1157 * buffer.C (LYX_FORMAT): increase file format to 239.
1159 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1161 * everywhere: change support/tostr.h -> support/convert.h
1163 * tabular.C: make all write_attributes templates, tostr -> convert
1165 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1166 (emptyTag): and -> &&, and fix type for ret from getChar
1167 (getFirstWord): fix type for ret from getChar
1168 (onlyText): and -> &&
1169 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1172 * toc.C (goTo, action):
1173 * text3.C (dispatch):
1174 * text.C (currentState):
1175 * tex-accent.C (DoAccent):
1178 * lyxfunc.C (menuNew):
1179 * lyxfinc.C (replace):
1180 * counters.C (laberItem):
1181 * bufferview_funcs.C (font2string):
1182 * bufferparams.C (writeFile):
1183 * buffer.C (readFile):
1185 * MenuBackend.C: tostr -> convert
1187 * LaTeX.C (runMessage): fix format
1188 (scanAuxFiles): tostr -> convert
1190 * BufferView_pimpl.C (savePosition): fix format
1191 (restorePosition): ditto
1194 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1196 * Spacing.[Ch]: New method getValueAsString().
1200 * ParagraphParameters.C:
1203 * text3.C: store/read spacing value as string.
1205 * rowpainter.C: change float value (spacing_val) to double.
1207 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1208 broken custom document spacing).
1210 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1212 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1213 namespace, also more use of temp references and const
1215 * cursor.[Ch] (getStatus): move to lyxfunc.C
1217 * bufferparams.C: reformat slightly
1219 * bufferview_funcs.C (font2string): constify arg
1225 * buffer_funcs.C: (many funcs): constify arg on function
1226 definitions, also make more local vars const, also add ASSERTS on
1229 * buffer.C (LYX_FORMAT): put const in correct place
1230 (many funcs): constify arg on function definitions, also make
1231 more local vars const
1233 * aspell_local.h: remove "struct" from typdef setup
1235 * aspell.C (check): make word_ok const
1236 (nextMiss): simplify slightly
1239 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1241 * lyxrc.[Ch]: store all float values as strings.
1242 use int (not float) for lyxrc.dpi.
1244 2005-01-04 Angus Leeming <leeming@lyx.org>
1246 * lyx_cb.C (Reconfigure):
1247 * lyx_main.C (queryUserLyXDir):
1248 to run the <system_lyxdir>/configure correctly on Windows, prefix
1249 the path to the script with "sh " when generating the string that
1250 is passed to system().
1252 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1254 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1256 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1258 * lyxlength.C (asLatexString): get rid of setprecision
1260 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1262 * text2.C (setLayout): remove unused variable endpit.
1263 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1265 * paragraph.C (onlyText): remove unused variable style.
1267 * cursor.C (bruteFind): remove unused variables beg and end.
1269 * Makefile.am (dist_noinset_DATA): not needed anymore
1271 * cheaders/*: remove.
1273 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1275 * text3.C: fix LFUN_MATH_MODE.
1277 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1279 * buffer_funcs.C (countWords): new function. Counts words between
1282 * BufferView_pimpl.C (getStatus, dispatch): handle
1285 * LyXAction.C (init):
1286 * lfuns.h: add LFUN_WORDS_COUNT.
1288 2004-12-19 Angus Leeming <leeming@lyx.org>
1290 * buffer.C (save): s/slashify_path/internal_path/.
1292 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1294 * lyxfind.C (findChange): do not search for end of pars, because
1295 the change tracker cannot handle this (fixes bug 1719).
1297 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1299 * paragraph.[Ch] (autoBreakRows): remove
1301 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1303 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1304 avoid using the paragraph one
1306 * text2.C (LyXText, insertStringAsLines): adjust
1308 2004-12-16 Angus Leeming <leeming@lyx.org>
1312 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1314 2004-12-14 Angus Leeming <leeming@lyx.org>
1316 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1318 * bufferlist.C (emergencyWrite):
1319 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1322 2004-12-14 Angus Leeming <leeming@lyx.org>
1324 * main.C: (main): no longer pass pointers to os::init.
1326 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1328 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1329 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1331 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1334 * text3.C: remove selection_possible global flag
1336 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1338 * text2.C (getSelectionSpan): remove
1339 (changeDepth, changeDepthAllowed): adjust
1341 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1343 * Makefile.am (BOOST_LIBS): use boost variables
1345 2004-12-03 José Matos <jamatos@lyx.org>
1347 * buffer.C: format up to 238.
1349 2004-12-03 José Matos <jamatos@lyx.org>
1351 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1353 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1355 * cursor.C (goUpDown): remove call to idxUpDown2
1357 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1359 * tabular.[Ch]: use size_t-like types for cell, row and column
1362 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1364 * lyxfunc.C (getStatus): do not lose previous information when
1365 calling BufferView::getStatus; do not set a default "Command
1366 disabled" message at the beginning, but just before returning.
1368 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1370 * cursor.h (getStatus): add better comment from src/cursor.C
1372 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1374 * text3.C (getStatus): return false when the lfun is not handled
1376 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1378 * broken_headers.h: remove
1380 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1382 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1384 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1385 offset_ref accessors
1387 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1388 top_y_, merge fitcursor with update
1389 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1391 (metrics): introduce
1392 (workAreaDispatch): adapt to new coord scheme
1393 (redoCurrentBuffer): remove
1395 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1397 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1400 * coordcache.[Ch]: add paragraph cache and helpers
1402 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1405 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1406 (targetX, setTargetX): introduce
1408 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1409 baseline -> ascent, as the rest of lyx
1411 * lyxtext.h: remove redoParagraphs, updateParPositions,
1412 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1413 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1414 have ascent/descent (ascent is ascent of first par)
1416 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1419 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1421 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1423 * pariterator.C: fix infinite loop introduced in par->pit renaming
1425 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1426 in insets and LyXText, draw two off-screen paragraphs using
1427 NullPainter, and adapt to new coord scheme
1431 * text3.C: adapt lfun handlers to the new coord scheme, which
1432 means: there's only guaranteed coord information for onscreen pars
1433 plus one above and one below. This implies that one can do search
1434 from y coordinates in the range [-1,workHeight]
1436 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1438 * rename a lot of InsetOld to InsetBase
1440 2004-11-25 Angus Leeming <leeming@lyx.org>
1442 * BufferView_pimpl.C:
1444 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1446 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1448 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1449 call BufferView::getStatus if LCursor::getStatus did nothing
1450 (setStatusMessage, getStatusMessage): removed.
1452 * FuncStatus.C (message): new methods. Used to provide an error
1453 message indicating why a command is disabled.
1454 (clear, |=, FuncStatus): update for message.
1456 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1458 * lyxfunc.C (dispatch): always call sendDispatchMessage
1460 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1463 * BufferView_pimpl.C:
1468 * cursor_slice.[Ch]:
1471 * paragraph_funcs.C:
1477 * undo.C: par->pit renaming
1479 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1481 * tabular.C (cellstruct): use initialization, store a shared_ptr
1482 to insettext instead of the insettext directly, adjust to fit.
1483 (operator=): new function
1484 (swap): new function
1485 (rowstruct): use initialization
1486 (columnstruct): use initialization
1487 (ltType): use initialization
1490 * lyxlength.h (swap): new function
1492 * LColor.[Ch] (operator=): use the common semantics
1494 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1496 * lyxfind.C (findNextChange): update the bufferview after setting
1499 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1501 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1502 number of InsetOptArgs has already been inserted.
1504 * output_latex.C (latexOptArgInsets): new method. This outputs all
1505 the optarg insets, up to the limit defined in the layout file.
1506 (optArgInset): removed
1507 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1509 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1511 * paragraph.C (isLetter): remove special spellchecker-related
1512 code; return true also for digits
1513 (isWord, isKomma): remove
1515 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1516 * lyxfind.C (MatchString()): use isLetter instead of isWord
1518 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1520 * pariterator.h (operatir=): comment out un-implemented member
1523 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1526 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1528 * lyxfont.h: include LColor.h to satisfy concept checks.
1530 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1532 * pariterator.h: add typdefs for value_type, difference_type,
1533 pointer and reference to satisfy concept checks. Also add default
1534 constructor for same reason.
1536 * pariterator.C (operator++): add post-increment operator to
1537 satisfy concept checks.
1539 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1542 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1544 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1545 checks. Also rename base_type to BaseType to follow naming
1548 * FloatList.h: include Floating.h to satisfy concept checks.
1550 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1552 * lyxfunc.C (getStatus): when the origin of the request is menu or
1553 toolbar, and the LyXView does not have focus, do as if there was
1554 no buffer (bug 1720)
1556 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1557 FuncRequest to individual entries of LFUN_SEQUENCE
1559 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1561 * output_latex.C (TeXOnePar): override runparams.moving_arg
1562 according to the needprotect value of the current paragraph (bug
1565 * paragraph.C (simpleTeXOnePar): no need to override
1566 runparams.moving_args here
1568 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1570 * vspace.C: fix off-by-one-error, related to fix #1682
1572 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1574 * lengthcommon.C: a more general fix for bug 1682
1576 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1578 * text.C (backspace): fix crash
1580 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1582 * format.[Ch] (getFormatFromFile): new method
1583 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1585 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1587 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1589 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1591 * lyxfunc.C (dispatch): remove the verbose argument
1592 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1595 * kbmap.C (defkey): set the origin of func to KEYBOARD
1597 * MenuBackend.C (MenuItem):
1598 * ToolbarBackend.C (add): set the origin of func to UI
1600 * funcrequest.[Ch]: add origin member, which indicates which part
1601 of LyX requests an action
1603 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1605 * converter.C (move): don't lie in the error message
1606 * converter.h (isReachable, move): document
1608 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1610 * buffer.C: remove unused using lyx::support::atoi
1611 * paragraph_funcs.C: ditto
1613 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1615 * bufferlist.C (exists): use bind and equal_to instead of
1618 * lyxtextclasslist.C (NumberOfClass): ditto
1620 * cursor.C (insert): use for_each instead of explicit for loop
1622 * bufferlist.C (getFileNames): use std::transform and
1623 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1625 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1628 * buffer.C (changeLanguage): use for_each instead of explicit for
1630 (hasParWithID): implement using getParFromID
1632 * LaTeXFeatures.C: ws change only
1634 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1637 * BufferView_pimpl.C (trackChanges): use for_each instead of
1640 2004-11-04 André Pönitz <poenitz@gmx.net>
1643 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1645 * dociterator.C (asDocIterator): use hard assert again.
1647 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1649 * lyxlength.C (asLatexString): rewrite so that it does not use
1652 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1654 * text3.C (specialChar, dispatch): make sure cursor moves to the
1655 right after inserting an inset
1657 2004-11-02 José Matos <jamatos@lyx.org>
1659 * output_docbook.C (docbook):
1660 * paragraph.C (getID):
1661 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1662 garantee that the output is always legal.
1664 * tabular.C (docbook):
1665 * outputprams.[Ch]: remove mixed contents.
1667 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1669 * text2.C (setCounter): prevent endless loop
1671 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1673 * exporter.C (copyFile): use the mover instead of support::copy()
1674 * exporter.C (Export): pass format and latex name to copyFile()
1675 * exporter.h (addExternalFile): document
1676 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1678 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1680 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1682 2004-10-30 José Matos <jamatos@lyx.org>
1684 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1685 text and no inset or font change. This allows to use CDATA
1686 sections just for the whole paragraph.
1688 2004-10-30 José Matos <jamatos@lyx.org>
1690 * paragraph.C (getFirstWord): remove unused variable.
1692 2004-10-30 José Matos <jamatos@lyx.org>
1694 * paragraph.C (getFirstWord): the content should always be escaped
1696 (simpleDocBookOnePar):
1697 * output_docbook.C (makeEnvironment): replace reference to CDATA
1700 2004-10-30 José Matos <jamatos@lyx.org>
1702 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1704 2004-10-30 José Matos <jamatos@lyx.org>
1706 * output_docbook.C (makeParagraphs):
1707 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1708 standard paragraph has only a given type of content drop the wrapper.
1710 2004-10-29 José Matos <jamatos@lyx.org>
1712 * output_docbook.C (makeEnvironment):
1714 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1716 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1718 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1719 (cleanID): sanitize any id.
1721 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1723 * buffer.C, lyxlex_pimpl.C:
1724 * lyxlex_pimpl.C (setFile):
1725 s/getExtFromContents/getFormatFromContents/
1727 2004-10-28 José Matos <jamatos@lyx.org>
1729 * output_docbook.C (makeEnvironment): move id to broadest possible
1732 * sgml.C (openTag): apply substitution of <> for all attributes.
1734 2004-10-28 José Matos <jamatos@lyx.org>
1736 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1737 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1738 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1740 * sgml.[Ch]: new version for open and closeTag for paragraph and
1741 for strings. Now they handle the ids of paragraphs.
1743 2004-10-26 Angus Leeming <leeming@lyx.org>
1745 * Makefile.am: add mover.[Ch].
1747 * converter.C (convert, move): use the new Movers to move external
1748 files to the temp directory.
1750 * lyx_main.C (init): ensure that the global system_movers data
1753 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1756 * mover.[Ch]: new files, defining a Mover as a utility to move an
1757 external file between directories and, if necessary, manipulate this
1758 file using a helper script.
1760 2004-10-25 José Matos <jamatos@lyx.org>
1762 * output_docbook.C (makeCommand): merge two if's that tested the
1765 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1767 * sgml.C (escapeString): fix warning in a better way
1769 2004-10-25 José Matos <jamatos@lyx.org>
1771 * sgml.C (escapeString): import the require boosts header file for
1772 tie, and avoid a signed unsigned comparison.
1774 2004-10-25 José Matos <jamatos@lyx.org>
1776 * sgml.h: add #include <string>
1778 2004-10-25 José Matos <jamatos@lyx.org>
1780 * sgml.[Ch] (escapeString): new function to escape all the string.
1782 2004-10-24 José Matos <jamatos@lyx.org>
1784 * paragraph.[Ch] (getFirstWord): new function to get the first
1785 word. Useful for description.
1786 (simpleDocBookOnePar): remove depth argument, add another that
1787 says where to start the paragraph.
1789 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1790 use the new functions to fix cleanly the support for descriptions.
1792 2004-10-24 José Matos <jamatos@lyx.org>
1794 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1795 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1796 * output_linuxdoc.C (linuxdocParagraphs):
1797 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1798 add buffer as argument.
1800 2004-10-24 José Matos <jamatos@lyx.org>
1802 * output_docbook.C (makeEnvironment, searchEnvironment): place
1803 CDATA inside paragraphs and fix scope for listitems.
1805 2004-10-24 José Matos <jamatos@lyx.org>
1807 * output_docbook.C: remove using statement for stack.
1809 2004-10-23 José Matos <jamatos@lyx.org>
1811 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1812 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1813 docbook. The new scheme is recursive and makes use of iterators, the
1814 same as latex export works.
1815 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1816 directly with the paragraph contents. This code was moved up to
1817 output_docbook.C (docbookParagraphs).
1818 * sgml.C (openTag, closeTag): removed unneeded newlines.
1819 (closeEnvTags) removed.
1821 2004-10-23 André Pönitz <poenitz@gmx.net>
1823 * undo.C (textUndoOrRedo):
1824 * dociterator.C (asDocIterator): work around crash
1826 * cursor.C (getStatus): replace ASSERT by more verbose error message
1827 and manual correction of the problem. Should increase stability
1828 while providing more sensible information.
1830 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1832 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1834 * bufferlist.C (previous, next): new methods
1837 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1839 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1841 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1842 entities to preamble.
1844 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1846 * messages.C (Pimpl): strip off translation context information
1848 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1850 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1851 the cursor is correct (bug 1694)
1853 2004-10-13 José Matos <jamatos@lyx.org>
1855 * output_docbook.C (docbookParagraphs): fix closing tags in the
1856 end of the document.
1858 2004-10-09 José Matos <jamatos@lyx.org>
1860 * buffer.C: format up to 237.
1861 * bufferparams.C (write): use tostr to convert booleans to strings.
1863 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1865 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1867 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1869 * LaTeX.C: implement use of babel language in xindy.
1871 2004-10-05 José Matos <jamatos@lyx.org>
1873 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1874 Add new translators to help reading and writing the lyx file.
1876 2004-10-05 José Matos <jamatos@lyx.org>
1878 * ParagraphParameters.C (read):
1879 * text.C (readParToken): replace nexToken by more appropriate lex
1882 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1884 * LaTeX.C (runMakeIndex):
1885 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1886 (usually 'makeindex') configurable.
1888 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1889 with a variable rather than with a number.
1891 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1893 * output_latex.C (TeXOnePar): make sure font setting is the first
1894 thing that gets output (and the last at the end). Should fix bug
1897 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1899 * pch.h: use proper signal include
1901 * LaTeX.h: Use preferred calling of Boost.Signal
1904 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1906 * pch.h: dont include <boost/function/function0.hpp>
1908 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1910 * paragraph_pimpl.h: remove usage of ShareContainer
1912 * paragraph_pimpl.C: remove initialization of ShareContainer.
1914 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1918 * BufferView.C (putSelectionAt): change the semantics when
1919 backwards == true: now, this just swaps cursor and anchor wrt the
1922 * BufferView.h (putSelectionAt): add some documentation
1924 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1925 make sure backwardChar is done at least once (to avoid getting
1927 (findNextChange): use putSelectionAt in the forward direction
1928 (operator()): use Paragraph::isWord
1930 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1932 * Spacing.C (set): c_str fix
1934 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1936 * lyx_cb.C (Reconfigure): quote the name of configure script in
1937 case it contains spaces
1939 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1943 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1944 (BOOST_LIBS): use top_buildir when looking for the file
1946 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1948 * pch.h: do not use include boost/format.hpp, multiple symbols
1949 will result (gcc bug)
1952 2004-08-23 José Matos <jamatos@lyx.org>
1954 * bufferparams.C (readToken): fix reading of the author field.
1956 2004-08-20 José Matos <jamatos@lyx.org>
1958 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1960 2004-08-20 José Matos <jamatos@lyx.org>
1962 * lyxlex.[Ch] (findToken): remove function.
1964 * ParagraphParameters.C (findToken):
1965 * bufferparams.C (findToken): replace call for previous function
1966 with local copy. This local function has one more argument, the
1967 read string argument.
1969 2004-08-16 José Matos <jamatos@lyx.org>
1971 * ParagraphParameters.C (write):
1972 * Spacing.C (writeFile):
1973 * bufferparams.C (writeLaTeX):
1974 * lyx_cb.C (Reconfigure):
1975 * paragraph.C (write):
1976 * tabular.C (write): remove unnecessary space at end of line.
1979 2004-08-16 José Matos <jamatos@lyx.org>
1981 * text.C (readParagraph): remove debug message.
1983 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1985 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1988 * output_plaintext.C (asciiParagraph): set depth correctly
1990 * outputparams.h: add member depth
1992 * paragraph_funcs.C (ownerPar): remove.
1994 * text2.C (setCounter): remove first_pit; comment out some
1995 non-working code that uses ownerPar
1997 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2000 2004-08-16 José Matos <jamatos@lyx.org>
2002 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2003 For the same level of importance use the same chanel to report problems.
2004 (read): add code to deal with \begin_body and \end_body.
2007 2004-08-15 José Matos <jamatos@lyx.org>
2009 * lyxlex.C (getString): fix comment, buffer::readBody is now
2010 buffer:readDocument.
2012 * tex-strings.C (string_papersize): Default -> default,
2013 Custom -> custom, for consistency with other options.
2015 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
2019 * Makefile.am: support pch
2021 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2023 * text.C (readParToken): remove the static LyXFont variable and
2024 pass it as a parameter instead. This fixes a nasty bug where an
2025 inset will be inserted with a bad font in some situations
2026 (readParagraph): adapt
2028 * text2.C (setCounter): reduce number of calls to pars_[pit]
2030 * text.C (singleWidth): add an assert, fix a test
2032 * rowpainter.C (paintText): reduce number of calls to singleWidth
2034 * paragraph.C (isHfill):
2035 (isNewline): ws only
2037 2004-08-14 André Pönitz <poenitz@gmx.net>
2042 * lyxtext.h (several functions): use a Paragraph & argument
2045 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2047 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2049 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2051 * text.C (singleWidth): remove useless test
2053 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2055 * tabular.h: remove bogus comments
2057 * tabular.C (getDescentOfRow):
2058 (isPartOfMultiColumn): add assertions
2060 * lyxlength.C (inPixels): remove #warning
2062 2004-08-14 André Pönitz <poenitz@gmx.net>
2064 * paragraph.h: inline getChar()
2066 * BufferView.h: remove unused declarations
2068 2004-08-14 José Matos <jamatos@lyx.org>
2070 * Buffer.[Ch] (readDocument): new name for old readBody.
2071 * Buffer.C: new file format, new keywords: \begin_document,
2072 \begin_header, \begin_body, \end_body.
2074 * bufferparams.C (readToken): replace all calls to lex.nextToken
2075 by lex.next(). Do the same to eatLine except where really needed.
2077 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2078 line when writing to the lyx file.
2080 * output_plaintext.C (asciiParagraph): fix Bibliography style
2083 * text.C (read): fix end of file handling.
2085 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2087 * MenuBackend.C (Menu::operator[]): new method to access
2088 individual menu items
2089 (Menu::hasFunc): new method. search for an item that corresponds
2091 (MenuBackend::specialMenu): new method
2092 (MenuBackend::expand): if a special menu has been set, skip
2093 entries whose func() appears in this menu
2095 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2097 * text3.C: use Debug::DEBUG a bit more
2099 * text.C (leftMargin): try to simplify a tiny bit change var x to
2100 l_margin. Dont output the wide margins always.
2101 (rightMargin): no margin in inner texts
2103 * rowpainter.h (nestMargin): new func
2104 (changebarMargin): new func
2105 (rightMargin): new func
2107 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2111 * factory.C (createInset): modify setDrawFrame
2113 * cursor.C: use Debug::DEBUG a bit more
2115 2004-08-14 André Pönitz <poenitz@gmx.net>
2118 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2119 cache for all insets in (at least partially) visible (top-level)
2122 * BufferView_pimpl.C: reset external coord cache before every update.
2123 This means the coord cache only contains valid entries.
2125 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2128 * BufferView_pimpl.C (getInsetByCode): move function out of class
2129 and change in to a template in anon namespace. Also fix to do what
2132 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2135 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2137 (breakParagraph): rename par to par_offset and use a local
2138 reference. Add code to keep the language over a rebreak.
2139 (breakParagraphConservative): rename par to par_offset, use a
2141 (mergeParagraph): ditto
2143 (isFirstInSequence): ditto
2144 (outerFont): rename pit to par_offset
2146 * paragraph.C: ws change
2147 * paragraph.h: ditto
2151 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2153 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2156 * paragraph.C (simpleTeXOnePar): when we have a \item with
2157 optional argument, enclose the argument with curly brackets (in
2158 case it contains a closing square bracket)
2162 * text3.C (checkInsetHit): constify
2164 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2166 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2167 documents (bug 1629)
2169 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2171 Fix toggling of collapsable insets with the mouse (bug 1558)
2173 * lyxfunc.C (dispatch): adapt to LCursor changes
2175 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2176 make sure that dispatch is not invoked twice
2178 * cursor.C (needsUpdate): new method
2179 (dispatch): return void
2180 (result): new method, to access the DispatchResult of the cursor.
2182 2004-08-13 José Matos <jamatos@lyx.org>
2184 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2186 2004-08-13 André Pönitz <poenitz@gmx.net>
2188 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2190 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2193 2004-08-12 André Pönitz <poenitz@gmx.net>
2195 * text3.C: take out the 'cursor right' form insertInset and only
2196 do it in those places when it is really needed. Fixes crash on
2199 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2201 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2203 * BufferView_pimpl.C (setBuffer): initialize the current font of
2204 the underlying LyXText
2206 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2208 * kbsequence.C (print): use UI native formatting for menu
2211 * text.C (insertChar): call Paragraph::insertChar with a font
2214 * paragraph.C (insertInset, insertChar): the version that takes a
2215 LyXFont argument is now a wrapper around the other one (the
2216 opposite used to be true).
2218 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2219 argument. Font setting is done in Paragraph now.
2221 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2223 * outputparams.h: add new members intitle and lang.
2225 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2226 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2228 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2230 * text3.C (dispatch): remove special handling of button 4 and 5,
2231 it is now taken care of in the frontend code.
2233 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2235 * Spacing.h: add <string> (STLPort compile fix)
2237 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2239 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2241 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2243 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2246 * converter.C (showMessage): inherit from unary_function, make
2249 * buffer.C (writeFile): initialize retval
2251 * InsetList.h: rename private variable list to list_
2252 * InsetList.[Ch]: adjust accordingly.
2254 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2256 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2257 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2258 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2259 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2260 * ParagraphParameters.C, LaTeXFeatures.C: replace
2261 "support/std_sstream.h" with <sstream>
2263 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2265 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2266 * lyxsocket.C (LyXServerSocket): ditto
2267 (serverCallback): ditto
2269 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2271 * LaTeXFeatures.C: check release date when loading jurabib.
2273 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2275 * lyxserver.C (startPipe): call register_socket_callback
2276 (endPipe): call unregister_socket_callback
2278 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2280 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2281 (LyXServerSocket): register the callback
2282 (LyXServerSocket): unregister the callback
2283 (fd): delete function
2284 (serverCallback): improve error checking and setup the callbacks.
2285 (dataCallback): change arg to fd.
2286 (writeln): new func (copied fro the client socket) used for server
2288 (LyXDataSocket): simplify
2289 (~LyXDataSocket): close ann unregiser callback
2290 (server): delete function
2291 (fd): delete function
2292 (readln): small changes, improve some std::string usage
2293 (writeln): constify a bit
2295 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2297 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2300 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2302 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2303 after it has been populated
2305 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2307 * text2.C (insertInset): move cursor when inserting inset.
2309 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2311 * kbmap.C (findbindings): a couple of new methods. returns a
2312 container of kb_sequence objects. The real work is done by the
2313 private recursive version
2314 (printbindings): uses findbindings to print out a bracketed list
2315 of bindings (renamed from findbinding).
2317 * MenuBackend.C (binding): use kb_keymap::findbindings
2319 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2321 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2323 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2325 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2327 * paragraph.C (isWord): return true on insets that report
2330 * text.C (getWord): use Paragraph::isWord to decide what is in a
2331 word and what is not; fix bug 1609.
2333 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2335 * tex-strings.C: add "none" to string_paperpackages[], fixes
2336 off-by-one-error in the paperpackage selection.
2339 * tex-strings.[Ch]: char const * string[n]
2340 -> char const * const string[]
2342 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2344 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2345 command, return early.
2347 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2349 * debug.h: add DEBUG to enum and fix size of ANY.
2351 * debug.C: add support for Debug::DEBUG
2352 (showTags): cast errorTags.level to unsigned int
2354 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2355 (redoCurrentBuffer): ditto
2356 (updateScrollbar): ditto
2357 * cursor.C (dispatch): ditto
2358 * text2.C (setLayout): ditto
2360 (updateCounters): ditto
2362 (deleteEmptyParagraphMechanism): ditto
2364 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2366 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2367 annotations to cleanup the Makefile slightly.
2369 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2371 * lyxrc.C: do not set user_email to a default value but use empty
2372 instead. The entry used to be translated, which does not work
2373 since at the point where lyxrc is constructed there is no
2374 translation service available
2376 * messages.C (getLocaleDir): remove and use directly
2377 lyx_localedir() instead
2379 2004-06-02 Angus Leeming <leeming@lyx.org>
2381 Fix crash caused by dereferencing null pointer 'exportdata' in
2382 OutputParams by creating a new ExportData variable on the heap,
2383 storing it in a boost::shared_ptr.
2384 The crash was triggered when generating an Instant Preview
2385 of an external inset.
2387 * Makefile.am: add outputparams.C
2389 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2390 (c-tor): allocate memory to it.
2392 * exporter.C (c-tor): associated changes.
2394 2004-06-01 Angus Leeming <leeming@lyx.org>
2396 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2397 contains data before calling isInset(0). (Bug 1513.)
2399 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2401 * exporter.C (checkOverwrite): new method
2402 * exporter.C (copyFile): new method
2403 * exporter.C (Export): copy referenced files to the document dir
2404 * exporter.[Ch]: new class ExportedFile
2405 * exporter.[Ch]: new class ExportData. Contains currently the
2406 names of referenced external files
2407 * outputparams.h: add exportdata member.
2409 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2411 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2414 2004-05-19 Angus Leeming <leeming@lyx.org>
2419 * lyxfunc.C: small changes due to the introduction of namespace
2420 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2422 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2424 * text3.C (dispatch): supress update when only moving the cursor
2425 * cursor.C (selHandle): remove commented code
2427 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2429 * paragraph.C (startTeXParParams): correct column count
2430 * CutAndPaste.C (pasteSelection): remove const_cast
2431 * output_docbook.C (docbookParagraphs): remove const_cast
2432 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2433 const_cast and return ParagraphList::const_iterator
2434 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2435 * output_plaintext.C (writeFileAscii): remove const_cast
2436 * paragraph.[Ch] (simpleTeXOnePar): make const
2437 * paragraph_funcs.C (outerPar): use const iterators
2438 * paragraph_pimpl.C (validate): use const iterators
2439 * text.C (setHeightOfRow): use const iterators
2441 2004-05-17 Angus Leeming <leeming@lyx.org>
2444 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2446 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2447 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2448 if the citation engine has changed.
2450 2004-05-14 José Matos <jamatos@lyx.org>
2452 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2453 if the textclass does not provide it. Have it different for sgml and
2455 support the language of document.
2456 * output_docbook.C (docbookParagraphs):
2457 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2458 first anchor as the id of the paragraph, remove special case code.
2459 * sgml.C (escapeChar): escape only < & >.
2461 2004-05-14 Angus Leeming <leeming@lyx.org>
2463 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2464 dependencies on src/frontends/controllers/biblio.h. Define a
2465 CiteEngine_enum wrapper class to enable the enum to be forward
2468 2004-05-12 Angus Leeming <leeming@lyx.org>
2470 * buffer.C: up LYX_FORMAT to 234.
2471 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2472 use_numerical_citations with a single biblio::CiteEngine cite_engine
2474 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2476 2004-05-13 José Matos <jamatos@lyx.org>
2479 * converter.C (Converter, readFlags): add xml member.
2480 * outputparams.h: add XML flavor.
2481 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2483 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2485 * lyxfunc.C (dispatch):
2486 (getStatus): fix handling of LFUN_SEQUENCE
2488 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2490 * debug.C (showLevel): do not forget the end-of-line marker
2492 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2494 * kbmap.C (read): do not stop parsing a bind file when an error
2497 2004-04-29 Angus Leeming <leeming@lyx.org>
2502 * text2.C: wrap a bunch of #warning statements
2503 inside #ifdef WITH_WARNINGS blocks.
2505 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2507 * buffer.C: increment format to 233.
2509 2004-04-28 Angus Leeming <leeming@lyx.org>
2511 * BufferView_pimpl.C:
2514 s/updateToolbar()/updateToolbars()/
2515 s/Toolbar.h/Toolbars.h/
2517 2004-04-28 Angus Leeming <leeming@lyx.org>
2519 * BufferView.[Ch] (c-tor):
2520 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2521 No longer passes these data to the WorkArea generator.
2523 2004-04-28 Angus Leeming <leeming@lyx.org>
2525 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2527 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2529 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2531 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2533 * output_latex.C (TeXEnvironment): make sure that there is a line
2534 break before \end{foo} for the last paragraph of a document
2535 (TeXOnePar): if the paragraph is at the end of the document (or
2536 inset) and the language has to be reset, then make sure that the
2537 line break is _before_ the language command, not after (fixes bug
2538 1225); also make sure that the language reset command is the first
2539 thing after the paragraph (to ensure proper nesting of
2540 environments and thus fix bug 1404)
2542 2004-04-21 John Levon <levon@movementarian.org>
2545 * ToolbarBackend.C: make "name" be a programmatic name
2546 and a gui_name field.
2548 * lyxfunc.C: display the minibuffer on M-x
2550 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2552 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2555 2004-04-19 Angus Leeming <leeming@lyx.org>
2557 * BufferView_pimpl.C (setBuffer): changed preview interface.
2559 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2562 2004-04-19 John Levon <levon@movementarian.org>
2564 * BufferView_pimpl.C:
2565 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2567 2004-04-05 Angus Leeming <leeming@lyx.org>
2569 * text.C (redoParagraphs): add call to updateCounters(), thereby
2570 fixing the missing "Figure #:" label from the caption of a
2573 2004-04-13 Angus Leeming <leeming@lyx.org>
2575 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2576 cursor is clicked out of an inset.
2578 2004-04-13 Angus Leeming <leeming@lyx.org>
2580 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2581 than an InsetOld one.
2583 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2585 * format.[Ch]: add editor to Format
2586 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2587 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2589 2004-04-08 André Pönitz <poenitz@gmx.net>
2591 * metricsinfo.h: remove PainterInfo::width member
2593 2004-04-08 Angus Leeming <leeming@lyx.org>
2595 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2596 "\providecommand" rather than "\newcommand", thereby preventing
2597 clashes with packages that define "\boldsymbol" themselves.
2600 2004-04-08 Angus Leeming <leeming@lyx.org>
2602 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2603 thereby squashing an unnecessary warning.
2605 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2607 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2610 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2612 * BufferView.C (setCursor): call redoParagraph (some insets could
2614 (putSelectionAt): remove the 'double update' trick
2616 * BufferView_pimpl.C (fitCursor): call refreshPar
2617 (workAreaDispatch): remove an uneeded update call
2618 (dispatch): remove some manual update calls
2620 * cursor.[Ch]: remove cached_y_, updatePos
2621 (selHandle): set noUpdate when appropriate
2623 * lyxfunc.C (dispatch): track if we need an update
2625 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2627 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2628 (paintSelection): cheap optimization, do not call cursorX when not
2630 (paintPars): change signature
2633 (paintTextInset): adjust
2637 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2639 * lengthcommon.C: compilation fix: remove explicit array size from
2640 unit_name[] and friends
2642 2004-04-05 Angus Leeming <leeming@lyx.org>
2644 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2646 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2647 present only for the preferences dialog.
2648 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2650 2004-04-05 Angus Leeming <leeming@lyx.org>
2652 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2653 to enable the frontends to export changes to lyxrc correctly.
2655 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2657 2004-04-07 André Pönitz <poenitz@gmx.net>
2659 * cursor.[Ch] (selClear, adjust): remove math
2661 * cursor_slice.C: more agressive assert
2664 * BufferView_pimpl.C: rework mouse event dispatch
2671 2004-04-05 André Pönitz <poenitz@gmx.net>
2673 * cursor.[Ch] (valign, halign...): remove unneeded functions
2675 2004-04-05 Angus Leeming <leeming@lyx.org>
2677 * lyxlength.[Ch] (unit_name et al.): const-correct.
2679 2004-04-05 Angus Leeming <leeming@lyx.org>
2681 * BufferView_pimpl.C:
2690 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2692 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2694 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2696 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2698 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2699 * BufferView_pimpl.[Ch] (getStatus)
2700 * BufferView.[Ch] (getStatus): add
2701 * lyxfunc.C (getStatus): move lfuns handled in
2702 BufferView::dispatch to te function above
2703 * Cursor.C (setSelection): set selection() = true
2705 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2707 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2709 2004-03-31 Angus Leeming <leeming@lyx.org>
2711 * lyxfunc.C (dispatch): Fall through to the generic
2712 Dialogs::show("preamble").
2714 2004-03-31 Angus Leeming <leeming@lyx.org>
2716 * lyxfunc.C (dispatch): Fall through to the generic
2717 Dialogs::show("spellchecker").
2719 2004-03-31 Angus Leeming <leeming@lyx.org>
2721 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2724 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2729 * insetiterator.[Ch]:
2734 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2736 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2738 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2739 insets where we are putting the cursor.
2741 2004-03-31 Angus Leeming <leeming@lyx.org>
2744 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2746 * lyxrc.[Ch] (read, write): overloaded member functions taking
2747 a std::[io]stream arguments.
2749 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2751 2004-03-31 Angus Leeming <leeming@lyx.org>
2753 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2754 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2756 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2757 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2759 2004-03-31 Angus Leeming <leeming@lyx.org>
2761 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2762 the LFUN_ALL_INSETS_TOGGLE code.
2764 2004-03-30 Angus Leeming <leeming@lyx.org>
2766 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2767 has died. Fall through to the generic Dialogs::show("document").
2769 2004-03-30 Angus Leeming <leeming@lyx.org>
2772 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2773 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2775 * lyxfunc.C (getStatus, dispatch): define the actions for these
2776 lfuns. Little more than a cut and pste job from ControlDocument.C
2778 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2780 2004-03-30 Angus Leeming <leeming@lyx.org>
2783 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2784 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2786 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2787 open/closed state of ollapsable insets. Usage:
2789 all-inset-toggle <state> <name>, where
2790 <state> == "open" || "closed" || "toggle" and
2791 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2793 * lyxtext.h, text2.C (toggleInset): removed.
2795 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2796 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2797 now passes LFUN_INSET_TOGGLE to the found inset.
2799 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2800 is now invoked as "all-insets-toggle toggle branch".
2802 2004-03-30 Angus Leeming <leeming@lyx.org>
2806 * pariterator.[Ch]: added/corrected header blurb.
2808 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2810 * dociterator.[Ch]: add an inset_ member
2811 (backwardPos): implemented
2812 (backwardPos, forwardPos): use inset_ when the stack is empty.
2813 (doc_iterator_begin, doc_iterator_end): implemented
2814 * pariterator.[Ch]: adjust, add begin, end
2815 * insetiterator.[Ch]: adjust, add begin, end
2819 * BufferView_pimpl.C:
2820 * CutAndPaste.C: adjust
2822 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2824 * buffer.C: increment file format to 232.
2825 * LaTeXFeatures.C: add bibtopic package.
2826 * bufferparams.[Ch]: param \use_bibtopic.
2828 * lyxrc.[Ch]: add lyxrc bibtex_command
2829 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2831 * buffer.C: increment file format to 231.
2833 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2835 * dociterator.C: implement forwardPar
2836 * iterators.[Ch]: remove, replaced by
2837 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2839 * BufferView_pimpl.C:
2842 * bufferview_funcs.C:
2848 * Makefile.am: adjust
2850 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2852 * CutAndPaste.C (pasteSelection): fix 2 crashes
2853 (eraseSelection): fix a crash
2854 * paragraph_funcs.C: remove a warning
2856 2004-03-28 Angus Leeming <leeming@lyx.org>
2859 * LyXAction.C (init): new LFUN_PRINT.
2861 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2863 2004-03-27 Angus Leeming <leeming@lyx.org>
2866 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2868 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2870 2004-03-27 Angus Leeming <leeming@lyx.org>
2872 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2873 insetlist always contains non-null pointers to insets.
2875 2004-03-26 Angus Leeming <leeming@lyx.org>
2877 * src/BufferView_pimpl.C:
2878 * src/CutAndPaste.C:
2881 * src/output_plaintext.C:
2882 * src/outputparams.h:
2883 * src/paragraph_funcs.C:
2887 * src/frontends/controllers/ControlErrorList.C:
2888 * src/frontends/gtk/FileDialogPrivate.C:
2889 * src/frontends/gtk/GPainter.C:
2890 * src/frontends/gtk/GToolbar.C:
2891 * src/frontends/qt2/QRef.C:
2892 * src/mathed/math_scriptinset.C: squash compiler warnings.
2894 2004-03-26 Angus Leeming <leeming@lyx.org>
2896 * ispell.C (LaunchIspell::start):
2897 * lyx_cb.C (AutoSaveBuffer::start):
2898 invoke run(DontWait) rather than runNonBlocking().
2900 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2902 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2904 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2906 * kbsequence.C (print): adjust
2908 * kbmap.C (printKeySym): rename and change signature
2909 (printKey): use LyXKeySym::print()
2911 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2913 * undo.C: add using std::advance to compile for stlport
2915 2004-03-24 Angus Leeming <leeming@lyx.org>
2917 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2918 it leads to a crash when no buffer is present.
2920 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2921 Martin Vermeer <martin.vermeer@hut.fi>
2923 * lyxfunc.C (dispatch):
2924 * bufferparams.C (readToken): use the new LColor::setColor
2926 * LColor.[Ch] (setColor): new version that takes two strings as
2927 argument and creates a new color entry if necessary
2929 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2931 * buffer.C (makeLaTeXFile): if the main latex file that is
2932 processed is usually a subdocument of some master, then pretend
2933 for a while that it is actually the master
2935 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2937 * buffer.C (getLabelList):
2938 (getBibkeyList): use getMasterBuffer()
2939 (getMasterBuffer): new method. Returns the main document in the
2940 case where one is using included documents.
2942 2004-03-25 André Pönitz <poenitz@gmx.net>
2946 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2948 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2950 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2951 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2953 * ParameterStruct.h: merge with ParagraphParameters
2955 * lyxtext.h: remove LyXText::parOffset() and getPar()
2957 * text3.C: Remove all 'manual' update calls. We do now one per user
2958 interaction which is completely sufficient.
2962 * BufferView_pimpl.C:
2963 * FontIterator.[Ch]:
2965 * ParagraphParameters.[Ch]:
2970 * cursor_slice.[Ch]:
2977 * output_docbook.[Ch]:
2978 * output_latex.[Ch]:
2979 * output_linuxdoc.[Ch]:
2980 * output_plaintext.[Ch]:
2982 * paragraph_funcs.[Ch]:
2983 * paragraph_pimpl.[Ch]:
2991 * frontends/controllers/ControlDocument.C:
2992 * frontends/controllers/ControlErrorList.C:
2993 * frontends/controllers/ControlSpellchecker.C:
2996 * insets/insetbase.h:
2997 * insets/insetbibitem.C:
2998 * insets/insetbox.C:
2999 * insets/insetbranch.C:
3000 * insets/insetcaption.C:
3001 * insets/insetcharstyle.C:
3002 * insets/insetcharstyle.h:
3003 * insets/insetcollapsable.C:
3004 * insets/insetcollapsable.h:
3005 * insets/insetert.C:
3006 * insets/insetfloat.C:
3007 * insets/insetfoot.C:
3008 * insets/insetmarginal.C:
3009 * insets/insetnote.C:
3010 * insets/insetoptarg.C:
3011 * insets/insettabular.C:
3012 * insets/insettext.C:
3013 * insets/insettext.h:
3014 * insets/insetwrap.C:
3015 * mathed/math_mboxinset.C:
3016 * mathed/math_nestinset.C:
3017 * mathed/math_scriptinset.C:
3018 * mathed/math_scriptinset.h:
3021 2004-03-24 Angus Leeming <leeming@lyx.org>
3023 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3024 deal with any child processes that have finished but are waiting to
3025 communicate this fact to the rest of LyX.
3027 2004-03-24 Angus Leeming <leeming@lyx.org>
3029 64-bit compile fixes.
3031 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3032 (c-tor): pass lyx::pos_types rather than ints.
3034 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3037 * text.C (Delete): compile fix.
3038 (getPar): ensure that function declaration is the same as that in
3041 2004-03-23 Angus Leeming <leeming@lyx.org>
3043 * ispell.C (LaunchIspell):
3044 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3045 a boost::shred_ptr rather than a std::auto_ptr.
3047 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3049 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3050 handle LFUN_FILE_INSERT_*
3052 * lyxrc.C (setDefaults, getDescription, output, read):
3053 * lyxrc.h: remove ps_command
3055 2004-03-22 Angus Leeming <leeming@lyx.org>
3057 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3058 Ensure that error_handler is processed once only and that all data
3059 is saved before attempting to output any warning messages.
3061 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3063 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3065 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3067 2004-03-19 André Pönitz <poenitz@gmx.net>
3069 * cursor.[Ch] (reset): take main text inset as argument
3071 * BufferView: adjust
3072 * BufferView_pimpl.C: adjust
3074 * paragraph.[Ch]: fix completely broken operator=()
3076 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3078 * LColor.C (getFromLyXName): make sure that the color name is used
3081 2004-03-17 Angus Leeming <leeming@lyx.org>
3084 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3086 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3087 dialog and to kill a forked process.
3089 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3091 * text2.C (setCursorFromCoordinates): fix font problem
3093 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3095 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3096 bogus "rebuild cursor" code
3098 2004-03-11 André Pönitz <poenitz@gmx.net>
3100 * buffer.[Ch]: use InsetText instead of LyXText as container for
3103 * dociterator.[Ch]: drop the BufferView * member which is not needed
3104 anymore after the change to buffer.C
3106 * paragraph_funcs.C:
3110 * BufferView_pimpl.[Ch]:
3112 * cursor_slice.[Ch]: adjust
3114 * text3.C: fix bug in mathDispatch
3116 2004-03-08 André Pönitz <poenitz@gmx.net>
3118 * undo.[Ch]: use 'StableDocumentIterator' as base for
3121 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3124 * bufferparams.[Ch]: add jurabib support and param.
3126 * LaTeX.C: add FIXME/comment.
3128 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3130 * buffer.C: increment file format to 230.
3132 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3134 * cursor.C (dispatch): avoid infinite loops
3136 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3138 * rowpainter.C (paintSelection): fix x coordinates
3140 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3142 * text.C (rowBreakPoint): fix breaking before displayed insets
3144 2004-03-01 André Pönitz <poenitz@gmx.net>
3146 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3148 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3152 * BufferView_pimpl.C:
3160 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3166 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3167 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3169 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3171 * Bidi.[Ch] (computeTables): const correctness
3172 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3173 fill_hfill, fill_label_hfill and x from Row
3174 * lyxtext.h: prepareToPrint returns a RowMetrics
3175 * rowPainter.C: adjust
3176 * text.C (prepareToPrint): use width, not textWidth. adjust
3177 (redoParagraphInternal, cursorX): adjust
3178 * text2.C (getColumnNearX): adjust
3179 (init): put a default value to the top LyXText::width
3181 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3183 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3185 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3187 * lyxtext.h: add FontIterator class
3189 * text.C (FontIterator, operator*, operator->, operator++): add
3190 (rowBreakPoint, setRowWidth): adjust (fixing a
3193 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3195 * BufferView_pimpl.C (workAreaDispatch): allow also
3196 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3198 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3200 * text.C (rowBreakPoint): fix a bug showing with very large insets
3202 2004-02-25 André Pönitz <poenitz@gmx.net>
3205 * cursor.[Ch]: move some mathed specific code to mathed
3207 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3209 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3210 use_tempdir in preferences
3211 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3213 * lyx_main.C: ensure that tempdir is valid
3214 * lyxlex.h: correct typo
3215 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3216 * paragraph.[Ch] (isMultiLingual): make const
3217 * cursor.[Ch] (openable): make const
3219 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3221 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3223 2004-02-20 André Pönitz <poenitz@gmx.net>
3225 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3227 * cursor.[Ch]: prepare for localized getStatus()
3233 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3235 2004-02-20 André Pönitz <poenitz@gmx.net>
3237 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3239 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3241 * text2.C (setCursorFromCoordinates): switch to absolute coords
3243 (cursorDown): adjust
3244 * text3.C (dispatch): adjust
3246 2004-02-16 André Pönitz <poenitz@gmx.net>
3248 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3251 * cursor_slice.[Ch]: remove unneeded acessor function
3253 * lyxtext.h: rename rtl() to isRTL()
3261 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3263 * rowpainter.C (paintSelection): coord fix
3265 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3267 * Spacing.C: compile fix
3269 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3271 * cursor.C (dispatch): restore current_ before returning
3273 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3275 * text2.C (cursorUp, cursorDown): fix coords
3278 2004-02-12 André Pönitz <poenitz@gmx.net>
3283 * text3.C: add LCursor & parameter to most cursor movement functions
3284 remove usage of LyXText::cursorRow() and cursorPar()
3286 * cursor.[Ch]: add textRow() needed members
3289 * BufferView_pimpl.C:
3292 * BufferView_pimpl.C: adjust
3294 2004-02-11 André Pönitz <poenitz@gmx.net>
3298 * BufferView_pimpl.C: shift undo/redo handling
3300 * cursor.[Ch]: fix mathed crash
3303 * lyxtext.h: move selectionAsText to LCursor
3311 * rowpainter.C: fix excessive drawing
3313 2004-02-06 André Pönitz <poenitz@gmx.net>
3316 * BufferView_pimpl.[Ch]:
3317 * text3.C: move some text specific LFUN handling
3319 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3321 * text3.C (checkInsetHit): adjust coords
3322 * text2.C (getColumnNearX): adjust coords
3323 (edit): adjust coords
3324 * text.C (getRowNearY): add two asserts
3326 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3329 * format.C: add using std::distance to compile on gcc 2.95/stlport
3331 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3333 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3335 2004-02-04 André Pönitz <poenitz@gmx.net>
3337 * BufferView.[Ch] (insertInset):
3338 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3343 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3345 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3346 on the default clause of the switch
3347 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3348 wasn't catched by LCursor::dispatch
3350 2004-02-03 André Pönitz <poenitz@gmx.net>
3353 * cursor.[Ch]: some additional asserts
3355 * undo.[Ch]: remove LyXText dependency in interface
3359 * lyxtext.h (firstPar, lastPar): remove dead functions
3364 * paragraph.[Ch]: adjust
3366 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3368 * lyxfind.C (find): fix argument order in call to ::find
3370 2004-02-02 André Pönitz <poenitz@gmx.net>
3372 * cursor.[Ch]: remove direct access to anchor
3374 * text.C: remove findText() hack
3376 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3378 * iterators.[Ch] (lockPath): remove in favour of...
3379 * BufferView.[Ch] (setCursor): this addition
3380 * BufferView.C (putSelectionAt): adjust
3381 * undo.C (performUndoOrRedo): adjust
3382 * lyxfunc.C (dispatch): adjust
3384 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3386 * iterators.C (lockPath): add a missing slice
3387 * undo.C (performUndoOrRedo): remove redundant positioning code
3389 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3391 * vc-backend.C (scanMaster): ";" -> ';'
3393 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3395 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3396 std::binary_function
3398 * lyxtextclass.C (compare_name): rename to...
3399 (LayoutNamesEqual): ...this
3401 * lyxlex_pimpl.C (compare_tags): inherit from
3402 std::binary_function, put back into anon namespace
3404 * lyxfind.C (MatchString): inherig from std::binary_function
3405 (findChange): use empty() istead of !size()
3407 * format.C (FormatNamesEqual): new functor
3414 * converter.C (compare_Converter): rename to...
3415 (ConverterEqual): ...this, and fixup a bit.
3416 (getConverter): use it, and make function const
3417 (getNumber): use it, and make function const
3421 * bufferlist.C: add using boost::bind
3423 * MenuBackend.C (MenuNamesEqual): new functor
3424 (hasMenu): use it, and make function const
3425 (hasSubmenu): use nested bind to get rid of compare_memfun.
3427 2004-01-30 André Pönitz <poenitz@gmx.net>
3429 * BufferView_pimpl.C:
3432 * cursor_slice.[Ch]:
3435 * paragraph_funcs.C:
3436 * paragraph_funcs.h:
3440 * text3.C: move some of the edit(x,y) handling to the insets
3441 some coordinate changes.
3443 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3445 * text.C: add using statements for std::advance and std::distance
3447 * paragraph.C: add using statement for std::distance
3449 * lyxfind.C: add using statement for std::advance
3451 * cursor.C (region): remove std:: from swap
3452 (openable): use nucleus in stead of operator->
3454 * BufferView.C: add using statements for std::distance and std::swap
3456 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3458 * iterators.C: Remove the pimple, move the needed structures to
3459 the header file. Create accessor for the positions stack.
3460 (asPosIterator): remove function
3462 * PosIterator.C (PosIterator): move constructors to top of file
3463 (PosIterator): reimplement the constructor taking a ParIterator in
3465 (setFrom): new function
3466 (operator!=): inline it
3468 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3470 * lyxfind.C (replaceAll): use std::advance
3472 * iterators.h: inherit from std::iterator.
3474 * PosIterator.C (advance, distance): remove
3475 * PosIterator.h: interit from std::iterator.
3477 2004-01-26 André Pönitz <poenitz@gmx.net>
3480 * BufferView_pimpl.[Ch]:
3484 * bufferview_funcs.C:
3494 * output_linuxdoc.C:
3495 * output_plaintext.C:
3497 * paragraph_funcs.[Ch]:
3498 * paragraph_pimpl.[Ch]:
3504 * text3.C: more IU: dumps most of the rest of the mathcursor
3505 implementation into cursor.[Ch]; "globalize" a bit of it.
3507 2004-01-25 Angus Leeming <leeming@lyx.org>
3509 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3511 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3513 * LaTeXFeatures.h: add nice_ and nice() const
3514 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3516 2004-01-20 André Pönitz <poenitz@gmx.net>
3519 * BufferView_pimpl.C:
3521 * bufferview_funcs.C:
3523 * cursor_slice.[Ch]:
3534 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3535 LCursor and mathcursor parts to LCursor and InsetBase.
3537 2004-01-15 André Pönitz <poenitz@gmx.net>
3539 * cursor_slice.[Ch]: add a few covienience functions
3541 * funcrequest.[Ch]: remove BufferView * member
3543 * BufferView_pimpl.C:
3550 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3552 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3554 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3555 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3557 2004-01-13 André Pönitz <poenitz@gmx.net>
3560 * lyxtext.h: hide cursor and selection anchor behind accessor function
3563 * BufferView_pimpl.[Ch]:
3565 * bufferview_funcs.C:
3575 * cursor_slice.[Ch]: some integer type changes for inset unification
3577 * lyxcursor.[hC]: remove, it's CursorSlice now.
3580 * BufferView_pimpl.[Ch]:
3581 * bufferview_funcs.C:
3587 * textcursor.[Ch]: adjust
3589 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3591 * text2.C (undoSpan): add and use
3592 * text.C (breakParagraph): use undoSpan (fix bug 578)
3595 2004-01-08 Angus Leeming <leeming@lyx.org>
3597 * BufferView_pimpl.C (MenuInsertLyXFile):
3598 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3599 * lyxfunc.C (menuNew, open, doImport):
3600 FileFilterList change to the FileDialog open and save functions.
3602 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3604 * ShareContainer.h: make isEqual and isUnique adaptable
3606 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3608 2004-01-07 Angus Leeming <leeming@lyx.org>
3611 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3613 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3615 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3616 functions replacing find, replace and replaceAll.
3618 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3619 LFUN_WORDFIND(FORWARD|BACKWARD).
3621 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3623 * text.C (breakParagraph): remove an outdated #warning
3625 2004-01-07 André Pönitz <poenitz@gmx.net>
3627 * lyxfind.C: somewhat clearer logic
3629 * text.C: prevent crash in cursorX on unitialized row cache
3631 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3633 * lyxcursor.[Ch] (operator>): add
3634 * textcursor.C (selStart, selEnd): use std::min and std::max
3636 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3638 * Chktex.C: include boost/format.hpp
3640 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3642 * InsetList.C: replace functor MathcIt with adaptable functor
3644 (insetIterator): modify accordingly
3646 * BranchList.h: move the BranchNamesEqual functor here from...
3647 * BranchList.C: ... to here
3649 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3651 (add): replace a finding loop with std::find_if.
3653 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3655 * output_docbook.C: moving LatexParam functionality into
3658 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3660 * buffer.C: increment format to 229.
3662 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3665 * lyx_sty.[Ch]: remove minipageindent_def
3671 * text3.C: remove LFUN_INSET_MINIPAGE
3673 2003-12-28 Angus Leeming <leeming@lyx.org>
3675 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3677 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3679 * text2.C (setParagraph): fix off-by-one crash
3681 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3683 * output_docbook.C: header stuff for AGU
3685 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3687 * text2.C (redoCursor): remove
3690 * BufferView_pimpl.C: remove calls to redoCursor and
3691 setCursor(cursor.par(), cursor.pos()) all around
3693 2003-12-15 Angus Leeming <leeming@lyx.org>
3695 * buffer.C: up the format to 228.
3697 2003-12-15 André Pönitz <poenitz@gmx.net>
3699 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3704 * BufferView_pimpl.C:
3713 2003-12-15 Angus Leeming <leeming@lyx.org>
3715 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3716 than getFromGUIName to manipulate the color.
3718 2003-12-14 Angus Leeming <leeming@lyx.org>
3720 * BranchList.[Ch]: minimize the API.
3721 (Branch::getBranch, getColor): now return a 'const &'.
3722 (Branch::setSelected) now returns a bool set to true if the
3723 selection status changes.
3724 (BranchList::clear, size, getColor, setColor, setSelected,
3725 allBranches, allSelected, separator): removed.
3726 (BranchList::find): new functions, returning the Branch with
3728 (BranchList::add, remove): return a bool indicating that
3729 the operation was successful.
3731 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3732 new InsetBranch::isBranchSlected member function.
3734 * LColor.[Ch]: mimimize the API.
3735 (fill): renamed as addColor and made private.
3736 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3737 versions of these functions taking a string arg have been removed.
3739 * bufferparams.C (readToken):
3740 * lyxfunc.C (dispatch):
3741 * lyxrc.C (read): changes due to the altered BranchList and
3744 * factory.C (createInset, readInset): changes due to altered
3747 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3750 * lyxfunc.C: remove insetminipage. "minipage-insert"
3751 now produces a frameless minipage box inset.
3753 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3755 * textcursor.[Ch] (selStart,selEnd): add new methods
3756 remove selection::start, end, use LyXCursor::operator<
3757 * lyxcursor.[Ch] (operator<): add
3758 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3759 * BufferView.[Ch] (unsetXSel): add
3760 * text2.C (clearSelection): use unsetXSel,adjust
3763 * rowpainter.C: adjust
3764 * bufferview_funcs.C (put_selection_at): adjust
3766 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3768 * BufferView_pimpl.C: small coord. correction
3770 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3772 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3773 dragging over the splash screen.
3775 2003-12-11 Angus Leeming <leeming@lyx.org>
3777 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3778 as it is now handled in LyXText::dispatch.
3780 * text3.C (doInsertInset): remove a level of nesting.
3782 2003-12-11 Angus Leeming <leeming@lyx.org>
3784 * factory.C (createInset): changes due to the changed interface to
3785 InsetCommandMailer::string2params.
3787 2003-12-10 Angus Leeming <leeming@lyx.org>
3789 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3790 'dialog-show-new-inset <inset name>'
3792 2003-12-10 Angus Leeming <leeming@lyx.org>
3794 * buffer.C: up the format to 227.
3796 * factory.C: the box inset is now identified simply by 'Box'.
3798 2003-12-10 Angus Leeming <leeming@lyx.org>
3800 * buffer.C: up the format to 226.
3802 * factory.C: the note inset is now identified simply by 'Note'.
3804 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3806 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3807 when a pit is enough. Standarize a couple of loops.
3809 2003-12-05 Angus Leeming <leeming@lyx.org>
3811 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3812 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3813 data to the re-worked "log" dialog.
3815 2003-12-03 André Pönitz <poenitz@gmx.net>
3821 * paragraph_funcs.C:
3823 * text2.C: use Inset::getText instead of Inset::getParagraph
3825 2003-12-03 André Pönitz <poenitz@gmx.net>
3829 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3830 InsetText::read() as LyXText::read()
3832 2003-12-02 Angus Leeming <leeming@lyx.org>
3834 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3835 type. Add a comment in the implementation that the function uses
3836 the stream's bad() function rather than fail() as the std::streams
3839 2003-12-02 André Pönitz <poenitz@gmx.net>
3841 * lyxlex.[Ch]: make interface more similar to std::stream
3843 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3845 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3847 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3849 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3851 * vspace.[Ch]: remove VSpace::NONE
3853 2003-12-01 André Pönitz <poenitz@gmx.net>
3856 * lyxtext.h: move ParagraphList member to LyXText
3857 rename LyXText::ownerParagraphs to LyXText::paragraph
3860 * bufferview_funcs.C:
3870 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3872 * undo.C: fix cursor positioning
3874 2003-12-01 John Levon <levon@movementarian.org>
3876 * BufferView_pimpl.C: fix a crash on exit with
3879 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3881 * BranchList.C: fix setSelected() method.
3883 2003-11-28 André Pönitz <poenitz@gmx.net>
3885 * ParagraphParameters.[Ch]:
3886 * ParameterStruct.h: remove space above/below from Paragraph to
3889 * BufferView_pimpl.C:
3895 * paragraph_funcs.C:
3901 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3903 * factory.C: Syntax change for CharStyles
3905 2003-11-28 André Pönitz <poenitz@gmx.net>
3910 * buffer.[Ch]: move LyXText member
3912 2003-11-28 André Pönitz <poenitz@gmx.net>
3914 * BufferView.[Ch]: make LyXText * text a private member
3916 * BufferView_pimpl.C:
3927 * output_plaintext.C: cleanup
3929 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3932 * lyxtextclass.[Ch]: parametrize SGML document header
3934 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3937 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3940 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3942 * text2.C (setFont): rework using PosIterator (no more recursive)
3943 (setCharFont): no more needed
3944 (setLayout): no more selection cursors fiddling (done by redoCursor)
3945 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3946 destroy remaining ones)
3948 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3950 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3952 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3955 * text3.C: adjust + re-allow multi par depth changes
3956 * textcursor.C: simplify a bit
3958 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3964 * src/output_docbook.C:
3965 * src/output_latex.C:
3970 * src/text2.C: Introducing a number of tags parametrizing various
3971 XML formats that we may want to support
3973 2003-11-25 André Pönitz <poenitz@gmx.net>
3975 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3977 * lyxtext.h (leftMargin/rightMargin): simplify interface
3984 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3986 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3987 master file to any child files. Fixes bug 546.
3989 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3991 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3993 2003-11-24 André Pönitz <poenitz@gmx.net>
3995 * rowpainter.C: simplification
3997 * text2.C (updateCounters): remove call to redoParagraph on
3998 changed labels as this is far too expensive.
4000 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4002 * converter.C (convert): fix a crash: this function gets
4003 called with buffer == 0 from importer code.
4005 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
4007 * text3.C (cursorPrevious): make sure that we do not compare
4008 iterators form different containers.
4011 * rowpainter.C (paintSelection): make sure that we do not compare
4012 iterators from different containers.
4014 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4015 iterators from different ParagraphList containers.
4018 * text2.C (LyXText): change order of initialization slightly
4019 (operator=): new function. copy all variables except cache_par_
4020 (moveUp): make sure that we do not compare iterators from
4021 different ParagraphList constainers.
4024 * text.C (firstPar): new function
4025 (lastPar): new function
4026 (endPar): new function
4028 * lyxtext.h: move things around and group public functions, public
4029 variables, private functions, private variables
4031 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4033 * factory.C: change call to InsetERT constructor to avoid
4034 additional invocation of method status
4035 * text2.C (toggleInset): remove redundant update() call
4036 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4037 instead of a Bufferview pointer
4039 2003-11-21 André Pönitz <poenitz@gmx.net>
4041 * rowpainter.C: simplification
4043 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4045 * text3.C (dispatch): make possible to extend a word/row selection
4048 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4050 * lyxtext.h: x0_,y0_ -> xo_,yo_
4051 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4052 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4053 * rowpainter.C (paintRows): paint full paragraphs
4055 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4057 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4060 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4062 * lyxtext.h: add x0_, y0_
4063 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4064 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4066 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4068 * text2.C (setCursorIntern): move the x_target update here *
4069 * text3.C: change some bv() to true/false in calls to
4070 cursorUp/Down/Right/Left
4071 * cursor.C: use helper function.
4073 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4075 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4076 * paragraph_funcs.[Ch]: correct comment
4077 * rowpainter.C: do not paint selections away from bv->cursor()
4078 Fix a long standing selection painting bug.
4079 * text3.C: generalize mouse-selection code to LyXTexts other that
4081 * textcursor.C: do not use y coords if we can use par offsets
4083 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4085 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4086 cursor position after e.g. inset insert)
4088 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4090 * lyxfind.C (replace): adjust to locking removal + some
4093 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4095 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4098 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4101 * output_docbook.C: XML sanitation: new layout
4102 parameters InnerTag and CommandDepth
4104 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4106 * BufferView_pimpl.C:
4108 * text3.C: Fix the insertion and modification of button-style
4111 2003-11-13 André Pönitz <poenitz@gmx.net>
4113 * InsetList.[Ch]: remove deleteLyXText
4115 * paragraph.[Ch]: cache beginOfBody position
4120 * text3.C: remove superfluous update() calls
4124 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4126 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4127 * BufferView.C (fitLockedInsetCursor): remove
4128 * cursor.[Ch] (getDim): add
4129 * text.C (getRowNearY): add faster version
4130 * text3.C: remove some update calls
4132 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4144 * text3.C: The Character Style /XML short element patch.
4146 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4149 * factory.C: Small step to solving 'unable to insert some insets'
4152 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4154 * cursor.[Ch] (updatePos): new function for updating the y
4155 position of the tip inset
4156 * bufferview_funcs.C (put_selection_at):
4157 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4159 2003-11-11 André Pönitz <poenitz@gmx.net>
4161 * text.C: remove big comment on invalid Paragraph pointers as it is
4164 2003-11-11 André Pönitz <poenitz@gmx.net>
4166 * text_funcs.[Ch]: merge with ...
4174 * Makefile.am: remove text_funcs.[Ch]
4176 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4178 * cursor.C (getPos): return absolute cached y coord
4180 * BufferView_pimpl.C (fitCursor): new simplistic code
4181 (workAreaDispatch): add a fitCursor call
4183 2003-11-10 André Pönitz <poenitz@gmx.net>
4186 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4188 2003-11-10 André Pönitz <poenitz@gmx.net>
4190 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4191 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4192 indicate that the cursor needs to leave an inset
4194 * lyxtext.h: remove inset locking
4196 * cursor.[Ch]: re-implement functionality provided by inset locking
4199 * BufferView_pimpl.[Ch]:
4201 * bufferview_funcs.[Ch]:
4213 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4215 * PosIterator.[Ch]: replace the stack with a vector, add inset
4217 * iterators.[C]: adjust
4219 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4221 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4223 * paragraph_funcs.C (readParToken): put the correct id in the
4224 error item, not the id of the top paragraph
4226 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4228 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4229 * bufferview_funcs.C (put_selection_at): use the above
4231 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4233 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4235 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4237 * output_linuxdoc.h:
4238 * output_plaintext.h:
4240 * output_docbook.h: add #include statements
4242 2003-11-05 José Matos <jamatos@lyx.org>
4244 * output_docbook.[Ch]:
4245 * output_latex.[Ch]:
4246 * output_linuxdoc.[Ch]:
4247 * output_plaintext.[Ch]: New files for output formats.
4248 * output.[Ch]: New file for helper functions.
4251 * paragraph_funcs.[Ch]: output functions moved to new files.
4253 * outputparams.h: rename of latexrunparams.h
4261 * paragraph_funcs.[Ch]:
4262 * paragraph_pimpl.[Ch]:
4263 * tabular.[Ch]: rename ascii to plaintext
4264 and LatexRunParams to OutputParams.
4266 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4268 * iterators.[Ch] (text): require bv argument
4269 * undo.C (recordUndo):
4270 * lyxfunc.C (dispatch):
4271 * bufferview_funcs.C (put_selection_at): adjust
4273 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4275 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4277 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4279 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4282 2003-11-04 André Pönitz <poenitz@gmx.net>
4284 * cursor.[Ch]: restructure
4287 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4289 * iterators.[Ch] (asCursor): remove
4291 * lfuns.h: remove LFUN_INSET_EDIT
4297 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4299 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4301 * lyxfind.[Ch]: complete overhaul
4302 * BufferView_pimpl.C:
4304 * paragraph.[Ch] (insert): add
4306 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4310 * text.C: remove dead spellcheck code
4312 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * dispatchresult.h: add a val setter
4316 * cursor.C (dispatch): use a tempvar for data_[i]
4318 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4320 * PosIterator.[Ch]: compile fix
4322 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4324 * text.C (cursorPar): deactivate the cursor cache
4326 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4328 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4330 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4332 * text3.C (dispatch): adjust for new DisptchResult semantics.
4334 * lyxfunc.C (dispatch): handle update when return from
4335 Cursor::dispatch, adjust for new DispatchResult semantics.
4337 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4338 DispatchResult(true) mean to not update. Add class functions for
4339 setting dispatched and update, as well as reading.
4341 * cursor.C (dispatch): don't handle update here
4343 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4345 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4346 * trans_mgr.C: adjust
4348 * paragraph_funcs.C (readParToken): exception safety
4350 * lyxvc.h: store the vcs pointer in a scoped_ptr
4353 * lyxsocket.C (serverCallback): exception safety
4355 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4357 * ispell.C (clone): make it return a auto_ptr
4359 * factory.C (createInset): exception safety
4360 (readInset): exception safety
4362 * bufferlist.C (newBuffer): exception safety
4364 * Thesaurus.C (Thesaurus): use initialization for aik_
4366 * MenuBackend.C (expandToc): exception safety.
4368 2003-11-03 André Pönitz <poenitz@gmx.net>
4372 * bufferview_funcs.C: remove getInsetFromId()
4375 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4381 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4383 * PosIterator.C (distance, advance): new
4384 * bufferview_funcs.[Ch] (put_selection_at): new
4385 * iterators.[Ch] (lockPath): new
4387 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4389 * iterators.[Ch] (asPosIterator): added
4390 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4391 * PosIterator.[Ch]: added
4393 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4397 * cursor.C (dispatch):
4398 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4400 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4401 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4402 contructor, add a class function dispatched. Remove operator>=
4404 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4406 * debug.C: only use the default constructor for debugstream
4409 * main.C (main): include debug.h and setup the lyxerr streambuf
4412 2003-10-31 José Matos <jamatos@lyx.org>
4414 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4416 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4417 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4418 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4419 * paragraph_pimpl.C (simpleTeXSpecialC):
4420 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4421 add LatexRunParams argument.
4423 * exporter.C (Export): change call accordingly.
4425 * latexrunparams.h: add new member to take care of the other backends.
4426 2003-10-30 José Matos <jamatos@lyx.org>
4428 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4429 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4430 factorise code for paragraph output.
4432 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4435 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4437 * text3.C (dispatch):
4438 * lyxfunc.C (dispatch):
4439 * cursor.C (dispatch):
4440 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4442 * dispatchresult.h: make the dispatch_result_t ctor explicit
4444 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4447 * buffer.C: small refactoring of docbook stuff
4449 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4451 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4454 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4456 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4457 operator dispatch_result_t, and operators for == != and >=
4459 * cursor.C (dispatch): adjust for operator dispatch_result_t
4460 removal. comment out call to update
4462 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4464 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4472 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4475 * dispatchresult.h: new file, DispatchResult broken out of
4478 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4480 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4482 * text.C (rowBreakPoint): put a hack inside #if 0
4484 2003-10-28 André Pönitz <poenitz@gmx.net>
4488 * paragraph_funcs.C:
4491 * text2.C: general cleanup (lots of small stuff)
4493 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4495 * text2.C (cursorEnd): simple fix to the "end key goes to one
4496 before the end on last row" bug
4498 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4500 * text.C (backspace): fix the "zombie characters"
4502 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4504 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4506 2003-10-27 André Pönitz <poenitz@gmx.net>
4508 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4510 * factory.C: handle new InsetPagebreak, InsetLine
4512 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4513 and move handling into new InsetPagebreak, InsetLine
4515 * BufferView_pimpl.C:
4517 * ParagraphParameters.C:
4518 * ParameterStruct.h:
4523 * paragraph_funcs.C:
4524 * paragraph_pimpl.C:
4530 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4533 * lyxrow_funcs.[Ch]:
4539 * text3.C: remove lastPos uses in favour of Row::endpos
4541 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4543 * undo.C (performUndoOrRedo): fix two crashes by setting a
4544 cursor by hand and reordering some calls. Use bv->lockInset instead
4545 of inset->edit because the latter loses cursor information
4547 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4549 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4551 (rowBreakPoint): fix width. change point to point + 1.
4552 Add a missing check.
4554 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4557 * lyxfunc.C: fix (at least partly) the problems
4558 with the Nav menu and headers inside branch insets
4561 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4563 * paragraph.C (getChar): add strong asserts
4565 * lyxrow_funcs.C (lastPos): remove hideous hack
4567 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4568 (fill): adjust to that (avoid an infinite loop)
4570 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4572 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4574 2003-10-23 André Pönitz <poenitz@gmx.net>
4576 * RowList_fwd.h: change list<> to vector<> to gain speed
4577 after suggestion from Alfredo
4579 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4581 * lyxtext.h: move the bidi stuff from here...
4584 * Bidi.[Ch]: ... to here
4586 2003-10-23 André Pönitz <poenitz@gmx.net>
4589 * text.C (isLastRow, isFirstRow): new functions
4591 * paragraph.h: new width cache member
4593 * rowpainter.C: replace RowList::iterator with Row & where possible
4595 * lyxfunc.C: replace several view()->text with a single call
4597 * toc.C: fix 'unused' warning
4599 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4601 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4602 when woring with stream::pos_type
4603 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4605 2003-10-22 André Pönitz <poenitz@gmx.net>
4608 * text.C: use Row & instead of RowList::iterator
4610 * lyxrow.h: rename end() to endpos()
4616 2003-10-22 Angus Leeming <leeming@lyx.org>
4618 * buffer.[Ch] (fully_loaded): new member function, returning true
4619 only when the file has been loaded fully.
4620 Used to prevent the premature generation of previews and by the
4621 citation inset to prevent computation of the natbib-style label.
4623 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4624 templates are all set up.
4626 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4628 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4630 * text.C: fixed an "oops" in the "is a bit silly"
4633 2003-10-21 André Pönitz <poenitz@gmx.net>
4635 * FuncStatus.[Ch]: small stuff, whitespace
4637 * lyxfont.[Ch]: operator<<() for debug reasons
4641 * lyxtext.h: whitespace, spelling
4643 * paragraph.C: naming of variables
4646 * text2.C: small stuff
4649 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4651 * text.C: (1) finish off the inset display() work;
4652 (2) fix the "is a bit silly" bug (accessing char
4655 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4657 * text.C: re-introduce display() for insets, fixing the
4658 various bugs (stretch of line above, math inset
4661 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4663 * text.C (rightMargin): remove spurious semicolon
4665 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4668 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4670 * text3.C: fix one crash due to wrong cursor def
4672 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * vc-backend.C (scanMaster): make the regex static
4676 * LaTeX.C (scanAuxFile): make the regexs static
4678 * text3.C (doInsertInset, dispatch, dispatch):
4679 * text2.C (cursorUp, cursorDown):
4680 * text.C (selectNextWordToSpellcheck):
4681 * BufferView_pimpl.C (dispatch):
4682 * lyxfunc.C (dispatch): localDispatch -> dispatch
4684 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4686 * lyxsocket.C: include <cerrno>
4688 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4690 * lyxfunc.C (dispatch): remove textcache stuff
4692 * bufferlist.C (release): remove textcache stuff
4695 * TextCache.C: delete file
4696 * TextCache.h: delete file
4698 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4700 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4701 delete of the bv_->text.
4702 (resizeCurrentBuffer): remove texcache stuff
4703 (workAreaResize): ditto
4705 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4710 2003-10-16 André Pönitz <poenitz@gmx.net>
4717 * text3.C: speed up by storing y positions per paragraph plus per-row
4718 offset instead of having a 'full' y position in the row.
4720 2003-10-15 André Pönitz <poenitz@gmx.net>
4724 * undo.[Ch]: make undo aware of inner insets
4726 2003-10-14 Angus Leeming <leeming@lyx.org>
4728 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4729 static member functions LyX::ref() and LyX::cref.
4730 (lastfiles): new accessor functions for the new lastfiles_ member var.
4731 (addLyXView, views_): add a new LyXView to the list of views_.
4732 (updateInset): loop over all LyXViews to call their own updateInset
4733 member function, returning a pointer to the Buffer owning the inset.
4735 * BufferView_pimpl.C (loadLyXFile):
4736 * MenuBackend.C (expandLastfiles):
4737 * bufferlist.C (MenuWrite, QuitLyX):
4738 lastfiles is no longer a global variable.
4739 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4741 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4742 static function. Access through LyX::cref().emergencyCleanup().
4744 2003-10-14 André Pönitz <poenitz@gmx.net>
4746 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4748 * undo.[Ch]: restoring part of 'undo in insets'
4751 * undo_funcs.[Ch]: merge with undo.[Ch]
4753 * tabular.C: small cleansing stuff
4755 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4757 * paragraph_funcs.C (readParToken): report unknown insets as error
4758 boxes. Use the outer paragraph as location (also for unknown
4761 * factory.C (readInset): do not abort on reading an unknown inset.
4762 Eat it and return 0.
4764 2003-10-13 Angus Leeming <leeming@lyx.org>
4766 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4768 * lyxrc.C: displayTranslator is now a function,
4769 declared in GraphicsTypes.h.
4771 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4773 * format.C: new placeholder $$a to pass the socket address.
4775 * bufferlist.[Ch]: new function getBufferFromTmp.
4777 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4778 files in the temporary dir.
4780 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4782 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4784 * Makefile.am: add lyxsocket.[Ch].
4786 * lyx_main.C (error_handler): handle SIGPIPE.
4788 2003-10-13 André Pönitz <poenitz@gmx.net>
4790 * BufferView_pimpl.C:
4795 * undo_funcs.[Ch]: use paroffset_type instead of
4796 ParagraphList::iterators to prevent multiple conversion
4797 (and get a more robust interface)
4799 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4803 * text3.C (dispatch): ditto
4805 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4807 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4808 move the onlyfile, use onlyfile instead of foundfile in a couple
4811 * DepTable.C (update): flush the error stream a bit more
4813 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * lyxserver.C (callback): adjust
4817 * lyxfunc.C (getStatus): add a missing brace in commented code
4818 (ensureBufferClean): reindent
4819 (dispatch): delete version taking a string
4821 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4823 * LaTeX.C (deplog): move found file handlig from here...
4824 (handleFoundFile): .. to new function here.
4825 (deplog): make sure to discover several files mentioned on the
4828 2003-10-10 André Pönitz <poenitz@gmx.net>
4835 * text3.C: fix some of the tabular crashes
4837 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4839 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4841 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4843 2003-10-09 André Pönitz <poenitz@gmx.net>
4845 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4848 * BufferView_pimpl.C:
4849 * bufferview_funcs.C:
4860 * undo_funcs.C: adjust
4862 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * text2.C (incrementItemDepth): new function, use a backtracking
4865 algorithm to discover the correct item depth.
4866 (resetEnumCounterIfNeeded): new function, use a backtracking
4867 algorithm to discover if counter reset is needed.
4868 (setCounter): use them. Simplify a bit. Add different labels for
4869 different item depths for itemize.
4871 * paragraph.C (Paragraph): remove initialization of enumdepth
4874 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4875 enumerate and itemize. Change the type of itemdepth to signed char.
4877 2003-10-08 André Pönitz <poenitz@gmx.net>
4879 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4884 * tabular.[Ch]: fix crash after 'row-insert'
4886 2003-10-08 Angus Leeming <leeming@lyx.org>
4888 Fix doxygen warnings.
4890 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4891 Remove CutAndPaste:: prefix from header file declaration.
4893 * LColor.h (fill): remove LColor:: prefix from declaration.
4895 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4896 use lyx::depth_type rather than Paragraph::depth_type so that
4897 header file and .C file match.
4899 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4901 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4902 * aspell.C: \file aspell_local.C -> \file aspell.C
4903 * gettext.C: \file gettext.C -> \file src/gettext.C
4904 * gettext.h: \file gettext.h -> \file src/gettext.h
4905 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4906 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4907 * text.C: \file text.C -> \file src/text.C
4909 * toc.C: move comment so that doxygen is not confused.
4911 2003-10-07 Angus Leeming <leeming@lyx.org>
4913 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4915 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4918 * aspell_local.h: add forgotten std::string's.
4920 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4927 * text3.C: The Box patch. Fancybox support, minipage, parbox
4929 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4935 * ParagraphParameters.h:
4945 * lyxtextclasslist.h:
4948 * paragraph_pimpl.C:
4949 * textcursor.h: add <string> and other small fixes to make Lars'
4950 std::string patch compile with STLport.
4952 2003-10-06 Angus Leeming <leeming@lyx.org>
4954 * LColor.h: Add missing #include <string>.
4956 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4958 * All most all file in all subdirs: Make <string> be the prefered
4959 way of getting to std::string, add using declarations.
4961 2003-10-06 André Pönitz <poenitz@gmx.net>
4963 * metricsinfo.C: initialize LyXFont before changing attribute.
4964 (fixes the 'math in \emph is upright' bug)
4966 2003-10-06 André Pönitz <poenitz@gmx.net>
4968 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4970 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4973 * paragraph_pimpl.C: Small fixes to build using STLport
4975 2003-10-02 André Pönitz <poenitz@gmx.net>
4978 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4980 2003-10-01 André Pönitz <poenitz@gmx.net>
4982 * factory.C: assert early
4984 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4986 * lyx_main.C: remove the global debug object
4988 * debug.h: adjust for new debugstream
4990 * debug.C: adjust for new debugstream and keep the global debug
4993 2003-09-22 Angus Leeming <leeming@lyx.org>
4995 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4996 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4997 an incomplete class LyXFont.
4999 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5001 * factory.C: bug fix in branches
5003 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5005 * lyxfunc.C (processKeySym): adjust
5007 (dispatch): change arg name from ev to func, adjust
5008 (sendDispatchMessage): ditto
5010 * lyx_main.C (defaultKeyBindings): adjust keybindings
5011 (deadKeyBindings): ditto
5013 * kbsequence.C (addkey): return a FuncRequest
5015 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5017 * kbmap.C (bind): take a FuncRequest as arg, adjust
5020 (defkey): change to take a FuncRequest as arg, adjust
5021 (findbinding): take a FuncRequest as arg, adjust.
5023 * funcrequest.h (operator=): added
5025 * funcrequest.C (FuncRequest): default kb_action changed from
5026 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5028 * buffer.C (dispatch): simplify
5029 (dispatch): adjust to take a FuncRequest as arg, adjust
5031 * boost.C (assertion_failed): change assertion message slightly
5033 * ToolbarBackend.C (read): simplify
5035 * MenuBackend.C (binding): adjust call to findbinding, add a
5036 message if no binding is found.
5038 (expandToc): correct by adding a empty FuncRequest
5040 * LyXAction.C: include <boost/assert.hpp>
5041 (isPseudoAction): delete function
5042 (LookupFunc): change name to...
5043 (lookupFunc): this. change return type to FuncRequest.
5044 (getActionName): take kb_action as arg, simplify
5045 (funcHasFlag): add an assert, simplify.
5047 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5049 * toc.C (action): return a FuncRequest, simplify
5051 * lyxfunc.C (processKeySym): adjust
5052 (getStatus): delete version that takes an int.
5054 (dispatch): delete version that takes action as int
5056 (sendDispatchMessage): simplify and adjust
5058 * funcrequest.C (getArg): take unsigned int as arg
5060 * ToolbarBackend.C (read): adjust
5061 (add): delete version that takes func as a string.
5062 (getIton): take a FuncRequest as arg
5064 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5067 * MenuBackend.C (MenuItem): add a new construct that only takes a
5068 Kind, simplify the constructor use for submenus.
5070 (expandLastfiles): adjust
5071 (expandDocuments): adjust
5072 (expandFormats): adjust
5073 (expandFloatListInsert): adjust
5074 (expandFloatInsert): adjust
5075 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5077 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5078 Remove class variables lyx_pseudo_map and lyx_arg_map
5080 * LyXAction.C (searchActionArg): delete function
5081 (getPseudoAction): delete function
5082 (retrieveActionArg): delete function
5083 (LookupFunc): make it return kb_action, simplify.
5084 (getActionName): simplify
5086 * factory.C (createInset): fix new bug
5088 2003-09-19 Angus Leeming <leeming@lyx.org>
5090 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5091 masterFilename_ parameter in the include inset.
5093 * factory.C (createInset): changes due to the changes to InsetInclude.
5095 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5097 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5099 2003-09-18 Angus Leeming <leeming@lyx.org>
5102 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5103 Inset::fillWithBibKeys.
5104 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5106 2003-09-18 Angus Leeming <leeming@lyx.org>
5108 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5110 (ctor): pass and store a 'Buffer const &'
5111 (buffer): new member function.
5113 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5114 '*this' to the LaTeXFeatures ctor.
5116 2003-09-18 Angus Leeming <leeming@lyx.org>
5122 * text.C: rename EnumLColor as LColor_color.
5124 2003-09-18 Angus Leeming <leeming@lyx.org>
5126 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5127 remove #include "insets/insetbase.h" from cursor.h.
5129 2003-09-18 Angus Leeming <leeming@lyx.org>
5131 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5132 InsetOld_code to remove #include "inset.h".
5134 * iterators.C: add #include "insets/inset.h"
5136 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5138 * BufferView.C: remove more locking stuff that apparently doesn't
5139 do anything sensible.
5141 2003-09-16 André Pönitz <poenitz@gmx.net>
5144 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5147 2003-09-16 Angus Leeming <leeming@lyx.org>
5149 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5151 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5154 * paragraph.h: remove #include "lyxfont.h". Forward declare
5157 2003-09-16 Angus Leeming <leeming@lyx.org>
5159 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5160 of support/textutils.h.
5161 (isWord): move the contents of support/textutils.h's IsWordChar here.
5167 * text2.C: add #include "paragraph.h".
5170 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5172 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5178 * LaTeX.C: use namespace alias for lyx::support::os
5180 2003-09-16 Angus Leeming <leeming@lyx.org>
5183 * bufferview_funcs.C:
5186 * paragraph_pimpl.C:
5188 * text.C: add #include "LColor.h".
5190 2003-09-16 Angus Leeming <leeming@lyx.org>
5192 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5193 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5195 Store the FontBits::color variable as an int rather than as an
5196 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5199 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5200 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5201 string calls together.
5203 * lyxrc.C: add #include "LColor.h".
5205 2003-09-15 Angus Leeming <leeming@lyx.org>
5207 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5210 2003-09-15 Angus Leeming <leeming@lyx.org>
5212 * LColor.h: add an EnumLColor wrapper for LColor::color.
5214 * lyxfont.[Ch] (color, setColor, realColor):
5215 * lyxtext.h, text.C (backgroundColor):
5216 pass EnumLColor args to/from the functions, rather than LColor::color
5220 * lyxtext.h: forward declare EnumLColor.
5222 * lyx_main.C: add #include "LColor.h".
5224 2003-09-15 Angus Leeming <leeming@lyx.org>
5226 * .cvsignore: add lyx-gtk.
5228 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * ParagraphParameters.C
5237 * bufferview_funcs.C
5247 * vc-backend.C: remove usage of STRCONV
5249 2003-09-15 Angus Leeming <leeming@lyx.org>
5251 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5252 explicitly define the color passed to the painter.
5254 2003-09-15 Angus Leeming <leeming@lyx.org>
5256 * bufferparams.C (BufferParams): reorder member initializers to avoid
5259 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5261 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5262 * text.C (updateRowPositions): remove an unusual nop
5264 2003-09-12 André Pönitz <poenitz@gmx.net>
5266 * BufferView_pimpl.C:
5275 * Counters.[Ch]: finish the 'automatic counters' job
5277 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5279 * aspell.C: include <boost/assert.cpp> (compile fix)
5281 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5283 * boost.C (assertion_failed): use lyx::support::abort instead of
5286 2003-09-10 Angus Leeming <leeming@lyx.org>
5288 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5289 with their _fwd progeny.
5291 2003-09-09 Angus Leeming <leeming@lyx.org>
5293 134 files throughtout the source tree: replace 'using namespace abc;'
5294 directives with the appropriate 'using abc::xyz;' declarations.
5296 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5298 * boost.C (emergencyCleanup): moved here from LAssert.c
5299 (assertion_failed): new function, called by BOOST_ASSERT
5301 * several files: change Assert to BOOST_ASSERT
5303 2003-09-09 Angus Leeming <leeming@lyx.org>
5305 * buffer.[Ch]: Add an Impl class and move Buffer's member
5306 variables into it. As a result move several header files out of
5309 Add header files to lots of .C files all over the tree as a result.
5311 2003-09-09 Angus Leeming <leeming@lyx.org>
5313 * buffer.[Ch]: make Buffer's member variables private. Add
5316 Lots of changes all over the tree as a result.
5318 2003-09-08 Angus Leeming <leeming@lyx.org>
5320 * graph.C: #include <config.h>.
5322 2003-09-08 Angus Leeming <leeming@lyx.org>
5326 * BufferView_pimpl.C:
5355 * toc.C: remove redundant using directives.
5357 2003-09-07 Angus Leeming <leeming@lyx.org>
5359 * LaTeXFeatures.h: remove #include "support/types.h".
5360 * ToolbarBackend.h: remove #include <algorithm>.
5361 * changes.h: remove #include <ctime>.
5362 * debug.h: remove #include <iosfwd>.
5363 * graph.h: remove #include "support/std_string.h".
5364 * lyx_main.h: remove #include <csignal>.
5365 * lyxlex_pimpl.h: remove #include <fstream>.
5366 * sgml.h: remove #include <algorithm>, <utility>.
5367 * toc.h: remove #include "support/std_ostream.h".
5368 Add #include <iosfwd>.
5370 2003-09-07 Angus Leeming <leeming@lyx.org>
5372 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5374 * converter.h: forward declare LatexRunParams.
5375 * encoding.h: remove #include "lyxrc.h".
5376 * lyxtext.h: remove #include "LColor.h".
5377 * lyxtextclass.h: remove #include "support/types.h".
5378 * trans.h: remove #include "tex-accent.h".
5379 * trans_mgr.h: remove #include "tex-accent.h".
5380 * insets/inset.h: remove #include "support/types.h", <vector>.
5381 * insets/insetcollapsable.h: remove #include "LColor.h".
5382 * insets/insetinclude.h: remove #include "dimension.h".
5383 * insets/insetlatexaccent.h: remove #include "dimension.h".
5384 * insets/insetoptarg.h:: remove #include "insettext.h".
5385 * insets/insettext.h: remove #include "dimension.h",
5386 <boost/shared_ptr.hpp>
5388 * insets/renderers.h: add #include "dimension.h".
5389 * insets/updatableinset.h: add #include "support/types.h".
5391 * many .C files: Associated changes.
5393 2003-09-06 Angus Leeming <leeming@lyx.org>
5395 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5396 one, inside testInvariant.
5398 * PrinterParams.C: new file.
5399 * PrinterParams.[Ch]: move the function bodies out of line.
5401 2003-09-06 Angus Leeming <leeming@lyx.org>
5403 * ParagraphParameters.h: forward declare ParameterStruct rather than
5404 including its header file.
5405 (depth): moved out-of-line.
5407 2003-09-06 Angus Leeming <leeming@lyx.org>
5409 * BufferView_pimpl.h:
5412 * lyxfunc.h: forward declare LyXKeySym rather than
5413 #include "frontends/LyXKeySym.h".
5415 * BufferView_pimpl.C:
5418 * lyxfunc.C: associated changes.
5420 2003-09-06 Angus Leeming <leeming@lyx.org>
5422 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5423 As a result, can remove the #include "insets/inset.h" from BufferView.h
5425 2003-09-06 Angus Leeming <leeming@lyx.org>
5427 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5428 As a result, can remove the #include "insets/inset.h" from BufferView.h
5430 2003-09-06 Angus Leeming <leeming@lyx.org>
5436 * bufferview_funcs.C:
5437 * BufferView_pimpl.C:
5442 * ParagraphParameters.C:
5447 * frontends/controllers/ControlDocument.C:
5448 * insets/insetcaption.C: rearrange the #includes into some sort of
5451 * buffer.h: remove #includes ErrorList.h, undo.h
5453 2003-09-06 Angus Leeming <leeming@lyx.org>
5455 * support/types.h: add a 'depth_type' typedef, used to store the
5456 nesting depth of a paragraph.
5459 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5460 defining explicitly.
5463 * paragraph_funcs.h:
5464 * ParagraphParameters.h:
5465 * sgml.h: use lyx::depth_type rather than Paragraph or
5466 ParameterStruct's depth_type.
5469 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5472 * BufferView_pimpl.C:
5474 * ParagraphParameters.C:
5477 * bufferview_funcs.C:
5484 * frontends/LyXView.C:
5485 * frontends/controllers/ControlDocument.C:
5486 * frontends/controllers/ControlErrorList.C:
5487 * insets/insetbibitem.C:
5488 * insets/insetbranch.C:
5489 * insets/insetcaption.C:
5490 * insets/insetcollapsable.C:
5491 * insets/insetenv.C:
5492 * insets/insetert.C:
5493 * insets/insetfloat.C:
5494 * insets/insetfoot.C:
5495 * insets/insetfootlike.C:
5496 * insets/insetnewline.C:
5497 * insets/insetquotes.C:
5498 * insets/insettabular.C:
5499 * insets/insettext.C:
5500 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5502 * frontends/controllers/ControlChanges.C: #include "changes.h".
5504 2003-09-06 Angus Leeming <leeming@lyx.org>
5506 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5507 than #including paragraph.h.
5510 * RowList.h: deleted. Superfluous.
5520 * insets/insettext.h: use ParagraphList_fwd.h rather than
5523 * paragraph.h: don't forward declare ParagraphList.
5526 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5527 rather than ParagraphList.h. paragraph.h is still needed for the
5528 Paragraph::depth_type parameters.
5530 * textcursor.h: enable it to compile stand-alone in light of the
5533 * bufferview_funcs.C:
5545 * frontends/controllers/ControlParagraph.C:
5546 * frontends/controllers/ControlTabular.C:
5547 * insets/insetmarginal.C:
5548 * insets/insetminipage.C:
5549 * insets/insetnote.C:
5550 * insets/insetoptarg.C: add header files needed to compile again.
5552 2003-09-06 Angus Leeming <leeming@lyx.org>
5554 * RowList_fwd.h: new file, forward-declaring Row rather than
5555 #including lyxrow.h.
5560 * insets/insettext.h: use it instead of RowList.h
5562 * bufferview_funcs.C:
5569 * text3.C: #include "RowList.h".
5571 2003-09-05 Angus Leeming <leeming@lyx.org>
5573 * factory.C (createInset):
5574 * vspace.C (c-tor): replace sscanf call with an istringstream.
5575 * ispell.C: re-add missing HP/UX headers.
5576 * lyxserver.C: re-add missing os2 headers.
5578 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5587 * text3.C: re-add missing system headers, needed for 2.95.2.
5589 2003-09-05 Angus Leeming <leeming@lyx.org>
5591 Changes most place everywhere due to the removal of using directives
5592 from support/std_sstream.h.
5594 2003-09-05 Angus Leeming <leeming@lyx.org>
5596 Replace LString.h with support/std_string.h,
5597 Lsstream.h with support/std_sstream.h,
5598 support/LIstream.h with support/std_istream.h,
5599 support/LOstream.h with support/std_ostream.h.
5601 Changes resulting throughout the tree.
5603 2003-09-05 Angus Leeming <leeming@lyx.org>
5605 * sgml.h: ensure that the header file can be compiled stand-alone.
5606 * *.C: strip out redundant #includes. (320 in total.)
5608 2003-09-04 Angus Leeming <leeming@lyx.org>
5610 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5611 here (from getPackages).
5613 * debug.[Ch]: add a new EXTERNAL tag.
5615 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5617 * text2.C (cursorEnd): simplify
5619 (getColumnNearX): adjust
5621 * text.C (computeBidiTables): adjust
5624 * rowpainter.C (paintChars): adjust
5625 (paintSelection): adjust
5626 (paintChangeBar): adjust
5629 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5631 (numberOfSeparators): adjust
5633 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5639 * text3.C: Restricts the mouse click functionality
5640 of insets like bibtex, include, toc and floatlist to the visible
5641 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5642 up the dialogs. Cursor has to be in front of the inset (i.e.
5643 start of row) for this to function.
5645 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5647 * bufferview_funcs.C (currentState): output row information
5649 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5651 * bufferview_funcs.C (currentState): output paragraph position
5653 2003-09-04 Angus Leeming <leeming@lyx.org>
5655 * FloatList.h: move out #include "Floating.h".
5656 * LaTeX.h: move out #include "DepTable.h".
5657 * LyXAction.h: move out #include "funcrequest.h".
5658 * buffer.h: move out #include "author.h", "iterators.h".
5659 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5660 * lyx_main.h: move out #include "errorlist.h".
5661 * lyxfunc.h: move out #include "FuncStatus.h".
5662 * lyxtext: move out #include "lyxcursor.h".
5663 * paragraph_pimpl.h: move out #include "counters.h".
5665 2003-09-03 Angus Leeming <leeming@lyx.org>
5667 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5668 preamble_snippets list, enabling us to add snippets to the preamble
5669 only if the snippet was not there already.
5671 2003-09-04 Angus Leeming <leeming@lyx.org>
5673 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5675 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5680 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5682 * BranchList.C: point fix, earlier forgotten
5684 2003-09-02 Angus Leeming <leeming@lyx.org>
5686 * box.C (contains): renamed from 'contained' after a fantastic
5689 2003-09-02 John Levon <levon@movementarian.org>
5695 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5697 2003-09-02 John Levon <levon@movementarian.org>
5699 * text2.C: simplification of cursorEnd(), including partial
5702 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5704 * buffer.C (readFile): add a space
5706 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5708 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5710 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5712 * buffer.C (readFile): new function, take a filename and a
5713 ParagraphList::iterator
5715 (readFile): adjust, make it private. don't use setStream, make
5716 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5717 always contain the filename.
5719 * BufferView.C (insertLyXFile): simplify and make it work for
5722 2003-08-30 John Levon <levon@movementarian.org>
5724 * Makefile.am: fix dist (from Kayvan)
5726 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5728 * most files: change to use const Buffer refs
5730 2003-08-27 André Pönitz <poenitz@gmx.net>
5732 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5733 on top of ownerPar().
5735 2003-08-27 John Levon <levon@movementarian.org>
5737 * funcrequest.C: properly initialise POD members
5739 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5741 * lyxtext.h (top_y): move top_y from here
5746 * BufferView_pimpl.[Ch]: to here
5747 * frontends/screen.C:
5748 * insets/insettabular.C:
5749 * insets/insettext.C: adjust
5750 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5752 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5755 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5757 2003-08-26 André Pönitz <poenitz@gmx.net>
5759 * paragraph_func.[Ch] (outerPar): new function
5762 * paragraph_funcs.C:
5763 * paragraph_funcs.h:
5764 * paragraph_pimpl.C:
5765 * text2.C: remove Inset::par_owner
5767 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5772 * text2.C: eliminates the needFullRow/display() stuff
5773 altogether, putting the logic in metrics/draw in the insets.
5775 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5777 * text2.C (redoParagraphInternal, redoParagraphs):
5778 * text.C (redoParagraph): add a call to updateRowPositions at the
5779 end of each 'metrics-like' call. Remove all others.
5780 (getRow): remove the 'y-computing' version.
5781 (getRowNearY): do not compute nor return the real y. Solve the
5782 'y < 0' problem and simplify.
5784 2003-08-22 Angus Leeming <leeming@lyx.org>
5786 * *.[Ch]: clean-up of licence and author blurbs.
5787 Also move config.h out of a few .h files and into a few .C files.
5789 2003-08-22 André Pönitz <poenitz@gmx.net>
5791 * lyxrow.[Ch]: add x_ and *fill_ members
5796 * text2.C: adjust/remove prepareToPrint() calls
5798 2003-08-22 André Pönitz <poenitz@gmx.net>
5800 * lyxrow.[Ch]: add end_ member
5802 * lyxrow_funcs.C: use LyXRow::end_
5804 * lyxtext.h (singleWidth): add LyXFont parameter
5807 * text2.C: adjust LyXText::singleWidth() calls
5809 * text.C (redoParagraph): simplify row breaking logic
5812 2003-08-19 André Pönitz <poenitz@gmx.net>
5814 * funcrequest.C: initialize button_ member
5817 * rowpainter.[Ch]: interface consolidation
5819 2003-08-18 André Pönitz <poenitz@gmx.net>
5822 * BufferView_pimpl.C:
5824 * paragraph_funcs.C:
5826 * text3.C: remove LyXScreen::draw() and fitCursor calls
5828 * BranchList.h: remove spurious semicolons
5830 * MenuBackend.C: fix branchlist related crash
5832 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5840 * bufferparams.[Ch]:
5844 * text3.C: implements the 'branch inset'
5845 idea. This allows the output of various versions of a document
5846 from a single source version, selectively outputing or suppressing
5847 output of parts of the text.
5848 This implementation contains a 'branch list editor' in a separate
5849 tab of the document settings dialog. Branches are user definable
5850 and have a "display colour" to distinguish them on-screen.
5852 ColorHandler was somewhat cleaned up.
5853 (1) make possible a dynamically growing LColor list by allowing
5854 the graphic context cache to grow along (vector);
5855 (2) eliminate an IMHO unnecessary step in colour allocation.
5857 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5859 * BufferView_pimpl.C: compile fix
5861 2003-08-15 André Pönitz <poenitz@gmx.net>
5863 * rowpainter.C: remove extra metrics calls
5865 * lyxtext.h: merge the two constructors into a single one,
5866 pass reference to owner's par list
5868 * BufferView_pimpl.C:
5872 2003-08-15 André Pönitz <poenitz@gmx.net>
5874 * lyxrow_funcs.[Ch]:
5877 * paragraph_funcs.C:
5882 * text_funcs.C: split LyXText::rowlist_ into individual
5883 Paragraph::rows_ chunks
5886 * BufferView_pimpl.[Ch]:
5889 * text3.C: remove toggleSelection()
5891 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5893 * bufferlist.C: beautify two alerts (shorter text of buttons)
5894 * buffer.C: Remove redundant ' ' from message
5896 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5897 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5898 rename VALIGN_CENTER to VALIGN_MIDDLE
5900 2003-08-11 André Pönitz <poenitz@gmx.net>
5902 * lyxtext.h (getPar):
5903 * text.C: new function
5905 2003-08-11 André Pönitz <poenitz@gmx.net>
5908 * tracer.[Ch]: remove unneeded files
5910 * InsetList.[Ch]: remove resizeInsetsLyXText()
5915 * text3.C: merge insertParagraphs() and appendParagraph()
5916 remove breakAgain(), update()
5918 * BufferView_pimpl.[Ch]:
5919 * bufferview_funcs.[Ch]:
5923 * tabular.C: adjust after text & InsetList changes.
5925 2003-08-08 André Pönitz <poenitz@gmx.net>
5927 * text.C (insertChar, backspace): replace rowlist fiddling
5928 with rebreak of full par
5931 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5932 checkParagraph, updateInset): removed
5934 2003-08-07 André Pönitz <poenitz@gmx.net>
5937 * text3.C: merge some LFUN handlers, remove dead code
5939 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5941 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5943 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5945 * text2.C (DEPM): fix part of bug 1255 and 1256
5947 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5949 * BufferView_pimpl.C (workAreaDispatch): change to use
5950 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5951 that are no mouse related.
5953 2003-08-05 André Pönitz <poenitz@gmx.net>
5956 * BufferView_pimpl.[Ch]:
5957 * bufferview_funcs.C:
5959 * text3.C: rip out "deep update"
5961 * textcursor.[Ch] (last_sel_cursor): remove unused member
5963 2003-08-04 André Pönitz <poenitz@gmx.net>
5966 * BufferView_pimpl.[Ch]:
5967 * ParagraphParameters.C:
5968 * bufferview_funcs.C:
5974 * text3.C: replace "complicated" BufferView::update(...) calls with
5977 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5979 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5981 * Makefile.am (lyx_SOURCES): add paper.h
5983 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5985 * Makefile.am: move things around so that both lyx-qt and
5986 lyx-xforms can be built (according to --with-frontend). Then lyx
5987 is a symbolic link to lyx-[firstfrontend]
5989 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5991 * Always use std::endl with lyxerr
5993 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5995 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5997 2003-08-01 André Pönitz <poenitz@gmx.net>
6000 * BufferView_pimpl.[Ch]:
6002 * text3.C: merge BufferView::repaint() and BufferView::update()
6004 2003-08-01 José Matos <jamatos@lyx.org>
6006 * buffer.[Ch]: file_format is no longer a buffer data element.
6008 2003-08-01 André Pönitz <poenitz@gmx.net>
6013 * text2.C: make redoParagraph more independent of current cursor
6015 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6017 * text2.C: remove unneeded members
6019 2003-07-30 André Pönitz <poenitz@gmx.net>
6021 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6023 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6024 create a single function...
6026 * paragraph_funcs.C (moveItem): ... here.
6029 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6031 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6033 * LColor.[Ch]: Add comment and greyedout logical colors.
6035 2003-07-30 André Pönitz <poenitz@gmx.net>
6037 * tabular.C: don't use Assert too heavily. This crashes where it
6040 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6042 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6043 is disabled (bug 1232)
6045 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6047 * factory.C: limited 'arg' scope
6049 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6051 * factory.C: fixed Note submenu issues
6053 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6055 * factory.C: submenu for Note/Comment/Greyedout
6057 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6060 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6062 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6065 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6066 greyedout. Patch provided by Jürgen Spitzmüller.
6068 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6070 * kbmap.C (read): fix error message when reading bind files
6072 2003-07-29 Angus Leeming <leeming@lyx.org>
6074 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6075 certainly does not do what it purports to do. I am doing it, and
6076 us, a favour by killing it.
6078 2003-07-28 José Matos <jamatos@lyx.org>
6080 * buffer.C (readBody, do_writeFile):
6081 * paragraph.C(readParagraph): \end_document replaces \the_end.
6083 2003-07-29 André Pönitz <poenitz@gmx.net>
6086 * BufferView_pimpl.[Ch]:
6090 * textcursor.[Ch]: remove toggleToggle & Co
6092 2003-07-28 José Matos <jamatos@fep.up.pt>
6094 * buffer.C (readParagraph):
6095 * params_func (readParToken, readParagraph):
6096 * paragraph.C (write): \layout -> \begin_layout.
6098 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6100 * lyxlex_pimpl.C (setFile): clean up slightly.
6102 * bufferparams.h: add compressed var
6104 * buffer_funcs.C (readFile): adjust for LyXLex change
6105 (newFile): ditto + simplify
6107 * buffer.C (writeFile): handle writing of compressed files
6109 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6110 Check if the file is compressed and set a bufferparm if so.
6112 * Makefile.am (lyx_LDADD): remove explicit -lz
6114 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6116 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6117 makeDocBookFile): put the real LyX version in the first line of
6121 * version.C.in: remove lyx_docversion
6123 * tabular.C (write_attribute): add a template-based version to
6124 write enums properly
6126 2003-07-28 André Pönitz <poenitz@gmx.net>
6131 * text3.C: use doubles again for x-coordinates. They are needed.
6133 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6135 * messages.C (getLocaleDir): use lyx_localedir()
6137 * lyxlex_pimpl.C (setFile): compress stuff
6139 * buffer.C (writeFile): add some compression stuff
6140 (do_writeFile): new func, dont call expliti close... will this
6143 * Makefile.am (lyx_LDADD): add -lz
6145 2003-07-28 José Matos <jamatos@fep.up.pt>
6147 * buffer.C: increment file format.
6148 * paragraph_funcs (readParagraph, readParToken):
6149 * paragraph.C (readParagraph): add \end_layout.
6151 2003-07-27 Angus Leeming <leeming@lyx.org>
6153 * Makefile.am: remove special casing for configure-time setting of
6154 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6156 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6157 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6159 2003-07-26 André Pönitz <poenitz@gmx.net>
6161 * paragraph_func.[Ch]:
6162 * paragraph.C (realizeFont): inline it whereever it is used
6167 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6170 2003-07-26 André Pönitz <poenitz@gmx.net>
6174 * text2.C: get rid of LyXText::need_break_row
6176 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6178 * toc.[Ch]: put namespace toc inside namespace lyx
6180 * MenuBackend.C (expandToc2): adjust for lyx::toc
6183 * lyxfunc.C (dispatch): adjust for lyx::find
6185 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6186 lyx::find instead. Reorganize a bit.
6187 (LyXReplace): rename to replace
6188 (LyXFind): rename to find
6190 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6193 2003-07-26 André Pönitz <poenitz@gmx.net>
6195 * text.C (setHeightOfRow): restrict scope of temporary variable
6197 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6198 code (never has been used?)
6200 2003-07-27 Asger Alstrup <alstrup@local>
6202 * text.C (fill): Optimise algorithm to exploit that we can reuse
6203 the LyXFont for many characters.
6204 (setHeightOfRow): Same thing.
6205 (rowBreakPoint): Same thing.
6207 2003-07-26 Asger Alstrup <alstrup@local>
6209 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6211 * text.C (singleWidth): Spurious font copying in hot-spot
6212 singleWidth avoided. Reorder tests for arabic for efficiency.
6214 * text.C (fill): handle empty paragraphs better.
6216 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6219 * encoding.h: add includes
6221 * lyxrc.C: remove reading of bind files
6223 * lyx_main.C (init): setup bindings and menus only if we have a
6226 * kbmap.C (read): new method. Do the actual reading of bind
6229 * converter.C (dvipdfm_options):
6232 (output): adapt PAPER_* enums.
6234 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6236 * bufferparams.h: remove paper-related enums from there
6238 * paper.h: New file. A trivial header file to hold paper-related
6239 enums. It should later expand to contain many paper-related
6242 * lyxrc.C: declare extern displayTranslator
6244 2003-07-27 José Matos <jamatos@fep.up.pt>
6246 * tabular.[Ch] (linuxdoc): add support for tables and figures
6249 2003-07-27 José Matos <jamatos@fep.up.pt>
6251 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6252 consistency in both functions.
6253 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6255 2003-07-26 Asger Alstrup <alstrup@local>
6257 * rowpainter.C (paintRows): Change algorithm to work directly on
6258 the insets rather than asking every character in the document
6259 whether its an inset.
6261 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6263 * buffer.C (openFileWrite): factorize some code
6265 2003-07-26 Angus Leeming <leeming@lyx.org>
6268 * lyx_main.[Ch]: replace occurances of system_tempdir with
6271 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6273 * rename Inset to InsetOld
6275 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6277 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6278 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6279 which I think is a bit clearer. EDIT is gone, since it was
6280 premature optimisation, and broken for mathed anyway.
6281 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6282 with cursor positioning in insets as well (math insets still do not
6283 work, but that's a different story anyway.) It mysteriously
6284 crashes sometimes with undo in the first paragraph, but I'm fairly
6285 confident that this is a compiler bug.
6287 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6289 * paragraph.C (Paragraph): adjust for new clone return type
6291 (copyIntoMinibuffer): ditto
6293 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6295 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6296 by not having a special case, and always doing a full rebreak of
6297 the document after undo.
6299 2003-07-23 Angus Leeming <leeming@lyx.org>
6301 * factory.C (createInset): InsetExternal::setParams now takes a
6304 2003-07-23 Angus Leeming <leeming@lyx.org>
6306 * factory.C (createInset): changed interface to the external and
6307 graphics mailers' string2params functions.
6309 2003-07-23 Angus Leeming <leeming@lyx.org>
6311 * factory.C (createInset): pass a
6312 Buffer const * parameter to InsetExternalMailer's string2params.
6314 2003-07-22 John Levon <levon@movementarian.org>
6316 * Thesaurus.h: include the right aiksaurus header
6318 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6320 * MenuBackend.C (expand): check menu shortcuts unconditionally
6322 2003-07-21 Angus Leeming <leeming@lyx.org>
6324 * factory.C (createInset): pass a
6325 buffer_path parameter to InsetGraphicsMailer's string2params.
6327 2003-07-21 Angus Leeming <leeming@lyx.org>
6329 * BufferView_pimpl.C (buffer):
6332 * lyxfunc.C (dispatch):
6333 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6334 rather than the grfx shortcut.
6336 2003-07-21 André Pönitz <poenitz@gmx.net>
6338 * rowpainter.C: remove unused variables
6341 * tabular_funcs.h: move to tabular.C
6342 * Makefile.am: adjust
6344 * tabular.[Ch]: basic optical cleaning
6346 * author.h: pass references, not values
6348 2003-07-18 André Pönitz <poenitz@gmx.net>
6356 * text3.C: two-phase drawing for InsetText and InsetTabular
6357 some float -> int changes.
6359 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6361 * lyx_main.C: fix the fix
6363 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6365 * lyx_main.C: fix a crash in batch mode if no files specified
6368 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6370 * format.[Ch] (papersize): moved to BufferParams
6371 * converter.[Ch] (dvips_options): moved to BufferParams
6372 (dvipdfm_options): moved to anon namespace
6373 * bufferparams.[Ch]: added above functions.
6375 2003-07-17 André Pönitz <poenitz@gmx.net>
6379 * text2.C: don't call inset->update() anymore
6381 * metricsinfo.[Ch]: add convenience constructor
6383 2003-07-16 André Pönitz <poenitz@gmx.net>
6388 * text2.C: replace the LyXCursor::irow_ member with
6389 on-demand computation of the value
6391 2003-07-16 John Levon <levon@movementarian.org>
6393 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6395 2003-07-15 André Pönitz <poenitz@gmx.net>
6398 * text2.C: remove no more needed refresh_row
6400 2003-07-15 André Pönitz <poenitz@gmx.net>
6405 * text3.C: refresh_status tristate -> need_update bool
6407 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6409 * lyxtext.h (init): remove reinit argument (act as if always true)
6410 * text2.C: adjust to that
6412 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6414 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6415 * text3.C: use it to delete selections in some cases
6416 (bugs 441, 673, 702, 954).
6418 2003-07-14 André Pönitz <poenitz@gmx.net>
6420 * rowpainter.[Ch]: reduce interface
6422 2003-07-14 André Pönitz <poenitz@gmx.net>
6424 * BufferView_pimpl.C:
6425 * text2.C: adjust after removing unused BufferView * argument
6427 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6429 * text2.C (init): fix a crash fired on resize
6431 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6433 * buffer.[Ch]: added new closing signal
6434 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6435 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6436 BufferView::Pimpl via the closing the signal
6438 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6440 * buffer.[Ch]: take out all bv-related from buffer
6442 * BufferView_pimpl.[Ch]: connect to new signals
6443 * CutAndPaste.C: removed useless asserts
6444 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6447 * lyxfunc.C: moved view-related funciontality from vc here
6448 * paragraph.C: removed outdated comments
6451 2003-07-10 André Pönitz <poenitz@gmx.net>
6453 * BufferView_pimpl.C:
6457 * text2.C: remove InsetText::InnerCache, clean up consequences
6459 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6461 * ispell.C: fix two typos in error messages
6463 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6465 * Extend Note inset to other forms of annotation like Comment
6466 and Greyedout. Right button click gives dialog.
6468 Files modified or added (+):
6472 * ControlNote.[Ch] +
6474 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6475 frontends/controllers
6479 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6481 * aspell.C: add missing namespace lyx::support
6483 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6485 * BufferView.[Ch] (newFile): Add
6486 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6487 * LaTeX.[Ch] (message): added this signal and use it
6488 * buffer.[Ch] (busy, message): added these signals and use them
6489 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6493 * importer.C: use buffer signals instead of direct bv calling
6494 * lyx_cb.[Ch] (ShowMessage): removed
6497 * paragraph_funcs.C:
6498 * text2.C: use buffer signals
6500 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6502 * introduce namespace lyx::graphics
6504 2003-07-02 André Pönitz <poenitz@gmx.net>
6506 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6508 2003-07-01 André Pönitz <poenitz@gmx.net>
6515 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6516 text*.C to text_func.C
6518 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6520 * introduce namespace lyx::support
6522 2003-06-30 André Pönitz <poenitz@gmx.net>
6527 * text.C: re-enable --with-included-string
6529 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6531 * textcursor.C: add <config.h>
6533 * text.C (getWord): remove const from word_location arg
6535 * lyxvc.C (getLogFile): fix const type order
6537 * lyxtext.h: remove const from word_location arg, add arg name
6539 * lyxlayout.h: currect type on labeltype.
6541 * importer.C: correct \file
6543 * converter.C (intToFormat): use std:: on ret val, ws changes
6545 * bufferlist.h: correct \file
6547 * buffer.C (makeLinuxDocFile): fix const type order
6548 (makeDocBookFile): ditto
6549 (fillWithBibKeys): use std:: on stdlib args.
6551 * CutAndPaste.C: fix authors.
6552 (availableSelections): use std:: on return vector
6554 2003-06-27 André Pönitz <poenitz@gmx.net>
6556 * BufferView_pimpl.C:
6557 * bufferview_funcs.C:
6565 * text3.C: remove LyXCursor::row_ member
6568 * text.C: rename fullRebreak() to partialRebreak() and implement
6569 a fullRebreak() that really bereks fully
6571 * textcursor.h: new struct for cursor-related data
6573 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6575 * lyx_main.C (LyX): get full path of document loaded on the
6578 2003-06-26 André Pönitz <poenitz@gmx.net>
6580 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6581 remove unused/broken operator>,<,>=.
6583 * text.C: remove only use of broken operator<= in an Assert().
6585 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6587 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6588 moved errorlist_.clear to showErrorList
6590 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6592 * converter.C (scanLog, runLaTeX):
6593 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6594 move the bv->showErrorList call to the callers
6595 * lyxfunc.C: i.e. here...
6597 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6598 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6599 namespace, the second to...
6600 * buffer_funcs (BufferFormat, parseErrors): added
6601 * errorlist.C (ErrorList(TeXErrors const &)): removed
6603 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6605 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6607 2003-06-24 "Garst R. Reese" <reese@isn.net>
6611 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6613 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6615 * version.C.in: change docversion to 1.4
6617 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6619 * buffer.C: fix a bug just introduced
6621 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6623 * buffer.[Ch]: added the parseError signal and use it, removed
6625 * BufferView.[Ch] (addError): moved to ...
6626 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6627 to the Buffer::parseError signal to catch (guess what) parse errors
6628 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6630 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6632 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6633 ability to create a buffer and to return an existing one from
6634 the list. Moved these functions to...
6635 * buffer_funcs.[Ch]: added
6636 * BufferView.[Ch] (loadLyXFile): added
6637 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6638 job removed from bufferlist::loadLyXFile.
6639 * buffer.C (setReadOnly): make it work without view
6640 (i.e added an if (users))
6642 2003-06-19 Angus Leeming <leeming@lyx.org>
6645 * LyXAction.C (init):
6646 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6647 with LFUN_DIALOG_SHOW <name> <data>.
6649 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6651 * CutAndPaste.C (availableSelections): small compilation fix for
6652 ancient (gcc 2.9x) compilers
6654 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6656 * text3.C (cursorNext): add tmp var
6658 * text2.C (updateCounters): for function calling out of for clause
6659 (replaceSelectionWithString): ditto
6660 (insertStringAsParagraphs): ditto
6661 (getColumnNearX): add tmp var
6662 (setCursorFromCoordinates): add tmp var
6663 (cursorDownParagraph): add tmp var
6664 (deleteEmptyParagraphMechanism): add tmp var
6666 * text.C (insertChar): add tmp var
6668 * rowpainter.C (paintDepthBar): add tmp var
6670 * CutAndPaste.C (availableSelections): potentially check all
6671 paragraphs in a cut to fill the shown strings.
6673 2003-06-18 André Pönitz <poenitz@gmx.net>
6675 * kbmap.[Ch]: use vector<> instead of list<>
6677 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6679 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6680 pasteSelection with index
6682 * text2.C (pasteSelection): modify, call pasteSelection with index
6684 * paragraph.C (asString): reimplement version with no interval to
6685 call the one with interval.
6687 * lyxtext.h: add index arg to pasteSelection
6689 * MenuBackend.C (MenuItem): handle PasteRecent
6690 (Menu::read::Menutags): add md_pasterecent
6692 (expandPasteRecent): new function
6695 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6697 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6699 (availableSelections): new function
6701 2003-06-17 Angus Leeming <leeming@lyx.org>
6703 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6705 2003-06-17 Angus Leeming <leeming@lyx.org>
6708 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6710 * lyxfunc.C (dispatch): invoke it.
6712 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6714 * iterators.C (operator++, ParPosition): reintroduce some
6715 const_cast for the benefit of older compilers.
6717 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6719 * text3.C (dispatch): do not modify clipboard when doing
6720 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6721 LFUN_DELETE_SKIP on a selection selection
6723 2003-06-16 André Pönitz <poenitz@gmx.net>
6729 * tabular.[Ch]: IU of clone() and getLabelList();
6731 2003-06-13 André Pönitz <poenitz@gmx.net>
6733 * tabular.h: compactification
6735 2003-06-12 André Pönitz <poenitz@gmx.net>
6739 * tabular_funcs.h: some renaming plus whitespace
6741 2003-06-12 André Pönitz <poenitz@gmx.net>
6744 * BufferView_pimpl.C:
6750 * toc.C: Return a Paragraph & for ParIterator::operator*()
6752 2003-06-11 John Levon <levon@movementarian.org>
6756 * ToolbarBackend.C: add "Toolbars" section and
6759 2003-06-10 Angus Leeming <leeming@lyx.org>
6762 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6764 * lyxfunc.C (dispatch): invoke it.
6766 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6768 * main.C: protect <ios> with HAVE_IOS
6769 (main): protect sync_with_stdio with HAVE_IOS
6771 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6773 * text2.C (cutSelection): adjust
6774 (pasteSelection): adjust
6776 * messages.C: handle get of empty string
6778 * main.C (main): use sync_with_stdio(false)
6780 * lyxfunc.C (dispatch): adjust
6782 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6783 (WriteAs): remove unneeded BufferView arg.
6785 * bufferparams.h: use correct types on papersize, papersize2 and
6788 * bufferparams.C (readToken): adjust for type
6789 (writeLaTeX): add missing cases to switch.
6791 * bufferlist.C (quitWriteBuffer): adjust
6794 * buffer.C (asciiParagraph): remove some commented code.
6796 * CutAndPaste.C: remove current_view extern variable.
6797 (cutSelection): add BufferParams arg.
6798 (eraseSelection): add BufferParams arg.
6799 (pasteSelection): add Buffer const & arg
6801 2003-06-07 John Levon <levon@movementarian.org>
6804 * paragraph_funcs.C:
6805 * paragraph_pimpl.C:
6809 * paragraph.C: allow InsetERT to freely space lines,
6810 and some consolidation of code
6812 2003-06-06 José Matos <jamatos@fep.up.pt>
6814 * buffer.C (makeDocBookFile): fix bug #821
6816 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6818 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6820 2003-06-04 Angus Leeming <leeming@lyx.org>
6822 * buffer.C: bump format to 224.
6824 2003-06-05 André Pönitz <poenitz@gmx.net>
6826 * text2.C (redoParagraphs): remove two const_cast<>
6828 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6830 * ParagraphList.h: remove last remnants of NO_STD_LIST
6832 2003-06-03 Angus Leeming <leeming@lyx.org>
6834 * factory.C (createInset): small change to the way InsetExternal's params
6837 2003-06-04 André Pönitz <poenitz@gmx.net>
6839 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6841 * paragraph_pimpl.h:
6842 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6844 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6846 * undo_funcs.C: make some simple cases of undo work again
6848 2003-06-03 John Levon <levon@movementarian.org>
6850 * ispell.C: HPUX doesn't have sys/select.h
6853 2003-06-03 John Levon <levon@movementarian.org>
6855 * CutAndPaste.C: update tabular and include inset
6860 * paragraph.C: remove owningBuffer(), don't pass Buffer
6863 * factory.C: insetGraphicsParams changed
6865 2003-06-02 John Levon <levon@movementarian.org>
6871 * text3.C: remove insetparent
6873 2003-06-02 John Levon <levon@movementarian.org>
6876 * buffer.C: fix inset_iterator.end(), move out of line
6879 2003-06-01 John Levon <levon@movementarian.org>
6881 * text3.C: use a proper cut/paste when doing inset
6882 insert (from Jürgen Spitzmüller)
6884 2003-06-01 John Levon <levon@movementarian.org>
6886 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6888 2003-05-30 André Pönitz <poenitz@gmx.net>
6890 * rowpainter.C: unify second drawing phase
6892 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6894 * trans_mgr.C: remove one case of current_view
6896 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6898 * paragraph_funcs.h: remove paragraph.h include
6900 * paragraph.h: delete NO_STD_LIST stuff
6902 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6904 * buffer.h: remove paragraph.h include
6906 * ParagraphList.C: delete file
6908 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6910 * toc.C (getTocList): adjust
6912 * paragraph_pimpl.C (validate): adjust
6914 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6916 * paragraph.C (Paragraph): adjust
6917 (getPositionOfInset): use const_iterator, adjust
6918 (bibitem): use const_iterator, adjust
6919 (setInsetOwner): adjust
6921 * iterators.C (operator++): adjust
6923 * InsetList.[Ch]: Replace selfmade iterator with standard
6924 vector::iterator also introduce const_iterator. Remove getPos,
6925 getInset and setInset from InsetTable. Adjust accordingly.
6927 * BufferView.C (lockInset): adjust
6928 (ChangeInsets): adjust
6930 * tabular.[Ch]: delete commented same_id functions
6932 2003-05-28 John Levon <levon@movementarian.org>
6934 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6936 2003-05-28 André Pönitz <poenitz@gmx.net>
6938 * metricsinfo.[Ch]: remove 'fullredraw' member
6940 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6942 * lyxtextclass.C (operator): remove caching.
6944 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6948 * text2.C (cursorBottom): adjust
6949 (setCounter): use ParagraphList::find, adjust
6951 * text.C (workWidth): use ParagraphList::find, adjust
6953 * lyxcursor.C (LyXCursor): adjust
6955 * buffer.C (inset_iterator): adjust
6957 * ParagraphList.h: make iterator(value_type) private, make
6958 ParagraphList a friend of iterator.
6960 * ParagraphList.C (find): new function
6962 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6964 2003-05-27 André Pönitz <poenitz@gmx.net>
6966 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6968 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6970 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6972 2003-05-26 John Levon <levon@movementarian.org>
6974 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6976 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6978 * remove same_id from function signatures, adjust.
6980 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6982 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6984 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6986 * paragraph.C (Paragraph): get rid of same_ids parameter
6988 * ParagraphList.C (insert): adjust
6991 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6993 * paragraph_funcs.C (breakParagraph): adjust
6994 (breakParagraphConservative): adjust
6996 * buffer.C (readParagraph): adjust
6998 * ParagraphList.C (insert): take a reference instead of a pointer
7001 * paragraph.[Ch] (id): new function
7003 * bufferlist.C (newFile): adjust
7005 * ParagraphList.C (ParagraphList): adjust
7007 (push_back): take a reference instead of a pointer.
7009 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7011 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7014 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7015 set else use old code.
7017 * ParagraphList.C: remove all NO_NEXT code and only compile this
7018 code of NO_STD_LIST is set.
7020 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7022 * BufferView_pimpl.C:
7032 * graphics/GraphicsConverter.C:
7033 * graphics/PreviewLoader.C: header adjustment
7035 2003-05-23 Angus Leeming <leeming@lyx.org>
7037 * LaTeXFeatures.[Ch] (useBabel): new method.
7038 * bufferparams.C (writeLaTeX): use it.
7040 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7042 * ParagraphList.h (set): remove unused function.
7044 2003-05-23 André Pönitz <poenitz@gmx.net>
7047 * BufferView_pimpl.C:
7051 * undo_funcs.C: setUndo reworked
7053 * iterators.[Ch]: add access to topmost ParagraphList
7055 * lyxtext.[Ch] (workWidth): add a const
7057 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7059 * texrow.[Ch] (increasePos): remove function
7060 * exporter.C (export): removed unused var and outdated comment
7062 2003-05-23 Angus Leeming <leeming@lyx.org>
7064 * latexrunparams.h: rename fragile as moving_arg.
7065 * paragraph.C (simpleTeXOnePar): ditto.
7066 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7068 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7070 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7072 (textUndoOrRedo): comment out a currently unused var.
7074 * paragraph.h (NO_NEXT): enable NO_NEXT
7076 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7078 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7080 * exporter.C (Export): adjust for removeAutoInsets removal.
7082 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7084 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7086 * BufferView.[Ch] (removeAutoInsets): delete function
7088 2003-05-22 Angus Leeming <leeming@lyx.org>
7090 * latexrunparams.h: add a free_spacing variable.
7092 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7093 to pass moving_arg, as the data is stored in runparams.fragile.
7095 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7096 to Inset::latexOptional or to simpleTeXOnePar.
7098 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7099 free_spacing arg to Inset::latexOptional.
7101 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7104 2003-05-22 Angus Leeming <leeming@lyx.org>
7106 * latexrunparams.h: add fragile and use_babel variables.
7108 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7109 * buffer.C (makeLaTeXFile): store this returned value in
7110 runparams.use_babel, thus passing it to the inset::latex methods.
7112 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7113 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7115 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7116 longer has a fragile arg, as it is stored in runparams.fragile.
7118 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7119 moving_arg parameter as the data is stored in runparams.fragile.
7121 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7122 a fragile parameter as the data is stored in runparams.fragile.
7124 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7126 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7128 2003-05-22 Angus Leeming <leeming@lyx.org>
7130 * latexrunparams.h: add a 'bool nice' which defaults to false.
7132 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7133 now encapsulated within runparams.
7135 * bufferlist.C (updateIncludedTeXfiles):
7136 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7138 2003-05-22 Angus Leeming <leeming@lyx.org>
7140 * latexrunparams.h: new file containing struct LatexRunParams.
7141 * Makefile.am: add new file.
7143 * LaTeX.[Ch] (c-tor, run):
7144 * buffer.[Ch] (makeLaTeXFile):
7145 * bufferlist.[Ch] (updateIncludedTeXfiles):
7146 * converter.C (convert, scanLog):
7147 * converter.[Ch] (runLaTeX):
7148 * exporter.C (Export):
7149 * paragraph.[Ch] (simpleTeXOnePar):
7150 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7151 * paragraph_funcs.[Ch] (latexParagraphs):
7152 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7153 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7154 pass around a LatexRunParams parameter.
7156 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7158 * paragraph.[Ch]: remove unused constructor
7160 * ParagraphList.C (erase): new function, taking two iterators
7162 2003-05-22 André Pönitz <poenitz@gmx.net>
7164 * undo_funcs.C: remove duplicated code
7166 * iterator.[Ch]: operator=
7168 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7170 * tabular.C (SetMultiColumn): ws changes
7172 * rowpainter.C (paintFirst): get rid of a ->previous
7174 * lyx_cb.C (getPossibleLabel): parlist simplification
7176 * BufferView.C (ChangeInsets): simplify slightly.
7178 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7180 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7181 * lfuns.h: new LFUN_SPACE
7182 * lyxfunc.C: protected space has a new lfun
7183 * paragraph_funcs.C: read new space insets
7185 * factory.C: handle new space insets
7187 2003-05-22 André Pönitz <poenitz@gmx.net>
7190 * BufferView_pimpl.C:
7193 * undo_funcs.C: return a ParIterator from getParFromID.
7195 * iterators.[Ch]: add two const's
7197 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7199 * toc.C (getTocList): adjust
7201 * iterators.[Ch]: rework for parlist
7203 * buffer.C (par_iterator_begin): adjust
7204 (par_iterator_end): adjust
7206 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7208 * BufferView.C (removeAutoInsets): adjust
7209 (ChangeInsets): adjust
7211 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7213 * text.C (top_y): fix bug 1110
7215 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7217 * errorlist.[Ch]: added
7220 * BufferView_pimpl.C:
7221 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7224 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7226 * Makefile.am: ensure that lyx is relinked upon changes to the
7227 various "convenience" libs.
7229 2003-05-20 Angus Leeming <leeming@lyx.org>
7231 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7232 files are compiled in alphabetical order again.
7234 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7236 2003-05-19 Angus Leeming <leeming@lyx.org>
7238 * gettext.[Ch]: remove "char const * _(char const *)".
7240 2003-05-19 André Pönitz <poenitz@gmx.net>
7242 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7251 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7253 2003-05-19 André Pönitz <poenitz@gmx.net>
7257 * lyxtextclass.[Ch]:
7259 * paragraph_funcs.[Ch]:
7261 * text3.C: more insetenv work
7263 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7265 * ParagraphParameters.C (params2string): small bug fixed
7267 2003-05-16 André Pönitz <poenitz@gmx.net>
7270 * bufferview_funcs.C: patch from Kornel Benko to prevent
7271 crash when _(...) is called twice in a statement
7273 2003-05-16 André Pönitz <poenitz@gmx.net>
7280 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7282 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7284 * lyx_main.C (init): remove spurious static_cast
7286 2003-05-14 André Pönitz <poenitz@gmx.net>
7288 * BufferView.C: fix format string
7290 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7292 * BufferView.[Ch] (insertErrors): removed
7293 * BufferView.[Ch] (showErrorList): added
7294 * buffer.C (runChkTeX):
7295 * converter.C (scanLog): call showErrorList instead of inserterrors
7297 2003-05-13 André Pönitz <poenitz@gmx.net>
7299 * BufferView_pimpl.C:
7301 * bufferview_func.C:
7308 * tabular_funcs.h: tostr() from its own header
7310 * ParagraphParameters.C:
7315 * text3.C: STRCONV()
7317 2003-05-12 André Pönitz <poenitz@gmx.net>
7320 * BufferView_pimpl.C:
7324 * ParagraphParameters.C:
7328 * bufferview_funcs.C:
7341 * paragraph_funcs.C:
7345 * text3.C: boost::format -> bformat all over the place
7348 2003-05-09 André Pönitz <poenitz@gmx.net>
7350 * LColor.[Ch]: Pimpl the #include <map> away
7352 2003-05-09 John Levon <levon@movementarian.org>
7354 * bufferlist.C: never remove emergency saves
7356 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7358 * Makefile.am: better lib building
7360 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7362 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7364 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7365 (simpleTeXSpecialChars): adjust
7366 (simpleTeXSpecialChars): adjust
7367 * paragraph.C (simpleTeXOnePar): adjust
7368 * buffer.C (makeLaTeXFile): adjust
7370 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7372 * text2.C (changeDepth): parlist cleanup
7373 (getColumnNearX): ditto
7375 * rowpainter.C (getLabelFont): parlist cleanup
7377 * bufferlist.C (newFile): parlist cleanup
7379 * CutAndPaste.C (eraseSelection): parlist cleanup
7381 * BufferView_pimpl.C (trackChanges): parlist cleanup
7384 * BufferView.C (lockInset): parlist cleanup.
7385 (ChangeInsets): ditto
7387 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7389 * CutAndPaste.h: Update file header.
7391 * CutAndPaste.C: Update file header.
7392 Store the parts cut out of the Document in a limited_stack.
7393 (copySelection): adjust
7394 (pasteSelection): new function, takes the index in the limited stack.
7395 (nrOfParagraphs): adjust
7396 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7397 simplify error inset insertion.
7398 (checkPastePossible): adjust
7400 2003-05-06 John Levon <levon@movementarian.org>
7402 * text2.C: don't cast wrap inset to float
7404 2003-05-05 André Pönitz <poenitz@gmx.net>
7407 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7409 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7410 few naked Paragraph *.
7412 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7414 * bufferparams.C: Output warning if a document with missing
7415 TeX document class is loaded
7416 * exporter.C: Disable TeX exports if the document class is missing
7419 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7420 isTeXClassAvailable()
7422 2003-05-03 John Levon <levon@movementarian.org>
7425 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7426 explicit cursor show/hide
7428 * BufferView_pimpl.h:
7429 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7430 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7432 * lyxfunc.C: hide cursor before dispatching.
7437 * text3.C: remove explicit cursor hides
7439 2003-05-02 André Pönitz <poenitz@gmx.net>
7441 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7444 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7447 * text2.C: tiny whitespace
7449 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7451 * undo_funcs.C: almost only ws changes.
7453 * ParagraphList.C (splice): just return if pl is empty.
7455 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7457 * ParagraphList.C (splice): new function.
7459 * CutAndPaste.C (pasteSelection): use it
7461 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7463 * CutAndPaste.C (pasteSelection): remove the last next and
7464 previous from this file.
7466 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7468 * CutAndPaste.C (pasteSelection): more clean up, user proper
7469 ParagraphList functions for pasteing.
7471 * ParagraphList.C (insert): new function, three arg insert
7473 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7475 * ParagraphList.C (insert): new function, three arg insert
7477 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7480 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7482 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7484 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7486 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7488 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7490 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7491 (copySelection): clean up a bit.
7492 (pasteSelection): use make_pair
7494 * ParagraphList.C (ParagraphList): implement copy constructor
7495 (operator=): implement, base on copy constructor.
7498 * paragraph.C (erase): return a bool
7500 * paragraph_pimpl.C (erasePos): remove function, move contents...
7501 (erase): ... here. Return a bool.
7502 (erase): call erase instead of erasePos.
7504 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7506 * ParagraphList.h: define PitPosPair
7507 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7508 ParagraphList, fix a bug on pasting multiple pars
7509 * text2.C: change interface to C&P
7511 2003-04-30 André Pönitz <poenitz@gmx.net>
7513 * undo_func.C: revert part of yesterday's patch 2
7515 2003-04-30 John Levon <levon@movementarian.org>
7517 * LColor.C: s/tabular/table/
7519 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7521 * text3.C (dispatch): do not convert iterator -> pointer
7522 * undo_funcs.C (setCursorParUndo): ditto
7523 * text_funcs.C (transposeChars): ditto
7525 * text2.C (setLayout): ws changes only
7527 * text.C (breakParagraph): do not convert iterator -> pointer
7529 (acceptChange): ditto
7530 (rejectChange): ditto
7535 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7538 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7540 * text3.C (gotoInset): YABG (yet another bad getChar)
7542 2003-04-29 André Pönitz <poenitz@gmx.net>
7544 * paragraph.h: make operator= private unimplemented as long as
7547 * ParagraphList.C: whitespace
7550 * paragraph_pimpl.[Ch]:
7551 * paragraph_funcs.C:
7553 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7556 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7558 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7560 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7561 * paragraph.[Ch] (erase):
7562 * paragraph_pimpl.[Ch] (erase): change return type and value
7563 * text2.C (cutSelection): some rework
7565 2003-04-28 John Levon <levon@movementarian.org>
7567 * bufferlist.C: changes for unsaved changes dialog
7569 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7571 * bufferlist.C (newFile): set language (messages_) for new
7574 * buffer.C (readFile): ws changes only.
7576 2003-04-28 André Pönitz <poenitz@gmx.net>
7581 * BufferView_pimpl.C:
7582 * BufferView.C: getParFromID related ParagraphList::iterator changes
7584 2003-04-28 André Pönitz <poenitz@gmx.net>
7586 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7589 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * messages.C: remove one more localedir class variable.
7593 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7595 * messages.C (getLocaleDir): singleton generation function
7597 (Messages): add a default constructor.
7599 * main.C (main): do not setup localedir here, do not call
7602 * gettext.C (_): use it.
7603 (gettext_init): delete funciton
7605 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7607 * gettext.C (getLyXMessages): new singleton generating function.
7609 * buffer.C (updateDocLang): adjust
7611 * Makefile.am (messages.o): add target
7612 (main.o): remove target
7614 2003-04-27 John Levon <levon@movementarian.org>
7619 * lyxvc.C: specify cancel button in Alert::prompt
7621 2003-04-26 John Levon <levon@movementarian.org>
7626 * LyXAction.C: add LFUN_INSET_SETTINGS
7628 * lyxfunc.C: don't enable tabular-feature when there's
7629 just any locking inset
7631 2003-04-26 John Levon <levon@movementarian.org>
7633 * bufferlist.C: re-add Cancel to buffer close question
7635 * lyxfunc.C: fix import UI a bit
7637 2003-04-25 John Levon <levon@movementarian.org>
7639 * gettext.C: remove the broken asserts for now
7641 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7643 * messages.C: make case where setlocale cannot comply work better.
7645 * buffer.C (updateDocLang): new function
7646 (changeLanguage): use it
7649 * text2.C (setCounter): use B_ a bit.
7651 * lyxlayout.C (Read): be sure to trim the label strings.
7653 * messages.C (Messages): fix typo in comment
7655 * buffer.C (readFile): set message_ after file is loaded.
7656 (makeDocBookFile): remove double return
7657 (changeLanguage): reset message_ upon language change.
7658 (B_): new func, use this to get translated buffer strings.
7660 * main.C: add myself and Jean Marc as authors.
7662 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7664 * messages.[hC]: pimplify Messages, and three different pimpls to be
7665 used in different circumstances.
7667 * gettext.[Ch]: change for use with new message code.
7669 2003-04-24 André Pönitz <poenitz@gmx.net>
7671 * factory.C: support for eqref
7673 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7675 * messages.[Ch]: add missing char
7677 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7679 * messages.[Ch]: New files
7681 2003-04-18 John Levon <levon@movementarian.org>
7685 * BufferView_pimpl.C:
7689 * text2.C: remove layout-copy/paste (bug 778)
7691 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7693 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7695 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7697 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7698 if they succeed. Act accordingly.
7700 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * text2.C (setCharFont): adjust
7703 (setCounter): adjust
7704 (insertStringAsLines): adjust
7706 * text.C (leftMargin): adjust
7707 (setHeightOfRow): adjust
7709 * rowpainter.C (paintFirst): adjust
7712 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7714 (isFirstInSequence): ditto
7715 (getEndLabel): ditto
7718 * paragraph.C (getParLanguage): comment out some hard stuff.
7720 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7722 (simpleDocBookOnePar): ditto
7723 (makeDocBookFile): use ParagraphList::iterator
7725 * CutAndPaste.C (pasteSelection): adjust
7727 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7729 * text2.C (getFont): adjust
7730 (getLayoutFont): adjust
7731 (getLabelFont): adjust
7733 * paragraph_funcs.C (TeXOnePar): adjust
7735 * buffer.C (simpleLinuxDocOnePar): adjust
7736 (simpleDocBookOnePar): adjust
7738 * CutAndPaste.C (pasteSelection): adjust
7740 * BufferView.C (getEncoding): adjust
7742 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7744 2003-04-16 John Levon <levon@movementarian.org>
7746 * lyxfind.C: use parlist stuff for search/changes
7748 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7750 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7752 * text2.C (deleteEmptyParagraphMechanism): adjust
7754 * text2.[Ch] (ownerParagraph): delete func (both of them
7756 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7758 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7760 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7762 * ParagraphList.C: prepare for NO_NEXT
7764 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * text2.C (getFont): adjust
7767 (getLayoutFont): adjust
7768 (getLabelFont): adjust
7770 * paragraph.C (getFont): adjust
7771 (getLabelFont): adjust
7772 (getLayoutFont): adjust
7774 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7776 2003-04-15 John Levon <levon@movementarian.org>
7780 * lyx_main.C: handle Include in .ui files
7782 2003-04-15 John Levon <levon@movementarian.org>
7784 * MenuBackend.C: make the doc files length shorter
7787 * ToolbarBackend.C: handle toolbar placement flags,
7790 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7792 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7795 * paragraph_funcs.C (TeXOnePar): adjust
7797 * paragraph.C (getLabelFont): add outerfont arg, adjust
7798 (getLayoutFont): ditto
7799 (simpleTeXOnePar): adjust
7801 * paragraph_pimpl.C (realizeFont): delete func
7803 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7805 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7806 row argument, constify cur argument.
7808 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7810 * text2.C (getFont): adjust
7811 (getLayoutFont): adjust
7812 (getLabelFont): adjust
7814 * paragraph_funcs.C (TeXOnePar): adjust
7815 (outerFont): new func...
7816 (realizeFont): ...moved out from here, changed this to facilitate
7819 * paragraph.C (getFont): take outerfont as arg, adjust
7820 (simpleTeXOnePar): add outerfont arg, adjust
7822 * buffer.C (simpleLinuxDocOnePar): adjust
7823 (simpleDocBookOnePar): adjust
7825 * CutAndPaste.C (pasteSelection): adjust
7827 * BufferView.C (getEncoding): adjust
7829 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7831 * text2.C (setCharFont): adjust
7832 (setCounter): adjust
7834 * text.C (leftMargin): adjust
7835 (setHeightOfRow): adjust
7837 * rowpainter.C (paintFirst): adjust
7840 * paragraph_pimpl.C (realizeFont): adjust
7842 * paragraph.C (isFirstInSequence): move from here...
7843 * paragraph_funcs.C (isFirstInSequence): ...to here
7845 * paragraph.C (outerHook): move from here...
7846 * paragraph_funcs.C (outerHook): ...to here
7848 * paragraph.C (depthHook): move from here...
7849 * paragraph_funcs.C (depthHook): ...to here
7851 * paragraph.C (getEndLabel): move from here...
7852 * paragraph_funcs.C (getEndLabel): ...to here
7854 * text2.C (realizeFont): move from here...
7855 * paragraph_funcs.C (realizeFont): ...to here
7857 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7859 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7861 2003-04-14 Angus Leeming <leeming@lyx.org>
7863 * LColor.[Ch]: scrap LColor mathcursor.
7865 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7867 * lyxlex.[Ch] (text): delete function
7868 * trans.C (Load): adjust
7869 * paragraph_funcs.C (readParToken): adjust
7871 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7873 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7874 vector<char> instead of a char[].
7876 * lyxlex_pimpl.C (getString): adjust
7878 (lex): use getString
7882 * lyxlex.C (text): use pimpl_->getString()
7886 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7888 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7889 (makeFontEntriesLayoutSpecific): temp var for par.size()
7890 (setLayout): temp var for ownerParagraphs().end()
7891 (fullRebreak): temp var for rows().end()
7892 (selectionAsString): temp var for boost::next(startpit), realize
7893 that the while really is a regular for loop.
7894 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7895 setCursor in one place.
7896 (setParagraph): temp vr for ownerParagraphs().end()
7897 (updateCounters): make the while loop a for loop
7898 (cutSelection): temp var for ownerParagraphs().end()
7899 (updateInset): make the do {} while() a regular for loop
7900 (getCursorX): use temp vars
7901 (setCurrentFont): use temp vars
7902 (getColumnNearX): use temp vars
7904 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7906 * text.C (transformChar): use temp var for getChar
7907 (computeBidiTables): use temp var for row->par()
7908 (fill): move temp vars for row->par() and pit->layout() earlier in
7910 (labelFill): use temp var for row->par()
7911 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7912 asc and desc, realize that pit never changes and that firstpit is
7913 just a duplicate and not needed. Exchange rit->par() with pit in a
7915 (breakAgain): use a temp var for boost::next(rit)
7916 (breakAgainOneRow): ditto
7917 (breakParagraph): use a temp var for rows().begin()
7918 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7919 (cursorRightOneWord): use temp var for cursor.par() and
7920 cursor.pos(), remove usage of tmpcursor.
7921 (cursorLeftOneWord): use temp var for cursor.par() and
7922 cursor.pos() only set cur at end of function.
7924 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7926 * text.C, text2.C: exchange all usage of Paragraph::next with
7927 boost::next(ParagraphList::iterator)
7929 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7931 * text2.C (cursorTop): simplify implementation
7932 (cursorBottom): ditto
7933 (setParagraph): use ParagraphList::iterator
7934 (setCurrentFont): adjust
7935 (getColumnNearX): adjust
7936 (cursorRight): adjust
7937 (cursorLeft): remove usage of Paragraph::previous
7938 (cursorUpParagraph): ditto
7939 (deleteEmptyParagraphMechanism): slight cleanup
7941 * text.C (isBoundary): take a Paragraph const & instead of a
7943 (addressBreakPoint): ditto
7944 (leftMargin): remove usage of Paragraph::previous.
7945 (setHeightOfRow): ditto
7946 (cursorLeftOneWord): ditto
7947 (selectNextWordToSpellcheck): ditto
7950 (breakParagraph): remove one usage of Paragraph::next
7951 (redoParagraph): ditto
7952 (acceptChange): ditto
7953 (insertChar): adjust
7954 (rowBreakPoint): adjust
7956 * bufferview_funcs.C (toggleAndShow): adjust
7958 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7960 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7961 methods to access it.
7963 * text.C: Added updateRowPositions to compute all row positions.
7964 Make top_y and getRowNearY() to use the cached y position
7966 2003-04-11 John Levon <levon@movementarian.org>
7968 * text.C (rowBreakPoint): reintroduce the labelEnd
7969 checks, code copied from the row fill stuff. Deep voodoo.
7971 * text.C (fill): add a comment and debugging for the
7974 2003-04-11 John Levon <levon@movementarian.org>
7976 * text.C: make sure fullrow insets get wrapped to the next line,
7977 even when they're in a manual label
7979 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7981 * text2.C (insertParagraph): make it take ParagraphList::iterator
7983 (setLayout): make it return ParagraphList::iterator
7984 (redoParagraphs): ditto
7986 (checkParagraph): ditto
7988 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7990 * text2.C: adjust several funcs.
7991 (realizeFont): take a ParagraphList::iterator as arg.
7992 (getLayoutFont): ditto
7993 (getLabelFont): ditto
7994 (setCharFont): ditto
7996 * text.C: adjust several funcs.
7998 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8000 * text.C (selectNextWordToSpellcheck): don't accidentally
8003 2003-04-10 John Levon <levon@movementarian.org>
8005 * ToolbarBackend.C (getIcon): special handling for
8008 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8010 * text2.C (cursorRight): a getChar assert fixed
8012 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8014 * text2.C (getFont): change to take a ParagraphList::iterator
8015 instead of Paragraph*
8016 Adjust several functions.
8018 * text.C (transformChar): change to take a ParagraphList::iterator
8019 instead of Paragraph*
8020 (singleWidth): ditto
8021 Adjust several functions.
8023 * rowpainter.C: adjust several functions
8024 * rowpainter.h:store a ParagraphList::iterator and not a
8028 2003-04-09 John Levon <levon@movementarian.org>
8033 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8034 and the "help" bits as well
8036 2003-04-09 John Levon <levon@movementarian.org>
8039 * ToolbarBackend.C: allow multiple toolbars
8041 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8043 * undo_funcs.C (setCursorParUndo): adjust
8045 * text_funcs.C (transposeChars): adjust
8047 * text3.C (gotoNextInset): adjust
8050 * text2.C (setLayout): adjust
8051 (changeDepth): adjust
8053 (redoParagraphs): adjust
8054 (selectionAsString): adjust
8055 (setParagraph): adjust
8056 (insertInset): adjust
8057 (cutSelection): adjust
8058 (copySelection): adjust
8059 (pasteSelection): adjust
8060 (insertStringAsLines): adjust
8061 (updateInset): adjust
8062 (setCursor): change to take a ParagraphList::iterator parameter
8063 (setCursorIntern): change to take a ParagraphList::iterator parameter
8064 (setCurrentFont): adjust
8065 (cursorLeft): adjust
8066 (cursorRight): adjust
8067 (deleteEmptyParagraphMechanism): adjust
8069 * text.C (breakParagraph): adjust
8070 (insertChar): adjust
8071 (acceptChange): adjust
8072 (rejectChange): adjust
8073 (selectNextWordToSpellcheck): adjust
8074 (changeCase): adjust
8078 * lyxfind.C (SearchForward): adjust
8079 (SearchBackward): adjust
8080 (nextChange): adjust
8082 * lyxcursor.C (par): adjust
8084 * lyxcursor.h: store a ParagraphList::iterator instead of a
8087 * lyx_cb.C (getPossibleLabel): adjust
8089 * bufferview_funcs.C (toggleAndShow): adjust
8091 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8094 * BufferView.C (removeAutoInsets): adjust
8095 (lockedInsetStoreUndo): adjust
8097 2003-04-09 John Levon <levon@movementarian.org>
8099 * ToolbarBackend.C: try icon without argument
8100 if with argument fails
8102 2003-04-08 John Levon <levon@movementarian.org>
8105 * ToolbarBackend.C: add getIcon(), handle tooltip,
8106 and change from "Icon" to "Item".
8108 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8110 * BufferView.C (lockInset): another bad getchar crunched
8112 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8114 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8117 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8119 * lyxfind.C (searchForward, searchBackwards): bug 782
8121 2003-04-07 John Levon <levon@movementarian.org>
8123 * paragraph.C: remove dead comment
8125 * text.C: remove troublesome depth-fiddling code
8126 in leftMargin() and rightMargin() (bug 1017)
8128 * text.C: fix breaking of rows in nested lists
8131 * text2.C (updateCounters): fix up depth values
8134 2003-04-07 John Levon <levon@movementarian.org>
8136 * BufferView_pimpl.C: clear message when doc finishes resizing,
8137 and after a mouse event
8139 * lyxfunc.C: clear message after exiting inset
8141 2003-04-07 John Levon <levon@movementarian.org>
8143 * bufferview_funcs.C: show math status not outside
8144 status in the statusbar
8146 2003-04-07 John Levon <levon@movementarian.org>
8148 * lyxfunc.C: note status changed after a depth change
8150 2003-04-04 Angus Leeming <leeming@lyx.org>
8152 * LaTeX.h: move AuxInfo operator==, != out of line.
8153 Remove LaTeX virtual destructor; nothing derives from it.
8154 Move operator()() out of public area and rename it startscript().
8155 Change protected for private.
8157 2003-04-04 Angus Leeming <leeming@lyx.org>
8160 * text2.C: remove unneeded #includes.
8162 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8164 * text2.C (dEPM): fix the heigth of the next row
8166 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8168 * text.C: squashed an invalid getChar requester + some ws changes
8170 2003-04-03 John Levon <levon@movementarian.org>
8172 * bufferview_funcs.h:
8173 * bufferview_funcs.C:
8176 * text2.C: make getStatus work for the env depth lfuns
8178 2003-04-03 John Levon <levon@movementarian.org>
8180 * bufferview_funcs.h:
8181 * bufferview_funcs.C:
8184 * text2.C: parlistize decDepth(), by merging it with incDepth()
8186 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8188 * lyxrow.h: store a ParagraphList::iterator instead of a
8189 Paragraph* and adjust other class functions to suit.
8191 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8194 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8196 * text2.C (setCursor): do not anchor to cursor row for the time being
8198 2003-04-02 John Levon <levon@movementarian.org>
8205 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8207 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * paragraph.h: make ParagraphList and ParagraphList::iterator
8210 friends of Paragraph.
8212 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8214 * ParagraphList.C: Use the private next_ and previous_ from
8217 2003-04-01 John Levon <levon@movementarian.org>
8221 * Makefile.am: rename, remove defaults gunk
8224 * MenuBackend.C: remove defaults gunk
8227 * Languages.C: remove defaults gunk
8230 * lyx_main.C: error out if files couldn't be found.
8232 2003-04-02 John Levon <levon@movementarian.org>
8234 * text2.C: make incDepth() use parlist
8236 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8238 * undo_funcs.C (firstUndoParagraph): adjust
8240 * text3.C (gotoInset): adjust
8241 (dispatch): adjust, and rewrite loop.
8243 * text2.C (init): adjust, and rewrite loop.
8244 (redoParagraphs): adjust
8245 (updateInset): adjust, and rewrite loop.
8246 (deleteEmptyParagraphMechanism): adjust
8248 * tabular.C (LyXTabular): adjust
8249 (SetMultiColumn): adjust
8252 * lyxtext.[Ch] (ownerParagraph): delete function
8253 (ownerParagraphs): new function returns a ParagraphList.
8255 * BufferView.C (removeAutoInsets): adjust
8256 (insertErrors): adjust
8257 (setCursorFromRow): adjust
8259 2003-04-01 Angus Leeming <leeming@lyx.org>
8261 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8264 2003-04-02 John Levon <levon@movementarian.org>
8270 * text_funcs.C: make transposeChars a free function
8272 * lyxrow_funcs.C: remove wrong comment
8274 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8277 * rowpainter.C: adjust
8282 * lyxrow_funcs. [Ch]: new files
8284 * lyxrow.[Ch]: remove next and previous pointers
8285 (next,previous): remove accessor functions
8286 (isParEnd): move to lyxrow_funcs
8287 (lastPos): move to lyxrow_funcs
8288 (nextRowIsAllInset): move to lyxrow_funcs
8289 (lastPrintablePos): move to lyxrow_funcs
8290 (numberOfSeparators): move to lyxrow_funcs
8291 (numberOfHfills): move to lyxrow_funcs
8292 (numberOfLabelHfills): move to lyxrow_funcs
8293 (hfillExpansion): move to lyxrow_funcs
8297 * bufferview_funcs.C (toggleAndShow): adjust
8299 * RowList.h: Remove class RowList from file leave just a
8302 * RowList.C: delete file
8304 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8307 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8309 * text3.C (cursorPrevious): adjust
8310 (cursorNext): adjust
8313 * text2.C (redoHeightOfParagraph): adjust
8314 (redoDrawingOfParagraph): adjust
8317 * text.C (breakParagraph): adjust
8318 (insertChar): adjust
8321 * rowpainter.C (RowPainter): adjust
8322 (leftMargin): simplify and adjust
8323 (most rowpainter functions): adjust.
8325 * rowpainter.h: store the row as RowList::iterator not as Row*
8327 * lyxcursor.C (row): taka RowList::iterator as arg
8330 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8333 2003-04-01 Angus Leeming <leeming@lyx.org>
8335 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8336 stuff like bool Bool.
8338 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8340 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8343 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8345 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8348 * lyxtext.h (rows): drop one version and leve a const variant that
8349 returns a RowList::iterator.
8351 2003-03-31 Angus Leeming <leeming@lyx.org>
8353 * text.C (fill): ensure that the signature is the same as that in the
8356 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8358 * text2.C (redoParagraphs): adjust
8359 (updateCounters): adjust
8360 (checkParagraph): adjust
8361 (getColumnNearX): adjust and reformat a bit.
8363 * text.C (top_y): adjust
8365 (leftMargin): adjust
8366 (prepareToPrint): adjust
8368 (getRowNearY): adjust
8370 * lyxtext.h: make rowlist_ mutable.
8372 * RowList.h: add const_iterator
8373 * RowList.C: adjust for RowList::const_iterator.
8375 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8378 2003-03-31 John Levon <levon@movementarian.org>
8381 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8383 * lyx_main.C: set default fonts from using lyx_gui funcs
8385 * exporter.C: pdf_mode moved from lyxrc
8388 * lyxfunc.C: changes from above
8390 2003-03-31 John Levon <levon@movementarian.org>
8392 * lyx_main.C: fix to the last fix
8394 2003-03-31 John Levon <levon@movementarian.org>
8396 * bufferlist.C: "Load original" -> "Load Original"
8402 * format.C: more Alert cleanups
8404 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8406 * text2.C (removeParagraph): make it take a RowList::iterator as
8408 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8409 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8411 * text.C (anchor_row): make it take a RowList::iterator as arg,
8413 (computeBidiTables): make it take a const reference to Row instead
8414 of Row pointer, adjust.
8415 (leftMargin): make it take a RowList::iterator as arg, adjust.
8416 (rowBreakPoint): adjust
8417 (breakAgainOneRow): make it take a RowList::iterator as arg,
8419 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8421 * bufferview_funcs.C (toggleAndShow): adjust
8423 2003-03-30 John Levon <levon@movementarian.org>
8427 * boost-inst.C: moved to support
8429 * several files: changes as a result
8431 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8433 * text2.C (LyXText): adjust.
8435 (removeRow): make it take a RowList::iterator as arg, adjust.
8436 (fullRebreak): adjust
8437 (deleteEmptyParagraphMechanism): adjust
8438 (clearPaint): adjust
8441 * text.C (top_y): adjust
8442 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8443 (breakAgain): make it take a RowList::iterator as arg, adjust.
8444 (breakParagraph): adjust
8445 (insertChar): adjust
8448 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8449 need_break_row, and refresh_row.
8451 * text3.C (dispatch): adjust
8453 * text2.C (checkParagraph): adjust
8455 (setCursorFromCoordinates): adjust
8457 * text.C (top_y): adjust
8459 (getRow): make it return a RowList::iterator, adjust
8460 (getRowNearY): make it return a RowList::iterator, adjust
8462 * text2.C (init): adjust
8463 (insertRow): remove function
8464 (insertParagraph): adjust
8465 (redoParagraphs): adjust
8466 (fullRebreak): adjust
8467 (updateCounters): adjust
8469 * text.C (top_y): rewrite to use RowList iterators.
8471 (setHeightOfRow): rewrite to sue RowList iterators.
8472 (appendParagraph): adjust
8473 (breakAgain): adjust
8474 (breakAgainOneRow): adjust
8475 (breakParagraph): adjust
8477 (getRowNearY): adjust, and remove commented code.
8479 * lyxtext.h (firstRow): delete function
8480 (lastRow): delete function
8481 (rows): new function (const and non-const versions.)
8482 (insertRow): delete function
8484 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8486 2003-03-29 John Levon <levon@movementarian.org>
8488 * BufferView_pimpl.C: always update scrollbar top
8489 because pasting text when we're anchored could mean we
8490 miss an update altogether
8492 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8494 * text2.C (init): use rowlist_.end() and not 0.
8495 (insertRow): change to take a RowList::iterator as arg, adjust
8497 (insertParagraph): change to take a RowList::iterator as arg,
8499 (redoParagraphs): remove some debug msgs.
8501 * text.C (appendParagraph): change to take a RowList::iterator
8502 arg, adjust for this.
8503 (breakAgain): add an assert
8504 (breakAgainOneRow): ditto
8506 2003-03-29 John Levon <levon@movementarian.org>
8508 * text2.C: do not clear selection after inc/decDepth
8511 2003-03-29 John Levon <levon@movementarian.org>
8514 * buffer.C: fix broken strerrors according to Lars
8516 2003-03-29 John Levon <levon@movementarian.org>
8518 * converters.C: more Alert cleanups
8520 2003-03-29 John Levon <levon@movementarian.org>
8522 * bufferview_funcs.C: remove pointless Alert
8524 * buffer.C: fix confusing error message when
8525 a template is chmoded 000
8527 2003-03-29 John Levon <levon@movementarian.org>
8531 * BufferView_pimpl.C: Alert fixes
8535 * tabular-old.C: remove unused table compat reading
8537 2003-03-29 John Levon <levon@movementarian.org>
8542 * lyx_cb.C: more Alert cleanups
8544 * lyxfunc.C: don't allow chktex if not latex document
8546 2003-03-29 John Levon <levon@movementarian.org>
8550 * buffer.C: warnings pushed down from support/,
8553 2003-03-29 John Levon <levon@movementarian.org>
8555 * lyxfunc.C: safety check for C-r (revert)
8557 2003-03-29 John Levon <levon@movementarian.org>
8560 * bufferlist.C: several UI fixes using Alert::prompt.
8561 Fix the pointless looping quit code. Fix stupid revert
8566 * lyx_cb.C: use Alert::prompt
8568 * lyx_main.C: remove a silly question
8570 * lyxfunc.C: remove a couple of silly questions,
8573 2003-03-28 John Levon <levon@movementarian.org>
8575 * text2.C: fix bug 974 (End on empty par)
8577 2003-03-28 John Levon <levon@movementarian.org>
8579 * BufferView_pimpl.C:
8581 * lfuns.h: remove do-nothing math greek lfuns
8583 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8585 * lyxgluelength.h (isValidGlueLength): add default arg on
8586 parameter 2. Remove default arg from friend in class.
8588 * lyxlength.h (isValidLength): add default arg on parameter 2.
8589 Remove default arg from friend in class.
8591 * text2.C (LyXText): adjust, initialize refresh_row.
8595 (insertParagraph): adjst
8596 (redoParagraphs): adjust
8597 (fullRebreak): adjust
8598 (updateCounters): adjust
8599 (deleteEmptyParagraphMechanism): first attempt at fixing a
8602 * text.C (top_y): adjust
8603 (setHeightOfRow): adjust
8605 (getRowNearY): adjust
8607 * lyxtext.h: include RowList.h
8608 (~LyXText): not needed anymore, deleted.
8609 (firstRow): modify for RowList
8610 (lastRow): new function
8611 Delete firstrow and lastrow class variables, add a Rowlist
8612 rowlist_ class variable.
8614 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8617 * RowList.C (insert): fix case where it == begin().
8619 2003-03-26 Angus Leeming <leeming@lyx.org>
8621 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8622 the thesaurus dialog.
8624 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8626 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8628 * RowList.[Ch]: new files
8630 * ParagraphList.C (erase): handle the case where it == begin
8633 2003-03-25 John Levon <levon@movementarian.org>
8637 * aspell.C: add new aspell support
8640 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8643 2003-03-25 Angus Leeming <leeming@lyx.org>
8646 * LyXAction.C (init): new LFUN_INSET_INSERT.
8648 * BufferView_pimpl.C (dispatch): split out part of the
8649 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8651 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8654 2003-03-25 Angus Leeming <leeming@lyx.org>
8656 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8658 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8661 * text3.C: remove useless row->height(0)
8663 2003-03-25 John Levon <levon@movementarian.org>
8667 * text3.C: rename the refreshing stuff to better names
8669 2003-03-24 John Levon <levon@movementarian.org>
8671 * BufferView_pimpl.h:
8672 * BufferView_pimpl.C: update layout choice on a mouse
8675 2003-03-23 John Levon <levon@movementarian.org>
8677 * Makefile.am: fix commandtags.h reference
8679 2003-03-22 John Levon <levon@movementarian.org>
8681 * BufferView_pimpl.C:
8686 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8688 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8691 * text.C: take the rtl methods out of line
8693 2003-03-21 André Pönitz <poenitz@gmx.net>
8695 * metricsinfo.[Ch]: new files containing structures to be passed around
8696 during the two-phase-drawing...
8698 2003-03-21 André Pönitz <poenitz@gmx.net>
8700 * lyxtextclass.C: read 'environment' tag.
8702 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8704 * text2.C (removeRow): fix bug 964
8706 2003-03-20 John Levon <levon@movementarian.org>
8710 * text2.C: paint cleanups. Inset::update() dropped font
8713 2003-03-19 John Levon <levon@movementarian.org>
8715 * lyxfunc.C: only fitcursor/markDirty if available()
8717 2003-03-19 John Levon <levon@movementarian.org>
8719 * commandtags.h: rename to ...
8721 * lfuns.h: ... this, and renumber / cleanup
8723 2003-03-19 John Levon <levon@movementarian.org>
8725 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8726 fit the cursor after an lfun
8730 * BufferView_pimpl.h:
8731 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8733 * LyXAction.C: layout-character should have ReadOnly
8735 * ParagraphParameters.C:
8737 * bufferview_funcs.C:
8744 * undo_funcs.C: changes from above
8746 2003-03-18 John Levon <levon@movementarian.org>
8748 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8749 remove it from update()
8751 * lyxfunc.C: update layout choice after an lfun
8753 * text3.C: remove extra updateLayoutChoice()s
8755 2003-03-18 John Levon <levon@movementarian.org>
8757 * text.C: top_y change means full repaint, fix
8758 a drawing bug with cursor movement
8760 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8764 * text2.C: anchor row on setCursor
8766 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8768 * lyxtext.h: remove almost all mutable keywords
8771 * text3.C: remove const keywords accordingly
8773 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8775 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8777 (TeXEnvironment): ditto
8780 2003-03-17 John Levon <levon@movementarian.org>
8782 * text.C (rowBreakPoint): remove attempt to fix displayed
8783 math insets inside a manual label
8785 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8787 * lyxtext.h: remove BufferView* as first arg from almost all class
8789 * other files: adjust.
8791 2003-03-17 John Levon <levon@movementarian.org>
8795 * text2.C: more paint cleanups
8797 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8800 * rowpainter.C: remove "smart" background painting code
8802 2003-03-16 John Levon <levon@movementarian.org>
8807 * text3.C: add helper functions for setting refresh_row/y
8809 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8811 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8812 newline inset which *can* get inserted in the pass_thru layouts.
8813 This is primarily for literate documents.
8815 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8817 * buffer.C: increment LYX_FORMAT to 223
8819 2003-03-14 André Pönitz <poenitz@gmx.net>
8821 * textclass.h: prepare for environment handling, ws changes
8822 * lyxlayout.C: read latexheader and latexfooter tags
8824 2003-03-14 John Levon <levon@movementarian.org>
8826 * text2.C: rewrite ::status() a bit
8828 2003-03-13 John Levon <levon@movementarian.org>
8830 * lyxtext.h: add some docs
8832 2003-03-13 John Levon <levon@movementarian.org>
8837 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8839 2003-03-13 John Levon <levon@movementarian.org>
8841 * text3.C: fix appendix redrawing
8843 2003-03-13 John Levon <levon@movementarian.org>
8845 * text.C (setHeightOfRow):
8847 * rowpainter.C: make appendix mark have the text
8848 "Appendix" so the user knows what it is
8851 * LColor.C: s/appendixline/appendix/ from above
8853 2003-03-13 John Levon <levon@movementarian.org>
8855 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8857 * text.C: fix a getChar(pos) bug properly
8859 2003-03-13 Angus Leeming <leeming@lyx.org>
8862 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8863 Probably only temporary. Let's see how things pan out.
8865 * BufferView.C (unlockInset):
8866 * BufferView_pimpl.C (fitCursor):
8867 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8869 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8870 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8872 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8873 new functions that convert ParagraphParameters to and from a string.
8875 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8876 BufferView::Pimpl's dispatch.
8877 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8879 2003-03-13 André Pönitz <poenitz@gmx.net>
8883 * factory.C: make it aware of InsetEnv
8885 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8887 * text2.C (setCursor): never ask for one past last
8888 (setCursor): add some debugging messages.
8890 * text.C (singleWidth): never ask for one past last
8891 (singleWidth): ditto
8893 (rightMargin): ditto
8894 (rowBreakPoint): ditto
8895 (setHeightOfRow): ditto
8896 (prepareToPrint): ditto
8898 * rowpainter.C (paintBackground): never ask for one past last
8899 (paintText): never ask for one past last
8901 * paragraph_pimpl.C (getChar): make the assert stricter, never
8902 allow the one past last pos to be taken
8904 * paragraph.C (getChar): ws changes only
8906 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8907 (numberOfSeparators): ditto
8908 (numberOfHfills): ditto
8910 2003-03-12 John Levon <levon@movementarian.org>
8916 * paragraph_funcs.C: fix per-buffer authorlists
8918 2003-03-12 John Levon <levon@movementarian.org>
8920 * text.C: fix newline in right address
8922 2003-03-12 Angus Leeming <leeming@lyx.org>
8924 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8925 duplicate those in LyXFunc::dispatch.
8929 * ToolbarDefaults.C:
8930 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8931 Add LFUN_FONTFREE_UPDATE.
8933 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8934 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8936 * bufferview_func.[Ch]: several new functions to facilliate
8937 transfer of data to and from the character dialog.
8939 2003-03-12 John Levon <levon@movementarian.org>
8944 * paragraph_funcs.C:
8945 * paragraph_pimpl.C:
8949 * text3.C: remove META_NEWLINE in favour of an inset
8952 * rowpainter.C: remove paintNewline (done by inset)
8954 2003-03-12 John Levon <levon@movementarian.org>
8956 * paragraph_pimpl.C: complain about bad getChar()s
8957 for a while at least
8959 2003-03-12 John Levon <levon@movementarian.org>
8962 * buffer.C: move paragraph read into a separate function,
8963 a little renaming to reflect that.
8966 * bufferparams.C: remove the author_ids map, not necessary now
8969 * factory.C: moved Buffer::readInset to here
8971 * paragraph_funcs.h:
8972 * paragraph_funcs.C: readParagraph free function moved from
8975 * tabular.C: name change
8977 2003-03-12 John Levon <levon@movementarian.org>
8980 * ParagraphParameters.C: move par params input to
8983 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8984 behave like a normal read from the stream wrt reading
8985 a line vs. a \\token
8987 2003-03-12 John Levon <levon@movementarian.org>
8990 * ParagraphParameters.h:
8991 * ParagraphParameters.C: move output code to a
8994 2003-03-12 John Levon <levon@movementarian.org>
8996 * BufferView.C (insertLyXFile):
8999 * tabular.C: use a parlist iterator for creating the
9002 2003-03-12 John Levon <levon@movementarian.org>
9004 * buffer.C: make current_change static local not
9007 2003-03-12 John Levon <levon@movementarian.org>
9009 * buffer.C: fix insertStringAsLines for change tracking
9011 2003-03-12 John Levon <levon@movementarian.org>
9018 * bufferparams.C: move author list into params. Rename some
9019 functions. Move the header reading into a separate token
9020 loop. Move the header token reading into BufferParams.
9022 2003-03-12 John Levon <levon@movementarian.org>
9024 * changes.C: put debug inside lyxerr.debugging() checks
9026 2003-03-11 André Pönitz <poenitz@gmx.net>
9028 * factory.C: make it aware of InsetHFill
9030 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9032 * buffer.C (latexParagraphs): move function from here...
9033 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9036 2003-03-10 Angus Leeming <leeming@lyx.org>
9038 * LyXAction.C (init): fix bug in poplating array with multiple entries
9039 with the same LFUN (spotted by JMarc).
9041 2003-03-10 John Levon <levon@movementarian.org>
9044 * text2.C: move getColumnNearX() near its
9047 2003-03-10 John Levon <levon@movementarian.org>
9049 * text.C: fix break before a minipage
9051 2003-03-10 John Levon <levon@movementarian.org>
9053 * text.C: fix the last commit
9055 2003-03-09 John Levon <levon@movementarian.org>
9059 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9060 bug 365 (don't break before insets unless needed). Don't
9061 return a value > last under any circumstances.
9063 2003-03-09 Angus Leeming <leeming@lyx.org>
9065 * BufferView_pimpl.C (trackChanges, dispatch): call
9066 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9068 2003-03-09 Angus Leeming <leeming@lyx.org>
9070 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9071 than Dialogs::showAboutlyx().
9073 2003-03-09 Angus Leeming <leeming@lyx.org>
9075 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9076 than Dialogs::showTabularCreate().
9078 2003-03-09 John Levon <levon@movementarian.org>
9082 * text2.C: 3rd arg to nextBreakPoint was always the same.
9085 2003-03-08 John Levon <levon@movementarian.org>
9092 * text2.C: Remove the "main" bit from the "main body"
9095 2003-03-08 John Levon <levon@movementarian.org>
9097 * text.C (leftMargin): The left margin of an empty
9098 manual label paragraph should not include the label width
9101 * text.C (prepareToPrint): don't attempt to measure hfills
9102 for empty manual label paragraphs - the answer should be 0
9104 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9106 * CutAndPaste.C: remove commented code and reindent.
9108 2003-03-08 John Levon <levon@movementarian.org>
9111 * lyxfunc.C: move reloadBuffer()
9114 * BufferView.C: to here
9116 * lyxvc.C: add comment
9119 * vc-backend.C: call bv->reload() to avoid
9120 getStatus() check on MENURELOAD
9122 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9124 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9125 to an old format .dep file.
9127 2003-03-07 Angus Leeming <leeming@lyx.org>
9129 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9130 when the LFUN_MOUSE_RELEASE should have been handled by
9131 inset->localDispatch.
9133 2003-03-07 Angus Leeming <leeming@lyx.org>
9135 * BufferView_pimpl.C (dispatch):
9136 * LyXAction.C (init):
9137 * ToolbarDefaults.C (init):
9139 * lyxfunc.C (getStatus):
9140 remove LFUN_INSET_GRAPHICS.
9142 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9144 2003-03-07 Angus Leeming <leeming@lyx.org>
9147 * LyXAction.C (init):
9148 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9150 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9153 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9155 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9156 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9158 2003-03-07 Angus Leeming <leeming@lyx.org>
9160 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9163 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9165 * ParagraphList.C (front): new function
9168 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9170 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9171 and top_row_offset_. removed var first_y.
9173 * text2.C (LyXText, removeRow):
9175 * BufferView_pimpl.C:
9176 use these methods instead of using first_y
9178 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9180 * text2.C (pasteSelection): adjust for checkPastePossible
9182 * CutAndPaste.C: remove Paragraph * buf and replace with
9183 ParagraphList paragraphs.
9184 (DeleteBuffer): delete
9185 (cutSelection): change the tc type to textclass_type
9186 (copySelection): change the tc type to textclass_type
9187 (copySelection): adjust for ParagraphList
9188 (pasteSelection): change the tc type to textclass_type
9189 (pasteSelection): adjust for Paragraphlist
9190 (nrOfParagraphs): simplify for ParagraphList
9191 (checkPastePossible): simplify for ParagraphList
9192 (checkPastePossible): remove unused arg
9194 * ParagraphList.C (insert): handle the case where there are no
9197 * CutAndPaste.h: make CutAndPaste a namespace.
9199 * text3.C (dispatch): adjust
9201 * text.C (breakParagraph): add a ParagraphList as arg
9203 * paragraph_funcs.C (breakParagraph): change to take a
9204 BufferParams and a ParagraphList as args.
9205 (breakParagraphConservative): ditto
9206 (mergeParagraph): ditto
9207 (TeXDeeper): add a ParagraphList arg
9208 (TeXEnvironment): ditto
9211 * buffer.C (readLyXformat2): adjust
9212 (insertStringAsLines): adjust
9213 (latexParagraphs): adjust
9215 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9216 (cutSelection): adjust
9217 (pasteSelection): adjust
9219 * BufferView_pimpl.C (insertInset): adjust
9221 2003-03-05 Angus Leeming <leeming@lyx.org>
9224 * LyXAction.C (init):
9225 * BufferView_pimpl.C (dispatch):
9226 * lyxfunc.C (getStatus):
9227 remove LFUN_CHILD_INSERT.
9229 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9231 2003-03-05 Angus Leeming <leeming@lyx.org>
9234 * LyXAction.C (init):
9235 * src/factory.C (createInset):
9236 * lyxfunc.C (getStatus):
9237 * text3.C (dispatch):
9238 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9240 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9242 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9244 * ParagraphList.C (insert): handle insert right before end()
9245 (erase): fix cases where it can be first or last paragraph.
9247 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9249 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9250 Paragraph::next and Paragraph::previous
9253 * text.C (breakParagraph): adjust
9255 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9256 BufferParams& as arg.
9257 (breakParagraph): use ParagraphList::insert
9258 (breakParagraphConservative): take a Buffer* instead of a
9259 BufferParams& as arg.
9260 (breakParagraphConservative): use ParagraphList::insert.
9262 * buffer.C (insertStringAsLines): un-const it
9263 (insertStringAsLines): adjust
9265 * ParagraphList.C (insert): new function
9267 * CutAndPaste.C (pasteSelection): adjust
9269 * text.C (backspace): adjust
9271 * tabular.C (SetMultiColumn): adjust
9273 * CutAndPaste.C (cutSelection): adjust
9274 (pasteSelection): adjust
9276 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9277 Buffer const * as arg
9279 * ParagraphList.C (erase): new function
9280 * paragraph_funcs.C (mergeParagraph): use it
9281 (mergeParagraph): make it take a Buffer* instead of a
9282 BufferParams* as arg
9284 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9286 (breakParagraphConservative): ditto
9288 * paragraph.h: remove the breakParagraph friend
9290 * paragraph.C (eraseIntern): new function
9291 (setChange): new function
9293 * paragraph_funcs.C (mergeParagraph): make it take a
9294 ParagraphList::iterator instead of a Paragraph *, adjust
9297 * paragraph.h: move an #endif so that the change tracking stuff
9298 also works in the NO_NEXT case.
9300 2003-03-04 Angus Leeming <leeming@lyx.org>
9303 * LyXAction.C: new LFUN_INSET_MODIFY.
9305 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9306 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9308 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9310 * several files: ws changes only
9312 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9313 (TeXEnvironment): ditto
9316 * buffer.C (makeLaTeXFile): adjust
9317 (latexParagraphs): make it take ParagraphList::iterator as args
9319 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9321 * buffer.C (latexParagraphs): adjust
9323 * paragraph.C (TeXOnePar): move function...
9324 (optArgInset): move function...
9325 (TeXEnvironment): move function...
9326 * paragraph_pimpl.C (TeXDeeper): move function...
9327 * paragraph_funcs.C: ...here
9329 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9331 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9333 * buffer.C (readInset): remove compability code for old Figure and
9336 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9338 * buffer.C: ws changes
9341 * BufferView_pimpl.C: ditto
9344 * bufferlist.h: ditto
9348 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9350 * converter.[Ch]: split into itself +
9353 * Makefile.am: += graph.[Ch] + format.[Ch]
9360 * lyxrc.C: added #include "format.h"
9362 2003-02-27 Angus Leeming <leeming@lyx.org>
9364 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9367 * factory.C (createInset): add "label" to the factory.
9369 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9370 string and do no more.
9372 2003-02-27 Angus Leeming <leeming@lyx.org>
9375 * LyXAction.C (init):
9376 * factory.C (createInset):
9377 * BufferView_pimpl.C (dispatch):
9378 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9380 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9382 * lyxfunc.C (dispatch):
9383 * text3.C (dispatch): pass name to params2string.
9385 2003-02-26 Angus Leeming <leeming@lyx.org>
9387 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9389 Rearrange the ~includes. Strip out the unnecessary ones.
9391 * factory.C (createInset): reformat.
9392 create new insets for the various LFUN_XYZ_APPLY lfuns.
9394 2003-02-26 John Levon <levon@movementarian.org>
9397 * lyxrow.C: add isParStart,isParEnd helpers
9399 * paragraph.h: make isInserted/DeletedText take refs
9401 * paragraph_funcs.h:
9402 * paragraph_funcs.C: remove #if 0'd code
9407 * text.C: use lyxrow helpers above.
9408 Move draw and paint routines to RowPainter.
9409 Make several methods use refs not pointers.
9410 Make backgroundColor() const.
9411 Add markChangeInDraw(), isInInset().
9412 Merge changeRegionCase into changeCase.
9413 Make workWidth() shouldn't-happen code into an Assert.
9416 * rowpainter.C: new class for painting a row.
9419 * vspace.C: make inPixels take a ref
9421 2003-02-26 Angus Leeming <leeming@lyx.org>
9423 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9426 2003-02-25 John Levon <levon@movementarian.org>
9428 * ispell.C: give the forked command a more accurate name
9430 2003-02-22 John Levon <levon@movementarian.org>
9433 * toc.C: make TocItem store an id not a Paragraph *
9436 2003-02-21 Angus Leeming <leeming@lyx.org>
9438 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9439 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9440 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9441 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9442 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9443 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9445 * BufferView_pimpl.C (dispatch):
9446 * LyXAction.C (init):
9447 * factory.C (createInset):
9448 * lyxfunc.C (getStatus, dispatch):
9449 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9451 2003-02-21 Angus Leeming <leeming@lyx.org>
9453 * BufferView_pimpl.C (MenuInsertLyXFile):
9454 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9455 * lyxfunc.C (menuNew, open, doImport):
9456 no longer pass a LyXView & to fileDlg.
9458 2003-02-21 Angus Leeming <leeming@lyx.org>
9460 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9461 * LyXAction.C: change, BIBKEY to BIBITEM.
9462 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9463 Change InsetBibKey to InsetBibitem.
9464 Change BIBKEY_CODE to BIBITEM_CODE.
9465 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9466 * factory.C: replace insetbib.h with insetbibitem.h.
9467 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9468 * paragraph.C: replace insetbib.h with insetbibitem.h.
9469 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9470 Change bibkey() to bibitem().
9471 * text.C: remove insetbib.h.
9472 * text2.C: replace insetbib.h with insetbibitem.h.
9473 change bibkey() to bibitem().
9474 * text3.C: remove insetbib.h.
9475 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9477 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9479 * lyxrc.C (output): enclose user email in quotes (in case there are
9482 2003-02-18 John Levon <levon@movementarian.org>
9484 * buffer.h: add std::
9486 2003-02-17 John Levon <levon@movementarian.org>
9492 * pspell.C: reworking. Especially in ispell, a large
9493 number of clean ups and bug fixes.
9495 * lyxfunc.C: fix revert to behave sensibly
9497 2003-02-17 André Pönitz <poenitz@gmx.net>
9500 * commandtags.h: new LFUN_INSERT_BIBKEY
9510 * paragraph_func.C: remove special bibkey handling
9512 2003-02-17 John Levon <levon@movementarian.org>
9514 * text.C (Delete): fix case where delete at the end of
9515 the very first paragraph would not merge the pars
9517 2003-02-17 John Levon <levon@movementarian.org>
9519 * lyxrow.C: fix lastPrintablePos()
9521 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9523 * bufferparams.C (writeLaTeX): add a std:here
9525 * buffer.C: and remove a using directive there
9527 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9529 * buffer.C (makeLaTeXFile): move the code that generates the
9532 * bufferparams.C (writeLaTeX): ... in this new method
9534 * LaTeXFeatures.C (getEncodingSet): make const
9535 (getLanguages): make const
9537 * MenuBackend.C (binding): returns the binding associated to this
9539 (add): sets the status of each item by calling getStatus. Adds
9541 (read): add support for OptSubMenu
9542 (expand): remove extra separator at the end of expanded menu
9544 2003-02-15 John Levon <levon@movementarian.org>
9547 * BufferView_pimpl.C:
9549 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9550 inset code that had no actual effect. Remove unneeded status
9553 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9555 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9558 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9560 * text.C (drawLengthMarker): also draw an arrow marker for
9561 symbolic lengths (medskip...)
9563 2003-02-14 John Levon <levon@movementarian.org>
9566 * tabular.C: better method names
9568 2003-02-14 John Levon <levon@movementarian.org>
9570 * BufferView_pimpl.C:
9575 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9576 it's a more accurate name. Remove some pointless uses.
9578 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9580 * text2.C (LyXText): change order of initilizers to shut off
9583 2003-02-14 John Levon <levon@movementarian.org>
9585 * buffer.C: use ParIterator for getParFromID()
9589 * paragraph_pimpl.h:
9590 * paragraph_pimpl.C: remove unused getParFromID()
9592 2003-02-14 John Levon <levon@movementarian.org>
9594 * buffer.C: remove some very old #if 0'd parse code
9596 2003-02-13 John Levon <levon@movementarian.org>
9600 * text2.C: move hfillExpansion(), numberOfSeparators(),
9601 rowLast(), rowLastPrintable(), numberofHfills(),
9602 numberOfLabelHfills() ...
9605 * lyxrow.C: ... to member functions here.
9610 * text.C: remove LyXText::beginningOfMainBody(), and call
9611 p->beginningOfMainBody() directly. Move the check for
9612 LABEL_MANUAL into the latter.
9619 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9625 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9626 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9628 2003-02-13 John Levon <levon@movementarian.org>
9630 * CutAndPaste.C: remove debug
9632 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9634 * paragraph.C (asString): remove two unused variables
9636 * lyxtextclass.C (readTitleType):
9638 (LyXTextClass): handle new members titletype_ and titlename_
9640 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9642 2003-02-09 John Levon <levon@movementarian.org>
9645 * buffer.C: replace hand-coded list with a map for the dep clean
9647 2003-02-08 John Levon <levon@movementarian.org>
9649 * LaTeX.C: consolidate code into showRunMessage() helper
9651 2003-02-08 John Levon <levon@movementarian.org>
9656 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9657 and pass the size in explicitly
9659 * BufferView_pimpl.h:
9660 * BufferView_pimpl.C:
9662 * BufferView.C: add getCurrentChange()
9664 * BufferView_pimpl.h:
9665 * BufferView_pimpl.C: handle change lfuns
9667 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9668 for changes. Mark pasted paragraphs as new.
9670 * support/lyxtime.h:
9671 * support/lyxtime.C:
9672 * DepTable.C: abstract time_t as lyx::time_type
9675 * LColor.C: add colours for new text, deleted text, changebars
9677 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9678 package use "usenames" option.
9682 * LyXAction.C: add change lfuns
9686 * author.C: author handling
9689 * buffer.C: add a per-buffer author list, with first entry as
9690 current author. Handle new .lyx tokens for change tracking. Output
9691 author list to .lyx file. Output dvipost stuff to .tex preamble.
9692 Bump lyx format to 222.
9695 * bufferlist.C: add setCurrentAuthor() to reset current author details
9699 * bufferparams.C: add param for tracking
9701 * bufferview_funcs.C: output change info in minibuffer
9705 * changes.C: add change-tracking structure
9708 * debug.C: add CHANGES debug flag
9711 * lyxfind.C: add code for finding the next change piece
9714 * lyxrc.C: add user_name and user_email
9717 * lyxrow.C: add a metric for the top of the text line
9720 * text.C: implement accept/rejectChange()
9723 * text.C: paint changebars. Paint new/deleted text in the chosen
9724 colours. Strike through deleted text.
9728 * paragraph_pimpl.h:
9729 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9730 in the current change to the insert functions. Rework erase to
9731 mark text as deleted, adding an eraseIntern() and a range-based
9732 erase(). Implement per-paragraph change lookup and
9735 * paragraph_funcs.C: Fixup paste for change tracking.
9737 * tabular.C: mark added row/columns as new.
9739 * text.C: fix rowLast() to never return -1. Don't allow
9740 spellchecking of deleted text. Track transpose changes. Don't
9741 allow paragraph break or merge where appropriate.
9743 * text2.C: leave cursor at end of selection after a cut.
9745 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9747 * text.C (getLengthMarkerHeight):
9748 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9749 visible on screen too.
9751 2003-02-07 John Levon <levon@movementarian.org>
9753 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9755 2003-02-05 Angus Leeming <leeming@lyx.org>
9757 * lyxserver.C (read_ready): revert my patch of 11 September last year
9758 as it sends PC cpu through the roof. Presumably this means that
9759 the lyxserver will no longer run on an Alpha...
9761 2003-01-30 Angus Leeming <leeming@lyx.org>
9763 * factory.C (createInset): create an InsetCommandParam of type "index"
9764 and use it to 'do the right thing'.
9766 * text2.C (getStringToIndex): ensure that cursor position is always
9767 reset to the reset_cursor position.
9769 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9771 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9774 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9778 * lyxfunc.C: Output messages with identical spelling, punctuation,
9781 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9783 * MenuBackend.C (expandFormats): List only viewable export formats
9786 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9789 * lyxfunc.C (getStatus): Make sure that formats other than
9790 "fax" can also be disabled
9792 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9794 * text3.C (dispatch): put the lfuns that insert insets in 3
9795 groups, and call doInsertInset with appropriate arguments.
9796 (doInsertInset): new function, that creates an inset and inserts
9797 it according to some boolean parameters.
9799 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9801 * buffer.C (readFile): remember to pass on 'par' when calling
9802 readFile recursively.
9804 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9806 * MenuBackend.C (expandFormats): add "..." to import formats.
9808 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9810 * paragraph.C (asString): Remove XForms RTL hacks.
9812 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9813 * buffer.C: fix typo
9815 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9817 * Makefile.am (LIBS): delete var
9818 (lyx_LDADD): add @LIBS@ here instead.
9820 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9822 * Clarify the meaning of "wheel mouse jump"
9824 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9826 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9829 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9831 * importer.C (Loaders): do not preallocate 3 elements in the
9832 vector, since one ends up with 6 elements otherwise
9834 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9836 * DepTable.C (write): write the file name as last element of the
9837 .dep file (because it may contain spaces)
9838 (read): read info in the right order
9840 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9842 * paragraph_pimpl.C (simpleTeXBlanks):
9843 (simpleTeXSpecialChars):
9844 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9846 * tabular.C (latex): add some missing case statements. Reindent.
9848 * MenuBackend.C (expandToc): remove unused variable.
9850 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9859 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9862 2003-01-05 John Levon <levon@movementarian.org>
9865 * BufferView.C: add getEncoding()
9868 * kbsequence.C: do not store last keypress
9871 * lyxfunc.C: store last keypress here instead. Pass encoding
9874 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9876 * lyx_main.C (init): remove annoying error message when following
9877 symbolic links (bug #780)
9879 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9881 * text.C (insertChar):
9882 * lyxrc.C (getDescription): remove extra spaces
9884 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9886 * lyxrc.C (getDescription): remove extra spaces
9888 2002-12-20 John Levon <levon@movementarian.org>
9890 * text3.C: hack fix for page up/down across tall rows
9892 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9894 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9897 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9899 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9900 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9901 thesaurus is not compiled in
9903 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9905 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9907 2002-12-16 Angus Leeming <leeming@lyx.org>
9910 * lyx_main.C (init): remove override_x_deadkeys stuff.
9912 2002-12-12 John Levon <levon@movementarian.org>
9914 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9915 insert. Only remove shift modifier under strict
9918 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9920 * MenuBackend.C (expandToc): fix crash.
9922 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9924 * MenuBackend.C (expandToc): gettext on float names.
9926 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9928 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9929 implement bool empty() [bug 490]
9931 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9933 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9935 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9937 * several files: ws changes
9939 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9941 * text2.C (setCounter): clean up a bit, use boost.format.
9942 (updateCounters): initialize par upon declaration.
9944 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9945 if the layout exists. We do not just store the layout any more.
9946 (SwitchLayoutsBetweenClasses): use boost.format
9948 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9950 * converter.C (convert): if from and to files are the same, use a
9951 temporary files as intermediary
9953 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9956 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9958 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9960 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9962 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9964 * tabular.C (asciiPrintCell): use string(size, char) instead of
9967 * sgml.C (openTag): fix order of arguments to string constructor
9970 * lyxfunc.C (dispatch): use boost.format
9972 * lots of files: change "c" -> 'c'
9974 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9976 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9978 2002-11-25 Angus Leeming <leeming@lyx.org>
9980 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9982 * lyx_main.C (init): compile fix.
9984 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9986 * lyx_cb.C (start): boost.formatify
9987 do not include <iostream>
9989 * lengthcommon.C: ws only
9991 * boost-inst.C,BoostFormat.h: add more explict instantations
9993 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9995 * lots of files: handle USE_BOOST_FORMAT
9997 2002-11-21 John Levon <levon@movementarian.org>
9999 * pspell.C: fix compile
10001 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10003 * lyxfunc.C (dispatch): use boost::format
10007 * lyxfont.C (stateText): use boost::format
10009 * lyx_main.C (LyX): use boost::format
10011 (queryUserLyXDir): ditto
10012 (readRcFile): ditto
10014 (typedef boost::function): use the recommened syntax.
10016 * importer.C (Import): use boost::format
10018 * debug.C (showLevel): use boost::format
10020 * converter.C (view): use boost::format
10025 * bufferview_funcs.C (currentState): use boost::format
10027 * bufferlist.C (emergencyWrite): use boost::format
10029 * buffer.C (readLyXformat2): use boost::format
10030 (parseSingleLyXformat2Token): ditto
10032 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10034 * LaTeX.C (run): use boost::format
10036 * Chktex.C (scanLogFile): use boost::format
10038 * BufferView_pimpl.C (savePosition): use boost::format
10039 (restorePosition): ditto
10040 (MenuInsertLyXFile): ditto
10042 * BoostFormat.h: help file for explicit instation.
10044 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10046 * tabular.C (latex): Support for block alignment in fixed width
10049 2002-11-17 John Levon <levon@movementarian.org>
10051 * BufferView_pimpl.C:
10053 * lyxfunc.C: split filedialog into open/save
10055 2002-11-08 Juergen Vigna <jug@sad.it>
10057 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10058 by my last patch (hopefully).
10060 2002-11-08 John Levon <levon@movementarian.org>
10069 * toc.C: ParConstIterator, and use it (from Lars)
10071 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10073 * lyxtextclass.[Ch]: revise and add doxygen comments
10075 2002-11-07 John Levon <levon@movementarian.org>
10077 * text.C: fix progress value for spellchecker
10079 * toc.C: fix navigate menu for insetwrap inside minipage
10081 * paragraph_funcs.C: added FIXME for suspect code
10083 2002-11-07 John Levon <levon@movementarian.org>
10085 * BufferView_pimpl.C: fix redrawing of insets
10088 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10090 * text2.C (updateCounters): fix bug 668
10092 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10094 * text3.C (dispatch): Do not make the buffer dirty when moving the
10097 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10099 * vc-backend.C: STRCONV
10100 (scanMaster): ditto
10102 * text2.C (setCounter): STRCONV
10104 * paragraph.C (asString): STRCONV
10106 * lyxlength.C (asString): STRCONV
10107 (asLatexString): ditto
10109 * lyxgluelength.C (asString): STRCONV
10110 (asLatexString): ditto
10112 * lyxfunc.C (dispatch): STRCONV
10115 * lyxfont.C (stateText): STRCONV
10117 * importer.C (Import): STRCONV
10119 * counters.C (labelItem): STRCONV
10120 (numberLabel): ditto
10121 (numberLabel): remove unused ostringstream o
10126 * bufferview_funcs.C (currentState): STRCONV
10128 * buffer.C (readFile): STRCONV
10129 (asciiParagraph): ditto
10130 (makeLaTeXFile): ditto
10132 * Spacing.C (writeEnvirBegin): STRCONV
10134 * LaTeXFeatures.C (getLanguages): STRCONV
10135 (getPackages): ditto
10137 (getBabelOptions): ditto
10138 (getTClassPreamble): ditto
10139 (getLyXSGMLEntities): ditto
10140 (getIncludedFiles): ditto
10144 (scanAuxFile): ditto
10147 * LString.h: add the STRCONV macros
10149 * BufferView_pimpl.C (savePosition): STRCONV
10150 (restorePosition): ditto
10151 (MenuInsertLyXFile): ditto
10153 * vc-backend.C (scanMaster): change from submatch[...] to
10156 * funcrequest.C: include config.h
10158 * factory.C: include config.h
10160 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10162 * box.C: include config.h
10164 * LaTeX.C (scanAuxFile): change from submatch[...] to
10168 2002-10-25 Angus Leeming <leeming@lyx.org>
10170 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10172 * ispell.[Ch] (setError): new method.
10173 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10174 Use setError() insetead of goto END.
10176 * lyx_cb.C (AutoSave): move out child process into new class
10179 2002-10-30 John Levon <levon@movementarian.org>
10181 * text3.C: make start appendix undoable
10183 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10185 * lyxlength.C (inPixels): Fix returned value.
10187 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10190 2002-10-24 Angus Leeming <leeming@lyx.org>
10192 * lyxgluelength.h: no need to forward declare BufferParams
10193 or BufferView, so don't.
10195 2002-10-21 John Levon <levon@movementarian.org>
10197 * BufferView.C: menuUndo ->undo, redo
10199 * BufferView.h: document, remove dead, make some methods private
10201 * paragraph_funcs.h:
10202 * paragraph_funcs.C:
10203 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10208 * sgml.C: move sgml open/close tag into sgml.C
10210 * bufferview_funcs.h: unused prototype
10213 * lyxfunc.C: remove unused
10216 * text.C: remove unused
10218 2002-10-21 John Levon <levon@movementarian.org>
10222 * BufferView_pimpl.h:
10223 * BufferView_pimpl.C: fix mouse wheel handling based on
10224 patch from Darren Freeman
10226 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10228 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10230 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10232 * lyxlength.C (inPixels): Fix hanfling of negative length.
10233 Fix LyXLength::MU case.
10235 2002-10-16 John Levon <levon@movementarian.org>
10237 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10239 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10241 * converter.C (view): add support for $$i (file name) and $$p
10242 (file path) for the viewer command. If $$i is not specified, then
10243 it is appended to the command (for compatibility with old syntax)
10245 2002-10-14 Juergen Vigna <jug@sad.it>
10247 * undo_funcs.C (textHandleUndo): alter the order in which the
10248 new undopar is added to the LyXText, as we have to set first
10249 the right prev/next and then add it as otherwise the rebuild of
10250 LyXText is not correct. Also reset the cursor to the right paragraph,
10251 with this IMO we could remove the hack in "redoParagraphs()".
10253 2002-10-09 Angus Leeming <leeming@lyx.org>
10255 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10256 to turn off an optimisation if a new inset is to be inserted.
10258 2002-10-11 André Pönitz <poenitz@gmx.net>
10260 * lyxtext.h: make some functions public to allow access
10261 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10263 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10265 * text3.C (dispatch): when changing layout, avoid an infinite loop
10268 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10270 * lyxrc.C (read): treat a viewer or converter command of "none" as
10273 * MenuBackend.C (expandFormats): for an update, also allow the
10274 formats that are not viewable
10276 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10277 script if it is newer than the lyxrc.defaults in user directory
10279 2002-10-07 André Pönitz <poenitz@gmx.net>
10281 * text.C: Vitaly Lipatov's small i18n fix
10283 2002-09-25 Angus Leeming <leeming@lyx.org>
10285 * ispell.h: doxygen fix.
10287 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10289 * buffer.h (readFile): Add a new argument to the method, to allow
10290 reading of old-format templates.
10292 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10294 * toc.C (getTocList): Get TOC from InsetWrap.
10296 2002-09-16 John Levon <levon@movementarian.org>
10298 * lyxfunc.C: check tabular for cut/copy too
10300 2002-09-12 John Levon <levon@movementarian.org>
10302 * LyXAction.C: tidy
10305 * factory.C: add header
10307 * paragraph_funcs.h:
10308 * paragraph_funcs.C: cleanup
10310 2002-09-11 John Levon <levon@movementarian.org>
10312 * PrinterParams.h: odd/even default to true
10314 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10316 * PrinterParams.h: update printer parameters for new xforms dialog
10318 2002-09-11 Angus Leeming <leeming@lyx.org>
10320 * lyxserver.C (read_ready): re-write to make it more transparent
10321 and to make it work in coherent fashion under Tru64 Unix.
10323 2002-09-11 André Pönitz <poenitz@gmx.net>
10327 * text3.C: implement LFUN_WORDSEL
10329 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10331 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10332 make floatlist_ a boost::shared_ptr<FloatList>
10334 * lyxtextclass.C: include FloatList.h
10335 (LyXTextClass): initialize floatlist_
10336 (TextClassTags): add TC_NOFLOAT
10337 (Read): match "nofloat" to TC_NOFLOAT and use it.
10338 (readFloat): modify call to floatlist_
10342 * FloatList.[Ch] (FloatList): remove commented out float
10344 (erase): new function
10346 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10348 * MenuBackend.C (expandToc): fix crash when there is no document
10351 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10353 * many files: Add insetwrap.
10355 2002-09-09 John Levon <levon@movementarian.org>
10357 * text2.C: remove confusing and awkward depth wraparound
10359 2002-09-09 John Levon <levon@movementarian.org>
10361 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10364 * buffer.C: remove getIncludeonlyList()
10367 * lyxfunc.C: remove headers
10369 2002-09-09 Juergen Vigna <jug@sad.it>
10371 * text.C (getColumnNearX): fix form Michael this is most
10372 probably a cut&paste bug.
10374 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10376 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10378 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10379 references, ws changes.
10381 * text2.C (init): update counters after init
10382 (insertParagraph): no need to set counter on idividual paragraphs.
10383 (setCounter): access the counters object in the textclass object
10384 on in the buffer object.
10385 (updateCounters): ditto
10387 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10388 shared_ptr<Counters> to avoid loading counters.h in all
10390 (LyXTextClass): initialize ctrs_
10391 (TextClassTags): add TC_COUNTER, and ...
10392 (Read): use it here.
10393 (CounterTags): new tags
10394 (readCounter): new function
10395 (counters): new funtion
10396 (defaultLayoutName): return a const reference
10398 * counters.C (Counters): remove contructor
10399 (newCounter): remove a couple of unneeded statements.
10400 (newCounter): simplify a bit.
10401 (numberLabel): some small formatting changes.
10403 * buffer.[Ch]: remove all traces of counters, move the Counters
10404 object to the LyXTextClass.
10406 2002-09-06 Alain Castera <castera@in2p3.fr>
10408 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10409 package to set the horizontal alignment on fixed width columns.
10412 * lyx_sty.h: added tabularnewline macro def.
10414 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10416 2002-09-06 John Levon <levon@movementarian.org>
10418 * LyXAction.C: tooltips for sub/superscript
10420 * MenuBackend.C: a bit more verbose
10422 * lyxfunc.C: tiny clean
10424 * undo_funcs.C: document undo_frozen
10426 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10428 * counters.C (Counters): add missing algorithm counter.
10430 * text2.C (setCounter): lookup the counter with layouts latexname
10431 instead of by section number.
10432 (setCounter): use a hackish way to lookup the correct enum
10434 a float name->type change
10435 reset enum couners with counter name directly instead of depth value.
10437 * counters.C (Counters): remove the push_backs, change to use the
10438 float type not the float name.
10439 (labelItem): remove unused string, float name->type change
10441 * counters.h: don't include vector, loose the enums and sects vectors
10443 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10445 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10446 (Read): add float->TC_FLOAT to textclassTags
10447 (Read): and handle it in the switch
10448 (readFloat): new function
10450 * FloatList.C (FloatList): comment out the hardcoded float
10453 * lyxlayout.h: ws change.
10455 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10457 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10459 2002-09-03 Angus Leeming <leeming@lyx.org>
10461 * BufferView_pimpl.h: qualified name is not allowed in member
10462 declaration: WorkArea & Pimpl::workarea() const;
10464 * factory.C: added using std::endl directive.
10466 * text3.C: added using std::find and std::vector directives.
10468 2002-08-29 André Pönitz <poenitz@gmx.net>
10471 * text2.C: remove unused member number_of_rows
10474 * BufferView2.C: remove file, move contents to...
10475 * BufferView.C: ... here
10477 * BufferView_pimpl.C:
10478 * factory.C: move more inset creation to factory
10480 * vspace.C: avoid direct usage of LyXText, ws changes
10483 don't provide direct access to WorkArea, use two simple
10484 acessors haveSelction() and workHeight() instead
10487 2002-08-29 John Levon <levon@movementarian.org>
10489 * BufferView_pimpl.C (dispatch): do not continue when
10492 2002-08-28 André Pönitz <poenitz@gmx.net>
10494 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10497 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10499 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10501 * buffer.C: increment LYX_FORMAT to 221
10503 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10504 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10506 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10508 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10510 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10512 * factory.C (createInset): use LyXTextClass::floats
10514 * MenuBackend.C (expandFloatListInsert):
10515 (expandFloatInsert):
10518 * text2.C (setCounter):
10520 * LaTeXFeatures.C (useFloat):
10521 (getFloatDefinitions):
10523 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10525 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10526 floatlist_, with accessor floats().
10528 * FloatList.h: remove global FloatList
10530 2002-08-26 André Pönitz <poenitz@gmx.net>
10532 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10536 * BufferView_pimpl.C:
10537 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10539 2002-08-25 John Levon <levon@movementarian.org>
10541 * LyXAction.C: fix margin note description
10543 2002-08-24 John Levon <levon@movementarian.org>
10547 * bufferview_funcs.C:
10549 * undo_funcs.C: cleanups
10551 * lyxfunc.C: disable CUT/COPY when no selection
10553 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10555 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10556 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10558 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10559 Add backward compatibility to "mono", "gray" and "no".
10561 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10563 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10564 (and file_format >= 200).
10566 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10568 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10570 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10572 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10574 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10576 * BufferView_pimpl.C:
10583 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10584 inset and code to make it work with the paragraph code. The inset
10585 can be anywhere in the paragraph, but will only do the expected
10586 thing in LaTeX if the layout file contains the parameter line
10588 (or more generally, a nonzero value) for that layout.
10590 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10592 * paragraph.h: remove the declaration of undefined counters class
10595 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10597 * text2.C (setCounter): fixed enumeration mis-count as reported by
10598 Dr. Richard Hawkins.
10600 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10602 * paragraph_funcs.h: remove some unneeded includes
10604 * text.C (backspace): pasteParagraph now in global scipe
10606 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10607 (pasteSelection): ditto
10609 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10610 * paragraph_funcs.C (pasteParagraph): ... here
10612 2002-08-20 André Pönitz <poenitz@gmx.net>
10614 * commandtags.h: new LFUNs for swapping/copying table row/colums
10617 * lyxfunc.C: support for new lfuns
10619 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10622 * buffer.[Ch]: remove NO_COMPABILITY stuff
10624 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10626 * boost.C (throw_exception): new file, with helper function for
10627 boost compiled without exceptions.
10632 * ParameterStruct.h:
10633 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10635 * bufferlist.C (emergencyWriteAll): use boost bind
10637 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10639 * text.C: include paragraph_funcs.h
10640 (breakParagraph): breakParagraph is now in global scope
10642 * paragraph_funcs.[Ch]: new files
10644 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10647 * buffer.C: include paragraph_funcs.h
10648 (insertStringAsLines): breakParagraph is now in global scope
10650 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10653 * CutAndPaste.C: include paragraph_funcs.h
10654 (cutSelection): breakParagraphConservative is now in global scope
10655 (pasteSelection): ditto
10657 * buffer.h: declare oprator== and operator!= for
10658 Buffer::inset_iterator
10660 * bufferlist.C (emergencyWrite): don't use fmt(...)
10662 * text3.C: add using std::endl
10664 * BufferView.C (moveCursorUpdate): remove default arg
10666 2002-08-20 André Pönitz <poenitz@gmx.net>
10668 * buffer.[Ch]: move inline functions to .C
10671 * BufferView_pimpl.C:
10673 * buffer.[Ch]: use improved inset_iterator
10676 * paragraph.[Ch]: write one paragraph at a time
10678 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10680 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10681 style if style is not specified.
10683 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10685 * text2.C (setCounter): when searching for right label for a
10686 caption, make sure to recurse to parent insets (so that a caption
10687 in a minipage in a figure float works) (bug #568)
10689 2002-08-20 André Pönitz <poenitz@gmx.net>
10691 * text3.C: new file for LyXText::dispatch() and helpers
10693 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10695 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10697 2002-08-19 André Pönitz <poenitz@gmx.net>
10700 * text.C: new LyXText::dispatch()
10702 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10704 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10706 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10708 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10711 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10713 * Makefile.am: use $(variables) instead of @substitutions@
10715 2002-08-15 André Pönitz <poenitz@gmx.net>
10718 * BufferView_pimpl.C: streamlining mathed <-> outer world
10722 * LyXAction.C: remove unused LFUN_MATH
10724 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10726 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10728 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10730 * paragraph.C (Paragraph): reformat a bit
10731 (cutIntoMinibuffer): use builtin InsetList function instad of
10735 * buffer.C: include boost/bind.hpp, add using std::for_each
10736 (writeFileAscii): use ParagraphList iterators
10737 (validate): use for_each for validate traversal of paragraphs
10738 (getBibkeyList): use ParagraphList iterators
10739 (resizeInsets): use for_each to resizeInsetsLyXText for all
10741 (getParFromID): use ParagraphList iterators
10743 * BufferView2.C (lockInset): use paragraph list and iterators
10745 2002-08-14 John Levon <levon@movementarian.org>
10747 * lyxserver.C: remove spurious xforms include
10749 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10751 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10753 2002-08-13 André Pönitz <poenitz@gmx.net>
10756 * lyxfunc.C: further cleaning
10758 2002-08-13 André Pönitz <poenitz@gmx.net>
10760 * funcrequest.h: new constructor
10762 * funcrequest.C: move stuff here from .h
10765 * BufferView_pimpl.C:
10768 * lyxfunc.C: subsequent changes
10770 * lyxfunc.h: new view() member function
10772 * lyxfunc.C: subsequent changes
10774 2002-08-13 Angus Leeming <leeming@lyx.org>
10777 * BufferView_pimpl.C:
10785 changes due to the changed LyXView interface that now returns references
10786 to member variables not pointers.
10788 2002-08-13 Angus Leeming <leeming@lyx.org>
10790 * WordLangTuple (word, lang_code): return references to strings,
10795 * lyxtext.h: forward-declare WordLangTuple.
10800 * text.C: #include "WordLangTuple.h".
10803 * text.C: (selectNextWordToSpellcheck): constify return type.
10805 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10811 * paragraph_pimpl.h:
10814 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10815 suggested by Angus.
10816 Made updateCounter always count from start of buffer, and removed
10817 second argument (par).
10818 Reverted floats number display to '#'. Perhaps I'll try again when the
10819 code base is sanitized a bit.
10821 2002-08-12 Angus Leeming <leeming@lyx.org>
10823 * buffer.[Ch] (getLabelList): constify.
10825 2002-08-07 André Pönitz <poenitz@gmx.net>
10827 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10829 * funcrequest.h: extension to keep mouse (x,y) position
10831 2002-08-12 Juergen Vigna <jug@sad.it>
10833 * BufferView2.C (insertErrors): forbid undo when inserting error
10836 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10838 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10840 * ParagraphList.[Ch]: new files
10842 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10844 * BufferView2.C (lockInset): ParagraphList changes
10847 * bufferlist.C: ditto
10851 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10853 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10854 unused class variable counter_,
10856 * paragraph.[Ch] (getFirstCounter): delete unused function
10858 * counters.C: include LAssert.h
10859 (reset): add a new function with no arg, change other version to
10860 not have def. arg and to not allow empty arg.
10862 * text2.C (setCounter): remove empty arg from call to Counters::reset
10864 2002-08-11 John Levon <levon@movementarian.org>
10866 * Makefile.am: add WordLangTuple.h
10868 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10870 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10871 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10873 * insets/insettext.C: InsetList changes
10875 * graphics/GraphicsSupport.C (operator()): InsetList changes
10877 * toc.C (getTocList): InsetList changes
10879 * paragraph_pimpl.[Ch]: InsetList changes
10881 * paragraph.[Ch]: InsetList changes
10883 * buffer.C (inset_iterator): InsetList changes
10884 (setParagraph): ditto
10885 * buffer.h (inset_iterator): ditto
10886 * iterators.C (operator++): ditto
10887 * iterators.h: ditto
10889 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10891 * InsetList.[Ch]: new files, most InsetList handling moved out of
10894 * BufferView2.C (removeAutoInsets): InsetList changes
10896 (ChangeInsets): ditto
10898 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10900 * paragraph_pimpl.h (empty): new function
10902 * paragraph.[Ch] (empty): new function
10904 * other files: use the new Paragraph::empty function
10906 2002-08-09 John Levon <levon@movementarian.org>
10908 * lyxtext.h: remove unused refresh_height
10910 2002-08-09 John Levon <levon@movementarian.org>
10917 * paragraph.C: move sgml char escaping out of paragraph
10920 * paragraph.C: remove id setter
10924 * paragraph_pimpl.C: remove dead tex_code_break_column
10926 * bufferview_funcs.C: small cleanup
10928 * lyxfunc.C: remove dead proto
10930 * lyxtext.h: make some stuff private. Remove some dead stuff.
10932 * lyxgluelength.C: make as[LyX]String() readable
10934 2002-08-08 John Levon <levon@movementarian.org>
10939 * ToolbarDefaults.C:
10942 * toc.C: lyxaction cleanup
10944 2002-08-08 John Levon <levon@movementarian.org>
10946 * BufferView2.C: small cleanup
10949 * lyxfind.C: move unnecessary header into the .C
10951 2002-08-08 John Levon <levon@movementarian.org>
10953 * funcrequest.h: just tedious nonsense
10956 * lyx_main.C: cleanups
10959 * vspace.C: remove dead header lyx_main.h
10961 2002-08-07 Angus Leeming <leeming@lyx.org>
10964 * paragraph_pimpl.h:
10965 Forward declare class Counters in paragraph.h by moving the ctrs member
10966 variable into Paragraph::Pimpl.
10967 (counters): new method, returning a reference to pimpl_->ctrs.
10969 * text2.C: ensuing changes.
10971 2002-08-07 John Levon <levon@movementarian.org>
10973 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10975 * BufferView_pimpl.C: announce X selection on double/triple
10978 * lyx_main.C: use correct bool in batch dispatch
10980 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10982 2002-08-07 André Pönitz <poenitz@gmx.net>
10984 * funcrequest.h: new class to wrap a kb_action and its argument
10987 * BufferView_pimpl[Ch]:
10991 * lyxrc.C: subsequent changes
10994 2002-08-07 John Levon <levon@movementarian.org>
10996 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10997 document options change.
10999 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11004 * makefile.am: move counters functionality over from
11005 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11007 2002-08-06 John Levon <levon@movementarian.org>
11009 * WordLangTuple.h: new file for word + language code tuple
11020 * BufferView2.C: use WordLangTuple
11023 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11025 2002-08-06 John Levon <levon@movementarian.org>
11027 * lyx_main.C: fix cmdline batch handling
11029 2002-08-06 André Pönitz <poenitz@gmx.net>
11031 * lyxrc.C: set default for show_banner to true
11033 2002-08-06 John Levon <levon@movementarian.org>
11035 * pspell.C: fix a crash, and allow new aspell to work
11037 2002-08-06 John Levon <levon@movementarian.org>
11040 * kbmap.C: small cleanup
11043 * vspace.C: add const
11045 2002-08-05 John Levon <levon@movementarian.org>
11047 * LyXAction.C: back to tabular-insert
11049 2002-08-04 John Levon <levon@movementarian.org>
11052 * BufferView.C: cosmetic change
11054 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11064 * BufferView2.C: purge all "Lyx" not "LyX" strings
11067 * lyxcursor.C: attempt to add some documentation
11072 * ToolbarDefaults.C:
11073 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11074 merge with LFUN_TABULAR_INSERT
11081 * pspell.C: split up i/pspell implementations into separate
11082 files, many cleanups
11084 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11086 * text2.C: some cleanup
11088 * lyxfunc.C: don't check for isp_command == "none" any more, it
11089 didn't make any sense
11091 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11096 * makefile.am: move counters functionality over
11097 from text2.C/paragraph.[Ch] to counters.[Ch], and
11099 2002-08-02 John Levon <levon@movementarian.org>
11101 * buffer.C: s/lyxconvert/lyx2lyx/
11103 2002-08-02 Angus Leeming <leeming@lyx.org>
11105 * lyxlex.C: revert John's change as it breaks reading of the user
11108 2002-08-02 Angus Leeming <leeming@lyx.org>
11110 * importer.C (Import):
11111 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11112 changes due to LyXView::view() now returning a boost::shared_ptr.
11114 2002-08-02 John Levon <levon@movementarian.org>
11116 * lyxlex.C: small cleanup
11118 2002-08-02 John Levon <levon@movementarian.org>
11120 * text2.C (status): small cleanup, no logic change
11122 2002-08-01 John Levon <levon@movementarian.org>
11125 * buffer.C (writeFile): don't output alerts, caller
11129 * lyx_cb.C: from above
11131 * lyxfunc.C: allow to open non-existent files
11133 2002-07-31 John Levon <levon@movementarian.org>
11135 * lyxserver.C: don't let incidental errors get
11138 2002-07-30 John Levon <levon@movementarian.org>
11140 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11142 2002-07-30 John Levon <levon@movementarian.org>
11145 * lyxserver.C: remove I/O callback too
11147 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11149 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11152 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11154 * many files: strip,frontStrip -> trim,ltrim,rtrim
11156 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11158 * PrinterParams.h: remove extern containsOnly, and include
11159 support/lstrings.h instead.
11161 * LaTeX.C (scanAuxFile): modify because of strip changes
11163 * buffer.C (makeLaTeXFile): ditto
11164 * bufferparams.C (writeFile): ditt
11165 * lyxfont.C (stateText): ditto
11166 * lyxserver.C (read_ready): ditto
11167 * vc-backend.C (scanMaster): ditto
11169 * BufferView_pimpl.h: ws changes
11171 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11173 2002-07-26 André Pönitz <poenitz@gmx.net>
11175 * kb_sequence.C: remove unnedred usings
11177 2002-07-26 Juergen Vigna <jug@sad.it>
11179 * lyxfind.C (LyXReplace): we have to check better if the returned
11180 text is not of theLockingInset()->getLockingInset().
11182 2002-07-25 Juergen Vigna <jug@sad.it>
11184 * lyxfind.C (LyXReplace): don't replace if we don't get the
11187 * undo_funcs.C (createUndo): remove debugging code.
11189 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11191 * buffer.C (parseSingleLyXformat2Token): Use default placement
11192 when reading old floats.
11194 * FloatList.C (FloatList): Change the default placement of figure
11195 and tables to "tbp".
11197 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11199 * MenuBackend.C: using std::max
11201 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11203 * MenuBackend.C (expandToc):
11204 (expandToc2): code moved from xforms menu frontend. It is now
11205 generic and TOCs are transparent to menu frontends.
11207 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11209 * toc.C (getTocList): protect against buf=0
11211 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11212 Menu as first parameter. Now, this calls itself recursively to
11213 expand a whole tree (this will be useful for TOC handling)
11214 (expandFloatInsert): remove 'wide' version of floats
11216 * MenuBackend.h (submenuname): returns the name of the submenu.
11217 (submenu): returns the submenu itself, provided it has been
11218 created by MenuBackend::expand
11220 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11222 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11223 insets which have noFontChange == true. (bug #172)
11225 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11227 * BufferView_pimpl.C: add connection objects and use them...
11230 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11232 * MenuBackend.C (expandLastfiles):
11235 (expandFloatListInsert):
11236 (expandFloatInsert):
11237 (expand): split expand in parts
11239 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11241 * lyx_gui.C: use lyx_gui::exit()
11243 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11245 * LyXAction.C: show the failing pseudo action
11247 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11249 * buffer.C (readFile): Run the lyxconvert script in order to read
11252 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11256 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11258 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11262 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11264 2002-07-22 Herbert Voss <voss@lyx.org>
11267 * lyxlength.[Ch]: add support for the vertical lengths
11269 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11271 * toc.[Ch]: std:: fixes
11273 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11275 * lyxrc.C: do not include lyx_main.h
11277 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11283 * BufferView2.C: include "lyxlex.h"
11286 * bufferparams.h: do not #include "lyxlex.h"
11288 * lyxtextclasslist.C (Add): remove method
11289 (classlist): renamed to classlist_
11291 * paragraph_pimpl.C:
11295 * bufferview_funcs.C:
11300 * toc.C (getTocList): use BufferParams::getLyXTextClass
11302 * toc.C (getTocList): use InsetFloat::addToToc
11304 * toc.[Ch]: new files, containing helper functions to handle table
11307 * lyxfunc.C (dispatch): no need to remove spaces around command
11309 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11310 first command of the sequence; it is not very clever, but I do not
11311 have a better idea, actually
11313 * LyXAction.C (LookupFunc): make sure to remove space at the
11314 beginning and end of the command
11316 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11318 * MenuBackend.C (getMenubar): new method: return the menubar of
11320 (read): treat differently reading of menu and menubar (in
11321 particular, the menubar has no name now)
11322 (Menu::menubar): remove
11324 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11327 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11329 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11330 a bibitem inset in a RTL paragraph.
11332 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11334 * paragraph_pimpl.C: constify
11336 * BufferView_pimpl.C:
11338 * lyxfunc.C: fix dispatch in a nicer way
11340 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * lyxfunc.C (dispatch):
11343 * BufferView_pimpl.C:
11344 * BufferView_pimpl.h:
11346 * BufferView.h: rename Dispatch() to dispatch()
11348 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11350 * lyxlayout.C (Read): honor DependsOn tag
11352 * lyxlayout.[Ch] (depends_on): new method
11354 * version.C.in: update lyx_docversion
11356 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11358 * paragraph.C (validate): remove from here...
11359 * paragraph_pimpl.C (validate): ... and move here
11360 (isTextAt): make it const
11362 * buffer.C (getLists): ws cleanup
11364 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11366 * language.C (read): Use iso8859-1 encoding in latex_lang
11367 (this prevents LyX from crashing when using iso10646-1 encoding).
11369 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11371 * text2.C (toggleInset): if cursor is inside an inset, close the
11372 inset and leave cursor _after_ it
11374 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11376 * lyxfunc.C: move minibuffer completion handling out of here
11378 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11380 * BufferView_pimpl.C:
11381 * LaTeX.C: fix dispatch calls
11383 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11385 * text.C (drawChars): Fix Arabic text rendering.
11387 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11391 * lyxfunc.C: remove message-push/pop
11395 * lyxfunc.C: rationalise some code by removing verboseDispatch
11396 in favour of a bool argument to dispatch()
11398 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11400 * lyx_main.C (init): make sure to read symlinks as absolute paths
11402 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11405 * lyxfunc.C: no need for commandshortcut to be a member
11407 2002-07-15 André Pönitz <poenitz@gmx.net>
11409 * converter.C: add support for $$s (scripts from lib/scripts dir)
11410 * lyx_main.C: white space
11412 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11416 * lyxrc.C: remove second exit confirmation
11418 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11423 * BufferView_pimpl.h:
11424 * BufferView_pimpl.C:
11425 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11427 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11429 * MenuBackend.C (expand): add numeric shortcuts to document menu
11431 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11433 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11435 * lyxfont.C (setLyXFamily):
11442 * buffer.C (asciiParagraph): use ascii_lowercase
11444 2002-07-15 Mike Fabian <mfabian@suse.de>
11446 * lyxlex_pimpl.C (search_kw):
11447 * lyxlex.C (getLongString):
11448 * converter.h (operator<):
11449 * converter.C (operator<):
11450 * buffer.C (parseSingleLyXformat2Token):
11452 * ToolbarDefaults.C (read):
11453 * MenuBackend.C (checkShortcuts):
11455 * LColor.C (getFromGUIName):
11456 (getFromLyXName): use the compare_ascii_no_case instead of
11457 compare_no_case, because in turkish, 'i' is not the lowercase
11458 version of 'I', and thus turkish locale breaks parsing of tags.
11460 2002-07-16 Angus Leeming <leeming@lyx.org>
11462 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11463 now takes a Buffer const & argument.
11465 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11467 * BufferView.C (resize): check there's a buffer to resize
11469 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11471 * lyxfunc.C: remove dead code
11474 * lyxserver.C: use lyx_guii::set_read_callback
11476 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11478 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11479 an inset in a RTL paragraph.
11481 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11483 * lyxfunc.C: repaint after a font size update
11485 2002-07-15 André Pönitz <poenitz@gmx.net>
11487 * lyxlength.C: inBP should be able to return negative values
11489 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11491 * lyxfunc.C: use lyx_gui::update_fonts()
11493 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11495 * lyxfunc.C: use lyx_gui::update_color()
11497 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11503 * lyxrc.C: remove file->new asks for name option, and let
11504 buffer-new take an argument
11506 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11508 * BufferView_pimpl.C: remove unneeded extra repaint()
11510 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11512 * LyXAction.C: allow command-sequence with NoBuffer
11514 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11516 2002-07-10 Angus Leeming <leeming@lyx.org>
11518 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11520 2002-07-09 Angus Leeming <leeming@lyx.org>
11522 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11524 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11526 * lengthcommon.h: whitespace
11528 * lyxfunc.C: update scrollbar after goto paragraph
11530 * lyxtext.h: factor out page break drawing, and fix it so
11531 page break/added space paints as selected nicely
11533 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11535 * BufferView_pimpl.C: add FIXMEs, clean up a little
11537 2002-07-09 André Pönitz <poenitz@gmx.net>
11539 * lyxfont.[Ch]: support for wasy symbols
11541 2002-07-08 André Pönitz <poenitz@gmx.net>
11543 * BufferView_pimpl.C: apply John's patch for #93.
11545 2002-07-05 Angus Leeming <leeming@lyx.org>
11547 * BufferView_pimpl.C (buffer): generate previews if desired.
11549 * LColor.h: add "preview" to the color enum.
11551 * LColor.C (LColor): add a corresponding entry to the items array.
11553 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11556 2002-07-05 Angus Leeming <leeming@lyx.org>
11558 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11559 The body of the code is now in the method that is passed an ostream &
11560 rather than a file name.
11561 Pass an additional only_preamble parameter, useful for the forthcoming
11564 2002-07-03 André Pönitz <poenitz@gmx.net>
11566 * lyxfunc.C: simplify getStatus() a bit for math stuff
11568 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11570 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11572 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11574 * text.C (changeRegionCase): do not change case of all the
11575 document when region ends at paragraph end (bug #461)
11577 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11579 * paragraph.C (startTeXParParams):
11580 (endTeXParParams): add \protect when necessary
11582 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11584 * BufferView_pimpl.C (workAreaExpose): remove warning
11586 2002-06-27 Angus Leeming <leeming@lyx.org>
11588 * Makefile.am: add lyxlayout_ptr_fwd.h.
11590 2002-06-26 André Pönitz <poenitz@gmx.net>
11592 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11594 2002-06-25 Angus Leeming <leeming@lyx.org>
11596 * lyxfunc.C (dispatch): Comment out the call to
11597 grfx::GCache::changeDisplay. The method no longer exists now that the
11598 pixmap generation part of the graphics loader has been moved into
11601 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11603 * text2.C: layout as layout
11605 * text.C: layout as layout
11607 * tabular.C (OldFormatRead): layout as layout
11609 * paragraph_pimpl.C (TeXDeeper): layout as layout
11610 (realizeFont): layout as layout
11612 * paragraph.C (writeFile): layout as layout
11613 (validate): layout as layout
11614 (getFont): layout as layout
11615 (getLabelFont): layout as layout
11616 (getLayoutFont): layout as layout
11617 (breakParagraph): layout as layout
11618 (stripLeadingSpaces): layout as layout
11619 (getEndLabel): layout as layout
11620 (getMaxDepthAfter): layout as layout
11621 (applyLayout): layout as layout
11622 (TeXOnePar): layout as layout
11623 (simpleTeXOnePar): layout as layout
11624 (TeXEnvironment): layout as layout
11625 (layout): layout as layout
11626 (layout): layout as layout
11628 * lyxtextclass.C (compare_name): new functor to work with
11629 shared_ptr, layout as layout
11630 (Read): layout as layout
11631 (hasLayout): layout as layout
11632 (operator): layout as layout
11633 (delete_layout): layout as layout
11634 (defaultLayout): layout as layout
11636 * lyxlayout_ptr_fwd.h: new file
11638 * lyxlayout.C (Read): layout as layout
11640 * lyx_cb.C (MenuInsertLabel): layout as layout
11642 * bufferlist.C (newFile): layout as layout
11644 * buffer.C (readLyXformat2): layout as layout
11645 (parseSingleLyXformat2Token): layout as layout
11646 (insertStringAsLines): layout as layout
11647 (asciiParagraph): layout as layout
11648 (latexParagraphs): layout as layout
11649 (makeLinuxDocFile): layout as layout
11650 (simpleLinuxDocOnePar): layout as layout
11651 (makeDocBookFile): layout as layout
11652 (simpleDocBookOnePar): layout as layout
11653 (getLists): layout as layout
11655 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11657 * CutAndPaste.C (cutSelection): layout as layout
11658 (pasteSelection): layout as layout
11659 (SwitchLayoutsBetweenClasses): layout as layout
11661 * BufferView_pimpl.C (Dispatch): layout as layout
11662 (smartQuote): layout as layout
11664 * BufferView2.C (unlockInset): layout as layout
11666 2002-06-24 André Pönitz <poenitz@gmx.net>
11668 * lyxfunc.C: fix #487
11670 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11674 * lyxfunc.C: remove display_shortcuts, show_banner
11676 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11678 * Buffer_pimpl.C: oops, update on resize
11680 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11687 * BufferView.C: use repaint()
11689 * BufferView_pimpl.h:
11690 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11691 as it's a clearer description. Remove superfluous
11694 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11696 * text.C: fix bug 488. Not ideal, but getting
11697 getWord() to work properly for the insets that
11698 matter is more difficult ...
11700 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11702 * BufferView_pimpl.C:
11705 * lyxfunc.C: remove the six million index lyxfuncs to just
11706 one, and DTRT (bug 458)
11708 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11712 * BufferView_pimpl.h:
11713 * BufferView_pimpl.C: clean up resize() stuff,
11714 and unnecessary updateScreen()s
11716 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11720 * BufferView_pimpl.h:
11721 * BufferView_pimpl.C:
11724 * minibuffer.C: remove focus management of workarea,
11725 not needed. Use screen's greyOut()
11727 2002-06-17 Herbert Voss <voss@lyx.org>
11729 * converter.C: (convert) do not post a message, when converting
11730 fails, let the calling function decide what to do in this case
11732 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11734 * lyxfunc.C: tidy up a little
11736 2002-06-16 <alstrup@diku.dk>
11738 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11739 Got rid of FORMS_H_LOCATION include. Now we are
11742 2002-06-15 LyX Development team <lyx@rilke>
11744 * buffer.[Ch] (sgmlOpenTag):
11745 (sgmlCloseTag): Added support for avoiding pernicious mixed
11746 content. Return number of lines written.
11748 (makeLinuxDocFile):
11749 (makeDocBookFile): Fixed calls to sgml*Tag.
11750 Simple white space clean.
11752 (simpleDocBookOnePar): Simple white space clean.
11754 * tabular.[Ch] (docBook): Renamed to docbook and got another
11755 argument to related with the pernicious mixed content.
11757 (docbookRow): Fixed calls for docbook inset method.
11759 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11761 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11762 so it's X11 independent.
11766 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11768 2002-06-15 Lyx Development team <lyx@electronia>
11770 * intl.h: Renamed getTrans to getTransManager.
11772 2002-06-14 Angus Leeming <leeming@lyx.org>
11774 * Makefile.am: nuke forgotten stl_string_fwd.h.
11776 2002-06-12 Angus Leeming <leeming@lyx.org>
11778 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11780 2002-06-13 Angus Leeming <leeming@lyx.org>
11783 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11785 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11787 * kbmap.C (getiso): add support for cyrillic and greek
11789 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11793 * BufferView_pimpl.h:
11794 * BufferView_pimpl.C: move bogus scrolling logic
11797 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11800 * BufferView_pimpl.C: view->resize() change
11802 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11804 * BufferView_pimpl.C: topCursorVisible
11807 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11811 * lyx_gui.C: move to frontends/
11815 * lyx_main.C: changes from above
11817 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11824 * lyx_main.C: minor tidy
11826 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11828 * BufferView_pimpl.h:
11829 * BufferView_pimpl.C:
11831 * BufferView.C: make painter() const,
11834 * BufferView2.C: use screen() accessor
11837 * lyx_main.C: some minor cleanup
11839 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11841 * BufferView_pimpl.h:
11842 * BufferView_pimpl.C: remove enter/leaveView,
11845 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11850 * BufferView_pimpl.h:
11851 * BufferView_pimpl.C: only construct screen once,
11854 * lyxrc.C: remove pointless comment
11856 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11859 * BufferView.C: remove active() and belowMouse()
11861 * BufferView_pimpl.h:
11862 * BufferView_pimpl.C: use workarea() not workarea_,
11863 and make it use a scoped_ptr instead
11865 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11867 * lyx_gui.C: add debug message on BadWindow
11869 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11871 * sp_spell.C: fdopen is not part of the C++ standard.
11873 * paragraph.C (InsetIterator): use >= instead of ==
11875 2002-06-07 Angus Leeming <leeming@lyx.org>
11877 Fixes needed to compile with Compaq cxx 6.5.
11878 * BufferView_pimpl.C:
11885 * lyxtextclasslist.C:
11890 all c-library variables have been moved into namespace std. Wrap
11891 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11896 Add a using std::abs declaration.
11898 * kbmap.h (modifier_pair):
11899 * paragraph.h (InsetTable, InsetList):
11900 * lyxfont.h (FontBits):
11901 type definition made public.
11903 * bufferlist.C (emergencyWriteAll): the compiler complains that
11904 there is more than one possible lyx::class_fun template to choose from.
11905 I re-named the void specialisation as lyx::void_class_fun.
11907 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11909 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11910 the compiler is is unable to find tostr in write_attribute.
11912 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11914 * buffer.C (sgmlError): hide #warning
11916 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11918 * xtl/*: get rid of xtl, which is not in use anyway
11920 * LyXAction.C (init):
11921 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11922 were unimplemented xtl experimentation
11924 2002-06-04 André Pönitz <poenitz@gmx.net>
11926 * lyxfunc.C: disable array operation on simple formulae
11928 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11930 * converter.C: constify a bit
11932 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11934 * lyx_gui.C: check xforms version correctly
11936 2002-04-30 Herbert Voss <voss@lyx.org>
11938 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11941 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11943 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11944 attempt to register it with a VCS)
11946 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11948 * lyx_main.C (init): honor variables LYX_DIR_13x and
11951 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11955 * lyx_main.C: fix a crash on bad command line,
11956 and give a useful exit status on error
11958 * lyxfunc.C (doImport): allow -i lyx to work
11960 2002-03-30 André Pönitz <poenitz@gmx.net>
11962 * lyxfunc.C: mathed font changes
11964 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11979 * trans_mgr.h: srcdocs, and some minor cleanups
11981 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11983 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11984 call getFont all the time)
11986 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11988 * switch from SigC signals to boost::signals
11990 2002-05-29 André Pönitz <poenitz@gmx.net>
11992 * paragraph_pimpl.C (getChar): don't call size() too often...
11994 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11996 * paragraph_pimpl.C (insertChar): do not try to update tables when
11997 appending (pos == size())
11999 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12000 in order to reduce drastically the number of comparisons needed to
12001 parse a large document
12003 2002-05-29 André Pönitz <poenitz@gmx.net>
12009 * textclasslist.[Ch]:
12010 * sp_ispell.h: whitespace change
12012 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12014 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12015 lyxaction directly now.
12017 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12021 * lyxvc.C: remove unused headers
12023 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12030 * undo_funcs.C: some cleanups. Use shared_ptr
12031 and a template for the undo stacks.
12033 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12035 * BufferView_pimpl.h:
12036 * BufferView_pimpl.C:
12043 * text2.C: use key_state/mouse_state
12045 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12047 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12050 * chset.C: change include order
12051 (loadFile): use boost regex and get rid of LRegex and LSubstring
12053 * Makefile.am (BOOST_LIBS): new variable
12054 (lyx_LDADD): use it
12056 * LaTeX.C: change include order.
12057 (scanAuxFile): use boost regex and get rid of LRegex and
12061 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12066 * FontInfo.C: moved to frontends/xforms/
12069 * FontLoader.C: moved into frontends for GUIIzation
12074 * lyxfunc.C: changes from above
12076 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12078 * LColor.C: remove spurious X include
12080 * BufferView_pimpl.C:
12085 * text2.C: move font metrics to frontends/
12087 2002-05-24 Juergen Vigna <jug@sad.it>
12089 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12090 setting the undo_cursor.
12092 * ParagraphParameters.h: include local includes first.
12094 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12096 * BufferView_pimpl.C:
12097 * BufferView_pimpl.h:
12101 * screen.C: move WorkArea into frontends/
12107 * BufferView2.C: move LyXScreen into frontends/
12111 * lyx_gui.C: move lyxlookup into frontends/xforms/
12113 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12116 * BufferView_pimpl.C:
12126 * bufferview_funcs.C:
12139 * vc-backend.C: move LyX/XFormsView into frontends/
12141 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12153 * text2.C: move Painter to frontends/
12155 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12157 * buffer.C: comment out some some code that depend upon lyx_format
12160 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12161 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12163 * buffer.h (NO_COMPABILITY): turn off compability
12165 * ColorHandler.C: include scoped_array.hpp
12167 * font.C: Use more specific smart_ptr header.
12170 * ShareContainer.h: ditto
12171 * lyx_main.h: ditto
12173 * FontInfo.h: ditto
12174 * BufferView_pimpl.h: ditto
12175 * ColorHandler.h: ditto
12177 * kbmap.C (defkey): change call to shared_ptr::reset
12179 2002-05-21 Juergen Vigna <jug@sad.it>
12181 * buffer.C (insertErtContents): fix to insert ert asis if it is
12182 non empty. Skip it completely if it contains only whitespaces.
12184 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12186 * BufferView_pimpl.C:
12187 * BufferView2.C: clear selection on paste (bug 393)
12189 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12191 * DepTable.C: include ctime
12193 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12195 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12197 2002-05-14 Juergen Vigna <jug@sad.it>
12199 * text.C (breakParagraph): fixed function to honor the keepempty
12200 layout in the right maner and also to permit the right breaking
12201 algorithm on empty or non empyt keepempty paragraphs.
12203 * paragraph.C (breakParagraph): we have to check also if the par
12204 is really empty (!size()) for isempty otherwise we do the wrong
12207 2002-05-10 Juergen Vigna <jug@sad.it>
12209 * buffer.[Ch] : The following are only changes to the ert
12210 compatibility read reading old LaTeX layout and font stuff and
12211 convert it to ERTInsets.
12213 * buffer.h: added isErtInset().
12215 * buffer.C (struct ErtComp): add a fromlayout bool to check
12216 if we're inside a LaTeX layout.
12217 (isErtInset): new helper function.
12218 (insertErtContents): look for other ert insets before this one
12219 and insert the contents there, so that we don't have subsequent
12220 ERT insets with nothing between them. This way we create only one
12221 inset with multiple paragraphs. Also check if we don't insert only
12222 spaces ' ' as they are ignored anyway afterwards in the .tex file
12223 so if we have only spaces we will ignore this latex part in the
12225 (parseSingleLyXformat2Token \\layout): better compatibility when
12226 reading layout-latex stuff.
12227 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12229 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12230 stuff after reading the inset only get the information back from
12233 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12235 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12237 * LaTeXFeatures.C (getBabelOptions): New method.
12239 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12241 * BufferView_pimpl.C (Dispatch): work around missing argument for
12244 2002-05-08 Juergen Vigna <jug@sad.it>
12246 * text.C (leftMargin): handle paragraph leftindent.
12248 * paragraph.C (writeFile): write the new \\leftindent tag.
12249 (validate): handle leftindent code.
12250 (TeXEnvironment): handle paragraphleftindent code again.
12252 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12254 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12255 for paragrap_extra indent code and new token \\leftindent.
12256 (latexParagraphs): handle the leftindent as environment.
12258 * ParameterStruct.h: added leftindent support.
12260 * ParagraphParameters.C (leftIndent): added support functions for
12261 the paragraph left indent.
12263 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12266 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12268 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12271 * text.C (computeBidiTables): No bidi in insetERT.
12273 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12276 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12278 * version.C.in: pre 5
12280 2002-05-02 José Matos <jamatos@fep.up.pt>
12281 * buffer.C (makeDocBookFile): white space changes, add newline to
12283 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12285 * tabular.C (docBook): fix typo.
12287 2002-05-03 Juergen Vigna <jug@sad.it>
12289 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12290 change in LyXText as we can not be sure it was not freed.
12291 (drawOneRow): remove unused code.
12293 * text.C (drawInset): redo the calculation of the need_break_row as
12294 it could have a row which was already freed.
12295 (draw): look at the return value of drawInset and return false if
12296 it also returned false.
12297 (paintRowText): look at the return value of draw and return false if
12298 it also returned false.
12300 * lyxtext.h: added bool return type to drawInset() and draw() so that
12301 if we have a change in the row so that the rowbreak has to be redone
12302 we abort drawing as it will be called again.
12304 2002-05-02 Juergen Vigna <jug@sad.it>
12306 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12307 a change in the maintext also if we're inside an inset.
12308 (Dispatch): set the cursor again after a break line and after the
12309 screen has been updated as it could be we're in a different row.
12311 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12312 to set the cursor behind the pargraph with > size().
12313 (setCursor): check also for the same paragraph when checking where
12314 to put the cursor if we have a NFR inset.
12316 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12317 parts of layout read further up as it still was in the wrong
12320 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12322 * screen.C (drawFromTo): change sine fullRebreak always return
12325 * buffer.C (parseSingleLyXformat2Token): reindent some
12327 * BufferView_pimpl.C (update): change since fullRebreak always
12329 (Dispatch): git rid of the last hardcoded "Standard"s.
12331 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12333 * text2.[Ch] (fullRebreak): make it return void now that we always
12336 2002-04-30 Juergen Vigna <jug@sad.it>
12338 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12339 ert compatibility check for "latex" layout.
12341 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12343 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12344 minipages: use col% instead of p%, and also use the current font.
12345 (makeLaTeXFile): Fix use babel condition.
12346 (parseSingleLyXformat2Token): Correct font when reading old floats.
12348 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12350 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12351 inserting list of floats.
12353 2002-04-25 Herbert Voss <voss@lyx.org>
12355 * MenuBackend.C (expand): don't add the graphics extensions to the
12358 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12360 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12361 non-existing layout, do not complain if it was the default layout
12362 of the original class (bug #342)
12364 2002-04-24 Juergen Vigna <jug@sad.it>
12366 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12367 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12369 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12371 * buffer.C (getBibkeyList): If using \bibliography, return the
12372 option field with the reference itself. Enables us to provide natbib
12373 support when using \bibliography.
12375 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12377 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12379 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12380 natbib is provided by the LaTeX class.
12382 2002-04-23 Juergen Vigna <jug@sad.it>
12384 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12387 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12389 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12391 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12393 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12394 ensuremath around textordmasculine, textordfeminine and
12397 2002-04-19 Juergen Vigna <jug@sad.it>
12399 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12400 reinitializing the buffer otherwise row-dimensions may be wrong.
12401 (update): reset also the selection cursors if they do exits otherwise
12402 their x/y positions may be wrong.
12404 * text2.C (cursorDown): don't enter the inset if we came from a row
12405 above and are one row over the inset.
12407 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12408 really leaving an inset.
12410 2002-04-18 Juergen Vigna <jug@sad.it>
12412 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12413 of the selected paragraph does not have the selected layout also if
12416 * text2.C (setLayout): fixed bug which did not change last selected
12419 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12420 changed the read and substituted \\end_float with \\end_inset!
12422 * BufferView_pimpl.C (cursorPrevious):
12423 (cursorNext): fixed to make it work with rows heigher than the work
12424 area without moving the cursor only the draw of the row.
12425 (workAreaMotionNotify): fix jumping over high rows.
12427 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12429 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12432 2002-04-16 Juergen Vigna <jug@sad.it>
12434 * text2.C (setCursor): set also the irow().
12435 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12437 (cursorDown): support for locking an inset if the x_fix value goes
12438 inside it. That way I can transverse insets too with cursor up/down.
12440 * lyxrow.h: added irow helper function same as other (i) functions.
12442 * BufferView_pimpl.C (cursorPrevious):
12443 (cursorNext): fixed for insets!
12445 2002-04-15 Juergen Vigna <jug@sad.it>
12447 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12448 position otherwise it is wrong in some cases.
12450 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12451 inside the inset before the call.
12453 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12455 * buffer.[Ch] (getBibkeyList): make it const.
12457 2002-04-12 Juergen Vigna <jug@sad.it>
12459 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12461 * text2.C (getCursorX): new helper function
12462 (setCursor): compute also ix_
12463 (setCursorFromCoordinates): set also ix.
12465 * lyxcursor.h: added ix_ and helper functions.
12467 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12469 * buffer.C (insertStringAsLines): dont break paragraph if the this
12470 paragraph is inside an inset which does not permit it!
12472 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12473 also with no chars on this paragraph.
12474 (paintRowText): only paint stuff if it's inside the workarea!
12476 * paragraph.C (breakParagraph): honor keepempty flag and break the
12477 paragraph always below not above.
12479 * BufferView2.C (unlockInset): update the paragraph layout on inset
12480 unlock as we changed paragraph in such a case.
12482 * lyxfind.C (LyXFind): clear the former selection if not found!
12484 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12485 again called in insertChar().
12487 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12488 an inset which uses the whole row!
12489 (rightMargin): ditto.
12490 (insertChar): force a rebreak if we inserted an inset!
12492 2002-03-28 Herbert Voss <voss@lyx.org>
12494 * lyxlength.[Ch]: add inBP() to get the right PS-point
12495 units (BigPoint). With inPixels we have rounding errors
12497 2002-04-11 Juergen Vigna <jug@sad.it>
12499 * text2.C (setCursorFromCoordinates): set iy to the right value.
12500 (setCursor): add check if row->previous exists!
12502 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12503 an old float_type as this was the case in the old code!
12505 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12507 * BufferView2.C (showLockedInsetCursor): use iy
12508 (fitLockedInsetCursor): ditto
12510 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12511 locked insets as there we have the right value now.
12513 * lyxcursor.C: added iy_ variable and iy functions to set to the
12514 baseline of cursor-y of the locked inset.
12516 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12517 (setCursor): fixed for insets which need a full row.
12519 * text.C (rowLastPrintable): don't ignore the last space when before
12520 an inset which needs a full row.
12521 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12522 as last character of a row when before a inset which needs a full row.
12524 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12526 * version.C.in: update date
12528 * text2.C (fullRebreak): try to always return true and see what
12531 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12533 * MenuBackend.C (expand): use Floating::listName
12535 * FloatList.C (FloatList): add listName argument to the built-in
12538 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12539 text associated with the float.
12541 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12543 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12545 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12547 * ShareContainer.h: add a couple of missing typenames.
12549 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12551 * lyxrc.C (getDescription): use _() correctly rather than N_().
12553 2002-03-28 Herbert Voss <voss@lyx.org>
12555 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12556 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12558 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12560 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12561 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12563 2002-03-29 Juergen Vigna <jug@sad.it>
12565 * lyxfunc.C (dispatch): add a missing fitCursor call.
12567 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12568 it was scrolled by a cursor move, so return the bool status.
12570 * BufferView.C (fitCursor): return the bool flag also to the outside
12571 world as this is needed.
12573 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12575 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12576 call the edit() as it is not needed (and wrong) IMO.
12577 (workAreaButtonPress): set the screen_first variable before evt.
12578 unlock the inset as this may change screen_first and then we have
12579 a wrong y position for the click!
12581 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12583 * MenuBackend.C (expand): another translation that I missed
12585 2002-03-28 Juergen Vigna <jug@sad.it>
12587 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12589 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12591 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12593 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12595 * MenuBackend.C (expand): fix export/view/update when there is no
12598 2002-03-27 Herbert Voss <voss@lyx.org>
12600 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12603 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12605 * bufferview_funcs.C (currentState): only show paragraph number
12606 for is DEVEL_VERSION is set.
12608 * lyxfunc.C (dispatch): put warning in INFO channel
12610 * MenuBackend.C (expand): translate the name of floats
12612 * FloatList.C (FloatList): mark the float names for translation
12614 * converter.C (convert): use LibScriptSearch
12616 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12618 * MenuBackend.C (defaults): fix default menu (we might as well get
12621 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12623 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12626 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * lyxvc.C: reorder includes.
12630 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12632 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12635 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12637 * CutAndPaste.C: change layouts earlier on paste
12638 to avoid crashing when calling getFont()
12640 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12642 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12645 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12647 * WorkArea.C: remove 'Pending' debug message.
12649 * most files: ws cleanup
12651 * buffer.[Ch]: ws changes
12653 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12655 2002-03-21 Juergen Vigna <jug@sad.it>
12657 * tabular.C (SetMultiColumn): collapse also the contents of the
12658 cells and set the last border right. Added a Buffer const * param.
12660 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12662 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12665 2002-03-19 Juergen Vigna <jug@sad.it>
12667 * text2.C (clearSelection): reset also xsel_cache.
12669 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12670 where it needs to be called (John tells us to do so too :)
12671 (selectionLost): reset sel_cache.
12673 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12675 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12677 * text2.C (setCursorIntern): put debuging code in INSETS channel
12679 2002-03-19 André Pönitz <poenitz@gmx.net>
12681 * lyxfunc.C: tiny whitespace change
12683 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12685 * ToolbarDefaults.C (init):
12686 * LyXAction.C (init):
12688 * BufferView_pimpl.C (Dispatch):
12689 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12691 2002-03-19 Allan Rae <rae@lyx.org>
12693 * exporter.C (Export): removeAutoInsets before doing anything else.
12694 While I've just introduced a dependency on BufferView this really is
12695 the best place to clean the buffer otherwise you need to cleanup in
12696 a dozen places before calling export or cleanup in a dozen functions
12699 * converter.C (runLaTeX):
12700 (scanLog): Better handling of removeAutoInsets and screen updates.
12702 * lyxfunc.C (dispatch): small whitespace changes
12704 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12706 * WorkArea.C (C_WorkAreaEvent): return a value.
12707 (event_cb): return 1 if we handled the event, 0 otherwise.
12709 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12711 2002-03-18 Juergen Vigna <jug@sad.it>
12713 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12714 (GetAdditionalWidth): ditto.
12715 (RightLine): ditto.
12718 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12719 inset if we're there actually (probably not used right now but this
12720 is the direction to go for unifying code).
12721 (paste): disable code to clear the selection.
12723 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12724 inside an InsetText and move the check further up as it is in the
12727 * text2.C (pasteSelection): set a selection over the pasted text.
12729 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12731 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12732 and libgraphics to build on Cygwin.
12734 2002-03-15 Juergen Vigna <jug@sad.it>
12736 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12737 inserting an Inset into the paragraph. I know this is not the best
12738 fix but we already use current_view in CutAndPaste so we will remove
12739 all of it's using at the same time.
12741 * buffer.C (sgmlError): deactivated function till it is rewritten in
12742 the right mode, now it can create problems.
12744 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12745 before accessing it.
12747 2002-03-14 Juergen Vigna <jug@sad.it>
12749 * undo_funcs.C (textHandleUndo): do the right thing when updating
12750 the inset after the undo/redo.
12752 * text2.C (setCursor): just some testcode for #44 not ready yet.
12754 * undo_funcs.C (textHandleUndo): set the next() and previous()
12755 pointers of the paragraph to 0 before deleting otherwise we have
12756 problems with the Paragraph::[destructor].
12758 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12759 on a paragraph insertion.
12761 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12763 * buffer.C (asciiParagraph): use += operator for char append to
12766 * paragraph.C (getFontSettings): compare >= not just >
12767 (highestFontInRange): ditto
12770 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12772 * paragraph.C: change several algorithm to be more appripriate for
12773 the problem domain. This is lookip in FontList and in the InsetList.
12775 2002-03-13 André Pönitz <poenitz@gmx.net>
12778 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12780 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12785 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12787 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12789 * Painter.C (display): anon helper function, adjust code for this
12791 (pixmap): remove function.
12793 * Painter.h: remove private display variable.
12795 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12797 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12799 * WorkArea.[Ch]: remove figinset_canvas cruft.
12801 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12803 * lyxtextclass.C (operator): add one item cache optimization.
12805 * bufferlist.h: doxy changes
12807 * bufferlist.C: ws changes
12809 * DepTable.[Ch] (ext_exist): place const in the right spot.
12811 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12813 (workAreaExpose): call resizeInsets when the with BufferView changes.
12814 (Dispatch): adjust for protectedBlank removal
12815 (specialChar): call updateInset if the insert went ok.
12817 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12818 specialChar instead.
12820 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12822 * BufferView.h: doxy change
12824 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12826 * lyxtextclass.C (operator[]): remove non-const version
12827 (defaultLayout): remove non-const version
12829 2002-03-12 Juergen Vigna <jug@sad.it>
12831 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12832 did resize the LyXText too.
12834 * buffer.C (readLyXformat2): set layout information on newly allocated
12837 * tabular.C (OldFormatRead): set layout information on the paragraph.
12839 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12841 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12843 2002-03-11 Juergen Vigna <jug@sad.it>
12845 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12847 (resizeCurrentBuffer): force also the insets to resize themselfes.
12848 (moveCursorUpdate): fixed up for InsetText.
12850 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12853 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12854 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12855 value of Dialogs::tooltipsEnabled().
12856 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12858 2002-03-08 Juergen Vigna <jug@sad.it>
12860 * BufferView_pimpl.C (updateInset): update inset inside inset also
12861 if it isn't inside theLockingInset().
12863 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12865 * buffer.C (asciiParagraph): redo some of the word and line length
12867 (getLists): look for Caption instead of caption.
12869 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12871 * buffer.C (Buffer): initialize niceFile to true
12873 (makeLinuxDocFile):
12874 (makeDocBookFile): make sure niceFile is true on exit
12876 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12878 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12880 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12882 * LyXSendto.C: remove.
12883 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12884 * lyx_gui.C: remove now-redundant comment.
12885 * ColorHandler.h: remove forward declaration of class WorkArea.
12886 * lyxfunc.C: remove #include "WorkArea.h".
12888 2002-03-07 Juergen Vigna <jug@sad.it>
12890 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12891 got moved away with the DEPM and also set the inset_owner always
12892 right which before could have been omitted.
12894 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12897 wanted layout is not found.
12899 2002-03-07 Juergen Vigna <jug@sad.it>
12901 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12903 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12905 * paragraph.C (breakParagraph): use default layout not layout of
12907 (Paragraph): clear ParagraphParameters.
12909 2002-03-06 Juergen Vigna <jug@sad.it>
12911 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12912 otherwise it would not be a valid lenght. Fixed a special case in
12913 the minipage compatibility read where we end the document with a
12916 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12917 was set as it could be 0 for InsetTexts first entry.
12919 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12921 * paragraph.C (writeFile): if layout is empty write out
12922 defaultLayoutName().
12924 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12925 file without named layout we set layout to defaultLayoutName().
12927 2002-03-06 Juergen Vigna <jug@sad.it>
12929 * CutAndPaste.C (copySelection): set layout for new paragraph.
12931 * text.C (prepareToPrint): leave ERT inset left aligned
12932 (leftMargin): don't indent paragraphs inside ERT insets
12934 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12936 * paragraph.C (breakParagraph): dont call clear do the work manually
12938 * paragraph.[Ch] (clear): remove function
12940 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12942 * paragraph.C (Paragraph): dont call clear, the work has already
12945 * lyxtextclass.C (operator): assert if n is empty
12947 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12948 work manually instead.
12950 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12952 * BufferView_pimpl.C: protect selectionLost against text == 0
12954 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12956 * text.C (breakParagraph): fix a setting layout to '0' problem.
12958 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12960 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12961 final location of file, for the included files, and graphics.
12963 2002-03-05 Juergen Vigna <jug@sad.it>
12965 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12967 2002-03-04 Juergen Vigna <jug@sad.it>
12969 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12971 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12972 last column of multicolumn cells.
12973 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12975 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12977 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12978 file if it doesn't go to a temporary file.
12980 * buffer.C (sgmlOpenTag):
12981 (sgmlCloseTag): remove extra newline insertion.
12983 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12985 * text.C (getRowNearY): comment out debug msg
12987 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12989 * text2.C: first -> first_y
12991 * text.C (getRowNearY): add some attemts at a possible
12992 optimization, not working.
12994 * tabular.[Ch]: add BufferParams to several function so that newly
12995 created paragraph can be initialized to he default layotu for the
12998 * tabular-old.C (ReadOld): add buf->params to call of Init
13000 * screen.C: rename text->first to text->first_y
13002 * paragraph.C (breakParagraph): always set layout in the broken
13005 * lyxtextclass.C (Read): remove lowercase
13008 (delete_layout): ditto
13010 * lyxtext.h: rename first -> first_y
13012 * lyxlayout.C (Read): remove lowercase
13015 (obsoleted_by): ditto
13017 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13019 * buffer.C (insertErtContents): add params are to InsetERT
13020 (parseSingleLyXformat2Token): add code to check if a paragraphs
13021 layout really exist.
13022 (parseSingleLyXformat2Token): add params to several inset
13024 (asciiParagraph): remove lowercase, do the layout comparisons with
13027 * BufferView_pimpl.C (cursorNext): first -> first_y
13028 (resizeCurrentBuffer): first -> first_y
13029 (updateScrollbar): first -> first_y
13030 (scrollCB): first -> first_y
13031 (workAreaMotionNotify): first -> first_y
13032 (workAreaButtonPress): first -> first_y
13033 (checkInsetHit): first -> first_y
13034 (cursorPrevious): first -> first_y
13035 (cursorNext): first -> first_y
13036 (Dispatch): add buffer_->params to severl inset contructors
13038 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13040 * lyxlayout.C (Read): remove some debug info that I forgot.
13042 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13043 clean up the code slightly.
13044 (makeLinuxDocFile): ditto
13045 (makeDocBookFile): ditto
13047 * text2.C: layout as string
13049 * text.C: layout as string
13051 * paragraph_pimpl.C: layout as string
13053 * paragraph.[Ch]: layout as string
13055 * lyxtextclasslist.[Ch]: layout as string
13057 * lyxtextclass.[Ch]: layout as string
13059 * lyxtext.h: layout as string
13061 * lyxlayout.[Ch]: layout as string
13063 * lyx_cb.C: layout as string
13065 * bufferview_funcs.C: layout as string
13067 * bufferparams.C: layout as string
13069 * buffer.C: layout as string
13071 * LyXView.[Ch]: layout as string
13073 * LaTeXFeatures.[Ch]: layout as string
13075 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13077 * BufferView_pimpl.C: change current_layout to string, remove
13082 (workAreaButtonRelease): layout as string
13084 * BufferView2.C (unlockInset): adjust
13086 * vspace.C (asLatexCommand): use an explict temp variable.
13088 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13090 * Makefile.am: use FRONTEND_*
13092 2002-03-01 Juergen Vigna <jug@sad.it>
13094 * tabular.C (SetWidthOfMulticolCell): changed to something better
13095 I hope but still work in progress.
13096 (recalculateMulticolumnsOfColumn): renamed function from
13097 recalculateMulticolCells as it is more appropriate now.
13098 (SetWidthOfCell): calculate multicols better.
13100 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13102 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13104 * lyxfunc.C (processKeySym): print sequence also if it is
13105 `deleted' (complete)
13107 * kbsequence.C (print): print sequence even if it is deleted
13108 (complete would be a better word, actually).
13110 * lyxfunc.C (dispatch): print complete options after a prefix key
13112 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13114 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13116 * text2.C (setCharFont): eliminate setCharFont code duplication.
13118 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13120 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13121 LFUN_TABULAR_FEATURE (bug #177)
13123 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13125 * Makefile.am: remove figure.h
13127 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13129 * Bufferview_pimpl.C:
13141 * text2.C: remove #include "lyx_gui_misc.h".
13143 * LaTeX.C: added #include <cstdio>
13145 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13147 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13148 that the paragraph following this one can have.
13150 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13152 * vspace.C (asLatexCommand): fix bogus gcc warning
13154 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13156 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13158 * text2.C (setLayout): get rid of redundant code
13160 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13162 * text2.C (incDepth): make sure depth cannot be increased beyond
13165 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13167 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13168 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13170 * PainterBase.h (image):
13171 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13172 a LyXImage const *.
13174 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13178 * BufferView_pimpl.C:
13179 * BufferView_pimpl.h:
13199 * sp_spell.C: remove fig inset, and the crap house of
13200 cards that follows it
13202 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13207 * os2_errortable.h:
13208 * nt_defines.h: move .h into support/
13210 * vms_defines.h: remove
13212 * WorkArea.C: add space in debug output
13216 * buffer.C: add WITH_WARNINGS
13220 * bufferlist.C: s/retrive/retrieve/, add docs
13229 * chset.C: add docs
13231 * lyxgui.C: add ID to X error handler
13233 * lyxtestclass.c: fix typo
13235 2002-02-26 Juergen Vigna <jug@sad.it>
13237 * tabular_funcs.C (write_attribute): changed so that some default
13238 attributes are not written at all.
13239 (getTokenValue): set default values before trying to read the
13240 value so we have the return value always set as default if we don't
13241 find the token we search for.
13243 * tabular.C (Write): write bools as bools not as strings!
13245 2002-02-22 Juergen Vigna <jug@sad.it>
13247 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13248 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13250 * text.C (leftMargin): don't add an indent for paragraphs inside
13251 tabular cells (fix #208).
13253 2002-02-21 José Matos <jamatos@fep.up.pt>
13255 * tabular.C (docBook): fixed support for long tables.
13257 2002-02-20 Juergen Vigna <jug@sad.it>
13259 * text2.C (getFont): get the drawing font of the Inset if this
13260 paragraph is inside an inset (only important for InsetERT for now).
13262 * buffer.C (insertErtContents): use new lanugage params in ERT
13265 * CutAndPaste.C: commenting out seemingly uneeded code.
13267 2002-02-19 Allan Rae <rae@lyx.org>
13269 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13270 Iterators might be simple to use but they also get invalidated.
13271 (removeAutoInsets): renamed saved cursor tracking variables and added
13272 some comments to clarify what everything does.
13274 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13281 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13282 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13285 * vc-backend.h: remove #include "support/syscall.h"
13289 * converter.C: rearrange #includes in Lars' approved fashion.
13291 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13292 forward declare class Timeout in the header file.
13294 * XFormsView.C: changes due to the above.
13296 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13297 similar to LyXView.
13299 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13300 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13302 2002-02-18 José Matos <jamatos@fep.up.pt>
13304 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13307 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13309 * a lot of small ws changes
13310 * add a lot of using std::XXX
13311 * use std construcs some places where approp.
13312 * use some exisint stuff from lyxfunctional where approp.
13313 * Make file changes to use partial linking (lets test this now...)
13315 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13319 remove #include "support/syscontr.h" as it's redundant. Always has been.
13327 change Systemcalls::System to Systemcalls::Wait and
13328 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13329 No change of functionality, just reflects the stripped down Systemcalls
13332 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13334 * debug.[Ch]: add a GRAPHICS type to the enum.
13336 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13338 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13340 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13343 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13345 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13346 match the changes below.
13348 * text2.C (toggleInset): if there is not editable inset at cursor
13349 position, try to see if cursor is _inside_ a collapsable inset
13352 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13354 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13355 document menu has a nice checkbox
13357 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13359 * lyxlength.C (asLatexString): change PW to output as percent of
13362 * lengthcommon.C: change '%' to 't%'
13364 * lyxfunc.C (dispatch): a few comments from Martin
13366 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13370 * BufferView_pimpl.h:
13371 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13374 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13376 * vspace.C (inPixels): fix compiler warning
13378 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13380 * lyxfunc.C (getStatus): fix status message for disabled commands.
13382 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13384 * BufferView_pimpl.C: fix crash on close buffer
13385 during selection (#227)
13387 2002-01-27 Herbert Voss <voss@lyx.org>
13389 * buffer.C: link old Figure to new graphic inset
13391 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13393 * FontLoader.C (getFontinfo): Change the latex font names in order
13394 to match the names of type1inst.
13396 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13398 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13400 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13401 (extchanged): ditto
13403 (remove_files_with_extension): ditto
13404 (remove_file): ditto
13407 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13408 document is smaller than the work area height. Do not initialize
13409 static variables to 0.
13411 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13413 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13415 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13416 LFUN_LAYOUT_PARAGRAPHS.
13418 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13419 tabular. It is possible to provide a possible cell, which will
13420 typically be the actcell from the corresponding insettabular
13422 * lyxfunc.C (getStatus): small cleanup; disable
13423 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13426 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13428 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13430 * paragraph.C (startTeXParParams):
13431 (endTeXParParams): new methods. The LaTeX code to
13432 start/end paragraph formatting
13433 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13434 empty (fixes bug #200)
13436 * vspace.C (inPixels): adapt to the change below
13437 (inPixels): [later] more cleanups (remove unused variables)
13439 * lyxlength.C (inPixels): change to use a width and a height as
13442 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13444 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13445 Replaced with \paperwidth
13447 * DepTable.C (insert): add std:: qualifier
13449 2002-01-18 Allan Rae <rae@lyx.org>
13451 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13454 * text.C (drawInset): Turned out I didn't know enough about how
13455 rebreaking worked. This fixes most of the redraw problems. I see
13456 an occasional cursor trail when a line is broken now and the cursor
13457 placement can seem out by a few pixels also after a rebreak.
13459 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13461 * buffer.C (parseSingleLyXformat2Token): update because minipage
13462 width is now a LyXLength
13464 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13466 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13469 2002-01-17 Juergen Vigna <jug@sad.it>
13471 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13473 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13474 is set correctly and the inset is updated correctly.
13476 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13478 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13479 the beginning of the loop.
13481 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13483 * lyxrc.C: improve help for use_scalable_fonts
13485 2002-01-17 Allan Rae <rae@lyx.org>
13487 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13489 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13491 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13492 make sure to set their inset_owner to the right value (bug #171)
13494 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13497 * DepTable.C: Implement mtime checking to reduce time spent doing
13500 2002-01-16 Juergen Vigna <jug@sad.it>
13502 * tabular.C (GetAdditionalHeight): one of error fixed.
13504 * lyxrc.C (output): small fix in writing use_pspell.
13506 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13508 * sp_base.h: #include LString.h
13510 2002-01-16 Allan Rae <rae@lyx.org>
13512 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13513 Can someone check this please?
13515 * text.C (drawInset): It was possible that p.row would be removed by
13516 breakAgainOneRow upsetting a few other settings. There may be another
13517 small tweak possible by setting need_break_row = 0 when p.row has been
13518 removed but I don't know enough about the logic here.
13520 2002-01-15 Allan Rae <rae@lyx.org>
13522 * text.C (insertChar): removed conditional truism.
13524 * BufferView2.C (removeAutoInsets): More tweaks.
13525 cur_par_prev could be a stray pointer. Check for trailing empty line
13526 in case last line was cur_par and only had an error inset on it.
13528 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13530 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13533 * vc-backend.C (most methods):
13534 * exporter.C (Export):
13535 * converter.C (convert):
13537 * LyXSendto.C (SendtoApplyCB):
13538 * lyxfunc.C (dispatch):
13542 * lyx_cb.C (AutoSave):
13544 * BufferView_pimpl.C (MenuInsertLyXFile):
13545 * buffer.C (runChktex): use Buffer::filePath().
13547 * buffer.h: rename filename to filename_; rename filepath to
13548 filepath_ and make it private
13549 (filePath): new method
13551 * buffer.C (writeFile): use fileName()
13554 * lyx_main.C (init): fix starting of LyX when the binary is a
13555 link from so,ewhere else.
13557 * minibuffer.C: include <cctype> for isprint
13559 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13561 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13562 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13563 name clash with InsetCollapsable's width function.
13565 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13567 * lastfiles.C: include <iterator>
13569 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13571 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13574 * buffer.C (makeLaTeXFile): ditto.
13575 Also make loop operation more transparent.
13577 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13579 * ToolbarDefaults.C: remove trailing comma closing namespace.
13581 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13583 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13586 * trans.C (Load): comment out unused variable, allowed.
13588 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13590 * minibuffer.[Ch] (append_char): new method to recieve input from the
13591 drop-down completion browser. If a key was pressed, then recieve this
13592 char and append it to the existing string.
13593 (peek_event): modify the positioning data passed to the completion
13594 browser so that it can be placed above the minibuffer rather than below.
13595 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13597 * LyXAction.C (init): alloe error-next for readonly documents.
13599 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13602 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13604 * bufferlist.C (readFile): create the buffer _after_ checking that
13607 * lyxfunc.C (verboseDispatch): fix handling of arguments
13609 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13611 * lyxrc.C: use string::erase() instead of initializing to "".
13614 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13616 * BufferView_pimpl.h:
13617 * BufferView_pimpl.C:
13620 * text2.C: tell X when we have made a selection for copying
13622 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13624 * BufferView_pimpl.C (MenuInsertLyXFile):
13625 * lyxfunc.C (menuNew):
13627 (doImport): add shortcuts to directory buttons
13629 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13632 * lyxfunc.C (setStatusMessage):
13633 (getStatusMessage): new methods
13634 (getStatus):use setStatusMessage instead of setErrorMessage
13635 (dispatch): when function is disabled, set error message here
13636 [instead of in getStatus previously]
13638 * BufferView_pimpl.C (workAreaButtonRelease): update
13639 toolbar/menubar here too.
13641 2002-01-13 Allan Rae <rae@lyx.org>
13643 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13644 Now seems indestructible. Remaining task is to audit all other
13645 code affected by deleteEmptyParagraphMechanism. One small quirk
13646 left is that an empty document with an error in the preamble can
13647 be made to report an error but no error box appears. I don't know
13649 (removeAutoInsets): Improved comments.
13651 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13654 * Thesaurus.C: update for Aiksaurus 0.14
13656 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13658 * text2.C (firstParagraph): removed member function, all uses
13659 replaces with ownerParagraph
13660 (redoParagraphs): here
13661 (updateInset): here
13662 (toggleAppendix): here
13663 * BufferView2.C (insertErrors): here
13664 (setCursorFromRow): here
13666 2002-01-13 Allan Rae <rae@lyx.org>
13668 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13669 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13670 There is still a way to segfault this although you may have to do this
13671 multiple times: Have an InsetERT with an unknown command in it.
13672 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13673 <down-arrow>, <Enter> again, View->DVI, BANG!
13675 * text2.C (setCursor):
13676 (deleteEmptyParagraphMechanism):
13677 * lyxtext.h (setCursor):
13678 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13679 Making use of the return value may help fix other bugs.
13681 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13683 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13685 * LyXView.C (updateMenubar): call MenuBar::update here
13686 (updateToolbar): but not here
13687 (showState): do not update toolbar/menubar
13689 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13690 should need to care about that.
13692 * lyxfunc.C (verboseDispatch): simplify a bit
13693 (getStatus): have a version which takes a pseudoaction, and
13694 another which requires a (kb_action,string).
13696 * LyXAction.C (retrieveActionArg): make it work also when action
13697 is not a pseudo-action.
13698 (getActionName): simplify a bit
13701 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13703 * lyxfunc.C (verboseDispatch): new families of methods with
13704 several ways to specify a command and a bool to indicate whether
13705 the command name and shortcut should be displayed in minibuffer
13706 (eventually, we could extend that to a finer bitmask like
13707 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13708 (dispatch): the pristine dispatch command which just, well,
13709 dispatchs! Note it still sets its result to minibuffer; I'm not
13712 * lyxfunc.h: remove setHintMessage
13714 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13716 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13718 * BufferView_pimpl.C (specialChar): delete new inset if we have
13719 not been able to insert it.
13721 * kbmap.C: revert to using int instead of kb_action, since all we
13722 are dealing with is pseudo-actions.
13724 * LyXAction.C (searchActionArg): change to return int instead of
13725 kb_action, since the result is a pseudoaction.
13727 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13729 * buffer.C (insertErtContents): Fix (partially) the font bug.
13731 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13733 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13734 as the other one is broken on my machine!
13736 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13739 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13741 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13743 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13744 reflect their actual use. Provide compatibility code for older lyxrc
13747 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13749 change names of popup font variables in line with the changes to lyxrc.C
13751 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13753 * buffer.C (asciiParagraph): avoid outputing a word twice after
13756 * lyxrc.C (getDescription): document that document_path and
13757 template_path can be empty.
13759 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13761 * LaTeXFeatures.C (getMacros):
13762 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13764 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13766 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13768 (getPackages): rename feature "floats" to "float". Use an array to
13769 iterate over 'simple' features (i.e. just a \usepackage). Add
13770 handling of "amsmath" (renamed from "amsstyle").
13772 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13774 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13777 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13779 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13780 FuncStaus::FuncStatus & FuncStaus::some_method().
13782 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13784 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13785 of the func_satus stuff. Edited and massaged in various ways by
13788 * lyxfunc.C (getStatus): use FuncStatus
13790 2002-01-08 Juergen Vigna <jug@sad.it>
13792 * text.C (nextBreakPoint): use function Inset::isChar().
13794 * paragraph.C (TeXOnePar): use function
13795 Inset::forceDefaultParagraphs.
13797 * buffer.C (latexParagraphs): use function
13798 Inset::forceDefaultParagraphs.
13800 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13802 * lyx_gui.C (init): set the style of the menu popups to
13803 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13805 2002-01-07 Juergen Vigna <jug@sad.it>
13807 * text.C (setHeightOfRow): small fix
13808 (prepareToPrint): don't look at alignment if we don't have the place
13811 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13813 * box.C: New file. Move the Box methods and functions out of box.h,
13814 following Lars' suggestion.
13816 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13818 * box.h: #include "support/LOstream.h", needed for inlined function.
13821 * lyxtextclasslist.C: added some using std declarations.
13823 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13825 * box.h: make signed dimensions to allow insets wider than
13826 the screen (bug #162)
13828 * BufferView_pimpl.C: add some insetHit debug
13830 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13832 * vc-backend.C: add FIXME
13834 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13836 * lyxfunc.C (getStatus): enable code for showing math font status
13839 2002-01-07 Juergen Vigna <jug@sad.it>
13841 * text.C (nextBreakPoint): removed debug output not needed anymore.
13843 2002-01-06 Juergen Vigna <jug@sad.it>
13845 * text.C (nextBreakPoint): fixed up this function we had this bug
13846 since ever but now hopefully we break row better.
13847 (insertChar): we have to check if an inset is the next char as it
13848 could now happen that a large inset is causing a break.
13850 2002-01-05 Juergen Vigna <jug@sad.it>
13852 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13853 if it doesn't like to be drawed.
13855 2002-01-04 Juergen Vigna <jug@sad.it>
13857 * BufferView2.C (lockInset): forgot to set a cursor.
13859 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13861 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13863 * FormMathsPanel.C:
13866 * form_maths_panel.C:
13867 * form_maths_panel.h:
13868 * form_maths_panel.fd: implemented sub- and super- buttons in math
13871 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13872 (or ^ space) to be used as in TeX (req'd by André).
13874 * lyxfunc.C: Allow ^ and _ again to be used both as
13875 super/subscript (mathed) and as themselves (in text).
13877 2002-01-03 Allan Rae <rae@lyx.org>
13879 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13880 "LyX" or the filename of the current buffer if it has one. This is a
13881 modified form of John Levon's patch.
13883 * XFormsView.C (setWindowTitle): also set icon title.
13885 * LyXView.h (setWindowTitle): signature changed.
13886 * XFormsView.h (setWindowTitle): ditto.
13888 2002-01-02 Juergen Vigna <jug@sad.it>
13890 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13892 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13894 * screen.C (topCursorVisible): introduce a temp var for
13895 text->cursor.row(), handle the case where this row is null. (kindo
13898 * text2.C (setCursor): add a couple of asserts.
13900 * paragraph.h (inset_iterator): add -> operator
13902 * paragraph.[Ch] (autoDeleteInsets): remove member function
13904 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13905 cursor pos correctly and handle inset deletion by itself.
13906 (insertErrors): move iterator declaration out of for expression
13908 * lyxtextclass.C: add <algorithm>
13910 * Makefile.am: added the new files to sources, removed layout.C
13912 * layout.C: removed file
13914 * layout.h: remove LYX_DUMMY_LAYOUT
13916 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13920 * lyxtextclass.[Ch]:
13921 * lyxtextclasslist.[Ch]: new files
13923 * include order changes to a lot of files, also changes because of
13926 2001-12-27 Juergen Vigna <jug@sad.it>
13928 * buffer.C (asciiParagraph): more fixes.
13930 * tabular.C (ascii): make ascii export support export of only the
13931 data separated by a column-delimiter.
13932 (ascii): better support for ascii export.
13934 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13936 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13938 * tabular_funcs.C: use a "using std::getline" instead of the
13939 previous fix from Angus (necessary for cxx + lyxstring)
13941 2001-12-24 Juergen Vigna <jug@sad.it>
13943 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13945 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13946 problems. First check a minipage also if we have some ert-contents
13947 (not only on par->size(), second set the right depth of the paragraph
13948 on the relink to the root-paragraph-list!
13950 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13951 which then did not anymore update the main paragraphs on undo/redo!
13953 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13955 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13956 code. Support all font-changing funcs (even those which are not in
13957 menu currently). Support for reporting font settings in
13958 mathed (disabled until Andre provides a function on mathed's side).
13960 * func_status.h (toggle): small helper function to set toggle
13963 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13965 * tabular_funcs.C: getline -> std::getline
13967 2001-12-21 Juergen Vigna <jug@sad.it>
13969 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13970 accessed and could be 0 (I couldn't generate this but it seems
13973 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13975 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13976 * tabular_funcs.h: here and include iosfwd
13978 2001-12-20 Juergen Vigna <jug@sad.it>
13980 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13981 inside inset but undo_par was.
13983 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13985 * Thesaurus.C: always include <config.h> in sources.
13989 * box.h: do not include <config.h> in header files
13991 * text.C (paintLastRow): remove unused variable
13993 * text.C (transformChar):
13995 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13997 * Painter.C (text):
13998 * font.C (width): rewrite to use uppercase() instead of
14001 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14003 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14005 * lyxfind.C: clean up of find failure position change
14007 2001-12-20 Juergen Vigna <jug@sad.it>
14009 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14011 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14012 (TeXRow): added to LaTeX a single tabular row.
14013 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14014 (Latex): simplified and finally good LT-h/f support.
14015 (various_functions): just small adaptions for LT-h/f support.
14017 * tabular_funcs.[hC]: added and moved here all not classfunctions
14020 2001-12-19 Juergen Vigna <jug@sad.it>
14022 * tabular.[Ch]: better support for longtabular options (not finished
14025 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14027 * text.C (paintLastRow): use the label font instead of the font of
14028 the last character to compute the size of *_BOX. This makes more
14029 sense and avoids a crash with empty paragraphs.
14030 Use Painter::rectangle to draw EMPTY_BOX.
14032 2001-12-19 Juergen Vigna <jug@sad.it>
14034 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14035 the paragraphs if the replaced paragraph is not the first one!
14036 Tried to delete not used paragraphs but does not work yet so for
14037 now it's inside #ifdef's and by default off!
14039 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14041 * MenuBackend.C: include "lyx_main.h" instead of declaring
14042 lastfiles (actually was declared as LastFiles* instead of a
14045 2001-12-17 Juergen Vigna <jug@sad.it>
14047 * tabular.C (AppendColumn): applied John's fix
14049 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14053 * BufferView_pimpl.h:
14054 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14057 * box.h: new start of class for above
14059 * lyxfunc.C: ignore space-only minibuffer dispatches.
14060 Show the command name when it doesn't exist
14062 * minibuffer.C: don't add empty lines to the history
14064 * minibuffer.C: add a space on dropdown completion
14066 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14068 * text.C: fix line above/below drawing in insets
14070 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14072 * lyxlength.C (LyXLength): Initialize private variables.
14074 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14076 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14077 when inserting error insets.
14079 2001-12-13 Juergen Vigna <jug@sad.it>
14081 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14082 actually sometimes the before-paragraph.
14083 (setUndo): don't clear the redostack if we're not actually undoing!
14085 2001-12-06 Juergen Vigna <jug@sad.it>
14087 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14088 and fixed redoing of main paragraph, so we can use it now ;)
14090 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14092 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14094 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14097 2001-12-13 André Pönitz <poenitz@gmx.net>
14100 * undo_func.C: minor cleanup
14102 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14104 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14105 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14106 font in urw-fonts package which is marked as -urw-fontspecific and
14107 does not work (incidentally, changing the encoding in the
14108 fonts.dir of this package to -adobe-fontspecific fixes the
14111 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14112 is a crash when undoing first paragraph (Juergen, please take a
14113 look). THis does not mean the undo fix is wrong, just that it
14116 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14117 the (Paragraph*) version when needed instead of duplicating the
14120 * text.C (workWidth): use Inset::parOwner to find out where the
14121 inset has been inserted. This is a huge performance gain for large
14122 documents with lots of insets. If Inset::parOwner is not set, fall
14123 back on the brute force method
14125 * paragraph_pimpl.C (insertInset):
14126 * paragraph.C (Paragraph):
14127 (cutIntoMinibuffer): set parOwner of insets when
14128 inserting/removing them
14130 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14132 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14138 * mathed/formulabase.C:
14139 * mathed/math_cursor.[Ch]:
14140 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14143 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14145 * lyxlength.[Ch] (operator!=): new function
14147 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14149 * text.C (workWidth): use Inset::parOwner to find out where the
14150 inset has been inserted. This is a huge performance gain for large
14151 documents with lots of insets. If Inset::parOwner is not set, fall
14152 back on the brute force method
14154 * paragraph_pimpl.C (insertInset):
14155 * paragraph.C (Paragraph):
14156 (cutIntoMinibuffer): set parOwner of insets when
14157 inserting/removing them
14159 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14161 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14163 * tabular-old.C (getTokenValue):
14164 * tabular.C (getTokenValue):
14165 (write_attribute): new versions for LyXLength
14166 (everywhere): adjust the use of widths
14168 * tabular.h: change the type of widths from string to LyXLength
14170 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14172 * paragraph.C: fixed missing line number count when exporting
14173 Environments to LaTeX file
14175 * buffer.C: added informational message for checking line numbers.
14177 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14179 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14180 paragraph, do the 'double space' part, but not the 'empty
14183 * text.C (workWidth): small optimization
14184 (getLengthMarkerHeight): use minimal size for negative lengths.
14186 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14188 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14190 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14192 2001-12-11 André Pönitz <poenitz@gmx.net>
14195 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14197 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14199 * text2.C: keep selection on a setFont()
14201 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14203 * lyx_cb.C: another bv->text misuse, from insert label
14205 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14208 * kbsequence.C: re-instate nmodifier mask
14210 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14212 * lyx_main.h: make lyxGUI private.
14214 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14216 * lyxfind.C: place the cursor correctly on failed search
14218 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14220 * text.C (getLengthMarkerHeight): for small heights, the arrows
14221 are not always on top/bottom of the text
14222 (drawLengthMarker): smaller arrows; take the left margin in
14223 account; draw also vfills.
14225 (paintLastRow): remove special code for vfill and standard spaces,
14226 since everything is handled in drawLengthMarker now.
14228 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14230 * buffer.C (insertErtContents): try to handle font and language
14231 interaction a bit better.g
14233 * ColorHandler.C (updateColor): change the hash to cover the whole
14234 LColor enum, ws cleanup
14235 (getGCLinepars): ditto
14236 (getGCLinepars): only lookup in the linecache once.
14238 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14240 * iterators.C (operator++): Make the iterator more robust
14242 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14244 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14246 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14249 * text.C: better added space drawing
14251 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14254 * BufferView2.C: fix layout combo update on inset unlock
14256 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14258 * Makefile.am: don't compile unused files
14260 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14264 * LyXAction.C: remove old LFUN_LAYOUTNO
14266 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14268 * paragraph_pimpl.h:
14269 * paragraph_pimpl.C: isTextAt() doesn't need font param
14271 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14274 * lyxlex.C: little cleanup
14276 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14278 * BufferView_pimpl.C: fix insertAscii for insets
14280 2001-12-05 Juergen Vigna <jug@sad.it>
14282 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14283 set the right font on the "multi" paragraph paste!
14285 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14291 * lyxlength.C: remove out-commented code.
14293 * BufferView_pimpl:
14307 * vc-backend.C: change "while(" to "while ("
14309 * lyxlength.[Ch]: add zero function to check if length is zero or
14311 * lyxgluelength.C: use it
14313 2001-12-05 Allan Rae <rae@lyx.org>
14315 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14316 Works for 2.95.3, from what I understand of Garst's reports this should
14317 work for other g++ versions. We're screwed if the abs(int) definition
14318 changed between bugfix releases of gcc.
14320 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14322 * text.C: fix chapter label offset !
14324 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14327 * text.C: fix hfill at end of line, clean up
14329 2001-12-04 Juergen Vigna <jug@sad.it>
14331 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14332 that we force an update of the inset and it's owners if neccessary.
14334 2001-12-03 Juergen Vigna <jug@sad.it>
14336 * text.C (rowLast): simplified code
14338 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14340 * lyxfunc.C: fix show options on timeout
14342 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14344 * screen.C (topCursorVisible): scroll half a page when the cursor
14345 reached top of bottom of screen
14347 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14349 * minibuffer.C: deactivate on loss of focus
14351 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14353 * vspace.[Ch] (operator!=): add operator.
14355 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14357 * BufferView_pimpl.C: refuse to open an inset when
14358 there's a selection.
14360 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14362 * BufferView_pimpl.C: allow to click on RHS of full row insets
14364 2001-11-30 Juergen Vigna <jug@sad.it>
14366 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14367 insets for undo reasons.
14369 2001-11-28 André Pönitz <poenitz@gmx.net>
14371 * vspace.[Ch]: cosmetical changes
14373 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14383 * kbsequence.C: part re-write of old kb code
14386 * WorkArea.C: remove Lgb_bug_find_hack
14388 2001-11-30 José Matos <jamatos@fep.up.pt>
14390 * buffer.C (makeDocBookFile): add a comment to point a hack.
14391 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14392 Fixed a double write of labels.
14394 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14397 * LaTeX.h Fixed bug in LaTeX class where it would not
14398 re-run latex if no depfiles were changed, but the .dvi was removed.
14400 2001-11-28 André Pönitz <poenitz@gmx.net>
14402 * all the files from the change on 2001/11/26:
14403 use lyx::layout_type instead of LyXTextClass::size_type
14404 use lyx::textclass_type instead of LyXTextClassList::size_type
14406 2001-11-29 Juergen Vigna <jug@sad.it>
14408 * text.C: added support for paragraph::isFreeSpacing()
14410 * buffer.C: same as above
14412 * paragraph.h: inserted isFreeSpacing() function to enable
14413 FreeSpacing inside InsetERT.
14415 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14416 of the paragraph's in the cut/copy buffer to 0!
14418 * text2.C (removeRow): remove the assert as it can!
14420 * lyxtext.h: added helper function firstRow returning firstrow and
14421 made firstrow private again.
14423 * BufferView2.C (lockInset): don't relock if we're already locked!
14425 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14426 the only paragraph.
14427 (removeRow): added Assert::(firstrow)
14429 * debug.C: forgot to add INSETTEXT here.
14431 2001-11-28 Juergen Vigna <jug@sad.it>
14433 * sp_spell.C (initialize): changed error text to more general
14434 spellchecker command use (not only ispell!)
14436 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14438 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14440 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14442 * vspace.C: initialise lyxgluelength on failure
14444 2001-11-28 Allan Rae <rae@lyx.org>
14446 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14447 declaration & definition that looks like a function declaration.
14449 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14451 * BufferView2.C (copy):
14452 (copyEnvironment): do not clear the selection when doing a copy.
14454 * text.C (paintFirstRow): compilation fix
14456 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14458 * tabular.C (Latex): correct line count when writing latex.
14460 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14462 * paragraph_pimpl.h:
14463 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14466 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14470 * LColor.C: change vfillline->added_space
14472 * text.C: add markers and text for added space
14474 * vspace.C: fix comment
14476 2001-11-28 André Pönitz <poenitz@gmx.net>
14478 * paragraph.C: whitespace changes
14479 * all the other files from the change on 2001/11/26:
14480 change *::pos_type into lyx::pos_type
14482 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14484 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14485 language of the document when inserting error insets.
14487 2001-11-26 André Pönitz <poenitz@gmx.net>
14489 * BufferView_pimpl.[Ch]:
14497 * paragraph_pimpl.[Ch]:
14500 * text2.C: reduce header dependencies, introduce type for positions
14502 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14504 * <various>: change to use Alert.h
14506 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14508 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14509 when encountering an unknown token.
14510 (readLyXformat2): Show an error message if there were unknown tokens.
14512 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14515 * BufferView_pimpl.C:
14519 * text2.C: use par->isInset()
14521 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14523 * paragraph_pimpl.h:
14524 * paragraph_pimpl.C: cleanup
14526 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14528 * text2.C (removeRow):
14529 * text.C (setHeightOfRow): remove useless (and costly) call to
14532 2001-11-20 Allan Rae <rae@lyx.org>
14534 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14535 Now need Inset*::checkInsertChar() to return true for appropriate
14536 cases so that the characters in the minibuffer will actually be
14539 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14541 * text.C: change the order of the includes.
14542 (workWidth): initialize it at once.
14543 (workWidth): make maxw unsigned
14544 (setHeightOfRow): remove unused variable (inset)
14545 (selectSelectedWord): remove unused variable (inset)
14546 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14548 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14550 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14551 server is not running.
14553 (closeConnection): add debug info when server is disabled.
14555 * ColorHandler.C (getGCForeground): send debug message to GUI
14558 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14560 * kbmap.C (bind): modify because return conventions of
14561 kb_sequence::parse have changed.
14563 * kbsequence.C (parse): only ignore spaces and not any stupid
14564 control character. This avoids tests like s[i] <= ' ', which are
14565 guaranteed to fail with 8bit characters and signed chars.
14566 Change return code to string::npos when there have been no error
14567 (0 was a bad idea when error is at first character)
14569 2001-11-14 José Matos <jamatos@fep.up.pt>
14572 * buffer.C (simpleDocBookOnePar): removed unused argument.
14574 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14576 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14577 insets which are part of a word. Paragraph::isLetter takes care of
14578 that now. Use Paragraph::isInset to identify insets.
14579 (selectSelectedWord): do not test for hyphenation break.
14581 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14582 that protected spaces are considered as spaces.
14584 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14587 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14590 * lyxserver.C: fix it. and small cleanup.
14592 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14594 * BufferView_pimpl.C: use inline helpers
14597 * LaTeXFeatures.C: fix typos
14600 * Spacing.C: move spacing_string into class
14602 * ToolbarDefaults.C: move stuff into namespace anon
14604 * layout.h: update enum
14606 * lyxfunc.C: use better debug
14608 * minibuffer.h: fix typo
14612 * WorkArea.C: add and use Debug::WORKAREA
14616 * text2.C: code re-organisation, inline helpers
14618 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14620 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14621 std::vector.empty().
14623 2001-11-09 Allan Rae <rae@lyx.org>
14625 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14626 '\n's after tables. Tabular and ERT inset work now makes this no
14629 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14632 * minibuffer.C: fix crash, improve drop-down completion
14634 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14637 * lyxserver.C: invalidate fd's when doing endPipe()
14639 2001-11-08 José Matos <jamatos@fep.up.pt>
14641 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14642 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14645 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14647 2001-11-07 José Matos <jamatos@fep.up.pt>
14650 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14653 * buffer.C (sgmlOpenTag):
14654 * buffer.C (sgmlCloseTag): removed debug info.
14656 * buffer.h (sgmlOpenTag):
14657 * buffer.h (sgmlCloseTag): made public.
14659 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14661 * buffer.C (saveParamsAsDefaults):
14662 * lyx_cb.C (MenuLayoutSave): remove
14664 * LyXAction.C (init):
14666 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14668 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14670 * buffer.C (setPaperStuff): removed from here...
14672 * bufferparams.C (setPaperStuff): ... and moved there.
14674 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14678 * XFormsView.C: add support for drop-down completion
14680 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14682 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14685 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14687 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14690 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14692 * lyx_main.C: change ref to known bugs
14694 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14696 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14697 to work around older babel problems.
14699 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14701 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14703 2001-10-24 Juergen Vigna <jug@sad.it>
14705 * tabular-old.C (ReadOld): below variable changes reflected.
14707 * tabular.[Ch]: added ltType struct for longtable header/footer
14708 defines and changed all instances where they are used. Added
14709 future support for double top/bottom rows.
14711 2001-10-24 José Matos <jamatos@fep.up.pt>
14713 * buffer.h (docbookHandleCaption):
14714 * buffer.C (docbookHandleCaption): removed unused function.
14715 (makeDocBookFile): moved docbook supported version to v4.1.
14717 2001-10-24 José Matos <jamatos@fep.up.pt>
14720 * tabular.C (docbookRow): new function to export docbook code of a row.
14721 (DocBook): now honors the longtable flags.
14723 2001-10-23 José Matos <jamatos@fep.up.pt>
14726 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14727 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14729 * buffer.C (makeLinuxDocFile):
14730 (makeDocBookFile): reworked the preamble, more clean, and with
14731 support for lyx defined entities. Changed the document declaration
14732 to be more XML friendly.
14734 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14735 if we need to output XML that should be done with a filter.
14737 2001-10-22 Juergen Vigna <jug@sad.it>
14739 * sp_pspell.h (class PSpell): add alive function needed in the
14740 controller to see if the spellchecker could be started.
14742 2001-10-22 Juergen Vigna <jug@sad.it>
14744 * buffer.C (insertStringAsLines): modify the font for inserting
14745 chars in certain conditions by calling checkInsertChar(font).
14747 2001-10-19 Juergen Vigna <jug@sad.it>
14749 * text.C (workWidth): use getRow instead of wrong algorithm.
14750 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14752 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14757 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14759 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14761 * text.C (workWidth): do not search for the exact row when
14762 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14763 optimization for big documents.
14765 2001-10-18 Juergen Vigna <jug@sad.it>
14767 * text.C (workWidth): new function with added Inset * parameter.
14769 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14771 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14773 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14774 change return type of getColumnNearX.
14777 * text.C (changeRegionCase): use uppercase/lowercase instead of
14780 (rightMargin): simplify code by factoring out the uses of
14785 (appendParagraph): use Paragraph::size_type
14787 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14789 * vspace.C (asLatexString): add a missing break
14791 2001-10-15 Herbert Voss <voss@perce.de>
14793 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14795 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14797 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14800 2001-10-10 André Pönitz <poenitz@gmx.net>
14802 * lyxfunc.C: removed greek_kb_flag.
14804 2001-10-10 Herbert Voss <voss@perce.de>
14806 * lyx_main.C: delete global string help_lyxdir.
14808 2001-10-09 Herbert Voss <voss@perce.de>
14810 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14812 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14814 * lyx_main.C: added global string help_lyxdir.
14816 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14818 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14820 * lyxrc.C (set_font_norm_type): support iso8859-4
14822 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14824 * LaTeX.C (deplog): add another regex for MikTeX
14826 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14828 * lyxrc.C (set_font_norm_type): support iso8859-3
14830 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14832 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14834 * LaTeXFeatures.C: remove special case of french and index
14836 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14837 before \begin{document}). This solves several incompatibilities.
14839 2001-10-03 Garst Reese <reese@isn.net>
14841 * lyx_cb.C: change CheckTex error msg.
14843 2001-10-03 José Matos <jamatos@fep.up.pt>
14845 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14847 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14849 * .cvsignore: update
14851 * lyx_main.C (commandLineVersionInfo): use new style version info.
14853 * buffer.C (writeFile):
14855 (makeLinuxDocFile):
14856 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14858 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14860 * version.h: update to use stuff in version.C
14862 * version.C.in: new file. Contains version information determined
14863 at compile time. This is a merging of version.h and
14866 2001-10-03 Juergen Vigna <jug@sad.it>
14868 * BufferView_pimpl.C (update): don't change "dirty" status in
14871 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14873 * WorkArea.C (c-tor): re-position version string slightly.
14875 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14877 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14878 revert to previous code.
14880 WorkArea.[Ch]: (show, destroySplash): methods removed.
14882 WorkArea.C: rework code so that it's an amalgam of the codes before and
14883 after the splash screen was moved to WorkArea.
14885 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14888 * vspace.C (inPixels):
14891 * buffer.C (insertStringAsLines):
14892 (asciiParagraph): fix types to be large enough
14894 * lyxlex_pimpl.h: change member status from short to int
14896 * layout.h: fix type of endlabeltype
14899 * kbsequence.C (parse): change return type to string::size_type
14901 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14904 * Bullet.C (bulletSize):
14905 (bulletEntry): do not use short ints as parameters
14907 * BufferView2.C (insertLyXFile): change a char to an int.
14909 * WorkArea.C (WorkArea): remove unneeded floats in computation
14911 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14913 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14915 * paragraph.C (asString): Do not ignore newline/hfill chars when
14916 copying to the clipboard.
14918 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14920 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14921 after a multi-line inset.
14923 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14925 * paragraph.C (validate): Set NeedLyXFootnoteCode
14927 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14929 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14930 and decrease-error to decrease.
14932 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14934 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14935 it more readable (should be equivalent)
14937 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14939 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14941 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14943 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14944 of a cursor (row, etc.) after a character has been deleted
14945 (deleteEmptyParagraphMechanism): call the method above on _all_
14946 cursors held by the LyXText when a double space has been
14949 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14951 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14953 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14955 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14956 background. Use greyOut() and the new show() methods to toggle between
14957 the foreground and background. Add code to remove the splash after
14958 its initial showing.
14960 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14961 (create_forms): no longer call Dialogs::showSplash.
14963 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14965 * .cvsignore: add version_info.h
14967 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14969 * version_info.h.in: new file
14971 * Makefile.am: add version_info.h.in
14973 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14974 version_info.h instead of VERSION_INFO
14976 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14978 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14979 The ERT inset now returns string().
14981 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14983 * lyxtext.h, text.C (selectNextWord): renamed as
14984 selectNextWordToSpellcheck.
14986 * text.C (selectNextWordToSpellcheck): Modified to not select
14987 words inside an ERT inset.
14989 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14991 * lyx_cb.C (MenuLayoutSave): change a bit the question
14993 * sp_base.h: include <sys/types.h>
14995 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14997 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14999 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15001 * several files: fix typos in user-visible strings
15003 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15005 * text2.C (pasteSelection): do not set the selection, since it
15006 will be cleared later. Actually, the intent was to fix the way the
15007 selection was set, but I figured rmoving the code was just as good.
15009 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15011 * FontLoader.C (available): Check if font is available without
15014 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15016 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15018 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15020 * lyxrc.[Ch]: added display_graphics variable and associated code.
15022 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15024 * bufferparams.C (hasClassDefaults): new method. Returns true if
15025 the buffer parameters correspond to known class defaults
15027 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15029 * XFormsView.C (show): set minimum size to the main window.
15031 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15033 * text2.C (copySelection):
15035 * lyxfind.C (LyXReplace):
15036 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15037 LyXText::selectionAsString.
15039 * paragraph.C (asString): add "label" argument to the second form
15041 * text2.C (selectionAsString): add "label" argument and pass it to
15042 Paragraph::asString.
15044 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15046 * lyx_main.C (commandLineHelp): remove version information
15048 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15050 * lyx_main.C: add -version commandline option
15052 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15054 * paragraph.h: make the optional constructor arg required instead.
15055 some modifications to other files because of this.
15057 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15059 * lyxserver.C (C_LyXComm_callback): make it static
15061 * lyx_main.C (error_handler): make it static
15063 * lyx_gui.C (LyX_XErrHandler): make it static
15065 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15067 * WorkArea.C: make the extern "C" methods static.
15069 * Makefile.am (lyx_LDADD): simplify
15071 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15073 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15074 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15076 * LyXAction.C (init):
15077 * lyxfunc.C (dispatch): associated code removal.
15079 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15081 * lyxfont.h (isSymbolFont): shut off warning
15083 * text.C (setHeightOfRow):
15084 (getVisibleRow): fix crash with empty paragraphs which have a
15087 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15089 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15092 2001-09-04 José Matos <jamatos@fep.up.pt>
15095 * tabular.C (docbook): rename docBook method to docbook.
15097 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15099 * Makefile.am: add dependencies to main.o.
15101 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15103 * FontLoader.C (available): Return false if !lyxrc.use_gui
15105 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15107 * FontInfo.C (query):
15108 * converter.C (view):
15109 * importer.C (Import):
15110 * exporter.C (Export): Can not -> cannot.
15112 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15114 * BufferView_pimpl.C: allow to create index inset even if
15117 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15119 * buffer.C (getLists): replace boost::tie code with an explicit pair
15120 as boost::tie can break some compilers.
15122 * iterators.h: Added a std:: declaration to the return type of
15125 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15127 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15130 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15132 * iterators.[Ch]: New files. Provide paragraph iterators.
15134 * buffer.C (changeLanguage): Use paragraph iterators.
15135 (isMultiLingual): ditto
15137 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15139 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15141 * FontLoader.C: Support for cmr font.
15143 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15145 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15146 (available): New method.
15148 * FontInfo.C (getFontname): Use scalable fonts even when
15149 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15152 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15154 * converter.C (Formats::view): reverted! Incorrect fix.
15156 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15158 * converter.C (Formats::view): only output the -paper option
15159 if the dvi viewer is xdvi, thereby fixing bug #233429.
15161 2001-08-23 Herbert Voss <voss@perce>
15163 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15165 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15167 * Spacing.h (Spacing): Set space to Default on in the default
15170 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15172 * vc-backend.h (RCS::versionString): add RCS to version
15173 (CVS::versionString): add CVS to version
15175 * vc-backend.C (scanMaster): do not add CVS to version.
15176 (scanMaster): do not add RCS to version
15178 * lyxvc.C (versionString): new method
15180 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15182 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15184 * Spacing.C (set): initialize fval
15186 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15188 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15191 2001-08-16 Juergen Vigna <jug@sad.it>
15193 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15195 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15197 * BufferView_pimpl.C:
15200 * text2.C: setParagraph takes linespacing now
15202 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15204 * LyxAction.C: add internal LFUN_CITATION_INSERT
15206 * LyXView.C: actually apply fix
15208 * bufferlist.C: fix open non-existent file
15210 * lyxfind.C: fix indentation
15212 * lyxfunc.C: remove unneeded assert, fix typo
15214 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15216 * MenuBackend.C: use "Floatname List"
15218 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15220 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15221 when converting LaTeX layout to insetERT.
15222 Generate a non-collapsed float when reading old float
15224 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15226 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15229 2001-08-13 Juergen Vigna <jug@sad.it>
15231 * text.C (fill): return 0 instead of 20 as this seems to be the more
15234 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15236 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15239 2001-08-13 Juergen Vigna <jug@sad.it>
15241 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15243 (SearchBackward): comment out the unlocking of the inset_owner this
15244 should not be needed!
15246 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15248 * Many files: Remove inherit_language, and add latex_language
15250 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15251 collapsible insets.
15253 2001-08-10 Juergen Vigna <jug@sad.it>
15255 * text.C (prepareToPrint): fixed hfill-width in draw!
15257 * BufferView2.C (selectLastWord): save the selection cursor as this
15258 now is cleared in the function LyXText::clearSelection!
15260 2001-08-08 Juergen Vigna <jug@sad.it>
15262 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15263 BACKSPACE type functions.
15265 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15266 is only cutted from the document but not put in the cut-buffer, where
15267 still the old stuff should be.
15269 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15271 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15273 * tabular.C (SetWidthOfCell): fixed special case where the width
15275 (LeftLine): handle '|' in align_special.
15277 (LeftAlreadyDrawed): ditto
15278 (SetWidthOfCell): ditto
15280 2001-08-07 Juergen Vigna <jug@sad.it>
15282 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15284 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15286 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15287 * lyxlex.[hC]: ditto
15289 2001-08-06 Juergen Vigna <jug@sad.it>
15291 * text.C (getVisibleRow): fix up row clearing a bit.
15293 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15295 * minibuffer.C: make sure the X server sees the changes in the input.
15297 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15299 * paragraph.C (getFont): split into...
15300 (getLabelFont): this
15301 (getLayoutFont): and this
15302 * paragraph_pimpl.C (realizeFont): calling this
15304 * text2.C (getFont): split into...
15305 (getLayoutFont): this
15306 (getLabelFont): and this
15307 (realizeFont): all three calling this
15309 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15312 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15314 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15316 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15318 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15319 layouts from the Quote inset insertion.
15321 2001-08-03 Juergen Vigna <jug@sad.it>
15323 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15325 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15326 only if status not is already CHANGED_IN_DRAW (second level).
15328 * text.C (draw): don't set the need_break_row when inside an
15331 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15333 * buffer.C (parseSingleLyXformat2Token): handle more latex
15336 * bufferview_funcs.[hC]: change function names to
15337 begin with small char, adjust other files.
15339 2001-08-02 André Pönitz <poenitz@gmx.net>
15342 BufferView_pimpl.C: remove broken special code for math-greek
15344 2001-08-02 Juergen Vigna <jug@sad.it>
15346 * BufferView_pimpl.C (update): redone this function so that we
15347 update the text again if there was a CHANGE_IN_DRAW.
15349 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15350 (drawFromTo): added a new internal bool which is used by draw() and
15352 (general): some cursor drawing problems fixed.
15354 2001-08-01 Juergen Vigna <jug@sad.it>
15356 * lyxfind.C (LyXFind): fixed
15357 (SearchForward): ditto
15358 (SearchBackward): ditto
15360 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15361 spurius drawing of the cursor in the main area.
15363 * text2.C (status): small fix which could lead to a segfault!
15364 (clearSelection): remove unneeded BufferView param.
15366 2001-08-01 André Pönitz <poenitz@gmx.net>
15368 * lyxfunc.C: small change due to changed mathed interface
15370 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15372 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15374 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15376 * lyxfunc.c: fail gracefully if file doesn't exist
15381 * BufferView_pimpl.C: IsDirWriteable() proto changed
15383 * LyXView.C: fix updateWindowTitle() to store the last title
15385 2001-07-31 Juergen Vigna <jug@sad.it>
15387 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15388 the font (wrong since using of Paragraph::highestFontInRange).
15390 * paragraph.C (highestFontInRange): added a default_size parameter.
15392 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15393 (setHeightOfRow): reformat
15395 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15397 * converter.[hC] + affected files: move to (inital-char)lowercase
15400 * ParagraphParameters.C (ParagraphParameters): remove commented code
15402 * PainterBase.[Ch]: remove commented code
15404 * LaTeXFeatures.h: add "bool floats" for float.sty
15406 * LaTeXFeatures.C (LaTeXFeatures): init floats
15407 (require): handle float
15408 (getPackages): do it with floats
15410 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15412 * BufferView_pimpl.C (Dispatch): improve handling of
15413 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15415 * commandtags.h: #include lyxfont.h here temporarily to avoid
15418 * bufferlist.h: include LString.h here.
15420 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15422 * text2.C (getStringToIndex): new method.
15424 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15426 * *: Reduced header file dependencies all over.
15428 2001-07-30 Baruch Even <baruch@lyx.org>
15430 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15432 2001-07-29 Baruch Even <baruch@lyx.org>
15434 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15436 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15438 * ParameterStruct.h (endif): add a default constructor to make
15439 sure that all variables is initialized.
15441 * ParagraphParameters.C (ParagraphParameters): adjust
15443 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15445 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15446 index; also, check that there is something to index, and that it
15447 does not span over several paragraphs.
15448 (doubleClick): use WHOLE_WORD_STRICT for double click.
15450 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15452 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15455 2001-07-26 Baruch Even <baruch@lyx.org>
15457 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15458 an InsetFig figure, backwards compatible reading of old figure code.
15460 2001-07-27 Juergen Vigna <jug@sad.it>
15462 * text2.C: font.realize function adaption.
15464 * text.C (draw): add a warnings lyxerr text if needed.
15466 * layout.C: font.realize function adaption.
15468 * language.C: add inherit_language and implement it's handlings
15470 * bufferview_funcs.C (StyleReset): remove language parameter from
15471 font creation (should be language_inherit now).
15473 * bufferparams.C (writeFile): handle ignore_language.
15475 * paragraph.C (getFontSettings): the language has to be resolved
15476 otherwise we have problems in LyXFont!
15478 * lyxfont.C (lyxWriteChanges): added document_language parameter
15479 (update): removed unneeded language parameter
15481 * paragraph.C (validate): fixed wrong output of color-package when
15482 using interface colors for certain fonts in certain environments,
15483 which should not seen as that on the final output.
15485 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15487 * BufferView_pimpl.C:
15492 * LyXAction.C: add thesaurus support
15495 * lyxfind.C: add "once" parameter, for thesaurus, to not
15496 move to the next match
15498 2001-07-26 Juergen Vigna <jug@sad.it>
15500 * lyxfont.C (realize): honor ignore_language too!
15503 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15505 * text.C (draw): one place more for ignore_language to not draw
15508 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15510 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15512 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15514 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15515 the minipage conversion problem.
15517 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15519 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15522 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15524 * BufferView.h: don't forward declare WorkArea
15526 * BufferView.C: don't include WorkArea.h
15528 2001-07-25 André Pönitz <poenitz@gmx.net>
15532 * lyxfunc.C: new LFUN 'math-space'
15534 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15536 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15538 * text2.C (toggleInset): call open/close
15540 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15542 * lyxfunc.C (dispatch): add debug for the disabled case
15544 * font.C (buttonText): make similar to rectText
15546 * buffer.C (readInset): comment out parsing of insetlist and
15549 * PainterBase.C (rectText): small correction
15551 * BufferView_pimpl.C: comment out insettheorem and insetlist
15552 * LyXAction.C: ditto
15553 * commandtags.h: ditto
15555 2001-07-24 Juergen Vigna <jug@sad.it>
15557 * text.C (draw): honor the ignore_language.
15559 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15561 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15563 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15566 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15568 * lyxtext.h: remove unused (and unimplemented) methods
15570 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15572 * text.C (getVisibleRow): honor background color
15575 * Painter.h: remove default color argument for fillRectangle
15577 * text.C (backgroundColor): new method
15579 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15581 * text.C (getVisibleRow): adjust
15583 * font.[Ch] (rectText): new method, metrics
15584 (buttonText): new method, metrics
15586 * PainterBase.[hC]: make rectText and buttonText always draw and take
15589 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15591 * ToolbarDefaults.C (read):
15592 * MenuBackend.C (read): allow escaping in all strings
15594 * BufferView_pimpl.C (insertAndEditInset): new method.
15595 (Dispatch): use insertAndEditInset whenever appropriate.
15597 * BufferView_pimpl.C (insertNote): removed
15599 * BufferView_pimpl.C (smartQuote): new method, moved from
15600 BufferView; if an insetquote cannot be inserted, insert a '"'
15603 * BufferView2.C: remove insertCorrectQuote();
15605 * lyxfunc.C (getStatus): Add support for all remaingin
15606 inset-insert lfuns.
15608 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15610 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15611 command (necessary to pass " as parameter of self-insert.
15613 * text.C (selectWordWhenUnderCursor):
15614 (selectWord): add word_location parameter
15615 (selectWordWhenUnderCursor): same + remove special code for word
15617 (selectNextWord): use kind() to guess type of insetspecialchar,
15620 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15621 (insertErtContents): create ert insets as collapsed.
15622 (readInset): better compatibility code for Info inset.
15624 2001-07-20 Juergen Vigna <jug@sad.it>
15626 * lyxfunc.C (dispatch): use always LyXFind now!
15628 * text2.C (init): add a reinit flag so that the LyXText can be
15629 reinited instead of deleted and reallocated (used in InsetText).
15631 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15637 2001-07-18 Juergen Vigna <jug@sad.it>
15639 * text.C (selectNextWord): handle insets inside inset by calling
15640 always the bv->text functions so that we can go up the_locking_inset!
15642 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15643 in strange locations when inside an inset!
15645 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15646 handling to include insets.
15648 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15650 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15652 * LyXAction.C (init):
15654 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15655 LIGATURE_BREAK, since the name is so stupid.
15657 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15659 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15662 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15664 * sp_form.[Ch]: remove.
15666 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15668 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15671 * src/buffer.C (readInset): ditto.
15673 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15675 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15676 menuSeparator(), endOfSentenceDot(), ldots() and
15677 hyphenationPoint(), which are therefore removed.
15678 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15680 * LyXAction.C (init):
15681 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15683 * paragraph.C (getWord): removed.
15685 * BufferView_pimpl.C (Dispatch): use last word or selection for
15686 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15688 * lyx_main.C (queryUserLyXDir): do not ask before creating
15689 user_dir, except if it has been named explicitely.
15691 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15693 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15694 a document of zero size.
15696 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15698 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15699 approriately in the c-tor and in require().
15700 (getPackages): output the appropriate LaTeX for natbib support.
15702 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15703 variables "use_natbib" and "use_numerical_citations" when reading the
15705 (readInset): read the various natbib cite commands.
15706 (validate): white-space change.
15708 * bufferparams.[Ch]: new variables "bool use_natbib" and
15709 "bool use_numerical_citations".
15710 (writeFile): output them in the LyX file.
15712 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15714 * lyxfunc.C (getStatus): add support for all the inset insertion
15717 * text2.C (insertInset):
15718 * paragraph.C (insetAllowed):
15719 * BufferView_pimpl.C (insertInset): update to take in account the
15720 renaming of insertInsetAllowed
15722 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15724 * text2.C (getInset): new method. returns inset at cursor position.
15726 * BufferView_pimpl.C (Dispatch): changes because of this.
15728 * LyXAction.C (init): rename open-stuff to inset-toggle.
15730 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15732 * text2.C (toggleInset): renamed from openStuff; use
15735 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15737 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15739 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15741 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15743 * buffer.C (readLyXformat2): Add filename to the error dialog
15745 2001-07-18 Juergen Vigna <jug@sad.it>
15747 * tabular.C (GetCellNumber): put an assert here instead of the check!
15749 2001-07-17 Juergen Vigna <jug@sad.it>
15751 * BufferView_pimpl.C (toggleSelection): adapted too.
15753 * text.C (selectNextWord): adapted for use with insets.
15754 (selectSelectedWord): ditto
15756 2001-07-17 Juergen Vigna <jug@sad.it>
15758 * sp_spell.C (PSpell): fix initialitation order.
15760 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15762 * paragraph.C: spacing
15764 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15766 * sp_spell.C: repair language selection for pspell
15768 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15770 * lyxfunc.h: change more methods to begin with lower char.
15772 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15774 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15775 for unknown layouts.
15777 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15779 * buffer.C (readLyXformat2): Generate an error dialog if there are
15782 2001-07-16 Juergen Vigna <jug@sad.it>
15784 * sp_spell.C: always compile ISpell part.
15786 * lyxrc.C: added use_pspell entry and it's handling.
15788 2001-07-13 Juergen Vigna <jug@sad.it>
15790 * sp_spell.C: removed double includes.
15792 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15794 Consistent use of Lsstream.h:
15795 * Lsstream.h: added using std::stringstream for consistencies sake.
15797 * buffer.C: removed using std::stringstream
15799 * lyxfont.C (stateText):
15800 * paragraph.C (asString):
15801 * text.C (selectNextWord, selectSelectedWord):
15802 * text2.C (setCounter):
15803 * vspace.C (asString, asLatexString):
15804 std::ostringstream -> ostringstream.
15806 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15808 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15809 * commandtags.h: add LFUN_HELP_ABOUTLYX
15810 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15812 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15814 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15816 * lyx_gui_misc.C: remove spellchecker
15817 * lyxfunc.C: showSpellchecker
15819 * sp_ispell.h: added
15820 * sp_pspell.h: added
15821 * sp_spell.C: added
15822 * sp_form.[Ch]: removed
15823 * spellchecker.[Ch]: removed
15825 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15827 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15829 (simpleTeXSpecialChars): Simply print the input character without
15830 any special translation if pass_thru is set.
15832 * layout.h: Added bool pass_thru to layout class for being able to
15833 implement pass through of a paragraph for Literate Programming.
15835 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15836 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15837 * layout.C (Read): add "passthru" to list of layout tags and add
15838 code to set the pass_thru boolean when it is read.
15840 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15842 * trans_decl.h: remove allowed from KmodInfo
15844 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15845 remove allowed code
15848 * paragraph_pimpl.C (erase): use boost::prior
15850 * Painter.C (text): use data() instead of c_str() when length is
15852 * WorkArea.C (putClipboard): ditto
15853 * font.h (width): ditto
15855 * BufferView2.C: use it-> instead of (*it). for iterators
15857 * paragraph_pimpl.C: ditto
15858 * paragraph.C: ditto
15859 * minibuffer.C: ditto
15860 * language.C: ditto
15862 * encoding.C: ditto
15863 * counters.C: ditto
15864 * converter.C: ditto
15866 * Variables.C: ditto
15867 * TextCache.C: ditto
15868 * MenuBackend.C: ditto
15869 * LyXAction.C: ditto
15871 * FloatList.C: ditto
15872 * DepTable.C: ditto
15873 * ColorHandler.C (LyXColorHandler): ditto
15875 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15877 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15879 * text2.C (openStuff): reintroduce this method (which had been
15880 nuked in NEW_INSETS frenzy).
15882 * lyxfunc.C (Dispatch): when an action has not been handled, use
15883 its name in the error message, not its number.
15885 * paragraph.C (inInset): change method name to begin with lowercase.
15888 * text2.C: updates because of this.
15890 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15892 * ToolbarDefaults.C (add): add spaces in error message
15894 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15896 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15897 (readLyXformat2): rename return_par to first_par, use lyxlex's
15898 pushToken and remove the manual push handling.
15899 (parseSingleLyXformat2Token): add another ert comp. variable:
15900 in_tabular, rename return_par to first_par. handle newlines better
15902 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15904 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15906 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15908 * text2.C (getParFromID): removed
15910 * buffer.C (getParFromID): new method moved form lyxtext.
15911 * BufferView2.C (insertErrors): adjust
15912 (setCursorFromRow): adjust
15913 * BufferView_pimpl.C (restorePosition): adjust
15914 * lyxfunc.C (Dispatch): adjust
15915 * undo_funcs.C (textUndo): adjust
15917 (textHandleUndo): adjust
15918 (textHandleUndo): adjust
15920 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15922 * buffer.C: up' the LYX_FORMAT
15924 * lyxfont.h: turn NO_LATEX on as default
15926 * buffer.C (insertErtContents): new methods of tex style compability.
15927 (parseSingleLyXformat2Token): use it several places.
15928 * tabular.C (OldFormatRead): and here
15930 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15932 * text2.C: remove some commented code.
15935 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15936 * trans.C: changes because of the above.
15938 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15940 * text2.C (setCounter): Fix counters bug with bibliography layout.
15942 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15944 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15945 own member functions
15946 (simpleTeXSpecialChars): ditto
15948 2001-07-06 Juergen Vigna <jug@sad.it>
15950 * a lot of files: changed the access to LyXText::status and the
15951 call of undo-functions.
15953 * undo.[Ch]: added a inset_id to the undo informations.
15955 * undo_funcs.[Ch]: added and moved here all undo functions.
15957 * lyxtext.h: give the status enum a weight, made status_ a private
15958 variable and made accessor functions for it, removed the whole bunch
15959 of undo-functions as they are now in their own file, make some
15960 functions publically available. Added function ownerParagraph with
15963 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15964 made InInset() a const function, added getParFromID() function.
15966 * buffer.[Ch]: added const version for inset_iterator functions,
15967 added getInsetFromID() function.
15969 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15970 changed undo functions for new version.
15972 2001-07-05 Juergen Vigna <jug@sad.it>
15974 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15975 unknow mechanism does not call the proper constructor but only this
15976 one also if I request the other!?
15978 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15980 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15982 * text2.C (LyXText): use initialization lists.
15984 * lyxtext.h (Selection): initialize set_ and mark_
15985 (init): remove method
15987 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15989 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15991 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15993 * screen.[Ch]: change method names to begin with lowercase
15995 * BufferView_pimpl.C (updateScrollbar): simplify further and
15996 hopefully make it a bit faster.
15998 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16000 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16001 calling directly xforms functions.
16003 * Painter.C (Painter):
16004 * lyx_cb.C (MenuWrite):
16005 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16008 * lyx_gui.C: remove bogus guiruntime extern declaration.
16010 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16012 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16014 (redoDrawingOfParagraph): ditto
16015 (redoParagraphs): ditto
16016 (cutSelection): don't create a object for CutAndPaste use the
16017 static method directly
16018 (pasteSelection): ditto
16020 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16023 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16025 * modifications to some other files because of this.
16027 * Makefile.am (lyx_SOURCES): add XFormsView
16029 * XFormsView.[Ch]: new files
16031 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16032 the main window. Move the gui dependent stuff to XFormsView
16034 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16036 * tabular.C (GetCellInset): update cur_cell also in the row/col
16037 version of this function.
16039 * lyxfunc.C: no need to include figure_form.h here.
16045 * lyxvc.C: no need to include forms.h here.
16047 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16049 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16051 * lyxfunc.C (Dispatch):
16053 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16054 constructor argument.
16056 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16058 * paragraph.C (Paragraph): dont't clear, and just set layout.
16059 (makeSameLayout): use params's copy contructor.
16061 * ParagraphParameters.[Ch] (makeSame): delete method
16063 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16065 * Variables.[Ch]: fix indentation, rename set to isSet
16067 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16069 * lyxfunc.C (Dispatch): fix typo
16071 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16073 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16076 * bufferlist.C: include assert.h for emergencyWrite().
16078 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16080 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16081 give up at last (bug #425202) !
16083 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16089 * spellchecker.C: strip spellchecker options and bring up
16090 preferences tab instead
16092 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16094 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16095 the istringstream constructor
16097 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16099 * paragraph.C (getLayout): fix return value
16101 * paragraph.h: do not declare getLayout as inline.
16103 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16105 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16107 * lyxcursor.h (operator<): new func
16108 (operator>): new func
16109 (operator>=): new func
16110 (operator<=): new func
16112 * text.C (changeCase): use selection.start and selection.end
16113 (changeRegionCase): require from to be <= to. Require par to be a
16116 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16118 2001-06-27 Juergen Vigna <jug@sad.it>
16120 * text.C (cursorLeftOneWord): changed to return the cursor and added
16121 overlay with BufferView * parameter which calls this one.
16123 (selectWord): use new getWord function.
16124 (changeCase): renamed from changeWordCase as and extended to work
16125 also on selections.
16127 * lyxtext.h: added enum word_location
16129 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16130 changeCase as this operates now also on selections.
16132 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16134 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16136 * many files: send debug output to Debug::INFO instead of
16139 * converter.C (View):
16141 (Move): send debug output to Debug::FILES instead of console.
16143 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16145 * lyxfunc.C (getStatus): use func_status
16147 * func_status.h: new header, describing the results of
16148 LyXFunc::getStatus;
16150 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16153 2001-06-25 The LyX Project <jug@sad.it>
16155 * buffer.C (sgmlOpenTag):
16157 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16159 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16161 * text2.C: remove some dead code
16163 * tabular.C (GetCellInset): store the last cell checked (gotten)
16165 * tabular.h: add the helper for the speedup
16167 * lyxtext.h: remove some dead code
16169 2001-06-26 The LyX Project <Asger>
16171 * paragraph.C: Change export to LaTeX of alignment to
16172 \begin{center} and family for better roundtrip work with reLyX.
16174 * Tune the math drawing a bit.
16176 2001-06-25 The LyX Project <Asger>
16178 * LColor.C (LColor): New color for math background. New color
16181 2001-06-25 The LyX Project <jug@sad.it>
16183 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16185 * lyxfunc.C (Open):
16186 * bufferlist.C (newFile): do not restrict to files ending with
16189 * BufferView_pimpl.C (MenuInsertLyXFile):
16191 2001-06-24 The LyX Project <jug@sad.it>
16193 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16196 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16198 * lyxtext.h: rename most methods to begin with a small char.
16199 Lots of changes because of this.
16201 * paragraph.C (Paragraph): do not call fitToSize
16202 (erase): call Pimpl::erase
16203 (insertChar): call Pimpl::insertChar
16204 (insertInset): call Pipl::insertInset
16205 (breakParagraph): do not call fitToSize
16206 (breakParagraphConservative): do not call fitToSize
16207 (fitToSize): remove method
16209 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16211 2001-06-24 The LyX Project <Asger>
16213 * Fix Qt compilation^2
16215 2001-06-24 The LyX Project <jug@sad.it>
16217 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16218 depthHook(getDepth()-1).
16221 * ParagraphParameters.h:
16222 * ParameterStruct.h: change type of depth to unsigned int ==
16223 depth_type. Many adaptations to other files before of that.
16225 2001-06-24 The LyX Project <Asger>
16227 * Fix Qt compilation.
16229 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16231 * paragraph.h: renamed several methods to begin with small letter.
16232 several changes to many parts of the code because of this.
16234 2001-06-23 The LyX Project <jug@sad.it>
16236 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16237 rewritten to discard all double spaces when KeepEmpty is off
16238 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16239 to only handle newlines but not fiddle with spaces and friends.
16241 * lyxfunc.C (MenuNew): when doing 'new from template', use
16242 template_path as default directory
16244 2001-06-23 The LyX Project <Asger>
16246 * Clean-up of header file includes all over
16247 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16249 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16251 * paragraph.h: renamed from lyxparagraph.h
16253 2001-06-23 Asger <lyx@violet.home.sad.it>
16255 * Buffer.h: Removed Buffer::resize
16256 * BufferList.h: Removed BufferList::resize
16257 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16258 the document lazily when we change the width, or the font settings.
16260 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16262 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16264 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16266 * buffer.h: remove out of date comment
16268 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16271 * screen.C: fix "theoretical" GC leak
16273 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16275 * LaTeX.C (scanAuxFile):
16276 (deplog): remove trailing \r when reading stream (useful under
16279 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16281 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16282 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16283 and BufferView::theLockingInset(Inset*), so should use them and not
16284 access bv_->text->the_locking_inset directly.
16286 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16288 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16291 * tex-defs.h: remove old unused file
16293 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16295 * BufferView_pimpl.C: fix typo, remove minibuffer message
16296 when buffer has loaded
16298 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16300 * lyxfunc.C (Dispatch): use stringstream
16301 (MenuNew): use stringstream
16302 (Open): use stringstream
16304 * importer.C (Import): use stringstream
16306 * bufferview_funcs.C (CurrentState): use stringstream
16308 * LaTeX.C (run): use stringstream
16310 * BufferView_pimpl.C (savePosition): use stringstream
16311 (restorePosition): use stringstream
16312 (MenuInsertLyXFile): use stringstream
16314 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16327 * vspace.C: removed // -*- C++ -*- as first line.
16330 * version.h: added // -*- C++ -*- as first line.
16332 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16334 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16336 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16339 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16341 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16344 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16346 * gettext.C: include LString.h even when --disable-nls is on.
16348 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16350 * converter.h (Get): changed argument type from int to
16351 FormatList::size_type to avoid unnecessary conversion.
16353 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16356 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16358 * gettext.h: include LString.h even when --disable-nls is on.
16360 2001-06-07 Juergen Vigna <jug@sad.it>
16362 * text.C (BreakAgain): subst spaces with tabs.
16364 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16365 (resizeInsetsLyXText): set force on resizeLyXText.
16367 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16369 * gettext.h (gettext_init):
16370 (locale_init): use a real definition instead of a macro
16372 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16374 * Bufferview_pimpl.C:
16376 * LColor.C: further lcolor tidies
16378 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16380 * BufferView_pimpl.C (updateScrollbar): simplify.
16382 * BufferView2.C: don't include insets/insetinfo.h, change
16383 prototype for insertInset and call the Pimpl version. let
16384 updateInset call Pimpl version.
16386 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16387 gotoInset to BufferView::Pimpl
16389 2001-06-01 Juergen Vigna <jug@sad.it>
16391 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16392 inside a LockingInset (is the update needed at all?).
16394 2001-05-31 Juergen Vigna <jug@sad.it>
16396 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16397 here not the old one otherwise how should we compare it afterwards
16400 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16405 * FontInfo.C: bring C functions into global namespace when
16408 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16410 * LString.h: make sure config.h has been loaded before LString.h.
16412 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16413 (one for each char read by EatLine!).
16415 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16418 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16420 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16421 to the same as the par we break from
16423 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16425 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16427 * MenuBackend.C (expand): also create menu entries for wide
16428 versions of the floats.
16430 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16432 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16434 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16435 frontends/Makefile.am
16441 * tabular.C (getTokenValue): add std::
16443 * tabular-old.C (getTokenValue): add std::
16444 (getTokenValue): ditto
16445 (getTokenValue): ditto
16447 * screen.C (ToggleSelection): adjust
16449 * lyxtext.h: put selection cursors inside a Selection struct.
16451 * lyxfunc.C (moveCursorUpdate): adjust
16453 * lyxfont.C (latexWriteStartChanges): add std::
16455 * lyxfind.C: adjust
16457 * font.h: delete with(char const *, LyXFont const &)
16459 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16461 * FontInfo.C (getFontname): add std::
16463 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16464 (workAreaButtonPress): adjust
16465 (tripleClick): adjust
16467 (moveCursorUpdate): adjust
16470 * BufferView2.C (gotoInset): adjust
16472 2001-05-30 Juergen Vigna <jug@sad.it>
16474 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16475 to check pspell I add this as default as I now have new pspell
16476 libraries and they seem to use this.
16478 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16480 * text2.C (CutSelection): make the cursor valid before the call to
16483 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16485 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16486 relied on 0 terminated strings and other horrors. Bug found due to
16487 the new assert in lyxstring!
16489 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16492 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16494 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16497 * lyxfunc.C (processKeySym): change method of getting to the
16500 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16501 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16502 * BufferView_pimpl.[Ch]: here as private methods.
16504 2001-05-28 Juergen Vigna <jug@sad.it>
16506 * text.C (SetHeightOfRow): added the update() call again as it is
16507 needed to initialize inset dimensions!
16509 2001-05-16 Juergen Vigna <jug@sad.it>
16511 * text2.C (SetCharFont): Add new function with BufferView * and
16512 bool toggleall parameters for setting insets internal fonts.
16513 (SetFont): Freeze the undo as we may change fonts in Insets and
16514 all this change should be inside only one Undo!
16516 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16517 setting font's in insets as for them we have the SetFont function!
16519 2001-05-15 Juergen Vigna <jug@sad.it>
16521 * text2.C (ClearSelection): to be sure we REALLY don't have any
16524 * tabular.C (TeXCellPreamble): fixed the left border problem for
16527 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16529 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16532 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16534 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16535 LFUN_BREAKPARAGRAPH.
16537 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16538 help test to "internal only", similar for LFUN_INSERT_URL
16540 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16541 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16542 auto_region_delete and deadkeys.
16544 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16547 * LColor.C: remove some dead entries, tidy a little
16549 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16551 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16553 (Dispatch): implement LFUN_ESCAPE
16555 * commandtags.h: add LFUN_ESCAPE
16557 * LyXAction.C (init): add entry for LFUN_ESCAPE
16559 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16560 Remove commented code.
16561 (insertNote): moved here
16562 (open_new_inset): moved here
16564 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16567 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16569 * kbmap.C (findbinding): clean it up and make it work correctly.
16571 * lyx_main.C (init): do not pass argc and argv as parameters
16573 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16575 * buffer.C: fix path for OS/2 & Win32
16579 * lyx_main.C: Added os:: class.
16581 * os2_defines.h: update
16583 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16585 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16586 better by trying again with reduced state.
16588 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16590 * lyxrc.C (read): print error about invalid key sequence only when
16591 debugging (because not all latinX keysyms are known to some X
16594 * kbsequence.C (getiso): add a few std:: qualifiers
16595 (getiso): comment out extra return statement.
16597 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16599 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16601 (Dispatch): enhance the accent inset a bit. (not perfect)
16603 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16605 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16607 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16609 * bufferlist.C (emergencyWrite): fix assert() call
16611 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16613 * text.C (InsertChar): Added trivial patch to only send the "you
16614 can not do multiple spaces this way" message once during a
16617 2001-05-08 Baruch Even <baruch@lyx.org>
16619 * Makefile.am: Changed order of libraries to get LyX to link properly
16620 with the gnome frontend.
16622 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16624 * LaTeXFeatures.h: add a std:: qualifier
16626 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16628 * paragraph.C (String): use stringstream
16630 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16632 * paragraph.C (writeFile): remove footflag arg
16634 * buffer.C (makeLaTeXFile): use stringstream
16635 (latexParagraphs): remove footnot gurba
16637 * LaTeXFeatures.C (getPackages): use stringstream
16638 (getMacros): likewise
16639 (getTClassPreamble): likewise
16640 (getFloatDefinitions): new method
16642 * paragraph.C (writeFile): reindent
16645 * WorkArea.h: revert the xpos + etc changes.
16647 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16649 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16651 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16652 (pasteSelection): likewise
16653 * text2.C (CreateUndo): likewise
16655 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16657 * minibuffer.C (peek_event): temporarily reduce the functionality
16658 of the minibuffer (to allow args on lfuns)
16660 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16661 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16663 * buffer.C (readInset): add compability reading of old float
16664 lists, add reading of new style float list.
16665 (readInset): avoid reevaluation of inscmd.getCmdName()
16666 (getLists): reindent
16668 * MenuBackend.C (MenuItem): implement parsing of
16669 md_floatlistinsert and md_floatinsert.
16670 (expand::LastFiles): move initalizaton of iterators out of loop,
16671 avoid reevaluation.
16672 (expand::Documents): introduce typdedef vector<string> Strings,
16674 (expand::ExportFormats): introduce typedef vector<Format const *>
16675 Formats, and use it.
16676 (expand): implement FloatListInsert and FloatInsert.
16678 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16679 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16680 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16682 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16684 (Dispatch::LFUN_FLOAT_LIST): implement
16686 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16688 * LaTeX.C (run): Fix problem with --export code.
16690 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16692 * BufferView.[Ch] (workarea): removed.
16693 (getClipboard) new method; wrapper for workarea()->getClipboard()
16695 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16698 * WorkArea.h (width, height, xpos, ypos): These methods all
16699 returned the dimensions of the work_area sub-area of WorkArea,
16700 resulting in a position error if the WorkArea were resized. Now
16701 return the dimensions of the entire WorkArea.
16703 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16705 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16707 * LaTeX.C (deplog): correct the syntax of regex reg1
16709 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16711 * undo.C: remove !NEW_INSETS cruft
16713 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16715 * text2.C: remove !NEW_INSETS cruft
16717 * text.C: remove !NEW_INSETS cruft
16719 * tabular.C: remove !NEW_INSETS cruft
16721 * spellchecker.C: remove !NEW_INSETS cruft
16723 * lyxtext.h: remove !NEW_INSETS cruft
16725 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16727 * lyxfunc.C: remove !NEW_INSETS cruft
16729 * lyxfind.C: remove !NEW_INSETS cruft
16731 * lyx_cb.C: remove !NEW_INSETS cruft
16733 * figureForm.C: remove !NEW_INSETS cruft
16735 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16737 * buffer.[Ch]: remove !NEW_INSETS cruft
16739 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16741 * CutAndPaste.C: remove !NEW_INSETS cruft
16743 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16745 * BufferView2.C: remove !NEW_INSETS cruft
16747 * BufferView.h: remove !NEW_INSETS cruft
16749 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16751 * Lsstream.h: include LString.h before the sstream headers to
16752 fix problem with gcc 2.95.3 and lyxstring
16754 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16756 * lyx_main.C: add using directives when needed for C functions
16757 declared in std:: namespace.
16759 2001-04-27 Juergen Vigna <jug@sad.it>
16761 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16762 (SetHeightOfRow): comment out the update call should not be needed!
16764 2001-04-13 Juergen Vigna <jug@sad.it>
16766 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16767 (LyXTabular): tried to minimize operator= operations (and realized
16768 hopfully Lars wish).
16770 2001-04-27 Juergen Vigna <jug@sad.it>
16772 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16774 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16776 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16778 * buffer.C (readInset): hack to make listof algorithm work
16780 * BufferView_pimpl.C: hack to make listof algorithm work
16782 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16784 * LyXAction.C: removed all !NEW_INSETS cruft
16785 (init): moved lfun_item in method
16787 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16789 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16791 * BufferView2.C (theLockingInset): white space.
16793 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16795 * minibuffer.C: include <iostream>
16797 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16799 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16801 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16803 * text.[Ch] (TransposeChars): new method
16805 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16807 * call message directly through LyXView instead of through LyXFunc
16808 * BufferView2.C: adjust
16809 * BufferView_pimpl.C: adjust
16810 * FontLoader.C: adjust
16812 * bufferview_funcs.C: adjust
16813 * converter.C: adjust
16814 * figureForm.C: adjust
16815 * importer.C: adjust
16817 * lyx_gui_misc.C: adjust
16818 * lyxfunc.C: adjust
16821 + more files in subdirs
16823 * lyxparagraph.h (size): move up int file
16826 * adjust all uses of Assert to lyx::Assert.
16828 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16829 lyxfunctional in namespace lyx
16830 * layout.C (hasLayout): ditto
16833 (delete_layout): ditto
16834 (NumberOfClass): ditto
16835 * converter.C (GetFormat): ditto
16840 * bufferlist.C (getFileNames): ditto
16841 (emergencyWriteAll): ditto
16844 * MenuBackend.C (hasSubmenu): ditto
16847 * BufferView_pimpl.C (getInsetByCode): ditto
16849 2001-04-18 Juergen Vigna <jug@sad.it>
16851 * vspace.C (asLatexString): fixed the 100% problem.
16853 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16855 * lyxfunc.C (Dispatch):
16857 * minibuffer.h: add a few std:: qualifiers
16859 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16861 * minibuffer.[Ch]: reimplement so that commands is initiated and
16862 run from lyxfunc, simplified som handling, and made the completion
16863 and history code for complete. wip.
16865 * lyxfunc.C (processKeySym): call message
16866 (miniDispatch): new temporary method
16867 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16868 (LFUN_MESSAGE): implement
16869 (LFUN_MESSAGE_PUSH): implement
16870 (LFUN_MESSAGE_POP): implement
16871 (initMiniBuffer): the initial/defualt minibuffer message.
16873 * lyxfont.[Ch]: inline some more getters
16875 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16877 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16879 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16880 (AutoSave): use LFUN_MESSAGE
16881 (Reconfigure): ditto
16883 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16885 * figureForm.C: use LFUN_MESSAGE
16887 * converter.C (runLaTeX): use LFUN_MESSAGE
16889 * bufferview_funcs.C: use LFUN_MESSAGE
16891 (changeDepth): ditto
16893 * bufferparams.h: use boost::
16895 * bufferlist.h: inherit privately from noncopyable
16897 * bufferlist.C (loadLyXFile): remove some commented code.
16899 * buffer.C (runChktex): use LFUN_MESSAGE
16901 * ShareContainer.h: inherit privately from noncopyable
16903 * ParagraphParameters.[hC] (depth): inline it.
16905 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16907 (message): new method
16908 (messagePush): ditto
16909 (messagePop): ditto
16910 (show): init minibuffer
16911 (showState): direct call
16913 * LaTeX.[Ch]: inherit privately from noncopyable
16914 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16915 instead of WriteStatus.
16917 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16919 * BufferView_pimpl.C (buffer): don't init minibuffer
16920 (workAreaButtonPress): use LFUN_MESSAGE
16921 (workAreaButtonRelease): ditto
16922 (savePosition): ditto
16923 (restorePosition): ditto
16924 (MenuInsertLyXFile): ditto
16925 (workAreaExpose): don't init minibuffer
16926 (update): remove commented code, simplify
16928 * BufferView2.C (openStuff): use LFUN_MESSAGE
16929 (toggleFloat): ditto
16932 (copyEnvironment): ditto
16933 (pasteEnvironment): ditto
16938 (updateInset): remove some commented code
16940 * lastfiles.h: inherit privately from noncopyable
16943 * lyx_main.h: ditto
16945 * lyxlex_pimpl.h: ditto
16947 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16948 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16949 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16951 * LyXAction.h: inherit privately from noncopyable, add methods
16952 func_begin, func_end, returning iterators to the func map.
16954 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16955 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16956 (func_begin): new method
16957 (func_end): new method
16959 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16961 (copySelection): ditto
16962 (pasteSelection): ditto
16964 * BufferView.C: whitespace change
16965 * BufferView.h: inherit privately from noncopyable
16967 2001-04-16 Allan Rae <rae@lyx.org>
16969 * tabular-old.C (l_getline):
16970 * spellchecker.C (sc_check_word):
16971 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16972 an unrecognised preprocessor directive. So ensure they're wrapped.
16974 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16976 * src/exporter.C (Export): Give an error message when path to file
16979 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16981 * LaTeX.C (deplog): Always check that foundfile exists.
16983 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16986 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16988 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16990 * tabular.[Ch] (getLabelList): implement new method
16992 * minibuffer.h: comment ouf setTiimer
16994 * minibuffer.C (ExecutingCB): constify res
16995 (peek_event): constify s
16996 (Set): constify ntext
16997 (Init): constify nicename
16999 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17001 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17002 (savePosition): use two params to Minibuffer::Set
17003 (restorePosition): ditto
17005 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17007 * lyx_main.C: include language.h
17009 * Makefile.am (lyx_main.o): add language.h
17011 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17017 * CutAndPaste.C: include gettext.h
17019 * lyxfont.h: remove old hack with ON and OFF.
17022 * lyxfont.h: do not include language.h...
17027 * bufferview_funcs.C:
17033 * paragraph.C: ... but do it here instead
17035 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17037 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17039 * tabular.C: small reformat
17041 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17044 (BreakParagraph): ditto
17045 (SetOnlyLayout): ditto
17048 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17051 * lastfiles.C: removed most using decl, add std:: where needed
17053 * buffer.C: ws changes
17055 * MenuBackend.C (class compare_format): put into anon namespace
17056 (expand): constify label, names, action, action2
17059 * text.C (SingleWidth): constify font
17060 (IsBoundary): constify rtl2
17061 (GetVisibleRow): constify ww
17063 * LaTeX.C (deplog): constify logfile
17065 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17067 (workAreaExpose): constify widthChange, heightChange
17069 * lyxrow.C (par): moved
17072 * lyxrow.h: as inlines here
17074 * lyxfont.h (shape): moved from lyxfont.C
17075 (emph): moved from lyxfont.C
17077 * lyxfont.C (LyXFont): use initialization list for all
17079 (shape): move to lyxfont.h as inline
17080 (emph): move to lyxfont.h as inline
17083 2001-04-04 Juergen Vigna <jug@sad.it>
17085 * vspace.C: had to include stdio.h for use of sscanf
17087 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17090 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17091 independent of xforms.
17093 2001-04-02 Juergen Vigna <jug@sad.it>
17095 * spellchecker.C: fixed namespace placing!
17097 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17099 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17100 the LyXParagraph * is 0.
17102 2001-03-29 Juergen Vigna <jug@sad.it>
17104 * vspace.C: added support for %, c%, p%, l%.
17105 (stringFromUnit): added helper function.
17106 (asLatexString): changed to give right results for the %-values.
17108 * buffer.C: convert the widthp in a width%.
17110 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17112 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17115 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17116 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17118 * lyx_cb.[Ch]: see above.
17120 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17124 * lyx.[Ch]: replaced by figure_form.[Ch].
17128 * lyxfunc.C: changed headers associated with above changes.
17130 2001-03-27 Juergen Vigna <jug@sad.it>
17132 * BufferView_pimpl.C: set the temporary cursor right!
17134 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17136 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17138 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17140 * LString.h: removed "using std::getline"!
17142 * BufferView_pimpl.C (Dispatch): changes due to changes in
17143 InsetInclude::Params.
17145 * buffer.C (tag_name): removed redundant break statements as they were
17146 producing lots of warnings with my compiler.
17148 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17150 * LString.h: add "using std::getline" when using the real <string>.
17152 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17154 * buffer.C: removed bitset usage.
17155 PAR_TAG moved to an anonymous name space.
17156 (tag_name): new funtion, also in the anonymous namespace.
17157 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17158 (makeDocBookFile): clean code. Completed transition from string arrays
17160 (SimpleDocBookOnePar): code clean.
17162 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17164 * tabular.C: add some comments.
17166 2001-03-22 Juergen Vigna <jug@sad.it>
17168 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17169 compatibility read a bit and fixed bug with minipage in different
17172 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17174 * buffer.C (pop_tag): removed.
17175 (push_tag): removed.
17176 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17177 array replaced with vector. Added support for CDATA sections.
17178 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17180 (makeDocBookFile): XML conformant declaration of CDATA section,
17181 fixed bug related to <emphasis> in the first paragraph char.
17182 (sgmlOpenTag): exclude empty tags.
17183 (sgmlCloseTag): ditto.
17185 * buffer.h (pop_tag): removed.
17186 (push_tag): removed.
17188 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17190 * language.h (Languages): added size_type and size().
17192 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17194 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17195 response on compability reading of minipages. One probliem is that
17196 the old usage of minipages was «flertydig»
17198 * several files here and in subdirs: don't use static at file
17199 scope use anon namespaces instead.
17201 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17203 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17204 LaTeX output. This is necessary for Literate document
17207 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17209 * buffer.C: insert hfill when needed.
17211 * tabular.C (l_getline): use string::erase, small whitespace change.
17213 * BufferView_pimpl.C: try the anon namespace.
17214 * WorkArea.C: ditto
17216 2001-03-16 Juergen Vigna <jug@sad.it>
17218 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17219 otherwise it won't open options-dialogs.
17221 * buffer.C: honor pextraWidth(p) on converting minipages.
17223 * tabular.C (l_getline): changed the functions to strip trailing \r.
17225 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17227 * BufferView_pimpl.C:
17228 * minibuffer..C: added "using SigC::slot" declaration.
17230 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17232 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17238 * paragraph.C: ditto
17240 * lyxtext.h: NO_PEXTRA
17242 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17244 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17245 * ParameterStruct.h: ditto
17246 * ParagraphParameters.h: ditto
17247 * lyxparagraph.h: ditto
17249 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17251 * buffer.C: add compability for minipage alignment.
17252 (latexParagraphs): remove unwanted pextra check.
17254 * several files: remove CXX_WORKING_NAMESPACES
17256 * buffer.C (pop_tag): tie is in namespace boost
17258 * BufferView.h: noncopyable is in namespace boost
17260 * lyx_main.h: ditto
17263 * lastfiles.h: ditto
17264 * bufferlist.h: ditto
17265 * ShareContainer.h: ditto
17267 * LyXAction.h: ditto
17270 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17272 * Merging changes from BRANCH_MVC back into HEAD.
17274 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17276 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17278 * BufferView_pimpl.C: change from intl.C
17282 * Makefile.am: move combox.*
17288 * intl.C: remove dialog (covered by prefs)
17290 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17292 * lyxfunc.C (Dispatch): removed redundant break statement.
17294 2001-03-14 Juergen Vigna <jug@sad.it>
17296 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17298 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17300 * buffer.C: add hack to fix compability reading of minipages.
17302 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17304 * buffer.C (getLists): Cleanup.
17306 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17308 * lyxfont.C (update): don't honor toggleall on font size.
17310 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17314 * Makefile.am: moved to frontends/xforms/
17318 * BufferView_pimpl.C: changes for moved mathpanel
17320 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17322 * gettext.h: fix gettext_init() in --disable-nls
17324 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17326 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17328 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17331 * lyx.h: strip external form
17333 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17335 * BufferView_pimpl.C: add comment, destroySplash()
17337 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17339 * BufferView_pimpl.C:
17343 * lyxfunc.C: use re-worked insetinclude
17345 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17347 * buffer.C: add using std::stringstream.
17349 * lyx_cb.C: readd using std::ios.
17351 * buffer.C: add using std::map.
17353 * BufferView_pimpl.C: add using std::vector.
17355 * ShareContainer.h: add std:: to swap.
17357 * buffer.h: add some typedefs
17358 * buffer.C (getLists): use them
17359 (getLists): renamed from getTocList.
17360 add a counter for the different float types and use it in the
17362 (getLists): use the same counter for the NEW_INSETS and the "non"
17365 * lyx_cb.h: remove unused items, includes, using etc.
17367 * ShareContainer.h: remove some commented code, add more comments
17368 and "documentation".
17370 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17372 * buffer.C (getTocList): make the list also when NEW_INSETS is
17375 * buffer.h: remove TocType
17377 * buffer.C (getTocList): change to return a map<string,
17378 vector<TocItem> >, implement for dynamic number of list.
17380 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17381 * text2.C (PasteSelection): adjust
17382 * CutAndPaste.C (pasteSelection): adjust
17384 * FloatList.C (FloatList): update from the new_insets branch.
17385 * Floating.[Ch]: ditto
17386 * LaTeXFeatures.C: ditto
17388 * lyxlex_pimpl.C: ditto
17390 * paragraph.C (Last): remove when NEW_INSETS is defined.
17392 * other file: changes because of the above.
17394 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17396 * lyxparagraph.h: rename next to next_, previous to previous_,
17397 make them private for NEW_INSETS. Rename Next() to next(),
17398 Previous() to previous().
17400 * other files: changes because of the above.
17402 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17405 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17408 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17410 * main.C (main): pass lyx_localedir to gettext_init().
17412 * gettext.h: remove locale_init and gettext_init macros
17414 * gettext.C (locale_init): new function
17415 (gettext_init): new function
17417 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17420 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17422 * Moved credits to frontends:
17423 * credits.[Ch]: removed
17424 * credits_form.[Ch]: removed
17425 * lyx_gui_misc.C: remove credits stuff
17428 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17430 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17432 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17433 unneeded destructor.
17435 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17436 a standalone pointer again.
17438 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17440 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17446 * ToolbarDefaults.C:
17455 * BufferView_pimpl.C: use new file dialog in GUII
17458 * lyx_cb.C: remove LayoutsCB to Toolbar
17460 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17462 * ShareContainer.h (get): add std:: qualifier
17464 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17466 * ShareContainer.h: define a proper ShareContainer::value_type
17467 type (and use typename to please compaq cxx)
17469 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17471 * lyxparagraph.h: move serveral local vars to
17472 ParameterStruct/ParagraphParameters., use ShareContainer in
17473 FontTable., make vars in FontTable private and add getter and
17476 * paragraph.C: changes because of the above.
17478 * lyxfont.h: remove copy constructor and copy assignment. (the
17479 default ones is ok), move number inside FontBits. move inlines to
17482 * lyxfont.C: add number to initializaton of statics, move several
17483 inlines here. constify several local vars. some whitespace
17484 cleanup. Dont hide outerscope variables.
17486 * Spacing.h: add two new constructors to match the set methods.
17488 * ShareContainer.h: new file, will perhaps be moved to support
17490 * ParameterStruct.h: new file
17492 * ParagraphParameters.h: new file
17494 * ParagraphParameters.C: new file
17496 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17497 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17499 * BufferView_pimpl.C: ParagraphParameter changes.
17500 * buffer.C: Likewise.
17501 * bufferview_funcs.C: Likewise.
17502 * text.C: Likewise.
17503 * text2.C: Likewise.
17505 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17507 * lyxfind.C (LyXReplace): do not redefine default argument in
17509 (IsStringInText): ditto
17510 (SearchForward): ditto
17511 (SearchBackward): ditto
17513 2001-03-06 Juergen Vigna <jug@sad.it>
17515 * lyxfind.C (IsStringInText): put parentes around expressions.
17517 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17519 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17521 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17523 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17525 * stl_string_fwd.h: add comment
17527 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17530 * tabular.C: remove unused DocBook methods
17536 killed DO_USE_DEFAULT_LANGUAGE
17538 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17540 * lyx_gui.C: do not include language.h.
17542 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17543 arguments in function implementation.
17545 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17547 * BufferView_pimpl.C: add <ctime>
17549 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17551 * BufferView_pimpl.C: add using std::find_if
17553 2001-02-27 José Matos <jamatos@fep.up.pt>
17555 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17558 2001-02-11 José Matos <jamatos@fep.up.pt>
17560 * buffer.C (makeDocBookFile): command styles now have a parameter as
17561 "title" by default.
17563 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17565 * layout_forms.[Ch]: removed
17566 * lyx_cb.[Ch]: out character
17567 * lyx_gui.C: out character
17568 * lyx_gui_misc.C: out character
17569 * bufferview_funcs.C: : out character,
17570 added toggleall as parameter in ToggleAndShow
17572 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17574 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17576 * text2.C (SetCurrentFont): Disable number property at boundary.
17578 2001-02-26 Juergen Vigna <jug@sad.it>
17580 * lyxfunc.C (getStatus): added a string argument override function so
17581 that this is correctly called from LyXFunc::Dispatch if it contains a
17582 do_not_use_argument which is used!
17583 (Dispatch): added check for "custom" export and call appropriate func.
17585 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17587 * lyxrc.C: Add language_command_local, language_use_babel and
17588 language_global_options.
17590 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17592 * buffer.C (makeLaTeXFile): Use language_use_babel and
17593 language_global_options.
17595 2001-02-23 Juergen Vigna <jug@sad.it>
17597 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17598 which works with LyXText and putted it inside BufferView. Here now we
17599 only call for that part the BufferView::Dispatch() function.
17601 * BufferView.C (Dispatch): added.
17603 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17604 functions which needs to use a LyXText over from LyXFunc.
17605 (MenuInsertLyXFile): added
17606 (getInsetByCode): added
17607 (moveCursorUpdate): added
17608 (static TEXT): added
17610 2001-02-22 Juergen Vigna <jug@sad.it>
17612 * BufferView_pimpl.C (update): call a status update to see if LyXText
17615 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17617 * vc-backend.C (revert): implement for CVS
17618 (getLog): implement for CVS
17620 2001-02-20 Juergen Vigna <jug@sad.it>
17622 * text2.C (ClearSelection): added BufferView param for inset_owner call
17624 * lyxfunc.C (TEXT): added this function and use it instead of
17625 directly owner->view()-text of getLyXText().
17627 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17629 * src/layout_forms.C: out preamble
17630 * src/layout_forms.h: out preamble
17631 * src/lyx_cb.C: out preamble
17632 * src/lyx_cb.h: out preamble
17633 * src/lyx_gui.C: out preamble
17634 * src/lyx_gui_misc.C: out preamble
17635 * src/lyxfunc.C: connect with guii preamble
17637 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17639 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17641 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17643 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17644 whether to run bibtex.
17646 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17648 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17650 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17652 * Makefile.am (lyx_SOURCES): removed bibforms.h
17654 * vspace.h: doxygen
17656 * text.C (GetVisibleRow): make several local vars const
17658 * tabular.C: small cleanup.
17660 * lyxserver.C (callback): use compare instead of strncmp
17662 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17663 inlines to after class or to paragraph.C
17665 * lyxfont.h: remove friend operator!=
17667 * converter.h: move friend bool operator< to non friend and after
17670 * combox.h: small cleanup
17672 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17673 to inlines after class def.
17675 * buffer.C (pop_tag): use string operations instead of strcmp
17677 * bmtable.c: doxygen, small cleanup
17679 * LaTeX.h: remove friend operator==
17681 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17693 * BufferView_pimpl.C:
17694 * BufferView.[Ch]: remove cruft
17696 2001-02-14 Juergen Vigna <jug@sad.it>
17698 * lyxfunc.C: removed #if 0 unused code
17700 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17702 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17704 * text2.C (SetSelection): added a BufferView * parameter
17706 2001-02-13 Juergen Vigna <jug@sad.it>
17708 * lyxfunc.C (Dispatch): fixed protected blank problem.
17709 * BufferView2.C (protectedBlank): added LyxText * parameter.
17711 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17712 (AppendColumn): same as above for column_info.
17714 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17715 (moveCursorUpdate): use a LyXText param for support of InsetText.
17717 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17718 (tripleClick): ditto
17720 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17722 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17724 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17726 * text2.C (SetSelection): set correct update status if inset_owner
17727 (ToggleFree): ditto
17729 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17731 * tabular.C: remove some commented code.
17733 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17735 * BufferView_pimpl.C: call hideSplash()
17737 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17740 * bibforms.h: remove
17743 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17744 add LFUN_CHILD_CREATE
17746 * counters.h: fix tiny typo
17751 * lyx.C: move splash to frontends/xforms/
17753 * lyx_gui_misc.C: move Include and Bibform to frontends
17755 * lyxvc.h: clarify comment
17757 * vspace.C: tiny housekeeping
17759 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17761 * text.C (PrepareToPrint): RTL Fix.
17763 * paragraph.C (GetUChar): New method.
17764 (String): Use GetUChar.
17766 * buffer.C (asciiParagraph): Use GetUChar.
17768 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17770 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17772 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17775 * buffer.C: rename to getLogName(), handle
17776 build log / latex log nicely
17778 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17781 * MenuBackend.h: remove support for reference menuitem type.
17783 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17785 * BufferView_pimpl.C: housekeeping
17786 * BufferView_pimpl.h:
17791 * minibuffer.h: move Timeout GUI-I
17793 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17795 * lyxrc.C (read): Update converters data-structures.
17797 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17799 * LaTeX.h (operator!=): add operator != for Aux_Info
17801 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17803 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17805 * LaTeXLog.C: deleted, useful code moved to Buffer
17808 * buffer.C: new function getLatexLogName()
17814 * lyxfunc.C: use frontends for LaTeX and VC logs
17816 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17818 * LaTeX.h: yet another std:: that Allan forgot.
17820 * Variables.C (set): renamed from isset(), because this clashes
17821 with some HP-UX macros (grr).
17823 2001-02-06 Allan Rae <rae@lyx.org>
17825 * LaTeX.h: Another bug fix. Missing std:: this time.
17827 2001-02-04 Allan Rae <rae@lyx.org>
17829 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17830 floats problem. I've left it commented out because it's not quite
17831 correct. It should also test that the current object is a table or
17832 figure inset. But I haven't gotten around to figuring out how to do
17833 that. I *think* it'll be something like: "table" == inset.type()
17835 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17838 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17840 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17841 all the citation/databases/styles in the auxilary file.
17842 (run): Rerun latex if there was a babel language error.
17844 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17846 * text.C (Backspace): Preserve the font when changing newline char
17848 (BreakParagraph): If the cursor is before a space, delete the space.
17850 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17852 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17854 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17855 new argument (code).
17856 (ChangeCitationsIfUnique): New method.
17858 * paragraph.C (GetPositionOfInset): Handle bibkey.
17860 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17862 * BufferView_pimpl.h: change type of Position::par_pos to
17863 LyXParagraph::size_type.
17865 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17867 * BufferView_pimpl.C (savePosition, restorePosition): Write
17868 messages to minibuffer.
17870 2001-01-28 José Matos <jamatos@fep.up.pt>
17872 * buffer.C (makeDocBookFile): adds support for document language.
17873 A silly restriction on the name of LatexCommand types where removed.
17874 Added support for CDATA sections, allows to chars unescaped, used
17875 among others in code, to avoid escape < and >.
17877 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17879 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17880 saved positions instrad of a stack. Furthermore, a position is
17881 stored using paragraph id/paragraph position.
17883 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17884 Remove LFUN_REF_BACK.
17886 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17888 * converter.C (dvipdfm_options): New method.
17890 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17892 * vspace.C (isValidLength): Fix for empty input string.
17894 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17896 * LyXAction.C (init): change description of LFUN_FIGURE to
17899 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17901 * LaTeX.C: add using directive
17903 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17905 * MenuBackend.C (expand): Fix the sorting of the formats.
17907 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17909 * lyx_main.C: tiny error message fix
17911 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17913 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17914 calling fl_initialize(). This fixes the problem with ',' as
17915 decimal separator in text files.
17917 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17919 * trans.C (process): Fix the keymap bug.
17921 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17923 * LaTeX.C (scanAuxFiles): New method. Provides support for
17924 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17925 (scanLogFile) Scan for "run BibTeX" messages.
17927 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17928 OT1 font encoding. Also, load the aecompl package if the ae
17931 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17933 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17935 * texrow.C (increasePos): turn two error messages into debug
17938 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17940 * LaTeX.C (scanAux): Handle the \@input macro.
17941 (runBibTeX): Use scanAux().
17943 * language.C (latex_options_): New field.
17945 * LaTeXFeatures.C (getMacros): Add language macros.
17947 * buffer.C (makeLaTeXFile): Small fix.
17949 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17951 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17953 * text2.C: add a using directive.
17955 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17960 * lyxfunc.C: kill LyXBell.
17962 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17964 * text.C (IsBoundary): Remove the error message
17966 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17968 * lyxrc.C (setDefaults): Correct initialization value for
17971 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17973 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17976 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17977 and GotoNextNote().
17979 * src/LyXAction.C: Added reference-next.
17981 * text.C (InsertChar): Use contains instead of strchr.
17983 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17985 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17987 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17988 alignment commands (when needed).
17990 * text.C (InsertChar): Add ':' to number separator chars.