]> git.lyx.org Git - lyx.git/blobdiff - src/support/ChangeLog
An improved HAVE_MKDIR patch that compiles also with MinGW.
[lyx.git] / src / support / ChangeLog
index 4486ef7ca18334eaafd4b3008bc3fcbfd9710bdb..0587d5d46253e286a6b584f8ca1809778403436b 100644 (file)
@@ -1,3 +1,379 @@
+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
+
+       * forkedcallqueue.C: remove unused include
+
+       * FileMonitor.h: Use the preferred calling for Boost.Signal
+       * forkedcall.h: ditto
+
+       * FileMonitor.C: use the new signal typedef
+
+2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * forkedcall.h: remove include of <boost/function/funtion0.hpp>
+       * pch.h: ditto
+
+2004-09-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * textutils.h (IsLetterCharOrDigit): remove
+
+2004-09-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * filetools.C (LibScriptSearch): quote the path of the script, in
+       case it contains spaces
+
+2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * tostr.C: reimplement using lexical_cast
+
+2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * pch.h: do not use include boost/format.hpp, multiple symbols
+       will result (gcc bug)
+
+2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * pch.h: new file
+
+       * Makefile.am: support pch
+
+2004-08-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * globbing.C (FileFilterList): make sure that "All files (*)" is
+       always part of the filters list
+
+2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * tostr.C, lstrings.C, globbing.C, filetools.C: change
+       "support/std_sstream.h" to <sstream>
+
+       * Makefile.am (libsupport_la_SOURCES): delete std_sstream.h and
+       sstream.h
+       (std_sstream.h): delete file
+       (sstream.h): delete file
+
+2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * filetools.C (i18nLibFileSearch): honor case where LANGUAGE
+       specifies a list of locales (thanks to Pablo Saraxtaga for the
+       initial patch).
+
+2004-05-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
+       its po files when moved around; set default user directory to
+       ~/Library/Preferences/LyX/ for LyX/Mac.
+       (lyx_localedir): return the value that may have been computed in
+       setLyXPaths
+
+2004-05-27  Kayvan Sylvan <kayvan@sylvan.com>
+
+       * Makefile.am (libsupport_la_SOURCES): remove reference to
+       nt_defines.h
+
+2004-05-20  Angus Leeming  <leeming@lyx.org>
+
+       * debugstream.h: wrap the definition of debug_trait::DEBUG with
+       preprocessor guards that protect against a name clash with a
+       macro DEBUG. Such a macro is defined by the Qt library...
+
+2004-04-27  Angus Leeming  <leeming@lyx.org>
+
+       * path_defines.{h,C.in}: expose top_srcdir, renamed from
+       lyx_top_srcdir.
+
+2004-04-05  Angus Leeming  <leeming@lyx.org>
+
+       * filetools.C:
+       wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
+
+2004-04-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * filetools.C (RunCommand): block SIGCHLD during popen/pclose
+       (actually Angus' fix).
+
+2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * filetools.C (DeleteAllFilesInDir): delete directories with
+       rmdir(), unlink() does not work
+
+2004-03-27  Angus Leeming  <leeming@lyx.org>
+
+       * forkedcontr.C (child_handler): squash warning about a
+       signed/unsigned comparison.
+       (handleCompletedProcesses): only output a warning about an error
+       waiting for the child if it is indeed an error ;-)
+
+2004-03-26  Angus Leeming  <leeming@lyx.org>
+
+       * forkedcall.[Ch] (run): new function, replacing runBlocking,
+       runNonBlocking.
+
+       * forkedcall.C (generateChild): ensure that the code that splits
+       the command up into an array of words won't leak in the event of an
+       exception.
+
+       * forkedcontr.C: make it a little more robust.
+
+2004-03-24  Angus Leeming  <leeming@lyx.org>
+
+       * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
+       of child proccesses and ascertain whether any have died. Instead use
+       the SIGCHLD signal emitted by the system to reap these zombies in the
+       maximally efficient manner. The subsequent emitting of the signal
+       associated with each child process *is* performed within the main
+       lyx event loop, thus ensuring that the code remains safe.
+
+       A detailed description of the design is to be found in forkedcontr.C.
+
+2004-03-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * filetools.C (i18nLibFileSearch): simplify the logic a bit
+
+2004-03-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * filetools.C (i18nLibFileSearch): fix the logic to match closely
+       what gettext does
+
+2004-03-23  Angus Leeming  <leeming@lyx.org>
+
+       * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
+       clone to return a boost::shred_ptr rather than a std::auto_ptr.
+
+       * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
+       than raw pointers.
+
+2004-03-22  Angus Leeming  <leeming@lyx.org>
+
+       * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
+       cruft left over from the removal of the Forks dialog.
+
+2004-03-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * filename.[Ch] (mangledFilename): make sure that mangled names are
+       unique
+
+2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
+       remove pathfor argument
+       * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
+       harder to create a usable temp dir
+       * filetools.C (CreateTmpDir): rename to createTmpDir
+       filetools.[Ch] (unzipFile): add argument for output filename
+       * filename.h: fix doxygen warning
+
+2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * lstrings.h (contains_functor): delete
+       (contains): change into template, simplify
+
+       * lstrings.C (contains): remove both functions
+
+2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
+       unique-erase idom.
+
+       * lstrings.h (contains_functor): inherit from
+       std::binary_function, remove typedefs.
+
+2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * globbing.C: add using statement for std::distance, remove std::
+       from string.
+
+2004-01-08  Angus Leeming  <leeming@lyx.org>
+
+       * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
+       list of available file filters and generate the corresponding vector.
+
+2003-12-14  Ronald Florence <ron@18james.com>
+
+       * tostr.[hC]: added tostr(long unsigned int i).
+
+       * path_defines.C.in: determine system directory and set PATH for
+       relocatable LyX/Mac bundle.
+
+2004-01-06  Angus Leeming  <leeming@lyx.org>
+
+       * globbing.C (glob): compilation fix for cygwin.
+
+2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
+       boost-inst.C
+       * BoostFormat.h: delete file
+       * boost-inst.C: delete fil
+
+       * lstrings.C: include boost/format.hpp
+
+2004-01-05  Angus Leeming  <leeming@lyx.org>
+
+       * globbing.[Ch]: new files containing some globbing utilities.
+
+2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
+
+       * putenv.C: allocate the string before putting it into the
+       environment.
+
+       * lyxlib.h: adjust.
+
+2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * tempname.C (tempName): use scoped_array for exception safety
+
+       * os_os2.C (init): use scoped_array for exception safety
+
+       * getcwd.C (getcwd): use scoped_array for exception safety
+
+       * forkedcontr.C (addCall): adjust
+
+       * forkedcall.h: make clone return a auto_ptr
+
+2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * debugstream.h: add a default constructor that does not setup a
+       streambuf here.
+
+2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * socktools.C: honor CXX_GLOBAL_CSTD
+
+2003-10-16  André Pönitz  <poenitz@gmx.net>
+
+       * filetools.C (ReplaceEnvironmentPath): set up patterns just once
+       using static variables.
+
+2003-10-13  João Luis Meloni Assirati  <assirati@fma.if.usp.br>
+
+       * socktools.[Ch]: New files. Wrapper around socket system calls.
+
 2003-10-13  Kayvan A. Sylvan  <kayvan@sylvan.com>
 
        * socktools.C (SUN_LEN): add this MACRO definition for platforms