1 2002-09-24 Angus Leeming <leeming@lyx.org>
3 * most files: clean-up the license info.
5 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
9 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
11 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
12 since at least for Cygwin, the "rb" read_mode acceptable for
13 fopen() is illegal for popen(), whose mode argument *must* be "r"
16 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
19 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
21 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
24 * smart_ptr.h: remove file
27 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
29 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
30 class_fun and void_class_fun
32 2002-08-20 John Levon <levon@movementarian.org>
37 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
39 * textutils.h: formatting.
41 2002-08-08 John Levon <levon@movementarian.org>
43 * limited_stack.h: default to 100 not 10
45 2002-08-01 John Levon <levon@movementarian.org>
47 * forkedcall.C: more details on error
49 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
51 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
52 also add a trim function that is the equiv of
53 strip(frontStrip(...)), also reimplement the functions
54 (improvements still possible.)
56 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
57 * forkedcall.C (generateChild): ditto
61 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
63 * filetools.C (GetEnvPath): modify because of strip changes
64 (createDirectory): ditto
66 * lstrings.[Ch] (isStrInt): ditto
67 (isStrUnsignedInt): ditto
69 (strToUnsignedInt): ditto
71 (contains): removed unneeded version of contains
72 (containsOnly): removed uneeded versions of containsOnly
73 (strip, frontStrip): removed unneded versions, changed argument types.
75 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
77 * filetools.C (RunCommand): Made public
79 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
81 * limited_stack.h: fix comment, remove un-needed header
83 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
85 * lstrings.h: correct comments for token and tokenPos
87 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
89 * lyxstring.C (operator>>): replace code which works only with
90 _some_ versions of GNU STL with generic one
92 2002-07-18 Angus Leeming <leeming@lyx.org>
94 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
95 signal should it do so.
97 * Makefile.am: add FileMonitor.[Ch].
99 2002-07-18 André Pönitz <poenitz@gmx.net>
101 * filetools.C (LibScriptSearch): bug fix
103 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
105 * filetools.C (LyXReadLink): add bool 'resolve' to return link
106 contents as an absolute path
108 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
110 * filetools.C (IsLyXFilename):
111 (IsSGMLFilename): use ascii_lowercase instead of lowercase
113 * lstrings.[Ch] (ascii_lowercase): new function
115 2002-07-16 André Pönitz <poenitz@gmx.net>
117 * FileInfo.Ch: remove unneeded code
119 2002-06-20 Herbert Voss <voss@perce.de>
121 * filetools.[C] (readExtFromContents): add support for
124 2002-06-26 André Pönitz <poenitz@gmx.net>
126 * filetools.[Ch]: small whitespace, more compact 'return' statement
128 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
130 * lyxalgo.h: add eliminate_duplicates
132 2002-06-17 Herbert Voss <voss@perce.de>
134 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
135 (readBB_lyxerrMessage) to get better lyxerr messages
136 (getExtFromContents) test epsi files in the right way
138 * DestroxLyXTmpDir.C: changed to true, to delete the
139 temporary unzipped files, too.
141 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
143 * putenv.C (putenv): putenv should never be found in std::
145 * kill.C (kill): kill should never be found in std::
147 * filetools.C: pclose and popen should never be found in std::
149 2002-06-07 Angus Leeming <leeming@lyx.org>
151 Fixes needed to compile with Compaq cxx 6.5.
152 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
153 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
154 more than one instance of overloaded function "lyx::class_fun" matches
164 all c-library variables have been moved into namespace std.
165 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
167 * kill.C: rename signal.h as csignal.
169 * putenv.C: rename stdlib.h as cstdlib
171 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
173 * lxtl.h: remove unused file
175 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
182 * StrPool.C: remove unused files
192 * types.h: document and small cleanups
194 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
196 * switch from SigC signals to boost::signals.
198 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
201 * limited_stack.h: new template for limited-size
204 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
206 * filetools.C: do not include LSubstring.h
208 * lstrings.C: change include order
209 (regexMatch): use boost regex get rid of LRegex and LSubstring
211 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
214 * LSubstring.h: remove file
219 * LSubstring.C: ditto
221 2002-05-24 Juergen Vigna <jug@sad.it>
223 * lyxsum.C: include local includes first (self containment)
225 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
227 * forkedcall.h: use more specific smart_ptr header.
229 * lyxsum.C: move some using declarations around.
231 2002-05-03 Herbert Voss <voss@perce.de>
233 * filetools.C (getExtFromContents): only print the first 60 chars of
234 the scanned-string when debugging.
236 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
238 * lyxstring.C: close to typo fix.
240 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
242 * filetools.C: add a using std::getline directive.
244 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
246 * lyxstring.C (operator>>): try a new version of the operator>>
248 2002-04-14 Herbert Voss <voss@perce.de>
250 * lstrings.[Ch]: move the getVectorFromString and the vice versa
251 from frontends/controllers/helper_funcs for better use in other
254 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
256 * tempname.C (make_tempfile): simplify the #ifdef block by using
257 #if defined and re-write the #warning as a #error because it's terminal.
259 2002-04-08 Herbert Voss <voss@perce.de>
261 * filetools.C (getExtFromContents): get tgif run
263 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
265 * filetools.C (getExtFromContents): re-format a little and remove
266 replicated "sgi" entry.
268 2002-04-07 Herbert Voss <voss@perce.de>
270 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
271 for the lyx-view in graphics (moved from ControlGraphics)
273 2002-04-07 Herbert Voss <voss@perce.de>
275 * filetools.C: fix bug for eps. scans now a whole line
277 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
279 * lyxstring.C (operator>>): use the better solution, this fixes a
280 "not able to read '\0'" bug.
282 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
284 * translator.h: add missing typename
286 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
288 * filetools.C (LibScriptSearch): new command. Searches for scripts
289 in lyx data directories.
290 (LibScriptSearch): try to use split() correctly.
292 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
294 * most files: ws cleanup
296 * Makefile.am: remove ld -r stuff
298 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
300 * Makefile.am (libsupport.la): special rules if partial linking
302 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
304 * forkedcontr.C: turn the timer off when their are no longer any
305 child processes running.
307 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
309 * forkedcall.h: docy fix
310 change SignalType second type to be const ref.
312 * forkedcall.C: doxy fix
314 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
316 * lyxsum.C: compilation fix
318 2002-03-02 Herbert Voss <voss@perce.de>
320 * filetools.C: fix bug for xbm format and added some more debug
323 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
325 * forkedcontr.h: make constructor public
327 * types.h: remove layout_type
329 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
331 * filetools.C (getExtFromContents): cleanup.
333 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
335 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
337 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
338 building outside of source tree.
340 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
343 * forkedcontr.[Ch]: new files. Asger's forked call controller is
344 re-born, with a working timer and a modified interface. The
345 startscript method is now passed a Signal rather than a pointer
346 to a callback function. This enables us to connect to the method of
347 a C++ class, if we so desire.
349 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
351 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
356 * nt_defines.h: moved from src/
358 2002-02-23 Herbert Voss <voss@perce.de>
360 * filetools.C: added more graphic formats
362 2002-02-18 Herbert Voss <voss@perce.de>
364 * filetools.C: (getExtFromContents) return the fileextension
365 if no format is detected.
367 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
369 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
370 as class SystemCall because one Systemcall instance represents a
371 single child process.
374 * Makefile.am: associated changes.
376 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
378 * syscall.C (Systemcalls): include <cstdlib>
380 2002-02-08 Herbert Voss <voss@perce.de>
382 * filetools.C: (getExtFromContents) adding Grace-format
385 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
388 * syssingleton.C: files removed.
390 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
391 uses it. Strip down the Systemcalls interface to make it brutally
392 obvious how unsophisticated it is.
394 2002-02-08 Herbert Voss <voss@perce.de>
396 * filetools.C: (getExtFromContents) adding TGIF-format
397 and return type "user" when no type is detected
399 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
401 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
403 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
405 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
407 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
409 * FileInfo.h: remove special cygwin code.
411 * filetools.C (do_popen): use os::read_mode().
413 * os_win32.C (read_mode):
414 * os_os2.C (read_mode):
415 * os_unix.C (read_mode): new method
417 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
418 Hentschel). This code should maybe be moved to os:: class.
420 2002-02-08 Herbert Voss <voss@perce.de>
422 * filetools.C: (unzipFile) fix typo
424 2002-02-06 Herbert Voss <voss@perce.de>
426 * filetools.[Ch]: fix some bugs for detecting zipped files
429 2002-02-04 Herbert Voss <voss@perce.de>
431 * filetools.[Ch]: add ifZippedFile() for zipped
434 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
436 * filetools.C (FileOpenSearch): remove duplicated line, probably
437 resulting from bad cut-and paste.
439 2002-01-31 Herbert Voss <voss@perce.de>
441 * filetools.[Ch]: add getExtFromContents(), which returns
442 the type of the (graphic) file
444 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
446 * copy.C (copy): open file in binary mode (for cygwin)
448 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
450 * lyxsum.C: remove #warnings and replaced them with runtime debug
453 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
455 * lyxalgo.h: include <algorithm>
457 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
459 * lyx_algo.h: add a standard-conforming count to namespace lyx.
461 * lstrings.[Ch] (countChar): removed. Use lyx::count.
463 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
465 * filetools.C: fix use of FileInfo
468 * FileInfo.C: add Asserts and documentation
470 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
472 * os_win32.C: compilation fixes
474 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
476 * lstrings.h: do not include <cctype>
478 2001-12-12 Ben Stanley <bds02@uow.edu.au>
480 * lyxsum.C: portability fix for mmap patch
482 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
486 * lyxstring.C: change "while(" to "while ("
488 2001-12-03 Ben Stanley <bds02@uow.edu.au>
490 * lyxsum.C: Added mmap version of CRC and made it selected
491 by default where available. Used process_block for crc for speedup.
493 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
495 * filetools.C: more robust failure for DirList()
497 2001-11-29 André Pönitz <poenitz@gmx.net>
499 * types.h: introduce types for textclass numbers and layout numbers
501 2001-11-28 André Pönitz <poenitz@gmx.net>
503 * Makefile.am: put types.h in
505 2001-11-26 André Pönitz <poenitz@gmx.net>
507 * types.h: introduce types for paragraph positions and layout numbers
509 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
511 * filetools.C: remove dead code
513 * syscall.C: show prog in fail case
515 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
517 * filetools.C: code style cleanup
519 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
521 * os.h: remove spurious punctuation.
523 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
526 * LAssert.C: use new emergencyCleanup()
528 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
530 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
531 like GNU gettext does.
533 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
535 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
537 (findtexfile): oops! the change from last friday was wrong...
539 * os_win32.C (is_absolute_path):
540 * os_unix.C (is_absolute_path):
541 * os_os2.C (is_absolute_path): new method
543 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
545 * filetools.C (findtexfile): apply os::internal_path to the result.
547 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
552 * os.h: add internal_path method, which converts a unix-type file
553 name to the type known to the underlying file system (currently
554 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
556 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
558 * smart_ptr.h: new file
560 * utility.h: new file
562 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
565 * filetools.C (IsDirWriteable): fix this
567 2001-07-26 Baruch Even <baruch@lyx.org>
569 * lyxlib.h (float_equal): Added function to compare floats almost equal
570 (see function comment).
572 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
574 Consistent use of Lsstream.h:
575 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
577 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
579 * translator.h: (*it). -> it->
581 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
583 * filetools.C (DeleteAllFilesInDir): send debug output to
584 Debug::FILES instewad of Debug::ANY.
586 * DebugStream.h: remove gcc 2.8.x hack.
588 2001-06-26 The LyX Project <jug@sad.it>
591 * lstrings.C (escape): move method to escape non ascii characters
592 from insets label and ref to here.
594 2001-06-25 The LyX Project <jug@sad.it>
596 * filetools.C (IsLyXFilename):
597 (IsSGMLFilename): do case insensitive name matching
599 2001-06-24 The LyX Project <jug@sad.it>
601 * lstrings.C (compare_ascii_no_case): version of compare_no_case
602 which only considers case of ascii characters
604 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
607 2001-06-23 The LyX Project <jug@sad.it>
609 * textutils.h (IsPrintable): take into account unprintable spaces
611 (IsDigit): new function
612 (IsLetterCharOrDigit): use IsDigit
614 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
616 * filetools.C (findtexfile): strip final \r if necessary (for
619 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
622 * StrPool.C: removed // -*- C++ -*- as first line.
624 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
626 * lyxsum.C (do_crc): switch to use boost::crc for generating the
629 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
634 * LSubstring.C: bring C functions in global namespace if
637 * lstrings.h (compare): use the std:: version of str[n]cmp only
640 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
642 * syscontr.C: add std::
644 * syscall.C: add std::
646 * lstrings.h (compare): add std::
648 * lstrings.C (prefixIs): add std::
652 * LSubstring.C (LSubstring): add std::
654 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
656 * lyxsum.C (sum): use istreambuf_iterator when available.
658 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
660 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
663 * lyxstring.C (operator): make const operator[] behave as
666 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
668 * Makefile.am (EXTRA_DIST): add the os_*.C files.
670 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
672 * filetools.C (MakeAbsPath): remove debugging statement
674 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
676 * FileInfo.h: X_OK workaround for cygwin
685 * filetools.h: Added os:: class.
689 * tempname.C: OS/2 fixes
691 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
693 * textutils.h: remvoe !NEW_INSETS cruft
695 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
698 * atoi.C: add using directives when needed for C functions
699 declared in std:: namespace.
701 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
703 * lstrings.C : add two helper structs, local_lowercase and
705 (lowercase): change to use std::transform
706 (uppercase): change to use std::transform
708 2001-04-25 Allan Rae <rae@lyx.org>
710 * lyxstring.C : Assert got moved and Lars missed a few.
712 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
714 * LAssert.h (Assert): put into namespace lyx
716 * lyxfunctional.h: put into namespace lyx
717 * translator.h: adjust
719 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
721 * lyxalgo.h: put into namespace lyx, add firster and copy_if
723 * FileInfo.h: inherit privately from noncopyable
726 2001-04-16 Allan Rae <rae@lyx.org>
728 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
729 as an unrecognised preprocessor directive. So ensure they're wrapped.
731 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
733 * several files: remove CXX_WORKING_NAMESPACES
735 * FileInfo.h: noncopyable is in namespace boost
738 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
740 * syscontr.h: fix header include
742 2001-02-28 Baruch Even <baruch@ev-en.org>
744 * filetools.C: Removed dependency on syscall.h
747 * syscall.C: Minor cleanings before I start to touch this code.
749 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
751 * filetools.C (CreateTmpDir): change umask to 0700.
753 2001-02-27 José Matos <jamatos@fep.up.pt>
755 * filetools.h (BasePath):
756 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
758 * filetools.C (IsLyXFilename):
759 * filetools.C (IsSGMLFilename): test if extension is suffix and not
762 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
766 * atoi.C: remove cruft
768 2001-02-06 albert chin <china@thewrittenword.com>
771 * fmt.C: use HAVE_DECL_SNPRINTF
773 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
775 * lyxstring.C: Fix some assertions.
777 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
779 * lstrings.C (strip): Add a fix for compilers with broken
780 string::find_last_not_of.
782 * filetools.C (AddPath): Simplify by using strip and frontStrip.
784 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
786 * lyxstring.C (rfind): Fix broken functions.
787 (find): Few optimizations.