1 2004-01-05 Angus Leeming <leeming@lyx.org>
3 * globbing.[Ch]: new files containing some globbing utilities.
5 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
7 * putenv.C: allocate the string before putting it into the
12 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
14 * tempname.C (tempName): use scoped_array for exception safety
16 * os_os2.C (init): use scoped_array for exception safety
18 * getcwd.C (getcwd): use scoped_array for exception safety
20 * forkedcontr.C (addCall): adjust
22 * forkedcall.h: make clone return a auto_ptr
24 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
26 * debugstream.h: add a default constructor that does not setup a
29 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * socktools.C: honor CXX_GLOBAL_CSTD
33 2003-10-16 André Pönitz <poenitz@gmx.net>
35 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
36 using static variables.
38 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
40 * socktools.[Ch]: New files. Wrapper around socket system calls.
42 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
44 * socktools.C (SUN_LEN): add this MACRO definition for platforms
45 that do not define it themselves.
47 2003-10-08 Angus Leeming <leeming@lyx.org>
49 * copied_ptr.h: get rid of the swap member function.
51 2003-10-08 Angus Leeming <leeming@lyx.org>
55 * debugstream.h: \file debugStream.h -> \file debugstream.h
57 * os.h: move comment so that doxygen is not confused.
59 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
61 * Makefile.am: fix typo.
63 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
65 * std_string.h: delete file
67 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
69 * lstrings.C: Small fixes to build using STLport
71 2003-09-29 Angus Leeming <leeming@lyx.org>
73 * filetools.C (ReplaceEnvironmentPath): make it work for both
74 ${HOME}/foo and $HOME/foo.
76 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
78 * debugstream.h: add file, updated version of the DebugStream
80 * DebugStream.C,DebugStream.h: delete files
82 2003-09-25 Angus Leeming <leeming@lyx.org>
84 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
85 * lstrings.[Ch]: (regexMatch): removed.
87 2003-09-25 Angus Leeming <leeming@lyx.org>
89 * translator.h (add): new member function.
91 2003-09-16 Angus Leeming <leeming@lyx.org>
93 * textutils.h: remove #include "paragraph.h". Remove functions
94 IsInsetChar and IsWordChar.
96 2003-09-15 Angus Leeming <leeming@lyx.org>
98 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
99 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
100 his book as ValuePtr.
101 Use a memory_traits template parameter to create/destroy memory in a
104 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
108 * filetools.C: Remove usage of STRCONV
110 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
113 * std_string.h: modify to always work with std::string, but if
114 with-included-string then use it through namespace lyx. Remove
117 * lyxstring.[Ch]: remove files
119 2003-09-15 Angus Leeming <leeming@lyx.org>
121 * translator.h: add #include <boost/assert.hpp>, so that the
122 template is self-contained.
124 2003-09-11 Angus Leeming <leeming@lyx.org>
127 * copied_ptr.h: added to the repository. Maybe temporarily.
129 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
131 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
133 * several files: change Assert to BOOST_ASSERT
136 * LAssert.h: remove files
138 2003-09-08 Angus Leeming <leeming@lyx.org>
141 * filetools.C: tell the world where to find author contact details.
143 2003-09-08 Angus Leeming <leeming@lyx.org>
149 * lyxsum.C: remove redundant using directives.
151 2003-09-05 Angus Leeming <leeming@lyx.org>
153 * lstrings.C: small bformat fix
155 2003-09-05 Angus Leeming <leeming@lyx.org>
157 * std_istream.h: new file Just renaming of LIstream.h
158 * std_ostream.h: new file Just renaming of LIstream.h
159 * std_sstream.h: new file Just renaming of Lsstream.h
160 * std_string.h: new file Just renaming of LString.h
162 2003-09-05 Angus Leeming <leeming@lyx.org>
166 ensure that the header file can be compiled stand-alone.
168 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
170 * lstrings.[Ch] (bformat): add a variant taking two ints.
172 2003-09-04 Angus Leeming <leeming@lyx.org>
175 * filename.C: move #include "os.h" out of the header file.
177 2003-09-04 Angus Leeming <leeming@lyx.org>
179 * path.C (ctor, dtor): move out of line.
181 2003-09-03 Angus Leeming <leeming@lyx.org>
183 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
184 (mangledFilename): new function, returning a mangled version of the
185 absolute file name, suitable for use in the temp dir when, for example,
186 converting an image file to another format.
187 (isZipped, unzippedFilename): wrappers to global functions.
189 * filetools.[Ch] (copyFileToDir): removed.
190 (compare_timestamps): new function.
192 2003-09-03 Angus Leeming <leeming@lyx.org>
194 * translator.h: Assert is in namespace lyx::support...
196 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
198 * Makefile.am: do not install path_defines.C in includes
199 (COMPRESSION): mention gzstream.h here
201 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
203 * path_defines.C.in (setLyxPaths): re-introduce the code to check
204 whether lyx is run in place
205 (build_dir): renamed from build_lyxdir
206 (build_lyxdir): give this better semantics compatible with what
207 LibFileSearch expects.
209 2003-07-29 Angus Leeming <leeming@lyx.org>
211 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
212 defaults to string() because MakeRelPath can accept that.
214 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
216 * Makefile.am: conditionalize USE_COMPRESSION.
218 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
220 * filetools.C (getExtFromContents): correct magic for gzip and
223 * path_defines.[Ch]: move lyx_localedir out of anon namespace
225 * gzstream.h: new fileq
227 * gzstream.C: new file
229 2003-07-27 Angus Leeming <leeming@lyx.org>
231 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
232 user_lyxdir): are now functions, not global vars.
234 * Makefile.am: set build_lyxdir at make time.
236 2003-07-27 Angus Leeming <leeming@lyx.org>
238 * path_defines.{h,C.in}: new files. Store/set the various lyx
239 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
242 * Makefile.am: add some magic to enable the user to set the path to
243 the system-level lyx support files, the top of the lyx build tree
244 and the system-level lyx locale directory at _make_ time rather
247 * .cvsignore: add path_defines.C.
249 2003-07-26 Angus Leeming <leeming@lyx.org>
251 * os.h: remove irrelevant discussion of system_tempdir.
253 2003-07-21 Angus Leeming <leeming@lyx.org>
255 * filename.[Ch]: new files implementing class FileName.
256 * Makefile.am: add filename.[Ch].
258 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
260 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
261 not allow it (at least not in this form.)
263 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
265 * os_win32.C: put namespace os in lyx::support.
267 * lstrings.C (bformat): call Assert from correct namespace.
269 * introduce namespace lyx::support
271 2003-06-30 André Pönitz <poenitz@gmx.net>
274 * lstrings.C: re-enable --with-included-string
276 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
278 * filetools.h: fix some \param issue
280 * boost-inst.C: fix \file
282 * LAssert.h: fix \file
284 2003-06-20 Angus Leeming <leeming@lyx.org>
286 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
288 2003-06-18 Angus Leeming <leeming@lyx.org>
290 * many files: add the standard blurb, "This file is part of LyX" etc
292 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
294 * limited_stack.h: make it have a const_iterator, add begin, and
297 2003-06-10 Angus Leeming <leeming@lyx.org>
299 * filetools.C (copyFileToDir): ensure that temp files have unique names.
301 2003-06-04 André Pönitz <poenitz@gmx.net>
303 * limited_stack.h (top): return reference instead of value
305 2003-06-02 Angus Leeming <leeming@lyx.org>
307 * filetools.[Ch] (copyFileToDir): new helper function.
309 * os.h: remove trailing semi-colon from end of namespace os block.
311 2003-06-01 Angus Leeming <leeming@lyx.org>
313 * filetools.h (LibScriptSearch): give the function a meaningful
314 description of what it now does.
316 2003-05-30 Angus Leeming <leeming@lyx.org>
318 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
319 this with the path to the script. If the script is not found, the "$$s/"
322 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
324 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
327 2003-05-19 André Pönitz <poenitz@gmx.net>
329 * lstrings.C: add missing implementation of three-arg bformat
331 * lstrings.C: change rest of char * fmt -> string const & fmt
334 2003-05-15 André Pönitz <poenitz@gmx.net>
336 * lstrings.[Ch]: use string const & instead of char const * for format
338 2003-05-12 André Pönitz <poenitz@gmx.net>
340 * tostr.[Ch]: add long int overload
342 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
344 * lstrings.[Ch]: compile fix
346 2003-05-12 André Pönitz <poenitz@gmx.net>
348 * lstrings.[Ch]: bformat() as wrapper around boost::format
350 * lyxstring.h: enable templatized constructor
352 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
354 * limited_stack.h: Change some comments, simplify a couple of
357 2003-02-21 André Pönitz <poenitz@gmx.net>
359 * limited_stack.h: change underlying container to deque to
360 make this re-usable in mathed
362 2003-04-08 John Levon <levon@movementarian.org>
364 * filetools.C: fix MakeDisplayPath() to not
367 2003-03-30 John Levon <levon@movementarian.org>
371 * boost-inst.C: moved from src/
373 2003-03-29 John Levon <levon@movementarian.org>
376 * filetools.C: never call Alert directly from here
378 2003-03-12 John Levon <levon@movementarian.org>
380 * textutils.h: remove META_NEWLINE
382 2003-02-27 Ling Li <ling@caltech.edu>
384 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
387 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
389 * forkedcontr.C (timer): remove bogus continue
391 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
393 * forkedcallqueue.[Ch]: added
395 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
397 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
398 Emiting the signal can result in an arbitrary change to the list.
400 2003-02-25 Angus Leeming <leeming@lyx.org>
402 * forkedcontr.C (timer): Use a while loop rather than for; makes it
403 easier to erase an element.
405 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
407 * forkedcontr.C (timer): don't start a running timer.
409 2003-02-21 André Pönitz <poenitz@gmx.net>
411 * filetools.C (PutEnv): removed (unused)
413 2003-02-17 John Levon <levon@movementarian.org>
416 * forkedcall.C: add running()
418 2003-02-08 John Levon <levon@movementarian.org>
422 * lyxtime.C: add typedef for time_t, add current_time
428 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
430 * filetools.C (getExtFromContents): remove detection of epsi
432 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
434 * several files: ws changes
436 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
438 * filetools.C (DirList): remove all ugly hacks and do it nice
440 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
442 * lyxsum.C: an ugly hack to compile with non-gnu linkers
444 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
446 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
447 a solution that he likes and which actually works.
449 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
451 * lstrings.h (tostr): STRCONV
453 * lstrings.C (regexMatch): STRCONV
454 (getVectorFromString): STRCONV, manual copy into vector
456 * filetools.C (GetFileContents): STRCONV
458 * os.C: include config.h
460 * lstrings.C (getVectorFromString): rewrite to use
463 2002-10-31 Angus Leeming <leeming@lyx.org>
465 * forkedcall.C (generateChild): clean it up further.
467 2002-10-25 Angus Leeming <leeming@lyx.org>
469 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
470 and a minimal ForkedCall daughter class.
472 * forkedcontr.[Ch]: minimal changes reflecting the use of a
473 ForkedProcess base class responsible for launching all child proceses.
475 2002-09-25 Angus Leeming <leeming@lyx.org>
478 * LOstream.h: doxygen fixes.
480 2002-09-24 Angus Leeming <leeming@lyx.org>
482 * most files: clean-up the license info.
484 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
486 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
488 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
490 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
491 since at least for Cygwin, the "rb" read_mode acceptable for
492 fopen() is illegal for popen(), whose mode argument *must* be "r"
495 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
498 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
500 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
503 * smart_ptr.h: remove file
506 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
508 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
509 class_fun and void_class_fun
511 2002-08-20 John Levon <levon@movementarian.org>
516 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
518 * textutils.h: formatting.
520 2002-08-08 John Levon <levon@movementarian.org>
522 * limited_stack.h: default to 100 not 10
524 2002-08-01 John Levon <levon@movementarian.org>
526 * forkedcall.C: more details on error
528 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
530 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
531 also add a trim function that is the equiv of
532 strip(frontStrip(...)), also reimplement the functions
533 (improvements still possible.)
535 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
536 * forkedcall.C (generateChild): ditto
540 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
542 * filetools.C (GetEnvPath): modify because of strip changes
543 (createDirectory): ditto
545 * lstrings.[Ch] (isStrInt): ditto
546 (isStrUnsignedInt): ditto
548 (strToUnsignedInt): ditto
550 (contains): removed unneeded version of contains
551 (containsOnly): removed uneeded versions of containsOnly
552 (strip, frontStrip): removed unneded versions, changed argument types.
554 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
556 * filetools.C (RunCommand): Made public
558 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
560 * limited_stack.h: fix comment, remove un-needed header
562 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
564 * lstrings.h: correct comments for token and tokenPos
566 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
568 * lyxstring.C (operator>>): replace code which works only with
569 _some_ versions of GNU STL with generic one
571 2002-07-18 Angus Leeming <leeming@lyx.org>
573 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
574 signal should it do so.
576 * Makefile.am: add FileMonitor.[Ch].
578 2002-07-18 André Pönitz <poenitz@gmx.net>
580 * filetools.C (LibScriptSearch): bug fix
582 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
584 * filetools.C (LyXReadLink): add bool 'resolve' to return link
585 contents as an absolute path
587 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
589 * filetools.C (IsLyXFilename):
590 (IsSGMLFilename): use ascii_lowercase instead of lowercase
592 * lstrings.[Ch] (ascii_lowercase): new function
594 2002-07-16 André Pönitz <poenitz@gmx.net>
596 * FileInfo.Ch: remove unneeded code
598 2002-06-20 Herbert Voss <voss@perce.de>
600 * filetools.[C] (readExtFromContents): add support for
603 2002-06-26 André Pönitz <poenitz@gmx.net>
605 * filetools.[Ch]: small whitespace, more compact 'return' statement
607 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
609 * lyxalgo.h: add eliminate_duplicates
611 2002-06-17 Herbert Voss <voss@perce.de>
613 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
614 (readBB_lyxerrMessage) to get better lyxerr messages
615 (getExtFromContents) test epsi files in the right way
617 * DestroxLyXTmpDir.C: changed to true, to delete the
618 temporary unzipped files, too.
620 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
622 * putenv.C (putenv): putenv should never be found in std::
624 * kill.C (kill): kill should never be found in std::
626 * filetools.C: pclose and popen should never be found in std::
628 2002-06-07 Angus Leeming <leeming@lyx.org>
630 Fixes needed to compile with Compaq cxx 6.5.
631 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
632 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
633 more than one instance of overloaded function "lyx::class_fun" matches
643 all c-library variables have been moved into namespace std.
644 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
646 * kill.C: rename signal.h as csignal.
648 * putenv.C: rename stdlib.h as cstdlib
650 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
652 * lxtl.h: remove unused file
654 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
661 * StrPool.C: remove unused files
671 * types.h: document and small cleanups
673 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
675 * switch from SigC signals to boost::signals.
677 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
680 * limited_stack.h: new template for limited-size
683 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
685 * filetools.C: do not include LSubstring.h
687 * lstrings.C: change include order
688 (regexMatch): use boost regex get rid of LRegex and LSubstring
690 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
693 * LSubstring.h: remove file
698 * LSubstring.C: ditto
700 2002-05-24 Juergen Vigna <jug@sad.it>
702 * lyxsum.C: include local includes first (self containment)
704 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
706 * forkedcall.h: use more specific smart_ptr header.
708 * lyxsum.C: move some using declarations around.
710 2002-05-03 Herbert Voss <voss@perce.de>
712 * filetools.C (getExtFromContents): only print the first 60 chars of
713 the scanned-string when debugging.
715 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
717 * lyxstring.C: close to typo fix.
719 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
721 * filetools.C: add a using std::getline directive.
723 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
725 * lyxstring.C (operator>>): try a new version of the operator>>
727 2002-04-14 Herbert Voss <voss@perce.de>
729 * lstrings.[Ch]: move the getVectorFromString and the vice versa
730 from frontends/controllers/helper_funcs for better use in other
733 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
735 * tempname.C (make_tempfile): simplify the #ifdef block by using
736 #if defined and re-write the #warning as a #error because it's terminal.
738 2002-04-08 Herbert Voss <voss@perce.de>
740 * filetools.C (getExtFromContents): get tgif run
742 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
744 * filetools.C (getExtFromContents): re-format a little and remove
745 replicated "sgi" entry.
747 2002-04-07 Herbert Voss <voss@perce.de>
749 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
750 for the lyx-view in graphics (moved from ControlGraphics)
752 2002-04-07 Herbert Voss <voss@perce.de>
754 * filetools.C: fix bug for eps. scans now a whole line
756 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
758 * lyxstring.C (operator>>): use the better solution, this fixes a
759 "not able to read '\0'" bug.
761 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
763 * translator.h: add missing typename
765 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
767 * filetools.C (LibScriptSearch): new command. Searches for scripts
768 in lyx data directories.
769 (LibScriptSearch): try to use split() correctly.
771 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
773 * most files: ws cleanup
775 * Makefile.am: remove ld -r stuff
777 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
779 * Makefile.am (libsupport.la): special rules if partial linking
781 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
783 * forkedcontr.C: turn the timer off when their are no longer any
784 child processes running.
786 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
788 * forkedcall.h: docy fix
789 change SignalType second type to be const ref.
791 * forkedcall.C: doxy fix
793 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
795 * lyxsum.C: compilation fix
797 2002-03-02 Herbert Voss <voss@perce.de>
799 * filetools.C: fix bug for xbm format and added some more debug
802 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
804 * forkedcontr.h: make constructor public
806 * types.h: remove layout_type
808 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
810 * filetools.C (getExtFromContents): cleanup.
812 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
814 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
816 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
817 building outside of source tree.
819 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
822 * forkedcontr.[Ch]: new files. Asger's forked call controller is
823 re-born, with a working timer and a modified interface. The
824 startscript method is now passed a Signal rather than a pointer
825 to a callback function. This enables us to connect to the method of
826 a C++ class, if we so desire.
828 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
830 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
835 * nt_defines.h: moved from src/
837 2002-02-23 Herbert Voss <voss@perce.de>
839 * filetools.C: added more graphic formats
841 2002-02-18 Herbert Voss <voss@perce.de>
843 * filetools.C: (getExtFromContents) return the fileextension
844 if no format is detected.
846 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
848 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
849 as class SystemCall because one Systemcall instance represents a
850 single child process.
853 * Makefile.am: associated changes.
855 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
857 * syscall.C (Systemcalls): include <cstdlib>
859 2002-02-08 Herbert Voss <voss@perce.de>
861 * filetools.C: (getExtFromContents) adding Grace-format
864 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
867 * syssingleton.C: files removed.
869 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
870 uses it. Strip down the Systemcalls interface to make it brutally
871 obvious how unsophisticated it is.
873 2002-02-08 Herbert Voss <voss@perce.de>
875 * filetools.C: (getExtFromContents) adding TGIF-format
876 and return type "user" when no type is detected
878 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
880 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
882 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
884 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
886 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
888 * FileInfo.h: remove special cygwin code.
890 * filetools.C (do_popen): use os::read_mode().
892 * os_win32.C (read_mode):
893 * os_os2.C (read_mode):
894 * os_unix.C (read_mode): new method
896 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
897 Hentschel). This code should maybe be moved to os:: class.
899 2002-02-08 Herbert Voss <voss@perce.de>
901 * filetools.C: (unzipFile) fix typo
903 2002-02-06 Herbert Voss <voss@perce.de>
905 * filetools.[Ch]: fix some bugs for detecting zipped files
908 2002-02-04 Herbert Voss <voss@perce.de>
910 * filetools.[Ch]: add ifZippedFile() for zipped
913 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
915 * filetools.C (FileOpenSearch): remove duplicated line, probably
916 resulting from bad cut-and paste.
918 2002-01-31 Herbert Voss <voss@perce.de>
920 * filetools.[Ch]: add getExtFromContents(), which returns
921 the type of the (graphic) file
923 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
925 * copy.C (copy): open file in binary mode (for cygwin)
927 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
929 * lyxsum.C: remove #warnings and replaced them with runtime debug
932 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
934 * lyxalgo.h: include <algorithm>
936 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
938 * lyx_algo.h: add a standard-conforming count to namespace lyx.
940 * lstrings.[Ch] (countChar): removed. Use lyx::count.
942 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
944 * filetools.C: fix use of FileInfo
947 * FileInfo.C: add Asserts and documentation
949 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
951 * os_win32.C: compilation fixes
953 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
955 * lstrings.h: do not include <cctype>
957 2001-12-12 Ben Stanley <bds02@uow.edu.au>
959 * lyxsum.C: portability fix for mmap patch
961 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
965 * lyxstring.C: change "while(" to "while ("
967 2001-12-03 Ben Stanley <bds02@uow.edu.au>
969 * lyxsum.C: Added mmap version of CRC and made it selected
970 by default where available. Used process_block for crc for speedup.
972 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
974 * filetools.C: more robust failure for DirList()
976 2001-11-29 André Pönitz <poenitz@gmx.net>
978 * types.h: introduce types for textclass numbers and layout numbers
980 2001-11-28 André Pönitz <poenitz@gmx.net>
982 * Makefile.am: put types.h in
984 2001-11-26 André Pönitz <poenitz@gmx.net>
986 * types.h: introduce types for paragraph positions and layout numbers
988 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
990 * filetools.C: remove dead code
992 * syscall.C: show prog in fail case
994 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
996 * filetools.C: code style cleanup
998 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1000 * os.h: remove spurious punctuation.
1002 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1005 * LAssert.C: use new emergencyCleanup()
1007 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1009 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1010 like GNU gettext does.
1012 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1014 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1016 (findtexfile): oops! the change from last friday was wrong...
1018 * os_win32.C (is_absolute_path):
1019 * os_unix.C (is_absolute_path):
1020 * os_os2.C (is_absolute_path): new method
1022 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1024 * filetools.C (findtexfile): apply os::internal_path to the result.
1026 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1031 * os.h: add internal_path method, which converts a unix-type file
1032 name to the type known to the underlying file system (currently
1033 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1035 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1037 * smart_ptr.h: new file
1039 * utility.h: new file
1041 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1044 * filetools.C (IsDirWriteable): fix this
1046 2001-07-26 Baruch Even <baruch@lyx.org>
1048 * lyxlib.h (float_equal): Added function to compare floats almost equal
1049 (see function comment).
1051 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1053 Consistent use of Lsstream.h:
1054 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1056 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1058 * translator.h: (*it). -> it->
1060 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1062 * filetools.C (DeleteAllFilesInDir): send debug output to
1063 Debug::FILES instewad of Debug::ANY.
1065 * DebugStream.h: remove gcc 2.8.x hack.
1067 2001-06-26 The LyX Project <jug@sad.it>
1070 * lstrings.C (escape): move method to escape non ascii characters
1071 from insets label and ref to here.
1073 2001-06-25 The LyX Project <jug@sad.it>
1075 * filetools.C (IsLyXFilename):
1076 (IsSGMLFilename): do case insensitive name matching
1078 2001-06-24 The LyX Project <jug@sad.it>
1080 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1081 which only considers case of ascii characters
1083 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1086 2001-06-23 The LyX Project <jug@sad.it>
1088 * textutils.h (IsPrintable): take into account unprintable spaces
1090 (IsDigit): new function
1091 (IsLetterCharOrDigit): use IsDigit
1093 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1095 * filetools.C (findtexfile): strip final \r if necessary (for
1098 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1101 * StrPool.C: removed // -*- C++ -*- as first line.
1103 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1105 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1108 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1113 * LSubstring.C: bring C functions in global namespace if
1116 * lstrings.h (compare): use the std:: version of str[n]cmp only
1119 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1121 * syscontr.C: add std::
1123 * syscall.C: add std::
1125 * lstrings.h (compare): add std::
1127 * lstrings.C (prefixIs): add std::
1131 * LSubstring.C (LSubstring): add std::
1133 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1135 * lyxsum.C (sum): use istreambuf_iterator when available.
1137 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1139 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1142 * lyxstring.C (operator): make const operator[] behave as
1145 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1147 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1149 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1151 * filetools.C (MakeAbsPath): remove debugging statement
1153 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1155 * FileInfo.h: X_OK workaround for cygwin
1164 * filetools.h: Added os:: class.
1168 * tempname.C: OS/2 fixes
1170 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1172 * textutils.h: remvoe !NEW_INSETS cruft
1174 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1177 * atoi.C: add using directives when needed for C functions
1178 declared in std:: namespace.
1180 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1182 * lstrings.C : add two helper structs, local_lowercase and
1184 (lowercase): change to use std::transform
1185 (uppercase): change to use std::transform
1187 2001-04-25 Allan Rae <rae@lyx.org>
1189 * lyxstring.C : Assert got moved and Lars missed a few.
1191 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1193 * LAssert.h (Assert): put into namespace lyx
1195 * lyxfunctional.h: put into namespace lyx
1196 * translator.h: adjust
1198 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1200 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1202 * FileInfo.h: inherit privately from noncopyable
1205 2001-04-16 Allan Rae <rae@lyx.org>
1207 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1208 as an unrecognised preprocessor directive. So ensure they're wrapped.
1210 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1212 * several files: remove CXX_WORKING_NAMESPACES
1214 * FileInfo.h: noncopyable is in namespace boost
1217 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1219 * syscontr.h: fix header include
1221 2001-02-28 Baruch Even <baruch@ev-en.org>
1223 * filetools.C: Removed dependency on syscall.h
1226 * syscall.C: Minor cleanings before I start to touch this code.
1228 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1230 * filetools.C (CreateTmpDir): change umask to 0700.
1232 2001-02-27 José Matos <jamatos@fep.up.pt>
1234 * filetools.h (BasePath):
1235 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1237 * filetools.C (IsLyXFilename):
1238 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1241 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1245 * atoi.C: remove cruft
1247 2001-02-06 albert chin <china@thewrittenword.com>
1250 * fmt.C: use HAVE_DECL_SNPRINTF
1252 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1254 * lyxstring.C: Fix some assertions.
1256 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1258 * lstrings.C (strip): Add a fix for compilers with broken
1259 string::find_last_not_of.
1261 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1263 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1265 * lyxstring.C (rfind): Fix broken functions.
1266 (find): Few optimizations.