1 2003-09-04 Angus Leeming <leeming@lyx.org>
4 * filename.C: move #include "os.h" out of the header file.
6 2003-09-04 Angus Leeming <leeming@lyx.org>
8 * path.C (ctor, dtor): move out of line.
10 2003-09-03 Angus Leeming <leeming@lyx.org>
12 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
13 (mangledFilename): new function, returning a mangled version of the
14 absolute file name, suitable for use in the temp dir when, for example,
15 converting an image file to another format.
16 (isZipped, unzippedFilename): wrappers to global functions.
18 * filetools.[Ch] (copyFileToDir): removed.
19 (compare_timestamps): new function.
21 2003-09-03 Angus Leeming <leeming@lyx.org>
23 * translator.h: Assert is in namespace lyx::support...
25 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
27 * Makefile.am: do not install path_defines.C in includes
28 (COMPRESSION): mention gzstream.h here
30 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * path_defines.C.in (setLyxPaths): re-introduce the code to check
33 whether lyx is run in place
34 (build_dir): renamed from build_lyxdir
35 (build_lyxdir): give this better semantics compatible with what
36 LibFileSearch expects.
38 2003-07-29 Angus Leeming <leeming@lyx.org>
40 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
41 defaults to string() because MakeRelPath can accept that.
43 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
45 * Makefile.am: conditionalize USE_COMPRESSION.
47 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
49 * filetools.C (getExtFromContents): correct magic for gzip and
52 * path_defines.[Ch]: move lyx_localedir out of anon namespace
54 * gzstream.h: new fileq
56 * gzstream.C: new file
58 2003-07-27 Angus Leeming <leeming@lyx.org>
60 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
61 user_lyxdir): are now functions, not global vars.
63 * Makefile.am: set build_lyxdir at make time.
65 2003-07-27 Angus Leeming <leeming@lyx.org>
67 * path_defines.{h,C.in}: new files. Store/set the various lyx
68 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
71 * Makefile.am: add some magic to enable the user to set the path to
72 the system-level lyx support files, the top of the lyx build tree
73 and the system-level lyx locale directory at _make_ time rather
76 * .cvsignore: add path_defines.C.
78 2003-07-26 Angus Leeming <leeming@lyx.org>
80 * os.h: remove irrelevant discussion of system_tempdir.
82 2003-07-21 Angus Leeming <leeming@lyx.org>
84 * filename.[Ch]: new files implementing class FileName.
85 * Makefile.am: add filename.[Ch].
87 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
89 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
90 not allow it (at least not in this form.)
92 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
94 * os_win32.C: put namespace os in lyx::support.
96 * lstrings.C (bformat): call Assert from correct namespace.
98 * introduce namespace lyx::support
100 2003-06-30 André Pönitz <poenitz@gmx.net>
103 * lstrings.C: re-enable --with-included-string
105 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
107 * filetools.h: fix some \param issue
109 * boost-inst.C: fix \file
111 * LAssert.h: fix \file
113 2003-06-20 Angus Leeming <leeming@lyx.org>
115 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
117 2003-06-18 Angus Leeming <leeming@lyx.org>
119 * many files: add the standard blurb, "This file is part of LyX" etc
121 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
123 * limited_stack.h: make it have a const_iterator, add begin, and
126 2003-06-10 Angus Leeming <leeming@lyx.org>
128 * filetools.C (copyFileToDir): ensure that temp files have unique names.
130 2003-06-04 André Pönitz <poenitz@gmx.net>
132 * limited_stack.h (top): return reference instead of value
134 2003-06-02 Angus Leeming <leeming@lyx.org>
136 * filetools.[Ch] (copyFileToDir): new helper function.
138 * os.h: remove trailing semi-colon from end of namespace os block.
140 2003-06-01 Angus Leeming <leeming@lyx.org>
142 * filetools.h (LibScriptSearch): give the function a meaningful
143 description of what it now does.
145 2003-05-30 Angus Leeming <leeming@lyx.org>
147 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
148 this with the path to the script. If the script is not found, the "$$s/"
151 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
153 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
156 2003-05-19 André Pönitz <poenitz@gmx.net>
158 * lstrings.C: add missing implementation of three-arg bformat
160 * lstrings.C: change rest of char * fmt -> string const & fmt
163 2003-05-15 André Pönitz <poenitz@gmx.net>
165 * lstrings.[Ch]: use string const & instead of char const * for format
167 2003-05-12 André Pönitz <poenitz@gmx.net>
169 * tostr.[Ch]: add long int overload
171 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
173 * lstrings.[Ch]: compile fix
175 2003-05-12 André Pönitz <poenitz@gmx.net>
177 * lstrings.[Ch]: bformat() as wrapper around boost::format
179 * lyxstring.h: enable templatized constructor
181 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
183 * limited_stack.h: Change some comments, simplify a couple of
186 2003-02-21 André Pönitz <poenitz@gmx.net>
188 * limited_stack.h: change underlying container to deque to
189 make this re-usable in mathed
191 2003-04-08 John Levon <levon@movementarian.org>
193 * filetools.C: fix MakeDisplayPath() to not
196 2003-03-30 John Levon <levon@movementarian.org>
200 * boost-inst.C: moved from src/
202 2003-03-29 John Levon <levon@movementarian.org>
205 * filetools.C: never call Alert directly from here
207 2003-03-12 John Levon <levon@movementarian.org>
209 * textutils.h: remove META_NEWLINE
211 2003-02-27 Ling Li <ling@caltech.edu>
213 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
216 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
218 * forkedcontr.C (timer): remove bogus continue
220 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
222 * forkedcallqueue.[Ch]: added
224 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
226 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
227 Emiting the signal can result in an arbitrary change to the list.
229 2003-02-25 Angus Leeming <leeming@lyx.org>
231 * forkedcontr.C (timer): Use a while loop rather than for; makes it
232 easier to erase an element.
234 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
236 * forkedcontr.C (timer): don't start a running timer.
238 2003-02-21 André Pönitz <poenitz@gmx.net>
240 * filetools.C (PutEnv): removed (unused)
242 2003-02-17 John Levon <levon@movementarian.org>
245 * forkedcall.C: add running()
247 2003-02-08 John Levon <levon@movementarian.org>
251 * lyxtime.C: add typedef for time_t, add current_time
257 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
259 * filetools.C (getExtFromContents): remove detection of epsi
261 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
263 * several files: ws changes
265 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
267 * filetools.C (DirList): remove all ugly hacks and do it nice
269 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
271 * lyxsum.C: an ugly hack to compile with non-gnu linkers
273 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
275 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
276 a solution that he likes and which actually works.
278 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
280 * lstrings.h (tostr): STRCONV
282 * lstrings.C (regexMatch): STRCONV
283 (getVectorFromString): STRCONV, manual copy into vector
285 * filetools.C (GetFileContents): STRCONV
287 * os.C: include config.h
289 * lstrings.C (getVectorFromString): rewrite to use
292 2002-10-31 Angus Leeming <leeming@lyx.org>
294 * forkedcall.C (generateChild): clean it up further.
296 2002-10-25 Angus Leeming <leeming@lyx.org>
298 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
299 and a minimal ForkedCall daughter class.
301 * forkedcontr.[Ch]: minimal changes reflecting the use of a
302 ForkedProcess base class responsible for launching all child proceses.
304 2002-09-25 Angus Leeming <leeming@lyx.org>
307 * LOstream.h: doxygen fixes.
309 2002-09-24 Angus Leeming <leeming@lyx.org>
311 * most files: clean-up the license info.
313 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
315 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
317 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
319 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
320 since at least for Cygwin, the "rb" read_mode acceptable for
321 fopen() is illegal for popen(), whose mode argument *must* be "r"
324 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
327 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
329 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
332 * smart_ptr.h: remove file
335 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
337 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
338 class_fun and void_class_fun
340 2002-08-20 John Levon <levon@movementarian.org>
345 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
347 * textutils.h: formatting.
349 2002-08-08 John Levon <levon@movementarian.org>
351 * limited_stack.h: default to 100 not 10
353 2002-08-01 John Levon <levon@movementarian.org>
355 * forkedcall.C: more details on error
357 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
359 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
360 also add a trim function that is the equiv of
361 strip(frontStrip(...)), also reimplement the functions
362 (improvements still possible.)
364 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
365 * forkedcall.C (generateChild): ditto
369 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
371 * filetools.C (GetEnvPath): modify because of strip changes
372 (createDirectory): ditto
374 * lstrings.[Ch] (isStrInt): ditto
375 (isStrUnsignedInt): ditto
377 (strToUnsignedInt): ditto
379 (contains): removed unneeded version of contains
380 (containsOnly): removed uneeded versions of containsOnly
381 (strip, frontStrip): removed unneded versions, changed argument types.
383 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
385 * filetools.C (RunCommand): Made public
387 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
389 * limited_stack.h: fix comment, remove un-needed header
391 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
393 * lstrings.h: correct comments for token and tokenPos
395 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
397 * lyxstring.C (operator>>): replace code which works only with
398 _some_ versions of GNU STL with generic one
400 2002-07-18 Angus Leeming <leeming@lyx.org>
402 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
403 signal should it do so.
405 * Makefile.am: add FileMonitor.[Ch].
407 2002-07-18 André Pönitz <poenitz@gmx.net>
409 * filetools.C (LibScriptSearch): bug fix
411 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
413 * filetools.C (LyXReadLink): add bool 'resolve' to return link
414 contents as an absolute path
416 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
418 * filetools.C (IsLyXFilename):
419 (IsSGMLFilename): use ascii_lowercase instead of lowercase
421 * lstrings.[Ch] (ascii_lowercase): new function
423 2002-07-16 André Pönitz <poenitz@gmx.net>
425 * FileInfo.Ch: remove unneeded code
427 2002-06-20 Herbert Voss <voss@perce.de>
429 * filetools.[C] (readExtFromContents): add support for
432 2002-06-26 André Pönitz <poenitz@gmx.net>
434 * filetools.[Ch]: small whitespace, more compact 'return' statement
436 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
438 * lyxalgo.h: add eliminate_duplicates
440 2002-06-17 Herbert Voss <voss@perce.de>
442 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
443 (readBB_lyxerrMessage) to get better lyxerr messages
444 (getExtFromContents) test epsi files in the right way
446 * DestroxLyXTmpDir.C: changed to true, to delete the
447 temporary unzipped files, too.
449 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
451 * putenv.C (putenv): putenv should never be found in std::
453 * kill.C (kill): kill should never be found in std::
455 * filetools.C: pclose and popen should never be found in std::
457 2002-06-07 Angus Leeming <leeming@lyx.org>
459 Fixes needed to compile with Compaq cxx 6.5.
460 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
461 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
462 more than one instance of overloaded function "lyx::class_fun" matches
472 all c-library variables have been moved into namespace std.
473 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
475 * kill.C: rename signal.h as csignal.
477 * putenv.C: rename stdlib.h as cstdlib
479 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
481 * lxtl.h: remove unused file
483 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
490 * StrPool.C: remove unused files
500 * types.h: document and small cleanups
502 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
504 * switch from SigC signals to boost::signals.
506 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
509 * limited_stack.h: new template for limited-size
512 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
514 * filetools.C: do not include LSubstring.h
516 * lstrings.C: change include order
517 (regexMatch): use boost regex get rid of LRegex and LSubstring
519 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
522 * LSubstring.h: remove file
527 * LSubstring.C: ditto
529 2002-05-24 Juergen Vigna <jug@sad.it>
531 * lyxsum.C: include local includes first (self containment)
533 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
535 * forkedcall.h: use more specific smart_ptr header.
537 * lyxsum.C: move some using declarations around.
539 2002-05-03 Herbert Voss <voss@perce.de>
541 * filetools.C (getExtFromContents): only print the first 60 chars of
542 the scanned-string when debugging.
544 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
546 * lyxstring.C: close to typo fix.
548 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
550 * filetools.C: add a using std::getline directive.
552 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
554 * lyxstring.C (operator>>): try a new version of the operator>>
556 2002-04-14 Herbert Voss <voss@perce.de>
558 * lstrings.[Ch]: move the getVectorFromString and the vice versa
559 from frontends/controllers/helper_funcs for better use in other
562 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
564 * tempname.C (make_tempfile): simplify the #ifdef block by using
565 #if defined and re-write the #warning as a #error because it's terminal.
567 2002-04-08 Herbert Voss <voss@perce.de>
569 * filetools.C (getExtFromContents): get tgif run
571 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
573 * filetools.C (getExtFromContents): re-format a little and remove
574 replicated "sgi" entry.
576 2002-04-07 Herbert Voss <voss@perce.de>
578 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
579 for the lyx-view in graphics (moved from ControlGraphics)
581 2002-04-07 Herbert Voss <voss@perce.de>
583 * filetools.C: fix bug for eps. scans now a whole line
585 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
587 * lyxstring.C (operator>>): use the better solution, this fixes a
588 "not able to read '\0'" bug.
590 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
592 * translator.h: add missing typename
594 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
596 * filetools.C (LibScriptSearch): new command. Searches for scripts
597 in lyx data directories.
598 (LibScriptSearch): try to use split() correctly.
600 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
602 * most files: ws cleanup
604 * Makefile.am: remove ld -r stuff
606 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
608 * Makefile.am (libsupport.la): special rules if partial linking
610 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
612 * forkedcontr.C: turn the timer off when their are no longer any
613 child processes running.
615 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
617 * forkedcall.h: docy fix
618 change SignalType second type to be const ref.
620 * forkedcall.C: doxy fix
622 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
624 * lyxsum.C: compilation fix
626 2002-03-02 Herbert Voss <voss@perce.de>
628 * filetools.C: fix bug for xbm format and added some more debug
631 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
633 * forkedcontr.h: make constructor public
635 * types.h: remove layout_type
637 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
639 * filetools.C (getExtFromContents): cleanup.
641 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
643 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
645 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
646 building outside of source tree.
648 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
651 * forkedcontr.[Ch]: new files. Asger's forked call controller is
652 re-born, with a working timer and a modified interface. The
653 startscript method is now passed a Signal rather than a pointer
654 to a callback function. This enables us to connect to the method of
655 a C++ class, if we so desire.
657 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
659 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
664 * nt_defines.h: moved from src/
666 2002-02-23 Herbert Voss <voss@perce.de>
668 * filetools.C: added more graphic formats
670 2002-02-18 Herbert Voss <voss@perce.de>
672 * filetools.C: (getExtFromContents) return the fileextension
673 if no format is detected.
675 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
677 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
678 as class SystemCall because one Systemcall instance represents a
679 single child process.
682 * Makefile.am: associated changes.
684 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
686 * syscall.C (Systemcalls): include <cstdlib>
688 2002-02-08 Herbert Voss <voss@perce.de>
690 * filetools.C: (getExtFromContents) adding Grace-format
693 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
696 * syssingleton.C: files removed.
698 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
699 uses it. Strip down the Systemcalls interface to make it brutally
700 obvious how unsophisticated it is.
702 2002-02-08 Herbert Voss <voss@perce.de>
704 * filetools.C: (getExtFromContents) adding TGIF-format
705 and return type "user" when no type is detected
707 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
709 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
711 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
713 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
715 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
717 * FileInfo.h: remove special cygwin code.
719 * filetools.C (do_popen): use os::read_mode().
721 * os_win32.C (read_mode):
722 * os_os2.C (read_mode):
723 * os_unix.C (read_mode): new method
725 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
726 Hentschel). This code should maybe be moved to os:: class.
728 2002-02-08 Herbert Voss <voss@perce.de>
730 * filetools.C: (unzipFile) fix typo
732 2002-02-06 Herbert Voss <voss@perce.de>
734 * filetools.[Ch]: fix some bugs for detecting zipped files
737 2002-02-04 Herbert Voss <voss@perce.de>
739 * filetools.[Ch]: add ifZippedFile() for zipped
742 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
744 * filetools.C (FileOpenSearch): remove duplicated line, probably
745 resulting from bad cut-and paste.
747 2002-01-31 Herbert Voss <voss@perce.de>
749 * filetools.[Ch]: add getExtFromContents(), which returns
750 the type of the (graphic) file
752 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
754 * copy.C (copy): open file in binary mode (for cygwin)
756 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
758 * lyxsum.C: remove #warnings and replaced them with runtime debug
761 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
763 * lyxalgo.h: include <algorithm>
765 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
767 * lyx_algo.h: add a standard-conforming count to namespace lyx.
769 * lstrings.[Ch] (countChar): removed. Use lyx::count.
771 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
773 * filetools.C: fix use of FileInfo
776 * FileInfo.C: add Asserts and documentation
778 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
780 * os_win32.C: compilation fixes
782 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
784 * lstrings.h: do not include <cctype>
786 2001-12-12 Ben Stanley <bds02@uow.edu.au>
788 * lyxsum.C: portability fix for mmap patch
790 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
794 * lyxstring.C: change "while(" to "while ("
796 2001-12-03 Ben Stanley <bds02@uow.edu.au>
798 * lyxsum.C: Added mmap version of CRC and made it selected
799 by default where available. Used process_block for crc for speedup.
801 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
803 * filetools.C: more robust failure for DirList()
805 2001-11-29 André Pönitz <poenitz@gmx.net>
807 * types.h: introduce types for textclass numbers and layout numbers
809 2001-11-28 André Pönitz <poenitz@gmx.net>
811 * Makefile.am: put types.h in
813 2001-11-26 André Pönitz <poenitz@gmx.net>
815 * types.h: introduce types for paragraph positions and layout numbers
817 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
819 * filetools.C: remove dead code
821 * syscall.C: show prog in fail case
823 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
825 * filetools.C: code style cleanup
827 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
829 * os.h: remove spurious punctuation.
831 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
834 * LAssert.C: use new emergencyCleanup()
836 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
838 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
839 like GNU gettext does.
841 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
843 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
845 (findtexfile): oops! the change from last friday was wrong...
847 * os_win32.C (is_absolute_path):
848 * os_unix.C (is_absolute_path):
849 * os_os2.C (is_absolute_path): new method
851 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
853 * filetools.C (findtexfile): apply os::internal_path to the result.
855 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
860 * os.h: add internal_path method, which converts a unix-type file
861 name to the type known to the underlying file system (currently
862 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
864 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
866 * smart_ptr.h: new file
868 * utility.h: new file
870 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
873 * filetools.C (IsDirWriteable): fix this
875 2001-07-26 Baruch Even <baruch@lyx.org>
877 * lyxlib.h (float_equal): Added function to compare floats almost equal
878 (see function comment).
880 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
882 Consistent use of Lsstream.h:
883 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
885 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
887 * translator.h: (*it). -> it->
889 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
891 * filetools.C (DeleteAllFilesInDir): send debug output to
892 Debug::FILES instewad of Debug::ANY.
894 * DebugStream.h: remove gcc 2.8.x hack.
896 2001-06-26 The LyX Project <jug@sad.it>
899 * lstrings.C (escape): move method to escape non ascii characters
900 from insets label and ref to here.
902 2001-06-25 The LyX Project <jug@sad.it>
904 * filetools.C (IsLyXFilename):
905 (IsSGMLFilename): do case insensitive name matching
907 2001-06-24 The LyX Project <jug@sad.it>
909 * lstrings.C (compare_ascii_no_case): version of compare_no_case
910 which only considers case of ascii characters
912 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
915 2001-06-23 The LyX Project <jug@sad.it>
917 * textutils.h (IsPrintable): take into account unprintable spaces
919 (IsDigit): new function
920 (IsLetterCharOrDigit): use IsDigit
922 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
924 * filetools.C (findtexfile): strip final \r if necessary (for
927 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
930 * StrPool.C: removed // -*- C++ -*- as first line.
932 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
934 * lyxsum.C (do_crc): switch to use boost::crc for generating the
937 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
942 * LSubstring.C: bring C functions in global namespace if
945 * lstrings.h (compare): use the std:: version of str[n]cmp only
948 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
950 * syscontr.C: add std::
952 * syscall.C: add std::
954 * lstrings.h (compare): add std::
956 * lstrings.C (prefixIs): add std::
960 * LSubstring.C (LSubstring): add std::
962 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
964 * lyxsum.C (sum): use istreambuf_iterator when available.
966 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
968 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
971 * lyxstring.C (operator): make const operator[] behave as
974 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
976 * Makefile.am (EXTRA_DIST): add the os_*.C files.
978 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
980 * filetools.C (MakeAbsPath): remove debugging statement
982 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
984 * FileInfo.h: X_OK workaround for cygwin
993 * filetools.h: Added os:: class.
997 * tempname.C: OS/2 fixes
999 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1001 * textutils.h: remvoe !NEW_INSETS cruft
1003 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1006 * atoi.C: add using directives when needed for C functions
1007 declared in std:: namespace.
1009 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1011 * lstrings.C : add two helper structs, local_lowercase and
1013 (lowercase): change to use std::transform
1014 (uppercase): change to use std::transform
1016 2001-04-25 Allan Rae <rae@lyx.org>
1018 * lyxstring.C : Assert got moved and Lars missed a few.
1020 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1022 * LAssert.h (Assert): put into namespace lyx
1024 * lyxfunctional.h: put into namespace lyx
1025 * translator.h: adjust
1027 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1029 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1031 * FileInfo.h: inherit privately from noncopyable
1034 2001-04-16 Allan Rae <rae@lyx.org>
1036 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1037 as an unrecognised preprocessor directive. So ensure they're wrapped.
1039 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1041 * several files: remove CXX_WORKING_NAMESPACES
1043 * FileInfo.h: noncopyable is in namespace boost
1046 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1048 * syscontr.h: fix header include
1050 2001-02-28 Baruch Even <baruch@ev-en.org>
1052 * filetools.C: Removed dependency on syscall.h
1055 * syscall.C: Minor cleanings before I start to touch this code.
1057 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1059 * filetools.C (CreateTmpDir): change umask to 0700.
1061 2001-02-27 José Matos <jamatos@fep.up.pt>
1063 * filetools.h (BasePath):
1064 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1066 * filetools.C (IsLyXFilename):
1067 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1070 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1074 * atoi.C: remove cruft
1076 2001-02-06 albert chin <china@thewrittenword.com>
1079 * fmt.C: use HAVE_DECL_SNPRINTF
1081 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1083 * lyxstring.C: Fix some assertions.
1085 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1087 * lstrings.C (strip): Add a fix for compilers with broken
1088 string::find_last_not_of.
1090 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1092 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1094 * lyxstring.C (rfind): Fix broken functions.
1095 (find): Few optimizations.