]> git.lyx.org Git - features.git/blob - ChangeLog
fixed rpmdist + automerged po files
[features.git] / ChangeLog
1 1999-10-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
2
3         * Makefile.am (rpmdist): fixed to have non static package and
4         verison.
5
6         * src/support/lyxstring.C: removed the compilation guards
7
8         * src/vspace.C (nextToken): use i + 1  instead of ++i. Maks things
9         a bit clearer.
10
11         * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
12         conditional compile of lyxstring.Ch
13
14         * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
15         stupid check, but it is a lot better than the bastring hack. 
16         (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING  
17
18         * several files: changed string::erase into string::clear. Not
19         really needed.
20         
21         * src/chset.C (encodeString): use a char temporary instead
22
23         * src/table.C (TexEndOfCell): added tostr around
24         column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
25         (TexEndOfCell): ditto
26         (TexEndOfCell): ditto
27         (TexEndOfCell): ditto
28         (DocBookEndOfCell): ditto
29         (DocBookEndOfCell): ditto
30         (DocBookEndOfCell): ditto
31         (DocBookEndOfCell): ditto
32
33         * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
34
35         * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
36
37         * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
38         (MenuBuildProg): added tostr around ret
39         (MenuRunChktex): added tostr around ret
40         (DocumentApplyCB): added tostr around ret
41
42         * src/chset.C (encodeString): added tostr around t->ic
43
44         * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
45         (makeLaTeXFile): added tostr around tocdepth
46         (makeLaTeXFile): added tostr around ftcound - 1
47
48         * src/insets/insetbib.C (setCounter): added tostr around counter.
49
50         * src/support/lyxstring.h: added an operator+=(int) to catch more
51         mistakes. 
52
53         * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
54         (lyxstring): We DON'T allow NULL pointers.
55
56 1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
57
58         * src/mathed/math_macro.C (MathMacroArgument::Write,
59         MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
60         when writing them out.
61
62         * src/LString.C: remove, since it is not used anymore.
63         
64         * src/support/lyxstring.C: condition the content to
65         USE_INCLUDED_STRING macro.
66
67         * src/mathed/math_symbols.C, src/support/lstrings.C,
68         src/support/lyxstring.C: add `using' directive to specify what
69         we need in <algorithm>. I do not think that we need to
70         conditionalize this, but any thought is appreciated.
71
72         * many files: change all callback functions to "C" linkage
73         functions to please strict C++ compilers like DEC cxx 6.1 in mode
74         strict_ansi. Those who were static are now global. 
75             The case of callbacks which are static class members is
76         trickier, since we have to make C wrappers around them (see
77         InsetError, InsetInfo and InsetUrl). The same holds for friends. I
78         did not finish this yet, since it defeats the purpose of
79         encapsulation, and I am not sure what the best route is.
80
81 1999-10-19  Juergen Vigna  <jug@sad.it>
82
83         * src/support/lyxstring.C (lyxstring): we permit to have a null
84         pointer as assignment value and just don't assign it.
85
86         * src/vspace.C (nextToken): corrected this function substituting
87         find_first(_not)_of with find_last_of.
88
89         * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
90                 (TableOptCloseCB) (TableSpeCloseCB):
91         inserted fl_set_focus call for problem with fl_hide_form() in
92         xforms-0.89.
93
94 1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
95
96         * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
97         string. 
98
99 1999-10-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
100
101         * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
102         LyXLex::next() and not eatline() to get its argument.
103
104 1999-10-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
105
106         * Makefile.am (rpmdist): added a rpmdist target
107
108         * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
109         per Kayvan's instructions.
110
111 1999-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
112
113         * src/Makefile.am: add a definition for localedir, so that locales
114         are found after installation (Kayvan)
115
116 1999-10-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
117
118         * development/.cvsignore: new file.
119
120 1999-10-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
121
122         * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
123         C++ compiler provides wrappers for C headers and use our alternate
124         version otherwise.
125
126         * configure.in: use LYX_CXX_CHEADERS.
127
128         * src/cheader/: new directory, populated with cname headers from
129         libstdc++-2.8.1. They are a bit old, but probably good enough for
130         what we want (support compilers who lack them).
131         
132         * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
133         from includes. It turns out is was stupid.
134  
135 1999-10-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
136
137         * lib/Makefile.am (install-data-local): forgot a ';'
138         (install-data-local): forgot a '\'
139         (libinstalldirs): needed after all. reintroduced.
140
141 1999-10-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
142
143         * configure.in (AC_OUTPUT): added lyx.spec
144
145         * development/lyx.spec: removed file
146
147         * development/lyx.spec.in: new file
148
149         * po/*.po: merged with lyx.pot becuase of make distcheck
150         
151         * lib/Makefile.am (dist-hook): added dist-hook so that
152         documentation files will be included when doing a make
153         dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
154         (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
155         conditional later.
156         more: tried to make install do the right thing, exclude CVS dirs
157         etc.
158
159         * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
160         Path would fit in more nicely.
161
162         * all files that used to use pathstack: uses now Path instead.
163         This change was a lot easier than expected.
164         
165         * src/support/path.h: new file
166
167         * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
168
169         * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
170
171         * src/support/lyxstring.C (getline): Default arg was given for
172         para 3. removed.
173
174         * Configure.cmd: removed file 
175
176 1999-10-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
177
178         * src/support/DebugStream.[Ch]: remove the explicit std:: before
179         streams classes and types, add the proper 'using' statements when
180         MODERN_STL is defined.
181         
182         * src/debug.h: move the << operator definition after the inclusion
183         of DebugStream.h
184
185         * src/support/filetools.C: include "LAssert.h", which is needed
186         later. 
187
188         * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
189         to includes. 
190
191         * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
192         include "debug.h" to define a proper ostream.
193
194 1999-10-12  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>
195
196         * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
197           method to the SystemCall class which can kill a process, but it's
198           not fully implemented yet.
199
200         * src/*.C: Changed Systemcalls::Startscript() to startscript()
201
202         * src/support/FileInfo.h: Better documentation  
203
204         * src/lyxfunc.C: Added support for buffer-export html
205         
206         * src/menus.C: Added Export->As HTML...
207         
208         * lib/bind/*.bind: Added short-cut for buffer-export html
209
210         * src/lyxrc.*: Added support for new \tth_command
211         
212         * lib/lyxrc.example: Added stuff for new \tth_command
213
214 1999-10-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
215
216         * lib/Makefile.am (IMAGES): removed images/README
217         (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
218         installes in correct place. Check permisions is installed
219         correctly.
220
221         * src/LaTeX.C: some no-op changes moved declaration of some
222         variables around.
223
224         * src/LaTeX.h (LATEX_H): changed include guard name
225
226 1999-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
227
228         * lib/reLyX/Makefile.am: install noweb2lyx.
229
230         * lib/Makefile.am: install configure. 
231
232         * lib/reLyX/configure.in: declare a config aux dir; set package
233         name to lyx (not sure what the best solution is); generate noweb2lyx.
234
235         * lib/layouts/egs.layout: fix the bibliography layout.
236
237 1999-10-08  Jürgen Vigna <jug@sad.it>
238
239         * src/support/filetools.C (FileOpenSearch): Fixed a bug where
240         when in the PATH was something like /usr/bin;;/bin (note: the ;;)
241         it returned without continuing to search the path.
242         
243 1999-10-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
244
245         * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
246         also fixes a bug. It is not allowed to do tricks with std::strings
247         like: string a("hei"); &a[e]; this will not give what you
248         think... Any reason for the complexity in this func?
249
250 1999-10-06  Asger Alstrup Nielsen  <alstrup@diku.dk>
251
252         * Updated README and INSTALL a bit, mostly to check that my
253         CVS rights are correctly set up.
254
255 1999-10-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
256
257         * src/support/lyxstring.C (helper): removed bogus Assert. strlen
258         does not allow '\0' chars but lyxstring and std::string does.
259
260 1999-10-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
261
262         * autogen.sh (AUTOCONF): let the autogen script create the
263         POTFILES.in file too. POTFILES.in should perhaps now not be
264         included in the cvs module.
265
266         * some more files changed to use C++ includes instead of C ones.
267
268         * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
269         not assigned.
270         (Reread): added tostr to nlink. buggy output otherwise.
271         (Reread): added a string() around szMode when assigning to Buffer,
272         without this I got a log of garbled info strings.
273
274         * acconfig.h: commented out the PTR_AS_INT macros. They should not
275         be needed.
276
277         * I have added several ostream & operator<<(ostream &, some_type)
278         functions. This has been done to avoid casting and warnings when
279         outputting enums to lyxerr. This as thus eliminated a lot of
280         explicit casts and has made the code clearer. Among the enums
281         affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
282         mathed enums, some font enum the Debug::type enum. 
283
284         * src/support/lyxstring.h (clear): missing method. equivalent of
285         erase(0, npos).
286
287         * all files that contained "stderr": rewrote constructs that used
288         stderr to use lyxerr instead. (except bmtable)
289
290         * src/support/DebugStream.h (level): and the passed t with
291         Debug::ANY to avoid spurious bits set.
292
293         * src/debug.h (Debug::type value): made it accept strings of the
294         type INFO,INIT,KEY.
295
296         * configure.in (Check for programs): Added a check for kpsewhich,
297         the latex generation will use this later to better the dicovery of
298         all used files. 
299
300         * src/BufferView.C (create_view): we don't need to cast this to
301         (void*) that is done automatically.
302         (WorkAreaButtonPress): removed some dead code.
303
304 1999-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
305
306         * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
307         is not overwritten when translated (David Sua'rez de Lis).
308
309         * lib/CREDITS: Added David Sua'rez de Lis
310
311         * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
312
313         * src/bufferparams.C (BufferParams): default input encoding is now
314         "latin1" 
315
316         * acinclude.m4 (cross_compiling): comment out macro
317         LYX_GXX_STRENGTH_REDUCE. 
318
319         * acconfig.h: make sure that const is not defined (to empty) when
320         we are compiling C++. Remove commented out code using SIZEOF_xx
321         macros.
322         
323         * configure.in : move the test for const and inline as late as
324         possible so that these C tests do not interefere with C++ ones.
325         Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
326         has not been proven. 
327
328 1999-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
329
330         * src/table.C (getDocBookAlign): remove bad default value for
331         isColumn parameter.
332
333         * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
334         shortcut. 
335         (ShowFileMenu2): ditto.
336
337         * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
338         of files to ignore.
339
340 1999-10-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
341
342         * Most files: finished the change from the old error code to use
343         DebugStream for all lyxerr debugging. Only minor changes remain
344         (e.g. the setting of debug levels using strings instead of number) 
345
346 1999-10-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
347
348         * src/layout.C (Add): Changed to use compare_no_case instead of
349         strcasecmp.
350
351         * src/FontInfo.C: changed loop variable type too string::size_type.
352
353 1999-10-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
354
355         * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
356         set ETAGS_ARGS to --c++ 
357
358 1999-09-30  Lars Gullik Bjønnes  <larsbj@lyx.org>
359
360         * src/table.C (DocBookEndOfCell): commented out two unused variables
361
362         * src/paragraph.C: commented out four unused variables. 
363
364         * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
365         insed a if clause with type string::size_type.
366
367         * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
368         string::size_type.
369
370         * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
371
372         * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
373         variable, also changed loop to go from 0 to lenght + 1, instead of
374         -1 to length. This should be correct.
375
376         * src/LaTeX.C (scanError): use string::size_type as loop variable
377         type.
378
379         * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
380         (l.896) since y_tmp and row was not used anyway.
381
382         * src/insets/insetref.C (escape): use string::size_type as loop
383         variable type.
384
385         * src/insets/insetquotes.C (Width): use string::size_type as loop
386         variable type.
387         (Draw): use string::size_type as loop variable type.
388
389         * src/insets/insetlatexaccent.C (checkContents): use
390         string::size_type as loop variable type.
391
392         * src/insets/insetlabel.C (escape): use string::size_type as loop
393         variable type.
394
395         * src/insets/insetinfo.C: added an extern for current_view.
396
397         * src/insets/insetcommand.C (scanCommand): use string::size_type
398         as loop variable type.
399
400         * most files: removed the RCS tags. With them we had to recompile
401         a lot of files after a simple cvs commit. Also we have never used
402         them for anything meaningful. 
403
404         * most files: tags-query-replace NULL 0. As adviced several plases
405         we now use "0" instead of "NULL" in our code. 
406
407         * src/support/filetools.C (SpaceLess): use string::size_type as
408         loop variable type.
409
410 1999-09-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
411
412         * src/paragraph.C: fixed up some more string stuff.
413
414 1999-09-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
415
416         * src/support/filetools.h: make modestr a std::string.
417
418         * src/filetools.C (GetEnv): made ch really const.
419
420         * src/lyxlib.h: removed the Maximum and Minimum inline functions,
421         made code that used these use max/min from <algorithm> instead.
422
423         * changed several c library include files to their equivalent c++
424         library include files. All is not changed yet.
425
426         * created a support subdir in src, put lyxstring and lstrings
427         there + the extra files atexit, fileblock, strerror. Created
428         Makefile.am. edited configure.in and src/Makefile.am to use this
429         new subdir. More files moved to support.
430
431         * imported som of the functions from repository lyx, filetools
432         
433         * ran tags-query-replace on LString -> string, corrected the bogus
434         cases. Tried to make use of lstrings.[hC], debugged a lot. There
435         is still some errors in there. This is errors where too much or
436         too litle get deleted from strings (string::erase, string::substr,
437         string::replace), there can also be some off by one errors, or
438         just plain wrong use of functions from lstrings. Viewing of quotes
439         is wrong. 
440
441         * LyX is now running fairly well with string, but there are
442         certainly some bugs yet (see above) also string is quite different
443         from LString among others in that it does not allow null pointers
444         passed in and will abort if it gets any.
445         
446         * Added the revtex4 files I forgot when setting up the repository.
447
448 1999-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
449
450         * All over: Tried to clean everything up so that only the files
451           that we really need are included in the cvs repository.
452         * Switched to use automake.
453         * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
454         * Install has not been checked.
455
456 1999-09-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
457
458         * po/pt.po: Three errors:
459                l.533 and l.538 format specification error
460                l. 402 duplicate entry, I just deleted it.
461