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