lyx_mirror/ChangeLog

238 lines
8.3 KiB
Plaintext
Raw Normal View History

1999-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lib/reLyX/Makefile.am: install noweb2lyx.
* lib/Makefile.am: do not install LaTeXConfig.lyx.in; 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 <jug@sad.it>
* 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<42>nnes <larsbj@lyx.org>
* src/insets/insetquotes.C (Draw): Simplified a gread deal. This
also fixes a bug. It is not allowed to do tricks with std::strings
like: string a("hei"); &a[e]; this will not give what you
think... Any reason for the complexity in this func?
1999-10-06 Asger Alstrup Nielsen <alstrup@diku.dk>
* Updated README and INSTALL a bit, mostly to check that my
CVS rights are correctly set up.
1999-10-06 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* src/support/lyxstring.C (helper): removed bogus Assert. strlen
does not allow '\0' chars but lyxstring and std::string does.
1999-10-05 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* autogen.sh (AUTOCONF): let the autogen script create the
POTFILES.in file too. POTFILES.in should perhaps now not be
included in the cvs module.
* some more files changed to use C++ includes instead of C ones.
* src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
not assigned.
(Reread): added tostr to nlink. buggy output otherwise.
(Reread): added a string() around szMode when assigning to Buffer,
without this I got a log of garbled info strings.
* acconfig.h: commented out the PTR_AS_INT macros. They should not
be needed.
* I have added several ostream & operator<<(ostream &, some_type)
functions. This has been done to avoid casting and warnings when
outputting enums to lyxerr. This as thus eliminated a lot of
explicit casts and has made the code clearer. Among the enums
affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
mathed enums, some font enum the Debug::type enum.
* src/support/lyxstring.h (clear): missing method. equivalent of
erase(0, npos).
* all files that contained "stderr": rewrote constructs that used
stderr to use lyxerr instead. (except bmtable)
* src/support/DebugStream.h (level): and the passed t with
Debug::ANY to avoid spurious bits set.
* src/debug.h (Debug::type value): made it accept strings of the
type INFO,INIT,KEY.
* configure.in (Check for programs): Added a check for kpsewhich,
the latex generation will use this later to better the dicovery of
all used files.
* src/BufferView.C (create_view): we don't need to cast this to
(void*) that is done automatically.
(WorkAreaButtonPress): removed some dead code.
1999-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
is not overwritten when translated (David Sua'rez de Lis).
* lib/CREDITS: Added David Sua'rez de Lis
* lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
* src/bufferparams.C (BufferParams): default input encoding is now
"latin1"
* acinclude.m4 (cross_compiling): comment out macro
LYX_GXX_STRENGTH_REDUCE.
* acconfig.h: make sure that const is not defined (to empty) when
we are compiling C++. Remove commented out code using SIZEOF_xx
macros.
* configure.in : move the test for const and inline as late as
possible so that these C tests do not interefere with C++ ones.
Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
has not been proven.
1999-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/table.C (getDocBookAlign): remove bad default value for
isColumn parameter.
* src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
shortcut.
(ShowFileMenu2): ditto.
* lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
of files to ignore.
1999-10-04 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* Most files: finished the change from the old error code to use
DebugStream for all lyxerr debugging. Only minor changes remain
(e.g. the setting of debug levels using strings instead of number)
1999-10-02 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* src/layout.C (Add): Changed to use compare_no_case instead of
strcasecmp.
* src/FontInfo.C: changed loop variable type too string::size_type.
1999-10-01 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
set ETAGS_ARGS to --c++
1999-09-30 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* src/table.C (DocBookEndOfCell): commented out two unused variables
* src/paragraph.C: commented out four unused variables.
* src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
insed a if clause with type string::size_type.
* src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
string::size_type.
* src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
* src/lyx_cb.C (ReplaceWord): use string::size_type as loop
variable, also changed loop to go from 0 to lenght + 1, instead of
-1 to length. This should be correct.
* src/LaTeX.C (scanError): use string::size_type as loop variable
type.
* src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
(l.896) since y_tmp and row was not used anyway.
* src/insets/insetref.C (escape): use string::size_type as loop
variable type.
* src/insets/insetquotes.C (Width): use string::size_type as loop
variable type.
(Draw): use string::size_type as loop variable type.
* src/insets/insetlatexaccent.C (checkContents): use
string::size_type as loop variable type.
* src/insets/insetlabel.C (escape): use string::size_type as loop
variable type.
* src/insets/insetinfo.C: added an extern for current_view.
* src/insets/insetcommand.C (scanCommand): use string::size_type
as loop variable type.
* most files: removed the RCS tags. With them we had to recompile
a lot of files after a simple cvs commit. Also we have never used
them for anything meaningful.
* most files: tags-query-replace NULL 0. As adviced several plases
we now use "0" instead of "NULL" in our code.
* src/support/filetools.C (SpaceLess): use string::size_type as
loop variable type.
1999-09-29 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* src/paragraph.C: fixed up some more string stuff.
1999-09-28 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* src/support/filetools.h: make modestr a std::string.
* src/filetools.C (GetEnv): made ch really const.
* src/lyxlib.h: removed the Maximum and Minimum inline functions,
made code that used these use max/min from <algorithm> instead.
* changed several c library include files to their equivalent c++
library include files. All is not changed yet.
* created a support subdir in src, put lyxstring and lstrings
there + the extra files atexit, fileblock, strerror. Created
Makefile.am. edited configure.in and src/Makefile.am to use this
new subdir. More files moved to support.
* imported som of the functions from repository lyx, filetools
* ran tags-query-replace on LString -> string, corrected the bogus
cases. Tried to make use of lstrings.[hC], debugged a lot. There
is still some errors in there. This is errors where too much or
too litle get deleted from strings (string::erase, string::substr,
string::replace), there can also be some off by one errors, or
just plain wrong use of functions from lstrings. Viewing of quotes
is wrong.
* LyX is now running fairly well with string, but there are
certainly some bugs yet (see above) also string is quite different
from LString among others in that it does not allow null pointers
passed in and will abort if it gets any.
* Added the revtex4 files I forgot when setting up the repository.
1999-09-27 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* All over: Tried to clean everything up so that only the files
that we really need are included in the cvs repository.
* Switched to use automake.
* Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
* Install has not been checked.
1999-09-22 Lars Gullik Bj<42>nnes <larsbj@lyx.org>
* po/pt.po: Three errors:
l.533 and l.538 format specification error
l. 402 duplicate entry, I just deleted it.