1 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * socktools.C: honor CXX_GLOBAL_CSTD
5 2003-10-16 André Pönitz <poenitz@gmx.net>
7 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
8 using static variables.
10 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
12 * socktools.[Ch]: New files. Wrapper around socket system calls.
14 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
16 * socktools.C (SUN_LEN): add this MACRO definition for platforms
17 that do not define it themselves.
19 2003-10-08 Angus Leeming <leeming@lyx.org>
21 * copied_ptr.h: get rid of the swap member function.
23 2003-10-08 Angus Leeming <leeming@lyx.org>
27 * debugstream.h: \file debugStream.h -> \file debugstream.h
29 * os.h: move comment so that doxygen is not confused.
31 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
33 * Makefile.am: fix typo.
35 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
37 * std_string.h: delete file
39 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
41 * lstrings.C: Small fixes to build using STLport
43 2003-09-29 Angus Leeming <leeming@lyx.org>
45 * filetools.C (ReplaceEnvironmentPath): make it work for both
46 ${HOME}/foo and $HOME/foo.
48 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
50 * debugstream.h: add file, updated version of the DebugStream
52 * DebugStream.C,DebugStream.h: delete files
54 2003-09-25 Angus Leeming <leeming@lyx.org>
56 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
57 * lstrings.[Ch]: (regexMatch): removed.
59 2003-09-25 Angus Leeming <leeming@lyx.org>
61 * translator.h (add): new member function.
63 2003-09-16 Angus Leeming <leeming@lyx.org>
65 * textutils.h: remove #include "paragraph.h". Remove functions
66 IsInsetChar and IsWordChar.
68 2003-09-15 Angus Leeming <leeming@lyx.org>
70 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
71 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
73 Use a memory_traits template parameter to create/destroy memory in a
76 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
80 * filetools.C: Remove usage of STRCONV
82 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
85 * std_string.h: modify to always work with std::string, but if
86 with-included-string then use it through namespace lyx. Remove
89 * lyxstring.[Ch]: remove files
91 2003-09-15 Angus Leeming <leeming@lyx.org>
93 * translator.h: add #include <boost/assert.hpp>, so that the
94 template is self-contained.
96 2003-09-11 Angus Leeming <leeming@lyx.org>
99 * copied_ptr.h: added to the repository. Maybe temporarily.
101 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
103 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
105 * several files: change Assert to BOOST_ASSERT
108 * LAssert.h: remove files
110 2003-09-08 Angus Leeming <leeming@lyx.org>
113 * filetools.C: tell the world where to find author contact details.
115 2003-09-08 Angus Leeming <leeming@lyx.org>
121 * lyxsum.C: remove redundant using directives.
123 2003-09-05 Angus Leeming <leeming@lyx.org>
125 * lstrings.C: small bformat fix
127 2003-09-05 Angus Leeming <leeming@lyx.org>
129 * std_istream.h: new file Just renaming of LIstream.h
130 * std_ostream.h: new file Just renaming of LIstream.h
131 * std_sstream.h: new file Just renaming of Lsstream.h
132 * std_string.h: new file Just renaming of LString.h
134 2003-09-05 Angus Leeming <leeming@lyx.org>
138 ensure that the header file can be compiled stand-alone.
140 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
142 * lstrings.[Ch] (bformat): add a variant taking two ints.
144 2003-09-04 Angus Leeming <leeming@lyx.org>
147 * filename.C: move #include "os.h" out of the header file.
149 2003-09-04 Angus Leeming <leeming@lyx.org>
151 * path.C (ctor, dtor): move out of line.
153 2003-09-03 Angus Leeming <leeming@lyx.org>
155 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
156 (mangledFilename): new function, returning a mangled version of the
157 absolute file name, suitable for use in the temp dir when, for example,
158 converting an image file to another format.
159 (isZipped, unzippedFilename): wrappers to global functions.
161 * filetools.[Ch] (copyFileToDir): removed.
162 (compare_timestamps): new function.
164 2003-09-03 Angus Leeming <leeming@lyx.org>
166 * translator.h: Assert is in namespace lyx::support...
168 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
170 * Makefile.am: do not install path_defines.C in includes
171 (COMPRESSION): mention gzstream.h here
173 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * path_defines.C.in (setLyxPaths): re-introduce the code to check
176 whether lyx is run in place
177 (build_dir): renamed from build_lyxdir
178 (build_lyxdir): give this better semantics compatible with what
179 LibFileSearch expects.
181 2003-07-29 Angus Leeming <leeming@lyx.org>
183 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
184 defaults to string() because MakeRelPath can accept that.
186 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
188 * Makefile.am: conditionalize USE_COMPRESSION.
190 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
192 * filetools.C (getExtFromContents): correct magic for gzip and
195 * path_defines.[Ch]: move lyx_localedir out of anon namespace
197 * gzstream.h: new fileq
199 * gzstream.C: new file
201 2003-07-27 Angus Leeming <leeming@lyx.org>
203 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
204 user_lyxdir): are now functions, not global vars.
206 * Makefile.am: set build_lyxdir at make time.
208 2003-07-27 Angus Leeming <leeming@lyx.org>
210 * path_defines.{h,C.in}: new files. Store/set the various lyx
211 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
214 * Makefile.am: add some magic to enable the user to set the path to
215 the system-level lyx support files, the top of the lyx build tree
216 and the system-level lyx locale directory at _make_ time rather
219 * .cvsignore: add path_defines.C.
221 2003-07-26 Angus Leeming <leeming@lyx.org>
223 * os.h: remove irrelevant discussion of system_tempdir.
225 2003-07-21 Angus Leeming <leeming@lyx.org>
227 * filename.[Ch]: new files implementing class FileName.
228 * Makefile.am: add filename.[Ch].
230 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
232 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
233 not allow it (at least not in this form.)
235 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
237 * os_win32.C: put namespace os in lyx::support.
239 * lstrings.C (bformat): call Assert from correct namespace.
241 * introduce namespace lyx::support
243 2003-06-30 André Pönitz <poenitz@gmx.net>
246 * lstrings.C: re-enable --with-included-string
248 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
250 * filetools.h: fix some \param issue
252 * boost-inst.C: fix \file
254 * LAssert.h: fix \file
256 2003-06-20 Angus Leeming <leeming@lyx.org>
258 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
260 2003-06-18 Angus Leeming <leeming@lyx.org>
262 * many files: add the standard blurb, "This file is part of LyX" etc
264 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
266 * limited_stack.h: make it have a const_iterator, add begin, and
269 2003-06-10 Angus Leeming <leeming@lyx.org>
271 * filetools.C (copyFileToDir): ensure that temp files have unique names.
273 2003-06-04 André Pönitz <poenitz@gmx.net>
275 * limited_stack.h (top): return reference instead of value
277 2003-06-02 Angus Leeming <leeming@lyx.org>
279 * filetools.[Ch] (copyFileToDir): new helper function.
281 * os.h: remove trailing semi-colon from end of namespace os block.
283 2003-06-01 Angus Leeming <leeming@lyx.org>
285 * filetools.h (LibScriptSearch): give the function a meaningful
286 description of what it now does.
288 2003-05-30 Angus Leeming <leeming@lyx.org>
290 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
291 this with the path to the script. If the script is not found, the "$$s/"
294 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
296 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
299 2003-05-19 André Pönitz <poenitz@gmx.net>
301 * lstrings.C: add missing implementation of three-arg bformat
303 * lstrings.C: change rest of char * fmt -> string const & fmt
306 2003-05-15 André Pönitz <poenitz@gmx.net>
308 * lstrings.[Ch]: use string const & instead of char const * for format
310 2003-05-12 André Pönitz <poenitz@gmx.net>
312 * tostr.[Ch]: add long int overload
314 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
316 * lstrings.[Ch]: compile fix
318 2003-05-12 André Pönitz <poenitz@gmx.net>
320 * lstrings.[Ch]: bformat() as wrapper around boost::format
322 * lyxstring.h: enable templatized constructor
324 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
326 * limited_stack.h: Change some comments, simplify a couple of
329 2003-02-21 André Pönitz <poenitz@gmx.net>
331 * limited_stack.h: change underlying container to deque to
332 make this re-usable in mathed
334 2003-04-08 John Levon <levon@movementarian.org>
336 * filetools.C: fix MakeDisplayPath() to not
339 2003-03-30 John Levon <levon@movementarian.org>
343 * boost-inst.C: moved from src/
345 2003-03-29 John Levon <levon@movementarian.org>
348 * filetools.C: never call Alert directly from here
350 2003-03-12 John Levon <levon@movementarian.org>
352 * textutils.h: remove META_NEWLINE
354 2003-02-27 Ling Li <ling@caltech.edu>
356 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
359 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
361 * forkedcontr.C (timer): remove bogus continue
363 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
365 * forkedcallqueue.[Ch]: added
367 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
369 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
370 Emiting the signal can result in an arbitrary change to the list.
372 2003-02-25 Angus Leeming <leeming@lyx.org>
374 * forkedcontr.C (timer): Use a while loop rather than for; makes it
375 easier to erase an element.
377 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
379 * forkedcontr.C (timer): don't start a running timer.
381 2003-02-21 André Pönitz <poenitz@gmx.net>
383 * filetools.C (PutEnv): removed (unused)
385 2003-02-17 John Levon <levon@movementarian.org>
388 * forkedcall.C: add running()
390 2003-02-08 John Levon <levon@movementarian.org>
394 * lyxtime.C: add typedef for time_t, add current_time
400 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
402 * filetools.C (getExtFromContents): remove detection of epsi
404 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
406 * several files: ws changes
408 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
410 * filetools.C (DirList): remove all ugly hacks and do it nice
412 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
414 * lyxsum.C: an ugly hack to compile with non-gnu linkers
416 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
418 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
419 a solution that he likes and which actually works.
421 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
423 * lstrings.h (tostr): STRCONV
425 * lstrings.C (regexMatch): STRCONV
426 (getVectorFromString): STRCONV, manual copy into vector
428 * filetools.C (GetFileContents): STRCONV
430 * os.C: include config.h
432 * lstrings.C (getVectorFromString): rewrite to use
435 2002-10-31 Angus Leeming <leeming@lyx.org>
437 * forkedcall.C (generateChild): clean it up further.
439 2002-10-25 Angus Leeming <leeming@lyx.org>
441 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
442 and a minimal ForkedCall daughter class.
444 * forkedcontr.[Ch]: minimal changes reflecting the use of a
445 ForkedProcess base class responsible for launching all child proceses.
447 2002-09-25 Angus Leeming <leeming@lyx.org>
450 * LOstream.h: doxygen fixes.
452 2002-09-24 Angus Leeming <leeming@lyx.org>
454 * most files: clean-up the license info.
456 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
458 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
460 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
462 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
463 since at least for Cygwin, the "rb" read_mode acceptable for
464 fopen() is illegal for popen(), whose mode argument *must* be "r"
467 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
470 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
472 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
475 * smart_ptr.h: remove file
478 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
480 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
481 class_fun and void_class_fun
483 2002-08-20 John Levon <levon@movementarian.org>
488 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
490 * textutils.h: formatting.
492 2002-08-08 John Levon <levon@movementarian.org>
494 * limited_stack.h: default to 100 not 10
496 2002-08-01 John Levon <levon@movementarian.org>
498 * forkedcall.C: more details on error
500 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
502 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
503 also add a trim function that is the equiv of
504 strip(frontStrip(...)), also reimplement the functions
505 (improvements still possible.)
507 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
508 * forkedcall.C (generateChild): ditto
512 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
514 * filetools.C (GetEnvPath): modify because of strip changes
515 (createDirectory): ditto
517 * lstrings.[Ch] (isStrInt): ditto
518 (isStrUnsignedInt): ditto
520 (strToUnsignedInt): ditto
522 (contains): removed unneeded version of contains
523 (containsOnly): removed uneeded versions of containsOnly
524 (strip, frontStrip): removed unneded versions, changed argument types.
526 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
528 * filetools.C (RunCommand): Made public
530 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
532 * limited_stack.h: fix comment, remove un-needed header
534 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
536 * lstrings.h: correct comments for token and tokenPos
538 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
540 * lyxstring.C (operator>>): replace code which works only with
541 _some_ versions of GNU STL with generic one
543 2002-07-18 Angus Leeming <leeming@lyx.org>
545 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
546 signal should it do so.
548 * Makefile.am: add FileMonitor.[Ch].
550 2002-07-18 André Pönitz <poenitz@gmx.net>
552 * filetools.C (LibScriptSearch): bug fix
554 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
556 * filetools.C (LyXReadLink): add bool 'resolve' to return link
557 contents as an absolute path
559 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
561 * filetools.C (IsLyXFilename):
562 (IsSGMLFilename): use ascii_lowercase instead of lowercase
564 * lstrings.[Ch] (ascii_lowercase): new function
566 2002-07-16 André Pönitz <poenitz@gmx.net>
568 * FileInfo.Ch: remove unneeded code
570 2002-06-20 Herbert Voss <voss@perce.de>
572 * filetools.[C] (readExtFromContents): add support for
575 2002-06-26 André Pönitz <poenitz@gmx.net>
577 * filetools.[Ch]: small whitespace, more compact 'return' statement
579 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
581 * lyxalgo.h: add eliminate_duplicates
583 2002-06-17 Herbert Voss <voss@perce.de>
585 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
586 (readBB_lyxerrMessage) to get better lyxerr messages
587 (getExtFromContents) test epsi files in the right way
589 * DestroxLyXTmpDir.C: changed to true, to delete the
590 temporary unzipped files, too.
592 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
594 * putenv.C (putenv): putenv should never be found in std::
596 * kill.C (kill): kill should never be found in std::
598 * filetools.C: pclose and popen should never be found in std::
600 2002-06-07 Angus Leeming <leeming@lyx.org>
602 Fixes needed to compile with Compaq cxx 6.5.
603 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
604 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
605 more than one instance of overloaded function "lyx::class_fun" matches
615 all c-library variables have been moved into namespace std.
616 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
618 * kill.C: rename signal.h as csignal.
620 * putenv.C: rename stdlib.h as cstdlib
622 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
624 * lxtl.h: remove unused file
626 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
633 * StrPool.C: remove unused files
643 * types.h: document and small cleanups
645 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
647 * switch from SigC signals to boost::signals.
649 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
652 * limited_stack.h: new template for limited-size
655 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
657 * filetools.C: do not include LSubstring.h
659 * lstrings.C: change include order
660 (regexMatch): use boost regex get rid of LRegex and LSubstring
662 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
665 * LSubstring.h: remove file
670 * LSubstring.C: ditto
672 2002-05-24 Juergen Vigna <jug@sad.it>
674 * lyxsum.C: include local includes first (self containment)
676 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
678 * forkedcall.h: use more specific smart_ptr header.
680 * lyxsum.C: move some using declarations around.
682 2002-05-03 Herbert Voss <voss@perce.de>
684 * filetools.C (getExtFromContents): only print the first 60 chars of
685 the scanned-string when debugging.
687 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
689 * lyxstring.C: close to typo fix.
691 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
693 * filetools.C: add a using std::getline directive.
695 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
697 * lyxstring.C (operator>>): try a new version of the operator>>
699 2002-04-14 Herbert Voss <voss@perce.de>
701 * lstrings.[Ch]: move the getVectorFromString and the vice versa
702 from frontends/controllers/helper_funcs for better use in other
705 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
707 * tempname.C (make_tempfile): simplify the #ifdef block by using
708 #if defined and re-write the #warning as a #error because it's terminal.
710 2002-04-08 Herbert Voss <voss@perce.de>
712 * filetools.C (getExtFromContents): get tgif run
714 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
716 * filetools.C (getExtFromContents): re-format a little and remove
717 replicated "sgi" entry.
719 2002-04-07 Herbert Voss <voss@perce.de>
721 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
722 for the lyx-view in graphics (moved from ControlGraphics)
724 2002-04-07 Herbert Voss <voss@perce.de>
726 * filetools.C: fix bug for eps. scans now a whole line
728 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
730 * lyxstring.C (operator>>): use the better solution, this fixes a
731 "not able to read '\0'" bug.
733 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
735 * translator.h: add missing typename
737 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
739 * filetools.C (LibScriptSearch): new command. Searches for scripts
740 in lyx data directories.
741 (LibScriptSearch): try to use split() correctly.
743 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
745 * most files: ws cleanup
747 * Makefile.am: remove ld -r stuff
749 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
751 * Makefile.am (libsupport.la): special rules if partial linking
753 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
755 * forkedcontr.C: turn the timer off when their are no longer any
756 child processes running.
758 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
760 * forkedcall.h: docy fix
761 change SignalType second type to be const ref.
763 * forkedcall.C: doxy fix
765 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
767 * lyxsum.C: compilation fix
769 2002-03-02 Herbert Voss <voss@perce.de>
771 * filetools.C: fix bug for xbm format and added some more debug
774 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
776 * forkedcontr.h: make constructor public
778 * types.h: remove layout_type
780 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
782 * filetools.C (getExtFromContents): cleanup.
784 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
786 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
788 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
789 building outside of source tree.
791 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
794 * forkedcontr.[Ch]: new files. Asger's forked call controller is
795 re-born, with a working timer and a modified interface. The
796 startscript method is now passed a Signal rather than a pointer
797 to a callback function. This enables us to connect to the method of
798 a C++ class, if we so desire.
800 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
802 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
807 * nt_defines.h: moved from src/
809 2002-02-23 Herbert Voss <voss@perce.de>
811 * filetools.C: added more graphic formats
813 2002-02-18 Herbert Voss <voss@perce.de>
815 * filetools.C: (getExtFromContents) return the fileextension
816 if no format is detected.
818 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
820 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
821 as class SystemCall because one Systemcall instance represents a
822 single child process.
825 * Makefile.am: associated changes.
827 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
829 * syscall.C (Systemcalls): include <cstdlib>
831 2002-02-08 Herbert Voss <voss@perce.de>
833 * filetools.C: (getExtFromContents) adding Grace-format
836 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
839 * syssingleton.C: files removed.
841 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
842 uses it. Strip down the Systemcalls interface to make it brutally
843 obvious how unsophisticated it is.
845 2002-02-08 Herbert Voss <voss@perce.de>
847 * filetools.C: (getExtFromContents) adding TGIF-format
848 and return type "user" when no type is detected
850 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
852 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
854 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
856 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
858 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
860 * FileInfo.h: remove special cygwin code.
862 * filetools.C (do_popen): use os::read_mode().
864 * os_win32.C (read_mode):
865 * os_os2.C (read_mode):
866 * os_unix.C (read_mode): new method
868 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
869 Hentschel). This code should maybe be moved to os:: class.
871 2002-02-08 Herbert Voss <voss@perce.de>
873 * filetools.C: (unzipFile) fix typo
875 2002-02-06 Herbert Voss <voss@perce.de>
877 * filetools.[Ch]: fix some bugs for detecting zipped files
880 2002-02-04 Herbert Voss <voss@perce.de>
882 * filetools.[Ch]: add ifZippedFile() for zipped
885 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
887 * filetools.C (FileOpenSearch): remove duplicated line, probably
888 resulting from bad cut-and paste.
890 2002-01-31 Herbert Voss <voss@perce.de>
892 * filetools.[Ch]: add getExtFromContents(), which returns
893 the type of the (graphic) file
895 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
897 * copy.C (copy): open file in binary mode (for cygwin)
899 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
901 * lyxsum.C: remove #warnings and replaced them with runtime debug
904 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
906 * lyxalgo.h: include <algorithm>
908 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
910 * lyx_algo.h: add a standard-conforming count to namespace lyx.
912 * lstrings.[Ch] (countChar): removed. Use lyx::count.
914 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
916 * filetools.C: fix use of FileInfo
919 * FileInfo.C: add Asserts and documentation
921 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
923 * os_win32.C: compilation fixes
925 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
927 * lstrings.h: do not include <cctype>
929 2001-12-12 Ben Stanley <bds02@uow.edu.au>
931 * lyxsum.C: portability fix for mmap patch
933 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
937 * lyxstring.C: change "while(" to "while ("
939 2001-12-03 Ben Stanley <bds02@uow.edu.au>
941 * lyxsum.C: Added mmap version of CRC and made it selected
942 by default where available. Used process_block for crc for speedup.
944 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
946 * filetools.C: more robust failure for DirList()
948 2001-11-29 André Pönitz <poenitz@gmx.net>
950 * types.h: introduce types for textclass numbers and layout numbers
952 2001-11-28 André Pönitz <poenitz@gmx.net>
954 * Makefile.am: put types.h in
956 2001-11-26 André Pönitz <poenitz@gmx.net>
958 * types.h: introduce types for paragraph positions and layout numbers
960 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
962 * filetools.C: remove dead code
964 * syscall.C: show prog in fail case
966 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
968 * filetools.C: code style cleanup
970 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
972 * os.h: remove spurious punctuation.
974 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
977 * LAssert.C: use new emergencyCleanup()
979 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
981 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
982 like GNU gettext does.
984 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
986 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
988 (findtexfile): oops! the change from last friday was wrong...
990 * os_win32.C (is_absolute_path):
991 * os_unix.C (is_absolute_path):
992 * os_os2.C (is_absolute_path): new method
994 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
996 * filetools.C (findtexfile): apply os::internal_path to the result.
998 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1003 * os.h: add internal_path method, which converts a unix-type file
1004 name to the type known to the underlying file system (currently
1005 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1007 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1009 * smart_ptr.h: new file
1011 * utility.h: new file
1013 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1016 * filetools.C (IsDirWriteable): fix this
1018 2001-07-26 Baruch Even <baruch@lyx.org>
1020 * lyxlib.h (float_equal): Added function to compare floats almost equal
1021 (see function comment).
1023 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1025 Consistent use of Lsstream.h:
1026 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1028 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1030 * translator.h: (*it). -> it->
1032 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1034 * filetools.C (DeleteAllFilesInDir): send debug output to
1035 Debug::FILES instewad of Debug::ANY.
1037 * DebugStream.h: remove gcc 2.8.x hack.
1039 2001-06-26 The LyX Project <jug@sad.it>
1042 * lstrings.C (escape): move method to escape non ascii characters
1043 from insets label and ref to here.
1045 2001-06-25 The LyX Project <jug@sad.it>
1047 * filetools.C (IsLyXFilename):
1048 (IsSGMLFilename): do case insensitive name matching
1050 2001-06-24 The LyX Project <jug@sad.it>
1052 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1053 which only considers case of ascii characters
1055 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1058 2001-06-23 The LyX Project <jug@sad.it>
1060 * textutils.h (IsPrintable): take into account unprintable spaces
1062 (IsDigit): new function
1063 (IsLetterCharOrDigit): use IsDigit
1065 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1067 * filetools.C (findtexfile): strip final \r if necessary (for
1070 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1073 * StrPool.C: removed // -*- C++ -*- as first line.
1075 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1077 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1080 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1085 * LSubstring.C: bring C functions in global namespace if
1088 * lstrings.h (compare): use the std:: version of str[n]cmp only
1091 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1093 * syscontr.C: add std::
1095 * syscall.C: add std::
1097 * lstrings.h (compare): add std::
1099 * lstrings.C (prefixIs): add std::
1103 * LSubstring.C (LSubstring): add std::
1105 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1107 * lyxsum.C (sum): use istreambuf_iterator when available.
1109 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1111 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1114 * lyxstring.C (operator): make const operator[] behave as
1117 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1119 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1121 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1123 * filetools.C (MakeAbsPath): remove debugging statement
1125 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1127 * FileInfo.h: X_OK workaround for cygwin
1136 * filetools.h: Added os:: class.
1140 * tempname.C: OS/2 fixes
1142 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1144 * textutils.h: remvoe !NEW_INSETS cruft
1146 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1149 * atoi.C: add using directives when needed for C functions
1150 declared in std:: namespace.
1152 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1154 * lstrings.C : add two helper structs, local_lowercase and
1156 (lowercase): change to use std::transform
1157 (uppercase): change to use std::transform
1159 2001-04-25 Allan Rae <rae@lyx.org>
1161 * lyxstring.C : Assert got moved and Lars missed a few.
1163 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1165 * LAssert.h (Assert): put into namespace lyx
1167 * lyxfunctional.h: put into namespace lyx
1168 * translator.h: adjust
1170 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1172 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1174 * FileInfo.h: inherit privately from noncopyable
1177 2001-04-16 Allan Rae <rae@lyx.org>
1179 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1180 as an unrecognised preprocessor directive. So ensure they're wrapped.
1182 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1184 * several files: remove CXX_WORKING_NAMESPACES
1186 * FileInfo.h: noncopyable is in namespace boost
1189 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1191 * syscontr.h: fix header include
1193 2001-02-28 Baruch Even <baruch@ev-en.org>
1195 * filetools.C: Removed dependency on syscall.h
1198 * syscall.C: Minor cleanings before I start to touch this code.
1200 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1202 * filetools.C (CreateTmpDir): change umask to 0700.
1204 2001-02-27 José Matos <jamatos@fep.up.pt>
1206 * filetools.h (BasePath):
1207 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1209 * filetools.C (IsLyXFilename):
1210 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1213 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1217 * atoi.C: remove cruft
1219 2001-02-06 albert chin <china@thewrittenword.com>
1222 * fmt.C: use HAVE_DECL_SNPRINTF
1224 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1226 * lyxstring.C: Fix some assertions.
1228 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1230 * lstrings.C (strip): Add a fix for compilers with broken
1231 string::find_last_not_of.
1233 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1235 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1237 * lyxstring.C (rfind): Fix broken functions.
1238 (find): Few optimizations.