]> git.lyx.org Git - lyx.git/blob - ChangeLog
fix a bug in lyxstring
[lyx.git] / ChangeLog
1 1999-11-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2
3         * src/support/lyxstring.C (find): remove bogus assert and return
4         npos for the same condition.
5
6 1999-11-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
7
8         * added patch for OS/2 from SMiyata.
9
10 1999-10-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11
12         * src/support/syscall.C (Systemcalls::kill): 
13           src/support/filetools.C (PutEnv, PutEnvPath): 
14           src/lyx_cb.C (addNewlineAndDepth): 
15           src/FontInfo.C (FontInfo::resize): condition some #warning
16         directives with WITH_WARNINGS.
17         
18
19 1999-10-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
20
21         * src/form1.C (create_form_Figure): added a couple fo "no-c-format"
22
23         * src/Makefile.am (dist-hook): added used to remove the CVS from
24         cheaders upon creating a dist
25         (EXTRA_DIST): added cheaders
26
27         * src/support/lstrings.C (tostr(char)): fix it to handle param as
28         a character not as a small integer. 
29
30         * src/support/lyxstring.C (find): removed Assert and added i >=
31         rep->sz to the first if.
32
33 1999-10-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
34
35         * src/LyXAction.C (LookupFunc): added a workaround for sun
36         compiler, on the other hand...we don't know if the current code
37         compiles on sun at all...
38
39         * src/support/filetools.C (CleanupPath): subst fix
40
41         * src/insets/insetbib.C (delDatabase): subst fix, this looks
42         _really_ weird.
43
44         * src/support/filetools.C (PutEnvPath): subst fix, how come nobody
45         complained about this one?
46
47         * src/insets/insetinclude.C (Latex): subst fix
48
49         * src/insets/insetbib.C (getKeys): subst fix
50
51         * src/LyXSendto.C (SendtoApplyCB): subst fix
52
53         * src/lyx_main.C (init): subst fix
54
55         * src/layout.C (Read): subst fix
56
57         * src/lyx_sendfax_main.C (button_send): subst fix
58
59         * src/buffer.C (RoffAsciiTable): subst fix
60
61         * src/lyx_cb.C (MenuFax): subst fix
62         (PrintApplyCB): subst fix
63
64 1999-10-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
65
66         * development/lyx.spec.in (%build): add CFLAGS also.
67
68         * src/screen.C (drawFrame): removed another warning.
69
70 1999-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
71
72         * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
73         OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
74         README and ANNOUNCE a bit for the next release. More work is
75         needed, of course.
76
77         * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
78         unbreakable if we are in freespacing mode (LyX-Code), but not in
79         latex mode.
80
81 1999-10-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
82
83         * src/BackStack.h: fixed initialization order in constructor
84
85         * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
86
87         * acinclude.m4 (VERSION): new rules for when a version is
88         development, added also a variable for prerelease.
89         (warnings): we set with_warnings=yes for prereleases
90         (lyx_opt): prereleases compile with same optimization as development 
91         (CXXFLAGS): only use pedantic if we are a development version 
92
93         * src/BufferView.C (restorePosition): don't do anything if the
94         backstack is empty.
95
96         * src/BackStack.h: added member empty, use this to test if there
97         is anything to pop...
98
99 1999-10-25  Juergen Vigna  <jug@sad.it>
100
101         * forms/form1.fd +
102         * forms/layout_forms.fd +
103         * forms/latexoptions.fd +
104         * lyx.fd: changed for various form resize issues
105
106         * src/mathed/math_panel.C +
107         * src/insets/inseterror.C +
108         * src/insets/insetinfo.C +
109         * src/insets/inseturl.C +
110         * src/insets/inseturl.h +
111         * src/LaTeXLog.C +
112         * src/LyXSendto.C +
113         * src/PaperLayout.C +
114         * src/ParagraphExtra.C +
115         * src/TableLayout.C +
116         * src/form1.C +
117         * src/layout_forms.C +
118         * src/lyx.C +
119         * src/lyx_cb.C +
120         * src/lyx_gui.C +
121         * src/lyxfr0.C +
122         * src/lyxfunc.C +
123         * src/lyxvc.C +
124         * src/menus.C: fixed various resize issues. So now forms can be
125         resized savely or not be resized at all.
126         
127         * forms/form_url.fd +
128         * src/insets/form_url.[Ch]: added because it's cleaner and easier
129         to modify IMO.
130
131         * src/insets/Makefile.am: added files form_url.[Ch]
132         
133 1999-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
134
135         * INSTALL: it is now possible to compile LyX with digital C++ 6.1
136         (and presumably 6.2).
137
138         * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
139         menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
140         remaining static member callbacks. 
141
142         * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
143         messages. 
144
145         * src/support/lyxstring.h: declare struct Srep as friend of
146         lyxstring, since DEC cxx complains otherwise.
147
148 1999-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
149
150         * src/spellchecker.C (create_ispell_pipe): removed old #warning,
151         the code has shown itself to work
152         (create_ispell_pipe): removed another warning, added a comment
153         instead. 
154
155         * src/minibuffer.C (ExecutingCB): removed code that has been
156         commented out a long time
157
158         * src/lyxfunc.C (processKeyEvent): removed some very old commented
159         out code + a warning.
160
161         * src/support/lyxstring.h: comment out the three private
162         operators, when compiling with string ansi conforming compilers
163         they make problems.
164
165         * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
166         unsigned char *.
167         (pixmapFromBitmapData): change type of bdata to be unsigned char *
168         (pixmapFromBitmapData): add a reinterpret_cast in the call to
169         XCreateImage
170
171         * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
172         unsigned char *
173
174         * src/mathed/math_panel.C (create_math_panel): remove explicit
175         casts
176
177         * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
178         unsigned char *.
179
180         * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
181         (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
182         to XCreatePixmapFromBitmapData
183         (fl_set_bmtable_data): change the last argument to be unsigned
184         char *
185         (fl_set_bmtable_file): change bdata to unsinged char *, change bw
186         and bh to be unsigned int, remove explicit casts in call to
187         XReadBitmapFileData.
188
189         * images/arrows.xbm: made the arrays unsigned char *
190         * images/varsz.xbm: ditto
191         * images/misc.xbm: ditto
192         * images/greek.xbm: ditto
193         * images/dots.xbm: ditto
194         * images/brel.xbm: ditto
195         * images/bop.xbm: ditto
196
197         * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
198
199         * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed. 
200         (LYX_PROG_CXX): added -pedantic to g++ compile options when
201         with-warnings, removed the __STRING_ANSI__ hack, seems to not be
202         needed. 
203         (LYX_CXX_CHEADERS): added <clocale> to the test. 
204
205 1999-10-23  Lars Gullik Bjønnes  <larsbj@lyx.org>
206
207         * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
208
209         * src/support/lyxstring.C (append): fixed something that must be a
210         bug, rep->assign was used instead of rep->append.
211
212         * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
213         and LOstream.h
214
215         * src/lyxfunc.C (processKeyEvent): removed faulty line that made
216         lyx insert double chars. Fix spotted by Kayvan.
217
218 1999-10-23  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>
219
220         * Fixed the tth support. I messed up with the Emacs patch apply feature
221         and omitted the changes in lyxrc.C.
222
223 1999-10-22  Juergen Vigna  <jug@sad.it>
224
225         * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
226
227         * src/lyx_cb.C (MenuInsertRef) + 
228         * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
229         the form cannot be resized under it limits (fixes a segfault)
230         
231         * src/lyx.C (create_form_form_ref) +
232         * forms/lyx.fd: Changed Gravity on name input field so that it is
233         resized correctly.
234
235 1999-10-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
236
237         * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
238         <ostream> and <istream>.
239         
240         * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
241         whether <fstream> provides the latest standard features, or if we
242         have an oldstyle library (like in egcs).
243         (LYX_CXX_STL_STRING): fix the test.
244
245         * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
246         code on MODERN_STL_STREAM.
247
248         * src/support/lyxstring.h: use L{I,O}stream.h.
249
250         * src/support/L{I,O}stream.h: new files, designed to setup
251         correctly streams for our use
252           - includes the right header depending on STL capabilities
253           - puts std::ostream and std::endl (for LOStream.h) or
254           std::istream (LIStream.h) in toplevel namespace.
255
256 1999-10-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
257
258         * src/insets/figinset.C: added ifdef guards around the fl_free
259         code that jug commented out. Now it is commented out when
260         compiling with XForms == 0.89.
261
262         * src/support/lyxstring.C: moved the definition of lyxstring::Srep
263         to lyxstring.C, and only keep a forward declaration in
264         lyxstring.h. Simplifies the header file a bit and should help a
265         bit on compile time too. Also changes to Srep will not mandate a
266         recompile of code just using string.
267         (~lyxstring): definition moved here since it uses srep.
268         (size): definition moved here since it uses srep.
269
270         * src/support/lyxstring.h: removed a couple of "inline" that should
271         not be there.
272
273 1999-10-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
274
275         * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
276         the 'ob' argument.
277
278 1999-10-21  Juergen Vigna  <jug@sad.it>
279
280         * src/table.C (SetPWidth): Just a small fix so the alignment is not
281         set to left if I just remove the width entry (or it is empty).
282
283         * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
284         paragraph when having dummy paragraphs.
285
286 1999-10-20  Juergen Vigna  <jug@sad.it>
287
288         * src/insets/figinset.C: just commented some fl_free_form calls
289         and added warnings so that this calls should be activated later
290         again. This avoids for now a segfault, but we have a memory leak!
291
292         * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
293         'const char * argument' to 'string argument', this should
294         fix some Asserts() in lyxstring.C.
295
296         * src/lyxfunc.h: Removed the function argAsString(const char *)
297         as it is not used anymore.
298
299 1999-10-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
300
301         * src/support/lyxstring.C (helper): changed to use
302         sizeof(object->rep->ref).
303         (operator>>): changed to use a pointer instead.
304
305         * src/support/lyxstring.h: changed const reference & to value_type
306         const & lets see if that helps.
307
308 1999-10-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
309
310         * Makefile.am (rpmdist): fixed to have non static package and
311         verison.
312
313         * src/support/lyxstring.C: removed the compilation guards
314
315         * src/vspace.C (nextToken): use i + 1  instead of ++i. Maks things
316         a bit clearer.
317
318         * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
319         conditional compile of lyxstring.Ch
320
321         * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
322         stupid check, but it is a lot better than the bastring hack. 
323         (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING  
324
325         * several files: changed string::erase into string::clear. Not
326         really needed.
327         
328         * src/chset.C (encodeString): use a char temporary instead
329
330         * src/table.C (TexEndOfCell): added tostr around
331         column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
332         (TexEndOfCell): ditto
333         (TexEndOfCell): ditto
334         (TexEndOfCell): ditto
335         (DocBookEndOfCell): ditto
336         (DocBookEndOfCell): ditto
337         (DocBookEndOfCell): ditto
338         (DocBookEndOfCell): ditto
339
340         * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
341
342         * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
343
344         * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
345         (MenuBuildProg): added tostr around ret
346         (MenuRunChktex): added tostr around ret
347         (DocumentApplyCB): added tostr around ret
348
349         * src/chset.C (encodeString): added tostr around t->ic
350
351         * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
352         (makeLaTeXFile): added tostr around tocdepth
353         (makeLaTeXFile): added tostr around ftcound - 1
354
355         * src/insets/insetbib.C (setCounter): added tostr around counter.
356
357         * src/support/lyxstring.h: added an operator+=(int) to catch more
358         mistakes. 
359
360         * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
361         (lyxstring): We DON'T allow NULL pointers.
362
363 1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
364
365         * src/mathed/math_macro.C (MathMacroArgument::Write,
366         MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
367         when writing them out.
368
369         * src/LString.C: remove, since it is not used anymore.
370         
371         * src/support/lyxstring.C: condition the content to
372         USE_INCLUDED_STRING macro.
373
374         * src/mathed/math_symbols.C, src/support/lstrings.C,
375         src/support/lyxstring.C: add `using' directive to specify what
376         we need in <algorithm>. I do not think that we need to
377         conditionalize this, but any thought is appreciated.
378
379         * many files: change all callback functions to "C" linkage
380         functions to please strict C++ compilers like DEC cxx 6.1 in mode
381         strict_ansi. Those who were static are now global. 
382             The case of callbacks which are static class members is
383         trickier, since we have to make C wrappers around them (see
384         InsetError, InsetInfo and InsetUrl). The same holds for friends. I
385         did not finish this yet, since it defeats the purpose of
386         encapsulation, and I am not sure what the best route is.
387
388 1999-10-19  Juergen Vigna  <jug@sad.it>
389
390         * src/support/lyxstring.C (lyxstring): we permit to have a null
391         pointer as assignment value and just don't assign it.
392
393         * src/vspace.C (nextToken): corrected this function substituting
394         find_first(_not)_of with find_last_of.
395
396         * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
397                 (TableOptCloseCB) (TableSpeCloseCB):
398         inserted fl_set_focus call for problem with fl_hide_form() in
399         xforms-0.89.
400
401 1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
402
403         * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
404         string. 
405
406 1999-10-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
407
408         * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
409         LyXLex::next() and not eatline() to get its argument.
410
411 1999-10-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
412
413         * Makefile.am (rpmdist): added a rpmdist target
414
415         * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
416         per Kayvan's instructions.
417
418 1999-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
419
420         * src/Makefile.am: add a definition for localedir, so that locales
421         are found after installation (Kayvan)
422
423 1999-10-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
424
425         * development/.cvsignore: new file.
426
427 1999-10-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
428
429         * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
430         C++ compiler provides wrappers for C headers and use our alternate
431         version otherwise.
432
433         * configure.in: use LYX_CXX_CHEADERS.
434
435         * src/cheader/: new directory, populated with cname headers from
436         libstdc++-2.8.1. They are a bit old, but probably good enough for
437         what we want (support compilers who lack them).
438         
439         * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
440         from includes. It turns out is was stupid.
441  
442 1999-10-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
443
444         * lib/Makefile.am (install-data-local): forgot a ';'
445         (install-data-local): forgot a '\'
446         (libinstalldirs): needed after all. reintroduced.
447
448 1999-10-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
449
450         * configure.in (AC_OUTPUT): added lyx.spec
451
452         * development/lyx.spec: removed file
453
454         * development/lyx.spec.in: new file
455
456         * po/*.po: merged with lyx.pot becuase of make distcheck
457         
458         * lib/Makefile.am (dist-hook): added dist-hook so that
459         documentation files will be included when doing a make
460         dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
461         (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
462         conditional later.
463         more: tried to make install do the right thing, exclude CVS dirs
464         etc.
465
466         * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
467         Path would fit in more nicely.
468
469         * all files that used to use pathstack: uses now Path instead.
470         This change was a lot easier than expected.
471         
472         * src/support/path.h: new file
473
474         * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
475
476         * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
477
478         * src/support/lyxstring.C (getline): Default arg was given for
479         para 3. removed.
480
481         * Configure.cmd: removed file 
482
483 1999-10-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
484
485         * src/support/DebugStream.[Ch]: remove the explicit std:: before
486         streams classes and types, add the proper 'using' statements when
487         MODERN_STL is defined.
488         
489         * src/debug.h: move the << operator definition after the inclusion
490         of DebugStream.h
491
492         * src/support/filetools.C: include "LAssert.h", which is needed
493         later. 
494
495         * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
496         to includes. 
497
498         * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
499         include "debug.h" to define a proper ostream.
500
501 1999-10-12  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>
502
503         * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
504           method to the SystemCall class which can kill a process, but it's
505           not fully implemented yet.
506
507         * src/*.C: Changed Systemcalls::Startscript() to startscript()
508
509         * src/support/FileInfo.h: Better documentation  
510
511         * src/lyxfunc.C: Added support for buffer-export html
512         
513         * src/menus.C: Added Export->As HTML...
514         
515         * lib/bind/*.bind: Added short-cut for buffer-export html
516
517         * src/lyxrc.*: Added support for new \tth_command
518         
519         * lib/lyxrc.example: Added stuff for new \tth_command
520
521 1999-10-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
522
523         * lib/Makefile.am (IMAGES): removed images/README
524         (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
525         installes in correct place. Check permisions is installed
526         correctly.
527
528         * src/LaTeX.C: some no-op changes moved declaration of some
529         variables around.
530
531         * src/LaTeX.h (LATEX_H): changed include guard name
532
533 1999-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
534
535         * lib/reLyX/Makefile.am: install noweb2lyx.
536
537         * lib/Makefile.am: install configure. 
538
539         * lib/reLyX/configure.in: declare a config aux dir; set package
540         name to lyx (not sure what the best solution is); generate noweb2lyx.
541
542         * lib/layouts/egs.layout: fix the bibliography layout.
543
544 1999-10-08  Jürgen Vigna <jug@sad.it>
545
546         * src/support/filetools.C (FileOpenSearch): Fixed a bug where
547         when in the PATH was something like /usr/bin;;/bin (note: the ;;)
548         it returned without continuing to search the path.
549         
550 1999-10-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
551
552         * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
553         also fixes a bug. It is not allowed to do tricks with std::strings
554         like: string a("hei"); &a[e]; this will not give what you
555         think... Any reason for the complexity in this func?
556
557 1999-10-06  Asger Alstrup Nielsen  <alstrup@diku.dk>
558
559         * Updated README and INSTALL a bit, mostly to check that my
560         CVS rights are correctly set up.
561
562 1999-10-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
563
564         * src/support/lyxstring.C (helper): removed bogus Assert. strlen
565         does not allow '\0' chars but lyxstring and std::string does.
566
567 1999-10-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
568
569         * autogen.sh (AUTOCONF): let the autogen script create the
570         POTFILES.in file too. POTFILES.in should perhaps now not be
571         included in the cvs module.
572
573         * some more files changed to use C++ includes instead of C ones.
574
575         * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
576         not assigned.
577         (Reread): added tostr to nlink. buggy output otherwise.
578         (Reread): added a string() around szMode when assigning to Buffer,
579         without this I got a log of garbled info strings.
580
581         * acconfig.h: commented out the PTR_AS_INT macros. They should not
582         be needed.
583
584         * I have added several ostream & operator<<(ostream &, some_type)
585         functions. This has been done to avoid casting and warnings when
586         outputting enums to lyxerr. This as thus eliminated a lot of
587         explicit casts and has made the code clearer. Among the enums
588         affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
589         mathed enums, some font enum the Debug::type enum. 
590
591         * src/support/lyxstring.h (clear): missing method. equivalent of
592         erase(0, npos).
593
594         * all files that contained "stderr": rewrote constructs that used
595         stderr to use lyxerr instead. (except bmtable)
596
597         * src/support/DebugStream.h (level): and the passed t with
598         Debug::ANY to avoid spurious bits set.
599
600         * src/debug.h (Debug::type value): made it accept strings of the
601         type INFO,INIT,KEY.
602
603         * configure.in (Check for programs): Added a check for kpsewhich,
604         the latex generation will use this later to better the dicovery of
605         all used files. 
606
607         * src/BufferView.C (create_view): we don't need to cast this to
608         (void*) that is done automatically.
609         (WorkAreaButtonPress): removed some dead code.
610
611 1999-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
612
613         * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
614         is not overwritten when translated (David Sua'rez de Lis).
615
616         * lib/CREDITS: Added David Sua'rez de Lis
617
618         * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
619
620         * src/bufferparams.C (BufferParams): default input encoding is now
621         "latin1" 
622
623         * acinclude.m4 (cross_compiling): comment out macro
624         LYX_GXX_STRENGTH_REDUCE. 
625
626         * acconfig.h: make sure that const is not defined (to empty) when
627         we are compiling C++. Remove commented out code using SIZEOF_xx
628         macros.
629         
630         * configure.in : move the test for const and inline as late as
631         possible so that these C tests do not interefere with C++ ones.
632         Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
633         has not been proven. 
634
635 1999-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
636
637         * src/table.C (getDocBookAlign): remove bad default value for
638         isColumn parameter.
639
640         * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
641         shortcut. 
642         (ShowFileMenu2): ditto.
643
644         * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
645         of files to ignore.
646
647 1999-10-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
648
649         * Most files: finished the change from the old error code to use
650         DebugStream for all lyxerr debugging. Only minor changes remain
651         (e.g. the setting of debug levels using strings instead of number) 
652
653 1999-10-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
654
655         * src/layout.C (Add): Changed to use compare_no_case instead of
656         strcasecmp.
657
658         * src/FontInfo.C: changed loop variable type too string::size_type.
659
660 1999-10-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
661
662         * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
663         set ETAGS_ARGS to --c++ 
664
665 1999-09-30  Lars Gullik Bjønnes  <larsbj@lyx.org>
666
667         * src/table.C (DocBookEndOfCell): commented out two unused variables
668
669         * src/paragraph.C: commented out four unused variables. 
670
671         * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
672         insed a if clause with type string::size_type.
673
674         * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
675         string::size_type.
676
677         * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
678
679         * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
680         variable, also changed loop to go from 0 to lenght + 1, instead of
681         -1 to length. This should be correct.
682
683         * src/LaTeX.C (scanError): use string::size_type as loop variable
684         type.
685
686         * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
687         (l.896) since y_tmp and row was not used anyway.
688
689         * src/insets/insetref.C (escape): use string::size_type as loop
690         variable type.
691
692         * src/insets/insetquotes.C (Width): use string::size_type as loop
693         variable type.
694         (Draw): use string::size_type as loop variable type.
695
696         * src/insets/insetlatexaccent.C (checkContents): use
697         string::size_type as loop variable type.
698
699         * src/insets/insetlabel.C (escape): use string::size_type as loop
700         variable type.
701
702         * src/insets/insetinfo.C: added an extern for current_view.
703
704         * src/insets/insetcommand.C (scanCommand): use string::size_type
705         as loop variable type.
706
707         * most files: removed the RCS tags. With them we had to recompile
708         a lot of files after a simple cvs commit. Also we have never used
709         them for anything meaningful. 
710
711         * most files: tags-query-replace NULL 0. As adviced several plases
712         we now use "0" instead of "NULL" in our code. 
713
714         * src/support/filetools.C (SpaceLess): use string::size_type as
715         loop variable type.
716
717 1999-09-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
718
719         * src/paragraph.C: fixed up some more string stuff.
720
721 1999-09-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
722
723         * src/support/filetools.h: make modestr a std::string.
724
725         * src/filetools.C (GetEnv): made ch really const.
726
727         * src/lyxlib.h: removed the Maximum and Minimum inline functions,
728         made code that used these use max/min from <algorithm> instead.
729
730         * changed several c library include files to their equivalent c++
731         library include files. All is not changed yet.
732
733         * created a support subdir in src, put lyxstring and lstrings
734         there + the extra files atexit, fileblock, strerror. Created
735         Makefile.am. edited configure.in and src/Makefile.am to use this
736         new subdir. More files moved to support.
737
738         * imported som of the functions from repository lyx, filetools
739         
740         * ran tags-query-replace on LString -> string, corrected the bogus
741         cases. Tried to make use of lstrings.[hC], debugged a lot. There
742         is still some errors in there. This is errors where too much or
743         too litle get deleted from strings (string::erase, string::substr,
744         string::replace), there can also be some off by one errors, or
745         just plain wrong use of functions from lstrings. Viewing of quotes
746         is wrong. 
747
748         * LyX is now running fairly well with string, but there are
749         certainly some bugs yet (see above) also string is quite different
750         from LString among others in that it does not allow null pointers
751         passed in and will abort if it gets any.
752         
753         * Added the revtex4 files I forgot when setting up the repository.
754
755 1999-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
756
757         * All over: Tried to clean everything up so that only the files
758           that we really need are included in the cvs repository.
759         * Switched to use automake.
760         * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
761         * Install has not been checked.
762
763 1999-09-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
764
765         * po/pt.po: Three errors:
766                l.533 and l.538 format specification error
767                l. 402 duplicate entry, I just deleted it.
768