1 2002-08-08 John Levon <levon@movementarian.org>
3 * limited_stack.h: default to 100 not 10
5 2002-08-01 John Levon <levon@movementarian.org>
7 * forkedcall.C: more details on error
9 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
12 also add a trim function that is the equiv of
13 strip(frontStrip(...)), also reimplement the functions
14 (improvements still possible.)
16 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
17 * forkedcall.C (generateChild): ditto
21 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
23 * filetools.C (GetEnvPath): modify because of strip changes
24 (createDirectory): ditto
26 * lstrings.[Ch] (isStrInt): ditto
27 (isStrUnsignedInt): ditto
29 (strToUnsignedInt): ditto
31 (contains): removed unneeded version of contains
32 (containsOnly): removed uneeded versions of containsOnly
33 (strip, frontStrip): removed unneded versions, changed argument types.
35 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
37 * filetools.C (RunCommand): Made public
39 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
41 * limited_stack.h: fix comment, remove un-needed header
43 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
45 * lstrings.h: correct comments for token and tokenPos
47 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
49 * lyxstring.C (operator>>): replace code which works only with
50 _some_ versions of GNU STL with generic one
52 2002-07-18 Angus Leeming <leeming@lyx.org>
54 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
55 signal should it do so.
57 * Makefile.am: add FileMonitor.[Ch].
59 2002-07-18 André Pönitz <poenitz@gmx.net>
61 * filetools.C (LibScriptSearch): bug fix
63 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
65 * filetools.C (LyXReadLink): add bool 'resolve' to return link
66 contents as an absolute path
68 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
70 * filetools.C (IsLyXFilename):
71 (IsSGMLFilename): use ascii_lowercase instead of lowercase
73 * lstrings.[Ch] (ascii_lowercase): new function
75 2002-07-16 André Pönitz <poenitz@gmx.net>
77 * FileInfo.Ch: remove unneeded code
79 2002-06-20 Herbert Voss <voss@perce.de>
81 * filetools.[C] (readExtFromContents): add support for
84 2002-06-26 André Pönitz <poenitz@gmx.net>
86 * filetools.[Ch]: small whitespace, more compact 'return' statement
88 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
90 * lyxalgo.h: add eliminate_duplicates
92 2002-06-17 Herbert Voss <voss@perce.de>
94 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
95 (readBB_lyxerrMessage) to get better lyxerr messages
96 (getExtFromContents) test epsi files in the right way
98 * DestroxLyXTmpDir.C: changed to true, to delete the
99 temporary unzipped files, too.
101 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
103 * putenv.C (putenv): putenv should never be found in std::
105 * kill.C (kill): kill should never be found in std::
107 * filetools.C: pclose and popen should never be found in std::
109 2002-06-07 Angus Leeming <leeming@lyx.org>
111 Fixes needed to compile with Compaq cxx 6.5.
112 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
113 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
114 more than one instance of overloaded function "lyx::class_fun" matches
124 all c-library variables have been moved into namespace std.
125 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
127 * kill.C: rename signal.h as csignal.
129 * putenv.C: rename stdlib.h as cstdlib
131 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
133 * lxtl.h: remove unused file
135 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
142 * StrPool.C: remove unused files
152 * types.h: document and small cleanups
154 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
156 * switch from SigC signals to boost::signals.
158 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
161 * limited_stack.h: new template for limited-size
164 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
166 * filetools.C: do not include LSubstring.h
168 * lstrings.C: change include order
169 (regexMatch): use boost regex get rid of LRegex and LSubstring
171 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
174 * LSubstring.h: remove file
179 * LSubstring.C: ditto
181 2002-05-24 Juergen Vigna <jug@sad.it>
183 * lyxsum.C: include local includes first (self containment)
185 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
187 * forkedcall.h: use more specific smart_ptr header.
189 * lyxsum.C: move some using declarations around.
191 2002-05-03 Herbert Voss <voss@perce.de>
193 * filetools.C (getExtFromContents): only print the first 60 chars of
194 the scanned-string when debugging.
196 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
198 * lyxstring.C: close to typo fix.
200 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
202 * filetools.C: add a using std::getline directive.
204 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
206 * lyxstring.C (operator>>): try a new version of the operator>>
208 2002-04-14 Herbert Voss <voss@perce.de>
210 * lstrings.[Ch]: move the getVectorFromString and the vice versa
211 from frontends/controllers/helper_funcs for better use in other
214 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
216 * tempname.C (make_tempfile): simplify the #ifdef block by using
217 #if defined and re-write the #warning as a #error because it's terminal.
219 2002-04-08 Herbert Voss <voss@perce.de>
221 * filetools.C (getExtFromContents): get tgif run
223 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
225 * filetools.C (getExtFromContents): re-format a little and remove
226 replicated "sgi" entry.
228 2002-04-07 Herbert Voss <voss@perce.de>
230 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
231 for the lyx-view in graphics (moved from ControlGraphics)
233 2002-04-07 Herbert Voss <voss@perce.de>
235 * filetools.C: fix bug for eps. scans now a whole line
237 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
239 * lyxstring.C (operator>>): use the better solution, this fixes a
240 "not able to read '\0'" bug.
242 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
244 * translator.h: add missing typename
246 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
248 * filetools.C (LibScriptSearch): new command. Searches for scripts
249 in lyx data directories.
250 (LibScriptSearch): try to use split() correctly.
252 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
254 * most files: ws cleanup
256 * Makefile.am: remove ld -r stuff
258 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
260 * Makefile.am (libsupport.la): special rules if partial linking
262 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
264 * forkedcontr.C: turn the timer off when their are no longer any
265 child processes running.
267 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
269 * forkedcall.h: docy fix
270 change SignalType second type to be const ref.
272 * forkedcall.C: doxy fix
274 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
276 * lyxsum.C: compilation fix
278 2002-03-02 Herbert Voss <voss@perce.de>
280 * filetools.C: fix bug for xbm format and added some more debug
283 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
285 * forkedcontr.h: make constructor public
287 * types.h: remove layout_type
289 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
291 * filetools.C (getExtFromContents): cleanup.
293 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
295 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
297 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
298 building outside of source tree.
300 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
303 * forkedcontr.[Ch]: new files. Asger's forked call controller is
304 re-born, with a working timer and a modified interface. The
305 startscript method is now passed a Signal rather than a pointer
306 to a callback function. This enables us to connect to the method of
307 a C++ class, if we so desire.
309 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
311 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
316 * nt_defines.h: moved from src/
318 2002-02-23 Herbert Voss <voss@perce.de>
320 * filetools.C: added more graphic formats
322 2002-02-18 Herbert Voss <voss@perce.de>
324 * filetools.C: (getExtFromContents) return the fileextension
325 if no format is detected.
327 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
329 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
330 as class SystemCall because one Systemcall instance represents a
331 single child process.
334 * Makefile.am: associated changes.
336 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
338 * syscall.C (Systemcalls): include <cstdlib>
340 2002-02-08 Herbert Voss <voss@perce.de>
342 * filetools.C: (getExtFromContents) adding Grace-format
345 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
348 * syssingleton.C: files removed.
350 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
351 uses it. Strip down the Systemcalls interface to make it brutally
352 obvious how unsophisticated it is.
354 2002-02-08 Herbert Voss <voss@perce.de>
356 * filetools.C: (getExtFromContents) adding TGIF-format
357 and return type "user" when no type is detected
359 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
361 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
363 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
365 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
367 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
369 * FileInfo.h: remove special cygwin code.
371 * filetools.C (do_popen): use os::read_mode().
373 * os_win32.C (read_mode):
374 * os_os2.C (read_mode):
375 * os_unix.C (read_mode): new method
377 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
378 Hentschel). This code should maybe be moved to os:: class.
380 2002-02-08 Herbert Voss <voss@perce.de>
382 * filetools.C: (unzipFile) fix typo
384 2002-02-06 Herbert Voss <voss@perce.de>
386 * filetools.[Ch]: fix some bugs for detecting zipped files
389 2002-02-04 Herbert Voss <voss@perce.de>
391 * filetools.[Ch]: add ifZippedFile() for zipped
394 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
396 * filetools.C (FileOpenSearch): remove duplicated line, probably
397 resulting from bad cut-and paste.
399 2002-01-31 Herbert Voss <voss@perce.de>
401 * filetools.[Ch]: add getExtFromContents(), which returns
402 the type of the (graphic) file
404 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
406 * copy.C (copy): open file in binary mode (for cygwin)
408 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
410 * lyxsum.C: remove #warnings and replaced them with runtime debug
413 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
415 * lyxalgo.h: include <algorithm>
417 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
419 * lyx_algo.h: add a standard-conforming count to namespace lyx.
421 * lstrings.[Ch] (countChar): removed. Use lyx::count.
423 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
425 * filetools.C: fix use of FileInfo
428 * FileInfo.C: add Asserts and documentation
430 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
432 * os_win32.C: compilation fixes
434 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
436 * lstrings.h: do not include <cctype>
438 2001-12-12 Ben Stanley <bds02@uow.edu.au>
440 * lyxsum.C: portability fix for mmap patch
442 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
446 * lyxstring.C: change "while(" to "while ("
448 2001-12-03 Ben Stanley <bds02@uow.edu.au>
450 * lyxsum.C: Added mmap version of CRC and made it selected
451 by default where available. Used process_block for crc for speedup.
453 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
455 * filetools.C: more robust failure for DirList()
457 2001-11-29 André Pönitz <poenitz@gmx.net>
459 * types.h: introduce types for textclass numbers and layout numbers
461 2001-11-28 André Pönitz <poenitz@gmx.net>
463 * Makefile.am: put types.h in
465 2001-11-26 André Pönitz <poenitz@gmx.net>
467 * types.h: introduce types for paragraph positions and layout numbers
469 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
471 * filetools.C: remove dead code
473 * syscall.C: show prog in fail case
475 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
477 * filetools.C: code style cleanup
479 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
481 * os.h: remove spurious punctuation.
483 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
486 * LAssert.C: use new emergencyCleanup()
488 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
490 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
491 like GNU gettext does.
493 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
495 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
497 (findtexfile): oops! the change from last friday was wrong...
499 * os_win32.C (is_absolute_path):
500 * os_unix.C (is_absolute_path):
501 * os_os2.C (is_absolute_path): new method
503 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
505 * filetools.C (findtexfile): apply os::internal_path to the result.
507 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
512 * os.h: add internal_path method, which converts a unix-type file
513 name to the type known to the underlying file system (currently
514 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
516 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
518 * smart_ptr.h: new file
520 * utility.h: new file
522 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
525 * filetools.C (IsDirWriteable): fix this
527 2001-07-26 Baruch Even <baruch@lyx.org>
529 * lyxlib.h (float_equal): Added function to compare floats almost equal
530 (see function comment).
532 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
534 Consistent use of Lsstream.h:
535 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
537 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
539 * translator.h: (*it). -> it->
541 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
543 * filetools.C (DeleteAllFilesInDir): send debug output to
544 Debug::FILES instewad of Debug::ANY.
546 * DebugStream.h: remove gcc 2.8.x hack.
548 2001-06-26 The LyX Project <jug@sad.it>
551 * lstrings.C (escape): move method to escape non ascii characters
552 from insets label and ref to here.
554 2001-06-25 The LyX Project <jug@sad.it>
556 * filetools.C (IsLyXFilename):
557 (IsSGMLFilename): do case insensitive name matching
559 2001-06-24 The LyX Project <jug@sad.it>
561 * lstrings.C (compare_ascii_no_case): version of compare_no_case
562 which only considers case of ascii characters
564 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
567 2001-06-23 The LyX Project <jug@sad.it>
569 * textutils.h (IsPrintable): take into account unprintable spaces
571 (IsDigit): new function
572 (IsLetterCharOrDigit): use IsDigit
574 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
576 * filetools.C (findtexfile): strip final \r if necessary (for
579 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
582 * StrPool.C: removed // -*- C++ -*- as first line.
584 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
586 * lyxsum.C (do_crc): switch to use boost::crc for generating the
589 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
594 * LSubstring.C: bring C functions in global namespace if
597 * lstrings.h (compare): use the std:: version of str[n]cmp only
600 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
602 * syscontr.C: add std::
604 * syscall.C: add std::
606 * lstrings.h (compare): add std::
608 * lstrings.C (prefixIs): add std::
612 * LSubstring.C (LSubstring): add std::
614 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
616 * lyxsum.C (sum): use istreambuf_iterator when available.
618 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
620 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
623 * lyxstring.C (operator): make const operator[] behave as
626 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
628 * Makefile.am (EXTRA_DIST): add the os_*.C files.
630 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
632 * filetools.C (MakeAbsPath): remove debugging statement
634 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
636 * FileInfo.h: X_OK workaround for cygwin
645 * filetools.h: Added os:: class.
649 * tempname.C: OS/2 fixes
651 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
653 * textutils.h: remvoe !NEW_INSETS cruft
655 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
658 * atoi.C: add using directives when needed for C functions
659 declared in std:: namespace.
661 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
663 * lstrings.C : add two helper structs, local_lowercase and
665 (lowercase): change to use std::transform
666 (uppercase): change to use std::transform
668 2001-04-25 Allan Rae <rae@lyx.org>
670 * lyxstring.C : Assert got moved and Lars missed a few.
672 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
674 * LAssert.h (Assert): put into namespace lyx
676 * lyxfunctional.h: put into namespace lyx
677 * translator.h: adjust
679 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
681 * lyxalgo.h: put into namespace lyx, add firster and copy_if
683 * FileInfo.h: inherit privately from noncopyable
686 2001-04-16 Allan Rae <rae@lyx.org>
688 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
689 as an unrecognised preprocessor directive. So ensure they're wrapped.
691 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
693 * several files: remove CXX_WORKING_NAMESPACES
695 * FileInfo.h: noncopyable is in namespace boost
698 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
700 * syscontr.h: fix header include
702 2001-02-28 Baruch Even <baruch@ev-en.org>
704 * filetools.C: Removed dependency on syscall.h
707 * syscall.C: Minor cleanings before I start to touch this code.
709 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
711 * filetools.C (CreateTmpDir): change umask to 0700.
713 2001-02-27 José Matos <jamatos@fep.up.pt>
715 * filetools.h (BasePath):
716 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
718 * filetools.C (IsLyXFilename):
719 * filetools.C (IsSGMLFilename): test if extension is suffix and not
722 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
726 * atoi.C: remove cruft
728 2001-02-06 albert chin <china@thewrittenword.com>
731 * fmt.C: use HAVE_DECL_SNPRINTF
733 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
735 * lyxstring.C: Fix some assertions.
737 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
739 * lstrings.C (strip): Add a fix for compilers with broken
740 string::find_last_not_of.
742 * filetools.C (AddPath): Simplify by using strip and frontStrip.
744 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
746 * lyxstring.C (rfind): Fix broken functions.
747 (find): Few optimizations.