1 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
3 * filetools.C (getExtFromContents): re-format a little and remove
4 replicated "sgi" entry.
6 2002-04-07 Herbert Voss <voss@perce.de>
8 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
9 for the lyx-view in graphics (moved from ControlGraphics)
11 2002-04-07 Herbert Voss <voss@perce.de>
13 * filetools.C: fix bug for eps. scans now a whole line
15 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17 * lyxstring.C (operator>>): use the better solution, this fixes a
18 "not able to read '\0'" bug.
20 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
22 * translator.h: add missing typename
24 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
26 * filetools.C (LibScriptSearch): new command. Searches for scripts
27 in lyx data directories.
28 (LibScriptSearch): try to use split() correctly.
30 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
32 * most files: ws cleanup
34 * Makefile.am: remove ld -r stuff
36 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
38 * Makefile.am (libsupport.la): special rules if partial linking
40 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
42 * forkedcontr.C: turn the timer off when their are no longer any
43 child processes running.
45 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
47 * forkedcall.h: docy fix
48 change SignalType second type to be const ref.
50 * forkedcall.C: doxy fix
52 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
54 * lyxsum.C: compilation fix
56 2002-03-02 Herbert Voss <voss@perce.de>
58 * filetools.C: fix bug for xbm format and added some more debug
61 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
63 * forkedcontr.h: make constructor public
65 * types.h: remove layout_type
67 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
69 * filetools.C (getExtFromContents): cleanup.
71 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
73 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
75 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
76 building outside of source tree.
78 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
81 * forkedcontr.[Ch]: new files. Asger's forked call controller is
82 re-born, with a working timer and a modified interface. The
83 startscript method is now passed a Signal rather than a pointer
84 to a callback function. This enables us to connect to the method of
85 a C++ class, if we so desire.
87 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
89 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
94 * nt_defines.h: moved from src/
96 2002-02-23 Herbert Voss <voss@perce.de>
98 * filetools.C: added more graphic formats
100 2002-02-18 Herbert Voss <voss@perce.de>
102 * filetools.C: (getExtFromContents) return the fileextension
103 if no format is detected.
105 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
107 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
108 as class SystemCall because one Systemcall instance represents a
109 single child process.
112 * Makefile.am: associated changes.
114 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
116 * syscall.C (Systemcalls): include <cstdlib>
118 2002-02-08 Herbert Voss <voss@perce.de>
120 * filetools.C: (getExtFromContents) adding Grace-format
123 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
126 * syssingleton.C: files removed.
128 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
129 uses it. Strip down the Systemcalls interface to make it brutally
130 obvious how unsophisticated it is.
132 2002-02-08 Herbert Voss <voss@perce.de>
134 * filetools.C: (getExtFromContents) adding TGIF-format
135 and return type "user" when no type is detected
137 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
139 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
141 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
143 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
145 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
147 * FileInfo.h: remove special cygwin code.
149 * filetools.C (do_popen): use os::read_mode().
151 * os_win32.C (read_mode):
152 * os_os2.C (read_mode):
153 * os_unix.C (read_mode): new method
155 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
156 Hentschel). This code should maybe be moved to os:: class.
158 2002-02-08 Herbert Voss <voss@perce.de>
160 * filetools.C: (unzipFile) fix typo
162 2002-02-06 Herbert Voss <voss@perce.de>
164 * filetools.[Ch]: fix some bugs for detecting zipped files
167 2002-02-04 Herbert Voss <voss@perce.de>
169 * filetools.[Ch]: add ifZippedFile() for zipped
172 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
174 * filetools.C (FileOpenSearch): remove duplicated line, probably
175 resulting from bad cut-and paste.
177 2002-01-31 Herbert Voss <voss@perce.de>
179 * filetools.[Ch]: add getExtFromContents(), which returns
180 the type of the (graphic) file
182 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
184 * copy.C (copy): open file in binary mode (for cygwin)
186 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
188 * lyxsum.C: remove #warnings and replaced them with runtime debug
191 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
193 * lyxalgo.h: include <algorithm>
195 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
197 * lyx_algo.h: add a standard-conforming count to namespace lyx.
199 * lstrings.[Ch] (countChar): removed. Use lyx::count.
201 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
203 * filetools.C: fix use of FileInfo
206 * FileInfo.C: add Asserts and documentation
208 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
210 * os_win32.C: compilation fixes
212 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
214 * lstrings.h: do not include <cctype>
216 2001-12-12 Ben Stanley <bds02@uow.edu.au>
218 * lyxsum.C: portability fix for mmap patch
220 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
224 * lyxstring.C: change "while(" to "while ("
226 2001-12-03 Ben Stanley <bds02@uow.edu.au>
228 * lyxsum.C: Added mmap version of CRC and made it selected
229 by default where available. Used process_block for crc for speedup.
231 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
233 * filetools.C: more robust failure for DirList()
235 2001-11-29 André Pönitz <poenitz@gmx.net>
237 * types.h: introduce types for textclass numbers and layout numbers
239 2001-11-28 André Pönitz <poenitz@gmx.net>
241 * Makefile.am: put types.h in
243 2001-11-26 André Pönitz <poenitz@gmx.net>
245 * types.h: introduce types for paragraph positions and layout numbers
247 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
249 * filetools.C: remove dead code
251 * syscall.C: show prog in fail case
253 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
255 * filetools.C: code style cleanup
257 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
259 * os.h: remove spurious punctuation.
261 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
264 * LAssert.C: use new emergencyCleanup()
266 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
268 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
269 like GNU gettext does.
271 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
273 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
275 (findtexfile): oops! the change from last friday was wrong...
277 * os_win32.C (is_absolute_path):
278 * os_unix.C (is_absolute_path):
279 * os_os2.C (is_absolute_path): new method
281 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
283 * filetools.C (findtexfile): apply os::internal_path to the result.
285 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
290 * os.h: add internal_path method, which converts a unix-type file
291 name to the type known to the underlying file system (currently
292 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
294 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
296 * smart_ptr.h: new file
298 * utility.h: new file
300 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
303 * filetools.C (IsDirWriteable): fix this
305 2001-07-26 Baruch Even <baruch@lyx.org>
307 * lyxlib.h (float_equal): Added function to compare floats almost equal
308 (see function comment).
310 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
312 Consistent use of Lsstream.h:
313 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
315 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
317 * translator.h: (*it). -> it->
319 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
321 * filetools.C (DeleteAllFilesInDir): send debug output to
322 Debug::FILES instewad of Debug::ANY.
324 * DebugStream.h: remove gcc 2.8.x hack.
326 2001-06-26 The LyX Project <jug@sad.it>
329 * lstrings.C (escape): move method to escape non ascii characters
330 from insets label and ref to here.
332 2001-06-25 The LyX Project <jug@sad.it>
334 * filetools.C (IsLyXFilename):
335 (IsSGMLFilename): do case insensitive name matching
337 2001-06-24 The LyX Project <jug@sad.it>
339 * lstrings.C (compare_ascii_no_case): version of compare_no_case
340 which only considers case of ascii characters
342 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
345 2001-06-23 The LyX Project <jug@sad.it>
347 * textutils.h (IsPrintable): take into account unprintable spaces
349 (IsDigit): new function
350 (IsLetterCharOrDigit): use IsDigit
352 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
354 * filetools.C (findtexfile): strip final \r if necessary (for
357 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
360 * StrPool.C: removed // -*- C++ -*- as first line.
362 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
364 * lyxsum.C (do_crc): switch to use boost::crc for generating the
367 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
372 * LSubstring.C: bring C functions in global namespace if
375 * lstrings.h (compare): use the std:: version of str[n]cmp only
378 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
380 * syscontr.C: add std::
382 * syscall.C: add std::
384 * lstrings.h (compare): add std::
386 * lstrings.C (prefixIs): add std::
390 * LSubstring.C (LSubstring): add std::
392 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
394 * lyxsum.C (sum): use istreambuf_iterator when available.
396 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
398 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
401 * lyxstring.C (operator): make const operator[] behave as
404 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
406 * Makefile.am (EXTRA_DIST): add the os_*.C files.
408 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
410 * filetools.C (MakeAbsPath): remove debugging statement
412 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
414 * FileInfo.h: X_OK workaround for cygwin
423 * filetools.h: Added os:: class.
427 * tempname.C: OS/2 fixes
429 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
431 * textutils.h: remvoe !NEW_INSETS cruft
433 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
436 * atoi.C: add using directives when needed for C functions
437 declared in std:: namespace.
439 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
441 * lstrings.C : add two helper structs, local_lowercase and
443 (lowercase): change to use std::transform
444 (uppercase): change to use std::transform
446 2001-04-25 Allan Rae <rae@lyx.org>
448 * lyxstring.C : Assert got moved and Lars missed a few.
450 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
452 * LAssert.h (Assert): put into namespace lyx
454 * lyxfunctional.h: put into namespace lyx
455 * translator.h: adjust
457 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
459 * lyxalgo.h: put into namespace lyx, add firster and copy_if
461 * FileInfo.h: inherit privately from noncopyable
464 2001-04-16 Allan Rae <rae@lyx.org>
466 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
467 as an unrecognised preprocessor directive. So ensure they're wrapped.
469 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
471 * several files: remove CXX_WORKING_NAMESPACES
473 * FileInfo.h: noncopyable is in namespace boost
476 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
478 * syscontr.h: fix header include
480 2001-02-28 Baruch Even <baruch@ev-en.org>
482 * filetools.C: Removed dependency on syscall.h
485 * syscall.C: Minor cleanings before I start to touch this code.
487 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
489 * filetools.C (CreateTmpDir): change umask to 0700.
491 2001-02-27 José Matos <jamatos@fep.up.pt>
493 * filetools.h (BasePath):
494 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
496 * filetools.C (IsLyXFilename):
497 * filetools.C (IsSGMLFilename): test if extension is suffix and not
500 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
504 * atoi.C: remove cruft
506 2001-02-06 albert chin <china@thewrittenword.com>
509 * fmt.C: use HAVE_DECL_SNPRINTF
511 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
513 * lyxstring.C: Fix some assertions.
515 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
517 * lstrings.C (strip): Add a fix for compilers with broken
518 string::find_last_not_of.
520 * filetools.C (AddPath): Simplify by using strip and frontStrip.
522 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
524 * lyxstring.C (rfind): Fix broken functions.
525 (find): Few optimizations.