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