1 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
4 also add a trim function that is the equiv of
5 strip(frontStrip(...)), also reimplement the functions
6 (improvements still possible.)
8 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
9 * forkedcall.C (generateChild): ditto
13 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
15 * filetools.C (GetEnvPath): modify because of strip changes
16 (createDirectory): ditto
18 * lstrings.[Ch] (isStrInt): ditto
19 (isStrUnsignedInt): ditto
21 (strToUnsignedInt): ditto
23 (contains): removed unneeded version of contains
24 (containsOnly): removed uneeded versions of containsOnly
25 (strip, frontStrip): removed unneded versions, changed argument types.
27 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
29 * filetools.C (RunCommand): Made public
31 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
33 * limited_stack.h: fix comment, remove un-needed header
35 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
37 * lstrings.h: correct comments for token and tokenPos
39 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
41 * lyxstring.C (operator>>): replace code which works only with
42 _some_ versions of GNU STL with generic one
44 2002-07-18 Angus Leeming <leeming@lyx.org>
46 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
47 signal should it do so.
49 * Makefile.am: add FileMonitor.[Ch].
51 2002-07-18 André Pönitz <poenitz@gmx.net>
53 * filetools.C (LibScriptSearch): bug fix
55 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
57 * filetools.C (LyXReadLink): add bool 'resolve' to return link
58 contents as an absolute path
60 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
62 * filetools.C (IsLyXFilename):
63 (IsSGMLFilename): use ascii_lowercase instead of lowercase
65 * lstrings.[Ch] (ascii_lowercase): new function
67 2002-07-16 André Pönitz <poenitz@gmx.net>
69 * FileInfo.Ch: remove unneeded code
71 2002-06-20 Herbert Voss <voss@perce.de>
73 * filetools.[C] (readExtFromContents): add support for
76 2002-06-26 André Pönitz <poenitz@gmx.net>
78 * filetools.[Ch]: small whitespace, more compact 'return' statement
80 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
82 * lyxalgo.h: add eliminate_duplicates
84 2002-06-17 Herbert Voss <voss@perce.de>
86 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
87 (readBB_lyxerrMessage) to get better lyxerr messages
88 (getExtFromContents) test epsi files in the right way
90 * DestroxLyXTmpDir.C: changed to true, to delete the
91 temporary unzipped files, too.
93 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
95 * putenv.C (putenv): putenv should never be found in std::
97 * kill.C (kill): kill should never be found in std::
99 * filetools.C: pclose and popen should never be found in std::
101 2002-06-07 Angus Leeming <leeming@lyx.org>
103 Fixes needed to compile with Compaq cxx 6.5.
104 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
105 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
106 more than one instance of overloaded function "lyx::class_fun" matches
116 all c-library variables have been moved into namespace std.
117 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
119 * kill.C: rename signal.h as csignal.
121 * putenv.C: rename stdlib.h as cstdlib
123 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
125 * lxtl.h: remove unused file
127 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
134 * StrPool.C: remove unused files
144 * types.h: document and small cleanups
146 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
148 * switch from SigC signals to boost::signals.
150 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
153 * limited_stack.h: new template for limited-size
156 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
158 * filetools.C: do not include LSubstring.h
160 * lstrings.C: change include order
161 (regexMatch): use boost regex get rid of LRegex and LSubstring
163 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
166 * LSubstring.h: remove file
171 * LSubstring.C: ditto
173 2002-05-24 Juergen Vigna <jug@sad.it>
175 * lyxsum.C: include local includes first (self containment)
177 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
179 * forkedcall.h: use more specific smart_ptr header.
181 * lyxsum.C: move some using declarations around.
183 2002-05-03 Herbert Voss <voss@perce.de>
185 * filetools.C (getExtFromContents): only print the first 60 chars of
186 the scanned-string when debugging.
188 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
190 * lyxstring.C: close to typo fix.
192 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
194 * filetools.C: add a using std::getline directive.
196 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
198 * lyxstring.C (operator>>): try a new version of the operator>>
200 2002-04-14 Herbert Voss <voss@perce.de>
202 * lstrings.[Ch]: move the getVectorFromString and the vice versa
203 from frontends/controllers/helper_funcs for better use in other
206 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
208 * tempname.C (make_tempfile): simplify the #ifdef block by using
209 #if defined and re-write the #warning as a #error because it's terminal.
211 2002-04-08 Herbert Voss <voss@perce.de>
213 * filetools.C (getExtFromContents): get tgif run
215 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
217 * filetools.C (getExtFromContents): re-format a little and remove
218 replicated "sgi" entry.
220 2002-04-07 Herbert Voss <voss@perce.de>
222 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
223 for the lyx-view in graphics (moved from ControlGraphics)
225 2002-04-07 Herbert Voss <voss@perce.de>
227 * filetools.C: fix bug for eps. scans now a whole line
229 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
231 * lyxstring.C (operator>>): use the better solution, this fixes a
232 "not able to read '\0'" bug.
234 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
236 * translator.h: add missing typename
238 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
240 * filetools.C (LibScriptSearch): new command. Searches for scripts
241 in lyx data directories.
242 (LibScriptSearch): try to use split() correctly.
244 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
246 * most files: ws cleanup
248 * Makefile.am: remove ld -r stuff
250 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
252 * Makefile.am (libsupport.la): special rules if partial linking
254 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
256 * forkedcontr.C: turn the timer off when their are no longer any
257 child processes running.
259 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
261 * forkedcall.h: docy fix
262 change SignalType second type to be const ref.
264 * forkedcall.C: doxy fix
266 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
268 * lyxsum.C: compilation fix
270 2002-03-02 Herbert Voss <voss@perce.de>
272 * filetools.C: fix bug for xbm format and added some more debug
275 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
277 * forkedcontr.h: make constructor public
279 * types.h: remove layout_type
281 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
283 * filetools.C (getExtFromContents): cleanup.
285 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
287 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
289 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
290 building outside of source tree.
292 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
295 * forkedcontr.[Ch]: new files. Asger's forked call controller is
296 re-born, with a working timer and a modified interface. The
297 startscript method is now passed a Signal rather than a pointer
298 to a callback function. This enables us to connect to the method of
299 a C++ class, if we so desire.
301 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
303 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
308 * nt_defines.h: moved from src/
310 2002-02-23 Herbert Voss <voss@perce.de>
312 * filetools.C: added more graphic formats
314 2002-02-18 Herbert Voss <voss@perce.de>
316 * filetools.C: (getExtFromContents) return the fileextension
317 if no format is detected.
319 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
321 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
322 as class SystemCall because one Systemcall instance represents a
323 single child process.
326 * Makefile.am: associated changes.
328 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
330 * syscall.C (Systemcalls): include <cstdlib>
332 2002-02-08 Herbert Voss <voss@perce.de>
334 * filetools.C: (getExtFromContents) adding Grace-format
337 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
340 * syssingleton.C: files removed.
342 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
343 uses it. Strip down the Systemcalls interface to make it brutally
344 obvious how unsophisticated it is.
346 2002-02-08 Herbert Voss <voss@perce.de>
348 * filetools.C: (getExtFromContents) adding TGIF-format
349 and return type "user" when no type is detected
351 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
353 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
355 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
357 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
359 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
361 * FileInfo.h: remove special cygwin code.
363 * filetools.C (do_popen): use os::read_mode().
365 * os_win32.C (read_mode):
366 * os_os2.C (read_mode):
367 * os_unix.C (read_mode): new method
369 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
370 Hentschel). This code should maybe be moved to os:: class.
372 2002-02-08 Herbert Voss <voss@perce.de>
374 * filetools.C: (unzipFile) fix typo
376 2002-02-06 Herbert Voss <voss@perce.de>
378 * filetools.[Ch]: fix some bugs for detecting zipped files
381 2002-02-04 Herbert Voss <voss@perce.de>
383 * filetools.[Ch]: add ifZippedFile() for zipped
386 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
388 * filetools.C (FileOpenSearch): remove duplicated line, probably
389 resulting from bad cut-and paste.
391 2002-01-31 Herbert Voss <voss@perce.de>
393 * filetools.[Ch]: add getExtFromContents(), which returns
394 the type of the (graphic) file
396 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
398 * copy.C (copy): open file in binary mode (for cygwin)
400 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
402 * lyxsum.C: remove #warnings and replaced them with runtime debug
405 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
407 * lyxalgo.h: include <algorithm>
409 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
411 * lyx_algo.h: add a standard-conforming count to namespace lyx.
413 * lstrings.[Ch] (countChar): removed. Use lyx::count.
415 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
417 * filetools.C: fix use of FileInfo
420 * FileInfo.C: add Asserts and documentation
422 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
424 * os_win32.C: compilation fixes
426 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
428 * lstrings.h: do not include <cctype>
430 2001-12-12 Ben Stanley <bds02@uow.edu.au>
432 * lyxsum.C: portability fix for mmap patch
434 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
438 * lyxstring.C: change "while(" to "while ("
440 2001-12-03 Ben Stanley <bds02@uow.edu.au>
442 * lyxsum.C: Added mmap version of CRC and made it selected
443 by default where available. Used process_block for crc for speedup.
445 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
447 * filetools.C: more robust failure for DirList()
449 2001-11-29 André Pönitz <poenitz@gmx.net>
451 * types.h: introduce types for textclass numbers and layout numbers
453 2001-11-28 André Pönitz <poenitz@gmx.net>
455 * Makefile.am: put types.h in
457 2001-11-26 André Pönitz <poenitz@gmx.net>
459 * types.h: introduce types for paragraph positions and layout numbers
461 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
463 * filetools.C: remove dead code
465 * syscall.C: show prog in fail case
467 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
469 * filetools.C: code style cleanup
471 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
473 * os.h: remove spurious punctuation.
475 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
478 * LAssert.C: use new emergencyCleanup()
480 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
482 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
483 like GNU gettext does.
485 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
487 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
489 (findtexfile): oops! the change from last friday was wrong...
491 * os_win32.C (is_absolute_path):
492 * os_unix.C (is_absolute_path):
493 * os_os2.C (is_absolute_path): new method
495 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
497 * filetools.C (findtexfile): apply os::internal_path to the result.
499 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
504 * os.h: add internal_path method, which converts a unix-type file
505 name to the type known to the underlying file system (currently
506 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
508 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
510 * smart_ptr.h: new file
512 * utility.h: new file
514 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
517 * filetools.C (IsDirWriteable): fix this
519 2001-07-26 Baruch Even <baruch@lyx.org>
521 * lyxlib.h (float_equal): Added function to compare floats almost equal
522 (see function comment).
524 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
526 Consistent use of Lsstream.h:
527 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
529 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
531 * translator.h: (*it). -> it->
533 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
535 * filetools.C (DeleteAllFilesInDir): send debug output to
536 Debug::FILES instewad of Debug::ANY.
538 * DebugStream.h: remove gcc 2.8.x hack.
540 2001-06-26 The LyX Project <jug@sad.it>
543 * lstrings.C (escape): move method to escape non ascii characters
544 from insets label and ref to here.
546 2001-06-25 The LyX Project <jug@sad.it>
548 * filetools.C (IsLyXFilename):
549 (IsSGMLFilename): do case insensitive name matching
551 2001-06-24 The LyX Project <jug@sad.it>
553 * lstrings.C (compare_ascii_no_case): version of compare_no_case
554 which only considers case of ascii characters
556 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
559 2001-06-23 The LyX Project <jug@sad.it>
561 * textutils.h (IsPrintable): take into account unprintable spaces
563 (IsDigit): new function
564 (IsLetterCharOrDigit): use IsDigit
566 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
568 * filetools.C (findtexfile): strip final \r if necessary (for
571 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
574 * StrPool.C: removed // -*- C++ -*- as first line.
576 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
578 * lyxsum.C (do_crc): switch to use boost::crc for generating the
581 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
586 * LSubstring.C: bring C functions in global namespace if
589 * lstrings.h (compare): use the std:: version of str[n]cmp only
592 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
594 * syscontr.C: add std::
596 * syscall.C: add std::
598 * lstrings.h (compare): add std::
600 * lstrings.C (prefixIs): add std::
604 * LSubstring.C (LSubstring): add std::
606 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
608 * lyxsum.C (sum): use istreambuf_iterator when available.
610 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
612 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
615 * lyxstring.C (operator): make const operator[] behave as
618 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
620 * Makefile.am (EXTRA_DIST): add the os_*.C files.
622 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
624 * filetools.C (MakeAbsPath): remove debugging statement
626 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
628 * FileInfo.h: X_OK workaround for cygwin
637 * filetools.h: Added os:: class.
641 * tempname.C: OS/2 fixes
643 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
645 * textutils.h: remvoe !NEW_INSETS cruft
647 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
650 * atoi.C: add using directives when needed for C functions
651 declared in std:: namespace.
653 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
655 * lstrings.C : add two helper structs, local_lowercase and
657 (lowercase): change to use std::transform
658 (uppercase): change to use std::transform
660 2001-04-25 Allan Rae <rae@lyx.org>
662 * lyxstring.C : Assert got moved and Lars missed a few.
664 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
666 * LAssert.h (Assert): put into namespace lyx
668 * lyxfunctional.h: put into namespace lyx
669 * translator.h: adjust
671 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
673 * lyxalgo.h: put into namespace lyx, add firster and copy_if
675 * FileInfo.h: inherit privately from noncopyable
678 2001-04-16 Allan Rae <rae@lyx.org>
680 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
681 as an unrecognised preprocessor directive. So ensure they're wrapped.
683 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
685 * several files: remove CXX_WORKING_NAMESPACES
687 * FileInfo.h: noncopyable is in namespace boost
690 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
692 * syscontr.h: fix header include
694 2001-02-28 Baruch Even <baruch@ev-en.org>
696 * filetools.C: Removed dependency on syscall.h
699 * syscall.C: Minor cleanings before I start to touch this code.
701 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
703 * filetools.C (CreateTmpDir): change umask to 0700.
705 2001-02-27 José Matos <jamatos@fep.up.pt>
707 * filetools.h (BasePath):
708 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
710 * filetools.C (IsLyXFilename):
711 * filetools.C (IsSGMLFilename): test if extension is suffix and not
714 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
718 * atoi.C: remove cruft
720 2001-02-06 albert chin <china@thewrittenword.com>
723 * fmt.C: use HAVE_DECL_SNPRINTF
725 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
727 * lyxstring.C: Fix some assertions.
729 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
731 * lstrings.C (strip): Add a fix for compilers with broken
732 string::find_last_not_of.
734 * filetools.C (AddPath): Simplify by using strip and frontStrip.
736 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
738 * lyxstring.C (rfind): Fix broken functions.
739 (find): Few optimizations.