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