]> git.lyx.org Git - lyx.git/blob - ChangeLog
092db19e1dd178477364e506e8b958c3f2462587
[lyx.git] / ChangeLog
1 2000-01-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2
3         * src/LaTeX.C (scanAux): fix the regular expression used to scan
4         .aux files. 
5         (runBibTeX): ditto.
6
7         * autogen.sh: do not use "type -path" (what's that anyway?).
8
9         * src/support/filetools.C (findtexfile): remove extraneous space
10         which caused a kpsewhich warning (at least with kpathsea version
11         3.0). 
12
13 2000-01-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
14
15         * src/mathed/Makefile.am (noinst_LTLIBRARIES): use .la
16
17         * src/insets/Makefile.am (noinst_LTLIBRARIES): use .la
18
19         * src/Makefile.am (lyx_DEPENDENCIES): switch back to .la libs
20
21 2000-01-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
22
23         * src/paragraph.C (BreakParagraph): do not reserve space on text
24         if we don't need to (otherwise, if pos_end < pos, we end up
25         reserving huge amounts of memory due to bad unsigned karma).
26         (BreakParagraphConservative): ditto, although I have not seen
27         evidence the bug can happen here.
28
29         * src/lyxparagraph.h: add a using std::list.
30
31 2000-01-11  Juergen Vigna  <jug@sad.it>
32
33         * src/menus.C (MenuDocu): output an Alert if the documentation-file
34         could not be found.
35
36 2000-01-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
37
38         * src/vc-backend.C (doVCCommand): change to be static and take one
39         more parameter: the path to chdir too be fore executing the command.
40         (retrive): new function equiv to "co -r"
41
42         * src/bufferlist.C (loadLyXFile): implement the missing parts if
43         file_not_found_hook is true.
44
45         * src/lyxvc.C (file_not_found_hook): implement file_not_found_hook.
46
47         * src/support/filetools.C (IsFileWriteable): use FileInfo to check
48         if a file is readwrite,readonly...anything else.
49
50 2000-01-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
51
52         * src/lyx_cb.C (MakeLaTeXOutput): name change from MakeDVIOutput
53         (CreatePostscript): name change from MenuRunDVIPS (or something)
54         (PreviewPostscript): name change from MenuPreviewPS
55         (PreviewDVI): name change from MenuPreviewDVI
56
57         * lib/lyxrc.example: added \pdflatex_command, \pdf_mode,
58         \view_pdf_command., \pdf_to_ps_command
59
60         * lib/configure.m4: added search for PDF viewer, and search for
61         PDF to PS converter. 
62         (lyxrc.defaults output): add \pdflatex_command,
63         \view_pdf_command and \pdf_to_ps_command.
64
65         * src/lyx_cb.C (MenuPreviewDVI): renamed from MenuPreview.
66
67         * src/bufferlist.C (write): we don't use blocksize for anything so
68         I removed it.
69
70 2000-01-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
71
72         * src/support/block.h: disable operator T* (), since it causes
73         problems with both compilers I tried. See comments in the file.
74
75         * lib/reLyX/configure.in: do not define LYX_DIR. support flag
76         --with-lyxname. 
77
78         * lib/reLyX/reLyX.in: change LYX_DIR to pkgdatadir; change env.
79         variable LYX_DIR_10x to LYX_DIR_11x.
80
81         * src/Makefile.am: replace variable LYX_DIR with pkgdatadir.
82
83         * INSTALL: document --with-lyxname.
84         * NEWS: ditto.
85
86         * configure.in: new configure flag --with-lyxname which allows to
87         choose the name under which lyx is installed. Default is "lyx", of
88         course. It used to be possible to do this with --program-suffix,
89         but the later has in fact a different meaning for autoconf.
90
91         * src/support/lstrings.h (lstrchr): reformat a bit.
92
93         * src/lyxlex.h: include LIstream.h, for Sun CC this time.
94         * src/mathed/math_defs.h: ditto.
95
96 2000-01-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
97
98         * src/lyxrc.[Ch]: New tag and variable "\make_backup". Defaults to
99         true, decides if we create a backup file or not when saving. New
100         tag and variable \pdf_mode, defaults to false. New tag and
101         variable \pdflatex_command, defaults to pdflatex. New tag and
102         variable \view_pdf_command, defaults to xpdf. New tag and variable
103         \pdf_to_ps_command, defaults to pdf2ps.
104
105 2000-01-08  Lars Gullik Bjønnes  <larsbj@lyx.org>
106
107         * src/bufferlist.C (close): don't call insetUnlock if the buffer
108         does not have a BufferView.
109         (unlockInset): ditto + don't access the_locking_inset if the
110         buffer does not have a BufferView.
111
112         * src/LyXView.C (KeyPressMask_raw_callback): add a XSync in
113         certain circumstances so that we don't continue a keyboard
114         operation long after the key was released. Try f.ex. to load a
115         large document, press PageDown for some seconds and then release
116         it. Before this change the document would contine to scroll for
117         some time, with this change it stops imidiatly.
118
119         * src/support/block.h: don't allocate more space than needed. As
120         long as we don't try to write to the arr[x] in a array_type arr[x]
121         it is perfectly ok. (if you write to it you might segfault).
122         added operator value_type*() so that is possible to pass the array
123         to functions expecting a C-pointer.
124
125         * lib/Makefile.am (dist-hook): don't fail completely if unable to
126         cvs.
127
128         * intl/*: updated to gettext 0.10.35, tried to add our own
129         required modifications. Please verify.
130
131         * po/*: updated to gettext 0.10.35, tried to add our own required
132         modifications. Please verify.
133         
134         * src/support/lstrings.C (tostr): go at fixing the problem with
135         cxx and stringstream. When stringstream is used return
136         oss.str().c_str() so that problems with lyxstring and basic_string
137         are avoided. Note that the best solution would be for cxx to use
138         basic_string all the way, but it is not conformant yet. (it seems)
139
140         * src/lyx_cb.C + other files: moved several global functions to
141         class BufferView, some have been moved to BufferView.[Ch] others
142         are still located in lyx_cb.C. Code changes because of this. (part
143         of "get rid of current_view project".)
144
145         * src/buffer.C + other files: moved several Buffer functions to
146         class BufferView, the functions are still present in buffer.C.
147         Code changes because of this.
148
149         * config/lcmessage.m4: updated to most recent. used when creating
150         acinclude.m4.
151
152         * config/progtest.m4: updated to most recent. used when creating
153         acinclude.m4.
154         
155         * config/gettext.m4: updated to most recent. applied patch for
156         tmplinguas.
157
158         * config/gettext.m4.patch: new file that shows what changes we
159         have done to the local copy of gettext.m4.
160
161         * config/libtool.m4: new file, used in creation of acinclude.m4
162
163         * config/lyxinclude.m4: new file, this is the lyx created m4
164         macros, used in making acinclude.m4.
165         
166         * autogen.sh: GNU m4 discovered as a separate task not as part of
167         the lib/configure creation. 
168         Generate acinlucde from files in config. Actually cat
169         lyxinclude.m4, libtool.m4 and gettext.m4 together. This makes it
170         easier to upgrade .m4 files that really are external.
171
172         * src/Spacing.h: moved using std::istringstream to right after
173         <sstream>. This should fix the problem seen with some compilers.
174
175 2000-01-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
176
177         * src/lyx_cb.C: began some work to remove the dependency a lot of
178         functions have on BufferView::text, even if not really needed.
179         (GetCurrentTextClass): removed this func, it only hid the
180         current_view. 
181
182         * src/Makefile.am (lyx_DEPENDENCIES): use support/libsupport.la I
183         forgot this in last commit.
184
185         * src/Bullet.C (bulletEntry): use static char const *[] for the
186         tables, becuase of this the return arg had to change to string.
187         (bulletSize): ditto
188         (~Bullet): removed unneeded destructor
189
190         * src/BufferView.C (beforeChange): moved from lyx_cb.C
191         (insetSleep): moved from Buffer
192         (insetWakeup): moved from Buffer
193         (insetUnlock): moved from Buffer
194
195         * buffer.[Ch], BufferView.[Ch] + others: moved the_locking_inset
196         from Buffer to BufferView.
197         
198         * acinclude.m4: include libtool.m4 from libtool 1.3.4.
199
200         * config/ltmain.sh: updated to version 1.3.4 of libtool
201
202         * config/ltconfig: updated to version 1.3.4 of libtool
203
204 2000-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
205
206
207         * src/buffer.C (pop_tag): fix a dubious for() loop initialization.
208         Did I get that right?
209
210         * src/lyxlex.h: add a "using" directive or two.
211         * src/Spacing.h: ditto.
212         * src/insets/figinset.C: ditto.
213         * src/support/filetools.C: ditto.
214         * src/support/lstrings.C: ditto.
215         * src/BufferView.C: ditto.
216         * src/bufferlist.C: ditto.
217         * src/lyx_cb.C: ditto.
218         * src/lyxlex.C: ditto.
219
220         * NEWS: add some changes for 1.1.4.
221         
222 2000-01-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
223
224         * src/BufferView.C: first go at a TextCache to speed up switching
225         between documents.
226
227 2000-01-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
228
229         * lib/examples/ItemizeBullets.lyx: update from Tino Meinen. 
230         * lib/examples/nl_voorbeeld_ruw.lyx: ditto.
231         * lib/examples/nl_voorbeeld_verlyxt.lyx: ditto.
232         * lib/examples/nl_opsommingstekens.lyx: new translation from Tino
233         Meinen.
234         
235         * src/mathed/math_defs.h (MathedRowSt): make sure that all
236         members of the struct are correctly initialized to 0 (detected by
237         purify) 
238         * src/lyxrc.C (LyXRC): ditto for print_adapt_output.
239         * src/insets/figinset.C (InsetFig): ditto for pswid and pshgh.
240
241         * src/insets/figinset.C (sigchldchecker): use "delete" to free a
242         pidwait, since it was allocated with "new". This was potentially
243         very bad. Thanks to Michael Schmitt for running purify for us.
244
245
246 2000-01-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
247
248         * src/lyx_gui_misc.C: add a 'using std::make_pair;' statement.
249
250         * src/lyx_gui_misc.h: add a 'using std::pair;' statement.
251
252 1999-12-30  Allan Rae  <rae@lyx.org>
253
254         * lib/templates/IEEEtran.lyx: minor change
255
256         * src/lyxvc.C (registrer, checkIn), src/lyx_cb.C (MenuInsertLabel),
257         src/mathed/formula.C (LocalDispatch): askForText changes
258
259         * src/lyx_gui_misc.[Ch] (askForText): now returns a bool also so we 
260         know when a user has cancelled input. Fixes annoying problems with
261         inserting labels and version control.
262
263 1999-12-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
264
265         * src/support/lstrings.C (tostr): rewritten to use strstream and
266         stringstream
267
268 1999-12-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
269
270         * src/support/filetools.C (IsFileWriteable): use fstream to check
271         (IsDirWriteable): use fileinfo to check
272
273         * src/support/filetools.h (FilePtr): whole class deleted
274
275         * src/insets/figinset.C (GetPSSizes): rewritten to use ifstream.
276
277         * src/lyxparagraph.h (readSimpleWholeFile): make arg istream
278
279         * src/lyx_cb.C (InsertAsciiFile): use ifstream instead of FilePtr
280
281         * src/bufferlist.C (write): use ifstream and ofstream instead of
282         FILE*
283
284         * src/Spacing.h: use istrstream instead of sscanf
285
286         * src/mathed/math_defs.h: change first arg to istream from FILE*
287
288         * src/buffer.C (insertLyXFile): use ifstream instead of FilePtr
289
290         * src/mathed/math_parser.C: have yyis to be an istream 
291         (LexGetArg): use istream (yyis)
292         (yylex): ditto
293         (mathed_parse): ditto
294         (mathed_parser_file): first arg istream instead of FILE*, set yyis
295
296         * src/mathed/formula.C (Read): rewritten to use istream
297
298         * src/mathed/formulamacro.C (Read): rewritten to use istream
299
300         * src/lyxlex.h (~LyXLex): deleted desturctor 
301         (getStream): new function, returns an istream
302         (getFile): deleted funtion
303         (IsOK): return is.good();
304
305         * src/lyxlex.C (LyXLex): delete file and owns_file
306         (setFile): open an filebuf and assign that to a istream instead of
307         using FILE*
308         (setStream): new function, takes an istream as arg. 
309         (setFile): deleted function
310         (EatLine): rewritten us use istream instead of FILE*
311         (next): ditto
312         (nextToken): ditto
313
314         * src/table.C (LyXTable): use istream instead of FILE*
315         (Read): rewritten to take an istream instead of FILE*
316
317 1999-12-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
318
319         * src/buffer.C (Dispatch): remove an extraneous break statement.
320
321         * src/support/filetools.C (QuoteName): change to do simple
322         'quoting'. More work is necessary. Also changed to do nothing
323         under emx (needs fix too).
324         (Putenv): Cast the argument of putenv() with PUTENV_TYPE_ARG.
325
326         * acinclude.m4 (STL_STRING_FWD_H_LOCATION): add the comment for
327         config.h.in to the AC_DEFINE_UNQUOTED() call.
328         (LYX_FUNC_PUTENV_ARGTYPE): new macro. Checks whether putenv()
329         needs char * as argument (because Solaris 7 declares it like
330         that). 
331
332         * acconfig.h: remove placeholder for STL_STRING_FWD_H_LOCATION;
333         remove definition of BZERO.
334
335 1999-12-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
336
337         * src/support/LRegex.C: include <regex.h> if HAVE_REGEX_H is
338         defined, "lyxregex.h" if not.
339
340         * src/support/Makefile.am (noinst_LTLIBRARIES): changed from
341         pkglib_ to noinst_
342         (REGEX): new variable that is set to regex.c lyxregex.h when
343         AM_CONDITIONAL USE_REGEX is set.
344         (libsupport_la_SOURCES): add $(REGEX)
345
346         * src/mathed/Makefile.am (noinst_LTLIBRARIES): changed from
347         pkglib_ to noinst_
348
349         * src/insets/Makefile.am (noinst_LTLIBRARIES): changed from
350         pkglib_ to noinst_
351
352         * configure.in: add call to LYX_REGEX 
353
354         * acinclude.m4 (LYX_REGEX): checks if we need to use the included
355         regex or not. Uses a a AM_CONDITIONAL to decide what to compile. 
356
357 1999-12-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
358
359         * lib/bind/fi_menus.bind: new file, from
360         pauli.virtanen@saunalahti.fi. 
361
362         * src/buffer.C (getBibkeyList): pass the parameter delim to
363         InsetInclude::getKeys and InsetBibtex::getKeys.
364
365         * src/insets/insetinclude.[Ch] (getKeys): add parameter delim, which
366         is passed to Buffer::getBibkeyList
367         
368         * src/insets/insetbib.[Ch] (getKeys): add parameter delim, and use it
369         instead of the hardcoded comma.
370
371         * src/insets/insetbib.C (getKeys): make sure that there are not
372         leading blanks in bibtex keys. Normal latex does not care, but
373         harvard.sty seems to dislike blanks at the beginning of citation
374         keys. In particular, the retturn value of the function is
375
376         * INSTALL: make it clear that libstdc++ is needed and that gcc
377         2.7.x probably does not work.
378
379         * src/support/filetools.C (findtexfile): make debug message go to
380         the LATEX channel
381         * src/insets/insetbib.C (getKeys): ditto
382
383         * src/debug.C (showTags): make sure that the output is correctly
384         aligned. 
385
386         * configure.in: add a comment for TWO_COLOR_ICON define.
387
388         * acconfig.h: remove all the entries that already defined in
389         configure.in or acinclude.m4.
390
391         * src/buffer.C (makeLaTeXFile): headers of latex file also changed
392         to avoid user name, date and copyright.
393
394 1999-12-21  Juergen Vigna  <jug@sad.it>
395
396         * src/table.C (Read): Now read bogus row format informations
397                 if the format is < 5 so that afterwards the table can
398                 be read by lyx but without any format-info. Fixed the
399                 crash we experienced when not doing this.
400
401 1999-12-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
402
403         * src/text2.C (RedoHeightOfParagraph): rename arg cursor -> cur
404         (RedoDrawingOfParagraph): ditto
405         (RedoParagraphs): ditto
406         (RemoveTableRow): ditto
407
408         * src/text.C (Fill): rename arg paperwidth -> paper_width
409
410         * src/buffer.C (insertLyXFile): rename var filename -> fname
411         (writeFile): rename arg filename -> fname
412         (writeFileAscii): ditto
413         (makeLaTeXFile): ditto
414         (makeLinuxDocFile): ditto
415         (makeDocBookFile): ditto
416
417         * src/LaTeX.C (runMakeIndex): change arg name from file -> f
418         (runBibTeX): ditto
419
420         * src/Makefile.am (lyx_SOURCES): add bmtable.c and remove bmtable.C
421
422         * src/bmtable.h: add extern "C" on this file when __cplusplus is
423         defined.
424
425         * src/bmtable.c: new file, a C'ified copy of bmtable.C, this is
426         compiled by a C compiler not C++. 
427
428         * src/layout.h (LyXTextClass): added typedef for const_iterator
429         (LyXTextClassList): added typedef for const_iterator + member
430         functions begin and end.
431
432         * src/LyXView.C (UpdateDocumentClassChoice): rewritten to use
433         iterators to fill the choice_class.
434         (updateLayoutChoice): rewritten to use iterators to fill the
435         layoutlist in the toolbar.
436
437         * src/BufferView.h (BufferView::work_area_width): removed unused
438         variable. 
439
440         * src/lyx_gui_misc.C (WarnReadonly): added string parameter 'file'
441
442         * src/buffer.C (sgmlOpenTag): drop the use of the static space array
443         (sgmlCloseTag): ditto
444
445         * src/support/lstrings.h: return type of countChar changed to
446         unsigned char.
447
448         * src/support/lstrings.C (countChar): use HAVE_STD_COUNT to choose
449         what version of this func to use. Also made to return unsigned int.
450
451         * configure.in: call LYX_STD_COUNT 
452
453         * acinclude.m4 (LYX_STD_COUNT): new function checks for a standard
454         conforming std::count. 
455
456 1999-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
457
458         * src/mathed/math_draw.C (Draw, Metrics): fix a bug where a prime
459         and a subscript would give bad display (patch from Dekel Tsur
460         <dekel@math.tau.ac.il>). 
461
462         * src/insets/insetlatexaccent.h: make sure ACCENT_TYPES is public. 
463
464         * src/spellchecker.C (create_ispell_pipe): use a const_cast to
465         please sun CC.
466
467         * src/chset.h: add a few 'using' directives
468
469         * src/lyxfunc.C (Dispatch): check that LFUN_UNKNOWN_ACTION is not
470         triggered when no buffer is active
471
472         * src/layout.C: removed `break' after `return' in switch(), since
473         it is unreachable.
474
475         * src/lyx_main.C (init): make sure LyX can be ran in place even
476         when libtool has done its magic with shared libraries. Fix the
477         test for the case when the system directory has not been found.
478
479         * src/lyx_cb.C (MenuMakeLaTeX): make sure to keep the full path
480         name for the latex file.
481         (MenuMakeHTML): ditto
482
483         * src/buffer.h: add an optional boolean argument, which is passed
484         to ChangeExtension.
485
486 1999-12-20  Allan Rae  <rae@lyx.org>
487
488         * lib/templates/IEEEtran.lyx: small correction and update.
489
490         * configure.in: Attempted to use LYX_PATH_HEADER
491
492         * src/stl_string_fwd.h: Don't need HAVE_STL_STRING_FWD_H anymore
493
494         * acconfig.h, acinclude.m4 (LYX_STL_STRING_FWD): totally revised after
495         input from JMarc.  Now use preprocessor to find the header.
496         Also stopped making HAVE_STL_STRING_FWD_H and extended the comments.
497         (LYX_PATH_HEADER): My, so far, failed attempt to generalize
498         LYX_STL_STRING_FWD.  See comments in file.      
499
500 1999-12-19  Asger Alstrup Nielsen  <alstrup@diku.dk>
501
502         * The global MiniBuffer * minibuffer variable is dead.
503         
504         * The global FD_form_main * fd_form_main variable is dead.
505
506 1999-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
507
508         * src/toolbar.C (set): condition #warning on WITH_WARNINGS
509
510         * src/table.h: add the LOstream.h header
511         * src/debug.h: ditto
512         
513         * src/LyXAction.h: change the explaination of the ReadOnly
514         attribute: is indicates that the function _can_ be used.
515
516         * src/LyXAction.C (init): find-replace _can_ be used in read-only
517         mode. 
518
519 1999-12-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
520
521         * src/lyxfont.C (ascent): Make sure that char is _always_ used as
522         unsigned. 
523         (descent): ditto
524         (lbearing): ditto
525         (rbearing): ditto
526
527         * src/paragraph.C (GetWord): assert on pos>=0
528         (GetChar): ditto
529         
530         * src/support/lyxstring.C: condition the use of an invariant on
531         ENABLE_ASSERTIONS 
532         * src/support/lyxstring.h: ditto
533
534         * src/Bullet.[Ch]: replace DEBUG_AS_DEFAULT by ENABLE_ASSERTIONS.
535         Use LAssert.h instead of plain assert().
536
537         * src/support/lstrings.h: add LAssert.h, in case it is needed.
538
539         * src/lyxfunc.C: do not include LAssert.h, it is not used.
540         * src/support/filetools.C: ditto
541
542         * src/support/LAssert.h: make Assert a no-op if ENABLE_ASSERTIONS
543         is not defined. 
544
545         * INSTALL: document the new configure flags
546         
547         * configure.in: suppress --with-debug; add --enable-assertions
548
549         * acinclude.m4: various changes in alignment of help strings.
550
551 1999-12-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
552
553         * src/kbmap.C: commented out the use of the hash map in kb_map,
554         beginning of movement to a stl::container. 
555
556         * several files: removed code that was not in effect when
557         MOVE_TEXT was defined.
558         
559         * lib/kbd/iso8859-1.cdef: removed bogus backslashes. Backslashes
560         for escaping should not be used. We can discuss if the string
561         should be enclosed in f.ex. [] instead of "".
562
563         * src/trans_mgr.C (insert): use the new returned value from
564         encodeString to get deadkeys and keymaps done correctly.
565
566         * src/chset.C (encodeString): changed to return a pair, to tell
567         what to use if we know the string.
568
569         * src/lyxscreen.h (fillArc): new function.
570
571         * src/FontInfo.C (resize): rewritten to use more std::string like
572         structore, especially string::replace.
573
574         * src/insets/insetlatexaccent.C (Draw): use fillArc for the
575         approp. accents.
576
577         * configure.in (chmod +x some scripts): remove config/gcc-hack 
578
579 1999-12-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
580
581         * src/buffer.C (writeFile): change once again the top comment in a
582         .lyx file to point to www.lyx.org and to use LYX_DOCVERSION
583         instead of an hardcoded version number.
584         (makeDocBookFile): ditto
585
586         * src/version.h: add new define LYX_DOCVERSION
587
588         * po/de.po: update from Pit Sütterlin
589         * lib/bind/de_menus.bind: ditto.
590         
591         * src/lyxfunc.C (Dispatch): call MenuExport()
592         * src/buffer.C (Dispatch): ditto
593
594         * src/lyx_cb.C (MenuMakeHTML): new function, moved from
595         LyXFunc::Dispatch().
596         (MenuExport): new function, moved from
597         LyXFunc::Dispatch().
598
599         * src/trans_mgr.C (insert): small cleanup
600         * src/chset.C (loadFile): ditto
601
602         * lib/kbd/iso8859-1.cdef: add missing backslashes
603
604 1999-12-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
605
606         * src/insets/insetlatexaccent.C (Lbearing): new function, used to
607         help with placing the manually drawn accents better.
608         (Rbearing): ditto
609         (Draw): x2 and hg changed to float to minimize rounding errors and
610         help place the accents better.
611
612         * src/lyxfont.C (ascent): fixed faulty static_cast, casting from
613         unsigned short to char is just wrong...cast the char to unsigned
614         char instead so that the two values can compare sanely. This
615         should also make the display of insetlatexaccents better and
616         perhaps also some other insets.
617         (descent): ditto
618         (lbearing): new function
619         (rbearing): ditto
620
621 1999-12-15  Allan Rae  <rae@lyx.org>
622
623         * src/stl_string_fwd.h, src/Makefile.am (lyx_SOURCES):  added new
624         header that provides a wrapper around the very annoying SGI STL header
625         of the same name.
626
627         * src/support/lyxstring.C, src/LString.h:
628         removed old SGI-STL-compatability attempts.
629
630         * configure.in: Use LYX_STL_STRING_FWD.
631
632         * acinclude.m4 (LYX_STL_STRING_FWD), acconfig.h: Test if 
633         stl_string_fwd.h is around and try to determine it's location.
634         Major improvement over previous SGI STL 3.2 compatability.
635         Three small problems remain with this function due to my zero
636         knowledge of autoconf.  JMarc and lgb see the comments in the code.
637
638 1999-12-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
639
640         * src/broken_const.h, config/hack-gcc, config/README: removed
641         
642         * configure.in: remove --with-gcc-hack option; do not call
643         LYX_CXX_STL_STACK 
644
645         * INSTALL: remove documentation of --with-broken-const and
646         --with-gcc-hack
647         
648         * acconfig.h: remove all trace of BROKEN_CONST define
649
650         * src/buffer.C (makeDocBookFile): update version number in output
651         file. 
652         (SimpleDocBookOnePar): fix an assert when trying to a character
653         access beyond string length
654         [Patch from Jose']
655
656 1999-12-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
657
658         * po/de.po: fix the Export menu
659
660         * lyx.man: update the description of -dbg
661
662         * src/lyx_main.C (setDebuggingLevel): call Debug::showLevel()
663         (commandLineHelp): updated
664         (easyParse): show list of available debug levels if -dbg is passed
665         without argument.
666
667         * src/Makefile.am: add debug.C
668
669         * src/debug.h: moved some code to debug.C
670
671         * src/debug.C: new file. Contains code to set and show debug
672         level. 
673
674         * src/layout.C: remove 'break' after 'continue' in switch
675         statements, since these cannot be reached.
676
677 1999-12-13  Allan Rae  <rae@lyx.org>
678
679         * src/mathed/math_hash.C (math_hash): renamed from hash(), name clash.
680         (in_word_set): hash() -> math_hash()
681
682         * src/LString.h: Used USING_EXCEPTIONS in SGI STL-3.2 support 
683
684         * acconfig.h: Added a test for whether we are using exceptions in the
685         current compilation run. If so USING_EXCEPTIONS is defined.
686
687         * config.in: Check for existance of stl_string_fwd.h
688         * src/LString.h: If compiling --with-included-string and SGI's
689         STL version 3.2 is present (see above test) we need to block their
690         forward declaration of string and supply a __get_c_string().
691         However, it turns out this is only necessary if compiling with
692         exceptions enabled so I've a bit more to add yet.
693
694         * src/insets/figinset.[Ch], src/insets/insetinclude.C,
695           src/insets/insetloa.C, src/layout.h, src/lyxparagraph.h,
696           src/support/LRegex.h, src/undo.h:
697         Shuffle the order of the included files a little to ensure that
698         LString.h gets included before anything that includes stl_string_fwd.h
699
700         *  src/support/lyxstring.C: We need to #include LString.h instead of
701         lyxstring.h to get the necessary definition of __get_c_string.
702         (__get_c_string): New function.  This is defined static just like SGI's
703         although why they need to do this I'm not sure.  Perhaps it should be
704         in lstrings.C instead.
705
706         * lib/templates/IEEEtran.lyx:  New template file.
707
708 1999-12-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
709         
710         * Makefile.in.in (MKINSTALLDIRS): use $(srcdir)/@MKINSTALLDIRS@
711         * intl/Makefile.in (MKINSTALLDIRS):  ditto
712
713         * src/LyXAction.C (init): changed to hold the LFUN data in a
714         automatic array in stead of in callso to newFunc, this speeds up
715         compilation a lot. Also all the memory used by the array is
716         returned when the init is completed.
717
718         * a lot of files: compiled with -Wold-style-cast, changed most of
719         the reported offenders to C++ style casts. Did not change the
720         offenders in C files. 
721
722         * src/trans.h (Match): change argument type to unsigned int.
723
724         * src/support/DebugStream.C: fix some types on the streambufs so
725         that it works on a conforming implementation.
726
727 1999-12-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
728
729         * lib/examples/example_{raw,lyxified}.lyx: fix embarassing sentence.
730
731         * src/support/lyxstring.C: remove the inline added earlier since
732         they cause a bunch of unsatisfied symbols when linking with dec
733         cxx. Cxx likes to have the body of inlines at the place where they
734         are declared.
735
736         * src/trans.C (AddDeadkey): add an 'unsigned char' cast to avoid
737         accessing negative bounds in array. This fixes the crash when
738         inserting accented characters.
739         * src/trans.h (Match): ditto
740
741         * src/buffer.C (Dispatch): since this is a void, it should not try
742         to return anything...
743
744 1999-12-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
745
746         * src/buffer.h: removed the two friends from Buffer. Some changes
747         because of this. Buffer::getFileName and Buffer::setFileName
748         renamed to Buffer::fileName() and Buffer::fileName(...).
749
750 1999-12-09  Lars Gullik Bjønnes <larsbj@lyx.org>
751
752         * buffer.[Ch], BufferView.[Ch] + other files: Moved Buffer::text
753         and Buffer::update(short) to BufferView. This move is currently
754         controlled by a define MOVE_TEXT, this will be removed when all
755         shows to be ok. This move paves the way for better separation
756         between buffer contents and buffer view. One side effect is that
757         the BufferView needs a rebreak when swiching buffers, if we want
758         to avoid this we can add a cache that holds pointers to LyXText's
759         that is not currently in use. 
760
761         * buffer.[Ch], lyx_main.C: small changes to the "-export" patch by
762         André Pönitz. 
763
764 1999-11-18  André Pönitz <poenitz@mathematik.tu-chemnitz.de>
765
766         * buffer.[Ch]: Dispatch() - new dispatcher on the buffer level
767
768         * lyx_main.C: new command line option -x (or --execute) and
769           -e (or --export). Now direct conversion from .lyx to .tex
770           (.dvi, .ps, ...) is possible  ('lyx file.lyx --export latex')
771           Unfortunately, X is still needed and the GUI pops up during the
772           process...
773
774 1999-12-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
775
776         * src/Spacing.C: add a using directive to bring stream stuff into
777         normal namespace.
778         * src/paragraph.C: ditto
779         * src/buffer.C: ditto
780
781         * NEWS: updated a bit the new features of 1.1.3 (took a few things
782         from Lars' announcement).
783
784         * lib/examples/nl_voorbeeld_{ruw,verlyxt}.lyx: new tutorial
785         example files from Tino Meinen.
786         
787 1999-12-06  Allan Rae  <rae@lyx.org>
788
789         * src/LaTeX.C (runBibTeX): fix typo in accessing submatch pair.
790
791 1999-12-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
792
793         * src/support/lyxstring.C: added a lot of inline for no good
794         reason
795         
796         * src/lyxfont.[Ch]: removed latexWriteStartChanges, and
797         latexWriteEndChanges, they were not used.
798         
799         * src/layout.h (operator<<): output operator for PageSides
800
801         * src/mathed/math_iter.C (my_memcpy): slightly changed.
802
803         * some example files: loaded in LyX 1.0.4 and saved again to update
804         certain constructs (table format) 
805
806         * a lot of files: did the change to use fstream/iostream for all
807         writing of files. Done with a close look at Andre Poenitz's patch.
808
809         * some files: whitespace changes.
810         
811 1999-12-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
812
813         * src/mathed/math_iter.C (my_memcpy): new function. Since the
814         built-in memcpy() is broken on egcs and gcc 2.95 for alpha
815         architecture, we provide our own. It is used unconditionnally, but
816         I do not think this is a performance problem. Thanks to Angus
817         Leeming <a.leeming@ic.ac.uk> for the code (and again to Michal
818         Jaegermann <michal@ellpspace.math.ualberta.ca> for finding it the
819         first time).
820         (GetInset): use my_memcpy.
821         (Insert): ditto
822         (Copy): ditto
823
824         * lib/chkconfig.ltx: some cleanup of the latex code. I am not sure
825         it is easier to understand, but it uses less TeX-only constructs now.
826
827         * acinclude.m4 (LYX_SEARCH_PROG): make it work when the PATH
828         elements contain spaces
829
830         * lib/configure: regenerated
831         
832         * lib/configure.m4 (SEARCH_PROG): make it work when the PATH
833         elements contain spaces; display the list of programs that are
834         tried.
835
836         * autogen.sh: make sure lib/configure is executable
837
838         * lib/examples/*: rename the tutorial examples to begin with the
839         two-letters language code.
840
841         * src/lyxfunc.C (getStatus): do not query current font if no
842         buffer exists.
843
844         * src/lyx_cb.C (RunScript): use QuoteName
845         (MenuRunDvips): ditto
846         (PrintApplyCB): ditto
847
848         * src/support/filetools.[Ch] (QuoteName): new function. Add quotes
849         around argument, so that it works well with the current shell.
850         Does not work properly with OS/2 shells currently.
851
852         * src/LaTeXLog.C (ShowLatexLog): use Buffer::getLatexName
853         * src/LyXSendto.C (SendtoApplyCB): ditto
854         * src/lyxfunc.C (Dispatch): ditto
855         * src/buffer.C (runLaTeX): ditto
856         (runLiterate): ditto
857         (buildProgram): ditto
858         (runChktex): ditto
859         * src/lyx_cb.C (RunScript): ditto
860         (MenuMakeLaTeX): ditto
861         
862         * src/buffer.h (getLatexName): new method 
863
864         * src/support/filetools.C (MakeLatexName): renamed from SpaceLess
865
866 1999-12-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
867
868         * images/sqrt.xpm: change name of the sqrt icon to sqrt_xpm.
869         * src/mathed/math_panel.C (mathed_get_pixmap_from_icon): ditto
870         (create_math_panel): ditto
871
872         * src/lyxfunc.C (getStatus): re-activate the code which gets
873         current font and cursor; add test for export to html.
874
875         * src/lyxrc.C (read): remove unreachable break statements; add a
876         few "using".
877
878         * src/bmtable.C (fl_set_bmtable_data): add a const_cast.
879         
880 1999-12-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
881
882         * src/mathed/formula.C (LocalDispatch): fix small whitspace bug
883         introduced by faulty regex.
884         * src/buffer.C: ditto
885         * src/lastfiles.C: ditto
886         * src/paragraph.C: ditto
887         * src/table.C: ditto
888         * src/vspace.C: ditto
889         * src/insets/figinset.C: ditto
890         Note: most of these is absolutely harmless, except the one in
891         src/mathed formula.C.
892
893 1999-11-30  Kayvan A. Sylvan  <kayvan@satyr.sylvan.com>
894
895         * src/ImportNoweb.C (documentclass): fixed bounds for substr
896           operation, yielding correct results for the reLyX command.
897
898 1999-12-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
899
900         * src/support/filetools.C (ExpandPath): removed an over eager
901         Assert.
902         (ReplaceEnvironmentPath): ditto
903
904         * src/toolbar.C (BubbleTimerCB): use C++ style casts. This clearly
905         shows that we are doing something fishy in our code...
906         (BubblePost): ditto
907         (ToolbarCB): ditto
908
909         * src/lyxrc.C (read): use a double switch trick to get more help
910         from the compiler. (the same trick is used in layout.C)
911         (write): new function. opens a ofstream and pass that to output
912         (output): new function, takes a ostream and writes the lyxrc
913         elemts to it. uses a dummy switch to make sure no elements are
914         forgotten. 
915
916         * src/lyxlex.h: added a struct pushpophelper for use in functions
917         with more than one exit point.
918
919         * src/lyxlex.[Ch] (GetInteger): made it const
920         (GetFloat): ditto
921         (GetBool): ditto
922
923         * src/lyxfunc.C (Dispatch): added case for LFUN_SAVEPREFERENCES
924
925         * src/layout.[hC] : LayoutTags splitted into several enums, new
926         methods created, better error handling cleaner use of lyxlex. Read
927         the diff.
928
929         * src/bmtable.[Ch]: change some member prototypes because of the
930         image const changes. 
931
932         * commandtags.h, src/LyXAction.C (init): new function:
933         "preferences-save", saves the lyxrc entries into .lyx/preferences.
934         This file is not read automatically but you can add \input
935         preferences to your lyxrc if you want to. We need to discuss how
936         to handle this. 
937
938         * src/LaTeX.C (runBibTeX): use regex to match for the needed lines
939         in .aux, also remove .bib and .bst files from dependencies when
940         running bibtex.
941
942         * src/BufferView.C, src/LyXView.C: add const_cast several places
943         because of changes to images.
944
945         * lib/images/*: same change as for images/*
946         
947         * lib/lyxrc.example: Default for accept_compound is false not no.
948
949         * images/*: changed to be const, however I have som misgivings
950         about this change so it might be changed back.
951
952 1999-11-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
953
954         * lib/configure, po/POTFILES.in: regenerated
955
956         * autogen.sh: autogenerate lib/configure from lib/configure.m4
957
958         * config/lib_configure.m4: removed
959         
960         * lib/configure.m4: new file (was config/lib_configure.m4)
961
962         * configure.in: do not test for rtti, since we do not use it.
963         
964 1999-11-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
965
966         * src/support/lyxstring.C (lyxstring::Srep): Changed to use a
967         doubling of allocated space scheme. This makes it faster for large
968         strings end to use less memory for small strings. xtra rememoved. 
969
970         * src/insets/figinset.C (waitalarm): commented out.
971         (GhostscriptMsg): use static_cast
972         (GhostscriptMsg): use new instead of malloc to allocate memory for
973         cmap. also delete the memory after use.
974
975         * src/lyx_cb.C (SetXtermCursor): made cursor_undefined a bool
976
977         * src/LaTeX.C (scanAux): new method. Scans the .aux file and looks
978         for changes in bibtex database or style.
979         (runBibTeX): remove all .bib and .bst files from dep before we
980         begin. 
981         (run): use scanAuc in when dep file already exist.
982
983         * src/DepTable.C (remove_files_with_extension): new method
984         (exist): new method
985
986         * src/DepTable.[Ch]: made many of the methods const. 
987
988 1999-11-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
989
990         * src/bufferparams.C: make sure that the default textclass is
991         "article". It used to be the first one by description order, but
992         now the first one is "docbook".
993
994         * src/lyx_main.C (setDebuggingLevel): change type of argument to
995         string; call Debug::value.
996         (easyParse): pass complete argument to setDebuggingLevel().
997
998         * src/debug.h (value): fix the code that parses debug levels.
999
1000         * src/debug.h: add new debug type ACTION, reserved for LyXAction
1001         class.  
1002
1003         * src/LyXAction.C: use Debug::ACTION as debug channel.
1004
1005         * src/lyxlookup.C: make the debug statements go to Debug::KEY.
1006
1007         * NEWS: updated for the future 1.1.3 release.
1008
1009         * src/mathed/symbol_def.h: swap the definitions of \varepsilon and
1010         \epsilon. Now \epsilon shows as red text, and \varepsilon shows as
1011         it should. This is of course a controversial change (since many
1012         people will find that their lyx workscreen is suddenly full of
1013         red), but done for the sake of correctness.
1014
1015         * src/mathed/formulamacro.h, src/mathed/math_macro.[Ch],
1016           src/mathed/math_root.[Ch] (Clone): return a MathedInset*  
1017
1018         * src/insets/inseterror.h, src/insets/inseturl.h,
1019           src/insets/insetinfo.h, src/insets/figinset.h,
1020           src/mathed/formulamacro.h, src/mathed/math_macro.h
1021           (EditMessage): add a missing const and add _() to make sure that
1022         translation happens
1023
1024         * src/ImportNoweb.C, src/LyXAction.h, src/insets/figinset.C,
1025           src/insets/insetbib.C, src/support/filetools.C: add `using'
1026         directives for cxx.  
1027
1028         * src/lyxfunc.C (Dispatch): make sure nothing bad happens when
1029         doing 'Insert index of last word' at the beginning of a paragraph.
1030
1031 1999-11-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
1032
1033         * several files: white-space changes.
1034
1035         * src/mathed/formula.C: removed IsAlpha and IsDigit
1036
1037         * src/insets/insetbib.C (getKeys): use findtexfile to look for the
1038         .bib file. use a ifstream instead of FilePtr when parsing the .bib
1039         file for keys.
1040
1041         * src/insets/figinset.C (GetPSSizes): don't break when
1042         "EndComments" is seen. But break when a boundingbox is read.
1043
1044         * all classes inherited from Inset: return value of Clone
1045         changed back to Inset *.
1046
1047         * all classes inherited form MathInset: return value of Clone
1048         changed back to MathedInset *.
1049         
1050         * src/insets/figinset.C (runqueue): use a ofstream to output the
1051         gs/ps file. Might need some setpresicion or setw. However I can
1052         see no problem with the current code.
1053         (runqueue): use sleep instead of the alarm/signal code. I just
1054         can't see the difference.
1055
1056         * src/paragraph.C (LyXParagraph): reserve space in the new
1057         paragraph and resize the inserted paragraph to just fit.
1058
1059         * src/lyxfunc.h (operator|=): added operator for func_status.
1060
1061         * src/lyxfunc.C (MenuNew): use FileInfo instead of FilePtr to
1062         check for readable file.
1063
1064         * src/lyx_cb.C (MenuMakeLaTeX): use FileInfo instead of FilePtr to
1065         check for readable file.
1066         (MenuMakeLinuxDoc): ditto
1067         (MenuMakeDocBook): ditto
1068         (MenuMakeAscii): ditto
1069         (InsertAsciiFile): split the test for openable and readable
1070
1071         * src/bmtable.C (draw_bitmaptable): use
1072         fl_state[fl_get_vclass()].depth instead of DefualtScreen.
1073
1074         * src/LaTeX.C, src/support/filetools.[Ch]: moved do_popen and
1075         findtexfile from LaTeX to filetools.
1076         
1077         * src/ImportNoweb.C (documentclass): rewrote to use ifstream
1078         instead of FilePtr. Needs to be verified by a literate user.
1079
1080 1999-11-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1081
1082         * src/mathed/formula.[Ch] (GetCursorPos): add a missing 'const'.
1083         (EditMessage): likewise.
1084
1085         * src/paragraph.C (SimpleTeXSpecialChars): output ~ and ^
1086         respectively as \textasciitilde and \textasciicircum.
1087
1088 1999-11-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
1089
1090         * src/support/lyxstring.h: made the methods that take iterators
1091         use const_iterator.
1092
1093         * src/support/lstrings.C (countChar): use std::cound(itr, itr, val)
1094         (regexMatch): made is use the real regex class.
1095
1096         * src/support/Makefile.am: changed to use libtool
1097
1098         * src/support/.cvsignore: added *.lo, .libs and libsupport.la
1099
1100         * src/mathed/math_defs.h: made the mathaligns be in a enum instead
1101         of defines.
1102         (MathIsInset ++): changed several macros to be inline functions
1103         instead. 
1104
1105         * src/mathed/Makefile.am: changed to use libtool
1106
1107         * src/mathed/.cvsignore: added *.lo, .libs and libmathed.la
1108
1109         * src/insets/inset* : Clone changed to const and return type is
1110         the true insettype not just Inset*.
1111         
1112         * src/insets/Makefile.am: changed to use libtool
1113
1114         * src/insets/.cvsignore: added *.lo, .libs and libinsets.la
1115
1116         * src/undo.[Ch] : added empty() and changed some of the method
1117         names.
1118         
1119         * src/texrow.[Ch]: rewrote to store texrow's in a std::list.
1120
1121         * src/lyxparagraph.h: use id() and id(...) instead of getID and
1122         setID use block<> for the bullets array, added const several places.
1123
1124         * src/lyxfunc.C (getStatus): new function
1125
1126         * src/lyxfunc.[Ch] : small changes to take advantage of the new
1127         LyXAction, added const to several funtions.
1128
1129         * src/filedlg.[Ch]: rewrote to store userchache and groupchache in
1130         a std::map, and to store the dir items in a vector.
1131
1132         * src/Makefile.am (lyx_DEPENDENCIES): changed to use libtool files
1133         as dependencies.
1134
1135         * src/LyXView.[Ch] + other files : changed currentView to view.
1136         
1137         * src/LyXAction.[Ch] : ported from the old devel branch.
1138         
1139         * src/.cvsignore: added .libs and a.out
1140
1141         * configure.in : changes to use libtool. 
1142
1143         * acinclude.m4 : inserted libtool.m4
1144
1145         * .cvsignore: added libtool
1146
1147 1999-11-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1148
1149         * src/Makefile.am (lyx_DEPENDENCIES): give the explicit object
1150         file name in insets and mathed directories (otherwise the
1151         dependency is not taken in account under cygwin).
1152
1153         * src/text2.C (InsertString[AB]): make sure that we do not try to
1154         read characters past the string length.
1155
1156 1999-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1157
1158         * lib/doc/LaTeXConfig.lyx.in, 
1159           lib/chkconfig.ltx: remove the test for linuxdoc-sgml.sty.
1160
1161         * src/buffer.C (writeFile): Do not add a comment on top of .lyx
1162         file saying who created them and when this heppened; this is
1163         useless and annoys tools like cvs.
1164
1165         * lib/layouts/g-brief-{en,de}.layout,
1166           lib/templates/g-brief-{en,de}.lyx: new versions of the textclass
1167         from Thomas Hartkens <thomas@hartkens.de>.
1168
1169         * src/{insets,mathed}/Makefile.am: do not declare an empty
1170         LDFLAGS, so that it can be set at configure time (useful on Irix
1171         for -n32 flag).
1172
1173         * lib/reLyX/configure.in: make sure that the prefix is set
1174         correctly in LYX_DIR.
1175
1176 1999-11-18  André Pönitz <poenitz@mathematik.tu-chemnitz.de>
1177
1178         * src/commandtags.h: introduction of a new tag 'LFUN_SEQUENCE' to
1179         be used by 'command-sequence' this allows to bind a key to a
1180         sequence of LyX-commands
1181         (Example: 'command-sequence math-insert alpha; math-insert beta;")
1182
1183         * src/LyXAction.C: add "command-sequence"
1184
1185         * src/LyXFunction.C: handling of "command-sequence"
1186
1187         * src/LyXFunction.[hC] changed LyXFunc::Dispatch(string const
1188          &cmd, string const &arg) to LyXFunc::Dispatch(string const& s)
1189
1190         * src/lyxserver.C, src/minibuffer.C: Use this new interface
1191
1192 1999-11-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1193
1194         * src/buffer.C (writeFile): Do not output a comment giving user
1195         and date at the beginning of a .lyx file. This is useless and
1196         annoys cvs anyway; update version number to 1.1.
1197
1198         * src/Makefile.am (LYX_DIR): add this definition, so that a
1199         default path is hardcoded in LyX.
1200
1201         * configure.in: Use LYX_GNU_GETTEXT.
1202
1203         * acinclude.m4 (LYX_GNU_GETTEXT): new macro, essentially a copy of
1204         AM_GNU_GETTEXT with a bug fixed. 
1205
1206         * src/lyx_cb.C (RunLinuxDoc): add a cast to please dec cxx.
1207
1208         * src/chset.C: add "using std::ifstream;" to please dec cxx.
1209
1210         * src/lyx_main.C (init), INSTALL.OS2: the environment variable
1211         which is used to point to LyX data is now LYX_DIR_11x.
1212
1213         * lyx.man: convert to a unix text file; small updates.
1214
1215 1999-11-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
1216
1217         * src/support/LSubstring.[Ch]: made the second arg of most of the
1218         constructors be a const reference. 
1219
1220         * src/mathed/math_parser.C (LexInitCodes): small bug introduced by
1221         me fixed.
1222
1223         * src/support/lyxstring.[Ch] (swap): added missing member function
1224         and specialization of swap(str, str); 
1225
1226         * src/menus.C (ShowBufferMenu): to use the new BufferStorage
1227
1228         * src/bufferlist.[Ch]: use the new BufferStorage class and remove all
1229         trace of the old one.
1230
1231         * src/undo.[Ch]: made the undostack use std::list to store undo's in
1232         put the member definitions in undo.C.
1233
1234         * src/lyxparagraph.h, src/paragraph.C + a lot of files: removed
1235         NEW_TEXT and have now only code that was included when this was
1236         defined. 
1237
1238         * src/intl.C (LCombo): use static_cast
1239         (LCombo2): ditto
1240         (DispatchCallback): ditto
1241
1242         * src/definitions.h: removed whole file
1243         
1244         * src/commandtags.h: comment out LFUN_INSERT_INSET_LATEX
1245
1246         * src/chset.[Ch]: a lot rewritten, does not use lyxlex for cdef
1247         parsing and stores in a std:map. a regex defines the file format.
1248         removed unneeded members.
1249
1250         * src/bufferparams.h: added several enums from definitions.h here.
1251         Removed unsused destructor. Changed some types to use proper enum
1252         types. use block to have the temp_bullets and user_defined_bullets
1253         and to make the whole class assignable.
1254
1255         * src/bufferparams.C (Copy): removed this functions, use a default
1256         assignment instead. 
1257
1258         * src/buffer.h: made isLatex, isLinuxDoc, isDocBook, isSGML and
1259         isLiterate const.
1260
1261         * src/buffer.C (readLyXformat2): commend out all that have with
1262         oldpapersize to do. also comment out all that hve to do with
1263         insetlatex and insetlatexdel. 
1264         (setOldPaperStuff): commented out
1265
1266         * src/Makefile.am (lyx_SOURCES): remove definitions.h, add undo.C
1267
1268         * src/LyXAction.C: remove use of inset-latex-insert
1269
1270         * src/mathed/math_panel.C (button_cb): use static_cast
1271
1272         * src/insets/Makefile.am (insets_o_SOURCES): removed
1273         insetlatex.[Ch] 
1274
1275         * src/support/lyxstring.C (helper): use the unsigned long
1276         specifier, UL, instead of a static_cast.
1277
1278         * src/support/Makefile.am (libsupport_a_SOURCES): added block.h
1279
1280         * src/support/block.h: new file. to be used as a c-style array in
1281         classes, so that the class can be assignable.
1282
1283 1999-11-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1284
1285         * src/lyx_gui_misc.C (askForText): when fl_show_input() returns
1286         NULL, make sure to return an empty string (it is not possible to
1287         set a string to NULL).
1288
1289 1999-11-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1290
1291         * src/support/LRegex.C: use regex_t instead of re_pattern_buffer.
1292
1293         * src/support/lyxstring.C (helper): fix bogus cast in assertion.
1294
1295         * src/{mathed,insets}/Makefile.am (CXXLINK): add $(LDFLAGS) to the
1296         link line, so that Irix users (for example) can set it explicitely to
1297         "-n32".
1298         
1299         * src/Makefile.am (lyx_LDADD): use LYX_LIB as a variable, so that
1300         it can be overidden at make time (static or dynamic link, for
1301         example).
1302         
1303         * src/vc-backend.C, src/LaTeXFeatures.h, 
1304           src/support/LRegex.C, src/support/LRegex.h: add a few "using" 
1305         statements to bring templates to global namespace.
1306
1307 1999-11-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1308
1309         * src/support/lyxstring.C (operator[] const): make it standard
1310         conforming. 
1311
1312         * src/minibuffer.C (Init): changed to reflect that more
1313         information is given from the lyxvc and need not be provided here.
1314
1315         * src/lyxvc.[Ch]: rewrote to use the vc-backend.
1316         
1317         * src/Makefile.am (lyx_SOURCES): add vc-backend.[Ch]
1318
1319         * src/LyXView.C (UpdateTimerCB): use static_cast
1320         (KeyPressMask_raw_callback): ditto
1321
1322         * src/BufferView.[Ch]: name change _owner -> owner_ and _buffer ->
1323         buffer_, a lot of changes because of this. currentBuffer() ->
1324         buffer(), setBuffer(...) -> buffer(...), getOwner() -> owner(),
1325         also changes to other files because of this.
1326
1327 1999-11-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1328
1329         * src/vc-backend.[Ch]: new files. The backends for vc handling,
1330         have no support for RCS and partial support for CVS, will be
1331         improved later.
1332         
1333         * src/insets/ several files: changes because of function name
1334         changes in Bufferview and LyXView.
1335         
1336         * src/mathed/math_symbols.C (math_insert_symbol): use static_cast
1337
1338         * src/support/LSubstring.[Ch]: new files. These implement a
1339         Substring that can be very convenient to use. i.e. is this
1340         possible:
1341         string a = "Mary had a little sheep";
1342         Substring(a, "sheep") = "lamb";
1343         a is now "Mary has a little lamb".
1344
1345         * src/support/LRegex.[Ch]: a regex class that can be used to pick
1346         out patterns and subpatterns of strings. It is used by LSubstring
1347         and also by vc-backend.C
1348         
1349         * src/support/lyxstring.C: went over all the assertions used and
1350         tried to correct the wrong ones and flag which of them is required
1351         by the standard. some bugs found because of this. Also removed a
1352         couple of assertions.
1353
1354         * src/support/Makefile.am (libsupport_a_SOURCES): added
1355         LSubstring.[Ch] and LRegex.[Ch]
1356
1357         * src/support/FileInfo.h: have struct stat buf as an object and
1358         not a pointer to one, some changes because of this.
1359
1360         * src/LaTeXFeatures.C (getTClassPreamble): also use the
1361         information in layout when adding the layouts preamble to the
1362         textclass preamble.
1363
1364         * src/LaTeXFeatures.h: use a vector<bool> to store the layout
1365         usage in.
1366
1367         * configure.in (CPPFLAGS): use AC_CHECK_FUNCS to check for XOpenIM
1368         because of bug in OS/2.
1369
1370 1999-11-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1371
1372         * lib/layouts/lyxmacros.inc (lyxcode): set the font with
1373         \verbatim@font instead of \ttfamily, so that it can be redefined.
1374
1375         * src/BackStack.h, src/DepTable.C, src/DepTable.h, src/LaTeX.C,
1376           src/LaTeX.h, src/lastfiles.C, src/lastfiles.h, src/layout.C,
1377           src/layout.h, src/text2.C: add 'using' directive to bring the
1378         STL templates we need from the std:: namespace to the global one.
1379         Needed by DEC cxx in strict ansi mode.
1380
1381         * src/support/LIstream.h,src/support/LOstream.h,
1382           src/support/lyxstring.h,src/table.h,
1383           src/lyxlookup.h: do not include <config.h> in header
1384         files. This should be done in the .C files only.
1385
1386         * development/lyx.spec.in: WHATSNEW has been renamed to NEWS
1387         (from Kayvan).
1388         
1389
1390 1999-11-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1391
1392         * config/lib_configure.m4,lib/configure,lib/lyxrc.example: update
1393         from Kayvan to fix the tth invokation.
1394
1395         * development/lyx.spec.in: updates from Kayvan to reflect the
1396         changes of file names.
1397
1398 1999-11-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1399
1400         * src/text2.C (InsertStringB): use std::copy
1401         (InsertStringA): use std::copy
1402
1403         * src/bufferlist.C: use a vector to store the buffers in. This is
1404         an internal change and should not affect any other thing.
1405         
1406         * src/BufferView.C (waitForX): use XSync instead of the lengthy
1407         stuff in waitForX.
1408
1409         * src/text.C (Fill): fix potential bug, one off bug.
1410
1411 1999-11-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1412
1413         * src/Makefile.am (lyx_main.o): add more files it depends on.
1414
1415         * src/lyx_cb.C (addNewlineAndDepth): parameters in wrong order.
1416
1417         * src/support/lyxstring.C: use size_t for the reference count,
1418         size, reserved memory and xtra.
1419         (internal_compare): new private member function. Now the compare
1420         functions should work for std::strings that have embedded '\0'
1421         characters.
1422         (compare): all compare functions rewritten to use
1423         internal_compare.
1424         
1425 1999-11-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
1426
1427         * src/support/lyxstring.C (compare): pass c_str()
1428         (compare): pass c_str
1429         (compare): pass c_str
1430
1431 1999-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1432
1433         * src/support/DebugStream.C: <config.h> was not included correctly.
1434
1435         * lib/configure: forgot to re-generate it :( I'll make this file
1436         auto generated soon.
1437
1438 1999-11-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
1439
1440         * acinclude.m4 (cross_compiling): add -fpermissive when gcc 2.95.x
1441         is used.
1442
1443         * src/support/lyxstring.C: some changes from length() to rep->sz.
1444         avoids a function call.
1445
1446         * src/support/filetools.C (SpaceLess): yet another version of the
1447         algorithm...now per Jean-Marc's suggestions.
1448
1449 1999-11-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1450
1451         * src/layout.C (less_textclass_desc): functor for use in sorting
1452         of textclasses. 
1453         (LyXTextClass::Read): sort the textclasses after reading.
1454         
1455         * src/support/filetools.C (SpaceLess): new version of the
1456         SpaceLess functions. What problems does this one give? Please
1457         report.
1458
1459         * images/banner_bw.xbm: made the arrays unsigned char *
1460
1461 1999-11-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1462
1463         * src/support/lyxstring.C (find): remove bogus assertion in the
1464         two versions of find where this has not been done yet.
1465
1466         * src/support/lyxlib.h: add missing int return type to
1467         lyx::chdir(). 
1468
1469         * src/menus.C (ShowFileMenu): disable exporting to html if no
1470         html export command is present.
1471
1472         * config/lib_configure.m4: add a test for an HTML converter. The
1473         programs checked for are, in this order: tth, latex2html and
1474         hevea. 
1475
1476         * lib/configure: generated from config/lib_configure.m4.
1477
1478         * src/lyxfunc.C (Dispatch): update and improve the execution of an
1479         html converter. The parameters are now passed through $$FName and
1480         $$OutName, instead of standard input/output.
1481
1482         * src/lyxrc.{C,h}: rename \tth_command to \html_command.
1483
1484         * lib/lyxrc.example: update description of \html_command. 
1485         add "quotes" around \screen_font_xxx font setting examples to help
1486         people who use fonts with spaces in their names.
1487
1488 1999-11-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1489
1490         * Distribution files: updates for v1.1.2
1491
1492         * src/support/lyxstring.C (find): remove bogus assert and return
1493         npos for the same condition.
1494
1495 1999-11-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1496
1497         * added patch for OS/2 from SMiyata.
1498
1499 1999-10-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
1500
1501         * src/text2.C (CutSelection): make space_wrapped a bool
1502         (CutSelection): dont declare int i until we have to.
1503         (alphaCounter): return a char const *.
1504
1505 1999-10-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1506
1507         * src/support/syscall.C (Systemcalls::kill): 
1508           src/support/filetools.C (PutEnv, PutEnvPath): 
1509           src/lyx_cb.C (addNewlineAndDepth): 
1510           src/FontInfo.C (FontInfo::resize): condition some #warning
1511         directives with WITH_WARNINGS.
1512         
1513
1514 1999-10-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1515
1516         * src/layout.[Ch] + several files: access to class variables
1517         limited and made accessor functions instead a lot of code changed
1518         becuase of this. Also instead of returning pointers often a const
1519         reference is returned instead.
1520         
1521         * src/form1.C (create_form_Figure): added a couple fo "no-c-format"
1522
1523         * src/Makefile.am (dist-hook): added used to remove the CVS from
1524         cheaders upon creating a dist
1525         (EXTRA_DIST): added cheaders
1526
1527         * src/support/lstrings.C (tostr(char)): fix it to handle param as
1528         a character not as a small integer. 
1529
1530         * src/support/lyxstring.C (find): removed Assert and added i >=
1531         rep->sz to the first if.
1532
1533 1999-10-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
1534
1535         * src/layout.[Ch] src/BufferView.C src/LaTeXFeatures.C
1536         src/LyXView.C src/buffer.C src/bufferparams.C
1537         src/lyx_cb.C src/lyxfunc.C src/paragraph.C src/text.C 
1538         src/text2.C src/insets/insetinclude.C:
1539         lyxlayout renamed to textclasslist.
1540
1541         * src/layout.C: some lyxerr changes.
1542
1543         * src/layout.[Ch] (LyXLayout::Read): changed second paramter to
1544         LyXTextClass. rewrote LT_COPYSTYLE, rewrote LT_OBSOLETEDBY
1545         (LyXLayoutList): removed all traces of this class.
1546         (LyXTextClass::Read): rewrote LT_STYLE
1547         (LyXTextClass::hasLayout): new function
1548         (LyXTextClass::GetLayout): rewritten to return an iterator + has
1549         both const and nonconst version.
1550         (LyXTextClass::delete_layout): new function.
1551         (LyXTextClassList::Style): bug fix. do the right thing if layout
1552         is to big.
1553         (LyXTextClassList::NumberOfLayout): new acces to layoutlist.
1554         (LyXTextClassList::NameOfLayout): ditto 
1555         (LyXTextClassList::Load): ditto
1556
1557         * src/buffer.C (makeLaTeXFile): new access to layoutlist
1558
1559         * src/LaTeXFeatures.C (getTClassPreamble): new access to layoutlist
1560
1561         * src/LyXAction.C (LookupFunc): added a workaround for sun
1562         compiler, on the other hand...we don't know if the current code
1563         compiles on sun at all...
1564
1565         * src/support/filetools.C (CleanupPath): subst fix
1566
1567         * src/insets/insetbib.C (delDatabase): subst fix, this looks
1568         _really_ weird.
1569
1570         * src/support/filetools.C (PutEnvPath): subst fix, how come nobody
1571         complained about this one?
1572
1573         * src/insets/insetinclude.C (Latex): subst fix
1574
1575         * src/insets/insetbib.C (getKeys): subst fix
1576
1577         * src/LyXSendto.C (SendtoApplyCB): subst fix
1578
1579         * src/lyx_main.C (init): subst fix
1580
1581         * src/layout.C (Read): subst fix
1582
1583         * src/lyx_sendfax_main.C (button_send): subst fix
1584
1585         * src/buffer.C (RoffAsciiTable): subst fix
1586
1587         * src/lyx_cb.C (MenuFax): subst fix
1588         (PrintApplyCB): subst fix
1589
1590 1999-10-26  Juergen Vigna  <jug@sad.it>
1591
1592         * src/table.C (TexEndOfCell) + (DocBookEndOfCell): removed some #if 0
1593
1594         (Read): Cleaned up this code so now we read only format vestion >= 5
1595
1596 1999-10-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
1597
1598         * src/support/filetools.C (PutEnvPath): subst fix for EMX, how
1599         come nobody has complained about this one?
1600
1601         * src/insets/insetinclude.C (Latex): subst fix
1602
1603         * src/insets/insetbib.C (getKeys): subst fix
1604
1605         * src/lyx_main.C (init): subst fix
1606
1607         * src/layout.C (Read): subst fix
1608
1609         * src/buffer.C (RoffAsciiTable): subst fix
1610
1611         * src/lyx_cb.C (MenuFax): subst fix.
1612
1613         * src/layout.[hC] + some other files: rewrote to use
1614         std::container to store textclasses and layouts in.
1615         Simplified, removed a lot of code. Make all classes
1616         assignable. Further simplifications and review of type
1617         use still to be one. 
1618
1619         * src/menus.C (ShowFileMenu/ShowFileMenu2): Use the iterators from
1620         lastfiles to create the lastfiles partr of the menu.
1621
1622         * src/lastfiles.[Ch]: rewritten to use deque to store the
1623         lastfiles in. Uses fstream for reading and writing. Simplifies
1624         code.
1625
1626         * src/support/syscall.C: remove explicit cast.
1627
1628         * src/BufferView.C (CursorToggleCB): removed code snippets that
1629         were commented out.
1630         use explicat C++ style casts instead of C style casts. also use
1631         u_vdata instea of passing pointers in longs.
1632
1633         * src/PaperLayout.C: removed code snippets that were commented out.
1634
1635         * src/lyx_gui_misc.C: removed code snippets that were commented out. 
1636
1637         * src/lyx_main.C: removed code snippets that wer commented out.
1638
1639         * src/paragraph.C: removed code snippets that were commented out.
1640
1641         * src/lyxvc.C (logClose): use static_cast
1642         (logUpdate): ditto
1643         (viewLog): remove explicit cast to void*
1644         (showLog): removed old commented code
1645
1646         * src/menus.C: use static_cast instead of C style casts. use
1647         u_vdata instead of u_ldata. remove explicit cast to (long) for
1648         pointers. Removed old code that was commented out.
1649
1650         * src/insets/inset.C: removed old commented func
1651
1652         * src/insets/insetref.C (InsetRef): removed old code that had been
1653         commented out for a long time.
1654         (Edit): ditto
1655         (escape): removed C style cast
1656
1657         * src/insets/insetlatexaccent.C (Draw): removed old commented code
1658
1659         * src/insets/insetlatex.C (Draw): removed old commented code
1660         (Read): rewritten to use string
1661
1662         * src/insets/insetlabel.C (escape): removed C style cast
1663
1664         * src/insets/insetindex.h: removed vdata and ldata from FD_index_form
1665
1666         * src/insets/insetindex.C: use static_cast and u_vdata, removed
1667         old commented code.
1668
1669         * src/insets/insetinclude.h: removed a couple of stupid bools
1670
1671         * src/insets/insetinclude.C (include_cb): use static_cast and u_data.
1672         (Clone): remove C style cast
1673         (getKeys): changed list to lst because of std::list
1674
1675         * src/insets/inseterror.C (Draw): removed som old commented code.
1676
1677         * src/insets/insetcommand.C (Draw): removed some old commented code.
1678
1679         * src/insets/insetbib.C (bibitem_cb): removed code that has been
1680         commented out forever.
1681         (bibitem_cb): use static_cast instead of C style cast
1682         use of vdata changed to u_vdata.
1683
1684         * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forward the data
1685         parameter.
1686         (CloseUrlCB): use static_cast instead of C style cast.
1687         (CloseUrlCB): added a fl_free form...it seemed to be missing.
1688
1689         * src/insets/insetinfo.C (Edit): pass object in u_vdata instead
1690         (C_InsetInfo_CloseInfoCB): forward the ob parameter
1691         (CloseInfoCB): static_cast from ob->u_vdata instead.
1692         (Edit): removed bogus arg from fl_set_object_shortcut, set to 1
1693         instead. 
1694
1695         * src/insets/inseterror.C (Edit): pass object in u_vdata instead
1696         (C_InsetError_CloseErrorCB): forward the ob parameter
1697         (CloseErrorCB): static_cast from ob->u_vdata instead.
1698
1699         * src/vspace.h: include LString.h since we use string in this class.
1700
1701         * src/vspace.C (lyx_advance): changed name from advance because of
1702         nameclash with stl. And since we cannot use namespaces yet...I
1703         used a lyx_ prefix instead. Expect this to change when we begin
1704         using namespaces.
1705
1706         * src/BufferView.[Ch] (BufferView::~BufferView): removed 
1707
1708         * src/BackStack.h: rewrote to use std::stack. made BackStackItem
1709         and removed now defunct constructor and deconstructor.
1710
1711         * src/BufferView.h: have backstack as a object not as a pointer.
1712         removed initialization from constructor. added include for BackStack 
1713
1714         * development/lyx.spec.in (%build): add CFLAGS also.
1715
1716         * src/screen.C (drawFrame): removed another warning.
1717
1718 1999-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1719
1720         * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
1721         OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
1722         README and ANNOUNCE a bit for the next release. More work is
1723         needed, of course.
1724
1725         * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
1726         unbreakable if we are in freespacing mode (LyX-Code), but not in
1727         latex mode.
1728
1729 1999-10-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
1730
1731         * src/BackStack.h: fixed initialization order in constructor
1732
1733         * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
1734
1735         * acinclude.m4 (VERSION): new rules for when a version is
1736         development, added also a variable for prerelease.
1737         (warnings): we set with_warnings=yes for prereleases
1738         (lyx_opt): prereleases compile with same optimization as development 
1739         (CXXFLAGS): only use pedantic if we are a development version 
1740
1741         * src/BufferView.C (restorePosition): don't do anything if the
1742         backstack is empty.
1743
1744         * src/BackStack.h: added member empty, use this to test if there
1745         is anything to pop...
1746
1747 1999-10-25  Juergen Vigna  <jug@sad.it>
1748
1749         * forms/form1.fd +
1750         * forms/layout_forms.fd +
1751         * forms/latexoptions.fd +
1752         * lyx.fd: changed for various form resize issues
1753
1754         * src/mathed/math_panel.C +
1755         * src/insets/inseterror.C +
1756         * src/insets/insetinfo.C +
1757         * src/insets/inseturl.C +
1758         * src/insets/inseturl.h +
1759         * src/LaTeXLog.C +
1760         * src/LyXSendto.C +
1761         * src/PaperLayout.C +
1762         * src/ParagraphExtra.C +
1763         * src/TableLayout.C +
1764         * src/form1.C +
1765         * src/layout_forms.C +
1766         * src/lyx.C +
1767         * src/lyx_cb.C +
1768         * src/lyx_gui.C +
1769         * src/lyxfr0.C +
1770         * src/lyxfunc.C +
1771         * src/lyxvc.C +
1772         * src/menus.C: fixed various resize issues. So now forms can be
1773         resized savely or not be resized at all.
1774         
1775         * forms/form_url.fd +
1776         * src/insets/form_url.[Ch]: added because it's cleaner and easier
1777         to modify IMO.
1778
1779         * src/insets/Makefile.am: added files form_url.[Ch]
1780         
1781 1999-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1782
1783         * INSTALL: it is now possible to compile LyX with digital C++ 6.1
1784         (and presumably 6.2).
1785
1786         * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
1787         menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
1788         remaining static member callbacks. 
1789
1790         * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
1791         messages. 
1792
1793         * src/support/lyxstring.h: declare struct Srep as friend of
1794         lyxstring, since DEC cxx complains otherwise.
1795
1796 1999-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
1797
1798 1999-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
1799
1800         * src/LaTeX.C (run): made run_bibtex also depend on files with
1801         extension ".bst"
1802         (runBibTeX): added scans for "\\bibstyle", now also ".bst" files
1803         are put into the dependency file.
1804
1805         * src/spellchecker.C (create_ispell_pipe): removed old #warning,
1806         the code has shown itself to work
1807         (create_ispell_pipe): removed another warning, added a comment
1808         instead. 
1809
1810         * src/minibuffer.C (ExecutingCB): removed code that has been
1811         commented out a long time
1812
1813         * src/lyxfunc.C (processKeyEvent): removed some very old commented
1814         out code + a warning.
1815
1816         * src/support/lyxstring.h: comment out the three private
1817         operators, when compiling with string ansi conforming compilers
1818         they make problems.
1819
1820         * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
1821         unsigned char *.
1822         (pixmapFromBitmapData): change type of bdata to be unsigned char *
1823         (pixmapFromBitmapData): add a reinterpret_cast in the call to
1824         XCreateImage
1825
1826         * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
1827         unsigned char *
1828
1829         * src/mathed/math_panel.C (create_math_panel): remove explicit
1830         casts
1831
1832         * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
1833         unsigned char *.
1834
1835         * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
1836         (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
1837         to XCreatePixmapFromBitmapData
1838         (fl_set_bmtable_data): change the last argument to be unsigned
1839         char *
1840         (fl_set_bmtable_file): change bdata to unsinged char *, change bw
1841         and bh to be unsigned int, remove explicit casts in call to
1842         XReadBitmapFileData.
1843
1844         * images/arrows.xbm: made the arrays unsigned char *
1845         * images/varsz.xbm: ditto
1846         * images/misc.xbm: ditto
1847         * images/greek.xbm: ditto
1848         * images/dots.xbm: ditto
1849         * images/brel.xbm: ditto
1850         * images/bop.xbm: ditto
1851
1852         * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
1853
1854         * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed. 
1855         (LYX_PROG_CXX): added -pedantic to g++ compile options when
1856         with-warnings, removed the __STRING_ANSI__ hack, seems to not be
1857         needed. 
1858         (LYX_CXX_CHEADERS): added <clocale> to the test. 
1859
1860 1999-10-23  Lars Gullik Bjønnes  <larsbj@lyx.org>
1861
1862         * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
1863
1864         * src/support/lyxstring.C (append): fixed something that must be a
1865         bug, rep->assign was used instead of rep->append.
1866
1867         * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
1868         and LOstream.h
1869
1870         * src/lyxfunc.C (processKeyEvent): removed faulty line that made
1871         lyx insert double chars. Fix spotted by Kayvan.
1872
1873 1999-10-23  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>
1874
1875         * Fixed the tth support. I messed up with the Emacs patch apply feature
1876         and omitted the changes in lyxrc.C.
1877
1878 1999-10-22  Juergen Vigna  <jug@sad.it>
1879
1880         * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
1881
1882         * src/lyx_cb.C (MenuInsertRef) + 
1883         * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
1884         the form cannot be resized under it limits (fixes a segfault)
1885         
1886         * src/lyx.C (create_form_form_ref) +
1887         * forms/lyx.fd: Changed Gravity on name input field so that it is
1888         resized correctly.
1889
1890 1999-10-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1891
1892         * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
1893         <ostream> and <istream>.
1894         
1895         * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
1896         whether <fstream> provides the latest standard features, or if we
1897         have an oldstyle library (like in egcs).
1898         (LYX_CXX_STL_STRING): fix the test.
1899
1900         * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
1901         code on MODERN_STL_STREAM.
1902
1903         * src/support/lyxstring.h: use L{I,O}stream.h.
1904
1905         * src/support/L{I,O}stream.h: new files, designed to setup
1906         correctly streams for our use
1907           - includes the right header depending on STL capabilities
1908           - puts std::ostream and std::endl (for LOStream.h) or
1909           std::istream (LIStream.h) in toplevel namespace.
1910
1911 1999-10-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
1912
1913         * src/LaTeX.C (run): added a check in 0 sumchange so that if it
1914         was a bib file that had been changed we ensure that bibtex is run.
1915         (runBibTeX): enhanced to extract the names of the bib files and
1916         getting their absolute path and enter them into the dep file.
1917         (findtexfile): static func that is used to look for tex-files,
1918         checks for absolute patchs and tries also with kpsewhich.
1919         Alternative ways of finding the correct files are wanted. Will
1920         probably be moved.
1921         (do_popen): function that runs a command using popen and returns
1922         the whole output of that command in a string. Should be moved to
1923         somewhere else.
1924
1925         * src/DepTable.[Ch] (extchanged): new function that returns true if a
1926         file with extension ext has changed.
1927
1928         * src/insets/figinset.C: added ifdef guards around the fl_free
1929         code that jug commented out. Now it is commented out when
1930         compiling with XForms == 0.89.
1931
1932         * src/support/lyxstring.C: moved the definition of lyxstring::Srep
1933         to lyxstring.C, and only keep a forward declaration in
1934         lyxstring.h. Simplifies the header file a bit and should help a
1935         bit on compile time too. Also changes to Srep will not mandate a
1936         recompile of code just using string.
1937         (~lyxstring): definition moved here since it uses srep.
1938         (size): definition moved here since it uses srep.
1939
1940         * src/support/lyxstring.h: removed a couple of "inline" that should
1941         not be there.
1942
1943 1999-10-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1944
1945         * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
1946         the 'ob' argument.
1947
1948 1999-10-21  Juergen Vigna  <jug@sad.it>
1949
1950         * src/table.C (SetPWidth): Just a small fix so the alignment is not
1951         set to left if I just remove the width entry (or it is empty).
1952
1953         * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
1954         paragraph when having dummy paragraphs.
1955
1956 1999-10-20  Juergen Vigna  <jug@sad.it>
1957
1958         * src/insets/figinset.C: just commented some fl_free_form calls
1959         and added warnings so that this calls should be activated later
1960         again. This avoids for now a segfault, but we have a memory leak!
1961
1962         * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
1963         'const char * argument' to 'string argument', this should
1964         fix some Asserts() in lyxstring.C.
1965
1966         * src/lyxfunc.h: Removed the function argAsString(const char *)
1967         as it is not used anymore.
1968
1969 1999-10-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
1970
1971         * src/support/lyxstring.C (getline): reads now _all_ chars. uses
1972         get instead of >>
1973
1974         * src/Literate.h: some funcs moved from public to private to make
1975         interface clearer. Unneeded args removed.
1976
1977         * src/Literate.C (scanLiterateLogFile): rewritten to use iostream
1978         instead of lyxlex.
1979         (scanBuildLogFile): ditto
1980
1981         * src/LaTeX.C (scanLogFile): merged LaTeX Error handling into
1982         normal TeX Error. Still room for improvement.
1983
1984         * src/LaTeX.[Ch]: removed scanError. Wrong place and not needed.
1985
1986         * src/buffer.C (insertErrors): changes to make the error
1987         desctription show properly.
1988
1989         * src/LaTeX.C (deplog): removed the test for file in lyx doc dir.
1990         could never happen
1991
1992         * src/support/lyxstring.C (helper): changed to use
1993         sizeof(object->rep->ref).
1994         (operator>>): changed to use a pointer instead.
1995
1996         * src/support/lyxstring.h: changed const reference & to value_type
1997         const & lets see if that helps.
1998
1999 1999-10-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
2000
2001         * Makefile.am (rpmdist): fixed to have non static package and
2002         verison.
2003
2004         * src/support/lyxstring.C: removed the compilation guards
2005
2006         * src/vspace.C (nextToken): use i + 1  instead of ++i. Maks things
2007         a bit clearer.
2008
2009         * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
2010         conditional compile of lyxstring.Ch
2011
2012         * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
2013         stupid check, but it is a lot better than the bastring hack. 
2014         (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING  
2015
2016         * several files: changed string::erase into string::clear. Not
2017         really needed.
2018         
2019         * src/chset.C (encodeString): use a char temporary instead
2020
2021         * src/table.C (TexEndOfCell): added tostr around
2022         column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
2023         (TexEndOfCell): ditto
2024         (TexEndOfCell): ditto
2025         (TexEndOfCell): ditto
2026         (DocBookEndOfCell): ditto
2027         (DocBookEndOfCell): ditto
2028         (DocBookEndOfCell): ditto
2029         (DocBookEndOfCell): ditto
2030
2031         * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
2032
2033         * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
2034
2035         * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
2036         (MenuBuildProg): added tostr around ret
2037         (MenuRunChktex): added tostr around ret
2038         (DocumentApplyCB): added tostr around ret
2039
2040         * src/chset.C (encodeString): added tostr around t->ic
2041
2042         * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
2043         (makeLaTeXFile): added tostr around tocdepth
2044         (makeLaTeXFile): added tostr around ftcound - 1
2045
2046         * src/insets/insetbib.C (setCounter): added tostr around counter.
2047
2048         * src/support/lyxstring.h: added an operator+=(int) to catch more
2049         mistakes. 
2050
2051         * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
2052         (lyxstring): We DON'T allow NULL pointers.
2053
2054 1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2055
2056         * src/mathed/math_macro.C (MathMacroArgument::Write,
2057         MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
2058         when writing them out.
2059
2060         * src/LString.C: remove, since it is not used anymore.
2061         
2062         * src/support/lyxstring.C: condition the content to
2063         USE_INCLUDED_STRING macro.
2064
2065         * src/mathed/math_symbols.C, src/support/lstrings.C,
2066         src/support/lyxstring.C: add `using' directive to specify what
2067         we need in <algorithm>. I do not think that we need to
2068         conditionalize this, but any thought is appreciated.
2069
2070         * many files: change all callback functions to "C" linkage
2071         functions to please strict C++ compilers like DEC cxx 6.1 in mode
2072         strict_ansi. Those who were static are now global. 
2073             The case of callbacks which are static class members is
2074         trickier, since we have to make C wrappers around them (see
2075         InsetError, InsetInfo and InsetUrl). The same holds for friends. I
2076         did not finish this yet, since it defeats the purpose of
2077         encapsulation, and I am not sure what the best route is.
2078
2079 1999-10-19  Juergen Vigna  <jug@sad.it>
2080
2081         * src/support/lyxstring.C (lyxstring): we permit to have a null
2082         pointer as assignment value and just don't assign it.
2083
2084         * src/vspace.C (nextToken): corrected this function substituting
2085         find_first(_not)_of with find_last_of.
2086
2087         * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
2088                 (TableOptCloseCB) (TableSpeCloseCB):
2089         inserted fl_set_focus call for problem with fl_hide_form() in
2090         xforms-0.89.
2091
2092 1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2093
2094         * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
2095         string. 
2096
2097 1999-10-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2098
2099         * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
2100         LyXLex::next() and not eatline() to get its argument.
2101
2102 1999-10-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2103
2104         * src/DepTable.[Ch]: rewritten to store the dependencies in a map
2105         instead, use fstreams for io of the depfile, removed unneeded
2106         functions and variables. 
2107
2108         * src/LaTeX.[Ch] (class TeXErrors): rewrote to store the errors in a
2109         vector instead, removed all functions and variables that is not in
2110         use.
2111
2112 1999-10-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
2113
2114         * src/buffer.C (insertErrors): use new interface to TeXError
2115
2116         * Makefile.am (rpmdist): added a rpmdist target
2117
2118         * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
2119         per Kayvan's instructions.
2120
2121 1999-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2122
2123         * src/Makefile.am: add a definition for localedir, so that locales
2124         are found after installation (Kayvan)
2125
2126 1999-10-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2127
2128         * development/.cvsignore: new file.
2129
2130 1999-10-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2131
2132         * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
2133         C++ compiler provides wrappers for C headers and use our alternate
2134         version otherwise.
2135
2136         * configure.in: use LYX_CXX_CHEADERS.
2137
2138         * src/cheader/: new directory, populated with cname headers from
2139         libstdc++-2.8.1. They are a bit old, but probably good enough for
2140         what we want (support compilers who lack them).
2141         
2142         * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
2143         from includes. It turns out is was stupid.
2144  
2145 1999-10-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2146
2147         * lib/Makefile.am (install-data-local): forgot a ';'
2148         (install-data-local): forgot a '\'
2149         (libinstalldirs): needed after all. reintroduced.
2150
2151 1999-10-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2152
2153         * configure.in (AC_OUTPUT): added lyx.spec
2154
2155         * development/lyx.spec: removed file
2156
2157         * development/lyx.spec.in: new file
2158
2159         * po/*.po: merged with lyx.pot becuase of make distcheck
2160         
2161         * lib/Makefile.am (dist-hook): added dist-hook so that
2162         documentation files will be included when doing a make
2163         dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
2164         (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
2165         conditional later.
2166         more: tried to make install do the right thing, exclude CVS dirs
2167         etc.
2168
2169         * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
2170         Path would fit in more nicely.
2171
2172         * all files that used to use pathstack: uses now Path instead.
2173         This change was a lot easier than expected.
2174         
2175         * src/support/path.h: new file
2176
2177         * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
2178
2179         * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
2180
2181         * src/support/lyxstring.C (getline): Default arg was given for
2182         para 3. removed.
2183
2184         * Configure.cmd: removed file 
2185
2186 1999-10-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2187
2188         * src/support/DebugStream.[Ch]: remove the explicit std:: before
2189         streams classes and types, add the proper 'using' statements when
2190         MODERN_STL is defined.
2191         
2192         * src/debug.h: move the << operator definition after the inclusion
2193         of DebugStream.h
2194
2195         * src/support/filetools.C: include "LAssert.h", which is needed
2196         later. 
2197
2198         * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
2199         to includes. 
2200
2201         * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
2202         include "debug.h" to define a proper ostream.
2203
2204 1999-10-12  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>
2205
2206         * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
2207           method to the SystemCall class which can kill a process, but it's
2208           not fully implemented yet.
2209
2210         * src/*.C: Changed Systemcalls::Startscript() to startscript()
2211
2212         * src/support/FileInfo.h: Better documentation  
2213
2214         * src/lyxfunc.C: Added support for buffer-export html
2215         
2216         * src/menus.C: Added Export->As HTML...
2217         
2218         * lib/bind/*.bind: Added short-cut for buffer-export html
2219
2220         * src/lyxrc.*: Added support for new \tth_command
2221         
2222         * lib/lyxrc.example: Added stuff for new \tth_command
2223
2224 1999-10-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
2225
2226         * lib/Makefile.am (IMAGES): removed images/README
2227         (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
2228         installes in correct place. Check permisions is installed
2229         correctly.
2230
2231         * src/LaTeX.C: some no-op changes moved declaration of some
2232         variables around.
2233
2234         * src/LaTeX.h (LATEX_H): changed include guard name
2235
2236 1999-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2237
2238         * lib/reLyX/Makefile.am: install noweb2lyx.
2239
2240         * lib/Makefile.am: install configure. 
2241
2242         * lib/reLyX/configure.in: declare a config aux dir; set package
2243         name to lyx (not sure what the best solution is); generate noweb2lyx.
2244
2245         * lib/layouts/egs.layout: fix the bibliography layout.
2246
2247 1999-10-08  Jürgen Vigna <jug@sad.it>
2248
2249         * src/support/filetools.C (FileOpenSearch): Fixed a bug where
2250         when in the PATH was something like /usr/bin;;/bin (note: the ;;)
2251         it returned without continuing to search the path.
2252         
2253 1999-10-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
2254
2255         * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
2256         also fixes a bug. It is not allowed to do tricks with std::strings
2257         like: string a("hei"); &a[e]; this will not give what you
2258         think... Any reason for the complexity in this func?
2259
2260 1999-10-06  Asger Alstrup Nielsen  <alstrup@diku.dk>
2261
2262         * Updated README and INSTALL a bit, mostly to check that my
2263         CVS rights are correctly set up.
2264
2265 1999-10-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
2266
2267         * src/support/lyxstring.C (helper): removed bogus Assert. strlen
2268         does not allow '\0' chars but lyxstring and std::string does.
2269
2270 1999-10-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2271
2272         * autogen.sh (AUTOCONF): let the autogen script create the
2273         POTFILES.in file too. POTFILES.in should perhaps now not be
2274         included in the cvs module.
2275
2276         * some more files changed to use C++ includes instead of C ones.
2277
2278         * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
2279         not assigned.
2280         (Reread): added tostr to nlink. buggy output otherwise.
2281         (Reread): added a string() around szMode when assigning to Buffer,
2282         without this I got a log of garbled info strings.
2283
2284         * acconfig.h: commented out the PTR_AS_INT macros. They should not
2285         be needed.
2286
2287         * I have added several ostream & operator<<(ostream &, some_type)
2288         functions. This has been done to avoid casting and warnings when
2289         outputting enums to lyxerr. This as thus eliminated a lot of
2290         explicit casts and has made the code clearer. Among the enums
2291         affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
2292         mathed enums, some font enum the Debug::type enum. 
2293
2294         * src/support/lyxstring.h (clear): missing method. equivalent of
2295         erase(0, npos).
2296
2297         * all files that contained "stderr": rewrote constructs that used
2298         stderr to use lyxerr instead. (except bmtable)
2299
2300         * src/support/DebugStream.h (level): and the passed t with
2301         Debug::ANY to avoid spurious bits set.
2302
2303         * src/debug.h (Debug::type value): made it accept strings of the
2304         type INFO,INIT,KEY.
2305
2306         * configure.in (Check for programs): Added a check for kpsewhich,
2307         the latex generation will use this later to better the dicovery of
2308         all used files. 
2309
2310         * src/BufferView.C (create_view): we don't need to cast this to
2311         (void*) that is done automatically.
2312         (WorkAreaButtonPress): removed some dead code.
2313
2314 1999-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2315
2316         * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
2317         is not overwritten when translated (David Sua'rez de Lis).
2318
2319         * lib/CREDITS: Added David Sua'rez de Lis
2320
2321         * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
2322
2323         * src/bufferparams.C (BufferParams): default input encoding is now
2324         "latin1" 
2325
2326         * acinclude.m4 (cross_compiling): comment out macro
2327         LYX_GXX_STRENGTH_REDUCE. 
2328
2329         * acconfig.h: make sure that const is not defined (to empty) when
2330         we are compiling C++. Remove commented out code using SIZEOF_xx
2331         macros.
2332         
2333         * configure.in : move the test for const and inline as late as
2334         possible so that these C tests do not interefere with C++ ones.
2335         Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
2336         has not been proven. 
2337
2338 1999-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2339
2340         * src/table.C (getDocBookAlign): remove bad default value for
2341         isColumn parameter.
2342
2343         * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
2344         shortcut. 
2345         (ShowFileMenu2): ditto.
2346
2347         * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
2348         of files to ignore.
2349
2350 1999-10-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2351
2352         * Most files: finished the change from the old error code to use
2353         DebugStream for all lyxerr debugging. Only minor changes remain
2354         (e.g. the setting of debug levels using strings instead of number) 
2355
2356 1999-10-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2357
2358         * src/layout.C (Add): Changed to use compare_no_case instead of
2359         strcasecmp.
2360
2361         * src/FontInfo.C: changed loop variable type too string::size_type.
2362
2363 1999-10-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2364
2365         * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
2366         set ETAGS_ARGS to --c++ 
2367
2368 1999-09-30  Lars Gullik Bjønnes  <larsbj@lyx.org>
2369
2370         * src/table.C (DocBookEndOfCell): commented out two unused variables
2371
2372         * src/paragraph.C: commented out four unused variables. 
2373
2374         * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
2375         insed a if clause with type string::size_type.
2376
2377         * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
2378         string::size_type.
2379
2380         * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
2381
2382         * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
2383         variable, also changed loop to go from 0 to lenght + 1, instead of
2384         -1 to length. This should be correct.
2385
2386         * src/LaTeX.C (scanError): use string::size_type as loop variable
2387         type.
2388
2389         * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
2390         (l.896) since y_tmp and row was not used anyway.
2391
2392         * src/insets/insetref.C (escape): use string::size_type as loop
2393         variable type.
2394
2395         * src/insets/insetquotes.C (Width): use string::size_type as loop
2396         variable type.
2397         (Draw): use string::size_type as loop variable type.
2398
2399         * src/insets/insetlatexaccent.C (checkContents): use
2400         string::size_type as loop variable type.
2401
2402         * src/insets/insetlabel.C (escape): use string::size_type as loop
2403         variable type.
2404
2405         * src/insets/insetinfo.C: added an extern for current_view.
2406
2407         * src/insets/insetcommand.C (scanCommand): use string::size_type
2408         as loop variable type.
2409
2410         * most files: removed the RCS tags. With them we had to recompile
2411         a lot of files after a simple cvs commit. Also we have never used
2412         them for anything meaningful. 
2413
2414         * most files: tags-query-replace NULL 0. As adviced several plases
2415         we now use "0" instead of "NULL" in our code. 
2416
2417         * src/support/filetools.C (SpaceLess): use string::size_type as
2418         loop variable type.
2419
2420 1999-09-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
2421
2422         * src/paragraph.C: fixed up some more string stuff.
2423
2424 1999-09-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2425
2426         * src/support/filetools.h: make modestr a std::string.
2427
2428         * src/filetools.C (GetEnv): made ch really const.
2429
2430         * src/lyxlib.h: removed the Maximum and Minimum inline functions,
2431         made code that used these use max/min from <algorithm> instead.
2432
2433         * changed several c library include files to their equivalent c++
2434         library include files. All is not changed yet.
2435
2436         * created a support subdir in src, put lyxstring and lstrings
2437         there + the extra files atexit, fileblock, strerror. Created
2438         Makefile.am. edited configure.in and src/Makefile.am to use this
2439         new subdir. More files moved to support.
2440
2441         * imported som of the functions from repository lyx, filetools
2442         
2443         * ran tags-query-replace on LString -> string, corrected the bogus
2444         cases. Tried to make use of lstrings.[hC], debugged a lot. There
2445         is still some errors in there. This is errors where too much or
2446         too litle get deleted from strings (string::erase, string::substr,
2447         string::replace), there can also be some off by one errors, or
2448         just plain wrong use of functions from lstrings. Viewing of quotes
2449         is wrong. 
2450
2451         * LyX is now running fairly well with string, but there are
2452         certainly some bugs yet (see above) also string is quite different
2453         from LString among others in that it does not allow null pointers
2454         passed in and will abort if it gets any.
2455         
2456         * Added the revtex4 files I forgot when setting up the repository.
2457
2458 1999-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
2459
2460         * All over: Tried to clean everything up so that only the files
2461           that we really need are included in the cvs repository.
2462         * Switched to use automake.
2463         * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
2464         * Install has not been checked.
2465
2466 1999-09-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
2467
2468         * po/pt.po: Three errors:
2469                l.533 and l.538 format specification error
2470                l. 402 duplicate entry, I just deleted it.
2471