1 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3 * filetools.C (LibScriptSearch): new command. Searches for scripts
4 in lyx data directories.
5 (LibScriptSearch): try to use split() correctly.
7 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9 * most files: ws cleanup
11 * Makefile.am: remove ld -r stuff
13 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
15 * Makefile.am (libsupport.la): special rules if partial linking
17 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
19 * forkedcontr.C: turn the timer off when their are no longer any
20 child processes running.
22 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
24 * forkedcall.h: docy fix
25 change SignalType second type to be const ref.
27 * forkedcall.C: doxy fix
29 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
31 * lyxsum.C: compilation fix
33 2002-03-02 Herbert Voss <voss@perce.de>
35 * filetools.C: fix bug for xbm format and added some more debug
38 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
40 * forkedcontr.h: make constructor public
42 * types.h: remove layout_type
44 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
46 * filetools.C (getExtFromContents): cleanup.
48 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
50 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
52 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
53 building outside of source tree.
55 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
58 * forkedcontr.[Ch]: new files. Asger's forked call controller is
59 re-born, with a working timer and a modified interface. The
60 startscript method is now passed a Signal rather than a pointer
61 to a callback function. This enables us to connect to the method of
62 a C++ class, if we so desire.
64 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
66 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
71 * nt_defines.h: moved from src/
73 2002-02-23 Herbert Voss <voss@perce.de>
75 * filetools.C: added more graphic formats
77 2002-02-18 Herbert Voss <voss@perce.de>
79 * filetools.C: (getExtFromContents) return the fileextension
80 if no format is detected.
82 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
84 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
85 as class SystemCall because one Systemcall instance represents a
89 * Makefile.am: associated changes.
91 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
93 * syscall.C (Systemcalls): include <cstdlib>
95 2002-02-08 Herbert Voss <voss@perce.de>
97 * filetools.C: (getExtFromContents) adding Grace-format
100 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
103 * syssingleton.C: files removed.
105 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
106 uses it. Strip down the Systemcalls interface to make it brutally
107 obvious how unsophisticated it is.
109 2002-02-08 Herbert Voss <voss@perce.de>
111 * filetools.C: (getExtFromContents) adding TGIF-format
112 and return type "user" when no type is detected
114 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
116 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
118 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
120 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
122 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
124 * FileInfo.h: remove special cygwin code.
126 * filetools.C (do_popen): use os::read_mode().
128 * os_win32.C (read_mode):
129 * os_os2.C (read_mode):
130 * os_unix.C (read_mode): new method
132 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
133 Hentschel). This code should maybe be moved to os:: class.
135 2002-02-08 Herbert Voss <voss@perce.de>
137 * filetools.C: (unzipFile) fix typo
139 2002-02-06 Herbert Voss <voss@perce.de>
141 * filetools.[Ch]: fix some bugs for detecting zipped files
144 2002-02-04 Herbert Voss <voss@perce.de>
146 * filetools.[Ch]: add ifZippedFile() for zipped
149 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
151 * filetools.C (FileOpenSearch): remove duplicated line, probably
152 resulting from bad cut-and paste.
154 2002-01-31 Herbert Voss <voss@perce.de>
156 * filetools.[Ch]: add getExtFromContents(), which returns
157 the type of the (graphic) file
159 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
161 * copy.C (copy): open file in binary mode (for cygwin)
163 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
165 * lyxsum.C: remove #warnings and replaced them with runtime debug
168 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
170 * lyxalgo.h: include <algorithm>
172 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
174 * lyx_algo.h: add a standard-conforming count to namespace lyx.
176 * lstrings.[Ch] (countChar): removed. Use lyx::count.
178 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
180 * filetools.C: fix use of FileInfo
183 * FileInfo.C: add Asserts and documentation
185 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
187 * os_win32.C: compilation fixes
189 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
191 * lstrings.h: do not include <cctype>
193 2001-12-12 Ben Stanley <bds02@uow.edu.au>
195 * lyxsum.C: portability fix for mmap patch
197 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
201 * lyxstring.C: change "while(" to "while ("
203 2001-12-03 Ben Stanley <bds02@uow.edu.au>
205 * lyxsum.C: Added mmap version of CRC and made it selected
206 by default where available. Used process_block for crc for speedup.
208 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
210 * filetools.C: more robust failure for DirList()
212 2001-11-29 André Pönitz <poenitz@gmx.net>
214 * types.h: introduce types for textclass numbers and layout numbers
216 2001-11-28 André Pönitz <poenitz@gmx.net>
218 * Makefile.am: put types.h in
220 2001-11-26 André Pönitz <poenitz@gmx.net>
222 * types.h: introduce types for paragraph positions and layout numbers
224 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
226 * filetools.C: remove dead code
228 * syscall.C: show prog in fail case
230 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
232 * filetools.C: code style cleanup
234 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
236 * os.h: remove spurious punctuation.
238 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
241 * LAssert.C: use new emergencyCleanup()
243 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
245 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
246 like GNU gettext does.
248 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
250 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
252 (findtexfile): oops! the change from last friday was wrong...
254 * os_win32.C (is_absolute_path):
255 * os_unix.C (is_absolute_path):
256 * os_os2.C (is_absolute_path): new method
258 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
260 * filetools.C (findtexfile): apply os::internal_path to the result.
262 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
267 * os.h: add internal_path method, which converts a unix-type file
268 name to the type known to the underlying file system (currently
269 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
271 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
273 * smart_ptr.h: new file
275 * utility.h: new file
277 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
280 * filetools.C (IsDirWriteable): fix this
282 2001-07-26 Baruch Even <baruch@lyx.org>
284 * lyxlib.h (float_equal): Added function to compare floats almost equal
285 (see function comment).
287 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
289 Consistent use of Lsstream.h:
290 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
292 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
294 * translator.h: (*it). -> it->
296 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
298 * filetools.C (DeleteAllFilesInDir): send debug output to
299 Debug::FILES instewad of Debug::ANY.
301 * DebugStream.h: remove gcc 2.8.x hack.
303 2001-06-26 The LyX Project <jug@sad.it>
306 * lstrings.C (escape): move method to escape non ascii characters
307 from insets label and ref to here.
309 2001-06-25 The LyX Project <jug@sad.it>
311 * filetools.C (IsLyXFilename):
312 (IsSGMLFilename): do case insensitive name matching
314 2001-06-24 The LyX Project <jug@sad.it>
316 * lstrings.C (compare_ascii_no_case): version of compare_no_case
317 which only considers case of ascii characters
319 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
322 2001-06-23 The LyX Project <jug@sad.it>
324 * textutils.h (IsPrintable): take into account unprintable spaces
326 (IsDigit): new function
327 (IsLetterCharOrDigit): use IsDigit
329 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
331 * filetools.C (findtexfile): strip final \r if necessary (for
334 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
337 * StrPool.C: removed // -*- C++ -*- as first line.
339 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
341 * lyxsum.C (do_crc): switch to use boost::crc for generating the
344 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
349 * LSubstring.C: bring C functions in global namespace if
352 * lstrings.h (compare): use the std:: version of str[n]cmp only
355 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
357 * syscontr.C: add std::
359 * syscall.C: add std::
361 * lstrings.h (compare): add std::
363 * lstrings.C (prefixIs): add std::
367 * LSubstring.C (LSubstring): add std::
369 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
371 * lyxsum.C (sum): use istreambuf_iterator when available.
373 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
375 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
378 * lyxstring.C (operator): make const operator[] behave as
381 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
383 * Makefile.am (EXTRA_DIST): add the os_*.C files.
385 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
387 * filetools.C (MakeAbsPath): remove debugging statement
389 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
391 * FileInfo.h: X_OK workaround for cygwin
400 * filetools.h: Added os:: class.
404 * tempname.C: OS/2 fixes
406 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
408 * textutils.h: remvoe !NEW_INSETS cruft
410 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
413 * atoi.C: add using directives when needed for C functions
414 declared in std:: namespace.
416 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
418 * lstrings.C : add two helper structs, local_lowercase and
420 (lowercase): change to use std::transform
421 (uppercase): change to use std::transform
423 2001-04-25 Allan Rae <rae@lyx.org>
425 * lyxstring.C : Assert got moved and Lars missed a few.
427 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
429 * LAssert.h (Assert): put into namespace lyx
431 * lyxfunctional.h: put into namespace lyx
432 * translator.h: adjust
434 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
436 * lyxalgo.h: put into namespace lyx, add firster and copy_if
438 * FileInfo.h: inherit privately from noncopyable
441 2001-04-16 Allan Rae <rae@lyx.org>
443 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
444 as an unrecognised preprocessor directive. So ensure they're wrapped.
446 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
448 * several files: remove CXX_WORKING_NAMESPACES
450 * FileInfo.h: noncopyable is in namespace boost
453 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
455 * syscontr.h: fix header include
457 2001-02-28 Baruch Even <baruch@ev-en.org>
459 * filetools.C: Removed dependency on syscall.h
462 * syscall.C: Minor cleanings before I start to touch this code.
464 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
466 * filetools.C (CreateTmpDir): change umask to 0700.
468 2001-02-27 José Matos <jamatos@fep.up.pt>
470 * filetools.h (BasePath):
471 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
473 * filetools.C (IsLyXFilename):
474 * filetools.C (IsSGMLFilename): test if extension is suffix and not
477 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
481 * atoi.C: remove cruft
483 2001-02-06 albert chin <china@thewrittenword.com>
486 * fmt.C: use HAVE_DECL_SNPRINTF
488 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
490 * lyxstring.C: Fix some assertions.
492 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
494 * lstrings.C (strip): Add a fix for compilers with broken
495 string::find_last_not_of.
497 * filetools.C (AddPath): Simplify by using strip and frontStrip.
499 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
501 * lyxstring.C (rfind): Fix broken functions.
502 (find): Few optimizations.