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