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