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