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