X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=ChangeLog;h=9cb6d5304736406a3b3ded39e2f7c6b123535eee;hb=de59e7e1140aca41c23e0c6e54fafb5e8c0718e5;hp=a7bc67466da0db19bb49b51592ddf5bf9c71c6bd;hpb=722d679779a28fb8cef1b98138d7524631fb9429;p=lyx.git diff --git a/ChangeLog b/ChangeLog index a7bc67466d..9cb6d53047 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,240 @@ +2000-01-26 Jean-Marc Lasgouttes + + * lib/reLyX/reLyX.in: use variable @LYX_DIR@ as built-in data + directory. + + * lib/reLyX/configure.in (LYX_DIR): re-introduce this variable + that I removed earlier... It is really needed. + + * lib/examples/multicol.lyx: new file, splitted from Extended.lyx. + +2000-01-25 Jean-Marc Lasgouttes + + * INSTALL: update xforms home page URL. + + * lib/configure.m4: fix a bug with unreadable layout files. + + * src/table.C (calculate_width_of_column): add "using std::max" + directive. + +2000-01-25 Lars Gullik Bjønnes + + * several files: marked several lines with "DEL LINE", this is + lines that can be deleted without changing anything. + if () // DEL LINE /* this line is _never_ needed. Delete + checks this anyway */ + delete + + * src/insets/insetlatexaccent.C: Changed some debugs to Debug::KEY + + * src/DepTable.C (update): add a "+" at the end when the checksum + is different. (debugging string only) + + * src/paragraph.C (ReturnNextInsetPointer): fix bug that caused + the next inset to not be displayed. This should also fix the list + of labels in the "Insert Crossreference" dialog. + +2000-01-24 Lars Gullik Bjønnes + + * src/support/LSubstring.C (LSubstring): set pos to string::npos + when regex was not found. + + * src/support/lstrings.C (lowercase): use handcoded transform always. + (uppercase): ditto + + * src/text.C (Delete): fixed the crash. cursor.par->prev and + old_cursor.par->prev could be 0. + + * several files: changed post inc/dec to pre inc/dec + + * src/lastfiles.C (writeFile): use ostream_iterator and copy to + write the lastfiles to file. + + * src/BufferView.C (buffer): only show TextCache info when debugging + (buffer): ditto + (resizeCurrentBuffer): ditto + (workAreaExpose): ditto + + * lib/kbd/iso8859-7.cdef: changed to new quoting scheme + + * lib/kbd/iso8859-2.cdef: changed to new quoting scheme + + * src/insets/insetlatexaccent.C (Draw): make the display of UMLAUT + a bit better by removing the special case for \i and \j. + +2000-01-24 Jean-Marc Lasgouttes + + * src/lyx_main.C (easyParse): remove test for bad comand line + options, since this broke all xforms-related parsing. + + * src/kbmap.C (getsym): set return type to unsigned long, as + declared in header. On an alpha, long is _not_ the same as int. + + * src/support/LOstream.h: add a "using std::flush;" + + * src/insets/figinset.C: ditto. + +2000-01-21 Lars Gullik Bjønnes + + * src/bufferlist.C (write): use blinding fast file copy instead of + "a char at a time", now we are doing it the C++ way. + + * src/insets/figinset.C: get rid of struct pidwaitpit, use a + std::list instead. + (addpidwait): reflect move to std::list + (sigchldchecker): ditto + + * src/bmtable.c (fl_set_bmtable_file): have arguments in the X r5 + version also. + + * src/paragraph.C (FirstPhysicalPar): remove assert and comment + that obviously was wrong... + + * src/lyxfont.C (textWidth): have c as char c[2] instead of char + c, this avoids warnings with purify and islower. + + * src/insets/figinset.C: rename struct queue to struct + queue_element and rewrite to use a std::queue. gsqueue is now a + std::queue + (runqueue): reflect move to std::queue + (addwait): ditto + + * src/support/lstrings.h (tostr): specialize for bool, otherwise + we would get "1" "0" instead of "true" "false. Also make the tostr + functions inline. + +2000-01-21 Juergen Vigna + + * src/buffer.C (writeFileAscii): Disabled code for special groff + handling of tabulars till I fix this in table.C + +2000-01-21 Jean-Marc Lasgouttes + + * src/support/mkdir.C (mkdir): change second argument of mkdir to + unsigned long int. + * src/support/lyxlib.h: ditto. + +2000-01-20 Lars Gullik Bjønnes + + * src/insets/insetlatexaccent.C (Draw): make accents on top of 'i' + and 'j' look better. This might fix the "macron" bug that has been + observed. + + * src/support/lstrings.[Ch] (tostr): reimplement all the tostr + functions as one template function. Delete the old versions. + + * src/support/lyxsum.C: move using std::ifstream inside + MODERN_STL_STREAMS + + * src/support/Makefile.am (libsupport_la_SOURCES): added mkdir.C + and putenv.C + + * src/mathed/formulamacro.C: delete #include "bufferlist.h" never used + + * src/mathed/formula.C: delete #include "bufferlist.h" never used + + * src/insets/figinset.C (InitFigures): use new instead of malloc + to allocate memory for figures and bitmaps. + (DoneFigures): use delete[] instead of free to deallocate memory + for figures and bitmaps. + (runqueue): use new to allocate + (getfigdata): use new/delete[] instead of malloc/free + (RegisterFigure): ditto + + * some files: moved some declarations closer to first use, small + whitespace changes use preincrement instead of postincrement where + it does not make a difference. + + * src/kbmap.[Ch]: delete code according to define NO_HASH, it is a + step on the way to use stl::containers for key maps. + + * src/bufferlist.h: add a typedef for const_iterator and const + versions of begin and end. + + * src/bufferlist.[Ch]: change name of member variable _state to + state_. (avoid reserved names) + (makePup): removed + (getFileNames): returns the filenames of the buffers in a vector. + + * configure.in (ALL_LINGUAS): added ro + + * src/support/putenv.C: new file + + * src/support/mkdir.C: new file + +2000-01-20 Allan Rae + + * lib/layouts/IEEEtran.layout: Added several theorem environments + + * lib/templates/IEEEtran.lyx: Example theorem environments and a + couple of minor additions. + + * lib/doc/LaTeXConfig.lyx.in: Use URL insets for ftp sites + (except for those in footnotes of course) + +2000-01-19 Lars Gullik Bjønnes + + * src/lyxlookup.C (CloseLyXLookup): set xic=0; after destruction. + + * src/mathed/math_utils.C (MathedLookupBOP): rewrite to use + std::sort and std::lower_bound instead of qsort and handwritten + binarysearch. + (struct compara): struct that holds the functors used by std::sort + and std::lower_bound in MathedLookupBOP. + +2000-01-19 Jean-Marc Lasgouttes + + * src/support/LAssert.h: do not do partial specialization. We do + not really need it. + + * src/support/lyxlib.h: note that lyx::getUserName() and + lyx::date() are not in use right now. Should these be suppressed? + + * src/buffer.C (makeLaTeXFile): we do not need the user name here. + (makeLinuxDocFile): do not put date and user name in linuxdoc + headers. + + * src/support/lyxlib.h (kill): change first argument to long int, + since that's what solaris uses. + + * src/support/kill.C (kill): fix declaration to match prototype. + + * config/lyxinclude.m4 (LYX_CXX_NAMESPACES): fix the macro to + actually check whether namespaces are supported. This is not what + it used to do. + + * src/support/lyxsum.C: add a using directive. + +2000-01-17 Lars Gullik Bjønnes + + * src/support/kill.C: if we have namespace support we don't have + to include lyxlib.h. + + * src/support/lyxlib.h: use namespace lyx if supported. + +2000-01-14 Lars Gullik Bjønnes + + * src/support/date.C: new file + + * src/support/chdir.C: new file + + * src/support/getUserName.C: new file + + * src/support/getcwd.C: new file + + * src/support/abort.C: new file + + * src/support/kill.C: new file + + * src/support/lyxlib.h: moved all the functions in this file + insede struct lyx. Added also kill and abort to this struct. This + is a way to avoid the "kill is not defined in ", we make + C++ wrappers for functions that are not ANSI C or ANSI C++. + + * src/support/lyxsum.C (sum): use #ifdef MODERN_STL_STREAMS + instead of #if __GLIBCPP__. Since lyxsum is now put inside struct + lyx it has been renamed to sum. + 2000-01-14 Jean-Marc Lasgouttes * src/text.C: add using directives for std::min and std::max.