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