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