1 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
3 * filetools.C (getExtFromContents): cleanup.
5 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
7 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
10 building outside of source tree.
12 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15 * forkedcontr.[Ch]: new files. Asger's forked call controller is
16 re-born, with a working timer and a modified interface. The
17 startscript method is now passed a Signal rather than a pointer
18 to a callback function. This enables us to connect to the method of
19 a C++ class, if we so desire.
21 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
23 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
28 * nt_defines.h: moved from src/
30 2002-02-23 Herbert Voss <voss@perce.de>
32 * filetools.C: added more graphic formats
34 2002-02-18 Herbert Voss <voss@perce.de>
36 * filetools.C: (getExtFromContents) return the fileextension
37 if no format is detected.
39 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
41 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
42 as class SystemCall because one Systemcall instance represents a
46 * Makefile.am: associated changes.
48 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
50 * syscall.C (Systemcalls): include <cstdlib>
52 2002-02-08 Herbert Voss <voss@perce.de>
54 * filetools.C: (getExtFromContents) adding Grace-format
57 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
60 * syssingleton.C: files removed.
62 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
63 uses it. Strip down the Systemcalls interface to make it brutally
64 obvious how unsophisticated it is.
66 2002-02-08 Herbert Voss <voss@perce.de>
68 * filetools.C: (getExtFromContents) adding TGIF-format
69 and return type "user" when no type is detected
71 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
73 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
75 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
77 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
79 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
81 * FileInfo.h: remove special cygwin code.
83 * filetools.C (do_popen): use os::read_mode().
85 * os_win32.C (read_mode):
86 * os_os2.C (read_mode):
87 * os_unix.C (read_mode): new method
89 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
90 Hentschel). This code should maybe be moved to os:: class.
92 2002-02-08 Herbert Voss <voss@perce.de>
94 * filetools.C: (unzipFile) fix typo
96 2002-02-06 Herbert Voss <voss@perce.de>
98 * filetools.[Ch]: fix some bugs for detecting zipped files
101 2002-02-04 Herbert Voss <voss@perce.de>
103 * filetools.[Ch]: add ifZippedFile() for zipped
106 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
108 * filetools.C (FileOpenSearch): remove duplicated line, probably
109 resulting from bad cut-and paste.
111 2002-01-31 Herbert Voss <voss@perce.de>
113 * filetools.[Ch]: add getExtFromContents(), which returns
114 the type of the (graphic) file
116 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
118 * copy.C (copy): open file in binary mode (for cygwin)
120 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
122 * lyxsum.C: remove #warnings and replaced them with runtime debug
125 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
127 * lyxalgo.h: include <algorithm>
129 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
131 * lyx_algo.h: add a standard-conforming count to namespace lyx.
133 * lstrings.[Ch] (countChar): removed. Use lyx::count.
135 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
137 * filetools.C: fix use of FileInfo
140 * FileInfo.C: add Asserts and documentation
142 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
144 * os_win32.C: compilation fixes
146 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
148 * lstrings.h: do not include <cctype>
150 2001-12-12 Ben Stanley <bds02@uow.edu.au>
152 * lyxsum.C: portability fix for mmap patch
154 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
158 * lyxstring.C: change "while(" to "while ("
160 2001-12-03 Ben Stanley <bds02@uow.edu.au>
162 * lyxsum.C: Added mmap version of CRC and made it selected
163 by default where available. Used process_block for crc for speedup.
165 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
167 * filetools.C: more robust failure for DirList()
169 2001-11-29 André Pönitz <poenitz@gmx.net>
171 * types.h: introduce types for textclass numbers and layout numbers
173 2001-11-28 André Pönitz <poenitz@gmx.net>
175 * Makefile.am: put types.h in
177 2001-11-26 André Pönitz <poenitz@gmx.net>
179 * types.h: introduce types for paragraph positions and layout numbers
181 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
183 * filetools.C: remove dead code
185 * syscall.C: show prog in fail case
187 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
189 * filetools.C: code style cleanup
191 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
193 * os.h: remove spurious punctuation.
195 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
198 * LAssert.C: use new emergencyCleanup()
200 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
202 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
203 like GNU gettext does.
205 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
207 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
209 (findtexfile): oops! the change from last friday was wrong...
211 * os_win32.C (is_absolute_path):
212 * os_unix.C (is_absolute_path):
213 * os_os2.C (is_absolute_path): new method
215 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
217 * filetools.C (findtexfile): apply os::internal_path to the result.
219 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
224 * os.h: add internal_path method, which converts a unix-type file
225 name to the type known to the underlying file system (currently
226 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
228 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
230 * smart_ptr.h: new file
232 * utility.h: new file
234 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
237 * filetools.C (IsDirWriteable): fix this
239 2001-07-26 Baruch Even <baruch@lyx.org>
241 * lyxlib.h (float_equal): Added function to compare floats almost equal
242 (see function comment).
244 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
246 Consistent use of Lsstream.h:
247 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
249 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
251 * translator.h: (*it). -> it->
253 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
255 * filetools.C (DeleteAllFilesInDir): send debug output to
256 Debug::FILES instewad of Debug::ANY.
258 * DebugStream.h: remove gcc 2.8.x hack.
260 2001-06-26 The LyX Project <jug@sad.it>
263 * lstrings.C (escape): move method to escape non ascii characters
264 from insets label and ref to here.
266 2001-06-25 The LyX Project <jug@sad.it>
268 * filetools.C (IsLyXFilename):
269 (IsSGMLFilename): do case insensitive name matching
271 2001-06-24 The LyX Project <jug@sad.it>
273 * lstrings.C (compare_ascii_no_case): version of compare_no_case
274 which only considers case of ascii characters
276 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
279 2001-06-23 The LyX Project <jug@sad.it>
281 * textutils.h (IsPrintable): take into account unprintable spaces
283 (IsDigit): new function
284 (IsLetterCharOrDigit): use IsDigit
286 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
288 * filetools.C (findtexfile): strip final \r if necessary (for
291 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
294 * StrPool.C: removed // -*- C++ -*- as first line.
296 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
298 * lyxsum.C (do_crc): switch to use boost::crc for generating the
301 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
306 * LSubstring.C: bring C functions in global namespace if
309 * lstrings.h (compare): use the std:: version of str[n]cmp only
312 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
314 * syscontr.C: add std::
316 * syscall.C: add std::
318 * lstrings.h (compare): add std::
320 * lstrings.C (prefixIs): add std::
324 * LSubstring.C (LSubstring): add std::
326 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
328 * lyxsum.C (sum): use istreambuf_iterator when available.
330 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
332 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
335 * lyxstring.C (operator): make const operator[] behave as
338 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
340 * Makefile.am (EXTRA_DIST): add the os_*.C files.
342 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
344 * filetools.C (MakeAbsPath): remove debugging statement
346 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
348 * FileInfo.h: X_OK workaround for cygwin
357 * filetools.h: Added os:: class.
361 * tempname.C: OS/2 fixes
363 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
365 * textutils.h: remvoe !NEW_INSETS cruft
367 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
370 * atoi.C: add using directives when needed for C functions
371 declared in std:: namespace.
373 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
375 * lstrings.C : add two helper structs, local_lowercase and
377 (lowercase): change to use std::transform
378 (uppercase): change to use std::transform
380 2001-04-25 Allan Rae <rae@lyx.org>
382 * lyxstring.C : Assert got moved and Lars missed a few.
384 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
386 * LAssert.h (Assert): put into namespace lyx
388 * lyxfunctional.h: put into namespace lyx
389 * translator.h: adjust
391 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
393 * lyxalgo.h: put into namespace lyx, add firster and copy_if
395 * FileInfo.h: inherit privately from noncopyable
398 2001-04-16 Allan Rae <rae@lyx.org>
400 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
401 as an unrecognised preprocessor directive. So ensure they're wrapped.
403 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
405 * several files: remove CXX_WORKING_NAMESPACES
407 * FileInfo.h: noncopyable is in namespace boost
410 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
412 * syscontr.h: fix header include
414 2001-02-28 Baruch Even <baruch@ev-en.org>
416 * filetools.C: Removed dependency on syscall.h
419 * syscall.C: Minor cleanings before I start to touch this code.
421 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
423 * filetools.C (CreateTmpDir): change umask to 0700.
425 2001-02-27 José Matos <jamatos@fep.up.pt>
427 * filetools.h (BasePath):
428 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
430 * filetools.C (IsLyXFilename):
431 * filetools.C (IsSGMLFilename): test if extension is suffix and not
434 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
438 * atoi.C: remove cruft
440 2001-02-06 albert chin <china@thewrittenword.com>
443 * fmt.C: use HAVE_DECL_SNPRINTF
445 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
447 * lyxstring.C: Fix some assertions.
449 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
451 * lstrings.C (strip): Add a fix for compilers with broken
452 string::find_last_not_of.
454 * filetools.C (AddPath): Simplify by using strip and frontStrip.
456 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
458 * lyxstring.C (rfind): Fix broken functions.
459 (find): Few optimizations.