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