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