1 1999-10-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * src/support/lstrings.C (tostr(char)): fix it to handle param as
4 a character not as a small integer.
6 * src/support/lyxstring.C (find): removed Assert and added i >=
7 rep->sz to the first if.
9 1999-10-27 Lars Gullik Bjønnes <larsbj@lyx.org>
11 * src/LyXAction.C (LookupFunc): added a workaround for sun
12 compiler, on the other hand...we don't know if the current code
13 compiles on sun at all...
15 * src/support/filetools.C (CleanupPath): subst fix
17 * src/insets/insetbib.C (delDatabase): subst fix, this looks
20 * src/support/filetools.C (PutEnvPath): subst fix, how come nobody
21 complained about this one?
23 * src/insets/insetinclude.C (Latex): subst fix
25 * src/insets/insetbib.C (getKeys): subst fix
27 * src/LyXSendto.C (SendtoApplyCB): subst fix
29 * src/lyx_main.C (init): subst fix
31 * src/layout.C (Read): subst fix
33 * src/lyx_sendfax_main.C (button_send): subst fix
35 * src/buffer.C (RoffAsciiTable): subst fix
37 * src/lyx_cb.C (MenuFax): subst fix
38 (PrintApplyCB): subst fix
40 1999-10-26 Lars Gullik Bjønnes <larsbj@lyx.org>
42 * development/lyx.spec.in (%build): add CFLAGS also.
44 * src/screen.C (drawFrame): removed another warning.
46 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
48 * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
49 OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
50 README and ANNOUNCE a bit for the next release. More work is
53 * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
54 unbreakable if we are in freespacing mode (LyX-Code), but not in
57 1999-10-25 Lars Gullik Bjønnes <larsbj@lyx.org>
59 * src/BackStack.h: fixed initialization order in constructor
61 * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
63 * acinclude.m4 (VERSION): new rules for when a version is
64 development, added also a variable for prerelease.
65 (warnings): we set with_warnings=yes for prereleases
66 (lyx_opt): prereleases compile with same optimization as development
67 (CXXFLAGS): only use pedantic if we are a development version
69 * src/BufferView.C (restorePosition): don't do anything if the
72 * src/BackStack.h: added member empty, use this to test if there
75 1999-10-25 Juergen Vigna <jug@sad.it>
78 * forms/layout_forms.fd +
79 * forms/latexoptions.fd +
80 * lyx.fd: changed for various form resize issues
82 * src/mathed/math_panel.C +
83 * src/insets/inseterror.C +
84 * src/insets/insetinfo.C +
85 * src/insets/inseturl.C +
86 * src/insets/inseturl.h +
90 * src/ParagraphExtra.C +
93 * src/layout_forms.C +
100 * src/menus.C: fixed various resize issues. So now forms can be
101 resized savely or not be resized at all.
103 * forms/form_url.fd +
104 * src/insets/form_url.[Ch]: added because it's cleaner and easier
107 * src/insets/Makefile.am: added files form_url.[Ch]
109 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
111 * INSTALL: it is now possible to compile LyX with digital C++ 6.1
112 (and presumably 6.2).
114 * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
115 menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
116 remaining static member callbacks.
118 * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
121 * src/support/lyxstring.h: declare struct Srep as friend of
122 lyxstring, since DEC cxx complains otherwise.
124 1999-10-24 Lars Gullik Bjønnes <larsbj@lyx.org>
126 * src/spellchecker.C (create_ispell_pipe): removed old #warning,
127 the code has shown itself to work
128 (create_ispell_pipe): removed another warning, added a comment
131 * src/minibuffer.C (ExecutingCB): removed code that has been
132 commented out a long time
134 * src/lyxfunc.C (processKeyEvent): removed some very old commented
135 out code + a warning.
137 * src/support/lyxstring.h: comment out the three private
138 operators, when compiling with string ansi conforming compilers
141 * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
143 (pixmapFromBitmapData): change type of bdata to be unsigned char *
144 (pixmapFromBitmapData): add a reinterpret_cast in the call to
147 * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
150 * src/mathed/math_panel.C (create_math_panel): remove explicit
153 * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
156 * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
157 (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
158 to XCreatePixmapFromBitmapData
159 (fl_set_bmtable_data): change the last argument to be unsigned
161 (fl_set_bmtable_file): change bdata to unsinged char *, change bw
162 and bh to be unsigned int, remove explicit casts in call to
165 * images/arrows.xbm: made the arrays unsigned char *
166 * images/varsz.xbm: ditto
167 * images/misc.xbm: ditto
168 * images/greek.xbm: ditto
169 * images/dots.xbm: ditto
170 * images/brel.xbm: ditto
171 * images/bop.xbm: ditto
173 * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
175 * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed.
176 (LYX_PROG_CXX): added -pedantic to g++ compile options when
177 with-warnings, removed the __STRING_ANSI__ hack, seems to not be
179 (LYX_CXX_CHEADERS): added <clocale> to the test.
181 1999-10-23 Lars Gullik Bjønnes <larsbj@lyx.org>
183 * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
185 * src/support/lyxstring.C (append): fixed something that must be a
186 bug, rep->assign was used instead of rep->append.
188 * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
191 * src/lyxfunc.C (processKeyEvent): removed faulty line that made
192 lyx insert double chars. Fix spotted by Kayvan.
194 1999-10-23 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
196 * Fixed the tth support. I messed up with the Emacs patch apply feature
197 and omitted the changes in lyxrc.C.
199 1999-10-22 Juergen Vigna <jug@sad.it>
201 * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
203 * src/lyx_cb.C (MenuInsertRef) +
204 * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
205 the form cannot be resized under it limits (fixes a segfault)
207 * src/lyx.C (create_form_form_ref) +
208 * forms/lyx.fd: Changed Gravity on name input field so that it is
211 1999-10-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
213 * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
214 <ostream> and <istream>.
216 * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
217 whether <fstream> provides the latest standard features, or if we
218 have an oldstyle library (like in egcs).
219 (LYX_CXX_STL_STRING): fix the test.
221 * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
222 code on MODERN_STL_STREAM.
224 * src/support/lyxstring.h: use L{I,O}stream.h.
226 * src/support/L{I,O}stream.h: new files, designed to setup
227 correctly streams for our use
228 - includes the right header depending on STL capabilities
229 - puts std::ostream and std::endl (for LOStream.h) or
230 std::istream (LIStream.h) in toplevel namespace.
232 1999-10-22 Lars Gullik Bjønnes <larsbj@lyx.org>
234 * src/insets/figinset.C: added ifdef guards around the fl_free
235 code that jug commented out. Now it is commented out when
236 compiling with XForms == 0.89.
238 * src/support/lyxstring.C: moved the definition of lyxstring::Srep
239 to lyxstring.C, and only keep a forward declaration in
240 lyxstring.h. Simplifies the header file a bit and should help a
241 bit on compile time too. Also changes to Srep will not mandate a
242 recompile of code just using string.
243 (~lyxstring): definition moved here since it uses srep.
244 (size): definition moved here since it uses srep.
246 * src/support/lyxstring.h: removed a couple of "inline" that should
249 1999-10-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
251 * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
254 1999-10-21 Juergen Vigna <jug@sad.it>
256 * src/table.C (SetPWidth): Just a small fix so the alignment is not
257 set to left if I just remove the width entry (or it is empty).
259 * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
260 paragraph when having dummy paragraphs.
262 1999-10-20 Juergen Vigna <jug@sad.it>
264 * src/insets/figinset.C: just commented some fl_free_form calls
265 and added warnings so that this calls should be activated later
266 again. This avoids for now a segfault, but we have a memory leak!
268 * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
269 'const char * argument' to 'string argument', this should
270 fix some Asserts() in lyxstring.C.
272 * src/lyxfunc.h: Removed the function argAsString(const char *)
273 as it is not used anymore.
275 1999-10-20 Lars Gullik Bjønnes <larsbj@lyx.org>
277 * src/support/lyxstring.C (helper): changed to use
278 sizeof(object->rep->ref).
279 (operator>>): changed to use a pointer instead.
281 * src/support/lyxstring.h: changed const reference & to value_type
282 const & lets see if that helps.
284 1999-10-19 Lars Gullik Bjønnes <larsbj@lyx.org>
286 * Makefile.am (rpmdist): fixed to have non static package and
289 * src/support/lyxstring.C: removed the compilation guards
291 * src/vspace.C (nextToken): use i + 1 instead of ++i. Maks things
294 * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
295 conditional compile of lyxstring.Ch
297 * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
298 stupid check, but it is a lot better than the bastring hack.
299 (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING
301 * several files: changed string::erase into string::clear. Not
304 * src/chset.C (encodeString): use a char temporary instead
306 * src/table.C (TexEndOfCell): added tostr around
307 column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
308 (TexEndOfCell): ditto
309 (TexEndOfCell): ditto
310 (TexEndOfCell): ditto
311 (DocBookEndOfCell): ditto
312 (DocBookEndOfCell): ditto
313 (DocBookEndOfCell): ditto
314 (DocBookEndOfCell): ditto
316 * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
318 * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
320 * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
321 (MenuBuildProg): added tostr around ret
322 (MenuRunChktex): added tostr around ret
323 (DocumentApplyCB): added tostr around ret
325 * src/chset.C (encodeString): added tostr around t->ic
327 * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
328 (makeLaTeXFile): added tostr around tocdepth
329 (makeLaTeXFile): added tostr around ftcound - 1
331 * src/insets/insetbib.C (setCounter): added tostr around counter.
333 * src/support/lyxstring.h: added an operator+=(int) to catch more
336 * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
337 (lyxstring): We DON'T allow NULL pointers.
339 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
341 * src/mathed/math_macro.C (MathMacroArgument::Write,
342 MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
343 when writing them out.
345 * src/LString.C: remove, since it is not used anymore.
347 * src/support/lyxstring.C: condition the content to
348 USE_INCLUDED_STRING macro.
350 * src/mathed/math_symbols.C, src/support/lstrings.C,
351 src/support/lyxstring.C: add `using' directive to specify what
352 we need in <algorithm>. I do not think that we need to
353 conditionalize this, but any thought is appreciated.
355 * many files: change all callback functions to "C" linkage
356 functions to please strict C++ compilers like DEC cxx 6.1 in mode
357 strict_ansi. Those who were static are now global.
358 The case of callbacks which are static class members is
359 trickier, since we have to make C wrappers around them (see
360 InsetError, InsetInfo and InsetUrl). The same holds for friends. I
361 did not finish this yet, since it defeats the purpose of
362 encapsulation, and I am not sure what the best route is.
364 1999-10-19 Juergen Vigna <jug@sad.it>
366 * src/support/lyxstring.C (lyxstring): we permit to have a null
367 pointer as assignment value and just don't assign it.
369 * src/vspace.C (nextToken): corrected this function substituting
370 find_first(_not)_of with find_last_of.
372 * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
373 (TableOptCloseCB) (TableSpeCloseCB):
374 inserted fl_set_focus call for problem with fl_hide_form() in
377 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
379 * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
382 1999-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
384 * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
385 LyXLex::next() and not eatline() to get its argument.
387 1999-10-16 Lars Gullik Bjønnes <larsbj@lyx.org>
389 * Makefile.am (rpmdist): added a rpmdist target
391 * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
392 per Kayvan's instructions.
394 1999-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
396 * src/Makefile.am: add a definition for localedir, so that locales
397 are found after installation (Kayvan)
399 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
401 * development/.cvsignore: new file.
403 1999-10-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
405 * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
406 C++ compiler provides wrappers for C headers and use our alternate
409 * configure.in: use LYX_CXX_CHEADERS.
411 * src/cheader/: new directory, populated with cname headers from
412 libstdc++-2.8.1. They are a bit old, but probably good enough for
413 what we want (support compilers who lack them).
415 * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
416 from includes. It turns out is was stupid.
418 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
420 * lib/Makefile.am (install-data-local): forgot a ';'
421 (install-data-local): forgot a '\'
422 (libinstalldirs): needed after all. reintroduced.
424 1999-10-13 Lars Gullik Bjønnes <larsbj@lyx.org>
426 * configure.in (AC_OUTPUT): added lyx.spec
428 * development/lyx.spec: removed file
430 * development/lyx.spec.in: new file
432 * po/*.po: merged with lyx.pot becuase of make distcheck
434 * lib/Makefile.am (dist-hook): added dist-hook so that
435 documentation files will be included when doing a make
436 dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
437 (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
439 more: tried to make install do the right thing, exclude CVS dirs
442 * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
443 Path would fit in more nicely.
445 * all files that used to use pathstack: uses now Path instead.
446 This change was a lot easier than expected.
448 * src/support/path.h: new file
450 * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
452 * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
454 * src/support/lyxstring.C (getline): Default arg was given for
457 * Configure.cmd: removed file
459 1999-10-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
461 * src/support/DebugStream.[Ch]: remove the explicit std:: before
462 streams classes and types, add the proper 'using' statements when
463 MODERN_STL is defined.
465 * src/debug.h: move the << operator definition after the inclusion
468 * src/support/filetools.C: include "LAssert.h", which is needed
471 * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
474 * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
475 include "debug.h" to define a proper ostream.
477 1999-10-12 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
479 * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
480 method to the SystemCall class which can kill a process, but it's
481 not fully implemented yet.
483 * src/*.C: Changed Systemcalls::Startscript() to startscript()
485 * src/support/FileInfo.h: Better documentation
487 * src/lyxfunc.C: Added support for buffer-export html
489 * src/menus.C: Added Export->As HTML...
491 * lib/bind/*.bind: Added short-cut for buffer-export html
493 * src/lyxrc.*: Added support for new \tth_command
495 * lib/lyxrc.example: Added stuff for new \tth_command
497 1999-10-12 Lars Gullik Bjønnes <larsbj@lyx.org>
499 * lib/Makefile.am (IMAGES): removed images/README
500 (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
501 installes in correct place. Check permisions is installed
504 * src/LaTeX.C: some no-op changes moved declaration of some
507 * src/LaTeX.h (LATEX_H): changed include guard name
509 1999-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
511 * lib/reLyX/Makefile.am: install noweb2lyx.
513 * lib/Makefile.am: install configure.
515 * lib/reLyX/configure.in: declare a config aux dir; set package
516 name to lyx (not sure what the best solution is); generate noweb2lyx.
518 * lib/layouts/egs.layout: fix the bibliography layout.
520 1999-10-08 Jürgen Vigna <jug@sad.it>
522 * src/support/filetools.C (FileOpenSearch): Fixed a bug where
523 when in the PATH was something like /usr/bin;;/bin (note: the ;;)
524 it returned without continuing to search the path.
526 1999-10-07 Lars Gullik Bjønnes <larsbj@lyx.org>
528 * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
529 also fixes a bug. It is not allowed to do tricks with std::strings
530 like: string a("hei"); &a[e]; this will not give what you
531 think... Any reason for the complexity in this func?
533 1999-10-06 Asger Alstrup Nielsen <alstrup@diku.dk>
535 * Updated README and INSTALL a bit, mostly to check that my
536 CVS rights are correctly set up.
538 1999-10-06 Lars Gullik Bjønnes <larsbj@lyx.org>
540 * src/support/lyxstring.C (helper): removed bogus Assert. strlen
541 does not allow '\0' chars but lyxstring and std::string does.
543 1999-10-05 Lars Gullik Bjønnes <larsbj@lyx.org>
545 * autogen.sh (AUTOCONF): let the autogen script create the
546 POTFILES.in file too. POTFILES.in should perhaps now not be
547 included in the cvs module.
549 * some more files changed to use C++ includes instead of C ones.
551 * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
553 (Reread): added tostr to nlink. buggy output otherwise.
554 (Reread): added a string() around szMode when assigning to Buffer,
555 without this I got a log of garbled info strings.
557 * acconfig.h: commented out the PTR_AS_INT macros. They should not
560 * I have added several ostream & operator<<(ostream &, some_type)
561 functions. This has been done to avoid casting and warnings when
562 outputting enums to lyxerr. This as thus eliminated a lot of
563 explicit casts and has made the code clearer. Among the enums
564 affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
565 mathed enums, some font enum the Debug::type enum.
567 * src/support/lyxstring.h (clear): missing method. equivalent of
570 * all files that contained "stderr": rewrote constructs that used
571 stderr to use lyxerr instead. (except bmtable)
573 * src/support/DebugStream.h (level): and the passed t with
574 Debug::ANY to avoid spurious bits set.
576 * src/debug.h (Debug::type value): made it accept strings of the
579 * configure.in (Check for programs): Added a check for kpsewhich,
580 the latex generation will use this later to better the dicovery of
583 * src/BufferView.C (create_view): we don't need to cast this to
584 (void*) that is done automatically.
585 (WorkAreaButtonPress): removed some dead code.
587 1999-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
589 * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
590 is not overwritten when translated (David Sua'rez de Lis).
592 * lib/CREDITS: Added David Sua'rez de Lis
594 * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
596 * src/bufferparams.C (BufferParams): default input encoding is now
599 * acinclude.m4 (cross_compiling): comment out macro
600 LYX_GXX_STRENGTH_REDUCE.
602 * acconfig.h: make sure that const is not defined (to empty) when
603 we are compiling C++. Remove commented out code using SIZEOF_xx
606 * configure.in : move the test for const and inline as late as
607 possible so that these C tests do not interefere with C++ ones.
608 Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
611 1999-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
613 * src/table.C (getDocBookAlign): remove bad default value for
616 * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
618 (ShowFileMenu2): ditto.
620 * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
623 1999-10-04 Lars Gullik Bjønnes <larsbj@lyx.org>
625 * Most files: finished the change from the old error code to use
626 DebugStream for all lyxerr debugging. Only minor changes remain
627 (e.g. the setting of debug levels using strings instead of number)
629 1999-10-02 Lars Gullik Bjønnes <larsbj@lyx.org>
631 * src/layout.C (Add): Changed to use compare_no_case instead of
634 * src/FontInfo.C: changed loop variable type too string::size_type.
636 1999-10-01 Lars Gullik Bjønnes <larsbj@lyx.org>
638 * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
639 set ETAGS_ARGS to --c++
641 1999-09-30 Lars Gullik Bjønnes <larsbj@lyx.org>
643 * src/table.C (DocBookEndOfCell): commented out two unused variables
645 * src/paragraph.C: commented out four unused variables.
647 * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
648 insed a if clause with type string::size_type.
650 * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
653 * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
655 * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
656 variable, also changed loop to go from 0 to lenght + 1, instead of
657 -1 to length. This should be correct.
659 * src/LaTeX.C (scanError): use string::size_type as loop variable
662 * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
663 (l.896) since y_tmp and row was not used anyway.
665 * src/insets/insetref.C (escape): use string::size_type as loop
668 * src/insets/insetquotes.C (Width): use string::size_type as loop
670 (Draw): use string::size_type as loop variable type.
672 * src/insets/insetlatexaccent.C (checkContents): use
673 string::size_type as loop variable type.
675 * src/insets/insetlabel.C (escape): use string::size_type as loop
678 * src/insets/insetinfo.C: added an extern for current_view.
680 * src/insets/insetcommand.C (scanCommand): use string::size_type
681 as loop variable type.
683 * most files: removed the RCS tags. With them we had to recompile
684 a lot of files after a simple cvs commit. Also we have never used
685 them for anything meaningful.
687 * most files: tags-query-replace NULL 0. As adviced several plases
688 we now use "0" instead of "NULL" in our code.
690 * src/support/filetools.C (SpaceLess): use string::size_type as
693 1999-09-29 Lars Gullik Bjønnes <larsbj@lyx.org>
695 * src/paragraph.C: fixed up some more string stuff.
697 1999-09-28 Lars Gullik Bjønnes <larsbj@lyx.org>
699 * src/support/filetools.h: make modestr a std::string.
701 * src/filetools.C (GetEnv): made ch really const.
703 * src/lyxlib.h: removed the Maximum and Minimum inline functions,
704 made code that used these use max/min from <algorithm> instead.
706 * changed several c library include files to their equivalent c++
707 library include files. All is not changed yet.
709 * created a support subdir in src, put lyxstring and lstrings
710 there + the extra files atexit, fileblock, strerror. Created
711 Makefile.am. edited configure.in and src/Makefile.am to use this
712 new subdir. More files moved to support.
714 * imported som of the functions from repository lyx, filetools
716 * ran tags-query-replace on LString -> string, corrected the bogus
717 cases. Tried to make use of lstrings.[hC], debugged a lot. There
718 is still some errors in there. This is errors where too much or
719 too litle get deleted from strings (string::erase, string::substr,
720 string::replace), there can also be some off by one errors, or
721 just plain wrong use of functions from lstrings. Viewing of quotes
724 * LyX is now running fairly well with string, but there are
725 certainly some bugs yet (see above) also string is quite different
726 from LString among others in that it does not allow null pointers
727 passed in and will abort if it gets any.
729 * Added the revtex4 files I forgot when setting up the repository.
731 1999-09-27 Lars Gullik Bjønnes <larsbj@lyx.org>
733 * All over: Tried to clean everything up so that only the files
734 that we really need are included in the cvs repository.
735 * Switched to use automake.
736 * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
737 * Install has not been checked.
739 1999-09-22 Lars Gullik Bjønnes <larsbj@lyx.org>
741 * po/pt.po: Three errors:
742 l.533 and l.538 format specification error
743 l. 402 duplicate entry, I just deleted it.