1 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * lyxstring.C (operator>>): use the better solution, this fixes a
4 "not able to read '\0'" bug.
6 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8 * translator.h: add missing typename
10 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12 * filetools.C (LibScriptSearch): new command. Searches for scripts
13 in lyx data directories.
14 (LibScriptSearch): try to use split() correctly.
16 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
18 * most files: ws cleanup
20 * Makefile.am: remove ld -r stuff
22 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
24 * Makefile.am (libsupport.la): special rules if partial linking
26 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
28 * forkedcontr.C: turn the timer off when their are no longer any
29 child processes running.
31 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
33 * forkedcall.h: docy fix
34 change SignalType second type to be const ref.
36 * forkedcall.C: doxy fix
38 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
40 * lyxsum.C: compilation fix
42 2002-03-02 Herbert Voss <voss@perce.de>
44 * filetools.C: fix bug for xbm format and added some more debug
47 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
49 * forkedcontr.h: make constructor public
51 * types.h: remove layout_type
53 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
55 * filetools.C (getExtFromContents): cleanup.
57 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
59 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
61 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
62 building outside of source tree.
64 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
67 * forkedcontr.[Ch]: new files. Asger's forked call controller is
68 re-born, with a working timer and a modified interface. The
69 startscript method is now passed a Signal rather than a pointer
70 to a callback function. This enables us to connect to the method of
71 a C++ class, if we so desire.
73 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
75 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
80 * nt_defines.h: moved from src/
82 2002-02-23 Herbert Voss <voss@perce.de>
84 * filetools.C: added more graphic formats
86 2002-02-18 Herbert Voss <voss@perce.de>
88 * filetools.C: (getExtFromContents) return the fileextension
89 if no format is detected.
91 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
93 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
94 as class SystemCall because one Systemcall instance represents a
98 * Makefile.am: associated changes.
100 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
102 * syscall.C (Systemcalls): include <cstdlib>
104 2002-02-08 Herbert Voss <voss@perce.de>
106 * filetools.C: (getExtFromContents) adding Grace-format
109 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
112 * syssingleton.C: files removed.
114 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
115 uses it. Strip down the Systemcalls interface to make it brutally
116 obvious how unsophisticated it is.
118 2002-02-08 Herbert Voss <voss@perce.de>
120 * filetools.C: (getExtFromContents) adding TGIF-format
121 and return type "user" when no type is detected
123 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
125 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
127 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
129 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
131 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
133 * FileInfo.h: remove special cygwin code.
135 * filetools.C (do_popen): use os::read_mode().
137 * os_win32.C (read_mode):
138 * os_os2.C (read_mode):
139 * os_unix.C (read_mode): new method
141 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
142 Hentschel). This code should maybe be moved to os:: class.
144 2002-02-08 Herbert Voss <voss@perce.de>
146 * filetools.C: (unzipFile) fix typo
148 2002-02-06 Herbert Voss <voss@perce.de>
150 * filetools.[Ch]: fix some bugs for detecting zipped files
153 2002-02-04 Herbert Voss <voss@perce.de>
155 * filetools.[Ch]: add ifZippedFile() for zipped
158 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
160 * filetools.C (FileOpenSearch): remove duplicated line, probably
161 resulting from bad cut-and paste.
163 2002-01-31 Herbert Voss <voss@perce.de>
165 * filetools.[Ch]: add getExtFromContents(), which returns
166 the type of the (graphic) file
168 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
170 * copy.C (copy): open file in binary mode (for cygwin)
172 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
174 * lyxsum.C: remove #warnings and replaced them with runtime debug
177 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
179 * lyxalgo.h: include <algorithm>
181 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
183 * lyx_algo.h: add a standard-conforming count to namespace lyx.
185 * lstrings.[Ch] (countChar): removed. Use lyx::count.
187 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
189 * filetools.C: fix use of FileInfo
192 * FileInfo.C: add Asserts and documentation
194 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
196 * os_win32.C: compilation fixes
198 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
200 * lstrings.h: do not include <cctype>
202 2001-12-12 Ben Stanley <bds02@uow.edu.au>
204 * lyxsum.C: portability fix for mmap patch
206 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
210 * lyxstring.C: change "while(" to "while ("
212 2001-12-03 Ben Stanley <bds02@uow.edu.au>
214 * lyxsum.C: Added mmap version of CRC and made it selected
215 by default where available. Used process_block for crc for speedup.
217 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
219 * filetools.C: more robust failure for DirList()
221 2001-11-29 André Pönitz <poenitz@gmx.net>
223 * types.h: introduce types for textclass numbers and layout numbers
225 2001-11-28 André Pönitz <poenitz@gmx.net>
227 * Makefile.am: put types.h in
229 2001-11-26 André Pönitz <poenitz@gmx.net>
231 * types.h: introduce types for paragraph positions and layout numbers
233 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
235 * filetools.C: remove dead code
237 * syscall.C: show prog in fail case
239 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
241 * filetools.C: code style cleanup
243 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
245 * os.h: remove spurious punctuation.
247 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
250 * LAssert.C: use new emergencyCleanup()
252 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
254 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
255 like GNU gettext does.
257 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
259 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
261 (findtexfile): oops! the change from last friday was wrong...
263 * os_win32.C (is_absolute_path):
264 * os_unix.C (is_absolute_path):
265 * os_os2.C (is_absolute_path): new method
267 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
269 * filetools.C (findtexfile): apply os::internal_path to the result.
271 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
276 * os.h: add internal_path method, which converts a unix-type file
277 name to the type known to the underlying file system (currently
278 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
280 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
282 * smart_ptr.h: new file
284 * utility.h: new file
286 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
289 * filetools.C (IsDirWriteable): fix this
291 2001-07-26 Baruch Even <baruch@lyx.org>
293 * lyxlib.h (float_equal): Added function to compare floats almost equal
294 (see function comment).
296 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
298 Consistent use of Lsstream.h:
299 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
301 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
303 * translator.h: (*it). -> it->
305 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
307 * filetools.C (DeleteAllFilesInDir): send debug output to
308 Debug::FILES instewad of Debug::ANY.
310 * DebugStream.h: remove gcc 2.8.x hack.
312 2001-06-26 The LyX Project <jug@sad.it>
315 * lstrings.C (escape): move method to escape non ascii characters
316 from insets label and ref to here.
318 2001-06-25 The LyX Project <jug@sad.it>
320 * filetools.C (IsLyXFilename):
321 (IsSGMLFilename): do case insensitive name matching
323 2001-06-24 The LyX Project <jug@sad.it>
325 * lstrings.C (compare_ascii_no_case): version of compare_no_case
326 which only considers case of ascii characters
328 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
331 2001-06-23 The LyX Project <jug@sad.it>
333 * textutils.h (IsPrintable): take into account unprintable spaces
335 (IsDigit): new function
336 (IsLetterCharOrDigit): use IsDigit
338 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
340 * filetools.C (findtexfile): strip final \r if necessary (for
343 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
346 * StrPool.C: removed // -*- C++ -*- as first line.
348 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
350 * lyxsum.C (do_crc): switch to use boost::crc for generating the
353 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
358 * LSubstring.C: bring C functions in global namespace if
361 * lstrings.h (compare): use the std:: version of str[n]cmp only
364 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
366 * syscontr.C: add std::
368 * syscall.C: add std::
370 * lstrings.h (compare): add std::
372 * lstrings.C (prefixIs): add std::
376 * LSubstring.C (LSubstring): add std::
378 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
380 * lyxsum.C (sum): use istreambuf_iterator when available.
382 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
384 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
387 * lyxstring.C (operator): make const operator[] behave as
390 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
392 * Makefile.am (EXTRA_DIST): add the os_*.C files.
394 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
396 * filetools.C (MakeAbsPath): remove debugging statement
398 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
400 * FileInfo.h: X_OK workaround for cygwin
409 * filetools.h: Added os:: class.
413 * tempname.C: OS/2 fixes
415 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
417 * textutils.h: remvoe !NEW_INSETS cruft
419 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
422 * atoi.C: add using directives when needed for C functions
423 declared in std:: namespace.
425 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
427 * lstrings.C : add two helper structs, local_lowercase and
429 (lowercase): change to use std::transform
430 (uppercase): change to use std::transform
432 2001-04-25 Allan Rae <rae@lyx.org>
434 * lyxstring.C : Assert got moved and Lars missed a few.
436 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
438 * LAssert.h (Assert): put into namespace lyx
440 * lyxfunctional.h: put into namespace lyx
441 * translator.h: adjust
443 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
445 * lyxalgo.h: put into namespace lyx, add firster and copy_if
447 * FileInfo.h: inherit privately from noncopyable
450 2001-04-16 Allan Rae <rae@lyx.org>
452 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
453 as an unrecognised preprocessor directive. So ensure they're wrapped.
455 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
457 * several files: remove CXX_WORKING_NAMESPACES
459 * FileInfo.h: noncopyable is in namespace boost
462 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
464 * syscontr.h: fix header include
466 2001-02-28 Baruch Even <baruch@ev-en.org>
468 * filetools.C: Removed dependency on syscall.h
471 * syscall.C: Minor cleanings before I start to touch this code.
473 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
475 * filetools.C (CreateTmpDir): change umask to 0700.
477 2001-02-27 José Matos <jamatos@fep.up.pt>
479 * filetools.h (BasePath):
480 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
482 * filetools.C (IsLyXFilename):
483 * filetools.C (IsSGMLFilename): test if extension is suffix and not
486 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
490 * atoi.C: remove cruft
492 2001-02-06 albert chin <china@thewrittenword.com>
495 * fmt.C: use HAVE_DECL_SNPRINTF
497 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
499 * lyxstring.C: Fix some assertions.
501 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
503 * lstrings.C (strip): Add a fix for compilers with broken
504 string::find_last_not_of.
506 * filetools.C (AddPath): Simplify by using strip and frontStrip.
508 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
510 * lyxstring.C (rfind): Fix broken functions.
511 (find): Few optimizations.