lyx_mirror/src/support/ChangeLog
Angus Leeming dbd3cb42c5 Make ReplaceEnvironmentPath work for both ${HOME}/foo and $HOME/foo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7838 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-29 21:44:34 +00:00

1197 lines
31 KiB
Plaintext

2003-09-29 Angus Leeming <leeming@lyx.org>
* filetools.C (ReplaceEnvironmentPath): make it work for both
${HOME}/foo and $HOME/foo.
2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
* debugstream.h: add file, updated version of the DebugStream
* DebugStream.C,DebugStream.h: delete files
2003-09-25 Angus Leeming <leeming@lyx.org>
* filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
* lstrings.[Ch]: (regexMatch): removed.
2003-09-25 Angus Leeming <leeming@lyx.org>
* translator.h (add): new member function.
2003-09-16 Angus Leeming <leeming@lyx.org>
* textutils.h: remove #include "paragraph.h". Remove functions
IsInsetChar and IsWordChar.
2003-09-15 Angus Leeming <leeming@lyx.org>
* copied_ptr.h: re-jig to something that resembles Herb Sutter's
HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
his book as ValuePtr.
Use a memory_traits template parameter to create/destroy memory in a
flexible manner.
2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
* tostr.C:
* lstrings.C:
* filetools.C: Remove usage of STRCONV
* Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
lyxstring.h
* std_string.h: modify to always work with std::string, but if
with-included-string then use it through namespace lyx. Remove
STRCONV.
* lyxstring.[Ch]: remove files
2003-09-15 Angus Leeming <leeming@lyx.org>
* translator.h: add #include <boost/assert.hpp>, so that the
template is self-contained.
2003-09-11 Angus Leeming <leeming@lyx.org>
* cow_ptr.h:
* copied_ptr.h: added to the repository. Maybe temporarily.
2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
* Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
* several files: change Assert to BOOST_ASSERT
* LAssert.C:
* LAssert.h: remove files
2003-09-08 Angus Leeming <leeming@lyx.org>
* filename.C:
* filetools.C: tell the world where to find author contact details.
2003-09-08 Angus Leeming <leeming@lyx.org>
* boost-inst.C:
* filetools.C:
* forkedcallqueue.C:
* lstrings.C:
* lyxsum.C: remove redundant using directives.
2003-09-05 Angus Leeming <leeming@lyx.org>
* lstrings.C: small bformat fix
2003-09-05 Angus Leeming <leeming@lyx.org>
* std_istream.h: new file Just renaming of LIstream.h
* std_ostream.h: new file Just renaming of LIstream.h
* std_sstream.h: new file Just renaming of Lsstream.h
* std_string.h: new file Just renaming of LString.h
2003-09-05 Angus Leeming <leeming@lyx.org>
* lyxmanip.h:
* textutils.h:
ensure that the header file can be compiled stand-alone.
2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
* lstrings.[Ch] (bformat): add a variant taking two ints.
2003-09-04 Angus Leeming <leeming@lyx.org>
* filetools.h:
* filename.C: move #include "os.h" out of the header file.
2003-09-04 Angus Leeming <leeming@lyx.org>
* path.C (ctor, dtor): move out of line.
2003-09-03 Angus Leeming <leeming@lyx.org>
* filename.[Ch] (FileName): new c-tor takes abs_filename arg.
(mangledFilename): new function, returning a mangled version of the
absolute file name, suitable for use in the temp dir when, for example,
converting an image file to another format.
(isZipped, unzippedFilename): wrappers to global functions.
* filetools.[Ch] (copyFileToDir): removed.
(compare_timestamps): new function.
2003-09-03 Angus Leeming <leeming@lyx.org>
* translator.h: Assert is in namespace lyx::support...
2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* Makefile.am: do not install path_defines.C in includes
(COMPRESSION): mention gzstream.h here
2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* path_defines.C.in (setLyxPaths): re-introduce the code to check
whether lyx is run in place
(build_dir): renamed from build_lyxdir
(build_lyxdir): give this better semantics compatible with what
LibFileSearch expects.
2003-07-29 Angus Leeming <leeming@lyx.org>
* filename.[Ch] (relFilename, outputFilename): the 'path' arg
defaults to string() because MakeRelPath can accept that.
2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
* Makefile.am: conditionalize USE_COMPRESSION.
2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
* filetools.C (getExtFromContents): correct magic for gzip and
compress.
* path_defines.[Ch]: move lyx_localedir out of anon namespace
* gzstream.h: new fileq
* gzstream.C: new file
2003-07-27 Angus Leeming <leeming@lyx.org>
* path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
user_lyxdir): are now functions, not global vars.
* Makefile.am: set build_lyxdir at make time.
2003-07-27 Angus Leeming <leeming@lyx.org>
* path_defines.{h,C.in}: new files. Store/set the various lyx
paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
user_lyxdir.
* Makefile.am: add some magic to enable the user to set the path to
the system-level lyx support files, the top of the lyx build tree
and the system-level lyx locale directory at _make_ time rather
than configure time.
* .cvsignore: add path_defines.C.
2003-07-26 Angus Leeming <leeming@lyx.org>
* os.h: remove irrelevant discussion of system_tempdir.
2003-07-21 Angus Leeming <leeming@lyx.org>
* filename.[Ch]: new files implementing class FileName.
* Makefile.am: add filename.[Ch].
2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
* BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
not allow it (at least not in this form.)
2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
* os_win32.C: put namespace os in lyx::support.
* lstrings.C (bformat): call Assert from correct namespace.
* introduce namespace lyx::support
2003-06-30 André Pönitz <poenitz@gmx.net>
* filetools.C:
* lstrings.C: re-enable --with-included-string
2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
* filetools.h: fix some \param issue
* boost-inst.C: fix \file
* LAssert.h: fix \file
2003-06-20 Angus Leeming <leeming@lyx.org>
* filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
2003-06-18 Angus Leeming <leeming@lyx.org>
* many files: add the standard blurb, "This file is part of LyX" etc
2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
* limited_stack.h: make it have a const_iterator, add begin, and
end as interface.
2003-06-10 Angus Leeming <leeming@lyx.org>
* filetools.C (copyFileToDir): ensure that temp files have unique names.
2003-06-04 André Pönitz <poenitz@gmx.net>
* limited_stack.h (top): return reference instead of value
2003-06-02 Angus Leeming <leeming@lyx.org>
* filetools.[Ch] (copyFileToDir): new helper function.
* os.h: remove trailing semi-colon from end of namespace os block.
2003-06-01 Angus Leeming <leeming@lyx.org>
* filetools.h (LibScriptSearch): give the function a meaningful
description of what it now does.
2003-05-30 Angus Leeming <leeming@lyx.org>
* filetools.C (LibScriptSearch): make it search for "$$s/" and replace
this with the path to the script. If the script is not found, the "$$s/"
string is removed.
2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
* lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
char const *.
2003-05-19 André Pönitz <poenitz@gmx.net>
* lstrings.C: add missing implementation of three-arg bformat
* lstrings.C: change rest of char * fmt -> string const & fmt
2003-05-15 André Pönitz <poenitz@gmx.net>
* lstrings.[Ch]: use string const & instead of char const * for format
2003-05-12 André Pönitz <poenitz@gmx.net>
* tostr.[Ch]: add long int overload
2003-05-12 Alfredo Braunstein <abraunst@libero.it>
* lstrings.[Ch]: compile fix
2003-05-12 André Pönitz <poenitz@gmx.net>
* lstrings.[Ch]: bformat() as wrapper around boost::format
* lyxstring.h: enable templatized constructor
2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
* limited_stack.h: Change some comments, simplify a couple of
class functions.
2003-02-21 André Pönitz <poenitz@gmx.net>
* limited_stack.h: change underlying container to deque to
make this re-usable in mathed
2003-04-08 John Levon <levon@movementarian.org>
* filetools.C: fix MakeDisplayPath() to not
lie (bug 993)
2003-03-30 John Levon <levon@movementarian.org>
* Makefile.am:
* BoostFormat.h:
* boost-inst.C: moved from src/
2003-03-29 John Levon <levon@movementarian.org>
* filetools.h:
* filetools.C: never call Alert directly from here
2003-03-12 John Levon <levon@movementarian.org>
* textutils.h: remove META_NEWLINE
2003-02-27 Ling Li <ling@caltech.edu>
* lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
sort.
2003-02-25 Alfredo Braunstein <abraunst@libero.it>
* forkedcontr.C (timer): remove bogus continue
2003-02-25 Alfredo Braunstein <abraunst@libero.it>
* forkedcallqueue.[Ch]: added
2003-02-25 Alfredo Braunstein <abraunst@libero.it>
* forkedcontr.C (timer): Start the loop afresh if an item is deleted.
Emiting the signal can result in an arbitrary change to the list.
2003-02-25 Angus Leeming <leeming@lyx.org>
* forkedcontr.C (timer): Use a while loop rather than for; makes it
easier to erase an element.
2003-02-25 Alfredo Braunstein <abraunst@libero.it>
* forkedcontr.C (timer): don't start a running timer.
2003-02-21 André Pönitz <poenitz@gmx.net>
* filetools.C (PutEnv): removed (unused)
2003-02-17 John Levon <levon@movementarian.org>
* forkedcall.h:
* forkedcall.C: add running()
2003-02-08 John Levon <levon@movementarian.org>
* Makefile.am:
* lyxtime.h:
* lyxtime.C: add typedef for time_t, add current_time
* Makefile.am:
* userinfo.h:
* userinfo.C: add
2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* filetools.C (getExtFromContents): remove detection of epsi
2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
* several files: ws changes
2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
* filetools.C (DirList): remove all ugly hacks and do it nice
2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxsum.C: an ugly hack to compile with non-gnu linkers
2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
* lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
a solution that he likes and which actually works.
2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
* lstrings.h (tostr): STRCONV
* lstrings.C (regexMatch): STRCONV
(getVectorFromString): STRCONV, manual copy into vector
* filetools.C (GetFileContents): STRCONV
* os.C: include config.h
* lstrings.C (getVectorFromString): rewrite to use
boost::tokenizer
2002-10-31 Angus Leeming <leeming@lyx.org>
* forkedcall.C (generateChild): clean it up further.
2002-10-25 Angus Leeming <leeming@lyx.org>
* forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
and a minimal ForkedCall daughter class.
* forkedcontr.[Ch]: minimal changes reflecting the use of a
ForkedProcess base class responsible for launching all child proceses.
2002-09-25 Angus Leeming <leeming@lyx.org>
* LIstream.h:
* LOstream.h: doxygen fixes.
2002-09-24 Angus Leeming <leeming@lyx.org>
* most files: clean-up the license info.
2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
* Makefile.am (INCLUDES): loose SIGC_INCLUDES
2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
* os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
since at least for Cygwin, the "rb" read_mode acceptable for
fopen() is illegal for popen(), whose mode argument *must* be "r"
or "w".
* filetools.C (RunCommand): Uses os::popen_read_mode() instead
of os::read_mode()
2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
* Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
utility.h
* smart_ptr.h: remove file
* utility.h: ditto
2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
* lyxfunctional.h: remove class_fun_t, void_class_fun_t,
class_fun and void_class_fun
2002-08-20 John Levon <levon@movementarian.org>
* Makefile.am:
* fmt.C: remove
2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
* textutils.h: formatting.
2002-08-08 John Levon <levon@movementarian.org>
* limited_stack.h: default to 100 not 10
2002-08-01 John Levon <levon@movementarian.org>
* forkedcall.C: more details on error
2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
* lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
also add a trim function that is the equiv of
strip(frontStrip(...)), also reimplement the functions
(improvements still possible.)
* filetools.C: strip,frontStrip -> trim,ltrim,rtrim
* forkedcall.C (generateChild): ditto
* lstrings.C: ditto
2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
* filetools.C (GetEnvPath): modify because of strip changes
(createDirectory): ditto
(findtexfile): ditto
* lstrings.[Ch] (isStrInt): ditto
(isStrUnsignedInt): ditto
(strToInt): ditto
(strToUnsignedInt): ditto
(isStrDbl): ditto
(contains): removed unneeded version of contains
(containsOnly): removed uneeded versions of containsOnly
(strip, frontStrip): removed unneded versions, changed argument types.
2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
* filetools.C (RunCommand): Made public
2002-07-22 John Levon <moz@compsoc.man.ac.uk>
* limited_stack.h: fix comment, remove un-needed header
2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lstrings.h: correct comments for token and tokenPos
2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
* lyxstring.C (operator>>): replace code which works only with
_some_ versions of GNU STL with generic one
2002-07-18 Angus Leeming <leeming@lyx.org>
* FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
signal should it do so.
* Makefile.am: add FileMonitor.[Ch].
2002-07-18 André Pönitz <poenitz@gmx.net>
* filetools.C (LibScriptSearch): bug fix
2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* filetools.C (LyXReadLink): add bool 'resolve' to return link
contents as an absolute path
2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* filetools.C (IsLyXFilename):
(IsSGMLFilename): use ascii_lowercase instead of lowercase
* lstrings.[Ch] (ascii_lowercase): new function
2002-07-16 André Pönitz <poenitz@gmx.net>
* FileInfo.Ch: remove unneeded code
2002-06-20 Herbert Voss <voss@perce.de>
* filetools.[C] (readExtFromContents): add support for
(x)fig format images
2002-06-26 André Pönitz <poenitz@gmx.net>
* filetools.[Ch]: small whitespace, more compact 'return' statement
2002-06-19 John Levon <moz@compsoc.man.ac.uk>
* lyxalgo.h: add eliminate_duplicates
2002-06-17 Herbert Voss <voss@perce.de>
* filetools.[C]: (readBB_from_PSFile) add a helperfunc
(readBB_lyxerrMessage) to get better lyxerr messages
(getExtFromContents) test epsi files in the right way
* DestroxLyXTmpDir.C: changed to true, to delete the
temporary unzipped files, too.
2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
* putenv.C (putenv): putenv should never be found in std::
* kill.C (kill): kill should never be found in std::
* filetools.C: pclose and popen should never be found in std::
2002-06-07 Angus Leeming <leeming@lyx.org>
Fixes needed to compile with Compaq cxx 6.5.
* lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
more than one instance of overloaded function "lyx::class_fun" matches
the argument list.
* filetools.C:
* kill.C:
* lstrings.C:
* putenv.C:
* snprintf.h:
* systemcall.C:
* utility.h:
all c-library variables have been moved into namespace std.
Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
* kill.C: rename signal.h as csignal.
* putenv.C: rename stdlib.h as cstdlib
2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lxtl.h: remove unused file
2002-05-30 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am:
* date.C:
* getUserName.C:
* fileblocks.c:
* StrPool.h:
* StrPool.C: remove unused files
* lyxalgo.h:
* lyxlib.h:
* mkdir.C:
* path.h:
* path.C:
* systemcall.C:
* textutils.h:
* translator.h:
* types.h: document and small cleanups
2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
* switch from SigC signals to boost::signals.
2002-05-26 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am:
* limited_stack.h: new template for limited-size
stacks
2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
* filetools.C: do not include LSubstring.h
* lstrings.C: change include order
(regexMatch): use boost regex get rid of LRegex and LSubstring
* Makefile.am (libsupport_la_SOURCES): delete regex and substring
stuff.
* LSubstring.h: remove file
* regex.c: ditto
* lyxregex.h: ditto
* LRegex.C: ditto
* LRegex.h: ditto
* LSubstring.C: ditto
2002-05-24 Juergen Vigna <jug@sad.it>
* lyxsum.C: include local includes first (self containment)
2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
* forkedcall.h: use more specific smart_ptr header.
* lyxsum.C: move some using declarations around.
2002-05-03 Herbert Voss <voss@perce.de>
* filetools.C (getExtFromContents): only print the first 60 chars of
the scanned-string when debugging.
2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxstring.C: close to typo fix.
2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
* filetools.C: add a using std::getline directive.
2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxstring.C (operator>>): try a new version of the operator>>
2002-04-14 Herbert Voss <voss@perce.de>
* lstrings.[Ch]: move the getVectorFromString and the vice versa
from frontends/controllers/helper_funcs for better use in other
programs
2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
* tempname.C (make_tempfile): simplify the #ifdef block by using
#if defined and re-write the #warning as a #error because it's terminal.
2002-04-08 Herbert Voss <voss@perce.de>
* filetools.C (getExtFromContents): get tgif run
2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
* filetools.C (getExtFromContents): re-format a little and remove
replicated "sgi" entry.
2002-04-07 Herbert Voss <voss@perce.de>
* filetools.[Ch]: add readBB_from_PSFile() to make bb available
for the lyx-view in graphics (moved from ControlGraphics)
2002-04-07 Herbert Voss <voss@perce.de>
* filetools.C: fix bug for eps. scans now a whole line
2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxstring.C (operator>>): use the better solution, this fixes a
"not able to read '\0'" bug.
2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
* translator.h: add missing typename
2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* filetools.C (LibScriptSearch): new command. Searches for scripts
in lyx data directories.
(LibScriptSearch): try to use split() correctly.
2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
* most files: ws cleanup
* Makefile.am: remove ld -r stuff
2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
* Makefile.am (libsupport.la): special rules if partial linking
2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
* forkedcontr.C: turn the timer off when their are no longer any
child processes running.
2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
* forkedcall.h: docy fix
change SignalType second type to be const ref.
* forkedcall.C: doxy fix
2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
* lyxsum.C: compilation fix
2002-03-02 Herbert Voss <voss@perce.de>
* filetools.C: fix bug for xbm format and added some more debug
infos
2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
* forkedcontr.h: make constructor public
* types.h: remove layout_type
2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
* filetools.C (getExtFromContents): cleanup.
* forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* Makefile.am (SIGC_INCLUDES): add a -I directive for when
building outside of source tree.
2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
* forkedcall.[Ch]:
* forkedcontr.[Ch]: new files. Asger's forked call controller is
re-born, with a working timer and a modified interface. The
startscript method is now passed a Signal rather than a pointer
to a callback function. This enables us to connect to the method of
a C++ class, if we so desire.
* Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
2002-02-26 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am:
* os2_defines.h:
* os2_errortable.h:
* nt_defines.h: moved from src/
2002-02-23 Herbert Voss <voss@perce.de>
* filetools.C: added more graphic formats
2002-02-18 Herbert Voss <voss@perce.de>
* filetools.C: (getExtFromContents) return the fileextension
if no format is detected.
2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
* syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
as class SystemCall because one Systemcall instance represents a
single child process.
* filetools.C:
* Makefile.am: associated changes.
2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* syscall.C (Systemcalls): include <cstdlib>
2002-02-08 Herbert Voss <voss@perce.de>
* filetools.C: (getExtFromContents) adding Grace-format
for filetypes
2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
* syscontr.[Ch]:
* syssingleton.C: files removed.
* syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
uses it. Strip down the Systemcalls interface to make it brutally
obvious how unsophisticated it is.
2002-02-08 Herbert Voss <voss@perce.de>
* filetools.C: (getExtFromContents) adding TGIF-format
and return type "user" when no type is detected
2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* textutils.h: remove IsLineSeparatorChar(char, Inset *)
2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
* os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* FileInfo.h: remove special cygwin code.
* filetools.C (do_popen): use os::read_mode().
* os_win32.C (read_mode):
* os_os2.C (read_mode):
* os_unix.C (read_mode): new method
* filetools.C (do_popen): fix for cygwin compatibility (from Claus
Hentschel). This code should maybe be moved to os:: class.
2002-02-08 Herbert Voss <voss@perce.de>
* filetools.C: (unzipFile) fix typo
2002-02-06 Herbert Voss <voss@perce.de>
* filetools.[Ch]: fix some bugs for detecting zipped files
adding unzipFile()
2002-02-04 Herbert Voss <voss@perce.de>
* filetools.[Ch]: add ifZippedFile() for zipped
graphic files
2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* filetools.C (FileOpenSearch): remove duplicated line, probably
resulting from bad cut-and paste.
2002-01-31 Herbert Voss <voss@perce.de>
* filetools.[Ch]: add getExtFromContents(), which returns
the type of the (graphic) file
2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* copy.C (copy): open file in binary mode (for cygwin)
2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lyxsum.C: remove #warnings and replaced them with runtime debug
info.
2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lyxalgo.h: include <algorithm>
2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
* lyx_algo.h: add a standard-conforming count to namespace lyx.
* lstrings.[Ch] (countChar): removed. Use lyx::count.
2002-01-05 John Levon <moz@compsoc.man.ac.uk>
* filetools.C: fix use of FileInfo
* FileInfo.h:
* FileInfo.C: add Asserts and documentation
2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
* os_win32.C: compilation fixes
2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lstrings.h: do not include <cctype>
2001-12-12 Ben Stanley <bds02@uow.edu.au>
* lyxsum.C: portability fix for mmap patch
2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
* filetools.C:
* lstrings.C:
* lyxstring.C: change "while(" to "while ("
2001-12-03 Ben Stanley <bds02@uow.edu.au>
* lyxsum.C: Added mmap version of CRC and made it selected
by default where available. Used process_block for crc for speedup.
2001-12-01 John Levon <moz@compsoc.man.ac.uk>
* filetools.C: more robust failure for DirList()
2001-11-29 André Pönitz <poenitz@gmx.net>
* types.h: introduce types for textclass numbers and layout numbers
2001-11-28 André Pönitz <poenitz@gmx.net>
* Makefile.am: put types.h in
2001-11-26 André Pönitz <poenitz@gmx.net>
* types.h: introduce types for paragraph positions and layout numbers
2001-11-04 John Levon <moz@compsoc.man.ac.uk>
* filetools.C: remove dead code
* syscall.C: show prog in fail case
2001-10-24 Andre Poenitz <poenitz@HTWM.De>
* filetools.C: code style cleanup
2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
* os.h: remove spurious punctuation.
2001-10-19 John Levon <moz@compsoc.man.ac.uk>
* LAssert.h:
* LAssert.C: use new emergencyCleanup()
2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
like GNU gettext does.
2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
several methods)
(findtexfile): oops! the change from last friday was wrong...
* os_win32.C (is_absolute_path):
* os_unix.C (is_absolute_path):
* os_os2.C (is_absolute_path): new method
2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* filetools.C (findtexfile): apply os::internal_path to the result.
2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
* os_win32.C:
* os_unix.C:
* os_os2.C:
* os.h: add internal_path method, which converts a unix-type file
name to the type known to the underlying file system (currently
only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
* smart_ptr.h: new file
* utility.h: new file
2001-08-01 John Levon <moz@compsoc.man.ac.uk>
* filetools.h:
* filetools.C (IsDirWriteable): fix this
2001-07-26 Baruch Even <baruch@lyx.org>
* lyxlib.h (float_equal): Added function to compare floats almost equal
(see function comment).
2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
Consistent use of Lsstream.h:
* filetools.C (GetFileContents): std::ostringstream -> ostringstream.
2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
* translator.h: (*it). -> it->
2001-06-26 The LyX Project <lyx@violet.home.sad.it>
* filetools.C (DeleteAllFilesInDir): send debug output to
Debug::FILES instewad of Debug::ANY.
* DebugStream.h: remove gcc 2.8.x hack.
2001-06-26 The LyX Project <jug@sad.it>
* lstrings.h:
* lstrings.C (escape): move method to escape non ascii characters
from insets label and ref to here.
2001-06-25 The LyX Project <jug@sad.it>
* filetools.C (IsLyXFilename):
(IsSGMLFilename): do case insensitive name matching
2001-06-24 The LyX Project <jug@sad.it>
* lstrings.C (compare_ascii_no_case): version of compare_no_case
which only considers case of ascii characters
* lyxstring.C (replace): added for compatibility with gcc 2.95.3+
sstream header.
2001-06-23 The LyX Project <jug@sad.it>
* textutils.h (IsPrintable): take into account unprintable spaces
above 127.
(IsDigit): new function
(IsLetterCharOrDigit): use IsDigit
2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* filetools.C (findtexfile): strip final \r if necessary (for
cygwin)
2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
* FileInfo.C:
* StrPool.C: removed // -*- C++ -*- as first line.
2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxsum.C (do_crc): switch to use boost::crc for generating the
checksum.
2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lstrings.C:
* syscall.C:
* syscontr.C:
* LSubstring.C: bring C functions in global namespace if
necessary.
* lstrings.h (compare): use the std:: version of str[n]cmp only
when it exists.
2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
* syscontr.C: add std::
* syscall.C: add std::
* lstrings.h (compare): add std::
* lstrings.C (prefixIs): add std::
(suffixIs): ditto
(subst): ditto
* LSubstring.C (LSubstring): add std::
2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxsum.C (sum): use istreambuf_iterator when available.
2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxsum.C (sum): don't use sstream anymore, use istream_iterator
directly instead.
* lyxstring.C (operator): make const operator[] behave as
non-const and at.
2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* Makefile.am (EXTRA_DIST): add the os_*.C files.
2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* filetools.C (MakeAbsPath): remove debugging statement
2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
* FileInfo.h: X_OK workaround for cygwin
* Makefile.am:
* os.C:
* os.h:
* os_os2.C:
* os_unix.C:
* os_win32.C:
* filetools.C:
* filetools.h: Added os:: class.
* rename.C:
* syscall.C:
* tempname.C: OS/2 fixes
2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
* textutils.h: remvoe !NEW_INSETS cruft
2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* fmt.C:
* atoi.C: add using directives when needed for C functions
declared in std:: namespace.
2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lstrings.C : add two helper structs, local_lowercase and
local_uppercase.
(lowercase): change to use std::transform
(uppercase): change to use std::transform
2001-04-25 Allan Rae <rae@lyx.org>
* lyxstring.C : Assert got moved and Lars missed a few.
2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
* LAssert.h (Assert): put into namespace lyx
* lyxfunctional.h: put into namespace lyx
* translator.h: adjust
2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxalgo.h: put into namespace lyx, add firster and copy_if
* FileInfo.h: inherit privately from noncopyable
* path.h: ditto
2001-04-16 Allan Rae <rae@lyx.org>
* tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
as an unrecognised preprocessor directive. So ensure they're wrapped.
2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
* several files: remove CXX_WORKING_NAMESPACES
* FileInfo.h: noncopyable is in namespace boost
* path.h: ditto
2001-02-16 John Levon <moz@compsoc.man.ac.uk>
* syscontr.h: fix header include
2001-02-28 Baruch Even <baruch@ev-en.org>
* filetools.C: Removed dependency on syscall.h
* syscall.h:
* syscall.C: Minor cleanings before I start to touch this code.
2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
* filetools.C (CreateTmpDir): change umask to 0700.
2001-02-27 José Matos <jamatos@fep.up.pt>
* filetools.h (BasePath):
* filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
* filetools.C (IsLyXFilename):
* filetools.C (IsSGMLFilename): test if extension is suffix and not
only contained.
2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
* fmt.C:
* filetools.C:
* atoi.C: remove cruft
2001-02-06 albert chin <china@thewrittenword.com>
* snprintf.h:
* fmt.C: use HAVE_DECL_SNPRINTF
2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
* lyxstring.C: Fix some assertions.
2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
* lstrings.C (strip): Add a fix for compilers with broken
string::find_last_not_of.
* filetools.C (AddPath): Simplify by using strip and frontStrip.
2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
* lyxstring.C (rfind): Fix broken functions.
(find): Few optimizations.