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