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