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