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