1 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3 * filetools.C (RunCommand): Made public
5 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7 * limited_stack.h: fix comment, remove un-needed header
9 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11 * lstrings.h: correct comments for token and tokenPos
13 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
15 * lyxstring.C (operator>>): replace code which works only with
16 _some_ versions of GNU STL with generic one
18 2002-07-18 Angus Leeming <leeming@lyx.org>
20 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
21 signal should it do so.
23 * Makefile.am: add FileMonitor.[Ch].
25 2002-07-18 André Pönitz <poenitz@gmx.net>
27 * filetools.C (LibScriptSearch): bug fix
29 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
31 * filetools.C (LyXReadLink): add bool 'resolve' to return link
32 contents as an absolute path
34 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
36 * filetools.C (IsLyXFilename):
37 (IsSGMLFilename): use ascii_lowercase instead of lowercase
39 * lstrings.[Ch] (ascii_lowercase): new function
41 2002-07-16 André Pönitz <poenitz@gmx.net>
43 * FileInfo.Ch: remove unneeded code
45 2002-06-20 Herbert Voss <voss@perce.de>
47 * filetools.[C] (readExtFromContents): add support for
50 2002-06-26 André Pönitz <poenitz@gmx.net>
52 * filetools.[Ch]: small whitespace, more compact 'return' statement
54 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
56 * lyxalgo.h: add eliminate_duplicates
58 2002-06-17 Herbert Voss <voss@perce.de>
60 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
61 (readBB_lyxerrMessage) to get better lyxerr messages
62 (getExtFromContents) test epsi files in the right way
64 * DestroxLyXTmpDir.C: changed to true, to delete the
65 temporary unzipped files, too.
67 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
69 * putenv.C (putenv): putenv should never be found in std::
71 * kill.C (kill): kill should never be found in std::
73 * filetools.C: pclose and popen should never be found in std::
75 2002-06-07 Angus Leeming <leeming@lyx.org>
77 Fixes needed to compile with Compaq cxx 6.5.
78 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
79 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
80 more than one instance of overloaded function "lyx::class_fun" matches
90 all c-library variables have been moved into namespace std.
91 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
93 * kill.C: rename signal.h as csignal.
95 * putenv.C: rename stdlib.h as cstdlib
97 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
99 * lxtl.h: remove unused file
101 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
108 * StrPool.C: remove unused files
118 * types.h: document and small cleanups
120 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
122 * switch from SigC signals to boost::signals.
124 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
127 * limited_stack.h: new template for limited-size
130 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
132 * filetools.C: do not include LSubstring.h
134 * lstrings.C: change include order
135 (regexMatch): use boost regex get rid of LRegex and LSubstring
137 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
140 * LSubstring.h: remove file
145 * LSubstring.C: ditto
147 2002-05-24 Juergen Vigna <jug@sad.it>
149 * lyxsum.C: include local includes first (self containment)
151 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
153 * forkedcall.h: use more specific smart_ptr header.
155 * lyxsum.C: move some using declarations around.
157 2002-05-03 Herbert Voss <voss@perce.de>
159 * filetools.C (getExtFromContents): only print the first 60 chars of
160 the scanned-string when debugging.
162 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
164 * lyxstring.C: close to typo fix.
166 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
168 * filetools.C: add a using std::getline directive.
170 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
172 * lyxstring.C (operator>>): try a new version of the operator>>
174 2002-04-14 Herbert Voss <voss@perce.de>
176 * lstrings.[Ch]: move the getVectorFromString and the vice versa
177 from frontends/controllers/helper_funcs for better use in other
180 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
182 * tempname.C (make_tempfile): simplify the #ifdef block by using
183 #if defined and re-write the #warning as a #error because it's terminal.
185 2002-04-08 Herbert Voss <voss@perce.de>
187 * filetools.C (getExtFromContents): get tgif run
189 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
191 * filetools.C (getExtFromContents): re-format a little and remove
192 replicated "sgi" entry.
194 2002-04-07 Herbert Voss <voss@perce.de>
196 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
197 for the lyx-view in graphics (moved from ControlGraphics)
199 2002-04-07 Herbert Voss <voss@perce.de>
201 * filetools.C: fix bug for eps. scans now a whole line
203 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
205 * lyxstring.C (operator>>): use the better solution, this fixes a
206 "not able to read '\0'" bug.
208 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
210 * translator.h: add missing typename
212 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
214 * filetools.C (LibScriptSearch): new command. Searches for scripts
215 in lyx data directories.
216 (LibScriptSearch): try to use split() correctly.
218 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
220 * most files: ws cleanup
222 * Makefile.am: remove ld -r stuff
224 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
226 * Makefile.am (libsupport.la): special rules if partial linking
228 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
230 * forkedcontr.C: turn the timer off when their are no longer any
231 child processes running.
233 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
235 * forkedcall.h: docy fix
236 change SignalType second type to be const ref.
238 * forkedcall.C: doxy fix
240 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
242 * lyxsum.C: compilation fix
244 2002-03-02 Herbert Voss <voss@perce.de>
246 * filetools.C: fix bug for xbm format and added some more debug
249 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
251 * forkedcontr.h: make constructor public
253 * types.h: remove layout_type
255 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
257 * filetools.C (getExtFromContents): cleanup.
259 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
261 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
263 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
264 building outside of source tree.
266 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
269 * forkedcontr.[Ch]: new files. Asger's forked call controller is
270 re-born, with a working timer and a modified interface. The
271 startscript method is now passed a Signal rather than a pointer
272 to a callback function. This enables us to connect to the method of
273 a C++ class, if we so desire.
275 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
277 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
282 * nt_defines.h: moved from src/
284 2002-02-23 Herbert Voss <voss@perce.de>
286 * filetools.C: added more graphic formats
288 2002-02-18 Herbert Voss <voss@perce.de>
290 * filetools.C: (getExtFromContents) return the fileextension
291 if no format is detected.
293 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
295 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
296 as class SystemCall because one Systemcall instance represents a
297 single child process.
300 * Makefile.am: associated changes.
302 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
304 * syscall.C (Systemcalls): include <cstdlib>
306 2002-02-08 Herbert Voss <voss@perce.de>
308 * filetools.C: (getExtFromContents) adding Grace-format
311 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
314 * syssingleton.C: files removed.
316 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
317 uses it. Strip down the Systemcalls interface to make it brutally
318 obvious how unsophisticated it is.
320 2002-02-08 Herbert Voss <voss@perce.de>
322 * filetools.C: (getExtFromContents) adding TGIF-format
323 and return type "user" when no type is detected
325 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
327 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
329 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
331 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
333 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
335 * FileInfo.h: remove special cygwin code.
337 * filetools.C (do_popen): use os::read_mode().
339 * os_win32.C (read_mode):
340 * os_os2.C (read_mode):
341 * os_unix.C (read_mode): new method
343 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
344 Hentschel). This code should maybe be moved to os:: class.
346 2002-02-08 Herbert Voss <voss@perce.de>
348 * filetools.C: (unzipFile) fix typo
350 2002-02-06 Herbert Voss <voss@perce.de>
352 * filetools.[Ch]: fix some bugs for detecting zipped files
355 2002-02-04 Herbert Voss <voss@perce.de>
357 * filetools.[Ch]: add ifZippedFile() for zipped
360 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
362 * filetools.C (FileOpenSearch): remove duplicated line, probably
363 resulting from bad cut-and paste.
365 2002-01-31 Herbert Voss <voss@perce.de>
367 * filetools.[Ch]: add getExtFromContents(), which returns
368 the type of the (graphic) file
370 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
372 * copy.C (copy): open file in binary mode (for cygwin)
374 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
376 * lyxsum.C: remove #warnings and replaced them with runtime debug
379 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
381 * lyxalgo.h: include <algorithm>
383 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
385 * lyx_algo.h: add a standard-conforming count to namespace lyx.
387 * lstrings.[Ch] (countChar): removed. Use lyx::count.
389 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
391 * filetools.C: fix use of FileInfo
394 * FileInfo.C: add Asserts and documentation
396 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
398 * os_win32.C: compilation fixes
400 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
402 * lstrings.h: do not include <cctype>
404 2001-12-12 Ben Stanley <bds02@uow.edu.au>
406 * lyxsum.C: portability fix for mmap patch
408 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
412 * lyxstring.C: change "while(" to "while ("
414 2001-12-03 Ben Stanley <bds02@uow.edu.au>
416 * lyxsum.C: Added mmap version of CRC and made it selected
417 by default where available. Used process_block for crc for speedup.
419 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
421 * filetools.C: more robust failure for DirList()
423 2001-11-29 André Pönitz <poenitz@gmx.net>
425 * types.h: introduce types for textclass numbers and layout numbers
427 2001-11-28 André Pönitz <poenitz@gmx.net>
429 * Makefile.am: put types.h in
431 2001-11-26 André Pönitz <poenitz@gmx.net>
433 * types.h: introduce types for paragraph positions and layout numbers
435 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
437 * filetools.C: remove dead code
439 * syscall.C: show prog in fail case
441 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
443 * filetools.C: code style cleanup
445 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
447 * os.h: remove spurious punctuation.
449 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
452 * LAssert.C: use new emergencyCleanup()
454 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
456 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
457 like GNU gettext does.
459 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
461 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
463 (findtexfile): oops! the change from last friday was wrong...
465 * os_win32.C (is_absolute_path):
466 * os_unix.C (is_absolute_path):
467 * os_os2.C (is_absolute_path): new method
469 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
471 * filetools.C (findtexfile): apply os::internal_path to the result.
473 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
478 * os.h: add internal_path method, which converts a unix-type file
479 name to the type known to the underlying file system (currently
480 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
482 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
484 * smart_ptr.h: new file
486 * utility.h: new file
488 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
491 * filetools.C (IsDirWriteable): fix this
493 2001-07-26 Baruch Even <baruch@lyx.org>
495 * lyxlib.h (float_equal): Added function to compare floats almost equal
496 (see function comment).
498 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
500 Consistent use of Lsstream.h:
501 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
503 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
505 * translator.h: (*it). -> it->
507 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
509 * filetools.C (DeleteAllFilesInDir): send debug output to
510 Debug::FILES instewad of Debug::ANY.
512 * DebugStream.h: remove gcc 2.8.x hack.
514 2001-06-26 The LyX Project <jug@sad.it>
517 * lstrings.C (escape): move method to escape non ascii characters
518 from insets label and ref to here.
520 2001-06-25 The LyX Project <jug@sad.it>
522 * filetools.C (IsLyXFilename):
523 (IsSGMLFilename): do case insensitive name matching
525 2001-06-24 The LyX Project <jug@sad.it>
527 * lstrings.C (compare_ascii_no_case): version of compare_no_case
528 which only considers case of ascii characters
530 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
533 2001-06-23 The LyX Project <jug@sad.it>
535 * textutils.h (IsPrintable): take into account unprintable spaces
537 (IsDigit): new function
538 (IsLetterCharOrDigit): use IsDigit
540 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
542 * filetools.C (findtexfile): strip final \r if necessary (for
545 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
548 * StrPool.C: removed // -*- C++ -*- as first line.
550 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
552 * lyxsum.C (do_crc): switch to use boost::crc for generating the
555 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
560 * LSubstring.C: bring C functions in global namespace if
563 * lstrings.h (compare): use the std:: version of str[n]cmp only
566 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
568 * syscontr.C: add std::
570 * syscall.C: add std::
572 * lstrings.h (compare): add std::
574 * lstrings.C (prefixIs): add std::
578 * LSubstring.C (LSubstring): add std::
580 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
582 * lyxsum.C (sum): use istreambuf_iterator when available.
584 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
586 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
589 * lyxstring.C (operator): make const operator[] behave as
592 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
594 * Makefile.am (EXTRA_DIST): add the os_*.C files.
596 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
598 * filetools.C (MakeAbsPath): remove debugging statement
600 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
602 * FileInfo.h: X_OK workaround for cygwin
611 * filetools.h: Added os:: class.
615 * tempname.C: OS/2 fixes
617 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
619 * textutils.h: remvoe !NEW_INSETS cruft
621 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
624 * atoi.C: add using directives when needed for C functions
625 declared in std:: namespace.
627 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
629 * lstrings.C : add two helper structs, local_lowercase and
631 (lowercase): change to use std::transform
632 (uppercase): change to use std::transform
634 2001-04-25 Allan Rae <rae@lyx.org>
636 * lyxstring.C : Assert got moved and Lars missed a few.
638 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
640 * LAssert.h (Assert): put into namespace lyx
642 * lyxfunctional.h: put into namespace lyx
643 * translator.h: adjust
645 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
647 * lyxalgo.h: put into namespace lyx, add firster and copy_if
649 * FileInfo.h: inherit privately from noncopyable
652 2001-04-16 Allan Rae <rae@lyx.org>
654 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
655 as an unrecognised preprocessor directive. So ensure they're wrapped.
657 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
659 * several files: remove CXX_WORKING_NAMESPACES
661 * FileInfo.h: noncopyable is in namespace boost
664 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
666 * syscontr.h: fix header include
668 2001-02-28 Baruch Even <baruch@ev-en.org>
670 * filetools.C: Removed dependency on syscall.h
673 * syscall.C: Minor cleanings before I start to touch this code.
675 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
677 * filetools.C (CreateTmpDir): change umask to 0700.
679 2001-02-27 José Matos <jamatos@fep.up.pt>
681 * filetools.h (BasePath):
682 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
684 * filetools.C (IsLyXFilename):
685 * filetools.C (IsSGMLFilename): test if extension is suffix and not
688 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
692 * atoi.C: remove cruft
694 2001-02-06 albert chin <china@thewrittenword.com>
697 * fmt.C: use HAVE_DECL_SNPRINTF
699 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
701 * lyxstring.C: Fix some assertions.
703 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
705 * lstrings.C (strip): Add a fix for compilers with broken
706 string::find_last_not_of.
708 * filetools.C (AddPath): Simplify by using strip and frontStrip.
710 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
712 * lyxstring.C (rfind): Fix broken functions.
713 (find): Few optimizations.