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