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