1 2002-03-02 Herbert Voss <voss@perce.de>
3 * filetools.C: fix bug for xbm format and added some more debug
6 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8 * forkedcontr.h: make constructor public
10 * types.h: remove layout_type
12 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
14 * filetools.C (getExtFromContents): cleanup.
16 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
18 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
20 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
21 building outside of source tree.
23 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
26 * forkedcontr.[Ch]: new files. Asger's forked call controller is
27 re-born, with a working timer and a modified interface. The
28 startscript method is now passed a Signal rather than a pointer
29 to a callback function. This enables us to connect to the method of
30 a C++ class, if we so desire.
32 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
34 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
39 * nt_defines.h: moved from src/
41 2002-02-23 Herbert Voss <voss@perce.de>
43 * filetools.C: added more graphic formats
45 2002-02-18 Herbert Voss <voss@perce.de>
47 * filetools.C: (getExtFromContents) return the fileextension
48 if no format is detected.
50 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
52 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
53 as class SystemCall because one Systemcall instance represents a
57 * Makefile.am: associated changes.
59 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
61 * syscall.C (Systemcalls): include <cstdlib>
63 2002-02-08 Herbert Voss <voss@perce.de>
65 * filetools.C: (getExtFromContents) adding Grace-format
68 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
71 * syssingleton.C: files removed.
73 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
74 uses it. Strip down the Systemcalls interface to make it brutally
75 obvious how unsophisticated it is.
77 2002-02-08 Herbert Voss <voss@perce.de>
79 * filetools.C: (getExtFromContents) adding TGIF-format
80 and return type "user" when no type is detected
82 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
84 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
86 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
88 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
90 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
92 * FileInfo.h: remove special cygwin code.
94 * filetools.C (do_popen): use os::read_mode().
96 * os_win32.C (read_mode):
97 * os_os2.C (read_mode):
98 * os_unix.C (read_mode): new method
100 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
101 Hentschel). This code should maybe be moved to os:: class.
103 2002-02-08 Herbert Voss <voss@perce.de>
105 * filetools.C: (unzipFile) fix typo
107 2002-02-06 Herbert Voss <voss@perce.de>
109 * filetools.[Ch]: fix some bugs for detecting zipped files
112 2002-02-04 Herbert Voss <voss@perce.de>
114 * filetools.[Ch]: add ifZippedFile() for zipped
117 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
119 * filetools.C (FileOpenSearch): remove duplicated line, probably
120 resulting from bad cut-and paste.
122 2002-01-31 Herbert Voss <voss@perce.de>
124 * filetools.[Ch]: add getExtFromContents(), which returns
125 the type of the (graphic) file
127 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
129 * copy.C (copy): open file in binary mode (for cygwin)
131 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
133 * lyxsum.C: remove #warnings and replaced them with runtime debug
136 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
138 * lyxalgo.h: include <algorithm>
140 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
142 * lyx_algo.h: add a standard-conforming count to namespace lyx.
144 * lstrings.[Ch] (countChar): removed. Use lyx::count.
146 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
148 * filetools.C: fix use of FileInfo
151 * FileInfo.C: add Asserts and documentation
153 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
155 * os_win32.C: compilation fixes
157 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
159 * lstrings.h: do not include <cctype>
161 2001-12-12 Ben Stanley <bds02@uow.edu.au>
163 * lyxsum.C: portability fix for mmap patch
165 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
169 * lyxstring.C: change "while(" to "while ("
171 2001-12-03 Ben Stanley <bds02@uow.edu.au>
173 * lyxsum.C: Added mmap version of CRC and made it selected
174 by default where available. Used process_block for crc for speedup.
176 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
178 * filetools.C: more robust failure for DirList()
180 2001-11-29 André Pönitz <poenitz@gmx.net>
182 * types.h: introduce types for textclass numbers and layout numbers
184 2001-11-28 André Pönitz <poenitz@gmx.net>
186 * Makefile.am: put types.h in
188 2001-11-26 André Pönitz <poenitz@gmx.net>
190 * types.h: introduce types for paragraph positions and layout numbers
192 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
194 * filetools.C: remove dead code
196 * syscall.C: show prog in fail case
198 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
200 * filetools.C: code style cleanup
202 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
204 * os.h: remove spurious punctuation.
206 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
209 * LAssert.C: use new emergencyCleanup()
211 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
213 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
214 like GNU gettext does.
216 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
218 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
220 (findtexfile): oops! the change from last friday was wrong...
222 * os_win32.C (is_absolute_path):
223 * os_unix.C (is_absolute_path):
224 * os_os2.C (is_absolute_path): new method
226 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
228 * filetools.C (findtexfile): apply os::internal_path to the result.
230 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
235 * os.h: add internal_path method, which converts a unix-type file
236 name to the type known to the underlying file system (currently
237 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
239 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
241 * smart_ptr.h: new file
243 * utility.h: new file
245 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
248 * filetools.C (IsDirWriteable): fix this
250 2001-07-26 Baruch Even <baruch@lyx.org>
252 * lyxlib.h (float_equal): Added function to compare floats almost equal
253 (see function comment).
255 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
257 Consistent use of Lsstream.h:
258 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
260 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
262 * translator.h: (*it). -> it->
264 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
266 * filetools.C (DeleteAllFilesInDir): send debug output to
267 Debug::FILES instewad of Debug::ANY.
269 * DebugStream.h: remove gcc 2.8.x hack.
271 2001-06-26 The LyX Project <jug@sad.it>
274 * lstrings.C (escape): move method to escape non ascii characters
275 from insets label and ref to here.
277 2001-06-25 The LyX Project <jug@sad.it>
279 * filetools.C (IsLyXFilename):
280 (IsSGMLFilename): do case insensitive name matching
282 2001-06-24 The LyX Project <jug@sad.it>
284 * lstrings.C (compare_ascii_no_case): version of compare_no_case
285 which only considers case of ascii characters
287 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
290 2001-06-23 The LyX Project <jug@sad.it>
292 * textutils.h (IsPrintable): take into account unprintable spaces
294 (IsDigit): new function
295 (IsLetterCharOrDigit): use IsDigit
297 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
299 * filetools.C (findtexfile): strip final \r if necessary (for
302 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
305 * StrPool.C: removed // -*- C++ -*- as first line.
307 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
309 * lyxsum.C (do_crc): switch to use boost::crc for generating the
312 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
317 * LSubstring.C: bring C functions in global namespace if
320 * lstrings.h (compare): use the std:: version of str[n]cmp only
323 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
325 * syscontr.C: add std::
327 * syscall.C: add std::
329 * lstrings.h (compare): add std::
331 * lstrings.C (prefixIs): add std::
335 * LSubstring.C (LSubstring): add std::
337 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
339 * lyxsum.C (sum): use istreambuf_iterator when available.
341 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
343 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
346 * lyxstring.C (operator): make const operator[] behave as
349 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
351 * Makefile.am (EXTRA_DIST): add the os_*.C files.
353 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
355 * filetools.C (MakeAbsPath): remove debugging statement
357 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
359 * FileInfo.h: X_OK workaround for cygwin
368 * filetools.h: Added os:: class.
372 * tempname.C: OS/2 fixes
374 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
376 * textutils.h: remvoe !NEW_INSETS cruft
378 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
381 * atoi.C: add using directives when needed for C functions
382 declared in std:: namespace.
384 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
386 * lstrings.C : add two helper structs, local_lowercase and
388 (lowercase): change to use std::transform
389 (uppercase): change to use std::transform
391 2001-04-25 Allan Rae <rae@lyx.org>
393 * lyxstring.C : Assert got moved and Lars missed a few.
395 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
397 * LAssert.h (Assert): put into namespace lyx
399 * lyxfunctional.h: put into namespace lyx
400 * translator.h: adjust
402 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
404 * lyxalgo.h: put into namespace lyx, add firster and copy_if
406 * FileInfo.h: inherit privately from noncopyable
409 2001-04-16 Allan Rae <rae@lyx.org>
411 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
412 as an unrecognised preprocessor directive. So ensure they're wrapped.
414 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
416 * several files: remove CXX_WORKING_NAMESPACES
418 * FileInfo.h: noncopyable is in namespace boost
421 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
423 * syscontr.h: fix header include
425 2001-02-28 Baruch Even <baruch@ev-en.org>
427 * filetools.C: Removed dependency on syscall.h
430 * syscall.C: Minor cleanings before I start to touch this code.
432 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
434 * filetools.C (CreateTmpDir): change umask to 0700.
436 2001-02-27 José Matos <jamatos@fep.up.pt>
438 * filetools.h (BasePath):
439 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
441 * filetools.C (IsLyXFilename):
442 * filetools.C (IsSGMLFilename): test if extension is suffix and not
445 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
449 * atoi.C: remove cruft
451 2001-02-06 albert chin <china@thewrittenword.com>
454 * fmt.C: use HAVE_DECL_SNPRINTF
456 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
458 * lyxstring.C: Fix some assertions.
460 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
462 * lstrings.C (strip): Add a fix for compilers with broken
463 string::find_last_not_of.
465 * filetools.C (AddPath): Simplify by using strip and frontStrip.
467 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
469 * lyxstring.C (rfind): Fix broken functions.
470 (find): Few optimizations.