1 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
6 * smart_ptr.h: remove file
9 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
12 class_fun and void_class_fun
14 2002-08-20 John Levon <levon@movementarian.org>
19 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
21 * textutils.h: formatting.
23 2002-08-08 John Levon <levon@movementarian.org>
25 * limited_stack.h: default to 100 not 10
27 2002-08-01 John Levon <levon@movementarian.org>
29 * forkedcall.C: more details on error
31 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
33 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
34 also add a trim function that is the equiv of
35 strip(frontStrip(...)), also reimplement the functions
36 (improvements still possible.)
38 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
39 * forkedcall.C (generateChild): ditto
43 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
45 * filetools.C (GetEnvPath): modify because of strip changes
46 (createDirectory): ditto
48 * lstrings.[Ch] (isStrInt): ditto
49 (isStrUnsignedInt): ditto
51 (strToUnsignedInt): ditto
53 (contains): removed unneeded version of contains
54 (containsOnly): removed uneeded versions of containsOnly
55 (strip, frontStrip): removed unneded versions, changed argument types.
57 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
59 * filetools.C (RunCommand): Made public
61 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
63 * limited_stack.h: fix comment, remove un-needed header
65 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
67 * lstrings.h: correct comments for token and tokenPos
69 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
71 * lyxstring.C (operator>>): replace code which works only with
72 _some_ versions of GNU STL with generic one
74 2002-07-18 Angus Leeming <leeming@lyx.org>
76 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
77 signal should it do so.
79 * Makefile.am: add FileMonitor.[Ch].
81 2002-07-18 André Pönitz <poenitz@gmx.net>
83 * filetools.C (LibScriptSearch): bug fix
85 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
87 * filetools.C (LyXReadLink): add bool 'resolve' to return link
88 contents as an absolute path
90 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
92 * filetools.C (IsLyXFilename):
93 (IsSGMLFilename): use ascii_lowercase instead of lowercase
95 * lstrings.[Ch] (ascii_lowercase): new function
97 2002-07-16 André Pönitz <poenitz@gmx.net>
99 * FileInfo.Ch: remove unneeded code
101 2002-06-20 Herbert Voss <voss@perce.de>
103 * filetools.[C] (readExtFromContents): add support for
106 2002-06-26 André Pönitz <poenitz@gmx.net>
108 * filetools.[Ch]: small whitespace, more compact 'return' statement
110 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
112 * lyxalgo.h: add eliminate_duplicates
114 2002-06-17 Herbert Voss <voss@perce.de>
116 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
117 (readBB_lyxerrMessage) to get better lyxerr messages
118 (getExtFromContents) test epsi files in the right way
120 * DestroxLyXTmpDir.C: changed to true, to delete the
121 temporary unzipped files, too.
123 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
125 * putenv.C (putenv): putenv should never be found in std::
127 * kill.C (kill): kill should never be found in std::
129 * filetools.C: pclose and popen should never be found in std::
131 2002-06-07 Angus Leeming <leeming@lyx.org>
133 Fixes needed to compile with Compaq cxx 6.5.
134 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
135 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
136 more than one instance of overloaded function "lyx::class_fun" matches
146 all c-library variables have been moved into namespace std.
147 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
149 * kill.C: rename signal.h as csignal.
151 * putenv.C: rename stdlib.h as cstdlib
153 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
155 * lxtl.h: remove unused file
157 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
164 * StrPool.C: remove unused files
174 * types.h: document and small cleanups
176 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
178 * switch from SigC signals to boost::signals.
180 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
183 * limited_stack.h: new template for limited-size
186 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
188 * filetools.C: do not include LSubstring.h
190 * lstrings.C: change include order
191 (regexMatch): use boost regex get rid of LRegex and LSubstring
193 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
196 * LSubstring.h: remove file
201 * LSubstring.C: ditto
203 2002-05-24 Juergen Vigna <jug@sad.it>
205 * lyxsum.C: include local includes first (self containment)
207 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
209 * forkedcall.h: use more specific smart_ptr header.
211 * lyxsum.C: move some using declarations around.
213 2002-05-03 Herbert Voss <voss@perce.de>
215 * filetools.C (getExtFromContents): only print the first 60 chars of
216 the scanned-string when debugging.
218 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
220 * lyxstring.C: close to typo fix.
222 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
224 * filetools.C: add a using std::getline directive.
226 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
228 * lyxstring.C (operator>>): try a new version of the operator>>
230 2002-04-14 Herbert Voss <voss@perce.de>
232 * lstrings.[Ch]: move the getVectorFromString and the vice versa
233 from frontends/controllers/helper_funcs for better use in other
236 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
238 * tempname.C (make_tempfile): simplify the #ifdef block by using
239 #if defined and re-write the #warning as a #error because it's terminal.
241 2002-04-08 Herbert Voss <voss@perce.de>
243 * filetools.C (getExtFromContents): get tgif run
245 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
247 * filetools.C (getExtFromContents): re-format a little and remove
248 replicated "sgi" entry.
250 2002-04-07 Herbert Voss <voss@perce.de>
252 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
253 for the lyx-view in graphics (moved from ControlGraphics)
255 2002-04-07 Herbert Voss <voss@perce.de>
257 * filetools.C: fix bug for eps. scans now a whole line
259 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
261 * lyxstring.C (operator>>): use the better solution, this fixes a
262 "not able to read '\0'" bug.
264 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
266 * translator.h: add missing typename
268 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
270 * filetools.C (LibScriptSearch): new command. Searches for scripts
271 in lyx data directories.
272 (LibScriptSearch): try to use split() correctly.
274 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
276 * most files: ws cleanup
278 * Makefile.am: remove ld -r stuff
280 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
282 * Makefile.am (libsupport.la): special rules if partial linking
284 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
286 * forkedcontr.C: turn the timer off when their are no longer any
287 child processes running.
289 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
291 * forkedcall.h: docy fix
292 change SignalType second type to be const ref.
294 * forkedcall.C: doxy fix
296 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
298 * lyxsum.C: compilation fix
300 2002-03-02 Herbert Voss <voss@perce.de>
302 * filetools.C: fix bug for xbm format and added some more debug
305 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
307 * forkedcontr.h: make constructor public
309 * types.h: remove layout_type
311 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
313 * filetools.C (getExtFromContents): cleanup.
315 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
317 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
319 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
320 building outside of source tree.
322 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
325 * forkedcontr.[Ch]: new files. Asger's forked call controller is
326 re-born, with a working timer and a modified interface. The
327 startscript method is now passed a Signal rather than a pointer
328 to a callback function. This enables us to connect to the method of
329 a C++ class, if we so desire.
331 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
333 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
338 * nt_defines.h: moved from src/
340 2002-02-23 Herbert Voss <voss@perce.de>
342 * filetools.C: added more graphic formats
344 2002-02-18 Herbert Voss <voss@perce.de>
346 * filetools.C: (getExtFromContents) return the fileextension
347 if no format is detected.
349 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
351 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
352 as class SystemCall because one Systemcall instance represents a
353 single child process.
356 * Makefile.am: associated changes.
358 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
360 * syscall.C (Systemcalls): include <cstdlib>
362 2002-02-08 Herbert Voss <voss@perce.de>
364 * filetools.C: (getExtFromContents) adding Grace-format
367 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
370 * syssingleton.C: files removed.
372 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
373 uses it. Strip down the Systemcalls interface to make it brutally
374 obvious how unsophisticated it is.
376 2002-02-08 Herbert Voss <voss@perce.de>
378 * filetools.C: (getExtFromContents) adding TGIF-format
379 and return type "user" when no type is detected
381 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
383 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
385 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
387 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
389 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
391 * FileInfo.h: remove special cygwin code.
393 * filetools.C (do_popen): use os::read_mode().
395 * os_win32.C (read_mode):
396 * os_os2.C (read_mode):
397 * os_unix.C (read_mode): new method
399 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
400 Hentschel). This code should maybe be moved to os:: class.
402 2002-02-08 Herbert Voss <voss@perce.de>
404 * filetools.C: (unzipFile) fix typo
406 2002-02-06 Herbert Voss <voss@perce.de>
408 * filetools.[Ch]: fix some bugs for detecting zipped files
411 2002-02-04 Herbert Voss <voss@perce.de>
413 * filetools.[Ch]: add ifZippedFile() for zipped
416 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
418 * filetools.C (FileOpenSearch): remove duplicated line, probably
419 resulting from bad cut-and paste.
421 2002-01-31 Herbert Voss <voss@perce.de>
423 * filetools.[Ch]: add getExtFromContents(), which returns
424 the type of the (graphic) file
426 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
428 * copy.C (copy): open file in binary mode (for cygwin)
430 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
432 * lyxsum.C: remove #warnings and replaced them with runtime debug
435 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
437 * lyxalgo.h: include <algorithm>
439 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
441 * lyx_algo.h: add a standard-conforming count to namespace lyx.
443 * lstrings.[Ch] (countChar): removed. Use lyx::count.
445 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
447 * filetools.C: fix use of FileInfo
450 * FileInfo.C: add Asserts and documentation
452 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
454 * os_win32.C: compilation fixes
456 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
458 * lstrings.h: do not include <cctype>
460 2001-12-12 Ben Stanley <bds02@uow.edu.au>
462 * lyxsum.C: portability fix for mmap patch
464 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
468 * lyxstring.C: change "while(" to "while ("
470 2001-12-03 Ben Stanley <bds02@uow.edu.au>
472 * lyxsum.C: Added mmap version of CRC and made it selected
473 by default where available. Used process_block for crc for speedup.
475 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
477 * filetools.C: more robust failure for DirList()
479 2001-11-29 André Pönitz <poenitz@gmx.net>
481 * types.h: introduce types for textclass numbers and layout numbers
483 2001-11-28 André Pönitz <poenitz@gmx.net>
485 * Makefile.am: put types.h in
487 2001-11-26 André Pönitz <poenitz@gmx.net>
489 * types.h: introduce types for paragraph positions and layout numbers
491 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
493 * filetools.C: remove dead code
495 * syscall.C: show prog in fail case
497 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
499 * filetools.C: code style cleanup
501 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
503 * os.h: remove spurious punctuation.
505 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
508 * LAssert.C: use new emergencyCleanup()
510 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
512 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
513 like GNU gettext does.
515 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
517 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
519 (findtexfile): oops! the change from last friday was wrong...
521 * os_win32.C (is_absolute_path):
522 * os_unix.C (is_absolute_path):
523 * os_os2.C (is_absolute_path): new method
525 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
527 * filetools.C (findtexfile): apply os::internal_path to the result.
529 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
534 * os.h: add internal_path method, which converts a unix-type file
535 name to the type known to the underlying file system (currently
536 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
538 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
540 * smart_ptr.h: new file
542 * utility.h: new file
544 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
547 * filetools.C (IsDirWriteable): fix this
549 2001-07-26 Baruch Even <baruch@lyx.org>
551 * lyxlib.h (float_equal): Added function to compare floats almost equal
552 (see function comment).
554 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
556 Consistent use of Lsstream.h:
557 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
559 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
561 * translator.h: (*it). -> it->
563 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
565 * filetools.C (DeleteAllFilesInDir): send debug output to
566 Debug::FILES instewad of Debug::ANY.
568 * DebugStream.h: remove gcc 2.8.x hack.
570 2001-06-26 The LyX Project <jug@sad.it>
573 * lstrings.C (escape): move method to escape non ascii characters
574 from insets label and ref to here.
576 2001-06-25 The LyX Project <jug@sad.it>
578 * filetools.C (IsLyXFilename):
579 (IsSGMLFilename): do case insensitive name matching
581 2001-06-24 The LyX Project <jug@sad.it>
583 * lstrings.C (compare_ascii_no_case): version of compare_no_case
584 which only considers case of ascii characters
586 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
589 2001-06-23 The LyX Project <jug@sad.it>
591 * textutils.h (IsPrintable): take into account unprintable spaces
593 (IsDigit): new function
594 (IsLetterCharOrDigit): use IsDigit
596 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
598 * filetools.C (findtexfile): strip final \r if necessary (for
601 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
604 * StrPool.C: removed // -*- C++ -*- as first line.
606 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
608 * lyxsum.C (do_crc): switch to use boost::crc for generating the
611 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
616 * LSubstring.C: bring C functions in global namespace if
619 * lstrings.h (compare): use the std:: version of str[n]cmp only
622 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
624 * syscontr.C: add std::
626 * syscall.C: add std::
628 * lstrings.h (compare): add std::
630 * lstrings.C (prefixIs): add std::
634 * LSubstring.C (LSubstring): add std::
636 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
638 * lyxsum.C (sum): use istreambuf_iterator when available.
640 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
642 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
645 * lyxstring.C (operator): make const operator[] behave as
648 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
650 * Makefile.am (EXTRA_DIST): add the os_*.C files.
652 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
654 * filetools.C (MakeAbsPath): remove debugging statement
656 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
658 * FileInfo.h: X_OK workaround for cygwin
667 * filetools.h: Added os:: class.
671 * tempname.C: OS/2 fixes
673 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
675 * textutils.h: remvoe !NEW_INSETS cruft
677 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
680 * atoi.C: add using directives when needed for C functions
681 declared in std:: namespace.
683 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
685 * lstrings.C : add two helper structs, local_lowercase and
687 (lowercase): change to use std::transform
688 (uppercase): change to use std::transform
690 2001-04-25 Allan Rae <rae@lyx.org>
692 * lyxstring.C : Assert got moved and Lars missed a few.
694 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
696 * LAssert.h (Assert): put into namespace lyx
698 * lyxfunctional.h: put into namespace lyx
699 * translator.h: adjust
701 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
703 * lyxalgo.h: put into namespace lyx, add firster and copy_if
705 * FileInfo.h: inherit privately from noncopyable
708 2001-04-16 Allan Rae <rae@lyx.org>
710 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
711 as an unrecognised preprocessor directive. So ensure they're wrapped.
713 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
715 * several files: remove CXX_WORKING_NAMESPACES
717 * FileInfo.h: noncopyable is in namespace boost
720 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
722 * syscontr.h: fix header include
724 2001-02-28 Baruch Even <baruch@ev-en.org>
726 * filetools.C: Removed dependency on syscall.h
729 * syscall.C: Minor cleanings before I start to touch this code.
731 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
733 * filetools.C (CreateTmpDir): change umask to 0700.
735 2001-02-27 José Matos <jamatos@fep.up.pt>
737 * filetools.h (BasePath):
738 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
740 * filetools.C (IsLyXFilename):
741 * filetools.C (IsSGMLFilename): test if extension is suffix and not
744 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
748 * atoi.C: remove cruft
750 2001-02-06 albert chin <china@thewrittenword.com>
753 * fmt.C: use HAVE_DECL_SNPRINTF
755 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
757 * lyxstring.C: Fix some assertions.
759 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
761 * lstrings.C (strip): Add a fix for compilers with broken
762 string::find_last_not_of.
764 * filetools.C (AddPath): Simplify by using strip and frontStrip.
766 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
768 * lyxstring.C (rfind): Fix broken functions.
769 (find): Few optimizations.