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