]> git.lyx.org Git - lyx.git/blob - ChangeLog
removed bogus Assert
[lyx.git] / ChangeLog
1 1999-10-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
2
3         * src/support/lyxstring.C (helper): removed bogus Assert. strlen
4         does not allow '\0' chars but lyxstring and std::string does.
5
6 1999-10-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
7
8         * configure.in (Check for programs): Added a check for kpsewhich,
9         the latex generation will use this later to better the dicovery of
10         all used files. 
11
12         * src/BufferView.C (create_view): we don't need to cast this to
13         (void*) that is done automatically.
14         (WorkAreaButtonPress): removed some dead code.
15
16 1999-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17
18         * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
19         is not overwritten when translated (David Sua'rez de Lis).
20
21         * lib/CREDITS: Added David Sua'rez de Lis
22
23         * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
24
25         * src/bufferparams.C (BufferParams): default input encoding is now
26         "latin1" 
27
28 1999-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
29
30         * src/table.C (getDocBookAlign): remove bad default value for
31         isColumn parameter.
32
33         * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
34         shortcut. 
35         (ShowFileMenu2): ditto.
36
37         * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
38         of files to ignore.
39
40 1999-10-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
41
42         * src/layout.C (Add): Changed to use compare_no_case instead of
43         strcasecmp.
44
45         * src/FontInfo.C: changed loop variable type too string::size_type.
46
47 1999-10-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
48
49         * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
50         set ETAGS_ARGS to --c++ 
51
52 1999-09-30  Lars Gullik Bjønnes  <larsbj@lyx.org>
53
54         * src/table.C (DocBookEndOfCell): commented out two unused variables
55
56         * src/paragraph.C: commented out four unused variables. 
57
58         * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
59         insed a if clause with type string::size_type.
60
61         * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
62         string::size_type.
63
64         * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
65
66         * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
67         variable, also changed loop to go from 0 to lenght + 1, instead of
68         -1 to length. This should be correct.
69
70         * src/LaTeX.C (scanError): use string::size_type as loop variable
71         type.
72
73         * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
74         (l.896) since y_tmp and row was not used anyway.
75
76         * src/insets/insetref.C (escape): use string::size_type as loop
77         variable type.
78
79         * src/insets/insetquotes.C (Width): use string::size_type as loop
80         variable type.
81         (Draw): use string::size_type as loop variable type.
82
83         * src/insets/insetlatexaccent.C (checkContents): use
84         string::size_type as loop variable type.
85
86         * src/insets/insetlabel.C (escape): use string::size_type as loop
87         variable type.
88
89         * src/insets/insetinfo.C: added an extern for current_view.
90
91         * src/insets/insetcommand.C (scanCommand): use string::size_type
92         as loop variable type.
93
94         * most files: removed the RCS tags. With them we had to recompile
95         a lot of files after a simple cvs commit. Also we have never used
96         them for anything meaningful. 
97
98         * most files: tags-query-replace NULL 0. As adviced several plases
99         we now use "0" instead of "NULL" in our code. 
100
101         * src/support/filetools.C (SpaceLess): use string::size_type as
102         loop variable type.
103
104 1999-09-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
105
106         * src/paragraph.C: fixed up some more string stuff.
107
108 1999-09-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
109
110         * src/support/filetools.h: make modestr a std::string.
111
112         * src/filetools.C (GetEnv): made ch really const.
113
114         * src/lyxlib.h: removed the Maximum and Minimum inline functions,
115         made code that used these use max/min from <algorithm> instead.
116
117         * changed several c library include files to their equivalent c++
118         library include files. All is not changed yet.
119
120         * created a support subdir in src, put lyxstring and lstrings
121         there + the extra files atexit, fileblock, strerror. Created
122         Makefile.am. edited configure.in and src/Makefile.am to use this
123         new subdir. More files moved to support.
124
125         * imported som of the functions from repository lyx, filetools
126         
127         * ran tags-query-replace on LString -> string, corrected the bogus
128         cases. Tried to make use of lstrings.[hC], debugged a lot. There
129         is still some errors in there. This is errors where too much or
130         too litle get deleted from strings (string::erase, string::substr,
131         string::replace), there can also be some off by one errors, or
132         just plain wrong use of functions from lstrings. Viewing of quotes
133         is wrong. 
134
135         * LyX is now running fairly well with string, but there are
136         certainly some bugs yet (see above) also string is quite different
137         from LString among others in that it does not allow null pointers
138         passed in and will abort if it gets any.
139         
140         * Added the revtex4 files I forgot when setting up the repository.
141
142 1999-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
143
144         * All over: Tried to clean everything up so that only the files
145           that we really need are included in the cvs repository.
146         * Switched to use automake.
147         * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
148         * Install has not been checked.
149
150 1999-09-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
151
152         * po/pt.po: Three errors:
153                l.533 and l.538 format specification error
154                l. 402 duplicate entry, I just deleted it.
155