1 1999-11-03 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * src/support/lyxstring.C (compare): pass c_str()
7 1999-11-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9 * src/support/DebugStream.C: <config.h> was not included correctly.
11 * lib/configure: forgot to re-generate it :( I'll make this file
14 1999-11-03 Lars Gullik Bjønnes <larsbj@lyx.org>
16 * acinclude.m4 (cross_compiling): add -fpermissive when gcc 2.95.x
19 * src/support/lyxstring.C: some changes from length() to rep->sz.
20 avoids a function call.
22 * src/support/filetools.C (SpaceLess): yet another version of the
23 algorithm...now per Jean-Marc's suggestions.
25 1999-11-02 Lars Gullik Bjønnes <larsbj@lyx.org>
27 * src/support/filetools.C (SpaceLess): new version of the
28 SpaceLess functions. What problems does this one give? Please
31 * images/banner_bw.xbm: made the arrays unsigned char *
33 1999-11-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
35 * src/support/lyxstring.C (find): remove bogus assertion in the
36 two versions of find where this has not been done yet.
38 * src/support/lyxlib.h: add missing int return type to
41 * src/menus.C (ShowFileMenu): disable exporting to html if no
42 html export command is present.
44 * config/lib_configure.m4: add a test for an HTML converter. The
45 programs checked for are, in this order: tth, latex2html and
48 * lib/configure: generated from config/lib_configure.m4.
50 * src/lyxfunc.C (Dispatch): update and improve the execution of an
51 html converter. The parameters are now passed through $$FName and
52 $$OutName, instead of standard input/output.
54 * src/lyxrc.{C,h}: rename \tth_command to \html_command.
56 * lib/lyxrc.example: update description of \html_command.
57 add "quotes" around \screen_font_xxx font setting examples to help
58 people who use fonts with spaces in their names.
60 1999-11-02 Lars Gullik Bjønnes <larsbj@lyx.org>
62 * Distribution files: updates for v1.1.2
64 * src/support/lyxstring.C (find): remove bogus assert and return
65 npos for the same condition.
67 1999-11-01 Lars Gullik Bjønnes <larsbj@lyx.org>
69 * added patch for OS/2 from SMiyata.
71 1999-10-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
73 * src/support/syscall.C (Systemcalls::kill):
74 src/support/filetools.C (PutEnv, PutEnvPath):
75 src/lyx_cb.C (addNewlineAndDepth):
76 src/FontInfo.C (FontInfo::resize): condition some #warning
77 directives with WITH_WARNINGS.
80 1999-10-28 Lars Gullik Bjønnes <larsbj@lyx.org>
82 * src/form1.C (create_form_Figure): added a couple fo "no-c-format"
84 * src/Makefile.am (dist-hook): added used to remove the CVS from
85 cheaders upon creating a dist
86 (EXTRA_DIST): added cheaders
88 * src/support/lstrings.C (tostr(char)): fix it to handle param as
89 a character not as a small integer.
91 * src/support/lyxstring.C (find): removed Assert and added i >=
92 rep->sz to the first if.
94 1999-10-27 Lars Gullik Bjønnes <larsbj@lyx.org>
96 * src/LyXAction.C (LookupFunc): added a workaround for sun
97 compiler, on the other hand...we don't know if the current code
98 compiles on sun at all...
100 * src/support/filetools.C (CleanupPath): subst fix
102 * src/insets/insetbib.C (delDatabase): subst fix, this looks
105 * src/support/filetools.C (PutEnvPath): subst fix, how come nobody
106 complained about this one?
108 * src/insets/insetinclude.C (Latex): subst fix
110 * src/insets/insetbib.C (getKeys): subst fix
112 * src/LyXSendto.C (SendtoApplyCB): subst fix
114 * src/lyx_main.C (init): subst fix
116 * src/layout.C (Read): subst fix
118 * src/lyx_sendfax_main.C (button_send): subst fix
120 * src/buffer.C (RoffAsciiTable): subst fix
122 * src/lyx_cb.C (MenuFax): subst fix
123 (PrintApplyCB): subst fix
125 1999-10-26 Lars Gullik Bjønnes <larsbj@lyx.org>
127 * development/lyx.spec.in (%build): add CFLAGS also.
129 * src/screen.C (drawFrame): removed another warning.
131 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
133 * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
134 OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
135 README and ANNOUNCE a bit for the next release. More work is
138 * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
139 unbreakable if we are in freespacing mode (LyX-Code), but not in
142 1999-10-25 Lars Gullik Bjønnes <larsbj@lyx.org>
144 * src/BackStack.h: fixed initialization order in constructor
146 * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
148 * acinclude.m4 (VERSION): new rules for when a version is
149 development, added also a variable for prerelease.
150 (warnings): we set with_warnings=yes for prereleases
151 (lyx_opt): prereleases compile with same optimization as development
152 (CXXFLAGS): only use pedantic if we are a development version
154 * src/BufferView.C (restorePosition): don't do anything if the
157 * src/BackStack.h: added member empty, use this to test if there
158 is anything to pop...
160 1999-10-25 Juergen Vigna <jug@sad.it>
163 * forms/layout_forms.fd +
164 * forms/latexoptions.fd +
165 * lyx.fd: changed for various form resize issues
167 * src/mathed/math_panel.C +
168 * src/insets/inseterror.C +
169 * src/insets/insetinfo.C +
170 * src/insets/inseturl.C +
171 * src/insets/inseturl.h +
174 * src/PaperLayout.C +
175 * src/ParagraphExtra.C +
176 * src/TableLayout.C +
178 * src/layout_forms.C +
185 * src/menus.C: fixed various resize issues. So now forms can be
186 resized savely or not be resized at all.
188 * forms/form_url.fd +
189 * src/insets/form_url.[Ch]: added because it's cleaner and easier
192 * src/insets/Makefile.am: added files form_url.[Ch]
194 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
196 * INSTALL: it is now possible to compile LyX with digital C++ 6.1
197 (and presumably 6.2).
199 * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
200 menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
201 remaining static member callbacks.
203 * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
206 * src/support/lyxstring.h: declare struct Srep as friend of
207 lyxstring, since DEC cxx complains otherwise.
209 1999-10-24 Lars Gullik Bjønnes <larsbj@lyx.org>
211 * src/spellchecker.C (create_ispell_pipe): removed old #warning,
212 the code has shown itself to work
213 (create_ispell_pipe): removed another warning, added a comment
216 * src/minibuffer.C (ExecutingCB): removed code that has been
217 commented out a long time
219 * src/lyxfunc.C (processKeyEvent): removed some very old commented
220 out code + a warning.
222 * src/support/lyxstring.h: comment out the three private
223 operators, when compiling with string ansi conforming compilers
226 * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
228 (pixmapFromBitmapData): change type of bdata to be unsigned char *
229 (pixmapFromBitmapData): add a reinterpret_cast in the call to
232 * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
235 * src/mathed/math_panel.C (create_math_panel): remove explicit
238 * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
241 * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
242 (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
243 to XCreatePixmapFromBitmapData
244 (fl_set_bmtable_data): change the last argument to be unsigned
246 (fl_set_bmtable_file): change bdata to unsinged char *, change bw
247 and bh to be unsigned int, remove explicit casts in call to
250 * images/arrows.xbm: made the arrays unsigned char *
251 * images/varsz.xbm: ditto
252 * images/misc.xbm: ditto
253 * images/greek.xbm: ditto
254 * images/dots.xbm: ditto
255 * images/brel.xbm: ditto
256 * images/bop.xbm: ditto
258 * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
260 * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed.
261 (LYX_PROG_CXX): added -pedantic to g++ compile options when
262 with-warnings, removed the __STRING_ANSI__ hack, seems to not be
264 (LYX_CXX_CHEADERS): added <clocale> to the test.
266 1999-10-23 Lars Gullik Bjønnes <larsbj@lyx.org>
268 * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
270 * src/support/lyxstring.C (append): fixed something that must be a
271 bug, rep->assign was used instead of rep->append.
273 * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
276 * src/lyxfunc.C (processKeyEvent): removed faulty line that made
277 lyx insert double chars. Fix spotted by Kayvan.
279 1999-10-23 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
281 * Fixed the tth support. I messed up with the Emacs patch apply feature
282 and omitted the changes in lyxrc.C.
284 1999-10-22 Juergen Vigna <jug@sad.it>
286 * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
288 * src/lyx_cb.C (MenuInsertRef) +
289 * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
290 the form cannot be resized under it limits (fixes a segfault)
292 * src/lyx.C (create_form_form_ref) +
293 * forms/lyx.fd: Changed Gravity on name input field so that it is
296 1999-10-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
298 * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
299 <ostream> and <istream>.
301 * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
302 whether <fstream> provides the latest standard features, or if we
303 have an oldstyle library (like in egcs).
304 (LYX_CXX_STL_STRING): fix the test.
306 * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
307 code on MODERN_STL_STREAM.
309 * src/support/lyxstring.h: use L{I,O}stream.h.
311 * src/support/L{I,O}stream.h: new files, designed to setup
312 correctly streams for our use
313 - includes the right header depending on STL capabilities
314 - puts std::ostream and std::endl (for LOStream.h) or
315 std::istream (LIStream.h) in toplevel namespace.
317 1999-10-22 Lars Gullik Bjønnes <larsbj@lyx.org>
319 * src/insets/figinset.C: added ifdef guards around the fl_free
320 code that jug commented out. Now it is commented out when
321 compiling with XForms == 0.89.
323 * src/support/lyxstring.C: moved the definition of lyxstring::Srep
324 to lyxstring.C, and only keep a forward declaration in
325 lyxstring.h. Simplifies the header file a bit and should help a
326 bit on compile time too. Also changes to Srep will not mandate a
327 recompile of code just using string.
328 (~lyxstring): definition moved here since it uses srep.
329 (size): definition moved here since it uses srep.
331 * src/support/lyxstring.h: removed a couple of "inline" that should
334 1999-10-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
336 * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
339 1999-10-21 Juergen Vigna <jug@sad.it>
341 * src/table.C (SetPWidth): Just a small fix so the alignment is not
342 set to left if I just remove the width entry (or it is empty).
344 * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
345 paragraph when having dummy paragraphs.
347 1999-10-20 Juergen Vigna <jug@sad.it>
349 * src/insets/figinset.C: just commented some fl_free_form calls
350 and added warnings so that this calls should be activated later
351 again. This avoids for now a segfault, but we have a memory leak!
353 * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
354 'const char * argument' to 'string argument', this should
355 fix some Asserts() in lyxstring.C.
357 * src/lyxfunc.h: Removed the function argAsString(const char *)
358 as it is not used anymore.
360 1999-10-20 Lars Gullik Bjønnes <larsbj@lyx.org>
362 * src/support/lyxstring.C (helper): changed to use
363 sizeof(object->rep->ref).
364 (operator>>): changed to use a pointer instead.
366 * src/support/lyxstring.h: changed const reference & to value_type
367 const & lets see if that helps.
369 1999-10-19 Lars Gullik Bjønnes <larsbj@lyx.org>
371 * Makefile.am (rpmdist): fixed to have non static package and
374 * src/support/lyxstring.C: removed the compilation guards
376 * src/vspace.C (nextToken): use i + 1 instead of ++i. Maks things
379 * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
380 conditional compile of lyxstring.Ch
382 * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
383 stupid check, but it is a lot better than the bastring hack.
384 (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING
386 * several files: changed string::erase into string::clear. Not
389 * src/chset.C (encodeString): use a char temporary instead
391 * src/table.C (TexEndOfCell): added tostr around
392 column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
393 (TexEndOfCell): ditto
394 (TexEndOfCell): ditto
395 (TexEndOfCell): ditto
396 (DocBookEndOfCell): ditto
397 (DocBookEndOfCell): ditto
398 (DocBookEndOfCell): ditto
399 (DocBookEndOfCell): ditto
401 * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
403 * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
405 * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
406 (MenuBuildProg): added tostr around ret
407 (MenuRunChktex): added tostr around ret
408 (DocumentApplyCB): added tostr around ret
410 * src/chset.C (encodeString): added tostr around t->ic
412 * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
413 (makeLaTeXFile): added tostr around tocdepth
414 (makeLaTeXFile): added tostr around ftcound - 1
416 * src/insets/insetbib.C (setCounter): added tostr around counter.
418 * src/support/lyxstring.h: added an operator+=(int) to catch more
421 * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
422 (lyxstring): We DON'T allow NULL pointers.
424 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
426 * src/mathed/math_macro.C (MathMacroArgument::Write,
427 MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
428 when writing them out.
430 * src/LString.C: remove, since it is not used anymore.
432 * src/support/lyxstring.C: condition the content to
433 USE_INCLUDED_STRING macro.
435 * src/mathed/math_symbols.C, src/support/lstrings.C,
436 src/support/lyxstring.C: add `using' directive to specify what
437 we need in <algorithm>. I do not think that we need to
438 conditionalize this, but any thought is appreciated.
440 * many files: change all callback functions to "C" linkage
441 functions to please strict C++ compilers like DEC cxx 6.1 in mode
442 strict_ansi. Those who were static are now global.
443 The case of callbacks which are static class members is
444 trickier, since we have to make C wrappers around them (see
445 InsetError, InsetInfo and InsetUrl). The same holds for friends. I
446 did not finish this yet, since it defeats the purpose of
447 encapsulation, and I am not sure what the best route is.
449 1999-10-19 Juergen Vigna <jug@sad.it>
451 * src/support/lyxstring.C (lyxstring): we permit to have a null
452 pointer as assignment value and just don't assign it.
454 * src/vspace.C (nextToken): corrected this function substituting
455 find_first(_not)_of with find_last_of.
457 * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
458 (TableOptCloseCB) (TableSpeCloseCB):
459 inserted fl_set_focus call for problem with fl_hide_form() in
462 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
464 * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
467 1999-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
469 * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
470 LyXLex::next() and not eatline() to get its argument.
472 1999-10-16 Lars Gullik Bjønnes <larsbj@lyx.org>
474 * Makefile.am (rpmdist): added a rpmdist target
476 * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
477 per Kayvan's instructions.
479 1999-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
481 * src/Makefile.am: add a definition for localedir, so that locales
482 are found after installation (Kayvan)
484 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
486 * development/.cvsignore: new file.
488 1999-10-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
490 * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
491 C++ compiler provides wrappers for C headers and use our alternate
494 * configure.in: use LYX_CXX_CHEADERS.
496 * src/cheader/: new directory, populated with cname headers from
497 libstdc++-2.8.1. They are a bit old, but probably good enough for
498 what we want (support compilers who lack them).
500 * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
501 from includes. It turns out is was stupid.
503 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
505 * lib/Makefile.am (install-data-local): forgot a ';'
506 (install-data-local): forgot a '\'
507 (libinstalldirs): needed after all. reintroduced.
509 1999-10-13 Lars Gullik Bjønnes <larsbj@lyx.org>
511 * configure.in (AC_OUTPUT): added lyx.spec
513 * development/lyx.spec: removed file
515 * development/lyx.spec.in: new file
517 * po/*.po: merged with lyx.pot becuase of make distcheck
519 * lib/Makefile.am (dist-hook): added dist-hook so that
520 documentation files will be included when doing a make
521 dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
522 (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
524 more: tried to make install do the right thing, exclude CVS dirs
527 * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
528 Path would fit in more nicely.
530 * all files that used to use pathstack: uses now Path instead.
531 This change was a lot easier than expected.
533 * src/support/path.h: new file
535 * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
537 * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
539 * src/support/lyxstring.C (getline): Default arg was given for
542 * Configure.cmd: removed file
544 1999-10-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
546 * src/support/DebugStream.[Ch]: remove the explicit std:: before
547 streams classes and types, add the proper 'using' statements when
548 MODERN_STL is defined.
550 * src/debug.h: move the << operator definition after the inclusion
553 * src/support/filetools.C: include "LAssert.h", which is needed
556 * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
559 * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
560 include "debug.h" to define a proper ostream.
562 1999-10-12 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
564 * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
565 method to the SystemCall class which can kill a process, but it's
566 not fully implemented yet.
568 * src/*.C: Changed Systemcalls::Startscript() to startscript()
570 * src/support/FileInfo.h: Better documentation
572 * src/lyxfunc.C: Added support for buffer-export html
574 * src/menus.C: Added Export->As HTML...
576 * lib/bind/*.bind: Added short-cut for buffer-export html
578 * src/lyxrc.*: Added support for new \tth_command
580 * lib/lyxrc.example: Added stuff for new \tth_command
582 1999-10-12 Lars Gullik Bjønnes <larsbj@lyx.org>
584 * lib/Makefile.am (IMAGES): removed images/README
585 (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
586 installes in correct place. Check permisions is installed
589 * src/LaTeX.C: some no-op changes moved declaration of some
592 * src/LaTeX.h (LATEX_H): changed include guard name
594 1999-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
596 * lib/reLyX/Makefile.am: install noweb2lyx.
598 * lib/Makefile.am: install configure.
600 * lib/reLyX/configure.in: declare a config aux dir; set package
601 name to lyx (not sure what the best solution is); generate noweb2lyx.
603 * lib/layouts/egs.layout: fix the bibliography layout.
605 1999-10-08 Jürgen Vigna <jug@sad.it>
607 * src/support/filetools.C (FileOpenSearch): Fixed a bug where
608 when in the PATH was something like /usr/bin;;/bin (note: the ;;)
609 it returned without continuing to search the path.
611 1999-10-07 Lars Gullik Bjønnes <larsbj@lyx.org>
613 * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
614 also fixes a bug. It is not allowed to do tricks with std::strings
615 like: string a("hei"); &a[e]; this will not give what you
616 think... Any reason for the complexity in this func?
618 1999-10-06 Asger Alstrup Nielsen <alstrup@diku.dk>
620 * Updated README and INSTALL a bit, mostly to check that my
621 CVS rights are correctly set up.
623 1999-10-06 Lars Gullik Bjønnes <larsbj@lyx.org>
625 * src/support/lyxstring.C (helper): removed bogus Assert. strlen
626 does not allow '\0' chars but lyxstring and std::string does.
628 1999-10-05 Lars Gullik Bjønnes <larsbj@lyx.org>
630 * autogen.sh (AUTOCONF): let the autogen script create the
631 POTFILES.in file too. POTFILES.in should perhaps now not be
632 included in the cvs module.
634 * some more files changed to use C++ includes instead of C ones.
636 * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
638 (Reread): added tostr to nlink. buggy output otherwise.
639 (Reread): added a string() around szMode when assigning to Buffer,
640 without this I got a log of garbled info strings.
642 * acconfig.h: commented out the PTR_AS_INT macros. They should not
645 * I have added several ostream & operator<<(ostream &, some_type)
646 functions. This has been done to avoid casting and warnings when
647 outputting enums to lyxerr. This as thus eliminated a lot of
648 explicit casts and has made the code clearer. Among the enums
649 affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
650 mathed enums, some font enum the Debug::type enum.
652 * src/support/lyxstring.h (clear): missing method. equivalent of
655 * all files that contained "stderr": rewrote constructs that used
656 stderr to use lyxerr instead. (except bmtable)
658 * src/support/DebugStream.h (level): and the passed t with
659 Debug::ANY to avoid spurious bits set.
661 * src/debug.h (Debug::type value): made it accept strings of the
664 * configure.in (Check for programs): Added a check for kpsewhich,
665 the latex generation will use this later to better the dicovery of
668 * src/BufferView.C (create_view): we don't need to cast this to
669 (void*) that is done automatically.
670 (WorkAreaButtonPress): removed some dead code.
672 1999-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
674 * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
675 is not overwritten when translated (David Sua'rez de Lis).
677 * lib/CREDITS: Added David Sua'rez de Lis
679 * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
681 * src/bufferparams.C (BufferParams): default input encoding is now
684 * acinclude.m4 (cross_compiling): comment out macro
685 LYX_GXX_STRENGTH_REDUCE.
687 * acconfig.h: make sure that const is not defined (to empty) when
688 we are compiling C++. Remove commented out code using SIZEOF_xx
691 * configure.in : move the test for const and inline as late as
692 possible so that these C tests do not interefere with C++ ones.
693 Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
696 1999-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
698 * src/table.C (getDocBookAlign): remove bad default value for
701 * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
703 (ShowFileMenu2): ditto.
705 * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
708 1999-10-04 Lars Gullik Bjønnes <larsbj@lyx.org>
710 * Most files: finished the change from the old error code to use
711 DebugStream for all lyxerr debugging. Only minor changes remain
712 (e.g. the setting of debug levels using strings instead of number)
714 1999-10-02 Lars Gullik Bjønnes <larsbj@lyx.org>
716 * src/layout.C (Add): Changed to use compare_no_case instead of
719 * src/FontInfo.C: changed loop variable type too string::size_type.
721 1999-10-01 Lars Gullik Bjønnes <larsbj@lyx.org>
723 * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
724 set ETAGS_ARGS to --c++
726 1999-09-30 Lars Gullik Bjønnes <larsbj@lyx.org>
728 * src/table.C (DocBookEndOfCell): commented out two unused variables
730 * src/paragraph.C: commented out four unused variables.
732 * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
733 insed a if clause with type string::size_type.
735 * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
738 * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
740 * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
741 variable, also changed loop to go from 0 to lenght + 1, instead of
742 -1 to length. This should be correct.
744 * src/LaTeX.C (scanError): use string::size_type as loop variable
747 * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
748 (l.896) since y_tmp and row was not used anyway.
750 * src/insets/insetref.C (escape): use string::size_type as loop
753 * src/insets/insetquotes.C (Width): use string::size_type as loop
755 (Draw): use string::size_type as loop variable type.
757 * src/insets/insetlatexaccent.C (checkContents): use
758 string::size_type as loop variable type.
760 * src/insets/insetlabel.C (escape): use string::size_type as loop
763 * src/insets/insetinfo.C: added an extern for current_view.
765 * src/insets/insetcommand.C (scanCommand): use string::size_type
766 as loop variable type.
768 * most files: removed the RCS tags. With them we had to recompile
769 a lot of files after a simple cvs commit. Also we have never used
770 them for anything meaningful.
772 * most files: tags-query-replace NULL 0. As adviced several plases
773 we now use "0" instead of "NULL" in our code.
775 * src/support/filetools.C (SpaceLess): use string::size_type as
778 1999-09-29 Lars Gullik Bjønnes <larsbj@lyx.org>
780 * src/paragraph.C: fixed up some more string stuff.
782 1999-09-28 Lars Gullik Bjønnes <larsbj@lyx.org>
784 * src/support/filetools.h: make modestr a std::string.
786 * src/filetools.C (GetEnv): made ch really const.
788 * src/lyxlib.h: removed the Maximum and Minimum inline functions,
789 made code that used these use max/min from <algorithm> instead.
791 * changed several c library include files to their equivalent c++
792 library include files. All is not changed yet.
794 * created a support subdir in src, put lyxstring and lstrings
795 there + the extra files atexit, fileblock, strerror. Created
796 Makefile.am. edited configure.in and src/Makefile.am to use this
797 new subdir. More files moved to support.
799 * imported som of the functions from repository lyx, filetools
801 * ran tags-query-replace on LString -> string, corrected the bogus
802 cases. Tried to make use of lstrings.[hC], debugged a lot. There
803 is still some errors in there. This is errors where too much or
804 too litle get deleted from strings (string::erase, string::substr,
805 string::replace), there can also be some off by one errors, or
806 just plain wrong use of functions from lstrings. Viewing of quotes
809 * LyX is now running fairly well with string, but there are
810 certainly some bugs yet (see above) also string is quite different
811 from LString among others in that it does not allow null pointers
812 passed in and will abort if it gets any.
814 * Added the revtex4 files I forgot when setting up the repository.
816 1999-09-27 Lars Gullik Bjønnes <larsbj@lyx.org>
818 * All over: Tried to clean everything up so that only the files
819 that we really need are included in the cvs repository.
820 * Switched to use automake.
821 * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
822 * Install has not been checked.
824 1999-09-22 Lars Gullik Bjønnes <larsbj@lyx.org>
826 * po/pt.po: Three errors:
827 l.533 and l.538 format specification error
828 l. 402 duplicate entry, I just deleted it.