1 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
5 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
7 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
8 since at least for Cygwin, the "rb" read_mode acceptable for
9 fopen() is illegal for popen(), whose mode argument *must* be "r"
12 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
15 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
17 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
20 * smart_ptr.h: remove file
23 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
25 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
26 class_fun and void_class_fun
28 2002-08-20 John Levon <levon@movementarian.org>
33 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
35 * textutils.h: formatting.
37 2002-08-08 John Levon <levon@movementarian.org>
39 * limited_stack.h: default to 100 not 10
41 2002-08-01 John Levon <levon@movementarian.org>
43 * forkedcall.C: more details on error
45 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
47 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
48 also add a trim function that is the equiv of
49 strip(frontStrip(...)), also reimplement the functions
50 (improvements still possible.)
52 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
53 * forkedcall.C (generateChild): ditto
57 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
59 * filetools.C (GetEnvPath): modify because of strip changes
60 (createDirectory): ditto
62 * lstrings.[Ch] (isStrInt): ditto
63 (isStrUnsignedInt): ditto
65 (strToUnsignedInt): ditto
67 (contains): removed unneeded version of contains
68 (containsOnly): removed uneeded versions of containsOnly
69 (strip, frontStrip): removed unneded versions, changed argument types.
71 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
73 * filetools.C (RunCommand): Made public
75 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
77 * limited_stack.h: fix comment, remove un-needed header
79 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
81 * lstrings.h: correct comments for token and tokenPos
83 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
85 * lyxstring.C (operator>>): replace code which works only with
86 _some_ versions of GNU STL with generic one
88 2002-07-18 Angus Leeming <leeming@lyx.org>
90 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
91 signal should it do so.
93 * Makefile.am: add FileMonitor.[Ch].
95 2002-07-18 André Pönitz <poenitz@gmx.net>
97 * filetools.C (LibScriptSearch): bug fix
99 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
101 * filetools.C (LyXReadLink): add bool 'resolve' to return link
102 contents as an absolute path
104 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
106 * filetools.C (IsLyXFilename):
107 (IsSGMLFilename): use ascii_lowercase instead of lowercase
109 * lstrings.[Ch] (ascii_lowercase): new function
111 2002-07-16 André Pönitz <poenitz@gmx.net>
113 * FileInfo.Ch: remove unneeded code
115 2002-06-20 Herbert Voss <voss@perce.de>
117 * filetools.[C] (readExtFromContents): add support for
120 2002-06-26 André Pönitz <poenitz@gmx.net>
122 * filetools.[Ch]: small whitespace, more compact 'return' statement
124 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
126 * lyxalgo.h: add eliminate_duplicates
128 2002-06-17 Herbert Voss <voss@perce.de>
130 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
131 (readBB_lyxerrMessage) to get better lyxerr messages
132 (getExtFromContents) test epsi files in the right way
134 * DestroxLyXTmpDir.C: changed to true, to delete the
135 temporary unzipped files, too.
137 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
139 * putenv.C (putenv): putenv should never be found in std::
141 * kill.C (kill): kill should never be found in std::
143 * filetools.C: pclose and popen should never be found in std::
145 2002-06-07 Angus Leeming <leeming@lyx.org>
147 Fixes needed to compile with Compaq cxx 6.5.
148 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
149 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
150 more than one instance of overloaded function "lyx::class_fun" matches
160 all c-library variables have been moved into namespace std.
161 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
163 * kill.C: rename signal.h as csignal.
165 * putenv.C: rename stdlib.h as cstdlib
167 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
169 * lxtl.h: remove unused file
171 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
178 * StrPool.C: remove unused files
188 * types.h: document and small cleanups
190 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
192 * switch from SigC signals to boost::signals.
194 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
197 * limited_stack.h: new template for limited-size
200 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
202 * filetools.C: do not include LSubstring.h
204 * lstrings.C: change include order
205 (regexMatch): use boost regex get rid of LRegex and LSubstring
207 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
210 * LSubstring.h: remove file
215 * LSubstring.C: ditto
217 2002-05-24 Juergen Vigna <jug@sad.it>
219 * lyxsum.C: include local includes first (self containment)
221 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
223 * forkedcall.h: use more specific smart_ptr header.
225 * lyxsum.C: move some using declarations around.
227 2002-05-03 Herbert Voss <voss@perce.de>
229 * filetools.C (getExtFromContents): only print the first 60 chars of
230 the scanned-string when debugging.
232 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
234 * lyxstring.C: close to typo fix.
236 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
238 * filetools.C: add a using std::getline directive.
240 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
242 * lyxstring.C (operator>>): try a new version of the operator>>
244 2002-04-14 Herbert Voss <voss@perce.de>
246 * lstrings.[Ch]: move the getVectorFromString and the vice versa
247 from frontends/controllers/helper_funcs for better use in other
250 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
252 * tempname.C (make_tempfile): simplify the #ifdef block by using
253 #if defined and re-write the #warning as a #error because it's terminal.
255 2002-04-08 Herbert Voss <voss@perce.de>
257 * filetools.C (getExtFromContents): get tgif run
259 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
261 * filetools.C (getExtFromContents): re-format a little and remove
262 replicated "sgi" entry.
264 2002-04-07 Herbert Voss <voss@perce.de>
266 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
267 for the lyx-view in graphics (moved from ControlGraphics)
269 2002-04-07 Herbert Voss <voss@perce.de>
271 * filetools.C: fix bug for eps. scans now a whole line
273 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
275 * lyxstring.C (operator>>): use the better solution, this fixes a
276 "not able to read '\0'" bug.
278 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
280 * translator.h: add missing typename
282 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
284 * filetools.C (LibScriptSearch): new command. Searches for scripts
285 in lyx data directories.
286 (LibScriptSearch): try to use split() correctly.
288 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
290 * most files: ws cleanup
292 * Makefile.am: remove ld -r stuff
294 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
296 * Makefile.am (libsupport.la): special rules if partial linking
298 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
300 * forkedcontr.C: turn the timer off when their are no longer any
301 child processes running.
303 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
305 * forkedcall.h: docy fix
306 change SignalType second type to be const ref.
308 * forkedcall.C: doxy fix
310 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
312 * lyxsum.C: compilation fix
314 2002-03-02 Herbert Voss <voss@perce.de>
316 * filetools.C: fix bug for xbm format and added some more debug
319 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
321 * forkedcontr.h: make constructor public
323 * types.h: remove layout_type
325 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
327 * filetools.C (getExtFromContents): cleanup.
329 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
331 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
333 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
334 building outside of source tree.
336 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
339 * forkedcontr.[Ch]: new files. Asger's forked call controller is
340 re-born, with a working timer and a modified interface. The
341 startscript method is now passed a Signal rather than a pointer
342 to a callback function. This enables us to connect to the method of
343 a C++ class, if we so desire.
345 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
347 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
352 * nt_defines.h: moved from src/
354 2002-02-23 Herbert Voss <voss@perce.de>
356 * filetools.C: added more graphic formats
358 2002-02-18 Herbert Voss <voss@perce.de>
360 * filetools.C: (getExtFromContents) return the fileextension
361 if no format is detected.
363 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
365 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
366 as class SystemCall because one Systemcall instance represents a
367 single child process.
370 * Makefile.am: associated changes.
372 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
374 * syscall.C (Systemcalls): include <cstdlib>
376 2002-02-08 Herbert Voss <voss@perce.de>
378 * filetools.C: (getExtFromContents) adding Grace-format
381 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
384 * syssingleton.C: files removed.
386 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
387 uses it. Strip down the Systemcalls interface to make it brutally
388 obvious how unsophisticated it is.
390 2002-02-08 Herbert Voss <voss@perce.de>
392 * filetools.C: (getExtFromContents) adding TGIF-format
393 and return type "user" when no type is detected
395 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
397 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
399 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
401 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
403 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
405 * FileInfo.h: remove special cygwin code.
407 * filetools.C (do_popen): use os::read_mode().
409 * os_win32.C (read_mode):
410 * os_os2.C (read_mode):
411 * os_unix.C (read_mode): new method
413 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
414 Hentschel). This code should maybe be moved to os:: class.
416 2002-02-08 Herbert Voss <voss@perce.de>
418 * filetools.C: (unzipFile) fix typo
420 2002-02-06 Herbert Voss <voss@perce.de>
422 * filetools.[Ch]: fix some bugs for detecting zipped files
425 2002-02-04 Herbert Voss <voss@perce.de>
427 * filetools.[Ch]: add ifZippedFile() for zipped
430 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
432 * filetools.C (FileOpenSearch): remove duplicated line, probably
433 resulting from bad cut-and paste.
435 2002-01-31 Herbert Voss <voss@perce.de>
437 * filetools.[Ch]: add getExtFromContents(), which returns
438 the type of the (graphic) file
440 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
442 * copy.C (copy): open file in binary mode (for cygwin)
444 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
446 * lyxsum.C: remove #warnings and replaced them with runtime debug
449 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
451 * lyxalgo.h: include <algorithm>
453 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
455 * lyx_algo.h: add a standard-conforming count to namespace lyx.
457 * lstrings.[Ch] (countChar): removed. Use lyx::count.
459 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
461 * filetools.C: fix use of FileInfo
464 * FileInfo.C: add Asserts and documentation
466 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
468 * os_win32.C: compilation fixes
470 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
472 * lstrings.h: do not include <cctype>
474 2001-12-12 Ben Stanley <bds02@uow.edu.au>
476 * lyxsum.C: portability fix for mmap patch
478 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
482 * lyxstring.C: change "while(" to "while ("
484 2001-12-03 Ben Stanley <bds02@uow.edu.au>
486 * lyxsum.C: Added mmap version of CRC and made it selected
487 by default where available. Used process_block for crc for speedup.
489 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
491 * filetools.C: more robust failure for DirList()
493 2001-11-29 André Pönitz <poenitz@gmx.net>
495 * types.h: introduce types for textclass numbers and layout numbers
497 2001-11-28 André Pönitz <poenitz@gmx.net>
499 * Makefile.am: put types.h in
501 2001-11-26 André Pönitz <poenitz@gmx.net>
503 * types.h: introduce types for paragraph positions and layout numbers
505 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
507 * filetools.C: remove dead code
509 * syscall.C: show prog in fail case
511 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
513 * filetools.C: code style cleanup
515 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
517 * os.h: remove spurious punctuation.
519 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
522 * LAssert.C: use new emergencyCleanup()
524 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
526 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
527 like GNU gettext does.
529 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
531 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
533 (findtexfile): oops! the change from last friday was wrong...
535 * os_win32.C (is_absolute_path):
536 * os_unix.C (is_absolute_path):
537 * os_os2.C (is_absolute_path): new method
539 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
541 * filetools.C (findtexfile): apply os::internal_path to the result.
543 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
548 * os.h: add internal_path method, which converts a unix-type file
549 name to the type known to the underlying file system (currently
550 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
552 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
554 * smart_ptr.h: new file
556 * utility.h: new file
558 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
561 * filetools.C (IsDirWriteable): fix this
563 2001-07-26 Baruch Even <baruch@lyx.org>
565 * lyxlib.h (float_equal): Added function to compare floats almost equal
566 (see function comment).
568 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
570 Consistent use of Lsstream.h:
571 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
573 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
575 * translator.h: (*it). -> it->
577 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
579 * filetools.C (DeleteAllFilesInDir): send debug output to
580 Debug::FILES instewad of Debug::ANY.
582 * DebugStream.h: remove gcc 2.8.x hack.
584 2001-06-26 The LyX Project <jug@sad.it>
587 * lstrings.C (escape): move method to escape non ascii characters
588 from insets label and ref to here.
590 2001-06-25 The LyX Project <jug@sad.it>
592 * filetools.C (IsLyXFilename):
593 (IsSGMLFilename): do case insensitive name matching
595 2001-06-24 The LyX Project <jug@sad.it>
597 * lstrings.C (compare_ascii_no_case): version of compare_no_case
598 which only considers case of ascii characters
600 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
603 2001-06-23 The LyX Project <jug@sad.it>
605 * textutils.h (IsPrintable): take into account unprintable spaces
607 (IsDigit): new function
608 (IsLetterCharOrDigit): use IsDigit
610 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
612 * filetools.C (findtexfile): strip final \r if necessary (for
615 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
618 * StrPool.C: removed // -*- C++ -*- as first line.
620 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
622 * lyxsum.C (do_crc): switch to use boost::crc for generating the
625 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
630 * LSubstring.C: bring C functions in global namespace if
633 * lstrings.h (compare): use the std:: version of str[n]cmp only
636 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
638 * syscontr.C: add std::
640 * syscall.C: add std::
642 * lstrings.h (compare): add std::
644 * lstrings.C (prefixIs): add std::
648 * LSubstring.C (LSubstring): add std::
650 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
652 * lyxsum.C (sum): use istreambuf_iterator when available.
654 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
656 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
659 * lyxstring.C (operator): make const operator[] behave as
662 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
664 * Makefile.am (EXTRA_DIST): add the os_*.C files.
666 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
668 * filetools.C (MakeAbsPath): remove debugging statement
670 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
672 * FileInfo.h: X_OK workaround for cygwin
681 * filetools.h: Added os:: class.
685 * tempname.C: OS/2 fixes
687 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
689 * textutils.h: remvoe !NEW_INSETS cruft
691 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
694 * atoi.C: add using directives when needed for C functions
695 declared in std:: namespace.
697 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
699 * lstrings.C : add two helper structs, local_lowercase and
701 (lowercase): change to use std::transform
702 (uppercase): change to use std::transform
704 2001-04-25 Allan Rae <rae@lyx.org>
706 * lyxstring.C : Assert got moved and Lars missed a few.
708 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
710 * LAssert.h (Assert): put into namespace lyx
712 * lyxfunctional.h: put into namespace lyx
713 * translator.h: adjust
715 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
717 * lyxalgo.h: put into namespace lyx, add firster and copy_if
719 * FileInfo.h: inherit privately from noncopyable
722 2001-04-16 Allan Rae <rae@lyx.org>
724 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
725 as an unrecognised preprocessor directive. So ensure they're wrapped.
727 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
729 * several files: remove CXX_WORKING_NAMESPACES
731 * FileInfo.h: noncopyable is in namespace boost
734 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
736 * syscontr.h: fix header include
738 2001-02-28 Baruch Even <baruch@ev-en.org>
740 * filetools.C: Removed dependency on syscall.h
743 * syscall.C: Minor cleanings before I start to touch this code.
745 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
747 * filetools.C (CreateTmpDir): change umask to 0700.
749 2001-02-27 José Matos <jamatos@fep.up.pt>
751 * filetools.h (BasePath):
752 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
754 * filetools.C (IsLyXFilename):
755 * filetools.C (IsSGMLFilename): test if extension is suffix and not
758 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
762 * atoi.C: remove cruft
764 2001-02-06 albert chin <china@thewrittenword.com>
767 * fmt.C: use HAVE_DECL_SNPRINTF
769 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
771 * lyxstring.C: Fix some assertions.
773 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
775 * lstrings.C (strip): Add a fix for compilers with broken
776 string::find_last_not_of.
778 * filetools.C (AddPath): Simplify by using strip and frontStrip.
780 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
782 * lyxstring.C (rfind): Fix broken functions.
783 (find): Few optimizations.