X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=ChangeLog;h=9b18bad7ffd020ee545746fa38b80b29034b0e55;hb=863fff8fb8023aadcb1c4674b14b9b79ac7a0e58;hp=c84244119856903d49247636a7c2f22082a1c706;hpb=457cfb113a22d25b0f6961c0464b424b219d5153;p=lyx.git diff --git a/ChangeLog b/ChangeLog index c842441198..9b18bad7ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,613 @@ +1999-11-03 Lars Gullik Bjønnes + + * src/support/lyxstring.C (compare): pass c_str() + (compare): pass c_str + (compare): pass c_str + +1999-11-03 Jean-Marc Lasgouttes + + * src/support/DebugStream.C: was not included correctly. + + * lib/configure: forgot to re-generate it :( I'll make this file + auto generated soon. + +1999-11-03 Lars Gullik Bjønnes + + * acinclude.m4 (cross_compiling): add -fpermissive when gcc 2.95.x + is used. + + * src/support/lyxstring.C: some changes from length() to rep->sz. + avoids a function call. + + * src/support/filetools.C (SpaceLess): yet another version of the + algorithm...now per Jean-Marc's suggestions. + +1999-11-02 Lars Gullik Bjønnes + + * src/support/filetools.C (SpaceLess): new version of the + SpaceLess functions. What problems does this one give? Please + report. + + * images/banner_bw.xbm: made the arrays unsigned char * + +1999-11-02 Jean-Marc Lasgouttes + + * src/support/lyxstring.C (find): remove bogus assertion in the + two versions of find where this has not been done yet. + + * src/support/lyxlib.h: add missing int return type to + lyx::chdir(). + + * src/menus.C (ShowFileMenu): disable exporting to html if no + html export command is present. + + * config/lib_configure.m4: add a test for an HTML converter. The + programs checked for are, in this order: tth, latex2html and + hevea. + + * lib/configure: generated from config/lib_configure.m4. + + * src/lyxfunc.C (Dispatch): update and improve the execution of an + html converter. The parameters are now passed through $$FName and + $$OutName, instead of standard input/output. + + * src/lyxrc.{C,h}: rename \tth_command to \html_command. + + * lib/lyxrc.example: update description of \html_command. + add "quotes" around \screen_font_xxx font setting examples to help + people who use fonts with spaces in their names. + +1999-11-02 Lars Gullik Bjønnes + + * Distribution files: updates for v1.1.2 + + * src/support/lyxstring.C (find): remove bogus assert and return + npos for the same condition. + +1999-11-01 Lars Gullik Bjønnes + + * added patch for OS/2 from SMiyata. + +1999-10-28 Jean-Marc Lasgouttes + + * src/support/syscall.C (Systemcalls::kill): + src/support/filetools.C (PutEnv, PutEnvPath): + src/lyx_cb.C (addNewlineAndDepth): + src/FontInfo.C (FontInfo::resize): condition some #warning + directives with WITH_WARNINGS. + + +1999-10-28 Lars Gullik Bjønnes + + * src/form1.C (create_form_Figure): added a couple fo "no-c-format" + + * src/Makefile.am (dist-hook): added used to remove the CVS from + cheaders upon creating a dist + (EXTRA_DIST): added cheaders + + * src/support/lstrings.C (tostr(char)): fix it to handle param as + a character not as a small integer. + + * src/support/lyxstring.C (find): removed Assert and added i >= + rep->sz to the first if. + +1999-10-27 Lars Gullik Bjønnes + + * src/LyXAction.C (LookupFunc): added a workaround for sun + compiler, on the other hand...we don't know if the current code + compiles on sun at all... + + * src/support/filetools.C (CleanupPath): subst fix + + * src/insets/insetbib.C (delDatabase): subst fix, this looks + _really_ weird. + + * src/support/filetools.C (PutEnvPath): subst fix, how come nobody + complained about this one? + + * src/insets/insetinclude.C (Latex): subst fix + + * src/insets/insetbib.C (getKeys): subst fix + + * src/LyXSendto.C (SendtoApplyCB): subst fix + + * src/lyx_main.C (init): subst fix + + * src/layout.C (Read): subst fix + + * src/lyx_sendfax_main.C (button_send): subst fix + + * src/buffer.C (RoffAsciiTable): subst fix + + * src/lyx_cb.C (MenuFax): subst fix + (PrintApplyCB): subst fix + +1999-10-26 Lars Gullik Bjønnes + + * development/lyx.spec.in (%build): add CFLAGS also. + + * src/screen.C (drawFrame): removed another warning. + +1999-10-25 Jean-Marc Lasgouttes + + * 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-25 Lars Gullik Bjønnes + + * 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 + + * 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 + + * 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 + + * 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 to the test. + +1999-10-23 Lars Gullik Bjønnes + + * 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 + + * 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 + + * 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 + + * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers + and . + + * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks + whether 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 + + * 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 + + * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass + the 'ob' argument. + +1999-10-21 Juergen Vigna + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 . 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 + + * 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 + + * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a + string. + +1999-10-18 Jean-Marc Lasgouttes + + * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses + LyXLex::next() and not eatline() to get its argument. + +1999-10-16 Lars Gullik Bjønnes + + * 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 + + * src/Makefile.am: add a definition for localedir, so that locales + are found after installation (Kayvan) + +1999-10-14 Lars Gullik Bjønnes + + * development/.cvsignore: new file. + +1999-10-14 Jean-Marc Lasgouttes + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * lib/reLyX/Makefile.am: install noweb2lyx. + + * lib/Makefile.am: install configure. + + * lib/reLyX/configure.in: declare a config aux dir; set package + name to lyx (not sure what the best solution is); generate noweb2lyx. + + * lib/layouts/egs.layout: fix the bibliography layout. + +1999-10-08 Jürgen Vigna + + * src/support/filetools.C (FileOpenSearch): Fixed a bug where + when in the PATH was something like /usr/bin;;/bin (note: the ;;) + it returned without continuing to search the path. + 1999-10-07 Lars Gullik Bjønnes * src/insets/insetquotes.C (Draw): Simplified a gread deal. This