]> 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 0c04be43ffefbf52cee49ce7e294d4aa52a45473..0587d5d46253e286a6b584f8ca1809778403436b 100644 (file)
@@ -1,3 +1,546 @@
+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
+       that do not define it themselves.
+
+2003-10-08  Angus Leeming  <leeming@lyx.org>
+
+       * copied_ptr.h: get rid of the swap member function.
+
+2003-10-08  Angus Leeming  <leeming@lyx.org>
+
+       Fix doxygen warnings.
+
+       * debugstream.h: \file debugStream.h -> \file debugstream.h
+
+       * os.h: move comment so that doxygen is not confused.
+
+2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+       * Makefile.am: fix typo.
+
+2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * std_string.h: delete file
+
+2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * lstrings.C: Small fixes to build using STLport
+
+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
@@ -5,7 +548,7 @@
 
 2003-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
-       * Makefile.am: contidionalize USE_COMPRESSION
+       * Makefile.am: conditionalize USE_COMPRESSION.
 
 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>