]> git.lyx.org Git - lyx.git/blobdiff - ChangeLog
stl_string_fwd.h checking improved again. Generalized version also in the works.
[lyx.git] / ChangeLog
index 76772473b510f4cfb5ce5ec534158df9588c0ca9..bf0528d3bce839f7d2bb002b62358b8c81d78ef4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,357 @@
-1999-12-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+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.
        * 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>
+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