1 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6 * nt_defines.h: moved from src/
8 2002-02-18 Herbert Voss <voss@perce.de>
10 * filetools.C: (getExtFromContents) return the fileextension
11 if no format is detected.
13 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
15 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
16 as class SystemCall because one Systemcall instance represents a
20 * Makefile.am: associated changes.
22 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
24 * syscall.C (Systemcalls): include <cstdlib>
26 2002-02-08 Herbert Voss <voss@perce.de>
28 * filetools.C: (getExtFromContents) adding Grace-format
31 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
34 * syssingleton.C: files removed.
36 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
37 uses it. Strip down the Systemcalls interface to make it brutally
38 obvious how unsophisticated it is.
40 2002-02-08 Herbert Voss <voss@perce.de>
42 * filetools.C: (getExtFromContents) adding TGIF-format
43 and return type "user" when no type is detected
45 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
47 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
49 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
51 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
53 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
55 * FileInfo.h: remove special cygwin code.
57 * filetools.C (do_popen): use os::read_mode().
59 * os_win32.C (read_mode):
60 * os_os2.C (read_mode):
61 * os_unix.C (read_mode): new method
63 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
64 Hentschel). This code should maybe be moved to os:: class.
66 2002-02-08 Herbert Voss <voss@perce.de>
68 * filetools.C: (unzipFile) fix typo
70 2002-02-06 Herbert Voss <voss@perce.de>
72 * filetools.[Ch]: fix some bugs for detecting zipped files
75 2002-02-04 Herbert Voss <voss@perce.de>
77 * filetools.[Ch]: add ifZippedFile() for zipped
80 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
82 * filetools.C (FileOpenSearch): remove duplicated line, probably
83 resulting from bad cut-and paste.
85 2002-01-31 Herbert Voss <voss@perce.de>
87 * filetools.[Ch]: add getExtFromContents(), which returns
88 the type of the (graphic) file
90 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
92 * copy.C (copy): open file in binary mode (for cygwin)
94 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
96 * lyxsum.C: remove #warnings and replaced them with runtime debug
99 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
101 * lyxalgo.h: include <algorithm>
103 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
105 * lyx_algo.h: add a standard-conforming count to namespace lyx.
107 * lstrings.[Ch] (countChar): removed. Use lyx::count.
109 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
111 * filetools.C: fix use of FileInfo
114 * FileInfo.C: add Asserts and documentation
116 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
118 * os_win32.C: compilation fixes
120 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
122 * lstrings.h: do not include <cctype>
124 2001-12-12 Ben Stanley <bds02@uow.edu.au>
126 * lyxsum.C: portability fix for mmap patch
128 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
132 * lyxstring.C: change "while(" to "while ("
134 2001-12-03 Ben Stanley <bds02@uow.edu.au>
136 * lyxsum.C: Added mmap version of CRC and made it selected
137 by default where available. Used process_block for crc for speedup.
139 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
141 * filetools.C: more robust failure for DirList()
143 2001-11-29 André Pönitz <poenitz@gmx.net>
145 * types.h: introduce types for textclass numbers and layout numbers
147 2001-11-28 André Pönitz <poenitz@gmx.net>
149 * Makefile.am: put types.h in
151 2001-11-26 André Pönitz <poenitz@gmx.net>
153 * types.h: introduce types for paragraph positions and layout numbers
155 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
157 * filetools.C: remove dead code
159 * syscall.C: show prog in fail case
161 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
163 * filetools.C: code style cleanup
165 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
167 * os.h: remove spurious punctuation.
169 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
172 * LAssert.C: use new emergencyCleanup()
174 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
176 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
177 like GNU gettext does.
179 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
181 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
183 (findtexfile): oops! the change from last friday was wrong...
185 * os_win32.C (is_absolute_path):
186 * os_unix.C (is_absolute_path):
187 * os_os2.C (is_absolute_path): new method
189 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
191 * filetools.C (findtexfile): apply os::internal_path to the result.
193 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
198 * os.h: add internal_path method, which converts a unix-type file
199 name to the type known to the underlying file system (currently
200 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
202 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
204 * smart_ptr.h: new file
206 * utility.h: new file
208 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
211 * filetools.C (IsDirWriteable): fix this
213 2001-07-26 Baruch Even <baruch@lyx.org>
215 * lyxlib.h (float_equal): Added function to compare floats almost equal
216 (see function comment).
218 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
220 Consistent use of Lsstream.h:
221 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
223 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
225 * translator.h: (*it). -> it->
227 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
229 * filetools.C (DeleteAllFilesInDir): send debug output to
230 Debug::FILES instewad of Debug::ANY.
232 * DebugStream.h: remove gcc 2.8.x hack.
234 2001-06-26 The LyX Project <jug@sad.it>
237 * lstrings.C (escape): move method to escape non ascii characters
238 from insets label and ref to here.
240 2001-06-25 The LyX Project <jug@sad.it>
242 * filetools.C (IsLyXFilename):
243 (IsSGMLFilename): do case insensitive name matching
245 2001-06-24 The LyX Project <jug@sad.it>
247 * lstrings.C (compare_ascii_no_case): version of compare_no_case
248 which only considers case of ascii characters
250 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
253 2001-06-23 The LyX Project <jug@sad.it>
255 * textutils.h (IsPrintable): take into account unprintable spaces
257 (IsDigit): new function
258 (IsLetterCharOrDigit): use IsDigit
260 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
262 * filetools.C (findtexfile): strip final \r if necessary (for
265 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
268 * StrPool.C: removed // -*- C++ -*- as first line.
270 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
272 * lyxsum.C (do_crc): switch to use boost::crc for generating the
275 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
280 * LSubstring.C: bring C functions in global namespace if
283 * lstrings.h (compare): use the std:: version of str[n]cmp only
286 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
288 * syscontr.C: add std::
290 * syscall.C: add std::
292 * lstrings.h (compare): add std::
294 * lstrings.C (prefixIs): add std::
298 * LSubstring.C (LSubstring): add std::
300 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
302 * lyxsum.C (sum): use istreambuf_iterator when available.
304 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
306 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
309 * lyxstring.C (operator): make const operator[] behave as
312 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
314 * Makefile.am (EXTRA_DIST): add the os_*.C files.
316 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
318 * filetools.C (MakeAbsPath): remove debugging statement
320 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
322 * FileInfo.h: X_OK workaround for cygwin
331 * filetools.h: Added os:: class.
335 * tempname.C: OS/2 fixes
337 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
339 * textutils.h: remvoe !NEW_INSETS cruft
341 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
344 * atoi.C: add using directives when needed for C functions
345 declared in std:: namespace.
347 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
349 * lstrings.C : add two helper structs, local_lowercase and
351 (lowercase): change to use std::transform
352 (uppercase): change to use std::transform
354 2001-04-25 Allan Rae <rae@lyx.org>
356 * lyxstring.C : Assert got moved and Lars missed a few.
358 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
360 * LAssert.h (Assert): put into namespace lyx
362 * lyxfunctional.h: put into namespace lyx
363 * translator.h: adjust
365 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
367 * lyxalgo.h: put into namespace lyx, add firster and copy_if
369 * FileInfo.h: inherit privately from noncopyable
372 2001-04-16 Allan Rae <rae@lyx.org>
374 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
375 as an unrecognised preprocessor directive. So ensure they're wrapped.
377 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
379 * several files: remove CXX_WORKING_NAMESPACES
381 * FileInfo.h: noncopyable is in namespace boost
384 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
386 * syscontr.h: fix header include
388 2001-02-28 Baruch Even <baruch@ev-en.org>
390 * filetools.C: Removed dependency on syscall.h
393 * syscall.C: Minor cleanings before I start to touch this code.
395 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
397 * filetools.C (CreateTmpDir): change umask to 0700.
399 2001-02-27 José Matos <jamatos@fep.up.pt>
401 * filetools.h (BasePath):
402 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
404 * filetools.C (IsLyXFilename):
405 * filetools.C (IsSGMLFilename): test if extension is suffix and not
408 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
412 * atoi.C: remove cruft
414 2001-02-06 albert chin <china@thewrittenword.com>
417 * fmt.C: use HAVE_DECL_SNPRINTF
419 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
421 * lyxstring.C: Fix some assertions.
423 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
425 * lstrings.C (strip): Add a fix for compilers with broken
426 string::find_last_not_of.
428 * filetools.C (AddPath): Simplify by using strip and frontStrip.
430 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
432 * lyxstring.C (rfind): Fix broken functions.
433 (find): Few optimizations.