1 1999-11-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * Distribution files: updates for v1.1.2
5 * src/support/lyxstring.C (find): remove bogus assert and return
6 npos for the same condition.
8 1999-11-01 Lars Gullik Bjønnes <larsbj@lyx.org>
10 * added patch for OS/2 from SMiyata.
12 1999-10-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14 * src/support/syscall.C (Systemcalls::kill):
15 src/support/filetools.C (PutEnv, PutEnvPath):
16 src/lyx_cb.C (addNewlineAndDepth):
17 src/FontInfo.C (FontInfo::resize): condition some #warning
18 directives with WITH_WARNINGS.
21 1999-10-28 Lars Gullik Bjønnes <larsbj@lyx.org>
23 * src/form1.C (create_form_Figure): added a couple fo "no-c-format"
25 * src/Makefile.am (dist-hook): added used to remove the CVS from
26 cheaders upon creating a dist
27 (EXTRA_DIST): added cheaders
29 * src/support/lstrings.C (tostr(char)): fix it to handle param as
30 a character not as a small integer.
32 * src/support/lyxstring.C (find): removed Assert and added i >=
33 rep->sz to the first if.
35 1999-10-27 Lars Gullik Bjønnes <larsbj@lyx.org>
37 * src/LyXAction.C (LookupFunc): added a workaround for sun
38 compiler, on the other hand...we don't know if the current code
39 compiles on sun at all...
41 * src/support/filetools.C (CleanupPath): subst fix
43 * src/insets/insetbib.C (delDatabase): subst fix, this looks
46 * src/support/filetools.C (PutEnvPath): subst fix, how come nobody
47 complained about this one?
49 * src/insets/insetinclude.C (Latex): subst fix
51 * src/insets/insetbib.C (getKeys): subst fix
53 * src/LyXSendto.C (SendtoApplyCB): subst fix
55 * src/lyx_main.C (init): subst fix
57 * src/layout.C (Read): subst fix
59 * src/lyx_sendfax_main.C (button_send): subst fix
61 * src/buffer.C (RoffAsciiTable): subst fix
63 * src/lyx_cb.C (MenuFax): subst fix
64 (PrintApplyCB): subst fix
66 1999-10-26 Lars Gullik Bjønnes <larsbj@lyx.org>
68 * development/lyx.spec.in (%build): add CFLAGS also.
70 * src/screen.C (drawFrame): removed another warning.
72 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
74 * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
75 OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
76 README and ANNOUNCE a bit for the next release. More work is
79 * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
80 unbreakable if we are in freespacing mode (LyX-Code), but not in
83 1999-10-25 Lars Gullik Bjønnes <larsbj@lyx.org>
85 * src/BackStack.h: fixed initialization order in constructor
87 * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
89 * acinclude.m4 (VERSION): new rules for when a version is
90 development, added also a variable for prerelease.
91 (warnings): we set with_warnings=yes for prereleases
92 (lyx_opt): prereleases compile with same optimization as development
93 (CXXFLAGS): only use pedantic if we are a development version
95 * src/BufferView.C (restorePosition): don't do anything if the
98 * src/BackStack.h: added member empty, use this to test if there
101 1999-10-25 Juergen Vigna <jug@sad.it>
104 * forms/layout_forms.fd +
105 * forms/latexoptions.fd +
106 * lyx.fd: changed for various form resize issues
108 * src/mathed/math_panel.C +
109 * src/insets/inseterror.C +
110 * src/insets/insetinfo.C +
111 * src/insets/inseturl.C +
112 * src/insets/inseturl.h +
115 * src/PaperLayout.C +
116 * src/ParagraphExtra.C +
117 * src/TableLayout.C +
119 * src/layout_forms.C +
126 * src/menus.C: fixed various resize issues. So now forms can be
127 resized savely or not be resized at all.
129 * forms/form_url.fd +
130 * src/insets/form_url.[Ch]: added because it's cleaner and easier
133 * src/insets/Makefile.am: added files form_url.[Ch]
135 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
137 * INSTALL: it is now possible to compile LyX with digital C++ 6.1
138 (and presumably 6.2).
140 * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
141 menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
142 remaining static member callbacks.
144 * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
147 * src/support/lyxstring.h: declare struct Srep as friend of
148 lyxstring, since DEC cxx complains otherwise.
150 1999-10-24 Lars Gullik Bjønnes <larsbj@lyx.org>
152 * src/spellchecker.C (create_ispell_pipe): removed old #warning,
153 the code has shown itself to work
154 (create_ispell_pipe): removed another warning, added a comment
157 * src/minibuffer.C (ExecutingCB): removed code that has been
158 commented out a long time
160 * src/lyxfunc.C (processKeyEvent): removed some very old commented
161 out code + a warning.
163 * src/support/lyxstring.h: comment out the three private
164 operators, when compiling with string ansi conforming compilers
167 * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
169 (pixmapFromBitmapData): change type of bdata to be unsigned char *
170 (pixmapFromBitmapData): add a reinterpret_cast in the call to
173 * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
176 * src/mathed/math_panel.C (create_math_panel): remove explicit
179 * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
182 * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
183 (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
184 to XCreatePixmapFromBitmapData
185 (fl_set_bmtable_data): change the last argument to be unsigned
187 (fl_set_bmtable_file): change bdata to unsinged char *, change bw
188 and bh to be unsigned int, remove explicit casts in call to
191 * images/arrows.xbm: made the arrays unsigned char *
192 * images/varsz.xbm: ditto
193 * images/misc.xbm: ditto
194 * images/greek.xbm: ditto
195 * images/dots.xbm: ditto
196 * images/brel.xbm: ditto
197 * images/bop.xbm: ditto
199 * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
201 * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed.
202 (LYX_PROG_CXX): added -pedantic to g++ compile options when
203 with-warnings, removed the __STRING_ANSI__ hack, seems to not be
205 (LYX_CXX_CHEADERS): added <clocale> to the test.
207 1999-10-23 Lars Gullik Bjønnes <larsbj@lyx.org>
209 * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
211 * src/support/lyxstring.C (append): fixed something that must be a
212 bug, rep->assign was used instead of rep->append.
214 * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
217 * src/lyxfunc.C (processKeyEvent): removed faulty line that made
218 lyx insert double chars. Fix spotted by Kayvan.
220 1999-10-23 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
222 * Fixed the tth support. I messed up with the Emacs patch apply feature
223 and omitted the changes in lyxrc.C.
225 1999-10-22 Juergen Vigna <jug@sad.it>
227 * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
229 * src/lyx_cb.C (MenuInsertRef) +
230 * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
231 the form cannot be resized under it limits (fixes a segfault)
233 * src/lyx.C (create_form_form_ref) +
234 * forms/lyx.fd: Changed Gravity on name input field so that it is
237 1999-10-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
239 * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
240 <ostream> and <istream>.
242 * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
243 whether <fstream> provides the latest standard features, or if we
244 have an oldstyle library (like in egcs).
245 (LYX_CXX_STL_STRING): fix the test.
247 * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
248 code on MODERN_STL_STREAM.
250 * src/support/lyxstring.h: use L{I,O}stream.h.
252 * src/support/L{I,O}stream.h: new files, designed to setup
253 correctly streams for our use
254 - includes the right header depending on STL capabilities
255 - puts std::ostream and std::endl (for LOStream.h) or
256 std::istream (LIStream.h) in toplevel namespace.
258 1999-10-22 Lars Gullik Bjønnes <larsbj@lyx.org>
260 * src/insets/figinset.C: added ifdef guards around the fl_free
261 code that jug commented out. Now it is commented out when
262 compiling with XForms == 0.89.
264 * src/support/lyxstring.C: moved the definition of lyxstring::Srep
265 to lyxstring.C, and only keep a forward declaration in
266 lyxstring.h. Simplifies the header file a bit and should help a
267 bit on compile time too. Also changes to Srep will not mandate a
268 recompile of code just using string.
269 (~lyxstring): definition moved here since it uses srep.
270 (size): definition moved here since it uses srep.
272 * src/support/lyxstring.h: removed a couple of "inline" that should
275 1999-10-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
277 * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
280 1999-10-21 Juergen Vigna <jug@sad.it>
282 * src/table.C (SetPWidth): Just a small fix so the alignment is not
283 set to left if I just remove the width entry (or it is empty).
285 * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
286 paragraph when having dummy paragraphs.
288 1999-10-20 Juergen Vigna <jug@sad.it>
290 * src/insets/figinset.C: just commented some fl_free_form calls
291 and added warnings so that this calls should be activated later
292 again. This avoids for now a segfault, but we have a memory leak!
294 * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
295 'const char * argument' to 'string argument', this should
296 fix some Asserts() in lyxstring.C.
298 * src/lyxfunc.h: Removed the function argAsString(const char *)
299 as it is not used anymore.
301 1999-10-20 Lars Gullik Bjønnes <larsbj@lyx.org>
303 * src/support/lyxstring.C (helper): changed to use
304 sizeof(object->rep->ref).
305 (operator>>): changed to use a pointer instead.
307 * src/support/lyxstring.h: changed const reference & to value_type
308 const & lets see if that helps.
310 1999-10-19 Lars Gullik Bjønnes <larsbj@lyx.org>
312 * Makefile.am (rpmdist): fixed to have non static package and
315 * src/support/lyxstring.C: removed the compilation guards
317 * src/vspace.C (nextToken): use i + 1 instead of ++i. Maks things
320 * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
321 conditional compile of lyxstring.Ch
323 * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
324 stupid check, but it is a lot better than the bastring hack.
325 (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING
327 * several files: changed string::erase into string::clear. Not
330 * src/chset.C (encodeString): use a char temporary instead
332 * src/table.C (TexEndOfCell): added tostr around
333 column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
334 (TexEndOfCell): ditto
335 (TexEndOfCell): ditto
336 (TexEndOfCell): ditto
337 (DocBookEndOfCell): ditto
338 (DocBookEndOfCell): ditto
339 (DocBookEndOfCell): ditto
340 (DocBookEndOfCell): ditto
342 * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
344 * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
346 * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
347 (MenuBuildProg): added tostr around ret
348 (MenuRunChktex): added tostr around ret
349 (DocumentApplyCB): added tostr around ret
351 * src/chset.C (encodeString): added tostr around t->ic
353 * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
354 (makeLaTeXFile): added tostr around tocdepth
355 (makeLaTeXFile): added tostr around ftcound - 1
357 * src/insets/insetbib.C (setCounter): added tostr around counter.
359 * src/support/lyxstring.h: added an operator+=(int) to catch more
362 * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
363 (lyxstring): We DON'T allow NULL pointers.
365 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
367 * src/mathed/math_macro.C (MathMacroArgument::Write,
368 MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
369 when writing them out.
371 * src/LString.C: remove, since it is not used anymore.
373 * src/support/lyxstring.C: condition the content to
374 USE_INCLUDED_STRING macro.
376 * src/mathed/math_symbols.C, src/support/lstrings.C,
377 src/support/lyxstring.C: add `using' directive to specify what
378 we need in <algorithm>. I do not think that we need to
379 conditionalize this, but any thought is appreciated.
381 * many files: change all callback functions to "C" linkage
382 functions to please strict C++ compilers like DEC cxx 6.1 in mode
383 strict_ansi. Those who were static are now global.
384 The case of callbacks which are static class members is
385 trickier, since we have to make C wrappers around them (see
386 InsetError, InsetInfo and InsetUrl). The same holds for friends. I
387 did not finish this yet, since it defeats the purpose of
388 encapsulation, and I am not sure what the best route is.
390 1999-10-19 Juergen Vigna <jug@sad.it>
392 * src/support/lyxstring.C (lyxstring): we permit to have a null
393 pointer as assignment value and just don't assign it.
395 * src/vspace.C (nextToken): corrected this function substituting
396 find_first(_not)_of with find_last_of.
398 * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
399 (TableOptCloseCB) (TableSpeCloseCB):
400 inserted fl_set_focus call for problem with fl_hide_form() in
403 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
405 * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
408 1999-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
410 * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
411 LyXLex::next() and not eatline() to get its argument.
413 1999-10-16 Lars Gullik Bjønnes <larsbj@lyx.org>
415 * Makefile.am (rpmdist): added a rpmdist target
417 * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
418 per Kayvan's instructions.
420 1999-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
422 * src/Makefile.am: add a definition for localedir, so that locales
423 are found after installation (Kayvan)
425 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
427 * development/.cvsignore: new file.
429 1999-10-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
431 * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
432 C++ compiler provides wrappers for C headers and use our alternate
435 * configure.in: use LYX_CXX_CHEADERS.
437 * src/cheader/: new directory, populated with cname headers from
438 libstdc++-2.8.1. They are a bit old, but probably good enough for
439 what we want (support compilers who lack them).
441 * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
442 from includes. It turns out is was stupid.
444 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
446 * lib/Makefile.am (install-data-local): forgot a ';'
447 (install-data-local): forgot a '\'
448 (libinstalldirs): needed after all. reintroduced.
450 1999-10-13 Lars Gullik Bjønnes <larsbj@lyx.org>
452 * configure.in (AC_OUTPUT): added lyx.spec
454 * development/lyx.spec: removed file
456 * development/lyx.spec.in: new file
458 * po/*.po: merged with lyx.pot becuase of make distcheck
460 * lib/Makefile.am (dist-hook): added dist-hook so that
461 documentation files will be included when doing a make
462 dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
463 (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
465 more: tried to make install do the right thing, exclude CVS dirs
468 * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
469 Path would fit in more nicely.
471 * all files that used to use pathstack: uses now Path instead.
472 This change was a lot easier than expected.
474 * src/support/path.h: new file
476 * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
478 * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
480 * src/support/lyxstring.C (getline): Default arg was given for
483 * Configure.cmd: removed file
485 1999-10-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
487 * src/support/DebugStream.[Ch]: remove the explicit std:: before
488 streams classes and types, add the proper 'using' statements when
489 MODERN_STL is defined.
491 * src/debug.h: move the << operator definition after the inclusion
494 * src/support/filetools.C: include "LAssert.h", which is needed
497 * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
500 * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
501 include "debug.h" to define a proper ostream.
503 1999-10-12 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
505 * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
506 method to the SystemCall class which can kill a process, but it's
507 not fully implemented yet.
509 * src/*.C: Changed Systemcalls::Startscript() to startscript()
511 * src/support/FileInfo.h: Better documentation
513 * src/lyxfunc.C: Added support for buffer-export html
515 * src/menus.C: Added Export->As HTML...
517 * lib/bind/*.bind: Added short-cut for buffer-export html
519 * src/lyxrc.*: Added support for new \tth_command
521 * lib/lyxrc.example: Added stuff for new \tth_command
523 1999-10-12 Lars Gullik Bjønnes <larsbj@lyx.org>
525 * lib/Makefile.am (IMAGES): removed images/README
526 (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
527 installes in correct place. Check permisions is installed
530 * src/LaTeX.C: some no-op changes moved declaration of some
533 * src/LaTeX.h (LATEX_H): changed include guard name
535 1999-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
537 * lib/reLyX/Makefile.am: install noweb2lyx.
539 * lib/Makefile.am: install configure.
541 * lib/reLyX/configure.in: declare a config aux dir; set package
542 name to lyx (not sure what the best solution is); generate noweb2lyx.
544 * lib/layouts/egs.layout: fix the bibliography layout.
546 1999-10-08 Jürgen Vigna <jug@sad.it>
548 * src/support/filetools.C (FileOpenSearch): Fixed a bug where
549 when in the PATH was something like /usr/bin;;/bin (note: the ;;)
550 it returned without continuing to search the path.
552 1999-10-07 Lars Gullik Bjønnes <larsbj@lyx.org>
554 * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
555 also fixes a bug. It is not allowed to do tricks with std::strings
556 like: string a("hei"); &a[e]; this will not give what you
557 think... Any reason for the complexity in this func?
559 1999-10-06 Asger Alstrup Nielsen <alstrup@diku.dk>
561 * Updated README and INSTALL a bit, mostly to check that my
562 CVS rights are correctly set up.
564 1999-10-06 Lars Gullik Bjønnes <larsbj@lyx.org>
566 * src/support/lyxstring.C (helper): removed bogus Assert. strlen
567 does not allow '\0' chars but lyxstring and std::string does.
569 1999-10-05 Lars Gullik Bjønnes <larsbj@lyx.org>
571 * autogen.sh (AUTOCONF): let the autogen script create the
572 POTFILES.in file too. POTFILES.in should perhaps now not be
573 included in the cvs module.
575 * some more files changed to use C++ includes instead of C ones.
577 * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
579 (Reread): added tostr to nlink. buggy output otherwise.
580 (Reread): added a string() around szMode when assigning to Buffer,
581 without this I got a log of garbled info strings.
583 * acconfig.h: commented out the PTR_AS_INT macros. They should not
586 * I have added several ostream & operator<<(ostream &, some_type)
587 functions. This has been done to avoid casting and warnings when
588 outputting enums to lyxerr. This as thus eliminated a lot of
589 explicit casts and has made the code clearer. Among the enums
590 affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
591 mathed enums, some font enum the Debug::type enum.
593 * src/support/lyxstring.h (clear): missing method. equivalent of
596 * all files that contained "stderr": rewrote constructs that used
597 stderr to use lyxerr instead. (except bmtable)
599 * src/support/DebugStream.h (level): and the passed t with
600 Debug::ANY to avoid spurious bits set.
602 * src/debug.h (Debug::type value): made it accept strings of the
605 * configure.in (Check for programs): Added a check for kpsewhich,
606 the latex generation will use this later to better the dicovery of
609 * src/BufferView.C (create_view): we don't need to cast this to
610 (void*) that is done automatically.
611 (WorkAreaButtonPress): removed some dead code.
613 1999-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
615 * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
616 is not overwritten when translated (David Sua'rez de Lis).
618 * lib/CREDITS: Added David Sua'rez de Lis
620 * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
622 * src/bufferparams.C (BufferParams): default input encoding is now
625 * acinclude.m4 (cross_compiling): comment out macro
626 LYX_GXX_STRENGTH_REDUCE.
628 * acconfig.h: make sure that const is not defined (to empty) when
629 we are compiling C++. Remove commented out code using SIZEOF_xx
632 * configure.in : move the test for const and inline as late as
633 possible so that these C tests do not interefere with C++ ones.
634 Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
637 1999-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
639 * src/table.C (getDocBookAlign): remove bad default value for
642 * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
644 (ShowFileMenu2): ditto.
646 * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
649 1999-10-04 Lars Gullik Bjønnes <larsbj@lyx.org>
651 * Most files: finished the change from the old error code to use
652 DebugStream for all lyxerr debugging. Only minor changes remain
653 (e.g. the setting of debug levels using strings instead of number)
655 1999-10-02 Lars Gullik Bjønnes <larsbj@lyx.org>
657 * src/layout.C (Add): Changed to use compare_no_case instead of
660 * src/FontInfo.C: changed loop variable type too string::size_type.
662 1999-10-01 Lars Gullik Bjønnes <larsbj@lyx.org>
664 * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
665 set ETAGS_ARGS to --c++
667 1999-09-30 Lars Gullik Bjønnes <larsbj@lyx.org>
669 * src/table.C (DocBookEndOfCell): commented out two unused variables
671 * src/paragraph.C: commented out four unused variables.
673 * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
674 insed a if clause with type string::size_type.
676 * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
679 * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
681 * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
682 variable, also changed loop to go from 0 to lenght + 1, instead of
683 -1 to length. This should be correct.
685 * src/LaTeX.C (scanError): use string::size_type as loop variable
688 * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
689 (l.896) since y_tmp and row was not used anyway.
691 * src/insets/insetref.C (escape): use string::size_type as loop
694 * src/insets/insetquotes.C (Width): use string::size_type as loop
696 (Draw): use string::size_type as loop variable type.
698 * src/insets/insetlatexaccent.C (checkContents): use
699 string::size_type as loop variable type.
701 * src/insets/insetlabel.C (escape): use string::size_type as loop
704 * src/insets/insetinfo.C: added an extern for current_view.
706 * src/insets/insetcommand.C (scanCommand): use string::size_type
707 as loop variable type.
709 * most files: removed the RCS tags. With them we had to recompile
710 a lot of files after a simple cvs commit. Also we have never used
711 them for anything meaningful.
713 * most files: tags-query-replace NULL 0. As adviced several plases
714 we now use "0" instead of "NULL" in our code.
716 * src/support/filetools.C (SpaceLess): use string::size_type as
719 1999-09-29 Lars Gullik Bjønnes <larsbj@lyx.org>
721 * src/paragraph.C: fixed up some more string stuff.
723 1999-09-28 Lars Gullik Bjønnes <larsbj@lyx.org>
725 * src/support/filetools.h: make modestr a std::string.
727 * src/filetools.C (GetEnv): made ch really const.
729 * src/lyxlib.h: removed the Maximum and Minimum inline functions,
730 made code that used these use max/min from <algorithm> instead.
732 * changed several c library include files to their equivalent c++
733 library include files. All is not changed yet.
735 * created a support subdir in src, put lyxstring and lstrings
736 there + the extra files atexit, fileblock, strerror. Created
737 Makefile.am. edited configure.in and src/Makefile.am to use this
738 new subdir. More files moved to support.
740 * imported som of the functions from repository lyx, filetools
742 * ran tags-query-replace on LString -> string, corrected the bogus
743 cases. Tried to make use of lstrings.[hC], debugged a lot. There
744 is still some errors in there. This is errors where too much or
745 too litle get deleted from strings (string::erase, string::substr,
746 string::replace), there can also be some off by one errors, or
747 just plain wrong use of functions from lstrings. Viewing of quotes
750 * LyX is now running fairly well with string, but there are
751 certainly some bugs yet (see above) also string is quite different
752 from LString among others in that it does not allow null pointers
753 passed in and will abort if it gets any.
755 * Added the revtex4 files I forgot when setting up the repository.
757 1999-09-27 Lars Gullik Bjønnes <larsbj@lyx.org>
759 * All over: Tried to clean everything up so that only the files
760 that we really need are included in the cvs repository.
761 * Switched to use automake.
762 * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
763 * Install has not been checked.
765 1999-09-22 Lars Gullik Bjønnes <larsbj@lyx.org>
767 * po/pt.po: Three errors:
768 l.533 and l.538 format specification error
769 l. 402 duplicate entry, I just deleted it.