1 1999-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
4 LyXLex::netx() and not eatline() to get its argument.
6 1999-10-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8 * Makefile.am (rpmdist): added a rpmdist target
10 * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
11 per Kayvan's instructions.
13 1999-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15 * src/Makefile.am: add a definition for localedir, so that locales
16 are found after installation (Kayvan)
18 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
20 * development/.cvsignore: new file.
22 1999-10-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
24 * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
25 C++ compiler provides wrappers for C headers and use our alternate
28 * configure.in: use LYX_CXX_CHEADERS.
30 * src/cheader/: new directory, populated with cname headers from
31 libstdc++-2.8.1. They are a bit old, but probably good enough for
32 what we want (support compilers who lack them).
34 * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
35 from includes. It turns out is was stupid.
37 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
39 * lib/Makefile.am (install-data-local): forgot a ';'
40 (install-data-local): forgot a '\'
41 (libinstalldirs): needed after all. reintroduced.
43 1999-10-13 Lars Gullik Bjønnes <larsbj@lyx.org>
45 * configure.in (AC_OUTPUT): added lyx.spec
47 * development/lyx.spec: removed file
49 * development/lyx.spec.in: new file
51 * po/*.po: merged with lyx.pot becuase of make distcheck
53 * lib/Makefile.am (dist-hook): added dist-hook so that
54 documentation files will be included when doing a make
55 dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
56 (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
58 more: tried to make install do the right thing, exclude CVS dirs
61 * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
62 Path would fit in more nicely.
64 * all files that used to use pathstack: uses now Path instead.
65 This change was a lot easier than expected.
67 * src/support/path.h: new file
69 * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
71 * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
73 * src/support/lyxstring.C (getline): Default arg was given for
76 * Configure.cmd: removed file
78 1999-10-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
80 * src/support/DebugStream.[Ch]: remove the explicit std:: before
81 streams classes and types, add the proper 'using' statements when
82 MODERN_STL is defined.
84 * src/debug.h: move the << operator definition after the inclusion
87 * src/support/filetools.C: include "LAssert.h", which is needed
90 * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
93 * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
94 include "debug.h" to define a proper ostream.
96 1999-10-12 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
98 * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
99 method to the SystemCall class which can kill a process, but it's
100 not fully implemented yet.
102 * src/*.C: Changed Systemcalls::Startscript() to startscript()
104 * src/support/FileInfo.h: Better documentation
106 * src/lyxfunc.C: Added support for buffer-export html
108 * src/menus.C: Added Export->As HTML...
110 * lib/bind/*.bind: Added short-cut for buffer-export html
112 * src/lyxrc.*: Added support for new \tth_command
114 * lib/lyxrc.example: Added stuff for new \tth_command
116 1999-10-12 Lars Gullik Bjønnes <larsbj@lyx.org>
118 * lib/Makefile.am (IMAGES): removed images/README
119 (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
120 installes in correct place. Check permisions is installed
123 * src/LaTeX.C: some no-op changes moved declaration of some
126 * src/LaTeX.h (LATEX_H): changed include guard name
128 1999-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
130 * lib/reLyX/Makefile.am: install noweb2lyx.
132 * lib/Makefile.am: install configure.
134 * lib/reLyX/configure.in: declare a config aux dir; set package
135 name to lyx (not sure what the best solution is); generate noweb2lyx.
137 * lib/layouts/egs.layout: fix the bibliography layout.
139 1999-10-08 Jürgen Vigna <jug@sad.it>
141 * src/support/filetools.C (FileOpenSearch): Fixed a bug where
142 when in the PATH was something like /usr/bin;;/bin (note: the ;;)
143 it returned without continuing to search the path.
145 1999-10-07 Lars Gullik Bjønnes <larsbj@lyx.org>
147 * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
148 also fixes a bug. It is not allowed to do tricks with std::strings
149 like: string a("hei"); &a[e]; this will not give what you
150 think... Any reason for the complexity in this func?
152 1999-10-06 Asger Alstrup Nielsen <alstrup@diku.dk>
154 * Updated README and INSTALL a bit, mostly to check that my
155 CVS rights are correctly set up.
157 1999-10-06 Lars Gullik Bjønnes <larsbj@lyx.org>
159 * src/support/lyxstring.C (helper): removed bogus Assert. strlen
160 does not allow '\0' chars but lyxstring and std::string does.
162 1999-10-05 Lars Gullik Bjønnes <larsbj@lyx.org>
164 * autogen.sh (AUTOCONF): let the autogen script create the
165 POTFILES.in file too. POTFILES.in should perhaps now not be
166 included in the cvs module.
168 * some more files changed to use C++ includes instead of C ones.
170 * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
172 (Reread): added tostr to nlink. buggy output otherwise.
173 (Reread): added a string() around szMode when assigning to Buffer,
174 without this I got a log of garbled info strings.
176 * acconfig.h: commented out the PTR_AS_INT macros. They should not
179 * I have added several ostream & operator<<(ostream &, some_type)
180 functions. This has been done to avoid casting and warnings when
181 outputting enums to lyxerr. This as thus eliminated a lot of
182 explicit casts and has made the code clearer. Among the enums
183 affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
184 mathed enums, some font enum the Debug::type enum.
186 * src/support/lyxstring.h (clear): missing method. equivalent of
189 * all files that contained "stderr": rewrote constructs that used
190 stderr to use lyxerr instead. (except bmtable)
192 * src/support/DebugStream.h (level): and the passed t with
193 Debug::ANY to avoid spurious bits set.
195 * src/debug.h (Debug::type value): made it accept strings of the
198 * configure.in (Check for programs): Added a check for kpsewhich,
199 the latex generation will use this later to better the dicovery of
202 * src/BufferView.C (create_view): we don't need to cast this to
203 (void*) that is done automatically.
204 (WorkAreaButtonPress): removed some dead code.
206 1999-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
208 * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
209 is not overwritten when translated (David Sua'rez de Lis).
211 * lib/CREDITS: Added David Sua'rez de Lis
213 * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
215 * src/bufferparams.C (BufferParams): default input encoding is now
218 * acinclude.m4 (cross_compiling): comment out macro
219 LYX_GXX_STRENGTH_REDUCE.
221 * acconfig.h: make sure that const is not defined (to empty) when
222 we are compiling C++. Remove commented out code using SIZEOF_xx
225 * configure.in : move the test for const and inline as late as
226 possible so that these C tests do not interefere with C++ ones.
227 Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
230 1999-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
232 * src/table.C (getDocBookAlign): remove bad default value for
235 * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
237 (ShowFileMenu2): ditto.
239 * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
242 1999-10-04 Lars Gullik Bjønnes <larsbj@lyx.org>
244 * Most files: finished the change from the old error code to use
245 DebugStream for all lyxerr debugging. Only minor changes remain
246 (e.g. the setting of debug levels using strings instead of number)
248 1999-10-02 Lars Gullik Bjønnes <larsbj@lyx.org>
250 * src/layout.C (Add): Changed to use compare_no_case instead of
253 * src/FontInfo.C: changed loop variable type too string::size_type.
255 1999-10-01 Lars Gullik Bjønnes <larsbj@lyx.org>
257 * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
258 set ETAGS_ARGS to --c++
260 1999-09-30 Lars Gullik Bjønnes <larsbj@lyx.org>
262 * src/table.C (DocBookEndOfCell): commented out two unused variables
264 * src/paragraph.C: commented out four unused variables.
266 * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
267 insed a if clause with type string::size_type.
269 * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
272 * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
274 * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
275 variable, also changed loop to go from 0 to lenght + 1, instead of
276 -1 to length. This should be correct.
278 * src/LaTeX.C (scanError): use string::size_type as loop variable
281 * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
282 (l.896) since y_tmp and row was not used anyway.
284 * src/insets/insetref.C (escape): use string::size_type as loop
287 * src/insets/insetquotes.C (Width): use string::size_type as loop
289 (Draw): use string::size_type as loop variable type.
291 * src/insets/insetlatexaccent.C (checkContents): use
292 string::size_type as loop variable type.
294 * src/insets/insetlabel.C (escape): use string::size_type as loop
297 * src/insets/insetinfo.C: added an extern for current_view.
299 * src/insets/insetcommand.C (scanCommand): use string::size_type
300 as loop variable type.
302 * most files: removed the RCS tags. With them we had to recompile
303 a lot of files after a simple cvs commit. Also we have never used
304 them for anything meaningful.
306 * most files: tags-query-replace NULL 0. As adviced several plases
307 we now use "0" instead of "NULL" in our code.
309 * src/support/filetools.C (SpaceLess): use string::size_type as
312 1999-09-29 Lars Gullik Bjønnes <larsbj@lyx.org>
314 * src/paragraph.C: fixed up some more string stuff.
316 1999-09-28 Lars Gullik Bjønnes <larsbj@lyx.org>
318 * src/support/filetools.h: make modestr a std::string.
320 * src/filetools.C (GetEnv): made ch really const.
322 * src/lyxlib.h: removed the Maximum and Minimum inline functions,
323 made code that used these use max/min from <algorithm> instead.
325 * changed several c library include files to their equivalent c++
326 library include files. All is not changed yet.
328 * created a support subdir in src, put lyxstring and lstrings
329 there + the extra files atexit, fileblock, strerror. Created
330 Makefile.am. edited configure.in and src/Makefile.am to use this
331 new subdir. More files moved to support.
333 * imported som of the functions from repository lyx, filetools
335 * ran tags-query-replace on LString -> string, corrected the bogus
336 cases. Tried to make use of lstrings.[hC], debugged a lot. There
337 is still some errors in there. This is errors where too much or
338 too litle get deleted from strings (string::erase, string::substr,
339 string::replace), there can also be some off by one errors, or
340 just plain wrong use of functions from lstrings. Viewing of quotes
343 * LyX is now running fairly well with string, but there are
344 certainly some bugs yet (see above) also string is quite different
345 from LString among others in that it does not allow null pointers
346 passed in and will abort if it gets any.
348 * Added the revtex4 files I forgot when setting up the repository.
350 1999-09-27 Lars Gullik Bjønnes <larsbj@lyx.org>
352 * All over: Tried to clean everything up so that only the files
353 that we really need are included in the cvs repository.
354 * Switched to use automake.
355 * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
356 * Install has not been checked.
358 1999-09-22 Lars Gullik Bjønnes <larsbj@lyx.org>
360 * po/pt.po: Three errors:
361 l.533 and l.538 format specification error
362 l. 402 duplicate entry, I just deleted it.