X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=ChangeLog;h=9cb6d5304736406a3b3ded39e2f7c6b123535eee;hb=de59e7e1140aca41c23e0c6e54fafb5e8c0718e5;hp=803919880800999367e561d1ecd6df92a5df85e1;hpb=457e414febf318290c0fa017a63ed4fc4926672b;p=lyx.git diff --git a/ChangeLog b/ChangeLog index 8039198808..9cb6d53047 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,981 @@ +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. + +2000-01-13 Jean-Marc Lasgouttes + + * src/texrow.C (getIdFromRow): actually return something useful in + id and pos. Hopefully fixes the bug with positionning of errorbox + insets. + + * src/lyx_main.C (easyParse): output an error and exit if an + incorrect command line option has been given. + + * src/spellchecker.C (ispell_check_word): document a memory leak. + + * src/bufferlist.C (write): fix mismatched allocation/deletion, + where a "struct utimbuf" is allocated with "new" and deleted with + "delete[]". + +2000-01-13 Lars Gullik Bjønnes + + * src/text2.C (CutSelection): don't delete double spaces. + (PasteSelection): ditto + (CopySelection): ditto + + * src/text.C (Backspace): don't delete double spaces. + + * src/lyxlex.C (next): fix a bug that were only present with + conformant std::istream::get to read comment lines, use + std::istream::getline instead. This seems to fix the problem. + +2000-01-12 Lars Gullik Bjønnes + + * src/text2.C (DeleteEmptyParagraphMechanism): fix for the "not + allowed to insert space before space" editing problem. Please read + commends at the beginning of the function. Comments about usage + are very welcome. + + * src/text.C (InsertChar): fix for the "not allowed to insert + space before space" editing problem. + + * src/text2.C (DeleteEmptyParagraphMechanism): when + IsEmptyTableRow can only return false this last "else if" will + always be a no-op. Commented out. + + * src/text.C (RedoParagraph): As far as I can understand tmp + cursor is not really needed. + + * src/lyxtext.[Ch] (IsEmptyTableCell): commented out. As used at + present it could only return false anyway. + (several functions): Did something not so smart...added a const + specifier on a lot of methods. + + * src/paragraph.C (BreakParagraph): removed the tmp->text.reserve + and add a tmp->text.resize. The LyXParagraph constructor does the + resize for us. + (BreakParagraphConservative): ditto + + * src/support/path.h (Path): add a define so that the wrong usage + "Path("/tmp") will be flagged as a compilation error: + "`unnamed_Path' undeclared (first use this function)" + +2000-01-12 Jean-Marc Lasgouttes + + * config/lyxinclude.m4 (LYX_FUNC_PUTENV_ARGTYPE): fix the macro, + which was bogus for several reasons. + + * src/LaTeX.C (scanAux): fix the regular expression used to scan + .aux files. + (runBibTeX): ditto. + + * autogen.sh: do not use "type -path" (what's that anyway?). + + * src/support/filetools.C (findtexfile): remove extraneous space + which caused a kpsewhich warning (at least with kpathsea version + 3.0). + +2000-01-11 Lars Gullik Bjønnes + + * src/mathed/Makefile.am (noinst_LTLIBRARIES): use .la + + * src/insets/Makefile.am (noinst_LTLIBRARIES): use .la + + * src/Makefile.am (lyx_DEPENDENCIES): switch back to .la libs + +2000-01-11 Jean-Marc Lasgouttes + + * src/paragraph.C (BreakParagraph): do not reserve space on text + if we don't need to (otherwise, if pos_end < pos, we end up + reserving huge amounts of memory due to bad unsigned karma). + (BreakParagraphConservative): ditto, although I have not seen + evidence the bug can happen here. + + * src/lyxparagraph.h: add a using std::list. + +2000-01-11 Juergen Vigna + + * src/menus.C (MenuDocu): output an Alert if the documentation-file + could not be found. + +2000-01-11 Lars Gullik Bjønnes + + * src/vc-backend.C (doVCCommand): change to be static and take one + more parameter: the path to chdir too be fore executing the command. + (retrive): new function equiv to "co -r" + + * src/bufferlist.C (loadLyXFile): implement the missing parts if + file_not_found_hook is true. + + * src/lyxvc.C (file_not_found_hook): implement file_not_found_hook. + + * src/support/filetools.C (IsFileWriteable): use FileInfo to check + if a file is readwrite,readonly...anything else. + +2000-01-10 Lars Gullik Bjønnes + + * src/lyx_cb.C (MakeLaTeXOutput): name change from MakeDVIOutput + (CreatePostscript): name change from MenuRunDVIPS (or something) + (PreviewPostscript): name change from MenuPreviewPS + (PreviewDVI): name change from MenuPreviewDVI + + * lib/lyxrc.example: added \pdflatex_command, \pdf_mode, + \view_pdf_command., \pdf_to_ps_command + + * lib/configure.m4: added search for PDF viewer, and search for + PDF to PS converter. + (lyxrc.defaults output): add \pdflatex_command, + \view_pdf_command and \pdf_to_ps_command. + + * src/lyx_cb.C (MenuPreviewDVI): renamed from MenuPreview. + + * src/bufferlist.C (write): we don't use blocksize for anything so + I removed it. + +2000-01-10 Jean-Marc Lasgouttes + + * src/support/block.h: disable operator T* (), since it causes + problems with both compilers I tried. See comments in the file. + + * lib/reLyX/configure.in: do not define LYX_DIR. support flag + --with-lyxname. + + * lib/reLyX/reLyX.in: change LYX_DIR to pkgdatadir; change env. + variable LYX_DIR_10x to LYX_DIR_11x. + + * src/Makefile.am: replace variable LYX_DIR with pkgdatadir. + + * INSTALL: document --with-lyxname. + * NEWS: ditto. + + * configure.in: new configure flag --with-lyxname which allows to + choose the name under which lyx is installed. Default is "lyx", of + course. It used to be possible to do this with --program-suffix, + but the later has in fact a different meaning for autoconf. + + * src/support/lstrings.h (lstrchr): reformat a bit. + + * src/lyxlex.h: include LIstream.h, for Sun CC this time. + * src/mathed/math_defs.h: ditto. + +2000-01-09 Lars Gullik Bjønnes + + * src/lyxrc.[Ch]: New tag and variable "\make_backup". Defaults to + true, decides if we create a backup file or not when saving. New + tag and variable \pdf_mode, defaults to false. New tag and + variable \pdflatex_command, defaults to pdflatex. New tag and + variable \view_pdf_command, defaults to xpdf. New tag and variable + \pdf_to_ps_command, defaults to pdf2ps. + +2000-01-08 Lars Gullik Bjønnes + + * src/bufferlist.C (close): don't call insetUnlock if the buffer + does not have a BufferView. + (unlockInset): ditto + don't access the_locking_inset if the + buffer does not have a BufferView. + + * src/LyXView.C (KeyPressMask_raw_callback): add a XSync in + certain circumstances so that we don't continue a keyboard + operation long after the key was released. Try f.ex. to load a + large document, press PageDown for some seconds and then release + it. Before this change the document would contine to scroll for + some time, with this change it stops imidiatly. + + * src/support/block.h: don't allocate more space than needed. As + long as we don't try to write to the arr[x] in a array_type arr[x] + it is perfectly ok. (if you write to it you might segfault). + added operator value_type*() so that is possible to pass the array + to functions expecting a C-pointer. + + * lib/Makefile.am (dist-hook): don't fail completely if unable to + cvs. + + * intl/*: updated to gettext 0.10.35, tried to add our own + required modifications. Please verify. + + * po/*: updated to gettext 0.10.35, tried to add our own required + modifications. Please verify. + + * src/support/lstrings.C (tostr): go at fixing the problem with + cxx and stringstream. When stringstream is used return + oss.str().c_str() so that problems with lyxstring and basic_string + are avoided. Note that the best solution would be for cxx to use + basic_string all the way, but it is not conformant yet. (it seems) + + * src/lyx_cb.C + other files: moved several global functions to + class BufferView, some have been moved to BufferView.[Ch] others + are still located in lyx_cb.C. Code changes because of this. (part + of "get rid of current_view project".) + + * src/buffer.C + other files: moved several Buffer functions to + class BufferView, the functions are still present in buffer.C. + Code changes because of this. + + * config/lcmessage.m4: updated to most recent. used when creating + acinclude.m4. + + * config/progtest.m4: updated to most recent. used when creating + acinclude.m4. + + * config/gettext.m4: updated to most recent. applied patch for + tmplinguas. + + * config/gettext.m4.patch: new file that shows what changes we + have done to the local copy of gettext.m4. + + * config/libtool.m4: new file, used in creation of acinclude.m4 + + * config/lyxinclude.m4: new file, this is the lyx created m4 + macros, used in making acinclude.m4. + + * autogen.sh: GNU m4 discovered as a separate task not as part of + the lib/configure creation. + Generate acinlucde from files in config. Actually cat + lyxinclude.m4, libtool.m4 and gettext.m4 together. This makes it + easier to upgrade .m4 files that really are external. + + * src/Spacing.h: moved using std::istringstream to right after + . This should fix the problem seen with some compilers. + +2000-01-06 Lars Gullik Bjønnes + + * src/lyx_cb.C: began some work to remove the dependency a lot of + functions have on BufferView::text, even if not really needed. + (GetCurrentTextClass): removed this func, it only hid the + current_view. + + * src/Makefile.am (lyx_DEPENDENCIES): use support/libsupport.la I + forgot this in last commit. + + * src/Bullet.C (bulletEntry): use static char const *[] for the + tables, becuase of this the return arg had to change to string. + (bulletSize): ditto + (~Bullet): removed unneeded destructor + + * src/BufferView.C (beforeChange): moved from lyx_cb.C + (insetSleep): moved from Buffer + (insetWakeup): moved from Buffer + (insetUnlock): moved from Buffer + + * buffer.[Ch], BufferView.[Ch] + others: moved the_locking_inset + from Buffer to BufferView. + + * acinclude.m4: include libtool.m4 from libtool 1.3.4. + + * config/ltmain.sh: updated to version 1.3.4 of libtool + + * config/ltconfig: updated to version 1.3.4 of libtool + +2000-01-06 Jean-Marc Lasgouttes + + + * src/buffer.C (pop_tag): fix a dubious for() loop initialization. + Did I get that right? + + * src/lyxlex.h: add a "using" directive or two. + * src/Spacing.h: ditto. + * src/insets/figinset.C: ditto. + * src/support/filetools.C: ditto. + * src/support/lstrings.C: ditto. + * src/BufferView.C: ditto. + * src/bufferlist.C: ditto. + * src/lyx_cb.C: ditto. + * src/lyxlex.C: ditto. + + * NEWS: add some changes for 1.1.4. + +2000-01-06 Lars Gullik Bjønnes + + * src/BufferView.C: first go at a TextCache to speed up switching + between documents. + +2000-01-05 Jean-Marc Lasgouttes + + * 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 + + * 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 + + * 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 + + * src/support/lstrings.C (tostr): rewritten to use strstream and + stringstream + +1999-12-28 Lars Gullik Bjønnes + + * 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 + + * 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 + + * src/support/LRegex.C: include 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 + + * 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 + + * 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 + + * 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 compiler 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 + + * src/mathed/math_draw.C (Draw, Metrics): fix a bug where a prime + and a subscript would give bad display (patch from Dekel Tsur + ). + + * 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 + + * 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 + + * The global MiniBuffer * minibuffer variable is dead. + + * The global FD_form_main * fd_form_main variable is dead. + +1999-12-17 Jean-Marc Lasgouttes + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 * src/mathed/math_hash.C (math_hash): renamed from hash(), name clash.