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