1 1999-11-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * lib/configure: forgot to re-generate it :( I'll make this file
6 1999-11-03 Lars Gullik Bjønnes <larsbj@lyx.org>
8 * acinclude.m4 (cross_compiling): add -fpermissive when gcc 2.95.x
11 * src/support/lyxstring.C: some changes from length() to rep->sz.
12 avoids a function call.
14 * src/support/filetools.C (SpaceLess): yet another version of the
15 algorithm...now per Jean-Marc's suggestions.
17 1999-11-02 Lars Gullik Bjønnes <larsbj@lyx.org>
19 * src/support/filetools.C (SpaceLess): new version of the
20 SpaceLess functions. What problems does this one give? Please
23 * images/banner_bw.xbm: made the arrays unsigned char *
25 1999-11-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
27 * src/support/lyxstring.C (find): remove bogus assertion in the
28 two versions of find where this has not been done yet.
30 * src/support/lyxlib.h: add missing int return type to
33 * src/menus.C (ShowFileMenu): disable exporting to html if no
34 html export command is present.
36 * config/lib_configure.m4: add a test for an HTML converter. The
37 programs checked for are, in this order: tth, latex2html and
40 * lib/configure: generated from config/lib_configure.m4.
42 * src/lyxfunc.C (Dispatch): update and improve the execution of an
43 html converter. The parameters are now passed through $$FName and
44 $$OutName, instead of standard input/output.
46 * src/lyxrc.{C,h}: rename \tth_command to \html_command.
48 * lib/lyxrc.example: update description of \html_command.
49 add "quotes" around \screen_font_xxx font setting examples to help
50 people who use fonts with spaces in their names.
52 1999-11-02 Lars Gullik Bjønnes <larsbj@lyx.org>
54 * Distribution files: updates for v1.1.2
56 * src/support/lyxstring.C (find): remove bogus assert and return
57 npos for the same condition.
59 1999-11-01 Lars Gullik Bjønnes <larsbj@lyx.org>
61 * added patch for OS/2 from SMiyata.
63 1999-10-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
65 * src/support/syscall.C (Systemcalls::kill):
66 src/support/filetools.C (PutEnv, PutEnvPath):
67 src/lyx_cb.C (addNewlineAndDepth):
68 src/FontInfo.C (FontInfo::resize): condition some #warning
69 directives with WITH_WARNINGS.
72 1999-10-28 Lars Gullik Bjønnes <larsbj@lyx.org>
74 * src/form1.C (create_form_Figure): added a couple fo "no-c-format"
76 * src/Makefile.am (dist-hook): added used to remove the CVS from
77 cheaders upon creating a dist
78 (EXTRA_DIST): added cheaders
80 * src/support/lstrings.C (tostr(char)): fix it to handle param as
81 a character not as a small integer.
83 * src/support/lyxstring.C (find): removed Assert and added i >=
84 rep->sz to the first if.
86 1999-10-27 Lars Gullik Bjønnes <larsbj@lyx.org>
88 * src/LyXAction.C (LookupFunc): added a workaround for sun
89 compiler, on the other hand...we don't know if the current code
90 compiles on sun at all...
92 * src/support/filetools.C (CleanupPath): subst fix
94 * src/insets/insetbib.C (delDatabase): subst fix, this looks
97 * src/support/filetools.C (PutEnvPath): subst fix, how come nobody
98 complained about this one?
100 * src/insets/insetinclude.C (Latex): subst fix
102 * src/insets/insetbib.C (getKeys): subst fix
104 * src/LyXSendto.C (SendtoApplyCB): subst fix
106 * src/lyx_main.C (init): subst fix
108 * src/layout.C (Read): subst fix
110 * src/lyx_sendfax_main.C (button_send): subst fix
112 * src/buffer.C (RoffAsciiTable): subst fix
114 * src/lyx_cb.C (MenuFax): subst fix
115 (PrintApplyCB): subst fix
117 1999-10-26 Lars Gullik Bjønnes <larsbj@lyx.org>
119 * development/lyx.spec.in (%build): add CFLAGS also.
121 * src/screen.C (drawFrame): removed another warning.
123 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
125 * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
126 OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
127 README and ANNOUNCE a bit for the next release. More work is
130 * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
131 unbreakable if we are in freespacing mode (LyX-Code), but not in
134 1999-10-25 Lars Gullik Bjønnes <larsbj@lyx.org>
136 * src/BackStack.h: fixed initialization order in constructor
138 * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
140 * acinclude.m4 (VERSION): new rules for when a version is
141 development, added also a variable for prerelease.
142 (warnings): we set with_warnings=yes for prereleases
143 (lyx_opt): prereleases compile with same optimization as development
144 (CXXFLAGS): only use pedantic if we are a development version
146 * src/BufferView.C (restorePosition): don't do anything if the
149 * src/BackStack.h: added member empty, use this to test if there
150 is anything to pop...
152 1999-10-25 Juergen Vigna <jug@sad.it>
155 * forms/layout_forms.fd +
156 * forms/latexoptions.fd +
157 * lyx.fd: changed for various form resize issues
159 * src/mathed/math_panel.C +
160 * src/insets/inseterror.C +
161 * src/insets/insetinfo.C +
162 * src/insets/inseturl.C +
163 * src/insets/inseturl.h +
166 * src/PaperLayout.C +
167 * src/ParagraphExtra.C +
168 * src/TableLayout.C +
170 * src/layout_forms.C +
177 * src/menus.C: fixed various resize issues. So now forms can be
178 resized savely or not be resized at all.
180 * forms/form_url.fd +
181 * src/insets/form_url.[Ch]: added because it's cleaner and easier
184 * src/insets/Makefile.am: added files form_url.[Ch]
186 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
188 * INSTALL: it is now possible to compile LyX with digital C++ 6.1
189 (and presumably 6.2).
191 * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
192 menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
193 remaining static member callbacks.
195 * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
198 * src/support/lyxstring.h: declare struct Srep as friend of
199 lyxstring, since DEC cxx complains otherwise.
201 1999-10-24 Lars Gullik Bjønnes <larsbj@lyx.org>
203 * src/spellchecker.C (create_ispell_pipe): removed old #warning,
204 the code has shown itself to work
205 (create_ispell_pipe): removed another warning, added a comment
208 * src/minibuffer.C (ExecutingCB): removed code that has been
209 commented out a long time
211 * src/lyxfunc.C (processKeyEvent): removed some very old commented
212 out code + a warning.
214 * src/support/lyxstring.h: comment out the three private
215 operators, when compiling with string ansi conforming compilers
218 * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
220 (pixmapFromBitmapData): change type of bdata to be unsigned char *
221 (pixmapFromBitmapData): add a reinterpret_cast in the call to
224 * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
227 * src/mathed/math_panel.C (create_math_panel): remove explicit
230 * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
233 * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
234 (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
235 to XCreatePixmapFromBitmapData
236 (fl_set_bmtable_data): change the last argument to be unsigned
238 (fl_set_bmtable_file): change bdata to unsinged char *, change bw
239 and bh to be unsigned int, remove explicit casts in call to
242 * images/arrows.xbm: made the arrays unsigned char *
243 * images/varsz.xbm: ditto
244 * images/misc.xbm: ditto
245 * images/greek.xbm: ditto
246 * images/dots.xbm: ditto
247 * images/brel.xbm: ditto
248 * images/bop.xbm: ditto
250 * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
252 * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed.
253 (LYX_PROG_CXX): added -pedantic to g++ compile options when
254 with-warnings, removed the __STRING_ANSI__ hack, seems to not be
256 (LYX_CXX_CHEADERS): added <clocale> to the test.
258 1999-10-23 Lars Gullik Bjønnes <larsbj@lyx.org>
260 * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
262 * src/support/lyxstring.C (append): fixed something that must be a
263 bug, rep->assign was used instead of rep->append.
265 * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
268 * src/lyxfunc.C (processKeyEvent): removed faulty line that made
269 lyx insert double chars. Fix spotted by Kayvan.
271 1999-10-23 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
273 * Fixed the tth support. I messed up with the Emacs patch apply feature
274 and omitted the changes in lyxrc.C.
276 1999-10-22 Juergen Vigna <jug@sad.it>
278 * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
280 * src/lyx_cb.C (MenuInsertRef) +
281 * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
282 the form cannot be resized under it limits (fixes a segfault)
284 * src/lyx.C (create_form_form_ref) +
285 * forms/lyx.fd: Changed Gravity on name input field so that it is
288 1999-10-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
290 * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
291 <ostream> and <istream>.
293 * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
294 whether <fstream> provides the latest standard features, or if we
295 have an oldstyle library (like in egcs).
296 (LYX_CXX_STL_STRING): fix the test.
298 * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
299 code on MODERN_STL_STREAM.
301 * src/support/lyxstring.h: use L{I,O}stream.h.
303 * src/support/L{I,O}stream.h: new files, designed to setup
304 correctly streams for our use
305 - includes the right header depending on STL capabilities
306 - puts std::ostream and std::endl (for LOStream.h) or
307 std::istream (LIStream.h) in toplevel namespace.
309 1999-10-22 Lars Gullik Bjønnes <larsbj@lyx.org>
311 * src/insets/figinset.C: added ifdef guards around the fl_free
312 code that jug commented out. Now it is commented out when
313 compiling with XForms == 0.89.
315 * src/support/lyxstring.C: moved the definition of lyxstring::Srep
316 to lyxstring.C, and only keep a forward declaration in
317 lyxstring.h. Simplifies the header file a bit and should help a
318 bit on compile time too. Also changes to Srep will not mandate a
319 recompile of code just using string.
320 (~lyxstring): definition moved here since it uses srep.
321 (size): definition moved here since it uses srep.
323 * src/support/lyxstring.h: removed a couple of "inline" that should
326 1999-10-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
328 * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
331 1999-10-21 Juergen Vigna <jug@sad.it>
333 * src/table.C (SetPWidth): Just a small fix so the alignment is not
334 set to left if I just remove the width entry (or it is empty).
336 * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
337 paragraph when having dummy paragraphs.
339 1999-10-20 Juergen Vigna <jug@sad.it>
341 * src/insets/figinset.C: just commented some fl_free_form calls
342 and added warnings so that this calls should be activated later
343 again. This avoids for now a segfault, but we have a memory leak!
345 * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
346 'const char * argument' to 'string argument', this should
347 fix some Asserts() in lyxstring.C.
349 * src/lyxfunc.h: Removed the function argAsString(const char *)
350 as it is not used anymore.
352 1999-10-20 Lars Gullik Bjønnes <larsbj@lyx.org>
354 * src/support/lyxstring.C (helper): changed to use
355 sizeof(object->rep->ref).
356 (operator>>): changed to use a pointer instead.
358 * src/support/lyxstring.h: changed const reference & to value_type
359 const & lets see if that helps.
361 1999-10-19 Lars Gullik Bjønnes <larsbj@lyx.org>
363 * Makefile.am (rpmdist): fixed to have non static package and
366 * src/support/lyxstring.C: removed the compilation guards
368 * src/vspace.C (nextToken): use i + 1 instead of ++i. Maks things
371 * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
372 conditional compile of lyxstring.Ch
374 * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
375 stupid check, but it is a lot better than the bastring hack.
376 (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING
378 * several files: changed string::erase into string::clear. Not
381 * src/chset.C (encodeString): use a char temporary instead
383 * src/table.C (TexEndOfCell): added tostr around
384 column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
385 (TexEndOfCell): ditto
386 (TexEndOfCell): ditto
387 (TexEndOfCell): ditto
388 (DocBookEndOfCell): ditto
389 (DocBookEndOfCell): ditto
390 (DocBookEndOfCell): ditto
391 (DocBookEndOfCell): ditto
393 * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
395 * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
397 * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
398 (MenuBuildProg): added tostr around ret
399 (MenuRunChktex): added tostr around ret
400 (DocumentApplyCB): added tostr around ret
402 * src/chset.C (encodeString): added tostr around t->ic
404 * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
405 (makeLaTeXFile): added tostr around tocdepth
406 (makeLaTeXFile): added tostr around ftcound - 1
408 * src/insets/insetbib.C (setCounter): added tostr around counter.
410 * src/support/lyxstring.h: added an operator+=(int) to catch more
413 * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
414 (lyxstring): We DON'T allow NULL pointers.
416 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
418 * src/mathed/math_macro.C (MathMacroArgument::Write,
419 MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
420 when writing them out.
422 * src/LString.C: remove, since it is not used anymore.
424 * src/support/lyxstring.C: condition the content to
425 USE_INCLUDED_STRING macro.
427 * src/mathed/math_symbols.C, src/support/lstrings.C,
428 src/support/lyxstring.C: add `using' directive to specify what
429 we need in <algorithm>. I do not think that we need to
430 conditionalize this, but any thought is appreciated.
432 * many files: change all callback functions to "C" linkage
433 functions to please strict C++ compilers like DEC cxx 6.1 in mode
434 strict_ansi. Those who were static are now global.
435 The case of callbacks which are static class members is
436 trickier, since we have to make C wrappers around them (see
437 InsetError, InsetInfo and InsetUrl). The same holds for friends. I
438 did not finish this yet, since it defeats the purpose of
439 encapsulation, and I am not sure what the best route is.
441 1999-10-19 Juergen Vigna <jug@sad.it>
443 * src/support/lyxstring.C (lyxstring): we permit to have a null
444 pointer as assignment value and just don't assign it.
446 * src/vspace.C (nextToken): corrected this function substituting
447 find_first(_not)_of with find_last_of.
449 * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
450 (TableOptCloseCB) (TableSpeCloseCB):
451 inserted fl_set_focus call for problem with fl_hide_form() in
454 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
456 * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
459 1999-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
461 * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
462 LyXLex::next() and not eatline() to get its argument.
464 1999-10-16 Lars Gullik Bjønnes <larsbj@lyx.org>
466 * Makefile.am (rpmdist): added a rpmdist target
468 * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
469 per Kayvan's instructions.
471 1999-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
473 * src/Makefile.am: add a definition for localedir, so that locales
474 are found after installation (Kayvan)
476 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
478 * development/.cvsignore: new file.
480 1999-10-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
482 * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
483 C++ compiler provides wrappers for C headers and use our alternate
486 * configure.in: use LYX_CXX_CHEADERS.
488 * src/cheader/: new directory, populated with cname headers from
489 libstdc++-2.8.1. They are a bit old, but probably good enough for
490 what we want (support compilers who lack them).
492 * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
493 from includes. It turns out is was stupid.
495 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
497 * lib/Makefile.am (install-data-local): forgot a ';'
498 (install-data-local): forgot a '\'
499 (libinstalldirs): needed after all. reintroduced.
501 1999-10-13 Lars Gullik Bjønnes <larsbj@lyx.org>
503 * configure.in (AC_OUTPUT): added lyx.spec
505 * development/lyx.spec: removed file
507 * development/lyx.spec.in: new file
509 * po/*.po: merged with lyx.pot becuase of make distcheck
511 * lib/Makefile.am (dist-hook): added dist-hook so that
512 documentation files will be included when doing a make
513 dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
514 (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
516 more: tried to make install do the right thing, exclude CVS dirs
519 * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
520 Path would fit in more nicely.
522 * all files that used to use pathstack: uses now Path instead.
523 This change was a lot easier than expected.
525 * src/support/path.h: new file
527 * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
529 * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
531 * src/support/lyxstring.C (getline): Default arg was given for
534 * Configure.cmd: removed file
536 1999-10-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
538 * src/support/DebugStream.[Ch]: remove the explicit std:: before
539 streams classes and types, add the proper 'using' statements when
540 MODERN_STL is defined.
542 * src/debug.h: move the << operator definition after the inclusion
545 * src/support/filetools.C: include "LAssert.h", which is needed
548 * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
551 * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
552 include "debug.h" to define a proper ostream.
554 1999-10-12 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
556 * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
557 method to the SystemCall class which can kill a process, but it's
558 not fully implemented yet.
560 * src/*.C: Changed Systemcalls::Startscript() to startscript()
562 * src/support/FileInfo.h: Better documentation
564 * src/lyxfunc.C: Added support for buffer-export html
566 * src/menus.C: Added Export->As HTML...
568 * lib/bind/*.bind: Added short-cut for buffer-export html
570 * src/lyxrc.*: Added support for new \tth_command
572 * lib/lyxrc.example: Added stuff for new \tth_command
574 1999-10-12 Lars Gullik Bjønnes <larsbj@lyx.org>
576 * lib/Makefile.am (IMAGES): removed images/README
577 (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
578 installes in correct place. Check permisions is installed
581 * src/LaTeX.C: some no-op changes moved declaration of some
584 * src/LaTeX.h (LATEX_H): changed include guard name
586 1999-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
588 * lib/reLyX/Makefile.am: install noweb2lyx.
590 * lib/Makefile.am: install configure.
592 * lib/reLyX/configure.in: declare a config aux dir; set package
593 name to lyx (not sure what the best solution is); generate noweb2lyx.
595 * lib/layouts/egs.layout: fix the bibliography layout.
597 1999-10-08 Jürgen Vigna <jug@sad.it>
599 * src/support/filetools.C (FileOpenSearch): Fixed a bug where
600 when in the PATH was something like /usr/bin;;/bin (note: the ;;)
601 it returned without continuing to search the path.
603 1999-10-07 Lars Gullik Bjønnes <larsbj@lyx.org>
605 * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
606 also fixes a bug. It is not allowed to do tricks with std::strings
607 like: string a("hei"); &a[e]; this will not give what you
608 think... Any reason for the complexity in this func?
610 1999-10-06 Asger Alstrup Nielsen <alstrup@diku.dk>
612 * Updated README and INSTALL a bit, mostly to check that my
613 CVS rights are correctly set up.
615 1999-10-06 Lars Gullik Bjønnes <larsbj@lyx.org>
617 * src/support/lyxstring.C (helper): removed bogus Assert. strlen
618 does not allow '\0' chars but lyxstring and std::string does.
620 1999-10-05 Lars Gullik Bjønnes <larsbj@lyx.org>
622 * autogen.sh (AUTOCONF): let the autogen script create the
623 POTFILES.in file too. POTFILES.in should perhaps now not be
624 included in the cvs module.
626 * some more files changed to use C++ includes instead of C ones.
628 * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
630 (Reread): added tostr to nlink. buggy output otherwise.
631 (Reread): added a string() around szMode when assigning to Buffer,
632 without this I got a log of garbled info strings.
634 * acconfig.h: commented out the PTR_AS_INT macros. They should not
637 * I have added several ostream & operator<<(ostream &, some_type)
638 functions. This has been done to avoid casting and warnings when
639 outputting enums to lyxerr. This as thus eliminated a lot of
640 explicit casts and has made the code clearer. Among the enums
641 affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
642 mathed enums, some font enum the Debug::type enum.
644 * src/support/lyxstring.h (clear): missing method. equivalent of
647 * all files that contained "stderr": rewrote constructs that used
648 stderr to use lyxerr instead. (except bmtable)
650 * src/support/DebugStream.h (level): and the passed t with
651 Debug::ANY to avoid spurious bits set.
653 * src/debug.h (Debug::type value): made it accept strings of the
656 * configure.in (Check for programs): Added a check for kpsewhich,
657 the latex generation will use this later to better the dicovery of
660 * src/BufferView.C (create_view): we don't need to cast this to
661 (void*) that is done automatically.
662 (WorkAreaButtonPress): removed some dead code.
664 1999-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
666 * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
667 is not overwritten when translated (David Sua'rez de Lis).
669 * lib/CREDITS: Added David Sua'rez de Lis
671 * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
673 * src/bufferparams.C (BufferParams): default input encoding is now
676 * acinclude.m4 (cross_compiling): comment out macro
677 LYX_GXX_STRENGTH_REDUCE.
679 * acconfig.h: make sure that const is not defined (to empty) when
680 we are compiling C++. Remove commented out code using SIZEOF_xx
683 * configure.in : move the test for const and inline as late as
684 possible so that these C tests do not interefere with C++ ones.
685 Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
688 1999-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
690 * src/table.C (getDocBookAlign): remove bad default value for
693 * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
695 (ShowFileMenu2): ditto.
697 * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
700 1999-10-04 Lars Gullik Bjønnes <larsbj@lyx.org>
702 * Most files: finished the change from the old error code to use
703 DebugStream for all lyxerr debugging. Only minor changes remain
704 (e.g. the setting of debug levels using strings instead of number)
706 1999-10-02 Lars Gullik Bjønnes <larsbj@lyx.org>
708 * src/layout.C (Add): Changed to use compare_no_case instead of
711 * src/FontInfo.C: changed loop variable type too string::size_type.
713 1999-10-01 Lars Gullik Bjønnes <larsbj@lyx.org>
715 * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
716 set ETAGS_ARGS to --c++
718 1999-09-30 Lars Gullik Bjønnes <larsbj@lyx.org>
720 * src/table.C (DocBookEndOfCell): commented out two unused variables
722 * src/paragraph.C: commented out four unused variables.
724 * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
725 insed a if clause with type string::size_type.
727 * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
730 * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
732 * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
733 variable, also changed loop to go from 0 to lenght + 1, instead of
734 -1 to length. This should be correct.
736 * src/LaTeX.C (scanError): use string::size_type as loop variable
739 * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
740 (l.896) since y_tmp and row was not used anyway.
742 * src/insets/insetref.C (escape): use string::size_type as loop
745 * src/insets/insetquotes.C (Width): use string::size_type as loop
747 (Draw): use string::size_type as loop variable type.
749 * src/insets/insetlatexaccent.C (checkContents): use
750 string::size_type as loop variable type.
752 * src/insets/insetlabel.C (escape): use string::size_type as loop
755 * src/insets/insetinfo.C: added an extern for current_view.
757 * src/insets/insetcommand.C (scanCommand): use string::size_type
758 as loop variable type.
760 * most files: removed the RCS tags. With them we had to recompile
761 a lot of files after a simple cvs commit. Also we have never used
762 them for anything meaningful.
764 * most files: tags-query-replace NULL 0. As adviced several plases
765 we now use "0" instead of "NULL" in our code.
767 * src/support/filetools.C (SpaceLess): use string::size_type as
770 1999-09-29 Lars Gullik Bjønnes <larsbj@lyx.org>
772 * src/paragraph.C: fixed up some more string stuff.
774 1999-09-28 Lars Gullik Bjønnes <larsbj@lyx.org>
776 * src/support/filetools.h: make modestr a std::string.
778 * src/filetools.C (GetEnv): made ch really const.
780 * src/lyxlib.h: removed the Maximum and Minimum inline functions,
781 made code that used these use max/min from <algorithm> instead.
783 * changed several c library include files to their equivalent c++
784 library include files. All is not changed yet.
786 * created a support subdir in src, put lyxstring and lstrings
787 there + the extra files atexit, fileblock, strerror. Created
788 Makefile.am. edited configure.in and src/Makefile.am to use this
789 new subdir. More files moved to support.
791 * imported som of the functions from repository lyx, filetools
793 * ran tags-query-replace on LString -> string, corrected the bogus
794 cases. Tried to make use of lstrings.[hC], debugged a lot. There
795 is still some errors in there. This is errors where too much or
796 too litle get deleted from strings (string::erase, string::substr,
797 string::replace), there can also be some off by one errors, or
798 just plain wrong use of functions from lstrings. Viewing of quotes
801 * LyX is now running fairly well with string, but there are
802 certainly some bugs yet (see above) also string is quite different
803 from LString among others in that it does not allow null pointers
804 passed in and will abort if it gets any.
806 * Added the revtex4 files I forgot when setting up the repository.
808 1999-09-27 Lars Gullik Bjønnes <larsbj@lyx.org>
810 * All over: Tried to clean everything up so that only the files
811 that we really need are included in the cvs repository.
812 * Switched to use automake.
813 * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
814 * Install has not been checked.
816 1999-09-22 Lars Gullik Bjønnes <larsbj@lyx.org>
818 * po/pt.po: Three errors:
819 l.533 and l.538 format specification error
820 l. 402 duplicate entry, I just deleted it.