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