1 2003-09-11 Angus Leeming <leeming@lyx.org>
4 * copied_ptr.h: added to the repository. Maybe temporarily.
6 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
8 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
10 * several files: change Assert to BOOST_ASSERT
13 * LAssert.h: remove files
15 2003-09-08 Angus Leeming <leeming@lyx.org>
18 * filetools.C: tell the world where to find author contact details.
20 2003-09-08 Angus Leeming <leeming@lyx.org>
26 * lyxsum.C: remove redundant using directives.
28 2003-09-05 Angus Leeming <leeming@lyx.org>
30 * lstrings.C: small bformat fix
32 2003-09-05 Angus Leeming <leeming@lyx.org>
34 * std_istream.h: new file Just renaming of LIstream.h
35 * std_ostream.h: new file Just renaming of LIstream.h
36 * std_sstream.h: new file Just renaming of Lsstream.h
37 * std_string.h: new file Just renaming of LString.h
39 2003-09-05 Angus Leeming <leeming@lyx.org>
43 ensure that the header file can be compiled stand-alone.
45 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
47 * lstrings.[Ch] (bformat): add a variant taking two ints.
49 2003-09-04 Angus Leeming <leeming@lyx.org>
52 * filename.C: move #include "os.h" out of the header file.
54 2003-09-04 Angus Leeming <leeming@lyx.org>
56 * path.C (ctor, dtor): move out of line.
58 2003-09-03 Angus Leeming <leeming@lyx.org>
60 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
61 (mangledFilename): new function, returning a mangled version of the
62 absolute file name, suitable for use in the temp dir when, for example,
63 converting an image file to another format.
64 (isZipped, unzippedFilename): wrappers to global functions.
66 * filetools.[Ch] (copyFileToDir): removed.
67 (compare_timestamps): new function.
69 2003-09-03 Angus Leeming <leeming@lyx.org>
71 * translator.h: Assert is in namespace lyx::support...
73 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
75 * Makefile.am: do not install path_defines.C in includes
76 (COMPRESSION): mention gzstream.h here
78 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
80 * path_defines.C.in (setLyxPaths): re-introduce the code to check
81 whether lyx is run in place
82 (build_dir): renamed from build_lyxdir
83 (build_lyxdir): give this better semantics compatible with what
84 LibFileSearch expects.
86 2003-07-29 Angus Leeming <leeming@lyx.org>
88 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
89 defaults to string() because MakeRelPath can accept that.
91 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
93 * Makefile.am: conditionalize USE_COMPRESSION.
95 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
97 * filetools.C (getExtFromContents): correct magic for gzip and
100 * path_defines.[Ch]: move lyx_localedir out of anon namespace
102 * gzstream.h: new fileq
104 * gzstream.C: new file
106 2003-07-27 Angus Leeming <leeming@lyx.org>
108 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
109 user_lyxdir): are now functions, not global vars.
111 * Makefile.am: set build_lyxdir at make time.
113 2003-07-27 Angus Leeming <leeming@lyx.org>
115 * path_defines.{h,C.in}: new files. Store/set the various lyx
116 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
119 * Makefile.am: add some magic to enable the user to set the path to
120 the system-level lyx support files, the top of the lyx build tree
121 and the system-level lyx locale directory at _make_ time rather
124 * .cvsignore: add path_defines.C.
126 2003-07-26 Angus Leeming <leeming@lyx.org>
128 * os.h: remove irrelevant discussion of system_tempdir.
130 2003-07-21 Angus Leeming <leeming@lyx.org>
132 * filename.[Ch]: new files implementing class FileName.
133 * Makefile.am: add filename.[Ch].
135 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
137 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
138 not allow it (at least not in this form.)
140 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
142 * os_win32.C: put namespace os in lyx::support.
144 * lstrings.C (bformat): call Assert from correct namespace.
146 * introduce namespace lyx::support
148 2003-06-30 André Pönitz <poenitz@gmx.net>
151 * lstrings.C: re-enable --with-included-string
153 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
155 * filetools.h: fix some \param issue
157 * boost-inst.C: fix \file
159 * LAssert.h: fix \file
161 2003-06-20 Angus Leeming <leeming@lyx.org>
163 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
165 2003-06-18 Angus Leeming <leeming@lyx.org>
167 * many files: add the standard blurb, "This file is part of LyX" etc
169 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
171 * limited_stack.h: make it have a const_iterator, add begin, and
174 2003-06-10 Angus Leeming <leeming@lyx.org>
176 * filetools.C (copyFileToDir): ensure that temp files have unique names.
178 2003-06-04 André Pönitz <poenitz@gmx.net>
180 * limited_stack.h (top): return reference instead of value
182 2003-06-02 Angus Leeming <leeming@lyx.org>
184 * filetools.[Ch] (copyFileToDir): new helper function.
186 * os.h: remove trailing semi-colon from end of namespace os block.
188 2003-06-01 Angus Leeming <leeming@lyx.org>
190 * filetools.h (LibScriptSearch): give the function a meaningful
191 description of what it now does.
193 2003-05-30 Angus Leeming <leeming@lyx.org>
195 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
196 this with the path to the script. If the script is not found, the "$$s/"
199 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
201 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
204 2003-05-19 André Pönitz <poenitz@gmx.net>
206 * lstrings.C: add missing implementation of three-arg bformat
208 * lstrings.C: change rest of char * fmt -> string const & fmt
211 2003-05-15 André Pönitz <poenitz@gmx.net>
213 * lstrings.[Ch]: use string const & instead of char const * for format
215 2003-05-12 André Pönitz <poenitz@gmx.net>
217 * tostr.[Ch]: add long int overload
219 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
221 * lstrings.[Ch]: compile fix
223 2003-05-12 André Pönitz <poenitz@gmx.net>
225 * lstrings.[Ch]: bformat() as wrapper around boost::format
227 * lyxstring.h: enable templatized constructor
229 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
231 * limited_stack.h: Change some comments, simplify a couple of
234 2003-02-21 André Pönitz <poenitz@gmx.net>
236 * limited_stack.h: change underlying container to deque to
237 make this re-usable in mathed
239 2003-04-08 John Levon <levon@movementarian.org>
241 * filetools.C: fix MakeDisplayPath() to not
244 2003-03-30 John Levon <levon@movementarian.org>
248 * boost-inst.C: moved from src/
250 2003-03-29 John Levon <levon@movementarian.org>
253 * filetools.C: never call Alert directly from here
255 2003-03-12 John Levon <levon@movementarian.org>
257 * textutils.h: remove META_NEWLINE
259 2003-02-27 Ling Li <ling@caltech.edu>
261 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
264 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
266 * forkedcontr.C (timer): remove bogus continue
268 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
270 * forkedcallqueue.[Ch]: added
272 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
274 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
275 Emiting the signal can result in an arbitrary change to the list.
277 2003-02-25 Angus Leeming <leeming@lyx.org>
279 * forkedcontr.C (timer): Use a while loop rather than for; makes it
280 easier to erase an element.
282 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
284 * forkedcontr.C (timer): don't start a running timer.
286 2003-02-21 André Pönitz <poenitz@gmx.net>
288 * filetools.C (PutEnv): removed (unused)
290 2003-02-17 John Levon <levon@movementarian.org>
293 * forkedcall.C: add running()
295 2003-02-08 John Levon <levon@movementarian.org>
299 * lyxtime.C: add typedef for time_t, add current_time
305 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
307 * filetools.C (getExtFromContents): remove detection of epsi
309 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
311 * several files: ws changes
313 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
315 * filetools.C (DirList): remove all ugly hacks and do it nice
317 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
319 * lyxsum.C: an ugly hack to compile with non-gnu linkers
321 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
323 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
324 a solution that he likes and which actually works.
326 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
328 * lstrings.h (tostr): STRCONV
330 * lstrings.C (regexMatch): STRCONV
331 (getVectorFromString): STRCONV, manual copy into vector
333 * filetools.C (GetFileContents): STRCONV
335 * os.C: include config.h
337 * lstrings.C (getVectorFromString): rewrite to use
340 2002-10-31 Angus Leeming <leeming@lyx.org>
342 * forkedcall.C (generateChild): clean it up further.
344 2002-10-25 Angus Leeming <leeming@lyx.org>
346 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
347 and a minimal ForkedCall daughter class.
349 * forkedcontr.[Ch]: minimal changes reflecting the use of a
350 ForkedProcess base class responsible for launching all child proceses.
352 2002-09-25 Angus Leeming <leeming@lyx.org>
355 * LOstream.h: doxygen fixes.
357 2002-09-24 Angus Leeming <leeming@lyx.org>
359 * most files: clean-up the license info.
361 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
363 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
365 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
367 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
368 since at least for Cygwin, the "rb" read_mode acceptable for
369 fopen() is illegal for popen(), whose mode argument *must* be "r"
372 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
375 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
377 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
380 * smart_ptr.h: remove file
383 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
385 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
386 class_fun and void_class_fun
388 2002-08-20 John Levon <levon@movementarian.org>
393 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
395 * textutils.h: formatting.
397 2002-08-08 John Levon <levon@movementarian.org>
399 * limited_stack.h: default to 100 not 10
401 2002-08-01 John Levon <levon@movementarian.org>
403 * forkedcall.C: more details on error
405 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
407 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
408 also add a trim function that is the equiv of
409 strip(frontStrip(...)), also reimplement the functions
410 (improvements still possible.)
412 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
413 * forkedcall.C (generateChild): ditto
417 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
419 * filetools.C (GetEnvPath): modify because of strip changes
420 (createDirectory): ditto
422 * lstrings.[Ch] (isStrInt): ditto
423 (isStrUnsignedInt): ditto
425 (strToUnsignedInt): ditto
427 (contains): removed unneeded version of contains
428 (containsOnly): removed uneeded versions of containsOnly
429 (strip, frontStrip): removed unneded versions, changed argument types.
431 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
433 * filetools.C (RunCommand): Made public
435 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
437 * limited_stack.h: fix comment, remove un-needed header
439 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
441 * lstrings.h: correct comments for token and tokenPos
443 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
445 * lyxstring.C (operator>>): replace code which works only with
446 _some_ versions of GNU STL with generic one
448 2002-07-18 Angus Leeming <leeming@lyx.org>
450 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
451 signal should it do so.
453 * Makefile.am: add FileMonitor.[Ch].
455 2002-07-18 André Pönitz <poenitz@gmx.net>
457 * filetools.C (LibScriptSearch): bug fix
459 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
461 * filetools.C (LyXReadLink): add bool 'resolve' to return link
462 contents as an absolute path
464 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
466 * filetools.C (IsLyXFilename):
467 (IsSGMLFilename): use ascii_lowercase instead of lowercase
469 * lstrings.[Ch] (ascii_lowercase): new function
471 2002-07-16 André Pönitz <poenitz@gmx.net>
473 * FileInfo.Ch: remove unneeded code
475 2002-06-20 Herbert Voss <voss@perce.de>
477 * filetools.[C] (readExtFromContents): add support for
480 2002-06-26 André Pönitz <poenitz@gmx.net>
482 * filetools.[Ch]: small whitespace, more compact 'return' statement
484 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
486 * lyxalgo.h: add eliminate_duplicates
488 2002-06-17 Herbert Voss <voss@perce.de>
490 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
491 (readBB_lyxerrMessage) to get better lyxerr messages
492 (getExtFromContents) test epsi files in the right way
494 * DestroxLyXTmpDir.C: changed to true, to delete the
495 temporary unzipped files, too.
497 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
499 * putenv.C (putenv): putenv should never be found in std::
501 * kill.C (kill): kill should never be found in std::
503 * filetools.C: pclose and popen should never be found in std::
505 2002-06-07 Angus Leeming <leeming@lyx.org>
507 Fixes needed to compile with Compaq cxx 6.5.
508 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
509 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
510 more than one instance of overloaded function "lyx::class_fun" matches
520 all c-library variables have been moved into namespace std.
521 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
523 * kill.C: rename signal.h as csignal.
525 * putenv.C: rename stdlib.h as cstdlib
527 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
529 * lxtl.h: remove unused file
531 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
538 * StrPool.C: remove unused files
548 * types.h: document and small cleanups
550 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
552 * switch from SigC signals to boost::signals.
554 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
557 * limited_stack.h: new template for limited-size
560 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
562 * filetools.C: do not include LSubstring.h
564 * lstrings.C: change include order
565 (regexMatch): use boost regex get rid of LRegex and LSubstring
567 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
570 * LSubstring.h: remove file
575 * LSubstring.C: ditto
577 2002-05-24 Juergen Vigna <jug@sad.it>
579 * lyxsum.C: include local includes first (self containment)
581 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
583 * forkedcall.h: use more specific smart_ptr header.
585 * lyxsum.C: move some using declarations around.
587 2002-05-03 Herbert Voss <voss@perce.de>
589 * filetools.C (getExtFromContents): only print the first 60 chars of
590 the scanned-string when debugging.
592 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
594 * lyxstring.C: close to typo fix.
596 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
598 * filetools.C: add a using std::getline directive.
600 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
602 * lyxstring.C (operator>>): try a new version of the operator>>
604 2002-04-14 Herbert Voss <voss@perce.de>
606 * lstrings.[Ch]: move the getVectorFromString and the vice versa
607 from frontends/controllers/helper_funcs for better use in other
610 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
612 * tempname.C (make_tempfile): simplify the #ifdef block by using
613 #if defined and re-write the #warning as a #error because it's terminal.
615 2002-04-08 Herbert Voss <voss@perce.de>
617 * filetools.C (getExtFromContents): get tgif run
619 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
621 * filetools.C (getExtFromContents): re-format a little and remove
622 replicated "sgi" entry.
624 2002-04-07 Herbert Voss <voss@perce.de>
626 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
627 for the lyx-view in graphics (moved from ControlGraphics)
629 2002-04-07 Herbert Voss <voss@perce.de>
631 * filetools.C: fix bug for eps. scans now a whole line
633 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
635 * lyxstring.C (operator>>): use the better solution, this fixes a
636 "not able to read '\0'" bug.
638 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
640 * translator.h: add missing typename
642 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
644 * filetools.C (LibScriptSearch): new command. Searches for scripts
645 in lyx data directories.
646 (LibScriptSearch): try to use split() correctly.
648 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
650 * most files: ws cleanup
652 * Makefile.am: remove ld -r stuff
654 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
656 * Makefile.am (libsupport.la): special rules if partial linking
658 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
660 * forkedcontr.C: turn the timer off when their are no longer any
661 child processes running.
663 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
665 * forkedcall.h: docy fix
666 change SignalType second type to be const ref.
668 * forkedcall.C: doxy fix
670 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
672 * lyxsum.C: compilation fix
674 2002-03-02 Herbert Voss <voss@perce.de>
676 * filetools.C: fix bug for xbm format and added some more debug
679 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
681 * forkedcontr.h: make constructor public
683 * types.h: remove layout_type
685 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
687 * filetools.C (getExtFromContents): cleanup.
689 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
691 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
693 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
694 building outside of source tree.
696 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
699 * forkedcontr.[Ch]: new files. Asger's forked call controller is
700 re-born, with a working timer and a modified interface. The
701 startscript method is now passed a Signal rather than a pointer
702 to a callback function. This enables us to connect to the method of
703 a C++ class, if we so desire.
705 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
707 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
712 * nt_defines.h: moved from src/
714 2002-02-23 Herbert Voss <voss@perce.de>
716 * filetools.C: added more graphic formats
718 2002-02-18 Herbert Voss <voss@perce.de>
720 * filetools.C: (getExtFromContents) return the fileextension
721 if no format is detected.
723 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
725 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
726 as class SystemCall because one Systemcall instance represents a
727 single child process.
730 * Makefile.am: associated changes.
732 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
734 * syscall.C (Systemcalls): include <cstdlib>
736 2002-02-08 Herbert Voss <voss@perce.de>
738 * filetools.C: (getExtFromContents) adding Grace-format
741 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
744 * syssingleton.C: files removed.
746 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
747 uses it. Strip down the Systemcalls interface to make it brutally
748 obvious how unsophisticated it is.
750 2002-02-08 Herbert Voss <voss@perce.de>
752 * filetools.C: (getExtFromContents) adding TGIF-format
753 and return type "user" when no type is detected
755 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
757 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
759 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
761 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
763 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
765 * FileInfo.h: remove special cygwin code.
767 * filetools.C (do_popen): use os::read_mode().
769 * os_win32.C (read_mode):
770 * os_os2.C (read_mode):
771 * os_unix.C (read_mode): new method
773 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
774 Hentschel). This code should maybe be moved to os:: class.
776 2002-02-08 Herbert Voss <voss@perce.de>
778 * filetools.C: (unzipFile) fix typo
780 2002-02-06 Herbert Voss <voss@perce.de>
782 * filetools.[Ch]: fix some bugs for detecting zipped files
785 2002-02-04 Herbert Voss <voss@perce.de>
787 * filetools.[Ch]: add ifZippedFile() for zipped
790 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
792 * filetools.C (FileOpenSearch): remove duplicated line, probably
793 resulting from bad cut-and paste.
795 2002-01-31 Herbert Voss <voss@perce.de>
797 * filetools.[Ch]: add getExtFromContents(), which returns
798 the type of the (graphic) file
800 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
802 * copy.C (copy): open file in binary mode (for cygwin)
804 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
806 * lyxsum.C: remove #warnings and replaced them with runtime debug
809 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
811 * lyxalgo.h: include <algorithm>
813 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
815 * lyx_algo.h: add a standard-conforming count to namespace lyx.
817 * lstrings.[Ch] (countChar): removed. Use lyx::count.
819 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
821 * filetools.C: fix use of FileInfo
824 * FileInfo.C: add Asserts and documentation
826 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
828 * os_win32.C: compilation fixes
830 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
832 * lstrings.h: do not include <cctype>
834 2001-12-12 Ben Stanley <bds02@uow.edu.au>
836 * lyxsum.C: portability fix for mmap patch
838 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
842 * lyxstring.C: change "while(" to "while ("
844 2001-12-03 Ben Stanley <bds02@uow.edu.au>
846 * lyxsum.C: Added mmap version of CRC and made it selected
847 by default where available. Used process_block for crc for speedup.
849 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
851 * filetools.C: more robust failure for DirList()
853 2001-11-29 André Pönitz <poenitz@gmx.net>
855 * types.h: introduce types for textclass numbers and layout numbers
857 2001-11-28 André Pönitz <poenitz@gmx.net>
859 * Makefile.am: put types.h in
861 2001-11-26 André Pönitz <poenitz@gmx.net>
863 * types.h: introduce types for paragraph positions and layout numbers
865 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
867 * filetools.C: remove dead code
869 * syscall.C: show prog in fail case
871 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
873 * filetools.C: code style cleanup
875 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
877 * os.h: remove spurious punctuation.
879 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
882 * LAssert.C: use new emergencyCleanup()
884 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
886 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
887 like GNU gettext does.
889 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
891 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
893 (findtexfile): oops! the change from last friday was wrong...
895 * os_win32.C (is_absolute_path):
896 * os_unix.C (is_absolute_path):
897 * os_os2.C (is_absolute_path): new method
899 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
901 * filetools.C (findtexfile): apply os::internal_path to the result.
903 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
908 * os.h: add internal_path method, which converts a unix-type file
909 name to the type known to the underlying file system (currently
910 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
912 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
914 * smart_ptr.h: new file
916 * utility.h: new file
918 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
921 * filetools.C (IsDirWriteable): fix this
923 2001-07-26 Baruch Even <baruch@lyx.org>
925 * lyxlib.h (float_equal): Added function to compare floats almost equal
926 (see function comment).
928 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
930 Consistent use of Lsstream.h:
931 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
933 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
935 * translator.h: (*it). -> it->
937 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
939 * filetools.C (DeleteAllFilesInDir): send debug output to
940 Debug::FILES instewad of Debug::ANY.
942 * DebugStream.h: remove gcc 2.8.x hack.
944 2001-06-26 The LyX Project <jug@sad.it>
947 * lstrings.C (escape): move method to escape non ascii characters
948 from insets label and ref to here.
950 2001-06-25 The LyX Project <jug@sad.it>
952 * filetools.C (IsLyXFilename):
953 (IsSGMLFilename): do case insensitive name matching
955 2001-06-24 The LyX Project <jug@sad.it>
957 * lstrings.C (compare_ascii_no_case): version of compare_no_case
958 which only considers case of ascii characters
960 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
963 2001-06-23 The LyX Project <jug@sad.it>
965 * textutils.h (IsPrintable): take into account unprintable spaces
967 (IsDigit): new function
968 (IsLetterCharOrDigit): use IsDigit
970 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
972 * filetools.C (findtexfile): strip final \r if necessary (for
975 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
978 * StrPool.C: removed // -*- C++ -*- as first line.
980 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
982 * lyxsum.C (do_crc): switch to use boost::crc for generating the
985 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
990 * LSubstring.C: bring C functions in global namespace if
993 * lstrings.h (compare): use the std:: version of str[n]cmp only
996 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
998 * syscontr.C: add std::
1000 * syscall.C: add std::
1002 * lstrings.h (compare): add std::
1004 * lstrings.C (prefixIs): add std::
1008 * LSubstring.C (LSubstring): add std::
1010 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1012 * lyxsum.C (sum): use istreambuf_iterator when available.
1014 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1016 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1019 * lyxstring.C (operator): make const operator[] behave as
1022 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1024 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1026 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1028 * filetools.C (MakeAbsPath): remove debugging statement
1030 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1032 * FileInfo.h: X_OK workaround for cygwin
1041 * filetools.h: Added os:: class.
1045 * tempname.C: OS/2 fixes
1047 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1049 * textutils.h: remvoe !NEW_INSETS cruft
1051 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1054 * atoi.C: add using directives when needed for C functions
1055 declared in std:: namespace.
1057 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1059 * lstrings.C : add two helper structs, local_lowercase and
1061 (lowercase): change to use std::transform
1062 (uppercase): change to use std::transform
1064 2001-04-25 Allan Rae <rae@lyx.org>
1066 * lyxstring.C : Assert got moved and Lars missed a few.
1068 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1070 * LAssert.h (Assert): put into namespace lyx
1072 * lyxfunctional.h: put into namespace lyx
1073 * translator.h: adjust
1075 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1077 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1079 * FileInfo.h: inherit privately from noncopyable
1082 2001-04-16 Allan Rae <rae@lyx.org>
1084 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1085 as an unrecognised preprocessor directive. So ensure they're wrapped.
1087 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1089 * several files: remove CXX_WORKING_NAMESPACES
1091 * FileInfo.h: noncopyable is in namespace boost
1094 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1096 * syscontr.h: fix header include
1098 2001-02-28 Baruch Even <baruch@ev-en.org>
1100 * filetools.C: Removed dependency on syscall.h
1103 * syscall.C: Minor cleanings before I start to touch this code.
1105 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1107 * filetools.C (CreateTmpDir): change umask to 0700.
1109 2001-02-27 José Matos <jamatos@fep.up.pt>
1111 * filetools.h (BasePath):
1112 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1114 * filetools.C (IsLyXFilename):
1115 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1118 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1122 * atoi.C: remove cruft
1124 2001-02-06 albert chin <china@thewrittenword.com>
1127 * fmt.C: use HAVE_DECL_SNPRINTF
1129 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1131 * lyxstring.C: Fix some assertions.
1133 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1135 * lstrings.C (strip): Add a fix for compilers with broken
1136 string::find_last_not_of.
1138 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1140 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1142 * lyxstring.C (rfind): Fix broken functions.
1143 (find): Few optimizations.