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