1 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4 make sure to set their inset_owner to the right value (bug #171)
6 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9 * DepTable.C: Implement mtime checking to reduce time spent doing
12 2002-01-16 Juergen Vigna <jug@sad.it>
14 * tabular.C (GetAdditionalHeight): one of error fixed.
16 * lyxrc.C (output): small fix in writing use_pspell.
18 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
20 * sp_base.h: #include LString.h
22 2002-01-16 Allan Rae <rae@lyx.org>
24 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
25 Can someone check this please?
27 * text.C (drawInset): It was possible that p.row would be removed by
28 breakAgainOneRow upsetting a few other settings. There may be another
29 small tweak possible by setting need_break_row = 0 when p.row has been
30 removed but I don't know enough about the logic here.
32 2002-01-15 Allan Rae <rae@lyx.org>
34 * text.C (insertChar): removed conditional truism.
36 * BufferView2.C (removeAutoInsets): More tweaks.
37 cur_par_prev could be a stray pointer. Check for trailing empty line
38 in case last line was cur_par and only had an error inset on it.
40 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
42 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
45 * vc-backend.C (most methods):
46 * exporter.C (Export):
47 * converter.C (convert):
49 * LyXSendto.C (SendtoApplyCB):
50 * lyxfunc.C (dispatch):
54 * lyx_cb.C (AutoSave):
56 * BufferView_pimpl.C (MenuInsertLyXFile):
57 * buffer.C (runChktex): use Buffer::filePath().
59 * buffer.h: rename filename to filename_; rename filepath to
60 filepath_ and make it private
61 (filePath): new method
63 * buffer.C (writeFile): use fileName()
66 * lyx_main.C (init): fix starting of LyX when the binary is a
67 link from so,ewhere else.
69 * minibuffer.C: include <cctype> for isprint
71 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
73 * buffer.C (parseSingleLyXformat2Token): changes associated with the
74 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
75 name clash with InsetCollapsable's width function.
77 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
79 * lastfiles.C: include <iterator>
81 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
83 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
86 * buffer.C (makeLaTeXFile): ditto.
87 Also make loop operation more transparent.
89 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
91 * ToolbarDefaults.C: remove trailing comma closing namespace.
93 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
95 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
98 * trans.C (Load): comment out unused variable, allowed.
100 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
102 * minibuffer.[Ch] (append_char): new method to recieve input from the
103 drop-down completion browser. If a key was pressed, then recieve this
104 char and append it to the existing string.
105 (peek_event): modify the positioning data passed to the completion
106 browser so that it can be placed above the minibuffer rather than below.
107 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
109 * LyXAction.C (init): alloe error-next for readonly documents.
111 * BufferView2.C (ChangeRefsIfUnique): use standard version of
114 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
116 * bufferlist.C (readFile): create the buffer _after_ checking that
119 * lyxfunc.C (verboseDispatch): fix handling of arguments
121 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
123 * lyxrc.C: use string::erase() instead of initializing to "".
126 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
128 * BufferView_pimpl.h:
129 * BufferView_pimpl.C:
132 * text2.C: tell X when we have made a selection for copying
134 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
136 * BufferView_pimpl.C (MenuInsertLyXFile):
137 * lyxfunc.C (menuNew):
139 (doImport): add shortcuts to directory buttons
141 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
144 * lyxfunc.C (setStatusMessage):
145 (getStatusMessage): new methods
146 (getStatus):use setStatusMessage instead of setErrorMessage
147 (dispatch): when function is disabled, set error message here
148 [instead of in getStatus previously]
150 * BufferView_pimpl.C (workAreaButtonRelease): update
151 toolbar/menubar here too.
153 2002-01-13 Allan Rae <rae@lyx.org>
155 * BufferView2.C (removeAutoInsets): finished off earlier fix.
156 Now seems indestructible. Remaining task is to audit all other
157 code affected by deleteEmptyParagraphMechanism. One small quirk
158 left is that an empty document with an error in the preamble can
159 be made to report an error but no error box appears. I don't know
161 (removeAutoInsets): Improved comments.
163 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
166 * Thesaurus.C: update for Aiksaurus 0.14
168 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
170 * text2.C (firstParagraph): removed member function, all uses
171 replaces with ownerParagraph
172 (redoParagraphs): here
174 (toggleAppendix): here
175 * BufferView2.C (insertErrors): here
176 (setCursorFromRow): here
178 2002-01-13 Allan Rae <rae@lyx.org>
180 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
181 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
182 There is still a way to segfault this although you may have to do this
183 multiple times: Have an InsetERT with an unknown command in it.
184 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
185 <down-arrow>, <Enter> again, View->DVI, BANG!
187 * text2.C (setCursor):
188 (deleteEmptyParagraphMechanism):
189 * lyxtext.h (setCursor):
190 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
191 Making use of the return value may help fix other bugs.
193 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
195 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
197 * LyXView.C (updateMenubar): call MenuBar::update here
198 (updateToolbar): but not here
199 (showState): do not update toolbar/menubar
201 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
202 should need to care about that.
204 * lyxfunc.C (verboseDispatch): simplify a bit
205 (getStatus): have a version which takes a pseudoaction, and
206 another which requires a (kb_action,string).
208 * LyXAction.C (retrieveActionArg): make it work also when action
209 is not a pseudo-action.
210 (getActionName): simplify a bit
213 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
215 * lyxfunc.C (verboseDispatch): new families of methods with
216 several ways to specify a command and a bool to indicate whether
217 the command name and shortcut should be displayed in minibuffer
218 (eventually, we could extend that to a finer bitmask like
219 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
220 (dispatch): the pristine dispatch command which just, well,
221 dispatchs! Note it still sets its result to minibuffer; I'm not
224 * lyxfunc.h: remove setHintMessage
226 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
228 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
230 * BufferView_pimpl.C (specialChar): delete new inset if we have
231 not been able to insert it.
233 * kbmap.C: revert to using int instead of kb_action, since all we
234 are dealing with is pseudo-actions.
236 * LyXAction.C (searchActionArg): change to return int instead of
237 kb_action, since the result is a pseudoaction.
239 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
241 * buffer.C (insertErtContents): Fix (partially) the font bug.
243 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
245 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
246 as the other one is broken on my machine!
248 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
251 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
253 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
255 * lyxrc.[Ch]: change names and descriptions of popup font variables to
256 reflect their actual use. Provide compatibility code for older lyxrc
259 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
261 change names of popup font variables in line with the changes to lyxrc.C
263 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
265 * buffer.C (asciiParagraph): avoid outputing a word twice after
268 * lyxrc.C (getDescription): document that document_path and
269 template_path can be empty.
271 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
273 * LaTeXFeatures.C (getMacros):
274 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
276 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
278 * LaTeXFeatures.C (useFloat): require "float" here instead of in
280 (getPackages): rename feature "floats" to "float". Use an array to
281 iterate over 'simple' features (i.e. just a \usepackage). Add
282 handling of "amsmath" (renamed from "amsstyle").
284 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
286 * LaTeXFeatures.C (require): Prevent duplicate entries in the
289 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
291 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
292 FuncStaus::FuncStatus & FuncStaus::some_method().
294 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
296 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
297 of the func_satus stuff. Edited and massaged in various ways by
300 * lyxfunc.C (getStatus): use FuncStatus
302 2002-01-08 Juergen Vigna <jug@sad.it>
304 * text.C (nextBreakPoint): use function Inset::isChar().
306 * paragraph.C (TeXOnePar): use function
307 Inset::forceDefaultParagraphs.
309 * buffer.C (latexParagraphs): use function
310 Inset::forceDefaultParagraphs.
312 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
314 * lyx_gui.C (init): set the style of the menu popups to
315 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
317 2002-01-07 Juergen Vigna <jug@sad.it>
319 * text.C (setHeightOfRow): small fix
320 (prepareToPrint): don't look at alignment if we don't have the place
323 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
325 * box.C: New file. Move the Box methods and functions out of box.h,
326 following Lars' suggestion.
328 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
330 * box.h: #include "support/LOstream.h", needed for inlined function.
333 * lyxtextclasslist.C: added some using std declarations.
335 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
337 * box.h: make signed dimensions to allow insets wider than
338 the screen (bug #162)
340 * BufferView_pimpl.C: add some insetHit debug
342 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
344 * vc-backend.C: add FIXME
346 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
348 * lyxfunc.C (getStatus): enable code for showing math font status
351 2002-01-07 Juergen Vigna <jug@sad.it>
353 * text.C (nextBreakPoint): removed debug output not needed anymore.
355 2002-01-06 Juergen Vigna <jug@sad.it>
357 * text.C (nextBreakPoint): fixed up this function we had this bug
358 since ever but now hopefully we break row better.
359 (insertChar): we have to check if an inset is the next char as it
360 could now happen that a large inset is causing a break.
362 2002-01-05 Juergen Vigna <jug@sad.it>
364 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
365 if it doesn't like to be drawed.
367 2002-01-04 Juergen Vigna <jug@sad.it>
369 * BufferView2.C (lockInset): forgot to set a cursor.
371 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
373 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
378 * form_maths_panel.C:
379 * form_maths_panel.h:
380 * form_maths_panel.fd: implemented sub- and super- buttons in math
383 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
384 (or ^ space) to be used as in TeX (req'd by André).
386 * lyxfunc.C: Allow ^ and _ again to be used both as
387 super/subscript (mathed) and as themselves (in text).
389 2002-01-03 Allan Rae <rae@lyx.org>
391 * LyXView.C (updateWindowTitle): Setup a short icon title of either
392 "LyX" or the filename of the current buffer if it has one. This is a
393 modified form of John Levon's patch.
395 * XFormsView.C (setWindowTitle): also set icon title.
397 * LyXView.h (setWindowTitle): signature changed.
398 * XFormsView.h (setWindowTitle): ditto.
400 2002-01-02 Juergen Vigna <jug@sad.it>
402 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
404 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
406 * screen.C (topCursorVisible): introduce a temp var for
407 text->cursor.row(), handle the case where this row is null. (kindo
410 * text2.C (setCursor): add a couple of asserts.
412 * paragraph.h (inset_iterator): add -> operator
414 * paragraph.[Ch] (autoDeleteInsets): remove member function
416 * BufferView2.C (removeAutoInsets): rewrite to handle the old
417 cursor pos correctly and handle inset deletion by itself.
418 (insertErrors): move iterator declaration out of for expression
420 * lyxtextclass.C: add <algorithm>
422 * Makefile.am: added the new files to sources, removed layout.C
424 * layout.C: removed file
426 * layout.h: remove LYX_DUMMY_LAYOUT
428 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
433 * lyxtextclasslist.[Ch]: new files
435 * include order changes to a lot of files, also changes because of
438 2001-12-27 Juergen Vigna <jug@sad.it>
440 * buffer.C (asciiParagraph): more fixes.
442 * tabular.C (ascii): make ascii export support export of only the
443 data separated by a column-delimiter.
444 (ascii): better support for ascii export.
446 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
448 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
450 * tabular_funcs.C: use a "using std::getline" instead of the
451 previous fix from Angus (necessary for cxx + lyxstring)
453 2001-12-24 Juergen Vigna <jug@sad.it>
455 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
457 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
458 problems. First check a minipage also if we have some ert-contents
459 (not only on par->size(), second set the right depth of the paragraph
460 on the relink to the root-paragraph-list!
462 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
463 which then did not anymore update the main paragraphs on undo/redo!
465 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
467 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
468 code. Support all font-changing funcs (even those which are not in
469 menu currently). Support for reporting font settings in
470 mathed (disabled until Andre provides a function on mathed's side).
472 * func_status.h (toggle): small helper function to set toggle
475 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
477 * tabular_funcs.C: getline -> std::getline
479 2001-12-21 Juergen Vigna <jug@sad.it>
481 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
482 accessed and could be 0 (I couldn't generate this but it seems
485 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
487 * tabular_funcs.C: add LIstream.h, move write_attribute to..
488 * tabular_funcs.h: here and include iosfwd
490 2001-12-20 Juergen Vigna <jug@sad.it>
492 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
493 inside inset but undo_par was.
495 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
497 * Thesaurus.C: always include <config.h> in sources.
501 * box.h: do not include <config.h> in header files
503 * text.C (paintLastRow): remove unused variable
505 * text.C (transformChar):
507 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
510 * font.C (width): rewrite to use uppercase() instead of
513 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
515 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
517 * lyxfind.C: clean up of find failure position change
519 2001-12-20 Juergen Vigna <jug@sad.it>
521 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
523 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
524 (TeXRow): added to LaTeX a single tabular row.
525 (TeXLongtableHeaderFooter): added to output LT-h/f data.
526 (Latex): simplified and finally good LT-h/f support.
527 (various_functions): just small adaptions for LT-h/f support.
529 * tabular_funcs.[hC]: added and moved here all not classfunctions
532 2001-12-19 Juergen Vigna <jug@sad.it>
534 * tabular.[Ch]: better support for longtabular options (not finished
537 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
539 * text.C (paintLastRow): use the label font instead of the font of
540 the last character to compute the size of *_BOX. This makes more
541 sense and avoids a crash with empty paragraphs.
542 Use Painter::rectangle to draw EMPTY_BOX.
544 2001-12-19 Juergen Vigna <jug@sad.it>
546 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
547 the paragraphs if the replaced paragraph is not the first one!
548 Tried to delete not used paragraphs but does not work yet so for
549 now it's inside #ifdef's and by default off!
551 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
553 * MenuBackend.C: include "lyx_main.h" instead of declaring
554 lastfiles (actually was declared as LastFiles* instead of a
557 2001-12-17 Juergen Vigna <jug@sad.it>
559 * tabular.C (AppendColumn): applied John's fix
561 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
565 * BufferView_pimpl.h:
566 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
569 * box.h: new start of class for above
571 * lyxfunc.C: ignore space-only minibuffer dispatches.
572 Show the command name when it doesn't exist
574 * minibuffer.C: don't add empty lines to the history
576 * minibuffer.C: add a space on dropdown completion
578 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
580 * text.C: fix line above/below drawing in insets
582 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
584 * lyxlength.C (LyXLength): Initialize private variables.
586 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
588 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
589 when inserting error insets.
591 2001-12-13 Juergen Vigna <jug@sad.it>
593 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
594 actually sometimes the before-paragraph.
595 (setUndo): don't clear the redostack if we're not actually undoing!
597 2001-12-06 Juergen Vigna <jug@sad.it>
599 * undo_funcs.C (textHandleUndo): well after John's hint I got here
600 and fixed redoing of main paragraph, so we can use it now ;)
602 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
604 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
606 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
609 2001-12-13 André Pönitz <poenitz@gmx.net>
612 * undo_func.C: minor cleanup
614 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
616 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
617 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
618 font in urw-fonts package which is marked as -urw-fontspecific and
619 does not work (incidentally, changing the encoding in the
620 fonts.dir of this package to -adobe-fontspecific fixes the
623 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
624 is a crash when undoing first paragraph (Juergen, please take a
625 look). THis does not mean the undo fix is wrong, just that it
628 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
629 the (Paragraph*) version when needed instead of duplicating the
632 * text.C (workWidth): use Inset::parOwner to find out where the
633 inset has been inserted. This is a huge performance gain for large
634 documents with lots of insets. If Inset::parOwner is not set, fall
635 back on the brute force method
637 * paragraph_pimpl.C (insertInset):
638 * paragraph.C (Paragraph):
639 (cutIntoMinibuffer): set parOwner of insets when
640 inserting/removing them
642 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
644 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
650 * mathed/formulabase.C:
651 * mathed/math_cursor.[Ch]:
652 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
655 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
657 * lyxlength.[Ch] (operator!=): new function
659 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
661 * text.C (workWidth): use Inset::parOwner to find out where the
662 inset has been inserted. This is a huge performance gain for large
663 documents with lots of insets. If Inset::parOwner is not set, fall
664 back on the brute force method
666 * paragraph_pimpl.C (insertInset):
667 * paragraph.C (Paragraph):
668 (cutIntoMinibuffer): set parOwner of insets when
669 inserting/removing them
671 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
673 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
675 * tabular-old.C (getTokenValue):
676 * tabular.C (getTokenValue):
677 (write_attribute): new versions for LyXLength
678 (everywhere): adjust the use of widths
680 * tabular.h: change the type of widths from string to LyXLength
682 2001-12-11 Ben Stanley <bds02@uow.edu.au>
684 * paragraph.C: fixed missing line number count when exporting
685 Environments to LaTeX file
687 * buffer.C: added informational message for checking line numbers.
689 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
691 * text2.C (deleteEmptyParagraphMechanism): if there is only one
692 paragraph, do the 'double space' part, but not the 'empty
695 * text.C (workWidth): small optimization
696 (getLengthMarkerHeight): use minimal size for negative lengths.
698 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
700 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
702 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
704 2001-12-11 André Pönitz <poenitz@gmx.net>
707 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
709 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
711 * text2.C: keep selection on a setFont()
713 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
715 * lyx_cb.C: another bv->text misuse, from insert label
717 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
720 * kbsequence.C: re-instate nmodifier mask
722 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
724 * lyx_main.h: make lyxGUI private.
726 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
728 * lyxfind.C: place the cursor correctly on failed search
730 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
732 * text.C (getLengthMarkerHeight): for small heights, the arrows
733 are not always on top/bottom of the text
734 (drawLengthMarker): smaller arrows; take the left margin in
735 account; draw also vfills.
737 (paintLastRow): remove special code for vfill and standard spaces,
738 since everything is handled in drawLengthMarker now.
740 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
742 * buffer.C (insertErtContents): try to handle font and language
743 interaction a bit better.g
745 * ColorHandler.C (updateColor): change the hash to cover the whole
746 LColor enum, ws cleanup
747 (getGCLinepars): ditto
748 (getGCLinepars): only lookup in the linecache once.
750 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
752 * iterators.C (operator++): Make the iterator more robust
754 * BufferView2.C (removeAutoInsets): Use paragraph iterators
756 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
758 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
761 * text.C: better added space drawing
763 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
766 * BufferView2.C: fix layout combo update on inset unlock
768 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
770 * Makefile.am: don't compile unused files
772 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
776 * LyXAction.C: remove old LFUN_LAYOUTNO
778 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
781 * paragraph_pimpl.C: isTextAt() doesn't need font param
783 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
786 * lyxlex.C: little cleanup
788 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
790 * BufferView_pimpl.C: fix insertAscii for insets
792 2001-12-05 Juergen Vigna <jug@sad.it>
794 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
795 set the right font on the "multi" paragraph paste!
797 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
803 * lyxlength.C: remove out-commented code.
819 * vc-backend.C: change "while(" to "while ("
821 * lyxlength.[Ch]: add zero function to check if length is zero or
823 * lyxgluelength.C: use it
825 2001-12-05 Allan Rae <rae@lyx.org>
827 * lyxlength.C: Attempted a fix for the abs(int) header selection.
828 Works for 2.95.3, from what I understand of Garst's reports this should
829 work for other g++ versions. We're screwed if the abs(int) definition
830 changed between bugfix releases of gcc.
832 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
834 * text.C: fix chapter label offset !
836 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
839 * text.C: fix hfill at end of line, clean up
841 2001-12-04 Juergen Vigna <jug@sad.it>
843 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
844 that we force an update of the inset and it's owners if neccessary.
846 2001-12-03 Juergen Vigna <jug@sad.it>
848 * text.C (rowLast): simplified code
850 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
852 * lyxfunc.C: fix show options on timeout
854 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
856 * screen.C (topCursorVisible): scroll half a page when the cursor
857 reached top of bottom of screen
859 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
861 * minibuffer.C: deactivate on loss of focus
863 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
865 * vspace.[Ch] (operator!=): add operator.
867 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
869 * BufferView_pimpl.C: refuse to open an inset when
872 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
874 * BufferView_pimpl.C: allow to click on RHS of full row insets
876 2001-11-30 Juergen Vigna <jug@sad.it>
878 * tabular.C (LyXTabular): add a same_id to set the same id's in the
879 insets for undo reasons.
881 2001-11-28 André Pönitz <poenitz@gmx.net>
883 * vspace.[Ch]: cosmetical changes
885 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
895 * kbsequence.C: part re-write of old kb code
898 * WorkArea.C: remove Lgb_bug_find_hack
900 2001-11-30 José Matos <jamatos@fep.up.pt>
902 * buffer.C (makeDocBookFile): add a comment to point a hack.
903 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
904 Fixed a double write of labels.
906 2001-11-29 Ben Stanley <bds02@uow.edu.au>
909 * LaTeX.h Fixed bug in LaTeX class where it would not
910 re-run latex if no depfiles were changed, but the .dvi was removed.
912 2001-11-28 André Pönitz <poenitz@gmx.net>
914 * all the files from the change on 2001/11/26:
915 use lyx::layout_type instead of LyXTextClass::size_type
916 use lyx::textclass_type instead of LyXTextClassList::size_type
918 2001-11-29 Juergen Vigna <jug@sad.it>
920 * text.C: added support for paragraph::isFreeSpacing()
922 * buffer.C: same as above
924 * paragraph.h: inserted isFreeSpacing() function to enable
925 FreeSpacing inside InsetERT.
927 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
928 of the paragraph's in the cut/copy buffer to 0!
930 * text2.C (removeRow): remove the assert as it can!
932 * lyxtext.h: added helper function firstRow returning firstrow and
933 made firstrow private again.
935 * BufferView2.C (lockInset): don't relock if we're already locked!
937 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
939 (removeRow): added Assert::(firstrow)
941 * debug.C: forgot to add INSETTEXT here.
943 2001-11-28 Juergen Vigna <jug@sad.it>
945 * sp_spell.C (initialize): changed error text to more general
946 spellchecker command use (not only ispell!)
948 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
950 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
952 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
954 * vspace.C: initialise lyxgluelength on failure
956 2001-11-28 Allan Rae <rae@lyx.org>
958 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
959 declaration & definition that looks like a function declaration.
961 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
963 * BufferView2.C (copy):
964 (copyEnvironment): do not clear the selection when doing a copy.
966 * text.C (paintFirstRow): compilation fix
968 2001-11-27 Ben Stanley <bds02@uow.edu.au>
970 * tabular.C (Latex): correct line count when writing latex.
972 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
975 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
978 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
982 * LColor.C: change vfillline->added_space
984 * text.C: add markers and text for added space
986 * vspace.C: fix comment
988 2001-11-28 André Pönitz <poenitz@gmx.net>
990 * paragraph.C: whitespace changes
991 * all the other files from the change on 2001/11/26:
992 change *::pos_type into lyx::pos_type
994 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
996 * buffer.C (parseSingleLyXformat2Token): Set the language to the
997 language of the document when inserting error insets.
999 2001-11-26 André Pönitz <poenitz@gmx.net>
1001 * BufferView_pimpl.[Ch]:
1009 * paragraph_pimpl.[Ch]:
1012 * text2.C: reduce header dependencies, introduce type for positions
1014 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1016 * <various>: change to use Alert.h
1018 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
1020 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
1021 when encountering an unknown token.
1022 (readLyXformat2): Show an error message if there were unknown tokens.
1024 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
1027 * BufferView_pimpl.C:
1031 * text2.C: use par->isInset()
1033 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
1035 * paragraph_pimpl.h:
1036 * paragraph_pimpl.C: cleanup
1038 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1040 * text2.C (removeRow):
1041 * text.C (setHeightOfRow): remove useless (and costly) call to
1044 2001-11-20 Allan Rae <rae@lyx.org>
1046 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
1047 Now need Inset*::checkInsertChar() to return true for appropriate
1048 cases so that the characters in the minibuffer will actually be
1051 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
1053 * text.C: change the order of the includes.
1054 (workWidth): initialize it at once.
1055 (workWidth): make maxw unsigned
1056 (setHeightOfRow): remove unused variable (inset)
1057 (selectSelectedWord): remove unused variable (inset)
1058 (paintRowText): fix drawing of hfill characters, and clean up a bit.
1060 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1062 * lyxserver.C (emergencyCleanup): do not try to close pipes if
1063 server is not running.
1065 (closeConnection): add debug info when server is disabled.
1067 * ColorHandler.C (getGCForeground): send debug message to GUI
1070 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
1072 * kbmap.C (bind): modify because return conventions of
1073 kb_sequence::parse have changed.
1075 * kbsequence.C (parse): only ignore spaces and not any stupid
1076 control character. This avoids tests like s[i] <= ' ', which are
1077 guaranteed to fail with 8bit characters and signed chars.
1078 Change return code to string::npos when there have been no error
1079 (0 was a bad idea when error is at first character)
1081 2001-11-14 José Matos <jamatos@fep.up.pt>
1084 * buffer.C (simpleDocBookOnePar): removed unused argument.
1086 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1088 * text.C (selectNextWordToSpellcheck): do not test explicitely for
1089 insets which are part of a word. Paragraph::isLetter takes care of
1090 that now. Use Paragraph::isInset to identify insets.
1091 (selectSelectedWord): do not test for hyphenation break.
1093 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
1094 that protected spaces are considered as spaces.
1096 * paragraph.C (isLetter): cleanup the code for ispell extras; use
1099 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
1102 * lyxserver.C: fix it. and small cleanup.
1104 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1106 * BufferView_pimpl.C: use inline helpers
1109 * LaTeXFeatures.C: fix typos
1112 * Spacing.C: move spacing_string into class
1114 * ToolbarDefaults.C: move stuff into namespace anon
1116 * layout.h: update enum
1118 * lyxfunc.C: use better debug
1120 * minibuffer.h: fix typo
1124 * WorkArea.C: add and use Debug::WORKAREA
1128 * text2.C: code re-organisation, inline helpers
1130 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
1132 * Layout.C: replaced a few cases of std::vector.size() == 0 with
1133 std::vector.empty().
1135 2001-11-09 Allan Rae <rae@lyx.org>
1137 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
1138 '\n's after tables. Tabular and ERT inset work now makes this no
1141 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
1144 * minibuffer.C: fix crash, improve drop-down completion
1146 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
1149 * lyxserver.C: invalidate fd's when doing endPipe()
1151 2001-11-08 José Matos <jamatos@fep.up.pt>
1153 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
1154 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
1157 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
1159 2001-11-07 José Matos <jamatos@fep.up.pt>
1162 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
1165 * buffer.C (sgmlOpenTag):
1166 * buffer.C (sgmlCloseTag): removed debug info.
1168 * buffer.h (sgmlOpenTag):
1169 * buffer.h (sgmlCloseTag): made public.
1171 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1173 * buffer.C (saveParamsAsDefaults):
1174 * lyx_cb.C (MenuLayoutSave): remove
1176 * LyXAction.C (init):
1178 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
1180 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1182 * buffer.C (setPaperStuff): removed from here...
1184 * bufferparams.C (setPaperStuff): ... and moved there.
1186 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
1190 * XFormsView.C: add support for drop-down completion
1192 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
1194 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
1197 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1199 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
1202 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
1204 * lyx_main.C: change ref to known bugs
1206 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
1208 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
1209 to work around older babel problems.
1211 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
1213 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
1215 2001-10-24 Juergen Vigna <jug@sad.it>
1217 * tabular-old.C (ReadOld): below variable changes reflected.
1219 * tabular.[Ch]: added ltType struct for longtable header/footer
1220 defines and changed all instances where they are used. Added
1221 future support for double top/bottom rows.
1223 2001-10-24 José Matos <jamatos@fep.up.pt>
1225 * buffer.h (docbookHandleCaption):
1226 * buffer.C (docbookHandleCaption): removed unused function.
1227 (makeDocBookFile): moved docbook supported version to v4.1.
1229 2001-10-24 José Matos <jamatos@fep.up.pt>
1232 * tabular.C (docbookRow): new function to export docbook code of a row.
1233 (DocBook): now honors the longtable flags.
1235 2001-10-23 José Matos <jamatos@fep.up.pt>
1238 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
1239 of the lyx defined sgml entities used in a docbook/linuxdoc document.
1241 * buffer.C (makeLinuxDocFile):
1242 (makeDocBookFile): reworked the preamble, more clean, and with
1243 support for lyx defined entities. Changed the document declaration
1244 to be more XML friendly.
1246 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
1247 if we need to output XML that should be done with a filter.
1249 2001-10-22 Juergen Vigna <jug@sad.it>
1251 * sp_pspell.h (class PSpell): add alive function needed in the
1252 controller to see if the spellchecker could be started.
1254 2001-10-22 Juergen Vigna <jug@sad.it>
1256 * buffer.C (insertStringAsLines): modify the font for inserting
1257 chars in certain conditions by calling checkInsertChar(font).
1259 2001-10-19 Juergen Vigna <jug@sad.it>
1261 * text.C (workWidth): use getRow instead of wrong algorithm.
1262 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
1264 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1269 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
1271 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1273 * text.C (workWidth): do not search for the exact row when
1274 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
1275 optimization for big documents.
1277 2001-10-18 Juergen Vigna <jug@sad.it>
1279 * text.C (workWidth): new function with added Inset * parameter.
1281 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1283 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
1285 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
1286 change return type of getColumnNearX.
1289 * text.C (changeRegionCase): use uppercase/lowercase instead of
1292 (rightMargin): simplify code by factoring out the uses of
1297 (appendParagraph): use Paragraph::size_type
1299 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1301 * vspace.C (asLatexString): add a missing break
1303 2001-10-15 Herbert Voss <voss@perce.de>
1305 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
1307 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1309 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
1312 2001-10-10 André Pönitz <poenitz@gmx.net>
1314 * lyxfunc.C: removed greek_kb_flag.
1316 2001-10-10 Herbert Voss <voss@perce.de>
1318 * lyx_main.C: delete global string help_lyxdir.
1320 2001-10-09 Herbert Voss <voss@perce.de>
1322 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
1324 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
1326 * lyx_main.C: added global string help_lyxdir.
1328 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
1330 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1332 * lyxrc.C (set_font_norm_type): support iso8859-4
1334 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1336 * LaTeX.C (deplog): add another regex for MikTeX
1338 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
1340 * lyxrc.C (set_font_norm_type): support iso8859-3
1342 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1344 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
1346 * LaTeXFeatures.C: remove special case of french and index
1348 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
1349 before \begin{document}). This solves several incompatibilities.
1351 2001-10-03 Garst Reese <reese@isn.net>
1353 * lyx_cb.C: change CheckTex error msg.
1355 2001-10-03 José Matos <jamatos@fep.up.pt>
1357 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
1359 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1361 * .cvsignore: update
1363 * lyx_main.C (commandLineVersionInfo): use new style version info.
1365 * buffer.C (writeFile):
1368 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
1370 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
1372 * version.h: update to use stuff in version.C
1374 * version.C.in: new file. Contains version information determined
1375 at compile time. This is a merging of version.h and
1378 2001-10-03 Juergen Vigna <jug@sad.it>
1380 * BufferView_pimpl.C (update): don't change "dirty" status in
1383 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
1385 * WorkArea.C (c-tor): re-position version string slightly.
1387 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
1389 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
1390 revert to previous code.
1392 WorkArea.[Ch]: (show, destroySplash): methods removed.
1394 WorkArea.C: rework code so that it's an amalgam of the codes before and
1395 after the splash screen was moved to WorkArea.
1397 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1400 * vspace.C (inPixels):
1403 * buffer.C (insertStringAsLines):
1404 (asciiParagraph): fix types to be large enough
1406 * lyxlex_pimpl.h: change member status from short to int
1408 * layout.h: fix type of endlabeltype
1411 * kbsequence.C (parse): change return type to string::size_type
1413 * LaTeX.C (updateBibtexDependencies): comment out unneeded
1416 * Bullet.C (bulletSize):
1417 (bulletEntry): do not use short ints as parameters
1419 * BufferView2.C (insertLyXFile): change a char to an int.
1421 * WorkArea.C (WorkArea): remove unneeded floats in computation
1423 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
1425 * buffer.C (asciiParagraph): Treat '\\' as other chars.
1427 * paragraph.C (asString): Do not ignore newline/hfill chars when
1428 copying to the clipboard.
1430 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
1432 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
1433 after a multi-line inset.
1435 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
1437 * paragraph.C (validate): Set NeedLyXFootnoteCode
1439 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1441 * lyxfont.C (LyXSizeNames): changed increase-error to increase
1442 and decrease-error to decrease.
1444 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1446 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
1447 it more readable (should be equivalent)
1449 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
1451 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
1453 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1455 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
1456 of a cursor (row, etc.) after a character has been deleted
1457 (deleteEmptyParagraphMechanism): call the method above on _all_
1458 cursors held by the LyXText when a double space has been
1461 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
1463 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
1465 (resizeCurrentBuff): remove code to destroy the old splash dialog.
1467 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
1468 background. Use greyOut() and the new show() methods to toggle between
1469 the foreground and background. Add code to remove the splash after
1470 its initial showing.
1472 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
1473 (create_forms): no longer call Dialogs::showSplash.
1475 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1477 * .cvsignore: add version_info.h
1479 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1481 * version_info.h.in: new file
1483 * Makefile.am: add version_info.h.in
1485 * lyx_main.C (commandLineVersionInfo): use version_info defined in
1486 version_info.h instead of VERSION_INFO
1488 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1490 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
1491 The ERT inset now returns string().
1493 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1495 * lyxtext.h, text.C (selectNextWord): renamed as
1496 selectNextWordToSpellcheck.
1498 * text.C (selectNextWordToSpellcheck): Modified to not select
1499 words inside an ERT inset.
1501 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1503 * lyx_cb.C (MenuLayoutSave): change a bit the question
1505 * sp_base.h: include <sys/types.h>
1507 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
1509 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
1511 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
1513 * several files: fix typos in user-visible strings
1515 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1517 * text2.C (pasteSelection): do not set the selection, since it
1518 will be cleared later. Actually, the intent was to fix the way the
1519 selection was set, but I figured rmoving the code was just as good.
1521 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
1523 * FontLoader.C (available): Check if font is available without
1526 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1528 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
1530 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
1532 * lyxrc.[Ch]: added display_graphics variable and associated code.
1534 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1536 * bufferparams.C (hasClassDefaults): new method. Returns true if
1537 the buffer parameters correspond to known class defaults
1539 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
1541 * XFormsView.C (show): set minimum size to the main window.
1543 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1545 * text2.C (copySelection):
1547 * lyxfind.C (LyXReplace):
1548 * BufferView_pimpl.C (Dispatch): pass the correct flag to
1549 LyXText::selectionAsString.
1551 * paragraph.C (asString): add "label" argument to the second form
1553 * text2.C (selectionAsString): add "label" argument and pass it to
1554 Paragraph::asString.
1556 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1558 * lyx_main.C (commandLineHelp): remove version information
1560 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
1562 * lyx_main.C: add -version commandline option
1564 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1566 * paragraph.h: make the optional constructor arg required instead.
1567 some modifications to other files because of this.
1569 * minibuffer.C (C_MiniBuffer_peek_event): make it static
1571 * lyxserver.C (C_LyXComm_callback): make it static
1573 * lyx_main.C (error_handler): make it static
1575 * lyx_gui.C (LyX_XErrHandler): make it static
1577 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
1579 * WorkArea.C: make the extern "C" methods static.
1581 * Makefile.am (lyx_LDADD): simplify
1583 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1585 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
1586 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
1588 * LyXAction.C (init):
1589 * lyxfunc.C (dispatch): associated code removal.
1591 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1593 * lyxfont.h (isSymbolFont): shut off warning
1595 * text.C (setHeightOfRow):
1596 (getVisibleRow): fix crash with empty paragraphs which have a
1599 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1601 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
1604 2001-09-04 José Matos <jamatos@fep.up.pt>
1607 * tabular.C (docbook): rename docBook method to docbook.
1609 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1611 * Makefile.am: add dependencies to main.o.
1613 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
1615 * FontLoader.C (available): Return false if !lyxrc.use_gui
1617 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
1619 * FontInfo.C (query):
1620 * converter.C (view):
1621 * importer.C (Import):
1622 * exporter.C (Export): Can not -> cannot.
1624 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
1626 * BufferView_pimpl.C: allow to create index inset even if
1629 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1631 * buffer.C (getLists): replace boost::tie code with an explicit pair
1632 as boost::tie can break some compilers.
1634 * iterators.h: Added a std:: declaration to the return type of
1637 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
1639 * lyxrc.C: add help for view_dvi_paper_option, default to safe
1642 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
1644 * iterators.[Ch]: New files. Provide paragraph iterators.
1646 * buffer.C (changeLanguage): Use paragraph iterators.
1647 (isMultiLingual): ditto
1649 * BufferView2.C (ChangeInsets): Use paragraph iterators.
1651 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
1653 * FontLoader.C: Support for cmr font.
1655 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
1657 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
1658 (available): New method.
1660 * FontInfo.C (getFontname): Use scalable fonts even when
1661 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
1664 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1666 * converter.C (Formats::view): reverted! Incorrect fix.
1668 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1670 * converter.C (Formats::view): only output the -paper option
1671 if the dvi viewer is xdvi, thereby fixing bug #233429.
1673 2001-08-23 Herbert Voss <voss@perce>
1675 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
1677 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
1679 * Spacing.h (Spacing): Set space to Default on in the default
1682 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
1684 * vc-backend.h (RCS::versionString): add RCS to version
1685 (CVS::versionString): add CVS to version
1687 * vc-backend.C (scanMaster): do not add CVS to version.
1688 (scanMaster): do not add RCS to version
1690 * lyxvc.C (versionString): new method
1692 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
1694 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1696 * Spacing.C (set): initialize fval
1698 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
1700 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
1703 2001-08-16 Juergen Vigna <jug@sad.it>
1705 * lyxfunc.C (dispatch): implemented the new FINISHED states.
1707 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1709 * BufferView_pimpl.C:
1712 * text2.C: setParagraph takes linespacing now
1714 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
1716 * LyxAction.C: add internal LFUN_CITATION_INSERT
1718 * LyXView.C: actually apply fix
1720 * bufferlist.C: fix open non-existent file
1722 * lyxfind.C: fix indentation
1724 * lyxfunc.C: remove unneeded assert, fix typo
1726 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1728 * MenuBackend.C: use "Floatname List"
1730 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
1732 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
1733 when converting LaTeX layout to insetERT.
1734 Generate a non-collapsed float when reading old float
1736 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1738 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
1741 2001-08-13 Juergen Vigna <jug@sad.it>
1743 * text.C (fill): return 0 instead of 20 as this seems to be the more
1746 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1748 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
1751 2001-08-13 Juergen Vigna <jug@sad.it>
1753 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
1755 (SearchBackward): comment out the unlocking of the inset_owner this
1756 should not be needed!
1758 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
1760 * Many files: Remove inherit_language, and add latex_language
1762 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
1765 2001-08-10 Juergen Vigna <jug@sad.it>
1767 * text.C (prepareToPrint): fixed hfill-width in draw!
1769 * BufferView2.C (selectLastWord): save the selection cursor as this
1770 now is cleared in the function LyXText::clearSelection!
1772 2001-08-08 Juergen Vigna <jug@sad.it>
1774 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
1775 BACKSPACE type functions.
1777 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
1778 is only cutted from the document but not put in the cut-buffer, where
1779 still the old stuff should be.
1781 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
1783 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
1785 * tabular.C (SetWidthOfCell): fixed special case where the width
1787 (LeftLine): handle '|' in align_special.
1789 (LeftAlreadyDrawed): ditto
1790 (SetWidthOfCell): ditto
1792 2001-08-07 Juergen Vigna <jug@sad.it>
1794 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
1796 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1798 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
1799 * lyxlex.[hC]: ditto
1801 2001-08-06 Juergen Vigna <jug@sad.it>
1803 * text.C (getVisibleRow): fix up row clearing a bit.
1805 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1807 * minibuffer.C: make sure the X server sees the changes in the input.
1809 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1811 * paragraph.C (getFont): split into...
1812 (getLabelFont): this
1813 (getLayoutFont): and this
1814 * paragraph_pimpl.C (realizeFont): calling this
1816 * text2.C (getFont): split into...
1817 (getLayoutFont): this
1818 (getLabelFont): and this
1819 (realizeFont): all three calling this
1821 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
1824 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1826 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
1828 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
1830 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
1831 layouts from the Quote inset insertion.
1833 2001-08-03 Juergen Vigna <jug@sad.it>
1835 * BufferView_pimpl.C (update): do the fitCursor only at the end!
1837 * screen.C (drawFromTo): don't call fitcursor here and do the loop
1838 only if status not is already CHANGED_IN_DRAW (second level).
1840 * text.C (draw): don't set the need_break_row when inside an
1843 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1845 * buffer.C (parseSingleLyXformat2Token): handle more latex
1848 * bufferview_funcs.[hC]: change function names to
1849 begin with small char, adjust other files.
1851 2001-08-02 André Pönitz <poenitz@gmx.net>
1854 BufferView_pimpl.C: remove broken special code for math-greek
1856 2001-08-02 Juergen Vigna <jug@sad.it>
1858 * BufferView_pimpl.C (update): redone this function so that we
1859 update the text again if there was a CHANGE_IN_DRAW.
1861 * screen.C (cursorToggle): removed LyXText parameter and recoded.
1862 (drawFromTo): added a new internal bool which is used by draw() and
1864 (general): some cursor drawing problems fixed.
1866 2001-08-01 Juergen Vigna <jug@sad.it>
1868 * lyxfind.C (LyXFind): fixed
1869 (SearchForward): ditto
1870 (SearchBackward): ditto
1872 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
1873 spurius drawing of the cursor in the main area.
1875 * text2.C (status): small fix which could lead to a segfault!
1876 (clearSelection): remove unneeded BufferView param.
1878 2001-08-01 André Pönitz <poenitz@gmx.net>
1880 * lyxfunc.C: small change due to changed mathed interface
1882 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1884 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
1886 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1888 * lyxfunc.c: fail gracefully if file doesn't exist
1893 * BufferView_pimpl.C: IsDirWriteable() proto changed
1895 * LyXView.C: fix updateWindowTitle() to store the last title
1897 2001-07-31 Juergen Vigna <jug@sad.it>
1899 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
1900 the font (wrong since using of Paragraph::highestFontInRange).
1902 * paragraph.C (highestFontInRange): added a default_size parameter.
1904 * text.C (getVisibleRow): minor clear row changes (still not perfect).
1905 (setHeightOfRow): reformat
1907 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1909 * converter.[hC] + affected files: move to (inital-char)lowercase
1912 * ParagraphParameters.C (ParagraphParameters): remove commented code
1914 * PainterBase.[Ch]: remove commented code
1916 * LaTeXFeatures.h: add "bool floats" for float.sty
1918 * LaTeXFeatures.C (LaTeXFeatures): init floats
1919 (require): handle float
1920 (getPackages): do it with floats
1922 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1924 * BufferView_pimpl.C (Dispatch): improve handling of
1925 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
1927 * commandtags.h: #include lyxfont.h here temporarily to avoid
1930 * bufferlist.h: include LString.h here.
1932 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1934 * text2.C (getStringToIndex): new method.
1936 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
1938 * *: Reduced header file dependencies all over.
1940 2001-07-30 Baruch Even <baruch@lyx.org>
1942 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
1944 2001-07-29 Baruch Even <baruch@lyx.org>
1946 * buffer.C (readInset): Changed GRAPHICS to Graphics.
1948 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1950 * ParameterStruct.h (endif): add a default constructor to make
1951 sure that all variables is initialized.
1953 * ParagraphParameters.C (ParagraphParameters): adjust
1955 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1957 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
1958 index; also, check that there is something to index, and that it
1959 does not span over several paragraphs.
1960 (doubleClick): use WHOLE_WORD_STRICT for double click.
1962 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
1964 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
1967 2001-07-26 Baruch Even <baruch@lyx.org>
1969 * buffer.C (readInset): Changed to call up InsetGraphics when reading
1970 an InsetFig figure, backwards compatible reading of old figure code.
1972 2001-07-27 Juergen Vigna <jug@sad.it>
1974 * text2.C: font.realize function adaption.
1976 * text.C (draw): add a warnings lyxerr text if needed.
1978 * layout.C: font.realize function adaption.
1980 * language.C: add inherit_language and implement it's handlings
1982 * bufferview_funcs.C (StyleReset): remove language parameter from
1983 font creation (should be language_inherit now).
1985 * bufferparams.C (writeFile): handle ignore_language.
1987 * paragraph.C (getFontSettings): the language has to be resolved
1988 otherwise we have problems in LyXFont!
1990 * lyxfont.C (lyxWriteChanges): added document_language parameter
1991 (update): removed unneeded language parameter
1993 * paragraph.C (validate): fixed wrong output of color-package when
1994 using interface colors for certain fonts in certain environments,
1995 which should not seen as that on the final output.
1997 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1999 * BufferView_pimpl.C:
2004 * LyXAction.C: add thesaurus support
2007 * lyxfind.C: add "once" parameter, for thesaurus, to not
2008 move to the next match
2010 2001-07-26 Juergen Vigna <jug@sad.it>
2012 * lyxfont.C (realize): honor ignore_language too!
2015 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
2017 * text.C (draw): one place more for ignore_language to not draw
2020 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
2022 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
2024 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2026 * buffer.C (parseSingleLyXformat2Token): a more general fix for
2027 the minipage conversion problem.
2029 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2031 * buffer.C (parseSingleLyXformat2Token): check minipage if we
2034 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2036 * BufferView.h: don't forward declare WorkArea
2038 * BufferView.C: don't include WorkArea.h
2040 2001-07-25 André Pönitz <poenitz@gmx.net>
2044 * lyxfunc.C: new LFUN 'math-space'
2046 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
2048 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2050 * text2.C (toggleInset): call open/close
2052 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2054 * lyxfunc.C (dispatch): add debug for the disabled case
2056 * font.C (buttonText): make similar to rectText
2058 * buffer.C (readInset): comment out parsing of insetlist and
2061 * PainterBase.C (rectText): small correction
2063 * BufferView_pimpl.C: comment out insettheorem and insetlist
2064 * LyXAction.C: ditto
2065 * commandtags.h: ditto
2067 2001-07-24 Juergen Vigna <jug@sad.it>
2069 * text.C (draw): honor the ignore_language.
2071 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
2073 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2075 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
2078 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2080 * lyxtext.h: remove unused (and unimplemented) methods
2082 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2084 * text.C (getVisibleRow): honor background color
2087 * Painter.h: remove default color argument for fillRectangle
2089 * text.C (backgroundColor): new method
2091 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2093 * text.C (getVisibleRow): adjust
2095 * font.[Ch] (rectText): new method, metrics
2096 (buttonText): new method, metrics
2098 * PainterBase.[hC]: make rectText and buttonText always draw and take
2101 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2103 * ToolbarDefaults.C (read):
2104 * MenuBackend.C (read): allow escaping in all strings
2106 * BufferView_pimpl.C (insertAndEditInset): new method.
2107 (Dispatch): use insertAndEditInset whenever appropriate.
2109 * BufferView_pimpl.C (insertNote): removed
2111 * BufferView_pimpl.C (smartQuote): new method, moved from
2112 BufferView; if an insetquote cannot be inserted, insert a '"'
2115 * BufferView2.C: remove insertCorrectQuote();
2117 * lyxfunc.C (getStatus): Add support for all remaingin
2120 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
2122 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
2123 command (necessary to pass " as parameter of self-insert.
2125 * text.C (selectWordWhenUnderCursor):
2126 (selectWord): add word_location parameter
2127 (selectWordWhenUnderCursor): same + remove special code for word
2129 (selectNextWord): use kind() to guess type of insetspecialchar,
2132 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
2133 (insertErtContents): create ert insets as collapsed.
2134 (readInset): better compatibility code for Info inset.
2136 2001-07-20 Juergen Vigna <jug@sad.it>
2138 * lyxfunc.C (dispatch): use always LyXFind now!
2140 * text2.C (init): add a reinit flag so that the LyXText can be
2141 reinited instead of deleted and reallocated (used in InsetText).
2143 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
2149 2001-07-18 Juergen Vigna <jug@sad.it>
2151 * text.C (selectNextWord): handle insets inside inset by calling
2152 always the bv->text functions so that we can go up the_locking_inset!
2154 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
2155 in strange locations when inside an inset!
2157 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
2158 handling to include insets.
2160 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
2162 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2164 * LyXAction.C (init):
2166 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
2167 LIGATURE_BREAK, since the name is so stupid.
2169 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2171 * buffer.C (readInset): enable reading of new InsetNotes as well as old
2174 * FontLoader.C: remove FORMS_H_LOCATION cruft.
2176 * sp_form.[Ch]: remove.
2178 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
2180 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
2183 * src/buffer.C (readInset): ditto.
2185 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2187 * BufferView_pimpl.C (specialChar): new method. Obsoletes
2188 menuSeparator(), endOfSentenceDot(), ldots() and
2189 hyphenationPoint(), which are therefore removed.
2190 (Dispatch): handle LFUN_HYPHENATION_BREAK.
2192 * LyXAction.C (init):
2193 * commandtags.h: add LFUN_HYPHENATION_BREAK.
2195 * paragraph.C (getWord): removed.
2197 * BufferView_pimpl.C (Dispatch): use last word or selection for
2198 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
2200 * lyx_main.C (queryUserLyXDir): do not ask before creating
2201 user_dir, except if it has been named explicitely.
2203 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
2205 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
2206 a document of zero size.
2208 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
2210 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
2211 approriately in the c-tor and in require().
2212 (getPackages): output the appropriate LaTeX for natbib support.
2214 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
2215 variables "use_natbib" and "use_numerical_citations" when reading the
2217 (readInset): read the various natbib cite commands.
2218 (validate): white-space change.
2220 * bufferparams.[Ch]: new variables "bool use_natbib" and
2221 "bool use_numerical_citations".
2222 (writeFile): output them in the LyX file.
2224 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2226 * lyxfunc.C (getStatus): add support for all the inset insertion
2229 * text2.C (insertInset):
2230 * paragraph.C (insetAllowed):
2231 * BufferView_pimpl.C (insertInset): update to take in account the
2232 renaming of insertInsetAllowed
2234 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
2236 * text2.C (getInset): new method. returns inset at cursor position.
2238 * BufferView_pimpl.C (Dispatch): changes because of this.
2240 * LyXAction.C (init): rename open-stuff to inset-toggle.
2242 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
2244 * text2.C (toggleInset): renamed from openStuff; use
2247 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
2249 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
2251 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
2253 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
2255 * buffer.C (readLyXformat2): Add filename to the error dialog
2257 2001-07-18 Juergen Vigna <jug@sad.it>
2259 * tabular.C (GetCellNumber): put an assert here instead of the check!
2261 2001-07-17 Juergen Vigna <jug@sad.it>
2263 * BufferView_pimpl.C (toggleSelection): adapted too.
2265 * text.C (selectNextWord): adapted for use with insets.
2266 (selectSelectedWord): ditto
2268 2001-07-17 Juergen Vigna <jug@sad.it>
2270 * sp_spell.C (PSpell): fix initialitation order.
2272 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2274 * paragraph.C: spacing
2276 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
2278 * sp_spell.C: repair language selection for pspell
2280 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2282 * lyxfunc.h: change more methods to begin with lower char.
2284 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
2286 * buffer.C (parseSingleLyXformat2Token): Generate error insets
2287 for unknown layouts.
2289 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
2291 * buffer.C (readLyXformat2): Generate an error dialog if there are
2294 2001-07-16 Juergen Vigna <jug@sad.it>
2296 * sp_spell.C: always compile ISpell part.
2298 * lyxrc.C: added use_pspell entry and it's handling.
2300 2001-07-13 Juergen Vigna <jug@sad.it>
2302 * sp_spell.C: removed double includes.
2304 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
2306 Consistent use of Lsstream.h:
2307 * Lsstream.h: added using std::stringstream for consistencies sake.
2309 * buffer.C: removed using std::stringstream
2311 * lyxfont.C (stateText):
2312 * paragraph.C (asString):
2313 * text.C (selectNextWord, selectSelectedWord):
2314 * text2.C (setCounter):
2315 * vspace.C (asString, asLatexString):
2316 std::ostringstream -> ostringstream.
2318 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2320 * LyXAction.C: add LFUN_HELP_ABOUTLYX
2321 * commandtags.h: add LFUN_HELP_ABOUTLYX
2322 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
2324 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
2326 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
2328 * lyx_gui_misc.C: remove spellchecker
2329 * lyxfunc.C: showSpellchecker
2331 * sp_ispell.h: added
2332 * sp_pspell.h: added
2334 * sp_form.[Ch]: removed
2335 * spellchecker.[Ch]: removed
2337 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
2339 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
2341 (simpleTeXSpecialChars): Simply print the input character without
2342 any special translation if pass_thru is set.
2344 * layout.h: Added bool pass_thru to layout class for being able to
2345 implement pass through of a paragraph for Literate Programming.
2347 * layout.C: add LT_PASS_THRU to LayoutTags enum.
2348 * layout.C (LyXLayout): set pass_thru to flase in constructor.
2349 * layout.C (Read): add "passthru" to list of layout tags and add
2350 code to set the pass_thru boolean when it is read.
2352 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2354 * trans_decl.h: remove allowed from KmodInfo
2356 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
2360 * paragraph_pimpl.C (erase): use boost::prior
2362 * Painter.C (text): use data() instead of c_str() when length is
2364 * WorkArea.C (putClipboard): ditto
2365 * font.h (width): ditto
2367 * BufferView2.C: use it-> instead of (*it). for iterators
2369 * paragraph_pimpl.C: ditto
2370 * paragraph.C: ditto
2371 * minibuffer.C: ditto
2376 * converter.C: ditto
2378 * Variables.C: ditto
2379 * TextCache.C: ditto
2380 * MenuBackend.C: ditto
2381 * LyXAction.C: ditto
2383 * FloatList.C: ditto
2385 * ColorHandler.C (LyXColorHandler): ditto
2387 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2389 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
2391 * text2.C (openStuff): reintroduce this method (which had been
2392 nuked in NEW_INSETS frenzy).
2394 * lyxfunc.C (Dispatch): when an action has not been handled, use
2395 its name in the error message, not its number.
2397 * paragraph.C (inInset): change method name to begin with lowercase.
2400 * text2.C: updates because of this.
2402 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2404 * ToolbarDefaults.C (add): add spaces in error message
2406 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2408 * buffer.C (readLyXformat2): initialize the ert comp. variables.
2409 (readLyXformat2): rename return_par to first_par, use lyxlex's
2410 pushToken and remove the manual push handling.
2411 (parseSingleLyXformat2Token): add another ert comp. variable:
2412 in_tabular, rename return_par to first_par. handle newlines better
2414 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2416 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
2418 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2420 * text2.C (getParFromID): removed
2422 * buffer.C (getParFromID): new method moved form lyxtext.
2423 * BufferView2.C (insertErrors): adjust
2424 (setCursorFromRow): adjust
2425 * BufferView_pimpl.C (restorePosition): adjust
2426 * lyxfunc.C (Dispatch): adjust
2427 * undo_funcs.C (textUndo): adjust
2429 (textHandleUndo): adjust
2430 (textHandleUndo): adjust
2432 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2434 * buffer.C: up' the LYX_FORMAT
2436 * lyxfont.h: turn NO_LATEX on as default
2438 * buffer.C (insertErtContents): new methods of tex style compability.
2439 (parseSingleLyXformat2Token): use it several places.
2440 * tabular.C (OldFormatRead): and here
2442 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2444 * text2.C: remove some commented code.
2447 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
2448 * trans.C: changes because of the above.
2450 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
2452 * text2.C (setCounter): Fix counters bug with bibliography layout.
2454 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2456 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
2457 own member functions
2458 (simpleTeXSpecialChars): ditto
2460 2001-07-06 Juergen Vigna <jug@sad.it>
2462 * a lot of files: changed the access to LyXText::status and the
2463 call of undo-functions.
2465 * undo.[Ch]: added a inset_id to the undo informations.
2467 * undo_funcs.[Ch]: added and moved here all undo functions.
2469 * lyxtext.h: give the status enum a weight, made status_ a private
2470 variable and made accessor functions for it, removed the whole bunch
2471 of undo-functions as they are now in their own file, make some
2472 functions publically available. Added function ownerParagraph with
2475 * paragraph.[Ch]: added "bool same_ids" to the constructor,
2476 made InInset() a const function, added getParFromID() function.
2478 * buffer.[Ch]: added const version for inset_iterator functions,
2479 added getInsetFromID() function.
2481 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
2482 changed undo functions for new version.
2484 2001-07-05 Juergen Vigna <jug@sad.it>
2486 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
2487 unknow mechanism does not call the proper constructor but only this
2488 one also if I request the other!?
2490 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2492 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
2494 * text2.C (LyXText): use initialization lists.
2496 * lyxtext.h (Selection): initialize set_ and mark_
2497 (init): remove method
2499 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
2501 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
2503 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2505 * screen.[Ch]: change method names to begin with lowercase
2507 * BufferView_pimpl.C (updateScrollbar): simplify further and
2508 hopefully make it a bit faster.
2510 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2512 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
2513 calling directly xforms functions.
2515 * Painter.C (Painter):
2516 * lyx_cb.C (MenuWrite):
2517 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
2520 * lyx_gui.C: remove bogus guiruntime extern declaration.
2522 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2524 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
2526 (redoDrawingOfParagraph): ditto
2527 (redoParagraphs): ditto
2528 (cutSelection): don't create a object for CutAndPaste use the
2529 static method directly
2530 (pasteSelection): ditto
2532 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
2535 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2537 * modifications to some other files because of this.
2539 * Makefile.am (lyx_SOURCES): add XFormsView
2541 * XFormsView.[Ch]: new files
2543 * LyXView.[Ch]: make LyXView a base class for the gui handling for
2544 the main window. Move the gui dependent stuff to XFormsView
2546 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2548 * tabular.C (GetCellInset): update cur_cell also in the row/col
2549 version of this function.
2551 * lyxfunc.C: no need to include figure_form.h here.
2557 * lyxvc.C: no need to include forms.h here.
2559 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2561 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
2563 * lyxfunc.C (Dispatch):
2565 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
2566 constructor argument.
2568 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2570 * paragraph.C (Paragraph): dont't clear, and just set layout.
2571 (makeSameLayout): use params's copy contructor.
2573 * ParagraphParameters.[Ch] (makeSame): delete method
2575 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
2577 * Variables.[Ch]: fix indentation, rename set to isSet
2579 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2581 * lyxfunc.C (Dispatch): fix typo
2583 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2585 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
2588 * bufferlist.C: include assert.h for emergencyWrite().
2590 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2592 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
2593 give up at last (bug #425202) !
2595 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
2601 * spellchecker.C: strip spellchecker options and bring up
2602 preferences tab instead
2604 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2606 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
2607 the istringstream constructor
2609 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2611 * paragraph.C (getLayout): fix return value
2613 * paragraph.h: do not declare getLayout as inline.
2615 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
2617 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2619 * lyxcursor.h (operator<): new func
2620 (operator>): new func
2621 (operator>=): new func
2622 (operator<=): new func
2624 * text.C (changeCase): use selection.start and selection.end
2625 (changeRegionCase): require from to be <= to. Require par to be a
2628 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
2630 2001-06-27 Juergen Vigna <jug@sad.it>
2632 * text.C (cursorLeftOneWord): changed to return the cursor and added
2633 overlay with BufferView * parameter which calls this one.
2635 (selectWord): use new getWord function.
2636 (changeCase): renamed from changeWordCase as and extended to work
2639 * lyxtext.h: added enum word_location
2641 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
2642 changeCase as this operates now also on selections.
2644 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
2646 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
2648 * many files: send debug output to Debug::INFO instead of
2651 * converter.C (View):
2653 (Move): send debug output to Debug::FILES instead of console.
2655 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
2657 * lyxfunc.C (getStatus): use func_status
2659 * func_status.h: new header, describing the results of
2662 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
2665 2001-06-25 The LyX Project <jug@sad.it>
2667 * buffer.C (sgmlOpenTag):
2669 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
2671 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2673 * text2.C: remove some dead code
2675 * tabular.C (GetCellInset): store the last cell checked (gotten)
2677 * tabular.h: add the helper for the speedup
2679 * lyxtext.h: remove some dead code
2681 2001-06-26 The LyX Project <Asger>
2683 * paragraph.C: Change export to LaTeX of alignment to
2684 \begin{center} and family for better roundtrip work with reLyX.
2686 * Tune the math drawing a bit.
2688 2001-06-25 The LyX Project <Asger>
2690 * LColor.C (LColor): New color for math background. New color
2693 2001-06-25 The LyX Project <jug@sad.it>
2695 * lyxfunc.C (MenuNew): remove extra check for .lyx file
2698 * bufferlist.C (newFile): do not restrict to files ending with
2701 * BufferView_pimpl.C (MenuInsertLyXFile):
2703 2001-06-24 The LyX Project <jug@sad.it>
2705 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
2708 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2710 * lyxtext.h: rename most methods to begin with a small char.
2711 Lots of changes because of this.
2713 * paragraph.C (Paragraph): do not call fitToSize
2714 (erase): call Pimpl::erase
2715 (insertChar): call Pimpl::insertChar
2716 (insertInset): call Pipl::insertInset
2717 (breakParagraph): do not call fitToSize
2718 (breakParagraphConservative): do not call fitToSize
2719 (fitToSize): remove method
2721 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
2723 2001-06-24 The LyX Project <Asger>
2725 * Fix Qt compilation^2
2727 2001-06-24 The LyX Project <jug@sad.it>
2729 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
2730 depthHook(getDepth()-1).
2733 * ParagraphParameters.h:
2734 * ParameterStruct.h: change type of depth to unsigned int ==
2735 depth_type. Many adaptations to other files before of that.
2737 2001-06-24 The LyX Project <Asger>
2739 * Fix Qt compilation.
2741 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2743 * paragraph.h: renamed several methods to begin with small letter.
2744 several changes to many parts of the code because of this.
2746 2001-06-23 The LyX Project <jug@sad.it>
2748 * text2.C (InsertStringAsLines): renamed from InsertStringA;
2749 rewritten to discard all double spaces when KeepEmpty is off
2750 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
2751 to only handle newlines but not fiddle with spaces and friends.
2753 * lyxfunc.C (MenuNew): when doing 'new from template', use
2754 template_path as default directory
2756 2001-06-23 The LyX Project <Asger>
2758 * Clean-up of header file includes all over
2759 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
2761 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2763 * paragraph.h: renamed from lyxparagraph.h
2765 2001-06-23 Asger <lyx@violet.home.sad.it>
2767 * Buffer.h: Removed Buffer::resize
2768 * BufferList.h: Removed BufferList::resize
2769 * LyXView.h: Added LyXView::resize. This way, we will only reflow
2770 the document lazily when we change the width, or the font settings.
2772 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2774 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
2776 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2778 * buffer.h: remove out of date comment
2780 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2783 * screen.C: fix "theoretical" GC leak
2785 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2787 * LaTeX.C (scanAuxFile):
2788 (deplog): remove trailing \r when reading stream (useful under
2791 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
2793 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
2794 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
2795 and BufferView::theLockingInset(Inset*), so should use them and not
2796 access bv_->text->the_locking_inset directly.
2798 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
2800 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2803 * tex-defs.h: remove old unused file
2805 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
2807 * BufferView_pimpl.C: fix typo, remove minibuffer message
2808 when buffer has loaded
2810 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2812 * lyxfunc.C (Dispatch): use stringstream
2813 (MenuNew): use stringstream
2814 (Open): use stringstream
2816 * importer.C (Import): use stringstream
2818 * bufferview_funcs.C (CurrentState): use stringstream
2820 * LaTeX.C (run): use stringstream
2822 * BufferView_pimpl.C (savePosition): use stringstream
2823 (restorePosition): use stringstream
2824 (MenuInsertLyXFile): use stringstream
2826 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
2839 * vspace.C: removed // -*- C++ -*- as first line.
2842 * version.h: added // -*- C++ -*- as first line.
2844 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2846 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
2848 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
2851 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2853 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
2856 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2858 * gettext.C: include LString.h even when --disable-nls is on.
2860 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
2862 * converter.h (Get): changed argument type from int to
2863 FormatList::size_type to avoid unnecessary conversion.
2865 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
2868 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2870 * gettext.h: include LString.h even when --disable-nls is on.
2872 2001-06-07 Juergen Vigna <jug@sad.it>
2874 * text.C (BreakAgain): subst spaces with tabs.
2876 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
2877 (resizeInsetsLyXText): set force on resizeLyXText.
2879 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2881 * gettext.h (gettext_init):
2882 (locale_init): use a real definition instead of a macro
2884 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2886 * Bufferview_pimpl.C:
2888 * LColor.C: further lcolor tidies
2890 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2892 * BufferView_pimpl.C (updateScrollbar): simplify.
2894 * BufferView2.C: don't include insets/insetinfo.h, change
2895 prototype for insertInset and call the Pimpl version. let
2896 updateInset call Pimpl version.
2898 * BufferView.h: move inset_slept to BufferView::Pimpl, move
2899 gotoInset to BufferView::Pimpl
2901 2001-06-01 Juergen Vigna <jug@sad.it>
2903 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
2904 inside a LockingInset (is the update needed at all?).
2906 2001-05-31 Juergen Vigna <jug@sad.it>
2908 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
2909 here not the old one otherwise how should we compare it afterwards
2912 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2917 * FontInfo.C: bring C functions into global namespace when
2920 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2922 * LString.h: make sure config.h has been loaded before LString.h.
2924 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
2925 (one for each char read by EatLine!).
2927 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
2930 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2932 * paragraph.C (BreakParagraph): set the inset_owner in the new par
2933 to the same as the par we break from
2935 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
2937 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
2939 * MenuBackend.C (expand): also create menu entries for wide
2940 versions of the floats.
2942 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
2944 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
2946 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
2947 frontends/Makefile.am
2953 * tabular.C (getTokenValue): add std::
2955 * tabular-old.C (getTokenValue): add std::
2956 (getTokenValue): ditto
2957 (getTokenValue): ditto
2959 * screen.C (ToggleSelection): adjust
2961 * lyxtext.h: put selection cursors inside a Selection struct.
2963 * lyxfunc.C (moveCursorUpdate): adjust
2965 * lyxfont.C (latexWriteStartChanges): add std::
2969 * font.h: delete with(char const *, LyXFont const &)
2971 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
2973 * FontInfo.C (getFontname): add std::
2975 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2976 (workAreaButtonPress): adjust
2977 (tripleClick): adjust
2979 (moveCursorUpdate): adjust
2982 * BufferView2.C (gotoInset): adjust
2984 2001-05-30 Juergen Vigna <jug@sad.it>
2986 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
2987 to check pspell I add this as default as I now have new pspell
2988 libraries and they seem to use this.
2990 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2992 * text2.C (CutSelection): make the cursor valid before the call to
2995 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2997 * kbsequence.C (parse): de-uglify a bit the parsing code, which
2998 relied on 0 terminated strings and other horrors. Bug found due to
2999 the new assert in lyxstring!
3001 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
3004 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3006 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
3009 * lyxfunc.C (processKeySym): change method of getting to the
3012 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
3013 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
3014 * BufferView_pimpl.[Ch]: here as private methods.
3016 2001-05-28 Juergen Vigna <jug@sad.it>
3018 * text.C (SetHeightOfRow): added the update() call again as it is
3019 needed to initialize inset dimensions!
3021 2001-05-16 Juergen Vigna <jug@sad.it>
3023 * text2.C (SetCharFont): Add new function with BufferView * and
3024 bool toggleall parameters for setting insets internal fonts.
3025 (SetFont): Freeze the undo as we may change fonts in Insets and
3026 all this change should be inside only one Undo!
3028 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
3029 setting font's in insets as for them we have the SetFont function!
3031 2001-05-15 Juergen Vigna <jug@sad.it>
3033 * text2.C (ClearSelection): to be sure we REALLY don't have any
3036 * tabular.C (TeXCellPreamble): fixed the left border problem for
3039 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
3041 * LaTeX.C (deplog): Make sure that the main .tex file is in the
3044 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
3046 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
3047 LFUN_BREAKPARAGRAPH.
3049 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
3050 help test to "internal only", similar for LFUN_INSERT_URL
3052 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
3053 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
3054 auto_region_delete and deadkeys.
3056 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
3059 * LColor.C: remove some dead entries, tidy a little
3061 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3063 * lyxfunc.C (processKeySym): comment the Escape handling, remove
3065 (Dispatch): implement LFUN_ESCAPE
3067 * commandtags.h: add LFUN_ESCAPE
3069 * LyXAction.C (init): add entry for LFUN_ESCAPE
3071 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
3072 Remove commented code.
3073 (insertNote): moved here
3074 (open_new_inset): moved here
3076 * BufferView[2].[Ch]: move insertNote and open_new_inset to
3079 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3081 * kbmap.C (findbinding): clean it up and make it work correctly.
3083 * lyx_main.C (init): do not pass argc and argv as parameters
3085 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
3087 * buffer.C: fix path for OS/2 & Win32
3091 * lyx_main.C: Added os:: class.
3093 * os2_defines.h: update
3095 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3097 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
3098 better by trying again with reduced state.
3100 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3102 * lyxrc.C (read): print error about invalid key sequence only when
3103 debugging (because not all latinX keysyms are known to some X
3106 * kbsequence.C (getiso): add a few std:: qualifiers
3107 (getiso): comment out extra return statement.
3109 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
3111 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
3113 (Dispatch): enhance the accent inset a bit. (not perfect)
3115 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3117 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
3119 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3121 * bufferlist.C (emergencyWrite): fix assert() call
3123 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
3125 * text.C (InsertChar): Added trivial patch to only send the "you
3126 can not do multiple spaces this way" message once during a
3129 2001-05-08 Baruch Even <baruch@lyx.org>
3131 * Makefile.am: Changed order of libraries to get LyX to link properly
3132 with the gnome frontend.
3134 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3136 * LaTeXFeatures.h: add a std:: qualifier
3138 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
3140 * paragraph.C (String): use stringstream
3142 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3144 * paragraph.C (writeFile): remove footflag arg
3146 * buffer.C (makeLaTeXFile): use stringstream
3147 (latexParagraphs): remove footnot gurba
3149 * LaTeXFeatures.C (getPackages): use stringstream
3150 (getMacros): likewise
3151 (getTClassPreamble): likewise
3152 (getFloatDefinitions): new method
3154 * paragraph.C (writeFile): reindent
3157 * WorkArea.h: revert the xpos + etc changes.
3159 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
3161 * lyxparagraph.[Ch]: add copy constructor, remove Clone
3163 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
3164 (pasteSelection): likewise
3165 * text2.C (CreateUndo): likewise
3167 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3169 * minibuffer.C (peek_event): temporarily reduce the functionality
3170 of the minibuffer (to allow args on lfuns)
3172 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
3173 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
3175 * buffer.C (readInset): add compability reading of old float
3176 lists, add reading of new style float list.
3177 (readInset): avoid reevaluation of inscmd.getCmdName()
3178 (getLists): reindent
3180 * MenuBackend.C (MenuItem): implement parsing of
3181 md_floatlistinsert and md_floatinsert.
3182 (expand::LastFiles): move initalizaton of iterators out of loop,
3184 (expand::Documents): introduce typdedef vector<string> Strings,
3186 (expand::ExportFormats): introduce typedef vector<Format const *>
3187 Formats, and use it.
3188 (expand): implement FloatListInsert and FloatInsert.
3190 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
3191 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
3192 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
3194 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
3196 (Dispatch::LFUN_FLOAT_LIST): implement
3198 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3200 * LaTeX.C (run): Fix problem with --export code.
3202 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3204 * BufferView.[Ch] (workarea): removed.
3205 (getClipboard) new method; wrapper for workarea()->getClipboard()
3207 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
3210 * WorkArea.h (width, height, xpos, ypos): These methods all
3211 returned the dimensions of the work_area sub-area of WorkArea,
3212 resulting in a position error if the WorkArea were resized. Now
3213 return the dimensions of the entire WorkArea.
3215 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
3217 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3219 * LaTeX.C (deplog): correct the syntax of regex reg1
3221 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3223 * undo.C: remove !NEW_INSETS cruft
3225 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3227 * text2.C: remove !NEW_INSETS cruft
3229 * text.C: remove !NEW_INSETS cruft
3231 * tabular.C: remove !NEW_INSETS cruft
3233 * spellchecker.C: remove !NEW_INSETS cruft
3235 * lyxtext.h: remove !NEW_INSETS cruft
3237 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
3239 * lyxfunc.C: remove !NEW_INSETS cruft
3241 * lyxfind.C: remove !NEW_INSETS cruft
3243 * lyx_cb.C: remove !NEW_INSETS cruft
3245 * figureForm.C: remove !NEW_INSETS cruft
3247 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
3249 * buffer.[Ch]: remove !NEW_INSETS cruft
3251 * ToolbarDefaults.C: remove !NEW_INSETS cruft
3253 * CutAndPaste.C: remove !NEW_INSETS cruft
3255 * BufferView_pimpl.C: remove !NEW_INSETS cruft
3257 * BufferView2.C: remove !NEW_INSETS cruft
3259 * BufferView.h: remove !NEW_INSETS cruft
3261 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3263 * Lsstream.h: include LString.h before the sstream headers to
3264 fix problem with gcc 2.95.3 and lyxstring
3266 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3268 * lyx_main.C: add using directives when needed for C functions
3269 declared in std:: namespace.
3271 2001-04-27 Juergen Vigna <jug@sad.it>
3273 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
3274 (SetHeightOfRow): comment out the update call should not be needed!
3276 2001-04-13 Juergen Vigna <jug@sad.it>
3278 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
3279 (LyXTabular): tried to minimize operator= operations (and realized
3280 hopfully Lars wish).
3282 2001-04-27 Juergen Vigna <jug@sad.it>
3284 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
3286 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
3288 * lyxfunc.C (Dispatch): hack to make listof algorithm work
3290 * buffer.C (readInset): hack to make listof algorithm work
3292 * BufferView_pimpl.C: hack to make listof algorithm work
3294 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3296 * LyXAction.C: removed all !NEW_INSETS cruft
3297 (init): moved lfun_item in method
3299 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
3301 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3303 * BufferView2.C (theLockingInset): white space.
3305 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3307 * minibuffer.C: include <iostream>
3309 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
3311 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
3313 * commandtags.h: add LFUN_TRANSPOSE_CHARS
3315 * text.[Ch] (TransposeChars): new method
3317 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3319 * call message directly through LyXView instead of through LyXFunc
3320 * BufferView2.C: adjust
3321 * BufferView_pimpl.C: adjust
3322 * FontLoader.C: adjust
3324 * bufferview_funcs.C: adjust
3325 * converter.C: adjust
3326 * figureForm.C: adjust
3327 * importer.C: adjust
3329 * lyx_gui_misc.C: adjust
3333 + more files in subdirs
3335 * lyxparagraph.h (size): move up int file
3338 * adjust all uses of Assert to lyx::Assert.
3340 * BufferView2.C (ChangeCitationsIfUnique): adjust for
3341 lyxfunctional in namespace lyx
3342 * layout.C (hasLayout): ditto
3345 (delete_layout): ditto
3346 (NumberOfClass): ditto
3347 * converter.C (GetFormat): ditto
3352 * bufferlist.C (getFileNames): ditto
3353 (emergencyWriteAll): ditto
3356 * MenuBackend.C (hasSubmenu): ditto
3359 * BufferView_pimpl.C (getInsetByCode): ditto
3361 2001-04-18 Juergen Vigna <jug@sad.it>
3363 * vspace.C (asLatexString): fixed the 100% problem.
3365 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3367 * lyxfunc.C (Dispatch):
3369 * minibuffer.h: add a few std:: qualifiers
3371 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3373 * minibuffer.[Ch]: reimplement so that commands is initiated and
3374 run from lyxfunc, simplified som handling, and made the completion
3375 and history code for complete. wip.
3377 * lyxfunc.C (processKeySym): call message
3378 (miniDispatch): new temporary method
3379 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
3380 (LFUN_MESSAGE): implement
3381 (LFUN_MESSAGE_PUSH): implement
3382 (LFUN_MESSAGE_POP): implement
3383 (initMiniBuffer): the initial/defualt minibuffer message.
3385 * lyxfont.[Ch]: inline some more getters
3387 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
3389 * lyx_gui_misc.[Ch] (WriteStatus): remove method
3391 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
3392 (AutoSave): use LFUN_MESSAGE
3393 (Reconfigure): ditto
3395 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
3397 * figureForm.C: use LFUN_MESSAGE
3399 * converter.C (runLaTeX): use LFUN_MESSAGE
3401 * bufferview_funcs.C: use LFUN_MESSAGE
3403 (changeDepth): ditto
3405 * bufferparams.h: use boost::
3407 * bufferlist.h: inherit privately from noncopyable
3409 * bufferlist.C (loadLyXFile): remove some commented code.
3411 * buffer.C (runChktex): use LFUN_MESSAGE
3413 * ShareContainer.h: inherit privately from noncopyable
3415 * ParagraphParameters.[hC] (depth): inline it.
3417 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
3419 (message): new method
3420 (messagePush): ditto
3422 (show): init minibuffer
3423 (showState): direct call
3425 * LaTeX.[Ch]: inherit privately from noncopyable
3426 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
3427 instead of WriteStatus.
3429 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
3431 * BufferView_pimpl.C (buffer): don't init minibuffer
3432 (workAreaButtonPress): use LFUN_MESSAGE
3433 (workAreaButtonRelease): ditto
3434 (savePosition): ditto
3435 (restorePosition): ditto
3436 (MenuInsertLyXFile): ditto
3437 (workAreaExpose): don't init minibuffer
3438 (update): remove commented code, simplify
3440 * BufferView2.C (openStuff): use LFUN_MESSAGE
3441 (toggleFloat): ditto
3444 (copyEnvironment): ditto
3445 (pasteEnvironment): ditto
3450 (updateInset): remove some commented code
3452 * lastfiles.h: inherit privately from noncopyable
3457 * lyxlex_pimpl.h: ditto
3459 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
3460 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
3461 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3463 * LyXAction.h: inherit privately from noncopyable, add methods
3464 func_begin, func_end, returning iterators to the func map.
3466 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
3467 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3468 (func_begin): new method
3469 (func_end): new method
3471 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
3473 (copySelection): ditto
3474 (pasteSelection): ditto
3476 * BufferView.C: whitespace change
3477 * BufferView.h: inherit privately from noncopyable
3479 2001-04-16 Allan Rae <rae@lyx.org>
3481 * tabular-old.C (l_getline):
3482 * spellchecker.C (sc_check_word):
3483 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
3484 an unrecognised preprocessor directive. So ensure they're wrapped.
3486 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
3488 * src/exporter.C (Export): Give an error message when path to file
3491 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
3493 * LaTeX.C (deplog): Always check that foundfile exists.
3495 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3498 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
3500 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3502 * tabular.[Ch] (getLabelList): implement new method
3504 * minibuffer.h: comment ouf setTiimer
3506 * minibuffer.C (ExecutingCB): constify res
3507 (peek_event): constify s
3508 (Set): constify ntext
3509 (Init): constify nicename
3511 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
3513 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
3514 (savePosition): use two params to Minibuffer::Set
3515 (restorePosition): ditto
3517 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3519 * lyx_main.C: include language.h
3521 * Makefile.am (lyx_main.o): add language.h
3523 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3529 * CutAndPaste.C: include gettext.h
3531 * lyxfont.h: remove old hack with ON and OFF.
3534 * lyxfont.h: do not include language.h...
3539 * bufferview_funcs.C:
3545 * paragraph.C: ... but do it here instead
3547 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3549 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
3551 * tabular.C: small reformat
3553 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
3556 (BreakParagraph): ditto
3557 (SetOnlyLayout): ditto
3560 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
3563 * lastfiles.C: removed most using decl, add std:: where needed
3565 * buffer.C: ws changes
3567 * MenuBackend.C (class compare_format): put into anon namespace
3568 (expand): constify label, names, action, action2
3571 * text.C (SingleWidth): constify font
3572 (IsBoundary): constify rtl2
3573 (GetVisibleRow): constify ww
3575 * LaTeX.C (deplog): constify logfile
3577 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
3579 (workAreaExpose): constify widthChange, heightChange
3581 * lyxrow.C (par): moved
3584 * lyxrow.h: as inlines here
3586 * lyxfont.h (shape): moved from lyxfont.C
3587 (emph): moved from lyxfont.C
3589 * lyxfont.C (LyXFont): use initialization list for all
3591 (shape): move to lyxfont.h as inline
3592 (emph): move to lyxfont.h as inline
3595 2001-04-04 Juergen Vigna <jug@sad.it>
3597 * vspace.C: had to include stdio.h for use of sscanf
3599 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
3602 * BufferView_pimpl.h: remove xforms cruft. Both classes are
3603 independent of xforms.
3605 2001-04-02 Juergen Vigna <jug@sad.it>
3607 * spellchecker.C: fixed namespace placing!
3609 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
3611 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
3612 the LyXParagraph * is 0.
3614 2001-03-29 Juergen Vigna <jug@sad.it>
3616 * vspace.C: added support for %, c%, p%, l%.
3617 (stringFromUnit): added helper function.
3618 (asLatexString): changed to give right results for the %-values.
3620 * buffer.C: convert the widthp in a width%.
3622 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
3624 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
3627 * figureForm.[Ch]: stripped the FD_from_figure manipulation
3628 code out of lux_cb.[Ch], ready for its (imminent?) removal.
3630 * lyx_cb.[Ch]: see above.
3632 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
3636 * lyx.[Ch]: replaced by figure_form.[Ch].
3640 * lyxfunc.C: changed headers associated with above changes.
3642 2001-03-27 Juergen Vigna <jug@sad.it>
3644 * BufferView_pimpl.C: set the temporary cursor right!
3646 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
3648 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
3650 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
3652 * LString.h: removed "using std::getline"!
3654 * BufferView_pimpl.C (Dispatch): changes due to changes in
3655 InsetInclude::Params.
3657 * buffer.C (tag_name): removed redundant break statements as they were
3658 producing lots of warnings with my compiler.
3660 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3662 * LString.h: add "using std::getline" when using the real <string>.
3664 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
3666 * buffer.C: removed bitset usage.
3667 PAR_TAG moved to an anonymous name space.
3668 (tag_name): new funtion, also in the anonymous namespace.
3669 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
3670 (makeDocBookFile): clean code. Completed transition from string arrays
3672 (SimpleDocBookOnePar): code clean.
3674 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3676 * tabular.C: add some comments.
3678 2001-03-22 Juergen Vigna <jug@sad.it>
3680 * buffer.C (parseSingleLyXformat2Token): redone the minipage
3681 compatibility read a bit and fixed bug with minipage in different
3684 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
3686 * buffer.C (pop_tag): removed.
3687 (push_tag): removed.
3688 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
3689 array replaced with vector. Added support for CDATA sections.
3690 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
3692 (makeDocBookFile): XML conformant declaration of CDATA section,
3693 fixed bug related to <emphasis> in the first paragraph char.
3694 (sgmlOpenTag): exclude empty tags.
3695 (sgmlCloseTag): ditto.
3697 * buffer.h (pop_tag): removed.
3698 (push_tag): removed.
3700 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
3702 * language.h (Languages): added size_type and size().
3704 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3706 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
3707 response on compability reading of minipages. One probliem is that
3708 the old usage of minipages was «flertydig»
3710 * several files here and in subdirs: don't use static at file
3711 scope use anon namespaces instead.
3713 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
3715 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
3716 LaTeX output. This is necessary for Literate document
3719 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3721 * buffer.C: insert hfill when needed.
3723 * tabular.C (l_getline): use string::erase, small whitespace change.
3725 * BufferView_pimpl.C: try the anon namespace.
3728 2001-03-16 Juergen Vigna <jug@sad.it>
3730 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
3731 otherwise it won't open options-dialogs.
3733 * buffer.C: honor pextraWidth(p) on converting minipages.
3735 * tabular.C (l_getline): changed the functions to strip trailing \r.
3737 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
3739 * BufferView_pimpl.C:
3740 * minibuffer..C: added "using SigC::slot" declaration.
3742 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3744 * lyxlex_pimpl.h: noncopyable is in namespace boost.
3750 * paragraph.C: ditto
3752 * lyxtext.h: NO_PEXTRA
3754 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
3756 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
3757 * ParameterStruct.h: ditto
3758 * ParagraphParameters.h: ditto
3759 * lyxparagraph.h: ditto
3761 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3763 * buffer.C: add compability for minipage alignment.
3764 (latexParagraphs): remove unwanted pextra check.
3766 * several files: remove CXX_WORKING_NAMESPACES
3768 * buffer.C (pop_tag): tie is in namespace boost
3770 * BufferView.h: noncopyable is in namespace boost
3775 * lastfiles.h: ditto
3776 * bufferlist.h: ditto
3777 * ShareContainer.h: ditto
3779 * LyXAction.h: ditto
3782 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3784 * Merging changes from BRANCH_MVC back into HEAD.
3786 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
3788 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
3790 * BufferView_pimpl.C: change from intl.C
3794 * Makefile.am: move combox.*
3800 * intl.C: remove dialog (covered by prefs)
3802 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3804 * lyxfunc.C (Dispatch): removed redundant break statement.
3806 2001-03-14 Juergen Vigna <jug@sad.it>
3808 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
3810 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3812 * buffer.C: add hack to fix compability reading of minipages.
3814 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
3816 * buffer.C (getLists): Cleanup.
3818 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3820 * lyxfont.C (update): don't honor toggleall on font size.
3822 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
3826 * Makefile.am: moved to frontends/xforms/
3830 * BufferView_pimpl.C: changes for moved mathpanel
3832 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3834 * gettext.h: fix gettext_init() in --disable-nls
3836 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3838 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
3840 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
3843 * lyx.h: strip external form
3845 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3847 * BufferView_pimpl.C: add comment, destroySplash()
3849 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3851 * BufferView_pimpl.C:
3855 * lyxfunc.C: use re-worked insetinclude
3857 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3859 * buffer.C: add using std::stringstream.
3861 * lyx_cb.C: readd using std::ios.
3863 * buffer.C: add using std::map.
3865 * BufferView_pimpl.C: add using std::vector.
3867 * ShareContainer.h: add std:: to swap.
3869 * buffer.h: add some typedefs
3870 * buffer.C (getLists): use them
3871 (getLists): renamed from getTocList.
3872 add a counter for the different float types and use it in the
3874 (getLists): use the same counter for the NEW_INSETS and the "non"
3877 * lyx_cb.h: remove unused items, includes, using etc.
3879 * ShareContainer.h: remove some commented code, add more comments
3880 and "documentation".
3882 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3884 * buffer.C (getTocList): make the list also when NEW_INSETS is
3887 * buffer.h: remove TocType
3889 * buffer.C (getTocList): change to return a map<string,
3890 vector<TocItem> >, implement for dynamic number of list.
3892 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
3893 * text2.C (PasteSelection): adjust
3894 * CutAndPaste.C (pasteSelection): adjust
3896 * FloatList.C (FloatList): update from the new_insets branch.
3897 * Floating.[Ch]: ditto
3898 * LaTeXFeatures.C: ditto
3900 * lyxlex_pimpl.C: ditto
3902 * paragraph.C (Last): remove when NEW_INSETS is defined.
3904 * other file: changes because of the above.
3906 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3908 * lyxparagraph.h: rename next to next_, previous to previous_,
3909 make them private for NEW_INSETS. Rename Next() to next(),
3910 Previous() to previous().
3912 * other files: changes because of the above.
3914 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
3917 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
3920 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3922 * main.C (main): pass lyx_localedir to gettext_init().
3924 * gettext.h: remove locale_init and gettext_init macros
3926 * gettext.C (locale_init): new function
3927 (gettext_init): new function
3929 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
3932 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
3934 * Moved credits to frontends:
3935 * credits.[Ch]: removed
3936 * credits_form.[Ch]: removed
3937 * lyx_gui_misc.C: remove credits stuff
3940 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3942 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
3944 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
3945 unneeded destructor.
3947 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
3948 a standalone pointer again.
3950 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
3952 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
3958 * ToolbarDefaults.C:
3967 * BufferView_pimpl.C: use new file dialog in GUII
3970 * lyx_cb.C: remove LayoutsCB to Toolbar
3972 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3974 * ShareContainer.h (get): add std:: qualifier
3976 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3978 * ShareContainer.h: define a proper ShareContainer::value_type
3979 type (and use typename to please compaq cxx)
3981 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3983 * lyxparagraph.h: move serveral local vars to
3984 ParameterStruct/ParagraphParameters., use ShareContainer in
3985 FontTable., make vars in FontTable private and add getter and
3988 * paragraph.C: changes because of the above.
3990 * lyxfont.h: remove copy constructor and copy assignment. (the
3991 default ones is ok), move number inside FontBits. move inlines to
3994 * lyxfont.C: add number to initializaton of statics, move several
3995 inlines here. constify several local vars. some whitespace
3996 cleanup. Dont hide outerscope variables.
3998 * Spacing.h: add two new constructors to match the set methods.
4000 * ShareContainer.h: new file, will perhaps be moved to support
4002 * ParameterStruct.h: new file
4004 * ParagraphParameters.h: new file
4006 * ParagraphParameters.C: new file
4008 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
4009 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
4011 * BufferView_pimpl.C: ParagraphParameter changes.
4012 * buffer.C: Likewise.
4013 * bufferview_funcs.C: Likewise.
4015 * text2.C: Likewise.
4017 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4019 * lyxfind.C (LyXReplace): do not redefine default argument in
4021 (IsStringInText): ditto
4022 (SearchForward): ditto
4023 (SearchBackward): ditto
4025 2001-03-06 Juergen Vigna <jug@sad.it>
4027 * lyxfind.C (IsStringInText): put parentes around expressions.
4029 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
4031 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
4033 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
4035 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
4037 * stl_string_fwd.h: add comment
4039 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
4042 * tabular.C: remove unused DocBook methods
4048 killed DO_USE_DEFAULT_LANGUAGE
4050 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4052 * lyx_gui.C: do not include language.h.
4054 * bufferview_funcs.C (ToggleAndShow): do not provide optional
4055 arguments in function implementation.
4057 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4059 * BufferView_pimpl.C: add <ctime>
4061 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4063 * BufferView_pimpl.C: add using std::find_if
4065 2001-02-27 José Matos <jamatos@fep.up.pt>
4067 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
4070 2001-02-11 José Matos <jamatos@fep.up.pt>
4072 * buffer.C (makeDocBookFile): command styles now have a parameter as
4075 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
4077 * layout_forms.[Ch]: removed
4078 * lyx_cb.[Ch]: out character
4079 * lyx_gui.C: out character
4080 * lyx_gui_misc.C: out character
4081 * bufferview_funcs.C: : out character,
4082 added toggleall as parameter in ToggleAndShow
4084 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
4086 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
4088 * text2.C (SetCurrentFont): Disable number property at boundary.
4090 2001-02-26 Juergen Vigna <jug@sad.it>
4092 * lyxfunc.C (getStatus): added a string argument override function so
4093 that this is correctly called from LyXFunc::Dispatch if it contains a
4094 do_not_use_argument which is used!
4095 (Dispatch): added check for "custom" export and call appropriate func.
4097 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
4099 * lyxrc.C: Add language_command_local, language_use_babel and
4100 language_global_options.
4102 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
4104 * buffer.C (makeLaTeXFile): Use language_use_babel and
4105 language_global_options.
4107 2001-02-23 Juergen Vigna <jug@sad.it>
4109 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
4110 which works with LyXText and putted it inside BufferView. Here now we
4111 only call for that part the BufferView::Dispatch() function.
4113 * BufferView.C (Dispatch): added.
4115 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
4116 functions which needs to use a LyXText over from LyXFunc.
4117 (MenuInsertLyXFile): added
4118 (getInsetByCode): added
4119 (moveCursorUpdate): added
4120 (static TEXT): added
4122 2001-02-22 Juergen Vigna <jug@sad.it>
4124 * BufferView_pimpl.C (update): call a status update to see if LyXText
4127 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4129 * vc-backend.C (revert): implement for CVS
4130 (getLog): implement for CVS
4132 2001-02-20 Juergen Vigna <jug@sad.it>
4134 * text2.C (ClearSelection): added BufferView param for inset_owner call
4136 * lyxfunc.C (TEXT): added this function and use it instead of
4137 directly owner->view()-text of getLyXText().
4139 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
4141 * src/layout_forms.C: out preamble
4142 * src/layout_forms.h: out preamble
4143 * src/lyx_cb.C: out preamble
4144 * src/lyx_cb.h: out preamble
4145 * src/lyx_gui.C: out preamble
4146 * src/lyx_gui_misc.C: out preamble
4147 * src/lyxfunc.C: connect with guii preamble
4149 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
4151 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
4153 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
4155 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
4156 whether to run bibtex.
4158 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
4160 * Makefile.am (lyx_SOURCES): Remove BackStack.h
4162 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4164 * Makefile.am (lyx_SOURCES): removed bibforms.h
4168 * text.C (GetVisibleRow): make several local vars const
4170 * tabular.C: small cleanup.
4172 * lyxserver.C (callback): use compare instead of strncmp
4174 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
4175 inlines to after class or to paragraph.C
4177 * lyxfont.h: remove friend operator!=
4179 * converter.h: move friend bool operator< to non friend and after
4182 * combox.h: small cleanup
4184 * buffer.h: doxygen, remove unused constructor, move inclas inlies
4185 to inlines after class def.
4187 * buffer.C (pop_tag): use string operations instead of strcmp
4189 * bmtable.c: doxygen, small cleanup
4191 * LaTeX.h: remove friend operator==
4193 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
4205 * BufferView_pimpl.C:
4206 * BufferView.[Ch]: remove cruft
4208 2001-02-14 Juergen Vigna <jug@sad.it>
4210 * lyxfunc.C: removed #if 0 unused code
4212 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
4214 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
4216 * text2.C (SetSelection): added a BufferView * parameter
4218 2001-02-13 Juergen Vigna <jug@sad.it>
4220 * lyxfunc.C (Dispatch): fixed protected blank problem.
4221 * BufferView2.C (protectedBlank): added LyxText * parameter.
4223 * tabular.C (AppendRow): forgot to set row_info of newly added row.
4224 (AppendColumn): same as above for column_info.
4226 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
4227 (moveCursorUpdate): use a LyXText param for support of InsetText.
4229 * BufferView_pimpl.C (doubleClick): added support for InsetText.
4230 (tripleClick): ditto
4232 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
4234 * BufferView_pimpl.C (update): added LyXText param to honor insets.
4236 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
4238 * text2.C (SetSelection): set correct update status if inset_owner
4241 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
4243 * tabular.C: remove some commented code.
4245 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
4247 * BufferView_pimpl.C: call hideSplash()
4249 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
4252 * bibforms.h: remove
4255 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
4256 add LFUN_CHILD_CREATE
4258 * counters.h: fix tiny typo
4263 * lyx.C: move splash to frontends/xforms/
4265 * lyx_gui_misc.C: move Include and Bibform to frontends
4267 * lyxvc.h: clarify comment
4269 * vspace.C: tiny housekeeping
4271 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
4273 * text.C (PrepareToPrint): RTL Fix.
4275 * paragraph.C (GetUChar): New method.
4276 (String): Use GetUChar.
4278 * buffer.C (asciiParagraph): Use GetUChar.
4280 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
4282 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
4284 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
4287 * buffer.C: rename to getLogName(), handle
4288 build log / latex log nicely
4290 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4293 * MenuBackend.h: remove support for reference menuitem type.
4295 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
4297 * BufferView_pimpl.C: housekeeping
4298 * BufferView_pimpl.h:
4303 * minibuffer.h: move Timeout GUI-I
4305 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
4307 * lyxrc.C (read): Update converters data-structures.
4309 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
4311 * LaTeX.h (operator!=): add operator != for Aux_Info
4313 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
4315 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
4317 * LaTeXLog.C: deleted, useful code moved to Buffer
4320 * buffer.C: new function getLatexLogName()
4326 * lyxfunc.C: use frontends for LaTeX and VC logs
4328 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4330 * LaTeX.h: yet another std:: that Allan forgot.
4332 * Variables.C (set): renamed from isset(), because this clashes
4333 with some HP-UX macros (grr).
4335 2001-02-06 Allan Rae <rae@lyx.org>
4337 * LaTeX.h: Another bug fix. Missing std:: this time.
4339 2001-02-04 Allan Rae <rae@lyx.org>
4341 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
4342 floats problem. I've left it commented out because it's not quite
4343 correct. It should also test that the current object is a table or
4344 figure inset. But I haven't gotten around to figuring out how to do
4345 that. I *think* it'll be something like: "table" == inset.type()
4347 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
4350 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
4352 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
4353 all the citation/databases/styles in the auxilary file.
4354 (run): Rerun latex if there was a babel language error.
4356 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
4358 * text.C (Backspace): Preserve the font when changing newline char
4360 (BreakParagraph): If the cursor is before a space, delete the space.
4362 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
4364 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
4366 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
4367 new argument (code).
4368 (ChangeCitationsIfUnique): New method.
4370 * paragraph.C (GetPositionOfInset): Handle bibkey.
4372 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4374 * BufferView_pimpl.h: change type of Position::par_pos to
4375 LyXParagraph::size_type.
4377 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
4379 * BufferView_pimpl.C (savePosition, restorePosition): Write
4380 messages to minibuffer.
4382 2001-01-28 José Matos <jamatos@fep.up.pt>
4384 * buffer.C (makeDocBookFile): adds support for document language.
4385 A silly restriction on the name of LatexCommand types where removed.
4386 Added support for CDATA sections, allows to chars unescaped, used
4387 among others in code, to avoid escape < and >.
4389 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4391 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
4392 saved positions instrad of a stack. Furthermore, a position is
4393 stored using paragraph id/paragraph position.
4395 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
4396 Remove LFUN_REF_BACK.
4398 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
4400 * converter.C (dvipdfm_options): New method.
4402 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
4404 * vspace.C (isValidLength): Fix for empty input string.
4406 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4408 * LyXAction.C (init): change description of LFUN_FIGURE to
4411 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4413 * LaTeX.C: add using directive
4415 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4417 * MenuBackend.C (expand): Fix the sorting of the formats.
4419 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
4421 * lyx_main.C: tiny error message fix
4423 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4425 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
4426 calling fl_initialize(). This fixes the problem with ',' as
4427 decimal separator in text files.
4429 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
4431 * trans.C (process): Fix the keymap bug.
4433 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
4435 * LaTeX.C (scanAuxFiles): New method. Provides support for
4436 multiple bibliographies (when using the bibtopic/bibunits pacakges).
4437 (scanLogFile) Scan for "run BibTeX" messages.
4439 * buffer.C (makeLaTeXFile): Do not load the ae package when using
4440 OT1 font encoding. Also, load the aecompl package if the ae
4443 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
4445 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4447 * texrow.C (increasePos): turn two error messages into debug
4450 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
4452 * LaTeX.C (scanAux): Handle the \@input macro.
4453 (runBibTeX): Use scanAux().
4455 * language.C (latex_options_): New field.
4457 * LaTeXFeatures.C (getMacros): Add language macros.
4459 * buffer.C (makeLaTeXFile): Small fix.
4461 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4463 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
4465 * text2.C: add a using directive.
4467 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
4472 * lyxfunc.C: kill LyXBell.
4474 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
4476 * text.C (IsBoundary): Remove the error message
4478 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
4480 * lyxrc.C (setDefaults): Correct initialization value for
4483 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
4485 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
4488 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
4491 * src/LyXAction.C: Added reference-next.
4493 * text.C (InsertChar): Use contains instead of strchr.
4495 * lyx_cb.C (MenuInsertLabel): Enable default value code.
4497 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
4499 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
4500 alignment commands (when needed).
4502 * text.C (InsertChar): Add ':' to number separator chars.