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