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