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