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