1 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
3 * tempname.C (make_tempfile): simplify the #ifdef block by using
4 #if defined and re-write the #warning as a #error because it's terminal.
6 2002-04-08 Herbert Voss <voss@perce.de>
8 * filetools.C (getExtFromContents): get tgif run
10 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
12 * filetools.C (getExtFromContents): re-format a little and remove
13 replicated "sgi" entry.
15 2002-04-07 Herbert Voss <voss@perce.de>
17 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
18 for the lyx-view in graphics (moved from ControlGraphics)
20 2002-04-07 Herbert Voss <voss@perce.de>
22 * filetools.C: fix bug for eps. scans now a whole line
24 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * lyxstring.C (operator>>): use the better solution, this fixes a
27 "not able to read '\0'" bug.
29 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
31 * translator.h: add missing typename
33 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
35 * filetools.C (LibScriptSearch): new command. Searches for scripts
36 in lyx data directories.
37 (LibScriptSearch): try to use split() correctly.
39 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
41 * most files: ws cleanup
43 * Makefile.am: remove ld -r stuff
45 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
47 * Makefile.am (libsupport.la): special rules if partial linking
49 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
51 * forkedcontr.C: turn the timer off when their are no longer any
52 child processes running.
54 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
56 * forkedcall.h: docy fix
57 change SignalType second type to be const ref.
59 * forkedcall.C: doxy fix
61 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
63 * lyxsum.C: compilation fix
65 2002-03-02 Herbert Voss <voss@perce.de>
67 * filetools.C: fix bug for xbm format and added some more debug
70 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
72 * forkedcontr.h: make constructor public
74 * types.h: remove layout_type
76 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
78 * filetools.C (getExtFromContents): cleanup.
80 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
82 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
84 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
85 building outside of source tree.
87 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
90 * forkedcontr.[Ch]: new files. Asger's forked call controller is
91 re-born, with a working timer and a modified interface. The
92 startscript method is now passed a Signal rather than a pointer
93 to a callback function. This enables us to connect to the method of
94 a C++ class, if we so desire.
96 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
98 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
103 * nt_defines.h: moved from src/
105 2002-02-23 Herbert Voss <voss@perce.de>
107 * filetools.C: added more graphic formats
109 2002-02-18 Herbert Voss <voss@perce.de>
111 * filetools.C: (getExtFromContents) return the fileextension
112 if no format is detected.
114 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
116 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
117 as class SystemCall because one Systemcall instance represents a
118 single child process.
121 * Makefile.am: associated changes.
123 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
125 * syscall.C (Systemcalls): include <cstdlib>
127 2002-02-08 Herbert Voss <voss@perce.de>
129 * filetools.C: (getExtFromContents) adding Grace-format
132 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
135 * syssingleton.C: files removed.
137 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
138 uses it. Strip down the Systemcalls interface to make it brutally
139 obvious how unsophisticated it is.
141 2002-02-08 Herbert Voss <voss@perce.de>
143 * filetools.C: (getExtFromContents) adding TGIF-format
144 and return type "user" when no type is detected
146 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
148 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
150 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
152 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
154 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
156 * FileInfo.h: remove special cygwin code.
158 * filetools.C (do_popen): use os::read_mode().
160 * os_win32.C (read_mode):
161 * os_os2.C (read_mode):
162 * os_unix.C (read_mode): new method
164 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
165 Hentschel). This code should maybe be moved to os:: class.
167 2002-02-08 Herbert Voss <voss@perce.de>
169 * filetools.C: (unzipFile) fix typo
171 2002-02-06 Herbert Voss <voss@perce.de>
173 * filetools.[Ch]: fix some bugs for detecting zipped files
176 2002-02-04 Herbert Voss <voss@perce.de>
178 * filetools.[Ch]: add ifZippedFile() for zipped
181 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
183 * filetools.C (FileOpenSearch): remove duplicated line, probably
184 resulting from bad cut-and paste.
186 2002-01-31 Herbert Voss <voss@perce.de>
188 * filetools.[Ch]: add getExtFromContents(), which returns
189 the type of the (graphic) file
191 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
193 * copy.C (copy): open file in binary mode (for cygwin)
195 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
197 * lyxsum.C: remove #warnings and replaced them with runtime debug
200 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
202 * lyxalgo.h: include <algorithm>
204 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
206 * lyx_algo.h: add a standard-conforming count to namespace lyx.
208 * lstrings.[Ch] (countChar): removed. Use lyx::count.
210 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
212 * filetools.C: fix use of FileInfo
215 * FileInfo.C: add Asserts and documentation
217 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
219 * os_win32.C: compilation fixes
221 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
223 * lstrings.h: do not include <cctype>
225 2001-12-12 Ben Stanley <bds02@uow.edu.au>
227 * lyxsum.C: portability fix for mmap patch
229 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
233 * lyxstring.C: change "while(" to "while ("
235 2001-12-03 Ben Stanley <bds02@uow.edu.au>
237 * lyxsum.C: Added mmap version of CRC and made it selected
238 by default where available. Used process_block for crc for speedup.
240 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
242 * filetools.C: more robust failure for DirList()
244 2001-11-29 André Pönitz <poenitz@gmx.net>
246 * types.h: introduce types for textclass numbers and layout numbers
248 2001-11-28 André Pönitz <poenitz@gmx.net>
250 * Makefile.am: put types.h in
252 2001-11-26 André Pönitz <poenitz@gmx.net>
254 * types.h: introduce types for paragraph positions and layout numbers
256 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
258 * filetools.C: remove dead code
260 * syscall.C: show prog in fail case
262 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
264 * filetools.C: code style cleanup
266 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
268 * os.h: remove spurious punctuation.
270 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
273 * LAssert.C: use new emergencyCleanup()
275 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
277 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
278 like GNU gettext does.
280 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
282 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
284 (findtexfile): oops! the change from last friday was wrong...
286 * os_win32.C (is_absolute_path):
287 * os_unix.C (is_absolute_path):
288 * os_os2.C (is_absolute_path): new method
290 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
292 * filetools.C (findtexfile): apply os::internal_path to the result.
294 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
299 * os.h: add internal_path method, which converts a unix-type file
300 name to the type known to the underlying file system (currently
301 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
303 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
305 * smart_ptr.h: new file
307 * utility.h: new file
309 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
312 * filetools.C (IsDirWriteable): fix this
314 2001-07-26 Baruch Even <baruch@lyx.org>
316 * lyxlib.h (float_equal): Added function to compare floats almost equal
317 (see function comment).
319 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
321 Consistent use of Lsstream.h:
322 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
324 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
326 * translator.h: (*it). -> it->
328 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
330 * filetools.C (DeleteAllFilesInDir): send debug output to
331 Debug::FILES instewad of Debug::ANY.
333 * DebugStream.h: remove gcc 2.8.x hack.
335 2001-06-26 The LyX Project <jug@sad.it>
338 * lstrings.C (escape): move method to escape non ascii characters
339 from insets label and ref to here.
341 2001-06-25 The LyX Project <jug@sad.it>
343 * filetools.C (IsLyXFilename):
344 (IsSGMLFilename): do case insensitive name matching
346 2001-06-24 The LyX Project <jug@sad.it>
348 * lstrings.C (compare_ascii_no_case): version of compare_no_case
349 which only considers case of ascii characters
351 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
354 2001-06-23 The LyX Project <jug@sad.it>
356 * textutils.h (IsPrintable): take into account unprintable spaces
358 (IsDigit): new function
359 (IsLetterCharOrDigit): use IsDigit
361 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
363 * filetools.C (findtexfile): strip final \r if necessary (for
366 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
369 * StrPool.C: removed // -*- C++ -*- as first line.
371 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
373 * lyxsum.C (do_crc): switch to use boost::crc for generating the
376 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
381 * LSubstring.C: bring C functions in global namespace if
384 * lstrings.h (compare): use the std:: version of str[n]cmp only
387 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
389 * syscontr.C: add std::
391 * syscall.C: add std::
393 * lstrings.h (compare): add std::
395 * lstrings.C (prefixIs): add std::
399 * LSubstring.C (LSubstring): add std::
401 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
403 * lyxsum.C (sum): use istreambuf_iterator when available.
405 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
407 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
410 * lyxstring.C (operator): make const operator[] behave as
413 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
415 * Makefile.am (EXTRA_DIST): add the os_*.C files.
417 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
419 * filetools.C (MakeAbsPath): remove debugging statement
421 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
423 * FileInfo.h: X_OK workaround for cygwin
432 * filetools.h: Added os:: class.
436 * tempname.C: OS/2 fixes
438 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
440 * textutils.h: remvoe !NEW_INSETS cruft
442 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
445 * atoi.C: add using directives when needed for C functions
446 declared in std:: namespace.
448 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
450 * lstrings.C : add two helper structs, local_lowercase and
452 (lowercase): change to use std::transform
453 (uppercase): change to use std::transform
455 2001-04-25 Allan Rae <rae@lyx.org>
457 * lyxstring.C : Assert got moved and Lars missed a few.
459 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
461 * LAssert.h (Assert): put into namespace lyx
463 * lyxfunctional.h: put into namespace lyx
464 * translator.h: adjust
466 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
468 * lyxalgo.h: put into namespace lyx, add firster and copy_if
470 * FileInfo.h: inherit privately from noncopyable
473 2001-04-16 Allan Rae <rae@lyx.org>
475 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
476 as an unrecognised preprocessor directive. So ensure they're wrapped.
478 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
480 * several files: remove CXX_WORKING_NAMESPACES
482 * FileInfo.h: noncopyable is in namespace boost
485 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
487 * syscontr.h: fix header include
489 2001-02-28 Baruch Even <baruch@ev-en.org>
491 * filetools.C: Removed dependency on syscall.h
494 * syscall.C: Minor cleanings before I start to touch this code.
496 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
498 * filetools.C (CreateTmpDir): change umask to 0700.
500 2001-02-27 José Matos <jamatos@fep.up.pt>
502 * filetools.h (BasePath):
503 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
505 * filetools.C (IsLyXFilename):
506 * filetools.C (IsSGMLFilename): test if extension is suffix and not
509 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
513 * atoi.C: remove cruft
515 2001-02-06 albert chin <china@thewrittenword.com>
518 * fmt.C: use HAVE_DECL_SNPRINTF
520 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
522 * lyxstring.C: Fix some assertions.
524 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
526 * lstrings.C (strip): Add a fix for compilers with broken
527 string::find_last_not_of.
529 * filetools.C (AddPath): Simplify by using strip and frontStrip.
531 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
533 * lyxstring.C (rfind): Fix broken functions.
534 (find): Few optimizations.