1 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
3 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
5 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7 * FileInfo.h: remove special cygwin code.
9 * filetools.C (do_popen): use os::read_mode().
11 * os_win32.C (read_mode):
12 * os_os2.C (read_mode):
13 * os_unix.C (read_mode): new method
15 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
16 Hentschel). This code should maybe be moved to os:: class.
18 2002-02-08 Herbert Voss <voss@perce.de>
20 * filetools.C: (unzipFile) fix typo
22 2002-02-06 Herbert Voss <voss@perce.de>
24 * filetools.[Ch]: fix some bugs for detecting zipped files
27 2002-02-04 Herbert Voss <voss@perce.de>
29 * filetools.[Ch]: add ifZippedFile() for zipped
32 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
34 * filetools.C (FileOpenSearch): remove duplicated line, probably
35 resulting from bad cut-and paste.
37 2002-01-31 Herbert Voss <voss@perce.de>
39 * filetools.[Ch]: add getExtFromContents(), which returns
40 the type of the (graphic) file
42 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
44 * copy.C (copy): open file in binary mode (for cygwin)
46 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
48 * lyxsum.C: remove #warnings and replaced them with runtime debug
51 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
53 * lyxalgo.h: include <algorithm>
55 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
57 * lyx_algo.h: add a standard-conforming count to namespace lyx.
59 * lstrings.[Ch] (countChar): removed. Use lyx::count.
61 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
63 * filetools.C: fix use of FileInfo
66 * FileInfo.C: add Asserts and documentation
68 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
70 * os_win32.C: compilation fixes
72 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
74 * lstrings.h: do not include <cctype>
76 2001-12-12 Ben Stanley <bds02@uow.edu.au>
78 * lyxsum.C: portability fix for mmap patch
80 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
84 * lyxstring.C: change "while(" to "while ("
86 2001-12-03 Ben Stanley <bds02@uow.edu.au>
88 * lyxsum.C: Added mmap version of CRC and made it selected
89 by default where available. Used process_block for crc for speedup.
91 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
93 * filetools.C: more robust failure for DirList()
95 2001-11-29 André Pönitz <poenitz@gmx.net>
97 * types.h: introduce types for textclass numbers and layout numbers
99 2001-11-28 André Pönitz <poenitz@gmx.net>
101 * Makefile.am: put types.h in
103 2001-11-26 André Pönitz <poenitz@gmx.net>
105 * types.h: introduce types for paragraph positions and layout numbers
107 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
109 * filetools.C: remove dead code
111 * syscall.C: show prog in fail case
113 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
115 * filetools.C: code style cleanup
117 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
119 * os.h: remove spurious punctuation.
121 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
124 * LAssert.C: use new emergencyCleanup()
126 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
128 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
129 like GNU gettext does.
131 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
133 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
135 (findtexfile): oops! the change from last friday was wrong...
137 * os_win32.C (is_absolute_path):
138 * os_unix.C (is_absolute_path):
139 * os_os2.C (is_absolute_path): new method
141 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
143 * filetools.C (findtexfile): apply os::internal_path to the result.
145 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
150 * os.h: add internal_path method, which converts a unix-type file
151 name to the type known to the underlying file system (currently
152 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
154 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
156 * smart_ptr.h: new file
158 * utility.h: new file
160 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
163 * filetools.C (IsDirWriteable): fix this
165 2001-07-26 Baruch Even <baruch@lyx.org>
167 * lyxlib.h (float_equal): Added function to compare floats almost equal
168 (see function comment).
170 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
172 Consistent use of Lsstream.h:
173 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
175 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
177 * translator.h: (*it). -> it->
179 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
181 * filetools.C (DeleteAllFilesInDir): send debug output to
182 Debug::FILES instewad of Debug::ANY.
184 * DebugStream.h: remove gcc 2.8.x hack.
186 2001-06-26 The LyX Project <jug@sad.it>
189 * lstrings.C (escape): move method to escape non ascii characters
190 from insets label and ref to here.
192 2001-06-25 The LyX Project <jug@sad.it>
194 * filetools.C (IsLyXFilename):
195 (IsSGMLFilename): do case insensitive name matching
197 2001-06-24 The LyX Project <jug@sad.it>
199 * lstrings.C (compare_ascii_no_case): version of compare_no_case
200 which only considers case of ascii characters
202 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
205 2001-06-23 The LyX Project <jug@sad.it>
207 * textutils.h (IsPrintable): take into account unprintable spaces
209 (IsDigit): new function
210 (IsLetterCharOrDigit): use IsDigit
212 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
214 * filetools.C (findtexfile): strip final \r if necessary (for
217 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
220 * StrPool.C: removed // -*- C++ -*- as first line.
222 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
224 * lyxsum.C (do_crc): switch to use boost::crc for generating the
227 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
232 * LSubstring.C: bring C functions in global namespace if
235 * lstrings.h (compare): use the std:: version of str[n]cmp only
238 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
240 * syscontr.C: add std::
242 * syscall.C: add std::
244 * lstrings.h (compare): add std::
246 * lstrings.C (prefixIs): add std::
250 * LSubstring.C (LSubstring): add std::
252 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
254 * lyxsum.C (sum): use istreambuf_iterator when available.
256 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
258 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
261 * lyxstring.C (operator): make const operator[] behave as
264 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
266 * Makefile.am (EXTRA_DIST): add the os_*.C files.
268 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
270 * filetools.C (MakeAbsPath): remove debugging statement
272 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
274 * FileInfo.h: X_OK workaround for cygwin
283 * filetools.h: Added os:: class.
287 * tempname.C: OS/2 fixes
289 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
291 * textutils.h: remvoe !NEW_INSETS cruft
293 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
296 * atoi.C: add using directives when needed for C functions
297 declared in std:: namespace.
299 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
301 * lstrings.C : add two helper structs, local_lowercase and
303 (lowercase): change to use std::transform
304 (uppercase): change to use std::transform
306 2001-04-25 Allan Rae <rae@lyx.org>
308 * lyxstring.C : Assert got moved and Lars missed a few.
310 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
312 * LAssert.h (Assert): put into namespace lyx
314 * lyxfunctional.h: put into namespace lyx
315 * translator.h: adjust
317 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
319 * lyxalgo.h: put into namespace lyx, add firster and copy_if
321 * FileInfo.h: inherit privately from noncopyable
324 2001-04-16 Allan Rae <rae@lyx.org>
326 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
327 as an unrecognised preprocessor directive. So ensure they're wrapped.
329 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
331 * several files: remove CXX_WORKING_NAMESPACES
333 * FileInfo.h: noncopyable is in namespace boost
336 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
338 * syscontr.h: fix header include
340 2001-02-28 Baruch Even <baruch@ev-en.org>
342 * filetools.C: Removed dependency on syscall.h
345 * syscall.C: Minor cleanings before I start to touch this code.
347 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
349 * filetools.C (CreateTmpDir): change umask to 0700.
351 2001-02-27 José Matos <jamatos@fep.up.pt>
353 * filetools.h (BasePath):
354 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
356 * filetools.C (IsLyXFilename):
357 * filetools.C (IsSGMLFilename): test if extension is suffix and not
360 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
364 * atoi.C: remove cruft
366 2001-02-06 albert chin <china@thewrittenword.com>
369 * fmt.C: use HAVE_DECL_SNPRINTF
371 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
373 * lyxstring.C: Fix some assertions.
375 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
377 * lstrings.C (strip): Add a fix for compilers with broken
378 string::find_last_not_of.
380 * filetools.C (AddPath): Simplify by using strip and frontStrip.
382 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
384 * lyxstring.C (rfind): Fix broken functions.
385 (find): Few optimizations.