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.