X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FChangeLog;h=d61036b6fdd310f5c235787cb84a0b055723e1bd;hb=36bbe548135901132ab7528d88a4f4b2cd69afd7;hp=72e33c3073ea091e810fb30772fcb75711eb486c;hpb=b1fb034c3be30101b06286f74815a708142d52e8;p=lyx.git diff --git a/src/support/ChangeLog b/src/support/ChangeLog index 72e33c3073..d61036b6fd 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -1,3 +1,567 @@ +2004-11-06 Lars Gullik Bjonnes + + * 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 + + * snprintf.[ch]: removed + + * Makefile.am (libsupport_la_SOURCES): remove snprintf + +2004-10-29 Georg Baum + + * filetools.[Ch] (getExtFromContents): rename to + getFormatFromContents and return always a format + +2004-10-25 Angus Leeming + + * forkedcall.C (generateChild): strip quotes from each argument + of argv. + +2004-09-26 Lars Gullik Bjonnes + + * 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 + + * forkedcall.h: remove include of + * pch.h: ditto + +2004-09-10 Jean-Marc Lasgouttes + + * textutils.h (IsLetterCharOrDigit): remove + +2004-09-10 Jean-Marc Lasgouttes + + * filetools.C (LibScriptSearch): quote the path of the script, in + case it contains spaces + +2004-09-04 Lars Gullik Bjonnes + + * tostr.C: reimplement using lexical_cast + +2004-08-30 Lars Gullik Bjonnes + + * pch.h: do not use include boost/format.hpp, multiple symbols + will result (gcc bug) + +2004-08-15 Lars Gullik Bjonnes + + * pch.h: new file + + * Makefile.am: support pch + +2004-08-09 Jean-Marc Lasgouttes + + * globbing.C (FileFilterList): make sure that "All files (*)" is + always part of the filters list + +2004-07-24 Lars Gullik Bjonnes + + * tostr.C, lstrings.C, globbing.C, filetools.C: change + "support/std_sstream.h" to + + * 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 + + * 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 + + * 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 + + * Makefile.am (libsupport_la_SOURCES): remove reference to + nt_defines.h + +2004-05-20 Angus Leeming + + * 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 + + * path_defines.{h,C.in}: expose top_srcdir, renamed from + lyx_top_srcdir. + +2004-04-05 Angus Leeming + + * filetools.C: + wrap #warning calls inside #ifdef WITH_WARNINGS blocks. + +2004-04-05 Jürgen Spitzmüller + + * filetools.C (RunCommand): block SIGCHLD during popen/pclose + (actually Angus' fix). + +2004-04-01 Georg Baum + + * filetools.C (DeleteAllFilesInDir): delete directories with + rmdir(), unlink() does not work + +2004-03-27 Angus Leeming + + * 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 + + * 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 + + * 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 + + * filetools.C (i18nLibFileSearch): simplify the logic a bit + +2004-03-23 Jean-Marc Lasgouttes + + * filetools.C (i18nLibFileSearch): fix the logic to match closely + what gettext does + +2004-03-23 Angus Leeming + + * 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 + + * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove + cruft left over from the removal of the Forks dialog. + +2004-03-09 Georg Baum + + * filename.[Ch] (mangledFilename): make sure that mangled names are + unique + +2004-02-21 Georg Baum + + * 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 + + * lstrings.h (contains_functor): delete + (contains): change into template, simplify + + * lstrings.C (contains): remove both functions + +2004-01-31 Lars Gullik Bjonnes + + * 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 + + * globbing.C: add using statement for std::distance, remove std:: + from string. + +2004-01-08 Angus Leeming + + * 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 + + * 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 + + * globbing.C (glob): compilation fix for cygwin. + +2004-01-06 Lars Gullik Bjonnes + + * 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 + + * globbing.[Ch]: new files containing some globbing utilities. + +2003-11-05 João Luis M. Assirati + + * putenv.C: allocate the string before putting it into the + environment. + + * lyxlib.h: adjust. + +2003-11-03 Lars Gullik Bjønnes + + * 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 + + * debugstream.h: add a default constructor that does not setup a + streambuf here. + +2003-10-14 Jean-Marc Lasgouttes + + * socktools.C: honor CXX_GLOBAL_CSTD + +2003-10-16 André Pönitz + + * filetools.C (ReplaceEnvironmentPath): set up patterns just once + using static variables. + +2003-10-13 João Luis Meloni Assirati + + * socktools.[Ch]: New files. Wrapper around socket system calls. + +2003-10-13 Kayvan A. Sylvan + + * socktools.C (SUN_LEN): add this MACRO definition for platforms + that do not define it themselves. + +2003-10-08 Angus Leeming + + * copied_ptr.h: get rid of the swap member function. + +2003-10-08 Angus Leeming + + 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 + + * Makefile.am: fix typo. + +2003-10-06 Lars Gullik Bjønnes + + * std_string.h: delete file + +2003-10-06 Martin Vermeer + + * lstrings.C: Small fixes to build using STLport + +2003-09-29 Angus Leeming + + * filetools.C (ReplaceEnvironmentPath): make it work for both + ${HOME}/foo and $HOME/foo. + +2003-09-26 Lars Gullik Bjønnes + + * debugstream.h: add file, updated version of the DebugStream + + * DebugStream.C,DebugStream.h: delete files + +2003-09-25 Angus Leeming + + * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex. + * lstrings.[Ch]: (regexMatch): removed. + +2003-09-25 Angus Leeming + + * translator.h (add): new member function. + +2003-09-16 Angus Leeming + + * textutils.h: remove #include "paragraph.h". Remove functions + IsInsetChar and IsWordChar. + +2003-09-15 Angus Leeming + + * 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 + + * 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 + + * translator.h: add #include , so that the + template is self-contained. + +2003-09-11 Angus Leeming + + * cow_ptr.h: + * copied_ptr.h: added to the repository. Maybe temporarily. + +2003-09-09 Lars Gullik Bjønnes + + * 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 + + * filename.C: + * filetools.C: tell the world where to find author contact details. + +2003-09-08 Angus Leeming + + * boost-inst.C: + * filetools.C: + * forkedcallqueue.C: + * lstrings.C: + * lyxsum.C: remove redundant using directives. + +2003-09-05 Angus Leeming + + * lstrings.C: small bformat fix + +2003-09-05 Angus Leeming + + * 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 + + * lyxmanip.h: + * textutils.h: + ensure that the header file can be compiled stand-alone. + +2003-09-04 Lars Gullik Bjønnes + + * lstrings.[Ch] (bformat): add a variant taking two ints. + +2003-09-04 Angus Leeming + + * filetools.h: + * filename.C: move #include "os.h" out of the header file. + +2003-09-04 Angus Leeming + + * path.C (ctor, dtor): move out of line. + +2003-09-03 Angus Leeming + + * 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 + + * translator.h: Assert is in namespace lyx::support... + +2003-08-02 Jean-Marc Lasgouttes + + * Makefile.am: do not install path_defines.C in includes + (COMPRESSION): mention gzstream.h here + +2003-08-01 Jean-Marc Lasgouttes + + * 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 + + * filename.[Ch] (relFilename, outputFilename): the 'path' arg + defaults to string() because MakeRelPath can accept that. + +2003-07-29 Lars Gullik Bjønnes + + * Makefile.am: conditionalize USE_COMPRESSION. + +2003-07-28 Lars Gullik Bjønnes + + * 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 + + * 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 + + * 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 + + * os.h: remove irrelevant discussion of system_tempdir. + +2003-07-21 Angus Leeming + + * filename.[Ch]: new files implementing class FileName. + * Makefile.am: add filename.[Ch]. + +2003-07-18 Lars Gullik Bjønnes + + * 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 + + * 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 + + * filetools.C: + * lstrings.C: re-enable --with-included-string + +2003-06-28 Lars Gullik Bjønnes + + * filetools.h: fix some \param issue + + * boost-inst.C: fix \file + + * LAssert.h: fix \file + +2003-06-20 Angus Leeming + + * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar. + +2003-06-18 Angus Leeming + + * many files: add the standard blurb, "This file is part of LyX" etc + +2003-06-17 Lars Gullik Bjønnes + + * limited_stack.h: make it have a const_iterator, add begin, and + end as interface. + +2003-06-10 Angus Leeming + + * filetools.C (copyFileToDir): ensure that temp files have unique names. + +2003-06-04 André Pönitz + + * limited_stack.h (top): return reference instead of value + +2003-06-02 Angus Leeming + + * filetools.[Ch] (copyFileToDir): new helper function. + + * os.h: remove trailing semi-colon from end of namespace os block. + +2003-06-01 Angus Leeming + + * filetools.h (LibScriptSearch): give the function a meaningful + description of what it now does. + +2003-05-30 Angus Leeming + + * 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 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking