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