+1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
+ OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
+ README and ANNOUNCE a bit for the next release. More work is
+ needed, of course.
+
+ * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
+ unbreakable if we are in freespacing mode (LyX-Code), but not in
+ latex mode.
+
+1999-10-26 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * development/lyx.spec.in (%build): add CFLAGS also.
+
+ * src/screen.C (drawFrame): removed another warning.
+
+1999-10-25 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/BackStack.h: fixed initialization order in constructor
+
+ * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
+
+ * acinclude.m4 (VERSION): new rules for when a version is
+ development, added also a variable for prerelease.
+ (warnings): we set with_warnings=yes for prereleases
+ (lyx_opt): prereleases compile with same optimization as development
+ (CXXFLAGS): only use pedantic if we are a development version
+
+ * src/BufferView.C (restorePosition): don't do anything if the
+ backstack is empty.
+
+ * src/BackStack.h: added member empty, use this to test if there
+ is anything to pop...
+
+1999-10-25 Juergen Vigna <jug@sad.it>
+
+ * forms/form1.fd +
+ * forms/layout_forms.fd +
+ * forms/latexoptions.fd +
+ * lyx.fd: changed for various form resize issues
+
+ * src/mathed/math_panel.C +
+ * src/insets/inseterror.C +
+ * src/insets/insetinfo.C +
+ * src/insets/inseturl.C +
+ * src/insets/inseturl.h +
+ * src/LaTeXLog.C +
+ * src/LyXSendto.C +
+ * src/PaperLayout.C +
+ * src/ParagraphExtra.C +
+ * src/TableLayout.C +
+ * src/form1.C +
+ * src/layout_forms.C +
+ * src/lyx.C +
+ * src/lyx_cb.C +
+ * src/lyx_gui.C +
+ * src/lyxfr0.C +
+ * src/lyxfunc.C +
+ * src/lyxvc.C +
+ * src/menus.C: fixed various resize issues. So now forms can be
+ resized savely or not be resized at all.
+
+ * forms/form_url.fd +
+ * src/insets/form_url.[Ch]: added because it's cleaner and easier
+ to modify IMO.
+
+ * src/insets/Makefile.am: added files form_url.[Ch]
+
+1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * INSTALL: it is now possible to compile LyX with digital C++ 6.1
+ (and presumably 6.2).
+
+ * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
+ menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
+ remaining static member callbacks.
+
+ * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
+ messages.
+
+ * src/support/lyxstring.h: declare struct Srep as friend of
+ lyxstring, since DEC cxx complains otherwise.
+
+1999-10-24 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * 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
+ instead.
+
+ * src/minibuffer.C (ExecutingCB): removed code that has been
+ commented out a long time
+
+ * src/lyxfunc.C (processKeyEvent): removed some very old commented
+ out code + a warning.
+
+ * src/support/lyxstring.h: comment out the three private
+ operators, when compiling with string ansi conforming compilers
+ they make problems.
+
+ * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
+ unsigned char *.
+ (pixmapFromBitmapData): change type of bdata to be unsigned char *
+ (pixmapFromBitmapData): add a reinterpret_cast in the call to
+ XCreateImage
+
+ * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
+ unsigned char *
+
+ * src/mathed/math_panel.C (create_math_panel): remove explicit
+ casts
+
+ * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
+ unsigned char *.
+
+ * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
+ (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
+ to XCreatePixmapFromBitmapData
+ (fl_set_bmtable_data): change the last argument to be unsigned
+ char *
+ (fl_set_bmtable_file): change bdata to unsinged char *, change bw
+ and bh to be unsigned int, remove explicit casts in call to
+ XReadBitmapFileData.
+
+ * images/arrows.xbm: made the arrays unsigned char *
+ * images/varsz.xbm: ditto
+ * images/misc.xbm: ditto
+ * images/greek.xbm: ditto
+ * images/dots.xbm: ditto
+ * images/brel.xbm: ditto
+ * images/bop.xbm: ditto
+
+ * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
+
+ * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed.
+ (LYX_PROG_CXX): added -pedantic to g++ compile options when
+ with-warnings, removed the __STRING_ANSI__ hack, seems to not be
+ needed.
+ (LYX_CXX_CHEADERS): added <clocale> to the test.
+
+1999-10-23 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
+
+ * src/support/lyxstring.C (append): fixed something that must be a
+ bug, rep->assign was used instead of rep->append.
+
+ * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
+ and LOstream.h
+
+ * src/lyxfunc.C (processKeyEvent): removed faulty line that made
+ lyx insert double chars. Fix spotted by Kayvan.
+
+1999-10-23 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
+
+ * Fixed the tth support. I messed up with the Emacs patch apply feature
+ and omitted the changes in lyxrc.C.
+
+1999-10-22 Juergen Vigna <jug@sad.it>
+
+ * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
+
+ * src/lyx_cb.C (MenuInsertRef) +
+ * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
+ the form cannot be resized under it limits (fixes a segfault)
+
+ * src/lyx.C (create_form_form_ref) +
+ * forms/lyx.fd: Changed Gravity on name input field so that it is
+ resized correctly.
+
+1999-10-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
+ <ostream> and <istream>.
+
+ * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
+ whether <fstream> provides the latest standard features, or if we
+ have an oldstyle library (like in egcs).
+ (LYX_CXX_STL_STRING): fix the test.
+
+ * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
+ code on MODERN_STL_STREAM.
+
+ * src/support/lyxstring.h: use L{I,O}stream.h.
+
+ * src/support/L{I,O}stream.h: new files, designed to setup
+ correctly streams for our use
+ - includes the right header depending on STL capabilities
+ - puts std::ostream and std::endl (for LOStream.h) or
+ std::istream (LIStream.h) in toplevel namespace.
+
+1999-10-22 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * 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.
+
+ * src/support/lyxstring.C: moved the definition of lyxstring::Srep
+ to lyxstring.C, and only keep a forward declaration in
+ lyxstring.h. Simplifies the header file a bit and should help a
+ bit on compile time too. Also changes to Srep will not mandate a
+ recompile of code just using string.
+ (~lyxstring): definition moved here since it uses srep.
+ (size): definition moved here since it uses srep.
+
+ * src/support/lyxstring.h: removed a couple of "inline" that should
+ not be there.
+
+1999-10-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
+ the 'ob' argument.
+
+1999-10-21 Juergen Vigna <jug@sad.it>
+
+ * src/table.C (SetPWidth): Just a small fix so the alignment is not
+ set to left if I just remove the width entry (or it is empty).
+
+ * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
+ paragraph when having dummy paragraphs.
+
+1999-10-20 Juergen Vigna <jug@sad.it>
+
+ * src/insets/figinset.C: just commented some fl_free_form calls
+ and added warnings so that this calls should be activated later
+ again. This avoids for now a segfault, but we have a memory leak!
+
+ * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
+ 'const char * argument' to 'string argument', this should
+ fix some Asserts() in lyxstring.C.
+
+ * src/lyxfunc.h: Removed the function argAsString(const char *)
+ as it is not used anymore.
+
+1999-10-20 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/lyxstring.C (helper): changed to use
+ sizeof(object->rep->ref).
+ (operator>>): changed to use a pointer instead.
+
+ * src/support/lyxstring.h: changed const reference & to value_type
+ const & lets see if that helps.
+
+1999-10-19 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * Makefile.am (rpmdist): fixed to have non static package and
+ verison.
+
+ * src/support/lyxstring.C: removed the compilation guards
+
+ * src/vspace.C (nextToken): use i + 1 instead of ++i. Maks things
+ a bit clearer.
+
+ * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
+ conditional compile of lyxstring.Ch
+
+ * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
+ stupid check, but it is a lot better than the bastring hack.
+ (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING
+
+ * several files: changed string::erase into string::clear. Not
+ really needed.
+
+ * src/chset.C (encodeString): use a char temporary instead
+
+ * src/table.C (TexEndOfCell): added tostr around
+ column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
+ (TexEndOfCell): ditto
+ (TexEndOfCell): ditto
+ (TexEndOfCell): ditto
+ (DocBookEndOfCell): ditto
+ (DocBookEndOfCell): ditto
+ (DocBookEndOfCell): ditto
+ (DocBookEndOfCell): ditto
+
+ * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
+
+ * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
+
+ * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
+ (MenuBuildProg): added tostr around ret
+ (MenuRunChktex): added tostr around ret
+ (DocumentApplyCB): added tostr around ret
+
+ * src/chset.C (encodeString): added tostr around t->ic
+
+ * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
+ (makeLaTeXFile): added tostr around tocdepth
+ (makeLaTeXFile): added tostr around ftcound - 1
+
+ * src/insets/insetbib.C (setCounter): added tostr around counter.
+
+ * src/support/lyxstring.h: added an operator+=(int) to catch more
+ mistakes.
+
+ * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
+ (lyxstring): We DON'T allow NULL pointers.
+
+1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/mathed/math_macro.C (MathMacroArgument::Write,
+ MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
+ when writing them out.
+
+ * src/LString.C: remove, since it is not used anymore.
+
+ * src/support/lyxstring.C: condition the content to
+ USE_INCLUDED_STRING macro.
+
+ * src/mathed/math_symbols.C, src/support/lstrings.C,
+ src/support/lyxstring.C: add `using' directive to specify what
+ we need in <algorithm>. I do not think that we need to
+ conditionalize this, but any thought is appreciated.
+
+ * many files: change all callback functions to "C" linkage
+ functions to please strict C++ compilers like DEC cxx 6.1 in mode
+ strict_ansi. Those who were static are now global.
+ The case of callbacks which are static class members is
+ trickier, since we have to make C wrappers around them (see
+ InsetError, InsetInfo and InsetUrl). The same holds for friends. I
+ did not finish this yet, since it defeats the purpose of
+ encapsulation, and I am not sure what the best route is.
+
+1999-10-19 Juergen Vigna <jug@sad.it>
+
+ * src/support/lyxstring.C (lyxstring): we permit to have a null
+ pointer as assignment value and just don't assign it.
+
+ * src/vspace.C (nextToken): corrected this function substituting
+ find_first(_not)_of with find_last_of.
+
+ * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
+ (TableOptCloseCB) (TableSpeCloseCB):
+ inserted fl_set_focus call for problem with fl_hide_form() in
+ xforms-0.89.
+
+1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
+ string.
+
+1999-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
+ LyXLex::next() and not eatline() to get its argument.
+
+1999-10-16 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * Makefile.am (rpmdist): added a rpmdist target
+
+ * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
+ per Kayvan's instructions.
+
+1999-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/Makefile.am: add a definition for localedir, so that locales
+ are found after installation (Kayvan)
+
+1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * development/.cvsignore: new file.
+
+1999-10-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
+ C++ compiler provides wrappers for C headers and use our alternate
+ version otherwise.
+
+ * configure.in: use LYX_CXX_CHEADERS.
+
+ * src/cheader/: new directory, populated with cname headers from
+ libstdc++-2.8.1. They are a bit old, but probably good enough for
+ what we want (support compilers who lack them).
+
+ * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
+ from includes. It turns out is was stupid.
+
+1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * lib/Makefile.am (install-data-local): forgot a ';'
+ (install-data-local): forgot a '\'
+ (libinstalldirs): needed after all. reintroduced.
+
+1999-10-13 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * configure.in (AC_OUTPUT): added lyx.spec
+
+ * development/lyx.spec: removed file
+
+ * development/lyx.spec.in: new file
+
+ * po/*.po: merged with lyx.pot becuase of make distcheck
+
+ * lib/Makefile.am (dist-hook): added dist-hook so that
+ documentation files will be included when doing a make
+ dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
+ (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
+ conditional later.
+ more: tried to make install do the right thing, exclude CVS dirs
+ etc.
+
+ * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
+ Path would fit in more nicely.
+
+ * all files that used to use pathstack: uses now Path instead.
+ This change was a lot easier than expected.
+
+ * src/support/path.h: new file
+
+ * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
+
+ * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
+
+ * src/support/lyxstring.C (getline): Default arg was given for
+ para 3. removed.
+
+ * Configure.cmd: removed file
+
+1999-10-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/support/DebugStream.[Ch]: remove the explicit std:: before
+ streams classes and types, add the proper 'using' statements when
+ MODERN_STL is defined.
+
+ * src/debug.h: move the << operator definition after the inclusion
+ of DebugStream.h
+
+ * src/support/filetools.C: include "LAssert.h", which is needed
+ later.
+
+ * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
+ to includes.
+
+ * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
+ include "debug.h" to define a proper ostream.
+
+1999-10-12 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
+
+ * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
+ method to the SystemCall class which can kill a process, but it's
+ not fully implemented yet.
+
+ * src/*.C: Changed Systemcalls::Startscript() to startscript()
+
+ * src/support/FileInfo.h: Better documentation
+
+ * src/lyxfunc.C: Added support for buffer-export html
+
+ * src/menus.C: Added Export->As HTML...
+
+ * lib/bind/*.bind: Added short-cut for buffer-export html
+
+ * src/lyxrc.*: Added support for new \tth_command
+
+ * lib/lyxrc.example: Added stuff for new \tth_command
+
+1999-10-12 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * lib/Makefile.am (IMAGES): removed images/README
+ (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
+ installes in correct place. Check permisions is installed
+ correctly.
+
+ * src/LaTeX.C: some no-op changes moved declaration of some
+ variables around.
+
+ * src/LaTeX.h (LATEX_H): changed include guard name
+
1999-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lib/reLyX/Makefile.am: install noweb2lyx.