1 2005-07-16 José Matos <jamatos@fc.up.pt>
7 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
8 single papersize variable.
10 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * text3.C (dispatch): honor boundary when checking if a cursor
13 movement has been done
15 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
16 (setCursor, setCursorIntern): fix cursor movement with boundary
18 2005-07-16 Juergen Vigna <jug@lyx.org>
20 * text.C (currentState): output the actual Boundary
22 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * factory.C (createInset): fix bad logic for tabular creation
26 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
28 * lyx_main.C (init): change some reLyX reference to tex2lyx
30 2005-07-16 Juergen Vigna <jug@lyx.org>
32 * dociterator.C (DocIterator): initialize boundary
34 2005-07-16 Juergen Vigna <jug@lyx.org>
36 * text2.C (getColumnNearX): Consider rows without trailing blank.
38 2005-07-16 André Pönitz <poenitz@gmx.net>
40 * lyxfont.h: Change order of declarations to give the compiler
41 a better chance to inline things
43 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
44 questions on unsaved docs for better scritability
46 2005-07-16 André Pönitz <poenitz@gmx.net>
48 * paragraph.h (getChar): remove asserts as the same kind of security
49 can be achieved by using a suitable standard library implementation
50 and the function was in the critical path (25.9% in profiler)
52 2005-07-16 Juergen Vigna <jug@lyx.org>
54 * cursor.C (bruteFind2):
55 * bufferview_funcs.C (coordOffset):
56 * text.C (cursorX,cursorY): Handle cursor position after last char
57 in row before a inset which uses a whole row.
59 2005-07-15 José Matos <jamatos@lyx.org>
61 * output_plaintext.[Ch] (writeFileAscii): control reference title
63 (asciiParagraph): noparbreak was already deal and was incorrectly
66 2005-07-15 Juergen Vigna <jug@lyx.org>
68 * lyxfunc.C (dispatch): save and restore the cursor after a
71 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
73 * text.C (backspace): bug 806 for empty keepempty paragraphs we
74 change the layout to default before letting DEPM do its thing.
76 * paragraph_funcs.C (breakParagraph): dont reset the layout on
79 * text.C (setCursorFromCoordinates): add a debug statement
81 * text2.C (getColumnNearX): bug 1825 make sure that we don't
82 return a pos that is not on the row
84 * output_latex.C (TeXDeeper): get rid of potential dereferencing
85 of past the end iterator
87 2005-07-14 André Pönitz <poenitz@gmx.net>
89 * undo.C (recordUndoFullBuffer): implement undo for
92 2005-07-14 André Pönitz <poenitz@gmx.net>
94 * cursor.C (setSelection): open insets when selection is set there
95 to avoid crashs with cold coord cache
97 2005-07-14 André Pönitz <poenitz@gmx.net>
99 * trans_mgr.C (insert): move cursor to the right after inserting
102 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
104 * BufferView_pimpl.C (update): dampen some of the debug blabbering
105 * factory.C (readInset): ditto
106 * text.C, text2.C: ditto
108 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * buffer.C: format incremented to 242. There is no file format per
111 se, but the "frenchb" language has been removed from lib/language
112 and has to be translated to "french" by lyx2lyx.
114 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
116 * cursor_slice.h, dociterator.h: add some documentation
117 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
119 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
121 * text.C (leftMargin): do not add identation to display() style
122 insets, because they are always centered (bug 1293).
124 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
126 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
127 formatted_time methods in support/lyxtime.
129 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
131 * toc.[Ch]: new method getGuiName, which is used by the frontends
132 to set the toc combo (fixes bug 1870). Make TOC string translatable.
134 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
136 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
137 StableDocIterator const &)
138 * undo.C (recordUndo): use the above instead of cell.size() comparison
139 (fixes bug 1808; instructed by André).
141 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
144 * dociterator.h: Fix the assert when copying rows/cols in math
146 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
148 * BufferView_pimpl.C:
150 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
152 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
153 (findInset): new functions, refactored from goto Inset that return
154 the position of a certain inset without setting the buffer's cursor
156 (gotoInset): rewrite to call findInset and then set the cursor
159 2005-06-16 Angus Leeming <leeming@lyx.org>
161 * lyxrc.C (output, read): wrap all input and output of paths with
162 calls to os::internal_path and os::external_path, respectively.
163 (output): wrap bind_file inside quotes.
165 * format.C (view): enable the viewer to use the '$$s' placeholder.
167 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
169 * LColor.[Ch] (getFromLaTeXName): new
171 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
173 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
175 2005-06-14 Angus Leeming <leeming@lyx.org>
177 * lyx_main.C (init): ensure that the LyX binary dir is the first
178 element in the PATH on non-POSIX builds.
180 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
182 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
184 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
186 * rowpainter.C (paintInset, paintHebrewComposeChar)
187 (paintArabicComposeChar, paintChars): add a LyXFont argument.
188 (paintChars): use getFontSpan to reduce calls to getFont to a
189 minimum; use Paragraph::lookupChange instead of isXXXText.
190 (paintForeignMark): rename LyXFont argument.
191 (paintFromPos): pass a LyXFont object to the various paintXXX
194 * FontIterator.C (FontIterator, operator++): use
195 Paragraph::getFontSpan
197 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
198 version that returns the font span as a pair.
200 2005-06-09 Angus Leeming <leeming@lyx.org>
202 * converter.C (convert): Don't forget "outfile = real_outfile" as
203 the final step in a conversion where the input and output file names
204 are the same. Otherwise, future conversion steps won't work...
206 2005-06-09 Angus Leeming <leeming@lyx.org>
208 * lyxsocket.C: remove stub code as it isn't needed by
209 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
211 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
213 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
214 effectively disabled -x
216 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
218 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
219 when it actually makes sense.
221 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
223 * BufferView_pimpl.C: revert to showCursor in connection with
224 Lars's front-end stack
226 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
228 * text.C (redoParagraph): move cursor right after a bibitem
231 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
233 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * buffer_funcs.C (bufferErrors): fix computation of the end of an
238 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
240 * BufferView.[Ch] (update):
241 * BufferView_pimpl.[Ch] (update, metrics):
242 * dimension.h (operator==):
243 * lyxfunc.C (dispatch):
244 * metricsinfo.h (ViewMetricsInfo):
245 * rowpainter.C (paintText):
247 * text.C (redoParagraph):
248 * text3.C (dispatch): Make LyX only repaint current paragraph in
249 case of character insert --> speedup. Also fix cursor draw
252 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
254 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
255 avoid a crash (bug 1891)
257 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
261 * text2.C (getStringToIndex): constify cur argument.
263 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
264 argument has been given
265 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
266 try to invoke LFUN_INSET_APPLY).
268 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
269 if no inset was created by doInsertInset
270 (doInsertInset): return true if an inset has been inserted.
272 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
274 * vspace.C (asGUIName): new method. A version of the space
275 suitable for showing on screen.
277 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
280 * lyxrc.C: rename "ASCII" to "Plain Text"
282 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
284 * buffer_funcs.C (expandLabel): take a Buffer as argument;
285 translate the labelstring.
286 (setCounter): translate labelstring as needed.
288 * output_docbook.C (makeCommand): fix expandLabel invokation
290 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
292 * BufferView.C: fix dialog title
294 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
296 * lyx_main.C (priv_exec): fix logic error with help from Angus
297 * lyx_main.C (parse_execute): set is_gui = false and remove now
298 obsolete comment about a segfault
300 2005-05-18 Angus Leeming <leeming@lyx.org>
302 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
304 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
306 * tabular.[hC]: added setCellInset to fix tabular paste.
308 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
310 * buffer.C (save): check if destination is writable before trying
313 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
315 * BufferView_pimpl.C (update): fix processEvents -caused update
318 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
320 * buffer_funcs.C (setCounter): fix test for numbering of
323 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
324 depth correctly; use optional argument when it exists
326 * lyxtextclass.C: remove unused MaxCounterTags enum
327 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
328 (max_toclevel, min_toclevel): new methods.
330 * MenuBackend.C (expandToc2): fix case where depth is smaller than
331 the smallest depth in toc.
333 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
334 layouts that should not appear in a table of contents.
336 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
338 * cursor.h (undispatched, noUpdate): add comments from André
340 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
344 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
346 2005-05-07 André Pönitz <poenitz@gmx.net>
348 * cursor.[Ch] (leaveInset): new function
350 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
352 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
354 2005-05-04 Angus Leeming <leeming@lyx.org>
356 * lyxfunc.C (getStatus): disable the spell checker dialog if
357 none of USE_[AIP]SPELL are defined.
359 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
361 * tabular.C (setWidthOfCell): remove obsolete comment
363 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
365 * paragraph.C (bibitem):
366 * buffer_funcs.C (setCounter):
367 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
369 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
371 * text3.C (getStatus): immediately return after setOnOff
373 * rowpainter.C: fix drawing of appendix start
375 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
377 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
378 SwitchBetweenClasses and remove the unused return value.
379 Handle character styles, too
381 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
383 * factory.C (createInset): handle undefined character styles
385 2005-05-02 Angus Leeming <leeming@lyx.org>
387 * buffer.C: protect the #include of utime.h with a preprocessor
390 2005-05-02 Angus Leeming <leeming@lyx.org>
392 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
393 function so that auto-saving works, albeit in a blocking manner.
395 * Makefile.am: make compilation of the client sub directory, of
396 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
397 on conditionals set at configure time.
399 * SpellBase.[Ch]: no longer an abstract base class. Instead,
400 it can be compiled in its own right but has no-op functionality.
402 * aspell.C, pspell.C: remove preprocessor guards. The files should
403 be compiled only if the necessary functionality exists.
405 * lyxserver.C, lyxsocket.C: disable on Windows.
407 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
409 * text.C (leftMargin): Fix the parindent use bug (1764)
412 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
414 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
417 2005-04-25 Angus Leeming <leeming@lyx.org>
425 include <config.h> in .C files, not .h ones.
427 protect headers inside preprocessor guards.
429 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
431 * FuncStatus.h (StatusCodes): document
433 2005-04-21 André Pönitz <poenitz@gmx.net>
435 * FuncStatus.h (enabled, onoff): document
437 2005-04-19 Angus Leeming <leeming@lyx.org>
439 * BufferView_pimpl.C (cursorToggle): no longer test whether
440 any child processes have been reaped before calling
441 handleCompletedProcesses().
443 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
445 * text3.C (dispatch): fix, finally fix, the language problem in
446 new lyxtexts, without disabling on-the-fly font changes (Helge's
449 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
451 * text3.C (dispatch): set cursor on double/triple click events
454 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
456 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
457 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
459 * rowpainter.C (paintFirst): simplify the code a little bit. In
460 particular, remove the test for secnumdepth.
461 * text.C (setHeightOfRow): only allocate space for chapter number
462 when updateCounters provided an actual label, instead of looking
463 at secnumdepth directly.
465 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
467 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
468 paragraphs when secnumdepth is large enough or, for environments,
469 when they are not the first in a sequence.
471 2005-04-17 Angus Leeming <leeming@lyx.org>
473 * buffer.C (makeLaTeXFile): replace code to manipulate a path
474 containing space and '~' characters with a call to latex_path().
476 2005-04-17 Angus Leeming <leeming@lyx.org>
478 * converter.C (convert): protect all args of convertDefault.sh
481 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
483 * text3.C (dispatch): change the layout to "Caption" after inserting
486 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
488 * text3.C (dispatch): fix language problem in newly created
489 textinsets (and main text) in non-english docs
491 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
493 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
494 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
495 * text3.C (getStatus): disable LFUN_INSET_MODIFY
497 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
502 * rowpainter.C (getFont): Fix metrics bug introduced by inset
505 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
507 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
508 output of \item arguments without trailing text.
510 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
512 * FontIterator.C (operator*): avoid a copy of the font.
514 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
516 * rowpainter.C (getFont): fix language bug from previous fix
518 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
520 * rowpainter.C (RowPainter, getFont): fix font inside inset
523 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
525 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
526 preventing inserted font, deco, delim insets jumping to start of
529 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
531 * lyxfunc.C (dispatch): translate message before sending it to the
534 2005-03-29 Angus Leeming <leeming@lyx.org>
536 * lyx_main.C (priv_exec): call os::internal_path on each file passed
537 to LyX on the command line.
539 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
541 * vc-backend.C: use QuoteName to protect file names wherever
544 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
547 * BranchList.h: fix bugs 1844,1845: document settings don't
550 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
552 * lyxrc.C (setDefaults, read, output, getDescription): add support
553 for tex_allows_spaces.
555 * exporter.C (Export): allows files in directory containing spaces
556 if tex_allows_spaces is true.
558 * buffer.C (makeLaTeXFile): if the document path contains spaces,
559 output it in double quotes.
561 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
563 * rowpainter.C: use default text height for drawing change tracker
566 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
568 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
570 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
572 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
573 directory is missing.
575 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
577 * text2.C: fixed the fix, extended to other case.
579 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
581 * text2.C: fix for cursor up/down stuck in math [bug 1792]
583 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
585 * text2.C (cursorUp): get rid of a crash
586 * text.C (x2pos): add an assert
588 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
590 * lyxfunc.C (getStatus): fix warning when assertions are disabled
594 * dociterator.C: include <boost/current_function.hpp>, which is
595 needed when assertions are disabled.
597 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
599 * text2.C: fix for stuck cursor when traversing two
600 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
602 2005-02-25 Andreas Vox <avox@arcor.de>
604 * output_docbook.C (makeParagraph): suppress trailing newline
605 after a run of paragraphs
607 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
609 * paragraph.C: fix for confused change tracker when pasting
610 text that begins with a lineseparator. [bug 1827]
611 (setChange(0, Change::INSERTED);)
613 * paragraph_funcs.C: fix for lost changes on triple-paste
614 in change tracking mode [bug 1827] (par.setChange()).
616 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
618 * text2.C (updateCounters, setCounter, expandLabel): move to
621 * buffer_funcs.C (updateCounters): turn into a free standing
622 function and add a buffer parameter. Remove dead code for tracking
624 (setCounter): change into a free-standing function which gets a
625 dociterator as argument. Use this iterator to fix captions in a
626 simple way. When no float is found above the caption, use the
627 labelstring of the caption layout as default.
629 * text.C (breakParagraph, backspace):
630 * text2.C (init, setLayout, changeDepth):
631 * text3.C (dispatch):
632 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
635 * dociterator.C (forwardPar): make it much faster by calling
636 forwardPos() only when really necessary.
638 * output_docbook.C (makeCommand): adapt to expandLabel move.
640 * cursor.C: remove unused variable
642 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
644 * paragraph_funcs.C: fix crash when pasting insets in change
645 tracking mode [bug 1277] (honour change type in moveItem).
647 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
649 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
651 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
653 * BufferView.C (setCursor): change to use a DocIterator.
654 (gotoLabel): use BufferView::setCursor (other part of bug 781).
655 (putSelectionAt): adapt to BufferView::setCursor change.
657 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
658 moved here from LyXText and rewritten to use proper cursor
659 methods. Fixes bug 1787, 616 and 835.
661 * BufferView_pimpl.C (restorePosition): set the cursor correctly
662 when inside an inset (part of bug 781).
663 (dispatch): adapt to change of BufferView::setCursor.
664 (getStatus, dispatch): handle LFUN_GOTOERROR,
665 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
667 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
668 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
669 * text3.C (gotoNextInset, gotoInset): removed.
671 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
673 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
675 2005-02-15 Angus Leeming <leeming@lyx.org>
677 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
678 can be used meaningfully in a comparison.
680 2005-02-13 André Pönitz <poenitz@gmx.net>
682 * bufferview_funcs.C (coordOffset): improve cursor drawing
684 2005-02-13 André Pönitz <poenitz@gmx.net>
686 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
687 * Cursor.C (dispatch): use fixIfBroken
688 * lyxfunc.C (getStatus): use fixIfBroken
690 2005-02-15 Angus Leeming <leeming@lyx.org>
692 * lyx_main.C (error_handler):
694 * lyxrc.C (setDefaults):
696 #include "environment.h".
698 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
700 2005-02-15 Angus Leeming <leeming@lyx.org>
702 * lyxserver.C (startPipe): squash MSVC warning "local variable
703 'fd' used without having been initialized".
705 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
707 * BufferView_pimpl.C: revert accidental commit.
709 2005-02-14 André Pönitz <poenitz@gmx.net>
711 * dociterator.[Ch]: new member forwardPosNoDescent(),
712 which doesn't enter nested insets.
713 * text2.C (setFont): use forwardPosNoDescent() instead
714 of ForwardPos() (fixes crash on font change).
716 2005-02-13 Angus Leeming <leeming@lyx.org>
718 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
719 only if lyxrc.path_prefix is not empty.
721 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
723 * bufferparams.C (readGraphicsDriver): prevent crash
725 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
727 * text2.C (setCounter): check for inInset() == 0
729 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
731 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
732 but use update() to get correct screen display; use convert
733 instead of istringstream.
734 (getStatus): handle LFUN_GOTO_PARAGRAPH
736 * lyxfunc.C (dispatch, getStatus): do not handle
737 LFUN_GOTO_PARAGRAPH here.
739 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
741 * text3.C (dispatch): size() -> depth()
743 * text2.C: remove some debug output
745 * paragraph.C: ws changes only
747 * lyxfunc.C (getStatus): size() -> depth()
749 * dociterator.h (clear, push_back, pop_back, internalData,
750 operator[], resize, empty): new functions
751 Make StableDocIterator and operator== be friends. Don't inherit
752 from std::vector use a privat class variable slices_ instead.
755 * dociterator.C: update because of not inheriting from std::vector
756 anymore. Call explictly to slices_ instead. Use depth() instead of
757 size() and top() instead of back()
759 * cursor.C: chagne size() -> depth and back() -> top(). Also
760 remove some direct operator[](i) calls in favour of foo[i]
761 (getFont): remove some dead code
763 * bufferview_funcs.C (coordOffset): size() -> depth()
765 * buffer.C: ws changes only
767 * CutAndPaste.C (eraseSelection): back() -> top()
769 * BufferView_pimpl.C (selectionRequested): back() -> top()
771 * BufferView.C (setCursor): size() -> depth()
773 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
775 * text3.C (cursorPrevious): return true if depm changed something
777 (dispatch): rename sl to oldTopSlice, remove moving use the new
778 NoUpdate func attrib instead. Make sure that needsUpdate is set
779 for function that have NoUpdate, but where depm might have changed
782 * text2.C (cursorLeft): make us return true if depm changed
785 (cursorUpParagraph): ditto
786 (curosrDownParagraph): ditto
787 (cursorUp, cursorDown): ditto, make sure to read comments in code
788 (deleteEmptyParagraphMechanism): remove an assert, also return
789 true if just a single char was deleted.
791 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
792 cursor that we modify, to avoid modifying an active cursor before
793 we call setCursor. This allows depm to run. Also return true if
794 depm deleted something.
796 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
797 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
798 cursorDownParagraph, cursorPrevious and cursorNext, return true if
799 something was changed in the buffer because of them (ie. depm run)
801 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
802 debug messages. Make update by default be false. Make sure that
803 the result of update is retained throught several calls down to
806 * LyXAction.h: add a new func_attrib: NoUpdate
808 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
809 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
810 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
812 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
814 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
816 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
817 bv_->owner(), bv_->buffer() by direct references to the private
819 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
820 (getStatus): isSavedPosition() is in BufferView::Pimpl.
821 (fitCursor): center() is in BufferView::Pimpl.
822 (getStatus, trackChanges, dispatch): no need for a temporary buf
824 (fitCursor, workAreaDispatch): use workarea().workheight()
826 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
828 * CutAndPaste.C (pasteSelectionHelper): fix a crash
830 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
832 * buffer.C: format up to 241.
833 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
834 break if pasting into ERT
835 * lyxfunc.C (getStatus): suppress mathpanel and
836 LFUN_DIALOG_SHOW_NEW_INSET in ERT
838 2005-02-01 Angus Leeming <leeming@lyx.org>
840 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
842 2005-02-01 Angus Leeming <leeming@lyx.org>
844 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
845 calling fs::is_directory().
847 2005-01-31 Angus Leeming <leeming@lyx.org>
849 * lyx_main.C (priv_exec): specify explicitly the relative location
850 of the top level build directory when run in-place.
852 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
854 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
855 LyXText containing the cursor, not the top-level one.
857 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
859 (insertStringAsLines): rename par to pit; use temporary variable
860 par to hold a Paragraph; do not store par.layout() in a variable,
861 since the pointer may die when breaking paragraphs; pass pars to
862 breakParagraph() instead of Buffer::paragraphs().
864 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
866 * lyxlex_pimpl.h: #include <fstream>.
868 * BufferView.[Ch] (getLyXText): add a const version.
870 * BufferView_pimpl.C: add debug aids.
875 * paragraph_funcs.h: add commentary explaining what the class does.
878 * coordcache.[Ch]: add lots of commentary.
879 (startUpdating, doneUpdating): debug aids.
880 (arrays, insets, parPos, getParPos): accessors to private data.
882 * cursor_slice.[Ch] (text): add a const version.
883 * dociterator.[Ch] (text, innerText): add const versions.
885 * lyxtext.h (breakParagraph): change the keep_layout arg to a
888 * paragraph.C (getRow, pos2ros): add asserts.
890 * paragraph.h: add commentary. Lots of.
892 * paragraph.[Ch] (metrucs, draw): removed.
895 * rowpainter.[Ch]: const-correct changes.
897 * text.C: various obvious clean-ups. Removal of ancient cruft.
900 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
902 * vc-backend.C (find_file): rewrite to use boost.filesystem
905 * main.C (main): set default name check for boost.filesystem to
908 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
911 (actOnUpdatedPrefs): ditto
913 * lyx_main.C (init): rewrite to use boost.filesystem
914 (queryUserLyXDir): ditto
916 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
917 (getContentsOfAsciiFile): ditto
919 * lastfiles.C (readFile): rewrite to use boost.filesystem
921 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
923 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
926 * buffer.C (Buffer): adjust for destroydir
927 (getLogName): rewrite to use boost.filesystem
929 (save): use fs::copy_file (from fs_extras)
931 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
933 * LaTeX.C (run): rewrite to use boost.filesystem
934 (scanAuxFiles): ditto
935 (handleFoundFile): ditto
937 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
939 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
941 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
943 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
945 * lyxlayout.[Ch]: change some vars from float to double
947 * buffer.C (readFile): make a local var const
949 * Several files: use convert<> instead of atoi,strToXXX and friends
951 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
953 * LaTeXFeatures.[Ch]: Add a static list packages_ that
954 holds the contents of packages.lst. New functions getAvailable
955 and isAvailable to parse and check that list, resp.
959 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
961 * bufferparams.[Ch]: new param output_changes.
963 * Buffer.C: increase file format to 240.
964 Use output_changes and isVailable.
968 * paragraph_pimpl.C: Use output_changes and isVailable.
970 2005-01-23 Angus Leeming <leeming@lyx.org>
972 * output_latex.C: #include "insetbibitem.h", rather than
973 forward declare function bibitemWidest.
975 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
977 * lyx_main.C (init): make it compile on the Mac.
979 2005-01-20 Angus Leeming <leeming@lyx.org>
981 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
982 (setLyXMisc): (char string literal) != (char string literal) is
983 performing a comparison on the addresses. Convert one operand
984 explicitly to string to guarantee expected behaviour.
987 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
990 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
992 * output_plaintext.C: remove unneeded #include gzstream.h.
994 2005-01-20 Angus Leeming <leeming@lyx.org>
996 * SpellBase.h: rename some of the elements of the Result enum.
1003 * pspell.C (check): ditto
1005 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1007 * buffer.C: add #include <fstream>.
1009 * lyx_main.C (init): Compile fix.
1011 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1013 2005-01-20 Angus Leeming <leeming@lyx.org>
1015 * mover.h: change commentary to reflect the changed meaning of
1016 the $$s placeholder.
1018 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1020 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1022 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1024 2005-01-20 Angus Leeming <leeming@lyx.org>
1026 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1027 printing diagnostic data by not dereferecing an iterator past the
1030 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1032 * buffer.C (readHeader): use "&&" rather than "and".
1034 * lyxserver.h (inPipeName, outPipeName): make these const.
1036 2005-01-19 Angus Leeming <leeming@lyx.org>
1038 * lyx_main.C (error_handler, init): protect SIGHUP with
1039 #ifdef SIGHUP guards.
1041 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1043 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1045 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1047 * text.C (setHeightOfRow): add a margin at the top and bottom of
1048 the document (bug 1761)
1050 2005-01-17 Angus Leeming <leeming@lyx.org>
1052 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1053 with "python ". Workaround for a brain-dead Windows.
1055 2005-01-16 Angus Leeming <leeming@lyx.org>
1057 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1058 for MacOSX and Windows to use prependEnvPath.
1059 Strip out the hard-coded block to add elements to the PATH for
1060 MacOSX and replace it with a call to prependEnvPath using the
1061 contents of LyXRC::path_prefix.
1062 (queryUserLyXDir): strip out the code to run reconfigure, instead
1063 returning a boolean indicating the necessity to do so.
1064 (reconfigureUserLyXDir): contains the code to reconfigure the
1065 user support directory. Is now called after the various LyXRC data
1066 files have been read.
1068 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1070 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1072 * converter.[Ch] (convert): take a new parameter try_default. Use
1073 a default converter (imagemagick) if try_default is true.
1075 2005-01-13 Angus Leeming <leeming@lyx.org>
1077 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1078 os::cygwin_path_fix.
1079 (write): output LyXRC::cygwin_path_fix as necessary.
1081 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1084 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1086 2005-01-12 Angus Leeming <leeming@lyx.org>
1088 * lyx_main.C (init): set the PATH variable to include the
1089 directory containing the LyX binary when running on Mac or Windows.
1091 2005-01-12 Angus Leeming <leeming@lyx.org>
1093 * lyx_main.C (init): remove cruft that purports to set the locale
1094 dir. It doesn't and is not needed anyway.
1096 2005-01-10 Angus Leeming <leeming@lyx.org>
1098 * Makefile.am: remove the lyx_main.C special casing.
1100 * BufferView_pimpl.C:
1106 * messages.C: use support/package.h to provide the paths to the
1107 various directories used by LyX.
1109 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1111 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1112 layout if pasting into an empty paragraph)
1114 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1116 * tex-accent.C: add <string>
1118 2005-01-06 José Matos <jamatos@lyx.org>
1120 * ParagraphParameters.C (write): put every parameter in its own line.
1121 * paragraph.C (write): reduce number of consecutive empty lines exported.
1122 * buffer.C (LYX_FORMAT): increase file format to 239.
1124 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1126 * everywhere: change support/tostr.h -> support/convert.h
1128 * tabular.C: make all write_attributes templates, tostr -> convert
1130 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1131 (emptyTag): and -> &&, and fix type for ret from getChar
1132 (getFirstWord): fix type for ret from getChar
1133 (onlyText): and -> &&
1134 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1137 * toc.C (goTo, action):
1138 * text3.C (dispatch):
1139 * text.C (currentState):
1140 * tex-accent.C (DoAccent):
1143 * lyxfunc.C (menuNew):
1144 * lyxfinc.C (replace):
1145 * counters.C (laberItem):
1146 * bufferview_funcs.C (font2string):
1147 * bufferparams.C (writeFile):
1148 * buffer.C (readFile):
1150 * MenuBackend.C: tostr -> convert
1152 * LaTeX.C (runMessage): fix format
1153 (scanAuxFiles): tostr -> convert
1155 * BufferView_pimpl.C (savePosition): fix format
1156 (restorePosition): ditto
1159 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1161 * Spacing.[Ch]: New method getValueAsString().
1165 * ParagraphParameters.C:
1168 * text3.C: store/read spacing value as string.
1170 * rowpainter.C: change float value (spacing_val) to double.
1172 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1173 broken custom document spacing).
1175 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1177 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1178 namespace, also more use of temp references and const
1180 * cursor.[Ch] (getStatus): move to lyxfunc.C
1182 * bufferparams.C: reformat slightly
1184 * bufferview_funcs.C (font2string): constify arg
1190 * buffer_funcs.C: (many funcs): constify arg on function
1191 definitions, also make more local vars const, also add ASSERTS on
1194 * buffer.C (LYX_FORMAT): put const in correct place
1195 (many funcs): constify arg on function definitions, also make
1196 more local vars const
1198 * aspell_local.h: remove "struct" from typdef setup
1200 * aspell.C (check): make word_ok const
1201 (nextMiss): simplify slightly
1204 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1206 * lyxrc.[Ch]: store all float values as strings.
1207 use int (not float) for lyxrc.dpi.
1209 2005-01-04 Angus Leeming <leeming@lyx.org>
1211 * lyx_cb.C (Reconfigure):
1212 * lyx_main.C (queryUserLyXDir):
1213 to run the <system_lyxdir>/configure correctly on Windows, prefix
1214 the path to the script with "sh " when generating the string that
1215 is passed to system().
1217 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1219 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1221 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1223 * lyxlength.C (asLatexString): get rid of setprecision
1225 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1227 * text2.C (setLayout): remove unused variable endpit.
1228 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1230 * paragraph.C (onlyText): remove unused variable style.
1232 * cursor.C (bruteFind): remove unused variables beg and end.
1234 * Makefile.am (dist_noinset_DATA): not needed anymore
1236 * cheaders/*: remove.
1238 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1240 * text3.C: fix LFUN_MATH_MODE.
1242 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1244 * buffer_funcs.C (countWords): new function. Counts words between
1247 * BufferView_pimpl.C (getStatus, dispatch): handle
1250 * LyXAction.C (init):
1251 * lfuns.h: add LFUN_WORDS_COUNT.
1253 2004-12-19 Angus Leeming <leeming@lyx.org>
1255 * buffer.C (save): s/slashify_path/internal_path/.
1257 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1259 * lyxfind.C (findChange): do not search for end of pars, because
1260 the change tracker cannot handle this (fixes bug 1719).
1262 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1264 * paragraph.[Ch] (autoBreakRows): remove
1266 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1268 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1269 avoid using the paragraph one
1271 * text2.C (LyXText, insertStringAsLines): adjust
1273 2004-12-16 Angus Leeming <leeming@lyx.org>
1277 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1279 2004-12-14 Angus Leeming <leeming@lyx.org>
1281 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1283 * bufferlist.C (emergencyWrite):
1284 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1287 2004-12-14 Angus Leeming <leeming@lyx.org>
1289 * main.C: (main): no longer pass pointers to os::init.
1291 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1293 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1294 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1296 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1299 * text3.C: remove selection_possible global flag
1301 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1303 * text2.C (getSelectionSpan): remove
1304 (changeDepth, changeDepthAllowed): adjust
1306 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1308 * Makefile.am (BOOST_LIBS): use boost variables
1310 2004-12-03 José Matos <jamatos@lyx.org>
1312 * buffer.C: format up to 238.
1314 2004-12-03 José Matos <jamatos@lyx.org>
1316 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1318 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1320 * cursor.C (goUpDown): remove call to idxUpDown2
1322 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1324 * tabular.[Ch]: use size_t-like types for cell, row and column
1327 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1329 * lyxfunc.C (getStatus): do not lose previous information when
1330 calling BufferView::getStatus; do not set a default "Command
1331 disabled" message at the beginning, but just before returning.
1333 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1335 * cursor.h (getStatus): add better comment from src/cursor.C
1337 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1339 * text3.C (getStatus): return false when the lfun is not handled
1341 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1343 * broken_headers.h: remove
1345 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1347 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1349 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1350 offset_ref accessors
1352 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1353 top_y_, merge fitcursor with update
1354 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1356 (metrics): introduce
1357 (workAreaDispatch): adapt to new coord scheme
1358 (redoCurrentBuffer): remove
1360 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1362 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1365 * coordcache.[Ch]: add paragraph cache and helpers
1367 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1370 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1371 (targetX, setTargetX): introduce
1373 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1374 baseline -> ascent, as the rest of lyx
1376 * lyxtext.h: remove redoParagraphs, updateParPositions,
1377 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1378 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1379 have ascent/descent (ascent is ascent of first par)
1381 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1384 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1386 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1388 * pariterator.C: fix infinite loop introduced in par->pit renaming
1390 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1391 in insets and LyXText, draw two off-screen paragraphs using
1392 NullPainter, and adapt to new coord scheme
1396 * text3.C: adapt lfun handlers to the new coord scheme, which
1397 means: there's only guaranteed coord information for onscreen pars
1398 plus one above and one below. This implies that one can do search
1399 from y coordinates in the range [-1,workHeight]
1401 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1403 * rename a lot of InsetOld to InsetBase
1405 2004-11-25 Angus Leeming <leeming@lyx.org>
1407 * BufferView_pimpl.C:
1409 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1411 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1413 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1414 call BufferView::getStatus if LCursor::getStatus did nothing
1415 (setStatusMessage, getStatusMessage): removed.
1417 * FuncStatus.C (message): new methods. Used to provide an error
1418 message indicating why a command is disabled.
1419 (clear, |=, FuncStatus): update for message.
1421 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1423 * lyxfunc.C (dispatch): always call sendDispatchMessage
1425 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1428 * BufferView_pimpl.C:
1433 * cursor_slice.[Ch]:
1436 * paragraph_funcs.C:
1442 * undo.C: par->pit renaming
1444 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1446 * tabular.C (cellstruct): use initialization, store a shared_ptr
1447 to insettext instead of the insettext directly, adjust to fit.
1448 (operator=): new function
1449 (swap): new function
1450 (rowstruct): use initialization
1451 (columnstruct): use initialization
1452 (ltType): use initialization
1455 * lyxlength.h (swap): new function
1457 * LColor.[Ch] (operator=): use the common semantics
1459 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1461 * lyxfind.C (findNextChange): update the bufferview after setting
1464 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1466 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1467 number of InsetOptArgs has already been inserted.
1469 * output_latex.C (latexOptArgInsets): new method. This outputs all
1470 the optarg insets, up to the limit defined in the layout file.
1471 (optArgInset): removed
1472 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1474 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1476 * paragraph.C (isLetter): remove special spellchecker-related
1477 code; return true also for digits
1478 (isWord, isKomma): remove
1480 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1481 * lyxfind.C (MatchString()): use isLetter instead of isWord
1483 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1485 * pariterator.h (operatir=): comment out un-implemented member
1488 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1491 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1493 * lyxfont.h: include LColor.h to satisfy concept checks.
1495 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1497 * pariterator.h: add typdefs for value_type, difference_type,
1498 pointer and reference to satisfy concept checks. Also add default
1499 constructor for same reason.
1501 * pariterator.C (operator++): add post-increment operator to
1502 satisfy concept checks.
1504 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1507 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1509 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1510 checks. Also rename base_type to BaseType to follow naming
1513 * FloatList.h: include Floating.h to satisfy concept checks.
1515 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1517 * lyxfunc.C (getStatus): when the origin of the request is menu or
1518 toolbar, and the LyXView does not have focus, do as if there was
1519 no buffer (bug 1720)
1521 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1522 FuncRequest to individual entries of LFUN_SEQUENCE
1524 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1526 * output_latex.C (TeXOnePar): override runparams.moving_arg
1527 according to the needprotect value of the current paragraph (bug
1530 * paragraph.C (simpleTeXOnePar): no need to override
1531 runparams.moving_args here
1533 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1535 * vspace.C: fix off-by-one-error, related to fix #1682
1537 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1539 * lengthcommon.C: a more general fix for bug 1682
1541 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1543 * text.C (backspace): fix crash
1545 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1547 * format.[Ch] (getFormatFromFile): new method
1548 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1550 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1552 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1554 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1556 * lyxfunc.C (dispatch): remove the verbose argument
1557 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1560 * kbmap.C (defkey): set the origin of func to KEYBOARD
1562 * MenuBackend.C (MenuItem):
1563 * ToolbarBackend.C (add): set the origin of func to UI
1565 * funcrequest.[Ch]: add origin member, which indicates which part
1566 of LyX requests an action
1568 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1570 * converter.C (move): don't lie in the error message
1571 * converter.h (isReachable, move): document
1573 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1575 * buffer.C: remove unused using lyx::support::atoi
1576 * paragraph_funcs.C: ditto
1578 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1580 * bufferlist.C (exists): use bind and equal_to instead of
1583 * lyxtextclasslist.C (NumberOfClass): ditto
1585 * cursor.C (insert): use for_each instead of explicit for loop
1587 * bufferlist.C (getFileNames): use std::transform and
1588 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1590 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1593 * buffer.C (changeLanguage): use for_each instead of explicit for
1595 (hasParWithID): implement using getParFromID
1597 * LaTeXFeatures.C: ws change only
1599 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1602 * BufferView_pimpl.C (trackChanges): use for_each instead of
1605 2004-11-04 André Pönitz <poenitz@gmx.net>
1608 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1610 * dociterator.C (asDocIterator): use hard assert again.
1612 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1614 * lyxlength.C (asLatexString): rewrite so that it does not use
1617 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1619 * text3.C (specialChar, dispatch): make sure cursor moves to the
1620 right after inserting an inset
1622 2004-11-02 José Matos <jamatos@lyx.org>
1624 * output_docbook.C (docbook):
1625 * paragraph.C (getID):
1626 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1627 garantee that the output is always legal.
1629 * tabular.C (docbook):
1630 * outputprams.[Ch]: remove mixed contents.
1632 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1634 * text2.C (setCounter): prevent endless loop
1636 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1638 * exporter.C (copyFile): use the mover instead of support::copy()
1639 * exporter.C (Export): pass format and latex name to copyFile()
1640 * exporter.h (addExternalFile): document
1641 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1643 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1645 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1647 2004-10-30 José Matos <jamatos@lyx.org>
1649 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1650 text and no inset or font change. This allows to use CDATA
1651 sections just for the whole paragraph.
1653 2004-10-30 José Matos <jamatos@lyx.org>
1655 * paragraph.C (getFirstWord): remove unused variable.
1657 2004-10-30 José Matos <jamatos@lyx.org>
1659 * paragraph.C (getFirstWord): the content should always be escaped
1661 (simpleDocBookOnePar):
1662 * output_docbook.C (makeEnvironment): replace reference to CDATA
1665 2004-10-30 José Matos <jamatos@lyx.org>
1667 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1669 2004-10-30 José Matos <jamatos@lyx.org>
1671 * output_docbook.C (makeParagraphs):
1672 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1673 standard paragraph has only a given type of content drop the wrapper.
1675 2004-10-29 José Matos <jamatos@lyx.org>
1677 * output_docbook.C (makeEnvironment):
1679 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1681 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1683 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1684 (cleanID): sanitize any id.
1686 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1688 * buffer.C, lyxlex_pimpl.C:
1689 * lyxlex_pimpl.C (setFile):
1690 s/getExtFromContents/getFormatFromContents/
1692 2004-10-28 José Matos <jamatos@lyx.org>
1694 * output_docbook.C (makeEnvironment): move id to broadest possible
1697 * sgml.C (openTag): apply substitution of <> for all attributes.
1699 2004-10-28 José Matos <jamatos@lyx.org>
1701 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1702 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1703 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1705 * sgml.[Ch]: new version for open and closeTag for paragraph and
1706 for strings. Now they handle the ids of paragraphs.
1708 2004-10-26 Angus Leeming <leeming@lyx.org>
1710 * Makefile.am: add mover.[Ch].
1712 * converter.C (convert, move): use the new Movers to move external
1713 files to the temp directory.
1715 * lyx_main.C (init): ensure that the global system_movers data
1718 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1721 * mover.[Ch]: new files, defining a Mover as a utility to move an
1722 external file between directories and, if necessary, manipulate this
1723 file using a helper script.
1725 2004-10-25 José Matos <jamatos@lyx.org>
1727 * output_docbook.C (makeCommand): merge two if's that tested the
1730 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1732 * sgml.C (escapeString): fix warning in a better way
1734 2004-10-25 José Matos <jamatos@lyx.org>
1736 * sgml.C (escapeString): import the require boosts header file for
1737 tie, and avoid a signed unsigned comparison.
1739 2004-10-25 José Matos <jamatos@lyx.org>
1741 * sgml.h: add #include <string>
1743 2004-10-25 José Matos <jamatos@lyx.org>
1745 * sgml.[Ch] (escapeString): new function to escape all the string.
1747 2004-10-24 José Matos <jamatos@lyx.org>
1749 * paragraph.[Ch] (getFirstWord): new function to get the first
1750 word. Useful for description.
1751 (simpleDocBookOnePar): remove depth argument, add another that
1752 says where to start the paragraph.
1754 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1755 use the new functions to fix cleanly the support for descriptions.
1757 2004-10-24 José Matos <jamatos@lyx.org>
1759 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1760 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1761 * output_linuxdoc.C (linuxdocParagraphs):
1762 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1763 add buffer as argument.
1765 2004-10-24 José Matos <jamatos@lyx.org>
1767 * output_docbook.C (makeEnvironment, searchEnvironment): place
1768 CDATA inside paragraphs and fix scope for listitems.
1770 2004-10-24 José Matos <jamatos@lyx.org>
1772 * output_docbook.C: remove using statement for stack.
1774 2004-10-23 José Matos <jamatos@lyx.org>
1776 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1777 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1778 docbook. The new scheme is recursive and makes use of iterators, the
1779 same as latex export works.
1780 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1781 directly with the paragraph contents. This code was moved up to
1782 output_docbook.C (docbookParagraphs).
1783 * sgml.C (openTag, closeTag): removed unneeded newlines.
1784 (closeEnvTags) removed.
1786 2004-10-23 André Pönitz <poenitz@gmx.net>
1788 * undo.C (textUndoOrRedo):
1789 * dociterator.C (asDocIterator): work around crash
1791 * cursor.C (getStatus): replace ASSERT by more verbose error message
1792 and manual correction of the problem. Should increase stability
1793 while providing more sensible information.
1795 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1797 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1799 * bufferlist.C (previous, next): new methods
1802 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1804 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1806 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1807 entities to preamble.
1809 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1811 * messages.C (Pimpl): strip off translation context information
1813 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1815 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1816 the cursor is correct (bug 1694)
1818 2004-10-13 José Matos <jamatos@lyx.org>
1820 * output_docbook.C (docbookParagraphs): fix closing tags in the
1821 end of the document.
1823 2004-10-09 José Matos <jamatos@lyx.org>
1825 * buffer.C: format up to 237.
1826 * bufferparams.C (write): use tostr to convert booleans to strings.
1828 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1830 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1832 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1834 * LaTeX.C: implement use of babel language in xindy.
1836 2004-10-05 José Matos <jamatos@lyx.org>
1838 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1839 Add new translators to help reading and writing the lyx file.
1841 2004-10-05 José Matos <jamatos@lyx.org>
1843 * ParagraphParameters.C (read):
1844 * text.C (readParToken): replace nexToken by more appropriate lex
1847 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1849 * LaTeX.C (runMakeIndex):
1850 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1851 (usually 'makeindex') configurable.
1853 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1854 with a variable rather than with a number.
1856 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1858 * output_latex.C (TeXOnePar): make sure font setting is the first
1859 thing that gets output (and the last at the end). Should fix bug
1862 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1864 * pch.h: use proper signal include
1866 * LaTeX.h: Use preferred calling of Boost.Signal
1869 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1871 * pch.h: dont include <boost/function/function0.hpp>
1873 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1875 * paragraph_pimpl.h: remove usage of ShareContainer
1877 * paragraph_pimpl.C: remove initialization of ShareContainer.
1879 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1883 * BufferView.C (putSelectionAt): change the semantics when
1884 backwards == true: now, this just swaps cursor and anchor wrt the
1887 * BufferView.h (putSelectionAt): add some documentation
1889 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1890 make sure backwardChar is done at least once (to avoid getting
1892 (findNextChange): use putSelectionAt in the forward direction
1893 (operator()): use Paragraph::isWord
1895 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1897 * Spacing.C (set): c_str fix
1899 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1901 * lyx_cb.C (Reconfigure): quote the name of configure script in
1902 case it contains spaces
1904 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1908 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1909 (BOOST_LIBS): use top_buildir when looking for the file
1911 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1913 * pch.h: do not use include boost/format.hpp, multiple symbols
1914 will result (gcc bug)
1917 2004-08-23 José Matos <jamatos@lyx.org>
1919 * bufferparams.C (readToken): fix reading of the author field.
1921 2004-08-20 José Matos <jamatos@lyx.org>
1923 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1925 2004-08-20 José Matos <jamatos@lyx.org>
1927 * lyxlex.[Ch] (findToken): remove function.
1929 * ParagraphParameters.C (findToken):
1930 * bufferparams.C (findToken): replace call for previous function
1931 with local copy. This local function has one more argument, the
1932 read string argument.
1934 2004-08-16 José Matos <jamatos@lyx.org>
1936 * ParagraphParameters.C (write):
1937 * Spacing.C (writeFile):
1938 * bufferparams.C (writeLaTeX):
1939 * lyx_cb.C (Reconfigure):
1940 * paragraph.C (write):
1941 * tabular.C (write): remove unnecessary space at end of line.
1944 2004-08-16 José Matos <jamatos@lyx.org>
1946 * text.C (readParagraph): remove debug message.
1948 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1950 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1953 * output_plaintext.C (asciiParagraph): set depth correctly
1955 * outputparams.h: add member depth
1957 * paragraph_funcs.C (ownerPar): remove.
1959 * text2.C (setCounter): remove first_pit; comment out some
1960 non-working code that uses ownerPar
1962 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1965 2004-08-16 José Matos <jamatos@lyx.org>
1967 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1968 For the same level of importance use the same chanel to report problems.
1969 (read): add code to deal with \begin_body and \end_body.
1972 2004-08-15 José Matos <jamatos@lyx.org>
1974 * lyxlex.C (getString): fix comment, buffer::readBody is now
1975 buffer:readDocument.
1977 * tex-strings.C (string_papersize): Default -> default,
1978 Custom -> custom, for consistency with other options.
1980 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1984 * Makefile.am: support pch
1986 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1988 * text.C (readParToken): remove the static LyXFont variable and
1989 pass it as a parameter instead. This fixes a nasty bug where an
1990 inset will be inserted with a bad font in some situations
1991 (readParagraph): adapt
1993 * text2.C (setCounter): reduce number of calls to pars_[pit]
1995 * text.C (singleWidth): add an assert, fix a test
1997 * rowpainter.C (paintText): reduce number of calls to singleWidth
1999 * paragraph.C (isHfill):
2000 (isNewline): ws only
2002 2004-08-14 André Pönitz <poenitz@gmx.net>
2007 * lyxtext.h (several functions): use a Paragraph & argument
2010 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2012 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2014 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2016 * text.C (singleWidth): remove useless test
2018 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2020 * tabular.h: remove bogus comments
2022 * tabular.C (getDescentOfRow):
2023 (isPartOfMultiColumn): add assertions
2025 * lyxlength.C (inPixels): remove #warning
2027 2004-08-14 André Pönitz <poenitz@gmx.net>
2029 * paragraph.h: inline getChar()
2031 * BufferView.h: remove unused declarations
2033 2004-08-14 José Matos <jamatos@lyx.org>
2035 * Buffer.[Ch] (readDocument): new name for old readBody.
2036 * Buffer.C: new file format, new keywords: \begin_document,
2037 \begin_header, \begin_body, \end_body.
2039 * bufferparams.C (readToken): replace all calls to lex.nextToken
2040 by lex.next(). Do the same to eatLine except where really needed.
2042 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2043 line when writing to the lyx file.
2045 * output_plaintext.C (asciiParagraph): fix Bibliography style
2048 * text.C (read): fix end of file handling.
2050 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2052 * MenuBackend.C (Menu::operator[]): new method to access
2053 individual menu items
2054 (Menu::hasFunc): new method. search for an item that corresponds
2056 (MenuBackend::specialMenu): new method
2057 (MenuBackend::expand): if a special menu has been set, skip
2058 entries whose func() appears in this menu
2060 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2062 * text3.C: use Debug::DEBUG a bit more
2064 * text.C (leftMargin): try to simplify a tiny bit change var x to
2065 l_margin. Dont output the wide margins always.
2066 (rightMargin): no margin in inner texts
2068 * rowpainter.h (nestMargin): new func
2069 (changebarMargin): new func
2070 (rightMargin): new func
2072 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2076 * factory.C (createInset): modify setDrawFrame
2078 * cursor.C: use Debug::DEBUG a bit more
2080 2004-08-14 André Pönitz <poenitz@gmx.net>
2083 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2084 cache for all insets in (at least partially) visible (top-level)
2087 * BufferView_pimpl.C: reset external coord cache before every update.
2088 This means the coord cache only contains valid entries.
2090 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2093 * BufferView_pimpl.C (getInsetByCode): move function out of class
2094 and change in to a template in anon namespace. Also fix to do what
2097 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2100 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2102 (breakParagraph): rename par to par_offset and use a local
2103 reference. Add code to keep the language over a rebreak.
2104 (breakParagraphConservative): rename par to par_offset, use a
2106 (mergeParagraph): ditto
2108 (isFirstInSequence): ditto
2109 (outerFont): rename pit to par_offset
2111 * paragraph.C: ws change
2112 * paragraph.h: ditto
2116 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2118 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2121 * paragraph.C (simpleTeXOnePar): when we have a \item with
2122 optional argument, enclose the argument with curly brackets (in
2123 case it contains a closing square bracket)
2127 * text3.C (checkInsetHit): constify
2129 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2131 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2132 documents (bug 1629)
2134 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2136 Fix toggling of collapsable insets with the mouse (bug 1558)
2138 * lyxfunc.C (dispatch): adapt to LCursor changes
2140 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2141 make sure that dispatch is not invoked twice
2143 * cursor.C (needsUpdate): new method
2144 (dispatch): return void
2145 (result): new method, to access the DispatchResult of the cursor.
2147 2004-08-13 José Matos <jamatos@lyx.org>
2149 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2151 2004-08-13 André Pönitz <poenitz@gmx.net>
2153 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2155 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2158 2004-08-12 André Pönitz <poenitz@gmx.net>
2160 * text3.C: take out the 'cursor right' form insertInset and only
2161 do it in those places when it is really needed. Fixes crash on
2164 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2166 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2168 * BufferView_pimpl.C (setBuffer): initialize the current font of
2169 the underlying LyXText
2171 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2173 * kbsequence.C (print): use UI native formatting for menu
2176 * text.C (insertChar): call Paragraph::insertChar with a font
2179 * paragraph.C (insertInset, insertChar): the version that takes a
2180 LyXFont argument is now a wrapper around the other one (the
2181 opposite used to be true).
2183 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2184 argument. Font setting is done in Paragraph now.
2186 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2188 * outputparams.h: add new members intitle and lang.
2190 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2191 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2193 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2195 * text3.C (dispatch): remove special handling of button 4 and 5,
2196 it is now taken care of in the frontend code.
2198 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2200 * Spacing.h: add <string> (STLPort compile fix)
2202 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2204 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2206 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2208 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2211 * converter.C (showMessage): inherit from unary_function, make
2214 * buffer.C (writeFile): initialize retval
2216 * InsetList.h: rename private variable list to list_
2217 * InsetList.[Ch]: adjust accordingly.
2219 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2221 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2222 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2223 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2224 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2225 * ParagraphParameters.C, LaTeXFeatures.C: replace
2226 "support/std_sstream.h" with <sstream>
2228 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2230 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2231 * lyxsocket.C (LyXServerSocket): ditto
2232 (serverCallback): ditto
2234 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2236 * LaTeXFeatures.C: check release date when loading jurabib.
2238 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2240 * lyxserver.C (startPipe): call register_socket_callback
2241 (endPipe): call unregister_socket_callback
2243 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2245 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2246 (LyXServerSocket): register the callback
2247 (LyXServerSocket): unregister the callback
2248 (fd): delete function
2249 (serverCallback): improve error checking and setup the callbacks.
2250 (dataCallback): change arg to fd.
2251 (writeln): new func (copied fro the client socket) used for server
2253 (LyXDataSocket): simplify
2254 (~LyXDataSocket): close ann unregiser callback
2255 (server): delete function
2256 (fd): delete function
2257 (readln): small changes, improve some std::string usage
2258 (writeln): constify a bit
2260 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2262 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2265 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2267 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2268 after it has been populated
2270 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2272 * text2.C (insertInset): move cursor when inserting inset.
2274 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2276 * kbmap.C (findbindings): a couple of new methods. returns a
2277 container of kb_sequence objects. The real work is done by the
2278 private recursive version
2279 (printbindings): uses findbindings to print out a bracketed list
2280 of bindings (renamed from findbinding).
2282 * MenuBackend.C (binding): use kb_keymap::findbindings
2284 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2286 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2288 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2290 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2292 * paragraph.C (isWord): return true on insets that report
2295 * text.C (getWord): use Paragraph::isWord to decide what is in a
2296 word and what is not; fix bug 1609.
2298 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2300 * tex-strings.C: add "none" to string_paperpackages[], fixes
2301 off-by-one-error in the paperpackage selection.
2304 * tex-strings.[Ch]: char const * string[n]
2305 -> char const * const string[]
2307 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2309 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2310 command, return early.
2312 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2314 * debug.h: add DEBUG to enum and fix size of ANY.
2316 * debug.C: add support for Debug::DEBUG
2317 (showTags): cast errorTags.level to unsigned int
2319 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2320 (redoCurrentBuffer): ditto
2321 (updateScrollbar): ditto
2322 * cursor.C (dispatch): ditto
2323 * text2.C (setLayout): ditto
2325 (updateCounters): ditto
2327 (deleteEmptyParagraphMechanism): ditto
2329 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2331 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2332 annotations to cleanup the Makefile slightly.
2334 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2336 * lyxrc.C: do not set user_email to a default value but use empty
2337 instead. The entry used to be translated, which does not work
2338 since at the point where lyxrc is constructed there is no
2339 translation service available
2341 * messages.C (getLocaleDir): remove and use directly
2342 lyx_localedir() instead
2344 2004-06-02 Angus Leeming <leeming@lyx.org>
2346 Fix crash caused by dereferencing null pointer 'exportdata' in
2347 OutputParams by creating a new ExportData variable on the heap,
2348 storing it in a boost::shared_ptr.
2349 The crash was triggered when generating an Instant Preview
2350 of an external inset.
2352 * Makefile.am: add outputparams.C
2354 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2355 (c-tor): allocate memory to it.
2357 * exporter.C (c-tor): associated changes.
2359 2004-06-01 Angus Leeming <leeming@lyx.org>
2361 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2362 contains data before calling isInset(0). (Bug 1513.)
2364 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2366 * exporter.C (checkOverwrite): new method
2367 * exporter.C (copyFile): new method
2368 * exporter.C (Export): copy referenced files to the document dir
2369 * exporter.[Ch]: new class ExportedFile
2370 * exporter.[Ch]: new class ExportData. Contains currently the
2371 names of referenced external files
2372 * outputparams.h: add exportdata member.
2374 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2376 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2379 2004-05-19 Angus Leeming <leeming@lyx.org>
2384 * lyxfunc.C: small changes due to the introduction of namespace
2385 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2387 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2389 * text3.C (dispatch): supress update when only moving the cursor
2390 * cursor.C (selHandle): remove commented code
2392 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2394 * paragraph.C (startTeXParParams): correct column count
2395 * CutAndPaste.C (pasteSelection): remove const_cast
2396 * output_docbook.C (docbookParagraphs): remove const_cast
2397 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2398 const_cast and return ParagraphList::const_iterator
2399 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2400 * output_plaintext.C (writeFileAscii): remove const_cast
2401 * paragraph.[Ch] (simpleTeXOnePar): make const
2402 * paragraph_funcs.C (outerPar): use const iterators
2403 * paragraph_pimpl.C (validate): use const iterators
2404 * text.C (setHeightOfRow): use const iterators
2406 2004-05-17 Angus Leeming <leeming@lyx.org>
2409 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2411 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2412 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2413 if the citation engine has changed.
2415 2004-05-14 José Matos <jamatos@lyx.org>
2417 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2418 if the textclass does not provide it. Have it different for sgml and
2420 support the language of document.
2421 * output_docbook.C (docbookParagraphs):
2422 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2423 first anchor as the id of the paragraph, remove special case code.
2424 * sgml.C (escapeChar): escape only < & >.
2426 2004-05-14 Angus Leeming <leeming@lyx.org>
2428 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2429 dependencies on src/frontends/controllers/biblio.h. Define a
2430 CiteEngine_enum wrapper class to enable the enum to be forward
2433 2004-05-12 Angus Leeming <leeming@lyx.org>
2435 * buffer.C: up LYX_FORMAT to 234.
2436 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2437 use_numerical_citations with a single biblio::CiteEngine cite_engine
2439 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2441 2004-05-13 José Matos <jamatos@lyx.org>
2444 * converter.C (Converter, readFlags): add xml member.
2445 * outputparams.h: add XML flavor.
2446 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2448 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2450 * lyxfunc.C (dispatch):
2451 (getStatus): fix handling of LFUN_SEQUENCE
2453 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2455 * debug.C (showLevel): do not forget the end-of-line marker
2457 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2459 * kbmap.C (read): do not stop parsing a bind file when an error
2462 2004-04-29 Angus Leeming <leeming@lyx.org>
2467 * text2.C: wrap a bunch of #warning statements
2468 inside #ifdef WITH_WARNINGS blocks.
2470 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2472 * buffer.C: increment format to 233.
2474 2004-04-28 Angus Leeming <leeming@lyx.org>
2476 * BufferView_pimpl.C:
2479 s/updateToolbar()/updateToolbars()/
2480 s/Toolbar.h/Toolbars.h/
2482 2004-04-28 Angus Leeming <leeming@lyx.org>
2484 * BufferView.[Ch] (c-tor):
2485 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2486 No longer passes these data to the WorkArea generator.
2488 2004-04-28 Angus Leeming <leeming@lyx.org>
2490 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2492 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2494 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2496 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2498 * output_latex.C (TeXEnvironment): make sure that there is a line
2499 break before \end{foo} for the last paragraph of a document
2500 (TeXOnePar): if the paragraph is at the end of the document (or
2501 inset) and the language has to be reset, then make sure that the
2502 line break is _before_ the language command, not after (fixes bug
2503 1225); also make sure that the language reset command is the first
2504 thing after the paragraph (to ensure proper nesting of
2505 environments and thus fix bug 1404)
2507 2004-04-21 John Levon <levon@movementarian.org>
2510 * ToolbarBackend.C: make "name" be a programmatic name
2511 and a gui_name field.
2513 * lyxfunc.C: display the minibuffer on M-x
2515 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2517 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2520 2004-04-19 Angus Leeming <leeming@lyx.org>
2522 * BufferView_pimpl.C (setBuffer): changed preview interface.
2524 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2527 2004-04-19 John Levon <levon@movementarian.org>
2529 * BufferView_pimpl.C:
2530 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2532 2004-04-05 Angus Leeming <leeming@lyx.org>
2534 * text.C (redoParagraphs): add call to updateCounters(), thereby
2535 fixing the missing "Figure #:" label from the caption of a
2538 2004-04-13 Angus Leeming <leeming@lyx.org>
2540 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2541 cursor is clicked out of an inset.
2543 2004-04-13 Angus Leeming <leeming@lyx.org>
2545 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2546 than an InsetOld one.
2548 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2550 * format.[Ch]: add editor to Format
2551 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2552 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2554 2004-04-08 André Pönitz <poenitz@gmx.net>
2556 * metricsinfo.h: remove PainterInfo::width member
2558 2004-04-08 Angus Leeming <leeming@lyx.org>
2560 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2561 "\providecommand" rather than "\newcommand", thereby preventing
2562 clashes with packages that define "\boldsymbol" themselves.
2565 2004-04-08 Angus Leeming <leeming@lyx.org>
2567 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2568 thereby squashing an unnecessary warning.
2570 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2572 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2575 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2577 * BufferView.C (setCursor): call redoParagraph (some insets could
2579 (putSelectionAt): remove the 'double update' trick
2581 * BufferView_pimpl.C (fitCursor): call refreshPar
2582 (workAreaDispatch): remove an uneeded update call
2583 (dispatch): remove some manual update calls
2585 * cursor.[Ch]: remove cached_y_, updatePos
2586 (selHandle): set noUpdate when appropriate
2588 * lyxfunc.C (dispatch): track if we need an update
2590 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2592 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2593 (paintSelection): cheap optimization, do not call cursorX when not
2595 (paintPars): change signature
2598 (paintTextInset): adjust
2602 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2604 * lengthcommon.C: compilation fix: remove explicit array size from
2605 unit_name[] and friends
2607 2004-04-05 Angus Leeming <leeming@lyx.org>
2609 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2611 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2612 present only for the preferences dialog.
2613 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2615 2004-04-05 Angus Leeming <leeming@lyx.org>
2617 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2618 to enable the frontends to export changes to lyxrc correctly.
2620 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2622 2004-04-07 André Pönitz <poenitz@gmx.net>
2624 * cursor.[Ch] (selClear, adjust): remove math
2626 * cursor_slice.C: more agressive assert
2629 * BufferView_pimpl.C: rework mouse event dispatch
2636 2004-04-05 André Pönitz <poenitz@gmx.net>
2638 * cursor.[Ch] (valign, halign...): remove unneeded functions
2640 2004-04-05 Angus Leeming <leeming@lyx.org>
2642 * lyxlength.[Ch] (unit_name et al.): const-correct.
2644 2004-04-05 Angus Leeming <leeming@lyx.org>
2646 * BufferView_pimpl.C:
2655 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2657 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2659 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2661 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2663 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2664 * BufferView_pimpl.[Ch] (getStatus)
2665 * BufferView.[Ch] (getStatus): add
2666 * lyxfunc.C (getStatus): move lfuns handled in
2667 BufferView::dispatch to te function above
2668 * Cursor.C (setSelection): set selection() = true
2670 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2672 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2674 2004-03-31 Angus Leeming <leeming@lyx.org>
2676 * lyxfunc.C (dispatch): Fall through to the generic
2677 Dialogs::show("preamble").
2679 2004-03-31 Angus Leeming <leeming@lyx.org>
2681 * lyxfunc.C (dispatch): Fall through to the generic
2682 Dialogs::show("spellchecker").
2684 2004-03-31 Angus Leeming <leeming@lyx.org>
2686 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2689 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2694 * insetiterator.[Ch]:
2699 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2701 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2703 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2704 insets where we are putting the cursor.
2706 2004-03-31 Angus Leeming <leeming@lyx.org>
2709 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2711 * lyxrc.[Ch] (read, write): overloaded member functions taking
2712 a std::[io]stream arguments.
2714 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2716 2004-03-31 Angus Leeming <leeming@lyx.org>
2718 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2719 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2721 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2722 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2724 2004-03-31 Angus Leeming <leeming@lyx.org>
2726 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2727 the LFUN_ALL_INSETS_TOGGLE code.
2729 2004-03-30 Angus Leeming <leeming@lyx.org>
2731 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2732 has died. Fall through to the generic Dialogs::show("document").
2734 2004-03-30 Angus Leeming <leeming@lyx.org>
2737 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2738 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2740 * lyxfunc.C (getStatus, dispatch): define the actions for these
2741 lfuns. Little more than a cut and pste job from ControlDocument.C
2743 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2745 2004-03-30 Angus Leeming <leeming@lyx.org>
2748 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2749 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2751 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2752 open/closed state of ollapsable insets. Usage:
2754 all-inset-toggle <state> <name>, where
2755 <state> == "open" || "closed" || "toggle" and
2756 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2758 * lyxtext.h, text2.C (toggleInset): removed.
2760 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2761 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2762 now passes LFUN_INSET_TOGGLE to the found inset.
2764 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2765 is now invoked as "all-insets-toggle toggle branch".
2767 2004-03-30 Angus Leeming <leeming@lyx.org>
2771 * pariterator.[Ch]: added/corrected header blurb.
2773 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2775 * dociterator.[Ch]: add an inset_ member
2776 (backwardPos): implemented
2777 (backwardPos, forwardPos): use inset_ when the stack is empty.
2778 (doc_iterator_begin, doc_iterator_end): implemented
2779 * pariterator.[Ch]: adjust, add begin, end
2780 * insetiterator.[Ch]: adjust, add begin, end
2784 * BufferView_pimpl.C:
2785 * CutAndPaste.C: adjust
2787 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2789 * buffer.C: increment file format to 232.
2790 * LaTeXFeatures.C: add bibtopic package.
2791 * bufferparams.[Ch]: param \use_bibtopic.
2793 * lyxrc.[Ch]: add lyxrc bibtex_command
2794 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2796 * buffer.C: increment file format to 231.
2798 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2800 * dociterator.C: implement forwardPar
2801 * iterators.[Ch]: remove, replaced by
2802 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2804 * BufferView_pimpl.C:
2807 * bufferview_funcs.C:
2813 * Makefile.am: adjust
2815 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2817 * CutAndPaste.C (pasteSelection): fix 2 crashes
2818 (eraseSelection): fix a crash
2819 * paragraph_funcs.C: remove a warning
2821 2004-03-28 Angus Leeming <leeming@lyx.org>
2824 * LyXAction.C (init): new LFUN_PRINT.
2826 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2828 2004-03-27 Angus Leeming <leeming@lyx.org>
2831 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2833 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2835 2004-03-27 Angus Leeming <leeming@lyx.org>
2837 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2838 insetlist always contains non-null pointers to insets.
2840 2004-03-26 Angus Leeming <leeming@lyx.org>
2842 * src/BufferView_pimpl.C:
2843 * src/CutAndPaste.C:
2846 * src/output_plaintext.C:
2847 * src/outputparams.h:
2848 * src/paragraph_funcs.C:
2852 * src/frontends/controllers/ControlErrorList.C:
2853 * src/frontends/gtk/FileDialogPrivate.C:
2854 * src/frontends/gtk/GPainter.C:
2855 * src/frontends/gtk/GToolbar.C:
2856 * src/frontends/qt2/QRef.C:
2857 * src/mathed/math_scriptinset.C: squash compiler warnings.
2859 2004-03-26 Angus Leeming <leeming@lyx.org>
2861 * ispell.C (LaunchIspell::start):
2862 * lyx_cb.C (AutoSaveBuffer::start):
2863 invoke run(DontWait) rather than runNonBlocking().
2865 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2867 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2869 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2871 * kbsequence.C (print): adjust
2873 * kbmap.C (printKeySym): rename and change signature
2874 (printKey): use LyXKeySym::print()
2876 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2878 * undo.C: add using std::advance to compile for stlport
2880 2004-03-24 Angus Leeming <leeming@lyx.org>
2882 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2883 it leads to a crash when no buffer is present.
2885 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2886 Martin Vermeer <martin.vermeer@hut.fi>
2888 * lyxfunc.C (dispatch):
2889 * bufferparams.C (readToken): use the new LColor::setColor
2891 * LColor.[Ch] (setColor): new version that takes two strings as
2892 argument and creates a new color entry if necessary
2894 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2896 * buffer.C (makeLaTeXFile): if the main latex file that is
2897 processed is usually a subdocument of some master, then pretend
2898 for a while that it is actually the master
2900 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2902 * buffer.C (getLabelList):
2903 (getBibkeyList): use getMasterBuffer()
2904 (getMasterBuffer): new method. Returns the main document in the
2905 case where one is using included documents.
2907 2004-03-25 André Pönitz <poenitz@gmx.net>
2911 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2913 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2915 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2916 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2918 * ParameterStruct.h: merge with ParagraphParameters
2920 * lyxtext.h: remove LyXText::parOffset() and getPar()
2922 * text3.C: Remove all 'manual' update calls. We do now one per user
2923 interaction which is completely sufficient.
2927 * BufferView_pimpl.C:
2928 * FontIterator.[Ch]:
2930 * ParagraphParameters.[Ch]:
2935 * cursor_slice.[Ch]:
2942 * output_docbook.[Ch]:
2943 * output_latex.[Ch]:
2944 * output_linuxdoc.[Ch]:
2945 * output_plaintext.[Ch]:
2947 * paragraph_funcs.[Ch]:
2948 * paragraph_pimpl.[Ch]:
2956 * frontends/controllers/ControlDocument.C:
2957 * frontends/controllers/ControlErrorList.C:
2958 * frontends/controllers/ControlSpellchecker.C:
2961 * insets/insetbase.h:
2962 * insets/insetbibitem.C:
2963 * insets/insetbox.C:
2964 * insets/insetbranch.C:
2965 * insets/insetcaption.C:
2966 * insets/insetcharstyle.C:
2967 * insets/insetcharstyle.h:
2968 * insets/insetcollapsable.C:
2969 * insets/insetcollapsable.h:
2970 * insets/insetert.C:
2971 * insets/insetfloat.C:
2972 * insets/insetfoot.C:
2973 * insets/insetmarginal.C:
2974 * insets/insetnote.C:
2975 * insets/insetoptarg.C:
2976 * insets/insettabular.C:
2977 * insets/insettext.C:
2978 * insets/insettext.h:
2979 * insets/insetwrap.C:
2980 * mathed/math_mboxinset.C:
2981 * mathed/math_nestinset.C:
2982 * mathed/math_scriptinset.C:
2983 * mathed/math_scriptinset.h:
2986 2004-03-24 Angus Leeming <leeming@lyx.org>
2988 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2989 deal with any child processes that have finished but are waiting to
2990 communicate this fact to the rest of LyX.
2992 2004-03-24 Angus Leeming <leeming@lyx.org>
2994 64-bit compile fixes.
2996 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2997 (c-tor): pass lyx::pos_types rather than ints.
2999 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3002 * text.C (Delete): compile fix.
3003 (getPar): ensure that function declaration is the same as that in
3006 2004-03-23 Angus Leeming <leeming@lyx.org>
3008 * ispell.C (LaunchIspell):
3009 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3010 a boost::shred_ptr rather than a std::auto_ptr.
3012 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3014 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3015 handle LFUN_FILE_INSERT_*
3017 * lyxrc.C (setDefaults, getDescription, output, read):
3018 * lyxrc.h: remove ps_command
3020 2004-03-22 Angus Leeming <leeming@lyx.org>
3022 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3023 Ensure that error_handler is processed once only and that all data
3024 is saved before attempting to output any warning messages.
3026 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3028 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3030 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3032 2004-03-19 André Pönitz <poenitz@gmx.net>
3034 * cursor.[Ch] (reset): take main text inset as argument
3036 * BufferView: adjust
3037 * BufferView_pimpl.C: adjust
3039 * paragraph.[Ch]: fix completely broken operator=()
3041 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3043 * LColor.C (getFromLyXName): make sure that the color name is used
3046 2004-03-17 Angus Leeming <leeming@lyx.org>
3049 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3051 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3052 dialog and to kill a forked process.
3054 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3056 * text2.C (setCursorFromCoordinates): fix font problem
3058 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3060 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3061 bogus "rebuild cursor" code
3063 2004-03-11 André Pönitz <poenitz@gmx.net>
3065 * buffer.[Ch]: use InsetText instead of LyXText as container for
3068 * dociterator.[Ch]: drop the BufferView * member which is not needed
3069 anymore after the change to buffer.C
3071 * paragraph_funcs.C:
3075 * BufferView_pimpl.[Ch]:
3077 * cursor_slice.[Ch]: adjust
3079 * text3.C: fix bug in mathDispatch
3081 2004-03-08 André Pönitz <poenitz@gmx.net>
3083 * undo.[Ch]: use 'StableDocumentIterator' as base for
3086 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3089 * bufferparams.[Ch]: add jurabib support and param.
3091 * LaTeX.C: add FIXME/comment.
3093 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3095 * buffer.C: increment file format to 230.
3097 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3099 * cursor.C (dispatch): avoid infinite loops
3101 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3103 * rowpainter.C (paintSelection): fix x coordinates
3105 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3107 * text.C (rowBreakPoint): fix breaking before displayed insets
3109 2004-03-01 André Pönitz <poenitz@gmx.net>
3111 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3113 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3117 * BufferView_pimpl.C:
3125 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3131 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3132 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3134 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3136 * Bidi.[Ch] (computeTables): const correctness
3137 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3138 fill_hfill, fill_label_hfill and x from Row
3139 * lyxtext.h: prepareToPrint returns a RowMetrics
3140 * rowPainter.C: adjust
3141 * text.C (prepareToPrint): use width, not textWidth. adjust
3142 (redoParagraphInternal, cursorX): adjust
3143 * text2.C (getColumnNearX): adjust
3144 (init): put a default value to the top LyXText::width
3146 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3148 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3150 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3152 * lyxtext.h: add FontIterator class
3154 * text.C (FontIterator, operator*, operator->, operator++): add
3155 (rowBreakPoint, setRowWidth): adjust (fixing a
3158 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3160 * BufferView_pimpl.C (workAreaDispatch): allow also
3161 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3163 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3165 * text.C (rowBreakPoint): fix a bug showing with very large insets
3167 2004-02-25 André Pönitz <poenitz@gmx.net>
3170 * cursor.[Ch]: move some mathed specific code to mathed
3172 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3174 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3175 use_tempdir in preferences
3176 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3178 * lyx_main.C: ensure that tempdir is valid
3179 * lyxlex.h: correct typo
3180 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3181 * paragraph.[Ch] (isMultiLingual): make const
3182 * cursor.[Ch] (openable): make const
3184 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3186 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3188 2004-02-20 André Pönitz <poenitz@gmx.net>
3190 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3192 * cursor.[Ch]: prepare for localized getStatus()
3198 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3200 2004-02-20 André Pönitz <poenitz@gmx.net>
3202 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3204 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3206 * text2.C (setCursorFromCoordinates): switch to absolute coords
3208 (cursorDown): adjust
3209 * text3.C (dispatch): adjust
3211 2004-02-16 André Pönitz <poenitz@gmx.net>
3213 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3216 * cursor_slice.[Ch]: remove unneeded acessor function
3218 * lyxtext.h: rename rtl() to isRTL()
3226 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3228 * rowpainter.C (paintSelection): coord fix
3230 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3232 * Spacing.C: compile fix
3234 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3236 * cursor.C (dispatch): restore current_ before returning
3238 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3240 * text2.C (cursorUp, cursorDown): fix coords
3243 2004-02-12 André Pönitz <poenitz@gmx.net>
3248 * text3.C: add LCursor & parameter to most cursor movement functions
3249 remove usage of LyXText::cursorRow() and cursorPar()
3251 * cursor.[Ch]: add textRow() needed members
3254 * BufferView_pimpl.C:
3257 * BufferView_pimpl.C: adjust
3259 2004-02-11 André Pönitz <poenitz@gmx.net>
3263 * BufferView_pimpl.C: shift undo/redo handling
3265 * cursor.[Ch]: fix mathed crash
3268 * lyxtext.h: move selectionAsText to LCursor
3276 * rowpainter.C: fix excessive drawing
3278 2004-02-06 André Pönitz <poenitz@gmx.net>
3281 * BufferView_pimpl.[Ch]:
3282 * text3.C: move some text specific LFUN handling
3284 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3286 * text3.C (checkInsetHit): adjust coords
3287 * text2.C (getColumnNearX): adjust coords
3288 (edit): adjust coords
3289 * text.C (getRowNearY): add two asserts
3291 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3294 * format.C: add using std::distance to compile on gcc 2.95/stlport
3296 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3298 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3300 2004-02-04 André Pönitz <poenitz@gmx.net>
3302 * BufferView.[Ch] (insertInset):
3303 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3308 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3310 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3311 on the default clause of the switch
3312 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3313 wasn't catched by LCursor::dispatch
3315 2004-02-03 André Pönitz <poenitz@gmx.net>
3318 * cursor.[Ch]: some additional asserts
3320 * undo.[Ch]: remove LyXText dependency in interface
3324 * lyxtext.h (firstPar, lastPar): remove dead functions
3329 * paragraph.[Ch]: adjust
3331 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3333 * lyxfind.C (find): fix argument order in call to ::find
3335 2004-02-02 André Pönitz <poenitz@gmx.net>
3337 * cursor.[Ch]: remove direct access to anchor
3339 * text.C: remove findText() hack
3341 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3343 * iterators.[Ch] (lockPath): remove in favour of...
3344 * BufferView.[Ch] (setCursor): this addition
3345 * BufferView.C (putSelectionAt): adjust
3346 * undo.C (performUndoOrRedo): adjust
3347 * lyxfunc.C (dispatch): adjust
3349 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3351 * iterators.C (lockPath): add a missing slice
3352 * undo.C (performUndoOrRedo): remove redundant positioning code
3354 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3356 * vc-backend.C (scanMaster): ";" -> ';'
3358 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3360 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3361 std::binary_function
3363 * lyxtextclass.C (compare_name): rename to...
3364 (LayoutNamesEqual): ...this
3366 * lyxlex_pimpl.C (compare_tags): inherit from
3367 std::binary_function, put back into anon namespace
3369 * lyxfind.C (MatchString): inherig from std::binary_function
3370 (findChange): use empty() istead of !size()
3372 * format.C (FormatNamesEqual): new functor
3379 * converter.C (compare_Converter): rename to...
3380 (ConverterEqual): ...this, and fixup a bit.
3381 (getConverter): use it, and make function const
3382 (getNumber): use it, and make function const
3386 * bufferlist.C: add using boost::bind
3388 * MenuBackend.C (MenuNamesEqual): new functor
3389 (hasMenu): use it, and make function const
3390 (hasSubmenu): use nested bind to get rid of compare_memfun.
3392 2004-01-30 André Pönitz <poenitz@gmx.net>
3394 * BufferView_pimpl.C:
3397 * cursor_slice.[Ch]:
3400 * paragraph_funcs.C:
3401 * paragraph_funcs.h:
3405 * text3.C: move some of the edit(x,y) handling to the insets
3406 some coordinate changes.
3408 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3410 * text.C: add using statements for std::advance and std::distance
3412 * paragraph.C: add using statement for std::distance
3414 * lyxfind.C: add using statement for std::advance
3416 * cursor.C (region): remove std:: from swap
3417 (openable): use nucleus in stead of operator->
3419 * BufferView.C: add using statements for std::distance and std::swap
3421 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3423 * iterators.C: Remove the pimple, move the needed structures to
3424 the header file. Create accessor for the positions stack.
3425 (asPosIterator): remove function
3427 * PosIterator.C (PosIterator): move constructors to top of file
3428 (PosIterator): reimplement the constructor taking a ParIterator in
3430 (setFrom): new function
3431 (operator!=): inline it
3433 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3435 * lyxfind.C (replaceAll): use std::advance
3437 * iterators.h: inherit from std::iterator.
3439 * PosIterator.C (advance, distance): remove
3440 * PosIterator.h: interit from std::iterator.
3442 2004-01-26 André Pönitz <poenitz@gmx.net>
3445 * BufferView_pimpl.[Ch]:
3449 * bufferview_funcs.C:
3459 * output_linuxdoc.C:
3460 * output_plaintext.C:
3462 * paragraph_funcs.[Ch]:
3463 * paragraph_pimpl.[Ch]:
3469 * text3.C: more IU: dumps most of the rest of the mathcursor
3470 implementation into cursor.[Ch]; "globalize" a bit of it.
3472 2004-01-25 Angus Leeming <leeming@lyx.org>
3474 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3476 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3478 * LaTeXFeatures.h: add nice_ and nice() const
3479 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3481 2004-01-20 André Pönitz <poenitz@gmx.net>
3484 * BufferView_pimpl.C:
3486 * bufferview_funcs.C:
3488 * cursor_slice.[Ch]:
3499 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3500 LCursor and mathcursor parts to LCursor and InsetBase.
3502 2004-01-15 André Pönitz <poenitz@gmx.net>
3504 * cursor_slice.[Ch]: add a few covienience functions
3506 * funcrequest.[Ch]: remove BufferView * member
3508 * BufferView_pimpl.C:
3515 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3517 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3519 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3520 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3522 2004-01-13 André Pönitz <poenitz@gmx.net>
3525 * lyxtext.h: hide cursor and selection anchor behind accessor function
3528 * BufferView_pimpl.[Ch]:
3530 * bufferview_funcs.C:
3540 * cursor_slice.[Ch]: some integer type changes for inset unification
3542 * lyxcursor.[hC]: remove, it's CursorSlice now.
3545 * BufferView_pimpl.[Ch]:
3546 * bufferview_funcs.C:
3552 * textcursor.[Ch]: adjust
3554 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3556 * text2.C (undoSpan): add and use
3557 * text.C (breakParagraph): use undoSpan (fix bug 578)
3560 2004-01-08 Angus Leeming <leeming@lyx.org>
3562 * BufferView_pimpl.C (MenuInsertLyXFile):
3563 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3564 * lyxfunc.C (menuNew, open, doImport):
3565 FileFilterList change to the FileDialog open and save functions.
3567 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3569 * ShareContainer.h: make isEqual and isUnique adaptable
3571 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3573 2004-01-07 Angus Leeming <leeming@lyx.org>
3576 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3578 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3580 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3581 functions replacing find, replace and replaceAll.
3583 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3584 LFUN_WORDFIND(FORWARD|BACKWARD).
3586 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3588 * text.C (breakParagraph): remove an outdated #warning
3590 2004-01-07 André Pönitz <poenitz@gmx.net>
3592 * lyxfind.C: somewhat clearer logic
3594 * text.C: prevent crash in cursorX on unitialized row cache
3596 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3598 * lyxcursor.[Ch] (operator>): add
3599 * textcursor.C (selStart, selEnd): use std::min and std::max
3601 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3603 * Chktex.C: include boost/format.hpp
3605 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3607 * InsetList.C: replace functor MathcIt with adaptable functor
3609 (insetIterator): modify accordingly
3611 * BranchList.h: move the BranchNamesEqual functor here from...
3612 * BranchList.C: ... to here
3614 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3616 (add): replace a finding loop with std::find_if.
3618 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3620 * output_docbook.C: moving LatexParam functionality into
3623 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3625 * buffer.C: increment format to 229.
3627 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3630 * lyx_sty.[Ch]: remove minipageindent_def
3636 * text3.C: remove LFUN_INSET_MINIPAGE
3638 2003-12-28 Angus Leeming <leeming@lyx.org>
3640 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3642 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3644 * text2.C (setParagraph): fix off-by-one crash
3646 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3648 * output_docbook.C: header stuff for AGU
3650 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3652 * text2.C (redoCursor): remove
3655 * BufferView_pimpl.C: remove calls to redoCursor and
3656 setCursor(cursor.par(), cursor.pos()) all around
3658 2003-12-15 Angus Leeming <leeming@lyx.org>
3660 * buffer.C: up the format to 228.
3662 2003-12-15 André Pönitz <poenitz@gmx.net>
3664 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3669 * BufferView_pimpl.C:
3678 2003-12-15 Angus Leeming <leeming@lyx.org>
3680 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3681 than getFromGUIName to manipulate the color.
3683 2003-12-14 Angus Leeming <leeming@lyx.org>
3685 * BranchList.[Ch]: minimize the API.
3686 (Branch::getBranch, getColor): now return a 'const &'.
3687 (Branch::setSelected) now returns a bool set to true if the
3688 selection status changes.
3689 (BranchList::clear, size, getColor, setColor, setSelected,
3690 allBranches, allSelected, separator): removed.
3691 (BranchList::find): new functions, returning the Branch with
3693 (BranchList::add, remove): return a bool indicating that
3694 the operation was successful.
3696 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3697 new InsetBranch::isBranchSlected member function.
3699 * LColor.[Ch]: mimimize the API.
3700 (fill): renamed as addColor and made private.
3701 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3702 versions of these functions taking a string arg have been removed.
3704 * bufferparams.C (readToken):
3705 * lyxfunc.C (dispatch):
3706 * lyxrc.C (read): changes due to the altered BranchList and
3709 * factory.C (createInset, readInset): changes due to altered
3712 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3715 * lyxfunc.C: remove insetminipage. "minipage-insert"
3716 now produces a frameless minipage box inset.
3718 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3720 * textcursor.[Ch] (selStart,selEnd): add new methods
3721 remove selection::start, end, use LyXCursor::operator<
3722 * lyxcursor.[Ch] (operator<): add
3723 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3724 * BufferView.[Ch] (unsetXSel): add
3725 * text2.C (clearSelection): use unsetXSel,adjust
3728 * rowpainter.C: adjust
3729 * bufferview_funcs.C (put_selection_at): adjust
3731 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3733 * BufferView_pimpl.C: small coord. correction
3735 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3737 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3738 dragging over the splash screen.
3740 2003-12-11 Angus Leeming <leeming@lyx.org>
3742 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3743 as it is now handled in LyXText::dispatch.
3745 * text3.C (doInsertInset): remove a level of nesting.
3747 2003-12-11 Angus Leeming <leeming@lyx.org>
3749 * factory.C (createInset): changes due to the changed interface to
3750 InsetCommandMailer::string2params.
3752 2003-12-10 Angus Leeming <leeming@lyx.org>
3754 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3755 'dialog-show-new-inset <inset name>'
3757 2003-12-10 Angus Leeming <leeming@lyx.org>
3759 * buffer.C: up the format to 227.
3761 * factory.C: the box inset is now identified simply by 'Box'.
3763 2003-12-10 Angus Leeming <leeming@lyx.org>
3765 * buffer.C: up the format to 226.
3767 * factory.C: the note inset is now identified simply by 'Note'.
3769 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3771 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3772 when a pit is enough. Standarize a couple of loops.
3774 2003-12-05 Angus Leeming <leeming@lyx.org>
3776 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3777 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3778 data to the re-worked "log" dialog.
3780 2003-12-03 André Pönitz <poenitz@gmx.net>
3786 * paragraph_funcs.C:
3788 * text2.C: use Inset::getText instead of Inset::getParagraph
3790 2003-12-03 André Pönitz <poenitz@gmx.net>
3794 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3795 InsetText::read() as LyXText::read()
3797 2003-12-02 Angus Leeming <leeming@lyx.org>
3799 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3800 type. Add a comment in the implementation that the function uses
3801 the stream's bad() function rather than fail() as the std::streams
3804 2003-12-02 André Pönitz <poenitz@gmx.net>
3806 * lyxlex.[Ch]: make interface more similar to std::stream
3808 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3810 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3812 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3814 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3816 * vspace.[Ch]: remove VSpace::NONE
3818 2003-12-01 André Pönitz <poenitz@gmx.net>
3821 * lyxtext.h: move ParagraphList member to LyXText
3822 rename LyXText::ownerParagraphs to LyXText::paragraph
3825 * bufferview_funcs.C:
3835 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3837 * undo.C: fix cursor positioning
3839 2003-12-01 John Levon <levon@movementarian.org>
3841 * BufferView_pimpl.C: fix a crash on exit with
3844 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3846 * BranchList.C: fix setSelected() method.
3848 2003-11-28 André Pönitz <poenitz@gmx.net>
3850 * ParagraphParameters.[Ch]:
3851 * ParameterStruct.h: remove space above/below from Paragraph to
3854 * BufferView_pimpl.C:
3860 * paragraph_funcs.C:
3866 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3868 * factory.C: Syntax change for CharStyles
3870 2003-11-28 André Pönitz <poenitz@gmx.net>
3875 * buffer.[Ch]: move LyXText member
3877 2003-11-28 André Pönitz <poenitz@gmx.net>
3879 * BufferView.[Ch]: make LyXText * text a private member
3881 * BufferView_pimpl.C:
3892 * output_plaintext.C: cleanup
3894 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3897 * lyxtextclass.[Ch]: parametrize SGML document header
3899 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3902 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3905 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3907 * text2.C (setFont): rework using PosIterator (no more recursive)
3908 (setCharFont): no more needed
3909 (setLayout): no more selection cursors fiddling (done by redoCursor)
3910 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3911 destroy remaining ones)
3913 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3915 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3917 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3920 * text3.C: adjust + re-allow multi par depth changes
3921 * textcursor.C: simplify a bit
3923 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3929 * src/output_docbook.C:
3930 * src/output_latex.C:
3935 * src/text2.C: Introducing a number of tags parametrizing various
3936 XML formats that we may want to support
3938 2003-11-25 André Pönitz <poenitz@gmx.net>
3940 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3942 * lyxtext.h (leftMargin/rightMargin): simplify interface
3949 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3951 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3952 master file to any child files. Fixes bug 546.
3954 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3956 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3958 2003-11-24 André Pönitz <poenitz@gmx.net>
3960 * rowpainter.C: simplification
3962 * text2.C (updateCounters): remove call to redoParagraph on
3963 changed labels as this is far too expensive.
3965 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3967 * converter.C (convert): fix a crash: this function gets
3968 called with buffer == 0 from importer code.
3970 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3972 * text3.C (cursorPrevious): make sure that we do not compare
3973 iterators form different containers.
3976 * rowpainter.C (paintSelection): make sure that we do not compare
3977 iterators from different containers.
3979 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3980 iterators from different ParagraphList containers.
3983 * text2.C (LyXText): change order of initialization slightly
3984 (operator=): new function. copy all variables except cache_par_
3985 (moveUp): make sure that we do not compare iterators from
3986 different ParagraphList constainers.
3989 * text.C (firstPar): new function
3990 (lastPar): new function
3991 (endPar): new function
3993 * lyxtext.h: move things around and group public functions, public
3994 variables, private functions, private variables
3996 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3998 * factory.C: change call to InsetERT constructor to avoid
3999 additional invocation of method status
4000 * text2.C (toggleInset): remove redundant update() call
4001 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4002 instead of a Bufferview pointer
4004 2003-11-21 André Pönitz <poenitz@gmx.net>
4006 * rowpainter.C: simplification
4008 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4010 * text3.C (dispatch): make possible to extend a word/row selection
4013 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4015 * lyxtext.h: x0_,y0_ -> xo_,yo_
4016 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4017 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4018 * rowpainter.C (paintRows): paint full paragraphs
4020 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4022 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4025 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4027 * lyxtext.h: add x0_, y0_
4028 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4029 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4031 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4033 * text2.C (setCursorIntern): move the x_target update here *
4034 * text3.C: change some bv() to true/false in calls to
4035 cursorUp/Down/Right/Left
4036 * cursor.C: use helper function.
4038 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4040 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4041 * paragraph_funcs.[Ch]: correct comment
4042 * rowpainter.C: do not paint selections away from bv->cursor()
4043 Fix a long standing selection painting bug.
4044 * text3.C: generalize mouse-selection code to LyXTexts other that
4046 * textcursor.C: do not use y coords if we can use par offsets
4048 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4050 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4051 cursor position after e.g. inset insert)
4053 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4055 * lyxfind.C (replace): adjust to locking removal + some
4058 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4060 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4063 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4066 * output_docbook.C: XML sanitation: new layout
4067 parameters InnerTag and CommandDepth
4069 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4071 * BufferView_pimpl.C:
4073 * text3.C: Fix the insertion and modification of button-style
4076 2003-11-13 André Pönitz <poenitz@gmx.net>
4078 * InsetList.[Ch]: remove deleteLyXText
4080 * paragraph.[Ch]: cache beginOfBody position
4085 * text3.C: remove superfluous update() calls
4089 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4091 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4092 * BufferView.C (fitLockedInsetCursor): remove
4093 * cursor.[Ch] (getDim): add
4094 * text.C (getRowNearY): add faster version
4095 * text3.C: remove some update calls
4097 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4109 * text3.C: The Character Style /XML short element patch.
4111 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4114 * factory.C: Small step to solving 'unable to insert some insets'
4117 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4119 * cursor.[Ch] (updatePos): new function for updating the y
4120 position of the tip inset
4121 * bufferview_funcs.C (put_selection_at):
4122 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4124 2003-11-11 André Pönitz <poenitz@gmx.net>
4126 * text.C: remove big comment on invalid Paragraph pointers as it is
4129 2003-11-11 André Pönitz <poenitz@gmx.net>
4131 * text_funcs.[Ch]: merge with ...
4139 * Makefile.am: remove text_funcs.[Ch]
4141 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4143 * cursor.C (getPos): return absolute cached y coord
4145 * BufferView_pimpl.C (fitCursor): new simplistic code
4146 (workAreaDispatch): add a fitCursor call
4148 2003-11-10 André Pönitz <poenitz@gmx.net>
4151 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4153 2003-11-10 André Pönitz <poenitz@gmx.net>
4155 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4156 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4157 indicate that the cursor needs to leave an inset
4159 * lyxtext.h: remove inset locking
4161 * cursor.[Ch]: re-implement functionality provided by inset locking
4164 * BufferView_pimpl.[Ch]:
4166 * bufferview_funcs.[Ch]:
4178 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4180 * PosIterator.[Ch]: replace the stack with a vector, add inset
4182 * iterators.[C]: adjust
4184 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4186 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4188 * paragraph_funcs.C (readParToken): put the correct id in the
4189 error item, not the id of the top paragraph
4191 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4193 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4194 * bufferview_funcs.C (put_selection_at): use the above
4196 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4198 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4200 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4202 * output_linuxdoc.h:
4203 * output_plaintext.h:
4205 * output_docbook.h: add #include statements
4207 2003-11-05 José Matos <jamatos@lyx.org>
4209 * output_docbook.[Ch]:
4210 * output_latex.[Ch]:
4211 * output_linuxdoc.[Ch]:
4212 * output_plaintext.[Ch]: New files for output formats.
4213 * output.[Ch]: New file for helper functions.
4216 * paragraph_funcs.[Ch]: output functions moved to new files.
4218 * outputparams.h: rename of latexrunparams.h
4226 * paragraph_funcs.[Ch]:
4227 * paragraph_pimpl.[Ch]:
4228 * tabular.[Ch]: rename ascii to plaintext
4229 and LatexRunParams to OutputParams.
4231 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4233 * iterators.[Ch] (text): require bv argument
4234 * undo.C (recordUndo):
4235 * lyxfunc.C (dispatch):
4236 * bufferview_funcs.C (put_selection_at): adjust
4238 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4240 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4242 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4244 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4247 2003-11-04 André Pönitz <poenitz@gmx.net>
4249 * cursor.[Ch]: restructure
4252 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4254 * iterators.[Ch] (asCursor): remove
4256 * lfuns.h: remove LFUN_INSET_EDIT
4262 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4264 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4266 * lyxfind.[Ch]: complete overhaul
4267 * BufferView_pimpl.C:
4269 * paragraph.[Ch] (insert): add
4271 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4275 * text.C: remove dead spellcheck code
4277 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4279 * dispatchresult.h: add a val setter
4281 * cursor.C (dispatch): use a tempvar for data_[i]
4283 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4285 * PosIterator.[Ch]: compile fix
4287 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4289 * text.C (cursorPar): deactivate the cursor cache
4291 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4293 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4295 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * text3.C (dispatch): adjust for new DisptchResult semantics.
4299 * lyxfunc.C (dispatch): handle update when return from
4300 Cursor::dispatch, adjust for new DispatchResult semantics.
4302 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4303 DispatchResult(true) mean to not update. Add class functions for
4304 setting dispatched and update, as well as reading.
4306 * cursor.C (dispatch): don't handle update here
4308 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4311 * trans_mgr.C: adjust
4313 * paragraph_funcs.C (readParToken): exception safety
4315 * lyxvc.h: store the vcs pointer in a scoped_ptr
4318 * lyxsocket.C (serverCallback): exception safety
4320 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4322 * ispell.C (clone): make it return a auto_ptr
4324 * factory.C (createInset): exception safety
4325 (readInset): exception safety
4327 * bufferlist.C (newBuffer): exception safety
4329 * Thesaurus.C (Thesaurus): use initialization for aik_
4331 * MenuBackend.C (expandToc): exception safety.
4333 2003-11-03 André Pönitz <poenitz@gmx.net>
4337 * bufferview_funcs.C: remove getInsetFromId()
4340 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4346 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4348 * PosIterator.C (distance, advance): new
4349 * bufferview_funcs.[Ch] (put_selection_at): new
4350 * iterators.[Ch] (lockPath): new
4352 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4354 * iterators.[Ch] (asPosIterator): added
4355 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4356 * PosIterator.[Ch]: added
4358 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4362 * cursor.C (dispatch):
4363 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4365 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4366 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4367 contructor, add a class function dispatched. Remove operator>=
4369 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * debug.C: only use the default constructor for debugstream
4374 * main.C (main): include debug.h and setup the lyxerr streambuf
4377 2003-10-31 José Matos <jamatos@lyx.org>
4379 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4381 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4382 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4383 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4384 * paragraph_pimpl.C (simpleTeXSpecialC):
4385 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4386 add LatexRunParams argument.
4388 * exporter.C (Export): change call accordingly.
4390 * latexrunparams.h: add new member to take care of the other backends.
4391 2003-10-30 José Matos <jamatos@lyx.org>
4393 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4394 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4395 factorise code for paragraph output.
4397 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4400 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4402 * text3.C (dispatch):
4403 * lyxfunc.C (dispatch):
4404 * cursor.C (dispatch):
4405 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4407 * dispatchresult.h: make the dispatch_result_t ctor explicit
4409 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4412 * buffer.C: small refactoring of docbook stuff
4414 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4416 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4419 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4421 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4422 operator dispatch_result_t, and operators for == != and >=
4424 * cursor.C (dispatch): adjust for operator dispatch_result_t
4425 removal. comment out call to update
4427 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4429 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4437 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4440 * dispatchresult.h: new file, DispatchResult broken out of
4443 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4445 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4447 * text.C (rowBreakPoint): put a hack inside #if 0
4449 2003-10-28 André Pönitz <poenitz@gmx.net>
4453 * paragraph_funcs.C:
4456 * text2.C: general cleanup (lots of small stuff)
4458 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4460 * text2.C (cursorEnd): simple fix to the "end key goes to one
4461 before the end on last row" bug
4463 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4465 * text.C (backspace): fix the "zombie characters"
4467 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4469 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4471 2003-10-27 André Pönitz <poenitz@gmx.net>
4473 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4475 * factory.C: handle new InsetPagebreak, InsetLine
4477 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4478 and move handling into new InsetPagebreak, InsetLine
4480 * BufferView_pimpl.C:
4482 * ParagraphParameters.C:
4483 * ParameterStruct.h:
4488 * paragraph_funcs.C:
4489 * paragraph_pimpl.C:
4495 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4498 * lyxrow_funcs.[Ch]:
4504 * text3.C: remove lastPos uses in favour of Row::endpos
4506 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4508 * undo.C (performUndoOrRedo): fix two crashes by setting a
4509 cursor by hand and reordering some calls. Use bv->lockInset instead
4510 of inset->edit because the latter loses cursor information
4512 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4514 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4516 (rowBreakPoint): fix width. change point to point + 1.
4517 Add a missing check.
4519 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4522 * lyxfunc.C: fix (at least partly) the problems
4523 with the Nav menu and headers inside branch insets
4526 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4528 * paragraph.C (getChar): add strong asserts
4530 * lyxrow_funcs.C (lastPos): remove hideous hack
4532 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4533 (fill): adjust to that (avoid an infinite loop)
4535 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4537 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4539 2003-10-23 André Pönitz <poenitz@gmx.net>
4541 * RowList_fwd.h: change list<> to vector<> to gain speed
4542 after suggestion from Alfredo
4544 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4546 * lyxtext.h: move the bidi stuff from here...
4549 * Bidi.[Ch]: ... to here
4551 2003-10-23 André Pönitz <poenitz@gmx.net>
4554 * text.C (isLastRow, isFirstRow): new functions
4556 * paragraph.h: new width cache member
4558 * rowpainter.C: replace RowList::iterator with Row & where possible
4560 * lyxfunc.C: replace several view()->text with a single call
4562 * toc.C: fix 'unused' warning
4564 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4567 when woring with stream::pos_type
4568 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4570 2003-10-22 André Pönitz <poenitz@gmx.net>
4573 * text.C: use Row & instead of RowList::iterator
4575 * lyxrow.h: rename end() to endpos()
4581 2003-10-22 Angus Leeming <leeming@lyx.org>
4583 * buffer.[Ch] (fully_loaded): new member function, returning true
4584 only when the file has been loaded fully.
4585 Used to prevent the premature generation of previews and by the
4586 citation inset to prevent computation of the natbib-style label.
4588 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4589 templates are all set up.
4591 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4593 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4595 * text.C: fixed an "oops" in the "is a bit silly"
4598 2003-10-21 André Pönitz <poenitz@gmx.net>
4600 * FuncStatus.[Ch]: small stuff, whitespace
4602 * lyxfont.[Ch]: operator<<() for debug reasons
4606 * lyxtext.h: whitespace, spelling
4608 * paragraph.C: naming of variables
4611 * text2.C: small stuff
4614 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4616 * text.C: (1) finish off the inset display() work;
4617 (2) fix the "is a bit silly" bug (accessing char
4620 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4622 * text.C: re-introduce display() for insets, fixing the
4623 various bugs (stretch of line above, math inset
4626 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4628 * text.C (rightMargin): remove spurious semicolon
4630 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4633 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4635 * text3.C: fix one crash due to wrong cursor def
4637 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4639 * vc-backend.C (scanMaster): make the regex static
4641 * LaTeX.C (scanAuxFile): make the regexs static
4643 * text3.C (doInsertInset, dispatch, dispatch):
4644 * text2.C (cursorUp, cursorDown):
4645 * text.C (selectNextWordToSpellcheck):
4646 * BufferView_pimpl.C (dispatch):
4647 * lyxfunc.C (dispatch): localDispatch -> dispatch
4649 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4651 * lyxsocket.C: include <cerrno>
4653 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4655 * lyxfunc.C (dispatch): remove textcache stuff
4657 * bufferlist.C (release): remove textcache stuff
4660 * TextCache.C: delete file
4661 * TextCache.h: delete file
4663 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4665 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4666 delete of the bv_->text.
4667 (resizeCurrentBuffer): remove texcache stuff
4668 (workAreaResize): ditto
4670 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4672 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4675 2003-10-16 André Pönitz <poenitz@gmx.net>
4682 * text3.C: speed up by storing y positions per paragraph plus per-row
4683 offset instead of having a 'full' y position in the row.
4685 2003-10-15 André Pönitz <poenitz@gmx.net>
4689 * undo.[Ch]: make undo aware of inner insets
4691 2003-10-14 Angus Leeming <leeming@lyx.org>
4693 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4694 static member functions LyX::ref() and LyX::cref.
4695 (lastfiles): new accessor functions for the new lastfiles_ member var.
4696 (addLyXView, views_): add a new LyXView to the list of views_.
4697 (updateInset): loop over all LyXViews to call their own updateInset
4698 member function, returning a pointer to the Buffer owning the inset.
4700 * BufferView_pimpl.C (loadLyXFile):
4701 * MenuBackend.C (expandLastfiles):
4702 * bufferlist.C (MenuWrite, QuitLyX):
4703 lastfiles is no longer a global variable.
4704 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4706 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4707 static function. Access through LyX::cref().emergencyCleanup().
4709 2003-10-14 André Pönitz <poenitz@gmx.net>
4711 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4713 * undo.[Ch]: restoring part of 'undo in insets'
4716 * undo_funcs.[Ch]: merge with undo.[Ch]
4718 * tabular.C: small cleansing stuff
4720 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4722 * paragraph_funcs.C (readParToken): report unknown insets as error
4723 boxes. Use the outer paragraph as location (also for unknown
4726 * factory.C (readInset): do not abort on reading an unknown inset.
4727 Eat it and return 0.
4729 2003-10-13 Angus Leeming <leeming@lyx.org>
4731 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4733 * lyxrc.C: displayTranslator is now a function,
4734 declared in GraphicsTypes.h.
4736 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4738 * format.C: new placeholder $$a to pass the socket address.
4740 * bufferlist.[Ch]: new function getBufferFromTmp.
4742 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4743 files in the temporary dir.
4745 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4747 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4749 * Makefile.am: add lyxsocket.[Ch].
4751 * lyx_main.C (error_handler): handle SIGPIPE.
4753 2003-10-13 André Pönitz <poenitz@gmx.net>
4755 * BufferView_pimpl.C:
4760 * undo_funcs.[Ch]: use paroffset_type instead of
4761 ParagraphList::iterators to prevent multiple conversion
4762 (and get a more robust interface)
4764 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4766 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4768 * text3.C (dispatch): ditto
4770 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4772 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4773 move the onlyfile, use onlyfile instead of foundfile in a couple
4776 * DepTable.C (update): flush the error stream a bit more
4778 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4780 * lyxserver.C (callback): adjust
4782 * lyxfunc.C (getStatus): add a missing brace in commented code
4783 (ensureBufferClean): reindent
4784 (dispatch): delete version taking a string
4786 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4788 * LaTeX.C (deplog): move found file handlig from here...
4789 (handleFoundFile): .. to new function here.
4790 (deplog): make sure to discover several files mentioned on the
4793 2003-10-10 André Pönitz <poenitz@gmx.net>
4800 * text3.C: fix some of the tabular crashes
4802 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4804 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4806 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4808 2003-10-09 André Pönitz <poenitz@gmx.net>
4810 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4813 * BufferView_pimpl.C:
4814 * bufferview_funcs.C:
4825 * undo_funcs.C: adjust
4827 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4829 * text2.C (incrementItemDepth): new function, use a backtracking
4830 algorithm to discover the correct item depth.
4831 (resetEnumCounterIfNeeded): new function, use a backtracking
4832 algorithm to discover if counter reset is needed.
4833 (setCounter): use them. Simplify a bit. Add different labels for
4834 different item depths for itemize.
4836 * paragraph.C (Paragraph): remove initialization of enumdepth
4839 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4840 enumerate and itemize. Change the type of itemdepth to signed char.
4842 2003-10-08 André Pönitz <poenitz@gmx.net>
4844 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4849 * tabular.[Ch]: fix crash after 'row-insert'
4851 2003-10-08 Angus Leeming <leeming@lyx.org>
4853 Fix doxygen warnings.
4855 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4856 Remove CutAndPaste:: prefix from header file declaration.
4858 * LColor.h (fill): remove LColor:: prefix from declaration.
4860 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4861 use lyx::depth_type rather than Paragraph::depth_type so that
4862 header file and .C file match.
4864 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4866 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4867 * aspell.C: \file aspell_local.C -> \file aspell.C
4868 * gettext.C: \file gettext.C -> \file src/gettext.C
4869 * gettext.h: \file gettext.h -> \file src/gettext.h
4870 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4871 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4872 * text.C: \file text.C -> \file src/text.C
4874 * toc.C: move comment so that doxygen is not confused.
4876 2003-10-07 Angus Leeming <leeming@lyx.org>
4878 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4880 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4883 * aspell_local.h: add forgotten std::string's.
4885 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4892 * text3.C: The Box patch. Fancybox support, minipage, parbox
4894 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4900 * ParagraphParameters.h:
4910 * lyxtextclasslist.h:
4913 * paragraph_pimpl.C:
4914 * textcursor.h: add <string> and other small fixes to make Lars'
4915 std::string patch compile with STLport.
4917 2003-10-06 Angus Leeming <leeming@lyx.org>
4919 * LColor.h: Add missing #include <string>.
4921 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4923 * All most all file in all subdirs: Make <string> be the prefered
4924 way of getting to std::string, add using declarations.
4926 2003-10-06 André Pönitz <poenitz@gmx.net>
4928 * metricsinfo.C: initialize LyXFont before changing attribute.
4929 (fixes the 'math in \emph is upright' bug)
4931 2003-10-06 André Pönitz <poenitz@gmx.net>
4933 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4935 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4938 * paragraph_pimpl.C: Small fixes to build using STLport
4940 2003-10-02 André Pönitz <poenitz@gmx.net>
4943 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4945 2003-10-01 André Pönitz <poenitz@gmx.net>
4947 * factory.C: assert early
4949 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4951 * lyx_main.C: remove the global debug object
4953 * debug.h: adjust for new debugstream
4955 * debug.C: adjust for new debugstream and keep the global debug
4958 2003-09-22 Angus Leeming <leeming@lyx.org>
4960 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4961 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4962 an incomplete class LyXFont.
4964 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4966 * factory.C: bug fix in branches
4968 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4970 * lyxfunc.C (processKeySym): adjust
4972 (dispatch): change arg name from ev to func, adjust
4973 (sendDispatchMessage): ditto
4975 * lyx_main.C (defaultKeyBindings): adjust keybindings
4976 (deadKeyBindings): ditto
4978 * kbsequence.C (addkey): return a FuncRequest
4980 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4982 * kbmap.C (bind): take a FuncRequest as arg, adjust
4985 (defkey): change to take a FuncRequest as arg, adjust
4986 (findbinding): take a FuncRequest as arg, adjust.
4988 * funcrequest.h (operator=): added
4990 * funcrequest.C (FuncRequest): default kb_action changed from
4991 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4993 * buffer.C (dispatch): simplify
4994 (dispatch): adjust to take a FuncRequest as arg, adjust
4996 * boost.C (assertion_failed): change assertion message slightly
4998 * ToolbarBackend.C (read): simplify
5000 * MenuBackend.C (binding): adjust call to findbinding, add a
5001 message if no binding is found.
5003 (expandToc): correct by adding a empty FuncRequest
5005 * LyXAction.C: include <boost/assert.hpp>
5006 (isPseudoAction): delete function
5007 (LookupFunc): change name to...
5008 (lookupFunc): this. change return type to FuncRequest.
5009 (getActionName): take kb_action as arg, simplify
5010 (funcHasFlag): add an assert, simplify.
5012 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5014 * toc.C (action): return a FuncRequest, simplify
5016 * lyxfunc.C (processKeySym): adjust
5017 (getStatus): delete version that takes an int.
5019 (dispatch): delete version that takes action as int
5021 (sendDispatchMessage): simplify and adjust
5023 * funcrequest.C (getArg): take unsigned int as arg
5025 * ToolbarBackend.C (read): adjust
5026 (add): delete version that takes func as a string.
5027 (getIton): take a FuncRequest as arg
5029 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5032 * MenuBackend.C (MenuItem): add a new construct that only takes a
5033 Kind, simplify the constructor use for submenus.
5035 (expandLastfiles): adjust
5036 (expandDocuments): adjust
5037 (expandFormats): adjust
5038 (expandFloatListInsert): adjust
5039 (expandFloatInsert): adjust
5040 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5042 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5043 Remove class variables lyx_pseudo_map and lyx_arg_map
5045 * LyXAction.C (searchActionArg): delete function
5046 (getPseudoAction): delete function
5047 (retrieveActionArg): delete function
5048 (LookupFunc): make it return kb_action, simplify.
5049 (getActionName): simplify
5051 * factory.C (createInset): fix new bug
5053 2003-09-19 Angus Leeming <leeming@lyx.org>
5055 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5056 masterFilename_ parameter in the include inset.
5058 * factory.C (createInset): changes due to the changes to InsetInclude.
5060 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5062 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5064 2003-09-18 Angus Leeming <leeming@lyx.org>
5067 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5068 Inset::fillWithBibKeys.
5069 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5071 2003-09-18 Angus Leeming <leeming@lyx.org>
5073 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5075 (ctor): pass and store a 'Buffer const &'
5076 (buffer): new member function.
5078 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5079 '*this' to the LaTeXFeatures ctor.
5081 2003-09-18 Angus Leeming <leeming@lyx.org>
5087 * text.C: rename EnumLColor as LColor_color.
5089 2003-09-18 Angus Leeming <leeming@lyx.org>
5091 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5092 remove #include "insets/insetbase.h" from cursor.h.
5094 2003-09-18 Angus Leeming <leeming@lyx.org>
5096 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5097 InsetOld_code to remove #include "inset.h".
5099 * iterators.C: add #include "insets/inset.h"
5101 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5103 * BufferView.C: remove more locking stuff that apparently doesn't
5104 do anything sensible.
5106 2003-09-16 André Pönitz <poenitz@gmx.net>
5109 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5112 2003-09-16 Angus Leeming <leeming@lyx.org>
5114 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5116 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5119 * paragraph.h: remove #include "lyxfont.h". Forward declare
5122 2003-09-16 Angus Leeming <leeming@lyx.org>
5124 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5125 of support/textutils.h.
5126 (isWord): move the contents of support/textutils.h's IsWordChar here.
5132 * text2.C: add #include "paragraph.h".
5135 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5137 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5143 * LaTeX.C: use namespace alias for lyx::support::os
5145 2003-09-16 Angus Leeming <leeming@lyx.org>
5148 * bufferview_funcs.C:
5151 * paragraph_pimpl.C:
5153 * text.C: add #include "LColor.h".
5155 2003-09-16 Angus Leeming <leeming@lyx.org>
5157 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5158 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5160 Store the FontBits::color variable as an int rather than as an
5161 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5164 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5165 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5166 string calls together.
5168 * lyxrc.C: add #include "LColor.h".
5170 2003-09-15 Angus Leeming <leeming@lyx.org>
5172 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5175 2003-09-15 Angus Leeming <leeming@lyx.org>
5177 * LColor.h: add an EnumLColor wrapper for LColor::color.
5179 * lyxfont.[Ch] (color, setColor, realColor):
5180 * lyxtext.h, text.C (backgroundColor):
5181 pass EnumLColor args to/from the functions, rather than LColor::color
5185 * lyxtext.h: forward declare EnumLColor.
5187 * lyx_main.C: add #include "LColor.h".
5189 2003-09-15 Angus Leeming <leeming@lyx.org>
5191 * .cvsignore: add lyx-gtk.
5193 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5198 * ParagraphParameters.C
5202 * bufferview_funcs.C
5212 * vc-backend.C: remove usage of STRCONV
5214 2003-09-15 Angus Leeming <leeming@lyx.org>
5216 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5217 explicitly define the color passed to the painter.
5219 2003-09-15 Angus Leeming <leeming@lyx.org>
5221 * bufferparams.C (BufferParams): reorder member initializers to avoid
5224 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5226 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5227 * text.C (updateRowPositions): remove an unusual nop
5229 2003-09-12 André Pönitz <poenitz@gmx.net>
5231 * BufferView_pimpl.C:
5240 * Counters.[Ch]: finish the 'automatic counters' job
5242 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5244 * aspell.C: include <boost/assert.cpp> (compile fix)
5246 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5248 * boost.C (assertion_failed): use lyx::support::abort instead of
5251 2003-09-10 Angus Leeming <leeming@lyx.org>
5253 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5254 with their _fwd progeny.
5256 2003-09-09 Angus Leeming <leeming@lyx.org>
5258 134 files throughtout the source tree: replace 'using namespace abc;'
5259 directives with the appropriate 'using abc::xyz;' declarations.
5261 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5263 * boost.C (emergencyCleanup): moved here from LAssert.c
5264 (assertion_failed): new function, called by BOOST_ASSERT
5266 * several files: change Assert to BOOST_ASSERT
5268 2003-09-09 Angus Leeming <leeming@lyx.org>
5270 * buffer.[Ch]: Add an Impl class and move Buffer's member
5271 variables into it. As a result move several header files out of
5274 Add header files to lots of .C files all over the tree as a result.
5276 2003-09-09 Angus Leeming <leeming@lyx.org>
5278 * buffer.[Ch]: make Buffer's member variables private. Add
5281 Lots of changes all over the tree as a result.
5283 2003-09-08 Angus Leeming <leeming@lyx.org>
5285 * graph.C: #include <config.h>.
5287 2003-09-08 Angus Leeming <leeming@lyx.org>
5291 * BufferView_pimpl.C:
5320 * toc.C: remove redundant using directives.
5322 2003-09-07 Angus Leeming <leeming@lyx.org>
5324 * LaTeXFeatures.h: remove #include "support/types.h".
5325 * ToolbarBackend.h: remove #include <algorithm>.
5326 * changes.h: remove #include <ctime>.
5327 * debug.h: remove #include <iosfwd>.
5328 * graph.h: remove #include "support/std_string.h".
5329 * lyx_main.h: remove #include <csignal>.
5330 * lyxlex_pimpl.h: remove #include <fstream>.
5331 * sgml.h: remove #include <algorithm>, <utility>.
5332 * toc.h: remove #include "support/std_ostream.h".
5333 Add #include <iosfwd>.
5335 2003-09-07 Angus Leeming <leeming@lyx.org>
5337 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5339 * converter.h: forward declare LatexRunParams.
5340 * encoding.h: remove #include "lyxrc.h".
5341 * lyxtext.h: remove #include "LColor.h".
5342 * lyxtextclass.h: remove #include "support/types.h".
5343 * trans.h: remove #include "tex-accent.h".
5344 * trans_mgr.h: remove #include "tex-accent.h".
5345 * insets/inset.h: remove #include "support/types.h", <vector>.
5346 * insets/insetcollapsable.h: remove #include "LColor.h".
5347 * insets/insetinclude.h: remove #include "dimension.h".
5348 * insets/insetlatexaccent.h: remove #include "dimension.h".
5349 * insets/insetoptarg.h:: remove #include "insettext.h".
5350 * insets/insettext.h: remove #include "dimension.h",
5351 <boost/shared_ptr.hpp>
5353 * insets/renderers.h: add #include "dimension.h".
5354 * insets/updatableinset.h: add #include "support/types.h".
5356 * many .C files: Associated changes.
5358 2003-09-06 Angus Leeming <leeming@lyx.org>
5360 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5361 one, inside testInvariant.
5363 * PrinterParams.C: new file.
5364 * PrinterParams.[Ch]: move the function bodies out of line.
5366 2003-09-06 Angus Leeming <leeming@lyx.org>
5368 * ParagraphParameters.h: forward declare ParameterStruct rather than
5369 including its header file.
5370 (depth): moved out-of-line.
5372 2003-09-06 Angus Leeming <leeming@lyx.org>
5374 * BufferView_pimpl.h:
5377 * lyxfunc.h: forward declare LyXKeySym rather than
5378 #include "frontends/LyXKeySym.h".
5380 * BufferView_pimpl.C:
5383 * lyxfunc.C: associated changes.
5385 2003-09-06 Angus Leeming <leeming@lyx.org>
5387 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5388 As a result, can remove the #include "insets/inset.h" from BufferView.h
5390 2003-09-06 Angus Leeming <leeming@lyx.org>
5392 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5393 As a result, can remove the #include "insets/inset.h" from BufferView.h
5395 2003-09-06 Angus Leeming <leeming@lyx.org>
5401 * bufferview_funcs.C:
5402 * BufferView_pimpl.C:
5407 * ParagraphParameters.C:
5412 * frontends/controllers/ControlDocument.C:
5413 * insets/insetcaption.C: rearrange the #includes into some sort of
5416 * buffer.h: remove #includes ErrorList.h, undo.h
5418 2003-09-06 Angus Leeming <leeming@lyx.org>
5420 * support/types.h: add a 'depth_type' typedef, used to store the
5421 nesting depth of a paragraph.
5424 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5425 defining explicitly.
5428 * paragraph_funcs.h:
5429 * ParagraphParameters.h:
5430 * sgml.h: use lyx::depth_type rather than Paragraph or
5431 ParameterStruct's depth_type.
5434 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5437 * BufferView_pimpl.C:
5439 * ParagraphParameters.C:
5442 * bufferview_funcs.C:
5449 * frontends/LyXView.C:
5450 * frontends/controllers/ControlDocument.C:
5451 * frontends/controllers/ControlErrorList.C:
5452 * insets/insetbibitem.C:
5453 * insets/insetbranch.C:
5454 * insets/insetcaption.C:
5455 * insets/insetcollapsable.C:
5456 * insets/insetenv.C:
5457 * insets/insetert.C:
5458 * insets/insetfloat.C:
5459 * insets/insetfoot.C:
5460 * insets/insetfootlike.C:
5461 * insets/insetnewline.C:
5462 * insets/insetquotes.C:
5463 * insets/insettabular.C:
5464 * insets/insettext.C:
5465 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5467 * frontends/controllers/ControlChanges.C: #include "changes.h".
5469 2003-09-06 Angus Leeming <leeming@lyx.org>
5471 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5472 than #including paragraph.h.
5475 * RowList.h: deleted. Superfluous.
5485 * insets/insettext.h: use ParagraphList_fwd.h rather than
5488 * paragraph.h: don't forward declare ParagraphList.
5491 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5492 rather than ParagraphList.h. paragraph.h is still needed for the
5493 Paragraph::depth_type parameters.
5495 * textcursor.h: enable it to compile stand-alone in light of the
5498 * bufferview_funcs.C:
5510 * frontends/controllers/ControlParagraph.C:
5511 * frontends/controllers/ControlTabular.C:
5512 * insets/insetmarginal.C:
5513 * insets/insetminipage.C:
5514 * insets/insetnote.C:
5515 * insets/insetoptarg.C: add header files needed to compile again.
5517 2003-09-06 Angus Leeming <leeming@lyx.org>
5519 * RowList_fwd.h: new file, forward-declaring Row rather than
5520 #including lyxrow.h.
5525 * insets/insettext.h: use it instead of RowList.h
5527 * bufferview_funcs.C:
5534 * text3.C: #include "RowList.h".
5536 2003-09-05 Angus Leeming <leeming@lyx.org>
5538 * factory.C (createInset):
5539 * vspace.C (c-tor): replace sscanf call with an istringstream.
5540 * ispell.C: re-add missing HP/UX headers.
5541 * lyxserver.C: re-add missing os2 headers.
5543 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5552 * text3.C: re-add missing system headers, needed for 2.95.2.
5554 2003-09-05 Angus Leeming <leeming@lyx.org>
5556 Changes most place everywhere due to the removal of using directives
5557 from support/std_sstream.h.
5559 2003-09-05 Angus Leeming <leeming@lyx.org>
5561 Replace LString.h with support/std_string.h,
5562 Lsstream.h with support/std_sstream.h,
5563 support/LIstream.h with support/std_istream.h,
5564 support/LOstream.h with support/std_ostream.h.
5566 Changes resulting throughout the tree.
5568 2003-09-05 Angus Leeming <leeming@lyx.org>
5570 * sgml.h: ensure that the header file can be compiled stand-alone.
5571 * *.C: strip out redundant #includes. (320 in total.)
5573 2003-09-04 Angus Leeming <leeming@lyx.org>
5575 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5576 here (from getPackages).
5578 * debug.[Ch]: add a new EXTERNAL tag.
5580 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5582 * text2.C (cursorEnd): simplify
5584 (getColumnNearX): adjust
5586 * text.C (computeBidiTables): adjust
5589 * rowpainter.C (paintChars): adjust
5590 (paintSelection): adjust
5591 (paintChangeBar): adjust
5594 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5596 (numberOfSeparators): adjust
5598 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5604 * text3.C: Restricts the mouse click functionality
5605 of insets like bibtex, include, toc and floatlist to the visible
5606 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5607 up the dialogs. Cursor has to be in front of the inset (i.e.
5608 start of row) for this to function.
5610 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5612 * bufferview_funcs.C (currentState): output row information
5614 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5616 * bufferview_funcs.C (currentState): output paragraph position
5618 2003-09-04 Angus Leeming <leeming@lyx.org>
5620 * FloatList.h: move out #include "Floating.h".
5621 * LaTeX.h: move out #include "DepTable.h".
5622 * LyXAction.h: move out #include "funcrequest.h".
5623 * buffer.h: move out #include "author.h", "iterators.h".
5624 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5625 * lyx_main.h: move out #include "errorlist.h".
5626 * lyxfunc.h: move out #include "FuncStatus.h".
5627 * lyxtext: move out #include "lyxcursor.h".
5628 * paragraph_pimpl.h: move out #include "counters.h".
5630 2003-09-03 Angus Leeming <leeming@lyx.org>
5632 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5633 preamble_snippets list, enabling us to add snippets to the preamble
5634 only if the snippet was not there already.
5636 2003-09-04 Angus Leeming <leeming@lyx.org>
5638 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5640 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5642 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5645 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5647 * BranchList.C: point fix, earlier forgotten
5649 2003-09-02 Angus Leeming <leeming@lyx.org>
5651 * box.C (contains): renamed from 'contained' after a fantastic
5654 2003-09-02 John Levon <levon@movementarian.org>
5660 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5662 2003-09-02 John Levon <levon@movementarian.org>
5664 * text2.C: simplification of cursorEnd(), including partial
5667 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5669 * buffer.C (readFile): add a space
5671 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5673 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5675 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * buffer.C (readFile): new function, take a filename and a
5678 ParagraphList::iterator
5680 (readFile): adjust, make it private. don't use setStream, make
5681 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5682 always contain the filename.
5684 * BufferView.C (insertLyXFile): simplify and make it work for
5687 2003-08-30 John Levon <levon@movementarian.org>
5689 * Makefile.am: fix dist (from Kayvan)
5691 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5693 * most files: change to use const Buffer refs
5695 2003-08-27 André Pönitz <poenitz@gmx.net>
5697 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5698 on top of ownerPar().
5700 2003-08-27 John Levon <levon@movementarian.org>
5702 * funcrequest.C: properly initialise POD members
5704 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5706 * lyxtext.h (top_y): move top_y from here
5711 * BufferView_pimpl.[Ch]: to here
5712 * frontends/screen.C:
5713 * insets/insettabular.C:
5714 * insets/insettext.C: adjust
5715 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5717 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5720 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5722 2003-08-26 André Pönitz <poenitz@gmx.net>
5724 * paragraph_func.[Ch] (outerPar): new function
5727 * paragraph_funcs.C:
5728 * paragraph_funcs.h:
5729 * paragraph_pimpl.C:
5730 * text2.C: remove Inset::par_owner
5732 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5737 * text2.C: eliminates the needFullRow/display() stuff
5738 altogether, putting the logic in metrics/draw in the insets.
5740 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5742 * text2.C (redoParagraphInternal, redoParagraphs):
5743 * text.C (redoParagraph): add a call to updateRowPositions at the
5744 end of each 'metrics-like' call. Remove all others.
5745 (getRow): remove the 'y-computing' version.
5746 (getRowNearY): do not compute nor return the real y. Solve the
5747 'y < 0' problem and simplify.
5749 2003-08-22 Angus Leeming <leeming@lyx.org>
5751 * *.[Ch]: clean-up of licence and author blurbs.
5752 Also move config.h out of a few .h files and into a few .C files.
5754 2003-08-22 André Pönitz <poenitz@gmx.net>
5756 * lyxrow.[Ch]: add x_ and *fill_ members
5761 * text2.C: adjust/remove prepareToPrint() calls
5763 2003-08-22 André Pönitz <poenitz@gmx.net>
5765 * lyxrow.[Ch]: add end_ member
5767 * lyxrow_funcs.C: use LyXRow::end_
5769 * lyxtext.h (singleWidth): add LyXFont parameter
5772 * text2.C: adjust LyXText::singleWidth() calls
5774 * text.C (redoParagraph): simplify row breaking logic
5777 2003-08-19 André Pönitz <poenitz@gmx.net>
5779 * funcrequest.C: initialize button_ member
5782 * rowpainter.[Ch]: interface consolidation
5784 2003-08-18 André Pönitz <poenitz@gmx.net>
5787 * BufferView_pimpl.C:
5789 * paragraph_funcs.C:
5791 * text3.C: remove LyXScreen::draw() and fitCursor calls
5793 * BranchList.h: remove spurious semicolons
5795 * MenuBackend.C: fix branchlist related crash
5797 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5805 * bufferparams.[Ch]:
5809 * text3.C: implements the 'branch inset'
5810 idea. This allows the output of various versions of a document
5811 from a single source version, selectively outputing or suppressing
5812 output of parts of the text.
5813 This implementation contains a 'branch list editor' in a separate
5814 tab of the document settings dialog. Branches are user definable
5815 and have a "display colour" to distinguish them on-screen.
5817 ColorHandler was somewhat cleaned up.
5818 (1) make possible a dynamically growing LColor list by allowing
5819 the graphic context cache to grow along (vector);
5820 (2) eliminate an IMHO unnecessary step in colour allocation.
5822 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5824 * BufferView_pimpl.C: compile fix
5826 2003-08-15 André Pönitz <poenitz@gmx.net>
5828 * rowpainter.C: remove extra metrics calls
5830 * lyxtext.h: merge the two constructors into a single one,
5831 pass reference to owner's par list
5833 * BufferView_pimpl.C:
5837 2003-08-15 André Pönitz <poenitz@gmx.net>
5839 * lyxrow_funcs.[Ch]:
5842 * paragraph_funcs.C:
5847 * text_funcs.C: split LyXText::rowlist_ into individual
5848 Paragraph::rows_ chunks
5851 * BufferView_pimpl.[Ch]:
5854 * text3.C: remove toggleSelection()
5856 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5858 * bufferlist.C: beautify two alerts (shorter text of buttons)
5859 * buffer.C: Remove redundant ' ' from message
5861 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5862 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5863 rename VALIGN_CENTER to VALIGN_MIDDLE
5865 2003-08-11 André Pönitz <poenitz@gmx.net>
5867 * lyxtext.h (getPar):
5868 * text.C: new function
5870 2003-08-11 André Pönitz <poenitz@gmx.net>
5873 * tracer.[Ch]: remove unneeded files
5875 * InsetList.[Ch]: remove resizeInsetsLyXText()
5880 * text3.C: merge insertParagraphs() and appendParagraph()
5881 remove breakAgain(), update()
5883 * BufferView_pimpl.[Ch]:
5884 * bufferview_funcs.[Ch]:
5888 * tabular.C: adjust after text & InsetList changes.
5890 2003-08-08 André Pönitz <poenitz@gmx.net>
5892 * text.C (insertChar, backspace): replace rowlist fiddling
5893 with rebreak of full par
5896 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5897 checkParagraph, updateInset): removed
5899 2003-08-07 André Pönitz <poenitz@gmx.net>
5902 * text3.C: merge some LFUN handlers, remove dead code
5904 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5906 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5908 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5910 * text2.C (DEPM): fix part of bug 1255 and 1256
5912 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5914 * BufferView_pimpl.C (workAreaDispatch): change to use
5915 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5916 that are no mouse related.
5918 2003-08-05 André Pönitz <poenitz@gmx.net>
5921 * BufferView_pimpl.[Ch]:
5922 * bufferview_funcs.C:
5924 * text3.C: rip out "deep update"
5926 * textcursor.[Ch] (last_sel_cursor): remove unused member
5928 2003-08-04 André Pönitz <poenitz@gmx.net>
5931 * BufferView_pimpl.[Ch]:
5932 * ParagraphParameters.C:
5933 * bufferview_funcs.C:
5939 * text3.C: replace "complicated" BufferView::update(...) calls with
5942 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5944 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5946 * Makefile.am (lyx_SOURCES): add paper.h
5948 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5950 * Makefile.am: move things around so that both lyx-qt and
5951 lyx-xforms can be built (according to --with-frontend). Then lyx
5952 is a symbolic link to lyx-[firstfrontend]
5954 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5956 * Always use std::endl with lyxerr
5958 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5960 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5962 2003-08-01 André Pönitz <poenitz@gmx.net>
5965 * BufferView_pimpl.[Ch]:
5967 * text3.C: merge BufferView::repaint() and BufferView::update()
5969 2003-08-01 José Matos <jamatos@lyx.org>
5971 * buffer.[Ch]: file_format is no longer a buffer data element.
5973 2003-08-01 André Pönitz <poenitz@gmx.net>
5978 * text2.C: make redoParagraph more independent of current cursor
5980 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5982 * text2.C: remove unneeded members
5984 2003-07-30 André Pönitz <poenitz@gmx.net>
5986 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5988 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5989 create a single function...
5991 * paragraph_funcs.C (moveItem): ... here.
5994 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5996 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5998 * LColor.[Ch]: Add comment and greyedout logical colors.
6000 2003-07-30 André Pönitz <poenitz@gmx.net>
6002 * tabular.C: don't use Assert too heavily. This crashes where it
6005 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6007 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6008 is disabled (bug 1232)
6010 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6012 * factory.C: limited 'arg' scope
6014 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6016 * factory.C: fixed Note submenu issues
6018 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6020 * factory.C: submenu for Note/Comment/Greyedout
6022 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6025 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6027 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6030 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6031 greyedout. Patch provided by Jürgen Spitzmüller.
6033 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6035 * kbmap.C (read): fix error message when reading bind files
6037 2003-07-29 Angus Leeming <leeming@lyx.org>
6039 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6040 certainly does not do what it purports to do. I am doing it, and
6041 us, a favour by killing it.
6043 2003-07-28 José Matos <jamatos@lyx.org>
6045 * buffer.C (readBody, do_writeFile):
6046 * paragraph.C(readParagraph): \end_document replaces \the_end.
6048 2003-07-29 André Pönitz <poenitz@gmx.net>
6051 * BufferView_pimpl.[Ch]:
6055 * textcursor.[Ch]: remove toggleToggle & Co
6057 2003-07-28 José Matos <jamatos@fep.up.pt>
6059 * buffer.C (readParagraph):
6060 * params_func (readParToken, readParagraph):
6061 * paragraph.C (write): \layout -> \begin_layout.
6063 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6065 * lyxlex_pimpl.C (setFile): clean up slightly.
6067 * bufferparams.h: add compressed var
6069 * buffer_funcs.C (readFile): adjust for LyXLex change
6070 (newFile): ditto + simplify
6072 * buffer.C (writeFile): handle writing of compressed files
6074 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6075 Check if the file is compressed and set a bufferparm if so.
6077 * Makefile.am (lyx_LDADD): remove explicit -lz
6079 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6081 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6082 makeDocBookFile): put the real LyX version in the first line of
6086 * version.C.in: remove lyx_docversion
6088 * tabular.C (write_attribute): add a template-based version to
6089 write enums properly
6091 2003-07-28 André Pönitz <poenitz@gmx.net>
6096 * text3.C: use doubles again for x-coordinates. They are needed.
6098 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6100 * messages.C (getLocaleDir): use lyx_localedir()
6102 * lyxlex_pimpl.C (setFile): compress stuff
6104 * buffer.C (writeFile): add some compression stuff
6105 (do_writeFile): new func, dont call expliti close... will this
6108 * Makefile.am (lyx_LDADD): add -lz
6110 2003-07-28 José Matos <jamatos@fep.up.pt>
6112 * buffer.C: increment file format.
6113 * paragraph_funcs (readParagraph, readParToken):
6114 * paragraph.C (readParagraph): add \end_layout.
6116 2003-07-27 Angus Leeming <leeming@lyx.org>
6118 * Makefile.am: remove special casing for configure-time setting of
6119 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6121 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6122 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6124 2003-07-26 André Pönitz <poenitz@gmx.net>
6126 * paragraph_func.[Ch]:
6127 * paragraph.C (realizeFont): inline it whereever it is used
6132 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6135 2003-07-26 André Pönitz <poenitz@gmx.net>
6139 * text2.C: get rid of LyXText::need_break_row
6141 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6143 * toc.[Ch]: put namespace toc inside namespace lyx
6145 * MenuBackend.C (expandToc2): adjust for lyx::toc
6148 * lyxfunc.C (dispatch): adjust for lyx::find
6150 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6151 lyx::find instead. Reorganize a bit.
6152 (LyXReplace): rename to replace
6153 (LyXFind): rename to find
6155 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6158 2003-07-26 André Pönitz <poenitz@gmx.net>
6160 * text.C (setHeightOfRow): restrict scope of temporary variable
6162 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6163 code (never has been used?)
6165 2003-07-27 Asger Alstrup <alstrup@local>
6167 * text.C (fill): Optimise algorithm to exploit that we can reuse
6168 the LyXFont for many characters.
6169 (setHeightOfRow): Same thing.
6170 (rowBreakPoint): Same thing.
6172 2003-07-26 Asger Alstrup <alstrup@local>
6174 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6176 * text.C (singleWidth): Spurious font copying in hot-spot
6177 singleWidth avoided. Reorder tests for arabic for efficiency.
6179 * text.C (fill): handle empty paragraphs better.
6181 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6184 * encoding.h: add includes
6186 * lyxrc.C: remove reading of bind files
6188 * lyx_main.C (init): setup bindings and menus only if we have a
6191 * kbmap.C (read): new method. Do the actual reading of bind
6194 * converter.C (dvipdfm_options):
6197 (output): adapt PAPER_* enums.
6199 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6201 * bufferparams.h: remove paper-related enums from there
6203 * paper.h: New file. A trivial header file to hold paper-related
6204 enums. It should later expand to contain many paper-related
6207 * lyxrc.C: declare extern displayTranslator
6209 2003-07-27 José Matos <jamatos@fep.up.pt>
6211 * tabular.[Ch] (linuxdoc): add support for tables and figures
6214 2003-07-27 José Matos <jamatos@fep.up.pt>
6216 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6217 consistency in both functions.
6218 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6220 2003-07-26 Asger Alstrup <alstrup@local>
6222 * rowpainter.C (paintRows): Change algorithm to work directly on
6223 the insets rather than asking every character in the document
6224 whether its an inset.
6226 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6228 * buffer.C (openFileWrite): factorize some code
6230 2003-07-26 Angus Leeming <leeming@lyx.org>
6233 * lyx_main.[Ch]: replace occurances of system_tempdir with
6236 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6238 * rename Inset to InsetOld
6240 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6242 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6243 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6244 which I think is a bit clearer. EDIT is gone, since it was
6245 premature optimisation, and broken for mathed anyway.
6246 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6247 with cursor positioning in insets as well (math insets still do not
6248 work, but that's a different story anyway.) It mysteriously
6249 crashes sometimes with undo in the first paragraph, but I'm fairly
6250 confident that this is a compiler bug.
6252 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6254 * paragraph.C (Paragraph): adjust for new clone return type
6256 (copyIntoMinibuffer): ditto
6258 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6260 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6261 by not having a special case, and always doing a full rebreak of
6262 the document after undo.
6264 2003-07-23 Angus Leeming <leeming@lyx.org>
6266 * factory.C (createInset): InsetExternal::setParams now takes a
6269 2003-07-23 Angus Leeming <leeming@lyx.org>
6271 * factory.C (createInset): changed interface to the external and
6272 graphics mailers' string2params functions.
6274 2003-07-23 Angus Leeming <leeming@lyx.org>
6276 * factory.C (createInset): pass a
6277 Buffer const * parameter to InsetExternalMailer's string2params.
6279 2003-07-22 John Levon <levon@movementarian.org>
6281 * Thesaurus.h: include the right aiksaurus header
6283 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6285 * MenuBackend.C (expand): check menu shortcuts unconditionally
6287 2003-07-21 Angus Leeming <leeming@lyx.org>
6289 * factory.C (createInset): pass a
6290 buffer_path parameter to InsetGraphicsMailer's string2params.
6292 2003-07-21 Angus Leeming <leeming@lyx.org>
6294 * BufferView_pimpl.C (buffer):
6297 * lyxfunc.C (dispatch):
6298 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6299 rather than the grfx shortcut.
6301 2003-07-21 André Pönitz <poenitz@gmx.net>
6303 * rowpainter.C: remove unused variables
6306 * tabular_funcs.h: move to tabular.C
6307 * Makefile.am: adjust
6309 * tabular.[Ch]: basic optical cleaning
6311 * author.h: pass references, not values
6313 2003-07-18 André Pönitz <poenitz@gmx.net>
6321 * text3.C: two-phase drawing for InsetText and InsetTabular
6322 some float -> int changes.
6324 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6326 * lyx_main.C: fix the fix
6328 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6330 * lyx_main.C: fix a crash in batch mode if no files specified
6333 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6335 * format.[Ch] (papersize): moved to BufferParams
6336 * converter.[Ch] (dvips_options): moved to BufferParams
6337 (dvipdfm_options): moved to anon namespace
6338 * bufferparams.[Ch]: added above functions.
6340 2003-07-17 André Pönitz <poenitz@gmx.net>
6344 * text2.C: don't call inset->update() anymore
6346 * metricsinfo.[Ch]: add convenience constructor
6348 2003-07-16 André Pönitz <poenitz@gmx.net>
6353 * text2.C: replace the LyXCursor::irow_ member with
6354 on-demand computation of the value
6356 2003-07-16 John Levon <levon@movementarian.org>
6358 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6360 2003-07-15 André Pönitz <poenitz@gmx.net>
6363 * text2.C: remove no more needed refresh_row
6365 2003-07-15 André Pönitz <poenitz@gmx.net>
6370 * text3.C: refresh_status tristate -> need_update bool
6372 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6374 * lyxtext.h (init): remove reinit argument (act as if always true)
6375 * text2.C: adjust to that
6377 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6379 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6380 * text3.C: use it to delete selections in some cases
6381 (bugs 441, 673, 702, 954).
6383 2003-07-14 André Pönitz <poenitz@gmx.net>
6385 * rowpainter.[Ch]: reduce interface
6387 2003-07-14 André Pönitz <poenitz@gmx.net>
6389 * BufferView_pimpl.C:
6390 * text2.C: adjust after removing unused BufferView * argument
6392 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6394 * text2.C (init): fix a crash fired on resize
6396 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6398 * buffer.[Ch]: added new closing signal
6399 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6400 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6401 BufferView::Pimpl via the closing the signal
6403 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6405 * buffer.[Ch]: take out all bv-related from buffer
6407 * BufferView_pimpl.[Ch]: connect to new signals
6408 * CutAndPaste.C: removed useless asserts
6409 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6412 * lyxfunc.C: moved view-related funciontality from vc here
6413 * paragraph.C: removed outdated comments
6416 2003-07-10 André Pönitz <poenitz@gmx.net>
6418 * BufferView_pimpl.C:
6422 * text2.C: remove InsetText::InnerCache, clean up consequences
6424 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6426 * ispell.C: fix two typos in error messages
6428 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6430 * Extend Note inset to other forms of annotation like Comment
6431 and Greyedout. Right button click gives dialog.
6433 Files modified or added (+):
6437 * ControlNote.[Ch] +
6439 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6440 frontends/controllers
6444 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6446 * aspell.C: add missing namespace lyx::support
6448 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6450 * BufferView.[Ch] (newFile): Add
6451 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6452 * LaTeX.[Ch] (message): added this signal and use it
6453 * buffer.[Ch] (busy, message): added these signals and use them
6454 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6458 * importer.C: use buffer signals instead of direct bv calling
6459 * lyx_cb.[Ch] (ShowMessage): removed
6462 * paragraph_funcs.C:
6463 * text2.C: use buffer signals
6465 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6467 * introduce namespace lyx::graphics
6469 2003-07-02 André Pönitz <poenitz@gmx.net>
6471 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6473 2003-07-01 André Pönitz <poenitz@gmx.net>
6480 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6481 text*.C to text_func.C
6483 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6485 * introduce namespace lyx::support
6487 2003-06-30 André Pönitz <poenitz@gmx.net>
6492 * text.C: re-enable --with-included-string
6494 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6496 * textcursor.C: add <config.h>
6498 * text.C (getWord): remove const from word_location arg
6500 * lyxvc.C (getLogFile): fix const type order
6502 * lyxtext.h: remove const from word_location arg, add arg name
6504 * lyxlayout.h: currect type on labeltype.
6506 * importer.C: correct \file
6508 * converter.C (intToFormat): use std:: on ret val, ws changes
6510 * bufferlist.h: correct \file
6512 * buffer.C (makeLinuxDocFile): fix const type order
6513 (makeDocBookFile): ditto
6514 (fillWithBibKeys): use std:: on stdlib args.
6516 * CutAndPaste.C: fix authors.
6517 (availableSelections): use std:: on return vector
6519 2003-06-27 André Pönitz <poenitz@gmx.net>
6521 * BufferView_pimpl.C:
6522 * bufferview_funcs.C:
6530 * text3.C: remove LyXCursor::row_ member
6533 * text.C: rename fullRebreak() to partialRebreak() and implement
6534 a fullRebreak() that really bereks fully
6536 * textcursor.h: new struct for cursor-related data
6538 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6540 * lyx_main.C (LyX): get full path of document loaded on the
6543 2003-06-26 André Pönitz <poenitz@gmx.net>
6545 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6546 remove unused/broken operator>,<,>=.
6548 * text.C: remove only use of broken operator<= in an Assert().
6550 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6552 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6553 moved errorlist_.clear to showErrorList
6555 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6557 * converter.C (scanLog, runLaTeX):
6558 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6559 move the bv->showErrorList call to the callers
6560 * lyxfunc.C: i.e. here...
6562 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6563 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6564 namespace, the second to...
6565 * buffer_funcs (BufferFormat, parseErrors): added
6566 * errorlist.C (ErrorList(TeXErrors const &)): removed
6568 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6570 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6572 2003-06-24 "Garst R. Reese" <reese@isn.net>
6576 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6578 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6580 * version.C.in: change docversion to 1.4
6582 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6584 * buffer.C: fix a bug just introduced
6586 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6588 * buffer.[Ch]: added the parseError signal and use it, removed
6590 * BufferView.[Ch] (addError): moved to ...
6591 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6592 to the Buffer::parseError signal to catch (guess what) parse errors
6593 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6595 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6597 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6598 ability to create a buffer and to return an existing one from
6599 the list. Moved these functions to...
6600 * buffer_funcs.[Ch]: added
6601 * BufferView.[Ch] (loadLyXFile): added
6602 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6603 job removed from bufferlist::loadLyXFile.
6604 * buffer.C (setReadOnly): make it work without view
6605 (i.e added an if (users))
6607 2003-06-19 Angus Leeming <leeming@lyx.org>
6610 * LyXAction.C (init):
6611 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6612 with LFUN_DIALOG_SHOW <name> <data>.
6614 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6616 * CutAndPaste.C (availableSelections): small compilation fix for
6617 ancient (gcc 2.9x) compilers
6619 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6621 * text3.C (cursorNext): add tmp var
6623 * text2.C (updateCounters): for function calling out of for clause
6624 (replaceSelectionWithString): ditto
6625 (insertStringAsParagraphs): ditto
6626 (getColumnNearX): add tmp var
6627 (setCursorFromCoordinates): add tmp var
6628 (cursorDownParagraph): add tmp var
6629 (deleteEmptyParagraphMechanism): add tmp var
6631 * text.C (insertChar): add tmp var
6633 * rowpainter.C (paintDepthBar): add tmp var
6635 * CutAndPaste.C (availableSelections): potentially check all
6636 paragraphs in a cut to fill the shown strings.
6638 2003-06-18 André Pönitz <poenitz@gmx.net>
6640 * kbmap.[Ch]: use vector<> instead of list<>
6642 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6644 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6645 pasteSelection with index
6647 * text2.C (pasteSelection): modify, call pasteSelection with index
6649 * paragraph.C (asString): reimplement version with no interval to
6650 call the one with interval.
6652 * lyxtext.h: add index arg to pasteSelection
6654 * MenuBackend.C (MenuItem): handle PasteRecent
6655 (Menu::read::Menutags): add md_pasterecent
6657 (expandPasteRecent): new function
6660 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6662 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6664 (availableSelections): new function
6666 2003-06-17 Angus Leeming <leeming@lyx.org>
6668 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6670 2003-06-17 Angus Leeming <leeming@lyx.org>
6673 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6675 * lyxfunc.C (dispatch): invoke it.
6677 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6679 * iterators.C (operator++, ParPosition): reintroduce some
6680 const_cast for the benefit of older compilers.
6682 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6684 * text3.C (dispatch): do not modify clipboard when doing
6685 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6686 LFUN_DELETE_SKIP on a selection selection
6688 2003-06-16 André Pönitz <poenitz@gmx.net>
6694 * tabular.[Ch]: IU of clone() and getLabelList();
6696 2003-06-13 André Pönitz <poenitz@gmx.net>
6698 * tabular.h: compactification
6700 2003-06-12 André Pönitz <poenitz@gmx.net>
6704 * tabular_funcs.h: some renaming plus whitespace
6706 2003-06-12 André Pönitz <poenitz@gmx.net>
6709 * BufferView_pimpl.C:
6715 * toc.C: Return a Paragraph & for ParIterator::operator*()
6717 2003-06-11 John Levon <levon@movementarian.org>
6721 * ToolbarBackend.C: add "Toolbars" section and
6724 2003-06-10 Angus Leeming <leeming@lyx.org>
6727 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6729 * lyxfunc.C (dispatch): invoke it.
6731 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6733 * main.C: protect <ios> with HAVE_IOS
6734 (main): protect sync_with_stdio with HAVE_IOS
6736 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6738 * text2.C (cutSelection): adjust
6739 (pasteSelection): adjust
6741 * messages.C: handle get of empty string
6743 * main.C (main): use sync_with_stdio(false)
6745 * lyxfunc.C (dispatch): adjust
6747 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6748 (WriteAs): remove unneeded BufferView arg.
6750 * bufferparams.h: use correct types on papersize, papersize2 and
6753 * bufferparams.C (readToken): adjust for type
6754 (writeLaTeX): add missing cases to switch.
6756 * bufferlist.C (quitWriteBuffer): adjust
6759 * buffer.C (asciiParagraph): remove some commented code.
6761 * CutAndPaste.C: remove current_view extern variable.
6762 (cutSelection): add BufferParams arg.
6763 (eraseSelection): add BufferParams arg.
6764 (pasteSelection): add Buffer const & arg
6766 2003-06-07 John Levon <levon@movementarian.org>
6769 * paragraph_funcs.C:
6770 * paragraph_pimpl.C:
6774 * paragraph.C: allow InsetERT to freely space lines,
6775 and some consolidation of code
6777 2003-06-06 José Matos <jamatos@fep.up.pt>
6779 * buffer.C (makeDocBookFile): fix bug #821
6781 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6783 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6785 2003-06-04 Angus Leeming <leeming@lyx.org>
6787 * buffer.C: bump format to 224.
6789 2003-06-05 André Pönitz <poenitz@gmx.net>
6791 * text2.C (redoParagraphs): remove two const_cast<>
6793 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6795 * ParagraphList.h: remove last remnants of NO_STD_LIST
6797 2003-06-03 Angus Leeming <leeming@lyx.org>
6799 * factory.C (createInset): small change to the way InsetExternal's params
6802 2003-06-04 André Pönitz <poenitz@gmx.net>
6804 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6806 * paragraph_pimpl.h:
6807 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6809 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6811 * undo_funcs.C: make some simple cases of undo work again
6813 2003-06-03 John Levon <levon@movementarian.org>
6815 * ispell.C: HPUX doesn't have sys/select.h
6818 2003-06-03 John Levon <levon@movementarian.org>
6820 * CutAndPaste.C: update tabular and include inset
6825 * paragraph.C: remove owningBuffer(), don't pass Buffer
6828 * factory.C: insetGraphicsParams changed
6830 2003-06-02 John Levon <levon@movementarian.org>
6836 * text3.C: remove insetparent
6838 2003-06-02 John Levon <levon@movementarian.org>
6841 * buffer.C: fix inset_iterator.end(), move out of line
6844 2003-06-01 John Levon <levon@movementarian.org>
6846 * text3.C: use a proper cut/paste when doing inset
6847 insert (from Jürgen Spitzmüller)
6849 2003-06-01 John Levon <levon@movementarian.org>
6851 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6853 2003-05-30 André Pönitz <poenitz@gmx.net>
6855 * rowpainter.C: unify second drawing phase
6857 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6859 * trans_mgr.C: remove one case of current_view
6861 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6863 * paragraph_funcs.h: remove paragraph.h include
6865 * paragraph.h: delete NO_STD_LIST stuff
6867 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6869 * buffer.h: remove paragraph.h include
6871 * ParagraphList.C: delete file
6873 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6875 * toc.C (getTocList): adjust
6877 * paragraph_pimpl.C (validate): adjust
6879 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6881 * paragraph.C (Paragraph): adjust
6882 (getPositionOfInset): use const_iterator, adjust
6883 (bibitem): use const_iterator, adjust
6884 (setInsetOwner): adjust
6886 * iterators.C (operator++): adjust
6888 * InsetList.[Ch]: Replace selfmade iterator with standard
6889 vector::iterator also introduce const_iterator. Remove getPos,
6890 getInset and setInset from InsetTable. Adjust accordingly.
6892 * BufferView.C (lockInset): adjust
6893 (ChangeInsets): adjust
6895 * tabular.[Ch]: delete commented same_id functions
6897 2003-05-28 John Levon <levon@movementarian.org>
6899 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6901 2003-05-28 André Pönitz <poenitz@gmx.net>
6903 * metricsinfo.[Ch]: remove 'fullredraw' member
6905 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6907 * lyxtextclass.C (operator): remove caching.
6909 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6913 * text2.C (cursorBottom): adjust
6914 (setCounter): use ParagraphList::find, adjust
6916 * text.C (workWidth): use ParagraphList::find, adjust
6918 * lyxcursor.C (LyXCursor): adjust
6920 * buffer.C (inset_iterator): adjust
6922 * ParagraphList.h: make iterator(value_type) private, make
6923 ParagraphList a friend of iterator.
6925 * ParagraphList.C (find): new function
6927 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6929 2003-05-27 André Pönitz <poenitz@gmx.net>
6931 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6933 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6935 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6937 2003-05-26 John Levon <levon@movementarian.org>
6939 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6941 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6943 * remove same_id from function signatures, adjust.
6945 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6947 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6949 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6951 * paragraph.C (Paragraph): get rid of same_ids parameter
6953 * ParagraphList.C (insert): adjust
6956 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6958 * paragraph_funcs.C (breakParagraph): adjust
6959 (breakParagraphConservative): adjust
6961 * buffer.C (readParagraph): adjust
6963 * ParagraphList.C (insert): take a reference instead of a pointer
6966 * paragraph.[Ch] (id): new function
6968 * bufferlist.C (newFile): adjust
6970 * ParagraphList.C (ParagraphList): adjust
6972 (push_back): take a reference instead of a pointer.
6974 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6976 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6979 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6980 set else use old code.
6982 * ParagraphList.C: remove all NO_NEXT code and only compile this
6983 code of NO_STD_LIST is set.
6985 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6987 * BufferView_pimpl.C:
6997 * graphics/GraphicsConverter.C:
6998 * graphics/PreviewLoader.C: header adjustment
7000 2003-05-23 Angus Leeming <leeming@lyx.org>
7002 * LaTeXFeatures.[Ch] (useBabel): new method.
7003 * bufferparams.C (writeLaTeX): use it.
7005 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7007 * ParagraphList.h (set): remove unused function.
7009 2003-05-23 André Pönitz <poenitz@gmx.net>
7012 * BufferView_pimpl.C:
7016 * undo_funcs.C: setUndo reworked
7018 * iterators.[Ch]: add access to topmost ParagraphList
7020 * lyxtext.[Ch] (workWidth): add a const
7022 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7024 * texrow.[Ch] (increasePos): remove function
7025 * exporter.C (export): removed unused var and outdated comment
7027 2003-05-23 Angus Leeming <leeming@lyx.org>
7029 * latexrunparams.h: rename fragile as moving_arg.
7030 * paragraph.C (simpleTeXOnePar): ditto.
7031 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7033 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7035 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7037 (textUndoOrRedo): comment out a currently unused var.
7039 * paragraph.h (NO_NEXT): enable NO_NEXT
7041 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7043 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7045 * exporter.C (Export): adjust for removeAutoInsets removal.
7047 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7049 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7051 * BufferView.[Ch] (removeAutoInsets): delete function
7053 2003-05-22 Angus Leeming <leeming@lyx.org>
7055 * latexrunparams.h: add a free_spacing variable.
7057 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7058 to pass moving_arg, as the data is stored in runparams.fragile.
7060 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7061 to Inset::latexOptional or to simpleTeXOnePar.
7063 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7064 free_spacing arg to Inset::latexOptional.
7066 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7069 2003-05-22 Angus Leeming <leeming@lyx.org>
7071 * latexrunparams.h: add fragile and use_babel variables.
7073 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7074 * buffer.C (makeLaTeXFile): store this returned value in
7075 runparams.use_babel, thus passing it to the inset::latex methods.
7077 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7078 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7080 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7081 longer has a fragile arg, as it is stored in runparams.fragile.
7083 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7084 moving_arg parameter as the data is stored in runparams.fragile.
7086 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7087 a fragile parameter as the data is stored in runparams.fragile.
7089 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7091 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7093 2003-05-22 Angus Leeming <leeming@lyx.org>
7095 * latexrunparams.h: add a 'bool nice' which defaults to false.
7097 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7098 now encapsulated within runparams.
7100 * bufferlist.C (updateIncludedTeXfiles):
7101 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7103 2003-05-22 Angus Leeming <leeming@lyx.org>
7105 * latexrunparams.h: new file containing struct LatexRunParams.
7106 * Makefile.am: add new file.
7108 * LaTeX.[Ch] (c-tor, run):
7109 * buffer.[Ch] (makeLaTeXFile):
7110 * bufferlist.[Ch] (updateIncludedTeXfiles):
7111 * converter.C (convert, scanLog):
7112 * converter.[Ch] (runLaTeX):
7113 * exporter.C (Export):
7114 * paragraph.[Ch] (simpleTeXOnePar):
7115 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7116 * paragraph_funcs.[Ch] (latexParagraphs):
7117 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7118 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7119 pass around a LatexRunParams parameter.
7121 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7123 * paragraph.[Ch]: remove unused constructor
7125 * ParagraphList.C (erase): new function, taking two iterators
7127 2003-05-22 André Pönitz <poenitz@gmx.net>
7129 * undo_funcs.C: remove duplicated code
7131 * iterator.[Ch]: operator=
7133 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7135 * tabular.C (SetMultiColumn): ws changes
7137 * rowpainter.C (paintFirst): get rid of a ->previous
7139 * lyx_cb.C (getPossibleLabel): parlist simplification
7141 * BufferView.C (ChangeInsets): simplify slightly.
7143 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7145 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7146 * lfuns.h: new LFUN_SPACE
7147 * lyxfunc.C: protected space has a new lfun
7148 * paragraph_funcs.C: read new space insets
7150 * factory.C: handle new space insets
7152 2003-05-22 André Pönitz <poenitz@gmx.net>
7155 * BufferView_pimpl.C:
7158 * undo_funcs.C: return a ParIterator from getParFromID.
7160 * iterators.[Ch]: add two const's
7162 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7164 * toc.C (getTocList): adjust
7166 * iterators.[Ch]: rework for parlist
7168 * buffer.C (par_iterator_begin): adjust
7169 (par_iterator_end): adjust
7171 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7173 * BufferView.C (removeAutoInsets): adjust
7174 (ChangeInsets): adjust
7176 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7178 * text.C (top_y): fix bug 1110
7180 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7182 * errorlist.[Ch]: added
7185 * BufferView_pimpl.C:
7186 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7189 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7191 * Makefile.am: ensure that lyx is relinked upon changes to the
7192 various "convenience" libs.
7194 2003-05-20 Angus Leeming <leeming@lyx.org>
7196 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7197 files are compiled in alphabetical order again.
7199 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7201 2003-05-19 Angus Leeming <leeming@lyx.org>
7203 * gettext.[Ch]: remove "char const * _(char const *)".
7205 2003-05-19 André Pönitz <poenitz@gmx.net>
7207 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7216 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7218 2003-05-19 André Pönitz <poenitz@gmx.net>
7222 * lyxtextclass.[Ch]:
7224 * paragraph_funcs.[Ch]:
7226 * text3.C: more insetenv work
7228 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7230 * ParagraphParameters.C (params2string): small bug fixed
7232 2003-05-16 André Pönitz <poenitz@gmx.net>
7235 * bufferview_funcs.C: patch from Kornel Benko to prevent
7236 crash when _(...) is called twice in a statement
7238 2003-05-16 André Pönitz <poenitz@gmx.net>
7245 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7247 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7249 * lyx_main.C (init): remove spurious static_cast
7251 2003-05-14 André Pönitz <poenitz@gmx.net>
7253 * BufferView.C: fix format string
7255 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7257 * BufferView.[Ch] (insertErrors): removed
7258 * BufferView.[Ch] (showErrorList): added
7259 * buffer.C (runChkTeX):
7260 * converter.C (scanLog): call showErrorList instead of inserterrors
7262 2003-05-13 André Pönitz <poenitz@gmx.net>
7264 * BufferView_pimpl.C:
7266 * bufferview_func.C:
7273 * tabular_funcs.h: tostr() from its own header
7275 * ParagraphParameters.C:
7280 * text3.C: STRCONV()
7282 2003-05-12 André Pönitz <poenitz@gmx.net>
7285 * BufferView_pimpl.C:
7289 * ParagraphParameters.C:
7293 * bufferview_funcs.C:
7306 * paragraph_funcs.C:
7310 * text3.C: boost::format -> bformat all over the place
7313 2003-05-09 André Pönitz <poenitz@gmx.net>
7315 * LColor.[Ch]: Pimpl the #include <map> away
7317 2003-05-09 John Levon <levon@movementarian.org>
7319 * bufferlist.C: never remove emergency saves
7321 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7323 * Makefile.am: better lib building
7325 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7327 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7329 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7330 (simpleTeXSpecialChars): adjust
7331 (simpleTeXSpecialChars): adjust
7332 * paragraph.C (simpleTeXOnePar): adjust
7333 * buffer.C (makeLaTeXFile): adjust
7335 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7337 * text2.C (changeDepth): parlist cleanup
7338 (getColumnNearX): ditto
7340 * rowpainter.C (getLabelFont): parlist cleanup
7342 * bufferlist.C (newFile): parlist cleanup
7344 * CutAndPaste.C (eraseSelection): parlist cleanup
7346 * BufferView_pimpl.C (trackChanges): parlist cleanup
7349 * BufferView.C (lockInset): parlist cleanup.
7350 (ChangeInsets): ditto
7352 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7354 * CutAndPaste.h: Update file header.
7356 * CutAndPaste.C: Update file header.
7357 Store the parts cut out of the Document in a limited_stack.
7358 (copySelection): adjust
7359 (pasteSelection): new function, takes the index in the limited stack.
7360 (nrOfParagraphs): adjust
7361 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7362 simplify error inset insertion.
7363 (checkPastePossible): adjust
7365 2003-05-06 John Levon <levon@movementarian.org>
7367 * text2.C: don't cast wrap inset to float
7369 2003-05-05 André Pönitz <poenitz@gmx.net>
7372 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7374 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7375 few naked Paragraph *.
7377 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7379 * bufferparams.C: Output warning if a document with missing
7380 TeX document class is loaded
7381 * exporter.C: Disable TeX exports if the document class is missing
7384 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7385 isTeXClassAvailable()
7387 2003-05-03 John Levon <levon@movementarian.org>
7390 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7391 explicit cursor show/hide
7393 * BufferView_pimpl.h:
7394 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7395 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7397 * lyxfunc.C: hide cursor before dispatching.
7402 * text3.C: remove explicit cursor hides
7404 2003-05-02 André Pönitz <poenitz@gmx.net>
7406 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7409 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7412 * text2.C: tiny whitespace
7414 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7416 * undo_funcs.C: almost only ws changes.
7418 * ParagraphList.C (splice): just return if pl is empty.
7420 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7422 * ParagraphList.C (splice): new function.
7424 * CutAndPaste.C (pasteSelection): use it
7426 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7428 * CutAndPaste.C (pasteSelection): remove the last next and
7429 previous from this file.
7431 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7433 * CutAndPaste.C (pasteSelection): more clean up, user proper
7434 ParagraphList functions for pasteing.
7436 * ParagraphList.C (insert): new function, three arg insert
7438 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7440 * ParagraphList.C (insert): new function, three arg insert
7442 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7445 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7447 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7449 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7451 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7453 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7455 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7456 (copySelection): clean up a bit.
7457 (pasteSelection): use make_pair
7459 * ParagraphList.C (ParagraphList): implement copy constructor
7460 (operator=): implement, base on copy constructor.
7463 * paragraph.C (erase): return a bool
7465 * paragraph_pimpl.C (erasePos): remove function, move contents...
7466 (erase): ... here. Return a bool.
7467 (erase): call erase instead of erasePos.
7469 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7471 * ParagraphList.h: define PitPosPair
7472 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7473 ParagraphList, fix a bug on pasting multiple pars
7474 * text2.C: change interface to C&P
7476 2003-04-30 André Pönitz <poenitz@gmx.net>
7478 * undo_func.C: revert part of yesterday's patch 2
7480 2003-04-30 John Levon <levon@movementarian.org>
7482 * LColor.C: s/tabular/table/
7484 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7486 * text3.C (dispatch): do not convert iterator -> pointer
7487 * undo_funcs.C (setCursorParUndo): ditto
7488 * text_funcs.C (transposeChars): ditto
7490 * text2.C (setLayout): ws changes only
7492 * text.C (breakParagraph): do not convert iterator -> pointer
7494 (acceptChange): ditto
7495 (rejectChange): ditto
7500 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7503 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7505 * text3.C (gotoInset): YABG (yet another bad getChar)
7507 2003-04-29 André Pönitz <poenitz@gmx.net>
7509 * paragraph.h: make operator= private unimplemented as long as
7512 * ParagraphList.C: whitespace
7515 * paragraph_pimpl.[Ch]:
7516 * paragraph_funcs.C:
7518 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7521 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7523 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7525 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7526 * paragraph.[Ch] (erase):
7527 * paragraph_pimpl.[Ch] (erase): change return type and value
7528 * text2.C (cutSelection): some rework
7530 2003-04-28 John Levon <levon@movementarian.org>
7532 * bufferlist.C: changes for unsaved changes dialog
7534 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7536 * bufferlist.C (newFile): set language (messages_) for new
7539 * buffer.C (readFile): ws changes only.
7541 2003-04-28 André Pönitz <poenitz@gmx.net>
7546 * BufferView_pimpl.C:
7547 * BufferView.C: getParFromID related ParagraphList::iterator changes
7549 2003-04-28 André Pönitz <poenitz@gmx.net>
7551 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7554 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7556 * messages.C: remove one more localedir class variable.
7558 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7560 * messages.C (getLocaleDir): singleton generation function
7562 (Messages): add a default constructor.
7564 * main.C (main): do not setup localedir here, do not call
7567 * gettext.C (_): use it.
7568 (gettext_init): delete funciton
7570 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7572 * gettext.C (getLyXMessages): new singleton generating function.
7574 * buffer.C (updateDocLang): adjust
7576 * Makefile.am (messages.o): add target
7577 (main.o): remove target
7579 2003-04-27 John Levon <levon@movementarian.org>
7584 * lyxvc.C: specify cancel button in Alert::prompt
7586 2003-04-26 John Levon <levon@movementarian.org>
7591 * LyXAction.C: add LFUN_INSET_SETTINGS
7593 * lyxfunc.C: don't enable tabular-feature when there's
7594 just any locking inset
7596 2003-04-26 John Levon <levon@movementarian.org>
7598 * bufferlist.C: re-add Cancel to buffer close question
7600 * lyxfunc.C: fix import UI a bit
7602 2003-04-25 John Levon <levon@movementarian.org>
7604 * gettext.C: remove the broken asserts for now
7606 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * messages.C: make case where setlocale cannot comply work better.
7610 * buffer.C (updateDocLang): new function
7611 (changeLanguage): use it
7614 * text2.C (setCounter): use B_ a bit.
7616 * lyxlayout.C (Read): be sure to trim the label strings.
7618 * messages.C (Messages): fix typo in comment
7620 * buffer.C (readFile): set message_ after file is loaded.
7621 (makeDocBookFile): remove double return
7622 (changeLanguage): reset message_ upon language change.
7623 (B_): new func, use this to get translated buffer strings.
7625 * main.C: add myself and Jean Marc as authors.
7627 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7629 * messages.[hC]: pimplify Messages, and three different pimpls to be
7630 used in different circumstances.
7632 * gettext.[Ch]: change for use with new message code.
7634 2003-04-24 André Pönitz <poenitz@gmx.net>
7636 * factory.C: support for eqref
7638 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7640 * messages.[Ch]: add missing char
7642 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7644 * messages.[Ch]: New files
7646 2003-04-18 John Levon <levon@movementarian.org>
7650 * BufferView_pimpl.C:
7654 * text2.C: remove layout-copy/paste (bug 778)
7656 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7658 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7660 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7662 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7663 if they succeed. Act accordingly.
7665 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7667 * text2.C (setCharFont): adjust
7668 (setCounter): adjust
7669 (insertStringAsLines): adjust
7671 * text.C (leftMargin): adjust
7672 (setHeightOfRow): adjust
7674 * rowpainter.C (paintFirst): adjust
7677 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7679 (isFirstInSequence): ditto
7680 (getEndLabel): ditto
7683 * paragraph.C (getParLanguage): comment out some hard stuff.
7685 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7687 (simpleDocBookOnePar): ditto
7688 (makeDocBookFile): use ParagraphList::iterator
7690 * CutAndPaste.C (pasteSelection): adjust
7692 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * text2.C (getFont): adjust
7695 (getLayoutFont): adjust
7696 (getLabelFont): adjust
7698 * paragraph_funcs.C (TeXOnePar): adjust
7700 * buffer.C (simpleLinuxDocOnePar): adjust
7701 (simpleDocBookOnePar): adjust
7703 * CutAndPaste.C (pasteSelection): adjust
7705 * BufferView.C (getEncoding): adjust
7707 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7709 2003-04-16 John Levon <levon@movementarian.org>
7711 * lyxfind.C: use parlist stuff for search/changes
7713 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7715 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7717 * text2.C (deleteEmptyParagraphMechanism): adjust
7719 * text2.[Ch] (ownerParagraph): delete func (both of them
7721 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7725 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7727 * ParagraphList.C: prepare for NO_NEXT
7729 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * text2.C (getFont): adjust
7732 (getLayoutFont): adjust
7733 (getLabelFont): adjust
7735 * paragraph.C (getFont): adjust
7736 (getLabelFont): adjust
7737 (getLayoutFont): adjust
7739 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7741 2003-04-15 John Levon <levon@movementarian.org>
7745 * lyx_main.C: handle Include in .ui files
7747 2003-04-15 John Levon <levon@movementarian.org>
7749 * MenuBackend.C: make the doc files length shorter
7752 * ToolbarBackend.C: handle toolbar placement flags,
7755 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7757 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7760 * paragraph_funcs.C (TeXOnePar): adjust
7762 * paragraph.C (getLabelFont): add outerfont arg, adjust
7763 (getLayoutFont): ditto
7764 (simpleTeXOnePar): adjust
7766 * paragraph_pimpl.C (realizeFont): delete func
7768 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7770 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7771 row argument, constify cur argument.
7773 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7775 * text2.C (getFont): adjust
7776 (getLayoutFont): adjust
7777 (getLabelFont): adjust
7779 * paragraph_funcs.C (TeXOnePar): adjust
7780 (outerFont): new func...
7781 (realizeFont): ...moved out from here, changed this to facilitate
7784 * paragraph.C (getFont): take outerfont as arg, adjust
7785 (simpleTeXOnePar): add outerfont arg, adjust
7787 * buffer.C (simpleLinuxDocOnePar): adjust
7788 (simpleDocBookOnePar): adjust
7790 * CutAndPaste.C (pasteSelection): adjust
7792 * BufferView.C (getEncoding): adjust
7794 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7796 * text2.C (setCharFont): adjust
7797 (setCounter): adjust
7799 * text.C (leftMargin): adjust
7800 (setHeightOfRow): adjust
7802 * rowpainter.C (paintFirst): adjust
7805 * paragraph_pimpl.C (realizeFont): adjust
7807 * paragraph.C (isFirstInSequence): move from here...
7808 * paragraph_funcs.C (isFirstInSequence): ...to here
7810 * paragraph.C (outerHook): move from here...
7811 * paragraph_funcs.C (outerHook): ...to here
7813 * paragraph.C (depthHook): move from here...
7814 * paragraph_funcs.C (depthHook): ...to here
7816 * paragraph.C (getEndLabel): move from here...
7817 * paragraph_funcs.C (getEndLabel): ...to here
7819 * text2.C (realizeFont): move from here...
7820 * paragraph_funcs.C (realizeFont): ...to here
7822 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7824 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7826 2003-04-14 Angus Leeming <leeming@lyx.org>
7828 * LColor.[Ch]: scrap LColor mathcursor.
7830 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7832 * lyxlex.[Ch] (text): delete function
7833 * trans.C (Load): adjust
7834 * paragraph_funcs.C (readParToken): adjust
7836 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7838 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7839 vector<char> instead of a char[].
7841 * lyxlex_pimpl.C (getString): adjust
7843 (lex): use getString
7847 * lyxlex.C (text): use pimpl_->getString()
7851 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7853 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7854 (makeFontEntriesLayoutSpecific): temp var for par.size()
7855 (setLayout): temp var for ownerParagraphs().end()
7856 (fullRebreak): temp var for rows().end()
7857 (selectionAsString): temp var for boost::next(startpit), realize
7858 that the while really is a regular for loop.
7859 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7860 setCursor in one place.
7861 (setParagraph): temp vr for ownerParagraphs().end()
7862 (updateCounters): make the while loop a for loop
7863 (cutSelection): temp var for ownerParagraphs().end()
7864 (updateInset): make the do {} while() a regular for loop
7865 (getCursorX): use temp vars
7866 (setCurrentFont): use temp vars
7867 (getColumnNearX): use temp vars
7869 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7871 * text.C (transformChar): use temp var for getChar
7872 (computeBidiTables): use temp var for row->par()
7873 (fill): move temp vars for row->par() and pit->layout() earlier in
7875 (labelFill): use temp var for row->par()
7876 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7877 asc and desc, realize that pit never changes and that firstpit is
7878 just a duplicate and not needed. Exchange rit->par() with pit in a
7880 (breakAgain): use a temp var for boost::next(rit)
7881 (breakAgainOneRow): ditto
7882 (breakParagraph): use a temp var for rows().begin()
7883 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7884 (cursorRightOneWord): use temp var for cursor.par() and
7885 cursor.pos(), remove usage of tmpcursor.
7886 (cursorLeftOneWord): use temp var for cursor.par() and
7887 cursor.pos() only set cur at end of function.
7889 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7891 * text.C, text2.C: exchange all usage of Paragraph::next with
7892 boost::next(ParagraphList::iterator)
7894 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7896 * text2.C (cursorTop): simplify implementation
7897 (cursorBottom): ditto
7898 (setParagraph): use ParagraphList::iterator
7899 (setCurrentFont): adjust
7900 (getColumnNearX): adjust
7901 (cursorRight): adjust
7902 (cursorLeft): remove usage of Paragraph::previous
7903 (cursorUpParagraph): ditto
7904 (deleteEmptyParagraphMechanism): slight cleanup
7906 * text.C (isBoundary): take a Paragraph const & instead of a
7908 (addressBreakPoint): ditto
7909 (leftMargin): remove usage of Paragraph::previous.
7910 (setHeightOfRow): ditto
7911 (cursorLeftOneWord): ditto
7912 (selectNextWordToSpellcheck): ditto
7915 (breakParagraph): remove one usage of Paragraph::next
7916 (redoParagraph): ditto
7917 (acceptChange): ditto
7918 (insertChar): adjust
7919 (rowBreakPoint): adjust
7921 * bufferview_funcs.C (toggleAndShow): adjust
7923 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7925 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7926 methods to access it.
7928 * text.C: Added updateRowPositions to compute all row positions.
7929 Make top_y and getRowNearY() to use the cached y position
7931 2003-04-11 John Levon <levon@movementarian.org>
7933 * text.C (rowBreakPoint): reintroduce the labelEnd
7934 checks, code copied from the row fill stuff. Deep voodoo.
7936 * text.C (fill): add a comment and debugging for the
7939 2003-04-11 John Levon <levon@movementarian.org>
7941 * text.C: make sure fullrow insets get wrapped to the next line,
7942 even when they're in a manual label
7944 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7946 * text2.C (insertParagraph): make it take ParagraphList::iterator
7948 (setLayout): make it return ParagraphList::iterator
7949 (redoParagraphs): ditto
7951 (checkParagraph): ditto
7953 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7955 * text2.C: adjust several funcs.
7956 (realizeFont): take a ParagraphList::iterator as arg.
7957 (getLayoutFont): ditto
7958 (getLabelFont): ditto
7959 (setCharFont): ditto
7961 * text.C: adjust several funcs.
7963 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7965 * text.C (selectNextWordToSpellcheck): don't accidentally
7968 2003-04-10 John Levon <levon@movementarian.org>
7970 * ToolbarBackend.C (getIcon): special handling for
7973 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7975 * text2.C (cursorRight): a getChar assert fixed
7977 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7979 * text2.C (getFont): change to take a ParagraphList::iterator
7980 instead of Paragraph*
7981 Adjust several functions.
7983 * text.C (transformChar): change to take a ParagraphList::iterator
7984 instead of Paragraph*
7985 (singleWidth): ditto
7986 Adjust several functions.
7988 * rowpainter.C: adjust several functions
7989 * rowpainter.h:store a ParagraphList::iterator and not a
7993 2003-04-09 John Levon <levon@movementarian.org>
7998 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7999 and the "help" bits as well
8001 2003-04-09 John Levon <levon@movementarian.org>
8004 * ToolbarBackend.C: allow multiple toolbars
8006 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8008 * undo_funcs.C (setCursorParUndo): adjust
8010 * text_funcs.C (transposeChars): adjust
8012 * text3.C (gotoNextInset): adjust
8015 * text2.C (setLayout): adjust
8016 (changeDepth): adjust
8018 (redoParagraphs): adjust
8019 (selectionAsString): adjust
8020 (setParagraph): adjust
8021 (insertInset): adjust
8022 (cutSelection): adjust
8023 (copySelection): adjust
8024 (pasteSelection): adjust
8025 (insertStringAsLines): adjust
8026 (updateInset): adjust
8027 (setCursor): change to take a ParagraphList::iterator parameter
8028 (setCursorIntern): change to take a ParagraphList::iterator parameter
8029 (setCurrentFont): adjust
8030 (cursorLeft): adjust
8031 (cursorRight): adjust
8032 (deleteEmptyParagraphMechanism): adjust
8034 * text.C (breakParagraph): adjust
8035 (insertChar): adjust
8036 (acceptChange): adjust
8037 (rejectChange): adjust
8038 (selectNextWordToSpellcheck): adjust
8039 (changeCase): adjust
8043 * lyxfind.C (SearchForward): adjust
8044 (SearchBackward): adjust
8045 (nextChange): adjust
8047 * lyxcursor.C (par): adjust
8049 * lyxcursor.h: store a ParagraphList::iterator instead of a
8052 * lyx_cb.C (getPossibleLabel): adjust
8054 * bufferview_funcs.C (toggleAndShow): adjust
8056 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8059 * BufferView.C (removeAutoInsets): adjust
8060 (lockedInsetStoreUndo): adjust
8062 2003-04-09 John Levon <levon@movementarian.org>
8064 * ToolbarBackend.C: try icon without argument
8065 if with argument fails
8067 2003-04-08 John Levon <levon@movementarian.org>
8070 * ToolbarBackend.C: add getIcon(), handle tooltip,
8071 and change from "Icon" to "Item".
8073 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8075 * BufferView.C (lockInset): another bad getchar crunched
8077 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8079 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8082 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8084 * lyxfind.C (searchForward, searchBackwards): bug 782
8086 2003-04-07 John Levon <levon@movementarian.org>
8088 * paragraph.C: remove dead comment
8090 * text.C: remove troublesome depth-fiddling code
8091 in leftMargin() and rightMargin() (bug 1017)
8093 * text.C: fix breaking of rows in nested lists
8096 * text2.C (updateCounters): fix up depth values
8099 2003-04-07 John Levon <levon@movementarian.org>
8101 * BufferView_pimpl.C: clear message when doc finishes resizing,
8102 and after a mouse event
8104 * lyxfunc.C: clear message after exiting inset
8106 2003-04-07 John Levon <levon@movementarian.org>
8108 * bufferview_funcs.C: show math status not outside
8109 status in the statusbar
8111 2003-04-07 John Levon <levon@movementarian.org>
8113 * lyxfunc.C: note status changed after a depth change
8115 2003-04-04 Angus Leeming <leeming@lyx.org>
8117 * LaTeX.h: move AuxInfo operator==, != out of line.
8118 Remove LaTeX virtual destructor; nothing derives from it.
8119 Move operator()() out of public area and rename it startscript().
8120 Change protected for private.
8122 2003-04-04 Angus Leeming <leeming@lyx.org>
8125 * text2.C: remove unneeded #includes.
8127 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8129 * text2.C (dEPM): fix the heigth of the next row
8131 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8133 * text.C: squashed an invalid getChar requester + some ws changes
8135 2003-04-03 John Levon <levon@movementarian.org>
8137 * bufferview_funcs.h:
8138 * bufferview_funcs.C:
8141 * text2.C: make getStatus work for the env depth lfuns
8143 2003-04-03 John Levon <levon@movementarian.org>
8145 * bufferview_funcs.h:
8146 * bufferview_funcs.C:
8149 * text2.C: parlistize decDepth(), by merging it with incDepth()
8151 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8153 * lyxrow.h: store a ParagraphList::iterator instead of a
8154 Paragraph* and adjust other class functions to suit.
8156 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8159 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8161 * text2.C (setCursor): do not anchor to cursor row for the time being
8163 2003-04-02 John Levon <levon@movementarian.org>
8170 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8172 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8174 * paragraph.h: make ParagraphList and ParagraphList::iterator
8175 friends of Paragraph.
8177 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8179 * ParagraphList.C: Use the private next_ and previous_ from
8182 2003-04-01 John Levon <levon@movementarian.org>
8186 * Makefile.am: rename, remove defaults gunk
8189 * MenuBackend.C: remove defaults gunk
8192 * Languages.C: remove defaults gunk
8195 * lyx_main.C: error out if files couldn't be found.
8197 2003-04-02 John Levon <levon@movementarian.org>
8199 * text2.C: make incDepth() use parlist
8201 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8203 * undo_funcs.C (firstUndoParagraph): adjust
8205 * text3.C (gotoInset): adjust
8206 (dispatch): adjust, and rewrite loop.
8208 * text2.C (init): adjust, and rewrite loop.
8209 (redoParagraphs): adjust
8210 (updateInset): adjust, and rewrite loop.
8211 (deleteEmptyParagraphMechanism): adjust
8213 * tabular.C (LyXTabular): adjust
8214 (SetMultiColumn): adjust
8217 * lyxtext.[Ch] (ownerParagraph): delete function
8218 (ownerParagraphs): new function returns a ParagraphList.
8220 * BufferView.C (removeAutoInsets): adjust
8221 (insertErrors): adjust
8222 (setCursorFromRow): adjust
8224 2003-04-01 Angus Leeming <leeming@lyx.org>
8226 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8229 2003-04-02 John Levon <levon@movementarian.org>
8235 * text_funcs.C: make transposeChars a free function
8237 * lyxrow_funcs.C: remove wrong comment
8239 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8242 * rowpainter.C: adjust
8247 * lyxrow_funcs. [Ch]: new files
8249 * lyxrow.[Ch]: remove next and previous pointers
8250 (next,previous): remove accessor functions
8251 (isParEnd): move to lyxrow_funcs
8252 (lastPos): move to lyxrow_funcs
8253 (nextRowIsAllInset): move to lyxrow_funcs
8254 (lastPrintablePos): move to lyxrow_funcs
8255 (numberOfSeparators): move to lyxrow_funcs
8256 (numberOfHfills): move to lyxrow_funcs
8257 (numberOfLabelHfills): move to lyxrow_funcs
8258 (hfillExpansion): move to lyxrow_funcs
8262 * bufferview_funcs.C (toggleAndShow): adjust
8264 * RowList.h: Remove class RowList from file leave just a
8267 * RowList.C: delete file
8269 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8272 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8274 * text3.C (cursorPrevious): adjust
8275 (cursorNext): adjust
8278 * text2.C (redoHeightOfParagraph): adjust
8279 (redoDrawingOfParagraph): adjust
8282 * text.C (breakParagraph): adjust
8283 (insertChar): adjust
8286 * rowpainter.C (RowPainter): adjust
8287 (leftMargin): simplify and adjust
8288 (most rowpainter functions): adjust.
8290 * rowpainter.h: store the row as RowList::iterator not as Row*
8292 * lyxcursor.C (row): taka RowList::iterator as arg
8295 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8298 2003-04-01 Angus Leeming <leeming@lyx.org>
8300 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8301 stuff like bool Bool.
8303 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8305 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8308 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8310 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8313 * lyxtext.h (rows): drop one version and leve a const variant that
8314 returns a RowList::iterator.
8316 2003-03-31 Angus Leeming <leeming@lyx.org>
8318 * text.C (fill): ensure that the signature is the same as that in the
8321 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8323 * text2.C (redoParagraphs): adjust
8324 (updateCounters): adjust
8325 (checkParagraph): adjust
8326 (getColumnNearX): adjust and reformat a bit.
8328 * text.C (top_y): adjust
8330 (leftMargin): adjust
8331 (prepareToPrint): adjust
8333 (getRowNearY): adjust
8335 * lyxtext.h: make rowlist_ mutable.
8337 * RowList.h: add const_iterator
8338 * RowList.C: adjust for RowList::const_iterator.
8340 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8343 2003-03-31 John Levon <levon@movementarian.org>
8346 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8348 * lyx_main.C: set default fonts from using lyx_gui funcs
8350 * exporter.C: pdf_mode moved from lyxrc
8353 * lyxfunc.C: changes from above
8355 2003-03-31 John Levon <levon@movementarian.org>
8357 * lyx_main.C: fix to the last fix
8359 2003-03-31 John Levon <levon@movementarian.org>
8361 * bufferlist.C: "Load original" -> "Load Original"
8367 * format.C: more Alert cleanups
8369 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8371 * text2.C (removeParagraph): make it take a RowList::iterator as
8373 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8374 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8376 * text.C (anchor_row): make it take a RowList::iterator as arg,
8378 (computeBidiTables): make it take a const reference to Row instead
8379 of Row pointer, adjust.
8380 (leftMargin): make it take a RowList::iterator as arg, adjust.
8381 (rowBreakPoint): adjust
8382 (breakAgainOneRow): make it take a RowList::iterator as arg,
8384 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8386 * bufferview_funcs.C (toggleAndShow): adjust
8388 2003-03-30 John Levon <levon@movementarian.org>
8392 * boost-inst.C: moved to support
8394 * several files: changes as a result
8396 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8398 * text2.C (LyXText): adjust.
8400 (removeRow): make it take a RowList::iterator as arg, adjust.
8401 (fullRebreak): adjust
8402 (deleteEmptyParagraphMechanism): adjust
8403 (clearPaint): adjust
8406 * text.C (top_y): adjust
8407 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8408 (breakAgain): make it take a RowList::iterator as arg, adjust.
8409 (breakParagraph): adjust
8410 (insertChar): adjust
8413 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8414 need_break_row, and refresh_row.
8416 * text3.C (dispatch): adjust
8418 * text2.C (checkParagraph): adjust
8420 (setCursorFromCoordinates): adjust
8422 * text.C (top_y): adjust
8424 (getRow): make it return a RowList::iterator, adjust
8425 (getRowNearY): make it return a RowList::iterator, adjust
8427 * text2.C (init): adjust
8428 (insertRow): remove function
8429 (insertParagraph): adjust
8430 (redoParagraphs): adjust
8431 (fullRebreak): adjust
8432 (updateCounters): adjust
8434 * text.C (top_y): rewrite to use RowList iterators.
8436 (setHeightOfRow): rewrite to sue RowList iterators.
8437 (appendParagraph): adjust
8438 (breakAgain): adjust
8439 (breakAgainOneRow): adjust
8440 (breakParagraph): adjust
8442 (getRowNearY): adjust, and remove commented code.
8444 * lyxtext.h (firstRow): delete function
8445 (lastRow): delete function
8446 (rows): new function (const and non-const versions.)
8447 (insertRow): delete function
8449 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8451 2003-03-29 John Levon <levon@movementarian.org>
8453 * BufferView_pimpl.C: always update scrollbar top
8454 because pasting text when we're anchored could mean we
8455 miss an update altogether
8457 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8459 * text2.C (init): use rowlist_.end() and not 0.
8460 (insertRow): change to take a RowList::iterator as arg, adjust
8462 (insertParagraph): change to take a RowList::iterator as arg,
8464 (redoParagraphs): remove some debug msgs.
8466 * text.C (appendParagraph): change to take a RowList::iterator
8467 arg, adjust for this.
8468 (breakAgain): add an assert
8469 (breakAgainOneRow): ditto
8471 2003-03-29 John Levon <levon@movementarian.org>
8473 * text2.C: do not clear selection after inc/decDepth
8476 2003-03-29 John Levon <levon@movementarian.org>
8479 * buffer.C: fix broken strerrors according to Lars
8481 2003-03-29 John Levon <levon@movementarian.org>
8483 * converters.C: more Alert cleanups
8485 2003-03-29 John Levon <levon@movementarian.org>
8487 * bufferview_funcs.C: remove pointless Alert
8489 * buffer.C: fix confusing error message when
8490 a template is chmoded 000
8492 2003-03-29 John Levon <levon@movementarian.org>
8496 * BufferView_pimpl.C: Alert fixes
8500 * tabular-old.C: remove unused table compat reading
8502 2003-03-29 John Levon <levon@movementarian.org>
8507 * lyx_cb.C: more Alert cleanups
8509 * lyxfunc.C: don't allow chktex if not latex document
8511 2003-03-29 John Levon <levon@movementarian.org>
8515 * buffer.C: warnings pushed down from support/,
8518 2003-03-29 John Levon <levon@movementarian.org>
8520 * lyxfunc.C: safety check for C-r (revert)
8522 2003-03-29 John Levon <levon@movementarian.org>
8525 * bufferlist.C: several UI fixes using Alert::prompt.
8526 Fix the pointless looping quit code. Fix stupid revert
8531 * lyx_cb.C: use Alert::prompt
8533 * lyx_main.C: remove a silly question
8535 * lyxfunc.C: remove a couple of silly questions,
8538 2003-03-28 John Levon <levon@movementarian.org>
8540 * text2.C: fix bug 974 (End on empty par)
8542 2003-03-28 John Levon <levon@movementarian.org>
8544 * BufferView_pimpl.C:
8546 * lfuns.h: remove do-nothing math greek lfuns
8548 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8550 * lyxgluelength.h (isValidGlueLength): add default arg on
8551 parameter 2. Remove default arg from friend in class.
8553 * lyxlength.h (isValidLength): add default arg on parameter 2.
8554 Remove default arg from friend in class.
8556 * text2.C (LyXText): adjust, initialize refresh_row.
8560 (insertParagraph): adjst
8561 (redoParagraphs): adjust
8562 (fullRebreak): adjust
8563 (updateCounters): adjust
8564 (deleteEmptyParagraphMechanism): first attempt at fixing a
8567 * text.C (top_y): adjust
8568 (setHeightOfRow): adjust
8570 (getRowNearY): adjust
8572 * lyxtext.h: include RowList.h
8573 (~LyXText): not needed anymore, deleted.
8574 (firstRow): modify for RowList
8575 (lastRow): new function
8576 Delete firstrow and lastrow class variables, add a Rowlist
8577 rowlist_ class variable.
8579 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8582 * RowList.C (insert): fix case where it == begin().
8584 2003-03-26 Angus Leeming <leeming@lyx.org>
8586 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8587 the thesaurus dialog.
8589 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8591 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8593 * RowList.[Ch]: new files
8595 * ParagraphList.C (erase): handle the case where it == begin
8598 2003-03-25 John Levon <levon@movementarian.org>
8602 * aspell.C: add new aspell support
8605 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8608 2003-03-25 Angus Leeming <leeming@lyx.org>
8611 * LyXAction.C (init): new LFUN_INSET_INSERT.
8613 * BufferView_pimpl.C (dispatch): split out part of the
8614 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8616 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8619 2003-03-25 Angus Leeming <leeming@lyx.org>
8621 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8623 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8626 * text3.C: remove useless row->height(0)
8628 2003-03-25 John Levon <levon@movementarian.org>
8632 * text3.C: rename the refreshing stuff to better names
8634 2003-03-24 John Levon <levon@movementarian.org>
8636 * BufferView_pimpl.h:
8637 * BufferView_pimpl.C: update layout choice on a mouse
8640 2003-03-23 John Levon <levon@movementarian.org>
8642 * Makefile.am: fix commandtags.h reference
8644 2003-03-22 John Levon <levon@movementarian.org>
8646 * BufferView_pimpl.C:
8651 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8653 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8656 * text.C: take the rtl methods out of line
8658 2003-03-21 André Pönitz <poenitz@gmx.net>
8660 * metricsinfo.[Ch]: new files containing structures to be passed around
8661 during the two-phase-drawing...
8663 2003-03-21 André Pönitz <poenitz@gmx.net>
8665 * lyxtextclass.C: read 'environment' tag.
8667 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8669 * text2.C (removeRow): fix bug 964
8671 2003-03-20 John Levon <levon@movementarian.org>
8675 * text2.C: paint cleanups. Inset::update() dropped font
8678 2003-03-19 John Levon <levon@movementarian.org>
8680 * lyxfunc.C: only fitcursor/markDirty if available()
8682 2003-03-19 John Levon <levon@movementarian.org>
8684 * commandtags.h: rename to ...
8686 * lfuns.h: ... this, and renumber / cleanup
8688 2003-03-19 John Levon <levon@movementarian.org>
8690 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8691 fit the cursor after an lfun
8695 * BufferView_pimpl.h:
8696 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8698 * LyXAction.C: layout-character should have ReadOnly
8700 * ParagraphParameters.C:
8702 * bufferview_funcs.C:
8709 * undo_funcs.C: changes from above
8711 2003-03-18 John Levon <levon@movementarian.org>
8713 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8714 remove it from update()
8716 * lyxfunc.C: update layout choice after an lfun
8718 * text3.C: remove extra updateLayoutChoice()s
8720 2003-03-18 John Levon <levon@movementarian.org>
8722 * text.C: top_y change means full repaint, fix
8723 a drawing bug with cursor movement
8725 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8729 * text2.C: anchor row on setCursor
8731 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8733 * lyxtext.h: remove almost all mutable keywords
8736 * text3.C: remove const keywords accordingly
8738 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8740 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8742 (TeXEnvironment): ditto
8745 2003-03-17 John Levon <levon@movementarian.org>
8747 * text.C (rowBreakPoint): remove attempt to fix displayed
8748 math insets inside a manual label
8750 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8752 * lyxtext.h: remove BufferView* as first arg from almost all class
8754 * other files: adjust.
8756 2003-03-17 John Levon <levon@movementarian.org>
8760 * text2.C: more paint cleanups
8762 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8765 * rowpainter.C: remove "smart" background painting code
8767 2003-03-16 John Levon <levon@movementarian.org>
8772 * text3.C: add helper functions for setting refresh_row/y
8774 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8776 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8777 newline inset which *can* get inserted in the pass_thru layouts.
8778 This is primarily for literate documents.
8780 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8782 * buffer.C: increment LYX_FORMAT to 223
8784 2003-03-14 André Pönitz <poenitz@gmx.net>
8786 * textclass.h: prepare for environment handling, ws changes
8787 * lyxlayout.C: read latexheader and latexfooter tags
8789 2003-03-14 John Levon <levon@movementarian.org>
8791 * text2.C: rewrite ::status() a bit
8793 2003-03-13 John Levon <levon@movementarian.org>
8795 * lyxtext.h: add some docs
8797 2003-03-13 John Levon <levon@movementarian.org>
8802 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8804 2003-03-13 John Levon <levon@movementarian.org>
8806 * text3.C: fix appendix redrawing
8808 2003-03-13 John Levon <levon@movementarian.org>
8810 * text.C (setHeightOfRow):
8812 * rowpainter.C: make appendix mark have the text
8813 "Appendix" so the user knows what it is
8816 * LColor.C: s/appendixline/appendix/ from above
8818 2003-03-13 John Levon <levon@movementarian.org>
8820 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8822 * text.C: fix a getChar(pos) bug properly
8824 2003-03-13 Angus Leeming <leeming@lyx.org>
8827 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8828 Probably only temporary. Let's see how things pan out.
8830 * BufferView.C (unlockInset):
8831 * BufferView_pimpl.C (fitCursor):
8832 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8834 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8835 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8837 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8838 new functions that convert ParagraphParameters to and from a string.
8840 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8841 BufferView::Pimpl's dispatch.
8842 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8844 2003-03-13 André Pönitz <poenitz@gmx.net>
8848 * factory.C: make it aware of InsetEnv
8850 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8852 * text2.C (setCursor): never ask for one past last
8853 (setCursor): add some debugging messages.
8855 * text.C (singleWidth): never ask for one past last
8856 (singleWidth): ditto
8858 (rightMargin): ditto
8859 (rowBreakPoint): ditto
8860 (setHeightOfRow): ditto
8861 (prepareToPrint): ditto
8863 * rowpainter.C (paintBackground): never ask for one past last
8864 (paintText): never ask for one past last
8866 * paragraph_pimpl.C (getChar): make the assert stricter, never
8867 allow the one past last pos to be taken
8869 * paragraph.C (getChar): ws changes only
8871 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8872 (numberOfSeparators): ditto
8873 (numberOfHfills): ditto
8875 2003-03-12 John Levon <levon@movementarian.org>
8881 * paragraph_funcs.C: fix per-buffer authorlists
8883 2003-03-12 John Levon <levon@movementarian.org>
8885 * text.C: fix newline in right address
8887 2003-03-12 Angus Leeming <leeming@lyx.org>
8889 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8890 duplicate those in LyXFunc::dispatch.
8894 * ToolbarDefaults.C:
8895 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8896 Add LFUN_FONTFREE_UPDATE.
8898 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8899 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8901 * bufferview_func.[Ch]: several new functions to facilliate
8902 transfer of data to and from the character dialog.
8904 2003-03-12 John Levon <levon@movementarian.org>
8909 * paragraph_funcs.C:
8910 * paragraph_pimpl.C:
8914 * text3.C: remove META_NEWLINE in favour of an inset
8917 * rowpainter.C: remove paintNewline (done by inset)
8919 2003-03-12 John Levon <levon@movementarian.org>
8921 * paragraph_pimpl.C: complain about bad getChar()s
8922 for a while at least
8924 2003-03-12 John Levon <levon@movementarian.org>
8927 * buffer.C: move paragraph read into a separate function,
8928 a little renaming to reflect that.
8931 * bufferparams.C: remove the author_ids map, not necessary now
8934 * factory.C: moved Buffer::readInset to here
8936 * paragraph_funcs.h:
8937 * paragraph_funcs.C: readParagraph free function moved from
8940 * tabular.C: name change
8942 2003-03-12 John Levon <levon@movementarian.org>
8945 * ParagraphParameters.C: move par params input to
8948 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8949 behave like a normal read from the stream wrt reading
8950 a line vs. a \\token
8952 2003-03-12 John Levon <levon@movementarian.org>
8955 * ParagraphParameters.h:
8956 * ParagraphParameters.C: move output code to a
8959 2003-03-12 John Levon <levon@movementarian.org>
8961 * BufferView.C (insertLyXFile):
8964 * tabular.C: use a parlist iterator for creating the
8967 2003-03-12 John Levon <levon@movementarian.org>
8969 * buffer.C: make current_change static local not
8972 2003-03-12 John Levon <levon@movementarian.org>
8974 * buffer.C: fix insertStringAsLines for change tracking
8976 2003-03-12 John Levon <levon@movementarian.org>
8983 * bufferparams.C: move author list into params. Rename some
8984 functions. Move the header reading into a separate token
8985 loop. Move the header token reading into BufferParams.
8987 2003-03-12 John Levon <levon@movementarian.org>
8989 * changes.C: put debug inside lyxerr.debugging() checks
8991 2003-03-11 André Pönitz <poenitz@gmx.net>
8993 * factory.C: make it aware of InsetHFill
8995 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8997 * buffer.C (latexParagraphs): move function from here...
8998 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9001 2003-03-10 Angus Leeming <leeming@lyx.org>
9003 * LyXAction.C (init): fix bug in poplating array with multiple entries
9004 with the same LFUN (spotted by JMarc).
9006 2003-03-10 John Levon <levon@movementarian.org>
9009 * text2.C: move getColumnNearX() near its
9012 2003-03-10 John Levon <levon@movementarian.org>
9014 * text.C: fix break before a minipage
9016 2003-03-10 John Levon <levon@movementarian.org>
9018 * text.C: fix the last commit
9020 2003-03-09 John Levon <levon@movementarian.org>
9024 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9025 bug 365 (don't break before insets unless needed). Don't
9026 return a value > last under any circumstances.
9028 2003-03-09 Angus Leeming <leeming@lyx.org>
9030 * BufferView_pimpl.C (trackChanges, dispatch): call
9031 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9033 2003-03-09 Angus Leeming <leeming@lyx.org>
9035 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9036 than Dialogs::showAboutlyx().
9038 2003-03-09 Angus Leeming <leeming@lyx.org>
9040 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9041 than Dialogs::showTabularCreate().
9043 2003-03-09 John Levon <levon@movementarian.org>
9047 * text2.C: 3rd arg to nextBreakPoint was always the same.
9050 2003-03-08 John Levon <levon@movementarian.org>
9057 * text2.C: Remove the "main" bit from the "main body"
9060 2003-03-08 John Levon <levon@movementarian.org>
9062 * text.C (leftMargin): The left margin of an empty
9063 manual label paragraph should not include the label width
9066 * text.C (prepareToPrint): don't attempt to measure hfills
9067 for empty manual label paragraphs - the answer should be 0
9069 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9071 * CutAndPaste.C: remove commented code and reindent.
9073 2003-03-08 John Levon <levon@movementarian.org>
9076 * lyxfunc.C: move reloadBuffer()
9079 * BufferView.C: to here
9081 * lyxvc.C: add comment
9084 * vc-backend.C: call bv->reload() to avoid
9085 getStatus() check on MENURELOAD
9087 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9089 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9090 to an old format .dep file.
9092 2003-03-07 Angus Leeming <leeming@lyx.org>
9094 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9095 when the LFUN_MOUSE_RELEASE should have been handled by
9096 inset->localDispatch.
9098 2003-03-07 Angus Leeming <leeming@lyx.org>
9100 * BufferView_pimpl.C (dispatch):
9101 * LyXAction.C (init):
9102 * ToolbarDefaults.C (init):
9104 * lyxfunc.C (getStatus):
9105 remove LFUN_INSET_GRAPHICS.
9107 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9109 2003-03-07 Angus Leeming <leeming@lyx.org>
9112 * LyXAction.C (init):
9113 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9115 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9118 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9120 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9121 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9123 2003-03-07 Angus Leeming <leeming@lyx.org>
9125 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9128 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9130 * ParagraphList.C (front): new function
9133 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9135 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9136 and top_row_offset_. removed var first_y.
9138 * text2.C (LyXText, removeRow):
9140 * BufferView_pimpl.C:
9141 use these methods instead of using first_y
9143 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9145 * text2.C (pasteSelection): adjust for checkPastePossible
9147 * CutAndPaste.C: remove Paragraph * buf and replace with
9148 ParagraphList paragraphs.
9149 (DeleteBuffer): delete
9150 (cutSelection): change the tc type to textclass_type
9151 (copySelection): change the tc type to textclass_type
9152 (copySelection): adjust for ParagraphList
9153 (pasteSelection): change the tc type to textclass_type
9154 (pasteSelection): adjust for Paragraphlist
9155 (nrOfParagraphs): simplify for ParagraphList
9156 (checkPastePossible): simplify for ParagraphList
9157 (checkPastePossible): remove unused arg
9159 * ParagraphList.C (insert): handle the case where there are no
9162 * CutAndPaste.h: make CutAndPaste a namespace.
9164 * text3.C (dispatch): adjust
9166 * text.C (breakParagraph): add a ParagraphList as arg
9168 * paragraph_funcs.C (breakParagraph): change to take a
9169 BufferParams and a ParagraphList as args.
9170 (breakParagraphConservative): ditto
9171 (mergeParagraph): ditto
9172 (TeXDeeper): add a ParagraphList arg
9173 (TeXEnvironment): ditto
9176 * buffer.C (readLyXformat2): adjust
9177 (insertStringAsLines): adjust
9178 (latexParagraphs): adjust
9180 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9181 (cutSelection): adjust
9182 (pasteSelection): adjust
9184 * BufferView_pimpl.C (insertInset): adjust
9186 2003-03-05 Angus Leeming <leeming@lyx.org>
9189 * LyXAction.C (init):
9190 * BufferView_pimpl.C (dispatch):
9191 * lyxfunc.C (getStatus):
9192 remove LFUN_CHILD_INSERT.
9194 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9196 2003-03-05 Angus Leeming <leeming@lyx.org>
9199 * LyXAction.C (init):
9200 * src/factory.C (createInset):
9201 * lyxfunc.C (getStatus):
9202 * text3.C (dispatch):
9203 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9205 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9207 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9209 * ParagraphList.C (insert): handle insert right before end()
9210 (erase): fix cases where it can be first or last paragraph.
9212 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9214 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9215 Paragraph::next and Paragraph::previous
9218 * text.C (breakParagraph): adjust
9220 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9221 BufferParams& as arg.
9222 (breakParagraph): use ParagraphList::insert
9223 (breakParagraphConservative): take a Buffer* instead of a
9224 BufferParams& as arg.
9225 (breakParagraphConservative): use ParagraphList::insert.
9227 * buffer.C (insertStringAsLines): un-const it
9228 (insertStringAsLines): adjust
9230 * ParagraphList.C (insert): new function
9232 * CutAndPaste.C (pasteSelection): adjust
9234 * text.C (backspace): adjust
9236 * tabular.C (SetMultiColumn): adjust
9238 * CutAndPaste.C (cutSelection): adjust
9239 (pasteSelection): adjust
9241 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9242 Buffer const * as arg
9244 * ParagraphList.C (erase): new function
9245 * paragraph_funcs.C (mergeParagraph): use it
9246 (mergeParagraph): make it take a Buffer* instead of a
9247 BufferParams* as arg
9249 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9251 (breakParagraphConservative): ditto
9253 * paragraph.h: remove the breakParagraph friend
9255 * paragraph.C (eraseIntern): new function
9256 (setChange): new function
9258 * paragraph_funcs.C (mergeParagraph): make it take a
9259 ParagraphList::iterator instead of a Paragraph *, adjust
9262 * paragraph.h: move an #endif so that the change tracking stuff
9263 also works in the NO_NEXT case.
9265 2003-03-04 Angus Leeming <leeming@lyx.org>
9268 * LyXAction.C: new LFUN_INSET_MODIFY.
9270 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9271 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9273 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9275 * several files: ws changes only
9277 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9278 (TeXEnvironment): ditto
9281 * buffer.C (makeLaTeXFile): adjust
9282 (latexParagraphs): make it take ParagraphList::iterator as args
9284 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9286 * buffer.C (latexParagraphs): adjust
9288 * paragraph.C (TeXOnePar): move function...
9289 (optArgInset): move function...
9290 (TeXEnvironment): move function...
9291 * paragraph_pimpl.C (TeXDeeper): move function...
9292 * paragraph_funcs.C: ...here
9294 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9296 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9298 * buffer.C (readInset): remove compability code for old Figure and
9301 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9303 * buffer.C: ws changes
9306 * BufferView_pimpl.C: ditto
9309 * bufferlist.h: ditto
9313 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9315 * converter.[Ch]: split into itself +
9318 * Makefile.am: += graph.[Ch] + format.[Ch]
9325 * lyxrc.C: added #include "format.h"
9327 2003-02-27 Angus Leeming <leeming@lyx.org>
9329 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9332 * factory.C (createInset): add "label" to the factory.
9334 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9335 string and do no more.
9337 2003-02-27 Angus Leeming <leeming@lyx.org>
9340 * LyXAction.C (init):
9341 * factory.C (createInset):
9342 * BufferView_pimpl.C (dispatch):
9343 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9345 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9347 * lyxfunc.C (dispatch):
9348 * text3.C (dispatch): pass name to params2string.
9350 2003-02-26 Angus Leeming <leeming@lyx.org>
9352 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9354 Rearrange the ~includes. Strip out the unnecessary ones.
9356 * factory.C (createInset): reformat.
9357 create new insets for the various LFUN_XYZ_APPLY lfuns.
9359 2003-02-26 John Levon <levon@movementarian.org>
9362 * lyxrow.C: add isParStart,isParEnd helpers
9364 * paragraph.h: make isInserted/DeletedText take refs
9366 * paragraph_funcs.h:
9367 * paragraph_funcs.C: remove #if 0'd code
9372 * text.C: use lyxrow helpers above.
9373 Move draw and paint routines to RowPainter.
9374 Make several methods use refs not pointers.
9375 Make backgroundColor() const.
9376 Add markChangeInDraw(), isInInset().
9377 Merge changeRegionCase into changeCase.
9378 Make workWidth() shouldn't-happen code into an Assert.
9381 * rowpainter.C: new class for painting a row.
9384 * vspace.C: make inPixels take a ref
9386 2003-02-26 Angus Leeming <leeming@lyx.org>
9388 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9391 2003-02-25 John Levon <levon@movementarian.org>
9393 * ispell.C: give the forked command a more accurate name
9395 2003-02-22 John Levon <levon@movementarian.org>
9398 * toc.C: make TocItem store an id not a Paragraph *
9401 2003-02-21 Angus Leeming <leeming@lyx.org>
9403 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9404 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9405 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9406 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9407 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9408 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9410 * BufferView_pimpl.C (dispatch):
9411 * LyXAction.C (init):
9412 * factory.C (createInset):
9413 * lyxfunc.C (getStatus, dispatch):
9414 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9416 2003-02-21 Angus Leeming <leeming@lyx.org>
9418 * BufferView_pimpl.C (MenuInsertLyXFile):
9419 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9420 * lyxfunc.C (menuNew, open, doImport):
9421 no longer pass a LyXView & to fileDlg.
9423 2003-02-21 Angus Leeming <leeming@lyx.org>
9425 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9426 * LyXAction.C: change, BIBKEY to BIBITEM.
9427 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9428 Change InsetBibKey to InsetBibitem.
9429 Change BIBKEY_CODE to BIBITEM_CODE.
9430 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9431 * factory.C: replace insetbib.h with insetbibitem.h.
9432 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9433 * paragraph.C: replace insetbib.h with insetbibitem.h.
9434 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9435 Change bibkey() to bibitem().
9436 * text.C: remove insetbib.h.
9437 * text2.C: replace insetbib.h with insetbibitem.h.
9438 change bibkey() to bibitem().
9439 * text3.C: remove insetbib.h.
9440 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9442 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9444 * lyxrc.C (output): enclose user email in quotes (in case there are
9447 2003-02-18 John Levon <levon@movementarian.org>
9449 * buffer.h: add std::
9451 2003-02-17 John Levon <levon@movementarian.org>
9457 * pspell.C: reworking. Especially in ispell, a large
9458 number of clean ups and bug fixes.
9460 * lyxfunc.C: fix revert to behave sensibly
9462 2003-02-17 André Pönitz <poenitz@gmx.net>
9465 * commandtags.h: new LFUN_INSERT_BIBKEY
9475 * paragraph_func.C: remove special bibkey handling
9477 2003-02-17 John Levon <levon@movementarian.org>
9479 * text.C (Delete): fix case where delete at the end of
9480 the very first paragraph would not merge the pars
9482 2003-02-17 John Levon <levon@movementarian.org>
9484 * lyxrow.C: fix lastPrintablePos()
9486 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9488 * bufferparams.C (writeLaTeX): add a std:here
9490 * buffer.C: and remove a using directive there
9492 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9494 * buffer.C (makeLaTeXFile): move the code that generates the
9497 * bufferparams.C (writeLaTeX): ... in this new method
9499 * LaTeXFeatures.C (getEncodingSet): make const
9500 (getLanguages): make const
9502 * MenuBackend.C (binding): returns the binding associated to this
9504 (add): sets the status of each item by calling getStatus. Adds
9506 (read): add support for OptSubMenu
9507 (expand): remove extra separator at the end of expanded menu
9509 2003-02-15 John Levon <levon@movementarian.org>
9512 * BufferView_pimpl.C:
9514 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9515 inset code that had no actual effect. Remove unneeded status
9518 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9520 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9523 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9525 * text.C (drawLengthMarker): also draw an arrow marker for
9526 symbolic lengths (medskip...)
9528 2003-02-14 John Levon <levon@movementarian.org>
9531 * tabular.C: better method names
9533 2003-02-14 John Levon <levon@movementarian.org>
9535 * BufferView_pimpl.C:
9540 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9541 it's a more accurate name. Remove some pointless uses.
9543 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9545 * text2.C (LyXText): change order of initilizers to shut off
9548 2003-02-14 John Levon <levon@movementarian.org>
9550 * buffer.C: use ParIterator for getParFromID()
9554 * paragraph_pimpl.h:
9555 * paragraph_pimpl.C: remove unused getParFromID()
9557 2003-02-14 John Levon <levon@movementarian.org>
9559 * buffer.C: remove some very old #if 0'd parse code
9561 2003-02-13 John Levon <levon@movementarian.org>
9565 * text2.C: move hfillExpansion(), numberOfSeparators(),
9566 rowLast(), rowLastPrintable(), numberofHfills(),
9567 numberOfLabelHfills() ...
9570 * lyxrow.C: ... to member functions here.
9575 * text.C: remove LyXText::beginningOfMainBody(), and call
9576 p->beginningOfMainBody() directly. Move the check for
9577 LABEL_MANUAL into the latter.
9584 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9590 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9591 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9593 2003-02-13 John Levon <levon@movementarian.org>
9595 * CutAndPaste.C: remove debug
9597 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9599 * paragraph.C (asString): remove two unused variables
9601 * lyxtextclass.C (readTitleType):
9603 (LyXTextClass): handle new members titletype_ and titlename_
9605 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9607 2003-02-09 John Levon <levon@movementarian.org>
9610 * buffer.C: replace hand-coded list with a map for the dep clean
9612 2003-02-08 John Levon <levon@movementarian.org>
9614 * LaTeX.C: consolidate code into showRunMessage() helper
9616 2003-02-08 John Levon <levon@movementarian.org>
9621 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9622 and pass the size in explicitly
9624 * BufferView_pimpl.h:
9625 * BufferView_pimpl.C:
9627 * BufferView.C: add getCurrentChange()
9629 * BufferView_pimpl.h:
9630 * BufferView_pimpl.C: handle change lfuns
9632 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9633 for changes. Mark pasted paragraphs as new.
9635 * support/lyxtime.h:
9636 * support/lyxtime.C:
9637 * DepTable.C: abstract time_t as lyx::time_type
9640 * LColor.C: add colours for new text, deleted text, changebars
9642 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9643 package use "usenames" option.
9647 * LyXAction.C: add change lfuns
9651 * author.C: author handling
9654 * buffer.C: add a per-buffer author list, with first entry as
9655 current author. Handle new .lyx tokens for change tracking. Output
9656 author list to .lyx file. Output dvipost stuff to .tex preamble.
9657 Bump lyx format to 222.
9660 * bufferlist.C: add setCurrentAuthor() to reset current author details
9664 * bufferparams.C: add param for tracking
9666 * bufferview_funcs.C: output change info in minibuffer
9670 * changes.C: add change-tracking structure
9673 * debug.C: add CHANGES debug flag
9676 * lyxfind.C: add code for finding the next change piece
9679 * lyxrc.C: add user_name and user_email
9682 * lyxrow.C: add a metric for the top of the text line
9685 * text.C: implement accept/rejectChange()
9688 * text.C: paint changebars. Paint new/deleted text in the chosen
9689 colours. Strike through deleted text.
9693 * paragraph_pimpl.h:
9694 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9695 in the current change to the insert functions. Rework erase to
9696 mark text as deleted, adding an eraseIntern() and a range-based
9697 erase(). Implement per-paragraph change lookup and
9700 * paragraph_funcs.C: Fixup paste for change tracking.
9702 * tabular.C: mark added row/columns as new.
9704 * text.C: fix rowLast() to never return -1. Don't allow
9705 spellchecking of deleted text. Track transpose changes. Don't
9706 allow paragraph break or merge where appropriate.
9708 * text2.C: leave cursor at end of selection after a cut.
9710 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9712 * text.C (getLengthMarkerHeight):
9713 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9714 visible on screen too.
9716 2003-02-07 John Levon <levon@movementarian.org>
9718 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9720 2003-02-05 Angus Leeming <leeming@lyx.org>
9722 * lyxserver.C (read_ready): revert my patch of 11 September last year
9723 as it sends PC cpu through the roof. Presumably this means that
9724 the lyxserver will no longer run on an Alpha...
9726 2003-01-30 Angus Leeming <leeming@lyx.org>
9728 * factory.C (createInset): create an InsetCommandParam of type "index"
9729 and use it to 'do the right thing'.
9731 * text2.C (getStringToIndex): ensure that cursor position is always
9732 reset to the reset_cursor position.
9734 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9736 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9739 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9743 * lyxfunc.C: Output messages with identical spelling, punctuation,
9746 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9748 * MenuBackend.C (expandFormats): List only viewable export formats
9751 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9754 * lyxfunc.C (getStatus): Make sure that formats other than
9755 "fax" can also be disabled
9757 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9759 * text3.C (dispatch): put the lfuns that insert insets in 3
9760 groups, and call doInsertInset with appropriate arguments.
9761 (doInsertInset): new function, that creates an inset and inserts
9762 it according to some boolean parameters.
9764 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9766 * buffer.C (readFile): remember to pass on 'par' when calling
9767 readFile recursively.
9769 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9771 * MenuBackend.C (expandFormats): add "..." to import formats.
9773 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9775 * paragraph.C (asString): Remove XForms RTL hacks.
9777 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9778 * buffer.C: fix typo
9780 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9782 * Makefile.am (LIBS): delete var
9783 (lyx_LDADD): add @LIBS@ here instead.
9785 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9787 * Clarify the meaning of "wheel mouse jump"
9789 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9791 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9794 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9796 * importer.C (Loaders): do not preallocate 3 elements in the
9797 vector, since one ends up with 6 elements otherwise
9799 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9801 * DepTable.C (write): write the file name as last element of the
9802 .dep file (because it may contain spaces)
9803 (read): read info in the right order
9805 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9807 * paragraph_pimpl.C (simpleTeXBlanks):
9808 (simpleTeXSpecialChars):
9809 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9811 * tabular.C (latex): add some missing case statements. Reindent.
9813 * MenuBackend.C (expandToc): remove unused variable.
9815 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9824 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9827 2003-01-05 John Levon <levon@movementarian.org>
9830 * BufferView.C: add getEncoding()
9833 * kbsequence.C: do not store last keypress
9836 * lyxfunc.C: store last keypress here instead. Pass encoding
9839 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9841 * lyx_main.C (init): remove annoying error message when following
9842 symbolic links (bug #780)
9844 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9846 * text.C (insertChar):
9847 * lyxrc.C (getDescription): remove extra spaces
9849 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9851 * lyxrc.C (getDescription): remove extra spaces
9853 2002-12-20 John Levon <levon@movementarian.org>
9855 * text3.C: hack fix for page up/down across tall rows
9857 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9859 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9862 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9864 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9865 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9866 thesaurus is not compiled in
9868 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9870 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9872 2002-12-16 Angus Leeming <leeming@lyx.org>
9875 * lyx_main.C (init): remove override_x_deadkeys stuff.
9877 2002-12-12 John Levon <levon@movementarian.org>
9879 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9880 insert. Only remove shift modifier under strict
9883 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9885 * MenuBackend.C (expandToc): fix crash.
9887 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9889 * MenuBackend.C (expandToc): gettext on float names.
9891 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9893 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9894 implement bool empty() [bug 490]
9896 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9898 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9900 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9902 * several files: ws changes
9904 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9906 * text2.C (setCounter): clean up a bit, use boost.format.
9907 (updateCounters): initialize par upon declaration.
9909 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9910 if the layout exists. We do not just store the layout any more.
9911 (SwitchLayoutsBetweenClasses): use boost.format
9913 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9915 * converter.C (convert): if from and to files are the same, use a
9916 temporary files as intermediary
9918 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9921 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9923 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9925 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9927 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9929 * tabular.C (asciiPrintCell): use string(size, char) instead of
9932 * sgml.C (openTag): fix order of arguments to string constructor
9935 * lyxfunc.C (dispatch): use boost.format
9937 * lots of files: change "c" -> 'c'
9939 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9941 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9943 2002-11-25 Angus Leeming <leeming@lyx.org>
9945 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9947 * lyx_main.C (init): compile fix.
9949 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9951 * lyx_cb.C (start): boost.formatify
9952 do not include <iostream>
9954 * lengthcommon.C: ws only
9956 * boost-inst.C,BoostFormat.h: add more explict instantations
9958 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9960 * lots of files: handle USE_BOOST_FORMAT
9962 2002-11-21 John Levon <levon@movementarian.org>
9964 * pspell.C: fix compile
9966 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9968 * lyxfunc.C (dispatch): use boost::format
9972 * lyxfont.C (stateText): use boost::format
9974 * lyx_main.C (LyX): use boost::format
9976 (queryUserLyXDir): ditto
9979 (typedef boost::function): use the recommened syntax.
9981 * importer.C (Import): use boost::format
9983 * debug.C (showLevel): use boost::format
9985 * converter.C (view): use boost::format
9990 * bufferview_funcs.C (currentState): use boost::format
9992 * bufferlist.C (emergencyWrite): use boost::format
9994 * buffer.C (readLyXformat2): use boost::format
9995 (parseSingleLyXformat2Token): ditto
9997 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9999 * LaTeX.C (run): use boost::format
10001 * Chktex.C (scanLogFile): use boost::format
10003 * BufferView_pimpl.C (savePosition): use boost::format
10004 (restorePosition): ditto
10005 (MenuInsertLyXFile): ditto
10007 * BoostFormat.h: help file for explicit instation.
10009 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10011 * tabular.C (latex): Support for block alignment in fixed width
10014 2002-11-17 John Levon <levon@movementarian.org>
10016 * BufferView_pimpl.C:
10018 * lyxfunc.C: split filedialog into open/save
10020 2002-11-08 Juergen Vigna <jug@sad.it>
10022 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10023 by my last patch (hopefully).
10025 2002-11-08 John Levon <levon@movementarian.org>
10034 * toc.C: ParConstIterator, and use it (from Lars)
10036 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10038 * lyxtextclass.[Ch]: revise and add doxygen comments
10040 2002-11-07 John Levon <levon@movementarian.org>
10042 * text.C: fix progress value for spellchecker
10044 * toc.C: fix navigate menu for insetwrap inside minipage
10046 * paragraph_funcs.C: added FIXME for suspect code
10048 2002-11-07 John Levon <levon@movementarian.org>
10050 * BufferView_pimpl.C: fix redrawing of insets
10053 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10055 * text2.C (updateCounters): fix bug 668
10057 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10059 * text3.C (dispatch): Do not make the buffer dirty when moving the
10062 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10064 * vc-backend.C: STRCONV
10065 (scanMaster): ditto
10067 * text2.C (setCounter): STRCONV
10069 * paragraph.C (asString): STRCONV
10071 * lyxlength.C (asString): STRCONV
10072 (asLatexString): ditto
10074 * lyxgluelength.C (asString): STRCONV
10075 (asLatexString): ditto
10077 * lyxfunc.C (dispatch): STRCONV
10080 * lyxfont.C (stateText): STRCONV
10082 * importer.C (Import): STRCONV
10084 * counters.C (labelItem): STRCONV
10085 (numberLabel): ditto
10086 (numberLabel): remove unused ostringstream o
10091 * bufferview_funcs.C (currentState): STRCONV
10093 * buffer.C (readFile): STRCONV
10094 (asciiParagraph): ditto
10095 (makeLaTeXFile): ditto
10097 * Spacing.C (writeEnvirBegin): STRCONV
10099 * LaTeXFeatures.C (getLanguages): STRCONV
10100 (getPackages): ditto
10102 (getBabelOptions): ditto
10103 (getTClassPreamble): ditto
10104 (getLyXSGMLEntities): ditto
10105 (getIncludedFiles): ditto
10109 (scanAuxFile): ditto
10112 * LString.h: add the STRCONV macros
10114 * BufferView_pimpl.C (savePosition): STRCONV
10115 (restorePosition): ditto
10116 (MenuInsertLyXFile): ditto
10118 * vc-backend.C (scanMaster): change from submatch[...] to
10121 * funcrequest.C: include config.h
10123 * factory.C: include config.h
10125 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10127 * box.C: include config.h
10129 * LaTeX.C (scanAuxFile): change from submatch[...] to
10133 2002-10-25 Angus Leeming <leeming@lyx.org>
10135 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10137 * ispell.[Ch] (setError): new method.
10138 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10139 Use setError() insetead of goto END.
10141 * lyx_cb.C (AutoSave): move out child process into new class
10144 2002-10-30 John Levon <levon@movementarian.org>
10146 * text3.C: make start appendix undoable
10148 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10150 * lyxlength.C (inPixels): Fix returned value.
10152 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10155 2002-10-24 Angus Leeming <leeming@lyx.org>
10157 * lyxgluelength.h: no need to forward declare BufferParams
10158 or BufferView, so don't.
10160 2002-10-21 John Levon <levon@movementarian.org>
10162 * BufferView.C: menuUndo ->undo, redo
10164 * BufferView.h: document, remove dead, make some methods private
10166 * paragraph_funcs.h:
10167 * paragraph_funcs.C:
10168 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10173 * sgml.C: move sgml open/close tag into sgml.C
10175 * bufferview_funcs.h: unused prototype
10178 * lyxfunc.C: remove unused
10181 * text.C: remove unused
10183 2002-10-21 John Levon <levon@movementarian.org>
10187 * BufferView_pimpl.h:
10188 * BufferView_pimpl.C: fix mouse wheel handling based on
10189 patch from Darren Freeman
10191 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10193 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10195 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10197 * lyxlength.C (inPixels): Fix hanfling of negative length.
10198 Fix LyXLength::MU case.
10200 2002-10-16 John Levon <levon@movementarian.org>
10202 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10204 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10206 * converter.C (view): add support for $$i (file name) and $$p
10207 (file path) for the viewer command. If $$i is not specified, then
10208 it is appended to the command (for compatibility with old syntax)
10210 2002-10-14 Juergen Vigna <jug@sad.it>
10212 * undo_funcs.C (textHandleUndo): alter the order in which the
10213 new undopar is added to the LyXText, as we have to set first
10214 the right prev/next and then add it as otherwise the rebuild of
10215 LyXText is not correct. Also reset the cursor to the right paragraph,
10216 with this IMO we could remove the hack in "redoParagraphs()".
10218 2002-10-09 Angus Leeming <leeming@lyx.org>
10220 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10221 to turn off an optimisation if a new inset is to be inserted.
10223 2002-10-11 André Pönitz <poenitz@gmx.net>
10225 * lyxtext.h: make some functions public to allow access
10226 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10228 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10230 * text3.C (dispatch): when changing layout, avoid an infinite loop
10233 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10235 * lyxrc.C (read): treat a viewer or converter command of "none" as
10238 * MenuBackend.C (expandFormats): for an update, also allow the
10239 formats that are not viewable
10241 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10242 script if it is newer than the lyxrc.defaults in user directory
10244 2002-10-07 André Pönitz <poenitz@gmx.net>
10246 * text.C: Vitaly Lipatov's small i18n fix
10248 2002-09-25 Angus Leeming <leeming@lyx.org>
10250 * ispell.h: doxygen fix.
10252 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10254 * buffer.h (readFile): Add a new argument to the method, to allow
10255 reading of old-format templates.
10257 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10259 * toc.C (getTocList): Get TOC from InsetWrap.
10261 2002-09-16 John Levon <levon@movementarian.org>
10263 * lyxfunc.C: check tabular for cut/copy too
10265 2002-09-12 John Levon <levon@movementarian.org>
10267 * LyXAction.C: tidy
10270 * factory.C: add header
10272 * paragraph_funcs.h:
10273 * paragraph_funcs.C: cleanup
10275 2002-09-11 John Levon <levon@movementarian.org>
10277 * PrinterParams.h: odd/even default to true
10279 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10281 * PrinterParams.h: update printer parameters for new xforms dialog
10283 2002-09-11 Angus Leeming <leeming@lyx.org>
10285 * lyxserver.C (read_ready): re-write to make it more transparent
10286 and to make it work in coherent fashion under Tru64 Unix.
10288 2002-09-11 André Pönitz <poenitz@gmx.net>
10292 * text3.C: implement LFUN_WORDSEL
10294 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10296 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10297 make floatlist_ a boost::shared_ptr<FloatList>
10299 * lyxtextclass.C: include FloatList.h
10300 (LyXTextClass): initialize floatlist_
10301 (TextClassTags): add TC_NOFLOAT
10302 (Read): match "nofloat" to TC_NOFLOAT and use it.
10303 (readFloat): modify call to floatlist_
10307 * FloatList.[Ch] (FloatList): remove commented out float
10309 (erase): new function
10311 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10313 * MenuBackend.C (expandToc): fix crash when there is no document
10316 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10318 * many files: Add insetwrap.
10320 2002-09-09 John Levon <levon@movementarian.org>
10322 * text2.C: remove confusing and awkward depth wraparound
10324 2002-09-09 John Levon <levon@movementarian.org>
10326 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10329 * buffer.C: remove getIncludeonlyList()
10332 * lyxfunc.C: remove headers
10334 2002-09-09 Juergen Vigna <jug@sad.it>
10336 * text.C (getColumnNearX): fix form Michael this is most
10337 probably a cut&paste bug.
10339 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10341 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10343 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10344 references, ws changes.
10346 * text2.C (init): update counters after init
10347 (insertParagraph): no need to set counter on idividual paragraphs.
10348 (setCounter): access the counters object in the textclass object
10349 on in the buffer object.
10350 (updateCounters): ditto
10352 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10353 shared_ptr<Counters> to avoid loading counters.h in all
10355 (LyXTextClass): initialize ctrs_
10356 (TextClassTags): add TC_COUNTER, and ...
10357 (Read): use it here.
10358 (CounterTags): new tags
10359 (readCounter): new function
10360 (counters): new funtion
10361 (defaultLayoutName): return a const reference
10363 * counters.C (Counters): remove contructor
10364 (newCounter): remove a couple of unneeded statements.
10365 (newCounter): simplify a bit.
10366 (numberLabel): some small formatting changes.
10368 * buffer.[Ch]: remove all traces of counters, move the Counters
10369 object to the LyXTextClass.
10371 2002-09-06 Alain Castera <castera@in2p3.fr>
10373 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10374 package to set the horizontal alignment on fixed width columns.
10377 * lyx_sty.h: added tabularnewline macro def.
10379 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10381 2002-09-06 John Levon <levon@movementarian.org>
10383 * LyXAction.C: tooltips for sub/superscript
10385 * MenuBackend.C: a bit more verbose
10387 * lyxfunc.C: tiny clean
10389 * undo_funcs.C: document undo_frozen
10391 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10393 * counters.C (Counters): add missing algorithm counter.
10395 * text2.C (setCounter): lookup the counter with layouts latexname
10396 instead of by section number.
10397 (setCounter): use a hackish way to lookup the correct enum
10399 a float name->type change
10400 reset enum couners with counter name directly instead of depth value.
10402 * counters.C (Counters): remove the push_backs, change to use the
10403 float type not the float name.
10404 (labelItem): remove unused string, float name->type change
10406 * counters.h: don't include vector, loose the enums and sects vectors
10408 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10410 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10411 (Read): add float->TC_FLOAT to textclassTags
10412 (Read): and handle it in the switch
10413 (readFloat): new function
10415 * FloatList.C (FloatList): comment out the hardcoded float
10418 * lyxlayout.h: ws change.
10420 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10422 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10424 2002-09-03 Angus Leeming <leeming@lyx.org>
10426 * BufferView_pimpl.h: qualified name is not allowed in member
10427 declaration: WorkArea & Pimpl::workarea() const;
10429 * factory.C: added using std::endl directive.
10431 * text3.C: added using std::find and std::vector directives.
10433 2002-08-29 André Pönitz <poenitz@gmx.net>
10436 * text2.C: remove unused member number_of_rows
10439 * BufferView2.C: remove file, move contents to...
10440 * BufferView.C: ... here
10442 * BufferView_pimpl.C:
10443 * factory.C: move more inset creation to factory
10445 * vspace.C: avoid direct usage of LyXText, ws changes
10448 don't provide direct access to WorkArea, use two simple
10449 acessors haveSelction() and workHeight() instead
10452 2002-08-29 John Levon <levon@movementarian.org>
10454 * BufferView_pimpl.C (dispatch): do not continue when
10457 2002-08-28 André Pönitz <poenitz@gmx.net>
10459 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10462 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10464 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10466 * buffer.C: increment LYX_FORMAT to 221
10468 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10469 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10471 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10473 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10475 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10477 * factory.C (createInset): use LyXTextClass::floats
10479 * MenuBackend.C (expandFloatListInsert):
10480 (expandFloatInsert):
10483 * text2.C (setCounter):
10485 * LaTeXFeatures.C (useFloat):
10486 (getFloatDefinitions):
10488 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10490 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10491 floatlist_, with accessor floats().
10493 * FloatList.h: remove global FloatList
10495 2002-08-26 André Pönitz <poenitz@gmx.net>
10497 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10501 * BufferView_pimpl.C:
10502 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10504 2002-08-25 John Levon <levon@movementarian.org>
10506 * LyXAction.C: fix margin note description
10508 2002-08-24 John Levon <levon@movementarian.org>
10512 * bufferview_funcs.C:
10514 * undo_funcs.C: cleanups
10516 * lyxfunc.C: disable CUT/COPY when no selection
10518 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10520 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10521 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10523 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10524 Add backward compatibility to "mono", "gray" and "no".
10526 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10528 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10529 (and file_format >= 200).
10531 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10533 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10535 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10537 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10539 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10541 * BufferView_pimpl.C:
10548 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10549 inset and code to make it work with the paragraph code. The inset
10550 can be anywhere in the paragraph, but will only do the expected
10551 thing in LaTeX if the layout file contains the parameter line
10553 (or more generally, a nonzero value) for that layout.
10555 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10557 * paragraph.h: remove the declaration of undefined counters class
10560 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10562 * text2.C (setCounter): fixed enumeration mis-count as reported by
10563 Dr. Richard Hawkins.
10565 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10567 * paragraph_funcs.h: remove some unneeded includes
10569 * text.C (backspace): pasteParagraph now in global scipe
10571 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10572 (pasteSelection): ditto
10574 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10575 * paragraph_funcs.C (pasteParagraph): ... here
10577 2002-08-20 André Pönitz <poenitz@gmx.net>
10579 * commandtags.h: new LFUNs for swapping/copying table row/colums
10582 * lyxfunc.C: support for new lfuns
10584 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10587 * buffer.[Ch]: remove NO_COMPABILITY stuff
10589 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10591 * boost.C (throw_exception): new file, with helper function for
10592 boost compiled without exceptions.
10597 * ParameterStruct.h:
10598 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10600 * bufferlist.C (emergencyWriteAll): use boost bind
10602 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10604 * text.C: include paragraph_funcs.h
10605 (breakParagraph): breakParagraph is now in global scope
10607 * paragraph_funcs.[Ch]: new files
10609 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10612 * buffer.C: include paragraph_funcs.h
10613 (insertStringAsLines): breakParagraph is now in global scope
10615 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10618 * CutAndPaste.C: include paragraph_funcs.h
10619 (cutSelection): breakParagraphConservative is now in global scope
10620 (pasteSelection): ditto
10622 * buffer.h: declare oprator== and operator!= for
10623 Buffer::inset_iterator
10625 * bufferlist.C (emergencyWrite): don't use fmt(...)
10627 * text3.C: add using std::endl
10629 * BufferView.C (moveCursorUpdate): remove default arg
10631 2002-08-20 André Pönitz <poenitz@gmx.net>
10633 * buffer.[Ch]: move inline functions to .C
10636 * BufferView_pimpl.C:
10638 * buffer.[Ch]: use improved inset_iterator
10641 * paragraph.[Ch]: write one paragraph at a time
10643 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10645 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10646 style if style is not specified.
10648 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10650 * text2.C (setCounter): when searching for right label for a
10651 caption, make sure to recurse to parent insets (so that a caption
10652 in a minipage in a figure float works) (bug #568)
10654 2002-08-20 André Pönitz <poenitz@gmx.net>
10656 * text3.C: new file for LyXText::dispatch() and helpers
10658 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10660 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10662 2002-08-19 André Pönitz <poenitz@gmx.net>
10665 * text.C: new LyXText::dispatch()
10667 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10669 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10671 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10673 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10676 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10678 * Makefile.am: use $(variables) instead of @substitutions@
10680 2002-08-15 André Pönitz <poenitz@gmx.net>
10683 * BufferView_pimpl.C: streamlining mathed <-> outer world
10687 * LyXAction.C: remove unused LFUN_MATH
10689 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10691 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10693 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10695 * paragraph.C (Paragraph): reformat a bit
10696 (cutIntoMinibuffer): use builtin InsetList function instad of
10700 * buffer.C: include boost/bind.hpp, add using std::for_each
10701 (writeFileAscii): use ParagraphList iterators
10702 (validate): use for_each for validate traversal of paragraphs
10703 (getBibkeyList): use ParagraphList iterators
10704 (resizeInsets): use for_each to resizeInsetsLyXText for all
10706 (getParFromID): use ParagraphList iterators
10708 * BufferView2.C (lockInset): use paragraph list and iterators
10710 2002-08-14 John Levon <levon@movementarian.org>
10712 * lyxserver.C: remove spurious xforms include
10714 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10716 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10718 2002-08-13 André Pönitz <poenitz@gmx.net>
10721 * lyxfunc.C: further cleaning
10723 2002-08-13 André Pönitz <poenitz@gmx.net>
10725 * funcrequest.h: new constructor
10727 * funcrequest.C: move stuff here from .h
10730 * BufferView_pimpl.C:
10733 * lyxfunc.C: subsequent changes
10735 * lyxfunc.h: new view() member function
10737 * lyxfunc.C: subsequent changes
10739 2002-08-13 Angus Leeming <leeming@lyx.org>
10742 * BufferView_pimpl.C:
10750 changes due to the changed LyXView interface that now returns references
10751 to member variables not pointers.
10753 2002-08-13 Angus Leeming <leeming@lyx.org>
10755 * WordLangTuple (word, lang_code): return references to strings,
10760 * lyxtext.h: forward-declare WordLangTuple.
10765 * text.C: #include "WordLangTuple.h".
10768 * text.C: (selectNextWordToSpellcheck): constify return type.
10770 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10776 * paragraph_pimpl.h:
10779 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10780 suggested by Angus.
10781 Made updateCounter always count from start of buffer, and removed
10782 second argument (par).
10783 Reverted floats number display to '#'. Perhaps I'll try again when the
10784 code base is sanitized a bit.
10786 2002-08-12 Angus Leeming <leeming@lyx.org>
10788 * buffer.[Ch] (getLabelList): constify.
10790 2002-08-07 André Pönitz <poenitz@gmx.net>
10792 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10794 * funcrequest.h: extension to keep mouse (x,y) position
10796 2002-08-12 Juergen Vigna <jug@sad.it>
10798 * BufferView2.C (insertErrors): forbid undo when inserting error
10801 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10803 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10805 * ParagraphList.[Ch]: new files
10807 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10809 * BufferView2.C (lockInset): ParagraphList changes
10812 * bufferlist.C: ditto
10816 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10818 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10819 unused class variable counter_,
10821 * paragraph.[Ch] (getFirstCounter): delete unused function
10823 * counters.C: include LAssert.h
10824 (reset): add a new function with no arg, change other version to
10825 not have def. arg and to not allow empty arg.
10827 * text2.C (setCounter): remove empty arg from call to Counters::reset
10829 2002-08-11 John Levon <levon@movementarian.org>
10831 * Makefile.am: add WordLangTuple.h
10833 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10835 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10836 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10838 * insets/insettext.C: InsetList changes
10840 * graphics/GraphicsSupport.C (operator()): InsetList changes
10842 * toc.C (getTocList): InsetList changes
10844 * paragraph_pimpl.[Ch]: InsetList changes
10846 * paragraph.[Ch]: InsetList changes
10848 * buffer.C (inset_iterator): InsetList changes
10849 (setParagraph): ditto
10850 * buffer.h (inset_iterator): ditto
10851 * iterators.C (operator++): ditto
10852 * iterators.h: ditto
10854 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10856 * InsetList.[Ch]: new files, most InsetList handling moved out of
10859 * BufferView2.C (removeAutoInsets): InsetList changes
10861 (ChangeInsets): ditto
10863 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10865 * paragraph_pimpl.h (empty): new function
10867 * paragraph.[Ch] (empty): new function
10869 * other files: use the new Paragraph::empty function
10871 2002-08-09 John Levon <levon@movementarian.org>
10873 * lyxtext.h: remove unused refresh_height
10875 2002-08-09 John Levon <levon@movementarian.org>
10882 * paragraph.C: move sgml char escaping out of paragraph
10885 * paragraph.C: remove id setter
10889 * paragraph_pimpl.C: remove dead tex_code_break_column
10891 * bufferview_funcs.C: small cleanup
10893 * lyxfunc.C: remove dead proto
10895 * lyxtext.h: make some stuff private. Remove some dead stuff.
10897 * lyxgluelength.C: make as[LyX]String() readable
10899 2002-08-08 John Levon <levon@movementarian.org>
10904 * ToolbarDefaults.C:
10907 * toc.C: lyxaction cleanup
10909 2002-08-08 John Levon <levon@movementarian.org>
10911 * BufferView2.C: small cleanup
10914 * lyxfind.C: move unnecessary header into the .C
10916 2002-08-08 John Levon <levon@movementarian.org>
10918 * funcrequest.h: just tedious nonsense
10921 * lyx_main.C: cleanups
10924 * vspace.C: remove dead header lyx_main.h
10926 2002-08-07 Angus Leeming <leeming@lyx.org>
10929 * paragraph_pimpl.h:
10930 Forward declare class Counters in paragraph.h by moving the ctrs member
10931 variable into Paragraph::Pimpl.
10932 (counters): new method, returning a reference to pimpl_->ctrs.
10934 * text2.C: ensuing changes.
10936 2002-08-07 John Levon <levon@movementarian.org>
10938 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10940 * BufferView_pimpl.C: announce X selection on double/triple
10943 * lyx_main.C: use correct bool in batch dispatch
10945 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10947 2002-08-07 André Pönitz <poenitz@gmx.net>
10949 * funcrequest.h: new class to wrap a kb_action and its argument
10952 * BufferView_pimpl[Ch]:
10956 * lyxrc.C: subsequent changes
10959 2002-08-07 John Levon <levon@movementarian.org>
10961 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10962 document options change.
10964 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10969 * makefile.am: move counters functionality over from
10970 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10972 2002-08-06 John Levon <levon@movementarian.org>
10974 * WordLangTuple.h: new file for word + language code tuple
10985 * BufferView2.C: use WordLangTuple
10988 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10990 2002-08-06 John Levon <levon@movementarian.org>
10992 * lyx_main.C: fix cmdline batch handling
10994 2002-08-06 André Pönitz <poenitz@gmx.net>
10996 * lyxrc.C: set default for show_banner to true
10998 2002-08-06 John Levon <levon@movementarian.org>
11000 * pspell.C: fix a crash, and allow new aspell to work
11002 2002-08-06 John Levon <levon@movementarian.org>
11005 * kbmap.C: small cleanup
11008 * vspace.C: add const
11010 2002-08-05 John Levon <levon@movementarian.org>
11012 * LyXAction.C: back to tabular-insert
11014 2002-08-04 John Levon <levon@movementarian.org>
11017 * BufferView.C: cosmetic change
11019 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11029 * BufferView2.C: purge all "Lyx" not "LyX" strings
11032 * lyxcursor.C: attempt to add some documentation
11037 * ToolbarDefaults.C:
11038 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11039 merge with LFUN_TABULAR_INSERT
11046 * pspell.C: split up i/pspell implementations into separate
11047 files, many cleanups
11049 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11051 * text2.C: some cleanup
11053 * lyxfunc.C: don't check for isp_command == "none" any more, it
11054 didn't make any sense
11056 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11061 * makefile.am: move counters functionality over
11062 from text2.C/paragraph.[Ch] to counters.[Ch], and
11064 2002-08-02 John Levon <levon@movementarian.org>
11066 * buffer.C: s/lyxconvert/lyx2lyx/
11068 2002-08-02 Angus Leeming <leeming@lyx.org>
11070 * lyxlex.C: revert John's change as it breaks reading of the user
11073 2002-08-02 Angus Leeming <leeming@lyx.org>
11075 * importer.C (Import):
11076 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11077 changes due to LyXView::view() now returning a boost::shared_ptr.
11079 2002-08-02 John Levon <levon@movementarian.org>
11081 * lyxlex.C: small cleanup
11083 2002-08-02 John Levon <levon@movementarian.org>
11085 * text2.C (status): small cleanup, no logic change
11087 2002-08-01 John Levon <levon@movementarian.org>
11090 * buffer.C (writeFile): don't output alerts, caller
11094 * lyx_cb.C: from above
11096 * lyxfunc.C: allow to open non-existent files
11098 2002-07-31 John Levon <levon@movementarian.org>
11100 * lyxserver.C: don't let incidental errors get
11103 2002-07-30 John Levon <levon@movementarian.org>
11105 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11107 2002-07-30 John Levon <levon@movementarian.org>
11110 * lyxserver.C: remove I/O callback too
11112 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11114 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11117 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11119 * many files: strip,frontStrip -> trim,ltrim,rtrim
11121 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11123 * PrinterParams.h: remove extern containsOnly, and include
11124 support/lstrings.h instead.
11126 * LaTeX.C (scanAuxFile): modify because of strip changes
11128 * buffer.C (makeLaTeXFile): ditto
11129 * bufferparams.C (writeFile): ditt
11130 * lyxfont.C (stateText): ditto
11131 * lyxserver.C (read_ready): ditto
11132 * vc-backend.C (scanMaster): ditto
11134 * BufferView_pimpl.h: ws changes
11136 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11138 2002-07-26 André Pönitz <poenitz@gmx.net>
11140 * kb_sequence.C: remove unnedred usings
11142 2002-07-26 Juergen Vigna <jug@sad.it>
11144 * lyxfind.C (LyXReplace): we have to check better if the returned
11145 text is not of theLockingInset()->getLockingInset().
11147 2002-07-25 Juergen Vigna <jug@sad.it>
11149 * lyxfind.C (LyXReplace): don't replace if we don't get the
11152 * undo_funcs.C (createUndo): remove debugging code.
11154 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11156 * buffer.C (parseSingleLyXformat2Token): Use default placement
11157 when reading old floats.
11159 * FloatList.C (FloatList): Change the default placement of figure
11160 and tables to "tbp".
11162 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11164 * MenuBackend.C: using std::max
11166 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11168 * MenuBackend.C (expandToc):
11169 (expandToc2): code moved from xforms menu frontend. It is now
11170 generic and TOCs are transparent to menu frontends.
11172 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11174 * toc.C (getTocList): protect against buf=0
11176 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11177 Menu as first parameter. Now, this calls itself recursively to
11178 expand a whole tree (this will be useful for TOC handling)
11179 (expandFloatInsert): remove 'wide' version of floats
11181 * MenuBackend.h (submenuname): returns the name of the submenu.
11182 (submenu): returns the submenu itself, provided it has been
11183 created by MenuBackend::expand
11185 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11187 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11188 insets which have noFontChange == true. (bug #172)
11190 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11192 * BufferView_pimpl.C: add connection objects and use them...
11195 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11197 * MenuBackend.C (expandLastfiles):
11200 (expandFloatListInsert):
11201 (expandFloatInsert):
11202 (expand): split expand in parts
11204 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11206 * lyx_gui.C: use lyx_gui::exit()
11208 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11210 * LyXAction.C: show the failing pseudo action
11212 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11214 * buffer.C (readFile): Run the lyxconvert script in order to read
11217 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11221 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11223 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11227 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11229 2002-07-22 Herbert Voss <voss@lyx.org>
11232 * lyxlength.[Ch]: add support for the vertical lengths
11234 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11236 * toc.[Ch]: std:: fixes
11238 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11240 * lyxrc.C: do not include lyx_main.h
11242 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11248 * BufferView2.C: include "lyxlex.h"
11251 * bufferparams.h: do not #include "lyxlex.h"
11253 * lyxtextclasslist.C (Add): remove method
11254 (classlist): renamed to classlist_
11256 * paragraph_pimpl.C:
11260 * bufferview_funcs.C:
11265 * toc.C (getTocList): use BufferParams::getLyXTextClass
11267 * toc.C (getTocList): use InsetFloat::addToToc
11269 * toc.[Ch]: new files, containing helper functions to handle table
11272 * lyxfunc.C (dispatch): no need to remove spaces around command
11274 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11275 first command of the sequence; it is not very clever, but I do not
11276 have a better idea, actually
11278 * LyXAction.C (LookupFunc): make sure to remove space at the
11279 beginning and end of the command
11281 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11283 * MenuBackend.C (getMenubar): new method: return the menubar of
11285 (read): treat differently reading of menu and menubar (in
11286 particular, the menubar has no name now)
11287 (Menu::menubar): remove
11289 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11292 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11294 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11295 a bibitem inset in a RTL paragraph.
11297 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11299 * paragraph_pimpl.C: constify
11301 * BufferView_pimpl.C:
11303 * lyxfunc.C: fix dispatch in a nicer way
11305 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11307 * lyxfunc.C (dispatch):
11308 * BufferView_pimpl.C:
11309 * BufferView_pimpl.h:
11311 * BufferView.h: rename Dispatch() to dispatch()
11313 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11315 * lyxlayout.C (Read): honor DependsOn tag
11317 * lyxlayout.[Ch] (depends_on): new method
11319 * version.C.in: update lyx_docversion
11321 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11323 * paragraph.C (validate): remove from here...
11324 * paragraph_pimpl.C (validate): ... and move here
11325 (isTextAt): make it const
11327 * buffer.C (getLists): ws cleanup
11329 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11331 * language.C (read): Use iso8859-1 encoding in latex_lang
11332 (this prevents LyX from crashing when using iso10646-1 encoding).
11334 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11336 * text2.C (toggleInset): if cursor is inside an inset, close the
11337 inset and leave cursor _after_ it
11339 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11341 * lyxfunc.C: move minibuffer completion handling out of here
11343 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11345 * BufferView_pimpl.C:
11346 * LaTeX.C: fix dispatch calls
11348 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11350 * text.C (drawChars): Fix Arabic text rendering.
11352 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11356 * lyxfunc.C: remove message-push/pop
11360 * lyxfunc.C: rationalise some code by removing verboseDispatch
11361 in favour of a bool argument to dispatch()
11363 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11365 * lyx_main.C (init): make sure to read symlinks as absolute paths
11367 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11370 * lyxfunc.C: no need for commandshortcut to be a member
11372 2002-07-15 André Pönitz <poenitz@gmx.net>
11374 * converter.C: add support for $$s (scripts from lib/scripts dir)
11375 * lyx_main.C: white space
11377 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11381 * lyxrc.C: remove second exit confirmation
11383 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11388 * BufferView_pimpl.h:
11389 * BufferView_pimpl.C:
11390 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11392 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11394 * MenuBackend.C (expand): add numeric shortcuts to document menu
11396 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11398 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11400 * lyxfont.C (setLyXFamily):
11407 * buffer.C (asciiParagraph): use ascii_lowercase
11409 2002-07-15 Mike Fabian <mfabian@suse.de>
11411 * lyxlex_pimpl.C (search_kw):
11412 * lyxlex.C (getLongString):
11413 * converter.h (operator<):
11414 * converter.C (operator<):
11415 * buffer.C (parseSingleLyXformat2Token):
11417 * ToolbarDefaults.C (read):
11418 * MenuBackend.C (checkShortcuts):
11420 * LColor.C (getFromGUIName):
11421 (getFromLyXName): use the compare_ascii_no_case instead of
11422 compare_no_case, because in turkish, 'i' is not the lowercase
11423 version of 'I', and thus turkish locale breaks parsing of tags.
11425 2002-07-16 Angus Leeming <leeming@lyx.org>
11427 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11428 now takes a Buffer const & argument.
11430 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11432 * BufferView.C (resize): check there's a buffer to resize
11434 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11436 * lyxfunc.C: remove dead code
11439 * lyxserver.C: use lyx_guii::set_read_callback
11441 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11443 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11444 an inset in a RTL paragraph.
11446 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11448 * lyxfunc.C: repaint after a font size update
11450 2002-07-15 André Pönitz <poenitz@gmx.net>
11452 * lyxlength.C: inBP should be able to return negative values
11454 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11456 * lyxfunc.C: use lyx_gui::update_fonts()
11458 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11460 * lyxfunc.C: use lyx_gui::update_color()
11462 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11468 * lyxrc.C: remove file->new asks for name option, and let
11469 buffer-new take an argument
11471 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11473 * BufferView_pimpl.C: remove unneeded extra repaint()
11475 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11477 * LyXAction.C: allow command-sequence with NoBuffer
11479 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11481 2002-07-10 Angus Leeming <leeming@lyx.org>
11483 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11485 2002-07-09 Angus Leeming <leeming@lyx.org>
11487 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11489 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11491 * lengthcommon.h: whitespace
11493 * lyxfunc.C: update scrollbar after goto paragraph
11495 * lyxtext.h: factor out page break drawing, and fix it so
11496 page break/added space paints as selected nicely
11498 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11500 * BufferView_pimpl.C: add FIXMEs, clean up a little
11502 2002-07-09 André Pönitz <poenitz@gmx.net>
11504 * lyxfont.[Ch]: support for wasy symbols
11506 2002-07-08 André Pönitz <poenitz@gmx.net>
11508 * BufferView_pimpl.C: apply John's patch for #93.
11510 2002-07-05 Angus Leeming <leeming@lyx.org>
11512 * BufferView_pimpl.C (buffer): generate previews if desired.
11514 * LColor.h: add "preview" to the color enum.
11516 * LColor.C (LColor): add a corresponding entry to the items array.
11518 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11521 2002-07-05 Angus Leeming <leeming@lyx.org>
11523 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11524 The body of the code is now in the method that is passed an ostream &
11525 rather than a file name.
11526 Pass an additional only_preamble parameter, useful for the forthcoming
11529 2002-07-03 André Pönitz <poenitz@gmx.net>
11531 * lyxfunc.C: simplify getStatus() a bit for math stuff
11533 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11535 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11537 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11539 * text.C (changeRegionCase): do not change case of all the
11540 document when region ends at paragraph end (bug #461)
11542 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11544 * paragraph.C (startTeXParParams):
11545 (endTeXParParams): add \protect when necessary
11547 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11549 * BufferView_pimpl.C (workAreaExpose): remove warning
11551 2002-06-27 Angus Leeming <leeming@lyx.org>
11553 * Makefile.am: add lyxlayout_ptr_fwd.h.
11555 2002-06-26 André Pönitz <poenitz@gmx.net>
11557 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11559 2002-06-25 Angus Leeming <leeming@lyx.org>
11561 * lyxfunc.C (dispatch): Comment out the call to
11562 grfx::GCache::changeDisplay. The method no longer exists now that the
11563 pixmap generation part of the graphics loader has been moved into
11566 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11568 * text2.C: layout as layout
11570 * text.C: layout as layout
11572 * tabular.C (OldFormatRead): layout as layout
11574 * paragraph_pimpl.C (TeXDeeper): layout as layout
11575 (realizeFont): layout as layout
11577 * paragraph.C (writeFile): layout as layout
11578 (validate): layout as layout
11579 (getFont): layout as layout
11580 (getLabelFont): layout as layout
11581 (getLayoutFont): layout as layout
11582 (breakParagraph): layout as layout
11583 (stripLeadingSpaces): layout as layout
11584 (getEndLabel): layout as layout
11585 (getMaxDepthAfter): layout as layout
11586 (applyLayout): layout as layout
11587 (TeXOnePar): layout as layout
11588 (simpleTeXOnePar): layout as layout
11589 (TeXEnvironment): layout as layout
11590 (layout): layout as layout
11591 (layout): layout as layout
11593 * lyxtextclass.C (compare_name): new functor to work with
11594 shared_ptr, layout as layout
11595 (Read): layout as layout
11596 (hasLayout): layout as layout
11597 (operator): layout as layout
11598 (delete_layout): layout as layout
11599 (defaultLayout): layout as layout
11601 * lyxlayout_ptr_fwd.h: new file
11603 * lyxlayout.C (Read): layout as layout
11605 * lyx_cb.C (MenuInsertLabel): layout as layout
11607 * bufferlist.C (newFile): layout as layout
11609 * buffer.C (readLyXformat2): layout as layout
11610 (parseSingleLyXformat2Token): layout as layout
11611 (insertStringAsLines): layout as layout
11612 (asciiParagraph): layout as layout
11613 (latexParagraphs): layout as layout
11614 (makeLinuxDocFile): layout as layout
11615 (simpleLinuxDocOnePar): layout as layout
11616 (makeDocBookFile): layout as layout
11617 (simpleDocBookOnePar): layout as layout
11618 (getLists): layout as layout
11620 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11622 * CutAndPaste.C (cutSelection): layout as layout
11623 (pasteSelection): layout as layout
11624 (SwitchLayoutsBetweenClasses): layout as layout
11626 * BufferView_pimpl.C (Dispatch): layout as layout
11627 (smartQuote): layout as layout
11629 * BufferView2.C (unlockInset): layout as layout
11631 2002-06-24 André Pönitz <poenitz@gmx.net>
11633 * lyxfunc.C: fix #487
11635 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11639 * lyxfunc.C: remove display_shortcuts, show_banner
11641 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11643 * Buffer_pimpl.C: oops, update on resize
11645 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11652 * BufferView.C: use repaint()
11654 * BufferView_pimpl.h:
11655 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11656 as it's a clearer description. Remove superfluous
11659 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11661 * text.C: fix bug 488. Not ideal, but getting
11662 getWord() to work properly for the insets that
11663 matter is more difficult ...
11665 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11667 * BufferView_pimpl.C:
11670 * lyxfunc.C: remove the six million index lyxfuncs to just
11671 one, and DTRT (bug 458)
11673 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11677 * BufferView_pimpl.h:
11678 * BufferView_pimpl.C: clean up resize() stuff,
11679 and unnecessary updateScreen()s
11681 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11685 * BufferView_pimpl.h:
11686 * BufferView_pimpl.C:
11689 * minibuffer.C: remove focus management of workarea,
11690 not needed. Use screen's greyOut()
11692 2002-06-17 Herbert Voss <voss@lyx.org>
11694 * converter.C: (convert) do not post a message, when converting
11695 fails, let the calling function decide what to do in this case
11697 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11699 * lyxfunc.C: tidy up a little
11701 2002-06-16 <alstrup@diku.dk>
11703 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11704 Got rid of FORMS_H_LOCATION include. Now we are
11707 2002-06-15 LyX Development team <lyx@rilke>
11709 * buffer.[Ch] (sgmlOpenTag):
11710 (sgmlCloseTag): Added support for avoiding pernicious mixed
11711 content. Return number of lines written.
11713 (makeLinuxDocFile):
11714 (makeDocBookFile): Fixed calls to sgml*Tag.
11715 Simple white space clean.
11717 (simpleDocBookOnePar): Simple white space clean.
11719 * tabular.[Ch] (docBook): Renamed to docbook and got another
11720 argument to related with the pernicious mixed content.
11722 (docbookRow): Fixed calls for docbook inset method.
11724 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11726 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11727 so it's X11 independent.
11731 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11733 2002-06-15 Lyx Development team <lyx@electronia>
11735 * intl.h: Renamed getTrans to getTransManager.
11737 2002-06-14 Angus Leeming <leeming@lyx.org>
11739 * Makefile.am: nuke forgotten stl_string_fwd.h.
11741 2002-06-12 Angus Leeming <leeming@lyx.org>
11743 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11745 2002-06-13 Angus Leeming <leeming@lyx.org>
11748 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11750 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11752 * kbmap.C (getiso): add support for cyrillic and greek
11754 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11758 * BufferView_pimpl.h:
11759 * BufferView_pimpl.C: move bogus scrolling logic
11762 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11765 * BufferView_pimpl.C: view->resize() change
11767 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11769 * BufferView_pimpl.C: topCursorVisible
11772 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11776 * lyx_gui.C: move to frontends/
11780 * lyx_main.C: changes from above
11782 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11789 * lyx_main.C: minor tidy
11791 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11793 * BufferView_pimpl.h:
11794 * BufferView_pimpl.C:
11796 * BufferView.C: make painter() const,
11799 * BufferView2.C: use screen() accessor
11802 * lyx_main.C: some minor cleanup
11804 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11806 * BufferView_pimpl.h:
11807 * BufferView_pimpl.C: remove enter/leaveView,
11810 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11815 * BufferView_pimpl.h:
11816 * BufferView_pimpl.C: only construct screen once,
11819 * lyxrc.C: remove pointless comment
11821 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11824 * BufferView.C: remove active() and belowMouse()
11826 * BufferView_pimpl.h:
11827 * BufferView_pimpl.C: use workarea() not workarea_,
11828 and make it use a scoped_ptr instead
11830 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11832 * lyx_gui.C: add debug message on BadWindow
11834 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11836 * sp_spell.C: fdopen is not part of the C++ standard.
11838 * paragraph.C (InsetIterator): use >= instead of ==
11840 2002-06-07 Angus Leeming <leeming@lyx.org>
11842 Fixes needed to compile with Compaq cxx 6.5.
11843 * BufferView_pimpl.C:
11850 * lyxtextclasslist.C:
11855 all c-library variables have been moved into namespace std. Wrap
11856 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11861 Add a using std::abs declaration.
11863 * kbmap.h (modifier_pair):
11864 * paragraph.h (InsetTable, InsetList):
11865 * lyxfont.h (FontBits):
11866 type definition made public.
11868 * bufferlist.C (emergencyWriteAll): the compiler complains that
11869 there is more than one possible lyx::class_fun template to choose from.
11870 I re-named the void specialisation as lyx::void_class_fun.
11872 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11874 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11875 the compiler is is unable to find tostr in write_attribute.
11877 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11879 * buffer.C (sgmlError): hide #warning
11881 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11883 * xtl/*: get rid of xtl, which is not in use anyway
11885 * LyXAction.C (init):
11886 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11887 were unimplemented xtl experimentation
11889 2002-06-04 André Pönitz <poenitz@gmx.net>
11891 * lyxfunc.C: disable array operation on simple formulae
11893 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11895 * converter.C: constify a bit
11897 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11899 * lyx_gui.C: check xforms version correctly
11901 2002-04-30 Herbert Voss <voss@lyx.org>
11903 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11906 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11908 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11909 attempt to register it with a VCS)
11911 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11913 * lyx_main.C (init): honor variables LYX_DIR_13x and
11916 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11920 * lyx_main.C: fix a crash on bad command line,
11921 and give a useful exit status on error
11923 * lyxfunc.C (doImport): allow -i lyx to work
11925 2002-03-30 André Pönitz <poenitz@gmx.net>
11927 * lyxfunc.C: mathed font changes
11929 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11944 * trans_mgr.h: srcdocs, and some minor cleanups
11946 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11948 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11949 call getFont all the time)
11951 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11953 * switch from SigC signals to boost::signals
11955 2002-05-29 André Pönitz <poenitz@gmx.net>
11957 * paragraph_pimpl.C (getChar): don't call size() too often...
11959 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11961 * paragraph_pimpl.C (insertChar): do not try to update tables when
11962 appending (pos == size())
11964 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11965 in order to reduce drastically the number of comparisons needed to
11966 parse a large document
11968 2002-05-29 André Pönitz <poenitz@gmx.net>
11974 * textclasslist.[Ch]:
11975 * sp_ispell.h: whitespace change
11977 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11979 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11980 lyxaction directly now.
11982 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11986 * lyxvc.C: remove unused headers
11988 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11995 * undo_funcs.C: some cleanups. Use shared_ptr
11996 and a template for the undo stacks.
11998 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12000 * BufferView_pimpl.h:
12001 * BufferView_pimpl.C:
12008 * text2.C: use key_state/mouse_state
12010 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12012 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12015 * chset.C: change include order
12016 (loadFile): use boost regex and get rid of LRegex and LSubstring
12018 * Makefile.am (BOOST_LIBS): new variable
12019 (lyx_LDADD): use it
12021 * LaTeX.C: change include order.
12022 (scanAuxFile): use boost regex and get rid of LRegex and
12026 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12031 * FontInfo.C: moved to frontends/xforms/
12034 * FontLoader.C: moved into frontends for GUIIzation
12039 * lyxfunc.C: changes from above
12041 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12043 * LColor.C: remove spurious X include
12045 * BufferView_pimpl.C:
12050 * text2.C: move font metrics to frontends/
12052 2002-05-24 Juergen Vigna <jug@sad.it>
12054 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12055 setting the undo_cursor.
12057 * ParagraphParameters.h: include local includes first.
12059 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12061 * BufferView_pimpl.C:
12062 * BufferView_pimpl.h:
12066 * screen.C: move WorkArea into frontends/
12072 * BufferView2.C: move LyXScreen into frontends/
12076 * lyx_gui.C: move lyxlookup into frontends/xforms/
12078 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12081 * BufferView_pimpl.C:
12091 * bufferview_funcs.C:
12104 * vc-backend.C: move LyX/XFormsView into frontends/
12106 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12118 * text2.C: move Painter to frontends/
12120 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12122 * buffer.C: comment out some some code that depend upon lyx_format
12125 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12126 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12128 * buffer.h (NO_COMPABILITY): turn off compability
12130 * ColorHandler.C: include scoped_array.hpp
12132 * font.C: Use more specific smart_ptr header.
12135 * ShareContainer.h: ditto
12136 * lyx_main.h: ditto
12138 * FontInfo.h: ditto
12139 * BufferView_pimpl.h: ditto
12140 * ColorHandler.h: ditto
12142 * kbmap.C (defkey): change call to shared_ptr::reset
12144 2002-05-21 Juergen Vigna <jug@sad.it>
12146 * buffer.C (insertErtContents): fix to insert ert asis if it is
12147 non empty. Skip it completely if it contains only whitespaces.
12149 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12151 * BufferView_pimpl.C:
12152 * BufferView2.C: clear selection on paste (bug 393)
12154 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12156 * DepTable.C: include ctime
12158 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12160 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12162 2002-05-14 Juergen Vigna <jug@sad.it>
12164 * text.C (breakParagraph): fixed function to honor the keepempty
12165 layout in the right maner and also to permit the right breaking
12166 algorithm on empty or non empyt keepempty paragraphs.
12168 * paragraph.C (breakParagraph): we have to check also if the par
12169 is really empty (!size()) for isempty otherwise we do the wrong
12172 2002-05-10 Juergen Vigna <jug@sad.it>
12174 * buffer.[Ch] : The following are only changes to the ert
12175 compatibility read reading old LaTeX layout and font stuff and
12176 convert it to ERTInsets.
12178 * buffer.h: added isErtInset().
12180 * buffer.C (struct ErtComp): add a fromlayout bool to check
12181 if we're inside a LaTeX layout.
12182 (isErtInset): new helper function.
12183 (insertErtContents): look for other ert insets before this one
12184 and insert the contents there, so that we don't have subsequent
12185 ERT insets with nothing between them. This way we create only one
12186 inset with multiple paragraphs. Also check if we don't insert only
12187 spaces ' ' as they are ignored anyway afterwards in the .tex file
12188 so if we have only spaces we will ignore this latex part in the
12190 (parseSingleLyXformat2Token \\layout): better compatibility when
12191 reading layout-latex stuff.
12192 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12194 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12195 stuff after reading the inset only get the information back from
12198 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12200 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12202 * LaTeXFeatures.C (getBabelOptions): New method.
12204 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12206 * BufferView_pimpl.C (Dispatch): work around missing argument for
12209 2002-05-08 Juergen Vigna <jug@sad.it>
12211 * text.C (leftMargin): handle paragraph leftindent.
12213 * paragraph.C (writeFile): write the new \\leftindent tag.
12214 (validate): handle leftindent code.
12215 (TeXEnvironment): handle paragraphleftindent code again.
12217 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12219 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12220 for paragrap_extra indent code and new token \\leftindent.
12221 (latexParagraphs): handle the leftindent as environment.
12223 * ParameterStruct.h: added leftindent support.
12225 * ParagraphParameters.C (leftIndent): added support functions for
12226 the paragraph left indent.
12228 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12231 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12233 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12236 * text.C (computeBidiTables): No bidi in insetERT.
12238 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12241 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12243 * version.C.in: pre 5
12245 2002-05-02 José Matos <jamatos@fep.up.pt>
12246 * buffer.C (makeDocBookFile): white space changes, add newline to
12248 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12250 * tabular.C (docBook): fix typo.
12252 2002-05-03 Juergen Vigna <jug@sad.it>
12254 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12255 change in LyXText as we can not be sure it was not freed.
12256 (drawOneRow): remove unused code.
12258 * text.C (drawInset): redo the calculation of the need_break_row as
12259 it could have a row which was already freed.
12260 (draw): look at the return value of drawInset and return false if
12261 it also returned false.
12262 (paintRowText): look at the return value of draw and return false if
12263 it also returned false.
12265 * lyxtext.h: added bool return type to drawInset() and draw() so that
12266 if we have a change in the row so that the rowbreak has to be redone
12267 we abort drawing as it will be called again.
12269 2002-05-02 Juergen Vigna <jug@sad.it>
12271 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12272 a change in the maintext also if we're inside an inset.
12273 (Dispatch): set the cursor again after a break line and after the
12274 screen has been updated as it could be we're in a different row.
12276 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12277 to set the cursor behind the pargraph with > size().
12278 (setCursor): check also for the same paragraph when checking where
12279 to put the cursor if we have a NFR inset.
12281 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12282 parts of layout read further up as it still was in the wrong
12285 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12287 * screen.C (drawFromTo): change sine fullRebreak always return
12290 * buffer.C (parseSingleLyXformat2Token): reindent some
12292 * BufferView_pimpl.C (update): change since fullRebreak always
12294 (Dispatch): git rid of the last hardcoded "Standard"s.
12296 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12298 * text2.[Ch] (fullRebreak): make it return void now that we always
12301 2002-04-30 Juergen Vigna <jug@sad.it>
12303 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12304 ert compatibility check for "latex" layout.
12306 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12308 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12309 minipages: use col% instead of p%, and also use the current font.
12310 (makeLaTeXFile): Fix use babel condition.
12311 (parseSingleLyXformat2Token): Correct font when reading old floats.
12313 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12315 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12316 inserting list of floats.
12318 2002-04-25 Herbert Voss <voss@lyx.org>
12320 * MenuBackend.C (expand): don't add the graphics extensions to the
12323 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12325 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12326 non-existing layout, do not complain if it was the default layout
12327 of the original class (bug #342)
12329 2002-04-24 Juergen Vigna <jug@sad.it>
12331 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12332 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12334 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12336 * buffer.C (getBibkeyList): If using \bibliography, return the
12337 option field with the reference itself. Enables us to provide natbib
12338 support when using \bibliography.
12340 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12342 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12344 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12345 natbib is provided by the LaTeX class.
12347 2002-04-23 Juergen Vigna <jug@sad.it>
12349 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12352 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12354 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12356 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12358 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12359 ensuremath around textordmasculine, textordfeminine and
12362 2002-04-19 Juergen Vigna <jug@sad.it>
12364 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12365 reinitializing the buffer otherwise row-dimensions may be wrong.
12366 (update): reset also the selection cursors if they do exits otherwise
12367 their x/y positions may be wrong.
12369 * text2.C (cursorDown): don't enter the inset if we came from a row
12370 above and are one row over the inset.
12372 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12373 really leaving an inset.
12375 2002-04-18 Juergen Vigna <jug@sad.it>
12377 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12378 of the selected paragraph does not have the selected layout also if
12381 * text2.C (setLayout): fixed bug which did not change last selected
12384 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12385 changed the read and substituted \\end_float with \\end_inset!
12387 * BufferView_pimpl.C (cursorPrevious):
12388 (cursorNext): fixed to make it work with rows heigher than the work
12389 area without moving the cursor only the draw of the row.
12390 (workAreaMotionNotify): fix jumping over high rows.
12392 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12394 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12397 2002-04-16 Juergen Vigna <jug@sad.it>
12399 * text2.C (setCursor): set also the irow().
12400 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12402 (cursorDown): support for locking an inset if the x_fix value goes
12403 inside it. That way I can transverse insets too with cursor up/down.
12405 * lyxrow.h: added irow helper function same as other (i) functions.
12407 * BufferView_pimpl.C (cursorPrevious):
12408 (cursorNext): fixed for insets!
12410 2002-04-15 Juergen Vigna <jug@sad.it>
12412 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12413 position otherwise it is wrong in some cases.
12415 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12416 inside the inset before the call.
12418 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12420 * buffer.[Ch] (getBibkeyList): make it const.
12422 2002-04-12 Juergen Vigna <jug@sad.it>
12424 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12426 * text2.C (getCursorX): new helper function
12427 (setCursor): compute also ix_
12428 (setCursorFromCoordinates): set also ix.
12430 * lyxcursor.h: added ix_ and helper functions.
12432 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12434 * buffer.C (insertStringAsLines): dont break paragraph if the this
12435 paragraph is inside an inset which does not permit it!
12437 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12438 also with no chars on this paragraph.
12439 (paintRowText): only paint stuff if it's inside the workarea!
12441 * paragraph.C (breakParagraph): honor keepempty flag and break the
12442 paragraph always below not above.
12444 * BufferView2.C (unlockInset): update the paragraph layout on inset
12445 unlock as we changed paragraph in such a case.
12447 * lyxfind.C (LyXFind): clear the former selection if not found!
12449 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12450 again called in insertChar().
12452 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12453 an inset which uses the whole row!
12454 (rightMargin): ditto.
12455 (insertChar): force a rebreak if we inserted an inset!
12457 2002-03-28 Herbert Voss <voss@lyx.org>
12459 * lyxlength.[Ch]: add inBP() to get the right PS-point
12460 units (BigPoint). With inPixels we have rounding errors
12462 2002-04-11 Juergen Vigna <jug@sad.it>
12464 * text2.C (setCursorFromCoordinates): set iy to the right value.
12465 (setCursor): add check if row->previous exists!
12467 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12468 an old float_type as this was the case in the old code!
12470 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12472 * BufferView2.C (showLockedInsetCursor): use iy
12473 (fitLockedInsetCursor): ditto
12475 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12476 locked insets as there we have the right value now.
12478 * lyxcursor.C: added iy_ variable and iy functions to set to the
12479 baseline of cursor-y of the locked inset.
12481 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12482 (setCursor): fixed for insets which need a full row.
12484 * text.C (rowLastPrintable): don't ignore the last space when before
12485 an inset which needs a full row.
12486 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12487 as last character of a row when before a inset which needs a full row.
12489 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12491 * version.C.in: update date
12493 * text2.C (fullRebreak): try to always return true and see what
12496 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12498 * MenuBackend.C (expand): use Floating::listName
12500 * FloatList.C (FloatList): add listName argument to the built-in
12503 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12504 text associated with the float.
12506 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12508 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12510 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12512 * ShareContainer.h: add a couple of missing typenames.
12514 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12516 * lyxrc.C (getDescription): use _() correctly rather than N_().
12518 2002-03-28 Herbert Voss <voss@lyx.org>
12520 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12521 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12523 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12525 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12526 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12528 2002-03-29 Juergen Vigna <jug@sad.it>
12530 * lyxfunc.C (dispatch): add a missing fitCursor call.
12532 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12533 it was scrolled by a cursor move, so return the bool status.
12535 * BufferView.C (fitCursor): return the bool flag also to the outside
12536 world as this is needed.
12538 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12540 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12541 call the edit() as it is not needed (and wrong) IMO.
12542 (workAreaButtonPress): set the screen_first variable before evt.
12543 unlock the inset as this may change screen_first and then we have
12544 a wrong y position for the click!
12546 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12548 * MenuBackend.C (expand): another translation that I missed
12550 2002-03-28 Juergen Vigna <jug@sad.it>
12552 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12554 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12556 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12558 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12560 * MenuBackend.C (expand): fix export/view/update when there is no
12563 2002-03-27 Herbert Voss <voss@lyx.org>
12565 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12568 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12570 * bufferview_funcs.C (currentState): only show paragraph number
12571 for is DEVEL_VERSION is set.
12573 * lyxfunc.C (dispatch): put warning in INFO channel
12575 * MenuBackend.C (expand): translate the name of floats
12577 * FloatList.C (FloatList): mark the float names for translation
12579 * converter.C (convert): use LibScriptSearch
12581 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12583 * MenuBackend.C (defaults): fix default menu (we might as well get
12586 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12588 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12591 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12593 * lyxvc.C: reorder includes.
12595 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12597 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12600 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12602 * CutAndPaste.C: change layouts earlier on paste
12603 to avoid crashing when calling getFont()
12605 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12607 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12610 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12612 * WorkArea.C: remove 'Pending' debug message.
12614 * most files: ws cleanup
12616 * buffer.[Ch]: ws changes
12618 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12620 2002-03-21 Juergen Vigna <jug@sad.it>
12622 * tabular.C (SetMultiColumn): collapse also the contents of the
12623 cells and set the last border right. Added a Buffer const * param.
12625 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12627 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12630 2002-03-19 Juergen Vigna <jug@sad.it>
12632 * text2.C (clearSelection): reset also xsel_cache.
12634 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12635 where it needs to be called (John tells us to do so too :)
12636 (selectionLost): reset sel_cache.
12638 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12640 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12642 * text2.C (setCursorIntern): put debuging code in INSETS channel
12644 2002-03-19 André Pönitz <poenitz@gmx.net>
12646 * lyxfunc.C: tiny whitespace change
12648 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12650 * ToolbarDefaults.C (init):
12651 * LyXAction.C (init):
12653 * BufferView_pimpl.C (Dispatch):
12654 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12656 2002-03-19 Allan Rae <rae@lyx.org>
12658 * exporter.C (Export): removeAutoInsets before doing anything else.
12659 While I've just introduced a dependency on BufferView this really is
12660 the best place to clean the buffer otherwise you need to cleanup in
12661 a dozen places before calling export or cleanup in a dozen functions
12664 * converter.C (runLaTeX):
12665 (scanLog): Better handling of removeAutoInsets and screen updates.
12667 * lyxfunc.C (dispatch): small whitespace changes
12669 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12671 * WorkArea.C (C_WorkAreaEvent): return a value.
12672 (event_cb): return 1 if we handled the event, 0 otherwise.
12674 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12676 2002-03-18 Juergen Vigna <jug@sad.it>
12678 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12679 (GetAdditionalWidth): ditto.
12680 (RightLine): ditto.
12683 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12684 inset if we're there actually (probably not used right now but this
12685 is the direction to go for unifying code).
12686 (paste): disable code to clear the selection.
12688 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12689 inside an InsetText and move the check further up as it is in the
12692 * text2.C (pasteSelection): set a selection over the pasted text.
12694 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12696 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12697 and libgraphics to build on Cygwin.
12699 2002-03-15 Juergen Vigna <jug@sad.it>
12701 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12702 inserting an Inset into the paragraph. I know this is not the best
12703 fix but we already use current_view in CutAndPaste so we will remove
12704 all of it's using at the same time.
12706 * buffer.C (sgmlError): deactivated function till it is rewritten in
12707 the right mode, now it can create problems.
12709 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12710 before accessing it.
12712 2002-03-14 Juergen Vigna <jug@sad.it>
12714 * undo_funcs.C (textHandleUndo): do the right thing when updating
12715 the inset after the undo/redo.
12717 * text2.C (setCursor): just some testcode for #44 not ready yet.
12719 * undo_funcs.C (textHandleUndo): set the next() and previous()
12720 pointers of the paragraph to 0 before deleting otherwise we have
12721 problems with the Paragraph::[destructor].
12723 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12724 on a paragraph insertion.
12726 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12728 * buffer.C (asciiParagraph): use += operator for char append to
12731 * paragraph.C (getFontSettings): compare >= not just >
12732 (highestFontInRange): ditto
12735 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * paragraph.C: change several algorithm to be more appripriate for
12738 the problem domain. This is lookip in FontList and in the InsetList.
12740 2002-03-13 André Pönitz <poenitz@gmx.net>
12743 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12745 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12750 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12752 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12754 * Painter.C (display): anon helper function, adjust code for this
12756 (pixmap): remove function.
12758 * Painter.h: remove private display variable.
12760 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12762 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12764 * WorkArea.[Ch]: remove figinset_canvas cruft.
12766 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12768 * lyxtextclass.C (operator): add one item cache optimization.
12770 * bufferlist.h: doxy changes
12772 * bufferlist.C: ws changes
12774 * DepTable.[Ch] (ext_exist): place const in the right spot.
12776 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12778 (workAreaExpose): call resizeInsets when the with BufferView changes.
12779 (Dispatch): adjust for protectedBlank removal
12780 (specialChar): call updateInset if the insert went ok.
12782 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12783 specialChar instead.
12785 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12787 * BufferView.h: doxy change
12789 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12791 * lyxtextclass.C (operator[]): remove non-const version
12792 (defaultLayout): remove non-const version
12794 2002-03-12 Juergen Vigna <jug@sad.it>
12796 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12797 did resize the LyXText too.
12799 * buffer.C (readLyXformat2): set layout information on newly allocated
12802 * tabular.C (OldFormatRead): set layout information on the paragraph.
12804 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12806 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12808 2002-03-11 Juergen Vigna <jug@sad.it>
12810 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12812 (resizeCurrentBuffer): force also the insets to resize themselfes.
12813 (moveCursorUpdate): fixed up for InsetText.
12815 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12818 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12819 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12820 value of Dialogs::tooltipsEnabled().
12821 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12823 2002-03-08 Juergen Vigna <jug@sad.it>
12825 * BufferView_pimpl.C (updateInset): update inset inside inset also
12826 if it isn't inside theLockingInset().
12828 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12830 * buffer.C (asciiParagraph): redo some of the word and line length
12832 (getLists): look for Caption instead of caption.
12834 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12836 * buffer.C (Buffer): initialize niceFile to true
12838 (makeLinuxDocFile):
12839 (makeDocBookFile): make sure niceFile is true on exit
12841 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12843 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12845 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12847 * LyXSendto.C: remove.
12848 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12849 * lyx_gui.C: remove now-redundant comment.
12850 * ColorHandler.h: remove forward declaration of class WorkArea.
12851 * lyxfunc.C: remove #include "WorkArea.h".
12853 2002-03-07 Juergen Vigna <jug@sad.it>
12855 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12856 got moved away with the DEPM and also set the inset_owner always
12857 right which before could have been omitted.
12859 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12861 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12862 wanted layout is not found.
12864 2002-03-07 Juergen Vigna <jug@sad.it>
12866 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12868 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12870 * paragraph.C (breakParagraph): use default layout not layout of
12872 (Paragraph): clear ParagraphParameters.
12874 2002-03-06 Juergen Vigna <jug@sad.it>
12876 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12877 otherwise it would not be a valid lenght. Fixed a special case in
12878 the minipage compatibility read where we end the document with a
12881 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12882 was set as it could be 0 for InsetTexts first entry.
12884 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * paragraph.C (writeFile): if layout is empty write out
12887 defaultLayoutName().
12889 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12890 file without named layout we set layout to defaultLayoutName().
12892 2002-03-06 Juergen Vigna <jug@sad.it>
12894 * CutAndPaste.C (copySelection): set layout for new paragraph.
12896 * text.C (prepareToPrint): leave ERT inset left aligned
12897 (leftMargin): don't indent paragraphs inside ERT insets
12899 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12901 * paragraph.C (breakParagraph): dont call clear do the work manually
12903 * paragraph.[Ch] (clear): remove function
12905 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12907 * paragraph.C (Paragraph): dont call clear, the work has already
12910 * lyxtextclass.C (operator): assert if n is empty
12912 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12913 work manually instead.
12915 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12917 * BufferView_pimpl.C: protect selectionLost against text == 0
12919 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12921 * text.C (breakParagraph): fix a setting layout to '0' problem.
12923 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12925 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12926 final location of file, for the included files, and graphics.
12928 2002-03-05 Juergen Vigna <jug@sad.it>
12930 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12932 2002-03-04 Juergen Vigna <jug@sad.it>
12934 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12936 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12937 last column of multicolumn cells.
12938 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12940 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12942 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12943 file if it doesn't go to a temporary file.
12945 * buffer.C (sgmlOpenTag):
12946 (sgmlCloseTag): remove extra newline insertion.
12948 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12950 * text.C (getRowNearY): comment out debug msg
12952 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12954 * text2.C: first -> first_y
12956 * text.C (getRowNearY): add some attemts at a possible
12957 optimization, not working.
12959 * tabular.[Ch]: add BufferParams to several function so that newly
12960 created paragraph can be initialized to he default layotu for the
12963 * tabular-old.C (ReadOld): add buf->params to call of Init
12965 * screen.C: rename text->first to text->first_y
12967 * paragraph.C (breakParagraph): always set layout in the broken
12970 * lyxtextclass.C (Read): remove lowercase
12973 (delete_layout): ditto
12975 * lyxtext.h: rename first -> first_y
12977 * lyxlayout.C (Read): remove lowercase
12980 (obsoleted_by): ditto
12982 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12984 * buffer.C (insertErtContents): add params are to InsetERT
12985 (parseSingleLyXformat2Token): add code to check if a paragraphs
12986 layout really exist.
12987 (parseSingleLyXformat2Token): add params to several inset
12989 (asciiParagraph): remove lowercase, do the layout comparisons with
12992 * BufferView_pimpl.C (cursorNext): first -> first_y
12993 (resizeCurrentBuffer): first -> first_y
12994 (updateScrollbar): first -> first_y
12995 (scrollCB): first -> first_y
12996 (workAreaMotionNotify): first -> first_y
12997 (workAreaButtonPress): first -> first_y
12998 (checkInsetHit): first -> first_y
12999 (cursorPrevious): first -> first_y
13000 (cursorNext): first -> first_y
13001 (Dispatch): add buffer_->params to severl inset contructors
13003 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13005 * lyxlayout.C (Read): remove some debug info that I forgot.
13007 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13008 clean up the code slightly.
13009 (makeLinuxDocFile): ditto
13010 (makeDocBookFile): ditto
13012 * text2.C: layout as string
13014 * text.C: layout as string
13016 * paragraph_pimpl.C: layout as string
13018 * paragraph.[Ch]: layout as string
13020 * lyxtextclasslist.[Ch]: layout as string
13022 * lyxtextclass.[Ch]: layout as string
13024 * lyxtext.h: layout as string
13026 * lyxlayout.[Ch]: layout as string
13028 * lyx_cb.C: layout as string
13030 * bufferview_funcs.C: layout as string
13032 * bufferparams.C: layout as string
13034 * buffer.C: layout as string
13036 * LyXView.[Ch]: layout as string
13038 * LaTeXFeatures.[Ch]: layout as string
13040 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13042 * BufferView_pimpl.C: change current_layout to string, remove
13047 (workAreaButtonRelease): layout as string
13049 * BufferView2.C (unlockInset): adjust
13051 * vspace.C (asLatexCommand): use an explict temp variable.
13053 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13055 * Makefile.am: use FRONTEND_*
13057 2002-03-01 Juergen Vigna <jug@sad.it>
13059 * tabular.C (SetWidthOfMulticolCell): changed to something better
13060 I hope but still work in progress.
13061 (recalculateMulticolumnsOfColumn): renamed function from
13062 recalculateMulticolCells as it is more appropriate now.
13063 (SetWidthOfCell): calculate multicols better.
13065 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13067 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13069 * lyxfunc.C (processKeySym): print sequence also if it is
13070 `deleted' (complete)
13072 * kbsequence.C (print): print sequence even if it is deleted
13073 (complete would be a better word, actually).
13075 * lyxfunc.C (dispatch): print complete options after a prefix key
13077 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13079 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13081 * text2.C (setCharFont): eliminate setCharFont code duplication.
13083 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13085 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13086 LFUN_TABULAR_FEATURE (bug #177)
13088 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13090 * Makefile.am: remove figure.h
13092 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13094 * Bufferview_pimpl.C:
13106 * text2.C: remove #include "lyx_gui_misc.h".
13108 * LaTeX.C: added #include <cstdio>
13110 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13112 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13113 that the paragraph following this one can have.
13115 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13117 * vspace.C (asLatexCommand): fix bogus gcc warning
13119 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13121 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13123 * text2.C (setLayout): get rid of redundant code
13125 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13127 * text2.C (incDepth): make sure depth cannot be increased beyond
13130 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13132 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13133 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13135 * PainterBase.h (image):
13136 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13137 a LyXImage const *.
13139 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13143 * BufferView_pimpl.C:
13144 * BufferView_pimpl.h:
13164 * sp_spell.C: remove fig inset, and the crap house of
13165 cards that follows it
13167 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13172 * os2_errortable.h:
13173 * nt_defines.h: move .h into support/
13175 * vms_defines.h: remove
13177 * WorkArea.C: add space in debug output
13181 * buffer.C: add WITH_WARNINGS
13185 * bufferlist.C: s/retrive/retrieve/, add docs
13194 * chset.C: add docs
13196 * lyxgui.C: add ID to X error handler
13198 * lyxtestclass.c: fix typo
13200 2002-02-26 Juergen Vigna <jug@sad.it>
13202 * tabular_funcs.C (write_attribute): changed so that some default
13203 attributes are not written at all.
13204 (getTokenValue): set default values before trying to read the
13205 value so we have the return value always set as default if we don't
13206 find the token we search for.
13208 * tabular.C (Write): write bools as bools not as strings!
13210 2002-02-22 Juergen Vigna <jug@sad.it>
13212 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13213 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13215 * text.C (leftMargin): don't add an indent for paragraphs inside
13216 tabular cells (fix #208).
13218 2002-02-21 José Matos <jamatos@fep.up.pt>
13220 * tabular.C (docBook): fixed support for long tables.
13222 2002-02-20 Juergen Vigna <jug@sad.it>
13224 * text2.C (getFont): get the drawing font of the Inset if this
13225 paragraph is inside an inset (only important for InsetERT for now).
13227 * buffer.C (insertErtContents): use new lanugage params in ERT
13230 * CutAndPaste.C: commenting out seemingly uneeded code.
13232 2002-02-19 Allan Rae <rae@lyx.org>
13234 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13235 Iterators might be simple to use but they also get invalidated.
13236 (removeAutoInsets): renamed saved cursor tracking variables and added
13237 some comments to clarify what everything does.
13239 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13246 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13247 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13250 * vc-backend.h: remove #include "support/syscall.h"
13254 * converter.C: rearrange #includes in Lars' approved fashion.
13256 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13257 forward declare class Timeout in the header file.
13259 * XFormsView.C: changes due to the above.
13261 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13262 similar to LyXView.
13264 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13265 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13267 2002-02-18 José Matos <jamatos@fep.up.pt>
13269 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13272 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13274 * a lot of small ws changes
13275 * add a lot of using std::XXX
13276 * use std construcs some places where approp.
13277 * use some exisint stuff from lyxfunctional where approp.
13278 * Make file changes to use partial linking (lets test this now...)
13280 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13284 remove #include "support/syscontr.h" as it's redundant. Always has been.
13292 change Systemcalls::System to Systemcalls::Wait and
13293 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13294 No change of functionality, just reflects the stripped down Systemcalls
13297 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13299 * debug.[Ch]: add a GRAPHICS type to the enum.
13301 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13303 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13305 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13308 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13310 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13311 match the changes below.
13313 * text2.C (toggleInset): if there is not editable inset at cursor
13314 position, try to see if cursor is _inside_ a collapsable inset
13317 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13319 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13320 document menu has a nice checkbox
13322 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13324 * lyxlength.C (asLatexString): change PW to output as percent of
13327 * lengthcommon.C: change '%' to 't%'
13329 * lyxfunc.C (dispatch): a few comments from Martin
13331 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13335 * BufferView_pimpl.h:
13336 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13339 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13341 * vspace.C (inPixels): fix compiler warning
13343 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13345 * lyxfunc.C (getStatus): fix status message for disabled commands.
13347 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13349 * BufferView_pimpl.C: fix crash on close buffer
13350 during selection (#227)
13352 2002-01-27 Herbert Voss <voss@lyx.org>
13354 * buffer.C: link old Figure to new graphic inset
13356 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13358 * FontLoader.C (getFontinfo): Change the latex font names in order
13359 to match the names of type1inst.
13361 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13363 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13365 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13366 (extchanged): ditto
13368 (remove_files_with_extension): ditto
13369 (remove_file): ditto
13372 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13373 document is smaller than the work area height. Do not initialize
13374 static variables to 0.
13376 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13378 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13380 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13381 LFUN_LAYOUT_PARAGRAPHS.
13383 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13384 tabular. It is possible to provide a possible cell, which will
13385 typically be the actcell from the corresponding insettabular
13387 * lyxfunc.C (getStatus): small cleanup; disable
13388 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13391 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13393 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13395 * paragraph.C (startTeXParParams):
13396 (endTeXParParams): new methods. The LaTeX code to
13397 start/end paragraph formatting
13398 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13399 empty (fixes bug #200)
13401 * vspace.C (inPixels): adapt to the change below
13402 (inPixels): [later] more cleanups (remove unused variables)
13404 * lyxlength.C (inPixels): change to use a width and a height as
13407 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13409 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13410 Replaced with \paperwidth
13412 * DepTable.C (insert): add std:: qualifier
13414 2002-01-18 Allan Rae <rae@lyx.org>
13416 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13419 * text.C (drawInset): Turned out I didn't know enough about how
13420 rebreaking worked. This fixes most of the redraw problems. I see
13421 an occasional cursor trail when a line is broken now and the cursor
13422 placement can seem out by a few pixels also after a rebreak.
13424 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13426 * buffer.C (parseSingleLyXformat2Token): update because minipage
13427 width is now a LyXLength
13429 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13431 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13434 2002-01-17 Juergen Vigna <jug@sad.it>
13436 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13438 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13439 is set correctly and the inset is updated correctly.
13441 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13443 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13444 the beginning of the loop.
13446 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13448 * lyxrc.C: improve help for use_scalable_fonts
13450 2002-01-17 Allan Rae <rae@lyx.org>
13452 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13454 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13456 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13457 make sure to set their inset_owner to the right value (bug #171)
13459 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13462 * DepTable.C: Implement mtime checking to reduce time spent doing
13465 2002-01-16 Juergen Vigna <jug@sad.it>
13467 * tabular.C (GetAdditionalHeight): one of error fixed.
13469 * lyxrc.C (output): small fix in writing use_pspell.
13471 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13473 * sp_base.h: #include LString.h
13475 2002-01-16 Allan Rae <rae@lyx.org>
13477 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13478 Can someone check this please?
13480 * text.C (drawInset): It was possible that p.row would be removed by
13481 breakAgainOneRow upsetting a few other settings. There may be another
13482 small tweak possible by setting need_break_row = 0 when p.row has been
13483 removed but I don't know enough about the logic here.
13485 2002-01-15 Allan Rae <rae@lyx.org>
13487 * text.C (insertChar): removed conditional truism.
13489 * BufferView2.C (removeAutoInsets): More tweaks.
13490 cur_par_prev could be a stray pointer. Check for trailing empty line
13491 in case last line was cur_par and only had an error inset on it.
13493 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13495 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13498 * vc-backend.C (most methods):
13499 * exporter.C (Export):
13500 * converter.C (convert):
13502 * LyXSendto.C (SendtoApplyCB):
13503 * lyxfunc.C (dispatch):
13507 * lyx_cb.C (AutoSave):
13509 * BufferView_pimpl.C (MenuInsertLyXFile):
13510 * buffer.C (runChktex): use Buffer::filePath().
13512 * buffer.h: rename filename to filename_; rename filepath to
13513 filepath_ and make it private
13514 (filePath): new method
13516 * buffer.C (writeFile): use fileName()
13519 * lyx_main.C (init): fix starting of LyX when the binary is a
13520 link from so,ewhere else.
13522 * minibuffer.C: include <cctype> for isprint
13524 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13526 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13527 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13528 name clash with InsetCollapsable's width function.
13530 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * lastfiles.C: include <iterator>
13534 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13536 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13539 * buffer.C (makeLaTeXFile): ditto.
13540 Also make loop operation more transparent.
13542 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13544 * ToolbarDefaults.C: remove trailing comma closing namespace.
13546 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13548 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13551 * trans.C (Load): comment out unused variable, allowed.
13553 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13555 * minibuffer.[Ch] (append_char): new method to recieve input from the
13556 drop-down completion browser. If a key was pressed, then recieve this
13557 char and append it to the existing string.
13558 (peek_event): modify the positioning data passed to the completion
13559 browser so that it can be placed above the minibuffer rather than below.
13560 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13562 * LyXAction.C (init): alloe error-next for readonly documents.
13564 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13567 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13569 * bufferlist.C (readFile): create the buffer _after_ checking that
13572 * lyxfunc.C (verboseDispatch): fix handling of arguments
13574 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13576 * lyxrc.C: use string::erase() instead of initializing to "".
13579 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13581 * BufferView_pimpl.h:
13582 * BufferView_pimpl.C:
13585 * text2.C: tell X when we have made a selection for copying
13587 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13589 * BufferView_pimpl.C (MenuInsertLyXFile):
13590 * lyxfunc.C (menuNew):
13592 (doImport): add shortcuts to directory buttons
13594 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13597 * lyxfunc.C (setStatusMessage):
13598 (getStatusMessage): new methods
13599 (getStatus):use setStatusMessage instead of setErrorMessage
13600 (dispatch): when function is disabled, set error message here
13601 [instead of in getStatus previously]
13603 * BufferView_pimpl.C (workAreaButtonRelease): update
13604 toolbar/menubar here too.
13606 2002-01-13 Allan Rae <rae@lyx.org>
13608 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13609 Now seems indestructible. Remaining task is to audit all other
13610 code affected by deleteEmptyParagraphMechanism. One small quirk
13611 left is that an empty document with an error in the preamble can
13612 be made to report an error but no error box appears. I don't know
13614 (removeAutoInsets): Improved comments.
13616 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13619 * Thesaurus.C: update for Aiksaurus 0.14
13621 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13623 * text2.C (firstParagraph): removed member function, all uses
13624 replaces with ownerParagraph
13625 (redoParagraphs): here
13626 (updateInset): here
13627 (toggleAppendix): here
13628 * BufferView2.C (insertErrors): here
13629 (setCursorFromRow): here
13631 2002-01-13 Allan Rae <rae@lyx.org>
13633 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13634 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13635 There is still a way to segfault this although you may have to do this
13636 multiple times: Have an InsetERT with an unknown command in it.
13637 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13638 <down-arrow>, <Enter> again, View->DVI, BANG!
13640 * text2.C (setCursor):
13641 (deleteEmptyParagraphMechanism):
13642 * lyxtext.h (setCursor):
13643 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13644 Making use of the return value may help fix other bugs.
13646 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13648 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13650 * LyXView.C (updateMenubar): call MenuBar::update here
13651 (updateToolbar): but not here
13652 (showState): do not update toolbar/menubar
13654 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13655 should need to care about that.
13657 * lyxfunc.C (verboseDispatch): simplify a bit
13658 (getStatus): have a version which takes a pseudoaction, and
13659 another which requires a (kb_action,string).
13661 * LyXAction.C (retrieveActionArg): make it work also when action
13662 is not a pseudo-action.
13663 (getActionName): simplify a bit
13666 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13668 * lyxfunc.C (verboseDispatch): new families of methods with
13669 several ways to specify a command and a bool to indicate whether
13670 the command name and shortcut should be displayed in minibuffer
13671 (eventually, we could extend that to a finer bitmask like
13672 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13673 (dispatch): the pristine dispatch command which just, well,
13674 dispatchs! Note it still sets its result to minibuffer; I'm not
13677 * lyxfunc.h: remove setHintMessage
13679 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13681 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13683 * BufferView_pimpl.C (specialChar): delete new inset if we have
13684 not been able to insert it.
13686 * kbmap.C: revert to using int instead of kb_action, since all we
13687 are dealing with is pseudo-actions.
13689 * LyXAction.C (searchActionArg): change to return int instead of
13690 kb_action, since the result is a pseudoaction.
13692 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13694 * buffer.C (insertErtContents): Fix (partially) the font bug.
13696 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13698 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13699 as the other one is broken on my machine!
13701 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13704 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13706 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13708 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13709 reflect their actual use. Provide compatibility code for older lyxrc
13712 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13714 change names of popup font variables in line with the changes to lyxrc.C
13716 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13718 * buffer.C (asciiParagraph): avoid outputing a word twice after
13721 * lyxrc.C (getDescription): document that document_path and
13722 template_path can be empty.
13724 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13726 * LaTeXFeatures.C (getMacros):
13727 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13729 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13731 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13733 (getPackages): rename feature "floats" to "float". Use an array to
13734 iterate over 'simple' features (i.e. just a \usepackage). Add
13735 handling of "amsmath" (renamed from "amsstyle").
13737 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13739 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13742 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13744 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13745 FuncStaus::FuncStatus & FuncStaus::some_method().
13747 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13749 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13750 of the func_satus stuff. Edited and massaged in various ways by
13753 * lyxfunc.C (getStatus): use FuncStatus
13755 2002-01-08 Juergen Vigna <jug@sad.it>
13757 * text.C (nextBreakPoint): use function Inset::isChar().
13759 * paragraph.C (TeXOnePar): use function
13760 Inset::forceDefaultParagraphs.
13762 * buffer.C (latexParagraphs): use function
13763 Inset::forceDefaultParagraphs.
13765 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13767 * lyx_gui.C (init): set the style of the menu popups to
13768 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13770 2002-01-07 Juergen Vigna <jug@sad.it>
13772 * text.C (setHeightOfRow): small fix
13773 (prepareToPrint): don't look at alignment if we don't have the place
13776 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13778 * box.C: New file. Move the Box methods and functions out of box.h,
13779 following Lars' suggestion.
13781 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13783 * box.h: #include "support/LOstream.h", needed for inlined function.
13786 * lyxtextclasslist.C: added some using std declarations.
13788 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13790 * box.h: make signed dimensions to allow insets wider than
13791 the screen (bug #162)
13793 * BufferView_pimpl.C: add some insetHit debug
13795 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13797 * vc-backend.C: add FIXME
13799 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13801 * lyxfunc.C (getStatus): enable code for showing math font status
13804 2002-01-07 Juergen Vigna <jug@sad.it>
13806 * text.C (nextBreakPoint): removed debug output not needed anymore.
13808 2002-01-06 Juergen Vigna <jug@sad.it>
13810 * text.C (nextBreakPoint): fixed up this function we had this bug
13811 since ever but now hopefully we break row better.
13812 (insertChar): we have to check if an inset is the next char as it
13813 could now happen that a large inset is causing a break.
13815 2002-01-05 Juergen Vigna <jug@sad.it>
13817 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13818 if it doesn't like to be drawed.
13820 2002-01-04 Juergen Vigna <jug@sad.it>
13822 * BufferView2.C (lockInset): forgot to set a cursor.
13824 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13826 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13828 * FormMathsPanel.C:
13831 * form_maths_panel.C:
13832 * form_maths_panel.h:
13833 * form_maths_panel.fd: implemented sub- and super- buttons in math
13836 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13837 (or ^ space) to be used as in TeX (req'd by André).
13839 * lyxfunc.C: Allow ^ and _ again to be used both as
13840 super/subscript (mathed) and as themselves (in text).
13842 2002-01-03 Allan Rae <rae@lyx.org>
13844 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13845 "LyX" or the filename of the current buffer if it has one. This is a
13846 modified form of John Levon's patch.
13848 * XFormsView.C (setWindowTitle): also set icon title.
13850 * LyXView.h (setWindowTitle): signature changed.
13851 * XFormsView.h (setWindowTitle): ditto.
13853 2002-01-02 Juergen Vigna <jug@sad.it>
13855 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13857 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13859 * screen.C (topCursorVisible): introduce a temp var for
13860 text->cursor.row(), handle the case where this row is null. (kindo
13863 * text2.C (setCursor): add a couple of asserts.
13865 * paragraph.h (inset_iterator): add -> operator
13867 * paragraph.[Ch] (autoDeleteInsets): remove member function
13869 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13870 cursor pos correctly and handle inset deletion by itself.
13871 (insertErrors): move iterator declaration out of for expression
13873 * lyxtextclass.C: add <algorithm>
13875 * Makefile.am: added the new files to sources, removed layout.C
13877 * layout.C: removed file
13879 * layout.h: remove LYX_DUMMY_LAYOUT
13881 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13885 * lyxtextclass.[Ch]:
13886 * lyxtextclasslist.[Ch]: new files
13888 * include order changes to a lot of files, also changes because of
13891 2001-12-27 Juergen Vigna <jug@sad.it>
13893 * buffer.C (asciiParagraph): more fixes.
13895 * tabular.C (ascii): make ascii export support export of only the
13896 data separated by a column-delimiter.
13897 (ascii): better support for ascii export.
13899 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13901 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13903 * tabular_funcs.C: use a "using std::getline" instead of the
13904 previous fix from Angus (necessary for cxx + lyxstring)
13906 2001-12-24 Juergen Vigna <jug@sad.it>
13908 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13910 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13911 problems. First check a minipage also if we have some ert-contents
13912 (not only on par->size(), second set the right depth of the paragraph
13913 on the relink to the root-paragraph-list!
13915 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13916 which then did not anymore update the main paragraphs on undo/redo!
13918 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13920 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13921 code. Support all font-changing funcs (even those which are not in
13922 menu currently). Support for reporting font settings in
13923 mathed (disabled until Andre provides a function on mathed's side).
13925 * func_status.h (toggle): small helper function to set toggle
13928 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13930 * tabular_funcs.C: getline -> std::getline
13932 2001-12-21 Juergen Vigna <jug@sad.it>
13934 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13935 accessed and could be 0 (I couldn't generate this but it seems
13938 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13940 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13941 * tabular_funcs.h: here and include iosfwd
13943 2001-12-20 Juergen Vigna <jug@sad.it>
13945 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13946 inside inset but undo_par was.
13948 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13950 * Thesaurus.C: always include <config.h> in sources.
13954 * box.h: do not include <config.h> in header files
13956 * text.C (paintLastRow): remove unused variable
13958 * text.C (transformChar):
13960 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13962 * Painter.C (text):
13963 * font.C (width): rewrite to use uppercase() instead of
13966 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13968 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13970 * lyxfind.C: clean up of find failure position change
13972 2001-12-20 Juergen Vigna <jug@sad.it>
13974 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13976 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13977 (TeXRow): added to LaTeX a single tabular row.
13978 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13979 (Latex): simplified and finally good LT-h/f support.
13980 (various_functions): just small adaptions for LT-h/f support.
13982 * tabular_funcs.[hC]: added and moved here all not classfunctions
13985 2001-12-19 Juergen Vigna <jug@sad.it>
13987 * tabular.[Ch]: better support for longtabular options (not finished
13990 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13992 * text.C (paintLastRow): use the label font instead of the font of
13993 the last character to compute the size of *_BOX. This makes more
13994 sense and avoids a crash with empty paragraphs.
13995 Use Painter::rectangle to draw EMPTY_BOX.
13997 2001-12-19 Juergen Vigna <jug@sad.it>
13999 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14000 the paragraphs if the replaced paragraph is not the first one!
14001 Tried to delete not used paragraphs but does not work yet so for
14002 now it's inside #ifdef's and by default off!
14004 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14006 * MenuBackend.C: include "lyx_main.h" instead of declaring
14007 lastfiles (actually was declared as LastFiles* instead of a
14010 2001-12-17 Juergen Vigna <jug@sad.it>
14012 * tabular.C (AppendColumn): applied John's fix
14014 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14018 * BufferView_pimpl.h:
14019 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14022 * box.h: new start of class for above
14024 * lyxfunc.C: ignore space-only minibuffer dispatches.
14025 Show the command name when it doesn't exist
14027 * minibuffer.C: don't add empty lines to the history
14029 * minibuffer.C: add a space on dropdown completion
14031 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14033 * text.C: fix line above/below drawing in insets
14035 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14037 * lyxlength.C (LyXLength): Initialize private variables.
14039 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14041 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14042 when inserting error insets.
14044 2001-12-13 Juergen Vigna <jug@sad.it>
14046 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14047 actually sometimes the before-paragraph.
14048 (setUndo): don't clear the redostack if we're not actually undoing!
14050 2001-12-06 Juergen Vigna <jug@sad.it>
14052 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14053 and fixed redoing of main paragraph, so we can use it now ;)
14055 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14057 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14059 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14062 2001-12-13 André Pönitz <poenitz@gmx.net>
14065 * undo_func.C: minor cleanup
14067 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14069 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14070 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14071 font in urw-fonts package which is marked as -urw-fontspecific and
14072 does not work (incidentally, changing the encoding in the
14073 fonts.dir of this package to -adobe-fontspecific fixes the
14076 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14077 is a crash when undoing first paragraph (Juergen, please take a
14078 look). THis does not mean the undo fix is wrong, just that it
14081 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14082 the (Paragraph*) version when needed instead of duplicating the
14085 * text.C (workWidth): use Inset::parOwner to find out where the
14086 inset has been inserted. This is a huge performance gain for large
14087 documents with lots of insets. If Inset::parOwner is not set, fall
14088 back on the brute force method
14090 * paragraph_pimpl.C (insertInset):
14091 * paragraph.C (Paragraph):
14092 (cutIntoMinibuffer): set parOwner of insets when
14093 inserting/removing them
14095 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14097 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14103 * mathed/formulabase.C:
14104 * mathed/math_cursor.[Ch]:
14105 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14108 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14110 * lyxlength.[Ch] (operator!=): new function
14112 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14114 * text.C (workWidth): use Inset::parOwner to find out where the
14115 inset has been inserted. This is a huge performance gain for large
14116 documents with lots of insets. If Inset::parOwner is not set, fall
14117 back on the brute force method
14119 * paragraph_pimpl.C (insertInset):
14120 * paragraph.C (Paragraph):
14121 (cutIntoMinibuffer): set parOwner of insets when
14122 inserting/removing them
14124 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14126 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14128 * tabular-old.C (getTokenValue):
14129 * tabular.C (getTokenValue):
14130 (write_attribute): new versions for LyXLength
14131 (everywhere): adjust the use of widths
14133 * tabular.h: change the type of widths from string to LyXLength
14135 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14137 * paragraph.C: fixed missing line number count when exporting
14138 Environments to LaTeX file
14140 * buffer.C: added informational message for checking line numbers.
14142 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14144 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14145 paragraph, do the 'double space' part, but not the 'empty
14148 * text.C (workWidth): small optimization
14149 (getLengthMarkerHeight): use minimal size for negative lengths.
14151 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14153 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14155 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14157 2001-12-11 André Pönitz <poenitz@gmx.net>
14160 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14162 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14164 * text2.C: keep selection on a setFont()
14166 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14168 * lyx_cb.C: another bv->text misuse, from insert label
14170 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14173 * kbsequence.C: re-instate nmodifier mask
14175 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14177 * lyx_main.h: make lyxGUI private.
14179 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14181 * lyxfind.C: place the cursor correctly on failed search
14183 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14185 * text.C (getLengthMarkerHeight): for small heights, the arrows
14186 are not always on top/bottom of the text
14187 (drawLengthMarker): smaller arrows; take the left margin in
14188 account; draw also vfills.
14190 (paintLastRow): remove special code for vfill and standard spaces,
14191 since everything is handled in drawLengthMarker now.
14193 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14195 * buffer.C (insertErtContents): try to handle font and language
14196 interaction a bit better.g
14198 * ColorHandler.C (updateColor): change the hash to cover the whole
14199 LColor enum, ws cleanup
14200 (getGCLinepars): ditto
14201 (getGCLinepars): only lookup in the linecache once.
14203 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14205 * iterators.C (operator++): Make the iterator more robust
14207 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14209 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14211 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14214 * text.C: better added space drawing
14216 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14219 * BufferView2.C: fix layout combo update on inset unlock
14221 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14223 * Makefile.am: don't compile unused files
14225 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14229 * LyXAction.C: remove old LFUN_LAYOUTNO
14231 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14233 * paragraph_pimpl.h:
14234 * paragraph_pimpl.C: isTextAt() doesn't need font param
14236 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14239 * lyxlex.C: little cleanup
14241 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14243 * BufferView_pimpl.C: fix insertAscii for insets
14245 2001-12-05 Juergen Vigna <jug@sad.it>
14247 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14248 set the right font on the "multi" paragraph paste!
14250 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14256 * lyxlength.C: remove out-commented code.
14258 * BufferView_pimpl:
14272 * vc-backend.C: change "while(" to "while ("
14274 * lyxlength.[Ch]: add zero function to check if length is zero or
14276 * lyxgluelength.C: use it
14278 2001-12-05 Allan Rae <rae@lyx.org>
14280 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14281 Works for 2.95.3, from what I understand of Garst's reports this should
14282 work for other g++ versions. We're screwed if the abs(int) definition
14283 changed between bugfix releases of gcc.
14285 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14287 * text.C: fix chapter label offset !
14289 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14292 * text.C: fix hfill at end of line, clean up
14294 2001-12-04 Juergen Vigna <jug@sad.it>
14296 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14297 that we force an update of the inset and it's owners if neccessary.
14299 2001-12-03 Juergen Vigna <jug@sad.it>
14301 * text.C (rowLast): simplified code
14303 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14305 * lyxfunc.C: fix show options on timeout
14307 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14309 * screen.C (topCursorVisible): scroll half a page when the cursor
14310 reached top of bottom of screen
14312 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14314 * minibuffer.C: deactivate on loss of focus
14316 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14318 * vspace.[Ch] (operator!=): add operator.
14320 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14322 * BufferView_pimpl.C: refuse to open an inset when
14323 there's a selection.
14325 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14327 * BufferView_pimpl.C: allow to click on RHS of full row insets
14329 2001-11-30 Juergen Vigna <jug@sad.it>
14331 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14332 insets for undo reasons.
14334 2001-11-28 André Pönitz <poenitz@gmx.net>
14336 * vspace.[Ch]: cosmetical changes
14338 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14348 * kbsequence.C: part re-write of old kb code
14351 * WorkArea.C: remove Lgb_bug_find_hack
14353 2001-11-30 José Matos <jamatos@fep.up.pt>
14355 * buffer.C (makeDocBookFile): add a comment to point a hack.
14356 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14357 Fixed a double write of labels.
14359 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14362 * LaTeX.h Fixed bug in LaTeX class where it would not
14363 re-run latex if no depfiles were changed, but the .dvi was removed.
14365 2001-11-28 André Pönitz <poenitz@gmx.net>
14367 * all the files from the change on 2001/11/26:
14368 use lyx::layout_type instead of LyXTextClass::size_type
14369 use lyx::textclass_type instead of LyXTextClassList::size_type
14371 2001-11-29 Juergen Vigna <jug@sad.it>
14373 * text.C: added support for paragraph::isFreeSpacing()
14375 * buffer.C: same as above
14377 * paragraph.h: inserted isFreeSpacing() function to enable
14378 FreeSpacing inside InsetERT.
14380 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14381 of the paragraph's in the cut/copy buffer to 0!
14383 * text2.C (removeRow): remove the assert as it can!
14385 * lyxtext.h: added helper function firstRow returning firstrow and
14386 made firstrow private again.
14388 * BufferView2.C (lockInset): don't relock if we're already locked!
14390 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14391 the only paragraph.
14392 (removeRow): added Assert::(firstrow)
14394 * debug.C: forgot to add INSETTEXT here.
14396 2001-11-28 Juergen Vigna <jug@sad.it>
14398 * sp_spell.C (initialize): changed error text to more general
14399 spellchecker command use (not only ispell!)
14401 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14403 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14405 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14407 * vspace.C: initialise lyxgluelength on failure
14409 2001-11-28 Allan Rae <rae@lyx.org>
14411 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14412 declaration & definition that looks like a function declaration.
14414 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14416 * BufferView2.C (copy):
14417 (copyEnvironment): do not clear the selection when doing a copy.
14419 * text.C (paintFirstRow): compilation fix
14421 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14423 * tabular.C (Latex): correct line count when writing latex.
14425 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14427 * paragraph_pimpl.h:
14428 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14431 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14435 * LColor.C: change vfillline->added_space
14437 * text.C: add markers and text for added space
14439 * vspace.C: fix comment
14441 2001-11-28 André Pönitz <poenitz@gmx.net>
14443 * paragraph.C: whitespace changes
14444 * all the other files from the change on 2001/11/26:
14445 change *::pos_type into lyx::pos_type
14447 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14449 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14450 language of the document when inserting error insets.
14452 2001-11-26 André Pönitz <poenitz@gmx.net>
14454 * BufferView_pimpl.[Ch]:
14462 * paragraph_pimpl.[Ch]:
14465 * text2.C: reduce header dependencies, introduce type for positions
14467 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14469 * <various>: change to use Alert.h
14471 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14473 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14474 when encountering an unknown token.
14475 (readLyXformat2): Show an error message if there were unknown tokens.
14477 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14480 * BufferView_pimpl.C:
14484 * text2.C: use par->isInset()
14486 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14488 * paragraph_pimpl.h:
14489 * paragraph_pimpl.C: cleanup
14491 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14493 * text2.C (removeRow):
14494 * text.C (setHeightOfRow): remove useless (and costly) call to
14497 2001-11-20 Allan Rae <rae@lyx.org>
14499 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14500 Now need Inset*::checkInsertChar() to return true for appropriate
14501 cases so that the characters in the minibuffer will actually be
14504 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14506 * text.C: change the order of the includes.
14507 (workWidth): initialize it at once.
14508 (workWidth): make maxw unsigned
14509 (setHeightOfRow): remove unused variable (inset)
14510 (selectSelectedWord): remove unused variable (inset)
14511 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14513 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14515 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14516 server is not running.
14518 (closeConnection): add debug info when server is disabled.
14520 * ColorHandler.C (getGCForeground): send debug message to GUI
14523 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14525 * kbmap.C (bind): modify because return conventions of
14526 kb_sequence::parse have changed.
14528 * kbsequence.C (parse): only ignore spaces and not any stupid
14529 control character. This avoids tests like s[i] <= ' ', which are
14530 guaranteed to fail with 8bit characters and signed chars.
14531 Change return code to string::npos when there have been no error
14532 (0 was a bad idea when error is at first character)
14534 2001-11-14 José Matos <jamatos@fep.up.pt>
14537 * buffer.C (simpleDocBookOnePar): removed unused argument.
14539 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14541 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14542 insets which are part of a word. Paragraph::isLetter takes care of
14543 that now. Use Paragraph::isInset to identify insets.
14544 (selectSelectedWord): do not test for hyphenation break.
14546 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14547 that protected spaces are considered as spaces.
14549 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14552 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14555 * lyxserver.C: fix it. and small cleanup.
14557 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14559 * BufferView_pimpl.C: use inline helpers
14562 * LaTeXFeatures.C: fix typos
14565 * Spacing.C: move spacing_string into class
14567 * ToolbarDefaults.C: move stuff into namespace anon
14569 * layout.h: update enum
14571 * lyxfunc.C: use better debug
14573 * minibuffer.h: fix typo
14577 * WorkArea.C: add and use Debug::WORKAREA
14581 * text2.C: code re-organisation, inline helpers
14583 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14585 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14586 std::vector.empty().
14588 2001-11-09 Allan Rae <rae@lyx.org>
14590 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14591 '\n's after tables. Tabular and ERT inset work now makes this no
14594 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14597 * minibuffer.C: fix crash, improve drop-down completion
14599 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14602 * lyxserver.C: invalidate fd's when doing endPipe()
14604 2001-11-08 José Matos <jamatos@fep.up.pt>
14606 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14607 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14610 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14612 2001-11-07 José Matos <jamatos@fep.up.pt>
14615 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14618 * buffer.C (sgmlOpenTag):
14619 * buffer.C (sgmlCloseTag): removed debug info.
14621 * buffer.h (sgmlOpenTag):
14622 * buffer.h (sgmlCloseTag): made public.
14624 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14626 * buffer.C (saveParamsAsDefaults):
14627 * lyx_cb.C (MenuLayoutSave): remove
14629 * LyXAction.C (init):
14631 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14633 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14635 * buffer.C (setPaperStuff): removed from here...
14637 * bufferparams.C (setPaperStuff): ... and moved there.
14639 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14643 * XFormsView.C: add support for drop-down completion
14645 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14647 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14650 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14652 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14655 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14657 * lyx_main.C: change ref to known bugs
14659 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14661 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14662 to work around older babel problems.
14664 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14666 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14668 2001-10-24 Juergen Vigna <jug@sad.it>
14670 * tabular-old.C (ReadOld): below variable changes reflected.
14672 * tabular.[Ch]: added ltType struct for longtable header/footer
14673 defines and changed all instances where they are used. Added
14674 future support for double top/bottom rows.
14676 2001-10-24 José Matos <jamatos@fep.up.pt>
14678 * buffer.h (docbookHandleCaption):
14679 * buffer.C (docbookHandleCaption): removed unused function.
14680 (makeDocBookFile): moved docbook supported version to v4.1.
14682 2001-10-24 José Matos <jamatos@fep.up.pt>
14685 * tabular.C (docbookRow): new function to export docbook code of a row.
14686 (DocBook): now honors the longtable flags.
14688 2001-10-23 José Matos <jamatos@fep.up.pt>
14691 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14692 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14694 * buffer.C (makeLinuxDocFile):
14695 (makeDocBookFile): reworked the preamble, more clean, and with
14696 support for lyx defined entities. Changed the document declaration
14697 to be more XML friendly.
14699 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14700 if we need to output XML that should be done with a filter.
14702 2001-10-22 Juergen Vigna <jug@sad.it>
14704 * sp_pspell.h (class PSpell): add alive function needed in the
14705 controller to see if the spellchecker could be started.
14707 2001-10-22 Juergen Vigna <jug@sad.it>
14709 * buffer.C (insertStringAsLines): modify the font for inserting
14710 chars in certain conditions by calling checkInsertChar(font).
14712 2001-10-19 Juergen Vigna <jug@sad.it>
14714 * text.C (workWidth): use getRow instead of wrong algorithm.
14715 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14717 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14722 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14724 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14726 * text.C (workWidth): do not search for the exact row when
14727 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14728 optimization for big documents.
14730 2001-10-18 Juergen Vigna <jug@sad.it>
14732 * text.C (workWidth): new function with added Inset * parameter.
14734 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14736 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14738 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14739 change return type of getColumnNearX.
14742 * text.C (changeRegionCase): use uppercase/lowercase instead of
14745 (rightMargin): simplify code by factoring out the uses of
14750 (appendParagraph): use Paragraph::size_type
14752 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14754 * vspace.C (asLatexString): add a missing break
14756 2001-10-15 Herbert Voss <voss@perce.de>
14758 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14760 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14762 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14765 2001-10-10 André Pönitz <poenitz@gmx.net>
14767 * lyxfunc.C: removed greek_kb_flag.
14769 2001-10-10 Herbert Voss <voss@perce.de>
14771 * lyx_main.C: delete global string help_lyxdir.
14773 2001-10-09 Herbert Voss <voss@perce.de>
14775 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14777 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14779 * lyx_main.C: added global string help_lyxdir.
14781 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14783 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14785 * lyxrc.C (set_font_norm_type): support iso8859-4
14787 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14789 * LaTeX.C (deplog): add another regex for MikTeX
14791 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14793 * lyxrc.C (set_font_norm_type): support iso8859-3
14795 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14797 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14799 * LaTeXFeatures.C: remove special case of french and index
14801 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14802 before \begin{document}). This solves several incompatibilities.
14804 2001-10-03 Garst Reese <reese@isn.net>
14806 * lyx_cb.C: change CheckTex error msg.
14808 2001-10-03 José Matos <jamatos@fep.up.pt>
14810 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14812 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14814 * .cvsignore: update
14816 * lyx_main.C (commandLineVersionInfo): use new style version info.
14818 * buffer.C (writeFile):
14820 (makeLinuxDocFile):
14821 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14823 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14825 * version.h: update to use stuff in version.C
14827 * version.C.in: new file. Contains version information determined
14828 at compile time. This is a merging of version.h and
14831 2001-10-03 Juergen Vigna <jug@sad.it>
14833 * BufferView_pimpl.C (update): don't change "dirty" status in
14836 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14838 * WorkArea.C (c-tor): re-position version string slightly.
14840 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14842 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14843 revert to previous code.
14845 WorkArea.[Ch]: (show, destroySplash): methods removed.
14847 WorkArea.C: rework code so that it's an amalgam of the codes before and
14848 after the splash screen was moved to WorkArea.
14850 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14853 * vspace.C (inPixels):
14856 * buffer.C (insertStringAsLines):
14857 (asciiParagraph): fix types to be large enough
14859 * lyxlex_pimpl.h: change member status from short to int
14861 * layout.h: fix type of endlabeltype
14864 * kbsequence.C (parse): change return type to string::size_type
14866 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14869 * Bullet.C (bulletSize):
14870 (bulletEntry): do not use short ints as parameters
14872 * BufferView2.C (insertLyXFile): change a char to an int.
14874 * WorkArea.C (WorkArea): remove unneeded floats in computation
14876 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14878 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14880 * paragraph.C (asString): Do not ignore newline/hfill chars when
14881 copying to the clipboard.
14883 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14885 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14886 after a multi-line inset.
14888 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14890 * paragraph.C (validate): Set NeedLyXFootnoteCode
14892 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14894 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14895 and decrease-error to decrease.
14897 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14899 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14900 it more readable (should be equivalent)
14902 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14904 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14906 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14908 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14909 of a cursor (row, etc.) after a character has been deleted
14910 (deleteEmptyParagraphMechanism): call the method above on _all_
14911 cursors held by the LyXText when a double space has been
14914 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14916 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14918 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14920 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14921 background. Use greyOut() and the new show() methods to toggle between
14922 the foreground and background. Add code to remove the splash after
14923 its initial showing.
14925 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14926 (create_forms): no longer call Dialogs::showSplash.
14928 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14930 * .cvsignore: add version_info.h
14932 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14934 * version_info.h.in: new file
14936 * Makefile.am: add version_info.h.in
14938 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14939 version_info.h instead of VERSION_INFO
14941 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14943 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14944 The ERT inset now returns string().
14946 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14948 * lyxtext.h, text.C (selectNextWord): renamed as
14949 selectNextWordToSpellcheck.
14951 * text.C (selectNextWordToSpellcheck): Modified to not select
14952 words inside an ERT inset.
14954 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14956 * lyx_cb.C (MenuLayoutSave): change a bit the question
14958 * sp_base.h: include <sys/types.h>
14960 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14962 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14964 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14966 * several files: fix typos in user-visible strings
14968 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14970 * text2.C (pasteSelection): do not set the selection, since it
14971 will be cleared later. Actually, the intent was to fix the way the
14972 selection was set, but I figured rmoving the code was just as good.
14974 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14976 * FontLoader.C (available): Check if font is available without
14979 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14981 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14983 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14985 * lyxrc.[Ch]: added display_graphics variable and associated code.
14987 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14989 * bufferparams.C (hasClassDefaults): new method. Returns true if
14990 the buffer parameters correspond to known class defaults
14992 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14994 * XFormsView.C (show): set minimum size to the main window.
14996 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14998 * text2.C (copySelection):
15000 * lyxfind.C (LyXReplace):
15001 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15002 LyXText::selectionAsString.
15004 * paragraph.C (asString): add "label" argument to the second form
15006 * text2.C (selectionAsString): add "label" argument and pass it to
15007 Paragraph::asString.
15009 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15011 * lyx_main.C (commandLineHelp): remove version information
15013 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15015 * lyx_main.C: add -version commandline option
15017 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15019 * paragraph.h: make the optional constructor arg required instead.
15020 some modifications to other files because of this.
15022 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15024 * lyxserver.C (C_LyXComm_callback): make it static
15026 * lyx_main.C (error_handler): make it static
15028 * lyx_gui.C (LyX_XErrHandler): make it static
15030 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15032 * WorkArea.C: make the extern "C" methods static.
15034 * Makefile.am (lyx_LDADD): simplify
15036 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15038 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15039 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15041 * LyXAction.C (init):
15042 * lyxfunc.C (dispatch): associated code removal.
15044 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15046 * lyxfont.h (isSymbolFont): shut off warning
15048 * text.C (setHeightOfRow):
15049 (getVisibleRow): fix crash with empty paragraphs which have a
15052 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15054 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15057 2001-09-04 José Matos <jamatos@fep.up.pt>
15060 * tabular.C (docbook): rename docBook method to docbook.
15062 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15064 * Makefile.am: add dependencies to main.o.
15066 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15068 * FontLoader.C (available): Return false if !lyxrc.use_gui
15070 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15072 * FontInfo.C (query):
15073 * converter.C (view):
15074 * importer.C (Import):
15075 * exporter.C (Export): Can not -> cannot.
15077 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15079 * BufferView_pimpl.C: allow to create index inset even if
15082 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15084 * buffer.C (getLists): replace boost::tie code with an explicit pair
15085 as boost::tie can break some compilers.
15087 * iterators.h: Added a std:: declaration to the return type of
15090 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15092 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15095 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15097 * iterators.[Ch]: New files. Provide paragraph iterators.
15099 * buffer.C (changeLanguage): Use paragraph iterators.
15100 (isMultiLingual): ditto
15102 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15104 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15106 * FontLoader.C: Support for cmr font.
15108 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15110 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15111 (available): New method.
15113 * FontInfo.C (getFontname): Use scalable fonts even when
15114 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15117 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15119 * converter.C (Formats::view): reverted! Incorrect fix.
15121 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15123 * converter.C (Formats::view): only output the -paper option
15124 if the dvi viewer is xdvi, thereby fixing bug #233429.
15126 2001-08-23 Herbert Voss <voss@perce>
15128 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15130 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15132 * Spacing.h (Spacing): Set space to Default on in the default
15135 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15137 * vc-backend.h (RCS::versionString): add RCS to version
15138 (CVS::versionString): add CVS to version
15140 * vc-backend.C (scanMaster): do not add CVS to version.
15141 (scanMaster): do not add RCS to version
15143 * lyxvc.C (versionString): new method
15145 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15147 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15149 * Spacing.C (set): initialize fval
15151 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15153 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15156 2001-08-16 Juergen Vigna <jug@sad.it>
15158 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15160 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15162 * BufferView_pimpl.C:
15165 * text2.C: setParagraph takes linespacing now
15167 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15169 * LyxAction.C: add internal LFUN_CITATION_INSERT
15171 * LyXView.C: actually apply fix
15173 * bufferlist.C: fix open non-existent file
15175 * lyxfind.C: fix indentation
15177 * lyxfunc.C: remove unneeded assert, fix typo
15179 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15181 * MenuBackend.C: use "Floatname List"
15183 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15185 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15186 when converting LaTeX layout to insetERT.
15187 Generate a non-collapsed float when reading old float
15189 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15191 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15194 2001-08-13 Juergen Vigna <jug@sad.it>
15196 * text.C (fill): return 0 instead of 20 as this seems to be the more
15199 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15201 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15204 2001-08-13 Juergen Vigna <jug@sad.it>
15206 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15208 (SearchBackward): comment out the unlocking of the inset_owner this
15209 should not be needed!
15211 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15213 * Many files: Remove inherit_language, and add latex_language
15215 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15216 collapsible insets.
15218 2001-08-10 Juergen Vigna <jug@sad.it>
15220 * text.C (prepareToPrint): fixed hfill-width in draw!
15222 * BufferView2.C (selectLastWord): save the selection cursor as this
15223 now is cleared in the function LyXText::clearSelection!
15225 2001-08-08 Juergen Vigna <jug@sad.it>
15227 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15228 BACKSPACE type functions.
15230 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15231 is only cutted from the document but not put in the cut-buffer, where
15232 still the old stuff should be.
15234 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15236 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15238 * tabular.C (SetWidthOfCell): fixed special case where the width
15240 (LeftLine): handle '|' in align_special.
15242 (LeftAlreadyDrawed): ditto
15243 (SetWidthOfCell): ditto
15245 2001-08-07 Juergen Vigna <jug@sad.it>
15247 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15249 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15251 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15252 * lyxlex.[hC]: ditto
15254 2001-08-06 Juergen Vigna <jug@sad.it>
15256 * text.C (getVisibleRow): fix up row clearing a bit.
15258 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15260 * minibuffer.C: make sure the X server sees the changes in the input.
15262 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15264 * paragraph.C (getFont): split into...
15265 (getLabelFont): this
15266 (getLayoutFont): and this
15267 * paragraph_pimpl.C (realizeFont): calling this
15269 * text2.C (getFont): split into...
15270 (getLayoutFont): this
15271 (getLabelFont): and this
15272 (realizeFont): all three calling this
15274 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15277 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15279 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15281 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15283 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15284 layouts from the Quote inset insertion.
15286 2001-08-03 Juergen Vigna <jug@sad.it>
15288 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15290 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15291 only if status not is already CHANGED_IN_DRAW (second level).
15293 * text.C (draw): don't set the need_break_row when inside an
15296 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15298 * buffer.C (parseSingleLyXformat2Token): handle more latex
15301 * bufferview_funcs.[hC]: change function names to
15302 begin with small char, adjust other files.
15304 2001-08-02 André Pönitz <poenitz@gmx.net>
15307 BufferView_pimpl.C: remove broken special code for math-greek
15309 2001-08-02 Juergen Vigna <jug@sad.it>
15311 * BufferView_pimpl.C (update): redone this function so that we
15312 update the text again if there was a CHANGE_IN_DRAW.
15314 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15315 (drawFromTo): added a new internal bool which is used by draw() and
15317 (general): some cursor drawing problems fixed.
15319 2001-08-01 Juergen Vigna <jug@sad.it>
15321 * lyxfind.C (LyXFind): fixed
15322 (SearchForward): ditto
15323 (SearchBackward): ditto
15325 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15326 spurius drawing of the cursor in the main area.
15328 * text2.C (status): small fix which could lead to a segfault!
15329 (clearSelection): remove unneeded BufferView param.
15331 2001-08-01 André Pönitz <poenitz@gmx.net>
15333 * lyxfunc.C: small change due to changed mathed interface
15335 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15337 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15339 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15341 * lyxfunc.c: fail gracefully if file doesn't exist
15346 * BufferView_pimpl.C: IsDirWriteable() proto changed
15348 * LyXView.C: fix updateWindowTitle() to store the last title
15350 2001-07-31 Juergen Vigna <jug@sad.it>
15352 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15353 the font (wrong since using of Paragraph::highestFontInRange).
15355 * paragraph.C (highestFontInRange): added a default_size parameter.
15357 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15358 (setHeightOfRow): reformat
15360 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15362 * converter.[hC] + affected files: move to (inital-char)lowercase
15365 * ParagraphParameters.C (ParagraphParameters): remove commented code
15367 * PainterBase.[Ch]: remove commented code
15369 * LaTeXFeatures.h: add "bool floats" for float.sty
15371 * LaTeXFeatures.C (LaTeXFeatures): init floats
15372 (require): handle float
15373 (getPackages): do it with floats
15375 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15377 * BufferView_pimpl.C (Dispatch): improve handling of
15378 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15380 * commandtags.h: #include lyxfont.h here temporarily to avoid
15383 * bufferlist.h: include LString.h here.
15385 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15387 * text2.C (getStringToIndex): new method.
15389 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15391 * *: Reduced header file dependencies all over.
15393 2001-07-30 Baruch Even <baruch@lyx.org>
15395 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15397 2001-07-29 Baruch Even <baruch@lyx.org>
15399 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15401 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15403 * ParameterStruct.h (endif): add a default constructor to make
15404 sure that all variables is initialized.
15406 * ParagraphParameters.C (ParagraphParameters): adjust
15408 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15410 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15411 index; also, check that there is something to index, and that it
15412 does not span over several paragraphs.
15413 (doubleClick): use WHOLE_WORD_STRICT for double click.
15415 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15417 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15420 2001-07-26 Baruch Even <baruch@lyx.org>
15422 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15423 an InsetFig figure, backwards compatible reading of old figure code.
15425 2001-07-27 Juergen Vigna <jug@sad.it>
15427 * text2.C: font.realize function adaption.
15429 * text.C (draw): add a warnings lyxerr text if needed.
15431 * layout.C: font.realize function adaption.
15433 * language.C: add inherit_language and implement it's handlings
15435 * bufferview_funcs.C (StyleReset): remove language parameter from
15436 font creation (should be language_inherit now).
15438 * bufferparams.C (writeFile): handle ignore_language.
15440 * paragraph.C (getFontSettings): the language has to be resolved
15441 otherwise we have problems in LyXFont!
15443 * lyxfont.C (lyxWriteChanges): added document_language parameter
15444 (update): removed unneeded language parameter
15446 * paragraph.C (validate): fixed wrong output of color-package when
15447 using interface colors for certain fonts in certain environments,
15448 which should not seen as that on the final output.
15450 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15452 * BufferView_pimpl.C:
15457 * LyXAction.C: add thesaurus support
15460 * lyxfind.C: add "once" parameter, for thesaurus, to not
15461 move to the next match
15463 2001-07-26 Juergen Vigna <jug@sad.it>
15465 * lyxfont.C (realize): honor ignore_language too!
15468 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15470 * text.C (draw): one place more for ignore_language to not draw
15473 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15475 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15477 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15479 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15480 the minipage conversion problem.
15482 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15484 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15487 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15489 * BufferView.h: don't forward declare WorkArea
15491 * BufferView.C: don't include WorkArea.h
15493 2001-07-25 André Pönitz <poenitz@gmx.net>
15497 * lyxfunc.C: new LFUN 'math-space'
15499 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15501 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15503 * text2.C (toggleInset): call open/close
15505 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15507 * lyxfunc.C (dispatch): add debug for the disabled case
15509 * font.C (buttonText): make similar to rectText
15511 * buffer.C (readInset): comment out parsing of insetlist and
15514 * PainterBase.C (rectText): small correction
15516 * BufferView_pimpl.C: comment out insettheorem and insetlist
15517 * LyXAction.C: ditto
15518 * commandtags.h: ditto
15520 2001-07-24 Juergen Vigna <jug@sad.it>
15522 * text.C (draw): honor the ignore_language.
15524 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15526 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15528 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15531 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15533 * lyxtext.h: remove unused (and unimplemented) methods
15535 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15537 * text.C (getVisibleRow): honor background color
15540 * Painter.h: remove default color argument for fillRectangle
15542 * text.C (backgroundColor): new method
15544 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15546 * text.C (getVisibleRow): adjust
15548 * font.[Ch] (rectText): new method, metrics
15549 (buttonText): new method, metrics
15551 * PainterBase.[hC]: make rectText and buttonText always draw and take
15554 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15556 * ToolbarDefaults.C (read):
15557 * MenuBackend.C (read): allow escaping in all strings
15559 * BufferView_pimpl.C (insertAndEditInset): new method.
15560 (Dispatch): use insertAndEditInset whenever appropriate.
15562 * BufferView_pimpl.C (insertNote): removed
15564 * BufferView_pimpl.C (smartQuote): new method, moved from
15565 BufferView; if an insetquote cannot be inserted, insert a '"'
15568 * BufferView2.C: remove insertCorrectQuote();
15570 * lyxfunc.C (getStatus): Add support for all remaingin
15571 inset-insert lfuns.
15573 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15575 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15576 command (necessary to pass " as parameter of self-insert.
15578 * text.C (selectWordWhenUnderCursor):
15579 (selectWord): add word_location parameter
15580 (selectWordWhenUnderCursor): same + remove special code for word
15582 (selectNextWord): use kind() to guess type of insetspecialchar,
15585 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15586 (insertErtContents): create ert insets as collapsed.
15587 (readInset): better compatibility code for Info inset.
15589 2001-07-20 Juergen Vigna <jug@sad.it>
15591 * lyxfunc.C (dispatch): use always LyXFind now!
15593 * text2.C (init): add a reinit flag so that the LyXText can be
15594 reinited instead of deleted and reallocated (used in InsetText).
15596 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15602 2001-07-18 Juergen Vigna <jug@sad.it>
15604 * text.C (selectNextWord): handle insets inside inset by calling
15605 always the bv->text functions so that we can go up the_locking_inset!
15607 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15608 in strange locations when inside an inset!
15610 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15611 handling to include insets.
15613 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15615 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15617 * LyXAction.C (init):
15619 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15620 LIGATURE_BREAK, since the name is so stupid.
15622 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15624 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15627 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15629 * sp_form.[Ch]: remove.
15631 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15633 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15636 * src/buffer.C (readInset): ditto.
15638 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15640 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15641 menuSeparator(), endOfSentenceDot(), ldots() and
15642 hyphenationPoint(), which are therefore removed.
15643 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15645 * LyXAction.C (init):
15646 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15648 * paragraph.C (getWord): removed.
15650 * BufferView_pimpl.C (Dispatch): use last word or selection for
15651 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15653 * lyx_main.C (queryUserLyXDir): do not ask before creating
15654 user_dir, except if it has been named explicitely.
15656 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15658 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15659 a document of zero size.
15661 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15663 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15664 approriately in the c-tor and in require().
15665 (getPackages): output the appropriate LaTeX for natbib support.
15667 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15668 variables "use_natbib" and "use_numerical_citations" when reading the
15670 (readInset): read the various natbib cite commands.
15671 (validate): white-space change.
15673 * bufferparams.[Ch]: new variables "bool use_natbib" and
15674 "bool use_numerical_citations".
15675 (writeFile): output them in the LyX file.
15677 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15679 * lyxfunc.C (getStatus): add support for all the inset insertion
15682 * text2.C (insertInset):
15683 * paragraph.C (insetAllowed):
15684 * BufferView_pimpl.C (insertInset): update to take in account the
15685 renaming of insertInsetAllowed
15687 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15689 * text2.C (getInset): new method. returns inset at cursor position.
15691 * BufferView_pimpl.C (Dispatch): changes because of this.
15693 * LyXAction.C (init): rename open-stuff to inset-toggle.
15695 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15697 * text2.C (toggleInset): renamed from openStuff; use
15700 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15702 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15704 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15706 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15708 * buffer.C (readLyXformat2): Add filename to the error dialog
15710 2001-07-18 Juergen Vigna <jug@sad.it>
15712 * tabular.C (GetCellNumber): put an assert here instead of the check!
15714 2001-07-17 Juergen Vigna <jug@sad.it>
15716 * BufferView_pimpl.C (toggleSelection): adapted too.
15718 * text.C (selectNextWord): adapted for use with insets.
15719 (selectSelectedWord): ditto
15721 2001-07-17 Juergen Vigna <jug@sad.it>
15723 * sp_spell.C (PSpell): fix initialitation order.
15725 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15727 * paragraph.C: spacing
15729 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15731 * sp_spell.C: repair language selection for pspell
15733 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15735 * lyxfunc.h: change more methods to begin with lower char.
15737 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15739 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15740 for unknown layouts.
15742 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15744 * buffer.C (readLyXformat2): Generate an error dialog if there are
15747 2001-07-16 Juergen Vigna <jug@sad.it>
15749 * sp_spell.C: always compile ISpell part.
15751 * lyxrc.C: added use_pspell entry and it's handling.
15753 2001-07-13 Juergen Vigna <jug@sad.it>
15755 * sp_spell.C: removed double includes.
15757 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15759 Consistent use of Lsstream.h:
15760 * Lsstream.h: added using std::stringstream for consistencies sake.
15762 * buffer.C: removed using std::stringstream
15764 * lyxfont.C (stateText):
15765 * paragraph.C (asString):
15766 * text.C (selectNextWord, selectSelectedWord):
15767 * text2.C (setCounter):
15768 * vspace.C (asString, asLatexString):
15769 std::ostringstream -> ostringstream.
15771 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15773 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15774 * commandtags.h: add LFUN_HELP_ABOUTLYX
15775 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15777 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15779 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15781 * lyx_gui_misc.C: remove spellchecker
15782 * lyxfunc.C: showSpellchecker
15784 * sp_ispell.h: added
15785 * sp_pspell.h: added
15786 * sp_spell.C: added
15787 * sp_form.[Ch]: removed
15788 * spellchecker.[Ch]: removed
15790 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15792 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15794 (simpleTeXSpecialChars): Simply print the input character without
15795 any special translation if pass_thru is set.
15797 * layout.h: Added bool pass_thru to layout class for being able to
15798 implement pass through of a paragraph for Literate Programming.
15800 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15801 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15802 * layout.C (Read): add "passthru" to list of layout tags and add
15803 code to set the pass_thru boolean when it is read.
15805 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15807 * trans_decl.h: remove allowed from KmodInfo
15809 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15810 remove allowed code
15813 * paragraph_pimpl.C (erase): use boost::prior
15815 * Painter.C (text): use data() instead of c_str() when length is
15817 * WorkArea.C (putClipboard): ditto
15818 * font.h (width): ditto
15820 * BufferView2.C: use it-> instead of (*it). for iterators
15822 * paragraph_pimpl.C: ditto
15823 * paragraph.C: ditto
15824 * minibuffer.C: ditto
15825 * language.C: ditto
15827 * encoding.C: ditto
15828 * counters.C: ditto
15829 * converter.C: ditto
15831 * Variables.C: ditto
15832 * TextCache.C: ditto
15833 * MenuBackend.C: ditto
15834 * LyXAction.C: ditto
15836 * FloatList.C: ditto
15837 * DepTable.C: ditto
15838 * ColorHandler.C (LyXColorHandler): ditto
15840 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15842 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15844 * text2.C (openStuff): reintroduce this method (which had been
15845 nuked in NEW_INSETS frenzy).
15847 * lyxfunc.C (Dispatch): when an action has not been handled, use
15848 its name in the error message, not its number.
15850 * paragraph.C (inInset): change method name to begin with lowercase.
15853 * text2.C: updates because of this.
15855 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15857 * ToolbarDefaults.C (add): add spaces in error message
15859 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15861 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15862 (readLyXformat2): rename return_par to first_par, use lyxlex's
15863 pushToken and remove the manual push handling.
15864 (parseSingleLyXformat2Token): add another ert comp. variable:
15865 in_tabular, rename return_par to first_par. handle newlines better
15867 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15869 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15871 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15873 * text2.C (getParFromID): removed
15875 * buffer.C (getParFromID): new method moved form lyxtext.
15876 * BufferView2.C (insertErrors): adjust
15877 (setCursorFromRow): adjust
15878 * BufferView_pimpl.C (restorePosition): adjust
15879 * lyxfunc.C (Dispatch): adjust
15880 * undo_funcs.C (textUndo): adjust
15882 (textHandleUndo): adjust
15883 (textHandleUndo): adjust
15885 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15887 * buffer.C: up' the LYX_FORMAT
15889 * lyxfont.h: turn NO_LATEX on as default
15891 * buffer.C (insertErtContents): new methods of tex style compability.
15892 (parseSingleLyXformat2Token): use it several places.
15893 * tabular.C (OldFormatRead): and here
15895 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15897 * text2.C: remove some commented code.
15900 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15901 * trans.C: changes because of the above.
15903 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15905 * text2.C (setCounter): Fix counters bug with bibliography layout.
15907 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15909 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15910 own member functions
15911 (simpleTeXSpecialChars): ditto
15913 2001-07-06 Juergen Vigna <jug@sad.it>
15915 * a lot of files: changed the access to LyXText::status and the
15916 call of undo-functions.
15918 * undo.[Ch]: added a inset_id to the undo informations.
15920 * undo_funcs.[Ch]: added and moved here all undo functions.
15922 * lyxtext.h: give the status enum a weight, made status_ a private
15923 variable and made accessor functions for it, removed the whole bunch
15924 of undo-functions as they are now in their own file, make some
15925 functions publically available. Added function ownerParagraph with
15928 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15929 made InInset() a const function, added getParFromID() function.
15931 * buffer.[Ch]: added const version for inset_iterator functions,
15932 added getInsetFromID() function.
15934 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15935 changed undo functions for new version.
15937 2001-07-05 Juergen Vigna <jug@sad.it>
15939 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15940 unknow mechanism does not call the proper constructor but only this
15941 one also if I request the other!?
15943 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15945 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15947 * text2.C (LyXText): use initialization lists.
15949 * lyxtext.h (Selection): initialize set_ and mark_
15950 (init): remove method
15952 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15954 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15956 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15958 * screen.[Ch]: change method names to begin with lowercase
15960 * BufferView_pimpl.C (updateScrollbar): simplify further and
15961 hopefully make it a bit faster.
15963 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15965 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15966 calling directly xforms functions.
15968 * Painter.C (Painter):
15969 * lyx_cb.C (MenuWrite):
15970 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15973 * lyx_gui.C: remove bogus guiruntime extern declaration.
15975 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15977 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15979 (redoDrawingOfParagraph): ditto
15980 (redoParagraphs): ditto
15981 (cutSelection): don't create a object for CutAndPaste use the
15982 static method directly
15983 (pasteSelection): ditto
15985 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15988 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15990 * modifications to some other files because of this.
15992 * Makefile.am (lyx_SOURCES): add XFormsView
15994 * XFormsView.[Ch]: new files
15996 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15997 the main window. Move the gui dependent stuff to XFormsView
15999 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16001 * tabular.C (GetCellInset): update cur_cell also in the row/col
16002 version of this function.
16004 * lyxfunc.C: no need to include figure_form.h here.
16010 * lyxvc.C: no need to include forms.h here.
16012 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16014 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16016 * lyxfunc.C (Dispatch):
16018 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16019 constructor argument.
16021 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16023 * paragraph.C (Paragraph): dont't clear, and just set layout.
16024 (makeSameLayout): use params's copy contructor.
16026 * ParagraphParameters.[Ch] (makeSame): delete method
16028 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16030 * Variables.[Ch]: fix indentation, rename set to isSet
16032 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16034 * lyxfunc.C (Dispatch): fix typo
16036 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16038 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16041 * bufferlist.C: include assert.h for emergencyWrite().
16043 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16045 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16046 give up at last (bug #425202) !
16048 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16054 * spellchecker.C: strip spellchecker options and bring up
16055 preferences tab instead
16057 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16059 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16060 the istringstream constructor
16062 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16064 * paragraph.C (getLayout): fix return value
16066 * paragraph.h: do not declare getLayout as inline.
16068 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16070 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16072 * lyxcursor.h (operator<): new func
16073 (operator>): new func
16074 (operator>=): new func
16075 (operator<=): new func
16077 * text.C (changeCase): use selection.start and selection.end
16078 (changeRegionCase): require from to be <= to. Require par to be a
16081 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16083 2001-06-27 Juergen Vigna <jug@sad.it>
16085 * text.C (cursorLeftOneWord): changed to return the cursor and added
16086 overlay with BufferView * parameter which calls this one.
16088 (selectWord): use new getWord function.
16089 (changeCase): renamed from changeWordCase as and extended to work
16090 also on selections.
16092 * lyxtext.h: added enum word_location
16094 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16095 changeCase as this operates now also on selections.
16097 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16099 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16101 * many files: send debug output to Debug::INFO instead of
16104 * converter.C (View):
16106 (Move): send debug output to Debug::FILES instead of console.
16108 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16110 * lyxfunc.C (getStatus): use func_status
16112 * func_status.h: new header, describing the results of
16113 LyXFunc::getStatus;
16115 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16118 2001-06-25 The LyX Project <jug@sad.it>
16120 * buffer.C (sgmlOpenTag):
16122 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16124 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16126 * text2.C: remove some dead code
16128 * tabular.C (GetCellInset): store the last cell checked (gotten)
16130 * tabular.h: add the helper for the speedup
16132 * lyxtext.h: remove some dead code
16134 2001-06-26 The LyX Project <Asger>
16136 * paragraph.C: Change export to LaTeX of alignment to
16137 \begin{center} and family for better roundtrip work with reLyX.
16139 * Tune the math drawing a bit.
16141 2001-06-25 The LyX Project <Asger>
16143 * LColor.C (LColor): New color for math background. New color
16146 2001-06-25 The LyX Project <jug@sad.it>
16148 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16150 * lyxfunc.C (Open):
16151 * bufferlist.C (newFile): do not restrict to files ending with
16154 * BufferView_pimpl.C (MenuInsertLyXFile):
16156 2001-06-24 The LyX Project <jug@sad.it>
16158 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16161 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16163 * lyxtext.h: rename most methods to begin with a small char.
16164 Lots of changes because of this.
16166 * paragraph.C (Paragraph): do not call fitToSize
16167 (erase): call Pimpl::erase
16168 (insertChar): call Pimpl::insertChar
16169 (insertInset): call Pipl::insertInset
16170 (breakParagraph): do not call fitToSize
16171 (breakParagraphConservative): do not call fitToSize
16172 (fitToSize): remove method
16174 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16176 2001-06-24 The LyX Project <Asger>
16178 * Fix Qt compilation^2
16180 2001-06-24 The LyX Project <jug@sad.it>
16182 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16183 depthHook(getDepth()-1).
16186 * ParagraphParameters.h:
16187 * ParameterStruct.h: change type of depth to unsigned int ==
16188 depth_type. Many adaptations to other files before of that.
16190 2001-06-24 The LyX Project <Asger>
16192 * Fix Qt compilation.
16194 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16196 * paragraph.h: renamed several methods to begin with small letter.
16197 several changes to many parts of the code because of this.
16199 2001-06-23 The LyX Project <jug@sad.it>
16201 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16202 rewritten to discard all double spaces when KeepEmpty is off
16203 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16204 to only handle newlines but not fiddle with spaces and friends.
16206 * lyxfunc.C (MenuNew): when doing 'new from template', use
16207 template_path as default directory
16209 2001-06-23 The LyX Project <Asger>
16211 * Clean-up of header file includes all over
16212 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16214 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16216 * paragraph.h: renamed from lyxparagraph.h
16218 2001-06-23 Asger <lyx@violet.home.sad.it>
16220 * Buffer.h: Removed Buffer::resize
16221 * BufferList.h: Removed BufferList::resize
16222 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16223 the document lazily when we change the width, or the font settings.
16225 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16227 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16229 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16231 * buffer.h: remove out of date comment
16233 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16236 * screen.C: fix "theoretical" GC leak
16238 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16240 * LaTeX.C (scanAuxFile):
16241 (deplog): remove trailing \r when reading stream (useful under
16244 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16246 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16247 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16248 and BufferView::theLockingInset(Inset*), so should use them and not
16249 access bv_->text->the_locking_inset directly.
16251 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16253 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16256 * tex-defs.h: remove old unused file
16258 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16260 * BufferView_pimpl.C: fix typo, remove minibuffer message
16261 when buffer has loaded
16263 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16265 * lyxfunc.C (Dispatch): use stringstream
16266 (MenuNew): use stringstream
16267 (Open): use stringstream
16269 * importer.C (Import): use stringstream
16271 * bufferview_funcs.C (CurrentState): use stringstream
16273 * LaTeX.C (run): use stringstream
16275 * BufferView_pimpl.C (savePosition): use stringstream
16276 (restorePosition): use stringstream
16277 (MenuInsertLyXFile): use stringstream
16279 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16292 * vspace.C: removed // -*- C++ -*- as first line.
16295 * version.h: added // -*- C++ -*- as first line.
16297 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16299 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16301 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16304 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16306 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16309 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16311 * gettext.C: include LString.h even when --disable-nls is on.
16313 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16315 * converter.h (Get): changed argument type from int to
16316 FormatList::size_type to avoid unnecessary conversion.
16318 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16321 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16323 * gettext.h: include LString.h even when --disable-nls is on.
16325 2001-06-07 Juergen Vigna <jug@sad.it>
16327 * text.C (BreakAgain): subst spaces with tabs.
16329 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16330 (resizeInsetsLyXText): set force on resizeLyXText.
16332 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16334 * gettext.h (gettext_init):
16335 (locale_init): use a real definition instead of a macro
16337 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16339 * Bufferview_pimpl.C:
16341 * LColor.C: further lcolor tidies
16343 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16345 * BufferView_pimpl.C (updateScrollbar): simplify.
16347 * BufferView2.C: don't include insets/insetinfo.h, change
16348 prototype for insertInset and call the Pimpl version. let
16349 updateInset call Pimpl version.
16351 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16352 gotoInset to BufferView::Pimpl
16354 2001-06-01 Juergen Vigna <jug@sad.it>
16356 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16357 inside a LockingInset (is the update needed at all?).
16359 2001-05-31 Juergen Vigna <jug@sad.it>
16361 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16362 here not the old one otherwise how should we compare it afterwards
16365 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16370 * FontInfo.C: bring C functions into global namespace when
16373 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16375 * LString.h: make sure config.h has been loaded before LString.h.
16377 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16378 (one for each char read by EatLine!).
16380 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16383 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16385 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16386 to the same as the par we break from
16388 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16390 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16392 * MenuBackend.C (expand): also create menu entries for wide
16393 versions of the floats.
16395 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16397 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16399 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16400 frontends/Makefile.am
16406 * tabular.C (getTokenValue): add std::
16408 * tabular-old.C (getTokenValue): add std::
16409 (getTokenValue): ditto
16410 (getTokenValue): ditto
16412 * screen.C (ToggleSelection): adjust
16414 * lyxtext.h: put selection cursors inside a Selection struct.
16416 * lyxfunc.C (moveCursorUpdate): adjust
16418 * lyxfont.C (latexWriteStartChanges): add std::
16420 * lyxfind.C: adjust
16422 * font.h: delete with(char const *, LyXFont const &)
16424 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16426 * FontInfo.C (getFontname): add std::
16428 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16429 (workAreaButtonPress): adjust
16430 (tripleClick): adjust
16432 (moveCursorUpdate): adjust
16435 * BufferView2.C (gotoInset): adjust
16437 2001-05-30 Juergen Vigna <jug@sad.it>
16439 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16440 to check pspell I add this as default as I now have new pspell
16441 libraries and they seem to use this.
16443 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16445 * text2.C (CutSelection): make the cursor valid before the call to
16448 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16450 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16451 relied on 0 terminated strings and other horrors. Bug found due to
16452 the new assert in lyxstring!
16454 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16457 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16459 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16462 * lyxfunc.C (processKeySym): change method of getting to the
16465 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16466 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16467 * BufferView_pimpl.[Ch]: here as private methods.
16469 2001-05-28 Juergen Vigna <jug@sad.it>
16471 * text.C (SetHeightOfRow): added the update() call again as it is
16472 needed to initialize inset dimensions!
16474 2001-05-16 Juergen Vigna <jug@sad.it>
16476 * text2.C (SetCharFont): Add new function with BufferView * and
16477 bool toggleall parameters for setting insets internal fonts.
16478 (SetFont): Freeze the undo as we may change fonts in Insets and
16479 all this change should be inside only one Undo!
16481 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16482 setting font's in insets as for them we have the SetFont function!
16484 2001-05-15 Juergen Vigna <jug@sad.it>
16486 * text2.C (ClearSelection): to be sure we REALLY don't have any
16489 * tabular.C (TeXCellPreamble): fixed the left border problem for
16492 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16494 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16497 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16499 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16500 LFUN_BREAKPARAGRAPH.
16502 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16503 help test to "internal only", similar for LFUN_INSERT_URL
16505 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16506 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16507 auto_region_delete and deadkeys.
16509 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16512 * LColor.C: remove some dead entries, tidy a little
16514 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16516 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16518 (Dispatch): implement LFUN_ESCAPE
16520 * commandtags.h: add LFUN_ESCAPE
16522 * LyXAction.C (init): add entry for LFUN_ESCAPE
16524 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16525 Remove commented code.
16526 (insertNote): moved here
16527 (open_new_inset): moved here
16529 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16532 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16534 * kbmap.C (findbinding): clean it up and make it work correctly.
16536 * lyx_main.C (init): do not pass argc and argv as parameters
16538 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16540 * buffer.C: fix path for OS/2 & Win32
16544 * lyx_main.C: Added os:: class.
16546 * os2_defines.h: update
16548 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16550 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16551 better by trying again with reduced state.
16553 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16555 * lyxrc.C (read): print error about invalid key sequence only when
16556 debugging (because not all latinX keysyms are known to some X
16559 * kbsequence.C (getiso): add a few std:: qualifiers
16560 (getiso): comment out extra return statement.
16562 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16564 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16566 (Dispatch): enhance the accent inset a bit. (not perfect)
16568 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16570 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16572 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16574 * bufferlist.C (emergencyWrite): fix assert() call
16576 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16578 * text.C (InsertChar): Added trivial patch to only send the "you
16579 can not do multiple spaces this way" message once during a
16582 2001-05-08 Baruch Even <baruch@lyx.org>
16584 * Makefile.am: Changed order of libraries to get LyX to link properly
16585 with the gnome frontend.
16587 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16589 * LaTeXFeatures.h: add a std:: qualifier
16591 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16593 * paragraph.C (String): use stringstream
16595 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16597 * paragraph.C (writeFile): remove footflag arg
16599 * buffer.C (makeLaTeXFile): use stringstream
16600 (latexParagraphs): remove footnot gurba
16602 * LaTeXFeatures.C (getPackages): use stringstream
16603 (getMacros): likewise
16604 (getTClassPreamble): likewise
16605 (getFloatDefinitions): new method
16607 * paragraph.C (writeFile): reindent
16610 * WorkArea.h: revert the xpos + etc changes.
16612 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16614 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16616 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16617 (pasteSelection): likewise
16618 * text2.C (CreateUndo): likewise
16620 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16622 * minibuffer.C (peek_event): temporarily reduce the functionality
16623 of the minibuffer (to allow args on lfuns)
16625 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16626 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16628 * buffer.C (readInset): add compability reading of old float
16629 lists, add reading of new style float list.
16630 (readInset): avoid reevaluation of inscmd.getCmdName()
16631 (getLists): reindent
16633 * MenuBackend.C (MenuItem): implement parsing of
16634 md_floatlistinsert and md_floatinsert.
16635 (expand::LastFiles): move initalizaton of iterators out of loop,
16636 avoid reevaluation.
16637 (expand::Documents): introduce typdedef vector<string> Strings,
16639 (expand::ExportFormats): introduce typedef vector<Format const *>
16640 Formats, and use it.
16641 (expand): implement FloatListInsert and FloatInsert.
16643 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16644 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16645 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16647 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16649 (Dispatch::LFUN_FLOAT_LIST): implement
16651 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16653 * LaTeX.C (run): Fix problem with --export code.
16655 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16657 * BufferView.[Ch] (workarea): removed.
16658 (getClipboard) new method; wrapper for workarea()->getClipboard()
16660 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16663 * WorkArea.h (width, height, xpos, ypos): These methods all
16664 returned the dimensions of the work_area sub-area of WorkArea,
16665 resulting in a position error if the WorkArea were resized. Now
16666 return the dimensions of the entire WorkArea.
16668 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16670 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16672 * LaTeX.C (deplog): correct the syntax of regex reg1
16674 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16676 * undo.C: remove !NEW_INSETS cruft
16678 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16680 * text2.C: remove !NEW_INSETS cruft
16682 * text.C: remove !NEW_INSETS cruft
16684 * tabular.C: remove !NEW_INSETS cruft
16686 * spellchecker.C: remove !NEW_INSETS cruft
16688 * lyxtext.h: remove !NEW_INSETS cruft
16690 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16692 * lyxfunc.C: remove !NEW_INSETS cruft
16694 * lyxfind.C: remove !NEW_INSETS cruft
16696 * lyx_cb.C: remove !NEW_INSETS cruft
16698 * figureForm.C: remove !NEW_INSETS cruft
16700 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16702 * buffer.[Ch]: remove !NEW_INSETS cruft
16704 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16706 * CutAndPaste.C: remove !NEW_INSETS cruft
16708 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16710 * BufferView2.C: remove !NEW_INSETS cruft
16712 * BufferView.h: remove !NEW_INSETS cruft
16714 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16716 * Lsstream.h: include LString.h before the sstream headers to
16717 fix problem with gcc 2.95.3 and lyxstring
16719 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16721 * lyx_main.C: add using directives when needed for C functions
16722 declared in std:: namespace.
16724 2001-04-27 Juergen Vigna <jug@sad.it>
16726 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16727 (SetHeightOfRow): comment out the update call should not be needed!
16729 2001-04-13 Juergen Vigna <jug@sad.it>
16731 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16732 (LyXTabular): tried to minimize operator= operations (and realized
16733 hopfully Lars wish).
16735 2001-04-27 Juergen Vigna <jug@sad.it>
16737 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16739 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16741 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16743 * buffer.C (readInset): hack to make listof algorithm work
16745 * BufferView_pimpl.C: hack to make listof algorithm work
16747 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16749 * LyXAction.C: removed all !NEW_INSETS cruft
16750 (init): moved lfun_item in method
16752 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16754 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16756 * BufferView2.C (theLockingInset): white space.
16758 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16760 * minibuffer.C: include <iostream>
16762 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16764 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16766 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16768 * text.[Ch] (TransposeChars): new method
16770 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16772 * call message directly through LyXView instead of through LyXFunc
16773 * BufferView2.C: adjust
16774 * BufferView_pimpl.C: adjust
16775 * FontLoader.C: adjust
16777 * bufferview_funcs.C: adjust
16778 * converter.C: adjust
16779 * figureForm.C: adjust
16780 * importer.C: adjust
16782 * lyx_gui_misc.C: adjust
16783 * lyxfunc.C: adjust
16786 + more files in subdirs
16788 * lyxparagraph.h (size): move up int file
16791 * adjust all uses of Assert to lyx::Assert.
16793 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16794 lyxfunctional in namespace lyx
16795 * layout.C (hasLayout): ditto
16798 (delete_layout): ditto
16799 (NumberOfClass): ditto
16800 * converter.C (GetFormat): ditto
16805 * bufferlist.C (getFileNames): ditto
16806 (emergencyWriteAll): ditto
16809 * MenuBackend.C (hasSubmenu): ditto
16812 * BufferView_pimpl.C (getInsetByCode): ditto
16814 2001-04-18 Juergen Vigna <jug@sad.it>
16816 * vspace.C (asLatexString): fixed the 100% problem.
16818 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16820 * lyxfunc.C (Dispatch):
16822 * minibuffer.h: add a few std:: qualifiers
16824 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16826 * minibuffer.[Ch]: reimplement so that commands is initiated and
16827 run from lyxfunc, simplified som handling, and made the completion
16828 and history code for complete. wip.
16830 * lyxfunc.C (processKeySym): call message
16831 (miniDispatch): new temporary method
16832 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16833 (LFUN_MESSAGE): implement
16834 (LFUN_MESSAGE_PUSH): implement
16835 (LFUN_MESSAGE_POP): implement
16836 (initMiniBuffer): the initial/defualt minibuffer message.
16838 * lyxfont.[Ch]: inline some more getters
16840 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16842 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16844 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16845 (AutoSave): use LFUN_MESSAGE
16846 (Reconfigure): ditto
16848 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16850 * figureForm.C: use LFUN_MESSAGE
16852 * converter.C (runLaTeX): use LFUN_MESSAGE
16854 * bufferview_funcs.C: use LFUN_MESSAGE
16856 (changeDepth): ditto
16858 * bufferparams.h: use boost::
16860 * bufferlist.h: inherit privately from noncopyable
16862 * bufferlist.C (loadLyXFile): remove some commented code.
16864 * buffer.C (runChktex): use LFUN_MESSAGE
16866 * ShareContainer.h: inherit privately from noncopyable
16868 * ParagraphParameters.[hC] (depth): inline it.
16870 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16872 (message): new method
16873 (messagePush): ditto
16874 (messagePop): ditto
16875 (show): init minibuffer
16876 (showState): direct call
16878 * LaTeX.[Ch]: inherit privately from noncopyable
16879 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16880 instead of WriteStatus.
16882 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16884 * BufferView_pimpl.C (buffer): don't init minibuffer
16885 (workAreaButtonPress): use LFUN_MESSAGE
16886 (workAreaButtonRelease): ditto
16887 (savePosition): ditto
16888 (restorePosition): ditto
16889 (MenuInsertLyXFile): ditto
16890 (workAreaExpose): don't init minibuffer
16891 (update): remove commented code, simplify
16893 * BufferView2.C (openStuff): use LFUN_MESSAGE
16894 (toggleFloat): ditto
16897 (copyEnvironment): ditto
16898 (pasteEnvironment): ditto
16903 (updateInset): remove some commented code
16905 * lastfiles.h: inherit privately from noncopyable
16908 * lyx_main.h: ditto
16910 * lyxlex_pimpl.h: ditto
16912 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16913 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16914 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16916 * LyXAction.h: inherit privately from noncopyable, add methods
16917 func_begin, func_end, returning iterators to the func map.
16919 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16920 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16921 (func_begin): new method
16922 (func_end): new method
16924 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16926 (copySelection): ditto
16927 (pasteSelection): ditto
16929 * BufferView.C: whitespace change
16930 * BufferView.h: inherit privately from noncopyable
16932 2001-04-16 Allan Rae <rae@lyx.org>
16934 * tabular-old.C (l_getline):
16935 * spellchecker.C (sc_check_word):
16936 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16937 an unrecognised preprocessor directive. So ensure they're wrapped.
16939 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16941 * src/exporter.C (Export): Give an error message when path to file
16944 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16946 * LaTeX.C (deplog): Always check that foundfile exists.
16948 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16951 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16953 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16955 * tabular.[Ch] (getLabelList): implement new method
16957 * minibuffer.h: comment ouf setTiimer
16959 * minibuffer.C (ExecutingCB): constify res
16960 (peek_event): constify s
16961 (Set): constify ntext
16962 (Init): constify nicename
16964 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16966 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16967 (savePosition): use two params to Minibuffer::Set
16968 (restorePosition): ditto
16970 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16972 * lyx_main.C: include language.h
16974 * Makefile.am (lyx_main.o): add language.h
16976 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16982 * CutAndPaste.C: include gettext.h
16984 * lyxfont.h: remove old hack with ON and OFF.
16987 * lyxfont.h: do not include language.h...
16992 * bufferview_funcs.C:
16998 * paragraph.C: ... but do it here instead
17000 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17002 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17004 * tabular.C: small reformat
17006 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17009 (BreakParagraph): ditto
17010 (SetOnlyLayout): ditto
17013 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17016 * lastfiles.C: removed most using decl, add std:: where needed
17018 * buffer.C: ws changes
17020 * MenuBackend.C (class compare_format): put into anon namespace
17021 (expand): constify label, names, action, action2
17024 * text.C (SingleWidth): constify font
17025 (IsBoundary): constify rtl2
17026 (GetVisibleRow): constify ww
17028 * LaTeX.C (deplog): constify logfile
17030 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17032 (workAreaExpose): constify widthChange, heightChange
17034 * lyxrow.C (par): moved
17037 * lyxrow.h: as inlines here
17039 * lyxfont.h (shape): moved from lyxfont.C
17040 (emph): moved from lyxfont.C
17042 * lyxfont.C (LyXFont): use initialization list for all
17044 (shape): move to lyxfont.h as inline
17045 (emph): move to lyxfont.h as inline
17048 2001-04-04 Juergen Vigna <jug@sad.it>
17050 * vspace.C: had to include stdio.h for use of sscanf
17052 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17055 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17056 independent of xforms.
17058 2001-04-02 Juergen Vigna <jug@sad.it>
17060 * spellchecker.C: fixed namespace placing!
17062 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17064 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17065 the LyXParagraph * is 0.
17067 2001-03-29 Juergen Vigna <jug@sad.it>
17069 * vspace.C: added support for %, c%, p%, l%.
17070 (stringFromUnit): added helper function.
17071 (asLatexString): changed to give right results for the %-values.
17073 * buffer.C: convert the widthp in a width%.
17075 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17077 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17080 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17081 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17083 * lyx_cb.[Ch]: see above.
17085 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17089 * lyx.[Ch]: replaced by figure_form.[Ch].
17093 * lyxfunc.C: changed headers associated with above changes.
17095 2001-03-27 Juergen Vigna <jug@sad.it>
17097 * BufferView_pimpl.C: set the temporary cursor right!
17099 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17101 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17103 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17105 * LString.h: removed "using std::getline"!
17107 * BufferView_pimpl.C (Dispatch): changes due to changes in
17108 InsetInclude::Params.
17110 * buffer.C (tag_name): removed redundant break statements as they were
17111 producing lots of warnings with my compiler.
17113 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17115 * LString.h: add "using std::getline" when using the real <string>.
17117 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17119 * buffer.C: removed bitset usage.
17120 PAR_TAG moved to an anonymous name space.
17121 (tag_name): new funtion, also in the anonymous namespace.
17122 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17123 (makeDocBookFile): clean code. Completed transition from string arrays
17125 (SimpleDocBookOnePar): code clean.
17127 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17129 * tabular.C: add some comments.
17131 2001-03-22 Juergen Vigna <jug@sad.it>
17133 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17134 compatibility read a bit and fixed bug with minipage in different
17137 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17139 * buffer.C (pop_tag): removed.
17140 (push_tag): removed.
17141 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17142 array replaced with vector. Added support for CDATA sections.
17143 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17145 (makeDocBookFile): XML conformant declaration of CDATA section,
17146 fixed bug related to <emphasis> in the first paragraph char.
17147 (sgmlOpenTag): exclude empty tags.
17148 (sgmlCloseTag): ditto.
17150 * buffer.h (pop_tag): removed.
17151 (push_tag): removed.
17153 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17155 * language.h (Languages): added size_type and size().
17157 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17159 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17160 response on compability reading of minipages. One probliem is that
17161 the old usage of minipages was «flertydig»
17163 * several files here and in subdirs: don't use static at file
17164 scope use anon namespaces instead.
17166 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17168 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17169 LaTeX output. This is necessary for Literate document
17172 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17174 * buffer.C: insert hfill when needed.
17176 * tabular.C (l_getline): use string::erase, small whitespace change.
17178 * BufferView_pimpl.C: try the anon namespace.
17179 * WorkArea.C: ditto
17181 2001-03-16 Juergen Vigna <jug@sad.it>
17183 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17184 otherwise it won't open options-dialogs.
17186 * buffer.C: honor pextraWidth(p) on converting minipages.
17188 * tabular.C (l_getline): changed the functions to strip trailing \r.
17190 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17192 * BufferView_pimpl.C:
17193 * minibuffer..C: added "using SigC::slot" declaration.
17195 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17197 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17203 * paragraph.C: ditto
17205 * lyxtext.h: NO_PEXTRA
17207 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17209 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17210 * ParameterStruct.h: ditto
17211 * ParagraphParameters.h: ditto
17212 * lyxparagraph.h: ditto
17214 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17216 * buffer.C: add compability for minipage alignment.
17217 (latexParagraphs): remove unwanted pextra check.
17219 * several files: remove CXX_WORKING_NAMESPACES
17221 * buffer.C (pop_tag): tie is in namespace boost
17223 * BufferView.h: noncopyable is in namespace boost
17225 * lyx_main.h: ditto
17228 * lastfiles.h: ditto
17229 * bufferlist.h: ditto
17230 * ShareContainer.h: ditto
17232 * LyXAction.h: ditto
17235 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17237 * Merging changes from BRANCH_MVC back into HEAD.
17239 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17241 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17243 * BufferView_pimpl.C: change from intl.C
17247 * Makefile.am: move combox.*
17253 * intl.C: remove dialog (covered by prefs)
17255 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17257 * lyxfunc.C (Dispatch): removed redundant break statement.
17259 2001-03-14 Juergen Vigna <jug@sad.it>
17261 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17263 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17265 * buffer.C: add hack to fix compability reading of minipages.
17267 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17269 * buffer.C (getLists): Cleanup.
17271 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17273 * lyxfont.C (update): don't honor toggleall on font size.
17275 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17279 * Makefile.am: moved to frontends/xforms/
17283 * BufferView_pimpl.C: changes for moved mathpanel
17285 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17287 * gettext.h: fix gettext_init() in --disable-nls
17289 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17291 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17293 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17296 * lyx.h: strip external form
17298 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17300 * BufferView_pimpl.C: add comment, destroySplash()
17302 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17304 * BufferView_pimpl.C:
17308 * lyxfunc.C: use re-worked insetinclude
17310 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17312 * buffer.C: add using std::stringstream.
17314 * lyx_cb.C: readd using std::ios.
17316 * buffer.C: add using std::map.
17318 * BufferView_pimpl.C: add using std::vector.
17320 * ShareContainer.h: add std:: to swap.
17322 * buffer.h: add some typedefs
17323 * buffer.C (getLists): use them
17324 (getLists): renamed from getTocList.
17325 add a counter for the different float types and use it in the
17327 (getLists): use the same counter for the NEW_INSETS and the "non"
17330 * lyx_cb.h: remove unused items, includes, using etc.
17332 * ShareContainer.h: remove some commented code, add more comments
17333 and "documentation".
17335 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17337 * buffer.C (getTocList): make the list also when NEW_INSETS is
17340 * buffer.h: remove TocType
17342 * buffer.C (getTocList): change to return a map<string,
17343 vector<TocItem> >, implement for dynamic number of list.
17345 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17346 * text2.C (PasteSelection): adjust
17347 * CutAndPaste.C (pasteSelection): adjust
17349 * FloatList.C (FloatList): update from the new_insets branch.
17350 * Floating.[Ch]: ditto
17351 * LaTeXFeatures.C: ditto
17353 * lyxlex_pimpl.C: ditto
17355 * paragraph.C (Last): remove when NEW_INSETS is defined.
17357 * other file: changes because of the above.
17359 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17361 * lyxparagraph.h: rename next to next_, previous to previous_,
17362 make them private for NEW_INSETS. Rename Next() to next(),
17363 Previous() to previous().
17365 * other files: changes because of the above.
17367 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17370 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17373 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17375 * main.C (main): pass lyx_localedir to gettext_init().
17377 * gettext.h: remove locale_init and gettext_init macros
17379 * gettext.C (locale_init): new function
17380 (gettext_init): new function
17382 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17385 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17387 * Moved credits to frontends:
17388 * credits.[Ch]: removed
17389 * credits_form.[Ch]: removed
17390 * lyx_gui_misc.C: remove credits stuff
17393 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17395 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17397 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17398 unneeded destructor.
17400 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17401 a standalone pointer again.
17403 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17405 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17411 * ToolbarDefaults.C:
17420 * BufferView_pimpl.C: use new file dialog in GUII
17423 * lyx_cb.C: remove LayoutsCB to Toolbar
17425 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17427 * ShareContainer.h (get): add std:: qualifier
17429 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17431 * ShareContainer.h: define a proper ShareContainer::value_type
17432 type (and use typename to please compaq cxx)
17434 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17436 * lyxparagraph.h: move serveral local vars to
17437 ParameterStruct/ParagraphParameters., use ShareContainer in
17438 FontTable., make vars in FontTable private and add getter and
17441 * paragraph.C: changes because of the above.
17443 * lyxfont.h: remove copy constructor and copy assignment. (the
17444 default ones is ok), move number inside FontBits. move inlines to
17447 * lyxfont.C: add number to initializaton of statics, move several
17448 inlines here. constify several local vars. some whitespace
17449 cleanup. Dont hide outerscope variables.
17451 * Spacing.h: add two new constructors to match the set methods.
17453 * ShareContainer.h: new file, will perhaps be moved to support
17455 * ParameterStruct.h: new file
17457 * ParagraphParameters.h: new file
17459 * ParagraphParameters.C: new file
17461 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17462 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17464 * BufferView_pimpl.C: ParagraphParameter changes.
17465 * buffer.C: Likewise.
17466 * bufferview_funcs.C: Likewise.
17467 * text.C: Likewise.
17468 * text2.C: Likewise.
17470 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17472 * lyxfind.C (LyXReplace): do not redefine default argument in
17474 (IsStringInText): ditto
17475 (SearchForward): ditto
17476 (SearchBackward): ditto
17478 2001-03-06 Juergen Vigna <jug@sad.it>
17480 * lyxfind.C (IsStringInText): put parentes around expressions.
17482 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17484 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17486 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17488 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17490 * stl_string_fwd.h: add comment
17492 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17495 * tabular.C: remove unused DocBook methods
17501 killed DO_USE_DEFAULT_LANGUAGE
17503 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17505 * lyx_gui.C: do not include language.h.
17507 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17508 arguments in function implementation.
17510 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17512 * BufferView_pimpl.C: add <ctime>
17514 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17516 * BufferView_pimpl.C: add using std::find_if
17518 2001-02-27 José Matos <jamatos@fep.up.pt>
17520 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17523 2001-02-11 José Matos <jamatos@fep.up.pt>
17525 * buffer.C (makeDocBookFile): command styles now have a parameter as
17526 "title" by default.
17528 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17530 * layout_forms.[Ch]: removed
17531 * lyx_cb.[Ch]: out character
17532 * lyx_gui.C: out character
17533 * lyx_gui_misc.C: out character
17534 * bufferview_funcs.C: : out character,
17535 added toggleall as parameter in ToggleAndShow
17537 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17539 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17541 * text2.C (SetCurrentFont): Disable number property at boundary.
17543 2001-02-26 Juergen Vigna <jug@sad.it>
17545 * lyxfunc.C (getStatus): added a string argument override function so
17546 that this is correctly called from LyXFunc::Dispatch if it contains a
17547 do_not_use_argument which is used!
17548 (Dispatch): added check for "custom" export and call appropriate func.
17550 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17552 * lyxrc.C: Add language_command_local, language_use_babel and
17553 language_global_options.
17555 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17557 * buffer.C (makeLaTeXFile): Use language_use_babel and
17558 language_global_options.
17560 2001-02-23 Juergen Vigna <jug@sad.it>
17562 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17563 which works with LyXText and putted it inside BufferView. Here now we
17564 only call for that part the BufferView::Dispatch() function.
17566 * BufferView.C (Dispatch): added.
17568 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17569 functions which needs to use a LyXText over from LyXFunc.
17570 (MenuInsertLyXFile): added
17571 (getInsetByCode): added
17572 (moveCursorUpdate): added
17573 (static TEXT): added
17575 2001-02-22 Juergen Vigna <jug@sad.it>
17577 * BufferView_pimpl.C (update): call a status update to see if LyXText
17580 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17582 * vc-backend.C (revert): implement for CVS
17583 (getLog): implement for CVS
17585 2001-02-20 Juergen Vigna <jug@sad.it>
17587 * text2.C (ClearSelection): added BufferView param for inset_owner call
17589 * lyxfunc.C (TEXT): added this function and use it instead of
17590 directly owner->view()-text of getLyXText().
17592 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17594 * src/layout_forms.C: out preamble
17595 * src/layout_forms.h: out preamble
17596 * src/lyx_cb.C: out preamble
17597 * src/lyx_cb.h: out preamble
17598 * src/lyx_gui.C: out preamble
17599 * src/lyx_gui_misc.C: out preamble
17600 * src/lyxfunc.C: connect with guii preamble
17602 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17604 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17606 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17608 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17609 whether to run bibtex.
17611 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17613 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17615 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17617 * Makefile.am (lyx_SOURCES): removed bibforms.h
17619 * vspace.h: doxygen
17621 * text.C (GetVisibleRow): make several local vars const
17623 * tabular.C: small cleanup.
17625 * lyxserver.C (callback): use compare instead of strncmp
17627 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17628 inlines to after class or to paragraph.C
17630 * lyxfont.h: remove friend operator!=
17632 * converter.h: move friend bool operator< to non friend and after
17635 * combox.h: small cleanup
17637 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17638 to inlines after class def.
17640 * buffer.C (pop_tag): use string operations instead of strcmp
17642 * bmtable.c: doxygen, small cleanup
17644 * LaTeX.h: remove friend operator==
17646 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17658 * BufferView_pimpl.C:
17659 * BufferView.[Ch]: remove cruft
17661 2001-02-14 Juergen Vigna <jug@sad.it>
17663 * lyxfunc.C: removed #if 0 unused code
17665 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17667 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17669 * text2.C (SetSelection): added a BufferView * parameter
17671 2001-02-13 Juergen Vigna <jug@sad.it>
17673 * lyxfunc.C (Dispatch): fixed protected blank problem.
17674 * BufferView2.C (protectedBlank): added LyxText * parameter.
17676 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17677 (AppendColumn): same as above for column_info.
17679 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17680 (moveCursorUpdate): use a LyXText param for support of InsetText.
17682 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17683 (tripleClick): ditto
17685 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17687 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17689 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17691 * text2.C (SetSelection): set correct update status if inset_owner
17692 (ToggleFree): ditto
17694 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17696 * tabular.C: remove some commented code.
17698 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17700 * BufferView_pimpl.C: call hideSplash()
17702 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17705 * bibforms.h: remove
17708 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17709 add LFUN_CHILD_CREATE
17711 * counters.h: fix tiny typo
17716 * lyx.C: move splash to frontends/xforms/
17718 * lyx_gui_misc.C: move Include and Bibform to frontends
17720 * lyxvc.h: clarify comment
17722 * vspace.C: tiny housekeeping
17724 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17726 * text.C (PrepareToPrint): RTL Fix.
17728 * paragraph.C (GetUChar): New method.
17729 (String): Use GetUChar.
17731 * buffer.C (asciiParagraph): Use GetUChar.
17733 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17735 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17737 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17740 * buffer.C: rename to getLogName(), handle
17741 build log / latex log nicely
17743 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17746 * MenuBackend.h: remove support for reference menuitem type.
17748 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17750 * BufferView_pimpl.C: housekeeping
17751 * BufferView_pimpl.h:
17756 * minibuffer.h: move Timeout GUI-I
17758 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17760 * lyxrc.C (read): Update converters data-structures.
17762 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17764 * LaTeX.h (operator!=): add operator != for Aux_Info
17766 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17768 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17770 * LaTeXLog.C: deleted, useful code moved to Buffer
17773 * buffer.C: new function getLatexLogName()
17779 * lyxfunc.C: use frontends for LaTeX and VC logs
17781 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17783 * LaTeX.h: yet another std:: that Allan forgot.
17785 * Variables.C (set): renamed from isset(), because this clashes
17786 with some HP-UX macros (grr).
17788 2001-02-06 Allan Rae <rae@lyx.org>
17790 * LaTeX.h: Another bug fix. Missing std:: this time.
17792 2001-02-04 Allan Rae <rae@lyx.org>
17794 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17795 floats problem. I've left it commented out because it's not quite
17796 correct. It should also test that the current object is a table or
17797 figure inset. But I haven't gotten around to figuring out how to do
17798 that. I *think* it'll be something like: "table" == inset.type()
17800 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17803 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17805 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17806 all the citation/databases/styles in the auxilary file.
17807 (run): Rerun latex if there was a babel language error.
17809 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17811 * text.C (Backspace): Preserve the font when changing newline char
17813 (BreakParagraph): If the cursor is before a space, delete the space.
17815 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17817 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17819 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17820 new argument (code).
17821 (ChangeCitationsIfUnique): New method.
17823 * paragraph.C (GetPositionOfInset): Handle bibkey.
17825 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17827 * BufferView_pimpl.h: change type of Position::par_pos to
17828 LyXParagraph::size_type.
17830 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17832 * BufferView_pimpl.C (savePosition, restorePosition): Write
17833 messages to minibuffer.
17835 2001-01-28 José Matos <jamatos@fep.up.pt>
17837 * buffer.C (makeDocBookFile): adds support for document language.
17838 A silly restriction on the name of LatexCommand types where removed.
17839 Added support for CDATA sections, allows to chars unescaped, used
17840 among others in code, to avoid escape < and >.
17842 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17844 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17845 saved positions instrad of a stack. Furthermore, a position is
17846 stored using paragraph id/paragraph position.
17848 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17849 Remove LFUN_REF_BACK.
17851 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17853 * converter.C (dvipdfm_options): New method.
17855 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17857 * vspace.C (isValidLength): Fix for empty input string.
17859 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17861 * LyXAction.C (init): change description of LFUN_FIGURE to
17864 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17866 * LaTeX.C: add using directive
17868 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17870 * MenuBackend.C (expand): Fix the sorting of the formats.
17872 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17874 * lyx_main.C: tiny error message fix
17876 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17878 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17879 calling fl_initialize(). This fixes the problem with ',' as
17880 decimal separator in text files.
17882 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17884 * trans.C (process): Fix the keymap bug.
17886 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17888 * LaTeX.C (scanAuxFiles): New method. Provides support for
17889 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17890 (scanLogFile) Scan for "run BibTeX" messages.
17892 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17893 OT1 font encoding. Also, load the aecompl package if the ae
17896 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17898 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17900 * texrow.C (increasePos): turn two error messages into debug
17903 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17905 * LaTeX.C (scanAux): Handle the \@input macro.
17906 (runBibTeX): Use scanAux().
17908 * language.C (latex_options_): New field.
17910 * LaTeXFeatures.C (getMacros): Add language macros.
17912 * buffer.C (makeLaTeXFile): Small fix.
17914 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17916 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17918 * text2.C: add a using directive.
17920 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17925 * lyxfunc.C: kill LyXBell.
17927 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17929 * text.C (IsBoundary): Remove the error message
17931 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17933 * lyxrc.C (setDefaults): Correct initialization value for
17936 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17938 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17941 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17942 and GotoNextNote().
17944 * src/LyXAction.C: Added reference-next.
17946 * text.C (InsertChar): Use contains instead of strchr.
17948 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17950 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17952 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17953 alignment commands (when needed).
17955 * text.C (InsertChar): Add ':' to number separator chars.