2002-03-27 Jean-Marc Lasgouttes * filetools.C (LibScriptSearch): new command. Searches for scripts in lyx data directories. 2002-03-21 Lars Gullik Bjønnes * most files: ws cleanup * Makefile.am: remove ld -r stuff 2002-03-20 Lars Gullik Bjønnes * Makefile.am (libsupport.la): special rules if partial linking 2002-03-14 Angus Leeming * forkedcontr.C: turn the timer off when their are no longer any child processes running. 2002-03-11 Lars Gullik Bjønnes * forkedcall.h: docy fix change SignalType second type to be const ref. * forkedcall.C: doxy fix 2002-03-11 Kayvan A. Sylvan * lyxsum.C: compilation fix 2002-03-02 Herbert Voss * filetools.C: fix bug for xbm format and added some more debug infos 2002-03-02 Lars Gullik Bjønnes * forkedcontr.h: make constructor public * types.h: remove layout_type 2002-03-01 Angus Leeming * filetools.C (getExtFromContents): cleanup. * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler. 2002-02-27 Jean-Marc Lasgouttes * Makefile.am (SIGC_INCLUDES): add a -I directive for when building outside of source tree. 2002-02-19 Angus Leeming * 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 * Makefile.am: * os2_defines.h: * os2_errortable.h: * nt_defines.h: moved from src/ 2002-02-23 Herbert Voss * filetools.C: added more graphic formats 2002-02-18 Herbert Voss * filetools.C: (getExtFromContents) return the fileextension if no format is detected. 2002-02-18 Angus Leeming * 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 * syscall.C (Systemcalls): include 2002-02-08 Herbert Voss * filetools.C: (getExtFromContents) adding Grace-format for filetypes 2002-02-16 Angus Leeming * 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 * filetools.C: (getExtFromContents) adding TGIF-format and return type "user" when no type is detected 2002-02-13 Jean-Marc Lasgouttes * textutils.h: remove IsLineSeparatorChar(char, Inset *) 2002-02-10 Kayvan Sylvan * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X. 2002-02-08 Jean-Marc Lasgouttes * 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 * filetools.C: (unzipFile) fix typo 2002-02-06 Herbert Voss * filetools.[Ch]: fix some bugs for detecting zipped files adding unzipFile() 2002-02-04 Herbert Voss * filetools.[Ch]: add ifZippedFile() for zipped graphic files 2002-02-04 Jean-Marc Lasgouttes * filetools.C (FileOpenSearch): remove duplicated line, probably resulting from bad cut-and paste. 2002-01-31 Herbert Voss * filetools.[Ch]: add getExtFromContents(), which returns the type of the (graphic) file 2002-01-30 Jean-Marc Lasgouttes * copy.C (copy): open file in binary mode (for cygwin) 2002-01-19 Jean-Marc Lasgouttes * lyxsum.C: remove #warnings and replaced them with runtime debug info. 2002-01-14 Jean-Marc Lasgouttes * lyxalgo.h: include 2002-01-14 Angus Leeming * lyx_algo.h: add a standard-conforming count to namespace lyx. * lstrings.[Ch] (countChar): removed. Use lyx::count. 2002-01-05 John Levon * filetools.C: fix use of FileInfo * FileInfo.h: * FileInfo.C: add Asserts and documentation 2001-12-20 Kayvan A. Sylvan * os_win32.C: compilation fixes 2001-12-19 Jean-Marc Lasgouttes * lstrings.h: do not include 2001-12-12 Ben Stanley * lyxsum.C: portability fix for mmap patch 2001-12-05 Lars Gullik Bjønnes * filetools.C: * lstrings.C: * lyxstring.C: change "while(" to "while (" 2001-12-03 Ben Stanley * 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 * filetools.C: more robust failure for DirList() 2001-11-29 André Pönitz * types.h: introduce types for textclass numbers and layout numbers 2001-11-28 André Pönitz * Makefile.am: put types.h in 2001-11-26 André Pönitz * types.h: introduce types for paragraph positions and layout numbers 2001-11-04 John Levon * filetools.C: remove dead code * syscall.C: show prog in fail case 2001-10-24 Andre Poenitz * filetools.C: code style cleanup 2001-10-23 Angus Leeming * os.h: remove spurious punctuation. 2001-10-19 John Levon * LAssert.h: * LAssert.C: use new emergencyCleanup() 2001-10-12 Jean-Marc Lasgouttes * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL, like GNU gettext does. 2001-10-08 Jean-Marc Lasgouttes * 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 * filetools.C (findtexfile): apply os::internal_path to the result. 2001-07-02 Claus Hentschel * 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 * smart_ptr.h: new file * utility.h: new file 2001-08-01 John Levon * filetools.h: * filetools.C (IsDirWriteable): fix this 2001-07-26 Baruch Even * lyxlib.h (float_equal): Added function to compare floats almost equal (see function comment). 2001-07-13 Angus Leeming Consistent use of Lsstream.h: * filetools.C (GetFileContents): std::ostringstream -> ostringstream. 2001-07-12 Lars Gullik Bjønnes * translator.h: (*it). -> it-> 2001-06-26 The LyX Project * 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 * 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 * filetools.C (IsLyXFilename): (IsSGMLFilename): do case insensitive name matching 2001-06-24 The LyX Project * 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 * textutils.h (IsPrintable): take into account unprintable spaces above 127. (IsDigit): new function (IsLetterCharOrDigit): use IsDigit 2001-06-20 Jean-Marc Lasgouttes * filetools.C (findtexfile): strip final \r if necessary (for cygwin) 2001-06-19 Angus Leeming * FileInfo.C: * StrPool.C: removed // -*- C++ -*- as first line. 2001-06-01 Lars Gullik Bjønnes * lyxsum.C (do_crc): switch to use boost::crc for generating the checksum. 2001-06-01 Jean-Marc Lasgouttes * 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 * 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 * lyxsum.C (sum): use istreambuf_iterator when available. 2001-05-29 Lars Gullik Bjønnes * 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 * Makefile.am (EXTRA_DIST): add the os_*.C files. 2001-05-21 Jean-Marc Lasgouttes * filetools.C (MakeAbsPath): remove debugging statement 2001-05-16 Ruurd Reitsma * 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 * textutils.h: remvoe !NEW_INSETS cruft 2001-05-02 Jean-Marc Lasgouttes * fmt.C: * atoi.C: add using directives when needed for C functions declared in std:: namespace. 2001-04-25 Lars Gullik Bjønnes * 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 * lyxstring.C : Assert got moved and Lars missed a few. 2001-04-24 Lars Gullik Bjønnes * LAssert.h (Assert): put into namespace lyx * lyxfunctional.h: put into namespace lyx * translator.h: adjust 2001-04-17 Lars Gullik Bjønnes * 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 * 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 * several files: remove CXX_WORKING_NAMESPACES * FileInfo.h: noncopyable is in namespace boost * path.h: ditto 2001-02-16 John Levon * syscontr.h: fix header include 2001-02-28 Baruch Even * 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 * filetools.C (CreateTmpDir): change umask to 0700. 2001-02-27 José Matos * 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 * fmt.C: * filetools.C: * atoi.C: remove cruft 2001-02-06 albert chin * snprintf.h: * fmt.C: use HAVE_DECL_SNPRINTF 2001-01-26 Dekel Tsur * lyxstring.C: Fix some assertions. 2001-01-23 Dekel Tsur * 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 * lyxstring.C (rfind): Fix broken functions. (find): Few optimizations.