+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