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