+1999-12-07 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/lyxstring.C: added a lot of inline for no good
+ reason
+
+ * src/lyxfont.[Ch]: removed latexWriteStartChanges, and
+ latexWriteEndChanges, they were not used.
+
+ * src/layout.h (operator<<): output operator for PageSides
+
+ * src/mathed/math_iter.C (my_memcpy): slightly changed.
+
+ * some example files: loaded in LyX 1.0.4 and saved again to update
+ certain constructs (table format)
+
+ * a lot of files: did the change to use fstream/iostream for all
+ writing of files. Done with a close look at Andre Poenitz's patch.
+
+ * some files: whitespace changes.
+
+1999-12-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/mathed/math_iter.C (my_memcpy): new function. Since the
+ built-in memcpy() is broken on egcs and gcc 2.95 for alpha
+ architecture, we provide our own. It is used unconditionnally, but
+ I do not think this is a performance problem. Thanks to Angus
+ Leeming <a.leeming@ic.ac.uk> for the code (and again to Michal
+ Jaegermann <michal@ellpspace.math.ualberta.ca> for finding it the
+ first time).
+ (GetInset): use my_memcpy.
+ (Insert): ditto
+ (Copy): ditto
+
+ * lib/chkconfig.ltx: some cleanup of the latex code. I am not sure
+ it is easier to understand, but it uses less TeX-only constructs now.
+
+ * acinclude.m4 (LYX_SEARCH_PROG): make it work when the PATH
+ elements contain spaces
+
+ * lib/configure: regenerated
+
+ * lib/configure.m4 (SEARCH_PROG): make it work when the PATH
+ elements contain spaces; display the list of programs that are
+ tried.
+
+ * autogen.sh: make sure lib/configure is executable
+
+ * lib/examples/*: rename the tutorial examples to begin with the
+ two-letters language code.
+
+ * src/lyxfunc.C (getStatus): do not query current font if no
+ buffer exists.
+
+ * src/lyx_cb.C (RunScript): use QuoteName
+ (MenuRunDvips): ditto
+ (PrintApplyCB): ditto
+
+ * src/support/filetools.[Ch] (QuoteName): new function. Add quotes
+ around argument, so that it works well with the current shell.
+ Does not work properly with OS/2 shells currently.
+
+ * src/LaTeXLog.C (ShowLatexLog): use Buffer::getLatexName
+ * src/LyXSendto.C (SendtoApplyCB): ditto
+ * src/lyxfunc.C (Dispatch): ditto
+ * src/buffer.C (runLaTeX): ditto
+ (runLiterate): ditto
+ (buildProgram): ditto
+ (runChktex): ditto
+ * src/lyx_cb.C (RunScript): ditto
+ (MenuMakeLaTeX): ditto
+
+ * src/buffer.h (getLatexName): new method
+
+ * src/support/filetools.C (MakeLatexName): renamed from SpaceLess
+
+1999-12-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * images/sqrt.xpm: change name of the sqrt icon to sqrt_xpm.
+ * src/mathed/math_panel.C (mathed_get_pixmap_from_icon): ditto
+ (create_math_panel): ditto
+
+ * src/lyxfunc.C (getStatus): re-activate the code which gets
+ current font and cursor; add test for export to html.
+
+ * src/lyxrc.C (read): remove unreachable break statements; add a
+ few "using".
+
+ * src/bmtable.C (fl_set_bmtable_data): add a const_cast.
+
+1999-12-01 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/mathed/formula.C (LocalDispatch): fix small whitspace bug
+ introduced by faulty regex.
+ * src/buffer.C: ditto
+ * src/lastfiles.C: ditto
+ * src/paragraph.C: ditto
+ * src/table.C: ditto
+ * src/vspace.C: ditto
+ * src/insets/figinset.C: ditto
+ Note: most of these is absolutely harmless, except the one in
+ src/mathed formula.C.
+
+1999-11-30 Kayvan A. Sylvan <kayvan@satyr.sylvan.com>
+
+ * src/ImportNoweb.C (documentclass): fixed bounds for substr
+ operation, yielding correct results for the reLyX command.
+
+1999-12-01 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/filetools.C (ExpandPath): removed an over eager
+ Assert.
+ (ReplaceEnvironmentPath): ditto
+
+ * src/toolbar.C (BubbleTimerCB): use C++ style casts. This clearly
+ shows that we are doing something fishy in our code...
+ (BubblePost): ditto
+ (ToolbarCB): ditto
+
+ * src/lyxrc.C (read): use a double switch trick to get more help
+ from the compiler. (the same trick is used in layout.C)
+ (write): new function. opens a ofstream and pass that to output
+ (output): new function, takes a ostream and writes the lyxrc
+ elemts to it. uses a dummy switch to make sure no elements are
+ forgotten.
+
+ * src/lyxlex.h: added a struct pushpophelper for use in functions
+ with more than one exit point.
+
+ * src/lyxlex.[Ch] (GetInteger): made it const
+ (GetFloat): ditto
+ (GetBool): ditto
+
+ * src/lyxfunc.C (Dispatch): added case for LFUN_SAVEPREFERENCES
+
+ * src/layout.[hC] : LayoutTags splitted into several enums, new
+ methods created, better error handling cleaner use of lyxlex. Read
+ the diff.
+
+ * src/bmtable.[Ch]: change some member prototypes because of the
+ image const changes.
+
+ * commandtags.h, src/LyXAction.C (init): new function:
+ "preferences-save", saves the lyxrc entries into .lyx/preferences.
+ This file is not read automatically but you can add \input
+ preferences to your lyxrc if you want to. We need to discuss how
+ to handle this.
+
+ * src/LaTeX.C (runBibTeX): use regex to match for the needed lines
+ in .aux, also remove .bib and .bst files from dependencies when
+ running bibtex.
+
+ * src/BufferView.C, src/LyXView.C: add const_cast several places
+ because of changes to images.
+
+ * lib/images/*: same change as for images/*
+
+ * lib/lyxrc.example: Default for accept_compound is false not no.
+
+ * images/*: changed to be const, however I have som misgivings
+ about this change so it might be changed back.
+
+1999-11-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * lib/configure, po/POTFILES.in: regenerated
+
+ * autogen.sh: autogenerate lib/configure from lib/configure.m4
+
+ * config/lib_configure.m4: removed
+
+ * lib/configure.m4: new file (was config/lib_configure.m4)
+
+ * configure.in: do not test for rtti, since we do not use it.
+
+1999-11-26 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/lyxstring.C (lyxstring::Srep): Changed to use a
+ doubling of allocated space scheme. This makes it faster for large
+ strings end to use less memory for small strings. xtra rememoved.
+
+ * src/insets/figinset.C (waitalarm): commented out.
+ (GhostscriptMsg): use static_cast
+ (GhostscriptMsg): use new instead of malloc to allocate memory for
+ cmap. also delete the memory after use.
+
+ * src/lyx_cb.C (SetXtermCursor): made cursor_undefined a bool
+
+ * src/LaTeX.C (scanAux): new method. Scans the .aux file and looks
+ for changes in bibtex database or style.
+ (runBibTeX): remove all .bib and .bst files from dep before we
+ begin.
+ (run): use scanAuc in when dep file already exist.
+
+ * src/DepTable.C (remove_files_with_extension): new method
+ (exist): new method
+
+ * src/DepTable.[Ch]: made many of the methods const.
+
+1999-11-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/bufferparams.C: make sure that the default textclass is
+ "article". It used to be the first one by description order, but
+ now the first one is "docbook".
+
+ * src/lyx_main.C (setDebuggingLevel): change type of argument to
+ string; call Debug::value.
+ (easyParse): pass complete argument to setDebuggingLevel().
+
+ * src/debug.h (value): fix the code that parses debug levels.
+
+ * src/debug.h: add new debug type ACTION, reserved for LyXAction
+ class.
+
+ * src/LyXAction.C: use Debug::ACTION as debug channel.
+
+ * src/lyxlookup.C: make the debug statements go to Debug::KEY.
+
+ * NEWS: updated for the future 1.1.3 release.
+
+ * src/mathed/symbol_def.h: swap the definitions of \varepsilon and
+ \epsilon. Now \epsilon shows as red text, and \varepsilon shows as
+ it should. This is of course a controversial change (since many
+ people will find that their lyx workscreen is suddenly full of
+ red), but done for the sake of correctness.
+
+ * src/mathed/formulamacro.h, src/mathed/math_macro.[Ch],
+ src/mathed/math_root.[Ch] (Clone): return a MathedInset*
+
+ * src/insets/inseterror.h, src/insets/inseturl.h,
+ src/insets/insetinfo.h, src/insets/figinset.h,
+ src/mathed/formulamacro.h, src/mathed/math_macro.h
+ (EditMessage): add a missing const and add _() to make sure that
+ translation happens
+
+ * src/ImportNoweb.C, src/LyXAction.h, src/insets/figinset.C,
+ src/insets/insetbib.C, src/support/filetools.C: add `using'
+ directives for cxx.
+
+ * src/lyxfunc.C (Dispatch): make sure nothing bad happens when
+ doing 'Insert index of last word' at the beginning of a paragraph.
+
+1999-11-24 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * several files: white-space changes.
+
+ * src/mathed/formula.C: removed IsAlpha and IsDigit
+
+ * src/insets/insetbib.C (getKeys): use findtexfile to look for the
+ .bib file. use a ifstream instead of FilePtr when parsing the .bib
+ file for keys.
+
+ * src/insets/figinset.C (GetPSSizes): don't break when
+ "EndComments" is seen. But break when a boundingbox is read.
+
+ * all classes inherited from Inset: return value of Clone
+ changed back to Inset *.
+
+ * all classes inherited form MathInset: return value of Clone
+ changed back to MathedInset *.
+
+ * src/insets/figinset.C (runqueue): use a ofstream to output the
+ gs/ps file. Might need some setpresicion or setw. However I can
+ see no problem with the current code.
+ (runqueue): use sleep instead of the alarm/signal code. I just
+ can't see the difference.
+
+ * src/paragraph.C (LyXParagraph): reserve space in the new
+ paragraph and resize the inserted paragraph to just fit.
+
+ * src/lyxfunc.h (operator|=): added operator for func_status.
+
+ * src/lyxfunc.C (MenuNew): use FileInfo instead of FilePtr to
+ check for readable file.
+
+ * src/lyx_cb.C (MenuMakeLaTeX): use FileInfo instead of FilePtr to
+ check for readable file.
+ (MenuMakeLinuxDoc): ditto
+ (MenuMakeDocBook): ditto
+ (MenuMakeAscii): ditto
+ (InsertAsciiFile): split the test for openable and readable
+
+ * src/bmtable.C (draw_bitmaptable): use
+ fl_state[fl_get_vclass()].depth instead of DefualtScreen.
+
+ * src/LaTeX.C, src/support/filetools.[Ch]: moved do_popen and
+ findtexfile from LaTeX to filetools.
+
+ * src/ImportNoweb.C (documentclass): rewrote to use ifstream
+ instead of FilePtr. Needs to be verified by a literate user.
+
+1999-11-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/mathed/formula.[Ch] (GetCursorPos): add a missing 'const'.
+ (EditMessage): likewise.
+
+ * src/paragraph.C (SimpleTeXSpecialChars): output ~ and ^
+ respectively as \textasciitilde and \textasciicircum.
+
+1999-11-22 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/lyxstring.h: made the methods that take iterators
+ use const_iterator.
+
+ * src/support/lstrings.C (countChar): use std::cound(itr, itr, val)
+ (regexMatch): made is use the real regex class.
+
+ * src/support/Makefile.am: changed to use libtool
+
+ * src/support/.cvsignore: added *.lo, .libs and libsupport.la
+
+ * src/mathed/math_defs.h: made the mathaligns be in a enum instead
+ of defines.
+ (MathIsInset ++): changed several macros to be inline functions
+ instead.
+
+ * src/mathed/Makefile.am: changed to use libtool
+
+ * src/mathed/.cvsignore: added *.lo, .libs and libmathed.la
+
+ * src/insets/inset* : Clone changed to const and return type is
+ the true insettype not just Inset*.
+
+ * src/insets/Makefile.am: changed to use libtool
+
+ * src/insets/.cvsignore: added *.lo, .libs and libinsets.la
+
+ * src/undo.[Ch] : added empty() and changed some of the method
+ names.
+
+ * src/texrow.[Ch]: rewrote to store texrow's in a std::list.
+
+ * src/lyxparagraph.h: use id() and id(...) instead of getID and
+ setID use block<> for the bullets array, added const several places.
+
+ * src/lyxfunc.C (getStatus): new function
+
+ * src/lyxfunc.[Ch] : small changes to take advantage of the new
+ LyXAction, added const to several funtions.
+
+ * src/filedlg.[Ch]: rewrote to store userchache and groupchache in
+ a std::map, and to store the dir items in a vector.
+
+ * src/Makefile.am (lyx_DEPENDENCIES): changed to use libtool files
+ as dependencies.
+
+ * src/LyXView.[Ch] + other files : changed currentView to view.
+
+ * src/LyXAction.[Ch] : ported from the old devel branch.
+
+ * src/.cvsignore: added .libs and a.out
+
+ * configure.in : changes to use libtool.
+
+ * acinclude.m4 : inserted libtool.m4
+
+ * .cvsignore: added libtool
+
+1999-11-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/Makefile.am (lyx_DEPENDENCIES): give the explicit object
+ file name in insets and mathed directories (otherwise the
+ dependency is not taken in account under cygwin).
+
+ * src/text2.C (InsertString[AB]): make sure that we do not try to
+ read characters past the string length.
+
+1999-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * lib/doc/LaTeXConfig.lyx.in,
+ lib/chkconfig.ltx: remove the test for linuxdoc-sgml.sty.
+
+ * src/buffer.C (writeFile): Do not add a comment on top of .lyx
+ file saying who created them and when this heppened; this is
+ useless and annoys tools like cvs.
+
+ * lib/layouts/g-brief-{en,de}.layout,
+ lib/templates/g-brief-{en,de}.lyx: new versions of the textclass
+ from Thomas Hartkens <thomas@hartkens.de>.
+
+ * src/{insets,mathed}/Makefile.am: do not declare an empty
+ LDFLAGS, so that it can be set at configure time (useful on Irix
+ for -n32 flag).
+
+ * lib/reLyX/configure.in: make sure that the prefix is set
+ correctly in LYX_DIR.
+
+1999-11-18 Andre' Poenitz <poenitz@mathematik.tu-chemnitz.de>
+
+ * src/commandtags.h: introduction of a new tag 'LFUN_SEQUENCE' to
+ be used by 'command-sequence' this allows to bind a key to a
+ sequence of LyX-commands
+ (Example: 'command-sequence math-insert alpha; math-insert beta;")
+
+ * src/LyXAction.C: add "command-sequence"
+
+ * src/LyXFunction.C: handling of "command-sequence"
+
+ * src/LyXFunction.[hC] changed LyXFunc::Dispatch(string const
+ &cmd, string const &arg) to LyXFunc::Dispatch(string const& s)
+
+ * src/lyxserver.C, src/minibuffer.C: Use this new interface
+
1999-11-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+ * src/buffer.C (writeFile): Do not output a comment giving user
+ and date at the beginning of a .lyx file. This is useless and
+ annoys cvs anyway; update version number to 1.1.
+
* src/Makefile.am (LYX_DIR): add this definition, so that a
default path is hardcoded in LyX.
not a pointer to one, some changes because of this.
* src/LaTeXFeatures.C (getTClassPreamble): also use the
- information in layout when addint he layouts preamble to the
+ information in layout when adding the layouts preamble to the
textclass preamble.
* src/LaTeXFeatures.h: use a vector<bool> to store the layout