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