1 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * Makefile.am: fix typo.
5 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7 * std_string.h: delete file
9 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
11 * lstrings.C: Small fixes to build using STLport
13 2003-09-29 Angus Leeming <leeming@lyx.org>
15 * filetools.C (ReplaceEnvironmentPath): make it work for both
16 ${HOME}/foo and $HOME/foo.
18 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
20 * debugstream.h: add file, updated version of the DebugStream
22 * DebugStream.C,DebugStream.h: delete files
24 2003-09-25 Angus Leeming <leeming@lyx.org>
26 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
27 * lstrings.[Ch]: (regexMatch): removed.
29 2003-09-25 Angus Leeming <leeming@lyx.org>
31 * translator.h (add): new member function.
33 2003-09-16 Angus Leeming <leeming@lyx.org>
35 * textutils.h: remove #include "paragraph.h". Remove functions
36 IsInsetChar and IsWordChar.
38 2003-09-15 Angus Leeming <leeming@lyx.org>
40 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
41 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
43 Use a memory_traits template parameter to create/destroy memory in a
46 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
50 * filetools.C: Remove usage of STRCONV
52 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
55 * std_string.h: modify to always work with std::string, but if
56 with-included-string then use it through namespace lyx. Remove
59 * lyxstring.[Ch]: remove files
61 2003-09-15 Angus Leeming <leeming@lyx.org>
63 * translator.h: add #include <boost/assert.hpp>, so that the
64 template is self-contained.
66 2003-09-11 Angus Leeming <leeming@lyx.org>
69 * copied_ptr.h: added to the repository. Maybe temporarily.
71 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
73 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
75 * several files: change Assert to BOOST_ASSERT
78 * LAssert.h: remove files
80 2003-09-08 Angus Leeming <leeming@lyx.org>
83 * filetools.C: tell the world where to find author contact details.
85 2003-09-08 Angus Leeming <leeming@lyx.org>
91 * lyxsum.C: remove redundant using directives.
93 2003-09-05 Angus Leeming <leeming@lyx.org>
95 * lstrings.C: small bformat fix
97 2003-09-05 Angus Leeming <leeming@lyx.org>
99 * std_istream.h: new file Just renaming of LIstream.h
100 * std_ostream.h: new file Just renaming of LIstream.h
101 * std_sstream.h: new file Just renaming of Lsstream.h
102 * std_string.h: new file Just renaming of LString.h
104 2003-09-05 Angus Leeming <leeming@lyx.org>
108 ensure that the header file can be compiled stand-alone.
110 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
112 * lstrings.[Ch] (bformat): add a variant taking two ints.
114 2003-09-04 Angus Leeming <leeming@lyx.org>
117 * filename.C: move #include "os.h" out of the header file.
119 2003-09-04 Angus Leeming <leeming@lyx.org>
121 * path.C (ctor, dtor): move out of line.
123 2003-09-03 Angus Leeming <leeming@lyx.org>
125 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
126 (mangledFilename): new function, returning a mangled version of the
127 absolute file name, suitable for use in the temp dir when, for example,
128 converting an image file to another format.
129 (isZipped, unzippedFilename): wrappers to global functions.
131 * filetools.[Ch] (copyFileToDir): removed.
132 (compare_timestamps): new function.
134 2003-09-03 Angus Leeming <leeming@lyx.org>
136 * translator.h: Assert is in namespace lyx::support...
138 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
140 * Makefile.am: do not install path_defines.C in includes
141 (COMPRESSION): mention gzstream.h here
143 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * path_defines.C.in (setLyxPaths): re-introduce the code to check
146 whether lyx is run in place
147 (build_dir): renamed from build_lyxdir
148 (build_lyxdir): give this better semantics compatible with what
149 LibFileSearch expects.
151 2003-07-29 Angus Leeming <leeming@lyx.org>
153 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
154 defaults to string() because MakeRelPath can accept that.
156 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
158 * Makefile.am: conditionalize USE_COMPRESSION.
160 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
162 * filetools.C (getExtFromContents): correct magic for gzip and
165 * path_defines.[Ch]: move lyx_localedir out of anon namespace
167 * gzstream.h: new fileq
169 * gzstream.C: new file
171 2003-07-27 Angus Leeming <leeming@lyx.org>
173 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
174 user_lyxdir): are now functions, not global vars.
176 * Makefile.am: set build_lyxdir at make time.
178 2003-07-27 Angus Leeming <leeming@lyx.org>
180 * path_defines.{h,C.in}: new files. Store/set the various lyx
181 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
184 * Makefile.am: add some magic to enable the user to set the path to
185 the system-level lyx support files, the top of the lyx build tree
186 and the system-level lyx locale directory at _make_ time rather
189 * .cvsignore: add path_defines.C.
191 2003-07-26 Angus Leeming <leeming@lyx.org>
193 * os.h: remove irrelevant discussion of system_tempdir.
195 2003-07-21 Angus Leeming <leeming@lyx.org>
197 * filename.[Ch]: new files implementing class FileName.
198 * Makefile.am: add filename.[Ch].
200 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
202 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
203 not allow it (at least not in this form.)
205 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
207 * os_win32.C: put namespace os in lyx::support.
209 * lstrings.C (bformat): call Assert from correct namespace.
211 * introduce namespace lyx::support
213 2003-06-30 André Pönitz <poenitz@gmx.net>
216 * lstrings.C: re-enable --with-included-string
218 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
220 * filetools.h: fix some \param issue
222 * boost-inst.C: fix \file
224 * LAssert.h: fix \file
226 2003-06-20 Angus Leeming <leeming@lyx.org>
228 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
230 2003-06-18 Angus Leeming <leeming@lyx.org>
232 * many files: add the standard blurb, "This file is part of LyX" etc
234 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
236 * limited_stack.h: make it have a const_iterator, add begin, and
239 2003-06-10 Angus Leeming <leeming@lyx.org>
241 * filetools.C (copyFileToDir): ensure that temp files have unique names.
243 2003-06-04 André Pönitz <poenitz@gmx.net>
245 * limited_stack.h (top): return reference instead of value
247 2003-06-02 Angus Leeming <leeming@lyx.org>
249 * filetools.[Ch] (copyFileToDir): new helper function.
251 * os.h: remove trailing semi-colon from end of namespace os block.
253 2003-06-01 Angus Leeming <leeming@lyx.org>
255 * filetools.h (LibScriptSearch): give the function a meaningful
256 description of what it now does.
258 2003-05-30 Angus Leeming <leeming@lyx.org>
260 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
261 this with the path to the script. If the script is not found, the "$$s/"
264 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
266 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
269 2003-05-19 André Pönitz <poenitz@gmx.net>
271 * lstrings.C: add missing implementation of three-arg bformat
273 * lstrings.C: change rest of char * fmt -> string const & fmt
276 2003-05-15 André Pönitz <poenitz@gmx.net>
278 * lstrings.[Ch]: use string const & instead of char const * for format
280 2003-05-12 André Pönitz <poenitz@gmx.net>
282 * tostr.[Ch]: add long int overload
284 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
286 * lstrings.[Ch]: compile fix
288 2003-05-12 André Pönitz <poenitz@gmx.net>
290 * lstrings.[Ch]: bformat() as wrapper around boost::format
292 * lyxstring.h: enable templatized constructor
294 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
296 * limited_stack.h: Change some comments, simplify a couple of
299 2003-02-21 André Pönitz <poenitz@gmx.net>
301 * limited_stack.h: change underlying container to deque to
302 make this re-usable in mathed
304 2003-04-08 John Levon <levon@movementarian.org>
306 * filetools.C: fix MakeDisplayPath() to not
309 2003-03-30 John Levon <levon@movementarian.org>
313 * boost-inst.C: moved from src/
315 2003-03-29 John Levon <levon@movementarian.org>
318 * filetools.C: never call Alert directly from here
320 2003-03-12 John Levon <levon@movementarian.org>
322 * textutils.h: remove META_NEWLINE
324 2003-02-27 Ling Li <ling@caltech.edu>
326 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
329 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
331 * forkedcontr.C (timer): remove bogus continue
333 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
335 * forkedcallqueue.[Ch]: added
337 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
339 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
340 Emiting the signal can result in an arbitrary change to the list.
342 2003-02-25 Angus Leeming <leeming@lyx.org>
344 * forkedcontr.C (timer): Use a while loop rather than for; makes it
345 easier to erase an element.
347 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
349 * forkedcontr.C (timer): don't start a running timer.
351 2003-02-21 André Pönitz <poenitz@gmx.net>
353 * filetools.C (PutEnv): removed (unused)
355 2003-02-17 John Levon <levon@movementarian.org>
358 * forkedcall.C: add running()
360 2003-02-08 John Levon <levon@movementarian.org>
364 * lyxtime.C: add typedef for time_t, add current_time
370 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
372 * filetools.C (getExtFromContents): remove detection of epsi
374 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
376 * several files: ws changes
378 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
380 * filetools.C (DirList): remove all ugly hacks and do it nice
382 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
384 * lyxsum.C: an ugly hack to compile with non-gnu linkers
386 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
388 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
389 a solution that he likes and which actually works.
391 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
393 * lstrings.h (tostr): STRCONV
395 * lstrings.C (regexMatch): STRCONV
396 (getVectorFromString): STRCONV, manual copy into vector
398 * filetools.C (GetFileContents): STRCONV
400 * os.C: include config.h
402 * lstrings.C (getVectorFromString): rewrite to use
405 2002-10-31 Angus Leeming <leeming@lyx.org>
407 * forkedcall.C (generateChild): clean it up further.
409 2002-10-25 Angus Leeming <leeming@lyx.org>
411 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
412 and a minimal ForkedCall daughter class.
414 * forkedcontr.[Ch]: minimal changes reflecting the use of a
415 ForkedProcess base class responsible for launching all child proceses.
417 2002-09-25 Angus Leeming <leeming@lyx.org>
420 * LOstream.h: doxygen fixes.
422 2002-09-24 Angus Leeming <leeming@lyx.org>
424 * most files: clean-up the license info.
426 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
428 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
430 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
432 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
433 since at least for Cygwin, the "rb" read_mode acceptable for
434 fopen() is illegal for popen(), whose mode argument *must* be "r"
437 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
440 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
442 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
445 * smart_ptr.h: remove file
448 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
450 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
451 class_fun and void_class_fun
453 2002-08-20 John Levon <levon@movementarian.org>
458 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
460 * textutils.h: formatting.
462 2002-08-08 John Levon <levon@movementarian.org>
464 * limited_stack.h: default to 100 not 10
466 2002-08-01 John Levon <levon@movementarian.org>
468 * forkedcall.C: more details on error
470 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
472 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
473 also add a trim function that is the equiv of
474 strip(frontStrip(...)), also reimplement the functions
475 (improvements still possible.)
477 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
478 * forkedcall.C (generateChild): ditto
482 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
484 * filetools.C (GetEnvPath): modify because of strip changes
485 (createDirectory): ditto
487 * lstrings.[Ch] (isStrInt): ditto
488 (isStrUnsignedInt): ditto
490 (strToUnsignedInt): ditto
492 (contains): removed unneeded version of contains
493 (containsOnly): removed uneeded versions of containsOnly
494 (strip, frontStrip): removed unneded versions, changed argument types.
496 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
498 * filetools.C (RunCommand): Made public
500 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
502 * limited_stack.h: fix comment, remove un-needed header
504 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
506 * lstrings.h: correct comments for token and tokenPos
508 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
510 * lyxstring.C (operator>>): replace code which works only with
511 _some_ versions of GNU STL with generic one
513 2002-07-18 Angus Leeming <leeming@lyx.org>
515 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
516 signal should it do so.
518 * Makefile.am: add FileMonitor.[Ch].
520 2002-07-18 André Pönitz <poenitz@gmx.net>
522 * filetools.C (LibScriptSearch): bug fix
524 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
526 * filetools.C (LyXReadLink): add bool 'resolve' to return link
527 contents as an absolute path
529 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
531 * filetools.C (IsLyXFilename):
532 (IsSGMLFilename): use ascii_lowercase instead of lowercase
534 * lstrings.[Ch] (ascii_lowercase): new function
536 2002-07-16 André Pönitz <poenitz@gmx.net>
538 * FileInfo.Ch: remove unneeded code
540 2002-06-20 Herbert Voss <voss@perce.de>
542 * filetools.[C] (readExtFromContents): add support for
545 2002-06-26 André Pönitz <poenitz@gmx.net>
547 * filetools.[Ch]: small whitespace, more compact 'return' statement
549 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
551 * lyxalgo.h: add eliminate_duplicates
553 2002-06-17 Herbert Voss <voss@perce.de>
555 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
556 (readBB_lyxerrMessage) to get better lyxerr messages
557 (getExtFromContents) test epsi files in the right way
559 * DestroxLyXTmpDir.C: changed to true, to delete the
560 temporary unzipped files, too.
562 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
564 * putenv.C (putenv): putenv should never be found in std::
566 * kill.C (kill): kill should never be found in std::
568 * filetools.C: pclose and popen should never be found in std::
570 2002-06-07 Angus Leeming <leeming@lyx.org>
572 Fixes needed to compile with Compaq cxx 6.5.
573 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
574 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
575 more than one instance of overloaded function "lyx::class_fun" matches
585 all c-library variables have been moved into namespace std.
586 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
588 * kill.C: rename signal.h as csignal.
590 * putenv.C: rename stdlib.h as cstdlib
592 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
594 * lxtl.h: remove unused file
596 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
603 * StrPool.C: remove unused files
613 * types.h: document and small cleanups
615 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
617 * switch from SigC signals to boost::signals.
619 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
622 * limited_stack.h: new template for limited-size
625 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
627 * filetools.C: do not include LSubstring.h
629 * lstrings.C: change include order
630 (regexMatch): use boost regex get rid of LRegex and LSubstring
632 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
635 * LSubstring.h: remove file
640 * LSubstring.C: ditto
642 2002-05-24 Juergen Vigna <jug@sad.it>
644 * lyxsum.C: include local includes first (self containment)
646 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
648 * forkedcall.h: use more specific smart_ptr header.
650 * lyxsum.C: move some using declarations around.
652 2002-05-03 Herbert Voss <voss@perce.de>
654 * filetools.C (getExtFromContents): only print the first 60 chars of
655 the scanned-string when debugging.
657 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
659 * lyxstring.C: close to typo fix.
661 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
663 * filetools.C: add a using std::getline directive.
665 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
667 * lyxstring.C (operator>>): try a new version of the operator>>
669 2002-04-14 Herbert Voss <voss@perce.de>
671 * lstrings.[Ch]: move the getVectorFromString and the vice versa
672 from frontends/controllers/helper_funcs for better use in other
675 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
677 * tempname.C (make_tempfile): simplify the #ifdef block by using
678 #if defined and re-write the #warning as a #error because it's terminal.
680 2002-04-08 Herbert Voss <voss@perce.de>
682 * filetools.C (getExtFromContents): get tgif run
684 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
686 * filetools.C (getExtFromContents): re-format a little and remove
687 replicated "sgi" entry.
689 2002-04-07 Herbert Voss <voss@perce.de>
691 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
692 for the lyx-view in graphics (moved from ControlGraphics)
694 2002-04-07 Herbert Voss <voss@perce.de>
696 * filetools.C: fix bug for eps. scans now a whole line
698 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
700 * lyxstring.C (operator>>): use the better solution, this fixes a
701 "not able to read '\0'" bug.
703 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
705 * translator.h: add missing typename
707 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
709 * filetools.C (LibScriptSearch): new command. Searches for scripts
710 in lyx data directories.
711 (LibScriptSearch): try to use split() correctly.
713 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
715 * most files: ws cleanup
717 * Makefile.am: remove ld -r stuff
719 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
721 * Makefile.am (libsupport.la): special rules if partial linking
723 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
725 * forkedcontr.C: turn the timer off when their are no longer any
726 child processes running.
728 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
730 * forkedcall.h: docy fix
731 change SignalType second type to be const ref.
733 * forkedcall.C: doxy fix
735 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
737 * lyxsum.C: compilation fix
739 2002-03-02 Herbert Voss <voss@perce.de>
741 * filetools.C: fix bug for xbm format and added some more debug
744 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
746 * forkedcontr.h: make constructor public
748 * types.h: remove layout_type
750 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
752 * filetools.C (getExtFromContents): cleanup.
754 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
756 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
758 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
759 building outside of source tree.
761 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
764 * forkedcontr.[Ch]: new files. Asger's forked call controller is
765 re-born, with a working timer and a modified interface. The
766 startscript method is now passed a Signal rather than a pointer
767 to a callback function. This enables us to connect to the method of
768 a C++ class, if we so desire.
770 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
772 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
777 * nt_defines.h: moved from src/
779 2002-02-23 Herbert Voss <voss@perce.de>
781 * filetools.C: added more graphic formats
783 2002-02-18 Herbert Voss <voss@perce.de>
785 * filetools.C: (getExtFromContents) return the fileextension
786 if no format is detected.
788 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
790 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
791 as class SystemCall because one Systemcall instance represents a
792 single child process.
795 * Makefile.am: associated changes.
797 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
799 * syscall.C (Systemcalls): include <cstdlib>
801 2002-02-08 Herbert Voss <voss@perce.de>
803 * filetools.C: (getExtFromContents) adding Grace-format
806 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
809 * syssingleton.C: files removed.
811 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
812 uses it. Strip down the Systemcalls interface to make it brutally
813 obvious how unsophisticated it is.
815 2002-02-08 Herbert Voss <voss@perce.de>
817 * filetools.C: (getExtFromContents) adding TGIF-format
818 and return type "user" when no type is detected
820 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
822 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
824 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
826 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
828 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
830 * FileInfo.h: remove special cygwin code.
832 * filetools.C (do_popen): use os::read_mode().
834 * os_win32.C (read_mode):
835 * os_os2.C (read_mode):
836 * os_unix.C (read_mode): new method
838 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
839 Hentschel). This code should maybe be moved to os:: class.
841 2002-02-08 Herbert Voss <voss@perce.de>
843 * filetools.C: (unzipFile) fix typo
845 2002-02-06 Herbert Voss <voss@perce.de>
847 * filetools.[Ch]: fix some bugs for detecting zipped files
850 2002-02-04 Herbert Voss <voss@perce.de>
852 * filetools.[Ch]: add ifZippedFile() for zipped
855 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
857 * filetools.C (FileOpenSearch): remove duplicated line, probably
858 resulting from bad cut-and paste.
860 2002-01-31 Herbert Voss <voss@perce.de>
862 * filetools.[Ch]: add getExtFromContents(), which returns
863 the type of the (graphic) file
865 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
867 * copy.C (copy): open file in binary mode (for cygwin)
869 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
871 * lyxsum.C: remove #warnings and replaced them with runtime debug
874 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
876 * lyxalgo.h: include <algorithm>
878 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
880 * lyx_algo.h: add a standard-conforming count to namespace lyx.
882 * lstrings.[Ch] (countChar): removed. Use lyx::count.
884 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
886 * filetools.C: fix use of FileInfo
889 * FileInfo.C: add Asserts and documentation
891 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
893 * os_win32.C: compilation fixes
895 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
897 * lstrings.h: do not include <cctype>
899 2001-12-12 Ben Stanley <bds02@uow.edu.au>
901 * lyxsum.C: portability fix for mmap patch
903 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
907 * lyxstring.C: change "while(" to "while ("
909 2001-12-03 Ben Stanley <bds02@uow.edu.au>
911 * lyxsum.C: Added mmap version of CRC and made it selected
912 by default where available. Used process_block for crc for speedup.
914 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
916 * filetools.C: more robust failure for DirList()
918 2001-11-29 André Pönitz <poenitz@gmx.net>
920 * types.h: introduce types for textclass numbers and layout numbers
922 2001-11-28 André Pönitz <poenitz@gmx.net>
924 * Makefile.am: put types.h in
926 2001-11-26 André Pönitz <poenitz@gmx.net>
928 * types.h: introduce types for paragraph positions and layout numbers
930 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
932 * filetools.C: remove dead code
934 * syscall.C: show prog in fail case
936 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
938 * filetools.C: code style cleanup
940 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
942 * os.h: remove spurious punctuation.
944 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
947 * LAssert.C: use new emergencyCleanup()
949 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
951 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
952 like GNU gettext does.
954 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
956 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
958 (findtexfile): oops! the change from last friday was wrong...
960 * os_win32.C (is_absolute_path):
961 * os_unix.C (is_absolute_path):
962 * os_os2.C (is_absolute_path): new method
964 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
966 * filetools.C (findtexfile): apply os::internal_path to the result.
968 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
973 * os.h: add internal_path method, which converts a unix-type file
974 name to the type known to the underlying file system (currently
975 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
977 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
979 * smart_ptr.h: new file
981 * utility.h: new file
983 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
986 * filetools.C (IsDirWriteable): fix this
988 2001-07-26 Baruch Even <baruch@lyx.org>
990 * lyxlib.h (float_equal): Added function to compare floats almost equal
991 (see function comment).
993 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
995 Consistent use of Lsstream.h:
996 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
998 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1000 * translator.h: (*it). -> it->
1002 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1004 * filetools.C (DeleteAllFilesInDir): send debug output to
1005 Debug::FILES instewad of Debug::ANY.
1007 * DebugStream.h: remove gcc 2.8.x hack.
1009 2001-06-26 The LyX Project <jug@sad.it>
1012 * lstrings.C (escape): move method to escape non ascii characters
1013 from insets label and ref to here.
1015 2001-06-25 The LyX Project <jug@sad.it>
1017 * filetools.C (IsLyXFilename):
1018 (IsSGMLFilename): do case insensitive name matching
1020 2001-06-24 The LyX Project <jug@sad.it>
1022 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1023 which only considers case of ascii characters
1025 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1028 2001-06-23 The LyX Project <jug@sad.it>
1030 * textutils.h (IsPrintable): take into account unprintable spaces
1032 (IsDigit): new function
1033 (IsLetterCharOrDigit): use IsDigit
1035 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1037 * filetools.C (findtexfile): strip final \r if necessary (for
1040 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1043 * StrPool.C: removed // -*- C++ -*- as first line.
1045 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1047 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1050 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1055 * LSubstring.C: bring C functions in global namespace if
1058 * lstrings.h (compare): use the std:: version of str[n]cmp only
1061 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1063 * syscontr.C: add std::
1065 * syscall.C: add std::
1067 * lstrings.h (compare): add std::
1069 * lstrings.C (prefixIs): add std::
1073 * LSubstring.C (LSubstring): add std::
1075 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1077 * lyxsum.C (sum): use istreambuf_iterator when available.
1079 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1081 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1084 * lyxstring.C (operator): make const operator[] behave as
1087 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1089 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1091 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1093 * filetools.C (MakeAbsPath): remove debugging statement
1095 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1097 * FileInfo.h: X_OK workaround for cygwin
1106 * filetools.h: Added os:: class.
1110 * tempname.C: OS/2 fixes
1112 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1114 * textutils.h: remvoe !NEW_INSETS cruft
1116 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1119 * atoi.C: add using directives when needed for C functions
1120 declared in std:: namespace.
1122 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1124 * lstrings.C : add two helper structs, local_lowercase and
1126 (lowercase): change to use std::transform
1127 (uppercase): change to use std::transform
1129 2001-04-25 Allan Rae <rae@lyx.org>
1131 * lyxstring.C : Assert got moved and Lars missed a few.
1133 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1135 * LAssert.h (Assert): put into namespace lyx
1137 * lyxfunctional.h: put into namespace lyx
1138 * translator.h: adjust
1140 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1142 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1144 * FileInfo.h: inherit privately from noncopyable
1147 2001-04-16 Allan Rae <rae@lyx.org>
1149 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1150 as an unrecognised preprocessor directive. So ensure they're wrapped.
1152 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1154 * several files: remove CXX_WORKING_NAMESPACES
1156 * FileInfo.h: noncopyable is in namespace boost
1159 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1161 * syscontr.h: fix header include
1163 2001-02-28 Baruch Even <baruch@ev-en.org>
1165 * filetools.C: Removed dependency on syscall.h
1168 * syscall.C: Minor cleanings before I start to touch this code.
1170 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1172 * filetools.C (CreateTmpDir): change umask to 0700.
1174 2001-02-27 José Matos <jamatos@fep.up.pt>
1176 * filetools.h (BasePath):
1177 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1179 * filetools.C (IsLyXFilename):
1180 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1183 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1187 * atoi.C: remove cruft
1189 2001-02-06 albert chin <china@thewrittenword.com>
1192 * fmt.C: use HAVE_DECL_SNPRINTF
1194 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1196 * lyxstring.C: Fix some assertions.
1198 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1200 * lstrings.C (strip): Add a fix for compilers with broken
1201 string::find_last_not_of.
1203 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1205 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1207 * lyxstring.C (rfind): Fix broken functions.
1208 (find): Few optimizations.