1 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * vspace.[Ch] (operator!=): add operator.
5 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7 * BufferView_pimpl.C: refuse to open an inset when
10 2001-11-30 Juergen Vigna <jug@sad.it>
12 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13 insets for undo reasons.
15 2001-11-28 André Pönitz <poenitz@gmx.net>
17 * vspace.[Ch]: cosmetical changes
19 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
29 * kbsequence.C: part re-write of old kb code
32 * WorkArea.C: remove Lgb_bug_find_hack
34 2001-11-30 José Matos <jamatos@fep.up.pt>
36 * buffer.C (makeDocBookFile): add a comment to point a hack.
37 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
38 Fixed a double write of labels.
40 2001-11-28 André Pönitz <poenitz@gmx.net>
42 * all the files from the change on 2001/11/26:
43 use lyx::layout_type instead of LyXTextClass::size_type
44 use lyx::textclass_type instead of LyXTextClassList::size_type
46 2001-11-29 Juergen Vigna <jug@sad.it>
48 * text.C: added support for paragraph::isFreeSpacing()
50 * buffer.C: same as above
52 * paragraph.h: inserted isFreeSpacing() function to enable
53 FreeSpacing inside InsetERT.
55 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
56 of the paragraph's in the cut/copy buffer to 0!
58 * text2.C (removeRow): remove the assert as it can!
60 * lyxtext.h: added helper function firstRow returning firstrow and
61 made firstrow private again.
63 * BufferView2.C (lockInset): don't relock if we're already locked!
65 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
67 (removeRow): added Assert::(firstrow)
69 * debug.C: forgot to add INSETTEXT here.
71 2001-11-28 Juergen Vigna <jug@sad.it>
73 * sp_spell.C (initialize): changed error text to more general
74 spellchecker command use (not only ispell!)
76 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
78 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
80 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
82 * vspace.C: initialise lyxgluelength on failure
84 2001-11-28 Allan Rae <rae@lyx.org>
86 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
87 declaration & definition that looks like a function declaration.
89 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
91 * BufferView2.C (copy):
92 (copyEnvironment): do not clear the selection when doing a copy.
94 * text.C (paintFirstRow): compilation fix
96 2001-11-27 Ben Stanley <bds02@uow.edu.au>
98 * tabular.C (Latex): correct line count when writing latex.
100 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
103 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
106 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
110 * LColor.C: change vfillline->added_space
112 * text.C: add markers and text for added space
114 * vspace.C: fix comment
116 2001-11-28 André Pönitz <poenitz@gmx.net>
118 * paragraph.C: whitespace changes
119 * all the other files from the change on 2001/11/26:
120 change *::pos_type into lyx::pos_type
122 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
124 * buffer.C (parseSingleLyXformat2Token): Set the language to the
125 language of the document when inserting error insets.
127 2001-11-26 André Pönitz <poenitz@gmx.net>
129 * BufferView_pimpl.[Ch]:
137 * paragraph_pimpl.[Ch]:
140 * text2.C: reduce header dependencies, introduce type for positions
142 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
144 * <various>: change to use Alert.h
146 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
148 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
149 when encountering an unknown token.
150 (readLyXformat2): Show an error message if there were unknown tokens.
152 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
155 * BufferView_pimpl.C:
159 * text2.C: use par->isInset()
161 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
164 * paragraph_pimpl.C: cleanup
166 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
168 * text2.C (removeRow):
169 * text.C (setHeightOfRow): remove useless (and costly) call to
172 2001-11-20 Allan Rae <rae@lyx.org>
174 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
175 Now need Inset*::checkInsertChar() to return true for appropriate
176 cases so that the characters in the minibuffer will actually be
179 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
181 * text.C: change the order of the includes.
182 (workWidth): initialize it at once.
183 (workWidth): make maxw unsigned
184 (setHeightOfRow): remove unused variable (inset)
185 (selectSelectedWord): remove unused variable (inset)
186 (paintRowText): fix drawing of hfill characters, and clean up a bit.
188 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
190 * lyxserver.C (emergencyCleanup): do not try to close pipes if
191 server is not running.
193 (closeConnection): add debug info when server is disabled.
195 * ColorHandler.C (getGCForeground): send debug message to GUI
198 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
200 * kbmap.C (bind): modify because return conventions of
201 kb_sequence::parse have changed.
203 * kbsequence.C (parse): only ignore spaces and not any stupid
204 control character. This avoids tests like s[i] <= ' ', which are
205 guaranteed to fail with 8bit characters and signed chars.
206 Change return code to string::npos when there have been no error
207 (0 was a bad idea when error is at first character)
209 2001-11-14 José Matos <jamatos@fep.up.pt>
212 * buffer.C (simpleDocBookOnePar): removed unused argument.
214 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
216 * text.C (selectNextWordToSpellcheck): do not test explicitely for
217 insets which are part of a word. Paragraph::isLetter takes care of
218 that now. Use Paragraph::isInset to identify insets.
219 (selectSelectedWord): do not test for hyphenation break.
221 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
222 that protected spaces are considered as spaces.
224 * paragraph.C (isLetter): cleanup the code for ispell extras; use
227 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
230 * lyxserver.C: fix it. and small cleanup.
232 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
234 * BufferView_pimpl.C: use inline helpers
237 * LaTeXFeatures.C: fix typos
240 * Spacing.C: move spacing_string into class
242 * ToolbarDefaults.C: move stuff into namespace anon
244 * layout.h: update enum
246 * lyxfunc.C: use better debug
248 * minibuffer.h: fix typo
252 * WorkArea.C: add and use Debug::WORKAREA
256 * text2.C: code re-organisation, inline helpers
258 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
260 * Layout.C: replaced a few cases of std::vector.size() == 0 with
263 2001-11-09 Allan Rae <rae@lyx.org>
265 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
266 '\n's after tables. Tabular and ERT inset work now makes this no
269 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
272 * minibuffer.C: fix crash, improve drop-down completion
274 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
277 * lyxserver.C: invalidate fd's when doing endPipe()
279 2001-11-08 José Matos <jamatos@fep.up.pt>
281 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
282 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
285 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
287 2001-11-07 José Matos <jamatos@fep.up.pt>
290 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
293 * buffer.C (sgmlOpenTag):
294 * buffer.C (sgmlCloseTag): removed debug info.
296 * buffer.h (sgmlOpenTag):
297 * buffer.h (sgmlCloseTag): made public.
299 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
301 * buffer.C (saveParamsAsDefaults):
302 * lyx_cb.C (MenuLayoutSave): remove
304 * LyXAction.C (init):
306 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
308 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
310 * buffer.C (setPaperStuff): removed from here...
312 * bufferparams.C (setPaperStuff): ... and moved there.
314 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
318 * XFormsView.C: add support for drop-down completion
320 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
322 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
325 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
327 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
330 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
332 * lyx_main.C: change ref to known bugs
334 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
336 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
337 to work around older babel problems.
339 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
341 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
343 2001-10-24 Juergen Vigna <jug@sad.it>
345 * tabular-old.C (ReadOld): below variable changes reflected.
347 * tabular.[Ch]: added ltType struct for longtable header/footer
348 defines and changed all instances where they are used. Added
349 future support for double top/bottom rows.
351 2001-10-24 José Matos <jamatos@fep.up.pt>
353 * buffer.h (docbookHandleCaption):
354 * buffer.C (docbookHandleCaption): removed unused function.
355 (makeDocBookFile): moved docbook supported version to v4.1.
357 2001-10-24 José Matos <jamatos@fep.up.pt>
360 * tabular.C (docbookRow): new function to export docbook code of a row.
361 (DocBook): now honors the longtable flags.
363 2001-10-23 José Matos <jamatos@fep.up.pt>
366 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
367 of the lyx defined sgml entities used in a docbook/linuxdoc document.
369 * buffer.C (makeLinuxDocFile):
370 (makeDocBookFile): reworked the preamble, more clean, and with
371 support for lyx defined entities. Changed the document declaration
372 to be more XML friendly.
374 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
375 if we need to output XML that should be done with a filter.
377 2001-10-22 Juergen Vigna <jug@sad.it>
379 * sp_pspell.h (class PSpell): add alive function needed in the
380 controller to see if the spellchecker could be started.
382 2001-10-22 Juergen Vigna <jug@sad.it>
384 * buffer.C (insertStringAsLines): modify the font for inserting
385 chars in certain conditions by calling checkInsertChar(font).
387 2001-10-19 Juergen Vigna <jug@sad.it>
389 * text.C (workWidth): use getRow instead of wrong algorithm.
390 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
392 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
397 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
399 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
401 * text.C (workWidth): do not search for the exact row when
402 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
403 optimization for big documents.
405 2001-10-18 Juergen Vigna <jug@sad.it>
407 * text.C (workWidth): new function with added Inset * parameter.
409 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
411 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
413 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
414 change return type of getColumnNearX.
417 * text.C (changeRegionCase): use uppercase/lowercase instead of
420 (rightMargin): simplify code by factoring out the uses of
425 (appendParagraph): use Paragraph::size_type
427 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
429 * vspace.C (asLatexString): add a missing break
431 2001-10-15 Herbert Voss <voss@perce.de>
433 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
435 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
437 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
440 2001-10-10 André Pönitz <poenitz@gmx.net>
442 * lyxfunc.C: removed greek_kb_flag.
444 2001-10-10 Herbert Voss <voss@perce.de>
446 * lyx_main.C: delete global string help_lyxdir.
448 2001-10-09 Herbert Voss <voss@perce.de>
450 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
452 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
454 * lyx_main.C: added global string help_lyxdir.
456 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
458 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
460 * lyxrc.C (set_font_norm_type): support iso8859-4
462 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
464 * LaTeX.C (deplog): add another regex for MikTeX
466 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
468 * lyxrc.C (set_font_norm_type): support iso8859-3
470 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
472 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
474 * LaTeXFeatures.C: remove special case of french and index
476 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
477 before \begin{document}). This solves several incompatibilities.
479 2001-10-03 Garst Reese <reese@isn.net>
481 * lyx_cb.C: change CheckTex error msg.
483 2001-10-03 José Matos <jamatos@fep.up.pt>
485 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
487 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
491 * lyx_main.C (commandLineVersionInfo): use new style version info.
493 * buffer.C (writeFile):
496 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
498 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
500 * version.h: update to use stuff in version.C
502 * version.C.in: new file. Contains version information determined
503 at compile time. This is a merging of version.h and
506 2001-10-03 Juergen Vigna <jug@sad.it>
508 * BufferView_pimpl.C (update): don't change "dirty" status in
511 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
513 * WorkArea.C (c-tor): re-position version string slightly.
515 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
517 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
518 revert to previous code.
520 WorkArea.[Ch]: (show, destroySplash): methods removed.
522 WorkArea.C: rework code so that it's an amalgam of the codes before and
523 after the splash screen was moved to WorkArea.
525 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
528 * vspace.C (inPixels):
531 * buffer.C (insertStringAsLines):
532 (asciiParagraph): fix types to be large enough
534 * lyxlex_pimpl.h: change member status from short to int
536 * layout.h: fix type of endlabeltype
539 * kbsequence.C (parse): change return type to string::size_type
541 * LaTeX.C (updateBibtexDependencies): comment out unneeded
544 * Bullet.C (bulletSize):
545 (bulletEntry): do not use short ints as parameters
547 * BufferView2.C (insertLyXFile): change a char to an int.
549 * WorkArea.C (WorkArea): remove unneeded floats in computation
551 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
553 * buffer.C (asciiParagraph): Treat '\\' as other chars.
555 * paragraph.C (asString): Do not ignore newline/hfill chars when
556 copying to the clipboard.
558 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
560 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
561 after a multi-line inset.
563 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
565 * paragraph.C (validate): Set NeedLyXFootnoteCode
567 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
569 * lyxfont.C (LyXSizeNames): changed increase-error to increase
570 and decrease-error to decrease.
572 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
574 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
575 it more readable (should be equivalent)
577 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
579 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
581 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
583 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
584 of a cursor (row, etc.) after a character has been deleted
585 (deleteEmptyParagraphMechanism): call the method above on _all_
586 cursors held by the LyXText when a double space has been
589 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
591 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
593 (resizeCurrentBuff): remove code to destroy the old splash dialog.
595 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
596 background. Use greyOut() and the new show() methods to toggle between
597 the foreground and background. Add code to remove the splash after
600 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
601 (create_forms): no longer call Dialogs::showSplash.
603 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
605 * .cvsignore: add version_info.h
607 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
609 * version_info.h.in: new file
611 * Makefile.am: add version_info.h.in
613 * lyx_main.C (commandLineVersionInfo): use version_info defined in
614 version_info.h instead of VERSION_INFO
616 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
618 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
619 The ERT inset now returns string().
621 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
623 * lyxtext.h, text.C (selectNextWord): renamed as
624 selectNextWordToSpellcheck.
626 * text.C (selectNextWordToSpellcheck): Modified to not select
627 words inside an ERT inset.
629 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
631 * lyx_cb.C (MenuLayoutSave): change a bit the question
633 * sp_base.h: include <sys/types.h>
635 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
637 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
639 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
641 * several files: fix typos in user-visible strings
643 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
645 * text2.C (pasteSelection): do not set the selection, since it
646 will be cleared later. Actually, the intent was to fix the way the
647 selection was set, but I figured rmoving the code was just as good.
649 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
651 * FontLoader.C (available): Check if font is available without
654 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
656 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
658 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
660 * lyxrc.[Ch]: added display_graphics variable and associated code.
662 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
664 * bufferparams.C (hasClassDefaults): new method. Returns true if
665 the buffer parameters correspond to known class defaults
667 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
669 * XFormsView.C (show): set minimum size to the main window.
671 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
673 * text2.C (copySelection):
675 * lyxfind.C (LyXReplace):
676 * BufferView_pimpl.C (Dispatch): pass the correct flag to
677 LyXText::selectionAsString.
679 * paragraph.C (asString): add "label" argument to the second form
681 * text2.C (selectionAsString): add "label" argument and pass it to
684 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
686 * lyx_main.C (commandLineHelp): remove version information
688 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
690 * lyx_main.C: add -version commandline option
692 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
694 * paragraph.h: make the optional constructor arg required instead.
695 some modifications to other files because of this.
697 * minibuffer.C (C_MiniBuffer_peek_event): make it static
699 * lyxserver.C (C_LyXComm_callback): make it static
701 * lyx_main.C (error_handler): make it static
703 * lyx_gui.C (LyX_XErrHandler): make it static
705 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
707 * WorkArea.C: make the extern "C" methods static.
709 * Makefile.am (lyx_LDADD): simplify
711 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
713 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
714 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
716 * LyXAction.C (init):
717 * lyxfunc.C (dispatch): associated code removal.
719 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
721 * lyxfont.h (isSymbolFont): shut off warning
723 * text.C (setHeightOfRow):
724 (getVisibleRow): fix crash with empty paragraphs which have a
727 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
729 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
732 2001-09-04 José Matos <jamatos@fep.up.pt>
735 * tabular.C (docbook): rename docBook method to docbook.
737 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
739 * Makefile.am: add dependencies to main.o.
741 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
743 * FontLoader.C (available): Return false if !lyxrc.use_gui
745 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
747 * FontInfo.C (query):
748 * converter.C (view):
749 * importer.C (Import):
750 * exporter.C (Export): Can not -> cannot.
752 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
754 * BufferView_pimpl.C: allow to create index inset even if
757 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
759 * buffer.C (getLists): replace boost::tie code with an explicit pair
760 as boost::tie can break some compilers.
762 * iterators.h: Added a std:: declaration to the return type of
765 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
767 * lyxrc.C: add help for view_dvi_paper_option, default to safe
770 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
772 * iterators.[Ch]: New files. Provide paragraph iterators.
774 * buffer.C (changeLanguage): Use paragraph iterators.
775 (isMultiLingual): ditto
777 * BufferView2.C (ChangeInsets): Use paragraph iterators.
779 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
781 * FontLoader.C: Support for cmr font.
783 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
785 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
786 (available): New method.
788 * FontInfo.C (getFontname): Use scalable fonts even when
789 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
792 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
794 * converter.C (Formats::view): reverted! Incorrect fix.
796 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
798 * converter.C (Formats::view): only output the -paper option
799 if the dvi viewer is xdvi, thereby fixing bug #233429.
801 2001-08-23 Herbert Voss <voss@perce>
803 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
805 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
807 * Spacing.h (Spacing): Set space to Default on in the default
810 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
812 * vc-backend.h (RCS::versionString): add RCS to version
813 (CVS::versionString): add CVS to version
815 * vc-backend.C (scanMaster): do not add CVS to version.
816 (scanMaster): do not add RCS to version
818 * lyxvc.C (versionString): new method
820 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
822 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
824 * Spacing.C (set): initialize fval
826 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
828 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
831 2001-08-16 Juergen Vigna <jug@sad.it>
833 * lyxfunc.C (dispatch): implemented the new FINISHED states.
835 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
837 * BufferView_pimpl.C:
840 * text2.C: setParagraph takes linespacing now
842 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
844 * LyxAction.C: add internal LFUN_CITATION_INSERT
846 * LyXView.C: actually apply fix
848 * bufferlist.C: fix open non-existent file
850 * lyxfind.C: fix indentation
852 * lyxfunc.C: remove unneeded assert, fix typo
854 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
856 * MenuBackend.C: use "Floatname List"
858 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
860 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
861 when converting LaTeX layout to insetERT.
862 Generate a non-collapsed float when reading old float
864 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
866 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
869 2001-08-13 Juergen Vigna <jug@sad.it>
871 * text.C (fill): return 0 instead of 20 as this seems to be the more
874 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
876 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
879 2001-08-13 Juergen Vigna <jug@sad.it>
881 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
883 (SearchBackward): comment out the unlocking of the inset_owner this
884 should not be needed!
886 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
888 * Many files: Remove inherit_language, and add latex_language
890 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
893 2001-08-10 Juergen Vigna <jug@sad.it>
895 * text.C (prepareToPrint): fixed hfill-width in draw!
897 * BufferView2.C (selectLastWord): save the selection cursor as this
898 now is cleared in the function LyXText::clearSelection!
900 2001-08-08 Juergen Vigna <jug@sad.it>
902 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
903 BACKSPACE type functions.
905 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
906 is only cutted from the document but not put in the cut-buffer, where
907 still the old stuff should be.
909 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
911 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
913 * tabular.C (SetWidthOfCell): fixed special case where the width
915 (LeftLine): handle '|' in align_special.
917 (LeftAlreadyDrawed): ditto
918 (SetWidthOfCell): ditto
920 2001-08-07 Juergen Vigna <jug@sad.it>
922 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
924 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
926 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
929 2001-08-06 Juergen Vigna <jug@sad.it>
931 * text.C (getVisibleRow): fix up row clearing a bit.
933 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
935 * minibuffer.C: make sure the X server sees the changes in the input.
937 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
939 * paragraph.C (getFont): split into...
941 (getLayoutFont): and this
942 * paragraph_pimpl.C (realizeFont): calling this
944 * text2.C (getFont): split into...
945 (getLayoutFont): this
946 (getLabelFont): and this
947 (realizeFont): all three calling this
949 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
952 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
954 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
956 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
958 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
959 layouts from the Quote inset insertion.
961 2001-08-03 Juergen Vigna <jug@sad.it>
963 * BufferView_pimpl.C (update): do the fitCursor only at the end!
965 * screen.C (drawFromTo): don't call fitcursor here and do the loop
966 only if status not is already CHANGED_IN_DRAW (second level).
968 * text.C (draw): don't set the need_break_row when inside an
971 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
973 * buffer.C (parseSingleLyXformat2Token): handle more latex
976 * bufferview_funcs.[hC]: change function names to
977 begin with small char, adjust other files.
979 2001-08-02 André Pönitz <poenitz@gmx.net>
982 BufferView_pimpl.C: remove broken special code for math-greek
984 2001-08-02 Juergen Vigna <jug@sad.it>
986 * BufferView_pimpl.C (update): redone this function so that we
987 update the text again if there was a CHANGE_IN_DRAW.
989 * screen.C (cursorToggle): removed LyXText parameter and recoded.
990 (drawFromTo): added a new internal bool which is used by draw() and
992 (general): some cursor drawing problems fixed.
994 2001-08-01 Juergen Vigna <jug@sad.it>
996 * lyxfind.C (LyXFind): fixed
997 (SearchForward): ditto
998 (SearchBackward): ditto
1000 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
1001 spurius drawing of the cursor in the main area.
1003 * text2.C (status): small fix which could lead to a segfault!
1004 (clearSelection): remove unneeded BufferView param.
1006 2001-08-01 André Pönitz <poenitz@gmx.net>
1008 * lyxfunc.C: small change due to changed mathed interface
1010 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1012 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
1014 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1016 * lyxfunc.c: fail gracefully if file doesn't exist
1021 * BufferView_pimpl.C: IsDirWriteable() proto changed
1023 * LyXView.C: fix updateWindowTitle() to store the last title
1025 2001-07-31 Juergen Vigna <jug@sad.it>
1027 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
1028 the font (wrong since using of Paragraph::highestFontInRange).
1030 * paragraph.C (highestFontInRange): added a default_size parameter.
1032 * text.C (getVisibleRow): minor clear row changes (still not perfect).
1033 (setHeightOfRow): reformat
1035 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1037 * converter.[hC] + affected files: move to (inital-char)lowercase
1040 * ParagraphParameters.C (ParagraphParameters): remove commented code
1042 * PainterBase.[Ch]: remove commented code
1044 * LaTeXFeatures.h: add "bool floats" for float.sty
1046 * LaTeXFeatures.C (LaTeXFeatures): init floats
1047 (require): handle float
1048 (getPackages): do it with floats
1050 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1052 * BufferView_pimpl.C (Dispatch): improve handling of
1053 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
1055 * commandtags.h: #include lyxfont.h here temporarily to avoid
1058 * bufferlist.h: include LString.h here.
1060 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1062 * text2.C (getStringToIndex): new method.
1064 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
1066 * *: Reduced header file dependencies all over.
1068 2001-07-30 Baruch Even <baruch@lyx.org>
1070 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
1072 2001-07-29 Baruch Even <baruch@lyx.org>
1074 * buffer.C (readInset): Changed GRAPHICS to Graphics.
1076 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1078 * ParameterStruct.h (endif): add a default constructor to make
1079 sure that all variables is initialized.
1081 * ParagraphParameters.C (ParagraphParameters): adjust
1083 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1085 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
1086 index; also, check that there is something to index, and that it
1087 does not span over several paragraphs.
1088 (doubleClick): use WHOLE_WORD_STRICT for double click.
1090 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
1092 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
1095 2001-07-26 Baruch Even <baruch@lyx.org>
1097 * buffer.C (readInset): Changed to call up InsetGraphics when reading
1098 an InsetFig figure, backwards compatible reading of old figure code.
1100 2001-07-27 Juergen Vigna <jug@sad.it>
1102 * text2.C: font.realize function adaption.
1104 * text.C (draw): add a warnings lyxerr text if needed.
1106 * layout.C: font.realize function adaption.
1108 * language.C: add inherit_language and implement it's handlings
1110 * bufferview_funcs.C (StyleReset): remove language parameter from
1111 font creation (should be language_inherit now).
1113 * bufferparams.C (writeFile): handle ignore_language.
1115 * paragraph.C (getFontSettings): the language has to be resolved
1116 otherwise we have problems in LyXFont!
1118 * lyxfont.C (lyxWriteChanges): added document_language parameter
1119 (update): removed unneeded language parameter
1121 * paragraph.C (validate): fixed wrong output of color-package when
1122 using interface colors for certain fonts in certain environments,
1123 which should not seen as that on the final output.
1125 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1127 * BufferView_pimpl.C:
1132 * LyXAction.C: add thesaurus support
1135 * lyxfind.C: add "once" parameter, for thesaurus, to not
1136 move to the next match
1138 2001-07-26 Juergen Vigna <jug@sad.it>
1140 * lyxfont.C (realize): honor ignore_language too!
1143 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
1145 * text.C (draw): one place more for ignore_language to not draw
1148 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
1150 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
1152 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1154 * buffer.C (parseSingleLyXformat2Token): a more general fix for
1155 the minipage conversion problem.
1157 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1159 * buffer.C (parseSingleLyXformat2Token): check minipage if we
1162 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1164 * BufferView.h: don't forward declare WorkArea
1166 * BufferView.C: don't include WorkArea.h
1168 2001-07-25 André Pönitz <poenitz@gmx.net>
1172 * lyxfunc.C: new LFUN 'math-space'
1174 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
1176 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1178 * text2.C (toggleInset): call open/close
1180 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1182 * lyxfunc.C (dispatch): add debug for the disabled case
1184 * font.C (buttonText): make similar to rectText
1186 * buffer.C (readInset): comment out parsing of insetlist and
1189 * PainterBase.C (rectText): small correction
1191 * BufferView_pimpl.C: comment out insettheorem and insetlist
1192 * LyXAction.C: ditto
1193 * commandtags.h: ditto
1195 2001-07-24 Juergen Vigna <jug@sad.it>
1197 * text.C (draw): honor the ignore_language.
1199 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
1201 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1203 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
1206 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * lyxtext.h: remove unused (and unimplemented) methods
1210 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1212 * text.C (getVisibleRow): honor background color
1215 * Painter.h: remove default color argument for fillRectangle
1217 * text.C (backgroundColor): new method
1219 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1221 * text.C (getVisibleRow): adjust
1223 * font.[Ch] (rectText): new method, metrics
1224 (buttonText): new method, metrics
1226 * PainterBase.[hC]: make rectText and buttonText always draw and take
1229 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1231 * ToolbarDefaults.C (read):
1232 * MenuBackend.C (read): allow escaping in all strings
1234 * BufferView_pimpl.C (insertAndEditInset): new method.
1235 (Dispatch): use insertAndEditInset whenever appropriate.
1237 * BufferView_pimpl.C (insertNote): removed
1239 * BufferView_pimpl.C (smartQuote): new method, moved from
1240 BufferView; if an insetquote cannot be inserted, insert a '"'
1243 * BufferView2.C: remove insertCorrectQuote();
1245 * lyxfunc.C (getStatus): Add support for all remaingin
1248 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
1250 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
1251 command (necessary to pass " as parameter of self-insert.
1253 * text.C (selectWordWhenUnderCursor):
1254 (selectWord): add word_location parameter
1255 (selectWordWhenUnderCursor): same + remove special code for word
1257 (selectNextWord): use kind() to guess type of insetspecialchar,
1260 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
1261 (insertErtContents): create ert insets as collapsed.
1262 (readInset): better compatibility code for Info inset.
1264 2001-07-20 Juergen Vigna <jug@sad.it>
1266 * lyxfunc.C (dispatch): use always LyXFind now!
1268 * text2.C (init): add a reinit flag so that the LyXText can be
1269 reinited instead of deleted and reallocated (used in InsetText).
1271 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
1277 2001-07-18 Juergen Vigna <jug@sad.it>
1279 * text.C (selectNextWord): handle insets inside inset by calling
1280 always the bv->text functions so that we can go up the_locking_inset!
1282 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
1283 in strange locations when inside an inset!
1285 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
1286 handling to include insets.
1288 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
1290 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1292 * LyXAction.C (init):
1294 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
1295 LIGATURE_BREAK, since the name is so stupid.
1297 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
1299 * buffer.C (readInset): enable reading of new InsetNotes as well as old
1302 * FontLoader.C: remove FORMS_H_LOCATION cruft.
1304 * sp_form.[Ch]: remove.
1306 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
1308 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
1311 * src/buffer.C (readInset): ditto.
1313 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1315 * BufferView_pimpl.C (specialChar): new method. Obsoletes
1316 menuSeparator(), endOfSentenceDot(), ldots() and
1317 hyphenationPoint(), which are therefore removed.
1318 (Dispatch): handle LFUN_HYPHENATION_BREAK.
1320 * LyXAction.C (init):
1321 * commandtags.h: add LFUN_HYPHENATION_BREAK.
1323 * paragraph.C (getWord): removed.
1325 * BufferView_pimpl.C (Dispatch): use last word or selection for
1326 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
1328 * lyx_main.C (queryUserLyXDir): do not ask before creating
1329 user_dir, except if it has been named explicitely.
1331 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
1333 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
1334 a document of zero size.
1336 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
1338 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
1339 approriately in the c-tor and in require().
1340 (getPackages): output the appropriate LaTeX for natbib support.
1342 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
1343 variables "use_natbib" and "use_numerical_citations" when reading the
1345 (readInset): read the various natbib cite commands.
1346 (validate): white-space change.
1348 * bufferparams.[Ch]: new variables "bool use_natbib" and
1349 "bool use_numerical_citations".
1350 (writeFile): output them in the LyX file.
1352 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1354 * lyxfunc.C (getStatus): add support for all the inset insertion
1357 * text2.C (insertInset):
1358 * paragraph.C (insetAllowed):
1359 * BufferView_pimpl.C (insertInset): update to take in account the
1360 renaming of insertInsetAllowed
1362 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
1364 * text2.C (getInset): new method. returns inset at cursor position.
1366 * BufferView_pimpl.C (Dispatch): changes because of this.
1368 * LyXAction.C (init): rename open-stuff to inset-toggle.
1370 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
1372 * text2.C (toggleInset): renamed from openStuff; use
1375 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
1377 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
1379 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
1381 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
1383 * buffer.C (readLyXformat2): Add filename to the error dialog
1385 2001-07-18 Juergen Vigna <jug@sad.it>
1387 * tabular.C (GetCellNumber): put an assert here instead of the check!
1389 2001-07-17 Juergen Vigna <jug@sad.it>
1391 * BufferView_pimpl.C (toggleSelection): adapted too.
1393 * text.C (selectNextWord): adapted for use with insets.
1394 (selectSelectedWord): ditto
1396 2001-07-17 Juergen Vigna <jug@sad.it>
1398 * sp_spell.C (PSpell): fix initialitation order.
1400 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1402 * paragraph.C: spacing
1404 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
1406 * sp_spell.C: repair language selection for pspell
1408 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1410 * lyxfunc.h: change more methods to begin with lower char.
1412 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
1414 * buffer.C (parseSingleLyXformat2Token): Generate error insets
1415 for unknown layouts.
1417 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
1419 * buffer.C (readLyXformat2): Generate an error dialog if there are
1422 2001-07-16 Juergen Vigna <jug@sad.it>
1424 * sp_spell.C: always compile ISpell part.
1426 * lyxrc.C: added use_pspell entry and it's handling.
1428 2001-07-13 Juergen Vigna <jug@sad.it>
1430 * sp_spell.C: removed double includes.
1432 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1434 Consistent use of Lsstream.h:
1435 * Lsstream.h: added using std::stringstream for consistencies sake.
1437 * buffer.C: removed using std::stringstream
1439 * lyxfont.C (stateText):
1440 * paragraph.C (asString):
1441 * text.C (selectNextWord, selectSelectedWord):
1442 * text2.C (setCounter):
1443 * vspace.C (asString, asLatexString):
1444 std::ostringstream -> ostringstream.
1446 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1448 * LyXAction.C: add LFUN_HELP_ABOUTLYX
1449 * commandtags.h: add LFUN_HELP_ABOUTLYX
1450 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
1452 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
1454 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
1456 * lyx_gui_misc.C: remove spellchecker
1457 * lyxfunc.C: showSpellchecker
1459 * sp_ispell.h: added
1460 * sp_pspell.h: added
1462 * sp_form.[Ch]: removed
1463 * spellchecker.[Ch]: removed
1465 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
1467 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
1469 (simpleTeXSpecialChars): Simply print the input character without
1470 any special translation if pass_thru is set.
1472 * layout.h: Added bool pass_thru to layout class for being able to
1473 implement pass through of a paragraph for Literate Programming.
1475 * layout.C: add LT_PASS_THRU to LayoutTags enum.
1476 * layout.C (LyXLayout): set pass_thru to flase in constructor.
1477 * layout.C (Read): add "passthru" to list of layout tags and add
1478 code to set the pass_thru boolean when it is read.
1480 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1482 * trans_decl.h: remove allowed from KmodInfo
1484 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
1488 * paragraph_pimpl.C (erase): use boost::prior
1490 * Painter.C (text): use data() instead of c_str() when length is
1492 * WorkArea.C (putClipboard): ditto
1493 * font.h (width): ditto
1495 * BufferView2.C: use it-> instead of (*it). for iterators
1497 * paragraph_pimpl.C: ditto
1498 * paragraph.C: ditto
1499 * minibuffer.C: ditto
1504 * converter.C: ditto
1506 * Variables.C: ditto
1507 * TextCache.C: ditto
1508 * MenuBackend.C: ditto
1509 * LyXAction.C: ditto
1511 * FloatList.C: ditto
1513 * ColorHandler.C (LyXColorHandler): ditto
1515 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1517 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
1519 * text2.C (openStuff): reintroduce this method (which had been
1520 nuked in NEW_INSETS frenzy).
1522 * lyxfunc.C (Dispatch): when an action has not been handled, use
1523 its name in the error message, not its number.
1525 * paragraph.C (inInset): change method name to begin with lowercase.
1528 * text2.C: updates because of this.
1530 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1532 * ToolbarDefaults.C (add): add spaces in error message
1534 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1536 * buffer.C (readLyXformat2): initialize the ert comp. variables.
1537 (readLyXformat2): rename return_par to first_par, use lyxlex's
1538 pushToken and remove the manual push handling.
1539 (parseSingleLyXformat2Token): add another ert comp. variable:
1540 in_tabular, rename return_par to first_par. handle newlines better
1542 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1544 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
1546 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
1548 * text2.C (getParFromID): removed
1550 * buffer.C (getParFromID): new method moved form lyxtext.
1551 * BufferView2.C (insertErrors): adjust
1552 (setCursorFromRow): adjust
1553 * BufferView_pimpl.C (restorePosition): adjust
1554 * lyxfunc.C (Dispatch): adjust
1555 * undo_funcs.C (textUndo): adjust
1557 (textHandleUndo): adjust
1558 (textHandleUndo): adjust
1560 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1562 * buffer.C: up' the LYX_FORMAT
1564 * lyxfont.h: turn NO_LATEX on as default
1566 * buffer.C (insertErtContents): new methods of tex style compability.
1567 (parseSingleLyXformat2Token): use it several places.
1568 * tabular.C (OldFormatRead): and here
1570 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
1572 * text2.C: remove some commented code.
1575 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
1576 * trans.C: changes because of the above.
1578 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
1580 * text2.C (setCounter): Fix counters bug with bibliography layout.
1582 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1584 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
1585 own member functions
1586 (simpleTeXSpecialChars): ditto
1588 2001-07-06 Juergen Vigna <jug@sad.it>
1590 * a lot of files: changed the access to LyXText::status and the
1591 call of undo-functions.
1593 * undo.[Ch]: added a inset_id to the undo informations.
1595 * undo_funcs.[Ch]: added and moved here all undo functions.
1597 * lyxtext.h: give the status enum a weight, made status_ a private
1598 variable and made accessor functions for it, removed the whole bunch
1599 of undo-functions as they are now in their own file, make some
1600 functions publically available. Added function ownerParagraph with
1603 * paragraph.[Ch]: added "bool same_ids" to the constructor,
1604 made InInset() a const function, added getParFromID() function.
1606 * buffer.[Ch]: added const version for inset_iterator functions,
1607 added getInsetFromID() function.
1609 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
1610 changed undo functions for new version.
1612 2001-07-05 Juergen Vigna <jug@sad.it>
1614 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
1615 unknow mechanism does not call the proper constructor but only this
1616 one also if I request the other!?
1618 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1620 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
1622 * text2.C (LyXText): use initialization lists.
1624 * lyxtext.h (Selection): initialize set_ and mark_
1625 (init): remove method
1627 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
1629 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
1631 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1633 * screen.[Ch]: change method names to begin with lowercase
1635 * BufferView_pimpl.C (updateScrollbar): simplify further and
1636 hopefully make it a bit faster.
1638 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1640 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
1641 calling directly xforms functions.
1643 * Painter.C (Painter):
1644 * lyx_cb.C (MenuWrite):
1645 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
1648 * lyx_gui.C: remove bogus guiruntime extern declaration.
1650 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1652 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
1654 (redoDrawingOfParagraph): ditto
1655 (redoParagraphs): ditto
1656 (cutSelection): don't create a object for CutAndPaste use the
1657 static method directly
1658 (pasteSelection): ditto
1660 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
1663 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1665 * modifications to some other files because of this.
1667 * Makefile.am (lyx_SOURCES): add XFormsView
1669 * XFormsView.[Ch]: new files
1671 * LyXView.[Ch]: make LyXView a base class for the gui handling for
1672 the main window. Move the gui dependent stuff to XFormsView
1674 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1676 * tabular.C (GetCellInset): update cur_cell also in the row/col
1677 version of this function.
1679 * lyxfunc.C: no need to include figure_form.h here.
1685 * lyxvc.C: no need to include forms.h here.
1687 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1689 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
1691 * lyxfunc.C (Dispatch):
1693 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
1694 constructor argument.
1696 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1698 * paragraph.C (Paragraph): dont't clear, and just set layout.
1699 (makeSameLayout): use params's copy contructor.
1701 * ParagraphParameters.[Ch] (makeSame): delete method
1703 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
1705 * Variables.[Ch]: fix indentation, rename set to isSet
1707 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1709 * lyxfunc.C (Dispatch): fix typo
1711 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1713 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
1716 * bufferlist.C: include assert.h for emergencyWrite().
1718 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1720 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
1721 give up at last (bug #425202) !
1723 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
1729 * spellchecker.C: strip spellchecker options and bring up
1730 preferences tab instead
1732 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1734 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
1735 the istringstream constructor
1737 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1739 * paragraph.C (getLayout): fix return value
1741 * paragraph.h: do not declare getLayout as inline.
1743 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
1745 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1747 * lyxcursor.h (operator<): new func
1748 (operator>): new func
1749 (operator>=): new func
1750 (operator<=): new func
1752 * text.C (changeCase): use selection.start and selection.end
1753 (changeRegionCase): require from to be <= to. Require par to be a
1756 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
1758 2001-06-27 Juergen Vigna <jug@sad.it>
1760 * text.C (cursorLeftOneWord): changed to return the cursor and added
1761 overlay with BufferView * parameter which calls this one.
1763 (selectWord): use new getWord function.
1764 (changeCase): renamed from changeWordCase as and extended to work
1767 * lyxtext.h: added enum word_location
1769 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
1770 changeCase as this operates now also on selections.
1772 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1774 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
1776 * many files: send debug output to Debug::INFO instead of
1779 * converter.C (View):
1781 (Move): send debug output to Debug::FILES instead of console.
1783 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
1785 * lyxfunc.C (getStatus): use func_status
1787 * func_status.h: new header, describing the results of
1790 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
1793 2001-06-25 The LyX Project <jug@sad.it>
1795 * buffer.C (sgmlOpenTag):
1797 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
1799 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1801 * text2.C: remove some dead code
1803 * tabular.C (GetCellInset): store the last cell checked (gotten)
1805 * tabular.h: add the helper for the speedup
1807 * lyxtext.h: remove some dead code
1809 2001-06-26 The LyX Project <Asger>
1811 * paragraph.C: Change export to LaTeX of alignment to
1812 \begin{center} and family for better roundtrip work with reLyX.
1814 * Tune the math drawing a bit.
1816 2001-06-25 The LyX Project <Asger>
1818 * LColor.C (LColor): New color for math background. New color
1821 2001-06-25 The LyX Project <jug@sad.it>
1823 * lyxfunc.C (MenuNew): remove extra check for .lyx file
1826 * bufferlist.C (newFile): do not restrict to files ending with
1829 * BufferView_pimpl.C (MenuInsertLyXFile):
1831 2001-06-24 The LyX Project <jug@sad.it>
1833 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
1836 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1838 * lyxtext.h: rename most methods to begin with a small char.
1839 Lots of changes because of this.
1841 * paragraph.C (Paragraph): do not call fitToSize
1842 (erase): call Pimpl::erase
1843 (insertChar): call Pimpl::insertChar
1844 (insertInset): call Pipl::insertInset
1845 (breakParagraph): do not call fitToSize
1846 (breakParagraphConservative): do not call fitToSize
1847 (fitToSize): remove method
1849 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
1851 2001-06-24 The LyX Project <Asger>
1853 * Fix Qt compilation^2
1855 2001-06-24 The LyX Project <jug@sad.it>
1857 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
1858 depthHook(getDepth()-1).
1861 * ParagraphParameters.h:
1862 * ParameterStruct.h: change type of depth to unsigned int ==
1863 depth_type. Many adaptations to other files before of that.
1865 2001-06-24 The LyX Project <Asger>
1867 * Fix Qt compilation.
1869 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1871 * paragraph.h: renamed several methods to begin with small letter.
1872 several changes to many parts of the code because of this.
1874 2001-06-23 The LyX Project <jug@sad.it>
1876 * text2.C (InsertStringAsLines): renamed from InsertStringA;
1877 rewritten to discard all double spaces when KeepEmpty is off
1878 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
1879 to only handle newlines but not fiddle with spaces and friends.
1881 * lyxfunc.C (MenuNew): when doing 'new from template', use
1882 template_path as default directory
1884 2001-06-23 The LyX Project <Asger>
1886 * Clean-up of header file includes all over
1887 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
1889 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1891 * paragraph.h: renamed from lyxparagraph.h
1893 2001-06-23 Asger <lyx@violet.home.sad.it>
1895 * Buffer.h: Removed Buffer::resize
1896 * BufferList.h: Removed BufferList::resize
1897 * LyXView.h: Added LyXView::resize. This way, we will only reflow
1898 the document lazily when we change the width, or the font settings.
1900 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1902 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
1904 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1906 * buffer.h: remove out of date comment
1908 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1911 * screen.C: fix "theoretical" GC leak
1913 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1915 * LaTeX.C (scanAuxFile):
1916 (deplog): remove trailing \r when reading stream (useful under
1919 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
1921 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
1922 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
1923 and BufferView::theLockingInset(Inset*), so should use them and not
1924 access bv_->text->the_locking_inset directly.
1926 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
1928 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1931 * tex-defs.h: remove old unused file
1933 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
1935 * BufferView_pimpl.C: fix typo, remove minibuffer message
1936 when buffer has loaded
1938 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
1940 * lyxfunc.C (Dispatch): use stringstream
1941 (MenuNew): use stringstream
1942 (Open): use stringstream
1944 * importer.C (Import): use stringstream
1946 * bufferview_funcs.C (CurrentState): use stringstream
1948 * LaTeX.C (run): use stringstream
1950 * BufferView_pimpl.C (savePosition): use stringstream
1951 (restorePosition): use stringstream
1952 (MenuInsertLyXFile): use stringstream
1954 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
1967 * vspace.C: removed // -*- C++ -*- as first line.
1970 * version.h: added // -*- C++ -*- as first line.
1972 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1974 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
1976 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
1979 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
1981 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
1984 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1986 * gettext.C: include LString.h even when --disable-nls is on.
1988 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
1990 * converter.h (Get): changed argument type from int to
1991 FormatList::size_type to avoid unnecessary conversion.
1993 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
1996 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1998 * gettext.h: include LString.h even when --disable-nls is on.
2000 2001-06-07 Juergen Vigna <jug@sad.it>
2002 * text.C (BreakAgain): subst spaces with tabs.
2004 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
2005 (resizeInsetsLyXText): set force on resizeLyXText.
2007 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2009 * gettext.h (gettext_init):
2010 (locale_init): use a real definition instead of a macro
2012 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
2014 * Bufferview_pimpl.C:
2016 * LColor.C: further lcolor tidies
2018 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2020 * BufferView_pimpl.C (updateScrollbar): simplify.
2022 * BufferView2.C: don't include insets/insetinfo.h, change
2023 prototype for insertInset and call the Pimpl version. let
2024 updateInset call Pimpl version.
2026 * BufferView.h: move inset_slept to BufferView::Pimpl, move
2027 gotoInset to BufferView::Pimpl
2029 2001-06-01 Juergen Vigna <jug@sad.it>
2031 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
2032 inside a LockingInset (is the update needed at all?).
2034 2001-05-31 Juergen Vigna <jug@sad.it>
2036 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
2037 here not the old one otherwise how should we compare it afterwards
2040 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2045 * FontInfo.C: bring C functions into global namespace when
2048 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2050 * LString.h: make sure config.h has been loaded before LString.h.
2052 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
2053 (one for each char read by EatLine!).
2055 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
2058 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2060 * paragraph.C (BreakParagraph): set the inset_owner in the new par
2061 to the same as the par we break from
2063 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
2065 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
2067 * MenuBackend.C (expand): also create menu entries for wide
2068 versions of the floats.
2070 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
2072 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
2074 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
2075 frontends/Makefile.am
2081 * tabular.C (getTokenValue): add std::
2083 * tabular-old.C (getTokenValue): add std::
2084 (getTokenValue): ditto
2085 (getTokenValue): ditto
2087 * screen.C (ToggleSelection): adjust
2089 * lyxtext.h: put selection cursors inside a Selection struct.
2091 * lyxfunc.C (moveCursorUpdate): adjust
2093 * lyxfont.C (latexWriteStartChanges): add std::
2097 * font.h: delete with(char const *, LyXFont const &)
2099 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
2101 * FontInfo.C (getFontname): add std::
2103 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2104 (workAreaButtonPress): adjust
2105 (tripleClick): adjust
2107 (moveCursorUpdate): adjust
2110 * BufferView2.C (gotoInset): adjust
2112 2001-05-30 Juergen Vigna <jug@sad.it>
2114 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
2115 to check pspell I add this as default as I now have new pspell
2116 libraries and they seem to use this.
2118 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2120 * text2.C (CutSelection): make the cursor valid before the call to
2123 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2125 * kbsequence.C (parse): de-uglify a bit the parsing code, which
2126 relied on 0 terminated strings and other horrors. Bug found due to
2127 the new assert in lyxstring!
2129 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
2132 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2134 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
2137 * lyxfunc.C (processKeySym): change method of getting to the
2140 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
2141 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
2142 * BufferView_pimpl.[Ch]: here as private methods.
2144 2001-05-28 Juergen Vigna <jug@sad.it>
2146 * text.C (SetHeightOfRow): added the update() call again as it is
2147 needed to initialize inset dimensions!
2149 2001-05-16 Juergen Vigna <jug@sad.it>
2151 * text2.C (SetCharFont): Add new function with BufferView * and
2152 bool toggleall parameters for setting insets internal fonts.
2153 (SetFont): Freeze the undo as we may change fonts in Insets and
2154 all this change should be inside only one Undo!
2156 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
2157 setting font's in insets as for them we have the SetFont function!
2159 2001-05-15 Juergen Vigna <jug@sad.it>
2161 * text2.C (ClearSelection): to be sure we REALLY don't have any
2164 * tabular.C (TeXCellPreamble): fixed the left border problem for
2167 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
2169 * LaTeX.C (deplog): Make sure that the main .tex file is in the
2172 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
2174 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
2175 LFUN_BREAKPARAGRAPH.
2177 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
2178 help test to "internal only", similar for LFUN_INSERT_URL
2180 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
2181 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
2182 auto_region_delete and deadkeys.
2184 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
2187 * LColor.C: remove some dead entries, tidy a little
2189 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2191 * lyxfunc.C (processKeySym): comment the Escape handling, remove
2193 (Dispatch): implement LFUN_ESCAPE
2195 * commandtags.h: add LFUN_ESCAPE
2197 * LyXAction.C (init): add entry for LFUN_ESCAPE
2199 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
2200 Remove commented code.
2201 (insertNote): moved here
2202 (open_new_inset): moved here
2204 * BufferView[2].[Ch]: move insertNote and open_new_inset to
2207 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2209 * kbmap.C (findbinding): clean it up and make it work correctly.
2211 * lyx_main.C (init): do not pass argc and argv as parameters
2213 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
2215 * buffer.C: fix path for OS/2 & Win32
2219 * lyx_main.C: Added os:: class.
2221 * os2_defines.h: update
2223 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2225 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
2226 better by trying again with reduced state.
2228 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2230 * lyxrc.C (read): print error about invalid key sequence only when
2231 debugging (because not all latinX keysyms are known to some X
2234 * kbsequence.C (getiso): add a few std:: qualifiers
2235 (getiso): comment out extra return statement.
2237 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
2239 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
2241 (Dispatch): enhance the accent inset a bit. (not perfect)
2243 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2245 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
2247 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2249 * bufferlist.C (emergencyWrite): fix assert() call
2251 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
2253 * text.C (InsertChar): Added trivial patch to only send the "you
2254 can not do multiple spaces this way" message once during a
2257 2001-05-08 Baruch Even <baruch@lyx.org>
2259 * Makefile.am: Changed order of libraries to get LyX to link properly
2260 with the gnome frontend.
2262 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2264 * LaTeXFeatures.h: add a std:: qualifier
2266 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
2268 * paragraph.C (String): use stringstream
2270 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2272 * paragraph.C (writeFile): remove footflag arg
2274 * buffer.C (makeLaTeXFile): use stringstream
2275 (latexParagraphs): remove footnot gurba
2277 * LaTeXFeatures.C (getPackages): use stringstream
2278 (getMacros): likewise
2279 (getTClassPreamble): likewise
2280 (getFloatDefinitions): new method
2282 * paragraph.C (writeFile): reindent
2285 * WorkArea.h: revert the xpos + etc changes.
2287 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
2289 * lyxparagraph.[Ch]: add copy constructor, remove Clone
2291 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
2292 (pasteSelection): likewise
2293 * text2.C (CreateUndo): likewise
2295 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2297 * minibuffer.C (peek_event): temporarily reduce the functionality
2298 of the minibuffer (to allow args on lfuns)
2300 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
2301 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
2303 * buffer.C (readInset): add compability reading of old float
2304 lists, add reading of new style float list.
2305 (readInset): avoid reevaluation of inscmd.getCmdName()
2306 (getLists): reindent
2308 * MenuBackend.C (MenuItem): implement parsing of
2309 md_floatlistinsert and md_floatinsert.
2310 (expand::LastFiles): move initalizaton of iterators out of loop,
2312 (expand::Documents): introduce typdedef vector<string> Strings,
2314 (expand::ExportFormats): introduce typedef vector<Format const *>
2315 Formats, and use it.
2316 (expand): implement FloatListInsert and FloatInsert.
2318 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
2319 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
2320 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
2322 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
2324 (Dispatch::LFUN_FLOAT_LIST): implement
2326 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
2328 * LaTeX.C (run): Fix problem with --export code.
2330 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
2332 * BufferView.[Ch] (workarea): removed.
2333 (getClipboard) new method; wrapper for workarea()->getClipboard()
2335 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
2338 * WorkArea.h (width, height, xpos, ypos): These methods all
2339 returned the dimensions of the work_area sub-area of WorkArea,
2340 resulting in a position error if the WorkArea were resized. Now
2341 return the dimensions of the entire WorkArea.
2343 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
2345 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2347 * LaTeX.C (deplog): correct the syntax of regex reg1
2349 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2351 * undo.C: remove !NEW_INSETS cruft
2353 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
2355 * text2.C: remove !NEW_INSETS cruft
2357 * text.C: remove !NEW_INSETS cruft
2359 * tabular.C: remove !NEW_INSETS cruft
2361 * spellchecker.C: remove !NEW_INSETS cruft
2363 * lyxtext.h: remove !NEW_INSETS cruft
2365 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
2367 * lyxfunc.C: remove !NEW_INSETS cruft
2369 * lyxfind.C: remove !NEW_INSETS cruft
2371 * lyx_cb.C: remove !NEW_INSETS cruft
2373 * figureForm.C: remove !NEW_INSETS cruft
2375 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
2377 * buffer.[Ch]: remove !NEW_INSETS cruft
2379 * ToolbarDefaults.C: remove !NEW_INSETS cruft
2381 * CutAndPaste.C: remove !NEW_INSETS cruft
2383 * BufferView_pimpl.C: remove !NEW_INSETS cruft
2385 * BufferView2.C: remove !NEW_INSETS cruft
2387 * BufferView.h: remove !NEW_INSETS cruft
2389 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2391 * Lsstream.h: include LString.h before the sstream headers to
2392 fix problem with gcc 2.95.3 and lyxstring
2394 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2396 * lyx_main.C: add using directives when needed for C functions
2397 declared in std:: namespace.
2399 2001-04-27 Juergen Vigna <jug@sad.it>
2401 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
2402 (SetHeightOfRow): comment out the update call should not be needed!
2404 2001-04-13 Juergen Vigna <jug@sad.it>
2406 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
2407 (LyXTabular): tried to minimize operator= operations (and realized
2408 hopfully Lars wish).
2410 2001-04-27 Juergen Vigna <jug@sad.it>
2412 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
2414 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
2416 * lyxfunc.C (Dispatch): hack to make listof algorithm work
2418 * buffer.C (readInset): hack to make listof algorithm work
2420 * BufferView_pimpl.C: hack to make listof algorithm work
2422 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2424 * LyXAction.C: removed all !NEW_INSETS cruft
2425 (init): moved lfun_item in method
2427 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
2429 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
2431 * BufferView2.C (theLockingInset): white space.
2433 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2435 * minibuffer.C: include <iostream>
2437 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
2439 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
2441 * commandtags.h: add LFUN_TRANSPOSE_CHARS
2443 * text.[Ch] (TransposeChars): new method
2445 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2447 * call message directly through LyXView instead of through LyXFunc
2448 * BufferView2.C: adjust
2449 * BufferView_pimpl.C: adjust
2450 * FontLoader.C: adjust
2452 * bufferview_funcs.C: adjust
2453 * converter.C: adjust
2454 * figureForm.C: adjust
2455 * importer.C: adjust
2457 * lyx_gui_misc.C: adjust
2461 + more files in subdirs
2463 * lyxparagraph.h (size): move up int file
2466 * adjust all uses of Assert to lyx::Assert.
2468 * BufferView2.C (ChangeCitationsIfUnique): adjust for
2469 lyxfunctional in namespace lyx
2470 * layout.C (hasLayout): ditto
2473 (delete_layout): ditto
2474 (NumberOfClass): ditto
2475 * converter.C (GetFormat): ditto
2480 * bufferlist.C (getFileNames): ditto
2481 (emergencyWriteAll): ditto
2484 * MenuBackend.C (hasSubmenu): ditto
2487 * BufferView_pimpl.C (getInsetByCode): ditto
2489 2001-04-18 Juergen Vigna <jug@sad.it>
2491 * vspace.C (asLatexString): fixed the 100% problem.
2493 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2495 * lyxfunc.C (Dispatch):
2497 * minibuffer.h: add a few std:: qualifiers
2499 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2501 * minibuffer.[Ch]: reimplement so that commands is initiated and
2502 run from lyxfunc, simplified som handling, and made the completion
2503 and history code for complete. wip.
2505 * lyxfunc.C (processKeySym): call message
2506 (miniDispatch): new temporary method
2507 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
2508 (LFUN_MESSAGE): implement
2509 (LFUN_MESSAGE_PUSH): implement
2510 (LFUN_MESSAGE_POP): implement
2511 (initMiniBuffer): the initial/defualt minibuffer message.
2513 * lyxfont.[Ch]: inline some more getters
2515 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
2517 * lyx_gui_misc.[Ch] (WriteStatus): remove method
2519 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
2520 (AutoSave): use LFUN_MESSAGE
2521 (Reconfigure): ditto
2523 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
2525 * figureForm.C: use LFUN_MESSAGE
2527 * converter.C (runLaTeX): use LFUN_MESSAGE
2529 * bufferview_funcs.C: use LFUN_MESSAGE
2531 (changeDepth): ditto
2533 * bufferparams.h: use boost::
2535 * bufferlist.h: inherit privately from noncopyable
2537 * bufferlist.C (loadLyXFile): remove some commented code.
2539 * buffer.C (runChktex): use LFUN_MESSAGE
2541 * ShareContainer.h: inherit privately from noncopyable
2543 * ParagraphParameters.[hC] (depth): inline it.
2545 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
2547 (message): new method
2548 (messagePush): ditto
2550 (show): init minibuffer
2551 (showState): direct call
2553 * LaTeX.[Ch]: inherit privately from noncopyable
2554 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
2555 instead of WriteStatus.
2557 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
2559 * BufferView_pimpl.C (buffer): don't init minibuffer
2560 (workAreaButtonPress): use LFUN_MESSAGE
2561 (workAreaButtonRelease): ditto
2562 (savePosition): ditto
2563 (restorePosition): ditto
2564 (MenuInsertLyXFile): ditto
2565 (workAreaExpose): don't init minibuffer
2566 (update): remove commented code, simplify
2568 * BufferView2.C (openStuff): use LFUN_MESSAGE
2569 (toggleFloat): ditto
2572 (copyEnvironment): ditto
2573 (pasteEnvironment): ditto
2578 (updateInset): remove some commented code
2580 * lastfiles.h: inherit privately from noncopyable
2585 * lyxlex_pimpl.h: ditto
2587 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
2588 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
2589 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2591 * LyXAction.h: inherit privately from noncopyable, add methods
2592 func_begin, func_end, returning iterators to the func map.
2594 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
2595 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
2596 (func_begin): new method
2597 (func_end): new method
2599 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
2601 (copySelection): ditto
2602 (pasteSelection): ditto
2604 * BufferView.C: whitespace change
2605 * BufferView.h: inherit privately from noncopyable
2607 2001-04-16 Allan Rae <rae@lyx.org>
2609 * tabular-old.C (l_getline):
2610 * spellchecker.C (sc_check_word):
2611 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
2612 an unrecognised preprocessor directive. So ensure they're wrapped.
2614 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
2616 * src/exporter.C (Export): Give an error message when path to file
2619 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
2621 * LaTeX.C (deplog): Always check that foundfile exists.
2623 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2626 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
2628 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2630 * tabular.[Ch] (getLabelList): implement new method
2632 * minibuffer.h: comment ouf setTiimer
2634 * minibuffer.C (ExecutingCB): constify res
2635 (peek_event): constify s
2636 (Set): constify ntext
2637 (Init): constify nicename
2639 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
2641 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
2642 (savePosition): use two params to Minibuffer::Set
2643 (restorePosition): ditto
2645 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2647 * lyx_main.C: include language.h
2649 * Makefile.am (lyx_main.o): add language.h
2651 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2657 * CutAndPaste.C: include gettext.h
2659 * lyxfont.h: remove old hack with ON and OFF.
2662 * lyxfont.h: do not include language.h...
2667 * bufferview_funcs.C:
2673 * paragraph.C: ... but do it here instead
2675 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2677 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
2679 * tabular.C: small reformat
2681 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
2684 (BreakParagraph): ditto
2685 (SetOnlyLayout): ditto
2688 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
2691 * lastfiles.C: removed most using decl, add std:: where needed
2693 * buffer.C: ws changes
2695 * MenuBackend.C (class compare_format): put into anon namespace
2696 (expand): constify label, names, action, action2
2699 * text.C (SingleWidth): constify font
2700 (IsBoundary): constify rtl2
2701 (GetVisibleRow): constify ww
2703 * LaTeX.C (deplog): constify logfile
2705 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
2707 (workAreaExpose): constify widthChange, heightChange
2709 * lyxrow.C (par): moved
2712 * lyxrow.h: as inlines here
2714 * lyxfont.h (shape): moved from lyxfont.C
2715 (emph): moved from lyxfont.C
2717 * lyxfont.C (LyXFont): use initialization list for all
2719 (shape): move to lyxfont.h as inline
2720 (emph): move to lyxfont.h as inline
2723 2001-04-04 Juergen Vigna <jug@sad.it>
2725 * vspace.C: had to include stdio.h for use of sscanf
2727 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
2730 * BufferView_pimpl.h: remove xforms cruft. Both classes are
2731 independent of xforms.
2733 2001-04-02 Juergen Vigna <jug@sad.it>
2735 * spellchecker.C: fixed namespace placing!
2737 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
2739 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
2740 the LyXParagraph * is 0.
2742 2001-03-29 Juergen Vigna <jug@sad.it>
2744 * vspace.C: added support for %, c%, p%, l%.
2745 (stringFromUnit): added helper function.
2746 (asLatexString): changed to give right results for the %-values.
2748 * buffer.C: convert the widthp in a width%.
2750 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
2752 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
2755 * figureForm.[Ch]: stripped the FD_from_figure manipulation
2756 code out of lux_cb.[Ch], ready for its (imminent?) removal.
2758 * lyx_cb.[Ch]: see above.
2760 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
2764 * lyx.[Ch]: replaced by figure_form.[Ch].
2768 * lyxfunc.C: changed headers associated with above changes.
2770 2001-03-27 Juergen Vigna <jug@sad.it>
2772 * BufferView_pimpl.C: set the temporary cursor right!
2774 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
2776 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
2778 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
2780 * LString.h: removed "using std::getline"!
2782 * BufferView_pimpl.C (Dispatch): changes due to changes in
2783 InsetInclude::Params.
2785 * buffer.C (tag_name): removed redundant break statements as they were
2786 producing lots of warnings with my compiler.
2788 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2790 * LString.h: add "using std::getline" when using the real <string>.
2792 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
2794 * buffer.C: removed bitset usage.
2795 PAR_TAG moved to an anonymous name space.
2796 (tag_name): new funtion, also in the anonymous namespace.
2797 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
2798 (makeDocBookFile): clean code. Completed transition from string arrays
2800 (SimpleDocBookOnePar): code clean.
2802 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2804 * tabular.C: add some comments.
2806 2001-03-22 Juergen Vigna <jug@sad.it>
2808 * buffer.C (parseSingleLyXformat2Token): redone the minipage
2809 compatibility read a bit and fixed bug with minipage in different
2812 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
2814 * buffer.C (pop_tag): removed.
2815 (push_tag): removed.
2816 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
2817 array replaced with vector. Added support for CDATA sections.
2818 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
2820 (makeDocBookFile): XML conformant declaration of CDATA section,
2821 fixed bug related to <emphasis> in the first paragraph char.
2822 (sgmlOpenTag): exclude empty tags.
2823 (sgmlCloseTag): ditto.
2825 * buffer.h (pop_tag): removed.
2826 (push_tag): removed.
2828 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
2830 * language.h (Languages): added size_type and size().
2832 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2834 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
2835 response on compability reading of minipages. One probliem is that
2836 the old usage of minipages was «flertydig»
2838 * several files here and in subdirs: don't use static at file
2839 scope use anon namespaces instead.
2841 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
2843 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
2844 LaTeX output. This is necessary for Literate document
2847 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2849 * buffer.C: insert hfill when needed.
2851 * tabular.C (l_getline): use string::erase, small whitespace change.
2853 * BufferView_pimpl.C: try the anon namespace.
2856 2001-03-16 Juergen Vigna <jug@sad.it>
2858 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
2859 otherwise it won't open options-dialogs.
2861 * buffer.C: honor pextraWidth(p) on converting minipages.
2863 * tabular.C (l_getline): changed the functions to strip trailing \r.
2865 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
2867 * BufferView_pimpl.C:
2868 * minibuffer..C: added "using SigC::slot" declaration.
2870 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2872 * lyxlex_pimpl.h: noncopyable is in namespace boost.
2878 * paragraph.C: ditto
2880 * lyxtext.h: NO_PEXTRA
2882 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
2884 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
2885 * ParameterStruct.h: ditto
2886 * ParagraphParameters.h: ditto
2887 * lyxparagraph.h: ditto
2889 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2891 * buffer.C: add compability for minipage alignment.
2892 (latexParagraphs): remove unwanted pextra check.
2894 * several files: remove CXX_WORKING_NAMESPACES
2896 * buffer.C (pop_tag): tie is in namespace boost
2898 * BufferView.h: noncopyable is in namespace boost
2903 * lastfiles.h: ditto
2904 * bufferlist.h: ditto
2905 * ShareContainer.h: ditto
2907 * LyXAction.h: ditto
2910 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2912 * Merging changes from BRANCH_MVC back into HEAD.
2914 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2916 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
2918 * BufferView_pimpl.C: change from intl.C
2922 * Makefile.am: move combox.*
2928 * intl.C: remove dialog (covered by prefs)
2930 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
2932 * lyxfunc.C (Dispatch): removed redundant break statement.
2934 2001-03-14 Juergen Vigna <jug@sad.it>
2936 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2938 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2940 * buffer.C: add hack to fix compability reading of minipages.
2942 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
2944 * buffer.C (getLists): Cleanup.
2946 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2948 * lyxfont.C (update): don't honor toggleall on font size.
2950 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
2954 * Makefile.am: moved to frontends/xforms/
2958 * BufferView_pimpl.C: changes for moved mathpanel
2960 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2962 * gettext.h: fix gettext_init() in --disable-nls
2964 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2966 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2968 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
2971 * lyx.h: strip external form
2973 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2975 * BufferView_pimpl.C: add comment, destroySplash()
2977 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
2979 * BufferView_pimpl.C:
2983 * lyxfunc.C: use re-worked insetinclude
2985 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2987 * buffer.C: add using std::stringstream.
2989 * lyx_cb.C: readd using std::ios.
2991 * buffer.C: add using std::map.
2993 * BufferView_pimpl.C: add using std::vector.
2995 * ShareContainer.h: add std:: to swap.
2997 * buffer.h: add some typedefs
2998 * buffer.C (getLists): use them
2999 (getLists): renamed from getTocList.
3000 add a counter for the different float types and use it in the
3002 (getLists): use the same counter for the NEW_INSETS and the "non"
3005 * lyx_cb.h: remove unused items, includes, using etc.
3007 * ShareContainer.h: remove some commented code, add more comments
3008 and "documentation".
3010 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3012 * buffer.C (getTocList): make the list also when NEW_INSETS is
3015 * buffer.h: remove TocType
3017 * buffer.C (getTocList): change to return a map<string,
3018 vector<TocItem> >, implement for dynamic number of list.
3020 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
3021 * text2.C (PasteSelection): adjust
3022 * CutAndPaste.C (pasteSelection): adjust
3024 * FloatList.C (FloatList): update from the new_insets branch.
3025 * Floating.[Ch]: ditto
3026 * LaTeXFeatures.C: ditto
3028 * lyxlex_pimpl.C: ditto
3030 * paragraph.C (Last): remove when NEW_INSETS is defined.
3032 * other file: changes because of the above.
3034 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3036 * lyxparagraph.h: rename next to next_, previous to previous_,
3037 make them private for NEW_INSETS. Rename Next() to next(),
3038 Previous() to previous().
3040 * other files: changes because of the above.
3042 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
3045 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
3048 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3050 * main.C (main): pass lyx_localedir to gettext_init().
3052 * gettext.h: remove locale_init and gettext_init macros
3054 * gettext.C (locale_init): new function
3055 (gettext_init): new function
3057 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
3060 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
3062 * Moved credits to frontends:
3063 * credits.[Ch]: removed
3064 * credits_form.[Ch]: removed
3065 * lyx_gui_misc.C: remove credits stuff
3068 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3070 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
3072 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
3073 unneeded destructor.
3075 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
3076 a standalone pointer again.
3078 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
3080 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
3086 * ToolbarDefaults.C:
3095 * BufferView_pimpl.C: use new file dialog in GUII
3098 * lyx_cb.C: remove LayoutsCB to Toolbar
3100 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3102 * ShareContainer.h (get): add std:: qualifier
3104 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3106 * ShareContainer.h: define a proper ShareContainer::value_type
3107 type (and use typename to please compaq cxx)
3109 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3111 * lyxparagraph.h: move serveral local vars to
3112 ParameterStruct/ParagraphParameters., use ShareContainer in
3113 FontTable., make vars in FontTable private and add getter and
3116 * paragraph.C: changes because of the above.
3118 * lyxfont.h: remove copy constructor and copy assignment. (the
3119 default ones is ok), move number inside FontBits. move inlines to
3122 * lyxfont.C: add number to initializaton of statics, move several
3123 inlines here. constify several local vars. some whitespace
3124 cleanup. Dont hide outerscope variables.
3126 * Spacing.h: add two new constructors to match the set methods.
3128 * ShareContainer.h: new file, will perhaps be moved to support
3130 * ParameterStruct.h: new file
3132 * ParagraphParameters.h: new file
3134 * ParagraphParameters.C: new file
3136 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
3137 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
3139 * BufferView_pimpl.C: ParagraphParameter changes.
3140 * buffer.C: Likewise.
3141 * bufferview_funcs.C: Likewise.
3143 * text2.C: Likewise.
3145 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3147 * lyxfind.C (LyXReplace): do not redefine default argument in
3149 (IsStringInText): ditto
3150 (SearchForward): ditto
3151 (SearchBackward): ditto
3153 2001-03-06 Juergen Vigna <jug@sad.it>
3155 * lyxfind.C (IsStringInText): put parentes around expressions.
3157 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
3159 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
3161 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
3163 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
3165 * stl_string_fwd.h: add comment
3167 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
3170 * tabular.C: remove unused DocBook methods
3176 killed DO_USE_DEFAULT_LANGUAGE
3178 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3180 * lyx_gui.C: do not include language.h.
3182 * bufferview_funcs.C (ToggleAndShow): do not provide optional
3183 arguments in function implementation.
3185 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3187 * BufferView_pimpl.C: add <ctime>
3189 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3191 * BufferView_pimpl.C: add using std::find_if
3193 2001-02-27 José Matos <jamatos@fep.up.pt>
3195 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
3198 2001-02-11 José Matos <jamatos@fep.up.pt>
3200 * buffer.C (makeDocBookFile): command styles now have a parameter as
3203 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
3205 * layout_forms.[Ch]: removed
3206 * lyx_cb.[Ch]: out character
3207 * lyx_gui.C: out character
3208 * lyx_gui_misc.C: out character
3209 * bufferview_funcs.C: : out character,
3210 added toggleall as parameter in ToggleAndShow
3212 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
3214 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
3216 * text2.C (SetCurrentFont): Disable number property at boundary.
3218 2001-02-26 Juergen Vigna <jug@sad.it>
3220 * lyxfunc.C (getStatus): added a string argument override function so
3221 that this is correctly called from LyXFunc::Dispatch if it contains a
3222 do_not_use_argument which is used!
3223 (Dispatch): added check for "custom" export and call appropriate func.
3225 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
3227 * lyxrc.C: Add language_command_local, language_use_babel and
3228 language_global_options.
3230 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
3232 * buffer.C (makeLaTeXFile): Use language_use_babel and
3233 language_global_options.
3235 2001-02-23 Juergen Vigna <jug@sad.it>
3237 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
3238 which works with LyXText and putted it inside BufferView. Here now we
3239 only call for that part the BufferView::Dispatch() function.
3241 * BufferView.C (Dispatch): added.
3243 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
3244 functions which needs to use a LyXText over from LyXFunc.
3245 (MenuInsertLyXFile): added
3246 (getInsetByCode): added
3247 (moveCursorUpdate): added
3248 (static TEXT): added
3250 2001-02-22 Juergen Vigna <jug@sad.it>
3252 * BufferView_pimpl.C (update): call a status update to see if LyXText
3255 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3257 * vc-backend.C (revert): implement for CVS
3258 (getLog): implement for CVS
3260 2001-02-20 Juergen Vigna <jug@sad.it>
3262 * text2.C (ClearSelection): added BufferView param for inset_owner call
3264 * lyxfunc.C (TEXT): added this function and use it instead of
3265 directly owner->view()-text of getLyXText().
3267 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
3269 * src/layout_forms.C: out preamble
3270 * src/layout_forms.h: out preamble
3271 * src/lyx_cb.C: out preamble
3272 * src/lyx_cb.h: out preamble
3273 * src/lyx_gui.C: out preamble
3274 * src/lyx_gui_misc.C: out preamble
3275 * src/lyxfunc.C: connect with guii preamble
3277 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
3279 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
3281 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
3283 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
3284 whether to run bibtex.
3286 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
3288 * Makefile.am (lyx_SOURCES): Remove BackStack.h
3290 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3292 * Makefile.am (lyx_SOURCES): removed bibforms.h
3296 * text.C (GetVisibleRow): make several local vars const
3298 * tabular.C: small cleanup.
3300 * lyxserver.C (callback): use compare instead of strncmp
3302 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
3303 inlines to after class or to paragraph.C
3305 * lyxfont.h: remove friend operator!=
3307 * converter.h: move friend bool operator< to non friend and after
3310 * combox.h: small cleanup
3312 * buffer.h: doxygen, remove unused constructor, move inclas inlies
3313 to inlines after class def.
3315 * buffer.C (pop_tag): use string operations instead of strcmp
3317 * bmtable.c: doxygen, small cleanup
3319 * LaTeX.h: remove friend operator==
3321 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
3333 * BufferView_pimpl.C:
3334 * BufferView.[Ch]: remove cruft
3336 2001-02-14 Juergen Vigna <jug@sad.it>
3338 * lyxfunc.C: removed #if 0 unused code
3340 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
3342 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
3344 * text2.C (SetSelection): added a BufferView * parameter
3346 2001-02-13 Juergen Vigna <jug@sad.it>
3348 * lyxfunc.C (Dispatch): fixed protected blank problem.
3349 * BufferView2.C (protectedBlank): added LyxText * parameter.
3351 * tabular.C (AppendRow): forgot to set row_info of newly added row.
3352 (AppendColumn): same as above for column_info.
3354 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
3355 (moveCursorUpdate): use a LyXText param for support of InsetText.
3357 * BufferView_pimpl.C (doubleClick): added support for InsetText.
3358 (tripleClick): ditto
3360 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
3362 * BufferView_pimpl.C (update): added LyXText param to honor insets.
3364 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
3366 * text2.C (SetSelection): set correct update status if inset_owner
3369 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
3371 * tabular.C: remove some commented code.
3373 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
3375 * BufferView_pimpl.C: call hideSplash()
3377 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
3380 * bibforms.h: remove
3383 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
3384 add LFUN_CHILD_CREATE
3386 * counters.h: fix tiny typo
3391 * lyx.C: move splash to frontends/xforms/
3393 * lyx_gui_misc.C: move Include and Bibform to frontends
3395 * lyxvc.h: clarify comment
3397 * vspace.C: tiny housekeeping
3399 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
3401 * text.C (PrepareToPrint): RTL Fix.
3403 * paragraph.C (GetUChar): New method.
3404 (String): Use GetUChar.
3406 * buffer.C (asciiParagraph): Use GetUChar.
3408 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
3410 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
3412 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
3415 * buffer.C: rename to getLogName(), handle
3416 build log / latex log nicely
3418 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3421 * MenuBackend.h: remove support for reference menuitem type.
3423 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
3425 * BufferView_pimpl.C: housekeeping
3426 * BufferView_pimpl.h:
3431 * minibuffer.h: move Timeout GUI-I
3433 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
3435 * lyxrc.C (read): Update converters data-structures.
3437 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
3439 * LaTeX.h (operator!=): add operator != for Aux_Info
3441 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
3443 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
3445 * LaTeXLog.C: deleted, useful code moved to Buffer
3448 * buffer.C: new function getLatexLogName()
3454 * lyxfunc.C: use frontends for LaTeX and VC logs
3456 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3458 * LaTeX.h: yet another std:: that Allan forgot.
3460 * Variables.C (set): renamed from isset(), because this clashes
3461 with some HP-UX macros (grr).
3463 2001-02-06 Allan Rae <rae@lyx.org>
3465 * LaTeX.h: Another bug fix. Missing std:: this time.
3467 2001-02-04 Allan Rae <rae@lyx.org>
3469 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
3470 floats problem. I've left it commented out because it's not quite
3471 correct. It should also test that the current object is a table or
3472 figure inset. But I haven't gotten around to figuring out how to do
3473 that. I *think* it'll be something like: "table" == inset.type()
3475 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
3478 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
3480 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
3481 all the citation/databases/styles in the auxilary file.
3482 (run): Rerun latex if there was a babel language error.
3484 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
3486 * text.C (Backspace): Preserve the font when changing newline char
3488 (BreakParagraph): If the cursor is before a space, delete the space.
3490 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
3492 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
3494 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
3495 new argument (code).
3496 (ChangeCitationsIfUnique): New method.
3498 * paragraph.C (GetPositionOfInset): Handle bibkey.
3500 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3502 * BufferView_pimpl.h: change type of Position::par_pos to
3503 LyXParagraph::size_type.
3505 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
3507 * BufferView_pimpl.C (savePosition, restorePosition): Write
3508 messages to minibuffer.
3510 2001-01-28 José Matos <jamatos@fep.up.pt>
3512 * buffer.C (makeDocBookFile): adds support for document language.
3513 A silly restriction on the name of LatexCommand types where removed.
3514 Added support for CDATA sections, allows to chars unescaped, used
3515 among others in code, to avoid escape < and >.
3517 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
3519 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
3520 saved positions instrad of a stack. Furthermore, a position is
3521 stored using paragraph id/paragraph position.
3523 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
3524 Remove LFUN_REF_BACK.
3526 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
3528 * converter.C (dvipdfm_options): New method.
3530 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
3532 * vspace.C (isValidLength): Fix for empty input string.
3534 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3536 * LyXAction.C (init): change description of LFUN_FIGURE to
3539 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3541 * LaTeX.C: add using directive
3543 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
3545 * MenuBackend.C (expand): Fix the sorting of the formats.
3547 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
3549 * lyx_main.C: tiny error message fix
3551 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3553 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
3554 calling fl_initialize(). This fixes the problem with ',' as
3555 decimal separator in text files.
3557 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
3559 * trans.C (process): Fix the keymap bug.
3561 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
3563 * LaTeX.C (scanAuxFiles): New method. Provides support for
3564 multiple bibliographies (when using the bibtopic/bibunits pacakges).
3565 (scanLogFile) Scan for "run BibTeX" messages.
3567 * buffer.C (makeLaTeXFile): Do not load the ae package when using
3568 OT1 font encoding. Also, load the aecompl package if the ae
3571 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
3573 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3575 * texrow.C (increasePos): turn two error messages into debug
3578 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
3580 * LaTeX.C (scanAux): Handle the \@input macro.
3581 (runBibTeX): Use scanAux().
3583 * language.C (latex_options_): New field.
3585 * LaTeXFeatures.C (getMacros): Add language macros.
3587 * buffer.C (makeLaTeXFile): Small fix.
3589 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3591 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
3593 * text2.C: add a using directive.
3595 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
3600 * lyxfunc.C: kill LyXBell.
3602 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
3604 * text.C (IsBoundary): Remove the error message
3606 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
3608 * lyxrc.C (setDefaults): Correct initialization value for
3611 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
3613 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
3616 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
3619 * src/LyXAction.C: Added reference-next.
3621 * text.C (InsertChar): Use contains instead of strchr.
3623 * lyx_cb.C (MenuInsertLabel): Enable default value code.
3625 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
3627 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
3628 alignment commands (when needed).
3630 * text.C (InsertChar): Add ':' to number separator chars.