1 2002-02-18 Herbert Voss <voss@perce.de>
3 * filetools.C: (getExtFromContents) return the fileextension
4 if no format is detected.
6 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
9 as class SystemCall because one Systemcall instance represents a
13 * Makefile.am: associated changes.
15 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
17 * syscall.C (Systemcalls): include <cstdlib>
19 2002-02-08 Herbert Voss <voss@perce.de>
21 * filetools.C: (getExtFromContents) adding Grace-format
24 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
27 * syssingleton.C: files removed.
29 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
30 uses it. Strip down the Systemcalls interface to make it brutally
31 obvious how unsophisticated it is.
33 2002-02-08 Herbert Voss <voss@perce.de>
35 * filetools.C: (getExtFromContents) adding TGIF-format
36 and return type "user" when no type is detected
38 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
40 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
42 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
44 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
46 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
48 * FileInfo.h: remove special cygwin code.
50 * filetools.C (do_popen): use os::read_mode().
52 * os_win32.C (read_mode):
53 * os_os2.C (read_mode):
54 * os_unix.C (read_mode): new method
56 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
57 Hentschel). This code should maybe be moved to os:: class.
59 2002-02-08 Herbert Voss <voss@perce.de>
61 * filetools.C: (unzipFile) fix typo
63 2002-02-06 Herbert Voss <voss@perce.de>
65 * filetools.[Ch]: fix some bugs for detecting zipped files
68 2002-02-04 Herbert Voss <voss@perce.de>
70 * filetools.[Ch]: add ifZippedFile() for zipped
73 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
75 * filetools.C (FileOpenSearch): remove duplicated line, probably
76 resulting from bad cut-and paste.
78 2002-01-31 Herbert Voss <voss@perce.de>
80 * filetools.[Ch]: add getExtFromContents(), which returns
81 the type of the (graphic) file
83 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
85 * copy.C (copy): open file in binary mode (for cygwin)
87 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
89 * lyxsum.C: remove #warnings and replaced them with runtime debug
92 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
94 * lyxalgo.h: include <algorithm>
96 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
98 * lyx_algo.h: add a standard-conforming count to namespace lyx.
100 * lstrings.[Ch] (countChar): removed. Use lyx::count.
102 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
104 * filetools.C: fix use of FileInfo
107 * FileInfo.C: add Asserts and documentation
109 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
111 * os_win32.C: compilation fixes
113 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
115 * lstrings.h: do not include <cctype>
117 2001-12-12 Ben Stanley <bds02@uow.edu.au>
119 * lyxsum.C: portability fix for mmap patch
121 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
125 * lyxstring.C: change "while(" to "while ("
127 2001-12-03 Ben Stanley <bds02@uow.edu.au>
129 * lyxsum.C: Added mmap version of CRC and made it selected
130 by default where available. Used process_block for crc for speedup.
132 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
134 * filetools.C: more robust failure for DirList()
136 2001-11-29 André Pönitz <poenitz@gmx.net>
138 * types.h: introduce types for textclass numbers and layout numbers
140 2001-11-28 André Pönitz <poenitz@gmx.net>
142 * Makefile.am: put types.h in
144 2001-11-26 André Pönitz <poenitz@gmx.net>
146 * types.h: introduce types for paragraph positions and layout numbers
148 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
150 * filetools.C: remove dead code
152 * syscall.C: show prog in fail case
154 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
156 * filetools.C: code style cleanup
158 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
160 * os.h: remove spurious punctuation.
162 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
165 * LAssert.C: use new emergencyCleanup()
167 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
169 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
170 like GNU gettext does.
172 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
174 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
176 (findtexfile): oops! the change from last friday was wrong...
178 * os_win32.C (is_absolute_path):
179 * os_unix.C (is_absolute_path):
180 * os_os2.C (is_absolute_path): new method
182 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
184 * filetools.C (findtexfile): apply os::internal_path to the result.
186 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
191 * os.h: add internal_path method, which converts a unix-type file
192 name to the type known to the underlying file system (currently
193 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
195 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
197 * smart_ptr.h: new file
199 * utility.h: new file
201 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
204 * filetools.C (IsDirWriteable): fix this
206 2001-07-26 Baruch Even <baruch@lyx.org>
208 * lyxlib.h (float_equal): Added function to compare floats almost equal
209 (see function comment).
211 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
213 Consistent use of Lsstream.h:
214 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
216 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
218 * translator.h: (*it). -> it->
220 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
222 * filetools.C (DeleteAllFilesInDir): send debug output to
223 Debug::FILES instewad of Debug::ANY.
225 * DebugStream.h: remove gcc 2.8.x hack.
227 2001-06-26 The LyX Project <jug@sad.it>
230 * lstrings.C (escape): move method to escape non ascii characters
231 from insets label and ref to here.
233 2001-06-25 The LyX Project <jug@sad.it>
235 * filetools.C (IsLyXFilename):
236 (IsSGMLFilename): do case insensitive name matching
238 2001-06-24 The LyX Project <jug@sad.it>
240 * lstrings.C (compare_ascii_no_case): version of compare_no_case
241 which only considers case of ascii characters
243 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
246 2001-06-23 The LyX Project <jug@sad.it>
248 * textutils.h (IsPrintable): take into account unprintable spaces
250 (IsDigit): new function
251 (IsLetterCharOrDigit): use IsDigit
253 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
255 * filetools.C (findtexfile): strip final \r if necessary (for
258 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
261 * StrPool.C: removed // -*- C++ -*- as first line.
263 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
265 * lyxsum.C (do_crc): switch to use boost::crc for generating the
268 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
273 * LSubstring.C: bring C functions in global namespace if
276 * lstrings.h (compare): use the std:: version of str[n]cmp only
279 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
281 * syscontr.C: add std::
283 * syscall.C: add std::
285 * lstrings.h (compare): add std::
287 * lstrings.C (prefixIs): add std::
291 * LSubstring.C (LSubstring): add std::
293 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
295 * lyxsum.C (sum): use istreambuf_iterator when available.
297 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
299 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
302 * lyxstring.C (operator): make const operator[] behave as
305 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
307 * Makefile.am (EXTRA_DIST): add the os_*.C files.
309 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
311 * filetools.C (MakeAbsPath): remove debugging statement
313 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
315 * FileInfo.h: X_OK workaround for cygwin
324 * filetools.h: Added os:: class.
328 * tempname.C: OS/2 fixes
330 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
332 * textutils.h: remvoe !NEW_INSETS cruft
334 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
337 * atoi.C: add using directives when needed for C functions
338 declared in std:: namespace.
340 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
342 * lstrings.C : add two helper structs, local_lowercase and
344 (lowercase): change to use std::transform
345 (uppercase): change to use std::transform
347 2001-04-25 Allan Rae <rae@lyx.org>
349 * lyxstring.C : Assert got moved and Lars missed a few.
351 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
353 * LAssert.h (Assert): put into namespace lyx
355 * lyxfunctional.h: put into namespace lyx
356 * translator.h: adjust
358 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
360 * lyxalgo.h: put into namespace lyx, add firster and copy_if
362 * FileInfo.h: inherit privately from noncopyable
365 2001-04-16 Allan Rae <rae@lyx.org>
367 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
368 as an unrecognised preprocessor directive. So ensure they're wrapped.
370 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
372 * several files: remove CXX_WORKING_NAMESPACES
374 * FileInfo.h: noncopyable is in namespace boost
377 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
379 * syscontr.h: fix header include
381 2001-02-28 Baruch Even <baruch@ev-en.org>
383 * filetools.C: Removed dependency on syscall.h
386 * syscall.C: Minor cleanings before I start to touch this code.
388 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
390 * filetools.C (CreateTmpDir): change umask to 0700.
392 2001-02-27 José Matos <jamatos@fep.up.pt>
394 * filetools.h (BasePath):
395 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
397 * filetools.C (IsLyXFilename):
398 * filetools.C (IsSGMLFilename): test if extension is suffix and not
401 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
405 * atoi.C: remove cruft
407 2001-02-06 albert chin <china@thewrittenword.com>
410 * fmt.C: use HAVE_DECL_SNPRINTF
412 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
414 * lyxstring.C: Fix some assertions.
416 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
418 * lstrings.C (strip): Add a fix for compilers with broken
419 string::find_last_not_of.
421 * filetools.C (AddPath): Simplify by using strip and frontStrip.
423 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
425 * lyxstring.C (rfind): Fix broken functions.
426 (find): Few optimizations.