]> git.lyx.org Git - features.git/blobdiff - ChangeLog
some changes to get fewer warnings when using strict ansi compilers
[features.git] / ChangeLog
index dc7e3e80d101cc8b71cafc00e69a556fe97e06cf..2beac3fe65af8c3e7faea49eda20d5b94a55b972 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,117 @@
+1999-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * 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