lyx_mirror/src/ChangeLog

3499 lines
97 KiB
Plaintext
Raw Normal View History

2001-11-26 Andr<64> P<>nitz <poenitz@gmx.net>
* BufferView_pimpl.[Ch]:
* CutAndPaste.C:
* buffer.[Ch]:
* lyxcursor.[Ch]:
* lyxfind.C:
* lyxfunc.C:
* lyxrow.[Ch]:
* paragraph.[Ch]:
* paragraph_pimpl.[Ch]:
* text.C:
* text2.C: reduce header dependencies, introduce type for positions
2001-11-23 John Levon <moz@compsoc.man.ac.uk>
* <various>: change to use Alert.h
2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
* buffer.C (parseSingleLyXformat2Token): Insert an error inset
when encountering an unknown token.
(readLyXformat2): Show an error message if there were unknown tokens.
2001-11-22 John Levon <moz@compsoc.man.ac.uk>
* BufferView2.C:
* BufferView_pimpl.C:
* buffer.C:
* paragraph.h:
* text.C:
* text2.C: use par->isInset()
2001-11-23 John Levon <moz@compsoc.man.ac.uk>
* paragraph_pimpl.h:
* paragraph_pimpl.C: cleanup
2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text2.C (removeRow):
* text.C (setHeightOfRow): remove useless (and costly) call to
getRow.
2001-11-20 Allan Rae <rae@lyx.org>
* paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
Now need Inset*::checkInsertChar() to return true for appropriate
cases so that the characters in the minibuffer will actually be
inserted.
2001-11-15 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* text.C: change the order of the includes.
(workWidth): initialize it at once.
(workWidth): make maxw unsigned
(setHeightOfRow): remove unused variable (inset)
(selectSelectedWord): remove unused variable (inset)
(paintRowText): fix drawing of hfill characters, and clean up a bit.
2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxserver.C (emergencyCleanup): do not try to close pipes if
server is not running.
(openConnection):
(closeConnection): add debug info when server is disabled.
* ColorHandler.C (getGCForeground): send debug message to GUI
channel.
* lyxrc.C: do not include lyxserver.h and tex-strings.h.
* kbmap.C (bind): modify because return conventions of
kb_sequence::parse have changed.
* kbsequence.C (parse): only ignore spaces and not any stupid
control character. This avoids tests like s[i] <= ' ', which are
guaranteed to fail with 8bit characters and signed chars.
Change return code to string::npos when there have been no error
(0 was a bad idea when error is at first character)
2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text.C (selectNextWordToSpellcheck): do not test explicitely for
insets which are part of a word. Paragraph::isLetter takes care of
that now. Use Paragraph::isInset to identify insets.
(selectSelectedWord): do not test for hyphenation break.
* BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
that protected spaces are considered as spaces.
* paragraph.C (isLetter): cleanup the code for ispell extras; use
Inset::isLetter.
2001-11-12 John Levon <moz@compsoc.man.ac.uk>
* lyxserver.h:
* lyxserver.C: fix it. and small cleanup.
2001-11-07 John Levon <moz@compsoc.man.ac.uk>
* BufferView_pimpl.C: use inline helpers
* LaTeXFeatures.h:
* LaTeXFeatures.C: fix typos
* Spacing.h:
* Spacing.C: move spacing_string into class
* ToolbarDefaults.C: move stuff into namespace anon
* layout.h: update enum
* lyxfunc.C: use better debug
* minibuffer.h: fix typo
* debug.h:
* debug.C:
* WorkArea.C: add and use Debug::WORKAREA
* lyxtext.h:
* text.C:
* text2.C: code re-organisation, inline helpers
2001-11-09 Michael A. Koziarski <michael@koziarski.org>
* Layout.C: replaced a few cases of std::vector.size() == 0 with
std::vector.empty().
2001-11-09 Allan Rae <rae@lyx.org>
* paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
'\n's after tables. Tabular and ERT inset work now makes this no
longer necessary.
2001-11-07 John Levon <moz@compsoc.man.ac.uk>
* minibuffer.h:
* minibuffer.C: fix crash, improve drop-down completion
2001-11-06 John Levon <moz@compsoc.man.ac.uk>
* lyxserver.h:
* lyxserver.C: invalidate fd's when doing endPipe()
2001-11-08 Jos<6F> Matos <jamatos@fep.up.pt>
* buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
(simpleDocBookOnePar): removed code made obsolete by the new inset code.
* paragraph.h:
* paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
2001-11-07 Jos<6F> Matos <jamatos@fep.up.pt>
* buffer.h:
* buffer.C (sgmlError): linuxDocError renamed, and made public, added
const qualifier.
* buffer.C (sgmlOpenTag):
* buffer.C (sgmlCloseTag): removed debug info.
* buffer.h (sgmlOpenTag):
* buffer.h (sgmlCloseTag): made public.
2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* buffer.C (saveParamsAsDefaults):
* lyx_cb.C (MenuLayoutSave): remove
* LyXAction.C (init):
* commandtags.h:
* lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* buffer.C (setPaperStuff): removed from here...
* bufferparams.C (setPaperStuff): ... and moved there.
2001-11-03 John Levon <moz@compsoc.man.ac.uk>
* minibuffer.h:
* minibuffer.C:
* XFormsView.C: add support for drop-down completion
2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
* paragraph.C (TeXOnePar): Correct placement of \selectlanguage
commands.
2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
disabled.
2001-10-30 John Levon <moz@compsoc.man.ac.uk>
* lyx_main.C: change ref to known bugs
2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
* LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
to work around older babel problems.
2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
* LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
2001-10-24 Juergen Vigna <jug@sad.it>
* tabular-old.C (ReadOld): below variable changes reflected.
* tabular.[Ch]: added ltType struct for longtable header/footer
defines and changed all instances where they are used. Added
future support for double top/bottom rows.
2001-10-24 Jos<6F> Matos <jamatos@fep.up.pt>
* buffer.h (docbookHandleCaption):
* buffer.C (docbookHandleCaption): removed unused function.
(makeDocBookFile): moved docbook supported version to v4.1.
2001-10-24 Jos<6F> Matos <jamatos@fep.up.pt>
* tabular.h:
* tabular.C (docbookRow): new function to export docbook code of a row.
(DocBook): now honors the longtable flags.
2001-10-23 Jos<6F> Matos <jamatos@fep.up.pt>
* LaTeXFeatures.h:
* LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
of the lyx defined sgml entities used in a docbook/linuxdoc document.
* buffer.C (makeLinuxDocFile):
(makeDocBookFile): reworked the preamble, more clean, and with
support for lyx defined entities. Changed the document declaration
to be more XML friendly.
* tabular.C (DocBook): removed / terminator to be more SGML friendly,
if we need to output XML that should be done with a filter.
2001-10-22 Juergen Vigna <jug@sad.it>
* sp_pspell.h (class PSpell): add alive function needed in the
controller to see if the spellchecker could be started.
2001-10-22 Juergen Vigna <jug@sad.it>
* buffer.C (insertStringAsLines): modify the font for inserting
chars in certain conditions by calling checkInsertChar(font).
2001-10-19 Juergen Vigna <jug@sad.it>
* text.C (workWidth): use getRow instead of wrong algorithm.
(setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
2001-10-19 John Levon <moz@compsoc.man.ac.uk>
* lyxserver.h:
* lyxserver.C:
* lyx_main.h:
* lyx_main.C: add emergencyCleanup (remove pipes on crash)
2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text.C (workWidth): do not search for the exact row when
margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
optimization for big documents.
2001-10-18 Juergen Vigna <jug@sad.it>
* text.C (workWidth): new function with added Inset * parameter.
2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text2.C (setCursorFromCoordinates): use Paragraph::size_type
* lyxtext.h: change type of refresh_pos to Paragraph::size_type;
change return type of getColumnNearX.
* text.C (changeRegionCase): use uppercase/lowercase instead of
toupper/tolower.
(leftMargin):
(rightMargin): simplify code by factoring out the uses of
textclasslist.
(labelFill):
(numberOfHfills):
(setHeightOfRow):
(appendParagraph): use Paragraph::size_type
2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* vspace.C (asLatexString): add a missing break
2001-10-15 Herbert Voss <voss@perce.de>
* vspace.C (asLatexString): fix bug in output of string for l% and p%.
2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
is not available.
2001-10-10 Andr<64> P<>nitz <poenitz@gmx.net>
* lyxfunc.C: removed greek_kb_flag.
2001-10-10 Herbert Voss <voss@perce.de>
* lyx_main.C: delete global string help_lyxdir.
2001-10-09 Herbert Voss <voss@perce.de>
* commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
* LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
* lyx_main.C: added global string help_lyxdir.
* lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
* lyxrc.C (set_font_norm_type): support iso8859-4
2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
* LaTeX.C (deplog): add another regex for MikTeX
2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
* lyxrc.C (set_font_norm_type): support iso8859-3
2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* BufferView_pimpl.C (tripleClick): fix stupid logic error.
* LaTeXFeatures.C: remove special case of french and index
* buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
before \begin{document}). This solves several incompatibilities.
2001-10-03 Garst Reese <reese@isn.net>
* lyx_cb.C: change CheckTex error msg.
2001-10-03 Jos<6F> Matos <jamatos@fep.up.pt>
* buffer.C (simpleDocBookOnePar): add support for pass_thru.
2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* .cvsignore: update
* lyx_main.C (commandLineVersionInfo): use new style version info.
* buffer.C (writeFile):
(makeLaTeXFile):
(makeLinuxDocFile):
(makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
* WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
* version.h: update to use stuff in version.C
* version.C.in: new file. Contains version information determined
at compile time. This is a merging of version.h and
version_info.h.in.
2001-10-03 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C (update): don't change "dirty" status in
updateInset call.
2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
* WorkArea.C (c-tor): re-position version string slightly.
2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
* BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
revert to previous code.
WorkArea.[Ch]: (show, destroySplash): methods removed.
WorkArea.C: rework code so that it's an amalgam of the codes before and
after the splash screen was moved to WorkArea.
2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxrc.C (read):
* vspace.C (inPixels):
(lyx_advance):
* kbmap.C (bind):
* buffer.C (insertStringAsLines):
(asciiParagraph): fix types to be large enough
* lyxlex_pimpl.h: change member status from short to int
* layout.h: fix type of endlabeltype
* kbmap.C (bind):
* kbsequence.C (parse): change return type to string::size_type
* LaTeX.C (updateBibtexDependencies): comment out unneeded
variable
* Bullet.C (bulletSize):
(bulletEntry): do not use short ints as parameters
* BufferView2.C (insertLyXFile): change a char to an int.
* WorkArea.C (WorkArea): remove unneeded floats in computation
2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
* buffer.C (asciiParagraph): Treat '\\' as other chars.
* paragraph.C (asString): Do not ignore newline/hfill chars when
copying to the clipboard.
2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
* paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
after a multi-line inset.
2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
* paragraph.C (validate): Set NeedLyXFootnoteCode
2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
* lyxfont.C (LyXSizeNames): changed increase-error to increase
and decrease-error to decrease.
2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
it more readable (should be equivalent)
2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
* paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text2.C (fixCursorAfterDelete): new method. Fixes the parameters
of a cursor (row, etc.) after a character has been deleted
(deleteEmptyParagraphMechanism): call the method above on _all_
cursors held by the LyXText when a double space has been
detected/deleted.
2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
* BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
pixmap.
(resizeCurrentBuff): remove code to destroy the old splash dialog.
* WorkArea.[Ch]: add the "LyX" pixmap and version string to the
background. Use greyOut() and the new show() methods to toggle between
the foreground and background. Add code to remove the splash after
its initial showing.
* lyx_gui.C: Remove dependency on frontends/Dialogs.h.
(create_forms): no longer call Dialogs::showSplash.
2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* .cvsignore: add version_info.h
2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* version_info.h.in: new file
* Makefile.am: add version_info.h.in
* lyx_main.C (commandLineVersionInfo): use version_info defined in
version_info.h instead of VERSION_INFO
2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
* text.C (selectNextWordToSpellcheck): reverted change to if-block.
The ERT inset now returns string().
2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
* lyxtext.h, text.C (selectNextWord): renamed as
selectNextWordToSpellcheck.
* text.C (selectNextWordToSpellcheck): Modified to not select
words inside an ERT inset.
2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyx_cb.C (MenuLayoutSave): change a bit the question
* sp_base.h: include <sys/types.h>
2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
* LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
* several files: fix typos in user-visible strings
2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text2.C (pasteSelection): do not set the selection, since it
will be cleared later. Actually, the intent was to fix the way the
selection was set, but I figured rmoving the code was just as good.
2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
* FontLoader.C (available): Check if font is available without
loading the font.
2001-09-19 J<>rgen Spitzm<7A>ller <j.spitzmueller@gmx.de>
* lyxrc.[Ch]: added auto_reset_options variable and associated code.
2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
* lyxrc.[Ch]: added display_graphics variable and associated code.
2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* bufferparams.C (hasClassDefaults): new method. Returns true if
the buffer parameters correspond to known class defaults
2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
* XFormsView.C (show): set minimum size to the main window.
2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text2.C (copySelection):
(cutSelection):
* lyxfind.C (LyXReplace):
* BufferView_pimpl.C (Dispatch): pass the correct flag to
LyXText::selectionAsString.
* paragraph.C (asString): add "label" argument to the second form
* text2.C (selectionAsString): add "label" argument and pass it to
Paragraph::asString.
2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyx_main.C (commandLineHelp): remove version information
2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
* lyx_main.C: add -version commandline option
2001-09-09 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* paragraph.h: make the optional constructor arg required instead.
some modifications to other files because of this.
* minibuffer.C (C_MiniBuffer_peek_event): make it static
* lyxserver.C (C_LyXComm_callback): make it static
* lyx_main.C (error_handler): make it static
* lyx_gui.C (LyX_XErrHandler): make it static
* XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
* WorkArea.C: make the extern "C" methods static.
* Makefile.am (lyx_LDADD): simplify
2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
* commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
* LyXAction.C (init):
* lyxfunc.C (dispatch): associated code removal.
2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxfont.h (isSymbolFont): shut off warning
* text.C (setHeightOfRow):
(getVisibleRow): fix crash with empty paragraphs which have a
bottom line
2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
* lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
code.
2001-09-04 Jos<6F> Matos <jamatos@fep.up.pt>
* buffer.C
* buffer.h
* tabular.C (docbook): rename docBook method to docbook.
2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
* Makefile.am: add dependencies to main.o.
2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
* FontLoader.C (available): Return false if !lyxrc.use_gui
2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
* FontInfo.C (query):
* converter.C (view):
* importer.C (Import):
* exporter.C (Export): Can not -> cannot.
2001-09-02 John Levon <moz@compsoc.man.ac.uk>
* BufferView_pimpl.C: allow to create index inset even if
string is empty
2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
* buffer.C (getLists): replace boost::tie code with an explicit pair
as boost::tie can break some compilers.
* iterators.h: Added a std:: declaration to the return type of
ParIterator::size.
2001-08-31 John Levon <moz@compsoc.man.ac.uk>
* lyxrc.C: add help for view_dvi_paper_option, default to safe
case.
2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
* iterators.[Ch]: New files. Provide paragraph iterators.
* buffer.C (changeLanguage): Use paragraph iterators.
(isMultiLingual): ditto
* BufferView2.C (ChangeInsets): Use paragraph iterators.
2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
* FontLoader.C: Support for cmr font.
2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
* FontLoader.C (getFontinfo): Handle latex symbol fonts.
(available): New method.
* FontInfo.C (getFontname): Use scalable fonts even when
lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
found.
2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
* converter.C (Formats::view): reverted! Incorrect fix.
2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
* converter.C (Formats::view): only output the -paper option
if the dvi viewer is xdvi, thereby fixing bug #233429.
2001-08-23 Herbert Voss <voss@perce>
* BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
* Spacing.h (Spacing): Set space to Default on in the default
constructor.
2001-08-19 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* vc-backend.h (RCS::versionString): add RCS to version
(CVS::versionString): add CVS to version
* vc-backend.C (scanMaster): do not add CVS to version.
(scanMaster): do not add RCS to version
* lyxvc.C (versionString): new method
* lyxfunc.C (initMiniBuffer): use LyXVC::versionString
2001-08-18 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* Spacing.C (set): initialize fval
2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
* lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
" or \.
2001-08-16 Juergen Vigna <jug@sad.it>
* lyxfunc.C (dispatch): implemented the new FINISHED states.
2001-08-16 John Levon <moz@compsoc.man.ac.uk>
* BufferView_pimpl.C:
* figureForm.C:
* lyxtext.h:
* text2.C: setParagraph takes linespacing now
2001-08-15 John Levon <moz@compsoc.man.ac.uk>
* LyxAction.C: add internal LFUN_CITATION_INSERT
* LyXView.C: actually apply fix
* bufferlist.C: fix open non-existent file
* lyxfind.C: fix indentation
* lyxfunc.C: remove unneeded assert, fix typo
2001-08-16 John Levon <moz@compsoc.man.ac.uk>
* MenuBackend.C: use "Floatname List"
2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
* buffer.C (parseSingleLyXformat2Token): Do not generate errors
when converting LaTeX layout to insetERT.
Generate a non-collapsed float when reading old float
2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
* BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
ERT insets.
2001-08-13 Juergen Vigna <jug@sad.it>
* text.C (fill): return 0 instead of 20 as this seems to be the more
correct value.
2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
* encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
lyxrc.font_norm.
2001-08-13 Juergen Vigna <jug@sad.it>
* lyxfind.C (LyXReplace): fixed not single-replacing characters with
casesensitive off.
(SearchBackward): comment out the unlocking of the inset_owner this
should not be needed!
2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
* Many files: Remove inherit_language, and add latex_language
* BufferView2.C (showLockedInsetCursor): Fix cursor shape in
collapsible insets.
2001-08-10 Juergen Vigna <jug@sad.it>
* text.C (prepareToPrint): fixed hfill-width in draw!
* BufferView2.C (selectLastWord): save the selection cursor as this
now is cleared in the function LyXText::clearSelection!
2001-08-08 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
BACKSPACE type functions.
* CutAndPaste.C (cutSelection): added a bool so that the stuff actually
is only cutted from the document but not put in the cut-buffer, where
still the old stuff should be.
* text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
* BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
* tabular.C (SetWidthOfCell): fixed special case where the width
was not updated!
(LeftLine): handle '|' in align_special.
(RightLine): ditto
(LeftAlreadyDrawed): ditto
(SetWidthOfCell): ditto
2001-08-07 Juergen Vigna <jug@sad.it>
* lyx_main.C (readUIFile): fixed some forgotten lowercase!
2001-08-06 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyxlex_pimpl.[Ch]: converto to lowercase funcs
* lyxlex.[hC]: ditto
2001-08-06 Juergen Vigna <jug@sad.it>
* text.C (getVisibleRow): fix up row clearing a bit.
2001-08-04 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* minibuffer.C: make sure the X server sees the changes in the input.
2001-08-03 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* paragraph.C (getFont): split into...
(getLabelFont): this
(getLayoutFont): and this
* paragraph_pimpl.C (realizeFont): calling this
* text2.C (getFont): split into...
(getLayoutFont): this
(getLabelFont): and this
(realizeFont): all three calling this
* lyxfont.h: remove all NO_LATEX macros and code... adjust all
files where used.
2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
* BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
layouts from the Quote inset insertion.
2001-08-03 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C (update): do the fitCursor only at the end!
* screen.C (drawFromTo): don't call fitcursor here and do the loop
only if status not is already CHANGED_IN_DRAW (second level).
* text.C (draw): don't set the need_break_row when inside an
InsetText LyXText.
2001-08-02 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* buffer.C (parseSingleLyXformat2Token): handle more latex
conversion cases.
* bufferview_funcs.[hC]: change function names to
begin with small char, adjust other files.
2001-08-02 Andr<64> P<>nitz <poenitz@gmx.net>
* lyxfunc.C:
BufferView_pimpl.C: remove broken special code for math-greek
2001-08-02 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C (update): redone this function so that we
update the text again if there was a CHANGE_IN_DRAW.
* screen.C (cursorToggle): removed LyXText parameter and recoded.
(drawFromTo): added a new internal bool which is used by draw() and
redraw() function.
(general): some cursor drawing problems fixed.
2001-08-01 Juergen Vigna <jug@sad.it>
* lyxfind.C (LyXFind): fixed
(SearchForward): ditto
(SearchBackward): ditto
* BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
spurius drawing of the cursor in the main area.
* text2.C (status): small fix which could lead to a segfault!
(clearSelection): remove unneeded BufferView param.
2001-08-01 Andr<64> P<>nitz <poenitz@gmx.net>
* lyxfunc.C: small change due to changed mathed interface
2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* bufferlist.C (loadLyXFile): add .lyx to file name if necessary
2001-08-01 John Levon <moz@compsoc.man.ac.uk>
* lyxfunc.c: fail gracefully if file doesn't exist
* LyXSendto.C:
* buffer.C:
* lyxfunc.C:
* BufferView_pimpl.C: IsDirWriteable() proto changed
* LyXView.C: fix updateWindowTitle() to store the last title
2001-07-31 Juergen Vigna <jug@sad.it>
* text.C (setHeightOfRow): fixed setting of ascent/descent based on
the font (wrong since using of Paragraph::highestFontInRange).
* paragraph.C (highestFontInRange): added a default_size parameter.
* text.C (getVisibleRow): minor clear row changes (still not perfect).
(setHeightOfRow): reformat
2001-07-30 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* converter.[hC] + affected files: move to (inital-char)lowercase
function names.
* ParagraphParameters.C (ParagraphParameters): remove commented code
* PainterBase.[Ch]: remove commented code
* LaTeXFeatures.h: add "bool floats" for float.sty
* LaTeXFeatures.C (LaTeXFeatures): init floats
(require): handle float
(getPackages): do it with floats
2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* BufferView_pimpl.C (Dispatch): improve handling of
LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
* commandtags.h: #include lyxfont.h here temporarily to avoid
keybinding bug.
* bufferlist.h: include LString.h here.
2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text2.C (getStringToIndex): new method.
2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
* *: Reduced header file dependencies all over.
2001-07-30 Baruch Even <baruch@lyx.org>
* buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
2001-07-29 Baruch Even <baruch@lyx.org>
* buffer.C (readInset): Changed GRAPHICS to Graphics.
2001-07-27 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* ParameterStruct.h (endif): add a default constructor to make
sure that all variables is initialized.
* ParagraphParameters.C (ParagraphParameters): adjust
2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
index; also, check that there is something to index, and that it
does not span over several paragraphs.
(doubleClick): use WHOLE_WORD_STRICT for double click.
* text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
* text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
scheme.
2001-07-26 Baruch Even <baruch@lyx.org>
* buffer.C (readInset): Changed to call up InsetGraphics when reading
an InsetFig figure, backwards compatible reading of old figure code.
2001-07-27 Juergen Vigna <jug@sad.it>
* text2.C: font.realize function adaption.
* text.C (draw): add a warnings lyxerr text if needed.
* layout.C: font.realize function adaption.
* language.C: add inherit_language and implement it's handlings
* bufferview_funcs.C (StyleReset): remove language parameter from
font creation (should be language_inherit now).
* bufferparams.C (writeFile): handle ignore_language.
* paragraph.C (getFontSettings): the language has to be resolved
otherwise we have problems in LyXFont!
* lyxfont.C (lyxWriteChanges): added document_language parameter
(update): removed unneeded language parameter
* paragraph.C (validate): fixed wrong output of color-package when
using interface colors for certain fonts in certain environments,
which should not seen as that on the final output.
2001-07-26 John Levon <moz@compsoc.man.ac.uk>
* BufferView_pimpl.C:
* Thesaurus.h:
* Thesaurus.C:
* Makefile.am:
* commandtags.h:
* LyXAction.C: add thesaurus support
* lyxfind.h:
* lyxfind.C: add "once" parameter, for thesaurus, to not
move to the next match
2001-07-26 Juergen Vigna <jug@sad.it>
* lyxfont.C (realize): honor ignore_language too!
(resolved): ditto.
* paragraph.C (TeXOnePar): handle ignore language right (hopefully).
* text.C (draw): one place more for ignore_language to not draw
itself!
2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
* LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
2001-07-26 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* buffer.C (parseSingleLyXformat2Token): a more general fix for
the minipage conversion problem.
2001-07-26 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* buffer.C (parseSingleLyXformat2Token): check minipage if we
insert an inset.
2001-07-25 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* BufferView.h: don't forward declare WorkArea
* BufferView.C: don't include WorkArea.h
2001-07-25 Andr<64> P<>nitz <poenitz@gmx.net>
* commandtags.h:
* LyXAction.C:
* lyxfunc.C: new LFUN 'math-space'
* BufferView.[Ch]: remove unneeded reference to 'WorkArea'
2001-07-25 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* text2.C (toggleInset): call open/close
2001-07-24 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyxfunc.C (dispatch): add debug for the disabled case
* font.C (buttonText): make similar to rectText
* buffer.C (readInset): comment out parsing of insetlist and
insttheorem
* PainterBase.C (rectText): small correction
* BufferView_pimpl.C: comment out insettheorem and insetlist
* LyXAction.C: ditto
* commandtags.h: ditto
2001-07-24 Juergen Vigna <jug@sad.it>
* text.C (draw): honor the ignore_language.
* lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
char inset.
2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* lyxtext.h: remove unused (and unimplemented) methods
2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* text.C (getVisibleRow): honor background color
* PainterBase.h:
* Painter.h: remove default color argument for fillRectangle
* text.C (backgroundColor): new method
2001-07-24 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* text.C (getVisibleRow): adjust
* font.[Ch] (rectText): new method, metrics
(buttonText): new method, metrics
* PainterBase.[hC]: make rectText and buttonText always draw and take
fewer paramteres.
2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* ToolbarDefaults.C (read):
* MenuBackend.C (read): allow escaping in all strings
* BufferView_pimpl.C (insertAndEditInset): new method.
(Dispatch): use insertAndEditInset whenever appropriate.
* BufferView_pimpl.C (insertNote): removed
* BufferView_pimpl.C (smartQuote): new method, moved from
BufferView; if an insetquote cannot be inserted, insert a '"'
character instead.
* BufferView2.C: remove insertCorrectQuote();
* lyxfunc.C (getStatus): Add support for all remaingin
inset-insert lfuns.
* trans_mgr.C (insertVerbatim): do not treat '"' specially.
* lyxrc.C (read): in RC_BIND, allow escaped sequences in the
command (necessary to pass " as parameter of self-insert.
* text.C (selectWordWhenUnderCursor):
(selectWord): add word_location parameter
(selectWordWhenUnderCursor): same + remove special code for word
boundary.
(selectNextWord): use kind() to guess type of insetspecialchar,
not latex().
* buffer.C (insertStringAsLines): new method, extracted from LyXText.
(insertErtContents): create ert insets as collapsed.
(readInset): better compatibility code for Info inset.
2001-07-20 Juergen Vigna <jug@sad.it>
* lyxfunc.C (dispatch): use always LyXFind now!
* text2.C (init): add a reinit flag so that the LyXText can be
reinited instead of deleted and reallocated (used in InsetText).
* BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
* text.C: ditto
* text2.C: ditto
2001-07-18 Juergen Vigna <jug@sad.it>
* text.C (selectNextWord): handle insets inside inset by calling
always the bv->text functions so that we can go up the_locking_inset!
* BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
in strange locations when inside an inset!
* lyxfind.[Ch]: give all functions a LyXText * parameter and implement
handling to include insets.
* lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* LyXAction.C (init):
* commandtags.h:
* BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
LIGATURE_BREAK, since the name is so stupid.
2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
* buffer.C (readInset): enable reading of new InsetNotes as well as old
InsetInfos.
* FontLoader.C: remove FORMS_H_LOCATION cruft.
* sp_form.[Ch]: remove.
* src/LColor.[Ch]: remove noteframe. Change note to "yellow".
* src/BufferView_pimpl.C (insertNote): use InsetNote in place of
InsetInfo.
* src/buffer.C (readInset): ditto.
2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* BufferView_pimpl.C (specialChar): new method. Obsoletes
menuSeparator(), endOfSentenceDot(), ldots() and
hyphenationPoint(), which are therefore removed.
(Dispatch): handle LFUN_HYPHENATION_BREAK.
* LyXAction.C (init):
* commandtags.h: add LFUN_HYPHENATION_BREAK.
* paragraph.C (getWord): removed.
* BufferView_pimpl.C (Dispatch): use last word or selection for
LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
* lyx_main.C (queryUserLyXDir): do not ask before creating
user_dir, except if it has been named explicitely.
2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
* BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
a document of zero size.
2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
* LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
approriately in the c-tor and in require().
(getPackages): output the appropriate LaTeX for natbib support.
* buffer.C (parseSingleLyXformat2Token): set the new bufferparams
variables "use_natbib" and "use_numerical_citations" when reading the
LyX file.
(readInset): read the various natbib cite commands.
(validate): white-space change.
* bufferparams.[Ch]: new variables "bool use_natbib" and
"bool use_numerical_citations".
(writeFile): output them in the LyX file.
2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* lyxfunc.C (getStatus): add support for all the inset insertion
commands.
* text2.C (insertInset):
* paragraph.C (insetAllowed):
* BufferView_pimpl.C (insertInset): update to take in account the
renaming of insertInsetAllowed
* lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
* text2.C (getInset): new method. returns inset at cursor position.
* BufferView_pimpl.C (Dispatch): changes because of this.
* LyXAction.C (init): rename open-stuff to inset-toggle.
* commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
* text2.C (toggleInset): renamed from openStuff; use
Inset::open().
2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
* lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
* lyxrc.h: added ISO_8859_15 to enum FontEncoding.
2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
* buffer.C (readLyXformat2): Add filename to the error dialog
2001-07-18 Juergen Vigna <jug@sad.it>
* tabular.C (GetCellNumber): put an assert here instead of the check!
2001-07-17 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C (toggleSelection): adapted too.
* text.C (selectNextWord): adapted for use with insets.
(selectSelectedWord): ditto
2001-07-17 Juergen Vigna <jug@sad.it>
* sp_spell.C (PSpell): fix initialitation order.
2001-07-17 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* paragraph.C: spacing
2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
* sp_spell.C: repair language selection for pspell
2001-07-12 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyxfunc.h: change more methods to begin with lower char.
2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
* buffer.C (parseSingleLyXformat2Token): Generate error insets
for unknown layouts.
2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
* buffer.C (readLyXformat2): Generate an error dialog if there are
unknown layouts.
2001-07-16 Juergen Vigna <jug@sad.it>
* sp_spell.C: always compile ISpell part.
* lyxrc.C: added use_pspell entry and it's handling.
2001-07-13 Juergen Vigna <jug@sad.it>
* sp_spell.C: removed double includes.
2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
Consistent use of Lsstream.h:
* Lsstream.h: added using std::stringstream for consistencies sake.
* buffer.C: removed using std::stringstream
* lyxfont.C (stateText):
* paragraph.C (asString):
* text.C (selectNextWord, selectSelectedWord):
* text2.C (setCounter):
* vspace.C (asString, asLatexString):
std::ostringstream -> ostringstream.
2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
* LyXAction.C: add LFUN_HELP_ABOUTLYX
* commandtags.h: add LFUN_HELP_ABOUTLYX
* lyxfunc.C: add about lyx remove credits/copyright/version stuff
2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
* BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
cursorToggle()
* lyx_gui_misc.C: remove spellchecker
* lyxfunc.C: showSpellchecker
* sp_base.h: added
* sp_ispell.h: added
* sp_pspell.h: added
* sp_spell.C: added
* sp_form.[Ch]: removed
* spellchecker.[Ch]: removed
2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
* paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
is set.
(simpleTeXSpecialChars): Simply print the input character without
any special translation if pass_thru is set.
* layout.h: Added bool pass_thru to layout class for being able to
implement pass through of a paragraph for Literate Programming.
* layout.C: add LT_PASS_THRU to LayoutTags enum.
* layout.C (LyXLayout): set pass_thru to flase in constructor.
* layout.C (Read): add "passthru" to list of layout tags and add
code to set the pass_thru boolean when it is read.
2001-07-12 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* trans_decl.h: remove allowed from KmodInfo
* trans.[Ch] (AddDeakkey): change prototype to not have allowd.
remove allowed code
(Load): adjust
* paragraph_pimpl.C (erase): use boost::prior
* Painter.C (text): use data() instead of c_str() when length is
also provided.
* WorkArea.C (putClipboard): ditto
* font.h (width): ditto
* BufferView2.C: use it-> instead of (*it). for iterators
* texrow.C: ditto
* paragraph_pimpl.C: ditto
* paragraph.C: ditto
* minibuffer.C: ditto
* language.C: ditto
* kbmap.C: ditto
* encoding.C: ditto
* counters.C: ditto
* converter.C: ditto
* chset.C: ditto
* Variables.C: ditto
* TextCache.C: ditto
* MenuBackend.C: ditto
* LyXAction.C: ditto
* LColor.C: ditto
* FloatList.C: ditto
* DepTable.C: ditto
* ColorHandler.C (LyXColorHandler): ditto
2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
* text2.C (openStuff): reintroduce this method (which had been
nuked in NEW_INSETS frenzy).
* lyxfunc.C (Dispatch): when an action has not been handled, use
its name in the error message, not its number.
* paragraph.C (inInset): change method name to begin with lowercase.
* undo_funcs.C:
* text2.C: updates because of this.
2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* ToolbarDefaults.C (add): add spaces in error message
2001-07-10 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* buffer.C (readLyXformat2): initialize the ert comp. variables.
(readLyXformat2): rename return_par to first_par, use lyxlex's
pushToken and remove the manual push handling.
(parseSingleLyXformat2Token): add another ert comp. variable:
in_tabular, rename return_par to first_par. handle newlines better
2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
2001-07-09 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* text2.C (getParFromID): removed
* buffer.C (getParFromID): new method moved form lyxtext.
* BufferView2.C (insertErrors): adjust
(setCursorFromRow): adjust
* BufferView_pimpl.C (restorePosition): adjust
* lyxfunc.C (Dispatch): adjust
* undo_funcs.C (textUndo): adjust
(textRedo): adjust
(textHandleUndo): adjust
(textHandleUndo): adjust
2001-07-08 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* buffer.C: up' the LYX_FORMAT
* lyxfont.h: turn NO_LATEX on as default
* buffer.C (insertErtContents): new methods of tex style compability.
(parseSingleLyXformat2Token): use it several places.
* tabular.C (OldFormatRead): and here
2001-07-07 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* text2.C: remove some commented code.
reindent file.
* trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
* trans.C: changes because of the above.
2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
* text2.C (setCounter): Fix counters bug with bibliography layout.
2001-07-06 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
own member functions
(simpleTeXSpecialChars): ditto
2001-07-06 Juergen Vigna <jug@sad.it>
* a lot of files: changed the access to LyXText::status and the
call of undo-functions.
* undo.[Ch]: added a inset_id to the undo informations.
* undo_funcs.[Ch]: added and moved here all undo functions.
* lyxtext.h: give the status enum a weight, made status_ a private
variable and made accessor functions for it, removed the whole bunch
of undo-functions as they are now in their own file, make some
functions publically available. Added function ownerParagraph with
int parameter.
* paragraph.[Ch]: added "bool same_ids" to the constructor,
made InInset() a const function, added getParFromID() function.
* buffer.[Ch]: added const version for inset_iterator functions,
added getInsetFromID() function.
* BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
changed undo functions for new version.
2001-07-05 Juergen Vigna <jug@sad.it>
* paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
unknow mechanism does not call the proper constructor but only this
one also if I request the other!?
2001-07-06 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
* text2.C (LyXText): use initialization lists.
* lyxtext.h (Selection): initialize set_ and mark_
(init): remove method
2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
* LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
2001-07-04 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* screen.[Ch]: change method names to begin with lowercase
* BufferView_pimpl.C (updateScrollbar): simplify further and
hopefully make it a bit faster.
2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
calling directly xforms functions.
* Painter.C (Painter):
* lyx_cb.C (MenuWrite):
* FontInfo.C (query): use GUIRunTime::x11Display() instead of
fl_display.
* lyx_gui.C: remove bogus guiruntime extern declaration.
2001-07-03 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* text2.C (redoHeightOfParagraph): comment out stuff we don't need
in NEW_INSETS
(redoDrawingOfParagraph): ditto
(redoParagraphs): ditto
(cutSelection): don't create a object for CutAndPaste use the
static method directly
(pasteSelection): ditto
* bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
LyXview (+ rename)
2001-07-03 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* modifications to some other files because of this.
* Makefile.am (lyx_SOURCES): add XFormsView
* XFormsView.[Ch]: new files
* LyXView.[Ch]: make LyXView a base class for the gui handling for
the main window. Move the gui dependent stuff to XFormsView
2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* tabular.C (GetCellInset): update cur_cell also in the row/col
version of this function.
* lyxfunc.C: no need to include figure_form.h here.
* FontLoader.h:
* lyxfunc.h:
* lyxscreen.h:
* text2.C:
* lyxvc.C: no need to include forms.h here.
2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
* lyxfunc.C (Dispatch):
* Spacing.C (set):
* BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
constructor argument.
2001-06-29 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* paragraph.C (Paragraph): dont't clear, and just set layout.
(makeSameLayout): use params's copy contructor.
* ParagraphParameters.[Ch] (makeSame): delete method
2001-06-29 John Levon <moz@compsoc.man.ac.uk>
* Variables.[Ch]: fix indentation, rename set to isSet
2001-06-29 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyxfunc.C (Dispatch): fix typo
2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* paragraph_pimpl.C: add std:: qualifier to lower_bound and
upper_bound.
* bufferlist.C: include assert.h for emergencyWrite().
2001-06-22 John Levon <moz@compsoc.man.ac.uk>
* lyx_main.C: if we can't even find a readable LYX_DIR directory,
give up at last (bug #425202) !
2001-06-27 John Levon <moz@compsoc.man.ac.uk>
* lyx_gui_misc.C:
* sp_form.h:
* sp_form.C:
* spellchecker.h:
* spellchecker.C: strip spellchecker options and bring up
preferences tab instead
2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
the istringstream constructor
2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* paragraph.C (getLayout): fix return value
* paragraph.h: do not declare getLayout as inline.
* lyxtext.h: remove LyXText:: qualifier to changeRegionCase
2001-06-27 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyxcursor.h (operator<): new func
(operator>): new func
(operator>=): new func
(operator<=): new func
* text.C (changeCase): use selection.start and selection.end
(changeRegionCase): require from to be <= to. Require par to be a
valid paragraph.
* LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
2001-06-27 Juergen Vigna <jug@sad.it>
* text.C (cursorLeftOneWord): changed to return the cursor and added
overlay with BufferView * parameter which calls this one.
(getWord): added
(selectWord): use new getWord function.
(changeCase): renamed from changeWordCase as and extended to work
also on selections.
* lyxtext.h: added enum word_location
* BufferView_pimpl.C (Dispatch): change function changeWordCase to
changeCase as this operates now also on selections.
2001-06-26 The LyX Project <lyx@violet.home.sad.it>
* lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
* many files: send debug output to Debug::INFO instead of
Debug::ANY.
* converter.C (View):
(Convert):
(Move): send debug output to Debug::FILES instead of console.
2001-06-26 The LyX Project <lyx@rose.home.sad.it>
* lyxfunc.C (getStatus): use func_status
* func_status.h: new header, describing the results of
LyXFunc::getStatus;
* lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
LFUN_MATH_HALIGN.
2001-06-25 The LyX Project <jug@sad.it>
* buffer.C (sgmlOpenTag):
(sgmlCloseTag):
(SimpleDocBookOnePar): disable the depth spaces, for the moment.
2001-06-26 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* text2.C: remove some dead code
* tabular.C (GetCellInset): store the last cell checked (gotten)
* tabular.h: add the helper for the speedup
* lyxtext.h: remove some dead code
2001-06-26 The LyX Project <Asger>
* paragraph.C: Change export to LaTeX of alignment to
\begin{center} and family for better roundtrip work with reLyX.
* Tune the math drawing a bit.
2001-06-25 The LyX Project <Asger>
* LColor.C (LColor): New color for math background. New color
for buttons.
2001-06-25 The LyX Project <jug@sad.it>
* lyxfunc.C (MenuNew): remove extra check for .lyx file
* lyxfunc.C (Open):
* bufferlist.C (newFile): do not restrict to files ending with
.lyx
* BufferView_pimpl.C (MenuInsertLyXFile):
2001-06-24 The LyX Project <jug@sad.it>
* lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
of compare_no_case
2001-06-24 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyxtext.h: rename most methods to begin with a small char.
Lots of changes because of this.
* paragraph.C (Paragraph): do not call fitToSize
(erase): call Pimpl::erase
(insertChar): call Pimpl::insertChar
(insertInset): call Pipl::insertInset
(breakParagraph): do not call fitToSize
(breakParagraphConservative): do not call fitToSize
(fitToSize): remove method
* buffer.C (parseSingleLyXformat2Token): do not call fitToSize
2001-06-24 The LyX Project <Asger>
* Fix Qt compilation^2
2001-06-24 The LyX Project <jug@sad.it>
* paragraph.[Ch] (outerHook): new method. mostly equivalent to
depthHook(getDepth()-1).
* paragraph.h:
* ParagraphParameters.h:
* ParameterStruct.h: change type of depth to unsigned int ==
depth_type. Many adaptations to other files before of that.
2001-06-24 The LyX Project <Asger>
* Fix Qt compilation.
2001-06-24 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* paragraph.h: renamed several methods to begin with small letter.
several changes to many parts of the code because of this.
2001-06-23 The LyX Project <jug@sad.it>
* text2.C (InsertStringAsLines): renamed from InsertStringA;
rewritten to discard all double spaces when KeepEmpty is off
(InsertStringAsParagraphs): renamed from InsertStringB; rewritten
to only handle newlines but not fiddle with spaces and friends.
* lyxfunc.C (MenuNew): when doing 'new from template', use
template_path as default directory
2001-06-23 The LyX Project <Asger>
* Clean-up of header file includes all over
* paragraph.h: Move some of the stuff into paragraph_pimpl.h
2001-06-23 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* paragraph.h: renamed from lyxparagraph.h
2001-06-23 Asger <lyx@violet.home.sad.it>
* Buffer.h: Removed Buffer::resize
* BufferList.h: Removed BufferList::resize
* LyXView.h: Added LyXView::resize. This way, we will only reflow
the document lazily when we change the width, or the font settings.
2001-06-22 John Levon <moz@compsoc.man.ac.uk>
* lyxfunc.C: silently ignore empty dispatches from the minibuffer
2001-06-22 John Levon <moz@compsoc.man.ac.uk>
* buffer.h: remove out of date comment
2001-06-22 John Levon <moz@compsoc.man.ac.uk>
* lyxscreen.h:
* screen.C: fix "theoretical" GC leak
2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* LaTeX.C (scanAuxFile):
(deplog): remove trailing \r when reading stream (useful under
win32)
2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
* BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
(resizeCurrentBuffer): have functions BufferView::theLockingInset()
and BufferView::theLockingInset(Inset*), so should use them and not
access bv_->text->the_locking_inset directly.
* lyxfunc.C (Dispatch): cosmetic name change of three signals.
2001-06-02 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am:
* tex-defs.h: remove old unused file
2001-06-15 John Levon <moz@compsoc.man.ac.uk>
* BufferView_pimpl.C: fix typo, remove minibuffer message
when buffer has loaded
2001-06-14 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyxfunc.C (Dispatch): use stringstream
(MenuNew): use stringstream
(Open): use stringstream
* importer.C (Import): use stringstream
* bufferview_funcs.C (CurrentState): use stringstream
* LaTeX.C (run): use stringstream
* BufferView_pimpl.C (savePosition): use stringstream
(restorePosition): use stringstream
(MenuInsertLyXFile): use stringstream
2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
* BufferView.C:
* Bullet.C:
* ColorHandler.C:
* FontInfo.C:
* FontLoader.C:
* LColor.C:
* LaTeXFeatures.C:
* Painter.C:
* gettext.C:
* lyx_gui_misc.C:
* lyxserver.C:
* vspace.C: removed // -*- C++ -*- as first line.
* lyxfind.h:
* version.h: added // -*- C++ -*- as first line.
2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
* text2.C (SetSelectionOverString): do not test str[i]==0 for end
of string
2001-06-13 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* buffer.C (parseSingleLyXformat2Token): fix compatability reading
of floats.
2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* gettext.C: include LString.h even when --disable-nls is on.
2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
* converter.h (Get): changed argument type from int to
FormatList::size_type to avoid unnecessary conversion.
* bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
before using it.
2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* gettext.h: include LString.h even when --disable-nls is on.
2001-06-07 Juergen Vigna <jug@sad.it>
* text.C (BreakAgain): subst spaces with tabs.
* paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
(resizeInsetsLyXText): set force on resizeLyXText.
2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* gettext.h (gettext_init):
(locale_init): use a real definition instead of a macro
2001-06-02 John Levon <moz@compsoc.man.ac.uk>
* Bufferview_pimpl.C:
* LColor.h:
* LColor.C: further lcolor tidies
2001-06-05 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* BufferView_pimpl.C (updateScrollbar): simplify.
* BufferView2.C: don't include insets/insetinfo.h, change
prototype for insertInset and call the Pimpl version. let
updateInset call Pimpl version.
* BufferView.h: move inset_slept to BufferView::Pimpl, move
gotoInset to BufferView::Pimpl
2001-06-01 Juergen Vigna <jug@sad.it>
* lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
inside a LockingInset (is the update needed at all?).
2001-05-31 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
here not the old one otherwise how should we compare it afterwards
if it's the same!
2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxfont.C:
* tabular.C:
* tabular-old.C:
* FontInfo.C: bring C functions into global namespace when
necessary
2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* LString.h: make sure config.h has been loaded before LString.h.
* lyxlex_pimpl.C (EatLine): comment out annoying debug messages
(one for each char read by EatLine!).
* lyx_main.C (init): constify lyxdir. Lowercase the name of some
variables.
2001-06-01 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* paragraph.C (BreakParagraph): set the inset_owner in the new par
to the same as the par we break from
2001-05-31 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* commandtags.h: add LFUN_INSET_WIDE_FLOAT
* MenuBackend.C (expand): also create menu entries for wide
versions of the floats.
* LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
* BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
* Makefile.am (lyx_DEPENDENCIES): adjust for change in
frontends/Makefile.am
* text2.C: adjust
* text.C: adjust
* tabular.C (getTokenValue): add std::
* tabular-old.C (getTokenValue): add std::
(getTokenValue): ditto
(getTokenValue): ditto
* screen.C (ToggleSelection): adjust
* lyxtext.h: put selection cursors inside a Selection struct.
* lyxfunc.C (moveCursorUpdate): adjust
* lyxfont.C (latexWriteStartChanges): add std::
* lyxfind.C: adjust
* font.h: delete with(char const *, LyXFont const &)
* buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
* FontInfo.C (getFontname): add std::
* BufferView_pimpl.C (resizeCurrentBuffer): adjust
(workAreaButtonPress): adjust
(tripleClick): adjust
(update): adjust
(moveCursorUpdate): adjust
(Dispatch): adjust
* BufferView2.C (gotoInset): adjust
2001-05-30 Juergen Vigna <jug@sad.it>
* spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
to check pspell I add this as default as I now have new pspell
libraries and they seem to use this.
2001-05-30 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* text2.C (CutSelection): make the cursor valid before the call to
ClearSelection.
2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* kbsequence.C (parse): de-uglify a bit the parsing code, which
relied on 0 terminated strings and other horrors. Bug found due to
the new assert in lyxstring!
* lyx_main.C (defaultKeyBindings): add bindings the cursor-related
KP_ keys.
2001-05-29 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
to latinkeys.bind.
* lyxfunc.C (processKeySym): change method of getting to the
self-insert char.
* BufferView(2).[Ch]: move hfill, protectedBlank, newline,
menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
* BufferView_pimpl.[Ch]: here as private methods.
2001-05-28 Juergen Vigna <jug@sad.it>
* text.C (SetHeightOfRow): added the update() call again as it is
needed to initialize inset dimensions!
2001-05-16 Juergen Vigna <jug@sad.it>
* text2.C (SetCharFont): Add new function with BufferView * and
bool toggleall parameters for setting insets internal fonts.
(SetFont): Freeze the undo as we may change fonts in Insets and
all this change should be inside only one Undo!
* bufferview_funcs.C (ToggleAndShow): fixed this functions for
setting font's in insets as for them we have the SetFont function!
2001-05-15 Juergen Vigna <jug@sad.it>
* text2.C (ClearSelection): to be sure we REALLY don't have any
selection anymore!
* tabular.C (TeXCellPreamble): fixed the left border problem for
multicolumn cells.
2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
* LaTeX.C (deplog): Make sure that the main .tex file is in the
dependancy file
2001-05-23 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyx_main.C (defaultKeyBindings): set KP_enter to point at
LFUN_BREAKPARAGRAPH.
* LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
help test to "internal only", similar for LFUN_INSERT_URL
* BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
(Dispatch::LFUN_SELFINSERT): fix to handle math greek,
auto_region_delete and deadkeys.
2001-05-22 John Levon <moz@compsoc.man.ac.uk>
* LColor.h:
* LColor.C: remove some dead entries, tidy a little
2001-05-18 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyxfunc.C (processKeySym): comment the Escape handling, remove
commented code.
(Dispatch): implement LFUN_ESCAPE
* commandtags.h: add LFUN_ESCAPE
* LyXAction.C (init): add entry for LFUN_ESCAPE
* BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
Remove commented code.
(insertNote): moved here
(open_new_inset): moved here
* BufferView[2].[Ch]: move insertNote and open_new_inset to
BufferView_pimpl
2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* kbmap.C (findbinding): clean it up and make it work correctly.
* lyx_main.C (init): do not pass argc and argv as parameters
2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
* buffer.C: fix path for OS/2 & Win32
* lyx_gui.C:
* lyx_main:
* lyx_main.C: Added os:: class.
* os2_defines.h: update
2001-05-17 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
better by trying again with reduced state.
2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxrc.C (read): print error about invalid key sequence only when
debugging (because not all latinX keysyms are known to some X
servers)
* kbsequence.C (getiso): add a few std:: qualifiers
(getiso): comment out extra return statement.
2001-05-11 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* BufferView_pimpl.C (Dispatch): comment out the old "default" key
handling.
(Dispatch): enhance the accent inset a bit. (not perfect)
2001-05-10 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* buffer.C (makeLaTeXFile): use stringstream on language_optons.
2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* bufferlist.C (emergencyWrite): fix assert() call
2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
* text.C (InsertChar): Added trivial patch to only send the "you
can not do multiple spaces this way" message once during a
session.
2001-05-08 Baruch Even <baruch@lyx.org>
* Makefile.am: Changed order of libraries to get LyX to link properly
with the gnome frontend.
2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* LaTeXFeatures.h: add a std:: qualifier
2001-05-09 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* paragraph.C (String): use stringstream
2001-05-08 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* paragraph.C (writeFile): remove footflag arg
* buffer.C (makeLaTeXFile): use stringstream
(latexParagraphs): remove footnot gurba
* LaTeXFeatures.C (getPackages): use stringstream
(getMacros): likewise
(getTClassPreamble): likewise
(getFloatDefinitions): new method
* paragraph.C (writeFile): reindent
(Erase): reindent
* WorkArea.h: revert the xpos + etc changes.
* CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
* lyxparagraph.[Ch]: add copy constructor, remove Clone
* CutAndPaste.C (copySelection): use LyXParagraph copy constructor
(pasteSelection): likewise
* text2.C (CreateUndo): likewise
2001-05-04 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* minibuffer.C (peek_event): temporarily reduce the functionality
of the minibuffer (to allow args on lfuns)
* commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
* buffer.C (readInset): add compability reading of old float
lists, add reading of new style float list.
(readInset): avoid reevaluation of inscmd.getCmdName()
(getLists): reindent
* MenuBackend.C (MenuItem): implement parsing of
md_floatlistinsert and md_floatinsert.
(expand::LastFiles): move initalizaton of iterators out of loop,
avoid reevaluation.
(expand::Documents): introduce typdedef vector<string> Strings,
and use it.
(expand::ExportFormats): introduce typedef vector<Format const *>
Formats, and use it.
(expand): implement FloatListInsert and FloatInsert.
* LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
* BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
handling.
(Dispatch::LFUN_FLOAT_LIST): implement
2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
* LaTeX.C (run): Fix problem with --export code.
2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
* BufferView.[Ch] (workarea): removed.
(getClipboard) new method; wrapper for workarea()->getClipboard()
* ToolbarDefaults.C (read): removed final lex.next() command; it's a
bug.
* WorkArea.h (width, height, xpos, ypos): These methods all
returned the dimensions of the work_area sub-area of WorkArea,
resulting in a position error if the WorkArea were resized. Now
return the dimensions of the entire WorkArea.
* lyx_main.C (ReadUIFile): don't print out spurious warnings.
2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* LaTeX.C (deplog): correct the syntax of regex reg1
2001-05-03 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* undo.C: remove !NEW_INSETS cruft
2001-04-28 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* text2.C: remove !NEW_INSETS cruft
* text.C: remove !NEW_INSETS cruft
* tabular.C: remove !NEW_INSETS cruft
* spellchecker.C: remove !NEW_INSETS cruft
* lyxtext.h: remove !NEW_INSETS cruft
* lyxlex_pimpl.C: remove !NEW_INSETS cruft
* lyxfunc.C: remove !NEW_INSETS cruft
* lyxfind.C: remove !NEW_INSETS cruft
* lyx_cb.C: remove !NEW_INSETS cruft
* figureForm.C: remove !NEW_INSETS cruft
* bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
* buffer.[Ch]: remove !NEW_INSETS cruft
* ToolbarDefaults.C: remove !NEW_INSETS cruft
* CutAndPaste.C: remove !NEW_INSETS cruft
* BufferView_pimpl.C: remove !NEW_INSETS cruft
* BufferView2.C: remove !NEW_INSETS cruft
* BufferView.h: remove !NEW_INSETS cruft
2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* Lsstream.h: include LString.h before the sstream headers to
fix problem with gcc 2.95.3 and lyxstring
2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyx_main.C: add using directives when needed for C functions
declared in std:: namespace.
2001-04-27 Juergen Vigna <jug@sad.it>
* text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
(SetHeightOfRow): comment out the update call should not be needed!
2001-04-13 Juergen Vigna <jug@sad.it>
* tabular.C (GetAdditionalHeight): changed parameter from cell to row.
(LyXTabular): tried to minimize operator= operations (and realized
hopfully Lars wish).
2001-04-27 Juergen Vigna <jug@sad.it>
* spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
2001-04-27 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* lyxfunc.C (Dispatch): hack to make listof algorithm work
* buffer.C (readInset): hack to make listof algorithm work
* BufferView_pimpl.C: hack to make listof algorithm work
2001-04-26 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* LyXAction.C: removed all !NEW_INSETS cruft
(init): moved lfun_item in method
* lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
* BufferView2.C (theLockingInset): white space.
2001-04-25 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* minibuffer.C: include <iostream>
* BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
* LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
* commandtags.h: add LFUN_TRANSPOSE_CHARS
* text.[Ch] (TransposeChars): new method
2001-04-24 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* call message directly through LyXView instead of through LyXFunc
* BufferView2.C: adjust
* BufferView_pimpl.C: adjust
* FontLoader.C: adjust
* buffer.C: adjust
* bufferview_funcs.C: adjust
* converter.C: adjust
* figureForm.C: adjust
* importer.C: adjust
* lyx_cb.C: adjust
* lyx_gui_misc.C: adjust
* lyxfunc.C: adjust
* lyxvc.C: adjust
* text2.C: adjust
+ more files in subdirs
* lyxparagraph.h (size): move up int file
(GetLayout): ditto
* adjust all uses of Assert to lyx::Assert.
* BufferView2.C (ChangeCitationsIfUnique): adjust for
lyxfunctional in namespace lyx
* layout.C (hasLayout): ditto
(GetLayout): ditto
(GetLayout): ditto
(delete_layout): ditto
(NumberOfClass): ditto
* converter.C (GetFormat): ditto
(GetNumber): ditto
(Add): ditto
(Delete): ditto
(SetViewer): ditto
* bufferlist.C (getFileNames): ditto
(emergencyWriteAll): ditto
(exists): ditto
(getBuffer): ditto
* MenuBackend.C (hasSubmenu): ditto
(hasMenu): ditto
(getMenu): ditto
* BufferView_pimpl.C (getInsetByCode): ditto
2001-04-18 Juergen Vigna <jug@sad.it>
* vspace.C (asLatexString): fixed the 100% problem.
2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxfunc.C (Dispatch):
* minibuffer.C:
* minibuffer.h: add a few std:: qualifiers
2001-04-17 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* minibuffer.[Ch]: reimplement so that commands is initiated and
run from lyxfunc, simplified som handling, and made the completion
and history code for complete. wip.
* lyxfunc.C (processKeySym): call message
(miniDispatch): new temporary method
(LFUN_EXEC_COMMAND): reimplement for new minibuffer
(LFUN_MESSAGE): implement
(LFUN_MESSAGE_PUSH): implement
(LFUN_MESSAGE_POP): implement
(initMiniBuffer): the initial/defualt minibuffer message.
* lyxfont.[Ch]: inline some more getters
* lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
* lyx_gui_misc.[Ch] (WriteStatus): remove method
* lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
(AutoSave): use LFUN_MESSAGE
(Reconfigure): ditto
* importer.C (Import): constify som local vars, use LFUN_MESSAGE
* figureForm.C: use LFUN_MESSAGE
* converter.C (runLaTeX): use LFUN_MESSAGE
* bufferview_funcs.C: use LFUN_MESSAGE
(Melt): ditto
(changeDepth): ditto
* bufferparams.h: use boost::
* bufferlist.h: inherit privately from noncopyable
* bufferlist.C (loadLyXFile): remove some commented code.
* buffer.C (runChktex): use LFUN_MESSAGE
* ShareContainer.h: inherit privately from noncopyable
* ParagraphParameters.[hC] (depth): inline it.
* LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
methods.
(message): new method
(messagePush): ditto
(messagePop): ditto
(show): init minibuffer
(showState): direct call
* LaTeX.[Ch]: inherit privately from noncopyable
(run): change second arg to LyXFunc*, use LFUN_MESSAGE
instead of WriteStatus.
* FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
* BufferView_pimpl.C (buffer): don't init minibuffer
(workAreaButtonPress): use LFUN_MESSAGE
(workAreaButtonRelease): ditto
(savePosition): ditto
(restorePosition): ditto
(MenuInsertLyXFile): ditto
(workAreaExpose): don't init minibuffer
(update): remove commented code, simplify
* BufferView2.C (openStuff): use LFUN_MESSAGE
(toggleFloat): ditto
(menuUndo): ditto
(menuRedo): ditto
(copyEnvironment): ditto
(pasteEnvironment): ditto
(copy): ditto
(cut): ditto
(paste): ditto
(gotoInset): ditto
(updateInset): remove some commented code
* lastfiles.h: inherit privately from noncopyable
* layout.h: ditto
* lyx_gui.h: ditto
* lyx_main.h: ditto
* lyxlex.h: ditto
* lyxlex_pimpl.h: ditto
* commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
* LyXAction.h: inherit privately from noncopyable, add methods
func_begin, func_end, returning iterators to the func map.
* LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
(func_begin): new method
(func_end): new method
* CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
and not)
(copySelection): ditto
(pasteSelection): ditto
* BufferView.C: whitespace change
* BufferView.h: inherit privately from noncopyable
2001-04-16 Allan Rae <rae@lyx.org>
* tabular-old.C (l_getline):
* spellchecker.C (sc_check_word):
* lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
an unrecognised preprocessor directive. So ensure they're wrapped.
2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
* src/exporter.C (Export): Give an error message when path to file
contains spaces.
2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
* LaTeX.C (deplog): Always check that foundfile exists.
2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyx_main.h:
* lyx_main.C (ReadLanguagesFile): fix weird typo in method name
2001-04-06 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* tabular.[Ch] (getLabelList): implement new method
* minibuffer.h: comment ouf setTiimer
* minibuffer.C (ExecutingCB): constify res
(peek_event): constify s
(Set): constify ntext
(Init): constify nicename
* BufferView2.C (updateInset): comment out Minibuffer::setTimer
* BufferView_pimpl.C (update): comment out Minibuffer::setTimer
(savePosition): use two params to Minibuffer::Set
(restorePosition): ditto
2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyx_main.C: include language.h
* Makefile.am (lyx_main.o): add language.h
2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* exporter.C:
* paragraph.C:
* screen.C:
* tabular.C:
* CutAndPaste.C: include gettext.h
* lyxfont.h: remove old hack with ON and OFF.
* lyxparagraph.h:
* lyxfont.h: do not include language.h...
* BufferView2.C:
* LaTeXFeatures.C:
* Painter.C:
* bufferview_funcs.C:
* font.C:
* lyxfont.C:
* text.C:
* text2.C:
* trans_mgr.C:
* paragraph.C: ... but do it here instead
2001-04-04 Lars Gullik Bj<42>nnes <larsbj@birdstep.com>
* text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
* tabular.C: small reformat
* paragraph.C (GetFontSettings): split in NEW_INSETS and non
NEW_INSETS version
(GetChar): ditto
(BreakParagraph): ditto
(SetOnlyLayout): ditto
(SetLayout): ditto
* lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
with one arg less.
* lastfiles.C: removed most using decl, add std:: where needed
* buffer.C: ws changes
* MenuBackend.C (class compare_format): put into anon namespace
(expand): constify label, names, action, action2
(expand):
* text.C (SingleWidth): constify font
(IsBoundary): constify rtl2
(GetVisibleRow): constify ww
* LaTeX.C (deplog): constify logfile
* BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
start_x, end_x
(workAreaExpose): constify widthChange, heightChange
* lyxrow.C (par): moved
(height): moved
(next): moved
* lyxrow.h: as inlines here
* lyxfont.h (shape): moved from lyxfont.C
(emph): moved from lyxfont.C
* lyxfont.C (LyXFont): use initialization list for all
constructors
(shape): move to lyxfont.h as inline
(emph): move to lyxfont.h as inline
2001-04-04 Juergen Vigna <jug@sad.it>
* vspace.C: had to include stdio.h for use of sscanf
2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
* BufferView.h:
* BufferView_pimpl.h: remove xforms cruft. Both classes are
independent of xforms.
2001-04-02 Juergen Vigna <jug@sad.it>
* spellchecker.C: fixed namespace placing!
2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
* lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
the LyXParagraph * is 0.
2001-03-29 Juergen Vigna <jug@sad.it>
* vspace.C: added support for %, c%, p%, l%.
(stringFromUnit): added helper function.
(asLatexString): changed to give right results for the %-values.
* buffer.C: convert the widthp in a width%.
2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
* Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
figureForm.[Ch].
* figureForm.[Ch]: stripped the FD_from_figure manipulation
code out of lux_cb.[Ch], ready for its (imminent?) removal.
* lyx_cb.[Ch]: see above.
* figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
form1.[Ch].
* form1.[Ch]:
* lyx.[Ch]: replaced by figure_form.[Ch].
* lyx_gui.C:
* lyx_gui_misc.C:
* lyxfunc.C: changed headers associated with above changes.
2001-03-27 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C: set the temporary cursor right!
2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
* BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
* LString.h: removed "using std::getline"!
* BufferView_pimpl.C (Dispatch): changes due to changes in
InsetInclude::Params.
* buffer.C (tag_name): removed redundant break statements as they were
producing lots of warnings with my compiler.
2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* LString.h: add "using std::getline" when using the real <string>.
2001-03-23 Jos<6F> Ab<41>lio Matos <jamatos@fep.up.pt>
* buffer.C: removed bitset usage.
PAR_TAG moved to an anonymous name space.
(tag_name): new funtion, also in the anonymous namespace.
(SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
(makeDocBookFile): clean code. Completed transition from string arrays
to string vectors.
(SimpleDocBookOnePar): code clean.
2001-03-23 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* tabular.C: add some comments.
2001-03-22 Juergen Vigna <jug@sad.it>
* buffer.C (parseSingleLyXformat2Token): redone the minipage
compatibility read a bit and fixed bug with minipage in different
depth.
2001-03-21 Jos<6F> Ab<41>lio Matos <jamatos@fep.up.pt>
* buffer.C (pop_tag): removed.
(push_tag): removed.
(makeLinuxDocFile): cleaner C++ code, declarations near usage point,
array replaced with vector. Added support for CDATA sections.
(SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
at any nest level.
(makeDocBookFile): XML conformant declaration of CDATA section,
fixed bug related to <emphasis> in the first paragraph char.
(sgmlOpenTag): exclude empty tags.
(sgmlCloseTag): ditto.
* buffer.h (pop_tag): removed.
(push_tag): removed.
2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
* language.h (Languages): added size_type and size().
2001-03-20 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* buffer.C (parseSingleLyXformat2Token): Try to give a bit better
response on compability reading of minipages. One probliem is that
the old usage of minipages was <20>flertydig<69>
* several files here and in subdirs: don't use static at file
scope use anon namespaces instead.
2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
* paragraph.C (TeXEnvironment): Added \n to \end{environment}
LaTeX output. This is necessary for Literate document
processing.
2001-03-17 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* buffer.C: insert hfill when needed.
* tabular.C (l_getline): use string::erase, small whitespace change.
* BufferView_pimpl.C: try the anon namespace.
* WorkArea.C: ditto
2001-03-16 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
otherwise it won't open options-dialogs.
* buffer.C: honor pextraWidth(p) on converting minipages.
* tabular.C (l_getline): changed the functions to strip trailing \r.
2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
* BufferView_pimpl.C:
* minibuffer..C: added "using SigC::slot" declaration.
2001-03-16 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* lyxlex_pimpl.h: noncopyable is in namespace boost.
* text2.C: ditto
* text.C: ditto
* paragraph.C: ditto
* lyxtext.h: NO_PEXTRA
* buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
* ParagraphParameters.C (clear): NO_PEXTRA_REALLY
* ParameterStruct.h: ditto
* ParagraphParameters.h: ditto
* lyxparagraph.h: ditto
2001-03-15 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* buffer.C: add compability for minipage alignment.
(latexParagraphs): remove unwanted pextra check.
* several files: remove CXX_WORKING_NAMESPACES
* buffer.C (pop_tag): tie is in namespace boost
* BufferView.h: noncopyable is in namespace boost
* lyxlex.h: ditto
* lyx_main.h: ditto
* lyx_gui.h: ditto
* layout.h: ditto
* lastfiles.h: ditto
* bufferlist.h: ditto
* ShareContainer.h: ditto
* LyXView.h: ditto
* LyXAction.h: ditto
* LaTeX.h: ditto
2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
* Merging changes from BRANCH_MVC back into HEAD.
* Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
2001-03-15 John Levon <moz@compsoc.man.ac.uk>
* BufferView_pimpl.C: change from intl.C
* combox.h:
* combox.C:
* Makefile.am: move combox.*
* form1.h:
* form1.C:
* lyx_gui.C:
* intl.h:
* intl.C: remove dialog (covered by prefs)
2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
* lyxfunc.C (Dispatch): removed redundant break statement.
2001-03-14 Juergen Vigna <jug@sad.it>
* tabular.C (l_getline): pay attention on \r\n (from Windows-files)
2001-03-14 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* buffer.C: add hack to fix compability reading of minipages.
2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
* buffer.C (getLists): Cleanup.
2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxfont.C (update): don't honor toggleall on font size.
2001-03-13 John Levon <moz@compsoc.man.ac.uk>
* bmtable.c:
* bmtable.h:
* Makefile.am: moved to frontends/xforms/
* lyx_gui_misc.C:
* lyxfunc.C:
* BufferView_pimpl.C: changes for moved mathpanel
2001-03-12 John Levon <moz@compsoc.man.ac.uk>
* gettext.h: fix gettext_init() in --disable-nls
2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
2001-03-09 John Levon <moz@compsoc.man.ac.uk>
* lyx.C:
* lyx.h: strip external form
2001-03-12 John Levon <moz@compsoc.man.ac.uk>
* BufferView_pimpl.C: add comment, destroySplash()
2001-03-12 John Levon <moz@compsoc.man.ac.uk>
* BufferView_pimpl.C:
* LyXAction.C:
* buffer.C:
* commandtags.h:
* lyxfunc.C: use re-worked insetinclude
2001-03-12 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* buffer.C: add using std::stringstream.
* lyx_cb.C: readd using std::ios.
* buffer.C: add using std::map.
* BufferView_pimpl.C: add using std::vector.
* ShareContainer.h: add std:: to swap.
* buffer.h: add some typedefs
* buffer.C (getLists): use them
(getLists): renamed from getTocList.
add a counter for the different float types and use it in the
generated string.
(getLists): use the same counter for the NEW_INSETS and the "non"
NEW_INSETS
* lyx_cb.h: remove unused items, includes, using etc.
* ShareContainer.h: remove some commented code, add more comments
and "documentation".
2001-03-11 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* buffer.C (getTocList): make the list also when NEW_INSETS is
defined.
* buffer.h: remove TocType
* buffer.C (getTocList): change to return a map<string,
vector<TocItem> >, implement for dynamic number of list.
* CutAndPaste.[Ch] (checkPastePossible): remove unused arg
* text2.C (PasteSelection): adjust
* CutAndPaste.C (pasteSelection): adjust
* FloatList.C (FloatList): update from the new_insets branch.
* Floating.[Ch]: ditto
* LaTeXFeatures.C: ditto
* buffer.C: ditto
* lyxlex_pimpl.C: ditto
* paragraph.C (Last): remove when NEW_INSETS is defined.
* other file: changes because of the above.
2001-03-09 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* lyxparagraph.h: rename next to next_, previous to previous_,
make them private for NEW_INSETS. Rename Next() to next(),
Previous() to previous().
* other files: changes because of the above.
2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
* BufferView.h:
* lyxparagraph.h: Add '#include "LString.h"' to fix compilation
problem.
2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* main.C (main): pass lyx_localedir to gettext_init().
* gettext.h: remove locale_init and gettext_init macros
* gettext.C (locale_init): new function
(gettext_init): new function
* lyx_gui.C (LyXGUI): use locale_init() instead of explicit
setlocale().
2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
* Moved credits to frontends:
* credits.[Ch]: removed
* credits_form.[Ch]: removed
* lyx_gui_misc.C: remove credits stuff
* Makefile.am:
2001-03-07 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
* kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
unneeded destructor.
* intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
a standalone pointer again.
* ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
2001-03-06 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am:
* filedlg.h:
* filedlg.C:
* LyXAction.C:
* ToolbarDefaults.C:
* bufferlist.C:
* commandtags.h:
* form1.C:
* form1.h:
* lyx_cb.C:
* lyx_cb.h:
* lyxfunc.h:
* lyxfunc.C:
* BufferView_pimpl.C: use new file dialog in GUII
* lyx_cb.h:
* lyx_cb.C: remove LayoutsCB to Toolbar
2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* ShareContainer.h (get): add std:: qualifier
2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* ShareContainer.h: define a proper ShareContainer::value_type
type (and use typename to please compaq cxx)
2001-03-06 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* lyxparagraph.h: move serveral local vars to
ParameterStruct/ParagraphParameters., use ShareContainer in
FontTable., make vars in FontTable private and add getter and
setter.
* paragraph.C: changes because of the above.
* lyxfont.h: remove copy constructor and copy assignment. (the
default ones is ok), move number inside FontBits. move inlines to
lyxfont.C
* lyxfont.C: add number to initializaton of statics, move several
inlines here. constify several local vars. some whitespace
cleanup. Dont hide outerscope variables.
* Spacing.h: add two new constructors to match the set methods.
* ShareContainer.h: new file, will perhaps be moved to support
* ParameterStruct.h: new file
* ParagraphParameters.h: new file
* ParagraphParameters.C: new file
* Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
* BufferView_pimpl.C: ParagraphParameter changes.
* buffer.C: Likewise.
* bufferview_funcs.C: Likewise.
* text.C: Likewise.
* text2.C: Likewise.
2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxfind.C (LyXReplace): do not redefine default argument in
implementation.
(IsStringInText): ditto
(SearchForward): ditto
(SearchBackward): ditto
2001-03-06 Juergen Vigna <jug@sad.it>
* lyxfind.C (IsStringInText): put parentes around expressions.
2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
* lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
2001-02-23 John Levon <moz@compsoc.man.ac.uk>
* lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
* stl_string_fwd.h: add comment
* lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
* tabular.h:
* tabular.C: remove unused DocBook methods
* intl.C:
* language.C:
* paragraph.C:
* buffer.C:
killed DO_USE_DEFAULT_LANGUAGE
2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyx_gui.C: do not include language.h.
* bufferview_funcs.C (ToggleAndShow): do not provide optional
arguments in function implementation.
2001-02-28 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* BufferView_pimpl.C: add <ctime>
2001-02-27 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* BufferView_pimpl.C: add using std::find_if
2001-02-27 Jos<6F> Matos <jamatos@fep.up.pt>
* LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
by OnlyPath.
2001-02-11 Jos<6F> Matos <jamatos@fep.up.pt>
* buffer.C (makeDocBookFile): command styles now have a parameter as
"title" by default.
2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
* layout_forms.[Ch]: removed
* lyx_cb.[Ch]: out character
* lyx_gui.C: out character
* lyx_gui_misc.C: out character
* bufferview_funcs.C: : out character,
added toggleall as parameter in ToggleAndShow
2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
* lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
* text2.C (SetCurrentFont): Disable number property at boundary.
2001-02-26 Juergen Vigna <jug@sad.it>
* lyxfunc.C (getStatus): added a string argument override function so
that this is correctly called from LyXFunc::Dispatch if it contains a
do_not_use_argument which is used!
(Dispatch): added check for "custom" export and call appropriate func.
2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
* lyxrc.C: Add language_command_local, language_use_babel and
language_global_options.
* lyxfont.C (latexWriteStartChanges): Use language_command_local.
* buffer.C (makeLaTeXFile): Use language_use_babel and
language_global_options.
2001-02-23 Juergen Vigna <jug@sad.it>
* lyxfunc.C (Dispatch): removed the whole part of the switch statement
which works with LyXText and putted it inside BufferView. Here now we
only call for that part the BufferView::Dispatch() function.
* BufferView.C (Dispatch): added.
* BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
functions which needs to use a LyXText over from LyXFunc.
(MenuInsertLyXFile): added
(getInsetByCode): added
(moveCursorUpdate): added
(static TEXT): added
2001-02-22 Juergen Vigna <jug@sad.it>
* BufferView_pimpl.C (update): call a status update to see if LyXText
needs it.
2001-02-20 Lars Gullik Bj<42>nnes <larsbj@trylle.birdstep.com>
* vc-backend.C (revert): implement for CVS
(getLog): implement for CVS
2001-02-20 Juergen Vigna <jug@sad.it>
* text2.C (ClearSelection): added BufferView param for inset_owner call
* lyxfunc.C (TEXT): added this function and use it instead of
directly owner->view()-text of getLyXText().
2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
* src/layout_forms.C: out preamble
* src/layout_forms.h: out preamble
* src/lyx_cb.C: out preamble
* src/lyx_cb.h: out preamble
* src/lyx_gui.C: out preamble
* src/lyx_gui_misc.C: out preamble
* src/lyxfunc.C: connect with guii preamble
2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
* src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
* LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
whether to run bibtex.
2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
* Makefile.am (lyx_SOURCES): Remove BackStack.h
2001-02-16 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* Makefile.am (lyx_SOURCES): removed bibforms.h
* vspace.h: doxygen
* text.C (GetVisibleRow): make several local vars const
* tabular.C: small cleanup.
* lyxserver.C (callback): use compare instead of strncmp
* lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
inlines to after class or to paragraph.C
* lyxfont.h: remove friend operator!=
* converter.h: move friend bool operator< to non friend and after
class def.
* combox.h: small cleanup
* buffer.h: doxygen, remove unused constructor, move inclas inlies
to inlines after class def.
* buffer.C (pop_tag): use string operations instead of strcmp
* bmtable.c: doxygen, small cleanup
* LaTeX.h: remove friend operator==
2001-02-14 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* screen.C:
* lyxrc.[Ch]:
* lyxfunc.C:
* lyxfont.[Ch]:
* lyx_cb.C:
* intl.[Ch]:
* commandtags.h:
* buffer.C:
* WorkArea.[Ch]:
* LyXAction.C:
* BufferView_pimpl.C:
* BufferView.[Ch]: remove cruft
2001-02-14 Juergen Vigna <jug@sad.it>
* lyxfunc.C: removed #if 0 unused code
* lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
* BufferView_pimpl.C (update): set updatestatus of inset if needed.
* text2.C (SetSelection): added a BufferView * parameter
2001-02-13 Juergen Vigna <jug@sad.it>
* lyxfunc.C (Dispatch): fixed protected blank problem.
* BufferView2.C (protectedBlank): added LyxText * parameter.
* tabular.C (AppendRow): forgot to set row_info of newly added row.
(AppendColumn): same as above for column_info.
* lyxfunc.C (Dispatch): supported some more functions in InsetText.
(moveCursorUpdate): use a LyXText param for support of InsetText.
* BufferView_pimpl.C (doubleClick): added support for InsetText.
(tripleClick): ditto
* lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
* BufferView_pimpl.C (update): added LyXText param to honor insets.
* bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
* text2.C (SetSelection): set correct update status if inset_owner
(ToggleFree): ditto
2001-02-12 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* tabular.C: remove some commented code.
2001-02-12 John Levon <moz@compsoc.man.ac.uk>
* BufferView_pimpl.C: call hideSplash()
* LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
* include_form.h:
* bibforms.h: remove
* lyxfunc.C:
* src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
add LFUN_CHILD_CREATE
* counters.h: fix tiny typo
* lyx_cb.C:
* lyx.h:
* lyx_gui.C:
* lyx.C: move splash to frontends/xforms/
* lyx_gui_misc.C: move Include and Bibform to frontends
* lyxvc.h: clarify comment
* vspace.C: tiny housekeeping
2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
* text.C (PrepareToPrint): RTL Fix.
* paragraph.C (GetUChar): New method.
(String): Use GetUChar.
* buffer.C (asciiParagraph): Use GetUChar.
2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
* text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
2001-02-09 John Levon <moz@compsoc.man.ac.uk>
* buffer.h:
* buffer.C: rename to getLogName(), handle
build log / latex log nicely
2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* MenuBackend.C:
* MenuBackend.h: remove support for reference menuitem type.
2001-02-07 John Levon <moz@compsoc.man.ac.uk>
* BufferView_pimpl.C: housekeeping
* BufferView_pimpl.h:
* LyXView.h:
* Makefile.am:
* Timeout.C:
* Timeout.h:
* minibuffer.h: move Timeout GUI-I
2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
* lyxrc.C (read): Update converters data-structures.
2001-02-07 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* LaTeX.h (operator!=): add operator != for Aux_Info
2001-02-06 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am: remove LaTeXLog.C, log_form.[Ch]
* LaTeXLog.C: deleted, useful code moved to Buffer
* buffer.h:
* buffer.C: new function getLatexLogName()
* lyx_gui_misc.C:
* lyx_gui.C:
* lyxvc.C:
* lyxvc.h:
* lyxfunc.C: use frontends for LaTeX and VC logs
2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* LaTeX.h: yet another std:: that Allan forgot.
* Variables.C (set): renamed from isset(), because this clashes
with some HP-UX macros (grr).
2001-02-06 Allan Rae <rae@lyx.org>
* LaTeX.h: Another bug fix. Missing std:: this time.
2001-02-04 Allan Rae <rae@lyx.org>
* paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
floats problem. I've left it commented out because it's not quite
correct. It should also test that the current object is a table or
figure inset. But I haven't gotten around to figuring out how to do
that. I *think* it'll be something like: "table" == inset.type()
* LaTeX.h (operator==): Aux_Info should have a friend that returns a
bool.
2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
* LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
all the citation/databases/styles in the auxilary file.
(run): Rerun latex if there was a babel language error.
2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
* text.C (Backspace): Preserve the font when changing newline char
with a space.
(BreakParagraph): If the cursor is before a space, delete the space.
* lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
* BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
new argument (code).
(ChangeCitationsIfUnique): New method.
* paragraph.C (GetPositionOfInset): Handle bibkey.
2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* BufferView_pimpl.h: change type of Position::par_pos to
LyXParagraph::size_type.
2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
* BufferView_pimpl.C (savePosition, restorePosition): Write
messages to minibuffer.
2001-01-28 Jos<6F> Matos <jamatos@fep.up.pt>
* buffer.C (makeDocBookFile): adds support for document language.
A silly restriction on the name of LatexCommand types where removed.
Added support for CDATA sections, allows to chars unescaped, used
among others in code, to avoid escape < and >.
2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
* BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
saved positions instrad of a stack. Furthermore, a position is
stored using paragraph id/paragraph position.
* commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
Remove LFUN_REF_BACK.
2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
* converter.C (dvipdfm_options): New method.
2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
* vspace.C (isValidLength): Fix for empty input string.
2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* LyXAction.C (init): change description of LFUN_FIGURE to
"Insert Graphics"
2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* LaTeX.C: add using directive
2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
* MenuBackend.C (expand): Fix the sorting of the formats.
2001-01-24 John Levon <moz@compsoc.man.ac.uk>
* lyx_main.C: tiny error message fix
2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
calling fl_initialize(). This fixes the problem with ',' as
decimal separator in text files.
2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
* trans.C (process): Fix the keymap bug.
2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
* LaTeX.C (scanAuxFiles): New method. Provides support for
multiple bibliographies (when using the bibtopic/bibunits pacakges).
(scanLogFile) Scan for "run BibTeX" messages.
* buffer.C (makeLaTeXFile): Do not load the ae package when using
OT1 font encoding. Also, load the aecompl package if the ae
package is loaded.
* tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* texrow.C (increasePos): turn two error messages into debug
messages.
2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
* LaTeX.C (scanAux): Handle the \@input macro.
(runBibTeX): Use scanAux().
* language.C (latex_options_): New field.
* LaTeXFeatures.C (getMacros): Add language macros.
* buffer.C (makeLaTeXFile): Small fix.
2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
* text2.C: add a using directive.
2000-01-17 John Levon <moz@compsoc.man.ac.uk>
* BufferView2.C:
* lyx_gui_misc.h:
* lyxfr1.C:
* lyxfunc.C: kill LyXBell.
2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
* text.C (IsBoundary): Remove the error message
* WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
* lyxrc.C (setDefaults): Correct initialization value for
font_norm_type.
2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
* BufferView2.C (gotoInset): New method. Replaces gotoNote() and
gotoError().
* text2.C (GotoNextInset): New method. Replaces GotoNextError()
and GotoNextNote().
* src/LyXAction.C: Added reference-next.
* text.C (InsertChar): Use contains instead of strchr.
* lyx_cb.C (MenuInsertLabel): Enable default value code.
2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
* paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
alignment commands (when needed).
* text.C (InsertChar): Add ':' to number separator chars.