1 2002-08-20 John Levon <levon@movementarian.org>
6 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8 * textutils.h: formatting.
10 2002-08-08 John Levon <levon@movementarian.org>
12 * limited_stack.h: default to 100 not 10
14 2002-08-01 John Levon <levon@movementarian.org>
16 * forkedcall.C: more details on error
18 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
20 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
21 also add a trim function that is the equiv of
22 strip(frontStrip(...)), also reimplement the functions
23 (improvements still possible.)
25 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
26 * forkedcall.C (generateChild): ditto
30 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
32 * filetools.C (GetEnvPath): modify because of strip changes
33 (createDirectory): ditto
35 * lstrings.[Ch] (isStrInt): ditto
36 (isStrUnsignedInt): ditto
38 (strToUnsignedInt): ditto
40 (contains): removed unneeded version of contains
41 (containsOnly): removed uneeded versions of containsOnly
42 (strip, frontStrip): removed unneded versions, changed argument types.
44 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
46 * filetools.C (RunCommand): Made public
48 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
50 * limited_stack.h: fix comment, remove un-needed header
52 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
54 * lstrings.h: correct comments for token and tokenPos
56 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
58 * lyxstring.C (operator>>): replace code which works only with
59 _some_ versions of GNU STL with generic one
61 2002-07-18 Angus Leeming <leeming@lyx.org>
63 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
64 signal should it do so.
66 * Makefile.am: add FileMonitor.[Ch].
68 2002-07-18 André Pönitz <poenitz@gmx.net>
70 * filetools.C (LibScriptSearch): bug fix
72 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
74 * filetools.C (LyXReadLink): add bool 'resolve' to return link
75 contents as an absolute path
77 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
79 * filetools.C (IsLyXFilename):
80 (IsSGMLFilename): use ascii_lowercase instead of lowercase
82 * lstrings.[Ch] (ascii_lowercase): new function
84 2002-07-16 André Pönitz <poenitz@gmx.net>
86 * FileInfo.Ch: remove unneeded code
88 2002-06-20 Herbert Voss <voss@perce.de>
90 * filetools.[C] (readExtFromContents): add support for
93 2002-06-26 André Pönitz <poenitz@gmx.net>
95 * filetools.[Ch]: small whitespace, more compact 'return' statement
97 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
99 * lyxalgo.h: add eliminate_duplicates
101 2002-06-17 Herbert Voss <voss@perce.de>
103 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
104 (readBB_lyxerrMessage) to get better lyxerr messages
105 (getExtFromContents) test epsi files in the right way
107 * DestroxLyXTmpDir.C: changed to true, to delete the
108 temporary unzipped files, too.
110 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
112 * putenv.C (putenv): putenv should never be found in std::
114 * kill.C (kill): kill should never be found in std::
116 * filetools.C: pclose and popen should never be found in std::
118 2002-06-07 Angus Leeming <leeming@lyx.org>
120 Fixes needed to compile with Compaq cxx 6.5.
121 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
122 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
123 more than one instance of overloaded function "lyx::class_fun" matches
133 all c-library variables have been moved into namespace std.
134 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
136 * kill.C: rename signal.h as csignal.
138 * putenv.C: rename stdlib.h as cstdlib
140 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
142 * lxtl.h: remove unused file
144 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
151 * StrPool.C: remove unused files
161 * types.h: document and small cleanups
163 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
165 * switch from SigC signals to boost::signals.
167 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
170 * limited_stack.h: new template for limited-size
173 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
175 * filetools.C: do not include LSubstring.h
177 * lstrings.C: change include order
178 (regexMatch): use boost regex get rid of LRegex and LSubstring
180 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
183 * LSubstring.h: remove file
188 * LSubstring.C: ditto
190 2002-05-24 Juergen Vigna <jug@sad.it>
192 * lyxsum.C: include local includes first (self containment)
194 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
196 * forkedcall.h: use more specific smart_ptr header.
198 * lyxsum.C: move some using declarations around.
200 2002-05-03 Herbert Voss <voss@perce.de>
202 * filetools.C (getExtFromContents): only print the first 60 chars of
203 the scanned-string when debugging.
205 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
207 * lyxstring.C: close to typo fix.
209 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
211 * filetools.C: add a using std::getline directive.
213 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
215 * lyxstring.C (operator>>): try a new version of the operator>>
217 2002-04-14 Herbert Voss <voss@perce.de>
219 * lstrings.[Ch]: move the getVectorFromString and the vice versa
220 from frontends/controllers/helper_funcs for better use in other
223 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
225 * tempname.C (make_tempfile): simplify the #ifdef block by using
226 #if defined and re-write the #warning as a #error because it's terminal.
228 2002-04-08 Herbert Voss <voss@perce.de>
230 * filetools.C (getExtFromContents): get tgif run
232 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
234 * filetools.C (getExtFromContents): re-format a little and remove
235 replicated "sgi" entry.
237 2002-04-07 Herbert Voss <voss@perce.de>
239 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
240 for the lyx-view in graphics (moved from ControlGraphics)
242 2002-04-07 Herbert Voss <voss@perce.de>
244 * filetools.C: fix bug for eps. scans now a whole line
246 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
248 * lyxstring.C (operator>>): use the better solution, this fixes a
249 "not able to read '\0'" bug.
251 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
253 * translator.h: add missing typename
255 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
257 * filetools.C (LibScriptSearch): new command. Searches for scripts
258 in lyx data directories.
259 (LibScriptSearch): try to use split() correctly.
261 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
263 * most files: ws cleanup
265 * Makefile.am: remove ld -r stuff
267 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
269 * Makefile.am (libsupport.la): special rules if partial linking
271 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
273 * forkedcontr.C: turn the timer off when their are no longer any
274 child processes running.
276 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
278 * forkedcall.h: docy fix
279 change SignalType second type to be const ref.
281 * forkedcall.C: doxy fix
283 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
285 * lyxsum.C: compilation fix
287 2002-03-02 Herbert Voss <voss@perce.de>
289 * filetools.C: fix bug for xbm format and added some more debug
292 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
294 * forkedcontr.h: make constructor public
296 * types.h: remove layout_type
298 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
300 * filetools.C (getExtFromContents): cleanup.
302 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
304 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
306 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
307 building outside of source tree.
309 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
312 * forkedcontr.[Ch]: new files. Asger's forked call controller is
313 re-born, with a working timer and a modified interface. The
314 startscript method is now passed a Signal rather than a pointer
315 to a callback function. This enables us to connect to the method of
316 a C++ class, if we so desire.
318 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
320 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
325 * nt_defines.h: moved from src/
327 2002-02-23 Herbert Voss <voss@perce.de>
329 * filetools.C: added more graphic formats
331 2002-02-18 Herbert Voss <voss@perce.de>
333 * filetools.C: (getExtFromContents) return the fileextension
334 if no format is detected.
336 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
338 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
339 as class SystemCall because one Systemcall instance represents a
340 single child process.
343 * Makefile.am: associated changes.
345 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
347 * syscall.C (Systemcalls): include <cstdlib>
349 2002-02-08 Herbert Voss <voss@perce.de>
351 * filetools.C: (getExtFromContents) adding Grace-format
354 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
357 * syssingleton.C: files removed.
359 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
360 uses it. Strip down the Systemcalls interface to make it brutally
361 obvious how unsophisticated it is.
363 2002-02-08 Herbert Voss <voss@perce.de>
365 * filetools.C: (getExtFromContents) adding TGIF-format
366 and return type "user" when no type is detected
368 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
370 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
372 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
374 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
376 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
378 * FileInfo.h: remove special cygwin code.
380 * filetools.C (do_popen): use os::read_mode().
382 * os_win32.C (read_mode):
383 * os_os2.C (read_mode):
384 * os_unix.C (read_mode): new method
386 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
387 Hentschel). This code should maybe be moved to os:: class.
389 2002-02-08 Herbert Voss <voss@perce.de>
391 * filetools.C: (unzipFile) fix typo
393 2002-02-06 Herbert Voss <voss@perce.de>
395 * filetools.[Ch]: fix some bugs for detecting zipped files
398 2002-02-04 Herbert Voss <voss@perce.de>
400 * filetools.[Ch]: add ifZippedFile() for zipped
403 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
405 * filetools.C (FileOpenSearch): remove duplicated line, probably
406 resulting from bad cut-and paste.
408 2002-01-31 Herbert Voss <voss@perce.de>
410 * filetools.[Ch]: add getExtFromContents(), which returns
411 the type of the (graphic) file
413 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
415 * copy.C (copy): open file in binary mode (for cygwin)
417 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
419 * lyxsum.C: remove #warnings and replaced them with runtime debug
422 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
424 * lyxalgo.h: include <algorithm>
426 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
428 * lyx_algo.h: add a standard-conforming count to namespace lyx.
430 * lstrings.[Ch] (countChar): removed. Use lyx::count.
432 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
434 * filetools.C: fix use of FileInfo
437 * FileInfo.C: add Asserts and documentation
439 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
441 * os_win32.C: compilation fixes
443 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
445 * lstrings.h: do not include <cctype>
447 2001-12-12 Ben Stanley <bds02@uow.edu.au>
449 * lyxsum.C: portability fix for mmap patch
451 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
455 * lyxstring.C: change "while(" to "while ("
457 2001-12-03 Ben Stanley <bds02@uow.edu.au>
459 * lyxsum.C: Added mmap version of CRC and made it selected
460 by default where available. Used process_block for crc for speedup.
462 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
464 * filetools.C: more robust failure for DirList()
466 2001-11-29 André Pönitz <poenitz@gmx.net>
468 * types.h: introduce types for textclass numbers and layout numbers
470 2001-11-28 André Pönitz <poenitz@gmx.net>
472 * Makefile.am: put types.h in
474 2001-11-26 André Pönitz <poenitz@gmx.net>
476 * types.h: introduce types for paragraph positions and layout numbers
478 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
480 * filetools.C: remove dead code
482 * syscall.C: show prog in fail case
484 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
486 * filetools.C: code style cleanup
488 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
490 * os.h: remove spurious punctuation.
492 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
495 * LAssert.C: use new emergencyCleanup()
497 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
499 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
500 like GNU gettext does.
502 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
504 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
506 (findtexfile): oops! the change from last friday was wrong...
508 * os_win32.C (is_absolute_path):
509 * os_unix.C (is_absolute_path):
510 * os_os2.C (is_absolute_path): new method
512 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
514 * filetools.C (findtexfile): apply os::internal_path to the result.
516 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
521 * os.h: add internal_path method, which converts a unix-type file
522 name to the type known to the underlying file system (currently
523 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
525 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
527 * smart_ptr.h: new file
529 * utility.h: new file
531 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
534 * filetools.C (IsDirWriteable): fix this
536 2001-07-26 Baruch Even <baruch@lyx.org>
538 * lyxlib.h (float_equal): Added function to compare floats almost equal
539 (see function comment).
541 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
543 Consistent use of Lsstream.h:
544 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
546 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
548 * translator.h: (*it). -> it->
550 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
552 * filetools.C (DeleteAllFilesInDir): send debug output to
553 Debug::FILES instewad of Debug::ANY.
555 * DebugStream.h: remove gcc 2.8.x hack.
557 2001-06-26 The LyX Project <jug@sad.it>
560 * lstrings.C (escape): move method to escape non ascii characters
561 from insets label and ref to here.
563 2001-06-25 The LyX Project <jug@sad.it>
565 * filetools.C (IsLyXFilename):
566 (IsSGMLFilename): do case insensitive name matching
568 2001-06-24 The LyX Project <jug@sad.it>
570 * lstrings.C (compare_ascii_no_case): version of compare_no_case
571 which only considers case of ascii characters
573 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
576 2001-06-23 The LyX Project <jug@sad.it>
578 * textutils.h (IsPrintable): take into account unprintable spaces
580 (IsDigit): new function
581 (IsLetterCharOrDigit): use IsDigit
583 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
585 * filetools.C (findtexfile): strip final \r if necessary (for
588 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
591 * StrPool.C: removed // -*- C++ -*- as first line.
593 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
595 * lyxsum.C (do_crc): switch to use boost::crc for generating the
598 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
603 * LSubstring.C: bring C functions in global namespace if
606 * lstrings.h (compare): use the std:: version of str[n]cmp only
609 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
611 * syscontr.C: add std::
613 * syscall.C: add std::
615 * lstrings.h (compare): add std::
617 * lstrings.C (prefixIs): add std::
621 * LSubstring.C (LSubstring): add std::
623 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
625 * lyxsum.C (sum): use istreambuf_iterator when available.
627 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
629 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
632 * lyxstring.C (operator): make const operator[] behave as
635 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
637 * Makefile.am (EXTRA_DIST): add the os_*.C files.
639 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
641 * filetools.C (MakeAbsPath): remove debugging statement
643 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
645 * FileInfo.h: X_OK workaround for cygwin
654 * filetools.h: Added os:: class.
658 * tempname.C: OS/2 fixes
660 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
662 * textutils.h: remvoe !NEW_INSETS cruft
664 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
667 * atoi.C: add using directives when needed for C functions
668 declared in std:: namespace.
670 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
672 * lstrings.C : add two helper structs, local_lowercase and
674 (lowercase): change to use std::transform
675 (uppercase): change to use std::transform
677 2001-04-25 Allan Rae <rae@lyx.org>
679 * lyxstring.C : Assert got moved and Lars missed a few.
681 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
683 * LAssert.h (Assert): put into namespace lyx
685 * lyxfunctional.h: put into namespace lyx
686 * translator.h: adjust
688 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
690 * lyxalgo.h: put into namespace lyx, add firster and copy_if
692 * FileInfo.h: inherit privately from noncopyable
695 2001-04-16 Allan Rae <rae@lyx.org>
697 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
698 as an unrecognised preprocessor directive. So ensure they're wrapped.
700 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
702 * several files: remove CXX_WORKING_NAMESPACES
704 * FileInfo.h: noncopyable is in namespace boost
707 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
709 * syscontr.h: fix header include
711 2001-02-28 Baruch Even <baruch@ev-en.org>
713 * filetools.C: Removed dependency on syscall.h
716 * syscall.C: Minor cleanings before I start to touch this code.
718 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
720 * filetools.C (CreateTmpDir): change umask to 0700.
722 2001-02-27 José Matos <jamatos@fep.up.pt>
724 * filetools.h (BasePath):
725 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
727 * filetools.C (IsLyXFilename):
728 * filetools.C (IsSGMLFilename): test if extension is suffix and not
731 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
735 * atoi.C: remove cruft
737 2001-02-06 albert chin <china@thewrittenword.com>
740 * fmt.C: use HAVE_DECL_SNPRINTF
742 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
744 * lyxstring.C: Fix some assertions.
746 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
748 * lstrings.C (strip): Add a fix for compilers with broken
749 string::find_last_not_of.
751 * filetools.C (AddPath): Simplify by using strip and frontStrip.
753 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
755 * lyxstring.C (rfind): Fix broken functions.
756 (find): Few optimizations.