1 2002-04-08 Herbert Voss <voss@perce.de>
3 * filetools.C (getExtFromContents): get tgif run
5 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
7 * filetools.C (getExtFromContents): re-format a little and remove
8 replicated "sgi" entry.
10 2002-04-07 Herbert Voss <voss@perce.de>
12 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
13 for the lyx-view in graphics (moved from ControlGraphics)
15 2002-04-07 Herbert Voss <voss@perce.de>
17 * filetools.C: fix bug for eps. scans now a whole line
19 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
21 * lyxstring.C (operator>>): use the better solution, this fixes a
22 "not able to read '\0'" bug.
24 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * translator.h: add missing typename
28 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
30 * filetools.C (LibScriptSearch): new command. Searches for scripts
31 in lyx data directories.
32 (LibScriptSearch): try to use split() correctly.
34 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
36 * most files: ws cleanup
38 * Makefile.am: remove ld -r stuff
40 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
42 * Makefile.am (libsupport.la): special rules if partial linking
44 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
46 * forkedcontr.C: turn the timer off when their are no longer any
47 child processes running.
49 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
51 * forkedcall.h: docy fix
52 change SignalType second type to be const ref.
54 * forkedcall.C: doxy fix
56 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
58 * lyxsum.C: compilation fix
60 2002-03-02 Herbert Voss <voss@perce.de>
62 * filetools.C: fix bug for xbm format and added some more debug
65 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
67 * forkedcontr.h: make constructor public
69 * types.h: remove layout_type
71 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
73 * filetools.C (getExtFromContents): cleanup.
75 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
77 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
79 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
80 building outside of source tree.
82 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
85 * forkedcontr.[Ch]: new files. Asger's forked call controller is
86 re-born, with a working timer and a modified interface. The
87 startscript method is now passed a Signal rather than a pointer
88 to a callback function. This enables us to connect to the method of
89 a C++ class, if we so desire.
91 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
93 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
98 * nt_defines.h: moved from src/
100 2002-02-23 Herbert Voss <voss@perce.de>
102 * filetools.C: added more graphic formats
104 2002-02-18 Herbert Voss <voss@perce.de>
106 * filetools.C: (getExtFromContents) return the fileextension
107 if no format is detected.
109 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
111 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
112 as class SystemCall because one Systemcall instance represents a
113 single child process.
116 * Makefile.am: associated changes.
118 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
120 * syscall.C (Systemcalls): include <cstdlib>
122 2002-02-08 Herbert Voss <voss@perce.de>
124 * filetools.C: (getExtFromContents) adding Grace-format
127 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
130 * syssingleton.C: files removed.
132 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
133 uses it. Strip down the Systemcalls interface to make it brutally
134 obvious how unsophisticated it is.
136 2002-02-08 Herbert Voss <voss@perce.de>
138 * filetools.C: (getExtFromContents) adding TGIF-format
139 and return type "user" when no type is detected
141 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
143 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
145 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
147 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
149 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
151 * FileInfo.h: remove special cygwin code.
153 * filetools.C (do_popen): use os::read_mode().
155 * os_win32.C (read_mode):
156 * os_os2.C (read_mode):
157 * os_unix.C (read_mode): new method
159 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
160 Hentschel). This code should maybe be moved to os:: class.
162 2002-02-08 Herbert Voss <voss@perce.de>
164 * filetools.C: (unzipFile) fix typo
166 2002-02-06 Herbert Voss <voss@perce.de>
168 * filetools.[Ch]: fix some bugs for detecting zipped files
171 2002-02-04 Herbert Voss <voss@perce.de>
173 * filetools.[Ch]: add ifZippedFile() for zipped
176 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
178 * filetools.C (FileOpenSearch): remove duplicated line, probably
179 resulting from bad cut-and paste.
181 2002-01-31 Herbert Voss <voss@perce.de>
183 * filetools.[Ch]: add getExtFromContents(), which returns
184 the type of the (graphic) file
186 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
188 * copy.C (copy): open file in binary mode (for cygwin)
190 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
192 * lyxsum.C: remove #warnings and replaced them with runtime debug
195 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
197 * lyxalgo.h: include <algorithm>
199 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
201 * lyx_algo.h: add a standard-conforming count to namespace lyx.
203 * lstrings.[Ch] (countChar): removed. Use lyx::count.
205 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
207 * filetools.C: fix use of FileInfo
210 * FileInfo.C: add Asserts and documentation
212 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
214 * os_win32.C: compilation fixes
216 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
218 * lstrings.h: do not include <cctype>
220 2001-12-12 Ben Stanley <bds02@uow.edu.au>
222 * lyxsum.C: portability fix for mmap patch
224 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
228 * lyxstring.C: change "while(" to "while ("
230 2001-12-03 Ben Stanley <bds02@uow.edu.au>
232 * lyxsum.C: Added mmap version of CRC and made it selected
233 by default where available. Used process_block for crc for speedup.
235 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
237 * filetools.C: more robust failure for DirList()
239 2001-11-29 André Pönitz <poenitz@gmx.net>
241 * types.h: introduce types for textclass numbers and layout numbers
243 2001-11-28 André Pönitz <poenitz@gmx.net>
245 * Makefile.am: put types.h in
247 2001-11-26 André Pönitz <poenitz@gmx.net>
249 * types.h: introduce types for paragraph positions and layout numbers
251 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
253 * filetools.C: remove dead code
255 * syscall.C: show prog in fail case
257 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
259 * filetools.C: code style cleanup
261 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
263 * os.h: remove spurious punctuation.
265 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
268 * LAssert.C: use new emergencyCleanup()
270 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
272 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
273 like GNU gettext does.
275 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
277 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
279 (findtexfile): oops! the change from last friday was wrong...
281 * os_win32.C (is_absolute_path):
282 * os_unix.C (is_absolute_path):
283 * os_os2.C (is_absolute_path): new method
285 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
287 * filetools.C (findtexfile): apply os::internal_path to the result.
289 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
294 * os.h: add internal_path method, which converts a unix-type file
295 name to the type known to the underlying file system (currently
296 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
298 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
300 * smart_ptr.h: new file
302 * utility.h: new file
304 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
307 * filetools.C (IsDirWriteable): fix this
309 2001-07-26 Baruch Even <baruch@lyx.org>
311 * lyxlib.h (float_equal): Added function to compare floats almost equal
312 (see function comment).
314 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
316 Consistent use of Lsstream.h:
317 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
319 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
321 * translator.h: (*it). -> it->
323 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
325 * filetools.C (DeleteAllFilesInDir): send debug output to
326 Debug::FILES instewad of Debug::ANY.
328 * DebugStream.h: remove gcc 2.8.x hack.
330 2001-06-26 The LyX Project <jug@sad.it>
333 * lstrings.C (escape): move method to escape non ascii characters
334 from insets label and ref to here.
336 2001-06-25 The LyX Project <jug@sad.it>
338 * filetools.C (IsLyXFilename):
339 (IsSGMLFilename): do case insensitive name matching
341 2001-06-24 The LyX Project <jug@sad.it>
343 * lstrings.C (compare_ascii_no_case): version of compare_no_case
344 which only considers case of ascii characters
346 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
349 2001-06-23 The LyX Project <jug@sad.it>
351 * textutils.h (IsPrintable): take into account unprintable spaces
353 (IsDigit): new function
354 (IsLetterCharOrDigit): use IsDigit
356 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
358 * filetools.C (findtexfile): strip final \r if necessary (for
361 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
364 * StrPool.C: removed // -*- C++ -*- as first line.
366 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
368 * lyxsum.C (do_crc): switch to use boost::crc for generating the
371 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
376 * LSubstring.C: bring C functions in global namespace if
379 * lstrings.h (compare): use the std:: version of str[n]cmp only
382 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
384 * syscontr.C: add std::
386 * syscall.C: add std::
388 * lstrings.h (compare): add std::
390 * lstrings.C (prefixIs): add std::
394 * LSubstring.C (LSubstring): add std::
396 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
398 * lyxsum.C (sum): use istreambuf_iterator when available.
400 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
402 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
405 * lyxstring.C (operator): make const operator[] behave as
408 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
410 * Makefile.am (EXTRA_DIST): add the os_*.C files.
412 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
414 * filetools.C (MakeAbsPath): remove debugging statement
416 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
418 * FileInfo.h: X_OK workaround for cygwin
427 * filetools.h: Added os:: class.
431 * tempname.C: OS/2 fixes
433 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
435 * textutils.h: remvoe !NEW_INSETS cruft
437 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
440 * atoi.C: add using directives when needed for C functions
441 declared in std:: namespace.
443 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
445 * lstrings.C : add two helper structs, local_lowercase and
447 (lowercase): change to use std::transform
448 (uppercase): change to use std::transform
450 2001-04-25 Allan Rae <rae@lyx.org>
452 * lyxstring.C : Assert got moved and Lars missed a few.
454 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
456 * LAssert.h (Assert): put into namespace lyx
458 * lyxfunctional.h: put into namespace lyx
459 * translator.h: adjust
461 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
463 * lyxalgo.h: put into namespace lyx, add firster and copy_if
465 * FileInfo.h: inherit privately from noncopyable
468 2001-04-16 Allan Rae <rae@lyx.org>
470 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
471 as an unrecognised preprocessor directive. So ensure they're wrapped.
473 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
475 * several files: remove CXX_WORKING_NAMESPACES
477 * FileInfo.h: noncopyable is in namespace boost
480 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
482 * syscontr.h: fix header include
484 2001-02-28 Baruch Even <baruch@ev-en.org>
486 * filetools.C: Removed dependency on syscall.h
489 * syscall.C: Minor cleanings before I start to touch this code.
491 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
493 * filetools.C (CreateTmpDir): change umask to 0700.
495 2001-02-27 José Matos <jamatos@fep.up.pt>
497 * filetools.h (BasePath):
498 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
500 * filetools.C (IsLyXFilename):
501 * filetools.C (IsSGMLFilename): test if extension is suffix and not
504 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
508 * atoi.C: remove cruft
510 2001-02-06 albert chin <china@thewrittenword.com>
513 * fmt.C: use HAVE_DECL_SNPRINTF
515 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
517 * lyxstring.C: Fix some assertions.
519 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
521 * lstrings.C (strip): Add a fix for compilers with broken
522 string::find_last_not_of.
524 * filetools.C (AddPath): Simplify by using strip and frontStrip.
526 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
528 * lyxstring.C (rfind): Fix broken functions.
529 (find): Few optimizations.