1 2002-04-07 Herbert Voss <voss@perce.de>
3 * filetools.C: fix bug for eps. scans now a whole line
5 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7 * lyxstring.C (operator>>): use the better solution, this fixes a
8 "not able to read '\0'" bug.
10 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12 * translator.h: add missing typename
14 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
16 * filetools.C (LibScriptSearch): new command. Searches for scripts
17 in lyx data directories.
18 (LibScriptSearch): try to use split() correctly.
20 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
22 * most files: ws cleanup
24 * Makefile.am: remove ld -r stuff
26 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
28 * Makefile.am (libsupport.la): special rules if partial linking
30 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
32 * forkedcontr.C: turn the timer off when their are no longer any
33 child processes running.
35 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
37 * forkedcall.h: docy fix
38 change SignalType second type to be const ref.
40 * forkedcall.C: doxy fix
42 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
44 * lyxsum.C: compilation fix
46 2002-03-02 Herbert Voss <voss@perce.de>
48 * filetools.C: fix bug for xbm format and added some more debug
51 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
53 * forkedcontr.h: make constructor public
55 * types.h: remove layout_type
57 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
59 * filetools.C (getExtFromContents): cleanup.
61 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
63 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
65 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
66 building outside of source tree.
68 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
71 * forkedcontr.[Ch]: new files. Asger's forked call controller is
72 re-born, with a working timer and a modified interface. The
73 startscript method is now passed a Signal rather than a pointer
74 to a callback function. This enables us to connect to the method of
75 a C++ class, if we so desire.
77 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
79 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
84 * nt_defines.h: moved from src/
86 2002-02-23 Herbert Voss <voss@perce.de>
88 * filetools.C: added more graphic formats
90 2002-02-18 Herbert Voss <voss@perce.de>
92 * filetools.C: (getExtFromContents) return the fileextension
93 if no format is detected.
95 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
97 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
98 as class SystemCall because one Systemcall instance represents a
102 * Makefile.am: associated changes.
104 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
106 * syscall.C (Systemcalls): include <cstdlib>
108 2002-02-08 Herbert Voss <voss@perce.de>
110 * filetools.C: (getExtFromContents) adding Grace-format
113 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
116 * syssingleton.C: files removed.
118 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
119 uses it. Strip down the Systemcalls interface to make it brutally
120 obvious how unsophisticated it is.
122 2002-02-08 Herbert Voss <voss@perce.de>
124 * filetools.C: (getExtFromContents) adding TGIF-format
125 and return type "user" when no type is detected
127 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
129 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
131 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
133 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
135 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
137 * FileInfo.h: remove special cygwin code.
139 * filetools.C (do_popen): use os::read_mode().
141 * os_win32.C (read_mode):
142 * os_os2.C (read_mode):
143 * os_unix.C (read_mode): new method
145 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
146 Hentschel). This code should maybe be moved to os:: class.
148 2002-02-08 Herbert Voss <voss@perce.de>
150 * filetools.C: (unzipFile) fix typo
152 2002-02-06 Herbert Voss <voss@perce.de>
154 * filetools.[Ch]: fix some bugs for detecting zipped files
157 2002-02-04 Herbert Voss <voss@perce.de>
159 * filetools.[Ch]: add ifZippedFile() for zipped
162 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
164 * filetools.C (FileOpenSearch): remove duplicated line, probably
165 resulting from bad cut-and paste.
167 2002-01-31 Herbert Voss <voss@perce.de>
169 * filetools.[Ch]: add getExtFromContents(), which returns
170 the type of the (graphic) file
172 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
174 * copy.C (copy): open file in binary mode (for cygwin)
176 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
178 * lyxsum.C: remove #warnings and replaced them with runtime debug
181 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
183 * lyxalgo.h: include <algorithm>
185 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
187 * lyx_algo.h: add a standard-conforming count to namespace lyx.
189 * lstrings.[Ch] (countChar): removed. Use lyx::count.
191 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
193 * filetools.C: fix use of FileInfo
196 * FileInfo.C: add Asserts and documentation
198 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
200 * os_win32.C: compilation fixes
202 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
204 * lstrings.h: do not include <cctype>
206 2001-12-12 Ben Stanley <bds02@uow.edu.au>
208 * lyxsum.C: portability fix for mmap patch
210 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
214 * lyxstring.C: change "while(" to "while ("
216 2001-12-03 Ben Stanley <bds02@uow.edu.au>
218 * lyxsum.C: Added mmap version of CRC and made it selected
219 by default where available. Used process_block for crc for speedup.
221 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
223 * filetools.C: more robust failure for DirList()
225 2001-11-29 André Pönitz <poenitz@gmx.net>
227 * types.h: introduce types for textclass numbers and layout numbers
229 2001-11-28 André Pönitz <poenitz@gmx.net>
231 * Makefile.am: put types.h in
233 2001-11-26 André Pönitz <poenitz@gmx.net>
235 * types.h: introduce types for paragraph positions and layout numbers
237 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
239 * filetools.C: remove dead code
241 * syscall.C: show prog in fail case
243 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
245 * filetools.C: code style cleanup
247 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
249 * os.h: remove spurious punctuation.
251 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
254 * LAssert.C: use new emergencyCleanup()
256 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
258 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
259 like GNU gettext does.
261 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
263 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
265 (findtexfile): oops! the change from last friday was wrong...
267 * os_win32.C (is_absolute_path):
268 * os_unix.C (is_absolute_path):
269 * os_os2.C (is_absolute_path): new method
271 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
273 * filetools.C (findtexfile): apply os::internal_path to the result.
275 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
280 * os.h: add internal_path method, which converts a unix-type file
281 name to the type known to the underlying file system (currently
282 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
284 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
286 * smart_ptr.h: new file
288 * utility.h: new file
290 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
293 * filetools.C (IsDirWriteable): fix this
295 2001-07-26 Baruch Even <baruch@lyx.org>
297 * lyxlib.h (float_equal): Added function to compare floats almost equal
298 (see function comment).
300 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
302 Consistent use of Lsstream.h:
303 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
305 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
307 * translator.h: (*it). -> it->
309 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
311 * filetools.C (DeleteAllFilesInDir): send debug output to
312 Debug::FILES instewad of Debug::ANY.
314 * DebugStream.h: remove gcc 2.8.x hack.
316 2001-06-26 The LyX Project <jug@sad.it>
319 * lstrings.C (escape): move method to escape non ascii characters
320 from insets label and ref to here.
322 2001-06-25 The LyX Project <jug@sad.it>
324 * filetools.C (IsLyXFilename):
325 (IsSGMLFilename): do case insensitive name matching
327 2001-06-24 The LyX Project <jug@sad.it>
329 * lstrings.C (compare_ascii_no_case): version of compare_no_case
330 which only considers case of ascii characters
332 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
335 2001-06-23 The LyX Project <jug@sad.it>
337 * textutils.h (IsPrintable): take into account unprintable spaces
339 (IsDigit): new function
340 (IsLetterCharOrDigit): use IsDigit
342 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
344 * filetools.C (findtexfile): strip final \r if necessary (for
347 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
350 * StrPool.C: removed // -*- C++ -*- as first line.
352 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
354 * lyxsum.C (do_crc): switch to use boost::crc for generating the
357 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
362 * LSubstring.C: bring C functions in global namespace if
365 * lstrings.h (compare): use the std:: version of str[n]cmp only
368 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
370 * syscontr.C: add std::
372 * syscall.C: add std::
374 * lstrings.h (compare): add std::
376 * lstrings.C (prefixIs): add std::
380 * LSubstring.C (LSubstring): add std::
382 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
384 * lyxsum.C (sum): use istreambuf_iterator when available.
386 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
388 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
391 * lyxstring.C (operator): make const operator[] behave as
394 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
396 * Makefile.am (EXTRA_DIST): add the os_*.C files.
398 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
400 * filetools.C (MakeAbsPath): remove debugging statement
402 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
404 * FileInfo.h: X_OK workaround for cygwin
413 * filetools.h: Added os:: class.
417 * tempname.C: OS/2 fixes
419 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
421 * textutils.h: remvoe !NEW_INSETS cruft
423 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
426 * atoi.C: add using directives when needed for C functions
427 declared in std:: namespace.
429 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
431 * lstrings.C : add two helper structs, local_lowercase and
433 (lowercase): change to use std::transform
434 (uppercase): change to use std::transform
436 2001-04-25 Allan Rae <rae@lyx.org>
438 * lyxstring.C : Assert got moved and Lars missed a few.
440 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
442 * LAssert.h (Assert): put into namespace lyx
444 * lyxfunctional.h: put into namespace lyx
445 * translator.h: adjust
447 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
449 * lyxalgo.h: put into namespace lyx, add firster and copy_if
451 * FileInfo.h: inherit privately from noncopyable
454 2001-04-16 Allan Rae <rae@lyx.org>
456 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
457 as an unrecognised preprocessor directive. So ensure they're wrapped.
459 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
461 * several files: remove CXX_WORKING_NAMESPACES
463 * FileInfo.h: noncopyable is in namespace boost
466 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
468 * syscontr.h: fix header include
470 2001-02-28 Baruch Even <baruch@ev-en.org>
472 * filetools.C: Removed dependency on syscall.h
475 * syscall.C: Minor cleanings before I start to touch this code.
477 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
479 * filetools.C (CreateTmpDir): change umask to 0700.
481 2001-02-27 José Matos <jamatos@fep.up.pt>
483 * filetools.h (BasePath):
484 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
486 * filetools.C (IsLyXFilename):
487 * filetools.C (IsSGMLFilename): test if extension is suffix and not
490 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
494 * atoi.C: remove cruft
496 2001-02-06 albert chin <china@thewrittenword.com>
499 * fmt.C: use HAVE_DECL_SNPRINTF
501 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
503 * lyxstring.C: Fix some assertions.
505 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
507 * lstrings.C (strip): Add a fix for compilers with broken
508 string::find_last_not_of.
510 * filetools.C (AddPath): Simplify by using strip and frontStrip.
512 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
514 * lyxstring.C (rfind): Fix broken functions.
515 (find): Few optimizations.