]> git.lyx.org Git - lyx.git/blob - ChangeLog
Added the ability to select both delimiters at one click (based in part
[lyx.git] / ChangeLog
1 1999-11-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2
3         * src/Makefile.am (lyx_DEPENDENCIES): give the explicit object
4         file name in insets and mathed directories (otherwise the
5         dependency is not taken in account under cygwin).
6
7         * src/text2.C (InsertString[AB]): make sure that we do not try to
8         read characters past the string length.
9
10 1999-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11
12         * lib/doc/LaTeXConfig.lyx.in, 
13           lib/chkconfig.ltx: remove the test for linuxdoc-sgml.sty.
14
15         * src/buffer.C (writeFile): Do not add a comment on top of .lyx
16         file saying who created them and when this heppened; this is
17         useless and annoys tools like cvs.
18
19         * lib/layouts/g-brief-{en,de}.layout,
20           lib/templates/g-brief-{en,de}.lyx: new versions of the textclass
21         from Thomas Hartkens <thomas@hartkens.de>.
22
23         * src/{insets,mathed}/Makefile.am: do not declare an empty
24         LDFLAGS, so that it can be set at configure time (useful on Irix
25         for -n32 flag).
26
27         * lib/reLyX/configure.in: make sure that the prefix is set
28         correctly in LYX_DIR.
29
30 1999-11-18  Andre' Poenitz <poenitz@mathematik.tu-chemnitz.de>
31
32         * src/commandtags.h: introduction of a new tag 'LFUN_SEQUENCE' to
33         be used by 'command-sequence' this allows to bind a key to a
34         sequence of LyX-commands
35         (Example: 'command-sequence math-insert alpha; math-insert beta;")
36
37         * src/LyXAction.C: add "command-sequence"
38
39         * src/LyXFunction.C: handling of "command-sequence"
40
41         * src/LyXFunction.[hC] changed LyXFunc::Dispatch(string const
42          &cmd, string const &arg) to LyXFunc::Dispatch(string const& s)
43
44         * src/lyxserver.C, src/minibuffer.C: Use this new interface
45
46 1999-11-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
47
48         * src/buffer.C (writeFile): Do not output a comment givinf user
49         and date at the beginning of a .lyx file. This is useless and
50         annoys cvs anyway; update version number to 1.1.
51
52         * src/Makefile.am (LYX_DIR): add this definition, so that a
53         default path is hardcoded in LyX.
54
55         * configure.in: Use LYX_GNU_GETTEXT.
56
57         * acinclude.m4 (LYX_GNU_GETTEXT): new macro, essentially a copy of
58         AM_GNU_GETTEXT with a bug fixed. 
59
60         * src/lyx_cb.C (RunLinuxDoc): add a cast to please dec cxx.
61
62         * src/chset.C: add "using std::ifstream;" to please dec cxx.
63
64         * src/lyx_main.C (init), INSTALL.OS2: the environment variable
65         which is used to point to LyX data is now LYX_DIR_11x.
66
67         * lyx.man: convert to a unix text file; small updates.
68
69 1999-11-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
70
71         * src/support/LSubstring.[Ch]: made the second arg of most of the
72         constructors be a const reference. 
73
74         * src/mathed/math_parser.C (LexInitCodes): small bug introduced by
75         me fixed.
76
77         * src/support/lyxstring.[Ch] (swap): added missing member function
78         and specialization of swap(str, str); 
79
80         * src/menus.C (ShowBufferMenu): to use the new BufferStorage
81
82         * src/bufferlist.[Ch]: use the new BufferStorage class and remove all
83         trace of the old one.
84
85         * src/undo.[Ch]: made the undostack use std::list to store undo's in
86         put the member definitions in undo.C.
87
88         * src/lyxparagraph.h, src/paragraph.C + a lot of files: removed
89         NEW_TEXT and have now only code that was included when this was
90         defined. 
91
92         * src/intl.C (LCombo): use static_cast
93         (LCombo2): ditto
94         (DispatchCallback): ditto
95
96         * src/definitions.h: removed whole file
97         
98         * src/commandtags.h: comment out LFUN_INSERT_INSET_LATEX
99
100         * src/chset.[Ch]: a lot rewritten, does not use lyxlex for cdef
101         parsing and stores in a std:map. a regex defines the file format.
102         removed unneeded members.
103
104         * src/bufferparams.h: added several enums from definitions.h here.
105         Removed unsused destructor. Changed some types to use proper enum
106         types. use block to have the temp_bullets and user_defined_bullets
107         and to make the whole class assignable.
108
109         * src/bufferparams.C (Copy): removed this functions, use a default
110         assignment instead. 
111
112         * src/buffer.h: made isLatex, isLinuxDoc, isDocBook, isSGML and
113         isLiterate const.
114
115         * src/buffer.C (readLyXformat2): commend out all that have with
116         oldpapersize to do. also comment out all that hve to do with
117         insetlatex and insetlatexdel. 
118         (setOldPaperStuff): commented out
119
120         * src/Makefile.am (lyx_SOURCES): remove definitions.h, add undo.C
121
122         * src/LyXAction.C: remove use of inset-latex-insert
123
124         * src/mathed/math_panel.C (button_cb): use static_cast
125
126         * src/insets/Makefile.am (insets_o_SOURCES): removed
127         insetlatex.[Ch] 
128
129         * src/support/lyxstring.C (helper): use the unsigned long
130         specifier, UL, instead of a static_cast.
131
132         * src/support/Makefile.am (libsupport_a_SOURCES): added block.h
133
134         * src/support/block.h: new file. to be used as a c-style array in
135         classes, so that the class can be assignable.
136
137 1999-11-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
138
139         * src/lyx_gui_misc.C (askForText): when fl_show_input() returns
140         NULL, make sure to return an empty string (it is not possible to
141         set a string to NULL).
142
143 1999-11-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
144
145         * src/support/LRegex.C: use regex_t instead of re_pattern_buffer.
146
147         * src/support/lyxstring.C (helper): fix bogus cast in assertion.
148
149         * src/{mathed,insets}/Makefile.am (CXXLINK): add $(LDFLAGS) to the
150         link line, so that Irix users (for example) can set it explicitely to
151         "-n32".
152         
153         * src/Makefile.am (lyx_LDADD): use LYX_LIB as a variable, so that
154         it can be overidden at make time (static or dynamic link, for
155         example).
156         
157         * src/vc-backend.C, src/LaTeXFeatures.h, 
158           src/support/LRegex.C, src/support/LRegex.h: add a few "using" 
159         statements to bring templates to global namespace.
160
161 1999-11-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
162
163         * src/support/lyxstring.C (operator[] const): make it standard
164         conforming. 
165
166         * src/minibuffer.C (Init): changed to reflect that more
167         information is given from the lyxvc and need not be provided here.
168
169         * src/lyxvc.[Ch]: rewrote to use the vc-backend.
170         
171         * src/Makefile.am (lyx_SOURCES): add vc-backend.[Ch]
172
173         * src/LyXView.C (UpdateTimerCB): use static_cast
174         (KeyPressMask_raw_callback): ditto
175
176         * src/BufferView.[Ch]: name change _owner -> owner_ and _buffer ->
177         buffer_, a lot of changes because of this. currentBuffer() ->
178         buffer(), setBuffer(...) -> buffer(...), getOwner() -> owner(),
179         also changes to other files because of this.
180
181 1999-11-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
182
183         * src/vc-backend.[Ch]: new files. The backends for vc handling,
184         have no support for RCS and partial support for CVS, will be
185         improved later.
186         
187         * src/insets/ several files: changes because of function name
188         changes in Bufferview and LyXView.
189         
190         * src/mathed/math_symbols.C (math_insert_symbol): use static_cast
191
192         * src/support/LSubstring.[Ch]: new files. These implement a
193         Substring that can be very convenient to use. i.e. is this
194         possible:
195         string a = "Mary had a little sheep";
196         Substring(a, "sheep") = "lamb";
197         a is now "Mary has a little lamb".
198
199         * src/support/LRegex.[Ch]: a regex class that can be used to pick
200         out patterns and subpatterns of strings. It is used by LSubstring
201         and also by vc-backend.C
202         
203         * src/support/lyxstring.C: went over all the assertions used and
204         tried to correct the wrong ones and flag which of them is required
205         by the standard. some bugs found because of this. Also removed a
206         couple of assertions.
207
208         * src/support/Makefile.am (libsupport_a_SOURCES): added
209         LSubstring.[Ch] and LRegex.[Ch]
210
211         * src/support/FileInfo.h: have struct stat buf as an object and
212         not a pointer to one, some changes because of this.
213
214         * src/LaTeXFeatures.C (getTClassPreamble): also use the
215         information in layout when addint he layouts preamble to the
216         textclass preamble.
217
218         * src/LaTeXFeatures.h: use a vector<bool> to store the layout
219         usage in.
220
221         * configure.in (CPPFLAGS): use AC_CHECK_FUNCS to check for XOpenIM
222         because of bug in OS/2.
223
224 1999-11-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
225
226         * lib/layouts/lyxmacros.inc (lyxcode): set the font with
227         \verbatim@font instead of \ttfamily, so that it can be redefined.
228
229         * src/BackStack.h, src/DepTable.C, src/DepTable.h, src/LaTeX.C,
230           src/LaTeX.h, src/lastfiles.C, src/lastfiles.h, src/layout.C,
231           src/layout.h, src/text2.C: add 'using' directive to bring the
232         STL templates we need from the std:: namespace to the global one.
233         Needed by DEC cxx in strict ansi mode.
234
235         * src/support/LIstream.h,src/support/LOstream.h,
236           src/support/lyxstring.h,src/table.h,
237           src/lyxlookup.h: do not include <config.h> in header
238         files. This should be done in the .C files only.
239
240         * development/lyx.spec.in: WHATSNEW has been renamed to NEWS
241         (from Kayvan).
242         
243
244 1999-11-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
245
246         * config/lib_configure.m4,lib/configure,lib/lyxrc.example: update
247         from Kayvan to fix the tth invokation.
248
249         * development/lyx.spec.in: updates from Kayvan to reflect the
250         changes of file names.
251
252 1999-11-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
253
254         * src/text2.C (InsertStringB): use std::copy
255         (InsertStringA): use std::copy
256
257         * src/bufferlist.C: use a vector to store the buffers in. This is
258         an internal change and should not affect any other thing.
259         
260         * src/BufferView.C (waitForX): use XSync instead of the lengthy
261         stuff in waitForX.
262
263         * src/text.C (Fill): fix potential bug, one off bug.
264
265 1999-11-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
266
267         * src/Makefile.am (lyx_main.o): add more files it depends on.
268
269         * src/lyx_cb.C (addNewlineAndDepth): parameters in wrong order.
270
271         * src/support/lyxstring.C: use size_t for the reference count,
272         size, reserved memory and xtra.
273         (internal_compare): new private member function. Now the compare
274         functions should work for std::strings that have embedded '\0'
275         characters.
276         (compare): all compare functions rewritten to use
277         internal_compare.
278         
279 1999-11-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
280
281         * src/support/lyxstring.C (compare): pass c_str()
282         (compare): pass c_str
283         (compare): pass c_str
284
285 1999-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
286
287         * src/support/DebugStream.C: <config.h> was not included correctly.
288
289         * lib/configure: forgot to re-generate it :( I'll make this file
290         auto generated soon.
291
292 1999-11-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
293
294         * acinclude.m4 (cross_compiling): add -fpermissive when gcc 2.95.x
295         is used.
296
297         * src/support/lyxstring.C: some changes from length() to rep->sz.
298         avoids a function call.
299
300         * src/support/filetools.C (SpaceLess): yet another version of the
301         algorithm...now per Jean-Marc's suggestions.
302
303 1999-11-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
304
305         * src/layout.C (less_textclass_desc): functor for use in sorting
306         of textclasses. 
307         (LyXTextClass::Read): sort the textclasses after reading.
308         
309         * src/support/filetools.C (SpaceLess): new version of the
310         SpaceLess functions. What problems does this one give? Please
311         report.
312
313         * images/banner_bw.xbm: made the arrays unsigned char *
314
315 1999-11-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
316
317         * src/support/lyxstring.C (find): remove bogus assertion in the
318         two versions of find where this has not been done yet.
319
320         * src/support/lyxlib.h: add missing int return type to
321         lyx::chdir(). 
322
323         * src/menus.C (ShowFileMenu): disable exporting to html if no
324         html export command is present.
325
326         * config/lib_configure.m4: add a test for an HTML converter. The
327         programs checked for are, in this order: tth, latex2html and
328         hevea. 
329
330         * lib/configure: generated from config/lib_configure.m4.
331
332         * src/lyxfunc.C (Dispatch): update and improve the execution of an
333         html converter. The parameters are now passed through $$FName and
334         $$OutName, instead of standard input/output.
335
336         * src/lyxrc.{C,h}: rename \tth_command to \html_command.
337
338         * lib/lyxrc.example: update description of \html_command. 
339         add "quotes" around \screen_font_xxx font setting examples to help
340         people who use fonts with spaces in their names.
341
342 1999-11-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
343
344         * Distribution files: updates for v1.1.2
345
346         * src/support/lyxstring.C (find): remove bogus assert and return
347         npos for the same condition.
348
349 1999-11-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
350
351         * added patch for OS/2 from SMiyata.
352
353 1999-10-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
354
355         * src/text2.C (CutSelection): make space_wrapped a bool
356         (CutSelection): dont declare int i until we have to.
357         (alphaCounter): return a char const *.
358
359 1999-10-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
360
361         * src/support/syscall.C (Systemcalls::kill): 
362           src/support/filetools.C (PutEnv, PutEnvPath): 
363           src/lyx_cb.C (addNewlineAndDepth): 
364           src/FontInfo.C (FontInfo::resize): condition some #warning
365         directives with WITH_WARNINGS.
366         
367
368 1999-10-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
369
370         * src/layout.[Ch] + several files: access to class variables
371         limited and made accessor functions instead a lot of code changed
372         becuase of this. Also instead of returning pointers often a const
373         reference is returned instead.
374         
375         * src/form1.C (create_form_Figure): added a couple fo "no-c-format"
376
377         * src/Makefile.am (dist-hook): added used to remove the CVS from
378         cheaders upon creating a dist
379         (EXTRA_DIST): added cheaders
380
381         * src/support/lstrings.C (tostr(char)): fix it to handle param as
382         a character not as a small integer. 
383
384         * src/support/lyxstring.C (find): removed Assert and added i >=
385         rep->sz to the first if.
386
387 1999-10-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
388
389         * src/layout.[Ch] src/BufferView.C src/LaTeXFeatures.C
390         src/LyXView.C src/buffer.C src/bufferparams.C
391         src/lyx_cb.C src/lyxfunc.C src/paragraph.C src/text.C 
392         src/text2.C src/insets/insetinclude.C:
393         lyxlayout renamed to textclasslist.
394
395         * src/layout.C: some lyxerr changes.
396
397         * src/layout.[Ch] (LyXLayout::Read): changed second paramter to
398         LyXTextClass. rewrote LT_COPYSTYLE, rewrote LT_OBSOLETEDBY
399         (LyXLayoutList): removed all traces of this class.
400         (LyXTextClass::Read): rewrote LT_STYLE
401         (LyXTextClass::hasLayout): new function
402         (LyXTextClass::GetLayout): rewritten to return an iterator + has
403         both const and nonconst version.
404         (LyXTextClass::delete_layout): new function.
405         (LyXTextClassList::Style): bug fix. do the right thing if layout
406         is to big.
407         (LyXTextClassList::NumberOfLayout): new acces to layoutlist.
408         (LyXTextClassList::NameOfLayout): ditto 
409         (LyXTextClassList::Load): ditto
410
411         * src/buffer.C (makeLaTeXFile): new access to layoutlist
412
413         * src/LaTeXFeatures.C (getTClassPreamble): new access to layoutlist
414
415         * src/LyXAction.C (LookupFunc): added a workaround for sun
416         compiler, on the other hand...we don't know if the current code
417         compiles on sun at all...
418
419         * src/support/filetools.C (CleanupPath): subst fix
420
421         * src/insets/insetbib.C (delDatabase): subst fix, this looks
422         _really_ weird.
423
424         * src/support/filetools.C (PutEnvPath): subst fix, how come nobody
425         complained about this one?
426
427         * src/insets/insetinclude.C (Latex): subst fix
428
429         * src/insets/insetbib.C (getKeys): subst fix
430
431         * src/LyXSendto.C (SendtoApplyCB): subst fix
432
433         * src/lyx_main.C (init): subst fix
434
435         * src/layout.C (Read): subst fix
436
437         * src/lyx_sendfax_main.C (button_send): subst fix
438
439         * src/buffer.C (RoffAsciiTable): subst fix
440
441         * src/lyx_cb.C (MenuFax): subst fix
442         (PrintApplyCB): subst fix
443
444 1999-10-26  Juergen Vigna  <jug@sad.it>
445
446         * src/table.C (TexEndOfCell) + (DocBookEndOfCell): removed some #if 0
447
448         (Read): Cleaned up this code so now we read only format vestion >= 5
449
450 1999-10-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
451
452         * src/support/filetools.C (PutEnvPath): subst fix for EMX, how
453         come nobody has complained about this one?
454
455         * src/insets/insetinclude.C (Latex): subst fix
456
457         * src/insets/insetbib.C (getKeys): subst fix
458
459         * src/lyx_main.C (init): subst fix
460
461         * src/layout.C (Read): subst fix
462
463         * src/buffer.C (RoffAsciiTable): subst fix
464
465         * src/lyx_cb.C (MenuFax): subst fix.
466
467         * src/layout.[hC] + some other files: rewrote to use
468         std::container to store textclasses and layouts in.
469         Simplified, removed a lot of code. Make all classes
470         assignable. Further simplifications and review of type
471         use still to be one. 
472
473         * src/menus.C (ShowFileMenu/ShowFileMenu2): Use the iterators from
474         lastfiles to create the lastfiles partr of the menu.
475
476         * src/lastfiles.[Ch]: rewritten to use deque to store the
477         lastfiles in. Uses fstream for reading and writing. Simplifies
478         code.
479
480         * src/support/syscall.C: remove explicit cast.
481
482         * src/BufferView.C (CursorToggleCB): removed code snippets that
483         were commented out.
484         use explicat C++ style casts instead of C style casts. also use
485         u_vdata instea of passing pointers in longs.
486
487         * src/PaperLayout.C: removed code snippets that were commented out.
488
489         * src/lyx_gui_misc.C: removed code snippets that were commented out. 
490
491         * src/lyx_main.C: removed code snippets that wer commented out.
492
493         * src/paragraph.C: removed code snippets that were commented out.
494
495         * src/lyxvc.C (logClose): use static_cast
496         (logUpdate): ditto
497         (viewLog): remove explicit cast to void*
498         (showLog): removed old commented code
499
500         * src/menus.C: use static_cast instead of C style casts. use
501         u_vdata instead of u_ldata. remove explicit cast to (long) for
502         pointers. Removed old code that was commented out.
503
504         * src/insets/inset.C: removed old commented func
505
506         * src/insets/insetref.C (InsetRef): removed old code that had been
507         commented out for a long time.
508         (Edit): ditto
509         (escape): removed C style cast
510
511         * src/insets/insetlatexaccent.C (Draw): removed old commented code
512
513         * src/insets/insetlatex.C (Draw): removed old commented code
514         (Read): rewritten to use string
515
516         * src/insets/insetlabel.C (escape): removed C style cast
517
518         * src/insets/insetindex.h: removed vdata and ldata from FD_index_form
519
520         * src/insets/insetindex.C: use static_cast and u_vdata, removed
521         old commented code.
522
523         * src/insets/insetinclude.h: removed a couple of stupid bools
524
525         * src/insets/insetinclude.C (include_cb): use static_cast and u_data.
526         (Clone): remove C style cast
527         (getKeys): changed list to lst because of std::list
528
529         * src/insets/inseterror.C (Draw): removed som old commented code.
530
531         * src/insets/insetcommand.C (Draw): removed some old commented code.
532
533         * src/insets/insetbib.C (bibitem_cb): removed code that has been
534         commented out forever.
535         (bibitem_cb): use static_cast instead of C style cast
536         use of vdata changed to u_vdata.
537
538         * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forward the data
539         parameter.
540         (CloseUrlCB): use static_cast instead of C style cast.
541         (CloseUrlCB): added a fl_free form...it seemed to be missing.
542
543         * src/insets/insetinfo.C (Edit): pass object in u_vdata instead
544         (C_InsetInfo_CloseInfoCB): forward the ob parameter
545         (CloseInfoCB): static_cast from ob->u_vdata instead.
546         (Edit): removed bogus arg from fl_set_object_shortcut, set to 1
547         instead. 
548
549         * src/insets/inseterror.C (Edit): pass object in u_vdata instead
550         (C_InsetError_CloseErrorCB): forward the ob parameter
551         (CloseErrorCB): static_cast from ob->u_vdata instead.
552
553         * src/vspace.h: include LString.h since we use string in this class.
554
555         * src/vspace.C (lyx_advance): changed name from advance because of
556         nameclash with stl. And since we cannot use namespaces yet...I
557         used a lyx_ prefix instead. Expect this to change when we begin
558         using namespaces.
559
560         * src/BufferView.[Ch] (BufferView::~BufferView): removed 
561
562         * src/BackStack.h: rewrote to use std::stack. made BackStackItem
563         and removed now defunct constructor and deconstructor.
564
565         * src/BufferView.h: have backstack as a object not as a pointer.
566         removed initialization from constructor. added include for BackStack 
567
568         * development/lyx.spec.in (%build): add CFLAGS also.
569
570         * src/screen.C (drawFrame): removed another warning.
571
572 1999-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
573
574         * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
575         OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
576         README and ANNOUNCE a bit for the next release. More work is
577         needed, of course.
578
579         * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
580         unbreakable if we are in freespacing mode (LyX-Code), but not in
581         latex mode.
582
583 1999-10-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
584
585         * src/BackStack.h: fixed initialization order in constructor
586
587         * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
588
589         * acinclude.m4 (VERSION): new rules for when a version is
590         development, added also a variable for prerelease.
591         (warnings): we set with_warnings=yes for prereleases
592         (lyx_opt): prereleases compile with same optimization as development 
593         (CXXFLAGS): only use pedantic if we are a development version 
594
595         * src/BufferView.C (restorePosition): don't do anything if the
596         backstack is empty.
597
598         * src/BackStack.h: added member empty, use this to test if there
599         is anything to pop...
600
601 1999-10-25  Juergen Vigna  <jug@sad.it>
602
603         * forms/form1.fd +
604         * forms/layout_forms.fd +
605         * forms/latexoptions.fd +
606         * lyx.fd: changed for various form resize issues
607
608         * src/mathed/math_panel.C +
609         * src/insets/inseterror.C +
610         * src/insets/insetinfo.C +
611         * src/insets/inseturl.C +
612         * src/insets/inseturl.h +
613         * src/LaTeXLog.C +
614         * src/LyXSendto.C +
615         * src/PaperLayout.C +
616         * src/ParagraphExtra.C +
617         * src/TableLayout.C +
618         * src/form1.C +
619         * src/layout_forms.C +
620         * src/lyx.C +
621         * src/lyx_cb.C +
622         * src/lyx_gui.C +
623         * src/lyxfr0.C +
624         * src/lyxfunc.C +
625         * src/lyxvc.C +
626         * src/menus.C: fixed various resize issues. So now forms can be
627         resized savely or not be resized at all.
628         
629         * forms/form_url.fd +
630         * src/insets/form_url.[Ch]: added because it's cleaner and easier
631         to modify IMO.
632
633         * src/insets/Makefile.am: added files form_url.[Ch]
634         
635 1999-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
636
637         * INSTALL: it is now possible to compile LyX with digital C++ 6.1
638         (and presumably 6.2).
639
640         * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
641         menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
642         remaining static member callbacks. 
643
644         * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
645         messages. 
646
647         * src/support/lyxstring.h: declare struct Srep as friend of
648         lyxstring, since DEC cxx complains otherwise.
649
650 1999-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
651
652 1999-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
653
654         * src/LaTeX.C (run): made run_bibtex also depend on files with
655         extension ".bst"
656         (runBibTeX): added scans for "\\bibstyle", now also ".bst" files
657         are put into the dependency file.
658
659         * src/spellchecker.C (create_ispell_pipe): removed old #warning,
660         the code has shown itself to work
661         (create_ispell_pipe): removed another warning, added a comment
662         instead. 
663
664         * src/minibuffer.C (ExecutingCB): removed code that has been
665         commented out a long time
666
667         * src/lyxfunc.C (processKeyEvent): removed some very old commented
668         out code + a warning.
669
670         * src/support/lyxstring.h: comment out the three private
671         operators, when compiling with string ansi conforming compilers
672         they make problems.
673
674         * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
675         unsigned char *.
676         (pixmapFromBitmapData): change type of bdata to be unsigned char *
677         (pixmapFromBitmapData): add a reinterpret_cast in the call to
678         XCreateImage
679
680         * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
681         unsigned char *
682
683         * src/mathed/math_panel.C (create_math_panel): remove explicit
684         casts
685
686         * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
687         unsigned char *.
688
689         * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
690         (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
691         to XCreatePixmapFromBitmapData
692         (fl_set_bmtable_data): change the last argument to be unsigned
693         char *
694         (fl_set_bmtable_file): change bdata to unsinged char *, change bw
695         and bh to be unsigned int, remove explicit casts in call to
696         XReadBitmapFileData.
697
698         * images/arrows.xbm: made the arrays unsigned char *
699         * images/varsz.xbm: ditto
700         * images/misc.xbm: ditto
701         * images/greek.xbm: ditto
702         * images/dots.xbm: ditto
703         * images/brel.xbm: ditto
704         * images/bop.xbm: ditto
705
706         * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
707
708         * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed. 
709         (LYX_PROG_CXX): added -pedantic to g++ compile options when
710         with-warnings, removed the __STRING_ANSI__ hack, seems to not be
711         needed. 
712         (LYX_CXX_CHEADERS): added <clocale> to the test. 
713
714 1999-10-23  Lars Gullik Bjønnes  <larsbj@lyx.org>
715
716         * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
717
718         * src/support/lyxstring.C (append): fixed something that must be a
719         bug, rep->assign was used instead of rep->append.
720
721         * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
722         and LOstream.h
723
724         * src/lyxfunc.C (processKeyEvent): removed faulty line that made
725         lyx insert double chars. Fix spotted by Kayvan.
726
727 1999-10-23  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>
728
729         * Fixed the tth support. I messed up with the Emacs patch apply feature
730         and omitted the changes in lyxrc.C.
731
732 1999-10-22  Juergen Vigna  <jug@sad.it>
733
734         * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
735
736         * src/lyx_cb.C (MenuInsertRef) + 
737         * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
738         the form cannot be resized under it limits (fixes a segfault)
739         
740         * src/lyx.C (create_form_form_ref) +
741         * forms/lyx.fd: Changed Gravity on name input field so that it is
742         resized correctly.
743
744 1999-10-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
745
746         * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
747         <ostream> and <istream>.
748         
749         * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
750         whether <fstream> provides the latest standard features, or if we
751         have an oldstyle library (like in egcs).
752         (LYX_CXX_STL_STRING): fix the test.
753
754         * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
755         code on MODERN_STL_STREAM.
756
757         * src/support/lyxstring.h: use L{I,O}stream.h.
758
759         * src/support/L{I,O}stream.h: new files, designed to setup
760         correctly streams for our use
761           - includes the right header depending on STL capabilities
762           - puts std::ostream and std::endl (for LOStream.h) or
763           std::istream (LIStream.h) in toplevel namespace.
764
765 1999-10-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
766
767         * src/LaTeX.C (run): added a check in 0 sumchange so that if it
768         was a bib file that had been changed we ensure that bibtex is run.
769         (runBibTeX): enhanced to extract the names of the bib files and
770         getting their absolute path and enter them into the dep file.
771         (findtexfile): static func that is used to look for tex-files,
772         checks for absolute patchs and tries also with kpsewhich.
773         Alternative ways of finding the correct files are wanted. Will
774         probably be moved.
775         (do_popen): function that runs a command using popen and returns
776         the whole output of that command in a string. Should be moved to
777         somewhere else.
778
779         * src/DepTable.[Ch] (extchanged): new function that returns true if a
780         file with extension ext has changed.
781
782         * src/insets/figinset.C: added ifdef guards around the fl_free
783         code that jug commented out. Now it is commented out when
784         compiling with XForms == 0.89.
785
786         * src/support/lyxstring.C: moved the definition of lyxstring::Srep
787         to lyxstring.C, and only keep a forward declaration in
788         lyxstring.h. Simplifies the header file a bit and should help a
789         bit on compile time too. Also changes to Srep will not mandate a
790         recompile of code just using string.
791         (~lyxstring): definition moved here since it uses srep.
792         (size): definition moved here since it uses srep.
793
794         * src/support/lyxstring.h: removed a couple of "inline" that should
795         not be there.
796
797 1999-10-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
798
799         * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
800         the 'ob' argument.
801
802 1999-10-21  Juergen Vigna  <jug@sad.it>
803
804         * src/table.C (SetPWidth): Just a small fix so the alignment is not
805         set to left if I just remove the width entry (or it is empty).
806
807         * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
808         paragraph when having dummy paragraphs.
809
810 1999-10-20  Juergen Vigna  <jug@sad.it>
811
812         * src/insets/figinset.C: just commented some fl_free_form calls
813         and added warnings so that this calls should be activated later
814         again. This avoids for now a segfault, but we have a memory leak!
815
816         * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
817         'const char * argument' to 'string argument', this should
818         fix some Asserts() in lyxstring.C.
819
820         * src/lyxfunc.h: Removed the function argAsString(const char *)
821         as it is not used anymore.
822
823 1999-10-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
824
825         * src/support/lyxstring.C (getline): reads now _all_ chars. uses
826         get instead of >>
827
828         * src/Literate.h: some funcs moved from public to private to make
829         interface clearer. Unneeded args removed.
830
831         * src/Literate.C (scanLiterateLogFile): rewritten to use iostream
832         instead of lyxlex.
833         (scanBuildLogFile): ditto
834
835         * src/LaTeX.C (scanLogFile): merged LaTeX Error handling into
836         normal TeX Error. Still room for improvement.
837
838         * src/LaTeX.[Ch]: removed scanError. Wrong place and not needed.
839
840         * src/buffer.C (insertErrors): changes to make the error
841         desctription show properly.
842
843         * src/LaTeX.C (deplog): removed the test for file in lyx doc dir.
844         could never happen
845
846         * src/support/lyxstring.C (helper): changed to use
847         sizeof(object->rep->ref).
848         (operator>>): changed to use a pointer instead.
849
850         * src/support/lyxstring.h: changed const reference & to value_type
851         const & lets see if that helps.
852
853 1999-10-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
854
855         * Makefile.am (rpmdist): fixed to have non static package and
856         verison.
857
858         * src/support/lyxstring.C: removed the compilation guards
859
860         * src/vspace.C (nextToken): use i + 1  instead of ++i. Maks things
861         a bit clearer.
862
863         * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
864         conditional compile of lyxstring.Ch
865
866         * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
867         stupid check, but it is a lot better than the bastring hack. 
868         (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING  
869
870         * several files: changed string::erase into string::clear. Not
871         really needed.
872         
873         * src/chset.C (encodeString): use a char temporary instead
874
875         * src/table.C (TexEndOfCell): added tostr around
876         column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
877         (TexEndOfCell): ditto
878         (TexEndOfCell): ditto
879         (TexEndOfCell): ditto
880         (DocBookEndOfCell): ditto
881         (DocBookEndOfCell): ditto
882         (DocBookEndOfCell): ditto
883         (DocBookEndOfCell): ditto
884
885         * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
886
887         * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
888
889         * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
890         (MenuBuildProg): added tostr around ret
891         (MenuRunChktex): added tostr around ret
892         (DocumentApplyCB): added tostr around ret
893
894         * src/chset.C (encodeString): added tostr around t->ic
895
896         * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
897         (makeLaTeXFile): added tostr around tocdepth
898         (makeLaTeXFile): added tostr around ftcound - 1
899
900         * src/insets/insetbib.C (setCounter): added tostr around counter.
901
902         * src/support/lyxstring.h: added an operator+=(int) to catch more
903         mistakes. 
904
905         * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
906         (lyxstring): We DON'T allow NULL pointers.
907
908 1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
909
910         * src/mathed/math_macro.C (MathMacroArgument::Write,
911         MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
912         when writing them out.
913
914         * src/LString.C: remove, since it is not used anymore.
915         
916         * src/support/lyxstring.C: condition the content to
917         USE_INCLUDED_STRING macro.
918
919         * src/mathed/math_symbols.C, src/support/lstrings.C,
920         src/support/lyxstring.C: add `using' directive to specify what
921         we need in <algorithm>. I do not think that we need to
922         conditionalize this, but any thought is appreciated.
923
924         * many files: change all callback functions to "C" linkage
925         functions to please strict C++ compilers like DEC cxx 6.1 in mode
926         strict_ansi. Those who were static are now global. 
927             The case of callbacks which are static class members is
928         trickier, since we have to make C wrappers around them (see
929         InsetError, InsetInfo and InsetUrl). The same holds for friends. I
930         did not finish this yet, since it defeats the purpose of
931         encapsulation, and I am not sure what the best route is.
932
933 1999-10-19  Juergen Vigna  <jug@sad.it>
934
935         * src/support/lyxstring.C (lyxstring): we permit to have a null
936         pointer as assignment value and just don't assign it.
937
938         * src/vspace.C (nextToken): corrected this function substituting
939         find_first(_not)_of with find_last_of.
940
941         * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
942                 (TableOptCloseCB) (TableSpeCloseCB):
943         inserted fl_set_focus call for problem with fl_hide_form() in
944         xforms-0.89.
945
946 1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
947
948         * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
949         string. 
950
951 1999-10-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
952
953         * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
954         LyXLex::next() and not eatline() to get its argument.
955
956 1999-10-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
957
958         * src/DepTable.[Ch]: rewritten to store the dependencies in a map
959         instead, use fstreams for io of the depfile, removed unneeded
960         functions and variables. 
961
962         * src/LaTeX.[Ch] (class TeXErrors): rewrote to store the errors in a
963         vector instead, removed all functions and variables that is not in
964         use.
965
966 1999-10-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
967
968         * src/buffer.C (insertErrors): use new interface to TeXError
969
970         * Makefile.am (rpmdist): added a rpmdist target
971
972         * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
973         per Kayvan's instructions.
974
975 1999-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
976
977         * src/Makefile.am: add a definition for localedir, so that locales
978         are found after installation (Kayvan)
979
980 1999-10-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
981
982         * development/.cvsignore: new file.
983
984 1999-10-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
985
986         * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
987         C++ compiler provides wrappers for C headers and use our alternate
988         version otherwise.
989
990         * configure.in: use LYX_CXX_CHEADERS.
991
992         * src/cheader/: new directory, populated with cname headers from
993         libstdc++-2.8.1. They are a bit old, but probably good enough for
994         what we want (support compilers who lack them).
995         
996         * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
997         from includes. It turns out is was stupid.
998  
999 1999-10-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1000
1001         * lib/Makefile.am (install-data-local): forgot a ';'
1002         (install-data-local): forgot a '\'
1003         (libinstalldirs): needed after all. reintroduced.
1004
1005 1999-10-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
1006
1007         * configure.in (AC_OUTPUT): added lyx.spec
1008
1009         * development/lyx.spec: removed file
1010
1011         * development/lyx.spec.in: new file
1012
1013         * po/*.po: merged with lyx.pot becuase of make distcheck
1014         
1015         * lib/Makefile.am (dist-hook): added dist-hook so that
1016         documentation files will be included when doing a make
1017         dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
1018         (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
1019         conditional later.
1020         more: tried to make install do the right thing, exclude CVS dirs
1021         etc.
1022
1023         * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
1024         Path would fit in more nicely.
1025
1026         * all files that used to use pathstack: uses now Path instead.
1027         This change was a lot easier than expected.
1028         
1029         * src/support/path.h: new file
1030
1031         * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
1032
1033         * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
1034
1035         * src/support/lyxstring.C (getline): Default arg was given for
1036         para 3. removed.
1037
1038         * Configure.cmd: removed file 
1039
1040 1999-10-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1041
1042         * src/support/DebugStream.[Ch]: remove the explicit std:: before
1043         streams classes and types, add the proper 'using' statements when
1044         MODERN_STL is defined.
1045         
1046         * src/debug.h: move the << operator definition after the inclusion
1047         of DebugStream.h
1048
1049         * src/support/filetools.C: include "LAssert.h", which is needed
1050         later. 
1051
1052         * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
1053         to includes. 
1054
1055         * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
1056         include "debug.h" to define a proper ostream.
1057
1058 1999-10-12  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>
1059
1060         * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
1061           method to the SystemCall class which can kill a process, but it's
1062           not fully implemented yet.
1063
1064         * src/*.C: Changed Systemcalls::Startscript() to startscript()
1065
1066         * src/support/FileInfo.h: Better documentation  
1067
1068         * src/lyxfunc.C: Added support for buffer-export html
1069         
1070         * src/menus.C: Added Export->As HTML...
1071         
1072         * lib/bind/*.bind: Added short-cut for buffer-export html
1073
1074         * src/lyxrc.*: Added support for new \tth_command
1075         
1076         * lib/lyxrc.example: Added stuff for new \tth_command
1077
1078 1999-10-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
1079
1080         * lib/Makefile.am (IMAGES): removed images/README
1081         (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
1082         installes in correct place. Check permisions is installed
1083         correctly.
1084
1085         * src/LaTeX.C: some no-op changes moved declaration of some
1086         variables around.
1087
1088         * src/LaTeX.h (LATEX_H): changed include guard name
1089
1090 1999-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1091
1092         * lib/reLyX/Makefile.am: install noweb2lyx.
1093
1094         * lib/Makefile.am: install configure. 
1095
1096         * lib/reLyX/configure.in: declare a config aux dir; set package
1097         name to lyx (not sure what the best solution is); generate noweb2lyx.
1098
1099         * lib/layouts/egs.layout: fix the bibliography layout.
1100
1101 1999-10-08  Jürgen Vigna <jug@sad.it>
1102
1103         * src/support/filetools.C (FileOpenSearch): Fixed a bug where
1104         when in the PATH was something like /usr/bin;;/bin (note: the ;;)
1105         it returned without continuing to search the path.
1106         
1107 1999-10-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
1108
1109         * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
1110         also fixes a bug. It is not allowed to do tricks with std::strings
1111         like: string a("hei"); &a[e]; this will not give what you
1112         think... Any reason for the complexity in this func?
1113
1114 1999-10-06  Asger Alstrup Nielsen  <alstrup@diku.dk>
1115
1116         * Updated README and INSTALL a bit, mostly to check that my
1117         CVS rights are correctly set up.
1118
1119 1999-10-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
1120
1121         * src/support/lyxstring.C (helper): removed bogus Assert. strlen
1122         does not allow '\0' chars but lyxstring and std::string does.
1123
1124 1999-10-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1125
1126         * autogen.sh (AUTOCONF): let the autogen script create the
1127         POTFILES.in file too. POTFILES.in should perhaps now not be
1128         included in the cvs module.
1129
1130         * some more files changed to use C++ includes instead of C ones.
1131
1132         * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
1133         not assigned.
1134         (Reread): added tostr to nlink. buggy output otherwise.
1135         (Reread): added a string() around szMode when assigning to Buffer,
1136         without this I got a log of garbled info strings.
1137
1138         * acconfig.h: commented out the PTR_AS_INT macros. They should not
1139         be needed.
1140
1141         * I have added several ostream & operator<<(ostream &, some_type)
1142         functions. This has been done to avoid casting and warnings when
1143         outputting enums to lyxerr. This as thus eliminated a lot of
1144         explicit casts and has made the code clearer. Among the enums
1145         affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
1146         mathed enums, some font enum the Debug::type enum. 
1147
1148         * src/support/lyxstring.h (clear): missing method. equivalent of
1149         erase(0, npos).
1150
1151         * all files that contained "stderr": rewrote constructs that used
1152         stderr to use lyxerr instead. (except bmtable)
1153
1154         * src/support/DebugStream.h (level): and the passed t with
1155         Debug::ANY to avoid spurious bits set.
1156
1157         * src/debug.h (Debug::type value): made it accept strings of the
1158         type INFO,INIT,KEY.
1159
1160         * configure.in (Check for programs): Added a check for kpsewhich,
1161         the latex generation will use this later to better the dicovery of
1162         all used files. 
1163
1164         * src/BufferView.C (create_view): we don't need to cast this to
1165         (void*) that is done automatically.
1166         (WorkAreaButtonPress): removed some dead code.
1167
1168 1999-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1169
1170         * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
1171         is not overwritten when translated (David Sua'rez de Lis).
1172
1173         * lib/CREDITS: Added David Sua'rez de Lis
1174
1175         * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
1176
1177         * src/bufferparams.C (BufferParams): default input encoding is now
1178         "latin1" 
1179
1180         * acinclude.m4 (cross_compiling): comment out macro
1181         LYX_GXX_STRENGTH_REDUCE. 
1182
1183         * acconfig.h: make sure that const is not defined (to empty) when
1184         we are compiling C++. Remove commented out code using SIZEOF_xx
1185         macros.
1186         
1187         * configure.in : move the test for const and inline as late as
1188         possible so that these C tests do not interefere with C++ ones.
1189         Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
1190         has not been proven. 
1191
1192 1999-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1193
1194         * src/table.C (getDocBookAlign): remove bad default value for
1195         isColumn parameter.
1196
1197         * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
1198         shortcut. 
1199         (ShowFileMenu2): ditto.
1200
1201         * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
1202         of files to ignore.
1203
1204 1999-10-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1205
1206         * Most files: finished the change from the old error code to use
1207         DebugStream for all lyxerr debugging. Only minor changes remain
1208         (e.g. the setting of debug levels using strings instead of number) 
1209
1210 1999-10-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1211
1212         * src/layout.C (Add): Changed to use compare_no_case instead of
1213         strcasecmp.
1214
1215         * src/FontInfo.C: changed loop variable type too string::size_type.
1216
1217 1999-10-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1218
1219         * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
1220         set ETAGS_ARGS to --c++ 
1221
1222 1999-09-30  Lars Gullik Bjønnes  <larsbj@lyx.org>
1223
1224         * src/table.C (DocBookEndOfCell): commented out two unused variables
1225
1226         * src/paragraph.C: commented out four unused variables. 
1227
1228         * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
1229         insed a if clause with type string::size_type.
1230
1231         * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
1232         string::size_type.
1233
1234         * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
1235
1236         * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
1237         variable, also changed loop to go from 0 to lenght + 1, instead of
1238         -1 to length. This should be correct.
1239
1240         * src/LaTeX.C (scanError): use string::size_type as loop variable
1241         type.
1242
1243         * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
1244         (l.896) since y_tmp and row was not used anyway.
1245
1246         * src/insets/insetref.C (escape): use string::size_type as loop
1247         variable type.
1248
1249         * src/insets/insetquotes.C (Width): use string::size_type as loop
1250         variable type.
1251         (Draw): use string::size_type as loop variable type.
1252
1253         * src/insets/insetlatexaccent.C (checkContents): use
1254         string::size_type as loop variable type.
1255
1256         * src/insets/insetlabel.C (escape): use string::size_type as loop
1257         variable type.
1258
1259         * src/insets/insetinfo.C: added an extern for current_view.
1260
1261         * src/insets/insetcommand.C (scanCommand): use string::size_type
1262         as loop variable type.
1263
1264         * most files: removed the RCS tags. With them we had to recompile
1265         a lot of files after a simple cvs commit. Also we have never used
1266         them for anything meaningful. 
1267
1268         * most files: tags-query-replace NULL 0. As adviced several plases
1269         we now use "0" instead of "NULL" in our code. 
1270
1271         * src/support/filetools.C (SpaceLess): use string::size_type as
1272         loop variable type.
1273
1274 1999-09-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
1275
1276         * src/paragraph.C: fixed up some more string stuff.
1277
1278 1999-09-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1279
1280         * src/support/filetools.h: make modestr a std::string.
1281
1282         * src/filetools.C (GetEnv): made ch really const.
1283
1284         * src/lyxlib.h: removed the Maximum and Minimum inline functions,
1285         made code that used these use max/min from <algorithm> instead.
1286
1287         * changed several c library include files to their equivalent c++
1288         library include files. All is not changed yet.
1289
1290         * created a support subdir in src, put lyxstring and lstrings
1291         there + the extra files atexit, fileblock, strerror. Created
1292         Makefile.am. edited configure.in and src/Makefile.am to use this
1293         new subdir. More files moved to support.
1294
1295         * imported som of the functions from repository lyx, filetools
1296         
1297         * ran tags-query-replace on LString -> string, corrected the bogus
1298         cases. Tried to make use of lstrings.[hC], debugged a lot. There
1299         is still some errors in there. This is errors where too much or
1300         too litle get deleted from strings (string::erase, string::substr,
1301         string::replace), there can also be some off by one errors, or
1302         just plain wrong use of functions from lstrings. Viewing of quotes
1303         is wrong. 
1304
1305         * LyX is now running fairly well with string, but there are
1306         certainly some bugs yet (see above) also string is quite different
1307         from LString among others in that it does not allow null pointers
1308         passed in and will abort if it gets any.
1309         
1310         * Added the revtex4 files I forgot when setting up the repository.
1311
1312 1999-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
1313
1314         * All over: Tried to clean everything up so that only the files
1315           that we really need are included in the cvs repository.
1316         * Switched to use automake.
1317         * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
1318         * Install has not been checked.
1319
1320 1999-09-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
1321
1322         * po/pt.po: Three errors:
1323                l.533 and l.538 format specification error
1324                l. 402 duplicate entry, I just deleted it.
1325