1 2002-05-03 Herbert Voss <voss@perce.de>
3 * filetools.C (getExtFromContents): only print the first 60 chars of
4 the scanned-string when debugging.
6 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8 * lyxstring.C: close to typo fix.
10 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
12 * filetools.C: add a using std::getline directive.
14 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16 * lyxstring.C (operator>>): try a new version of the operator>>
18 2002-04-14 Herbert Voss <voss@perce.de>
20 * lstrings.[Ch]: move the getVectorFromString and the vice versa
21 from frontends/controllers/helper_funcs for better use in other
24 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
26 * tempname.C (make_tempfile): simplify the #ifdef block by using
27 #if defined and re-write the #warning as a #error because it's terminal.
29 2002-04-08 Herbert Voss <voss@perce.de>
31 * filetools.C (getExtFromContents): get tgif run
33 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
35 * filetools.C (getExtFromContents): re-format a little and remove
36 replicated "sgi" entry.
38 2002-04-07 Herbert Voss <voss@perce.de>
40 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
41 for the lyx-view in graphics (moved from ControlGraphics)
43 2002-04-07 Herbert Voss <voss@perce.de>
45 * filetools.C: fix bug for eps. scans now a whole line
47 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
49 * lyxstring.C (operator>>): use the better solution, this fixes a
50 "not able to read '\0'" bug.
52 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
54 * translator.h: add missing typename
56 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
58 * filetools.C (LibScriptSearch): new command. Searches for scripts
59 in lyx data directories.
60 (LibScriptSearch): try to use split() correctly.
62 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
64 * most files: ws cleanup
66 * Makefile.am: remove ld -r stuff
68 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
70 * Makefile.am (libsupport.la): special rules if partial linking
72 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
74 * forkedcontr.C: turn the timer off when their are no longer any
75 child processes running.
77 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
79 * forkedcall.h: docy fix
80 change SignalType second type to be const ref.
82 * forkedcall.C: doxy fix
84 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
86 * lyxsum.C: compilation fix
88 2002-03-02 Herbert Voss <voss@perce.de>
90 * filetools.C: fix bug for xbm format and added some more debug
93 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
95 * forkedcontr.h: make constructor public
97 * types.h: remove layout_type
99 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
101 * filetools.C (getExtFromContents): cleanup.
103 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
105 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
107 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
108 building outside of source tree.
110 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
113 * forkedcontr.[Ch]: new files. Asger's forked call controller is
114 re-born, with a working timer and a modified interface. The
115 startscript method is now passed a Signal rather than a pointer
116 to a callback function. This enables us to connect to the method of
117 a C++ class, if we so desire.
119 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
121 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
126 * nt_defines.h: moved from src/
128 2002-02-23 Herbert Voss <voss@perce.de>
130 * filetools.C: added more graphic formats
132 2002-02-18 Herbert Voss <voss@perce.de>
134 * filetools.C: (getExtFromContents) return the fileextension
135 if no format is detected.
137 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
139 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
140 as class SystemCall because one Systemcall instance represents a
141 single child process.
144 * Makefile.am: associated changes.
146 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
148 * syscall.C (Systemcalls): include <cstdlib>
150 2002-02-08 Herbert Voss <voss@perce.de>
152 * filetools.C: (getExtFromContents) adding Grace-format
155 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
158 * syssingleton.C: files removed.
160 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
161 uses it. Strip down the Systemcalls interface to make it brutally
162 obvious how unsophisticated it is.
164 2002-02-08 Herbert Voss <voss@perce.de>
166 * filetools.C: (getExtFromContents) adding TGIF-format
167 and return type "user" when no type is detected
169 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
171 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
173 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
175 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
177 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
179 * FileInfo.h: remove special cygwin code.
181 * filetools.C (do_popen): use os::read_mode().
183 * os_win32.C (read_mode):
184 * os_os2.C (read_mode):
185 * os_unix.C (read_mode): new method
187 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
188 Hentschel). This code should maybe be moved to os:: class.
190 2002-02-08 Herbert Voss <voss@perce.de>
192 * filetools.C: (unzipFile) fix typo
194 2002-02-06 Herbert Voss <voss@perce.de>
196 * filetools.[Ch]: fix some bugs for detecting zipped files
199 2002-02-04 Herbert Voss <voss@perce.de>
201 * filetools.[Ch]: add ifZippedFile() for zipped
204 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
206 * filetools.C (FileOpenSearch): remove duplicated line, probably
207 resulting from bad cut-and paste.
209 2002-01-31 Herbert Voss <voss@perce.de>
211 * filetools.[Ch]: add getExtFromContents(), which returns
212 the type of the (graphic) file
214 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
216 * copy.C (copy): open file in binary mode (for cygwin)
218 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
220 * lyxsum.C: remove #warnings and replaced them with runtime debug
223 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
225 * lyxalgo.h: include <algorithm>
227 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
229 * lyx_algo.h: add a standard-conforming count to namespace lyx.
231 * lstrings.[Ch] (countChar): removed. Use lyx::count.
233 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
235 * filetools.C: fix use of FileInfo
238 * FileInfo.C: add Asserts and documentation
240 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
242 * os_win32.C: compilation fixes
244 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
246 * lstrings.h: do not include <cctype>
248 2001-12-12 Ben Stanley <bds02@uow.edu.au>
250 * lyxsum.C: portability fix for mmap patch
252 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
256 * lyxstring.C: change "while(" to "while ("
258 2001-12-03 Ben Stanley <bds02@uow.edu.au>
260 * lyxsum.C: Added mmap version of CRC and made it selected
261 by default where available. Used process_block for crc for speedup.
263 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
265 * filetools.C: more robust failure for DirList()
267 2001-11-29 André Pönitz <poenitz@gmx.net>
269 * types.h: introduce types for textclass numbers and layout numbers
271 2001-11-28 André Pönitz <poenitz@gmx.net>
273 * Makefile.am: put types.h in
275 2001-11-26 André Pönitz <poenitz@gmx.net>
277 * types.h: introduce types for paragraph positions and layout numbers
279 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
281 * filetools.C: remove dead code
283 * syscall.C: show prog in fail case
285 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
287 * filetools.C: code style cleanup
289 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
291 * os.h: remove spurious punctuation.
293 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
296 * LAssert.C: use new emergencyCleanup()
298 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
300 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
301 like GNU gettext does.
303 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
305 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
307 (findtexfile): oops! the change from last friday was wrong...
309 * os_win32.C (is_absolute_path):
310 * os_unix.C (is_absolute_path):
311 * os_os2.C (is_absolute_path): new method
313 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
315 * filetools.C (findtexfile): apply os::internal_path to the result.
317 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
322 * os.h: add internal_path method, which converts a unix-type file
323 name to the type known to the underlying file system (currently
324 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
326 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
328 * smart_ptr.h: new file
330 * utility.h: new file
332 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
335 * filetools.C (IsDirWriteable): fix this
337 2001-07-26 Baruch Even <baruch@lyx.org>
339 * lyxlib.h (float_equal): Added function to compare floats almost equal
340 (see function comment).
342 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
344 Consistent use of Lsstream.h:
345 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
347 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
349 * translator.h: (*it). -> it->
351 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
353 * filetools.C (DeleteAllFilesInDir): send debug output to
354 Debug::FILES instewad of Debug::ANY.
356 * DebugStream.h: remove gcc 2.8.x hack.
358 2001-06-26 The LyX Project <jug@sad.it>
361 * lstrings.C (escape): move method to escape non ascii characters
362 from insets label and ref to here.
364 2001-06-25 The LyX Project <jug@sad.it>
366 * filetools.C (IsLyXFilename):
367 (IsSGMLFilename): do case insensitive name matching
369 2001-06-24 The LyX Project <jug@sad.it>
371 * lstrings.C (compare_ascii_no_case): version of compare_no_case
372 which only considers case of ascii characters
374 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
377 2001-06-23 The LyX Project <jug@sad.it>
379 * textutils.h (IsPrintable): take into account unprintable spaces
381 (IsDigit): new function
382 (IsLetterCharOrDigit): use IsDigit
384 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
386 * filetools.C (findtexfile): strip final \r if necessary (for
389 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
392 * StrPool.C: removed // -*- C++ -*- as first line.
394 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
396 * lyxsum.C (do_crc): switch to use boost::crc for generating the
399 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
404 * LSubstring.C: bring C functions in global namespace if
407 * lstrings.h (compare): use the std:: version of str[n]cmp only
410 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
412 * syscontr.C: add std::
414 * syscall.C: add std::
416 * lstrings.h (compare): add std::
418 * lstrings.C (prefixIs): add std::
422 * LSubstring.C (LSubstring): add std::
424 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
426 * lyxsum.C (sum): use istreambuf_iterator when available.
428 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
430 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
433 * lyxstring.C (operator): make const operator[] behave as
436 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
438 * Makefile.am (EXTRA_DIST): add the os_*.C files.
440 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
442 * filetools.C (MakeAbsPath): remove debugging statement
444 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
446 * FileInfo.h: X_OK workaround for cygwin
455 * filetools.h: Added os:: class.
459 * tempname.C: OS/2 fixes
461 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
463 * textutils.h: remvoe !NEW_INSETS cruft
465 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
468 * atoi.C: add using directives when needed for C functions
469 declared in std:: namespace.
471 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
473 * lstrings.C : add two helper structs, local_lowercase and
475 (lowercase): change to use std::transform
476 (uppercase): change to use std::transform
478 2001-04-25 Allan Rae <rae@lyx.org>
480 * lyxstring.C : Assert got moved and Lars missed a few.
482 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
484 * LAssert.h (Assert): put into namespace lyx
486 * lyxfunctional.h: put into namespace lyx
487 * translator.h: adjust
489 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
491 * lyxalgo.h: put into namespace lyx, add firster and copy_if
493 * FileInfo.h: inherit privately from noncopyable
496 2001-04-16 Allan Rae <rae@lyx.org>
498 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
499 as an unrecognised preprocessor directive. So ensure they're wrapped.
501 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
503 * several files: remove CXX_WORKING_NAMESPACES
505 * FileInfo.h: noncopyable is in namespace boost
508 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
510 * syscontr.h: fix header include
512 2001-02-28 Baruch Even <baruch@ev-en.org>
514 * filetools.C: Removed dependency on syscall.h
517 * syscall.C: Minor cleanings before I start to touch this code.
519 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
521 * filetools.C (CreateTmpDir): change umask to 0700.
523 2001-02-27 José Matos <jamatos@fep.up.pt>
525 * filetools.h (BasePath):
526 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
528 * filetools.C (IsLyXFilename):
529 * filetools.C (IsSGMLFilename): test if extension is suffix and not
532 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
536 * atoi.C: remove cruft
538 2001-02-06 albert chin <china@thewrittenword.com>
541 * fmt.C: use HAVE_DECL_SNPRINTF
543 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
545 * lyxstring.C: Fix some assertions.
547 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
549 * lstrings.C (strip): Add a fix for compilers with broken
550 string::find_last_not_of.
552 * filetools.C (AddPath): Simplify by using strip and frontStrip.
554 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
556 * lyxstring.C (rfind): Fix broken functions.
557 (find): Few optimizations.