1 2002-06-20 Herbert Voss <voss@perce.de>
3 * filetools.[C]: (readExtFromContents) add support for
6 2002-06-26 André Pönitz <poenitz@gmx.net>
8 * filetools.[Ch]: small whitespace, more compact 'return' statement
10 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
12 * lyxalgo.h: add eliminate_duplicates
14 2002-06-17 Herbert Voss <voss@perce.de>
16 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
17 (readBB_lyxerrMessage) to get better lyxerr messages
18 (getExtFromContents) test epsi files in the right way
20 * DestroxLyXTmpDir.C: changed to true, to delete the
21 temporary unzipped files, too.
23 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
25 * putenv.C (putenv): putenv should never be found in std::
27 * kill.C (kill): kill should never be found in std::
29 * filetools.C: pclose and popen should never be found in std::
31 2002-06-07 Angus Leeming <leeming@lyx.org>
33 Fixes needed to compile with Compaq cxx 6.5.
34 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
35 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
36 more than one instance of overloaded function "lyx::class_fun" matches
46 all c-library variables have been moved into namespace std.
47 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
49 * kill.C: rename signal.h as csignal.
51 * putenv.C: rename stdlib.h as cstdlib
53 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
55 * lxtl.h: remove unused file
57 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
64 * StrPool.C: remove unused files
74 * types.h: document and small cleanups
76 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
78 * switch from SigC signals to boost::signals.
80 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
83 * limited_stack.h: new template for limited-size
86 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
88 * filetools.C: do not include LSubstring.h
90 * lstrings.C: change include order
91 (regexMatch): use boost regex get rid of LRegex and LSubstring
93 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
96 * LSubstring.h: remove file
101 * LSubstring.C: ditto
103 2002-05-24 Juergen Vigna <jug@sad.it>
105 * lyxsum.C: include local includes first (self containment)
107 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
109 * forkedcall.h: use more specific smart_ptr header.
111 * lyxsum.C: move some using declarations around.
113 2002-05-03 Herbert Voss <voss@perce.de>
115 * filetools.C (getExtFromContents): only print the first 60 chars of
116 the scanned-string when debugging.
118 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
120 * lyxstring.C: close to typo fix.
122 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
124 * filetools.C: add a using std::getline directive.
126 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
128 * lyxstring.C (operator>>): try a new version of the operator>>
130 2002-04-14 Herbert Voss <voss@perce.de>
132 * lstrings.[Ch]: move the getVectorFromString and the vice versa
133 from frontends/controllers/helper_funcs for better use in other
136 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
138 * tempname.C (make_tempfile): simplify the #ifdef block by using
139 #if defined and re-write the #warning as a #error because it's terminal.
141 2002-04-08 Herbert Voss <voss@perce.de>
143 * filetools.C (getExtFromContents): get tgif run
145 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
147 * filetools.C (getExtFromContents): re-format a little and remove
148 replicated "sgi" entry.
150 2002-04-07 Herbert Voss <voss@perce.de>
152 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
153 for the lyx-view in graphics (moved from ControlGraphics)
155 2002-04-07 Herbert Voss <voss@perce.de>
157 * filetools.C: fix bug for eps. scans now a whole line
159 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
161 * lyxstring.C (operator>>): use the better solution, this fixes a
162 "not able to read '\0'" bug.
164 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
166 * translator.h: add missing typename
168 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
170 * filetools.C (LibScriptSearch): new command. Searches for scripts
171 in lyx data directories.
172 (LibScriptSearch): try to use split() correctly.
174 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
176 * most files: ws cleanup
178 * Makefile.am: remove ld -r stuff
180 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
182 * Makefile.am (libsupport.la): special rules if partial linking
184 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
186 * forkedcontr.C: turn the timer off when their are no longer any
187 child processes running.
189 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
191 * forkedcall.h: docy fix
192 change SignalType second type to be const ref.
194 * forkedcall.C: doxy fix
196 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
198 * lyxsum.C: compilation fix
200 2002-03-02 Herbert Voss <voss@perce.de>
202 * filetools.C: fix bug for xbm format and added some more debug
205 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
207 * forkedcontr.h: make constructor public
209 * types.h: remove layout_type
211 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
213 * filetools.C (getExtFromContents): cleanup.
215 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
217 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
219 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
220 building outside of source tree.
222 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
225 * forkedcontr.[Ch]: new files. Asger's forked call controller is
226 re-born, with a working timer and a modified interface. The
227 startscript method is now passed a Signal rather than a pointer
228 to a callback function. This enables us to connect to the method of
229 a C++ class, if we so desire.
231 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
233 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
238 * nt_defines.h: moved from src/
240 2002-02-23 Herbert Voss <voss@perce.de>
242 * filetools.C: added more graphic formats
244 2002-02-18 Herbert Voss <voss@perce.de>
246 * filetools.C: (getExtFromContents) return the fileextension
247 if no format is detected.
249 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
251 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
252 as class SystemCall because one Systemcall instance represents a
253 single child process.
256 * Makefile.am: associated changes.
258 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
260 * syscall.C (Systemcalls): include <cstdlib>
262 2002-02-08 Herbert Voss <voss@perce.de>
264 * filetools.C: (getExtFromContents) adding Grace-format
267 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
270 * syssingleton.C: files removed.
272 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
273 uses it. Strip down the Systemcalls interface to make it brutally
274 obvious how unsophisticated it is.
276 2002-02-08 Herbert Voss <voss@perce.de>
278 * filetools.C: (getExtFromContents) adding TGIF-format
279 and return type "user" when no type is detected
281 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
283 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
285 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
287 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
289 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
291 * FileInfo.h: remove special cygwin code.
293 * filetools.C (do_popen): use os::read_mode().
295 * os_win32.C (read_mode):
296 * os_os2.C (read_mode):
297 * os_unix.C (read_mode): new method
299 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
300 Hentschel). This code should maybe be moved to os:: class.
302 2002-02-08 Herbert Voss <voss@perce.de>
304 * filetools.C: (unzipFile) fix typo
306 2002-02-06 Herbert Voss <voss@perce.de>
308 * filetools.[Ch]: fix some bugs for detecting zipped files
311 2002-02-04 Herbert Voss <voss@perce.de>
313 * filetools.[Ch]: add ifZippedFile() for zipped
316 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
318 * filetools.C (FileOpenSearch): remove duplicated line, probably
319 resulting from bad cut-and paste.
321 2002-01-31 Herbert Voss <voss@perce.de>
323 * filetools.[Ch]: add getExtFromContents(), which returns
324 the type of the (graphic) file
326 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
328 * copy.C (copy): open file in binary mode (for cygwin)
330 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
332 * lyxsum.C: remove #warnings and replaced them with runtime debug
335 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
337 * lyxalgo.h: include <algorithm>
339 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
341 * lyx_algo.h: add a standard-conforming count to namespace lyx.
343 * lstrings.[Ch] (countChar): removed. Use lyx::count.
345 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
347 * filetools.C: fix use of FileInfo
350 * FileInfo.C: add Asserts and documentation
352 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
354 * os_win32.C: compilation fixes
356 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
358 * lstrings.h: do not include <cctype>
360 2001-12-12 Ben Stanley <bds02@uow.edu.au>
362 * lyxsum.C: portability fix for mmap patch
364 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
368 * lyxstring.C: change "while(" to "while ("
370 2001-12-03 Ben Stanley <bds02@uow.edu.au>
372 * lyxsum.C: Added mmap version of CRC and made it selected
373 by default where available. Used process_block for crc for speedup.
375 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
377 * filetools.C: more robust failure for DirList()
379 2001-11-29 André Pönitz <poenitz@gmx.net>
381 * types.h: introduce types for textclass numbers and layout numbers
383 2001-11-28 André Pönitz <poenitz@gmx.net>
385 * Makefile.am: put types.h in
387 2001-11-26 André Pönitz <poenitz@gmx.net>
389 * types.h: introduce types for paragraph positions and layout numbers
391 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
393 * filetools.C: remove dead code
395 * syscall.C: show prog in fail case
397 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
399 * filetools.C: code style cleanup
401 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
403 * os.h: remove spurious punctuation.
405 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
408 * LAssert.C: use new emergencyCleanup()
410 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
412 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
413 like GNU gettext does.
415 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
417 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
419 (findtexfile): oops! the change from last friday was wrong...
421 * os_win32.C (is_absolute_path):
422 * os_unix.C (is_absolute_path):
423 * os_os2.C (is_absolute_path): new method
425 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
427 * filetools.C (findtexfile): apply os::internal_path to the result.
429 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
434 * os.h: add internal_path method, which converts a unix-type file
435 name to the type known to the underlying file system (currently
436 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
438 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
440 * smart_ptr.h: new file
442 * utility.h: new file
444 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
447 * filetools.C (IsDirWriteable): fix this
449 2001-07-26 Baruch Even <baruch@lyx.org>
451 * lyxlib.h (float_equal): Added function to compare floats almost equal
452 (see function comment).
454 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
456 Consistent use of Lsstream.h:
457 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
459 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
461 * translator.h: (*it). -> it->
463 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
465 * filetools.C (DeleteAllFilesInDir): send debug output to
466 Debug::FILES instewad of Debug::ANY.
468 * DebugStream.h: remove gcc 2.8.x hack.
470 2001-06-26 The LyX Project <jug@sad.it>
473 * lstrings.C (escape): move method to escape non ascii characters
474 from insets label and ref to here.
476 2001-06-25 The LyX Project <jug@sad.it>
478 * filetools.C (IsLyXFilename):
479 (IsSGMLFilename): do case insensitive name matching
481 2001-06-24 The LyX Project <jug@sad.it>
483 * lstrings.C (compare_ascii_no_case): version of compare_no_case
484 which only considers case of ascii characters
486 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
489 2001-06-23 The LyX Project <jug@sad.it>
491 * textutils.h (IsPrintable): take into account unprintable spaces
493 (IsDigit): new function
494 (IsLetterCharOrDigit): use IsDigit
496 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
498 * filetools.C (findtexfile): strip final \r if necessary (for
501 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
504 * StrPool.C: removed // -*- C++ -*- as first line.
506 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
508 * lyxsum.C (do_crc): switch to use boost::crc for generating the
511 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
516 * LSubstring.C: bring C functions in global namespace if
519 * lstrings.h (compare): use the std:: version of str[n]cmp only
522 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
524 * syscontr.C: add std::
526 * syscall.C: add std::
528 * lstrings.h (compare): add std::
530 * lstrings.C (prefixIs): add std::
534 * LSubstring.C (LSubstring): add std::
536 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
538 * lyxsum.C (sum): use istreambuf_iterator when available.
540 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
542 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
545 * lyxstring.C (operator): make const operator[] behave as
548 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
550 * Makefile.am (EXTRA_DIST): add the os_*.C files.
552 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
554 * filetools.C (MakeAbsPath): remove debugging statement
556 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
558 * FileInfo.h: X_OK workaround for cygwin
567 * filetools.h: Added os:: class.
571 * tempname.C: OS/2 fixes
573 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
575 * textutils.h: remvoe !NEW_INSETS cruft
577 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
580 * atoi.C: add using directives when needed for C functions
581 declared in std:: namespace.
583 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
585 * lstrings.C : add two helper structs, local_lowercase and
587 (lowercase): change to use std::transform
588 (uppercase): change to use std::transform
590 2001-04-25 Allan Rae <rae@lyx.org>
592 * lyxstring.C : Assert got moved and Lars missed a few.
594 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
596 * LAssert.h (Assert): put into namespace lyx
598 * lyxfunctional.h: put into namespace lyx
599 * translator.h: adjust
601 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
603 * lyxalgo.h: put into namespace lyx, add firster and copy_if
605 * FileInfo.h: inherit privately from noncopyable
608 2001-04-16 Allan Rae <rae@lyx.org>
610 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
611 as an unrecognised preprocessor directive. So ensure they're wrapped.
613 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
615 * several files: remove CXX_WORKING_NAMESPACES
617 * FileInfo.h: noncopyable is in namespace boost
620 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
622 * syscontr.h: fix header include
624 2001-02-28 Baruch Even <baruch@ev-en.org>
626 * filetools.C: Removed dependency on syscall.h
629 * syscall.C: Minor cleanings before I start to touch this code.
631 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
633 * filetools.C (CreateTmpDir): change umask to 0700.
635 2001-02-27 José Matos <jamatos@fep.up.pt>
637 * filetools.h (BasePath):
638 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
640 * filetools.C (IsLyXFilename):
641 * filetools.C (IsSGMLFilename): test if extension is suffix and not
644 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
648 * atoi.C: remove cruft
650 2001-02-06 albert chin <china@thewrittenword.com>
653 * fmt.C: use HAVE_DECL_SNPRINTF
655 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
657 * lyxstring.C: Fix some assertions.
659 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
661 * lstrings.C (strip): Add a fix for compilers with broken
662 string::find_last_not_of.
664 * filetools.C (AddPath): Simplify by using strip and frontStrip.
666 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
668 * lyxstring.C (rfind): Fix broken functions.
669 (find): Few optimizations.