1 2001-11-29 Juergen Vigna <jug@sad.it>
3 * BufferView2.C (lockInset): don't relock if we're already locked!
5 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7 (removeRow): added Assert::(firstrow)
9 * debug.C: forgot to add INSETTEXT here.
11 2001-11-28 Juergen Vigna <jug@sad.it>
13 * sp_spell.C (initialize): changed error text to more general
14 spellchecker command use (not only ispell!)
16 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
18 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
20 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
22 * vspace.C: initialise lyxgluelength on failure
24 2001-11-28 Allan Rae <rae@lyx.org>
26 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
27 declaration & definition that looks like a function declaration.
29 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
31 * BufferView2.C (copy):
32 (copyEnvironment): do not clear the selection when doing a copy.
34 * text.C (paintFirstRow): compilation fix
36 2001-11-27 Ben Stanley <bds02@uow.edu.au>
38 * tabular.C (Latex): correct line count when writing latex.
40 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
43 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
46 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
50 * LColor.C: change vfillline->added_space
52 * text.C: add markers and text for added space
54 * vspace.C: fix comment
56 2001-11-28 André Pönitz <poenitz@gmx.net>
58 * paragraph.C: whitespace changes
59 * files form the 26th: change *::pos_type into lyx::pos_type
61 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
63 * buffer.C (parseSingleLyXformat2Token): Set the language to the
64 language of the document when inserting error insets.
66 2001-11-26 André Pönitz <poenitz@gmx.net>
68 * BufferView_pimpl.[Ch]:
76 * paragraph_pimpl.[Ch]:
79 * text2.C: reduce header dependencies, introduce type for positions
81 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
83 * <various>: change to use Alert.h
85 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
87 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
88 when encountering an unknown token.
89 (readLyXformat2): Show an error message if there were unknown tokens.
91 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
98 * text2.C: use par->isInset()
100 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
103 * paragraph_pimpl.C: cleanup
105 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
107 * text2.C (removeRow):
108 * text.C (setHeightOfRow): remove useless (and costly) call to
111 2001-11-20 Allan Rae <rae@lyx.org>
113 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
114 Now need Inset*::checkInsertChar() to return true for appropriate
115 cases so that the characters in the minibuffer will actually be
118 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
120 * text.C: change the order of the includes.
121 (workWidth): initialize it at once.
122 (workWidth): make maxw unsigned
123 (setHeightOfRow): remove unused variable (inset)
124 (selectSelectedWord): remove unused variable (inset)
125 (paintRowText): fix drawing of hfill characters, and clean up a bit.
127 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
129 * lyxserver.C (emergencyCleanup): do not try to close pipes if
130 server is not running.
132 (closeConnection): add debug info when server is disabled.
134 * ColorHandler.C (getGCForeground): send debug message to GUI
137 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
139 * kbmap.C (bind): modify because return conventions of
140 kb_sequence::parse have changed.
142 * kbsequence.C (parse): only ignore spaces and not any stupid
143 control character. This avoids tests like s[i] <= ' ', which are
144 guaranteed to fail with 8bit characters and signed chars.
145 Change return code to string::npos when there have been no error
146 (0 was a bad idea when error is at first character)
148 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
150 * text.C (selectNextWordToSpellcheck): do not test explicitely for
151 insets which are part of a word. Paragraph::isLetter takes care of
152 that now. Use Paragraph::isInset to identify insets.
153 (selectSelectedWord): do not test for hyphenation break.
155 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
156 that protected spaces are considered as spaces.
158 * paragraph.C (isLetter): cleanup the code for ispell extras; use
161 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
164 * lyxserver.C: fix it. and small cleanup.
166 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
168 * BufferView_pimpl.C: use inline helpers
171 * LaTeXFeatures.C: fix typos
174 * Spacing.C: move spacing_string into class
176 * ToolbarDefaults.C: move stuff into namespace anon
178 * layout.h: update enum
180 * lyxfunc.C: use better debug
182 * minibuffer.h: fix typo
186 * WorkArea.C: add and use Debug::WORKAREA
190 * text2.C: code re-organisation, inline helpers
192 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
194 * Layout.C: replaced a few cases of std::vector.size() == 0 with
197 2001-11-09 Allan Rae <rae@lyx.org>
199 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
200 '\n's after tables. Tabular and ERT inset work now makes this no
203 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
206 * minibuffer.C: fix crash, improve drop-down completion
208 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
211 * lyxserver.C: invalidate fd's when doing endPipe()
213 2001-11-08 José Matos <jamatos@fep.up.pt>
215 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
216 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
219 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
221 2001-11-07 José Matos <jamatos@fep.up.pt>
224 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
227 * buffer.C (sgmlOpenTag):
228 * buffer.C (sgmlCloseTag): removed debug info.
230 * buffer.h (sgmlOpenTag):
231 * buffer.h (sgmlCloseTag): made public.
233 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
235 * buffer.C (saveParamsAsDefaults):
236 * lyx_cb.C (MenuLayoutSave): remove
238 * LyXAction.C (init):
240 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
242 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
244 * buffer.C (setPaperStuff): removed from here...
246 * bufferparams.C (setPaperStuff): ... and moved there.
248 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
252 * XFormsView.C: add support for drop-down completion
254 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
256 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
259 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
261 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
264 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
266 * lyx_main.C: change ref to known bugs
268 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
270 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
271 to work around older babel problems.
273 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
275 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
277 2001-10-24 Juergen Vigna <jug@sad.it>
279 * tabular-old.C (ReadOld): below variable changes reflected.
281 * tabular.[Ch]: added ltType struct for longtable header/footer
282 defines and changed all instances where they are used. Added
283 future support for double top/bottom rows.
285 2001-10-24 José Matos <jamatos@fep.up.pt>
287 * buffer.h (docbookHandleCaption):
288 * buffer.C (docbookHandleCaption): removed unused function.
289 (makeDocBookFile): moved docbook supported version to v4.1.
291 2001-10-24 José Matos <jamatos@fep.up.pt>
294 * tabular.C (docbookRow): new function to export docbook code of a row.
295 (DocBook): now honors the longtable flags.
297 2001-10-23 José Matos <jamatos@fep.up.pt>
300 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
301 of the lyx defined sgml entities used in a docbook/linuxdoc document.
303 * buffer.C (makeLinuxDocFile):
304 (makeDocBookFile): reworked the preamble, more clean, and with
305 support for lyx defined entities. Changed the document declaration
306 to be more XML friendly.
308 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
309 if we need to output XML that should be done with a filter.
311 2001-10-22 Juergen Vigna <jug@sad.it>
313 * sp_pspell.h (class PSpell): add alive function needed in the
314 controller to see if the spellchecker could be started.
316 2001-10-22 Juergen Vigna <jug@sad.it>
318 * buffer.C (insertStringAsLines): modify the font for inserting
319 chars in certain conditions by calling checkInsertChar(font).
321 2001-10-19 Juergen Vigna <jug@sad.it>
323 * text.C (workWidth): use getRow instead of wrong algorithm.
324 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
326 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
331 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
333 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
335 * text.C (workWidth): do not search for the exact row when
336 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
337 optimization for big documents.
339 2001-10-18 Juergen Vigna <jug@sad.it>
341 * text.C (workWidth): new function with added Inset * parameter.
343 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
345 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
347 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
348 change return type of getColumnNearX.
351 * text.C (changeRegionCase): use uppercase/lowercase instead of
354 (rightMargin): simplify code by factoring out the uses of
359 (appendParagraph): use Paragraph::size_type
361 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
363 * vspace.C (asLatexString): add a missing break
365 2001-10-15 Herbert Voss <voss@perce.de>
367 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
369 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
371 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
374 2001-10-10 André Pönitz <poenitz@gmx.net>
376 * lyxfunc.C: removed greek_kb_flag.
378 2001-10-10 Herbert Voss <voss@perce.de>
380 * lyx_main.C: delete global string help_lyxdir.
382 2001-10-09 Herbert Voss <voss@perce.de>
384 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
386 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
388 * lyx_main.C: added global string help_lyxdir.
390 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
392 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
394 * lyxrc.C (set_font_norm_type): support iso8859-4
396 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
398 * LaTeX.C (deplog): add another regex for MikTeX
400 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
402 * lyxrc.C (set_font_norm_type): support iso8859-3
404 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
406 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
408 * LaTeXFeatures.C: remove special case of french and index
410 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
411 before \begin{document}). This solves several incompatibilities.
413 2001-10-03 Garst Reese <reese@isn.net>
415 * lyx_cb.C: change CheckTex error msg.
417 2001-10-03 José Matos <jamatos@fep.up.pt>
419 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
421 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
425 * lyx_main.C (commandLineVersionInfo): use new style version info.
427 * buffer.C (writeFile):
430 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
432 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
434 * version.h: update to use stuff in version.C
436 * version.C.in: new file. Contains version information determined
437 at compile time. This is a merging of version.h and
440 2001-10-03 Juergen Vigna <jug@sad.it>
442 * BufferView_pimpl.C (update): don't change "dirty" status in
445 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
447 * WorkArea.C (c-tor): re-position version string slightly.
449 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
451 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
452 revert to previous code.
454 WorkArea.[Ch]: (show, destroySplash): methods removed.
456 WorkArea.C: rework code so that it's an amalgam of the codes before and
457 after the splash screen was moved to WorkArea.
459 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
462 * vspace.C (inPixels):
465 * buffer.C (insertStringAsLines):
466 (asciiParagraph): fix types to be large enough
468 * lyxlex_pimpl.h: change member status from short to int
470 * layout.h: fix type of endlabeltype
473 * kbsequence.C (parse): change return type to string::size_type
475 * LaTeX.C (updateBibtexDependencies): comment out unneeded
478 * Bullet.C (bulletSize):
479 (bulletEntry): do not use short ints as parameters
481 * BufferView2.C (insertLyXFile): change a char to an int.
483 * WorkArea.C (WorkArea): remove unneeded floats in computation
485 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
487 * buffer.C (asciiParagraph): Treat '\\' as other chars.
489 * paragraph.C (asString): Do not ignore newline/hfill chars when
490 copying to the clipboard.
492 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
494 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
495 after a multi-line inset.
497 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
499 * paragraph.C (validate): Set NeedLyXFootnoteCode
501 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
503 * lyxfont.C (LyXSizeNames): changed increase-error to increase
504 and decrease-error to decrease.
506 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
508 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
509 it more readable (should be equivalent)
511 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
513 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
515 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
517 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
518 of a cursor (row, etc.) after a character has been deleted
519 (deleteEmptyParagraphMechanism): call the method above on _all_
520 cursors held by the LyXText when a double space has been
523 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
525 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
527 (resizeCurrentBuff): remove code to destroy the old splash dialog.
529 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
530 background. Use greyOut() and the new show() methods to toggle between
531 the foreground and background. Add code to remove the splash after
534 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
535 (create_forms): no longer call Dialogs::showSplash.
537 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
539 * .cvsignore: add version_info.h
541 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
543 * version_info.h.in: new file
545 * Makefile.am: add version_info.h.in
547 * lyx_main.C (commandLineVersionInfo): use version_info defined in
548 version_info.h instead of VERSION_INFO
550 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
552 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
553 The ERT inset now returns string().
555 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
557 * lyxtext.h, text.C (selectNextWord): renamed as
558 selectNextWordToSpellcheck.
560 * text.C (selectNextWordToSpellcheck): Modified to not select
561 words inside an ERT inset.
563 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
565 * lyx_cb.C (MenuLayoutSave): change a bit the question
567 * sp_base.h: include <sys/types.h>
569 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
571 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
573 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
575 * several files: fix typos in user-visible strings
577 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
579 * text2.C (pasteSelection): do not set the selection, since it
580 will be cleared later. Actually, the intent was to fix the way the
581 selection was set, but I figured rmoving the code was just as good.
583 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
585 * FontLoader.C (available): Check if font is available without
588 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
590 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
592 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
594 * lyxrc.[Ch]: added display_graphics variable and associated code.
596 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
598 * bufferparams.C (hasClassDefaults): new method. Returns true if
599 the buffer parameters correspond to known class defaults
601 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
603 * XFormsView.C (show): set minimum size to the main window.
605 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
607 * text2.C (copySelection):
609 * lyxfind.C (LyXReplace):
610 * BufferView_pimpl.C (Dispatch): pass the correct flag to
611 LyXText::selectionAsString.
613 * paragraph.C (asString): add "label" argument to the second form
615 * text2.C (selectionAsString): add "label" argument and pass it to
618 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
620 * lyx_main.C (commandLineHelp): remove version information
622 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
624 * lyx_main.C: add -version commandline option
626 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
628 * paragraph.h: make the optional constructor arg required instead.
629 some modifications to other files because of this.
631 * minibuffer.C (C_MiniBuffer_peek_event): make it static
633 * lyxserver.C (C_LyXComm_callback): make it static
635 * lyx_main.C (error_handler): make it static
637 * lyx_gui.C (LyX_XErrHandler): make it static
639 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
641 * WorkArea.C: make the extern "C" methods static.
643 * Makefile.am (lyx_LDADD): simplify
645 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
647 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
648 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
650 * LyXAction.C (init):
651 * lyxfunc.C (dispatch): associated code removal.
653 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
655 * lyxfont.h (isSymbolFont): shut off warning
657 * text.C (setHeightOfRow):
658 (getVisibleRow): fix crash with empty paragraphs which have a
661 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
663 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
666 2001-09-04 José Matos <jamatos@fep.up.pt>
669 * tabular.C (docbook): rename docBook method to docbook.
671 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
673 * Makefile.am: add dependencies to main.o.
675 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
677 * FontLoader.C (available): Return false if !lyxrc.use_gui
679 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
681 * FontInfo.C (query):
682 * converter.C (view):
683 * importer.C (Import):
684 * exporter.C (Export): Can not -> cannot.
686 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
688 * BufferView_pimpl.C: allow to create index inset even if
691 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
693 * buffer.C (getLists): replace boost::tie code with an explicit pair
694 as boost::tie can break some compilers.
696 * iterators.h: Added a std:: declaration to the return type of
699 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
701 * lyxrc.C: add help for view_dvi_paper_option, default to safe
704 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
706 * iterators.[Ch]: New files. Provide paragraph iterators.
708 * buffer.C (changeLanguage): Use paragraph iterators.
709 (isMultiLingual): ditto
711 * BufferView2.C (ChangeInsets): Use paragraph iterators.
713 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
715 * FontLoader.C: Support for cmr font.
717 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
719 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
720 (available): New method.
722 * FontInfo.C (getFontname): Use scalable fonts even when
723 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
726 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
728 * converter.C (Formats::view): reverted! Incorrect fix.
730 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
732 * converter.C (Formats::view): only output the -paper option
733 if the dvi viewer is xdvi, thereby fixing bug #233429.
735 2001-08-23 Herbert Voss <voss@perce>
737 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
739 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
741 * Spacing.h (Spacing): Set space to Default on in the default
744 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
746 * vc-backend.h (RCS::versionString): add RCS to version
747 (CVS::versionString): add CVS to version
749 * vc-backend.C (scanMaster): do not add CVS to version.
750 (scanMaster): do not add RCS to version
752 * lyxvc.C (versionString): new method
754 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
756 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
758 * Spacing.C (set): initialize fval
760 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
762 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
765 2001-08-16 Juergen Vigna <jug@sad.it>
767 * lyxfunc.C (dispatch): implemented the new FINISHED states.
769 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
771 * BufferView_pimpl.C:
774 * text2.C: setParagraph takes linespacing now
776 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
778 * LyxAction.C: add internal LFUN_CITATION_INSERT
780 * LyXView.C: actually apply fix
782 * bufferlist.C: fix open non-existent file
784 * lyxfind.C: fix indentation
786 * lyxfunc.C: remove unneeded assert, fix typo
788 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
790 * MenuBackend.C: use "Floatname List"
792 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
794 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
795 when converting LaTeX layout to insetERT.
796 Generate a non-collapsed float when reading old float
798 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
800 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
803 2001-08-13 Juergen Vigna <jug@sad.it>
805 * text.C (fill): return 0 instead of 20 as this seems to be the more
808 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
810 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
813 2001-08-13 Juergen Vigna <jug@sad.it>
815 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
817 (SearchBackward): comment out the unlocking of the inset_owner this
818 should not be needed!
820 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
822 * Many files: Remove inherit_language, and add latex_language
824 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
827 2001-08-10 Juergen Vigna <jug@sad.it>
829 * text.C (prepareToPrint): fixed hfill-width in draw!
831 * BufferView2.C (selectLastWord): save the selection cursor as this
832 now is cleared in the function LyXText::clearSelection!
834 2001-08-08 Juergen Vigna <jug@sad.it>
836 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
837 BACKSPACE type functions.
839 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
840 is only cutted from the document but not put in the cut-buffer, where
841 still the old stuff should be.
843 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
845 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
847 * tabular.C (SetWidthOfCell): fixed special case where the width
849 (LeftLine): handle '|' in align_special.
851 (LeftAlreadyDrawed): ditto
852 (SetWidthOfCell): ditto
854 2001-08-07 Juergen Vigna <jug@sad.it>
856 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
858 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
860 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
863 2001-08-06 Juergen Vigna <jug@sad.it>
865 * text.C (getVisibleRow): fix up row clearing a bit.
867 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
869 * minibuffer.C: make sure the X server sees the changes in the input.
871 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
873 * paragraph.C (getFont): split into...
875 (getLayoutFont): and this
876 * paragraph_pimpl.C (realizeFont): calling this
878 * text2.C (getFont): split into...
879 (getLayoutFont): this
880 (getLabelFont): and this
881 (realizeFont): all three calling this
883 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
886 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
888 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
890 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
892 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
893 layouts from the Quote inset insertion.
895 2001-08-03 Juergen Vigna <jug@sad.it>
897 * BufferView_pimpl.C (update): do the fitCursor only at the end!
899 * screen.C (drawFromTo): don't call fitcursor here and do the loop
900 only if status not is already CHANGED_IN_DRAW (second level).
902 * text.C (draw): don't set the need_break_row when inside an
905 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
907 * buffer.C (parseSingleLyXformat2Token): handle more latex
910 * bufferview_funcs.[hC]: change function names to
911 begin with small char, adjust other files.
913 2001-08-02 André Pönitz <poenitz@gmx.net>
916 BufferView_pimpl.C: remove broken special code for math-greek
918 2001-08-02 Juergen Vigna <jug@sad.it>
920 * BufferView_pimpl.C (update): redone this function so that we
921 update the text again if there was a CHANGE_IN_DRAW.
923 * screen.C (cursorToggle): removed LyXText parameter and recoded.
924 (drawFromTo): added a new internal bool which is used by draw() and
926 (general): some cursor drawing problems fixed.
928 2001-08-01 Juergen Vigna <jug@sad.it>
930 * lyxfind.C (LyXFind): fixed
931 (SearchForward): ditto
932 (SearchBackward): ditto
934 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
935 spurius drawing of the cursor in the main area.
937 * text2.C (status): small fix which could lead to a segfault!
938 (clearSelection): remove unneeded BufferView param.
940 2001-08-01 André Pönitz <poenitz@gmx.net>
942 * lyxfunc.C: small change due to changed mathed interface
944 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
946 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
948 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
950 * lyxfunc.c: fail gracefully if file doesn't exist
955 * BufferView_pimpl.C: IsDirWriteable() proto changed
957 * LyXView.C: fix updateWindowTitle() to store the last title
959 2001-07-31 Juergen Vigna <jug@sad.it>
961 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
962 the font (wrong since using of Paragraph::highestFontInRange).
964 * paragraph.C (highestFontInRange): added a default_size parameter.
966 * text.C (getVisibleRow): minor clear row changes (still not perfect).
967 (setHeightOfRow): reformat
969 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
971 * converter.[hC] + affected files: move to (inital-char)lowercase
974 * ParagraphParameters.C (ParagraphParameters): remove commented code
976 * PainterBase.[Ch]: remove commented code
978 * LaTeXFeatures.h: add "bool floats" for float.sty
980 * LaTeXFeatures.C (LaTeXFeatures): init floats
981 (require): handle float
982 (getPackages): do it with floats
984 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
986 * BufferView_pimpl.C (Dispatch): improve handling of
987 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
989 * commandtags.h: #include lyxfont.h here temporarily to avoid
992 * bufferlist.h: include LString.h here.
994 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
996 * text2.C (getStringToIndex): new method.
998 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
1000 * *: Reduced header file dependencies all over.
1002 2001-07-30 Baruch Even <baruch@lyx.org>
1004 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
1006 2001-07-29 Baruch Even <baruch@lyx.org>
1008 * buffer.C (readInset): Changed GRAPHICS to Graphics.
1010 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1012 * ParameterStruct.h (endif): add a default constructor to make
1013 sure that all variables is initialized.
1015 * ParagraphParameters.C (ParagraphParameters): adjust
1017 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1019 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
1020 index; also, check that there is something to index, and that it
1021 does not span over several paragraphs.
1022 (doubleClick): use WHOLE_WORD_STRICT for double click.
1024 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
1026 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
1029 2001-07-26 Baruch Even <baruch@lyx.org>
1031 * buffer.C (readInset): Changed to call up InsetGraphics when reading
1032 an InsetFig figure, backwards compatible reading of old figure code.
1034 2001-07-27 Juergen Vigna <jug@sad.it>
1036 * text2.C: font.realize function adaption.
1038 * text.C (draw): add a warnings lyxerr text if needed.
1040 * layout.C: font.realize function adaption.
1042 * language.C: add inherit_language and implement it's handlings
1044 * bufferview_funcs.C (StyleReset): remove language parameter from
1045 font creation (should be language_inherit now).
1047 * bufferparams.C (writeFile): handle ignore_language.
1049 * paragraph.C (getFontSettings): the language has to be resolved
1050 otherwise we have problems in LyXFont!
1052 * lyxfont.C (lyxWriteChanges): added document_language parameter
1053 (update): removed unneeded language parameter
1055 * paragraph.C (validate): fixed wrong output of color-package when
1056 using interface colors for certain fonts in certain environments,
1057 which should not seen as that on the final output.
1059 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1061 * BufferView_pimpl.C:
1066 * LyXAction.C: add thesaurus support
1069 * lyxfind.C: add "once" parameter, for thesaurus, to not
1070 move to the next match
1072 2001-07-26 Juergen Vigna <jug@sad.it>
1074 * lyxfont.C (realize): honor ignore_language too!
1077 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
1079 * text.C (draw): one place more for ignore_language to not draw
1082 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
1084 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
1086 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1088 * buffer.C (parseSingleLyXformat2Token): a more general fix for
1089 the minipage conversion problem.
1091 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1093 * buffer.C (parseSingleLyXformat2Token): check minipage if we
1096 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1098 * BufferView.h: don't forward declare WorkArea
1100 * BufferView.C: don't include WorkArea.h
1102 2001-07-25 André Pönitz <poenitz@gmx.net>
1106 * lyxfunc.C: new LFUN 'math-space'
1108 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
1110 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1112 * text2.C (toggleInset): call open/close
1114 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1116 * lyxfunc.C (dispatch): add debug for the disabled case
1118 * font.C (buttonText): make similar to rectText
1120 * buffer.C (readInset): comment out parsing of insetlist and
1123 * PainterBase.C (rectText): small correction
1125 * BufferView_pimpl.C: comment out insettheorem and insetlist
1126 * LyXAction.C: ditto
1127 * commandtags.h: ditto
1129 2001-07-24 Juergen Vigna <jug@sad.it>
1131 * text.C (draw): honor the ignore_language.
1133 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
1135 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1137 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
1140 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1142 * lyxtext.h: remove unused (and unimplemented) methods
1144 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1146 * text.C (getVisibleRow): honor background color
1149 * Painter.h: remove default color argument for fillRectangle
1151 * text.C (backgroundColor): new method
1153 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1155 * text.C (getVisibleRow): adjust
1157 * font.[Ch] (rectText): new method, metrics
1158 (buttonText): new method, metrics
1160 * PainterBase.[hC]: make rectText and buttonText always draw and take
1163 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1165 * ToolbarDefaults.C (read):
1166 * MenuBackend.C (read): allow escaping in all strings
1168 * BufferView_pimpl.C (insertAndEditInset): new method.
1169 (Dispatch): use insertAndEditInset whenever appropriate.
1171 * BufferView_pimpl.C (insertNote): removed
1173 * BufferView_pimpl.C (smartQuote): new method, moved from
1174 BufferView; if an insetquote cannot be inserted, insert a '"'
1177 * BufferView2.C: remove insertCorrectQuote();
1179 * lyxfunc.C (getStatus): Add support for all remaingin
1182 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
1184 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
1185 command (necessary to pass " as parameter of self-insert.
1187 * text.C (selectWordWhenUnderCursor):
1188 (selectWord): add word_location parameter
1189 (selectWordWhenUnderCursor): same + remove special code for word
1191 (selectNextWord): use kind() to guess type of insetspecialchar,
1194 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
1195 (insertErtContents): create ert insets as collapsed.
1196 (readInset): better compatibility code for Info inset.
1198 2001-07-20 Juergen Vigna <jug@sad.it>
1200 * lyxfunc.C (dispatch): use always LyXFind now!
1202 * text2.C (init): add a reinit flag so that the LyXText can be
1203 reinited instead of deleted and reallocated (used in InsetText).
1205 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
1211 2001-07-18 Juergen Vigna <jug@sad.it>
1213 * text.C (selectNextWord): handle insets inside inset by calling
1214 always the bv->text functions so that we can go up the_locking_inset!
1216 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
1217 in strange locations when inside an inset!
1219 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
1220 handling to include insets.
1222 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
1224 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1226 * LyXAction.C (init):
1228 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
1229 LIGATURE_BREAK, since the name is so stupid.
1231 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
1233 * buffer.C (readInset): enable reading of new InsetNotes as well as old
1236 * FontLoader.C: remove FORMS_H_LOCATION cruft.
1238 * sp_form.[Ch]: remove.
1240 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
1242 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
1245 * src/buffer.C (readInset): ditto.
1247 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1249 * BufferView_pimpl.C (specialChar): new method. Obsoletes
1250 menuSeparator(), endOfSentenceDot(), ldots() and
1251 hyphenationPoint(), which are therefore removed.
1252 (Dispatch): handle LFUN_HYPHENATION_BREAK.
1254 * LyXAction.C (init):
1255 * commandtags.h: add LFUN_HYPHENATION_BREAK.
1257 * paragraph.C (getWord): removed.
1259 * BufferView_pimpl.C (Dispatch): use last word or selection for
1260 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
1262 * lyx_main.C (queryUserLyXDir): do not ask before creating
1263 user_dir, except if it has been named explicitely.
1265 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
1267 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
1268 a document of zero size.
1270 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1272 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
1273 approriately in the c-tor and in require().
1274 (getPackages): output the appropriate LaTeX for natbib support.
1276 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
1277 variables "use_natbib" and "use_numerical_citations" when reading the
1279 (readInset): read the various natbib cite commands.
1280 (validate): white-space change.
1282 * bufferparams.[Ch]: new variables "bool use_natbib" and
1283 "bool use_numerical_citations".
1284 (writeFile): output them in the LyX file.
1286 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1288 * lyxfunc.C (getStatus): add support for all the inset insertion
1291 * text2.C (insertInset):
1292 * paragraph.C (insetAllowed):
1293 * BufferView_pimpl.C (insertInset): update to take in account the
1294 renaming of insertInsetAllowed
1296 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
1298 * text2.C (getInset): new method. returns inset at cursor position.
1300 * BufferView_pimpl.C (Dispatch): changes because of this.
1302 * LyXAction.C (init): rename open-stuff to inset-toggle.
1304 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
1306 * text2.C (toggleInset): renamed from openStuff; use
1309 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
1311 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
1313 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
1315 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
1317 * buffer.C (readLyXformat2): Add filename to the error dialog
1319 2001-07-18 Juergen Vigna <jug@sad.it>
1321 * tabular.C (GetCellNumber): put an assert here instead of the check!
1323 2001-07-17 Juergen Vigna <jug@sad.it>
1325 * BufferView_pimpl.C (toggleSelection): adapted too.
1327 * text.C (selectNextWord): adapted for use with insets.
1328 (selectSelectedWord): ditto
1330 2001-07-17 Juergen Vigna <jug@sad.it>
1332 * sp_spell.C (PSpell): fix initialitation order.
1334 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1336 * paragraph.C: spacing
1338 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1340 * sp_spell.C: repair language selection for pspell
1342 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1344 * lyxfunc.h: change more methods to begin with lower char.
1346 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
1348 * buffer.C (parseSingleLyXformat2Token): Generate error insets
1349 for unknown layouts.
1351 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
1353 * buffer.C (readLyXformat2): Generate an error dialog if there are
1356 2001-07-16 Juergen Vigna <jug@sad.it>
1358 * sp_spell.C: always compile ISpell part.
1360 * lyxrc.C: added use_pspell entry and it's handling.
1362 2001-07-13 Juergen Vigna <jug@sad.it>
1364 * sp_spell.C: removed double includes.
1366 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1368 Consistent use of Lsstream.h:
1369 * Lsstream.h: added using std::stringstream for consistencies sake.
1371 * buffer.C: removed using std::stringstream
1373 * lyxfont.C (stateText):
1374 * paragraph.C (asString):
1375 * text.C (selectNextWord, selectSelectedWord):
1376 * text2.C (setCounter):
1377 * vspace.C (asString, asLatexString):
1378 std::ostringstream -> ostringstream.
1380 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1382 * LyXAction.C: add LFUN_HELP_ABOUTLYX
1383 * commandtags.h: add LFUN_HELP_ABOUTLYX
1384 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
1386 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1388 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
1390 * lyx_gui_misc.C: remove spellchecker
1391 * lyxfunc.C: showSpellchecker
1393 * sp_ispell.h: added
1394 * sp_pspell.h: added
1396 * sp_form.[Ch]: removed
1397 * spellchecker.[Ch]: removed
1399 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
1401 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
1403 (simpleTeXSpecialChars): Simply print the input character without
1404 any special translation if pass_thru is set.
1406 * layout.h: Added bool pass_thru to layout class for being able to
1407 implement pass through of a paragraph for Literate Programming.
1409 * layout.C: add LT_PASS_THRU to LayoutTags enum.
1410 * layout.C (LyXLayout): set pass_thru to flase in constructor.
1411 * layout.C (Read): add "passthru" to list of layout tags and add
1412 code to set the pass_thru boolean when it is read.
1414 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1416 * trans_decl.h: remove allowed from KmodInfo
1418 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
1422 * paragraph_pimpl.C (erase): use boost::prior
1424 * Painter.C (text): use data() instead of c_str() when length is
1426 * WorkArea.C (putClipboard): ditto
1427 * font.h (width): ditto
1429 * BufferView2.C: use it-> instead of (*it). for iterators
1431 * paragraph_pimpl.C: ditto
1432 * paragraph.C: ditto
1433 * minibuffer.C: ditto
1438 * converter.C: ditto
1440 * Variables.C: ditto
1441 * TextCache.C: ditto
1442 * MenuBackend.C: ditto
1443 * LyXAction.C: ditto
1445 * FloatList.C: ditto
1447 * ColorHandler.C (LyXColorHandler): ditto
1449 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1451 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
1453 * text2.C (openStuff): reintroduce this method (which had been
1454 nuked in NEW_INSETS frenzy).
1456 * lyxfunc.C (Dispatch): when an action has not been handled, use
1457 its name in the error message, not its number.
1459 * paragraph.C (inInset): change method name to begin with lowercase.
1462 * text2.C: updates because of this.
1464 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1466 * ToolbarDefaults.C (add): add spaces in error message
1468 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1470 * buffer.C (readLyXformat2): initialize the ert comp. variables.
1471 (readLyXformat2): rename return_par to first_par, use lyxlex's
1472 pushToken and remove the manual push handling.
1473 (parseSingleLyXformat2Token): add another ert comp. variable:
1474 in_tabular, rename return_par to first_par. handle newlines better
1476 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1478 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
1480 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1482 * text2.C (getParFromID): removed
1484 * buffer.C (getParFromID): new method moved form lyxtext.
1485 * BufferView2.C (insertErrors): adjust
1486 (setCursorFromRow): adjust
1487 * BufferView_pimpl.C (restorePosition): adjust
1488 * lyxfunc.C (Dispatch): adjust
1489 * undo_funcs.C (textUndo): adjust
1491 (textHandleUndo): adjust
1492 (textHandleUndo): adjust
1494 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1496 * buffer.C: up' the LYX_FORMAT
1498 * lyxfont.h: turn NO_LATEX on as default
1500 * buffer.C (insertErtContents): new methods of tex style compability.
1501 (parseSingleLyXformat2Token): use it several places.
1502 * tabular.C (OldFormatRead): and here
1504 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1506 * text2.C: remove some commented code.
1509 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
1510 * trans.C: changes because of the above.
1512 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
1514 * text2.C (setCounter): Fix counters bug with bibliography layout.
1516 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1518 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
1519 own member functions
1520 (simpleTeXSpecialChars): ditto
1522 2001-07-06 Juergen Vigna <jug@sad.it>
1524 * a lot of files: changed the access to LyXText::status and the
1525 call of undo-functions.
1527 * undo.[Ch]: added a inset_id to the undo informations.
1529 * undo_funcs.[Ch]: added and moved here all undo functions.
1531 * lyxtext.h: give the status enum a weight, made status_ a private
1532 variable and made accessor functions for it, removed the whole bunch
1533 of undo-functions as they are now in their own file, make some
1534 functions publically available. Added function ownerParagraph with
1537 * paragraph.[Ch]: added "bool same_ids" to the constructor,
1538 made InInset() a const function, added getParFromID() function.
1540 * buffer.[Ch]: added const version for inset_iterator functions,
1541 added getInsetFromID() function.
1543 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
1544 changed undo functions for new version.
1546 2001-07-05 Juergen Vigna <jug@sad.it>
1548 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
1549 unknow mechanism does not call the proper constructor but only this
1550 one also if I request the other!?
1552 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1554 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
1556 * text2.C (LyXText): use initialization lists.
1558 * lyxtext.h (Selection): initialize set_ and mark_
1559 (init): remove method
1561 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
1563 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
1565 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1567 * screen.[Ch]: change method names to begin with lowercase
1569 * BufferView_pimpl.C (updateScrollbar): simplify further and
1570 hopefully make it a bit faster.
1572 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1574 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
1575 calling directly xforms functions.
1577 * Painter.C (Painter):
1578 * lyx_cb.C (MenuWrite):
1579 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
1582 * lyx_gui.C: remove bogus guiruntime extern declaration.
1584 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1586 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
1588 (redoDrawingOfParagraph): ditto
1589 (redoParagraphs): ditto
1590 (cutSelection): don't create a object for CutAndPaste use the
1591 static method directly
1592 (pasteSelection): ditto
1594 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
1597 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1599 * modifications to some other files because of this.
1601 * Makefile.am (lyx_SOURCES): add XFormsView
1603 * XFormsView.[Ch]: new files
1605 * LyXView.[Ch]: make LyXView a base class for the gui handling for
1606 the main window. Move the gui dependent stuff to XFormsView
1608 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1610 * tabular.C (GetCellInset): update cur_cell also in the row/col
1611 version of this function.
1613 * lyxfunc.C: no need to include figure_form.h here.
1619 * lyxvc.C: no need to include forms.h here.
1621 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1623 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
1625 * lyxfunc.C (Dispatch):
1627 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
1628 constructor argument.
1630 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1632 * paragraph.C (Paragraph): dont't clear, and just set layout.
1633 (makeSameLayout): use params's copy contructor.
1635 * ParagraphParameters.[Ch] (makeSame): delete method
1637 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
1639 * Variables.[Ch]: fix indentation, rename set to isSet
1641 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1643 * lyxfunc.C (Dispatch): fix typo
1645 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1647 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
1650 * bufferlist.C: include assert.h for emergencyWrite().
1652 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1654 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
1655 give up at last (bug #425202) !
1657 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
1663 * spellchecker.C: strip spellchecker options and bring up
1664 preferences tab instead
1666 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1668 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
1669 the istringstream constructor
1671 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1673 * paragraph.C (getLayout): fix return value
1675 * paragraph.h: do not declare getLayout as inline.
1677 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
1679 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1681 * lyxcursor.h (operator<): new func
1682 (operator>): new func
1683 (operator>=): new func
1684 (operator<=): new func
1686 * text.C (changeCase): use selection.start and selection.end
1687 (changeRegionCase): require from to be <= to. Require par to be a
1690 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
1692 2001-06-27 Juergen Vigna <jug@sad.it>
1694 * text.C (cursorLeftOneWord): changed to return the cursor and added
1695 overlay with BufferView * parameter which calls this one.
1697 (selectWord): use new getWord function.
1698 (changeCase): renamed from changeWordCase as and extended to work
1701 * lyxtext.h: added enum word_location
1703 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
1704 changeCase as this operates now also on selections.
1706 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1708 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
1710 * many files: send debug output to Debug::INFO instead of
1713 * converter.C (View):
1715 (Move): send debug output to Debug::FILES instead of console.
1717 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
1719 * lyxfunc.C (getStatus): use func_status
1721 * func_status.h: new header, describing the results of
1724 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
1727 2001-06-25 The LyX Project <jug@sad.it>
1729 * buffer.C (sgmlOpenTag):
1731 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
1733 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1735 * text2.C: remove some dead code
1737 * tabular.C (GetCellInset): store the last cell checked (gotten)
1739 * tabular.h: add the helper for the speedup
1741 * lyxtext.h: remove some dead code
1743 2001-06-26 The LyX Project <Asger>
1745 * paragraph.C: Change export to LaTeX of alignment to
1746 \begin{center} and family for better roundtrip work with reLyX.
1748 * Tune the math drawing a bit.
1750 2001-06-25 The LyX Project <Asger>
1752 * LColor.C (LColor): New color for math background. New color
1755 2001-06-25 The LyX Project <jug@sad.it>
1757 * lyxfunc.C (MenuNew): remove extra check for .lyx file
1760 * bufferlist.C (newFile): do not restrict to files ending with
1763 * BufferView_pimpl.C (MenuInsertLyXFile):
1765 2001-06-24 The LyX Project <jug@sad.it>
1767 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
1770 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1772 * lyxtext.h: rename most methods to begin with a small char.
1773 Lots of changes because of this.
1775 * paragraph.C (Paragraph): do not call fitToSize
1776 (erase): call Pimpl::erase
1777 (insertChar): call Pimpl::insertChar
1778 (insertInset): call Pipl::insertInset
1779 (breakParagraph): do not call fitToSize
1780 (breakParagraphConservative): do not call fitToSize
1781 (fitToSize): remove method
1783 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
1785 2001-06-24 The LyX Project <Asger>
1787 * Fix Qt compilation^2
1789 2001-06-24 The LyX Project <jug@sad.it>
1791 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
1792 depthHook(getDepth()-1).
1795 * ParagraphParameters.h:
1796 * ParameterStruct.h: change type of depth to unsigned int ==
1797 depth_type. Many adaptations to other files before of that.
1799 2001-06-24 The LyX Project <Asger>
1801 * Fix Qt compilation.
1803 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1805 * paragraph.h: renamed several methods to begin with small letter.
1806 several changes to many parts of the code because of this.
1808 2001-06-23 The LyX Project <jug@sad.it>
1810 * text2.C (InsertStringAsLines): renamed from InsertStringA;
1811 rewritten to discard all double spaces when KeepEmpty is off
1812 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
1813 to only handle newlines but not fiddle with spaces and friends.
1815 * lyxfunc.C (MenuNew): when doing 'new from template', use
1816 template_path as default directory
1818 2001-06-23 The LyX Project <Asger>
1820 * Clean-up of header file includes all over
1821 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
1823 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1825 * paragraph.h: renamed from lyxparagraph.h
1827 2001-06-23 Asger <lyx@violet.home.sad.it>
1829 * Buffer.h: Removed Buffer::resize
1830 * BufferList.h: Removed BufferList::resize
1831 * LyXView.h: Added LyXView::resize. This way, we will only reflow
1832 the document lazily when we change the width, or the font settings.
1834 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1836 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
1838 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1840 * buffer.h: remove out of date comment
1842 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1845 * screen.C: fix "theoretical" GC leak
1847 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1849 * LaTeX.C (scanAuxFile):
1850 (deplog): remove trailing \r when reading stream (useful under
1853 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1855 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
1856 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
1857 and BufferView::theLockingInset(Inset*), so should use them and not
1858 access bv_->text->the_locking_inset directly.
1860 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
1862 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1865 * tex-defs.h: remove old unused file
1867 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
1869 * BufferView_pimpl.C: fix typo, remove minibuffer message
1870 when buffer has loaded
1872 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1874 * lyxfunc.C (Dispatch): use stringstream
1875 (MenuNew): use stringstream
1876 (Open): use stringstream
1878 * importer.C (Import): use stringstream
1880 * bufferview_funcs.C (CurrentState): use stringstream
1882 * LaTeX.C (run): use stringstream
1884 * BufferView_pimpl.C (savePosition): use stringstream
1885 (restorePosition): use stringstream
1886 (MenuInsertLyXFile): use stringstream
1888 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
1901 * vspace.C: removed // -*- C++ -*- as first line.
1904 * version.h: added // -*- C++ -*- as first line.
1906 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1908 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1910 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1913 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1915 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1918 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1920 * gettext.C: include LString.h even when --disable-nls is on.
1922 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1924 * converter.h (Get): changed argument type from int to
1925 FormatList::size_type to avoid unnecessary conversion.
1927 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1930 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1932 * gettext.h: include LString.h even when --disable-nls is on.
1934 2001-06-07 Juergen Vigna <jug@sad.it>
1936 * text.C (BreakAgain): subst spaces with tabs.
1938 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
1939 (resizeInsetsLyXText): set force on resizeLyXText.
1941 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1943 * gettext.h (gettext_init):
1944 (locale_init): use a real definition instead of a macro
1946 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1948 * Bufferview_pimpl.C:
1950 * LColor.C: further lcolor tidies
1952 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1954 * BufferView_pimpl.C (updateScrollbar): simplify.
1956 * BufferView2.C: don't include insets/insetinfo.h, change
1957 prototype for insertInset and call the Pimpl version. let
1958 updateInset call Pimpl version.
1960 * BufferView.h: move inset_slept to BufferView::Pimpl, move
1961 gotoInset to BufferView::Pimpl
1963 2001-06-01 Juergen Vigna <jug@sad.it>
1965 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
1966 inside a LockingInset (is the update needed at all?).
1968 2001-05-31 Juergen Vigna <jug@sad.it>
1970 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
1971 here not the old one otherwise how should we compare it afterwards
1974 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1979 * FontInfo.C: bring C functions into global namespace when
1982 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1984 * LString.h: make sure config.h has been loaded before LString.h.
1986 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
1987 (one for each char read by EatLine!).
1989 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
1992 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1994 * paragraph.C (BreakParagraph): set the inset_owner in the new par
1995 to the same as the par we break from
1997 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1999 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
2001 * MenuBackend.C (expand): also create menu entries for wide
2002 versions of the floats.
2004 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
2006 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
2008 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
2009 frontends/Makefile.am
2015 * tabular.C (getTokenValue): add std::
2017 * tabular-old.C (getTokenValue): add std::
2018 (getTokenValue): ditto
2019 (getTokenValue): ditto
2021 * screen.C (ToggleSelection): adjust
2023 * lyxtext.h: put selection cursors inside a Selection struct.
2025 * lyxfunc.C (moveCursorUpdate): adjust
2027 * lyxfont.C (latexWriteStartChanges): add std::
2031 * font.h: delete with(char const *, LyXFont const &)
2033 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
2035 * FontInfo.C (getFontname): add std::
2037 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2038 (workAreaButtonPress): adjust
2039 (tripleClick): adjust
2041 (moveCursorUpdate): adjust
2044 * BufferView2.C (gotoInset): adjust
2046 2001-05-30 Juergen Vigna <jug@sad.it>
2048 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
2049 to check pspell I add this as default as I now have new pspell
2050 libraries and they seem to use this.
2052 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2054 * text2.C (CutSelection): make the cursor valid before the call to
2057 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2059 * kbsequence.C (parse): de-uglify a bit the parsing code, which
2060 relied on 0 terminated strings and other horrors. Bug found due to
2061 the new assert in lyxstring!
2063 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
2066 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2068 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
2071 * lyxfunc.C (processKeySym): change method of getting to the
2074 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
2075 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
2076 * BufferView_pimpl.[Ch]: here as private methods.
2078 2001-05-28 Juergen Vigna <jug@sad.it>
2080 * text.C (SetHeightOfRow): added the update() call again as it is
2081 needed to initialize inset dimensions!
2083 2001-05-16 Juergen Vigna <jug@sad.it>
2085 * text2.C (SetCharFont): Add new function with BufferView * and
2086 bool toggleall parameters for setting insets internal fonts.
2087 (SetFont): Freeze the undo as we may change fonts in Insets and
2088 all this change should be inside only one Undo!
2090 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
2091 setting font's in insets as for them we have the SetFont function!
2093 2001-05-15 Juergen Vigna <jug@sad.it>
2095 * text2.C (ClearSelection): to be sure we REALLY don't have any
2098 * tabular.C (TeXCellPreamble): fixed the left border problem for
2101 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
2103 * LaTeX.C (deplog): Make sure that the main .tex file is in the
2106 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2108 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
2109 LFUN_BREAKPARAGRAPH.
2111 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
2112 help test to "internal only", similar for LFUN_INSERT_URL
2114 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
2115 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
2116 auto_region_delete and deadkeys.
2118 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
2121 * LColor.C: remove some dead entries, tidy a little
2123 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2125 * lyxfunc.C (processKeySym): comment the Escape handling, remove
2127 (Dispatch): implement LFUN_ESCAPE
2129 * commandtags.h: add LFUN_ESCAPE
2131 * LyXAction.C (init): add entry for LFUN_ESCAPE
2133 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
2134 Remove commented code.
2135 (insertNote): moved here
2136 (open_new_inset): moved here
2138 * BufferView[2].[Ch]: move insertNote and open_new_inset to
2141 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2143 * kbmap.C (findbinding): clean it up and make it work correctly.
2145 * lyx_main.C (init): do not pass argc and argv as parameters
2147 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
2149 * buffer.C: fix path for OS/2 & Win32
2153 * lyx_main.C: Added os:: class.
2155 * os2_defines.h: update
2157 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2159 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
2160 better by trying again with reduced state.
2162 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2164 * lyxrc.C (read): print error about invalid key sequence only when
2165 debugging (because not all latinX keysyms are known to some X
2168 * kbsequence.C (getiso): add a few std:: qualifiers
2169 (getiso): comment out extra return statement.
2171 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
2173 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
2175 (Dispatch): enhance the accent inset a bit. (not perfect)
2177 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2179 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
2181 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2183 * bufferlist.C (emergencyWrite): fix assert() call
2185 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
2187 * text.C (InsertChar): Added trivial patch to only send the "you
2188 can not do multiple spaces this way" message once during a
2191 2001-05-08 Baruch Even <baruch@lyx.org>
2193 * Makefile.am: Changed order of libraries to get LyX to link properly
2194 with the gnome frontend.
2196 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2198 * LaTeXFeatures.h: add a std:: qualifier
2200 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2202 * paragraph.C (String): use stringstream
2204 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2206 * paragraph.C (writeFile): remove footflag arg
2208 * buffer.C (makeLaTeXFile): use stringstream
2209 (latexParagraphs): remove footnot gurba
2211 * LaTeXFeatures.C (getPackages): use stringstream
2212 (getMacros): likewise
2213 (getTClassPreamble): likewise
2214 (getFloatDefinitions): new method
2216 * paragraph.C (writeFile): reindent
2219 * WorkArea.h: revert the xpos + etc changes.
2221 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
2223 * lyxparagraph.[Ch]: add copy constructor, remove Clone
2225 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
2226 (pasteSelection): likewise
2227 * text2.C (CreateUndo): likewise
2229 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2231 * minibuffer.C (peek_event): temporarily reduce the functionality
2232 of the minibuffer (to allow args on lfuns)
2234 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
2235 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
2237 * buffer.C (readInset): add compability reading of old float
2238 lists, add reading of new style float list.
2239 (readInset): avoid reevaluation of inscmd.getCmdName()
2240 (getLists): reindent
2242 * MenuBackend.C (MenuItem): implement parsing of
2243 md_floatlistinsert and md_floatinsert.
2244 (expand::LastFiles): move initalizaton of iterators out of loop,
2246 (expand::Documents): introduce typdedef vector<string> Strings,
2248 (expand::ExportFormats): introduce typedef vector<Format const *>
2249 Formats, and use it.
2250 (expand): implement FloatListInsert and FloatInsert.
2252 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
2253 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
2254 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
2256 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
2258 (Dispatch::LFUN_FLOAT_LIST): implement
2260 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2262 * LaTeX.C (run): Fix problem with --export code.
2264 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
2266 * BufferView.[Ch] (workarea): removed.
2267 (getClipboard) new method; wrapper for workarea()->getClipboard()
2269 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
2272 * WorkArea.h (width, height, xpos, ypos): These methods all
2273 returned the dimensions of the work_area sub-area of WorkArea,
2274 resulting in a position error if the WorkArea were resized. Now
2275 return the dimensions of the entire WorkArea.
2277 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
2279 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2281 * LaTeX.C (deplog): correct the syntax of regex reg1
2283 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2285 * undo.C: remove !NEW_INSETS cruft
2287 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
2289 * text2.C: remove !NEW_INSETS cruft
2291 * text.C: remove !NEW_INSETS cruft
2293 * tabular.C: remove !NEW_INSETS cruft
2295 * spellchecker.C: remove !NEW_INSETS cruft
2297 * lyxtext.h: remove !NEW_INSETS cruft
2299 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
2301 * lyxfunc.C: remove !NEW_INSETS cruft
2303 * lyxfind.C: remove !NEW_INSETS cruft
2305 * lyx_cb.C: remove !NEW_INSETS cruft
2307 * figureForm.C: remove !NEW_INSETS cruft
2309 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
2311 * buffer.[Ch]: remove !NEW_INSETS cruft
2313 * ToolbarDefaults.C: remove !NEW_INSETS cruft
2315 * CutAndPaste.C: remove !NEW_INSETS cruft
2317 * BufferView_pimpl.C: remove !NEW_INSETS cruft
2319 * BufferView2.C: remove !NEW_INSETS cruft
2321 * BufferView.h: remove !NEW_INSETS cruft
2323 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2325 * Lsstream.h: include LString.h before the sstream headers to
2326 fix problem with gcc 2.95.3 and lyxstring
2328 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2330 * lyx_main.C: add using directives when needed for C functions
2331 declared in std:: namespace.
2333 2001-04-27 Juergen Vigna <jug@sad.it>
2335 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
2336 (SetHeightOfRow): comment out the update call should not be needed!
2338 2001-04-13 Juergen Vigna <jug@sad.it>
2340 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
2341 (LyXTabular): tried to minimize operator= operations (and realized
2342 hopfully Lars wish).
2344 2001-04-27 Juergen Vigna <jug@sad.it>
2346 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
2348 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2350 * lyxfunc.C (Dispatch): hack to make listof algorithm work
2352 * buffer.C (readInset): hack to make listof algorithm work
2354 * BufferView_pimpl.C: hack to make listof algorithm work
2356 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2358 * LyXAction.C: removed all !NEW_INSETS cruft
2359 (init): moved lfun_item in method
2361 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
2363 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
2365 * BufferView2.C (theLockingInset): white space.
2367 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2369 * minibuffer.C: include <iostream>
2371 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
2373 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
2375 * commandtags.h: add LFUN_TRANSPOSE_CHARS
2377 * text.[Ch] (TransposeChars): new method
2379 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2381 * call message directly through LyXView instead of through LyXFunc
2382 * BufferView2.C: adjust
2383 * BufferView_pimpl.C: adjust
2384 * FontLoader.C: adjust
2386 * bufferview_funcs.C: adjust
2387 * converter.C: adjust
2388 * figureForm.C: adjust
2389 * importer.C: adjust
2391 * lyx_gui_misc.C: adjust
2395 + more files in subdirs
2397 * lyxparagraph.h (size): move up int file
2400 * adjust all uses of Assert to lyx::Assert.
2402 * BufferView2.C (ChangeCitationsIfUnique): adjust for
2403 lyxfunctional in namespace lyx
2404 * layout.C (hasLayout): ditto
2407 (delete_layout): ditto
2408 (NumberOfClass): ditto
2409 * converter.C (GetFormat): ditto
2414 * bufferlist.C (getFileNames): ditto
2415 (emergencyWriteAll): ditto
2418 * MenuBackend.C (hasSubmenu): ditto
2421 * BufferView_pimpl.C (getInsetByCode): ditto
2423 2001-04-18 Juergen Vigna <jug@sad.it>
2425 * vspace.C (asLatexString): fixed the 100% problem.
2427 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2429 * lyxfunc.C (Dispatch):
2431 * minibuffer.h: add a few std:: qualifiers
2433 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2435 * minibuffer.[Ch]: reimplement so that commands is initiated and
2436 run from lyxfunc, simplified som handling, and made the completion
2437 and history code for complete. wip.
2439 * lyxfunc.C (processKeySym): call message
2440 (miniDispatch): new temporary method
2441 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
2442 (LFUN_MESSAGE): implement
2443 (LFUN_MESSAGE_PUSH): implement
2444 (LFUN_MESSAGE_POP): implement
2445 (initMiniBuffer): the initial/defualt minibuffer message.
2447 * lyxfont.[Ch]: inline some more getters
2449 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
2451 * lyx_gui_misc.[Ch] (WriteStatus): remove method
2453 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
2454 (AutoSave): use LFUN_MESSAGE
2455 (Reconfigure): ditto
2457 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
2459 * figureForm.C: use LFUN_MESSAGE
2461 * converter.C (runLaTeX): use LFUN_MESSAGE
2463 * bufferview_funcs.C: use LFUN_MESSAGE
2465 (changeDepth): ditto
2467 * bufferparams.h: use boost::
2469 * bufferlist.h: inherit privately from noncopyable
2471 * bufferlist.C (loadLyXFile): remove some commented code.
2473 * buffer.C (runChktex): use LFUN_MESSAGE
2475 * ShareContainer.h: inherit privately from noncopyable
2477 * ParagraphParameters.[hC] (depth): inline it.
2479 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
2481 (message): new method
2482 (messagePush): ditto
2484 (show): init minibuffer
2485 (showState): direct call
2487 * LaTeX.[Ch]: inherit privately from noncopyable
2488 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
2489 instead of WriteStatus.
2491 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
2493 * BufferView_pimpl.C (buffer): don't init minibuffer
2494 (workAreaButtonPress): use LFUN_MESSAGE
2495 (workAreaButtonRelease): ditto
2496 (savePosition): ditto
2497 (restorePosition): ditto
2498 (MenuInsertLyXFile): ditto
2499 (workAreaExpose): don't init minibuffer
2500 (update): remove commented code, simplify
2502 * BufferView2.C (openStuff): use LFUN_MESSAGE
2503 (toggleFloat): ditto
2506 (copyEnvironment): ditto
2507 (pasteEnvironment): ditto
2512 (updateInset): remove some commented code
2514 * lastfiles.h: inherit privately from noncopyable
2519 * lyxlex_pimpl.h: ditto
2521 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
2522 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
2523 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2525 * LyXAction.h: inherit privately from noncopyable, add methods
2526 func_begin, func_end, returning iterators to the func map.
2528 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
2529 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2530 (func_begin): new method
2531 (func_end): new method
2533 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
2535 (copySelection): ditto
2536 (pasteSelection): ditto
2538 * BufferView.C: whitespace change
2539 * BufferView.h: inherit privately from noncopyable
2541 2001-04-16 Allan Rae <rae@lyx.org>
2543 * tabular-old.C (l_getline):
2544 * spellchecker.C (sc_check_word):
2545 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
2546 an unrecognised preprocessor directive. So ensure they're wrapped.
2548 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
2550 * src/exporter.C (Export): Give an error message when path to file
2553 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
2555 * LaTeX.C (deplog): Always check that foundfile exists.
2557 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2560 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
2562 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2564 * tabular.[Ch] (getLabelList): implement new method
2566 * minibuffer.h: comment ouf setTiimer
2568 * minibuffer.C (ExecutingCB): constify res
2569 (peek_event): constify s
2570 (Set): constify ntext
2571 (Init): constify nicename
2573 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
2575 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
2576 (savePosition): use two params to Minibuffer::Set
2577 (restorePosition): ditto
2579 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2581 * lyx_main.C: include language.h
2583 * Makefile.am (lyx_main.o): add language.h
2585 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2591 * CutAndPaste.C: include gettext.h
2593 * lyxfont.h: remove old hack with ON and OFF.
2596 * lyxfont.h: do not include language.h...
2601 * bufferview_funcs.C:
2607 * paragraph.C: ... but do it here instead
2609 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2611 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
2613 * tabular.C: small reformat
2615 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
2618 (BreakParagraph): ditto
2619 (SetOnlyLayout): ditto
2622 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
2625 * lastfiles.C: removed most using decl, add std:: where needed
2627 * buffer.C: ws changes
2629 * MenuBackend.C (class compare_format): put into anon namespace
2630 (expand): constify label, names, action, action2
2633 * text.C (SingleWidth): constify font
2634 (IsBoundary): constify rtl2
2635 (GetVisibleRow): constify ww
2637 * LaTeX.C (deplog): constify logfile
2639 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
2641 (workAreaExpose): constify widthChange, heightChange
2643 * lyxrow.C (par): moved
2646 * lyxrow.h: as inlines here
2648 * lyxfont.h (shape): moved from lyxfont.C
2649 (emph): moved from lyxfont.C
2651 * lyxfont.C (LyXFont): use initialization list for all
2653 (shape): move to lyxfont.h as inline
2654 (emph): move to lyxfont.h as inline
2657 2001-04-04 Juergen Vigna <jug@sad.it>
2659 * vspace.C: had to include stdio.h for use of sscanf
2661 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
2664 * BufferView_pimpl.h: remove xforms cruft. Both classes are
2665 independent of xforms.
2667 2001-04-02 Juergen Vigna <jug@sad.it>
2669 * spellchecker.C: fixed namespace placing!
2671 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2673 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
2674 the LyXParagraph * is 0.
2676 2001-03-29 Juergen Vigna <jug@sad.it>
2678 * vspace.C: added support for %, c%, p%, l%.
2679 (stringFromUnit): added helper function.
2680 (asLatexString): changed to give right results for the %-values.
2682 * buffer.C: convert the widthp in a width%.
2684 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2686 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
2689 * figureForm.[Ch]: stripped the FD_from_figure manipulation
2690 code out of lux_cb.[Ch], ready for its (imminent?) removal.
2692 * lyx_cb.[Ch]: see above.
2694 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
2698 * lyx.[Ch]: replaced by figure_form.[Ch].
2702 * lyxfunc.C: changed headers associated with above changes.
2704 2001-03-27 Juergen Vigna <jug@sad.it>
2706 * BufferView_pimpl.C: set the temporary cursor right!
2708 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2710 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
2712 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2714 * LString.h: removed "using std::getline"!
2716 * BufferView_pimpl.C (Dispatch): changes due to changes in
2717 InsetInclude::Params.
2719 * buffer.C (tag_name): removed redundant break statements as they were
2720 producing lots of warnings with my compiler.
2722 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2724 * LString.h: add "using std::getline" when using the real <string>.
2726 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
2728 * buffer.C: removed bitset usage.
2729 PAR_TAG moved to an anonymous name space.
2730 (tag_name): new funtion, also in the anonymous namespace.
2731 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
2732 (makeDocBookFile): clean code. Completed transition from string arrays
2734 (SimpleDocBookOnePar): code clean.
2736 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2738 * tabular.C: add some comments.
2740 2001-03-22 Juergen Vigna <jug@sad.it>
2742 * buffer.C (parseSingleLyXformat2Token): redone the minipage
2743 compatibility read a bit and fixed bug with minipage in different
2746 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
2748 * buffer.C (pop_tag): removed.
2749 (push_tag): removed.
2750 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
2751 array replaced with vector. Added support for CDATA sections.
2752 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
2754 (makeDocBookFile): XML conformant declaration of CDATA section,
2755 fixed bug related to <emphasis> in the first paragraph char.
2756 (sgmlOpenTag): exclude empty tags.
2757 (sgmlCloseTag): ditto.
2759 * buffer.h (pop_tag): removed.
2760 (push_tag): removed.
2762 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2764 * language.h (Languages): added size_type and size().
2766 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2768 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
2769 response on compability reading of minipages. One probliem is that
2770 the old usage of minipages was «flertydig»
2772 * several files here and in subdirs: don't use static at file
2773 scope use anon namespaces instead.
2775 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
2777 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
2778 LaTeX output. This is necessary for Literate document
2781 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2783 * buffer.C: insert hfill when needed.
2785 * tabular.C (l_getline): use string::erase, small whitespace change.
2787 * BufferView_pimpl.C: try the anon namespace.
2790 2001-03-16 Juergen Vigna <jug@sad.it>
2792 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
2793 otherwise it won't open options-dialogs.
2795 * buffer.C: honor pextraWidth(p) on converting minipages.
2797 * tabular.C (l_getline): changed the functions to strip trailing \r.
2799 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2801 * BufferView_pimpl.C:
2802 * minibuffer..C: added "using SigC::slot" declaration.
2804 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2806 * lyxlex_pimpl.h: noncopyable is in namespace boost.
2812 * paragraph.C: ditto
2814 * lyxtext.h: NO_PEXTRA
2816 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
2818 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
2819 * ParameterStruct.h: ditto
2820 * ParagraphParameters.h: ditto
2821 * lyxparagraph.h: ditto
2823 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2825 * buffer.C: add compability for minipage alignment.
2826 (latexParagraphs): remove unwanted pextra check.
2828 * several files: remove CXX_WORKING_NAMESPACES
2830 * buffer.C (pop_tag): tie is in namespace boost
2832 * BufferView.h: noncopyable is in namespace boost
2837 * lastfiles.h: ditto
2838 * bufferlist.h: ditto
2839 * ShareContainer.h: ditto
2841 * LyXAction.h: ditto
2844 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2846 * Merging changes from BRANCH_MVC back into HEAD.
2848 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2850 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
2852 * BufferView_pimpl.C: change from intl.C
2856 * Makefile.am: move combox.*
2862 * intl.C: remove dialog (covered by prefs)
2864 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2866 * lyxfunc.C (Dispatch): removed redundant break statement.
2868 2001-03-14 Juergen Vigna <jug@sad.it>
2870 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2872 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2874 * buffer.C: add hack to fix compability reading of minipages.
2876 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2878 * buffer.C (getLists): Cleanup.
2880 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2882 * lyxfont.C (update): don't honor toggleall on font size.
2884 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2888 * Makefile.am: moved to frontends/xforms/
2892 * BufferView_pimpl.C: changes for moved mathpanel
2894 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2896 * gettext.h: fix gettext_init() in --disable-nls
2898 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2900 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2902 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2905 * lyx.h: strip external form
2907 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2909 * BufferView_pimpl.C: add comment, destroySplash()
2911 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2913 * BufferView_pimpl.C:
2917 * lyxfunc.C: use re-worked insetinclude
2919 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2921 * buffer.C: add using std::stringstream.
2923 * lyx_cb.C: readd using std::ios.
2925 * buffer.C: add using std::map.
2927 * BufferView_pimpl.C: add using std::vector.
2929 * ShareContainer.h: add std:: to swap.
2931 * buffer.h: add some typedefs
2932 * buffer.C (getLists): use them
2933 (getLists): renamed from getTocList.
2934 add a counter for the different float types and use it in the
2936 (getLists): use the same counter for the NEW_INSETS and the "non"
2939 * lyx_cb.h: remove unused items, includes, using etc.
2941 * ShareContainer.h: remove some commented code, add more comments
2942 and "documentation".
2944 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2946 * buffer.C (getTocList): make the list also when NEW_INSETS is
2949 * buffer.h: remove TocType
2951 * buffer.C (getTocList): change to return a map<string,
2952 vector<TocItem> >, implement for dynamic number of list.
2954 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
2955 * text2.C (PasteSelection): adjust
2956 * CutAndPaste.C (pasteSelection): adjust
2958 * FloatList.C (FloatList): update from the new_insets branch.
2959 * Floating.[Ch]: ditto
2960 * LaTeXFeatures.C: ditto
2962 * lyxlex_pimpl.C: ditto
2964 * paragraph.C (Last): remove when NEW_INSETS is defined.
2966 * other file: changes because of the above.
2968 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2970 * lyxparagraph.h: rename next to next_, previous to previous_,
2971 make them private for NEW_INSETS. Rename Next() to next(),
2972 Previous() to previous().
2974 * other files: changes because of the above.
2976 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
2979 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
2982 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2984 * main.C (main): pass lyx_localedir to gettext_init().
2986 * gettext.h: remove locale_init and gettext_init macros
2988 * gettext.C (locale_init): new function
2989 (gettext_init): new function
2991 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
2994 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
2996 * Moved credits to frontends:
2997 * credits.[Ch]: removed
2998 * credits_form.[Ch]: removed
2999 * lyx_gui_misc.C: remove credits stuff
3002 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3004 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
3006 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
3007 unneeded destructor.
3009 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
3010 a standalone pointer again.
3012 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
3014 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
3020 * ToolbarDefaults.C:
3029 * BufferView_pimpl.C: use new file dialog in GUII
3032 * lyx_cb.C: remove LayoutsCB to Toolbar
3034 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3036 * ShareContainer.h (get): add std:: qualifier
3038 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3040 * ShareContainer.h: define a proper ShareContainer::value_type
3041 type (and use typename to please compaq cxx)
3043 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3045 * lyxparagraph.h: move serveral local vars to
3046 ParameterStruct/ParagraphParameters., use ShareContainer in
3047 FontTable., make vars in FontTable private and add getter and
3050 * paragraph.C: changes because of the above.
3052 * lyxfont.h: remove copy constructor and copy assignment. (the
3053 default ones is ok), move number inside FontBits. move inlines to
3056 * lyxfont.C: add number to initializaton of statics, move several
3057 inlines here. constify several local vars. some whitespace
3058 cleanup. Dont hide outerscope variables.
3060 * Spacing.h: add two new constructors to match the set methods.
3062 * ShareContainer.h: new file, will perhaps be moved to support
3064 * ParameterStruct.h: new file
3066 * ParagraphParameters.h: new file
3068 * ParagraphParameters.C: new file
3070 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
3071 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
3073 * BufferView_pimpl.C: ParagraphParameter changes.
3074 * buffer.C: Likewise.
3075 * bufferview_funcs.C: Likewise.
3077 * text2.C: Likewise.
3079 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3081 * lyxfind.C (LyXReplace): do not redefine default argument in
3083 (IsStringInText): ditto
3084 (SearchForward): ditto
3085 (SearchBackward): ditto
3087 2001-03-06 Juergen Vigna <jug@sad.it>
3089 * lyxfind.C (IsStringInText): put parentes around expressions.
3091 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
3093 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
3095 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
3097 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
3099 * stl_string_fwd.h: add comment
3101 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
3104 * tabular.C: remove unused DocBook methods
3110 killed DO_USE_DEFAULT_LANGUAGE
3112 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3114 * lyx_gui.C: do not include language.h.
3116 * bufferview_funcs.C (ToggleAndShow): do not provide optional
3117 arguments in function implementation.
3119 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3121 * BufferView_pimpl.C: add <ctime>
3123 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3125 * BufferView_pimpl.C: add using std::find_if
3127 2001-02-27 José Matos <jamatos@fep.up.pt>
3129 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
3132 2001-02-11 José Matos <jamatos@fep.up.pt>
3134 * buffer.C (makeDocBookFile): command styles now have a parameter as
3137 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
3139 * layout_forms.[Ch]: removed
3140 * lyx_cb.[Ch]: out character
3141 * lyx_gui.C: out character
3142 * lyx_gui_misc.C: out character
3143 * bufferview_funcs.C: : out character,
3144 added toggleall as parameter in ToggleAndShow
3146 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
3148 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
3150 * text2.C (SetCurrentFont): Disable number property at boundary.
3152 2001-02-26 Juergen Vigna <jug@sad.it>
3154 * lyxfunc.C (getStatus): added a string argument override function so
3155 that this is correctly called from LyXFunc::Dispatch if it contains a
3156 do_not_use_argument which is used!
3157 (Dispatch): added check for "custom" export and call appropriate func.
3159 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
3161 * lyxrc.C: Add language_command_local, language_use_babel and
3162 language_global_options.
3164 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
3166 * buffer.C (makeLaTeXFile): Use language_use_babel and
3167 language_global_options.
3169 2001-02-23 Juergen Vigna <jug@sad.it>
3171 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
3172 which works with LyXText and putted it inside BufferView. Here now we
3173 only call for that part the BufferView::Dispatch() function.
3175 * BufferView.C (Dispatch): added.
3177 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
3178 functions which needs to use a LyXText over from LyXFunc.
3179 (MenuInsertLyXFile): added
3180 (getInsetByCode): added
3181 (moveCursorUpdate): added
3182 (static TEXT): added
3184 2001-02-22 Juergen Vigna <jug@sad.it>
3186 * BufferView_pimpl.C (update): call a status update to see if LyXText
3189 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3191 * vc-backend.C (revert): implement for CVS
3192 (getLog): implement for CVS
3194 2001-02-20 Juergen Vigna <jug@sad.it>
3196 * text2.C (ClearSelection): added BufferView param for inset_owner call
3198 * lyxfunc.C (TEXT): added this function and use it instead of
3199 directly owner->view()-text of getLyXText().
3201 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
3203 * src/layout_forms.C: out preamble
3204 * src/layout_forms.h: out preamble
3205 * src/lyx_cb.C: out preamble
3206 * src/lyx_cb.h: out preamble
3207 * src/lyx_gui.C: out preamble
3208 * src/lyx_gui_misc.C: out preamble
3209 * src/lyxfunc.C: connect with guii preamble
3211 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
3213 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
3215 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
3217 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
3218 whether to run bibtex.
3220 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
3222 * Makefile.am (lyx_SOURCES): Remove BackStack.h
3224 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3226 * Makefile.am (lyx_SOURCES): removed bibforms.h
3230 * text.C (GetVisibleRow): make several local vars const
3232 * tabular.C: small cleanup.
3234 * lyxserver.C (callback): use compare instead of strncmp
3236 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
3237 inlines to after class or to paragraph.C
3239 * lyxfont.h: remove friend operator!=
3241 * converter.h: move friend bool operator< to non friend and after
3244 * combox.h: small cleanup
3246 * buffer.h: doxygen, remove unused constructor, move inclas inlies
3247 to inlines after class def.
3249 * buffer.C (pop_tag): use string operations instead of strcmp
3251 * bmtable.c: doxygen, small cleanup
3253 * LaTeX.h: remove friend operator==
3255 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3267 * BufferView_pimpl.C:
3268 * BufferView.[Ch]: remove cruft
3270 2001-02-14 Juergen Vigna <jug@sad.it>
3272 * lyxfunc.C: removed #if 0 unused code
3274 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
3276 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
3278 * text2.C (SetSelection): added a BufferView * parameter
3280 2001-02-13 Juergen Vigna <jug@sad.it>
3282 * lyxfunc.C (Dispatch): fixed protected blank problem.
3283 * BufferView2.C (protectedBlank): added LyxText * parameter.
3285 * tabular.C (AppendRow): forgot to set row_info of newly added row.
3286 (AppendColumn): same as above for column_info.
3288 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
3289 (moveCursorUpdate): use a LyXText param for support of InsetText.
3291 * BufferView_pimpl.C (doubleClick): added support for InsetText.
3292 (tripleClick): ditto
3294 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
3296 * BufferView_pimpl.C (update): added LyXText param to honor insets.
3298 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
3300 * text2.C (SetSelection): set correct update status if inset_owner
3303 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
3305 * tabular.C: remove some commented code.
3307 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
3309 * BufferView_pimpl.C: call hideSplash()
3311 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
3314 * bibforms.h: remove
3317 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
3318 add LFUN_CHILD_CREATE
3320 * counters.h: fix tiny typo
3325 * lyx.C: move splash to frontends/xforms/
3327 * lyx_gui_misc.C: move Include and Bibform to frontends
3329 * lyxvc.h: clarify comment
3331 * vspace.C: tiny housekeeping
3333 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
3335 * text.C (PrepareToPrint): RTL Fix.
3337 * paragraph.C (GetUChar): New method.
3338 (String): Use GetUChar.
3340 * buffer.C (asciiParagraph): Use GetUChar.
3342 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
3344 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
3346 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
3349 * buffer.C: rename to getLogName(), handle
3350 build log / latex log nicely
3352 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3355 * MenuBackend.h: remove support for reference menuitem type.
3357 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
3359 * BufferView_pimpl.C: housekeeping
3360 * BufferView_pimpl.h:
3365 * minibuffer.h: move Timeout GUI-I
3367 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
3369 * lyxrc.C (read): Update converters data-structures.
3371 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
3373 * LaTeX.h (operator!=): add operator != for Aux_Info
3375 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
3377 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
3379 * LaTeXLog.C: deleted, useful code moved to Buffer
3382 * buffer.C: new function getLatexLogName()
3388 * lyxfunc.C: use frontends for LaTeX and VC logs
3390 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3392 * LaTeX.h: yet another std:: that Allan forgot.
3394 * Variables.C (set): renamed from isset(), because this clashes
3395 with some HP-UX macros (grr).
3397 2001-02-06 Allan Rae <rae@lyx.org>
3399 * LaTeX.h: Another bug fix. Missing std:: this time.
3401 2001-02-04 Allan Rae <rae@lyx.org>
3403 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
3404 floats problem. I've left it commented out because it's not quite
3405 correct. It should also test that the current object is a table or
3406 figure inset. But I haven't gotten around to figuring out how to do
3407 that. I *think* it'll be something like: "table" == inset.type()
3409 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
3412 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
3414 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
3415 all the citation/databases/styles in the auxilary file.
3416 (run): Rerun latex if there was a babel language error.
3418 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
3420 * text.C (Backspace): Preserve the font when changing newline char
3422 (BreakParagraph): If the cursor is before a space, delete the space.
3424 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
3426 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3428 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
3429 new argument (code).
3430 (ChangeCitationsIfUnique): New method.
3432 * paragraph.C (GetPositionOfInset): Handle bibkey.
3434 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3436 * BufferView_pimpl.h: change type of Position::par_pos to
3437 LyXParagraph::size_type.
3439 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
3441 * BufferView_pimpl.C (savePosition, restorePosition): Write
3442 messages to minibuffer.
3444 2001-01-28 José Matos <jamatos@fep.up.pt>
3446 * buffer.C (makeDocBookFile): adds support for document language.
3447 A silly restriction on the name of LatexCommand types where removed.
3448 Added support for CDATA sections, allows to chars unescaped, used
3449 among others in code, to avoid escape < and >.
3451 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
3453 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
3454 saved positions instrad of a stack. Furthermore, a position is
3455 stored using paragraph id/paragraph position.
3457 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
3458 Remove LFUN_REF_BACK.
3460 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
3462 * converter.C (dvipdfm_options): New method.
3464 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
3466 * vspace.C (isValidLength): Fix for empty input string.
3468 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3470 * LyXAction.C (init): change description of LFUN_FIGURE to
3473 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3475 * LaTeX.C: add using directive
3477 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
3479 * MenuBackend.C (expand): Fix the sorting of the formats.
3481 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
3483 * lyx_main.C: tiny error message fix
3485 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3487 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
3488 calling fl_initialize(). This fixes the problem with ',' as
3489 decimal separator in text files.
3491 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
3493 * trans.C (process): Fix the keymap bug.
3495 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
3497 * LaTeX.C (scanAuxFiles): New method. Provides support for
3498 multiple bibliographies (when using the bibtopic/bibunits pacakges).
3499 (scanLogFile) Scan for "run BibTeX" messages.
3501 * buffer.C (makeLaTeXFile): Do not load the ae package when using
3502 OT1 font encoding. Also, load the aecompl package if the ae
3505 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
3507 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3509 * texrow.C (increasePos): turn two error messages into debug
3512 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
3514 * LaTeX.C (scanAux): Handle the \@input macro.
3515 (runBibTeX): Use scanAux().
3517 * language.C (latex_options_): New field.
3519 * LaTeXFeatures.C (getMacros): Add language macros.
3521 * buffer.C (makeLaTeXFile): Small fix.
3523 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3525 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
3527 * text2.C: add a using directive.
3529 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
3534 * lyxfunc.C: kill LyXBell.
3536 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
3538 * text.C (IsBoundary): Remove the error message
3540 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
3542 * lyxrc.C (setDefaults): Correct initialization value for
3545 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
3547 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
3550 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
3553 * src/LyXAction.C: Added reference-next.
3555 * text.C (InsertChar): Use contains instead of strchr.
3557 * lyx_cb.C (MenuInsertLabel): Enable default value code.
3559 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
3561 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
3562 alignment commands (when needed).
3564 * text.C (InsertChar): Add ':' to number separator chars.