1 1999-10-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * src/support/syscall.C (Systemcalls::kill):
4 src/support/filetools.C (PutEnv, PutEnvPath):
5 src/lyx_cb.C (addNewlineAndDepth):
6 src/FontInfo.C (FontInfo::resize): condition some #warning
7 directives with WITH_WARNINGS.
10 1999-10-28 Lars Gullik Bjønnes <larsbj@lyx.org>
12 * src/form1.C (create_form_Figure): added a couple fo "no-c-format"
14 * src/Makefile.am (dist-hook): added used to remove the CVS from
15 cheaders upon creating a dist
16 (EXTRA_DIST): added cheaders
18 * src/support/lstrings.C (tostr(char)): fix it to handle param as
19 a character not as a small integer.
21 * src/support/lyxstring.C (find): removed Assert and added i >=
22 rep->sz to the first if.
24 1999-10-27 Lars Gullik Bjønnes <larsbj@lyx.org>
26 * src/LyXAction.C (LookupFunc): added a workaround for sun
27 compiler, on the other hand...we don't know if the current code
28 compiles on sun at all...
30 * src/support/filetools.C (CleanupPath): subst fix
32 * src/insets/insetbib.C (delDatabase): subst fix, this looks
35 * src/support/filetools.C (PutEnvPath): subst fix, how come nobody
36 complained about this one?
38 * src/insets/insetinclude.C (Latex): subst fix
40 * src/insets/insetbib.C (getKeys): subst fix
42 * src/LyXSendto.C (SendtoApplyCB): subst fix
44 * src/lyx_main.C (init): subst fix
46 * src/layout.C (Read): subst fix
48 * src/lyx_sendfax_main.C (button_send): subst fix
50 * src/buffer.C (RoffAsciiTable): subst fix
52 * src/lyx_cb.C (MenuFax): subst fix
53 (PrintApplyCB): subst fix
55 1999-10-26 Lars Gullik Bjønnes <larsbj@lyx.org>
57 * development/lyx.spec.in (%build): add CFLAGS also.
59 * src/screen.C (drawFrame): removed another warning.
61 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
63 * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
64 OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
65 README and ANNOUNCE a bit for the next release. More work is
68 * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
69 unbreakable if we are in freespacing mode (LyX-Code), but not in
72 1999-10-25 Lars Gullik Bjønnes <larsbj@lyx.org>
74 * src/BackStack.h: fixed initialization order in constructor
76 * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
78 * acinclude.m4 (VERSION): new rules for when a version is
79 development, added also a variable for prerelease.
80 (warnings): we set with_warnings=yes for prereleases
81 (lyx_opt): prereleases compile with same optimization as development
82 (CXXFLAGS): only use pedantic if we are a development version
84 * src/BufferView.C (restorePosition): don't do anything if the
87 * src/BackStack.h: added member empty, use this to test if there
90 1999-10-25 Juergen Vigna <jug@sad.it>
93 * forms/layout_forms.fd +
94 * forms/latexoptions.fd +
95 * lyx.fd: changed for various form resize issues
97 * src/mathed/math_panel.C +
98 * src/insets/inseterror.C +
99 * src/insets/insetinfo.C +
100 * src/insets/inseturl.C +
101 * src/insets/inseturl.h +
104 * src/PaperLayout.C +
105 * src/ParagraphExtra.C +
106 * src/TableLayout.C +
108 * src/layout_forms.C +
115 * src/menus.C: fixed various resize issues. So now forms can be
116 resized savely or not be resized at all.
118 * forms/form_url.fd +
119 * src/insets/form_url.[Ch]: added because it's cleaner and easier
122 * src/insets/Makefile.am: added files form_url.[Ch]
124 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
126 * INSTALL: it is now possible to compile LyX with digital C++ 6.1
127 (and presumably 6.2).
129 * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
130 menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
131 remaining static member callbacks.
133 * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
136 * src/support/lyxstring.h: declare struct Srep as friend of
137 lyxstring, since DEC cxx complains otherwise.
139 1999-10-24 Lars Gullik Bjønnes <larsbj@lyx.org>
141 * src/spellchecker.C (create_ispell_pipe): removed old #warning,
142 the code has shown itself to work
143 (create_ispell_pipe): removed another warning, added a comment
146 * src/minibuffer.C (ExecutingCB): removed code that has been
147 commented out a long time
149 * src/lyxfunc.C (processKeyEvent): removed some very old commented
150 out code + a warning.
152 * src/support/lyxstring.h: comment out the three private
153 operators, when compiling with string ansi conforming compilers
156 * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
158 (pixmapFromBitmapData): change type of bdata to be unsigned char *
159 (pixmapFromBitmapData): add a reinterpret_cast in the call to
162 * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
165 * src/mathed/math_panel.C (create_math_panel): remove explicit
168 * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
171 * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
172 (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
173 to XCreatePixmapFromBitmapData
174 (fl_set_bmtable_data): change the last argument to be unsigned
176 (fl_set_bmtable_file): change bdata to unsinged char *, change bw
177 and bh to be unsigned int, remove explicit casts in call to
180 * images/arrows.xbm: made the arrays unsigned char *
181 * images/varsz.xbm: ditto
182 * images/misc.xbm: ditto
183 * images/greek.xbm: ditto
184 * images/dots.xbm: ditto
185 * images/brel.xbm: ditto
186 * images/bop.xbm: ditto
188 * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
190 * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed.
191 (LYX_PROG_CXX): added -pedantic to g++ compile options when
192 with-warnings, removed the __STRING_ANSI__ hack, seems to not be
194 (LYX_CXX_CHEADERS): added <clocale> to the test.
196 1999-10-23 Lars Gullik Bjønnes <larsbj@lyx.org>
198 * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
200 * src/support/lyxstring.C (append): fixed something that must be a
201 bug, rep->assign was used instead of rep->append.
203 * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
206 * src/lyxfunc.C (processKeyEvent): removed faulty line that made
207 lyx insert double chars. Fix spotted by Kayvan.
209 1999-10-23 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
211 * Fixed the tth support. I messed up with the Emacs patch apply feature
212 and omitted the changes in lyxrc.C.
214 1999-10-22 Juergen Vigna <jug@sad.it>
216 * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
218 * src/lyx_cb.C (MenuInsertRef) +
219 * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
220 the form cannot be resized under it limits (fixes a segfault)
222 * src/lyx.C (create_form_form_ref) +
223 * forms/lyx.fd: Changed Gravity on name input field so that it is
226 1999-10-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
228 * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
229 <ostream> and <istream>.
231 * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
232 whether <fstream> provides the latest standard features, or if we
233 have an oldstyle library (like in egcs).
234 (LYX_CXX_STL_STRING): fix the test.
236 * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
237 code on MODERN_STL_STREAM.
239 * src/support/lyxstring.h: use L{I,O}stream.h.
241 * src/support/L{I,O}stream.h: new files, designed to setup
242 correctly streams for our use
243 - includes the right header depending on STL capabilities
244 - puts std::ostream and std::endl (for LOStream.h) or
245 std::istream (LIStream.h) in toplevel namespace.
247 1999-10-22 Lars Gullik Bjønnes <larsbj@lyx.org>
249 * src/insets/figinset.C: added ifdef guards around the fl_free
250 code that jug commented out. Now it is commented out when
251 compiling with XForms == 0.89.
253 * src/support/lyxstring.C: moved the definition of lyxstring::Srep
254 to lyxstring.C, and only keep a forward declaration in
255 lyxstring.h. Simplifies the header file a bit and should help a
256 bit on compile time too. Also changes to Srep will not mandate a
257 recompile of code just using string.
258 (~lyxstring): definition moved here since it uses srep.
259 (size): definition moved here since it uses srep.
261 * src/support/lyxstring.h: removed a couple of "inline" that should
264 1999-10-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
266 * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
269 1999-10-21 Juergen Vigna <jug@sad.it>
271 * src/table.C (SetPWidth): Just a small fix so the alignment is not
272 set to left if I just remove the width entry (or it is empty).
274 * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
275 paragraph when having dummy paragraphs.
277 1999-10-20 Juergen Vigna <jug@sad.it>
279 * src/insets/figinset.C: just commented some fl_free_form calls
280 and added warnings so that this calls should be activated later
281 again. This avoids for now a segfault, but we have a memory leak!
283 * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
284 'const char * argument' to 'string argument', this should
285 fix some Asserts() in lyxstring.C.
287 * src/lyxfunc.h: Removed the function argAsString(const char *)
288 as it is not used anymore.
290 1999-10-20 Lars Gullik Bjønnes <larsbj@lyx.org>
292 * src/support/lyxstring.C (helper): changed to use
293 sizeof(object->rep->ref).
294 (operator>>): changed to use a pointer instead.
296 * src/support/lyxstring.h: changed const reference & to value_type
297 const & lets see if that helps.
299 1999-10-19 Lars Gullik Bjønnes <larsbj@lyx.org>
301 * Makefile.am (rpmdist): fixed to have non static package and
304 * src/support/lyxstring.C: removed the compilation guards
306 * src/vspace.C (nextToken): use i + 1 instead of ++i. Maks things
309 * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
310 conditional compile of lyxstring.Ch
312 * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
313 stupid check, but it is a lot better than the bastring hack.
314 (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING
316 * several files: changed string::erase into string::clear. Not
319 * src/chset.C (encodeString): use a char temporary instead
321 * src/table.C (TexEndOfCell): added tostr around
322 column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
323 (TexEndOfCell): ditto
324 (TexEndOfCell): ditto
325 (TexEndOfCell): ditto
326 (DocBookEndOfCell): ditto
327 (DocBookEndOfCell): ditto
328 (DocBookEndOfCell): ditto
329 (DocBookEndOfCell): ditto
331 * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
333 * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
335 * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
336 (MenuBuildProg): added tostr around ret
337 (MenuRunChktex): added tostr around ret
338 (DocumentApplyCB): added tostr around ret
340 * src/chset.C (encodeString): added tostr around t->ic
342 * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
343 (makeLaTeXFile): added tostr around tocdepth
344 (makeLaTeXFile): added tostr around ftcound - 1
346 * src/insets/insetbib.C (setCounter): added tostr around counter.
348 * src/support/lyxstring.h: added an operator+=(int) to catch more
351 * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
352 (lyxstring): We DON'T allow NULL pointers.
354 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
356 * src/mathed/math_macro.C (MathMacroArgument::Write,
357 MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
358 when writing them out.
360 * src/LString.C: remove, since it is not used anymore.
362 * src/support/lyxstring.C: condition the content to
363 USE_INCLUDED_STRING macro.
365 * src/mathed/math_symbols.C, src/support/lstrings.C,
366 src/support/lyxstring.C: add `using' directive to specify what
367 we need in <algorithm>. I do not think that we need to
368 conditionalize this, but any thought is appreciated.
370 * many files: change all callback functions to "C" linkage
371 functions to please strict C++ compilers like DEC cxx 6.1 in mode
372 strict_ansi. Those who were static are now global.
373 The case of callbacks which are static class members is
374 trickier, since we have to make C wrappers around them (see
375 InsetError, InsetInfo and InsetUrl). The same holds for friends. I
376 did not finish this yet, since it defeats the purpose of
377 encapsulation, and I am not sure what the best route is.
379 1999-10-19 Juergen Vigna <jug@sad.it>
381 * src/support/lyxstring.C (lyxstring): we permit to have a null
382 pointer as assignment value and just don't assign it.
384 * src/vspace.C (nextToken): corrected this function substituting
385 find_first(_not)_of with find_last_of.
387 * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
388 (TableOptCloseCB) (TableSpeCloseCB):
389 inserted fl_set_focus call for problem with fl_hide_form() in
392 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
394 * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
397 1999-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
399 * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
400 LyXLex::next() and not eatline() to get its argument.
402 1999-10-16 Lars Gullik Bjønnes <larsbj@lyx.org>
404 * Makefile.am (rpmdist): added a rpmdist target
406 * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
407 per Kayvan's instructions.
409 1999-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
411 * src/Makefile.am: add a definition for localedir, so that locales
412 are found after installation (Kayvan)
414 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
416 * development/.cvsignore: new file.
418 1999-10-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
420 * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
421 C++ compiler provides wrappers for C headers and use our alternate
424 * configure.in: use LYX_CXX_CHEADERS.
426 * src/cheader/: new directory, populated with cname headers from
427 libstdc++-2.8.1. They are a bit old, but probably good enough for
428 what we want (support compilers who lack them).
430 * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
431 from includes. It turns out is was stupid.
433 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
435 * lib/Makefile.am (install-data-local): forgot a ';'
436 (install-data-local): forgot a '\'
437 (libinstalldirs): needed after all. reintroduced.
439 1999-10-13 Lars Gullik Bjønnes <larsbj@lyx.org>
441 * configure.in (AC_OUTPUT): added lyx.spec
443 * development/lyx.spec: removed file
445 * development/lyx.spec.in: new file
447 * po/*.po: merged with lyx.pot becuase of make distcheck
449 * lib/Makefile.am (dist-hook): added dist-hook so that
450 documentation files will be included when doing a make
451 dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
452 (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
454 more: tried to make install do the right thing, exclude CVS dirs
457 * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
458 Path would fit in more nicely.
460 * all files that used to use pathstack: uses now Path instead.
461 This change was a lot easier than expected.
463 * src/support/path.h: new file
465 * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
467 * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
469 * src/support/lyxstring.C (getline): Default arg was given for
472 * Configure.cmd: removed file
474 1999-10-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
476 * src/support/DebugStream.[Ch]: remove the explicit std:: before
477 streams classes and types, add the proper 'using' statements when
478 MODERN_STL is defined.
480 * src/debug.h: move the << operator definition after the inclusion
483 * src/support/filetools.C: include "LAssert.h", which is needed
486 * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
489 * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
490 include "debug.h" to define a proper ostream.
492 1999-10-12 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
494 * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
495 method to the SystemCall class which can kill a process, but it's
496 not fully implemented yet.
498 * src/*.C: Changed Systemcalls::Startscript() to startscript()
500 * src/support/FileInfo.h: Better documentation
502 * src/lyxfunc.C: Added support for buffer-export html
504 * src/menus.C: Added Export->As HTML...
506 * lib/bind/*.bind: Added short-cut for buffer-export html
508 * src/lyxrc.*: Added support for new \tth_command
510 * lib/lyxrc.example: Added stuff for new \tth_command
512 1999-10-12 Lars Gullik Bjønnes <larsbj@lyx.org>
514 * lib/Makefile.am (IMAGES): removed images/README
515 (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
516 installes in correct place. Check permisions is installed
519 * src/LaTeX.C: some no-op changes moved declaration of some
522 * src/LaTeX.h (LATEX_H): changed include guard name
524 1999-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
526 * lib/reLyX/Makefile.am: install noweb2lyx.
528 * lib/Makefile.am: install configure.
530 * lib/reLyX/configure.in: declare a config aux dir; set package
531 name to lyx (not sure what the best solution is); generate noweb2lyx.
533 * lib/layouts/egs.layout: fix the bibliography layout.
535 1999-10-08 Jürgen Vigna <jug@sad.it>
537 * src/support/filetools.C (FileOpenSearch): Fixed a bug where
538 when in the PATH was something like /usr/bin;;/bin (note: the ;;)
539 it returned without continuing to search the path.
541 1999-10-07 Lars Gullik Bjønnes <larsbj@lyx.org>
543 * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
544 also fixes a bug. It is not allowed to do tricks with std::strings
545 like: string a("hei"); &a[e]; this will not give what you
546 think... Any reason for the complexity in this func?
548 1999-10-06 Asger Alstrup Nielsen <alstrup@diku.dk>
550 * Updated README and INSTALL a bit, mostly to check that my
551 CVS rights are correctly set up.
553 1999-10-06 Lars Gullik Bjønnes <larsbj@lyx.org>
555 * src/support/lyxstring.C (helper): removed bogus Assert. strlen
556 does not allow '\0' chars but lyxstring and std::string does.
558 1999-10-05 Lars Gullik Bjønnes <larsbj@lyx.org>
560 * autogen.sh (AUTOCONF): let the autogen script create the
561 POTFILES.in file too. POTFILES.in should perhaps now not be
562 included in the cvs module.
564 * some more files changed to use C++ includes instead of C ones.
566 * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
568 (Reread): added tostr to nlink. buggy output otherwise.
569 (Reread): added a string() around szMode when assigning to Buffer,
570 without this I got a log of garbled info strings.
572 * acconfig.h: commented out the PTR_AS_INT macros. They should not
575 * I have added several ostream & operator<<(ostream &, some_type)
576 functions. This has been done to avoid casting and warnings when
577 outputting enums to lyxerr. This as thus eliminated a lot of
578 explicit casts and has made the code clearer. Among the enums
579 affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
580 mathed enums, some font enum the Debug::type enum.
582 * src/support/lyxstring.h (clear): missing method. equivalent of
585 * all files that contained "stderr": rewrote constructs that used
586 stderr to use lyxerr instead. (except bmtable)
588 * src/support/DebugStream.h (level): and the passed t with
589 Debug::ANY to avoid spurious bits set.
591 * src/debug.h (Debug::type value): made it accept strings of the
594 * configure.in (Check for programs): Added a check for kpsewhich,
595 the latex generation will use this later to better the dicovery of
598 * src/BufferView.C (create_view): we don't need to cast this to
599 (void*) that is done automatically.
600 (WorkAreaButtonPress): removed some dead code.
602 1999-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
604 * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
605 is not overwritten when translated (David Sua'rez de Lis).
607 * lib/CREDITS: Added David Sua'rez de Lis
609 * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
611 * src/bufferparams.C (BufferParams): default input encoding is now
614 * acinclude.m4 (cross_compiling): comment out macro
615 LYX_GXX_STRENGTH_REDUCE.
617 * acconfig.h: make sure that const is not defined (to empty) when
618 we are compiling C++. Remove commented out code using SIZEOF_xx
621 * configure.in : move the test for const and inline as late as
622 possible so that these C tests do not interefere with C++ ones.
623 Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
626 1999-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
628 * src/table.C (getDocBookAlign): remove bad default value for
631 * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
633 (ShowFileMenu2): ditto.
635 * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
638 1999-10-04 Lars Gullik Bjønnes <larsbj@lyx.org>
640 * Most files: finished the change from the old error code to use
641 DebugStream for all lyxerr debugging. Only minor changes remain
642 (e.g. the setting of debug levels using strings instead of number)
644 1999-10-02 Lars Gullik Bjønnes <larsbj@lyx.org>
646 * src/layout.C (Add): Changed to use compare_no_case instead of
649 * src/FontInfo.C: changed loop variable type too string::size_type.
651 1999-10-01 Lars Gullik Bjønnes <larsbj@lyx.org>
653 * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
654 set ETAGS_ARGS to --c++
656 1999-09-30 Lars Gullik Bjønnes <larsbj@lyx.org>
658 * src/table.C (DocBookEndOfCell): commented out two unused variables
660 * src/paragraph.C: commented out four unused variables.
662 * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
663 insed a if clause with type string::size_type.
665 * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
668 * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
670 * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
671 variable, also changed loop to go from 0 to lenght + 1, instead of
672 -1 to length. This should be correct.
674 * src/LaTeX.C (scanError): use string::size_type as loop variable
677 * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
678 (l.896) since y_tmp and row was not used anyway.
680 * src/insets/insetref.C (escape): use string::size_type as loop
683 * src/insets/insetquotes.C (Width): use string::size_type as loop
685 (Draw): use string::size_type as loop variable type.
687 * src/insets/insetlatexaccent.C (checkContents): use
688 string::size_type as loop variable type.
690 * src/insets/insetlabel.C (escape): use string::size_type as loop
693 * src/insets/insetinfo.C: added an extern for current_view.
695 * src/insets/insetcommand.C (scanCommand): use string::size_type
696 as loop variable type.
698 * most files: removed the RCS tags. With them we had to recompile
699 a lot of files after a simple cvs commit. Also we have never used
700 them for anything meaningful.
702 * most files: tags-query-replace NULL 0. As adviced several plases
703 we now use "0" instead of "NULL" in our code.
705 * src/support/filetools.C (SpaceLess): use string::size_type as
708 1999-09-29 Lars Gullik Bjønnes <larsbj@lyx.org>
710 * src/paragraph.C: fixed up some more string stuff.
712 1999-09-28 Lars Gullik Bjønnes <larsbj@lyx.org>
714 * src/support/filetools.h: make modestr a std::string.
716 * src/filetools.C (GetEnv): made ch really const.
718 * src/lyxlib.h: removed the Maximum and Minimum inline functions,
719 made code that used these use max/min from <algorithm> instead.
721 * changed several c library include files to their equivalent c++
722 library include files. All is not changed yet.
724 * created a support subdir in src, put lyxstring and lstrings
725 there + the extra files atexit, fileblock, strerror. Created
726 Makefile.am. edited configure.in and src/Makefile.am to use this
727 new subdir. More files moved to support.
729 * imported som of the functions from repository lyx, filetools
731 * ran tags-query-replace on LString -> string, corrected the bogus
732 cases. Tried to make use of lstrings.[hC], debugged a lot. There
733 is still some errors in there. This is errors where too much or
734 too litle get deleted from strings (string::erase, string::substr,
735 string::replace), there can also be some off by one errors, or
736 just plain wrong use of functions from lstrings. Viewing of quotes
739 * LyX is now running fairly well with string, but there are
740 certainly some bugs yet (see above) also string is quite different
741 from LString among others in that it does not allow null pointers
742 passed in and will abort if it gets any.
744 * Added the revtex4 files I forgot when setting up the repository.
746 1999-09-27 Lars Gullik Bjønnes <larsbj@lyx.org>
748 * All over: Tried to clean everything up so that only the files
749 that we really need are included in the cvs repository.
750 * Switched to use automake.
751 * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
752 * Install has not been checked.
754 1999-09-22 Lars Gullik Bjønnes <larsbj@lyx.org>
756 * po/pt.po: Three errors:
757 l.533 and l.538 format specification error
758 l. 402 duplicate entry, I just deleted it.