1 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
3 * tabular_funcs.C: getline -> std::getline
5 2001-12-21 Juergen Vigna <jug@sad.it>
7 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8 accessed and could be 0 (I couldn't generate this but it seems
11 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14 * tabular_funcs.h: here and include iosfwd
16 2001-12-20 Juergen Vigna <jug@sad.it>
18 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
19 inside inset but undo_par was.
21 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
23 * Thesaurus.C: always include <config.h> in sources.
27 * box.h: do not include <config.h> in header files
29 * text.C (paintLastRow): remove unused variable
31 * text.C (transformChar):
33 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
36 * font.C (width): rewrite to use uppercase() instead of
39 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
41 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
43 * lyxfind.C: clean up of find failure position change
45 2001-12-20 Juergen Vigna <jug@sad.it>
47 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
49 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
50 (TeXRow): added to LaTeX a single tabular row.
51 (TeXLongtableHeaderFooter): added to output LT-h/f data.
52 (Latex): simplified and finally good LT-h/f support.
53 (various_functions): just small adaptions for LT-h/f support.
55 * tabular_funcs.[hC]: added and moved here all not classfunctions
58 2001-12-19 Juergen Vigna <jug@sad.it>
60 * tabular.[Ch]: better support for longtabular options (not finished
63 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
65 * text.C (paintLastRow): use the label font instead of the font of
66 the last character to compute the size of *_BOX. This makes more
67 sense and avoids a crash with empty paragraphs.
68 Use Painter::rectangle to draw EMPTY_BOX.
70 2001-12-19 Juergen Vigna <jug@sad.it>
72 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
73 the paragraphs if the replaced paragraph is not the first one!
74 Tried to delete not used paragraphs but does not work yet so for
75 now it's inside #ifdef's and by default off!
77 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
79 * MenuBackend.C: include "lyx_main.h" instead of declaring
80 lastfiles (actually was declared as LastFiles* instead of a
83 2001-12-17 Juergen Vigna <jug@sad.it>
85 * tabular.C (AppendColumn): applied John's fix
87 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
92 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
95 * box.h: new start of class for above
97 * lyxfunc.C: ignore space-only minibuffer dispatches.
98 Show the command name when it doesn't exist
100 * minibuffer.C: don't add empty lines to the history
102 * minibuffer.C: add a space on dropdown completion
104 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
106 * text.C: fix line above/below drawing in insets
108 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
110 * lyxlength.C (LyXLength): Initialize private variables.
112 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
114 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
115 when inserting error insets.
117 2001-12-13 Juergen Vigna <jug@sad.it>
119 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
120 actually sometimes the before-paragraph.
121 (setUndo): don't clear the redostack if we're not actually undoing!
123 2001-12-06 Juergen Vigna <jug@sad.it>
125 * undo_funcs.C (textHandleUndo): well after John's hint I got here
126 and fixed redoing of main paragraph, so we can use it now ;)
128 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
130 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
132 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
135 2001-12-13 André Pönitz <poenitz@gmx.net>
138 * undo_func.C: minor cleanup
140 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
142 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
143 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
144 font in urw-fonts package which is marked as -urw-fontspecific and
145 does not work (incidentally, changing the encoding in the
146 fonts.dir of this package to -adobe-fontspecific fixes the
149 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
150 is a crash when undoing first paragraph (Juergen, please take a
151 look). THis does not mean the undo fix is wrong, just that it
154 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
155 the (Paragraph*) version when needed instead of duplicating the
158 * text.C (workWidth): use Inset::parOwner to find out where the
159 inset has been inserted. This is a huge performance gain for large
160 documents with lots of insets. If Inset::parOwner is not set, fall
161 back on the brute force method
163 * paragraph_pimpl.C (insertInset):
164 * paragraph.C (Paragraph):
165 (cutIntoMinibuffer): set parOwner of insets when
166 inserting/removing them
168 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
170 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
176 * mathed/formulabase.C:
177 * mathed/math_cursor.[Ch]:
178 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
181 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
183 * lyxlength.[Ch] (operator!=): new function
185 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
187 * text.C (workWidth): use Inset::parOwner to find out where the
188 inset has been inserted. This is a huge performance gain for large
189 documents with lots of insets. If Inset::parOwner is not set, fall
190 back on the brute force method
192 * paragraph_pimpl.C (insertInset):
193 * paragraph.C (Paragraph):
194 (cutIntoMinibuffer): set parOwner of insets when
195 inserting/removing them
197 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
199 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
201 * tabular-old.C (getTokenValue):
202 * tabular.C (getTokenValue):
203 (write_attribute): new versions for LyXLength
204 (everywhere): adjust the use of widths
206 * tabular.h: change the type of widths from string to LyXLength
208 2001-12-11 Ben Stanley <bds02@uow.edu.au>
210 * paragraph.C: fixed missing line number count when exporting
211 Environments to LaTeX file
213 * buffer.C: added informational message for checking line numbers.
215 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
217 * text2.C (deleteEmptyParagraphMechanism): if there is only one
218 paragraph, do the 'double space' part, but not the 'empty
221 * text.C (workWidth): small optimization
222 (getLengthMarkerHeight): use minimal size for negative lengths.
224 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
226 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
228 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
230 2001-12-11 André Pönitz <poenitz@gmx.net>
233 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
235 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
237 * text2.C: keep selection on a setFont()
239 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
241 * lyx_cb.C: another bv->text misuse, from insert label
243 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
246 * kbsequence.C: re-instate nmodifier mask
248 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
250 * lyx_main.h: make lyxGUI private.
252 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
254 * lyxfind.C: place the cursor correctly on failed search
256 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
258 * text.C (getLengthMarkerHeight): for small heights, the arrows
259 are not always on top/bottom of the text
260 (drawLengthMarker): smaller arrows; take the left margin in
261 account; draw also vfills.
263 (paintLastRow): remove special code for vfill and standard spaces,
264 since everything is handled in drawLengthMarker now.
266 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
268 * buffer.C (insertErtContents): try to handle font and language
269 interaction a bit better.g
271 * ColorHandler.C (updateColor): change the hash to cover the whole
272 LColor enum, ws cleanup
273 (getGCLinepars): ditto
274 (getGCLinepars): only lookup in the linecache once.
276 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
278 * iterators.C (operator++): Make the iterator more robust
280 * BufferView2.C (removeAutoInsets): Use paragraph iterators
282 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
284 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
287 * text.C: better added space drawing
289 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
292 * BufferView2.C: fix layout combo update on inset unlock
294 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
296 * Makefile.am: don't compile unused files
298 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
302 * LyXAction.C: remove old LFUN_LAYOUTNO
304 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
307 * paragraph_pimpl.C: isTextAt() doesn't need font param
309 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
312 * lyxlex.C: little cleanup
314 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
316 * BufferView_pimpl.C: fix insertAscii for insets
318 2001-12-05 Juergen Vigna <jug@sad.it>
320 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
321 set the right font on the "multi" paragraph paste!
323 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
329 * lyxlength.C: remove out-commented code.
345 * vc-backend.C: change "while(" to "while ("
347 * lyxlength.[Ch]: add zero function to check if length is zero or
349 * lyxgluelength.C: use it
351 2001-12-05 Allan Rae <rae@lyx.org>
353 * lyxlength.C: Attempted a fix for the abs(int) header selection.
354 Works for 2.95.3, from what I understand of Garst's reports this should
355 work for other g++ versions. We're screwed if the abs(int) definition
356 changed between bugfix releases of gcc.
358 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
360 * text.C: fix chapter label offset !
362 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
365 * text.C: fix hfill at end of line, clean up
367 2001-12-04 Juergen Vigna <jug@sad.it>
369 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
370 that we force an update of the inset and it's owners if neccessary.
372 2001-12-03 Juergen Vigna <jug@sad.it>
374 * text.C (rowLast): simplified code
376 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
378 * lyxfunc.C: fix show options on timeout
380 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
382 * screen.C (topCursorVisible): scroll half a page when the cursor
383 reached top of bottom of screen
385 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
387 * minibuffer.C: deactivate on loss of focus
389 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
391 * vspace.[Ch] (operator!=): add operator.
393 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
395 * BufferView_pimpl.C: refuse to open an inset when
398 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
400 * BufferView_pimpl.C: allow to click on RHS of full row insets
402 2001-11-30 Juergen Vigna <jug@sad.it>
404 * tabular.C (LyXTabular): add a same_id to set the same id's in the
405 insets for undo reasons.
407 2001-11-28 André Pönitz <poenitz@gmx.net>
409 * vspace.[Ch]: cosmetical changes
411 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
421 * kbsequence.C: part re-write of old kb code
424 * WorkArea.C: remove Lgb_bug_find_hack
426 2001-11-30 José Matos <jamatos@fep.up.pt>
428 * buffer.C (makeDocBookFile): add a comment to point a hack.
429 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
430 Fixed a double write of labels.
432 2001-11-28 André Pönitz <poenitz@gmx.net>
434 * all the files from the change on 2001/11/26:
435 use lyx::layout_type instead of LyXTextClass::size_type
436 use lyx::textclass_type instead of LyXTextClassList::size_type
438 2001-11-29 Juergen Vigna <jug@sad.it>
440 * text.C: added support for paragraph::isFreeSpacing()
442 * buffer.C: same as above
444 * paragraph.h: inserted isFreeSpacing() function to enable
445 FreeSpacing inside InsetERT.
447 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
448 of the paragraph's in the cut/copy buffer to 0!
450 * text2.C (removeRow): remove the assert as it can!
452 * lyxtext.h: added helper function firstRow returning firstrow and
453 made firstrow private again.
455 * BufferView2.C (lockInset): don't relock if we're already locked!
457 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
459 (removeRow): added Assert::(firstrow)
461 * debug.C: forgot to add INSETTEXT here.
463 2001-11-28 Juergen Vigna <jug@sad.it>
465 * sp_spell.C (initialize): changed error text to more general
466 spellchecker command use (not only ispell!)
468 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
470 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
472 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
474 * vspace.C: initialise lyxgluelength on failure
476 2001-11-28 Allan Rae <rae@lyx.org>
478 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
479 declaration & definition that looks like a function declaration.
481 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
483 * BufferView2.C (copy):
484 (copyEnvironment): do not clear the selection when doing a copy.
486 * text.C (paintFirstRow): compilation fix
488 2001-11-27 Ben Stanley <bds02@uow.edu.au>
490 * tabular.C (Latex): correct line count when writing latex.
492 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
495 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
498 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
502 * LColor.C: change vfillline->added_space
504 * text.C: add markers and text for added space
506 * vspace.C: fix comment
508 2001-11-28 André Pönitz <poenitz@gmx.net>
510 * paragraph.C: whitespace changes
511 * all the other files from the change on 2001/11/26:
512 change *::pos_type into lyx::pos_type
514 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
516 * buffer.C (parseSingleLyXformat2Token): Set the language to the
517 language of the document when inserting error insets.
519 2001-11-26 André Pönitz <poenitz@gmx.net>
521 * BufferView_pimpl.[Ch]:
529 * paragraph_pimpl.[Ch]:
532 * text2.C: reduce header dependencies, introduce type for positions
534 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
536 * <various>: change to use Alert.h
538 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
540 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
541 when encountering an unknown token.
542 (readLyXformat2): Show an error message if there were unknown tokens.
544 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
547 * BufferView_pimpl.C:
551 * text2.C: use par->isInset()
553 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
556 * paragraph_pimpl.C: cleanup
558 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
560 * text2.C (removeRow):
561 * text.C (setHeightOfRow): remove useless (and costly) call to
564 2001-11-20 Allan Rae <rae@lyx.org>
566 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
567 Now need Inset*::checkInsertChar() to return true for appropriate
568 cases so that the characters in the minibuffer will actually be
571 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
573 * text.C: change the order of the includes.
574 (workWidth): initialize it at once.
575 (workWidth): make maxw unsigned
576 (setHeightOfRow): remove unused variable (inset)
577 (selectSelectedWord): remove unused variable (inset)
578 (paintRowText): fix drawing of hfill characters, and clean up a bit.
580 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
582 * lyxserver.C (emergencyCleanup): do not try to close pipes if
583 server is not running.
585 (closeConnection): add debug info when server is disabled.
587 * ColorHandler.C (getGCForeground): send debug message to GUI
590 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
592 * kbmap.C (bind): modify because return conventions of
593 kb_sequence::parse have changed.
595 * kbsequence.C (parse): only ignore spaces and not any stupid
596 control character. This avoids tests like s[i] <= ' ', which are
597 guaranteed to fail with 8bit characters and signed chars.
598 Change return code to string::npos when there have been no error
599 (0 was a bad idea when error is at first character)
601 2001-11-14 José Matos <jamatos@fep.up.pt>
604 * buffer.C (simpleDocBookOnePar): removed unused argument.
606 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
608 * text.C (selectNextWordToSpellcheck): do not test explicitely for
609 insets which are part of a word. Paragraph::isLetter takes care of
610 that now. Use Paragraph::isInset to identify insets.
611 (selectSelectedWord): do not test for hyphenation break.
613 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
614 that protected spaces are considered as spaces.
616 * paragraph.C (isLetter): cleanup the code for ispell extras; use
619 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
622 * lyxserver.C: fix it. and small cleanup.
624 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
626 * BufferView_pimpl.C: use inline helpers
629 * LaTeXFeatures.C: fix typos
632 * Spacing.C: move spacing_string into class
634 * ToolbarDefaults.C: move stuff into namespace anon
636 * layout.h: update enum
638 * lyxfunc.C: use better debug
640 * minibuffer.h: fix typo
644 * WorkArea.C: add and use Debug::WORKAREA
648 * text2.C: code re-organisation, inline helpers
650 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
652 * Layout.C: replaced a few cases of std::vector.size() == 0 with
655 2001-11-09 Allan Rae <rae@lyx.org>
657 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
658 '\n's after tables. Tabular and ERT inset work now makes this no
661 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
664 * minibuffer.C: fix crash, improve drop-down completion
666 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
669 * lyxserver.C: invalidate fd's when doing endPipe()
671 2001-11-08 José Matos <jamatos@fep.up.pt>
673 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
674 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
677 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
679 2001-11-07 José Matos <jamatos@fep.up.pt>
682 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
685 * buffer.C (sgmlOpenTag):
686 * buffer.C (sgmlCloseTag): removed debug info.
688 * buffer.h (sgmlOpenTag):
689 * buffer.h (sgmlCloseTag): made public.
691 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
693 * buffer.C (saveParamsAsDefaults):
694 * lyx_cb.C (MenuLayoutSave): remove
696 * LyXAction.C (init):
698 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
700 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
702 * buffer.C (setPaperStuff): removed from here...
704 * bufferparams.C (setPaperStuff): ... and moved there.
706 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
710 * XFormsView.C: add support for drop-down completion
712 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
714 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
717 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
719 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
722 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
724 * lyx_main.C: change ref to known bugs
726 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
728 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
729 to work around older babel problems.
731 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
733 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
735 2001-10-24 Juergen Vigna <jug@sad.it>
737 * tabular-old.C (ReadOld): below variable changes reflected.
739 * tabular.[Ch]: added ltType struct for longtable header/footer
740 defines and changed all instances where they are used. Added
741 future support for double top/bottom rows.
743 2001-10-24 José Matos <jamatos@fep.up.pt>
745 * buffer.h (docbookHandleCaption):
746 * buffer.C (docbookHandleCaption): removed unused function.
747 (makeDocBookFile): moved docbook supported version to v4.1.
749 2001-10-24 José Matos <jamatos@fep.up.pt>
752 * tabular.C (docbookRow): new function to export docbook code of a row.
753 (DocBook): now honors the longtable flags.
755 2001-10-23 José Matos <jamatos@fep.up.pt>
758 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
759 of the lyx defined sgml entities used in a docbook/linuxdoc document.
761 * buffer.C (makeLinuxDocFile):
762 (makeDocBookFile): reworked the preamble, more clean, and with
763 support for lyx defined entities. Changed the document declaration
764 to be more XML friendly.
766 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
767 if we need to output XML that should be done with a filter.
769 2001-10-22 Juergen Vigna <jug@sad.it>
771 * sp_pspell.h (class PSpell): add alive function needed in the
772 controller to see if the spellchecker could be started.
774 2001-10-22 Juergen Vigna <jug@sad.it>
776 * buffer.C (insertStringAsLines): modify the font for inserting
777 chars in certain conditions by calling checkInsertChar(font).
779 2001-10-19 Juergen Vigna <jug@sad.it>
781 * text.C (workWidth): use getRow instead of wrong algorithm.
782 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
784 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
789 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
791 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
793 * text.C (workWidth): do not search for the exact row when
794 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
795 optimization for big documents.
797 2001-10-18 Juergen Vigna <jug@sad.it>
799 * text.C (workWidth): new function with added Inset * parameter.
801 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
803 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
805 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
806 change return type of getColumnNearX.
809 * text.C (changeRegionCase): use uppercase/lowercase instead of
812 (rightMargin): simplify code by factoring out the uses of
817 (appendParagraph): use Paragraph::size_type
819 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
821 * vspace.C (asLatexString): add a missing break
823 2001-10-15 Herbert Voss <voss@perce.de>
825 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
827 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
829 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
832 2001-10-10 André Pönitz <poenitz@gmx.net>
834 * lyxfunc.C: removed greek_kb_flag.
836 2001-10-10 Herbert Voss <voss@perce.de>
838 * lyx_main.C: delete global string help_lyxdir.
840 2001-10-09 Herbert Voss <voss@perce.de>
842 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
844 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
846 * lyx_main.C: added global string help_lyxdir.
848 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
850 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
852 * lyxrc.C (set_font_norm_type): support iso8859-4
854 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
856 * LaTeX.C (deplog): add another regex for MikTeX
858 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
860 * lyxrc.C (set_font_norm_type): support iso8859-3
862 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
864 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
866 * LaTeXFeatures.C: remove special case of french and index
868 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
869 before \begin{document}). This solves several incompatibilities.
871 2001-10-03 Garst Reese <reese@isn.net>
873 * lyx_cb.C: change CheckTex error msg.
875 2001-10-03 José Matos <jamatos@fep.up.pt>
877 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
879 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
883 * lyx_main.C (commandLineVersionInfo): use new style version info.
885 * buffer.C (writeFile):
888 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
890 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
892 * version.h: update to use stuff in version.C
894 * version.C.in: new file. Contains version information determined
895 at compile time. This is a merging of version.h and
898 2001-10-03 Juergen Vigna <jug@sad.it>
900 * BufferView_pimpl.C (update): don't change "dirty" status in
903 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
905 * WorkArea.C (c-tor): re-position version string slightly.
907 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
909 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
910 revert to previous code.
912 WorkArea.[Ch]: (show, destroySplash): methods removed.
914 WorkArea.C: rework code so that it's an amalgam of the codes before and
915 after the splash screen was moved to WorkArea.
917 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
920 * vspace.C (inPixels):
923 * buffer.C (insertStringAsLines):
924 (asciiParagraph): fix types to be large enough
926 * lyxlex_pimpl.h: change member status from short to int
928 * layout.h: fix type of endlabeltype
931 * kbsequence.C (parse): change return type to string::size_type
933 * LaTeX.C (updateBibtexDependencies): comment out unneeded
936 * Bullet.C (bulletSize):
937 (bulletEntry): do not use short ints as parameters
939 * BufferView2.C (insertLyXFile): change a char to an int.
941 * WorkArea.C (WorkArea): remove unneeded floats in computation
943 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
945 * buffer.C (asciiParagraph): Treat '\\' as other chars.
947 * paragraph.C (asString): Do not ignore newline/hfill chars when
948 copying to the clipboard.
950 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
952 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
953 after a multi-line inset.
955 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
957 * paragraph.C (validate): Set NeedLyXFootnoteCode
959 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
961 * lyxfont.C (LyXSizeNames): changed increase-error to increase
962 and decrease-error to decrease.
964 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
966 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
967 it more readable (should be equivalent)
969 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
971 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
973 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
975 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
976 of a cursor (row, etc.) after a character has been deleted
977 (deleteEmptyParagraphMechanism): call the method above on _all_
978 cursors held by the LyXText when a double space has been
981 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
983 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
985 (resizeCurrentBuff): remove code to destroy the old splash dialog.
987 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
988 background. Use greyOut() and the new show() methods to toggle between
989 the foreground and background. Add code to remove the splash after
992 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
993 (create_forms): no longer call Dialogs::showSplash.
995 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
997 * .cvsignore: add version_info.h
999 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1001 * version_info.h.in: new file
1003 * Makefile.am: add version_info.h.in
1005 * lyx_main.C (commandLineVersionInfo): use version_info defined in
1006 version_info.h instead of VERSION_INFO
1008 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
1010 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
1011 The ERT inset now returns string().
1013 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
1015 * lyxtext.h, text.C (selectNextWord): renamed as
1016 selectNextWordToSpellcheck.
1018 * text.C (selectNextWordToSpellcheck): Modified to not select
1019 words inside an ERT inset.
1021 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1023 * lyx_cb.C (MenuLayoutSave): change a bit the question
1025 * sp_base.h: include <sys/types.h>
1027 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
1029 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
1031 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
1033 * several files: fix typos in user-visible strings
1035 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1037 * text2.C (pasteSelection): do not set the selection, since it
1038 will be cleared later. Actually, the intent was to fix the way the
1039 selection was set, but I figured rmoving the code was just as good.
1041 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
1043 * FontLoader.C (available): Check if font is available without
1046 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1048 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
1050 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
1052 * lyxrc.[Ch]: added display_graphics variable and associated code.
1054 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1056 * bufferparams.C (hasClassDefaults): new method. Returns true if
1057 the buffer parameters correspond to known class defaults
1059 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
1061 * XFormsView.C (show): set minimum size to the main window.
1063 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1065 * text2.C (copySelection):
1067 * lyxfind.C (LyXReplace):
1068 * BufferView_pimpl.C (Dispatch): pass the correct flag to
1069 LyXText::selectionAsString.
1071 * paragraph.C (asString): add "label" argument to the second form
1073 * text2.C (selectionAsString): add "label" argument and pass it to
1074 Paragraph::asString.
1076 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1078 * lyx_main.C (commandLineHelp): remove version information
1080 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
1082 * lyx_main.C: add -version commandline option
1084 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1086 * paragraph.h: make the optional constructor arg required instead.
1087 some modifications to other files because of this.
1089 * minibuffer.C (C_MiniBuffer_peek_event): make it static
1091 * lyxserver.C (C_LyXComm_callback): make it static
1093 * lyx_main.C (error_handler): make it static
1095 * lyx_gui.C (LyX_XErrHandler): make it static
1097 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
1099 * WorkArea.C: make the extern "C" methods static.
1101 * Makefile.am (lyx_LDADD): simplify
1103 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1105 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
1106 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
1108 * LyXAction.C (init):
1109 * lyxfunc.C (dispatch): associated code removal.
1111 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1113 * lyxfont.h (isSymbolFont): shut off warning
1115 * text.C (setHeightOfRow):
1116 (getVisibleRow): fix crash with empty paragraphs which have a
1119 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
1121 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
1124 2001-09-04 José Matos <jamatos@fep.up.pt>
1127 * tabular.C (docbook): rename docBook method to docbook.
1129 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1131 * Makefile.am: add dependencies to main.o.
1133 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
1135 * FontLoader.C (available): Return false if !lyxrc.use_gui
1137 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
1139 * FontInfo.C (query):
1140 * converter.C (view):
1141 * importer.C (Import):
1142 * exporter.C (Export): Can not -> cannot.
1144 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
1146 * BufferView_pimpl.C: allow to create index inset even if
1149 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
1151 * buffer.C (getLists): replace boost::tie code with an explicit pair
1152 as boost::tie can break some compilers.
1154 * iterators.h: Added a std:: declaration to the return type of
1157 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
1159 * lyxrc.C: add help for view_dvi_paper_option, default to safe
1162 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
1164 * iterators.[Ch]: New files. Provide paragraph iterators.
1166 * buffer.C (changeLanguage): Use paragraph iterators.
1167 (isMultiLingual): ditto
1169 * BufferView2.C (ChangeInsets): Use paragraph iterators.
1171 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
1173 * FontLoader.C: Support for cmr font.
1175 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
1177 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
1178 (available): New method.
1180 * FontInfo.C (getFontname): Use scalable fonts even when
1181 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
1184 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1186 * converter.C (Formats::view): reverted! Incorrect fix.
1188 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
1190 * converter.C (Formats::view): only output the -paper option
1191 if the dvi viewer is xdvi, thereby fixing bug #233429.
1193 2001-08-23 Herbert Voss <voss@perce>
1195 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
1197 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
1199 * Spacing.h (Spacing): Set space to Default on in the default
1202 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
1204 * vc-backend.h (RCS::versionString): add RCS to version
1205 (CVS::versionString): add CVS to version
1207 * vc-backend.C (scanMaster): do not add CVS to version.
1208 (scanMaster): do not add RCS to version
1210 * lyxvc.C (versionString): new method
1212 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
1214 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1216 * Spacing.C (set): initialize fval
1218 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
1220 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
1223 2001-08-16 Juergen Vigna <jug@sad.it>
1225 * lyxfunc.C (dispatch): implemented the new FINISHED states.
1227 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1229 * BufferView_pimpl.C:
1232 * text2.C: setParagraph takes linespacing now
1234 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
1236 * LyxAction.C: add internal LFUN_CITATION_INSERT
1238 * LyXView.C: actually apply fix
1240 * bufferlist.C: fix open non-existent file
1242 * lyxfind.C: fix indentation
1244 * lyxfunc.C: remove unneeded assert, fix typo
1246 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1248 * MenuBackend.C: use "Floatname List"
1250 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
1252 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
1253 when converting LaTeX layout to insetERT.
1254 Generate a non-collapsed float when reading old float
1256 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1258 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
1261 2001-08-13 Juergen Vigna <jug@sad.it>
1263 * text.C (fill): return 0 instead of 20 as this seems to be the more
1266 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
1268 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
1271 2001-08-13 Juergen Vigna <jug@sad.it>
1273 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
1275 (SearchBackward): comment out the unlocking of the inset_owner this
1276 should not be needed!
1278 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
1280 * Many files: Remove inherit_language, and add latex_language
1282 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
1285 2001-08-10 Juergen Vigna <jug@sad.it>
1287 * text.C (prepareToPrint): fixed hfill-width in draw!
1289 * BufferView2.C (selectLastWord): save the selection cursor as this
1290 now is cleared in the function LyXText::clearSelection!
1292 2001-08-08 Juergen Vigna <jug@sad.it>
1294 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
1295 BACKSPACE type functions.
1297 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
1298 is only cutted from the document but not put in the cut-buffer, where
1299 still the old stuff should be.
1301 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
1303 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
1305 * tabular.C (SetWidthOfCell): fixed special case where the width
1307 (LeftLine): handle '|' in align_special.
1309 (LeftAlreadyDrawed): ditto
1310 (SetWidthOfCell): ditto
1312 2001-08-07 Juergen Vigna <jug@sad.it>
1314 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
1316 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1318 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
1319 * lyxlex.[hC]: ditto
1321 2001-08-06 Juergen Vigna <jug@sad.it>
1323 * text.C (getVisibleRow): fix up row clearing a bit.
1325 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1327 * minibuffer.C: make sure the X server sees the changes in the input.
1329 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1331 * paragraph.C (getFont): split into...
1332 (getLabelFont): this
1333 (getLayoutFont): and this
1334 * paragraph_pimpl.C (realizeFont): calling this
1336 * text2.C (getFont): split into...
1337 (getLayoutFont): this
1338 (getLabelFont): and this
1339 (realizeFont): all three calling this
1341 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
1344 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1346 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
1348 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
1350 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
1351 layouts from the Quote inset insertion.
1353 2001-08-03 Juergen Vigna <jug@sad.it>
1355 * BufferView_pimpl.C (update): do the fitCursor only at the end!
1357 * screen.C (drawFromTo): don't call fitcursor here and do the loop
1358 only if status not is already CHANGED_IN_DRAW (second level).
1360 * text.C (draw): don't set the need_break_row when inside an
1363 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1365 * buffer.C (parseSingleLyXformat2Token): handle more latex
1368 * bufferview_funcs.[hC]: change function names to
1369 begin with small char, adjust other files.
1371 2001-08-02 André Pönitz <poenitz@gmx.net>
1374 BufferView_pimpl.C: remove broken special code for math-greek
1376 2001-08-02 Juergen Vigna <jug@sad.it>
1378 * BufferView_pimpl.C (update): redone this function so that we
1379 update the text again if there was a CHANGE_IN_DRAW.
1381 * screen.C (cursorToggle): removed LyXText parameter and recoded.
1382 (drawFromTo): added a new internal bool which is used by draw() and
1384 (general): some cursor drawing problems fixed.
1386 2001-08-01 Juergen Vigna <jug@sad.it>
1388 * lyxfind.C (LyXFind): fixed
1389 (SearchForward): ditto
1390 (SearchBackward): ditto
1392 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
1393 spurius drawing of the cursor in the main area.
1395 * text2.C (status): small fix which could lead to a segfault!
1396 (clearSelection): remove unneeded BufferView param.
1398 2001-08-01 André Pönitz <poenitz@gmx.net>
1400 * lyxfunc.C: small change due to changed mathed interface
1402 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1404 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
1406 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1408 * lyxfunc.c: fail gracefully if file doesn't exist
1413 * BufferView_pimpl.C: IsDirWriteable() proto changed
1415 * LyXView.C: fix updateWindowTitle() to store the last title
1417 2001-07-31 Juergen Vigna <jug@sad.it>
1419 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
1420 the font (wrong since using of Paragraph::highestFontInRange).
1422 * paragraph.C (highestFontInRange): added a default_size parameter.
1424 * text.C (getVisibleRow): minor clear row changes (still not perfect).
1425 (setHeightOfRow): reformat
1427 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1429 * converter.[hC] + affected files: move to (inital-char)lowercase
1432 * ParagraphParameters.C (ParagraphParameters): remove commented code
1434 * PainterBase.[Ch]: remove commented code
1436 * LaTeXFeatures.h: add "bool floats" for float.sty
1438 * LaTeXFeatures.C (LaTeXFeatures): init floats
1439 (require): handle float
1440 (getPackages): do it with floats
1442 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1444 * BufferView_pimpl.C (Dispatch): improve handling of
1445 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
1447 * commandtags.h: #include lyxfont.h here temporarily to avoid
1450 * bufferlist.h: include LString.h here.
1452 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1454 * text2.C (getStringToIndex): new method.
1456 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
1458 * *: Reduced header file dependencies all over.
1460 2001-07-30 Baruch Even <baruch@lyx.org>
1462 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
1464 2001-07-29 Baruch Even <baruch@lyx.org>
1466 * buffer.C (readInset): Changed GRAPHICS to Graphics.
1468 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1470 * ParameterStruct.h (endif): add a default constructor to make
1471 sure that all variables is initialized.
1473 * ParagraphParameters.C (ParagraphParameters): adjust
1475 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1477 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
1478 index; also, check that there is something to index, and that it
1479 does not span over several paragraphs.
1480 (doubleClick): use WHOLE_WORD_STRICT for double click.
1482 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
1484 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
1487 2001-07-26 Baruch Even <baruch@lyx.org>
1489 * buffer.C (readInset): Changed to call up InsetGraphics when reading
1490 an InsetFig figure, backwards compatible reading of old figure code.
1492 2001-07-27 Juergen Vigna <jug@sad.it>
1494 * text2.C: font.realize function adaption.
1496 * text.C (draw): add a warnings lyxerr text if needed.
1498 * layout.C: font.realize function adaption.
1500 * language.C: add inherit_language and implement it's handlings
1502 * bufferview_funcs.C (StyleReset): remove language parameter from
1503 font creation (should be language_inherit now).
1505 * bufferparams.C (writeFile): handle ignore_language.
1507 * paragraph.C (getFontSettings): the language has to be resolved
1508 otherwise we have problems in LyXFont!
1510 * lyxfont.C (lyxWriteChanges): added document_language parameter
1511 (update): removed unneeded language parameter
1513 * paragraph.C (validate): fixed wrong output of color-package when
1514 using interface colors for certain fonts in certain environments,
1515 which should not seen as that on the final output.
1517 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1519 * BufferView_pimpl.C:
1524 * LyXAction.C: add thesaurus support
1527 * lyxfind.C: add "once" parameter, for thesaurus, to not
1528 move to the next match
1530 2001-07-26 Juergen Vigna <jug@sad.it>
1532 * lyxfont.C (realize): honor ignore_language too!
1535 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
1537 * text.C (draw): one place more for ignore_language to not draw
1540 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
1542 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
1544 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1546 * buffer.C (parseSingleLyXformat2Token): a more general fix for
1547 the minipage conversion problem.
1549 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1551 * buffer.C (parseSingleLyXformat2Token): check minipage if we
1554 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1556 * BufferView.h: don't forward declare WorkArea
1558 * BufferView.C: don't include WorkArea.h
1560 2001-07-25 André Pönitz <poenitz@gmx.net>
1564 * lyxfunc.C: new LFUN 'math-space'
1566 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
1568 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1570 * text2.C (toggleInset): call open/close
1572 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1574 * lyxfunc.C (dispatch): add debug for the disabled case
1576 * font.C (buttonText): make similar to rectText
1578 * buffer.C (readInset): comment out parsing of insetlist and
1581 * PainterBase.C (rectText): small correction
1583 * BufferView_pimpl.C: comment out insettheorem and insetlist
1584 * LyXAction.C: ditto
1585 * commandtags.h: ditto
1587 2001-07-24 Juergen Vigna <jug@sad.it>
1589 * text.C (draw): honor the ignore_language.
1591 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
1593 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1595 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
1598 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1600 * lyxtext.h: remove unused (and unimplemented) methods
1602 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1604 * text.C (getVisibleRow): honor background color
1607 * Painter.h: remove default color argument for fillRectangle
1609 * text.C (backgroundColor): new method
1611 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1613 * text.C (getVisibleRow): adjust
1615 * font.[Ch] (rectText): new method, metrics
1616 (buttonText): new method, metrics
1618 * PainterBase.[hC]: make rectText and buttonText always draw and take
1621 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1623 * ToolbarDefaults.C (read):
1624 * MenuBackend.C (read): allow escaping in all strings
1626 * BufferView_pimpl.C (insertAndEditInset): new method.
1627 (Dispatch): use insertAndEditInset whenever appropriate.
1629 * BufferView_pimpl.C (insertNote): removed
1631 * BufferView_pimpl.C (smartQuote): new method, moved from
1632 BufferView; if an insetquote cannot be inserted, insert a '"'
1635 * BufferView2.C: remove insertCorrectQuote();
1637 * lyxfunc.C (getStatus): Add support for all remaingin
1640 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
1642 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
1643 command (necessary to pass " as parameter of self-insert.
1645 * text.C (selectWordWhenUnderCursor):
1646 (selectWord): add word_location parameter
1647 (selectWordWhenUnderCursor): same + remove special code for word
1649 (selectNextWord): use kind() to guess type of insetspecialchar,
1652 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
1653 (insertErtContents): create ert insets as collapsed.
1654 (readInset): better compatibility code for Info inset.
1656 2001-07-20 Juergen Vigna <jug@sad.it>
1658 * lyxfunc.C (dispatch): use always LyXFind now!
1660 * text2.C (init): add a reinit flag so that the LyXText can be
1661 reinited instead of deleted and reallocated (used in InsetText).
1663 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
1669 2001-07-18 Juergen Vigna <jug@sad.it>
1671 * text.C (selectNextWord): handle insets inside inset by calling
1672 always the bv->text functions so that we can go up the_locking_inset!
1674 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
1675 in strange locations when inside an inset!
1677 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
1678 handling to include insets.
1680 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
1682 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1684 * LyXAction.C (init):
1686 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
1687 LIGATURE_BREAK, since the name is so stupid.
1689 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
1691 * buffer.C (readInset): enable reading of new InsetNotes as well as old
1694 * FontLoader.C: remove FORMS_H_LOCATION cruft.
1696 * sp_form.[Ch]: remove.
1698 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
1700 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
1703 * src/buffer.C (readInset): ditto.
1705 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1707 * BufferView_pimpl.C (specialChar): new method. Obsoletes
1708 menuSeparator(), endOfSentenceDot(), ldots() and
1709 hyphenationPoint(), which are therefore removed.
1710 (Dispatch): handle LFUN_HYPHENATION_BREAK.
1712 * LyXAction.C (init):
1713 * commandtags.h: add LFUN_HYPHENATION_BREAK.
1715 * paragraph.C (getWord): removed.
1717 * BufferView_pimpl.C (Dispatch): use last word or selection for
1718 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
1720 * lyx_main.C (queryUserLyXDir): do not ask before creating
1721 user_dir, except if it has been named explicitely.
1723 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
1725 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
1726 a document of zero size.
1728 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1730 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
1731 approriately in the c-tor and in require().
1732 (getPackages): output the appropriate LaTeX for natbib support.
1734 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
1735 variables "use_natbib" and "use_numerical_citations" when reading the
1737 (readInset): read the various natbib cite commands.
1738 (validate): white-space change.
1740 * bufferparams.[Ch]: new variables "bool use_natbib" and
1741 "bool use_numerical_citations".
1742 (writeFile): output them in the LyX file.
1744 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1746 * lyxfunc.C (getStatus): add support for all the inset insertion
1749 * text2.C (insertInset):
1750 * paragraph.C (insetAllowed):
1751 * BufferView_pimpl.C (insertInset): update to take in account the
1752 renaming of insertInsetAllowed
1754 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
1756 * text2.C (getInset): new method. returns inset at cursor position.
1758 * BufferView_pimpl.C (Dispatch): changes because of this.
1760 * LyXAction.C (init): rename open-stuff to inset-toggle.
1762 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
1764 * text2.C (toggleInset): renamed from openStuff; use
1767 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
1769 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
1771 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
1773 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
1775 * buffer.C (readLyXformat2): Add filename to the error dialog
1777 2001-07-18 Juergen Vigna <jug@sad.it>
1779 * tabular.C (GetCellNumber): put an assert here instead of the check!
1781 2001-07-17 Juergen Vigna <jug@sad.it>
1783 * BufferView_pimpl.C (toggleSelection): adapted too.
1785 * text.C (selectNextWord): adapted for use with insets.
1786 (selectSelectedWord): ditto
1788 2001-07-17 Juergen Vigna <jug@sad.it>
1790 * sp_spell.C (PSpell): fix initialitation order.
1792 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1794 * paragraph.C: spacing
1796 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1798 * sp_spell.C: repair language selection for pspell
1800 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1802 * lyxfunc.h: change more methods to begin with lower char.
1804 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
1806 * buffer.C (parseSingleLyXformat2Token): Generate error insets
1807 for unknown layouts.
1809 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
1811 * buffer.C (readLyXformat2): Generate an error dialog if there are
1814 2001-07-16 Juergen Vigna <jug@sad.it>
1816 * sp_spell.C: always compile ISpell part.
1818 * lyxrc.C: added use_pspell entry and it's handling.
1820 2001-07-13 Juergen Vigna <jug@sad.it>
1822 * sp_spell.C: removed double includes.
1824 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1826 Consistent use of Lsstream.h:
1827 * Lsstream.h: added using std::stringstream for consistencies sake.
1829 * buffer.C: removed using std::stringstream
1831 * lyxfont.C (stateText):
1832 * paragraph.C (asString):
1833 * text.C (selectNextWord, selectSelectedWord):
1834 * text2.C (setCounter):
1835 * vspace.C (asString, asLatexString):
1836 std::ostringstream -> ostringstream.
1838 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1840 * LyXAction.C: add LFUN_HELP_ABOUTLYX
1841 * commandtags.h: add LFUN_HELP_ABOUTLYX
1842 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
1844 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1846 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
1848 * lyx_gui_misc.C: remove spellchecker
1849 * lyxfunc.C: showSpellchecker
1851 * sp_ispell.h: added
1852 * sp_pspell.h: added
1854 * sp_form.[Ch]: removed
1855 * spellchecker.[Ch]: removed
1857 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
1859 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
1861 (simpleTeXSpecialChars): Simply print the input character without
1862 any special translation if pass_thru is set.
1864 * layout.h: Added bool pass_thru to layout class for being able to
1865 implement pass through of a paragraph for Literate Programming.
1867 * layout.C: add LT_PASS_THRU to LayoutTags enum.
1868 * layout.C (LyXLayout): set pass_thru to flase in constructor.
1869 * layout.C (Read): add "passthru" to list of layout tags and add
1870 code to set the pass_thru boolean when it is read.
1872 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1874 * trans_decl.h: remove allowed from KmodInfo
1876 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
1880 * paragraph_pimpl.C (erase): use boost::prior
1882 * Painter.C (text): use data() instead of c_str() when length is
1884 * WorkArea.C (putClipboard): ditto
1885 * font.h (width): ditto
1887 * BufferView2.C: use it-> instead of (*it). for iterators
1889 * paragraph_pimpl.C: ditto
1890 * paragraph.C: ditto
1891 * minibuffer.C: ditto
1896 * converter.C: ditto
1898 * Variables.C: ditto
1899 * TextCache.C: ditto
1900 * MenuBackend.C: ditto
1901 * LyXAction.C: ditto
1903 * FloatList.C: ditto
1905 * ColorHandler.C (LyXColorHandler): ditto
1907 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1909 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
1911 * text2.C (openStuff): reintroduce this method (which had been
1912 nuked in NEW_INSETS frenzy).
1914 * lyxfunc.C (Dispatch): when an action has not been handled, use
1915 its name in the error message, not its number.
1917 * paragraph.C (inInset): change method name to begin with lowercase.
1920 * text2.C: updates because of this.
1922 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1924 * ToolbarDefaults.C (add): add spaces in error message
1926 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1928 * buffer.C (readLyXformat2): initialize the ert comp. variables.
1929 (readLyXformat2): rename return_par to first_par, use lyxlex's
1930 pushToken and remove the manual push handling.
1931 (parseSingleLyXformat2Token): add another ert comp. variable:
1932 in_tabular, rename return_par to first_par. handle newlines better
1934 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1936 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
1938 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1940 * text2.C (getParFromID): removed
1942 * buffer.C (getParFromID): new method moved form lyxtext.
1943 * BufferView2.C (insertErrors): adjust
1944 (setCursorFromRow): adjust
1945 * BufferView_pimpl.C (restorePosition): adjust
1946 * lyxfunc.C (Dispatch): adjust
1947 * undo_funcs.C (textUndo): adjust
1949 (textHandleUndo): adjust
1950 (textHandleUndo): adjust
1952 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1954 * buffer.C: up' the LYX_FORMAT
1956 * lyxfont.h: turn NO_LATEX on as default
1958 * buffer.C (insertErtContents): new methods of tex style compability.
1959 (parseSingleLyXformat2Token): use it several places.
1960 * tabular.C (OldFormatRead): and here
1962 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1964 * text2.C: remove some commented code.
1967 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
1968 * trans.C: changes because of the above.
1970 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
1972 * text2.C (setCounter): Fix counters bug with bibliography layout.
1974 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1976 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
1977 own member functions
1978 (simpleTeXSpecialChars): ditto
1980 2001-07-06 Juergen Vigna <jug@sad.it>
1982 * a lot of files: changed the access to LyXText::status and the
1983 call of undo-functions.
1985 * undo.[Ch]: added a inset_id to the undo informations.
1987 * undo_funcs.[Ch]: added and moved here all undo functions.
1989 * lyxtext.h: give the status enum a weight, made status_ a private
1990 variable and made accessor functions for it, removed the whole bunch
1991 of undo-functions as they are now in their own file, make some
1992 functions publically available. Added function ownerParagraph with
1995 * paragraph.[Ch]: added "bool same_ids" to the constructor,
1996 made InInset() a const function, added getParFromID() function.
1998 * buffer.[Ch]: added const version for inset_iterator functions,
1999 added getInsetFromID() function.
2001 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
2002 changed undo functions for new version.
2004 2001-07-05 Juergen Vigna <jug@sad.it>
2006 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
2007 unknow mechanism does not call the proper constructor but only this
2008 one also if I request the other!?
2010 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2012 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
2014 * text2.C (LyXText): use initialization lists.
2016 * lyxtext.h (Selection): initialize set_ and mark_
2017 (init): remove method
2019 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
2021 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
2023 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2025 * screen.[Ch]: change method names to begin with lowercase
2027 * BufferView_pimpl.C (updateScrollbar): simplify further and
2028 hopefully make it a bit faster.
2030 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2032 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
2033 calling directly xforms functions.
2035 * Painter.C (Painter):
2036 * lyx_cb.C (MenuWrite):
2037 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
2040 * lyx_gui.C: remove bogus guiruntime extern declaration.
2042 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2044 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
2046 (redoDrawingOfParagraph): ditto
2047 (redoParagraphs): ditto
2048 (cutSelection): don't create a object for CutAndPaste use the
2049 static method directly
2050 (pasteSelection): ditto
2052 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
2055 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2057 * modifications to some other files because of this.
2059 * Makefile.am (lyx_SOURCES): add XFormsView
2061 * XFormsView.[Ch]: new files
2063 * LyXView.[Ch]: make LyXView a base class for the gui handling for
2064 the main window. Move the gui dependent stuff to XFormsView
2066 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2068 * tabular.C (GetCellInset): update cur_cell also in the row/col
2069 version of this function.
2071 * lyxfunc.C: no need to include figure_form.h here.
2077 * lyxvc.C: no need to include forms.h here.
2079 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2081 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
2083 * lyxfunc.C (Dispatch):
2085 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
2086 constructor argument.
2088 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2090 * paragraph.C (Paragraph): dont't clear, and just set layout.
2091 (makeSameLayout): use params's copy contructor.
2093 * ParagraphParameters.[Ch] (makeSame): delete method
2095 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
2097 * Variables.[Ch]: fix indentation, rename set to isSet
2099 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2101 * lyxfunc.C (Dispatch): fix typo
2103 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2105 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
2108 * bufferlist.C: include assert.h for emergencyWrite().
2110 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2112 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
2113 give up at last (bug #425202) !
2115 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
2121 * spellchecker.C: strip spellchecker options and bring up
2122 preferences tab instead
2124 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2126 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
2127 the istringstream constructor
2129 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2131 * paragraph.C (getLayout): fix return value
2133 * paragraph.h: do not declare getLayout as inline.
2135 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
2137 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2139 * lyxcursor.h (operator<): new func
2140 (operator>): new func
2141 (operator>=): new func
2142 (operator<=): new func
2144 * text.C (changeCase): use selection.start and selection.end
2145 (changeRegionCase): require from to be <= to. Require par to be a
2148 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
2150 2001-06-27 Juergen Vigna <jug@sad.it>
2152 * text.C (cursorLeftOneWord): changed to return the cursor and added
2153 overlay with BufferView * parameter which calls this one.
2155 (selectWord): use new getWord function.
2156 (changeCase): renamed from changeWordCase as and extended to work
2159 * lyxtext.h: added enum word_location
2161 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
2162 changeCase as this operates now also on selections.
2164 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
2166 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
2168 * many files: send debug output to Debug::INFO instead of
2171 * converter.C (View):
2173 (Move): send debug output to Debug::FILES instead of console.
2175 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
2177 * lyxfunc.C (getStatus): use func_status
2179 * func_status.h: new header, describing the results of
2182 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
2185 2001-06-25 The LyX Project <jug@sad.it>
2187 * buffer.C (sgmlOpenTag):
2189 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
2191 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2193 * text2.C: remove some dead code
2195 * tabular.C (GetCellInset): store the last cell checked (gotten)
2197 * tabular.h: add the helper for the speedup
2199 * lyxtext.h: remove some dead code
2201 2001-06-26 The LyX Project <Asger>
2203 * paragraph.C: Change export to LaTeX of alignment to
2204 \begin{center} and family for better roundtrip work with reLyX.
2206 * Tune the math drawing a bit.
2208 2001-06-25 The LyX Project <Asger>
2210 * LColor.C (LColor): New color for math background. New color
2213 2001-06-25 The LyX Project <jug@sad.it>
2215 * lyxfunc.C (MenuNew): remove extra check for .lyx file
2218 * bufferlist.C (newFile): do not restrict to files ending with
2221 * BufferView_pimpl.C (MenuInsertLyXFile):
2223 2001-06-24 The LyX Project <jug@sad.it>
2225 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
2228 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2230 * lyxtext.h: rename most methods to begin with a small char.
2231 Lots of changes because of this.
2233 * paragraph.C (Paragraph): do not call fitToSize
2234 (erase): call Pimpl::erase
2235 (insertChar): call Pimpl::insertChar
2236 (insertInset): call Pipl::insertInset
2237 (breakParagraph): do not call fitToSize
2238 (breakParagraphConservative): do not call fitToSize
2239 (fitToSize): remove method
2241 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
2243 2001-06-24 The LyX Project <Asger>
2245 * Fix Qt compilation^2
2247 2001-06-24 The LyX Project <jug@sad.it>
2249 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
2250 depthHook(getDepth()-1).
2253 * ParagraphParameters.h:
2254 * ParameterStruct.h: change type of depth to unsigned int ==
2255 depth_type. Many adaptations to other files before of that.
2257 2001-06-24 The LyX Project <Asger>
2259 * Fix Qt compilation.
2261 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2263 * paragraph.h: renamed several methods to begin with small letter.
2264 several changes to many parts of the code because of this.
2266 2001-06-23 The LyX Project <jug@sad.it>
2268 * text2.C (InsertStringAsLines): renamed from InsertStringA;
2269 rewritten to discard all double spaces when KeepEmpty is off
2270 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
2271 to only handle newlines but not fiddle with spaces and friends.
2273 * lyxfunc.C (MenuNew): when doing 'new from template', use
2274 template_path as default directory
2276 2001-06-23 The LyX Project <Asger>
2278 * Clean-up of header file includes all over
2279 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
2281 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2283 * paragraph.h: renamed from lyxparagraph.h
2285 2001-06-23 Asger <lyx@violet.home.sad.it>
2287 * Buffer.h: Removed Buffer::resize
2288 * BufferList.h: Removed BufferList::resize
2289 * LyXView.h: Added LyXView::resize. This way, we will only reflow
2290 the document lazily when we change the width, or the font settings.
2292 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2294 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
2296 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2298 * buffer.h: remove out of date comment
2300 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
2303 * screen.C: fix "theoretical" GC leak
2305 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2307 * LaTeX.C (scanAuxFile):
2308 (deplog): remove trailing \r when reading stream (useful under
2311 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
2313 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
2314 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
2315 and BufferView::theLockingInset(Inset*), so should use them and not
2316 access bv_->text->the_locking_inset directly.
2318 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
2320 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2323 * tex-defs.h: remove old unused file
2325 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
2327 * BufferView_pimpl.C: fix typo, remove minibuffer message
2328 when buffer has loaded
2330 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2332 * lyxfunc.C (Dispatch): use stringstream
2333 (MenuNew): use stringstream
2334 (Open): use stringstream
2336 * importer.C (Import): use stringstream
2338 * bufferview_funcs.C (CurrentState): use stringstream
2340 * LaTeX.C (run): use stringstream
2342 * BufferView_pimpl.C (savePosition): use stringstream
2343 (restorePosition): use stringstream
2344 (MenuInsertLyXFile): use stringstream
2346 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
2359 * vspace.C: removed // -*- C++ -*- as first line.
2362 * version.h: added // -*- C++ -*- as first line.
2364 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2366 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
2368 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
2371 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2373 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
2376 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2378 * gettext.C: include LString.h even when --disable-nls is on.
2380 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
2382 * converter.h (Get): changed argument type from int to
2383 FormatList::size_type to avoid unnecessary conversion.
2385 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
2388 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2390 * gettext.h: include LString.h even when --disable-nls is on.
2392 2001-06-07 Juergen Vigna <jug@sad.it>
2394 * text.C (BreakAgain): subst spaces with tabs.
2396 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
2397 (resizeInsetsLyXText): set force on resizeLyXText.
2399 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2401 * gettext.h (gettext_init):
2402 (locale_init): use a real definition instead of a macro
2404 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2406 * Bufferview_pimpl.C:
2408 * LColor.C: further lcolor tidies
2410 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2412 * BufferView_pimpl.C (updateScrollbar): simplify.
2414 * BufferView2.C: don't include insets/insetinfo.h, change
2415 prototype for insertInset and call the Pimpl version. let
2416 updateInset call Pimpl version.
2418 * BufferView.h: move inset_slept to BufferView::Pimpl, move
2419 gotoInset to BufferView::Pimpl
2421 2001-06-01 Juergen Vigna <jug@sad.it>
2423 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
2424 inside a LockingInset (is the update needed at all?).
2426 2001-05-31 Juergen Vigna <jug@sad.it>
2428 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
2429 here not the old one otherwise how should we compare it afterwards
2432 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2437 * FontInfo.C: bring C functions into global namespace when
2440 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2442 * LString.h: make sure config.h has been loaded before LString.h.
2444 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
2445 (one for each char read by EatLine!).
2447 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
2450 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2452 * paragraph.C (BreakParagraph): set the inset_owner in the new par
2453 to the same as the par we break from
2455 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
2457 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
2459 * MenuBackend.C (expand): also create menu entries for wide
2460 versions of the floats.
2462 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
2464 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
2466 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
2467 frontends/Makefile.am
2473 * tabular.C (getTokenValue): add std::
2475 * tabular-old.C (getTokenValue): add std::
2476 (getTokenValue): ditto
2477 (getTokenValue): ditto
2479 * screen.C (ToggleSelection): adjust
2481 * lyxtext.h: put selection cursors inside a Selection struct.
2483 * lyxfunc.C (moveCursorUpdate): adjust
2485 * lyxfont.C (latexWriteStartChanges): add std::
2489 * font.h: delete with(char const *, LyXFont const &)
2491 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
2493 * FontInfo.C (getFontname): add std::
2495 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2496 (workAreaButtonPress): adjust
2497 (tripleClick): adjust
2499 (moveCursorUpdate): adjust
2502 * BufferView2.C (gotoInset): adjust
2504 2001-05-30 Juergen Vigna <jug@sad.it>
2506 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
2507 to check pspell I add this as default as I now have new pspell
2508 libraries and they seem to use this.
2510 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2512 * text2.C (CutSelection): make the cursor valid before the call to
2515 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2517 * kbsequence.C (parse): de-uglify a bit the parsing code, which
2518 relied on 0 terminated strings and other horrors. Bug found due to
2519 the new assert in lyxstring!
2521 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
2524 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2526 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
2529 * lyxfunc.C (processKeySym): change method of getting to the
2532 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
2533 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
2534 * BufferView_pimpl.[Ch]: here as private methods.
2536 2001-05-28 Juergen Vigna <jug@sad.it>
2538 * text.C (SetHeightOfRow): added the update() call again as it is
2539 needed to initialize inset dimensions!
2541 2001-05-16 Juergen Vigna <jug@sad.it>
2543 * text2.C (SetCharFont): Add new function with BufferView * and
2544 bool toggleall parameters for setting insets internal fonts.
2545 (SetFont): Freeze the undo as we may change fonts in Insets and
2546 all this change should be inside only one Undo!
2548 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
2549 setting font's in insets as for them we have the SetFont function!
2551 2001-05-15 Juergen Vigna <jug@sad.it>
2553 * text2.C (ClearSelection): to be sure we REALLY don't have any
2556 * tabular.C (TeXCellPreamble): fixed the left border problem for
2559 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
2561 * LaTeX.C (deplog): Make sure that the main .tex file is in the
2564 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2566 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
2567 LFUN_BREAKPARAGRAPH.
2569 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
2570 help test to "internal only", similar for LFUN_INSERT_URL
2572 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
2573 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
2574 auto_region_delete and deadkeys.
2576 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
2579 * LColor.C: remove some dead entries, tidy a little
2581 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2583 * lyxfunc.C (processKeySym): comment the Escape handling, remove
2585 (Dispatch): implement LFUN_ESCAPE
2587 * commandtags.h: add LFUN_ESCAPE
2589 * LyXAction.C (init): add entry for LFUN_ESCAPE
2591 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
2592 Remove commented code.
2593 (insertNote): moved here
2594 (open_new_inset): moved here
2596 * BufferView[2].[Ch]: move insertNote and open_new_inset to
2599 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2601 * kbmap.C (findbinding): clean it up and make it work correctly.
2603 * lyx_main.C (init): do not pass argc and argv as parameters
2605 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
2607 * buffer.C: fix path for OS/2 & Win32
2611 * lyx_main.C: Added os:: class.
2613 * os2_defines.h: update
2615 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2617 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
2618 better by trying again with reduced state.
2620 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2622 * lyxrc.C (read): print error about invalid key sequence only when
2623 debugging (because not all latinX keysyms are known to some X
2626 * kbsequence.C (getiso): add a few std:: qualifiers
2627 (getiso): comment out extra return statement.
2629 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
2631 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
2633 (Dispatch): enhance the accent inset a bit. (not perfect)
2635 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2637 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
2639 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2641 * bufferlist.C (emergencyWrite): fix assert() call
2643 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
2645 * text.C (InsertChar): Added trivial patch to only send the "you
2646 can not do multiple spaces this way" message once during a
2649 2001-05-08 Baruch Even <baruch@lyx.org>
2651 * Makefile.am: Changed order of libraries to get LyX to link properly
2652 with the gnome frontend.
2654 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2656 * LaTeXFeatures.h: add a std:: qualifier
2658 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2660 * paragraph.C (String): use stringstream
2662 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2664 * paragraph.C (writeFile): remove footflag arg
2666 * buffer.C (makeLaTeXFile): use stringstream
2667 (latexParagraphs): remove footnot gurba
2669 * LaTeXFeatures.C (getPackages): use stringstream
2670 (getMacros): likewise
2671 (getTClassPreamble): likewise
2672 (getFloatDefinitions): new method
2674 * paragraph.C (writeFile): reindent
2677 * WorkArea.h: revert the xpos + etc changes.
2679 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
2681 * lyxparagraph.[Ch]: add copy constructor, remove Clone
2683 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
2684 (pasteSelection): likewise
2685 * text2.C (CreateUndo): likewise
2687 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2689 * minibuffer.C (peek_event): temporarily reduce the functionality
2690 of the minibuffer (to allow args on lfuns)
2692 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
2693 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
2695 * buffer.C (readInset): add compability reading of old float
2696 lists, add reading of new style float list.
2697 (readInset): avoid reevaluation of inscmd.getCmdName()
2698 (getLists): reindent
2700 * MenuBackend.C (MenuItem): implement parsing of
2701 md_floatlistinsert and md_floatinsert.
2702 (expand::LastFiles): move initalizaton of iterators out of loop,
2704 (expand::Documents): introduce typdedef vector<string> Strings,
2706 (expand::ExportFormats): introduce typedef vector<Format const *>
2707 Formats, and use it.
2708 (expand): implement FloatListInsert and FloatInsert.
2710 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
2711 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
2712 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
2714 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
2716 (Dispatch::LFUN_FLOAT_LIST): implement
2718 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2720 * LaTeX.C (run): Fix problem with --export code.
2722 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
2724 * BufferView.[Ch] (workarea): removed.
2725 (getClipboard) new method; wrapper for workarea()->getClipboard()
2727 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
2730 * WorkArea.h (width, height, xpos, ypos): These methods all
2731 returned the dimensions of the work_area sub-area of WorkArea,
2732 resulting in a position error if the WorkArea were resized. Now
2733 return the dimensions of the entire WorkArea.
2735 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
2737 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2739 * LaTeX.C (deplog): correct the syntax of regex reg1
2741 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2743 * undo.C: remove !NEW_INSETS cruft
2745 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
2747 * text2.C: remove !NEW_INSETS cruft
2749 * text.C: remove !NEW_INSETS cruft
2751 * tabular.C: remove !NEW_INSETS cruft
2753 * spellchecker.C: remove !NEW_INSETS cruft
2755 * lyxtext.h: remove !NEW_INSETS cruft
2757 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
2759 * lyxfunc.C: remove !NEW_INSETS cruft
2761 * lyxfind.C: remove !NEW_INSETS cruft
2763 * lyx_cb.C: remove !NEW_INSETS cruft
2765 * figureForm.C: remove !NEW_INSETS cruft
2767 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
2769 * buffer.[Ch]: remove !NEW_INSETS cruft
2771 * ToolbarDefaults.C: remove !NEW_INSETS cruft
2773 * CutAndPaste.C: remove !NEW_INSETS cruft
2775 * BufferView_pimpl.C: remove !NEW_INSETS cruft
2777 * BufferView2.C: remove !NEW_INSETS cruft
2779 * BufferView.h: remove !NEW_INSETS cruft
2781 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2783 * Lsstream.h: include LString.h before the sstream headers to
2784 fix problem with gcc 2.95.3 and lyxstring
2786 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2788 * lyx_main.C: add using directives when needed for C functions
2789 declared in std:: namespace.
2791 2001-04-27 Juergen Vigna <jug@sad.it>
2793 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
2794 (SetHeightOfRow): comment out the update call should not be needed!
2796 2001-04-13 Juergen Vigna <jug@sad.it>
2798 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
2799 (LyXTabular): tried to minimize operator= operations (and realized
2800 hopfully Lars wish).
2802 2001-04-27 Juergen Vigna <jug@sad.it>
2804 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
2806 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2808 * lyxfunc.C (Dispatch): hack to make listof algorithm work
2810 * buffer.C (readInset): hack to make listof algorithm work
2812 * BufferView_pimpl.C: hack to make listof algorithm work
2814 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2816 * LyXAction.C: removed all !NEW_INSETS cruft
2817 (init): moved lfun_item in method
2819 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
2821 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
2823 * BufferView2.C (theLockingInset): white space.
2825 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2827 * minibuffer.C: include <iostream>
2829 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
2831 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
2833 * commandtags.h: add LFUN_TRANSPOSE_CHARS
2835 * text.[Ch] (TransposeChars): new method
2837 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2839 * call message directly through LyXView instead of through LyXFunc
2840 * BufferView2.C: adjust
2841 * BufferView_pimpl.C: adjust
2842 * FontLoader.C: adjust
2844 * bufferview_funcs.C: adjust
2845 * converter.C: adjust
2846 * figureForm.C: adjust
2847 * importer.C: adjust
2849 * lyx_gui_misc.C: adjust
2853 + more files in subdirs
2855 * lyxparagraph.h (size): move up int file
2858 * adjust all uses of Assert to lyx::Assert.
2860 * BufferView2.C (ChangeCitationsIfUnique): adjust for
2861 lyxfunctional in namespace lyx
2862 * layout.C (hasLayout): ditto
2865 (delete_layout): ditto
2866 (NumberOfClass): ditto
2867 * converter.C (GetFormat): ditto
2872 * bufferlist.C (getFileNames): ditto
2873 (emergencyWriteAll): ditto
2876 * MenuBackend.C (hasSubmenu): ditto
2879 * BufferView_pimpl.C (getInsetByCode): ditto
2881 2001-04-18 Juergen Vigna <jug@sad.it>
2883 * vspace.C (asLatexString): fixed the 100% problem.
2885 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2887 * lyxfunc.C (Dispatch):
2889 * minibuffer.h: add a few std:: qualifiers
2891 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2893 * minibuffer.[Ch]: reimplement so that commands is initiated and
2894 run from lyxfunc, simplified som handling, and made the completion
2895 and history code for complete. wip.
2897 * lyxfunc.C (processKeySym): call message
2898 (miniDispatch): new temporary method
2899 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
2900 (LFUN_MESSAGE): implement
2901 (LFUN_MESSAGE_PUSH): implement
2902 (LFUN_MESSAGE_POP): implement
2903 (initMiniBuffer): the initial/defualt minibuffer message.
2905 * lyxfont.[Ch]: inline some more getters
2907 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
2909 * lyx_gui_misc.[Ch] (WriteStatus): remove method
2911 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
2912 (AutoSave): use LFUN_MESSAGE
2913 (Reconfigure): ditto
2915 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
2917 * figureForm.C: use LFUN_MESSAGE
2919 * converter.C (runLaTeX): use LFUN_MESSAGE
2921 * bufferview_funcs.C: use LFUN_MESSAGE
2923 (changeDepth): ditto
2925 * bufferparams.h: use boost::
2927 * bufferlist.h: inherit privately from noncopyable
2929 * bufferlist.C (loadLyXFile): remove some commented code.
2931 * buffer.C (runChktex): use LFUN_MESSAGE
2933 * ShareContainer.h: inherit privately from noncopyable
2935 * ParagraphParameters.[hC] (depth): inline it.
2937 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
2939 (message): new method
2940 (messagePush): ditto
2942 (show): init minibuffer
2943 (showState): direct call
2945 * LaTeX.[Ch]: inherit privately from noncopyable
2946 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
2947 instead of WriteStatus.
2949 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
2951 * BufferView_pimpl.C (buffer): don't init minibuffer
2952 (workAreaButtonPress): use LFUN_MESSAGE
2953 (workAreaButtonRelease): ditto
2954 (savePosition): ditto
2955 (restorePosition): ditto
2956 (MenuInsertLyXFile): ditto
2957 (workAreaExpose): don't init minibuffer
2958 (update): remove commented code, simplify
2960 * BufferView2.C (openStuff): use LFUN_MESSAGE
2961 (toggleFloat): ditto
2964 (copyEnvironment): ditto
2965 (pasteEnvironment): ditto
2970 (updateInset): remove some commented code
2972 * lastfiles.h: inherit privately from noncopyable
2977 * lyxlex_pimpl.h: ditto
2979 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
2980 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
2981 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2983 * LyXAction.h: inherit privately from noncopyable, add methods
2984 func_begin, func_end, returning iterators to the func map.
2986 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
2987 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2988 (func_begin): new method
2989 (func_end): new method
2991 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
2993 (copySelection): ditto
2994 (pasteSelection): ditto
2996 * BufferView.C: whitespace change
2997 * BufferView.h: inherit privately from noncopyable
2999 2001-04-16 Allan Rae <rae@lyx.org>
3001 * tabular-old.C (l_getline):
3002 * spellchecker.C (sc_check_word):
3003 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
3004 an unrecognised preprocessor directive. So ensure they're wrapped.
3006 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
3008 * src/exporter.C (Export): Give an error message when path to file
3011 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
3013 * LaTeX.C (deplog): Always check that foundfile exists.
3015 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3018 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
3020 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3022 * tabular.[Ch] (getLabelList): implement new method
3024 * minibuffer.h: comment ouf setTiimer
3026 * minibuffer.C (ExecutingCB): constify res
3027 (peek_event): constify s
3028 (Set): constify ntext
3029 (Init): constify nicename
3031 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
3033 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
3034 (savePosition): use two params to Minibuffer::Set
3035 (restorePosition): ditto
3037 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3039 * lyx_main.C: include language.h
3041 * Makefile.am (lyx_main.o): add language.h
3043 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3049 * CutAndPaste.C: include gettext.h
3051 * lyxfont.h: remove old hack with ON and OFF.
3054 * lyxfont.h: do not include language.h...
3059 * bufferview_funcs.C:
3065 * paragraph.C: ... but do it here instead
3067 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3069 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
3071 * tabular.C: small reformat
3073 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
3076 (BreakParagraph): ditto
3077 (SetOnlyLayout): ditto
3080 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
3083 * lastfiles.C: removed most using decl, add std:: where needed
3085 * buffer.C: ws changes
3087 * MenuBackend.C (class compare_format): put into anon namespace
3088 (expand): constify label, names, action, action2
3091 * text.C (SingleWidth): constify font
3092 (IsBoundary): constify rtl2
3093 (GetVisibleRow): constify ww
3095 * LaTeX.C (deplog): constify logfile
3097 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
3099 (workAreaExpose): constify widthChange, heightChange
3101 * lyxrow.C (par): moved
3104 * lyxrow.h: as inlines here
3106 * lyxfont.h (shape): moved from lyxfont.C
3107 (emph): moved from lyxfont.C
3109 * lyxfont.C (LyXFont): use initialization list for all
3111 (shape): move to lyxfont.h as inline
3112 (emph): move to lyxfont.h as inline
3115 2001-04-04 Juergen Vigna <jug@sad.it>
3117 * vspace.C: had to include stdio.h for use of sscanf
3119 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
3122 * BufferView_pimpl.h: remove xforms cruft. Both classes are
3123 independent of xforms.
3125 2001-04-02 Juergen Vigna <jug@sad.it>
3127 * spellchecker.C: fixed namespace placing!
3129 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
3131 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
3132 the LyXParagraph * is 0.
3134 2001-03-29 Juergen Vigna <jug@sad.it>
3136 * vspace.C: added support for %, c%, p%, l%.
3137 (stringFromUnit): added helper function.
3138 (asLatexString): changed to give right results for the %-values.
3140 * buffer.C: convert the widthp in a width%.
3142 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
3144 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
3147 * figureForm.[Ch]: stripped the FD_from_figure manipulation
3148 code out of lux_cb.[Ch], ready for its (imminent?) removal.
3150 * lyx_cb.[Ch]: see above.
3152 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
3156 * lyx.[Ch]: replaced by figure_form.[Ch].
3160 * lyxfunc.C: changed headers associated with above changes.
3162 2001-03-27 Juergen Vigna <jug@sad.it>
3164 * BufferView_pimpl.C: set the temporary cursor right!
3166 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
3168 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
3170 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
3172 * LString.h: removed "using std::getline"!
3174 * BufferView_pimpl.C (Dispatch): changes due to changes in
3175 InsetInclude::Params.
3177 * buffer.C (tag_name): removed redundant break statements as they were
3178 producing lots of warnings with my compiler.
3180 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3182 * LString.h: add "using std::getline" when using the real <string>.
3184 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
3186 * buffer.C: removed bitset usage.
3187 PAR_TAG moved to an anonymous name space.
3188 (tag_name): new funtion, also in the anonymous namespace.
3189 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
3190 (makeDocBookFile): clean code. Completed transition from string arrays
3192 (SimpleDocBookOnePar): code clean.
3194 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3196 * tabular.C: add some comments.
3198 2001-03-22 Juergen Vigna <jug@sad.it>
3200 * buffer.C (parseSingleLyXformat2Token): redone the minipage
3201 compatibility read a bit and fixed bug with minipage in different
3204 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
3206 * buffer.C (pop_tag): removed.
3207 (push_tag): removed.
3208 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
3209 array replaced with vector. Added support for CDATA sections.
3210 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
3212 (makeDocBookFile): XML conformant declaration of CDATA section,
3213 fixed bug related to <emphasis> in the first paragraph char.
3214 (sgmlOpenTag): exclude empty tags.
3215 (sgmlCloseTag): ditto.
3217 * buffer.h (pop_tag): removed.
3218 (push_tag): removed.
3220 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
3222 * language.h (Languages): added size_type and size().
3224 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3226 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
3227 response on compability reading of minipages. One probliem is that
3228 the old usage of minipages was «flertydig»
3230 * several files here and in subdirs: don't use static at file
3231 scope use anon namespaces instead.
3233 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
3235 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
3236 LaTeX output. This is necessary for Literate document
3239 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3241 * buffer.C: insert hfill when needed.
3243 * tabular.C (l_getline): use string::erase, small whitespace change.
3245 * BufferView_pimpl.C: try the anon namespace.
3248 2001-03-16 Juergen Vigna <jug@sad.it>
3250 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
3251 otherwise it won't open options-dialogs.
3253 * buffer.C: honor pextraWidth(p) on converting minipages.
3255 * tabular.C (l_getline): changed the functions to strip trailing \r.
3257 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
3259 * BufferView_pimpl.C:
3260 * minibuffer..C: added "using SigC::slot" declaration.
3262 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3264 * lyxlex_pimpl.h: noncopyable is in namespace boost.
3270 * paragraph.C: ditto
3272 * lyxtext.h: NO_PEXTRA
3274 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
3276 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
3277 * ParameterStruct.h: ditto
3278 * ParagraphParameters.h: ditto
3279 * lyxparagraph.h: ditto
3281 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3283 * buffer.C: add compability for minipage alignment.
3284 (latexParagraphs): remove unwanted pextra check.
3286 * several files: remove CXX_WORKING_NAMESPACES
3288 * buffer.C (pop_tag): tie is in namespace boost
3290 * BufferView.h: noncopyable is in namespace boost
3295 * lastfiles.h: ditto
3296 * bufferlist.h: ditto
3297 * ShareContainer.h: ditto
3299 * LyXAction.h: ditto
3302 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3304 * Merging changes from BRANCH_MVC back into HEAD.
3306 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
3308 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
3310 * BufferView_pimpl.C: change from intl.C
3314 * Makefile.am: move combox.*
3320 * intl.C: remove dialog (covered by prefs)
3322 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
3324 * lyxfunc.C (Dispatch): removed redundant break statement.
3326 2001-03-14 Juergen Vigna <jug@sad.it>
3328 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
3330 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3332 * buffer.C: add hack to fix compability reading of minipages.
3334 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
3336 * buffer.C (getLists): Cleanup.
3338 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3340 * lyxfont.C (update): don't honor toggleall on font size.
3342 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
3346 * Makefile.am: moved to frontends/xforms/
3350 * BufferView_pimpl.C: changes for moved mathpanel
3352 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3354 * gettext.h: fix gettext_init() in --disable-nls
3356 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3358 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
3360 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
3363 * lyx.h: strip external form
3365 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3367 * BufferView_pimpl.C: add comment, destroySplash()
3369 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
3371 * BufferView_pimpl.C:
3375 * lyxfunc.C: use re-worked insetinclude
3377 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3379 * buffer.C: add using std::stringstream.
3381 * lyx_cb.C: readd using std::ios.
3383 * buffer.C: add using std::map.
3385 * BufferView_pimpl.C: add using std::vector.
3387 * ShareContainer.h: add std:: to swap.
3389 * buffer.h: add some typedefs
3390 * buffer.C (getLists): use them
3391 (getLists): renamed from getTocList.
3392 add a counter for the different float types and use it in the
3394 (getLists): use the same counter for the NEW_INSETS and the "non"
3397 * lyx_cb.h: remove unused items, includes, using etc.
3399 * ShareContainer.h: remove some commented code, add more comments
3400 and "documentation".
3402 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3404 * buffer.C (getTocList): make the list also when NEW_INSETS is
3407 * buffer.h: remove TocType
3409 * buffer.C (getTocList): change to return a map<string,
3410 vector<TocItem> >, implement for dynamic number of list.
3412 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
3413 * text2.C (PasteSelection): adjust
3414 * CutAndPaste.C (pasteSelection): adjust
3416 * FloatList.C (FloatList): update from the new_insets branch.
3417 * Floating.[Ch]: ditto
3418 * LaTeXFeatures.C: ditto
3420 * lyxlex_pimpl.C: ditto
3422 * paragraph.C (Last): remove when NEW_INSETS is defined.
3424 * other file: changes because of the above.
3426 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3428 * lyxparagraph.h: rename next to next_, previous to previous_,
3429 make them private for NEW_INSETS. Rename Next() to next(),
3430 Previous() to previous().
3432 * other files: changes because of the above.
3434 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
3437 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
3440 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3442 * main.C (main): pass lyx_localedir to gettext_init().
3444 * gettext.h: remove locale_init and gettext_init macros
3446 * gettext.C (locale_init): new function
3447 (gettext_init): new function
3449 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
3452 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
3454 * Moved credits to frontends:
3455 * credits.[Ch]: removed
3456 * credits_form.[Ch]: removed
3457 * lyx_gui_misc.C: remove credits stuff
3460 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3462 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
3464 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
3465 unneeded destructor.
3467 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
3468 a standalone pointer again.
3470 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
3472 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
3478 * ToolbarDefaults.C:
3487 * BufferView_pimpl.C: use new file dialog in GUII
3490 * lyx_cb.C: remove LayoutsCB to Toolbar
3492 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3494 * ShareContainer.h (get): add std:: qualifier
3496 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3498 * ShareContainer.h: define a proper ShareContainer::value_type
3499 type (and use typename to please compaq cxx)
3501 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3503 * lyxparagraph.h: move serveral local vars to
3504 ParameterStruct/ParagraphParameters., use ShareContainer in
3505 FontTable., make vars in FontTable private and add getter and
3508 * paragraph.C: changes because of the above.
3510 * lyxfont.h: remove copy constructor and copy assignment. (the
3511 default ones is ok), move number inside FontBits. move inlines to
3514 * lyxfont.C: add number to initializaton of statics, move several
3515 inlines here. constify several local vars. some whitespace
3516 cleanup. Dont hide outerscope variables.
3518 * Spacing.h: add two new constructors to match the set methods.
3520 * ShareContainer.h: new file, will perhaps be moved to support
3522 * ParameterStruct.h: new file
3524 * ParagraphParameters.h: new file
3526 * ParagraphParameters.C: new file
3528 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
3529 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
3531 * BufferView_pimpl.C: ParagraphParameter changes.
3532 * buffer.C: Likewise.
3533 * bufferview_funcs.C: Likewise.
3535 * text2.C: Likewise.
3537 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3539 * lyxfind.C (LyXReplace): do not redefine default argument in
3541 (IsStringInText): ditto
3542 (SearchForward): ditto
3543 (SearchBackward): ditto
3545 2001-03-06 Juergen Vigna <jug@sad.it>
3547 * lyxfind.C (IsStringInText): put parentes around expressions.
3549 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
3551 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
3553 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
3555 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
3557 * stl_string_fwd.h: add comment
3559 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
3562 * tabular.C: remove unused DocBook methods
3568 killed DO_USE_DEFAULT_LANGUAGE
3570 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3572 * lyx_gui.C: do not include language.h.
3574 * bufferview_funcs.C (ToggleAndShow): do not provide optional
3575 arguments in function implementation.
3577 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3579 * BufferView_pimpl.C: add <ctime>
3581 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3583 * BufferView_pimpl.C: add using std::find_if
3585 2001-02-27 José Matos <jamatos@fep.up.pt>
3587 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
3590 2001-02-11 José Matos <jamatos@fep.up.pt>
3592 * buffer.C (makeDocBookFile): command styles now have a parameter as
3595 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
3597 * layout_forms.[Ch]: removed
3598 * lyx_cb.[Ch]: out character
3599 * lyx_gui.C: out character
3600 * lyx_gui_misc.C: out character
3601 * bufferview_funcs.C: : out character,
3602 added toggleall as parameter in ToggleAndShow
3604 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
3606 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
3608 * text2.C (SetCurrentFont): Disable number property at boundary.
3610 2001-02-26 Juergen Vigna <jug@sad.it>
3612 * lyxfunc.C (getStatus): added a string argument override function so
3613 that this is correctly called from LyXFunc::Dispatch if it contains a
3614 do_not_use_argument which is used!
3615 (Dispatch): added check for "custom" export and call appropriate func.
3617 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
3619 * lyxrc.C: Add language_command_local, language_use_babel and
3620 language_global_options.
3622 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
3624 * buffer.C (makeLaTeXFile): Use language_use_babel and
3625 language_global_options.
3627 2001-02-23 Juergen Vigna <jug@sad.it>
3629 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
3630 which works with LyXText and putted it inside BufferView. Here now we
3631 only call for that part the BufferView::Dispatch() function.
3633 * BufferView.C (Dispatch): added.
3635 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
3636 functions which needs to use a LyXText over from LyXFunc.
3637 (MenuInsertLyXFile): added
3638 (getInsetByCode): added
3639 (moveCursorUpdate): added
3640 (static TEXT): added
3642 2001-02-22 Juergen Vigna <jug@sad.it>
3644 * BufferView_pimpl.C (update): call a status update to see if LyXText
3647 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3649 * vc-backend.C (revert): implement for CVS
3650 (getLog): implement for CVS
3652 2001-02-20 Juergen Vigna <jug@sad.it>
3654 * text2.C (ClearSelection): added BufferView param for inset_owner call
3656 * lyxfunc.C (TEXT): added this function and use it instead of
3657 directly owner->view()-text of getLyXText().
3659 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
3661 * src/layout_forms.C: out preamble
3662 * src/layout_forms.h: out preamble
3663 * src/lyx_cb.C: out preamble
3664 * src/lyx_cb.h: out preamble
3665 * src/lyx_gui.C: out preamble
3666 * src/lyx_gui_misc.C: out preamble
3667 * src/lyxfunc.C: connect with guii preamble
3669 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
3671 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
3673 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
3675 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
3676 whether to run bibtex.
3678 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
3680 * Makefile.am (lyx_SOURCES): Remove BackStack.h
3682 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3684 * Makefile.am (lyx_SOURCES): removed bibforms.h
3688 * text.C (GetVisibleRow): make several local vars const
3690 * tabular.C: small cleanup.
3692 * lyxserver.C (callback): use compare instead of strncmp
3694 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
3695 inlines to after class or to paragraph.C
3697 * lyxfont.h: remove friend operator!=
3699 * converter.h: move friend bool operator< to non friend and after
3702 * combox.h: small cleanup
3704 * buffer.h: doxygen, remove unused constructor, move inclas inlies
3705 to inlines after class def.
3707 * buffer.C (pop_tag): use string operations instead of strcmp
3709 * bmtable.c: doxygen, small cleanup
3711 * LaTeX.h: remove friend operator==
3713 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3725 * BufferView_pimpl.C:
3726 * BufferView.[Ch]: remove cruft
3728 2001-02-14 Juergen Vigna <jug@sad.it>
3730 * lyxfunc.C: removed #if 0 unused code
3732 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
3734 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
3736 * text2.C (SetSelection): added a BufferView * parameter
3738 2001-02-13 Juergen Vigna <jug@sad.it>
3740 * lyxfunc.C (Dispatch): fixed protected blank problem.
3741 * BufferView2.C (protectedBlank): added LyxText * parameter.
3743 * tabular.C (AppendRow): forgot to set row_info of newly added row.
3744 (AppendColumn): same as above for column_info.
3746 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
3747 (moveCursorUpdate): use a LyXText param for support of InsetText.
3749 * BufferView_pimpl.C (doubleClick): added support for InsetText.
3750 (tripleClick): ditto
3752 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
3754 * BufferView_pimpl.C (update): added LyXText param to honor insets.
3756 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
3758 * text2.C (SetSelection): set correct update status if inset_owner
3761 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
3763 * tabular.C: remove some commented code.
3765 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
3767 * BufferView_pimpl.C: call hideSplash()
3769 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
3772 * bibforms.h: remove
3775 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
3776 add LFUN_CHILD_CREATE
3778 * counters.h: fix tiny typo
3783 * lyx.C: move splash to frontends/xforms/
3785 * lyx_gui_misc.C: move Include and Bibform to frontends
3787 * lyxvc.h: clarify comment
3789 * vspace.C: tiny housekeeping
3791 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
3793 * text.C (PrepareToPrint): RTL Fix.
3795 * paragraph.C (GetUChar): New method.
3796 (String): Use GetUChar.
3798 * buffer.C (asciiParagraph): Use GetUChar.
3800 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
3802 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
3804 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
3807 * buffer.C: rename to getLogName(), handle
3808 build log / latex log nicely
3810 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3813 * MenuBackend.h: remove support for reference menuitem type.
3815 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
3817 * BufferView_pimpl.C: housekeeping
3818 * BufferView_pimpl.h:
3823 * minibuffer.h: move Timeout GUI-I
3825 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
3827 * lyxrc.C (read): Update converters data-structures.
3829 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
3831 * LaTeX.h (operator!=): add operator != for Aux_Info
3833 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
3835 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
3837 * LaTeXLog.C: deleted, useful code moved to Buffer
3840 * buffer.C: new function getLatexLogName()
3846 * lyxfunc.C: use frontends for LaTeX and VC logs
3848 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3850 * LaTeX.h: yet another std:: that Allan forgot.
3852 * Variables.C (set): renamed from isset(), because this clashes
3853 with some HP-UX macros (grr).
3855 2001-02-06 Allan Rae <rae@lyx.org>
3857 * LaTeX.h: Another bug fix. Missing std:: this time.
3859 2001-02-04 Allan Rae <rae@lyx.org>
3861 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
3862 floats problem. I've left it commented out because it's not quite
3863 correct. It should also test that the current object is a table or
3864 figure inset. But I haven't gotten around to figuring out how to do
3865 that. I *think* it'll be something like: "table" == inset.type()
3867 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
3870 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
3872 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
3873 all the citation/databases/styles in the auxilary file.
3874 (run): Rerun latex if there was a babel language error.
3876 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
3878 * text.C (Backspace): Preserve the font when changing newline char
3880 (BreakParagraph): If the cursor is before a space, delete the space.
3882 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
3884 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3886 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
3887 new argument (code).
3888 (ChangeCitationsIfUnique): New method.
3890 * paragraph.C (GetPositionOfInset): Handle bibkey.
3892 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3894 * BufferView_pimpl.h: change type of Position::par_pos to
3895 LyXParagraph::size_type.
3897 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
3899 * BufferView_pimpl.C (savePosition, restorePosition): Write
3900 messages to minibuffer.
3902 2001-01-28 José Matos <jamatos@fep.up.pt>
3904 * buffer.C (makeDocBookFile): adds support for document language.
3905 A silly restriction on the name of LatexCommand types where removed.
3906 Added support for CDATA sections, allows to chars unescaped, used
3907 among others in code, to avoid escape < and >.
3909 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
3911 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
3912 saved positions instrad of a stack. Furthermore, a position is
3913 stored using paragraph id/paragraph position.
3915 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
3916 Remove LFUN_REF_BACK.
3918 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
3920 * converter.C (dvipdfm_options): New method.
3922 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
3924 * vspace.C (isValidLength): Fix for empty input string.
3926 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3928 * LyXAction.C (init): change description of LFUN_FIGURE to
3931 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3933 * LaTeX.C: add using directive
3935 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
3937 * MenuBackend.C (expand): Fix the sorting of the formats.
3939 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
3941 * lyx_main.C: tiny error message fix
3943 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3945 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
3946 calling fl_initialize(). This fixes the problem with ',' as
3947 decimal separator in text files.
3949 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
3951 * trans.C (process): Fix the keymap bug.
3953 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
3955 * LaTeX.C (scanAuxFiles): New method. Provides support for
3956 multiple bibliographies (when using the bibtopic/bibunits pacakges).
3957 (scanLogFile) Scan for "run BibTeX" messages.
3959 * buffer.C (makeLaTeXFile): Do not load the ae package when using
3960 OT1 font encoding. Also, load the aecompl package if the ae
3963 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
3965 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3967 * texrow.C (increasePos): turn two error messages into debug
3970 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
3972 * LaTeX.C (scanAux): Handle the \@input macro.
3973 (runBibTeX): Use scanAux().
3975 * language.C (latex_options_): New field.
3977 * LaTeXFeatures.C (getMacros): Add language macros.
3979 * buffer.C (makeLaTeXFile): Small fix.
3981 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3983 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
3985 * text2.C: add a using directive.
3987 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
3992 * lyxfunc.C: kill LyXBell.
3994 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
3996 * text.C (IsBoundary): Remove the error message
3998 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
4000 * lyxrc.C (setDefaults): Correct initialization value for
4003 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
4005 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
4008 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
4011 * src/LyXAction.C: Added reference-next.
4013 * text.C (InsertChar): Use contains instead of strchr.
4015 * lyx_cb.C (MenuInsertLabel): Enable default value code.
4017 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
4019 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
4020 alignment commands (when needed).
4022 * text.C (InsertChar): Add ':' to number separator chars.