+2000-01-06 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/BufferView.C: first go at a TextCache to speed up switching
+ between documents.
+
+2000-01-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * lib/examples/ItemizeBullets.lyx: update from Tino Meinen.
+ * lib/examples/nl_voorbeeld_ruw.lyx: ditto.
+ * lib/examples/nl_voorbeeld_verlyxt.lyx: ditto.
+ * lib/examples/nl_opsommingstekens.lyx: new translation from Tino
+ Meinen.
+
+ * src/mathed/math_defs.h (MathedRowSt): make sure that all
+ members of the struct are correctly initialized to 0 (detected by
+ purify)
+ * src/lyxrc.C (LyXRC): ditto for print_adapt_output.
+ * src/insets/figinset.C (InsetFig): ditto for pswid and pshgh.
+
+ * src/insets/figinset.C (sigchldchecker): use "delete" to free a
+ pidwait, since it was allocated with "new". This was potentially
+ very bad. Thanks to Michael Schmitt for running purify for us.
+
+
+2000-01-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/lyx_gui_misc.C: add a 'using std::make_pair;' statement.
+
+ * src/lyx_gui_misc.h: add a 'using std::pair;' statement.
+
+1999-12-30 Allan Rae <rae@lyx.org>
+
+ * lib/templates/IEEEtran.lyx: minor change
+
+ * src/lyxvc.C (registrer, checkIn), src/lyx_cb.C (MenuInsertLabel),
+ src/mathed/formula.C (LocalDispatch): askForText changes
+
+ * src/lyx_gui_misc.[Ch] (askForText): now returns a bool also so we
+ know when a user has cancelled input. Fixes annoying problems with
+ inserting labels and version control.
+
+1999-12-29 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/lstrings.C (tostr): rewritten to use strstream and
+ stringstream
+
+1999-12-28 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/filetools.C (IsFileWriteable): use fstream to check
+ (IsDirWriteable): use fileinfo to check
+
+ * src/support/filetools.h (FilePtr): whole class deleted
+
+ * src/insets/figinset.C (GetPSSizes): rewritten to use ifstream.
+
+ * src/lyxparagraph.h (readSimpleWholeFile): make arg istream
+
+ * src/lyx_cb.C (InsertAsciiFile): use ifstream instead of FilePtr
+
+ * src/bufferlist.C (write): use ifstream and ofstream instead of
+ FILE*
+
+ * src/Spacing.h: use istrstream instead of sscanf
+
+ * src/mathed/math_defs.h: change first arg to istream from FILE*
+
+ * src/buffer.C (insertLyXFile): use ifstream instead of FilePtr
+
+ * src/mathed/math_parser.C: have yyis to be an istream
+ (LexGetArg): use istream (yyis)
+ (yylex): ditto
+ (mathed_parse): ditto
+ (mathed_parser_file): first arg istream instead of FILE*, set yyis
+
+ * src/mathed/formula.C (Read): rewritten to use istream
+
+ * src/mathed/formulamacro.C (Read): rewritten to use istream
+
+ * src/lyxlex.h (~LyXLex): deleted desturctor
+ (getStream): new function, returns an istream
+ (getFile): deleted funtion
+ (IsOK): return is.good();
+
+ * src/lyxlex.C (LyXLex): delete file and owns_file
+ (setFile): open an filebuf and assign that to a istream instead of
+ using FILE*
+ (setStream): new function, takes an istream as arg.
+ (setFile): deleted function
+ (EatLine): rewritten us use istream instead of FILE*
+ (next): ditto
+ (nextToken): ditto
+
+ * src/table.C (LyXTable): use istream instead of FILE*
+ (Read): rewritten to take an istream instead of FILE*
+
+1999-12-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/buffer.C (Dispatch): remove an extraneous break statement.
+
+ * src/support/filetools.C (QuoteName): change to do simple
+ 'quoting'. More work is necessary. Also changed to do nothing
+ under emx (needs fix too).
+ (Putenv): Cast the argument of putenv() with PUTENV_TYPE_ARG.
+
+ * acinclude.m4 (STL_STRING_FWD_H_LOCATION): add the comment for
+ config.h.in to the AC_DEFINE_UNQUOTED() call.
+ (LYX_FUNC_PUTENV_ARGTYPE): new macro. Checks whether putenv()
+ needs char * as argument (because Solaris 7 declares it like
+ that).
+
+ * acconfig.h: remove placeholder for STL_STRING_FWD_H_LOCATION;
+ remove definition of BZERO.
+
+1999-12-24 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/LRegex.C: include <regex.h> if HAVE_REGEX_H is
+ defined, "lyxregex.h" if not.
+
+ * src/support/Makefile.am (noinst_LTLIBRARIES): changed from
+ pkglib_ to noinst_
+ (REGEX): new variable that is set to regex.c lyxregex.h when
+ AM_CONDITIONAL USE_REGEX is set.
+ (libsupport_la_SOURCES): add $(REGEX)
+
+ * src/mathed/Makefile.am (noinst_LTLIBRARIES): changed from
+ pkglib_ to noinst_
+
+ * src/insets/Makefile.am (noinst_LTLIBRARIES): changed from
+ pkglib_ to noinst_
+
+ * configure.in: add call to LYX_REGEX
+
+ * acinclude.m4 (LYX_REGEX): checks if we need to use the included
+ regex or not. Uses a a AM_CONDITIONAL to decide what to compile.
+
+1999-12-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * lib/bind/fi_menus.bind: new file, from
+ pauli.virtanen@saunalahti.fi.
+
+ * src/buffer.C (getBibkeyList): pass the parameter delim to
+ InsetInclude::getKeys and InsetBibtex::getKeys.
+
+ * src/insets/insetinclude.[Ch] (getKeys): add parameter delim, which
+ is passed to Buffer::getBibkeyList
+
+ * src/insets/insetbib.[Ch] (getKeys): add parameter delim, and use it
+ instead of the hardcoded comma.
+
+ * src/insets/insetbib.C (getKeys): make sure that there are not
+ leading blanks in bibtex keys. Normal latex does not care, but
+ harvard.sty seems to dislike blanks at the beginning of citation
+ keys. In particular, the retturn value of the function is
+
+ * INSTALL: make it clear that libstdc++ is needed and that gcc
+ 2.7.x probably does not work.
+
+ * src/support/filetools.C (findtexfile): make debug message go to
+ the LATEX channel
+ * src/insets/insetbib.C (getKeys): ditto
+
+ * src/debug.C (showTags): make sure that the output is correctly
+ aligned.
+
+ * configure.in: add a comment for TWO_COLOR_ICON define.
+
+ * acconfig.h: remove all the entries that already defined in
+ configure.in or acinclude.m4.
+
+ * src/buffer.C (makeLaTeXFile): headers of latex file also changed
+ to avoid user name, date and copyright.
+
+1999-12-21 Juergen Vigna <jug@sad.it>
+
+ * src/table.C (Read): Now read bogus row format informations
+ if the format is < 5 so that afterwards the table can
+ be read by lyx but without any format-info. Fixed the
+ crash we experienced when not doing this.
+
+1999-12-21 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/text2.C (RedoHeightOfParagraph): rename arg cursor -> cur
+ (RedoDrawingOfParagraph): ditto
+ (RedoParagraphs): ditto
+ (RemoveTableRow): ditto
+
+ * src/text.C (Fill): rename arg paperwidth -> paper_width
+
+ * src/buffer.C (insertLyXFile): rename var filename -> fname
+ (writeFile): rename arg filename -> fname
+ (writeFileAscii): ditto
+ (makeLaTeXFile): ditto
+ (makeLinuxDocFile): ditto
+ (makeDocBookFile): ditto
+
+ * src/LaTeX.C (runMakeIndex): change arg name from file -> f
+ (runBibTeX): ditto
+
+ * src/Makefile.am (lyx_SOURCES): add bmtable.c and remove bmtable.C
+
+ * src/bmtable.h: add extern "C" on this file when __cplusplus is
+ defined.
+
+ * src/bmtable.c: new file, a C'ified copy of bmtable.C, this is
+ compiled by a C compilator not C++.
+
+ * src/layout.h (LyXTextClass): added typedef for const_iterator
+ (LyXTextClassList): added typedef for const_iterator + member
+ functions begin and end.
+
+ * src/LyXView.C (UpdateDocumentClassChoice): rewritten to use
+ iterators to fill the choice_class.
+ (updateLayoutChoice): rewritten to use iterators to fill the
+ layoutlist in the toolbar.
+
+ * src/BufferView.h (BufferView::work_area_width): removed unused
+ variable.
+
+ * src/lyx_gui_misc.C (WarnReadonly): added string parameter 'file'
+
+ * src/buffer.C (sgmlOpenTag): drop the use of the static space array
+ (sgmlCloseTag): ditto
+
+ * src/support/lstrings.h: return type of countChar changed to
+ unsigned char.
+
+ * src/support/lstrings.C (countChar): use HAVE_STD_COUNT to choose
+ what version of this func to use. Also made to return unsigned int.
+
+ * configure.in: call LYX_STD_COUNT
+
+ * acinclude.m4 (LYX_STD_COUNT): new function checks for a standard
+ conforming std::count.
+
+1999-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/mathed/math_draw.C (Draw, Metrics): fix a bug where a prime
+ and a subscript would give bad display (patch from Dekel Tsur
+ <dekel@math.tau.ac.il>).
+
+ * src/insets/insetlatexaccent.h: make sure ACCENT_TYPES is public.
+
+ * src/spellchecker.C (create_ispell_pipe): use a const_cast to
+ please sun CC.
+
+ * src/chset.h: add a few 'using' directives
+
+ * src/lyxfunc.C (Dispatch): check that LFUN_UNKNOWN_ACTION is not
+ triggered when no buffer is active
+
+ * src/layout.C: removed `break' after `return' in switch(), since
+ it is unreachable.
+
+ * src/lyx_main.C (init): make sure LyX can be ran in place even
+ when libtool has done its magic with shared libraries. Fix the
+ test for the case when the system directory has not been found.
+
+ * src/lyx_cb.C (MenuMakeLaTeX): make sure to keep the full path
+ name for the latex file.
+ (MenuMakeHTML): ditto
+
+ * src/buffer.h: add an optional boolean argument, which is passed
+ to ChangeExtension.
+
+1999-12-20 Allan Rae <rae@lyx.org>
+
+ * lib/templates/IEEEtran.lyx: small correction and update.
+
+ * configure.in: Attempted to use LYX_PATH_HEADER
+
+ * src/stl_string_fwd.h: Don't need HAVE_STL_STRING_FWD_H anymore
+
+ * acconfig.h, acinclude.m4 (LYX_STL_STRING_FWD): totally revised after
+ input from JMarc. Now use preprocessor to find the header.
+ Also stopped making HAVE_STL_STRING_FWD_H and extended the comments.
+ (LYX_PATH_HEADER): My, so far, failed attempt to generalize
+ LYX_STL_STRING_FWD. See comments in file.
+
+1999-12-19 Asger Alstrup Nielsen <alstrup@diku.dk>
+
+ * The global MiniBuffer * minibuffer variable is dead.
+
+ * The global FD_form_main * fd_form_main variable is dead.
+
+1999-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/toolbar.C (set): condition #warning on WITH_WARNINGS
+
+ * src/table.h: add the LOstream.h header
+ * src/debug.h: ditto
+
+ * src/LyXAction.h: change the explaination of the ReadOnly
+ attribute: is indicates that the function _can_ be used.
+
+ * src/LyXAction.C (init): find-replace _can_ be used in read-only
+ mode.
+
+1999-12-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/lyxfont.C (ascent): Make sure that char is _always_ used as
+ unsigned.
+ (descent): ditto
+ (lbearing): ditto
+ (rbearing): ditto
+
+ * src/paragraph.C (GetWord): assert on pos>=0
+ (GetChar): ditto
+
+ * src/support/lyxstring.C: condition the use of an invariant on
+ ENABLE_ASSERTIONS
+ * src/support/lyxstring.h: ditto
+
+ * src/Bullet.[Ch]: replace DEBUG_AS_DEFAULT by
+ ENABLE_ASSERTIONS. Use LAssert.h instead of plain assert().
+
+ * src/support/lstrings.h: add LAssert.h, in case it is needed.
+
+ * src/lyxfunc.C: do not include LAssert.h, it is not used.
+ * src/support/filetools.C: ditto
+
+ * src/support/LAssert.h: make Assert a no-op if ENABLE_ASSERTIONS
+ is not defined.
+
+ * INSTALL: document the new configure flags
+
+ * configure.in: suppress --with-debug; add --enable-assertions
+
+ * acinclude.m4: various changes in alignment of help strings.
+
+1999-12-16 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/kbmap.C: commented out the use of the hash map in kb_map,
+ beginning of movement to a stl::container.
+
+ * several files: removed code that was not in effect when
+ MOVE_TEXT was defined.
+
+ * lib/kbd/iso8859-1.cdef: removed bogus backslashes. Backslashes
+ for escaping should not be used. We can discuss if the string
+ should be enclosed in f.ex. [] instead of "".
+
+ * src/trans_mgr.C (insert): use the new returned value from
+ encodeString to get deadkeys and keymaps done correctly.
+
+ * src/chset.C (encodeString): changed to return a pair, to tell
+ what to use if we know the string.
+
+ * src/lyxscreen.h (fillArc): new function.
+
+ * src/FontInfo.C (resize): rewritten to use more std::string like
+ structore, especially string::replace.
+
+ * src/insets/insetlatexaccent.C (Draw): use fillArc for the
+ approp. accents.
+
+ * configure.in (chmod +x some scripts): remove config/gcc-hack
+
+1999-12-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/buffer.C (writeFile): change once again the top comment in a
+ .lyx file to point to www.lyx.org and to use LYX_DOCVERSION
+ instead of an hardcoded version number.
+ (makeDocBookFile): ditto
+
+ * src/version.h: add new define LYX_DOCVERSION
+
+ * po/de.po: update from Pit Sütterlin
+ * lib/bind/de_menus.bind: ditto.
+
+ * src/lyxfunc.C (Dispatch): call MenuExport()
+ * src/buffer.C (Dispatch): ditto
+
+ * src/lyx_cb.C (MenuMakeHTML): new function, moved from
+ LyXFunc::Dispatch().
+ (MenuExport): new function, moved from
+ LyXFunc::Dispatch().
+
+ * src/trans_mgr.C (insert): small cleanup
+ * src/chset.C (loadFile): ditto
+
+ * lib/kbd/iso8859-1.cdef: add missing backslashes
+
+1999-12-15 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/insets/insetlatexaccent.C (Lbearing): new function, used to
+ help with placing the manually drawn accents better.
+ (Rbearing): ditto
+ (Draw): x2 and hg changed to float to minimize rounding errors and
+ help place the accents better.
+
+ * src/lyxfont.C (ascent): fixed faulty static_cast, casting from
+ unsigned short to char is just wrong...cast the char to unsigned
+ char instead so that the two values can compare sanely. This
+ should also make the display of insetlatexaccents better and
+ perhaps also some other insets.
+ (descent): ditto
+ (lbearing): new function
+ (rbearing): ditto
+
+1999-12-15 Allan Rae <rae@lyx.org>
+
+ * src/stl_string_fwd.h, src/Makefile.am (lyx_SOURCES): added new
+ header that provides a wrapper around the very annoying SGI STL header
+ of the same name.
+
+ * src/support/lyxstring.C, src/LString.h:
+ removed old SGI-STL-compatability attempts.
+
+ * configure.in: Use LYX_STL_STRING_FWD.
+
+ * acinclude.m4 (LYX_STL_STRING_FWD), acconfig.h: Test if
+ stl_string_fwd.h is around and try to determine it's location.
+ Major improvement over previous SGI STL 3.2 compatability.
+ Three small problems remain with this function due to my zero
+ knowledge of autoconf. JMarc and lgb see the comments in the code.
+
+1999-12-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/broken_const.h, config/hack-gcc, config/README: removed
+
+ * configure.in: remove --with-gcc-hack option; do not call
+ LYX_CXX_STL_STACK
+
+ * INSTALL: remove documentation of --with-broken-const and
+ --with-gcc-hack
+
+ * acconfig.h: remove all trace of BROKEN_CONST define
+
+ * src/buffer.C (makeDocBookFile): update version number in output
+ file.
+ (SimpleDocBookOnePar): fix an assert when trying to a character
+ access beyond string length
+ [Patch from Jose']
+
+1999-12-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * po/de.po: fix the Export menu
+
+ * lyx.man: update the description of -dbg
+
+ * src/lyx_main.C (setDebuggingLevel): call Debug::showLevel()
+ (commandLineHelp): updated
+ (easyParse): show list of available debug levels if -dbg is passed
+ without argument.
+
+ * src/Makefile.am: add debug.C
+
+ * src/debug.h: moved some code to debug.C
+
+ * src/debug.C: new file. Contains code to set and show debug
+ level.
+
+ * src/layout.C: remove 'break' after 'continue' in switch
+ statements, since these cannot be reached.
+
+1999-12-13 Allan Rae <rae@lyx.org>
+
+ * src/mathed/math_hash.C (math_hash): renamed from hash(), name clash.
+ (in_word_set): hash() -> math_hash()
+
+ * src/LString.h: Used USING_EXCEPTIONS in SGI STL-3.2 support
+
+ * acconfig.h: Added a test for whether we are using exceptions in the
+ current compilation run. If so USING_EXCEPTIONS is defined.
+
+ * config.in: Check for existance of stl_string_fwd.h
+ * src/LString.h: If compiling --with-included-string and SGI's
+ STL version 3.2 is present (see above test) we need to block their
+ forward declaration of string and supply a __get_c_string().
+ However, it turns out this is only necessary if compiling with
+ exceptions enabled so I've a bit more to add yet.
+
+ * src/insets/figinset.[Ch], src/insets/insetinclude.C,
+ src/insets/insetloa.C, src/layout.h, src/lyxparagraph.h,
+ src/support/LRegex.h, src/undo.h:
+ Shuffle the order of the included files a little to ensure that
+ LString.h gets included before anything that includes stl_string_fwd.h
+
+ * src/support/lyxstring.C: We need to #include LString.h instead of
+ lyxstring.h to get the necessary definition of __get_c_string.
+ (__get_c_string): New function. This is defined static just like SGI's
+ although why they need to do this I'm not sure. Perhaps it should be
+ in lstrings.C instead.
+
+ * lib/templates/IEEEtran.lyx: New template file.
+
+1999-12-12 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * Makefile.in.in (MKINSTALLDIRS): use $(srcdir)/@MKINSTALLDIRS@
+ * intl/Makefile.in (MKINSTALLDIRS): ditto
+
+ * src/LyXAction.C (init): changed to hold the LFUN data in a
+ automatic array in stead of in callso to newFunc, this speeds up
+ compilation a lot. Also all the memory used by the array is
+ returned when the init is completed.
+
+ * a lot of files: compiled with -Wold-style-cast, changed most of
+ the reported offenders to C++ style casts. Did not change the
+ offenders in C files.
+
+ * src/trans.h (Match): change argument type to unsigned int.
+
+ * src/support/DebugStream.C: fix some types on the streambufs so
+ that it works on a conforming implementation.
+
+1999-12-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * lib/examples/example_{raw,lyxified}.lyx: fix embarassing sentence.
+
+ * src/support/lyxstring.C: remove the inline added earlier since
+ they cause a bunch of unsatisfied symbols when linking with dec
+ cxx. Cxx likes to have the body of inlines at the place where they
+ are declared.
+
+ * src/trans.C (AddDeadkey): add an 'unsigned char' cast to avoid
+ accessing negative bounds in array. This fixes the crash when
+ inserting accented characters.
+ * src/trans.h (Match): ditto
+
+ * src/buffer.C (Dispatch): since this is a void, it should not try
+ to return anything...
+
+1999-12-10 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/buffer.h: removed the two friends from Buffer. Some changes
+ because of this. Buffer::getFileName and Buffer::setFileName
+ renamed to Buffer::fileName() and Buffer::fileName(...).
+
+1999-12-09 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * buffer.[Ch], BufferView.[Ch] + other files: Moved Buffer::text
+ and Buffer::update(short) to BufferView. This move is currently
+ controlled by a define MOVE_TEXT, this will be removed when all
+ shows to be ok. This move paves the way for better separation
+ between buffer contents and buffer view. One side effect is that
+ the BufferView needs a rebreak when swiching buffers, if we want
+ to avoid this we can add a cache that holds pointers to LyXText's
+ that is not currently in use.
+
+ * buffer.[Ch], lyx_main.C: small changes to the "-export" patch by
+ André Pönitz.
+
+1999-11-18 André Pönitz <poenitz@mathematik.tu-chemnitz.de>
+
+ * buffer.[Ch]: Dispatch() - new dispatcher on the buffer level
+
+ * lyx_main.C: new command line option -x (or --execute) and
+ -e (or --export). Now direct conversion from .lyx to .tex
+ (.dvi, .ps, ...) is possible ('lyx file.lyx --export latex')
+ Unfortunately, X is still needed and the GUI pops up during the
+ process...
+
+1999-12-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/Spacing.C: add a using directive to bring stream stuff into
+ normal namespace.
+ * src/paragraph.C: ditto
+ * src/buffer.C: ditto
+
+ * NEWS: updated a bit the new features of 1.1.3 (took a few things
+ from Lars' announcement).
+
+ * lib/examples/nl_voorbeeld_{ruw,verlyxt}.lyx: new tutorial
+ example files from Tino Meinen.
+
+1999-12-06 Allan Rae <rae@lyx.org>
+
+ * src/LaTeX.C (runBibTeX): fix typo in accessing submatch pair.
+
+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 André Pönitz <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.
+
+ * configure.in: Use LYX_GNU_GETTEXT.
+
+ * acinclude.m4 (LYX_GNU_GETTEXT): new macro, essentially a copy of
+ AM_GNU_GETTEXT with a bug fixed.
+
+ * src/lyx_cb.C (RunLinuxDoc): add a cast to please dec cxx.
+
+ * src/chset.C: add "using std::ifstream;" to please dec cxx.
+
+ * src/lyx_main.C (init), INSTALL.OS2: the environment variable
+ which is used to point to LyX data is now LYX_DIR_11x.
+
+ * lyx.man: convert to a unix text file; small updates.
+
+1999-11-15 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/LSubstring.[Ch]: made the second arg of most of the
+ constructors be a const reference.
+
+ * src/mathed/math_parser.C (LexInitCodes): small bug introduced by
+ me fixed.
+
+ * src/support/lyxstring.[Ch] (swap): added missing member function
+ and specialization of swap(str, str);
+
+ * src/menus.C (ShowBufferMenu): to use the new BufferStorage
+
+ * src/bufferlist.[Ch]: use the new BufferStorage class and remove all
+ trace of the old one.
+
+ * src/undo.[Ch]: made the undostack use std::list to store undo's in
+ put the member definitions in undo.C.
+
+ * src/lyxparagraph.h, src/paragraph.C + a lot of files: removed
+ NEW_TEXT and have now only code that was included when this was
+ defined.
+
+ * src/intl.C (LCombo): use static_cast
+ (LCombo2): ditto
+ (DispatchCallback): ditto
+
+ * src/definitions.h: removed whole file
+
+ * src/commandtags.h: comment out LFUN_INSERT_INSET_LATEX
+
+ * src/chset.[Ch]: a lot rewritten, does not use lyxlex for cdef
+ parsing and stores in a std:map. a regex defines the file format.
+ removed unneeded members.
+
+ * src/bufferparams.h: added several enums from definitions.h here.
+ Removed unsused destructor. Changed some types to use proper enum
+ types. use block to have the temp_bullets and user_defined_bullets
+ and to make the whole class assignable.
+
+ * src/bufferparams.C (Copy): removed this functions, use a default
+ assignment instead.
+
+ * src/buffer.h: made isLatex, isLinuxDoc, isDocBook, isSGML and
+ isLiterate const.
+
+ * src/buffer.C (readLyXformat2): commend out all that have with
+ oldpapersize to do. also comment out all that hve to do with
+ insetlatex and insetlatexdel.
+ (setOldPaperStuff): commented out
+
+ * src/Makefile.am (lyx_SOURCES): remove definitions.h, add undo.C
+
+ * src/LyXAction.C: remove use of inset-latex-insert
+
+ * src/mathed/math_panel.C (button_cb): use static_cast
+
+ * src/insets/Makefile.am (insets_o_SOURCES): removed
+ insetlatex.[Ch]
+
+ * src/support/lyxstring.C (helper): use the unsigned long
+ specifier, UL, instead of a static_cast.
+
+ * src/support/Makefile.am (libsupport_a_SOURCES): added block.h
+
+ * src/support/block.h: new file. to be used as a c-style array in
+ classes, so that the class can be assignable.
+
+1999-11-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/lyx_gui_misc.C (askForText): when fl_show_input() returns
+ NULL, make sure to return an empty string (it is not possible to
+ set a string to NULL).
+
+1999-11-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/support/LRegex.C: use regex_t instead of re_pattern_buffer.
+
+ * src/support/lyxstring.C (helper): fix bogus cast in assertion.
+
+ * src/{mathed,insets}/Makefile.am (CXXLINK): add $(LDFLAGS) to the
+ link line, so that Irix users (for example) can set it explicitely to
+ "-n32".
+
+ * src/Makefile.am (lyx_LDADD): use LYX_LIB as a variable, so that
+ it can be overidden at make time (static or dynamic link, for
+ example).
+
+ * src/vc-backend.C, src/LaTeXFeatures.h,
+ src/support/LRegex.C, src/support/LRegex.h: add a few "using"
+ statements to bring templates to global namespace.
+
+1999-11-10 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/lyxstring.C (operator[] const): make it standard
+ conforming.
+
+ * src/minibuffer.C (Init): changed to reflect that more
+ information is given from the lyxvc and need not be provided here.
+
+ * src/lyxvc.[Ch]: rewrote to use the vc-backend.
+
+ * src/Makefile.am (lyx_SOURCES): add vc-backend.[Ch]
+
+ * src/LyXView.C (UpdateTimerCB): use static_cast
+ (KeyPressMask_raw_callback): ditto
+
+ * src/BufferView.[Ch]: name change _owner -> owner_ and _buffer ->
+ buffer_, a lot of changes because of this. currentBuffer() ->
+ buffer(), setBuffer(...) -> buffer(...), getOwner() -> owner(),
+ also changes to other files because of this.
+
+1999-11-09 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/vc-backend.[Ch]: new files. The backends for vc handling,
+ have no support for RCS and partial support for CVS, will be
+ improved later.
+
+ * src/insets/ several files: changes because of function name
+ changes in Bufferview and LyXView.
+
+ * src/mathed/math_symbols.C (math_insert_symbol): use static_cast
+
+ * src/support/LSubstring.[Ch]: new files. These implement a
+ Substring that can be very convenient to use. i.e. is this
+ possible:
+ string a = "Mary had a little sheep";
+ Substring(a, "sheep") = "lamb";
+ a is now "Mary has a little lamb".
+
+ * src/support/LRegex.[Ch]: a regex class that can be used to pick
+ out patterns and subpatterns of strings. It is used by LSubstring
+ and also by vc-backend.C
+
+ * src/support/lyxstring.C: went over all the assertions used and
+ tried to correct the wrong ones and flag which of them is required
+ by the standard. some bugs found because of this. Also removed a
+ couple of assertions.
+
+ * src/support/Makefile.am (libsupport_a_SOURCES): added
+ LSubstring.[Ch] and LRegex.[Ch]
+
+ * src/support/FileInfo.h: have struct stat buf as an object and
+ not a pointer to one, some changes because of this.
+
+ * src/LaTeXFeatures.C (getTClassPreamble): also use the
+ information in layout when adding the layouts preamble to the
+ textclass preamble.
+
+ * src/LaTeXFeatures.h: use a vector<bool> to store the layout
+ usage in.
+
+ * configure.in (CPPFLAGS): use AC_CHECK_FUNCS to check for XOpenIM
+ because of bug in OS/2.
+
+1999-11-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * lib/layouts/lyxmacros.inc (lyxcode): set the font with
+ \verbatim@font instead of \ttfamily, so that it can be redefined.
+
+ * src/BackStack.h, src/DepTable.C, src/DepTable.h, src/LaTeX.C,
+ src/LaTeX.h, src/lastfiles.C, src/lastfiles.h, src/layout.C,
+ src/layout.h, src/text2.C: add 'using' directive to bring the
+ STL templates we need from the std:: namespace to the global one.
+ Needed by DEC cxx in strict ansi mode.
+
+ * src/support/LIstream.h,src/support/LOstream.h,
+ src/support/lyxstring.h,src/table.h,
+ src/lyxlookup.h: do not include <config.h> in header
+ files. This should be done in the .C files only.
+
+ * development/lyx.spec.in: WHATSNEW has been renamed to NEWS
+ (from Kayvan).
+
+
+1999-11-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * config/lib_configure.m4,lib/configure,lib/lyxrc.example: update
+ from Kayvan to fix the tth invokation.
+
+ * development/lyx.spec.in: updates from Kayvan to reflect the
+ changes of file names.
+
+1999-11-05 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/text2.C (InsertStringB): use std::copy
+ (InsertStringA): use std::copy
+
+ * src/bufferlist.C: use a vector to store the buffers in. This is
+ an internal change and should not affect any other thing.
+
+ * src/BufferView.C (waitForX): use XSync instead of the lengthy
+ stuff in waitForX.
+
+ * src/text.C (Fill): fix potential bug, one off bug.
+
+1999-11-04 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/Makefile.am (lyx_main.o): add more files it depends on.
+
+ * src/lyx_cb.C (addNewlineAndDepth): parameters in wrong order.
+
+ * src/support/lyxstring.C: use size_t for the reference count,
+ size, reserved memory and xtra.
+ (internal_compare): new private member function. Now the compare
+ functions should work for std::strings that have embedded '\0'
+ characters.
+ (compare): all compare functions rewritten to use
+ internal_compare.
+
+1999-11-03 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/lyxstring.C (compare): pass c_str()
+ (compare): pass c_str
+ (compare): pass c_str
+
+1999-11-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/support/DebugStream.C: <config.h> was not included correctly.
+
+ * lib/configure: forgot to re-generate it :( I'll make this file
+ auto generated soon.
+
+1999-11-03 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * acinclude.m4 (cross_compiling): add -fpermissive when gcc 2.95.x
+ is used.
+
+ * src/support/lyxstring.C: some changes from length() to rep->sz.
+ avoids a function call.
+
+ * src/support/filetools.C (SpaceLess): yet another version of the
+ algorithm...now per Jean-Marc's suggestions.
+
+1999-11-02 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/layout.C (less_textclass_desc): functor for use in sorting
+ of textclasses.
+ (LyXTextClass::Read): sort the textclasses after reading.
+
+ * src/support/filetools.C (SpaceLess): new version of the
+ SpaceLess functions. What problems does this one give? Please
+ report.
+
+ * images/banner_bw.xbm: made the arrays unsigned char *
+
+1999-11-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/support/lyxstring.C (find): remove bogus assertion in the
+ two versions of find where this has not been done yet.
+
+ * src/support/lyxlib.h: add missing int return type to
+ lyx::chdir().
+
+ * src/menus.C (ShowFileMenu): disable exporting to html if no
+ html export command is present.
+
+ * config/lib_configure.m4: add a test for an HTML converter. The
+ programs checked for are, in this order: tth, latex2html and
+ hevea.
+
+ * lib/configure: generated from config/lib_configure.m4.
+
+ * src/lyxfunc.C (Dispatch): update and improve the execution of an
+ html converter. The parameters are now passed through $$FName and
+ $$OutName, instead of standard input/output.
+
+ * src/lyxrc.{C,h}: rename \tth_command to \html_command.
+
+ * lib/lyxrc.example: update description of \html_command.
+ add "quotes" around \screen_font_xxx font setting examples to help
+ people who use fonts with spaces in their names.
+
+1999-11-02 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * Distribution files: updates for v1.1.2
+
+ * src/support/lyxstring.C (find): remove bogus assert and return
+ npos for the same condition.
+
+1999-11-01 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * added patch for OS/2 from SMiyata.
+
+1999-10-29 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/text2.C (CutSelection): make space_wrapped a bool
+ (CutSelection): dont declare int i until we have to.
+ (alphaCounter): return a char const *.
+
+1999-10-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/support/syscall.C (Systemcalls::kill):
+ src/support/filetools.C (PutEnv, PutEnvPath):
+ src/lyx_cb.C (addNewlineAndDepth):
+ src/FontInfo.C (FontInfo::resize): condition some #warning
+ directives with WITH_WARNINGS.
+
+
1999-10-28 Lars Gullik Bjønnes <larsbj@lyx.org>
+ * src/layout.[Ch] + several files: access to class variables
+ limited and made accessor functions instead a lot of code changed
+ becuase of this. Also instead of returning pointers often a const
+ reference is returned instead.
+
+ * src/form1.C (create_form_Figure): added a couple fo "no-c-format"
+
+ * src/Makefile.am (dist-hook): added used to remove the CVS from
+ cheaders upon creating a dist
+ (EXTRA_DIST): added cheaders
+
* src/support/lstrings.C (tostr(char)): fix it to handle param as
a character not as a small integer.
1999-10-27 Lars Gullik Bjønnes <larsbj@lyx.org>
+ * src/layout.[Ch] src/BufferView.C src/LaTeXFeatures.C
+ src/LyXView.C src/buffer.C src/bufferparams.C
+ src/lyx_cb.C src/lyxfunc.C src/paragraph.C src/text.C
+ src/text2.C src/insets/insetinclude.C:
+ lyxlayout renamed to textclasslist.
+
+ * src/layout.C: some lyxerr changes.
+
+ * src/layout.[Ch] (LyXLayout::Read): changed second paramter to
+ LyXTextClass. rewrote LT_COPYSTYLE, rewrote LT_OBSOLETEDBY
+ (LyXLayoutList): removed all traces of this class.
+ (LyXTextClass::Read): rewrote LT_STYLE
+ (LyXTextClass::hasLayout): new function
+ (LyXTextClass::GetLayout): rewritten to return an iterator + has
+ both const and nonconst version.
+ (LyXTextClass::delete_layout): new function.
+ (LyXTextClassList::Style): bug fix. do the right thing if layout
+ is to big.
+ (LyXTextClassList::NumberOfLayout): new acces to layoutlist.
+ (LyXTextClassList::NameOfLayout): ditto
+ (LyXTextClassList::Load): ditto
+
+ * src/buffer.C (makeLaTeXFile): new access to layoutlist
+
+ * src/LaTeXFeatures.C (getTClassPreamble): new access to layoutlist
+
* src/LyXAction.C (LookupFunc): added a workaround for sun
compiler, on the other hand...we don't know if the current code
compiles on sun at all...
* src/lyx_cb.C (MenuFax): subst fix
(PrintApplyCB): subst fix
+1999-10-26 Juergen Vigna <jug@sad.it>
+
+ * src/table.C (TexEndOfCell) + (DocBookEndOfCell): removed some #if 0
+
+ (Read): Cleaned up this code so now we read only format vestion >= 5
+
1999-10-26 Lars Gullik Bjønnes <larsbj@lyx.org>
+ * src/support/filetools.C (PutEnvPath): subst fix for EMX, how
+ come nobody has complained about this one?
+
+ * src/insets/insetinclude.C (Latex): subst fix
+
+ * src/insets/insetbib.C (getKeys): subst fix
+
+ * src/lyx_main.C (init): subst fix
+
+ * src/layout.C (Read): subst fix
+
+ * src/buffer.C (RoffAsciiTable): subst fix
+
+ * src/lyx_cb.C (MenuFax): subst fix.
+
+ * src/layout.[hC] + some other files: rewrote to use
+ std::container to store textclasses and layouts in.
+ Simplified, removed a lot of code. Make all classes
+ assignable. Further simplifications and review of type
+ use still to be one.
+
+ * src/menus.C (ShowFileMenu/ShowFileMenu2): Use the iterators from
+ lastfiles to create the lastfiles partr of the menu.
+
+ * src/lastfiles.[Ch]: rewritten to use deque to store the
+ lastfiles in. Uses fstream for reading and writing. Simplifies
+ code.
+
+ * src/support/syscall.C: remove explicit cast.
+
+ * src/BufferView.C (CursorToggleCB): removed code snippets that
+ were commented out.
+ use explicat C++ style casts instead of C style casts. also use
+ u_vdata instea of passing pointers in longs.
+
+ * src/PaperLayout.C: removed code snippets that were commented out.
+
+ * src/lyx_gui_misc.C: removed code snippets that were commented out.
+
+ * src/lyx_main.C: removed code snippets that wer commented out.
+
+ * src/paragraph.C: removed code snippets that were commented out.
+
+ * src/lyxvc.C (logClose): use static_cast
+ (logUpdate): ditto
+ (viewLog): remove explicit cast to void*
+ (showLog): removed old commented code
+
+ * src/menus.C: use static_cast instead of C style casts. use
+ u_vdata instead of u_ldata. remove explicit cast to (long) for
+ pointers. Removed old code that was commented out.
+
+ * src/insets/inset.C: removed old commented func
+
+ * src/insets/insetref.C (InsetRef): removed old code that had been
+ commented out for a long time.
+ (Edit): ditto
+ (escape): removed C style cast
+
+ * src/insets/insetlatexaccent.C (Draw): removed old commented code
+
+ * src/insets/insetlatex.C (Draw): removed old commented code
+ (Read): rewritten to use string
+
+ * src/insets/insetlabel.C (escape): removed C style cast
+
+ * src/insets/insetindex.h: removed vdata and ldata from FD_index_form
+
+ * src/insets/insetindex.C: use static_cast and u_vdata, removed
+ old commented code.
+
+ * src/insets/insetinclude.h: removed a couple of stupid bools
+
+ * src/insets/insetinclude.C (include_cb): use static_cast and u_data.
+ (Clone): remove C style cast
+ (getKeys): changed list to lst because of std::list
+
+ * src/insets/inseterror.C (Draw): removed som old commented code.
+
+ * src/insets/insetcommand.C (Draw): removed some old commented code.
+
+ * src/insets/insetbib.C (bibitem_cb): removed code that has been
+ commented out forever.
+ (bibitem_cb): use static_cast instead of C style cast
+ use of vdata changed to u_vdata.
+
+ * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forward the data
+ parameter.
+ (CloseUrlCB): use static_cast instead of C style cast.
+ (CloseUrlCB): added a fl_free form...it seemed to be missing.
+
+ * src/insets/insetinfo.C (Edit): pass object in u_vdata instead
+ (C_InsetInfo_CloseInfoCB): forward the ob parameter
+ (CloseInfoCB): static_cast from ob->u_vdata instead.
+ (Edit): removed bogus arg from fl_set_object_shortcut, set to 1
+ instead.
+
+ * src/insets/inseterror.C (Edit): pass object in u_vdata instead
+ (C_InsetError_CloseErrorCB): forward the ob parameter
+ (CloseErrorCB): static_cast from ob->u_vdata instead.
+
+ * src/vspace.h: include LString.h since we use string in this class.
+
+ * src/vspace.C (lyx_advance): changed name from advance because of
+ nameclash with stl. And since we cannot use namespaces yet...I
+ used a lyx_ prefix instead. Expect this to change when we begin
+ using namespaces.
+
+ * src/BufferView.[Ch] (BufferView::~BufferView): removed
+
+ * src/BackStack.h: rewrote to use std::stack. made BackStackItem
+ and removed now defunct constructor and deconstructor.
+
+ * src/BufferView.h: have backstack as a object not as a pointer.
+ removed initialization from constructor. added include for BackStack
+
* development/lyx.spec.in (%build): add CFLAGS also.
* src/screen.C (drawFrame): removed another warning.
1999-10-24 Lars Gullik Bjønnes <larsbj@lyx.org>
+1999-10-24 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/LaTeX.C (run): made run_bibtex also depend on files with
+ extension ".bst"
+ (runBibTeX): added scans for "\\bibstyle", now also ".bst" files
+ are put into the dependency file.
+
* src/spellchecker.C (create_ispell_pipe): removed old #warning,
the code has shown itself to work
(create_ispell_pipe): removed another warning, added a comment
1999-10-22 Lars Gullik Bjønnes <larsbj@lyx.org>
+ * src/LaTeX.C (run): added a check in 0 sumchange so that if it
+ was a bib file that had been changed we ensure that bibtex is run.
+ (runBibTeX): enhanced to extract the names of the bib files and
+ getting their absolute path and enter them into the dep file.
+ (findtexfile): static func that is used to look for tex-files,
+ checks for absolute patchs and tries also with kpsewhich.
+ Alternative ways of finding the correct files are wanted. Will
+ probably be moved.
+ (do_popen): function that runs a command using popen and returns
+ the whole output of that command in a string. Should be moved to
+ somewhere else.
+
+ * src/DepTable.[Ch] (extchanged): new function that returns true if a
+ file with extension ext has changed.
+
* src/insets/figinset.C: added ifdef guards around the fl_free
code that jug commented out. Now it is commented out when
compiling with XForms == 0.89.
1999-10-20 Lars Gullik Bjønnes <larsbj@lyx.org>
+ * src/support/lyxstring.C (getline): reads now _all_ chars. uses
+ get instead of >>
+
+ * src/Literate.h: some funcs moved from public to private to make
+ interface clearer. Unneeded args removed.
+
+ * src/Literate.C (scanLiterateLogFile): rewritten to use iostream
+ instead of lyxlex.
+ (scanBuildLogFile): ditto
+
+ * src/LaTeX.C (scanLogFile): merged LaTeX Error handling into
+ normal TeX Error. Still room for improvement.
+
+ * src/LaTeX.[Ch]: removed scanError. Wrong place and not needed.
+
+ * src/buffer.C (insertErrors): changes to make the error
+ desctription show properly.
+
+ * src/LaTeX.C (deplog): removed the test for file in lyx doc dir.
+ could never happen
+
* src/support/lyxstring.C (helper): changed to use
sizeof(object->rep->ref).
(operator>>): changed to use a pointer instead.
* src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
LyXLex::next() and not eatline() to get its argument.
+1999-10-17 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/DepTable.[Ch]: rewritten to store the dependencies in a map
+ instead, use fstreams for io of the depfile, removed unneeded
+ functions and variables.
+
+ * src/LaTeX.[Ch] (class TeXErrors): rewrote to store the errors in a
+ vector instead, removed all functions and variables that is not in
+ use.
+
1999-10-16 Lars Gullik Bjønnes <larsbj@lyx.org>
+ * src/buffer.C (insertErrors): use new interface to TeXError
+
* Makefile.am (rpmdist): added a rpmdist target
* lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as