1 1999-11-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * src/support/lyxstring.C (find): remove bogus assertion in the
4 two versions of find where this has not been done yet.
6 * src/support/lyxlib.h: add missing int return type to
9 * src/menus.C (ShowFileMenu): disable exporting to html if no
10 html export command is present.
12 * config/lib_configure.m4: add a test for an HTML converter. The
13 programs checked for are, in this order: tth, latex2html and
16 * lib/configure: generated from config/lib_configure.m4.
18 * src/lyxfunc.C (Dispatch): update and improve the execution of an
19 html converter. The parameters are now passed through $$FName and
20 $$OutName, instead of standard input/output.
22 * src/lyxrc.{C,h}: rename \tth_command to \html_command.
24 * lib/lyxrc.example: update description of \html_command.
25 add "quotes" around \screen_font_xxx font setting examples to help
26 people who use fonts with spaces in their names.
28 1999-11-02 Lars Gullik Bjønnes <larsbj@lyx.org>
30 * Distribution files: updates for v1.1.2
32 * src/support/lyxstring.C (find): remove bogus assert and return
33 npos for the same condition.
35 1999-11-01 Lars Gullik Bjønnes <larsbj@lyx.org>
37 * added patch for OS/2 from SMiyata.
39 1999-10-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
41 * src/support/syscall.C (Systemcalls::kill):
42 src/support/filetools.C (PutEnv, PutEnvPath):
43 src/lyx_cb.C (addNewlineAndDepth):
44 src/FontInfo.C (FontInfo::resize): condition some #warning
45 directives with WITH_WARNINGS.
48 1999-10-28 Lars Gullik Bjønnes <larsbj@lyx.org>
50 * src/form1.C (create_form_Figure): added a couple fo "no-c-format"
52 * src/Makefile.am (dist-hook): added used to remove the CVS from
53 cheaders upon creating a dist
54 (EXTRA_DIST): added cheaders
56 * src/support/lstrings.C (tostr(char)): fix it to handle param as
57 a character not as a small integer.
59 * src/support/lyxstring.C (find): removed Assert and added i >=
60 rep->sz to the first if.
62 1999-10-27 Lars Gullik Bjønnes <larsbj@lyx.org>
64 * src/LyXAction.C (LookupFunc): added a workaround for sun
65 compiler, on the other hand...we don't know if the current code
66 compiles on sun at all...
68 * src/support/filetools.C (CleanupPath): subst fix
70 * src/insets/insetbib.C (delDatabase): subst fix, this looks
73 * src/support/filetools.C (PutEnvPath): subst fix, how come nobody
74 complained about this one?
76 * src/insets/insetinclude.C (Latex): subst fix
78 * src/insets/insetbib.C (getKeys): subst fix
80 * src/LyXSendto.C (SendtoApplyCB): subst fix
82 * src/lyx_main.C (init): subst fix
84 * src/layout.C (Read): subst fix
86 * src/lyx_sendfax_main.C (button_send): subst fix
88 * src/buffer.C (RoffAsciiTable): subst fix
90 * src/lyx_cb.C (MenuFax): subst fix
91 (PrintApplyCB): subst fix
93 1999-10-26 Lars Gullik Bjønnes <larsbj@lyx.org>
95 * development/lyx.spec.in (%build): add CFLAGS also.
97 * src/screen.C (drawFrame): removed another warning.
99 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
101 * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
102 OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
103 README and ANNOUNCE a bit for the next release. More work is
106 * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
107 unbreakable if we are in freespacing mode (LyX-Code), but not in
110 1999-10-25 Lars Gullik Bjønnes <larsbj@lyx.org>
112 * src/BackStack.h: fixed initialization order in constructor
114 * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
116 * acinclude.m4 (VERSION): new rules for when a version is
117 development, added also a variable for prerelease.
118 (warnings): we set with_warnings=yes for prereleases
119 (lyx_opt): prereleases compile with same optimization as development
120 (CXXFLAGS): only use pedantic if we are a development version
122 * src/BufferView.C (restorePosition): don't do anything if the
125 * src/BackStack.h: added member empty, use this to test if there
126 is anything to pop...
128 1999-10-25 Juergen Vigna <jug@sad.it>
131 * forms/layout_forms.fd +
132 * forms/latexoptions.fd +
133 * lyx.fd: changed for various form resize issues
135 * src/mathed/math_panel.C +
136 * src/insets/inseterror.C +
137 * src/insets/insetinfo.C +
138 * src/insets/inseturl.C +
139 * src/insets/inseturl.h +
142 * src/PaperLayout.C +
143 * src/ParagraphExtra.C +
144 * src/TableLayout.C +
146 * src/layout_forms.C +
153 * src/menus.C: fixed various resize issues. So now forms can be
154 resized savely or not be resized at all.
156 * forms/form_url.fd +
157 * src/insets/form_url.[Ch]: added because it's cleaner and easier
160 * src/insets/Makefile.am: added files form_url.[Ch]
162 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
164 * INSTALL: it is now possible to compile LyX with digital C++ 6.1
165 (and presumably 6.2).
167 * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
168 menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
169 remaining static member callbacks.
171 * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
174 * src/support/lyxstring.h: declare struct Srep as friend of
175 lyxstring, since DEC cxx complains otherwise.
177 1999-10-24 Lars Gullik Bjønnes <larsbj@lyx.org>
179 * src/spellchecker.C (create_ispell_pipe): removed old #warning,
180 the code has shown itself to work
181 (create_ispell_pipe): removed another warning, added a comment
184 * src/minibuffer.C (ExecutingCB): removed code that has been
185 commented out a long time
187 * src/lyxfunc.C (processKeyEvent): removed some very old commented
188 out code + a warning.
190 * src/support/lyxstring.h: comment out the three private
191 operators, when compiling with string ansi conforming compilers
194 * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
196 (pixmapFromBitmapData): change type of bdata to be unsigned char *
197 (pixmapFromBitmapData): add a reinterpret_cast in the call to
200 * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
203 * src/mathed/math_panel.C (create_math_panel): remove explicit
206 * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
209 * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
210 (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
211 to XCreatePixmapFromBitmapData
212 (fl_set_bmtable_data): change the last argument to be unsigned
214 (fl_set_bmtable_file): change bdata to unsinged char *, change bw
215 and bh to be unsigned int, remove explicit casts in call to
218 * images/arrows.xbm: made the arrays unsigned char *
219 * images/varsz.xbm: ditto
220 * images/misc.xbm: ditto
221 * images/greek.xbm: ditto
222 * images/dots.xbm: ditto
223 * images/brel.xbm: ditto
224 * images/bop.xbm: ditto
226 * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
228 * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed.
229 (LYX_PROG_CXX): added -pedantic to g++ compile options when
230 with-warnings, removed the __STRING_ANSI__ hack, seems to not be
232 (LYX_CXX_CHEADERS): added <clocale> to the test.
234 1999-10-23 Lars Gullik Bjønnes <larsbj@lyx.org>
236 * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
238 * src/support/lyxstring.C (append): fixed something that must be a
239 bug, rep->assign was used instead of rep->append.
241 * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
244 * src/lyxfunc.C (processKeyEvent): removed faulty line that made
245 lyx insert double chars. Fix spotted by Kayvan.
247 1999-10-23 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
249 * Fixed the tth support. I messed up with the Emacs patch apply feature
250 and omitted the changes in lyxrc.C.
252 1999-10-22 Juergen Vigna <jug@sad.it>
254 * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
256 * src/lyx_cb.C (MenuInsertRef) +
257 * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
258 the form cannot be resized under it limits (fixes a segfault)
260 * src/lyx.C (create_form_form_ref) +
261 * forms/lyx.fd: Changed Gravity on name input field so that it is
264 1999-10-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
266 * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
267 <ostream> and <istream>.
269 * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
270 whether <fstream> provides the latest standard features, or if we
271 have an oldstyle library (like in egcs).
272 (LYX_CXX_STL_STRING): fix the test.
274 * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
275 code on MODERN_STL_STREAM.
277 * src/support/lyxstring.h: use L{I,O}stream.h.
279 * src/support/L{I,O}stream.h: new files, designed to setup
280 correctly streams for our use
281 - includes the right header depending on STL capabilities
282 - puts std::ostream and std::endl (for LOStream.h) or
283 std::istream (LIStream.h) in toplevel namespace.
285 1999-10-22 Lars Gullik Bjønnes <larsbj@lyx.org>
287 * src/insets/figinset.C: added ifdef guards around the fl_free
288 code that jug commented out. Now it is commented out when
289 compiling with XForms == 0.89.
291 * src/support/lyxstring.C: moved the definition of lyxstring::Srep
292 to lyxstring.C, and only keep a forward declaration in
293 lyxstring.h. Simplifies the header file a bit and should help a
294 bit on compile time too. Also changes to Srep will not mandate a
295 recompile of code just using string.
296 (~lyxstring): definition moved here since it uses srep.
297 (size): definition moved here since it uses srep.
299 * src/support/lyxstring.h: removed a couple of "inline" that should
302 1999-10-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
304 * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
307 1999-10-21 Juergen Vigna <jug@sad.it>
309 * src/table.C (SetPWidth): Just a small fix so the alignment is not
310 set to left if I just remove the width entry (or it is empty).
312 * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
313 paragraph when having dummy paragraphs.
315 1999-10-20 Juergen Vigna <jug@sad.it>
317 * src/insets/figinset.C: just commented some fl_free_form calls
318 and added warnings so that this calls should be activated later
319 again. This avoids for now a segfault, but we have a memory leak!
321 * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
322 'const char * argument' to 'string argument', this should
323 fix some Asserts() in lyxstring.C.
325 * src/lyxfunc.h: Removed the function argAsString(const char *)
326 as it is not used anymore.
328 1999-10-20 Lars Gullik Bjønnes <larsbj@lyx.org>
330 * src/support/lyxstring.C (helper): changed to use
331 sizeof(object->rep->ref).
332 (operator>>): changed to use a pointer instead.
334 * src/support/lyxstring.h: changed const reference & to value_type
335 const & lets see if that helps.
337 1999-10-19 Lars Gullik Bjønnes <larsbj@lyx.org>
339 * Makefile.am (rpmdist): fixed to have non static package and
342 * src/support/lyxstring.C: removed the compilation guards
344 * src/vspace.C (nextToken): use i + 1 instead of ++i. Maks things
347 * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
348 conditional compile of lyxstring.Ch
350 * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
351 stupid check, but it is a lot better than the bastring hack.
352 (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING
354 * several files: changed string::erase into string::clear. Not
357 * src/chset.C (encodeString): use a char temporary instead
359 * src/table.C (TexEndOfCell): added tostr around
360 column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
361 (TexEndOfCell): ditto
362 (TexEndOfCell): ditto
363 (TexEndOfCell): ditto
364 (DocBookEndOfCell): ditto
365 (DocBookEndOfCell): ditto
366 (DocBookEndOfCell): ditto
367 (DocBookEndOfCell): ditto
369 * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
371 * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
373 * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
374 (MenuBuildProg): added tostr around ret
375 (MenuRunChktex): added tostr around ret
376 (DocumentApplyCB): added tostr around ret
378 * src/chset.C (encodeString): added tostr around t->ic
380 * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
381 (makeLaTeXFile): added tostr around tocdepth
382 (makeLaTeXFile): added tostr around ftcound - 1
384 * src/insets/insetbib.C (setCounter): added tostr around counter.
386 * src/support/lyxstring.h: added an operator+=(int) to catch more
389 * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
390 (lyxstring): We DON'T allow NULL pointers.
392 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
394 * src/mathed/math_macro.C (MathMacroArgument::Write,
395 MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
396 when writing them out.
398 * src/LString.C: remove, since it is not used anymore.
400 * src/support/lyxstring.C: condition the content to
401 USE_INCLUDED_STRING macro.
403 * src/mathed/math_symbols.C, src/support/lstrings.C,
404 src/support/lyxstring.C: add `using' directive to specify what
405 we need in <algorithm>. I do not think that we need to
406 conditionalize this, but any thought is appreciated.
408 * many files: change all callback functions to "C" linkage
409 functions to please strict C++ compilers like DEC cxx 6.1 in mode
410 strict_ansi. Those who were static are now global.
411 The case of callbacks which are static class members is
412 trickier, since we have to make C wrappers around them (see
413 InsetError, InsetInfo and InsetUrl). The same holds for friends. I
414 did not finish this yet, since it defeats the purpose of
415 encapsulation, and I am not sure what the best route is.
417 1999-10-19 Juergen Vigna <jug@sad.it>
419 * src/support/lyxstring.C (lyxstring): we permit to have a null
420 pointer as assignment value and just don't assign it.
422 * src/vspace.C (nextToken): corrected this function substituting
423 find_first(_not)_of with find_last_of.
425 * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
426 (TableOptCloseCB) (TableSpeCloseCB):
427 inserted fl_set_focus call for problem with fl_hide_form() in
430 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
432 * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
435 1999-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
437 * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
438 LyXLex::next() and not eatline() to get its argument.
440 1999-10-16 Lars Gullik Bjønnes <larsbj@lyx.org>
442 * Makefile.am (rpmdist): added a rpmdist target
444 * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
445 per Kayvan's instructions.
447 1999-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
449 * src/Makefile.am: add a definition for localedir, so that locales
450 are found after installation (Kayvan)
452 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
454 * development/.cvsignore: new file.
456 1999-10-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
458 * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
459 C++ compiler provides wrappers for C headers and use our alternate
462 * configure.in: use LYX_CXX_CHEADERS.
464 * src/cheader/: new directory, populated with cname headers from
465 libstdc++-2.8.1. They are a bit old, but probably good enough for
466 what we want (support compilers who lack them).
468 * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
469 from includes. It turns out is was stupid.
471 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
473 * lib/Makefile.am (install-data-local): forgot a ';'
474 (install-data-local): forgot a '\'
475 (libinstalldirs): needed after all. reintroduced.
477 1999-10-13 Lars Gullik Bjønnes <larsbj@lyx.org>
479 * configure.in (AC_OUTPUT): added lyx.spec
481 * development/lyx.spec: removed file
483 * development/lyx.spec.in: new file
485 * po/*.po: merged with lyx.pot becuase of make distcheck
487 * lib/Makefile.am (dist-hook): added dist-hook so that
488 documentation files will be included when doing a make
489 dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
490 (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
492 more: tried to make install do the right thing, exclude CVS dirs
495 * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
496 Path would fit in more nicely.
498 * all files that used to use pathstack: uses now Path instead.
499 This change was a lot easier than expected.
501 * src/support/path.h: new file
503 * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
505 * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
507 * src/support/lyxstring.C (getline): Default arg was given for
510 * Configure.cmd: removed file
512 1999-10-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
514 * src/support/DebugStream.[Ch]: remove the explicit std:: before
515 streams classes and types, add the proper 'using' statements when
516 MODERN_STL is defined.
518 * src/debug.h: move the << operator definition after the inclusion
521 * src/support/filetools.C: include "LAssert.h", which is needed
524 * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
527 * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
528 include "debug.h" to define a proper ostream.
530 1999-10-12 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
532 * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
533 method to the SystemCall class which can kill a process, but it's
534 not fully implemented yet.
536 * src/*.C: Changed Systemcalls::Startscript() to startscript()
538 * src/support/FileInfo.h: Better documentation
540 * src/lyxfunc.C: Added support for buffer-export html
542 * src/menus.C: Added Export->As HTML...
544 * lib/bind/*.bind: Added short-cut for buffer-export html
546 * src/lyxrc.*: Added support for new \tth_command
548 * lib/lyxrc.example: Added stuff for new \tth_command
550 1999-10-12 Lars Gullik Bjønnes <larsbj@lyx.org>
552 * lib/Makefile.am (IMAGES): removed images/README
553 (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
554 installes in correct place. Check permisions is installed
557 * src/LaTeX.C: some no-op changes moved declaration of some
560 * src/LaTeX.h (LATEX_H): changed include guard name
562 1999-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
564 * lib/reLyX/Makefile.am: install noweb2lyx.
566 * lib/Makefile.am: install configure.
568 * lib/reLyX/configure.in: declare a config aux dir; set package
569 name to lyx (not sure what the best solution is); generate noweb2lyx.
571 * lib/layouts/egs.layout: fix the bibliography layout.
573 1999-10-08 Jürgen Vigna <jug@sad.it>
575 * src/support/filetools.C (FileOpenSearch): Fixed a bug where
576 when in the PATH was something like /usr/bin;;/bin (note: the ;;)
577 it returned without continuing to search the path.
579 1999-10-07 Lars Gullik Bjønnes <larsbj@lyx.org>
581 * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
582 also fixes a bug. It is not allowed to do tricks with std::strings
583 like: string a("hei"); &a[e]; this will not give what you
584 think... Any reason for the complexity in this func?
586 1999-10-06 Asger Alstrup Nielsen <alstrup@diku.dk>
588 * Updated README and INSTALL a bit, mostly to check that my
589 CVS rights are correctly set up.
591 1999-10-06 Lars Gullik Bjønnes <larsbj@lyx.org>
593 * src/support/lyxstring.C (helper): removed bogus Assert. strlen
594 does not allow '\0' chars but lyxstring and std::string does.
596 1999-10-05 Lars Gullik Bjønnes <larsbj@lyx.org>
598 * autogen.sh (AUTOCONF): let the autogen script create the
599 POTFILES.in file too. POTFILES.in should perhaps now not be
600 included in the cvs module.
602 * some more files changed to use C++ includes instead of C ones.
604 * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
606 (Reread): added tostr to nlink. buggy output otherwise.
607 (Reread): added a string() around szMode when assigning to Buffer,
608 without this I got a log of garbled info strings.
610 * acconfig.h: commented out the PTR_AS_INT macros. They should not
613 * I have added several ostream & operator<<(ostream &, some_type)
614 functions. This has been done to avoid casting and warnings when
615 outputting enums to lyxerr. This as thus eliminated a lot of
616 explicit casts and has made the code clearer. Among the enums
617 affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
618 mathed enums, some font enum the Debug::type enum.
620 * src/support/lyxstring.h (clear): missing method. equivalent of
623 * all files that contained "stderr": rewrote constructs that used
624 stderr to use lyxerr instead. (except bmtable)
626 * src/support/DebugStream.h (level): and the passed t with
627 Debug::ANY to avoid spurious bits set.
629 * src/debug.h (Debug::type value): made it accept strings of the
632 * configure.in (Check for programs): Added a check for kpsewhich,
633 the latex generation will use this later to better the dicovery of
636 * src/BufferView.C (create_view): we don't need to cast this to
637 (void*) that is done automatically.
638 (WorkAreaButtonPress): removed some dead code.
640 1999-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
642 * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
643 is not overwritten when translated (David Sua'rez de Lis).
645 * lib/CREDITS: Added David Sua'rez de Lis
647 * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
649 * src/bufferparams.C (BufferParams): default input encoding is now
652 * acinclude.m4 (cross_compiling): comment out macro
653 LYX_GXX_STRENGTH_REDUCE.
655 * acconfig.h: make sure that const is not defined (to empty) when
656 we are compiling C++. Remove commented out code using SIZEOF_xx
659 * configure.in : move the test for const and inline as late as
660 possible so that these C tests do not interefere with C++ ones.
661 Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
664 1999-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
666 * src/table.C (getDocBookAlign): remove bad default value for
669 * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
671 (ShowFileMenu2): ditto.
673 * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
676 1999-10-04 Lars Gullik Bjønnes <larsbj@lyx.org>
678 * Most files: finished the change from the old error code to use
679 DebugStream for all lyxerr debugging. Only minor changes remain
680 (e.g. the setting of debug levels using strings instead of number)
682 1999-10-02 Lars Gullik Bjønnes <larsbj@lyx.org>
684 * src/layout.C (Add): Changed to use compare_no_case instead of
687 * src/FontInfo.C: changed loop variable type too string::size_type.
689 1999-10-01 Lars Gullik Bjønnes <larsbj@lyx.org>
691 * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
692 set ETAGS_ARGS to --c++
694 1999-09-30 Lars Gullik Bjønnes <larsbj@lyx.org>
696 * src/table.C (DocBookEndOfCell): commented out two unused variables
698 * src/paragraph.C: commented out four unused variables.
700 * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
701 insed a if clause with type string::size_type.
703 * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
706 * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
708 * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
709 variable, also changed loop to go from 0 to lenght + 1, instead of
710 -1 to length. This should be correct.
712 * src/LaTeX.C (scanError): use string::size_type as loop variable
715 * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
716 (l.896) since y_tmp and row was not used anyway.
718 * src/insets/insetref.C (escape): use string::size_type as loop
721 * src/insets/insetquotes.C (Width): use string::size_type as loop
723 (Draw): use string::size_type as loop variable type.
725 * src/insets/insetlatexaccent.C (checkContents): use
726 string::size_type as loop variable type.
728 * src/insets/insetlabel.C (escape): use string::size_type as loop
731 * src/insets/insetinfo.C: added an extern for current_view.
733 * src/insets/insetcommand.C (scanCommand): use string::size_type
734 as loop variable type.
736 * most files: removed the RCS tags. With them we had to recompile
737 a lot of files after a simple cvs commit. Also we have never used
738 them for anything meaningful.
740 * most files: tags-query-replace NULL 0. As adviced several plases
741 we now use "0" instead of "NULL" in our code.
743 * src/support/filetools.C (SpaceLess): use string::size_type as
746 1999-09-29 Lars Gullik Bjønnes <larsbj@lyx.org>
748 * src/paragraph.C: fixed up some more string stuff.
750 1999-09-28 Lars Gullik Bjønnes <larsbj@lyx.org>
752 * src/support/filetools.h: make modestr a std::string.
754 * src/filetools.C (GetEnv): made ch really const.
756 * src/lyxlib.h: removed the Maximum and Minimum inline functions,
757 made code that used these use max/min from <algorithm> instead.
759 * changed several c library include files to their equivalent c++
760 library include files. All is not changed yet.
762 * created a support subdir in src, put lyxstring and lstrings
763 there + the extra files atexit, fileblock, strerror. Created
764 Makefile.am. edited configure.in and src/Makefile.am to use this
765 new subdir. More files moved to support.
767 * imported som of the functions from repository lyx, filetools
769 * ran tags-query-replace on LString -> string, corrected the bogus
770 cases. Tried to make use of lstrings.[hC], debugged a lot. There
771 is still some errors in there. This is errors where too much or
772 too litle get deleted from strings (string::erase, string::substr,
773 string::replace), there can also be some off by one errors, or
774 just plain wrong use of functions from lstrings. Viewing of quotes
777 * LyX is now running fairly well with string, but there are
778 certainly some bugs yet (see above) also string is quite different
779 from LString among others in that it does not allow null pointers
780 passed in and will abort if it gets any.
782 * Added the revtex4 files I forgot when setting up the repository.
784 1999-09-27 Lars Gullik Bjønnes <larsbj@lyx.org>
786 * All over: Tried to clean everything up so that only the files
787 that we really need are included in the cvs repository.
788 * Switched to use automake.
789 * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
790 * Install has not been checked.
792 1999-09-22 Lars Gullik Bjønnes <larsbj@lyx.org>
794 * po/pt.po: Three errors:
795 l.533 and l.538 format specification error
796 l. 402 duplicate entry, I just deleted it.