1 2002-09-25 Angus Leeming <leeming@lyx.org>
4 * LOstream.h: doxygen fixes.
6 2002-09-24 Angus Leeming <leeming@lyx.org>
8 * most files: clean-up the license info.
10 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
12 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
14 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
16 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
17 since at least for Cygwin, the "rb" read_mode acceptable for
18 fopen() is illegal for popen(), whose mode argument *must* be "r"
21 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
24 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
29 * smart_ptr.h: remove file
32 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
34 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
35 class_fun and void_class_fun
37 2002-08-20 John Levon <levon@movementarian.org>
42 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
44 * textutils.h: formatting.
46 2002-08-08 John Levon <levon@movementarian.org>
48 * limited_stack.h: default to 100 not 10
50 2002-08-01 John Levon <levon@movementarian.org>
52 * forkedcall.C: more details on error
54 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
56 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
57 also add a trim function that is the equiv of
58 strip(frontStrip(...)), also reimplement the functions
59 (improvements still possible.)
61 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
62 * forkedcall.C (generateChild): ditto
66 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
68 * filetools.C (GetEnvPath): modify because of strip changes
69 (createDirectory): ditto
71 * lstrings.[Ch] (isStrInt): ditto
72 (isStrUnsignedInt): ditto
74 (strToUnsignedInt): ditto
76 (contains): removed unneeded version of contains
77 (containsOnly): removed uneeded versions of containsOnly
78 (strip, frontStrip): removed unneded versions, changed argument types.
80 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
82 * filetools.C (RunCommand): Made public
84 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
86 * limited_stack.h: fix comment, remove un-needed header
88 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
90 * lstrings.h: correct comments for token and tokenPos
92 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
94 * lyxstring.C (operator>>): replace code which works only with
95 _some_ versions of GNU STL with generic one
97 2002-07-18 Angus Leeming <leeming@lyx.org>
99 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
100 signal should it do so.
102 * Makefile.am: add FileMonitor.[Ch].
104 2002-07-18 André Pönitz <poenitz@gmx.net>
106 * filetools.C (LibScriptSearch): bug fix
108 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
110 * filetools.C (LyXReadLink): add bool 'resolve' to return link
111 contents as an absolute path
113 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
115 * filetools.C (IsLyXFilename):
116 (IsSGMLFilename): use ascii_lowercase instead of lowercase
118 * lstrings.[Ch] (ascii_lowercase): new function
120 2002-07-16 André Pönitz <poenitz@gmx.net>
122 * FileInfo.Ch: remove unneeded code
124 2002-06-20 Herbert Voss <voss@perce.de>
126 * filetools.[C] (readExtFromContents): add support for
129 2002-06-26 André Pönitz <poenitz@gmx.net>
131 * filetools.[Ch]: small whitespace, more compact 'return' statement
133 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
135 * lyxalgo.h: add eliminate_duplicates
137 2002-06-17 Herbert Voss <voss@perce.de>
139 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
140 (readBB_lyxerrMessage) to get better lyxerr messages
141 (getExtFromContents) test epsi files in the right way
143 * DestroxLyXTmpDir.C: changed to true, to delete the
144 temporary unzipped files, too.
146 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
148 * putenv.C (putenv): putenv should never be found in std::
150 * kill.C (kill): kill should never be found in std::
152 * filetools.C: pclose and popen should never be found in std::
154 2002-06-07 Angus Leeming <leeming@lyx.org>
156 Fixes needed to compile with Compaq cxx 6.5.
157 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
158 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
159 more than one instance of overloaded function "lyx::class_fun" matches
169 all c-library variables have been moved into namespace std.
170 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
172 * kill.C: rename signal.h as csignal.
174 * putenv.C: rename stdlib.h as cstdlib
176 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
178 * lxtl.h: remove unused file
180 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
187 * StrPool.C: remove unused files
197 * types.h: document and small cleanups
199 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
201 * switch from SigC signals to boost::signals.
203 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
206 * limited_stack.h: new template for limited-size
209 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
211 * filetools.C: do not include LSubstring.h
213 * lstrings.C: change include order
214 (regexMatch): use boost regex get rid of LRegex and LSubstring
216 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
219 * LSubstring.h: remove file
224 * LSubstring.C: ditto
226 2002-05-24 Juergen Vigna <jug@sad.it>
228 * lyxsum.C: include local includes first (self containment)
230 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
232 * forkedcall.h: use more specific smart_ptr header.
234 * lyxsum.C: move some using declarations around.
236 2002-05-03 Herbert Voss <voss@perce.de>
238 * filetools.C (getExtFromContents): only print the first 60 chars of
239 the scanned-string when debugging.
241 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
243 * lyxstring.C: close to typo fix.
245 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
247 * filetools.C: add a using std::getline directive.
249 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
251 * lyxstring.C (operator>>): try a new version of the operator>>
253 2002-04-14 Herbert Voss <voss@perce.de>
255 * lstrings.[Ch]: move the getVectorFromString and the vice versa
256 from frontends/controllers/helper_funcs for better use in other
259 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
261 * tempname.C (make_tempfile): simplify the #ifdef block by using
262 #if defined and re-write the #warning as a #error because it's terminal.
264 2002-04-08 Herbert Voss <voss@perce.de>
266 * filetools.C (getExtFromContents): get tgif run
268 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
270 * filetools.C (getExtFromContents): re-format a little and remove
271 replicated "sgi" entry.
273 2002-04-07 Herbert Voss <voss@perce.de>
275 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
276 for the lyx-view in graphics (moved from ControlGraphics)
278 2002-04-07 Herbert Voss <voss@perce.de>
280 * filetools.C: fix bug for eps. scans now a whole line
282 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
284 * lyxstring.C (operator>>): use the better solution, this fixes a
285 "not able to read '\0'" bug.
287 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
289 * translator.h: add missing typename
291 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
293 * filetools.C (LibScriptSearch): new command. Searches for scripts
294 in lyx data directories.
295 (LibScriptSearch): try to use split() correctly.
297 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
299 * most files: ws cleanup
301 * Makefile.am: remove ld -r stuff
303 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
305 * Makefile.am (libsupport.la): special rules if partial linking
307 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
309 * forkedcontr.C: turn the timer off when their are no longer any
310 child processes running.
312 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
314 * forkedcall.h: docy fix
315 change SignalType second type to be const ref.
317 * forkedcall.C: doxy fix
319 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
321 * lyxsum.C: compilation fix
323 2002-03-02 Herbert Voss <voss@perce.de>
325 * filetools.C: fix bug for xbm format and added some more debug
328 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
330 * forkedcontr.h: make constructor public
332 * types.h: remove layout_type
334 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
336 * filetools.C (getExtFromContents): cleanup.
338 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
340 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
342 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
343 building outside of source tree.
345 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
348 * forkedcontr.[Ch]: new files. Asger's forked call controller is
349 re-born, with a working timer and a modified interface. The
350 startscript method is now passed a Signal rather than a pointer
351 to a callback function. This enables us to connect to the method of
352 a C++ class, if we so desire.
354 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
356 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
361 * nt_defines.h: moved from src/
363 2002-02-23 Herbert Voss <voss@perce.de>
365 * filetools.C: added more graphic formats
367 2002-02-18 Herbert Voss <voss@perce.de>
369 * filetools.C: (getExtFromContents) return the fileextension
370 if no format is detected.
372 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
374 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
375 as class SystemCall because one Systemcall instance represents a
376 single child process.
379 * Makefile.am: associated changes.
381 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
383 * syscall.C (Systemcalls): include <cstdlib>
385 2002-02-08 Herbert Voss <voss@perce.de>
387 * filetools.C: (getExtFromContents) adding Grace-format
390 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
393 * syssingleton.C: files removed.
395 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
396 uses it. Strip down the Systemcalls interface to make it brutally
397 obvious how unsophisticated it is.
399 2002-02-08 Herbert Voss <voss@perce.de>
401 * filetools.C: (getExtFromContents) adding TGIF-format
402 and return type "user" when no type is detected
404 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
406 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
408 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
410 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
412 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
414 * FileInfo.h: remove special cygwin code.
416 * filetools.C (do_popen): use os::read_mode().
418 * os_win32.C (read_mode):
419 * os_os2.C (read_mode):
420 * os_unix.C (read_mode): new method
422 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
423 Hentschel). This code should maybe be moved to os:: class.
425 2002-02-08 Herbert Voss <voss@perce.de>
427 * filetools.C: (unzipFile) fix typo
429 2002-02-06 Herbert Voss <voss@perce.de>
431 * filetools.[Ch]: fix some bugs for detecting zipped files
434 2002-02-04 Herbert Voss <voss@perce.de>
436 * filetools.[Ch]: add ifZippedFile() for zipped
439 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
441 * filetools.C (FileOpenSearch): remove duplicated line, probably
442 resulting from bad cut-and paste.
444 2002-01-31 Herbert Voss <voss@perce.de>
446 * filetools.[Ch]: add getExtFromContents(), which returns
447 the type of the (graphic) file
449 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
451 * copy.C (copy): open file in binary mode (for cygwin)
453 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
455 * lyxsum.C: remove #warnings and replaced them with runtime debug
458 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
460 * lyxalgo.h: include <algorithm>
462 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
464 * lyx_algo.h: add a standard-conforming count to namespace lyx.
466 * lstrings.[Ch] (countChar): removed. Use lyx::count.
468 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
470 * filetools.C: fix use of FileInfo
473 * FileInfo.C: add Asserts and documentation
475 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
477 * os_win32.C: compilation fixes
479 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
481 * lstrings.h: do not include <cctype>
483 2001-12-12 Ben Stanley <bds02@uow.edu.au>
485 * lyxsum.C: portability fix for mmap patch
487 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
491 * lyxstring.C: change "while(" to "while ("
493 2001-12-03 Ben Stanley <bds02@uow.edu.au>
495 * lyxsum.C: Added mmap version of CRC and made it selected
496 by default where available. Used process_block for crc for speedup.
498 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
500 * filetools.C: more robust failure for DirList()
502 2001-11-29 André Pönitz <poenitz@gmx.net>
504 * types.h: introduce types for textclass numbers and layout numbers
506 2001-11-28 André Pönitz <poenitz@gmx.net>
508 * Makefile.am: put types.h in
510 2001-11-26 André Pönitz <poenitz@gmx.net>
512 * types.h: introduce types for paragraph positions and layout numbers
514 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
516 * filetools.C: remove dead code
518 * syscall.C: show prog in fail case
520 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
522 * filetools.C: code style cleanup
524 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
526 * os.h: remove spurious punctuation.
528 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
531 * LAssert.C: use new emergencyCleanup()
533 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
535 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
536 like GNU gettext does.
538 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
540 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
542 (findtexfile): oops! the change from last friday was wrong...
544 * os_win32.C (is_absolute_path):
545 * os_unix.C (is_absolute_path):
546 * os_os2.C (is_absolute_path): new method
548 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
550 * filetools.C (findtexfile): apply os::internal_path to the result.
552 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
557 * os.h: add internal_path method, which converts a unix-type file
558 name to the type known to the underlying file system (currently
559 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
561 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
563 * smart_ptr.h: new file
565 * utility.h: new file
567 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
570 * filetools.C (IsDirWriteable): fix this
572 2001-07-26 Baruch Even <baruch@lyx.org>
574 * lyxlib.h (float_equal): Added function to compare floats almost equal
575 (see function comment).
577 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
579 Consistent use of Lsstream.h:
580 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
582 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
584 * translator.h: (*it). -> it->
586 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
588 * filetools.C (DeleteAllFilesInDir): send debug output to
589 Debug::FILES instewad of Debug::ANY.
591 * DebugStream.h: remove gcc 2.8.x hack.
593 2001-06-26 The LyX Project <jug@sad.it>
596 * lstrings.C (escape): move method to escape non ascii characters
597 from insets label and ref to here.
599 2001-06-25 The LyX Project <jug@sad.it>
601 * filetools.C (IsLyXFilename):
602 (IsSGMLFilename): do case insensitive name matching
604 2001-06-24 The LyX Project <jug@sad.it>
606 * lstrings.C (compare_ascii_no_case): version of compare_no_case
607 which only considers case of ascii characters
609 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
612 2001-06-23 The LyX Project <jug@sad.it>
614 * textutils.h (IsPrintable): take into account unprintable spaces
616 (IsDigit): new function
617 (IsLetterCharOrDigit): use IsDigit
619 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
621 * filetools.C (findtexfile): strip final \r if necessary (for
624 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
627 * StrPool.C: removed // -*- C++ -*- as first line.
629 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
631 * lyxsum.C (do_crc): switch to use boost::crc for generating the
634 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
639 * LSubstring.C: bring C functions in global namespace if
642 * lstrings.h (compare): use the std:: version of str[n]cmp only
645 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
647 * syscontr.C: add std::
649 * syscall.C: add std::
651 * lstrings.h (compare): add std::
653 * lstrings.C (prefixIs): add std::
657 * LSubstring.C (LSubstring): add std::
659 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
661 * lyxsum.C (sum): use istreambuf_iterator when available.
663 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
665 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
668 * lyxstring.C (operator): make const operator[] behave as
671 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
673 * Makefile.am (EXTRA_DIST): add the os_*.C files.
675 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
677 * filetools.C (MakeAbsPath): remove debugging statement
679 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
681 * FileInfo.h: X_OK workaround for cygwin
690 * filetools.h: Added os:: class.
694 * tempname.C: OS/2 fixes
696 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
698 * textutils.h: remvoe !NEW_INSETS cruft
700 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
703 * atoi.C: add using directives when needed for C functions
704 declared in std:: namespace.
706 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
708 * lstrings.C : add two helper structs, local_lowercase and
710 (lowercase): change to use std::transform
711 (uppercase): change to use std::transform
713 2001-04-25 Allan Rae <rae@lyx.org>
715 * lyxstring.C : Assert got moved and Lars missed a few.
717 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
719 * LAssert.h (Assert): put into namespace lyx
721 * lyxfunctional.h: put into namespace lyx
722 * translator.h: adjust
724 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
726 * lyxalgo.h: put into namespace lyx, add firster and copy_if
728 * FileInfo.h: inherit privately from noncopyable
731 2001-04-16 Allan Rae <rae@lyx.org>
733 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
734 as an unrecognised preprocessor directive. So ensure they're wrapped.
736 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
738 * several files: remove CXX_WORKING_NAMESPACES
740 * FileInfo.h: noncopyable is in namespace boost
743 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
745 * syscontr.h: fix header include
747 2001-02-28 Baruch Even <baruch@ev-en.org>
749 * filetools.C: Removed dependency on syscall.h
752 * syscall.C: Minor cleanings before I start to touch this code.
754 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
756 * filetools.C (CreateTmpDir): change umask to 0700.
758 2001-02-27 José Matos <jamatos@fep.up.pt>
760 * filetools.h (BasePath):
761 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
763 * filetools.C (IsLyXFilename):
764 * filetools.C (IsSGMLFilename): test if extension is suffix and not
767 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
771 * atoi.C: remove cruft
773 2001-02-06 albert chin <china@thewrittenword.com>
776 * fmt.C: use HAVE_DECL_SNPRINTF
778 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
780 * lyxstring.C: Fix some assertions.
782 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
784 * lstrings.C (strip): Add a fix for compilers with broken
785 string::find_last_not_of.
787 * filetools.C (AddPath): Simplify by using strip and frontStrip.
789 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
791 * lyxstring.C (rfind): Fix broken functions.
792 (find): Few optimizations.