1 1999-10-13 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * po/*.po: merged with lyx.pot becuase of make distcheck
5 * lib/Makefile.am (dist-hook): added dist-hook so that
6 documentation files will be included when doing a make
7 dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
8 (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
10 more: tried to make install do the right thing, exclude CVS dirs
13 * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
14 Path would fit in more nicely.
16 * all files that used to use pathstack: uses now Path instead.
17 This change was a lot easier than expected.
19 * src/support/path.h: new file
21 * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
23 * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
25 * src/support/lyxstring.C (getline): Default arg was given for
28 * Configure.cmd: removed file
30 1999-10-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
32 * src/support/DebugStream.[Ch]: remove the explicit std:: before
33 streams classes and types, add the proper 'using' statements when
34 MODERN_STL is defined.
36 * src/debug.h: move the << operator definition after the inclusion
39 * src/support/filetools.C: include "LAssert.h", which is needed
42 * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
45 * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
46 include "debug.h" to define a proper ostream.
48 1999-10-12 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
50 * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
51 method to the SystemCall class which can kill a process, but it's
52 not fully implemented yet.
54 * src/*.C: Changed Systemcalls::Startscript() to startscript()
56 * src/support/FileInfo.h: Better documentation
58 * src/lyxfunc.C: Added support for buffer-export html
60 * src/menus.C: Added Export->As HTML...
62 * lib/bind/*.bind: Added short-cut for buffer-export html
64 * src/lyxrc.*: Added support for new \tth_command
66 * lib/lyxrc.example: Added stuff for new \tth_command
68 1999-10-12 Lars Gullik Bjønnes <larsbj@lyx.org>
70 * lib/Makefile.am (IMAGES): removed images/README
71 (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
72 installes in correct place. Check permisions is installed
75 * src/LaTeX.C: some no-op changes moved declaration of some
78 * src/LaTeX.h (LATEX_H): changed include guard name
80 1999-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
82 * lib/reLyX/Makefile.am: install noweb2lyx.
84 * lib/Makefile.am: install configure.
86 * lib/reLyX/configure.in: declare a config aux dir; set package
87 name to lyx (not sure what the best solution is); generate noweb2lyx.
89 * lib/layouts/egs.layout: fix the bibliography layout.
91 1999-10-08 Jürgen Vigna <jug@sad.it>
93 * src/support/filetools.C (FileOpenSearch): Fixed a bug where
94 when in the PATH was something like /usr/bin;;/bin (note: the ;;)
95 it returned without continuing to search the path.
97 1999-10-07 Lars Gullik Bjønnes <larsbj@lyx.org>
99 * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
100 also fixes a bug. It is not allowed to do tricks with std::strings
101 like: string a("hei"); &a[e]; this will not give what you
102 think... Any reason for the complexity in this func?
104 1999-10-06 Asger Alstrup Nielsen <alstrup@diku.dk>
106 * Updated README and INSTALL a bit, mostly to check that my
107 CVS rights are correctly set up.
109 1999-10-06 Lars Gullik Bjønnes <larsbj@lyx.org>
111 * src/support/lyxstring.C (helper): removed bogus Assert. strlen
112 does not allow '\0' chars but lyxstring and std::string does.
114 1999-10-05 Lars Gullik Bjønnes <larsbj@lyx.org>
116 * autogen.sh (AUTOCONF): let the autogen script create the
117 POTFILES.in file too. POTFILES.in should perhaps now not be
118 included in the cvs module.
120 * some more files changed to use C++ includes instead of C ones.
122 * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
124 (Reread): added tostr to nlink. buggy output otherwise.
125 (Reread): added a string() around szMode when assigning to Buffer,
126 without this I got a log of garbled info strings.
128 * acconfig.h: commented out the PTR_AS_INT macros. They should not
131 * I have added several ostream & operator<<(ostream &, some_type)
132 functions. This has been done to avoid casting and warnings when
133 outputting enums to lyxerr. This as thus eliminated a lot of
134 explicit casts and has made the code clearer. Among the enums
135 affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
136 mathed enums, some font enum the Debug::type enum.
138 * src/support/lyxstring.h (clear): missing method. equivalent of
141 * all files that contained "stderr": rewrote constructs that used
142 stderr to use lyxerr instead. (except bmtable)
144 * src/support/DebugStream.h (level): and the passed t with
145 Debug::ANY to avoid spurious bits set.
147 * src/debug.h (Debug::type value): made it accept strings of the
150 * configure.in (Check for programs): Added a check for kpsewhich,
151 the latex generation will use this later to better the dicovery of
154 * src/BufferView.C (create_view): we don't need to cast this to
155 (void*) that is done automatically.
156 (WorkAreaButtonPress): removed some dead code.
158 1999-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
160 * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
161 is not overwritten when translated (David Sua'rez de Lis).
163 * lib/CREDITS: Added David Sua'rez de Lis
165 * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
167 * src/bufferparams.C (BufferParams): default input encoding is now
170 * acinclude.m4 (cross_compiling): comment out macro
171 LYX_GXX_STRENGTH_REDUCE.
173 * acconfig.h: make sure that const is not defined (to empty) when
174 we are compiling C++. Remove commented out code using SIZEOF_xx
177 * configure.in : move the test for const and inline as late as
178 possible so that these C tests do not interefere with C++ ones.
179 Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
182 1999-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
184 * src/table.C (getDocBookAlign): remove bad default value for
187 * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
189 (ShowFileMenu2): ditto.
191 * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
194 1999-10-04 Lars Gullik Bjønnes <larsbj@lyx.org>
196 * Most files: finished the change from the old error code to use
197 DebugStream for all lyxerr debugging. Only minor changes remain
198 (e.g. the setting of debug levels using strings instead of number)
200 1999-10-02 Lars Gullik Bjønnes <larsbj@lyx.org>
202 * src/layout.C (Add): Changed to use compare_no_case instead of
205 * src/FontInfo.C: changed loop variable type too string::size_type.
207 1999-10-01 Lars Gullik Bjønnes <larsbj@lyx.org>
209 * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
210 set ETAGS_ARGS to --c++
212 1999-09-30 Lars Gullik Bjønnes <larsbj@lyx.org>
214 * src/table.C (DocBookEndOfCell): commented out two unused variables
216 * src/paragraph.C: commented out four unused variables.
218 * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
219 insed a if clause with type string::size_type.
221 * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
224 * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
226 * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
227 variable, also changed loop to go from 0 to lenght + 1, instead of
228 -1 to length. This should be correct.
230 * src/LaTeX.C (scanError): use string::size_type as loop variable
233 * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
234 (l.896) since y_tmp and row was not used anyway.
236 * src/insets/insetref.C (escape): use string::size_type as loop
239 * src/insets/insetquotes.C (Width): use string::size_type as loop
241 (Draw): use string::size_type as loop variable type.
243 * src/insets/insetlatexaccent.C (checkContents): use
244 string::size_type as loop variable type.
246 * src/insets/insetlabel.C (escape): use string::size_type as loop
249 * src/insets/insetinfo.C: added an extern for current_view.
251 * src/insets/insetcommand.C (scanCommand): use string::size_type
252 as loop variable type.
254 * most files: removed the RCS tags. With them we had to recompile
255 a lot of files after a simple cvs commit. Also we have never used
256 them for anything meaningful.
258 * most files: tags-query-replace NULL 0. As adviced several plases
259 we now use "0" instead of "NULL" in our code.
261 * src/support/filetools.C (SpaceLess): use string::size_type as
264 1999-09-29 Lars Gullik Bjønnes <larsbj@lyx.org>
266 * src/paragraph.C: fixed up some more string stuff.
268 1999-09-28 Lars Gullik Bjønnes <larsbj@lyx.org>
270 * src/support/filetools.h: make modestr a std::string.
272 * src/filetools.C (GetEnv): made ch really const.
274 * src/lyxlib.h: removed the Maximum and Minimum inline functions,
275 made code that used these use max/min from <algorithm> instead.
277 * changed several c library include files to their equivalent c++
278 library include files. All is not changed yet.
280 * created a support subdir in src, put lyxstring and lstrings
281 there + the extra files atexit, fileblock, strerror. Created
282 Makefile.am. edited configure.in and src/Makefile.am to use this
283 new subdir. More files moved to support.
285 * imported som of the functions from repository lyx, filetools
287 * ran tags-query-replace on LString -> string, corrected the bogus
288 cases. Tried to make use of lstrings.[hC], debugged a lot. There
289 is still some errors in there. This is errors where too much or
290 too litle get deleted from strings (string::erase, string::substr,
291 string::replace), there can also be some off by one errors, or
292 just plain wrong use of functions from lstrings. Viewing of quotes
295 * LyX is now running fairly well with string, but there are
296 certainly some bugs yet (see above) also string is quite different
297 from LString among others in that it does not allow null pointers
298 passed in and will abort if it gets any.
300 * Added the revtex4 files I forgot when setting up the repository.
302 1999-09-27 Lars Gullik Bjønnes <larsbj@lyx.org>
304 * All over: Tried to clean everything up so that only the files
305 that we really need are included in the cvs repository.
306 * Switched to use automake.
307 * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
308 * Install has not been checked.
310 1999-09-22 Lars Gullik Bjønnes <larsbj@lyx.org>
312 * po/pt.po: Three errors:
313 l.533 and l.538 format specification error
314 l. 402 duplicate entry, I just deleted it.