+2005-04-25 Angus Leeming <leeming@lyx.org>
+
+ * abort.C:
+ * atexit.c:
+ * forkedcall.[Ch]:
+ * forkedcontr.[Ch]:
+ * fs_extras.[Ch]:
+ * gzstream.[Ch]:
+ * kill.C:
+ * lyxsum.C:
+ * os2_defines.h:
+ * pch.h:
+ * tempname.C:
+ * userinfo.C:
+ include <config.h> in .C files, not .h ones.
+ add licence blurb.
+ protect headers inside preprocessor guards.
+
+2005-04-25 Angus Leeming <leeming@lyx.org>
+
+ * globbing.[Ch]: removed to frontends/xforms.
+
+ * Makefile.am: associated change.
+
+2005-04-24 Angus Leeming <leeming@lyx.org>
+
+ * userinfo.C (user_name): add Windows-specific code.
+
+2005-04-22 Angus Leeming <leeming@lyx.org>
+
+ * package.C.in (get_binary_path): on prompting from Rob Bearman,
+ ensure that the name of the executable, as input at the command
+ line has a ".exe" suffix so that various file interogations
+ work on Windows.
+
+2005-04-22 Angus Leeming <leeming@lyx.org>
+
+ * forkedcontr.h:
+ * forkedcall.h: remove pid_t definition to config.h.
+
+2005-04-21 Angus Leeming <leeming@lyx.org>
+
+ * forkedcontr.h:
+ * forkedcall.h: define pid_t for MSVC.
+
+ * forkedcall.C (kill): work around evil MSVC max macro.
+
+2005-04-21 Angus Leeming <leeming@lyx.org>
+
+ * forkedcontr.C: add #include <csignal>.
+
+ * filetools.C (RunCommand): remove the signal blocking stuff
+ now that we no longer use a signal handler on unix.
+
+2005-04-19 Angus Leeming <leeming@lyx.org>
+
+ * filetools.C: remove unnecessary #include of forkedcontr.h.
+
+ * forkedcall.C: protect system-specific headers with preprocessor
+ guards.
+ (running): don't call waitpid() on Windows.
+ (waitForChild): add Windows-specific code to wait for a child process
+ to finish.
+ (generateChild): add Windows-specific code to spawn the child in the
+ first place.
+
+ * forkedcontr.[Ch]:Revert back to the LyX 1.3.x version of the code
+ to spawn a child process asynchronously. Do this because 'issues'
+ remain with the SIGCHLD handling code on *nix and because there's no
+ easy way to implement such a monitor on Windows. Explicit polling,
+ as in Lyx 1.3.x, is safe, robust and works on both platforms.
+
+2005-04-19 Angus Leeming <leeming@lyx.org>
+
+ * package.C.in (get_temp_dir): call GetLongPathName on Windows.
+
+2005-04-19 Angus Leeming <leeming@lyx.org>
+
+ * pch.h: protect unix-specific headers from breaking compilation
+ on Windows.
+
+2005-04-17 Angus Leeming <leeming@lyx.org>
+
+ * filetools.C (MakeDisplayPath): invoke os::external_path before
+ returning path.
+
+ * os_win32.C (external_path): convert '/' chars to '\'.
+
+ * filetools.[Ch] (latex_path): new function which modifies
+ an input path containing space and '~' characters into something that
+ LaTeX can understand.
+
+2005-04-17 Angus Leeming <leeming@lyx.org>
+
+ * forkedcall.C (generateChild): do not strip quotes from args on
+ Windows.
+ Wrap lyxerr output inside an if (lyxerr.debugging(Debug::FILES))
+ block.
+
+2005-03-23 Angus Leeming <leeming@lyx.org>
+
+ * Makefile.am (build_package): Solaris sed does not like
+ spaces bewteen the ;-delimited commands.
+
+2005-02-25 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * Makefile.am (CLEANFILES): clean generated files
+
+2005-02-17 Angus Leeming <leeming@lyx.org>
+
+ * copy.C (copy): Pass the ios::in flag to the ifstream constructor.
+ Enables copying to work when the code is compiled with the gcc 2.95
+ compiler and stdlib.
+
+2005-02-15 Angus Leeming <leeming@lyx.org>
+
+ * environment.C: add missing #include.
+ (setEnvPath): compare iterators rather than use tellp().
+
+2005-02-15 Angus Leeming <leeming@lyx.org>
+
+ * environment.[Ch]: new files. Move the environment setter/getter
+ functions here from filetools.[Ch]. In the process:
+ rename GetEnv as getEnv.
+ rename putEnv as setEnv. Change the signature of the function
+ to take a pair of arguments (a name and a value) rather than the
+ existing coded "name=value" single argument. Merge the putenv.C
+ code into setEnv.
+
+ * lyxlib.h (putenv): remove declaration.
+ * putenv.C: removed.
+
+ * Makefile.am: add environment.[Ch]. Remove putenv.C.
+
+ * filetools.[Ch]: remove environment setter/getter functions.
+
+ * os_os2.C (init): s/GetEnvPath/getEnvPath/. Left over from an
+ earlier change.
+
+ * package.C.in (get_home_dir, extract_env_var_dir):
+ * userinfo.C (user_email): s/GetEnv/getEnv/.
+
+2005-02-03 Angus Leeming <leeming@lyx.org>
+
+ * forkedcall.C (running): call the lyx::kill wrapper function
+ rather than the system kill.
+
+2005-02-02 Angus Leeming <leeming@lyx.org>
+
+ * forkedcall.C (generateChild): overhaul the code to split a string
+ into an argv array of words. Now respects simple quoting reasonably
+ well.
+
+2005-02-01 Angus Leeming <leeming@lyx.org>
+
+ * fs_extras.C: #include <windows.h>
+
+2005-01-31 Angus Leeming <leeming@lyx.org>
+
+ * package.[Ch] (init_package, c-tor): define and use an enum to
+ specify explicitly the location of the top level build directory
+ when the executable is run in-place.
+
+2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * fs_extras.C: add changes from Asger's Win32 patch.
+
+2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
+
+ * chdir.C (chdir):
+ * getcwd.C (l_getcwd):
+ * kill.C (kill):
+ * mkdir.C (mkdir): add Win32 specializations.
+
+ * os_win32.h: remove cruft.
+
+2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * Makefile.am (libsupport_la_SOURCES): remove rmdir.C
+
+ * rmdir.C: delete file
+
+ * lyxlib.h: remove rmdir decl
+
+2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * .cvsignore: add package.C
+
+ * FileInfo.C, FileInfo.h: delete files
+
+ * fs_extras.C, fs_extras.h: new files
+
+ * FileMonitor.C, filetools.C: rewrite to use boost.filesystem
+
+ * Makefile.am (libsupport_la_SOURCES: delete FileInfo.[Ch], add
+ fs_extras.[Ch]
+
+ * filetools.C: make destroydir return true if something was
+ deleted. adjust callers.
+ (IsFileWritable): replace with is_readonly in fs_extras, adjust
+ callers
+
+ * package.C.in: rewrite to use boost.filesystem
+
+2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * tests: add some code for automatic regression testing, can be
+ improved or removed as we see fit
+
+ * lyxlib.h (atoi): delete func
+
+ * lstrings.[Ch] (strToInt): delete func
+ (strToUnsignedInt): delete func
+ (strToDbl): delete func
+
+ * Makefile.am: add subdir tests, delete atoi.C
+
+ * atoi.C: delete file
+
+ * convert.C: add specializations for converting to int, unsigned
+ int, double from string, and for converting to int and double from
+ char const *
+
+ * convert.h: remove commented code
+
+2005-01-22 Angus Leeming <leeming@lyx.org>
+
+ * path.C (Path): revert the patch since the if statement has side
+ effects that are needed for the code to work :-(
+
+2005-01-21 Angus Leeming <leeming@lyx.org>
+
+ * os_cygwin.C, os_win32.C: strip the Cygwin-specific stuff out of
+ os_win32.C and give it its own file.
+
+ * os.C: #include "os_cygwin.C" if building on Cygwin.
+
+2005-01-20 Angus Leeming <leeming@lyx.org>
+
+ * lyxlib.h (float_equal): promote parameters to double.
+
+ * path.C (Path): silence MSVC warning about block of code that
+ does nothing.
+
+2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
+
+ * FileInfo.h, chdir.C, forkedcall.C, forkedcontr.C, getcwd.C,
+ mkdir.C, os_defines.h, pch.h, rmdir.C, unlink.C:
+ use the HAVE_UNISTD_H preprocessor guard.
+
+2005-01-20 Angus Leeming <leeming@lyx.org>
+
+ * filetools.[Ch] (LibScriptSearch): modify the code that replaces
+ the $$s placeholder with a path, so that it now inserts the path
+ of the lyx support directory, not the scripts subdirectory.
+
+2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
+
+ * lyxsum.C, socktools.C, tempname.C, userinfo.C: use the
+ HAVE_UNISTD_H preprocessor guard.
+
+2005-01-17 Angus Leeming <leeming@lyx.org>
+
+ * os_win32.C (init): Add Ruurd's original code to close the
+ console window that Windows opens for us, together with a note
+ explaining the alternative approach.
+
+2005-01-17 Angus Leeming <leeming@lyx.org>
+
+ * package.C.in (get_binary_path): convert relative paths stored
+ in the PATH environment variable to absolute ones.
+
+2005-01-16 Angus Leeming <leeming@lyx.org>
+
+ * filetools.[Ch] (prependEnvPath): prepend a list of paths to
+ that returned by the environment variable. Identical paths occurring
+ later in the list are removed.
+
+2005-01-16 Angus Leeming <leeming@lyx.org>
+
+ * filetools.C (createLyXTmpDir): add some missing brackets to the
+ if-block. OS/2 users will be happier.
+
+2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
+
+ * os_win32.C (external_path): Check the new cygwin_path_fix_ bool
+ before translating external paths to Win32 paths.
+
+2005-01-13 Angus Leeming <leeming@lyx.org>
+
+ * os.h, os_os2.C, os_unix.C, os_win32.C (cygwin_path_fix): new
+ function flagging whether LyX should output native Win32 paths
+ or cygwin paths. Obviously operative only under Cygwin.
+
+2005-01-13 Angus Leeming <leeming@lyx.org>
+
+ * package.C.in: use "%n$s" rather than "%n%" for n=1,2,3... when
+ calling bformat so that the substitutions work for the non
+ boost::format users too.
+
+2005-01-12 Angus Leeming <leeming@lyx.org>
+
+ * filetools.[Ch] (setEnvPath): new function to create a PATH-style
+ string from a vector of paths and to use it to set an environment
+ variable.
+ (putEnv): resurrect this from the grave.
+
+ * os.h, os_os2.C, os_unix.C, os_win32.C (path_separator): new
+ function returning the character used to separate paths returned
+ by the PATH environment variable.
+
+ * os_win32.C: add #include "lstring.h" back in.
+
+ * package.C.in (package): comment out the ASSERT for now.
+ (check_env_var_dir): write one of the strings to be translated
+ (any one, doesn't matter) on a single line so that the
+ gettext search mechanism in po/Makefile.in.in will register
+ package.C.in as a file containing strings that need translation.
+
+2005-01-10 Angus Leeming <leeming@lyx.org>
+
+ * os.h:
+ * os_os2.C:
+ * os_unix.C:
+ * os_win32.C (binpath, binname, homepath, setTmpDir, getTmpDir, warn):
+ removed. Remove also all code to set the associated data variables.
+
+ * package.{C.in,h}: new files to ascertain the paths to the
+ various directories used by LyX. Does nothing with these paths,
+ just determines the strings themselves.
+
+ * path_defines.{C.in,h}: removed.
+
+ * Makefile.am: remove path_defines.{C.in,h}. Add package.{C.in,h}.
+
+ * filetools.[Ch] (GetEnvPath): remove.
+ (getEnvPath): replacement. Returns a vector<string> of paths.
+
+ * filetools.C:
+ * tempname.C: use support/package.h to provide the paths to the
+ various directories used by LyX.
+
+2005-01-07 Angus Leeming <leeming@lyx.org>
+
+ * convert.C (string>): add specialization for long.
+
+2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * convert.h: remove the specializations, don't included unneeded
+ headers
+ * convert.C: add specialization for unsigned long
+
+2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * tostr.[Ch]: renamed to convert[ch]
+
+2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * lstrings.[Ch]: change bformat to be a template
+
+ * tostr.[Ch]: tostr -> convert, convert is a template
+
+ * tempname.C:
+ * filetools.C (createBufferTmpDir): tostr -> convert
+
+2005-01-05 Angus Leeming <leeming@lyx.org>
+
+ * os_win32.C (external_path, internal_path): s/MAX_PATH/PATH_MAX/.
+
+2005-01-04 Angus Leeming <leeming@lyx.org>
+
+ * os_win32.C (current_root): use _getdrive on Win32.
+
+ * FileInfo.C (FileInfo, newFile): strip the trailing '/' from
+ the stored file name as it breaks Window's version of stat().
+ (isLink): protect the code with #ifdef S_ISLNK.
+ (dostat): protect the code with #ifdef HAVE_LSTAT.
+ (typeIndicator): remove code testing the file's executable status.
+
+ * filetools.C (LyXReadLink): protect the code with
+ #ifdef HAVE_READLINK.
+
+2005-01-01 Kayvan Sylvan <kayvan@sylvan.com>
+
+ * os_win32.C (internal_path): remove the call to MakeLatexName as
+ it is (1) unnecessary and (2) leads to an infinite loop as
+ MakeLatexName calls AddName which calls internal_path...
+
+2004-12-19 Angus Leeming <leeming@lyx.org>
+
+ * path_defines.C.in (setLyxPaths): on a Windows build,
+ remove the ".exe" extension from the name of the LyX binary when
+ trying to ascertain the name of the LyX system directory.
+ (Usually, <path to binary>/../share/<name of binary>/).
+
+ * os.h, os_os2.C, os_unix.C, os_win32.C (slashify_path): remove.
+
+ * os_win32.C (init): ensure that the name of the lyx executable is
+ stored internally with a unix-style path.
+
+ * os_win32.C (internal_path, external_path): differentiate between
+ cygwin and windows builds.
+
+ * filetools.C (FileOpenSearch, GetEnvPath, createDirectory,
+ MakeAbsPath, AddName, MakeRelPath, ChangeExtension):
+ * filename.C (mangledFilename):
+ s/slashify_path/internal_path/.
+
+2004-12-16 Angus Leeming <leeming@lyx.org>
+
+ * filename.C (mangledFilename): Given a Windows-style path, don't
+ forget to mangle the drive letter too when generating a unique
+ temporary file name.
+
+2004-12-16 Angus Leeming <leeming@lyx.org>
+
+ * mkdir.C: move the HAVE_MKDIR conditional code out of config.h
+ and into here.
+
+2004-12-15 Angus Leeming <leeming@lyx.org>
+
+ * FileInfo.[Ch] (getNumberOfLinks): removed.
+
+2004-12-15 Angus Leeming <leeming@lyx.org>
+
+ * tempname.C: #include fcntl.h and sys/stat.h if creating a temp
+ file using mktemp and open.
+
+2004-12-14 Angus Leeming <leeming@lyx.org>
+
+ * os.h, os_os2.C, os_unix.C, os_win32.C:
+ (binpath, binname, getTmpDir): return a const reference rather than
+ a copy of the data.
+ (homepath, nulldev): new functions returning the name of "HOME" and
+ the null device, respectively.
+
+ * filetools.C: (ExpandPath, MakeDisplayPath):
+ * path_defines.C.in (setLyxPaths): use os::homepath(), not
+ GetEnvPath("HOME").
+
+2004-12-14 Angus Leeming <leeming@lyx.org>
+
+ * os.h, os_{os2,unix,win32}.C (init): change interface to no longer
+ pass the addresses of the parameters received by main.
+
+2004-12-14 Angus Leeming <leeming@lyx.org>
+
+ * copy.C (copy): open the ifstream with ios::binary.
+
+2004-12-14 Angus Leeming <leeming@lyx.org>
+
+ * os.C: Add _WIN32 to the #define.
+
+ * systemcall.C (startscript): remove trailing '/n' from request to
+ start the command in a minimized window under DOS.
+
+2004-12-14 Angus Leeming <leeming@lyx.org>
+
+ * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
+ to overcome bug in the MinGW port of g++ 3.4.2.
+
+2004-11-26 Angus Leeming <leeming@lyx.org>
+
+ * globbing.[Ch] (glob): change API to:
+ 1. Append matches to the input container.
+ 2. Require a working_dir parameter. The function invokes chdir
+ internally (through use of Path).
+
+2004-11-26 Angus Leeming <leeming@lyx.org>
+
+ * filefilterlist.C (convert_brace_glob): moved here from
+ globbing.[Ch].
+
+ * filefilterlist.[Ch]: clean-up FileFilterList API.
+
+ * globbing.[Ch] (convert_brace_glob): moved to filefilterlist.C.
+ (expand_globs): moved to xforms/FormFiledialog.C.
+
+2004-11-25 Angus Leeming <leeming@lyx.org>
+
+ * filefilterlist.[Ch]:
+ * globbing.[Ch]: split FileFilterList into its own .[Ch] files.
+
+ * Makefile.am: add filefilterlist.[Ch].
+
+2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * textutils.h (isKommaChar): remove
+
+2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * forkedcontr.C (find_pid): simplify and also make pass concept
+ checks.
+ (handleCompletedProcesses): make sure that we do not slice the
+ object and satisfy concept checks.
+
+2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * filetools.[Ch] (getFormatFromContents): don't guess format from
+ extension, return string() instead of "user" if the format could
+ not be determined
+
+2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * Make it clearer where include files are coming from.
+
+2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * translator.h: use bind, equal_to instead of equal_1st_in_pair
+ and equal_2nd_in_pair
+
+ * Makefile.am (libsupport_la_SOURCES): remove lyxfunctional.h
+ * lyxfunctional.h: delete file
+
+ * lyxfunctional.h: delete compare_memfun and helper classes
+
+ * forkedcontr.C (find_pid): use bind, equal_to instead of
+ compare_memfun
+
+ * lyxfunctional.h: delete back_inserter_fun functions and helper
+ classes.
+
+2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * snprintf.[ch]: removed
+
+ * Makefile.am (libsupport_la_SOURCES): remove snprintf
+
+2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * filetools.[Ch] (getExtFromContents): rename to
+ getFormatFromContents and return always a format
+
+2004-10-25 Angus Leeming <leeming@lyx.org>
+
+ * forkedcall.C (generateChild): strip quotes from each argument
+ of argv.
+
2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
* pch.h: use proper signal include