1 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * filetools.C (do_popen): use os::read_mode().
5 * os_win32.C (read_mode):
6 * os_os2.C (read_mode):
7 * os_unix.C (read_mode): new method
9 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
10 Hentschel). This code should maybe be moved to os:: class.
12 2002-02-08 Herbert Voss <voss@perce.de>
14 * filetools.C: (unzipFile) fix typo
16 2002-02-06 Herbert Voss <voss@perce.de>
18 * filetools.[Ch]: fix some bugs for detecting zipped files
21 2002-02-04 Herbert Voss <voss@perce.de>
23 * filetools.[Ch]: add ifZippedFile() for zipped
26 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
28 * filetools.C (FileOpenSearch): remove duplicated line, probably
29 resulting from bad cut-and paste.
31 2002-01-31 Herbert Voss <voss@perce.de>
33 * filetools.[Ch]: add getExtFromContents(), which returns
34 the type of the (graphic) file
36 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
38 * copy.C (copy): open file in binary mode (for cygwin)
40 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
42 * lyxsum.C: remove #warnings and replaced them with runtime debug
45 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
47 * lyxalgo.h: include <algorithm>
49 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
51 * lyx_algo.h: add a standard-conforming count to namespace lyx.
53 * lstrings.[Ch] (countChar): removed. Use lyx::count.
55 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
57 * filetools.C: fix use of FileInfo
60 * FileInfo.C: add Asserts and documentation
62 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
64 * os_win32.C: compilation fixes
66 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
68 * lstrings.h: do not include <cctype>
70 2001-12-12 Ben Stanley <bds02@uow.edu.au>
72 * lyxsum.C: portability fix for mmap patch
74 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
78 * lyxstring.C: change "while(" to "while ("
80 2001-12-03 Ben Stanley <bds02@uow.edu.au>
82 * lyxsum.C: Added mmap version of CRC and made it selected
83 by default where available. Used process_block for crc for speedup.
85 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
87 * filetools.C: more robust failure for DirList()
89 2001-11-29 André Pönitz <poenitz@gmx.net>
91 * types.h: introduce types for textclass numbers and layout numbers
93 2001-11-28 André Pönitz <poenitz@gmx.net>
95 * Makefile.am: put types.h in
97 2001-11-26 André Pönitz <poenitz@gmx.net>
99 * types.h: introduce types for paragraph positions and layout numbers
101 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
103 * filetools.C: remove dead code
105 * syscall.C: show prog in fail case
107 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
109 * filetools.C: code style cleanup
111 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
113 * os.h: remove spurious punctuation.
115 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
118 * LAssert.C: use new emergencyCleanup()
120 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
122 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
123 like GNU gettext does.
125 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
127 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
129 (findtexfile): oops! the change from last friday was wrong...
131 * os_win32.C (is_absolute_path):
132 * os_unix.C (is_absolute_path):
133 * os_os2.C (is_absolute_path): new method
135 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
137 * filetools.C (findtexfile): apply os::internal_path to the result.
139 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
144 * os.h: add internal_path method, which converts a unix-type file
145 name to the type known to the underlying file system (currently
146 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
148 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
150 * smart_ptr.h: new file
152 * utility.h: new file
154 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
157 * filetools.C (IsDirWriteable): fix this
159 2001-07-26 Baruch Even <baruch@lyx.org>
161 * lyxlib.h (float_equal): Added function to compare floats almost equal
162 (see function comment).
164 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
166 Consistent use of Lsstream.h:
167 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
169 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
171 * translator.h: (*it). -> it->
173 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
175 * filetools.C (DeleteAllFilesInDir): send debug output to
176 Debug::FILES instewad of Debug::ANY.
178 * DebugStream.h: remove gcc 2.8.x hack.
180 2001-06-26 The LyX Project <jug@sad.it>
183 * lstrings.C (escape): move method to escape non ascii characters
184 from insets label and ref to here.
186 2001-06-25 The LyX Project <jug@sad.it>
188 * filetools.C (IsLyXFilename):
189 (IsSGMLFilename): do case insensitive name matching
191 2001-06-24 The LyX Project <jug@sad.it>
193 * lstrings.C (compare_ascii_no_case): version of compare_no_case
194 which only considers case of ascii characters
196 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
199 2001-06-23 The LyX Project <jug@sad.it>
201 * textutils.h (IsPrintable): take into account unprintable spaces
203 (IsDigit): new function
204 (IsLetterCharOrDigit): use IsDigit
206 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
208 * filetools.C (findtexfile): strip final \r if necessary (for
211 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
214 * StrPool.C: removed // -*- C++ -*- as first line.
216 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
218 * lyxsum.C (do_crc): switch to use boost::crc for generating the
221 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
226 * LSubstring.C: bring C functions in global namespace if
229 * lstrings.h (compare): use the std:: version of str[n]cmp only
232 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
234 * syscontr.C: add std::
236 * syscall.C: add std::
238 * lstrings.h (compare): add std::
240 * lstrings.C (prefixIs): add std::
244 * LSubstring.C (LSubstring): add std::
246 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
248 * lyxsum.C (sum): use istreambuf_iterator when available.
250 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
252 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
255 * lyxstring.C (operator): make const operator[] behave as
258 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
260 * Makefile.am (EXTRA_DIST): add the os_*.C files.
262 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
264 * filetools.C (MakeAbsPath): remove debugging statement
266 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
268 * FileInfo.h: X_OK workaround for cygwin
277 * filetools.h: Added os:: class.
281 * tempname.C: OS/2 fixes
283 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
285 * textutils.h: remvoe !NEW_INSETS cruft
287 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
290 * atoi.C: add using directives when needed for C functions
291 declared in std:: namespace.
293 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
295 * lstrings.C : add two helper structs, local_lowercase and
297 (lowercase): change to use std::transform
298 (uppercase): change to use std::transform
300 2001-04-25 Allan Rae <rae@lyx.org>
302 * lyxstring.C : Assert got moved and Lars missed a few.
304 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
306 * LAssert.h (Assert): put into namespace lyx
308 * lyxfunctional.h: put into namespace lyx
309 * translator.h: adjust
311 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
313 * lyxalgo.h: put into namespace lyx, add firster and copy_if
315 * FileInfo.h: inherit privately from noncopyable
318 2001-04-16 Allan Rae <rae@lyx.org>
320 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
321 as an unrecognised preprocessor directive. So ensure they're wrapped.
323 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
325 * several files: remove CXX_WORKING_NAMESPACES
327 * FileInfo.h: noncopyable is in namespace boost
330 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
332 * syscontr.h: fix header include
334 2001-02-28 Baruch Even <baruch@ev-en.org>
336 * filetools.C: Removed dependency on syscall.h
339 * syscall.C: Minor cleanings before I start to touch this code.
341 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
343 * filetools.C (CreateTmpDir): change umask to 0700.
345 2001-02-27 José Matos <jamatos@fep.up.pt>
347 * filetools.h (BasePath):
348 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
350 * filetools.C (IsLyXFilename):
351 * filetools.C (IsSGMLFilename): test if extension is suffix and not
354 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
358 * atoi.C: remove cruft
360 2001-02-06 albert chin <china@thewrittenword.com>
363 * fmt.C: use HAVE_DECL_SNPRINTF
365 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
367 * lyxstring.C: Fix some assertions.
369 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
371 * lstrings.C (strip): Add a fix for compilers with broken
372 string::find_last_not_of.
374 * filetools.C (AddPath): Simplify by using strip and frontStrip.
376 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
378 * lyxstring.C (rfind): Fix broken functions.
379 (find): Few optimizations.