1 2002-02-08 Herbert Voss <voss@perce.de>
3 * filetools.C: (getExtFromContents) adding TGIF-format
4 and return type "user" when no type is detected
6 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
10 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
12 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
14 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
16 * FileInfo.h: remove special cygwin code.
18 * filetools.C (do_popen): use os::read_mode().
20 * os_win32.C (read_mode):
21 * os_os2.C (read_mode):
22 * os_unix.C (read_mode): new method
24 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
25 Hentschel). This code should maybe be moved to os:: class.
27 2002-02-08 Herbert Voss <voss@perce.de>
29 * filetools.C: (unzipFile) fix typo
31 2002-02-06 Herbert Voss <voss@perce.de>
33 * filetools.[Ch]: fix some bugs for detecting zipped files
36 2002-02-04 Herbert Voss <voss@perce.de>
38 * filetools.[Ch]: add ifZippedFile() for zipped
41 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
43 * filetools.C (FileOpenSearch): remove duplicated line, probably
44 resulting from bad cut-and paste.
46 2002-01-31 Herbert Voss <voss@perce.de>
48 * filetools.[Ch]: add getExtFromContents(), which returns
49 the type of the (graphic) file
51 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
53 * copy.C (copy): open file in binary mode (for cygwin)
55 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
57 * lyxsum.C: remove #warnings and replaced them with runtime debug
60 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
62 * lyxalgo.h: include <algorithm>
64 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
66 * lyx_algo.h: add a standard-conforming count to namespace lyx.
68 * lstrings.[Ch] (countChar): removed. Use lyx::count.
70 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
72 * filetools.C: fix use of FileInfo
75 * FileInfo.C: add Asserts and documentation
77 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
79 * os_win32.C: compilation fixes
81 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
83 * lstrings.h: do not include <cctype>
85 2001-12-12 Ben Stanley <bds02@uow.edu.au>
87 * lyxsum.C: portability fix for mmap patch
89 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
93 * lyxstring.C: change "while(" to "while ("
95 2001-12-03 Ben Stanley <bds02@uow.edu.au>
97 * lyxsum.C: Added mmap version of CRC and made it selected
98 by default where available. Used process_block for crc for speedup.
100 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
102 * filetools.C: more robust failure for DirList()
104 2001-11-29 André Pönitz <poenitz@gmx.net>
106 * types.h: introduce types for textclass numbers and layout numbers
108 2001-11-28 André Pönitz <poenitz@gmx.net>
110 * Makefile.am: put types.h in
112 2001-11-26 André Pönitz <poenitz@gmx.net>
114 * types.h: introduce types for paragraph positions and layout numbers
116 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
118 * filetools.C: remove dead code
120 * syscall.C: show prog in fail case
122 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
124 * filetools.C: code style cleanup
126 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
128 * os.h: remove spurious punctuation.
130 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
133 * LAssert.C: use new emergencyCleanup()
135 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
137 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
138 like GNU gettext does.
140 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
142 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
144 (findtexfile): oops! the change from last friday was wrong...
146 * os_win32.C (is_absolute_path):
147 * os_unix.C (is_absolute_path):
148 * os_os2.C (is_absolute_path): new method
150 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
152 * filetools.C (findtexfile): apply os::internal_path to the result.
154 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
159 * os.h: add internal_path method, which converts a unix-type file
160 name to the type known to the underlying file system (currently
161 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
163 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
165 * smart_ptr.h: new file
167 * utility.h: new file
169 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
172 * filetools.C (IsDirWriteable): fix this
174 2001-07-26 Baruch Even <baruch@lyx.org>
176 * lyxlib.h (float_equal): Added function to compare floats almost equal
177 (see function comment).
179 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
181 Consistent use of Lsstream.h:
182 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
184 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
186 * translator.h: (*it). -> it->
188 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
190 * filetools.C (DeleteAllFilesInDir): send debug output to
191 Debug::FILES instewad of Debug::ANY.
193 * DebugStream.h: remove gcc 2.8.x hack.
195 2001-06-26 The LyX Project <jug@sad.it>
198 * lstrings.C (escape): move method to escape non ascii characters
199 from insets label and ref to here.
201 2001-06-25 The LyX Project <jug@sad.it>
203 * filetools.C (IsLyXFilename):
204 (IsSGMLFilename): do case insensitive name matching
206 2001-06-24 The LyX Project <jug@sad.it>
208 * lstrings.C (compare_ascii_no_case): version of compare_no_case
209 which only considers case of ascii characters
211 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
214 2001-06-23 The LyX Project <jug@sad.it>
216 * textutils.h (IsPrintable): take into account unprintable spaces
218 (IsDigit): new function
219 (IsLetterCharOrDigit): use IsDigit
221 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
223 * filetools.C (findtexfile): strip final \r if necessary (for
226 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
229 * StrPool.C: removed // -*- C++ -*- as first line.
231 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
233 * lyxsum.C (do_crc): switch to use boost::crc for generating the
236 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
241 * LSubstring.C: bring C functions in global namespace if
244 * lstrings.h (compare): use the std:: version of str[n]cmp only
247 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
249 * syscontr.C: add std::
251 * syscall.C: add std::
253 * lstrings.h (compare): add std::
255 * lstrings.C (prefixIs): add std::
259 * LSubstring.C (LSubstring): add std::
261 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
263 * lyxsum.C (sum): use istreambuf_iterator when available.
265 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
267 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
270 * lyxstring.C (operator): make const operator[] behave as
273 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
275 * Makefile.am (EXTRA_DIST): add the os_*.C files.
277 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
279 * filetools.C (MakeAbsPath): remove debugging statement
281 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
283 * FileInfo.h: X_OK workaround for cygwin
292 * filetools.h: Added os:: class.
296 * tempname.C: OS/2 fixes
298 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
300 * textutils.h: remvoe !NEW_INSETS cruft
302 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
305 * atoi.C: add using directives when needed for C functions
306 declared in std:: namespace.
308 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
310 * lstrings.C : add two helper structs, local_lowercase and
312 (lowercase): change to use std::transform
313 (uppercase): change to use std::transform
315 2001-04-25 Allan Rae <rae@lyx.org>
317 * lyxstring.C : Assert got moved and Lars missed a few.
319 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
321 * LAssert.h (Assert): put into namespace lyx
323 * lyxfunctional.h: put into namespace lyx
324 * translator.h: adjust
326 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
328 * lyxalgo.h: put into namespace lyx, add firster and copy_if
330 * FileInfo.h: inherit privately from noncopyable
333 2001-04-16 Allan Rae <rae@lyx.org>
335 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
336 as an unrecognised preprocessor directive. So ensure they're wrapped.
338 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
340 * several files: remove CXX_WORKING_NAMESPACES
342 * FileInfo.h: noncopyable is in namespace boost
345 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
347 * syscontr.h: fix header include
349 2001-02-28 Baruch Even <baruch@ev-en.org>
351 * filetools.C: Removed dependency on syscall.h
354 * syscall.C: Minor cleanings before I start to touch this code.
356 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
358 * filetools.C (CreateTmpDir): change umask to 0700.
360 2001-02-27 José Matos <jamatos@fep.up.pt>
362 * filetools.h (BasePath):
363 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
365 * filetools.C (IsLyXFilename):
366 * filetools.C (IsSGMLFilename): test if extension is suffix and not
369 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
373 * atoi.C: remove cruft
375 2001-02-06 albert chin <china@thewrittenword.com>
378 * fmt.C: use HAVE_DECL_SNPRINTF
380 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
382 * lyxstring.C: Fix some assertions.
384 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
386 * lstrings.C (strip): Add a fix for compilers with broken
387 string::find_last_not_of.
389 * filetools.C (AddPath): Simplify by using strip and frontStrip.
391 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
393 * lyxstring.C (rfind): Fix broken functions.
394 (find): Few optimizations.