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