1 1999-11-22 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * src/support/lyxstring.h: made the methods that take iterators
6 * src/support/lstrings.C (countChar): use std::cound(itr, itr, val)
7 (regexMatch): made is use the real regex class.
9 * src/support/Makefile.am: changed to use libtool
11 * src/support/.cvsignore: added *.lo, .libs and libsupport.la
13 * src/mathed/math_defs.h: made the mathaligns be in a enum instead
15 (MathIsInset ++): changed several macros to be inline functions
18 * src/mathed/Makefile.am: changed to use libtool
20 * src/mathed/.cvsignore: added *.lo, .libs and libmathed.la
22 * src/insets/inset* : Clone changed to const and return type is
23 the true insettype not just Inset*.
25 * src/insets/Makefile.am: changed to use libtool
27 * src/insets/.cvsignore: added *.lo, .libs and libinsets.la
29 * src/undo.[Ch] : added empty() and changed some of the method
32 * src/texrow.[Ch]: rewrote to store texrow's in a std::list.
34 * src/lyxparagraph.h: use id() and id(...) instead of getID and
35 setID use block<> for the bullets array, added const several places.
37 * src/lyxfunc.C (getStatus): new function
39 * src/lyxfunc.[Ch] : small changes to take advantage of the new
40 LyXAction, added const to several funtions.
42 * src/filedlg.[Ch]: rewrote to store userchache and groupchache in
43 a std::map, and to store the dir items in a vector.
45 * src/Makefile.am (lyx_DEPENDENCIES): changed to use libtool files
48 * src/LyXView.[Ch] + other files : changed currentView to view.
50 * src/LyXAction.[Ch] : ported from the old devel branch.
52 * src/.cvsignore: added .libs and a.out
54 * configure.in : changes to use libtool.
56 * acinclude.m4 : inserted libtool.m4
58 * .cvsignore: added libtool
60 1999-11-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
62 * src/Makefile.am (lyx_DEPENDENCIES): give the explicit object
63 file name in insets and mathed directories (otherwise the
64 dependency is not taken in account under cygwin).
66 * src/text2.C (InsertString[AB]): make sure that we do not try to
67 read characters past the string length.
69 1999-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
71 * lib/doc/LaTeXConfig.lyx.in,
72 lib/chkconfig.ltx: remove the test for linuxdoc-sgml.sty.
74 * src/buffer.C (writeFile): Do not add a comment on top of .lyx
75 file saying who created them and when this heppened; this is
76 useless and annoys tools like cvs.
78 * lib/layouts/g-brief-{en,de}.layout,
79 lib/templates/g-brief-{en,de}.lyx: new versions of the textclass
80 from Thomas Hartkens <thomas@hartkens.de>.
82 * src/{insets,mathed}/Makefile.am: do not declare an empty
83 LDFLAGS, so that it can be set at configure time (useful on Irix
86 * lib/reLyX/configure.in: make sure that the prefix is set
89 1999-11-18 Andre' Poenitz <poenitz@mathematik.tu-chemnitz.de>
91 * src/commandtags.h: introduction of a new tag 'LFUN_SEQUENCE' to
92 be used by 'command-sequence' this allows to bind a key to a
93 sequence of LyX-commands
94 (Example: 'command-sequence math-insert alpha; math-insert beta;")
96 * src/LyXAction.C: add "command-sequence"
98 * src/LyXFunction.C: handling of "command-sequence"
100 * src/LyXFunction.[hC] changed LyXFunc::Dispatch(string const
101 &cmd, string const &arg) to LyXFunc::Dispatch(string const& s)
103 * src/lyxserver.C, src/minibuffer.C: Use this new interface
105 1999-11-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
107 * src/buffer.C (writeFile): Do not output a comment givinf user
108 and date at the beginning of a .lyx file. This is useless and
109 annoys cvs anyway; update version number to 1.1.
111 * src/Makefile.am (LYX_DIR): add this definition, so that a
112 default path is hardcoded in LyX.
114 * configure.in: Use LYX_GNU_GETTEXT.
116 * acinclude.m4 (LYX_GNU_GETTEXT): new macro, essentially a copy of
117 AM_GNU_GETTEXT with a bug fixed.
119 * src/lyx_cb.C (RunLinuxDoc): add a cast to please dec cxx.
121 * src/chset.C: add "using std::ifstream;" to please dec cxx.
123 * src/lyx_main.C (init), INSTALL.OS2: the environment variable
124 which is used to point to LyX data is now LYX_DIR_11x.
126 * lyx.man: convert to a unix text file; small updates.
128 1999-11-15 Lars Gullik Bjønnes <larsbj@lyx.org>
130 * src/support/LSubstring.[Ch]: made the second arg of most of the
131 constructors be a const reference.
133 * src/mathed/math_parser.C (LexInitCodes): small bug introduced by
136 * src/support/lyxstring.[Ch] (swap): added missing member function
137 and specialization of swap(str, str);
139 * src/menus.C (ShowBufferMenu): to use the new BufferStorage
141 * src/bufferlist.[Ch]: use the new BufferStorage class and remove all
142 trace of the old one.
144 * src/undo.[Ch]: made the undostack use std::list to store undo's in
145 put the member definitions in undo.C.
147 * src/lyxparagraph.h, src/paragraph.C + a lot of files: removed
148 NEW_TEXT and have now only code that was included when this was
151 * src/intl.C (LCombo): use static_cast
153 (DispatchCallback): ditto
155 * src/definitions.h: removed whole file
157 * src/commandtags.h: comment out LFUN_INSERT_INSET_LATEX
159 * src/chset.[Ch]: a lot rewritten, does not use lyxlex for cdef
160 parsing and stores in a std:map. a regex defines the file format.
161 removed unneeded members.
163 * src/bufferparams.h: added several enums from definitions.h here.
164 Removed unsused destructor. Changed some types to use proper enum
165 types. use block to have the temp_bullets and user_defined_bullets
166 and to make the whole class assignable.
168 * src/bufferparams.C (Copy): removed this functions, use a default
171 * src/buffer.h: made isLatex, isLinuxDoc, isDocBook, isSGML and
174 * src/buffer.C (readLyXformat2): commend out all that have with
175 oldpapersize to do. also comment out all that hve to do with
176 insetlatex and insetlatexdel.
177 (setOldPaperStuff): commented out
179 * src/Makefile.am (lyx_SOURCES): remove definitions.h, add undo.C
181 * src/LyXAction.C: remove use of inset-latex-insert
183 * src/mathed/math_panel.C (button_cb): use static_cast
185 * src/insets/Makefile.am (insets_o_SOURCES): removed
188 * src/support/lyxstring.C (helper): use the unsigned long
189 specifier, UL, instead of a static_cast.
191 * src/support/Makefile.am (libsupport_a_SOURCES): added block.h
193 * src/support/block.h: new file. to be used as a c-style array in
194 classes, so that the class can be assignable.
196 1999-11-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
198 * src/lyx_gui_misc.C (askForText): when fl_show_input() returns
199 NULL, make sure to return an empty string (it is not possible to
200 set a string to NULL).
202 1999-11-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
204 * src/support/LRegex.C: use regex_t instead of re_pattern_buffer.
206 * src/support/lyxstring.C (helper): fix bogus cast in assertion.
208 * src/{mathed,insets}/Makefile.am (CXXLINK): add $(LDFLAGS) to the
209 link line, so that Irix users (for example) can set it explicitely to
212 * src/Makefile.am (lyx_LDADD): use LYX_LIB as a variable, so that
213 it can be overidden at make time (static or dynamic link, for
216 * src/vc-backend.C, src/LaTeXFeatures.h,
217 src/support/LRegex.C, src/support/LRegex.h: add a few "using"
218 statements to bring templates to global namespace.
220 1999-11-10 Lars Gullik Bjønnes <larsbj@lyx.org>
222 * src/support/lyxstring.C (operator[] const): make it standard
225 * src/minibuffer.C (Init): changed to reflect that more
226 information is given from the lyxvc and need not be provided here.
228 * src/lyxvc.[Ch]: rewrote to use the vc-backend.
230 * src/Makefile.am (lyx_SOURCES): add vc-backend.[Ch]
232 * src/LyXView.C (UpdateTimerCB): use static_cast
233 (KeyPressMask_raw_callback): ditto
235 * src/BufferView.[Ch]: name change _owner -> owner_ and _buffer ->
236 buffer_, a lot of changes because of this. currentBuffer() ->
237 buffer(), setBuffer(...) -> buffer(...), getOwner() -> owner(),
238 also changes to other files because of this.
240 1999-11-09 Lars Gullik Bjønnes <larsbj@lyx.org>
242 * src/vc-backend.[Ch]: new files. The backends for vc handling,
243 have no support for RCS and partial support for CVS, will be
246 * src/insets/ several files: changes because of function name
247 changes in Bufferview and LyXView.
249 * src/mathed/math_symbols.C (math_insert_symbol): use static_cast
251 * src/support/LSubstring.[Ch]: new files. These implement a
252 Substring that can be very convenient to use. i.e. is this
254 string a = "Mary had a little sheep";
255 Substring(a, "sheep") = "lamb";
256 a is now "Mary has a little lamb".
258 * src/support/LRegex.[Ch]: a regex class that can be used to pick
259 out patterns and subpatterns of strings. It is used by LSubstring
260 and also by vc-backend.C
262 * src/support/lyxstring.C: went over all the assertions used and
263 tried to correct the wrong ones and flag which of them is required
264 by the standard. some bugs found because of this. Also removed a
265 couple of assertions.
267 * src/support/Makefile.am (libsupport_a_SOURCES): added
268 LSubstring.[Ch] and LRegex.[Ch]
270 * src/support/FileInfo.h: have struct stat buf as an object and
271 not a pointer to one, some changes because of this.
273 * src/LaTeXFeatures.C (getTClassPreamble): also use the
274 information in layout when addint he layouts preamble to the
277 * src/LaTeXFeatures.h: use a vector<bool> to store the layout
280 * configure.in (CPPFLAGS): use AC_CHECK_FUNCS to check for XOpenIM
281 because of bug in OS/2.
283 1999-11-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
285 * lib/layouts/lyxmacros.inc (lyxcode): set the font with
286 \verbatim@font instead of \ttfamily, so that it can be redefined.
288 * src/BackStack.h, src/DepTable.C, src/DepTable.h, src/LaTeX.C,
289 src/LaTeX.h, src/lastfiles.C, src/lastfiles.h, src/layout.C,
290 src/layout.h, src/text2.C: add 'using' directive to bring the
291 STL templates we need from the std:: namespace to the global one.
292 Needed by DEC cxx in strict ansi mode.
294 * src/support/LIstream.h,src/support/LOstream.h,
295 src/support/lyxstring.h,src/table.h,
296 src/lyxlookup.h: do not include <config.h> in header
297 files. This should be done in the .C files only.
299 * development/lyx.spec.in: WHATSNEW has been renamed to NEWS
303 1999-11-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
305 * config/lib_configure.m4,lib/configure,lib/lyxrc.example: update
306 from Kayvan to fix the tth invokation.
308 * development/lyx.spec.in: updates from Kayvan to reflect the
309 changes of file names.
311 1999-11-05 Lars Gullik Bjønnes <larsbj@lyx.org>
313 * src/text2.C (InsertStringB): use std::copy
314 (InsertStringA): use std::copy
316 * src/bufferlist.C: use a vector to store the buffers in. This is
317 an internal change and should not affect any other thing.
319 * src/BufferView.C (waitForX): use XSync instead of the lengthy
322 * src/text.C (Fill): fix potential bug, one off bug.
324 1999-11-04 Lars Gullik Bjønnes <larsbj@lyx.org>
326 * src/Makefile.am (lyx_main.o): add more files it depends on.
328 * src/lyx_cb.C (addNewlineAndDepth): parameters in wrong order.
330 * src/support/lyxstring.C: use size_t for the reference count,
331 size, reserved memory and xtra.
332 (internal_compare): new private member function. Now the compare
333 functions should work for std::strings that have embedded '\0'
335 (compare): all compare functions rewritten to use
338 1999-11-03 Lars Gullik Bjønnes <larsbj@lyx.org>
340 * src/support/lyxstring.C (compare): pass c_str()
341 (compare): pass c_str
342 (compare): pass c_str
344 1999-11-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
346 * src/support/DebugStream.C: <config.h> was not included correctly.
348 * lib/configure: forgot to re-generate it :( I'll make this file
351 1999-11-03 Lars Gullik Bjønnes <larsbj@lyx.org>
353 * acinclude.m4 (cross_compiling): add -fpermissive when gcc 2.95.x
356 * src/support/lyxstring.C: some changes from length() to rep->sz.
357 avoids a function call.
359 * src/support/filetools.C (SpaceLess): yet another version of the
360 algorithm...now per Jean-Marc's suggestions.
362 1999-11-02 Lars Gullik Bjønnes <larsbj@lyx.org>
364 * src/layout.C (less_textclass_desc): functor for use in sorting
366 (LyXTextClass::Read): sort the textclasses after reading.
368 * src/support/filetools.C (SpaceLess): new version of the
369 SpaceLess functions. What problems does this one give? Please
372 * images/banner_bw.xbm: made the arrays unsigned char *
374 1999-11-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
376 * src/support/lyxstring.C (find): remove bogus assertion in the
377 two versions of find where this has not been done yet.
379 * src/support/lyxlib.h: add missing int return type to
382 * src/menus.C (ShowFileMenu): disable exporting to html if no
383 html export command is present.
385 * config/lib_configure.m4: add a test for an HTML converter. The
386 programs checked for are, in this order: tth, latex2html and
389 * lib/configure: generated from config/lib_configure.m4.
391 * src/lyxfunc.C (Dispatch): update and improve the execution of an
392 html converter. The parameters are now passed through $$FName and
393 $$OutName, instead of standard input/output.
395 * src/lyxrc.{C,h}: rename \tth_command to \html_command.
397 * lib/lyxrc.example: update description of \html_command.
398 add "quotes" around \screen_font_xxx font setting examples to help
399 people who use fonts with spaces in their names.
401 1999-11-02 Lars Gullik Bjønnes <larsbj@lyx.org>
403 * Distribution files: updates for v1.1.2
405 * src/support/lyxstring.C (find): remove bogus assert and return
406 npos for the same condition.
408 1999-11-01 Lars Gullik Bjønnes <larsbj@lyx.org>
410 * added patch for OS/2 from SMiyata.
412 1999-10-29 Lars Gullik Bjønnes <larsbj@lyx.org>
414 * src/text2.C (CutSelection): make space_wrapped a bool
415 (CutSelection): dont declare int i until we have to.
416 (alphaCounter): return a char const *.
418 1999-10-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
420 * src/support/syscall.C (Systemcalls::kill):
421 src/support/filetools.C (PutEnv, PutEnvPath):
422 src/lyx_cb.C (addNewlineAndDepth):
423 src/FontInfo.C (FontInfo::resize): condition some #warning
424 directives with WITH_WARNINGS.
427 1999-10-28 Lars Gullik Bjønnes <larsbj@lyx.org>
429 * src/layout.[Ch] + several files: access to class variables
430 limited and made accessor functions instead a lot of code changed
431 becuase of this. Also instead of returning pointers often a const
432 reference is returned instead.
434 * src/form1.C (create_form_Figure): added a couple fo "no-c-format"
436 * src/Makefile.am (dist-hook): added used to remove the CVS from
437 cheaders upon creating a dist
438 (EXTRA_DIST): added cheaders
440 * src/support/lstrings.C (tostr(char)): fix it to handle param as
441 a character not as a small integer.
443 * src/support/lyxstring.C (find): removed Assert and added i >=
444 rep->sz to the first if.
446 1999-10-27 Lars Gullik Bjønnes <larsbj@lyx.org>
448 * src/layout.[Ch] src/BufferView.C src/LaTeXFeatures.C
449 src/LyXView.C src/buffer.C src/bufferparams.C
450 src/lyx_cb.C src/lyxfunc.C src/paragraph.C src/text.C
451 src/text2.C src/insets/insetinclude.C:
452 lyxlayout renamed to textclasslist.
454 * src/layout.C: some lyxerr changes.
456 * src/layout.[Ch] (LyXLayout::Read): changed second paramter to
457 LyXTextClass. rewrote LT_COPYSTYLE, rewrote LT_OBSOLETEDBY
458 (LyXLayoutList): removed all traces of this class.
459 (LyXTextClass::Read): rewrote LT_STYLE
460 (LyXTextClass::hasLayout): new function
461 (LyXTextClass::GetLayout): rewritten to return an iterator + has
462 both const and nonconst version.
463 (LyXTextClass::delete_layout): new function.
464 (LyXTextClassList::Style): bug fix. do the right thing if layout
466 (LyXTextClassList::NumberOfLayout): new acces to layoutlist.
467 (LyXTextClassList::NameOfLayout): ditto
468 (LyXTextClassList::Load): ditto
470 * src/buffer.C (makeLaTeXFile): new access to layoutlist
472 * src/LaTeXFeatures.C (getTClassPreamble): new access to layoutlist
474 * src/LyXAction.C (LookupFunc): added a workaround for sun
475 compiler, on the other hand...we don't know if the current code
476 compiles on sun at all...
478 * src/support/filetools.C (CleanupPath): subst fix
480 * src/insets/insetbib.C (delDatabase): subst fix, this looks
483 * src/support/filetools.C (PutEnvPath): subst fix, how come nobody
484 complained about this one?
486 * src/insets/insetinclude.C (Latex): subst fix
488 * src/insets/insetbib.C (getKeys): subst fix
490 * src/LyXSendto.C (SendtoApplyCB): subst fix
492 * src/lyx_main.C (init): subst fix
494 * src/layout.C (Read): subst fix
496 * src/lyx_sendfax_main.C (button_send): subst fix
498 * src/buffer.C (RoffAsciiTable): subst fix
500 * src/lyx_cb.C (MenuFax): subst fix
501 (PrintApplyCB): subst fix
503 1999-10-26 Juergen Vigna <jug@sad.it>
505 * src/table.C (TexEndOfCell) + (DocBookEndOfCell): removed some #if 0
507 (Read): Cleaned up this code so now we read only format vestion >= 5
509 1999-10-26 Lars Gullik Bjønnes <larsbj@lyx.org>
511 * src/support/filetools.C (PutEnvPath): subst fix for EMX, how
512 come nobody has complained about this one?
514 * src/insets/insetinclude.C (Latex): subst fix
516 * src/insets/insetbib.C (getKeys): subst fix
518 * src/lyx_main.C (init): subst fix
520 * src/layout.C (Read): subst fix
522 * src/buffer.C (RoffAsciiTable): subst fix
524 * src/lyx_cb.C (MenuFax): subst fix.
526 * src/layout.[hC] + some other files: rewrote to use
527 std::container to store textclasses and layouts in.
528 Simplified, removed a lot of code. Make all classes
529 assignable. Further simplifications and review of type
532 * src/menus.C (ShowFileMenu/ShowFileMenu2): Use the iterators from
533 lastfiles to create the lastfiles partr of the menu.
535 * src/lastfiles.[Ch]: rewritten to use deque to store the
536 lastfiles in. Uses fstream for reading and writing. Simplifies
539 * src/support/syscall.C: remove explicit cast.
541 * src/BufferView.C (CursorToggleCB): removed code snippets that
543 use explicat C++ style casts instead of C style casts. also use
544 u_vdata instea of passing pointers in longs.
546 * src/PaperLayout.C: removed code snippets that were commented out.
548 * src/lyx_gui_misc.C: removed code snippets that were commented out.
550 * src/lyx_main.C: removed code snippets that wer commented out.
552 * src/paragraph.C: removed code snippets that were commented out.
554 * src/lyxvc.C (logClose): use static_cast
556 (viewLog): remove explicit cast to void*
557 (showLog): removed old commented code
559 * src/menus.C: use static_cast instead of C style casts. use
560 u_vdata instead of u_ldata. remove explicit cast to (long) for
561 pointers. Removed old code that was commented out.
563 * src/insets/inset.C: removed old commented func
565 * src/insets/insetref.C (InsetRef): removed old code that had been
566 commented out for a long time.
568 (escape): removed C style cast
570 * src/insets/insetlatexaccent.C (Draw): removed old commented code
572 * src/insets/insetlatex.C (Draw): removed old commented code
573 (Read): rewritten to use string
575 * src/insets/insetlabel.C (escape): removed C style cast
577 * src/insets/insetindex.h: removed vdata and ldata from FD_index_form
579 * src/insets/insetindex.C: use static_cast and u_vdata, removed
582 * src/insets/insetinclude.h: removed a couple of stupid bools
584 * src/insets/insetinclude.C (include_cb): use static_cast and u_data.
585 (Clone): remove C style cast
586 (getKeys): changed list to lst because of std::list
588 * src/insets/inseterror.C (Draw): removed som old commented code.
590 * src/insets/insetcommand.C (Draw): removed some old commented code.
592 * src/insets/insetbib.C (bibitem_cb): removed code that has been
593 commented out forever.
594 (bibitem_cb): use static_cast instead of C style cast
595 use of vdata changed to u_vdata.
597 * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forward the data
599 (CloseUrlCB): use static_cast instead of C style cast.
600 (CloseUrlCB): added a fl_free form...it seemed to be missing.
602 * src/insets/insetinfo.C (Edit): pass object in u_vdata instead
603 (C_InsetInfo_CloseInfoCB): forward the ob parameter
604 (CloseInfoCB): static_cast from ob->u_vdata instead.
605 (Edit): removed bogus arg from fl_set_object_shortcut, set to 1
608 * src/insets/inseterror.C (Edit): pass object in u_vdata instead
609 (C_InsetError_CloseErrorCB): forward the ob parameter
610 (CloseErrorCB): static_cast from ob->u_vdata instead.
612 * src/vspace.h: include LString.h since we use string in this class.
614 * src/vspace.C (lyx_advance): changed name from advance because of
615 nameclash with stl. And since we cannot use namespaces yet...I
616 used a lyx_ prefix instead. Expect this to change when we begin
619 * src/BufferView.[Ch] (BufferView::~BufferView): removed
621 * src/BackStack.h: rewrote to use std::stack. made BackStackItem
622 and removed now defunct constructor and deconstructor.
624 * src/BufferView.h: have backstack as a object not as a pointer.
625 removed initialization from constructor. added include for BackStack
627 * development/lyx.spec.in (%build): add CFLAGS also.
629 * src/screen.C (drawFrame): removed another warning.
631 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
633 * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
634 OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
635 README and ANNOUNCE a bit for the next release. More work is
638 * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
639 unbreakable if we are in freespacing mode (LyX-Code), but not in
642 1999-10-25 Lars Gullik Bjønnes <larsbj@lyx.org>
644 * src/BackStack.h: fixed initialization order in constructor
646 * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
648 * acinclude.m4 (VERSION): new rules for when a version is
649 development, added also a variable for prerelease.
650 (warnings): we set with_warnings=yes for prereleases
651 (lyx_opt): prereleases compile with same optimization as development
652 (CXXFLAGS): only use pedantic if we are a development version
654 * src/BufferView.C (restorePosition): don't do anything if the
657 * src/BackStack.h: added member empty, use this to test if there
658 is anything to pop...
660 1999-10-25 Juergen Vigna <jug@sad.it>
663 * forms/layout_forms.fd +
664 * forms/latexoptions.fd +
665 * lyx.fd: changed for various form resize issues
667 * src/mathed/math_panel.C +
668 * src/insets/inseterror.C +
669 * src/insets/insetinfo.C +
670 * src/insets/inseturl.C +
671 * src/insets/inseturl.h +
674 * src/PaperLayout.C +
675 * src/ParagraphExtra.C +
676 * src/TableLayout.C +
678 * src/layout_forms.C +
685 * src/menus.C: fixed various resize issues. So now forms can be
686 resized savely or not be resized at all.
688 * forms/form_url.fd +
689 * src/insets/form_url.[Ch]: added because it's cleaner and easier
692 * src/insets/Makefile.am: added files form_url.[Ch]
694 1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
696 * INSTALL: it is now possible to compile LyX with digital C++ 6.1
697 (and presumably 6.2).
699 * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
700 menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
701 remaining static member callbacks.
703 * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
706 * src/support/lyxstring.h: declare struct Srep as friend of
707 lyxstring, since DEC cxx complains otherwise.
709 1999-10-24 Lars Gullik Bjønnes <larsbj@lyx.org>
711 1999-10-24 Lars Gullik Bjønnes <larsbj@lyx.org>
713 * src/LaTeX.C (run): made run_bibtex also depend on files with
715 (runBibTeX): added scans for "\\bibstyle", now also ".bst" files
716 are put into the dependency file.
718 * src/spellchecker.C (create_ispell_pipe): removed old #warning,
719 the code has shown itself to work
720 (create_ispell_pipe): removed another warning, added a comment
723 * src/minibuffer.C (ExecutingCB): removed code that has been
724 commented out a long time
726 * src/lyxfunc.C (processKeyEvent): removed some very old commented
727 out code + a warning.
729 * src/support/lyxstring.h: comment out the three private
730 operators, when compiling with string ansi conforming compilers
733 * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
735 (pixmapFromBitmapData): change type of bdata to be unsigned char *
736 (pixmapFromBitmapData): add a reinterpret_cast in the call to
739 * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
742 * src/mathed/math_panel.C (create_math_panel): remove explicit
745 * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
748 * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
749 (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
750 to XCreatePixmapFromBitmapData
751 (fl_set_bmtable_data): change the last argument to be unsigned
753 (fl_set_bmtable_file): change bdata to unsinged char *, change bw
754 and bh to be unsigned int, remove explicit casts in call to
757 * images/arrows.xbm: made the arrays unsigned char *
758 * images/varsz.xbm: ditto
759 * images/misc.xbm: ditto
760 * images/greek.xbm: ditto
761 * images/dots.xbm: ditto
762 * images/brel.xbm: ditto
763 * images/bop.xbm: ditto
765 * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
767 * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed.
768 (LYX_PROG_CXX): added -pedantic to g++ compile options when
769 with-warnings, removed the __STRING_ANSI__ hack, seems to not be
771 (LYX_CXX_CHEADERS): added <clocale> to the test.
773 1999-10-23 Lars Gullik Bjønnes <larsbj@lyx.org>
775 * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
777 * src/support/lyxstring.C (append): fixed something that must be a
778 bug, rep->assign was used instead of rep->append.
780 * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
783 * src/lyxfunc.C (processKeyEvent): removed faulty line that made
784 lyx insert double chars. Fix spotted by Kayvan.
786 1999-10-23 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
788 * Fixed the tth support. I messed up with the Emacs patch apply feature
789 and omitted the changes in lyxrc.C.
791 1999-10-22 Juergen Vigna <jug@sad.it>
793 * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
795 * src/lyx_cb.C (MenuInsertRef) +
796 * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
797 the form cannot be resized under it limits (fixes a segfault)
799 * src/lyx.C (create_form_form_ref) +
800 * forms/lyx.fd: Changed Gravity on name input field so that it is
803 1999-10-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
805 * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
806 <ostream> and <istream>.
808 * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
809 whether <fstream> provides the latest standard features, or if we
810 have an oldstyle library (like in egcs).
811 (LYX_CXX_STL_STRING): fix the test.
813 * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
814 code on MODERN_STL_STREAM.
816 * src/support/lyxstring.h: use L{I,O}stream.h.
818 * src/support/L{I,O}stream.h: new files, designed to setup
819 correctly streams for our use
820 - includes the right header depending on STL capabilities
821 - puts std::ostream and std::endl (for LOStream.h) or
822 std::istream (LIStream.h) in toplevel namespace.
824 1999-10-22 Lars Gullik Bjønnes <larsbj@lyx.org>
826 * src/LaTeX.C (run): added a check in 0 sumchange so that if it
827 was a bib file that had been changed we ensure that bibtex is run.
828 (runBibTeX): enhanced to extract the names of the bib files and
829 getting their absolute path and enter them into the dep file.
830 (findtexfile): static func that is used to look for tex-files,
831 checks for absolute patchs and tries also with kpsewhich.
832 Alternative ways of finding the correct files are wanted. Will
834 (do_popen): function that runs a command using popen and returns
835 the whole output of that command in a string. Should be moved to
838 * src/DepTable.[Ch] (extchanged): new function that returns true if a
839 file with extension ext has changed.
841 * src/insets/figinset.C: added ifdef guards around the fl_free
842 code that jug commented out. Now it is commented out when
843 compiling with XForms == 0.89.
845 * src/support/lyxstring.C: moved the definition of lyxstring::Srep
846 to lyxstring.C, and only keep a forward declaration in
847 lyxstring.h. Simplifies the header file a bit and should help a
848 bit on compile time too. Also changes to Srep will not mandate a
849 recompile of code just using string.
850 (~lyxstring): definition moved here since it uses srep.
851 (size): definition moved here since it uses srep.
853 * src/support/lyxstring.h: removed a couple of "inline" that should
856 1999-10-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
858 * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
861 1999-10-21 Juergen Vigna <jug@sad.it>
863 * src/table.C (SetPWidth): Just a small fix so the alignment is not
864 set to left if I just remove the width entry (or it is empty).
866 * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
867 paragraph when having dummy paragraphs.
869 1999-10-20 Juergen Vigna <jug@sad.it>
871 * src/insets/figinset.C: just commented some fl_free_form calls
872 and added warnings so that this calls should be activated later
873 again. This avoids for now a segfault, but we have a memory leak!
875 * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
876 'const char * argument' to 'string argument', this should
877 fix some Asserts() in lyxstring.C.
879 * src/lyxfunc.h: Removed the function argAsString(const char *)
880 as it is not used anymore.
882 1999-10-20 Lars Gullik Bjønnes <larsbj@lyx.org>
884 * src/support/lyxstring.C (getline): reads now _all_ chars. uses
887 * src/Literate.h: some funcs moved from public to private to make
888 interface clearer. Unneeded args removed.
890 * src/Literate.C (scanLiterateLogFile): rewritten to use iostream
892 (scanBuildLogFile): ditto
894 * src/LaTeX.C (scanLogFile): merged LaTeX Error handling into
895 normal TeX Error. Still room for improvement.
897 * src/LaTeX.[Ch]: removed scanError. Wrong place and not needed.
899 * src/buffer.C (insertErrors): changes to make the error
900 desctription show properly.
902 * src/LaTeX.C (deplog): removed the test for file in lyx doc dir.
905 * src/support/lyxstring.C (helper): changed to use
906 sizeof(object->rep->ref).
907 (operator>>): changed to use a pointer instead.
909 * src/support/lyxstring.h: changed const reference & to value_type
910 const & lets see if that helps.
912 1999-10-19 Lars Gullik Bjønnes <larsbj@lyx.org>
914 * Makefile.am (rpmdist): fixed to have non static package and
917 * src/support/lyxstring.C: removed the compilation guards
919 * src/vspace.C (nextToken): use i + 1 instead of ++i. Maks things
922 * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
923 conditional compile of lyxstring.Ch
925 * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
926 stupid check, but it is a lot better than the bastring hack.
927 (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING
929 * several files: changed string::erase into string::clear. Not
932 * src/chset.C (encodeString): use a char temporary instead
934 * src/table.C (TexEndOfCell): added tostr around
935 column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
936 (TexEndOfCell): ditto
937 (TexEndOfCell): ditto
938 (TexEndOfCell): ditto
939 (DocBookEndOfCell): ditto
940 (DocBookEndOfCell): ditto
941 (DocBookEndOfCell): ditto
942 (DocBookEndOfCell): ditto
944 * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
946 * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
948 * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
949 (MenuBuildProg): added tostr around ret
950 (MenuRunChktex): added tostr around ret
951 (DocumentApplyCB): added tostr around ret
953 * src/chset.C (encodeString): added tostr around t->ic
955 * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
956 (makeLaTeXFile): added tostr around tocdepth
957 (makeLaTeXFile): added tostr around ftcound - 1
959 * src/insets/insetbib.C (setCounter): added tostr around counter.
961 * src/support/lyxstring.h: added an operator+=(int) to catch more
964 * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
965 (lyxstring): We DON'T allow NULL pointers.
967 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
969 * src/mathed/math_macro.C (MathMacroArgument::Write,
970 MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
971 when writing them out.
973 * src/LString.C: remove, since it is not used anymore.
975 * src/support/lyxstring.C: condition the content to
976 USE_INCLUDED_STRING macro.
978 * src/mathed/math_symbols.C, src/support/lstrings.C,
979 src/support/lyxstring.C: add `using' directive to specify what
980 we need in <algorithm>. I do not think that we need to
981 conditionalize this, but any thought is appreciated.
983 * many files: change all callback functions to "C" linkage
984 functions to please strict C++ compilers like DEC cxx 6.1 in mode
985 strict_ansi. Those who were static are now global.
986 The case of callbacks which are static class members is
987 trickier, since we have to make C wrappers around them (see
988 InsetError, InsetInfo and InsetUrl). The same holds for friends. I
989 did not finish this yet, since it defeats the purpose of
990 encapsulation, and I am not sure what the best route is.
992 1999-10-19 Juergen Vigna <jug@sad.it>
994 * src/support/lyxstring.C (lyxstring): we permit to have a null
995 pointer as assignment value and just don't assign it.
997 * src/vspace.C (nextToken): corrected this function substituting
998 find_first(_not)_of with find_last_of.
1000 * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
1001 (TableOptCloseCB) (TableSpeCloseCB):
1002 inserted fl_set_focus call for problem with fl_hide_form() in
1005 1999-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1007 * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
1010 1999-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1012 * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
1013 LyXLex::next() and not eatline() to get its argument.
1015 1999-10-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1017 * src/DepTable.[Ch]: rewritten to store the dependencies in a map
1018 instead, use fstreams for io of the depfile, removed unneeded
1019 functions and variables.
1021 * src/LaTeX.[Ch] (class TeXErrors): rewrote to store the errors in a
1022 vector instead, removed all functions and variables that is not in
1025 1999-10-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1027 * src/buffer.C (insertErrors): use new interface to TeXError
1029 * Makefile.am (rpmdist): added a rpmdist target
1031 * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
1032 per Kayvan's instructions.
1034 1999-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1036 * src/Makefile.am: add a definition for localedir, so that locales
1037 are found after installation (Kayvan)
1039 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1041 * development/.cvsignore: new file.
1043 1999-10-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1045 * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
1046 C++ compiler provides wrappers for C headers and use our alternate
1049 * configure.in: use LYX_CXX_CHEADERS.
1051 * src/cheader/: new directory, populated with cname headers from
1052 libstdc++-2.8.1. They are a bit old, but probably good enough for
1053 what we want (support compilers who lack them).
1055 * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
1056 from includes. It turns out is was stupid.
1058 1999-10-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1060 * lib/Makefile.am (install-data-local): forgot a ';'
1061 (install-data-local): forgot a '\'
1062 (libinstalldirs): needed after all. reintroduced.
1064 1999-10-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1066 * configure.in (AC_OUTPUT): added lyx.spec
1068 * development/lyx.spec: removed file
1070 * development/lyx.spec.in: new file
1072 * po/*.po: merged with lyx.pot becuase of make distcheck
1074 * lib/Makefile.am (dist-hook): added dist-hook so that
1075 documentation files will be included when doing a make
1076 dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
1077 (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
1079 more: tried to make install do the right thing, exclude CVS dirs
1082 * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
1083 Path would fit in more nicely.
1085 * all files that used to use pathstack: uses now Path instead.
1086 This change was a lot easier than expected.
1088 * src/support/path.h: new file
1090 * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
1092 * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
1094 * src/support/lyxstring.C (getline): Default arg was given for
1097 * Configure.cmd: removed file
1099 1999-10-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1101 * src/support/DebugStream.[Ch]: remove the explicit std:: before
1102 streams classes and types, add the proper 'using' statements when
1103 MODERN_STL is defined.
1105 * src/debug.h: move the << operator definition after the inclusion
1108 * src/support/filetools.C: include "LAssert.h", which is needed
1111 * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
1114 * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
1115 include "debug.h" to define a proper ostream.
1117 1999-10-12 Asger Alstrup Nielsen <alstrup@alstrup.galaxy.dk>
1119 * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
1120 method to the SystemCall class which can kill a process, but it's
1121 not fully implemented yet.
1123 * src/*.C: Changed Systemcalls::Startscript() to startscript()
1125 * src/support/FileInfo.h: Better documentation
1127 * src/lyxfunc.C: Added support for buffer-export html
1129 * src/menus.C: Added Export->As HTML...
1131 * lib/bind/*.bind: Added short-cut for buffer-export html
1133 * src/lyxrc.*: Added support for new \tth_command
1135 * lib/lyxrc.example: Added stuff for new \tth_command
1137 1999-10-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1139 * lib/Makefile.am (IMAGES): removed images/README
1140 (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
1141 installes in correct place. Check permisions is installed
1144 * src/LaTeX.C: some no-op changes moved declaration of some
1147 * src/LaTeX.h (LATEX_H): changed include guard name
1149 1999-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1151 * lib/reLyX/Makefile.am: install noweb2lyx.
1153 * lib/Makefile.am: install configure.
1155 * lib/reLyX/configure.in: declare a config aux dir; set package
1156 name to lyx (not sure what the best solution is); generate noweb2lyx.
1158 * lib/layouts/egs.layout: fix the bibliography layout.
1160 1999-10-08 Jürgen Vigna <jug@sad.it>
1162 * src/support/filetools.C (FileOpenSearch): Fixed a bug where
1163 when in the PATH was something like /usr/bin;;/bin (note: the ;;)
1164 it returned without continuing to search the path.
1166 1999-10-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1168 * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
1169 also fixes a bug. It is not allowed to do tricks with std::strings
1170 like: string a("hei"); &a[e]; this will not give what you
1171 think... Any reason for the complexity in this func?
1173 1999-10-06 Asger Alstrup Nielsen <alstrup@diku.dk>
1175 * Updated README and INSTALL a bit, mostly to check that my
1176 CVS rights are correctly set up.
1178 1999-10-06 Lars Gullik Bjønnes <larsbj@lyx.org>
1180 * src/support/lyxstring.C (helper): removed bogus Assert. strlen
1181 does not allow '\0' chars but lyxstring and std::string does.
1183 1999-10-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1185 * autogen.sh (AUTOCONF): let the autogen script create the
1186 POTFILES.in file too. POTFILES.in should perhaps now not be
1187 included in the cvs module.
1189 * some more files changed to use C++ includes instead of C ones.
1191 * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
1193 (Reread): added tostr to nlink. buggy output otherwise.
1194 (Reread): added a string() around szMode when assigning to Buffer,
1195 without this I got a log of garbled info strings.
1197 * acconfig.h: commented out the PTR_AS_INT macros. They should not
1200 * I have added several ostream & operator<<(ostream &, some_type)
1201 functions. This has been done to avoid casting and warnings when
1202 outputting enums to lyxerr. This as thus eliminated a lot of
1203 explicit casts and has made the code clearer. Among the enums
1204 affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
1205 mathed enums, some font enum the Debug::type enum.
1207 * src/support/lyxstring.h (clear): missing method. equivalent of
1210 * all files that contained "stderr": rewrote constructs that used
1211 stderr to use lyxerr instead. (except bmtable)
1213 * src/support/DebugStream.h (level): and the passed t with
1214 Debug::ANY to avoid spurious bits set.
1216 * src/debug.h (Debug::type value): made it accept strings of the
1219 * configure.in (Check for programs): Added a check for kpsewhich,
1220 the latex generation will use this later to better the dicovery of
1223 * src/BufferView.C (create_view): we don't need to cast this to
1224 (void*) that is done automatically.
1225 (WorkAreaButtonPress): removed some dead code.
1227 1999-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1229 * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
1230 is not overwritten when translated (David Sua'rez de Lis).
1232 * lib/CREDITS: Added David Sua'rez de Lis
1234 * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
1236 * src/bufferparams.C (BufferParams): default input encoding is now
1239 * acinclude.m4 (cross_compiling): comment out macro
1240 LYX_GXX_STRENGTH_REDUCE.
1242 * acconfig.h: make sure that const is not defined (to empty) when
1243 we are compiling C++. Remove commented out code using SIZEOF_xx
1246 * configure.in : move the test for const and inline as late as
1247 possible so that these C tests do not interefere with C++ ones.
1248 Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
1249 has not been proven.
1251 1999-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1253 * src/table.C (getDocBookAlign): remove bad default value for
1256 * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
1258 (ShowFileMenu2): ditto.
1260 * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
1263 1999-10-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1265 * Most files: finished the change from the old error code to use
1266 DebugStream for all lyxerr debugging. Only minor changes remain
1267 (e.g. the setting of debug levels using strings instead of number)
1269 1999-10-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1271 * src/layout.C (Add): Changed to use compare_no_case instead of
1274 * src/FontInfo.C: changed loop variable type too string::size_type.
1276 1999-10-01 Lars Gullik Bjønnes <larsbj@lyx.org>
1278 * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
1279 set ETAGS_ARGS to --c++
1281 1999-09-30 Lars Gullik Bjønnes <larsbj@lyx.org>
1283 * src/table.C (DocBookEndOfCell): commented out two unused variables
1285 * src/paragraph.C: commented out four unused variables.
1287 * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
1288 insed a if clause with type string::size_type.
1290 * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
1293 * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
1295 * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
1296 variable, also changed loop to go from 0 to lenght + 1, instead of
1297 -1 to length. This should be correct.
1299 * src/LaTeX.C (scanError): use string::size_type as loop variable
1302 * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
1303 (l.896) since y_tmp and row was not used anyway.
1305 * src/insets/insetref.C (escape): use string::size_type as loop
1308 * src/insets/insetquotes.C (Width): use string::size_type as loop
1310 (Draw): use string::size_type as loop variable type.
1312 * src/insets/insetlatexaccent.C (checkContents): use
1313 string::size_type as loop variable type.
1315 * src/insets/insetlabel.C (escape): use string::size_type as loop
1318 * src/insets/insetinfo.C: added an extern for current_view.
1320 * src/insets/insetcommand.C (scanCommand): use string::size_type
1321 as loop variable type.
1323 * most files: removed the RCS tags. With them we had to recompile
1324 a lot of files after a simple cvs commit. Also we have never used
1325 them for anything meaningful.
1327 * most files: tags-query-replace NULL 0. As adviced several plases
1328 we now use "0" instead of "NULL" in our code.
1330 * src/support/filetools.C (SpaceLess): use string::size_type as
1333 1999-09-29 Lars Gullik Bjønnes <larsbj@lyx.org>
1335 * src/paragraph.C: fixed up some more string stuff.
1337 1999-09-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1339 * src/support/filetools.h: make modestr a std::string.
1341 * src/filetools.C (GetEnv): made ch really const.
1343 * src/lyxlib.h: removed the Maximum and Minimum inline functions,
1344 made code that used these use max/min from <algorithm> instead.
1346 * changed several c library include files to their equivalent c++
1347 library include files. All is not changed yet.
1349 * created a support subdir in src, put lyxstring and lstrings
1350 there + the extra files atexit, fileblock, strerror. Created
1351 Makefile.am. edited configure.in and src/Makefile.am to use this
1352 new subdir. More files moved to support.
1354 * imported som of the functions from repository lyx, filetools
1356 * ran tags-query-replace on LString -> string, corrected the bogus
1357 cases. Tried to make use of lstrings.[hC], debugged a lot. There
1358 is still some errors in there. This is errors where too much or
1359 too litle get deleted from strings (string::erase, string::substr,
1360 string::replace), there can also be some off by one errors, or
1361 just plain wrong use of functions from lstrings. Viewing of quotes
1364 * LyX is now running fairly well with string, but there are
1365 certainly some bugs yet (see above) also string is quite different
1366 from LString among others in that it does not allow null pointers
1367 passed in and will abort if it gets any.
1369 * Added the revtex4 files I forgot when setting up the repository.
1371 1999-09-27 Lars Gullik Bjønnes <larsbj@lyx.org>
1373 * All over: Tried to clean everything up so that only the files
1374 that we really need are included in the cvs repository.
1375 * Switched to use automake.
1376 * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
1377 * Install has not been checked.
1379 1999-09-22 Lars Gullik Bjønnes <larsbj@lyx.org>
1381 * po/pt.po: Three errors:
1382 l.533 and l.538 format specification error
1383 l. 402 duplicate entry, I just deleted it.