1 2004-01-06 Angus Leeming <leeming@lyx.org>
3 * globbing.C (glob): compilation fix for cygwin.
5 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
7 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
9 * BoostFormat.h: delete file
10 * boost-inst.C: delete fil
12 * lstrings.C: include boost/format.hpp
14 2004-01-05 Angus Leeming <leeming@lyx.org>
16 * globbing.[Ch]: new files containing some globbing utilities.
18 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
20 * putenv.C: allocate the string before putting it into the
25 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
27 * tempname.C (tempName): use scoped_array for exception safety
29 * os_os2.C (init): use scoped_array for exception safety
31 * getcwd.C (getcwd): use scoped_array for exception safety
33 * forkedcontr.C (addCall): adjust
35 * forkedcall.h: make clone return a auto_ptr
37 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
39 * debugstream.h: add a default constructor that does not setup a
42 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
44 * socktools.C: honor CXX_GLOBAL_CSTD
46 2003-10-16 André Pönitz <poenitz@gmx.net>
48 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
49 using static variables.
51 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
53 * socktools.[Ch]: New files. Wrapper around socket system calls.
55 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
57 * socktools.C (SUN_LEN): add this MACRO definition for platforms
58 that do not define it themselves.
60 2003-10-08 Angus Leeming <leeming@lyx.org>
62 * copied_ptr.h: get rid of the swap member function.
64 2003-10-08 Angus Leeming <leeming@lyx.org>
68 * debugstream.h: \file debugStream.h -> \file debugstream.h
70 * os.h: move comment so that doxygen is not confused.
72 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
74 * Makefile.am: fix typo.
76 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
78 * std_string.h: delete file
80 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
82 * lstrings.C: Small fixes to build using STLport
84 2003-09-29 Angus Leeming <leeming@lyx.org>
86 * filetools.C (ReplaceEnvironmentPath): make it work for both
87 ${HOME}/foo and $HOME/foo.
89 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
91 * debugstream.h: add file, updated version of the DebugStream
93 * DebugStream.C,DebugStream.h: delete files
95 2003-09-25 Angus Leeming <leeming@lyx.org>
97 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
98 * lstrings.[Ch]: (regexMatch): removed.
100 2003-09-25 Angus Leeming <leeming@lyx.org>
102 * translator.h (add): new member function.
104 2003-09-16 Angus Leeming <leeming@lyx.org>
106 * textutils.h: remove #include "paragraph.h". Remove functions
107 IsInsetChar and IsWordChar.
109 2003-09-15 Angus Leeming <leeming@lyx.org>
111 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
112 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
113 his book as ValuePtr.
114 Use a memory_traits template parameter to create/destroy memory in a
117 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
121 * filetools.C: Remove usage of STRCONV
123 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
126 * std_string.h: modify to always work with std::string, but if
127 with-included-string then use it through namespace lyx. Remove
130 * lyxstring.[Ch]: remove files
132 2003-09-15 Angus Leeming <leeming@lyx.org>
134 * translator.h: add #include <boost/assert.hpp>, so that the
135 template is self-contained.
137 2003-09-11 Angus Leeming <leeming@lyx.org>
140 * copied_ptr.h: added to the repository. Maybe temporarily.
142 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
144 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
146 * several files: change Assert to BOOST_ASSERT
149 * LAssert.h: remove files
151 2003-09-08 Angus Leeming <leeming@lyx.org>
154 * filetools.C: tell the world where to find author contact details.
156 2003-09-08 Angus Leeming <leeming@lyx.org>
162 * lyxsum.C: remove redundant using directives.
164 2003-09-05 Angus Leeming <leeming@lyx.org>
166 * lstrings.C: small bformat fix
168 2003-09-05 Angus Leeming <leeming@lyx.org>
170 * std_istream.h: new file Just renaming of LIstream.h
171 * std_ostream.h: new file Just renaming of LIstream.h
172 * std_sstream.h: new file Just renaming of Lsstream.h
173 * std_string.h: new file Just renaming of LString.h
175 2003-09-05 Angus Leeming <leeming@lyx.org>
179 ensure that the header file can be compiled stand-alone.
181 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
183 * lstrings.[Ch] (bformat): add a variant taking two ints.
185 2003-09-04 Angus Leeming <leeming@lyx.org>
188 * filename.C: move #include "os.h" out of the header file.
190 2003-09-04 Angus Leeming <leeming@lyx.org>
192 * path.C (ctor, dtor): move out of line.
194 2003-09-03 Angus Leeming <leeming@lyx.org>
196 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
197 (mangledFilename): new function, returning a mangled version of the
198 absolute file name, suitable for use in the temp dir when, for example,
199 converting an image file to another format.
200 (isZipped, unzippedFilename): wrappers to global functions.
202 * filetools.[Ch] (copyFileToDir): removed.
203 (compare_timestamps): new function.
205 2003-09-03 Angus Leeming <leeming@lyx.org>
207 * translator.h: Assert is in namespace lyx::support...
209 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
211 * Makefile.am: do not install path_defines.C in includes
212 (COMPRESSION): mention gzstream.h here
214 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * path_defines.C.in (setLyxPaths): re-introduce the code to check
217 whether lyx is run in place
218 (build_dir): renamed from build_lyxdir
219 (build_lyxdir): give this better semantics compatible with what
220 LibFileSearch expects.
222 2003-07-29 Angus Leeming <leeming@lyx.org>
224 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
225 defaults to string() because MakeRelPath can accept that.
227 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
229 * Makefile.am: conditionalize USE_COMPRESSION.
231 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
233 * filetools.C (getExtFromContents): correct magic for gzip and
236 * path_defines.[Ch]: move lyx_localedir out of anon namespace
238 * gzstream.h: new fileq
240 * gzstream.C: new file
242 2003-07-27 Angus Leeming <leeming@lyx.org>
244 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
245 user_lyxdir): are now functions, not global vars.
247 * Makefile.am: set build_lyxdir at make time.
249 2003-07-27 Angus Leeming <leeming@lyx.org>
251 * path_defines.{h,C.in}: new files. Store/set the various lyx
252 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
255 * Makefile.am: add some magic to enable the user to set the path to
256 the system-level lyx support files, the top of the lyx build tree
257 and the system-level lyx locale directory at _make_ time rather
260 * .cvsignore: add path_defines.C.
262 2003-07-26 Angus Leeming <leeming@lyx.org>
264 * os.h: remove irrelevant discussion of system_tempdir.
266 2003-07-21 Angus Leeming <leeming@lyx.org>
268 * filename.[Ch]: new files implementing class FileName.
269 * Makefile.am: add filename.[Ch].
271 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
273 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
274 not allow it (at least not in this form.)
276 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
278 * os_win32.C: put namespace os in lyx::support.
280 * lstrings.C (bformat): call Assert from correct namespace.
282 * introduce namespace lyx::support
284 2003-06-30 André Pönitz <poenitz@gmx.net>
287 * lstrings.C: re-enable --with-included-string
289 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
291 * filetools.h: fix some \param issue
293 * boost-inst.C: fix \file
295 * LAssert.h: fix \file
297 2003-06-20 Angus Leeming <leeming@lyx.org>
299 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
301 2003-06-18 Angus Leeming <leeming@lyx.org>
303 * many files: add the standard blurb, "This file is part of LyX" etc
305 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
307 * limited_stack.h: make it have a const_iterator, add begin, and
310 2003-06-10 Angus Leeming <leeming@lyx.org>
312 * filetools.C (copyFileToDir): ensure that temp files have unique names.
314 2003-06-04 André Pönitz <poenitz@gmx.net>
316 * limited_stack.h (top): return reference instead of value
318 2003-06-02 Angus Leeming <leeming@lyx.org>
320 * filetools.[Ch] (copyFileToDir): new helper function.
322 * os.h: remove trailing semi-colon from end of namespace os block.
324 2003-06-01 Angus Leeming <leeming@lyx.org>
326 * filetools.h (LibScriptSearch): give the function a meaningful
327 description of what it now does.
329 2003-05-30 Angus Leeming <leeming@lyx.org>
331 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
332 this with the path to the script. If the script is not found, the "$$s/"
335 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
337 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
340 2003-05-19 André Pönitz <poenitz@gmx.net>
342 * lstrings.C: add missing implementation of three-arg bformat
344 * lstrings.C: change rest of char * fmt -> string const & fmt
347 2003-05-15 André Pönitz <poenitz@gmx.net>
349 * lstrings.[Ch]: use string const & instead of char const * for format
351 2003-05-12 André Pönitz <poenitz@gmx.net>
353 * tostr.[Ch]: add long int overload
355 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
357 * lstrings.[Ch]: compile fix
359 2003-05-12 André Pönitz <poenitz@gmx.net>
361 * lstrings.[Ch]: bformat() as wrapper around boost::format
363 * lyxstring.h: enable templatized constructor
365 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
367 * limited_stack.h: Change some comments, simplify a couple of
370 2003-02-21 André Pönitz <poenitz@gmx.net>
372 * limited_stack.h: change underlying container to deque to
373 make this re-usable in mathed
375 2003-04-08 John Levon <levon@movementarian.org>
377 * filetools.C: fix MakeDisplayPath() to not
380 2003-03-30 John Levon <levon@movementarian.org>
384 * boost-inst.C: moved from src/
386 2003-03-29 John Levon <levon@movementarian.org>
389 * filetools.C: never call Alert directly from here
391 2003-03-12 John Levon <levon@movementarian.org>
393 * textutils.h: remove META_NEWLINE
395 2003-02-27 Ling Li <ling@caltech.edu>
397 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
400 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
402 * forkedcontr.C (timer): remove bogus continue
404 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
406 * forkedcallqueue.[Ch]: added
408 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
410 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
411 Emiting the signal can result in an arbitrary change to the list.
413 2003-02-25 Angus Leeming <leeming@lyx.org>
415 * forkedcontr.C (timer): Use a while loop rather than for; makes it
416 easier to erase an element.
418 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
420 * forkedcontr.C (timer): don't start a running timer.
422 2003-02-21 André Pönitz <poenitz@gmx.net>
424 * filetools.C (PutEnv): removed (unused)
426 2003-02-17 John Levon <levon@movementarian.org>
429 * forkedcall.C: add running()
431 2003-02-08 John Levon <levon@movementarian.org>
435 * lyxtime.C: add typedef for time_t, add current_time
441 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
443 * filetools.C (getExtFromContents): remove detection of epsi
445 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
447 * several files: ws changes
449 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
451 * filetools.C (DirList): remove all ugly hacks and do it nice
453 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
455 * lyxsum.C: an ugly hack to compile with non-gnu linkers
457 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
459 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
460 a solution that he likes and which actually works.
462 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
464 * lstrings.h (tostr): STRCONV
466 * lstrings.C (regexMatch): STRCONV
467 (getVectorFromString): STRCONV, manual copy into vector
469 * filetools.C (GetFileContents): STRCONV
471 * os.C: include config.h
473 * lstrings.C (getVectorFromString): rewrite to use
476 2002-10-31 Angus Leeming <leeming@lyx.org>
478 * forkedcall.C (generateChild): clean it up further.
480 2002-10-25 Angus Leeming <leeming@lyx.org>
482 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
483 and a minimal ForkedCall daughter class.
485 * forkedcontr.[Ch]: minimal changes reflecting the use of a
486 ForkedProcess base class responsible for launching all child proceses.
488 2002-09-25 Angus Leeming <leeming@lyx.org>
491 * LOstream.h: doxygen fixes.
493 2002-09-24 Angus Leeming <leeming@lyx.org>
495 * most files: clean-up the license info.
497 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
499 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
501 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
503 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
504 since at least for Cygwin, the "rb" read_mode acceptable for
505 fopen() is illegal for popen(), whose mode argument *must* be "r"
508 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
511 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
513 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
516 * smart_ptr.h: remove file
519 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
521 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
522 class_fun and void_class_fun
524 2002-08-20 John Levon <levon@movementarian.org>
529 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
531 * textutils.h: formatting.
533 2002-08-08 John Levon <levon@movementarian.org>
535 * limited_stack.h: default to 100 not 10
537 2002-08-01 John Levon <levon@movementarian.org>
539 * forkedcall.C: more details on error
541 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
543 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
544 also add a trim function that is the equiv of
545 strip(frontStrip(...)), also reimplement the functions
546 (improvements still possible.)
548 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
549 * forkedcall.C (generateChild): ditto
553 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
555 * filetools.C (GetEnvPath): modify because of strip changes
556 (createDirectory): ditto
558 * lstrings.[Ch] (isStrInt): ditto
559 (isStrUnsignedInt): ditto
561 (strToUnsignedInt): ditto
563 (contains): removed unneeded version of contains
564 (containsOnly): removed uneeded versions of containsOnly
565 (strip, frontStrip): removed unneded versions, changed argument types.
567 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
569 * filetools.C (RunCommand): Made public
571 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
573 * limited_stack.h: fix comment, remove un-needed header
575 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
577 * lstrings.h: correct comments for token and tokenPos
579 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
581 * lyxstring.C (operator>>): replace code which works only with
582 _some_ versions of GNU STL with generic one
584 2002-07-18 Angus Leeming <leeming@lyx.org>
586 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
587 signal should it do so.
589 * Makefile.am: add FileMonitor.[Ch].
591 2002-07-18 André Pönitz <poenitz@gmx.net>
593 * filetools.C (LibScriptSearch): bug fix
595 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
597 * filetools.C (LyXReadLink): add bool 'resolve' to return link
598 contents as an absolute path
600 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
602 * filetools.C (IsLyXFilename):
603 (IsSGMLFilename): use ascii_lowercase instead of lowercase
605 * lstrings.[Ch] (ascii_lowercase): new function
607 2002-07-16 André Pönitz <poenitz@gmx.net>
609 * FileInfo.Ch: remove unneeded code
611 2002-06-20 Herbert Voss <voss@perce.de>
613 * filetools.[C] (readExtFromContents): add support for
616 2002-06-26 André Pönitz <poenitz@gmx.net>
618 * filetools.[Ch]: small whitespace, more compact 'return' statement
620 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
622 * lyxalgo.h: add eliminate_duplicates
624 2002-06-17 Herbert Voss <voss@perce.de>
626 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
627 (readBB_lyxerrMessage) to get better lyxerr messages
628 (getExtFromContents) test epsi files in the right way
630 * DestroxLyXTmpDir.C: changed to true, to delete the
631 temporary unzipped files, too.
633 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
635 * putenv.C (putenv): putenv should never be found in std::
637 * kill.C (kill): kill should never be found in std::
639 * filetools.C: pclose and popen should never be found in std::
641 2002-06-07 Angus Leeming <leeming@lyx.org>
643 Fixes needed to compile with Compaq cxx 6.5.
644 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
645 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
646 more than one instance of overloaded function "lyx::class_fun" matches
656 all c-library variables have been moved into namespace std.
657 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
659 * kill.C: rename signal.h as csignal.
661 * putenv.C: rename stdlib.h as cstdlib
663 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
665 * lxtl.h: remove unused file
667 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
674 * StrPool.C: remove unused files
684 * types.h: document and small cleanups
686 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
688 * switch from SigC signals to boost::signals.
690 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
693 * limited_stack.h: new template for limited-size
696 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
698 * filetools.C: do not include LSubstring.h
700 * lstrings.C: change include order
701 (regexMatch): use boost regex get rid of LRegex and LSubstring
703 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
706 * LSubstring.h: remove file
711 * LSubstring.C: ditto
713 2002-05-24 Juergen Vigna <jug@sad.it>
715 * lyxsum.C: include local includes first (self containment)
717 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
719 * forkedcall.h: use more specific smart_ptr header.
721 * lyxsum.C: move some using declarations around.
723 2002-05-03 Herbert Voss <voss@perce.de>
725 * filetools.C (getExtFromContents): only print the first 60 chars of
726 the scanned-string when debugging.
728 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
730 * lyxstring.C: close to typo fix.
732 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
734 * filetools.C: add a using std::getline directive.
736 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
738 * lyxstring.C (operator>>): try a new version of the operator>>
740 2002-04-14 Herbert Voss <voss@perce.de>
742 * lstrings.[Ch]: move the getVectorFromString and the vice versa
743 from frontends/controllers/helper_funcs for better use in other
746 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
748 * tempname.C (make_tempfile): simplify the #ifdef block by using
749 #if defined and re-write the #warning as a #error because it's terminal.
751 2002-04-08 Herbert Voss <voss@perce.de>
753 * filetools.C (getExtFromContents): get tgif run
755 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
757 * filetools.C (getExtFromContents): re-format a little and remove
758 replicated "sgi" entry.
760 2002-04-07 Herbert Voss <voss@perce.de>
762 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
763 for the lyx-view in graphics (moved from ControlGraphics)
765 2002-04-07 Herbert Voss <voss@perce.de>
767 * filetools.C: fix bug for eps. scans now a whole line
769 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
771 * lyxstring.C (operator>>): use the better solution, this fixes a
772 "not able to read '\0'" bug.
774 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
776 * translator.h: add missing typename
778 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
780 * filetools.C (LibScriptSearch): new command. Searches for scripts
781 in lyx data directories.
782 (LibScriptSearch): try to use split() correctly.
784 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
786 * most files: ws cleanup
788 * Makefile.am: remove ld -r stuff
790 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
792 * Makefile.am (libsupport.la): special rules if partial linking
794 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
796 * forkedcontr.C: turn the timer off when their are no longer any
797 child processes running.
799 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
801 * forkedcall.h: docy fix
802 change SignalType second type to be const ref.
804 * forkedcall.C: doxy fix
806 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
808 * lyxsum.C: compilation fix
810 2002-03-02 Herbert Voss <voss@perce.de>
812 * filetools.C: fix bug for xbm format and added some more debug
815 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
817 * forkedcontr.h: make constructor public
819 * types.h: remove layout_type
821 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
823 * filetools.C (getExtFromContents): cleanup.
825 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
827 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
829 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
830 building outside of source tree.
832 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
835 * forkedcontr.[Ch]: new files. Asger's forked call controller is
836 re-born, with a working timer and a modified interface. The
837 startscript method is now passed a Signal rather than a pointer
838 to a callback function. This enables us to connect to the method of
839 a C++ class, if we so desire.
841 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
843 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
848 * nt_defines.h: moved from src/
850 2002-02-23 Herbert Voss <voss@perce.de>
852 * filetools.C: added more graphic formats
854 2002-02-18 Herbert Voss <voss@perce.de>
856 * filetools.C: (getExtFromContents) return the fileextension
857 if no format is detected.
859 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
861 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
862 as class SystemCall because one Systemcall instance represents a
863 single child process.
866 * Makefile.am: associated changes.
868 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
870 * syscall.C (Systemcalls): include <cstdlib>
872 2002-02-08 Herbert Voss <voss@perce.de>
874 * filetools.C: (getExtFromContents) adding Grace-format
877 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
880 * syssingleton.C: files removed.
882 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
883 uses it. Strip down the Systemcalls interface to make it brutally
884 obvious how unsophisticated it is.
886 2002-02-08 Herbert Voss <voss@perce.de>
888 * filetools.C: (getExtFromContents) adding TGIF-format
889 and return type "user" when no type is detected
891 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
893 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
895 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
897 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
899 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
901 * FileInfo.h: remove special cygwin code.
903 * filetools.C (do_popen): use os::read_mode().
905 * os_win32.C (read_mode):
906 * os_os2.C (read_mode):
907 * os_unix.C (read_mode): new method
909 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
910 Hentschel). This code should maybe be moved to os:: class.
912 2002-02-08 Herbert Voss <voss@perce.de>
914 * filetools.C: (unzipFile) fix typo
916 2002-02-06 Herbert Voss <voss@perce.de>
918 * filetools.[Ch]: fix some bugs for detecting zipped files
921 2002-02-04 Herbert Voss <voss@perce.de>
923 * filetools.[Ch]: add ifZippedFile() for zipped
926 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
928 * filetools.C (FileOpenSearch): remove duplicated line, probably
929 resulting from bad cut-and paste.
931 2002-01-31 Herbert Voss <voss@perce.de>
933 * filetools.[Ch]: add getExtFromContents(), which returns
934 the type of the (graphic) file
936 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
938 * copy.C (copy): open file in binary mode (for cygwin)
940 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
942 * lyxsum.C: remove #warnings and replaced them with runtime debug
945 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
947 * lyxalgo.h: include <algorithm>
949 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
951 * lyx_algo.h: add a standard-conforming count to namespace lyx.
953 * lstrings.[Ch] (countChar): removed. Use lyx::count.
955 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
957 * filetools.C: fix use of FileInfo
960 * FileInfo.C: add Asserts and documentation
962 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
964 * os_win32.C: compilation fixes
966 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
968 * lstrings.h: do not include <cctype>
970 2001-12-12 Ben Stanley <bds02@uow.edu.au>
972 * lyxsum.C: portability fix for mmap patch
974 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
978 * lyxstring.C: change "while(" to "while ("
980 2001-12-03 Ben Stanley <bds02@uow.edu.au>
982 * lyxsum.C: Added mmap version of CRC and made it selected
983 by default where available. Used process_block for crc for speedup.
985 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
987 * filetools.C: more robust failure for DirList()
989 2001-11-29 André Pönitz <poenitz@gmx.net>
991 * types.h: introduce types for textclass numbers and layout numbers
993 2001-11-28 André Pönitz <poenitz@gmx.net>
995 * Makefile.am: put types.h in
997 2001-11-26 André Pönitz <poenitz@gmx.net>
999 * types.h: introduce types for paragraph positions and layout numbers
1001 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1003 * filetools.C: remove dead code
1005 * syscall.C: show prog in fail case
1007 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1009 * filetools.C: code style cleanup
1011 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1013 * os.h: remove spurious punctuation.
1015 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1018 * LAssert.C: use new emergencyCleanup()
1020 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1022 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1023 like GNU gettext does.
1025 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1027 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1029 (findtexfile): oops! the change from last friday was wrong...
1031 * os_win32.C (is_absolute_path):
1032 * os_unix.C (is_absolute_path):
1033 * os_os2.C (is_absolute_path): new method
1035 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1037 * filetools.C (findtexfile): apply os::internal_path to the result.
1039 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1044 * os.h: add internal_path method, which converts a unix-type file
1045 name to the type known to the underlying file system (currently
1046 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1048 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1050 * smart_ptr.h: new file
1052 * utility.h: new file
1054 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1057 * filetools.C (IsDirWriteable): fix this
1059 2001-07-26 Baruch Even <baruch@lyx.org>
1061 * lyxlib.h (float_equal): Added function to compare floats almost equal
1062 (see function comment).
1064 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1066 Consistent use of Lsstream.h:
1067 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1069 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1071 * translator.h: (*it). -> it->
1073 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1075 * filetools.C (DeleteAllFilesInDir): send debug output to
1076 Debug::FILES instewad of Debug::ANY.
1078 * DebugStream.h: remove gcc 2.8.x hack.
1080 2001-06-26 The LyX Project <jug@sad.it>
1083 * lstrings.C (escape): move method to escape non ascii characters
1084 from insets label and ref to here.
1086 2001-06-25 The LyX Project <jug@sad.it>
1088 * filetools.C (IsLyXFilename):
1089 (IsSGMLFilename): do case insensitive name matching
1091 2001-06-24 The LyX Project <jug@sad.it>
1093 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1094 which only considers case of ascii characters
1096 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1099 2001-06-23 The LyX Project <jug@sad.it>
1101 * textutils.h (IsPrintable): take into account unprintable spaces
1103 (IsDigit): new function
1104 (IsLetterCharOrDigit): use IsDigit
1106 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1108 * filetools.C (findtexfile): strip final \r if necessary (for
1111 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1114 * StrPool.C: removed // -*- C++ -*- as first line.
1116 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1118 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1121 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1126 * LSubstring.C: bring C functions in global namespace if
1129 * lstrings.h (compare): use the std:: version of str[n]cmp only
1132 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1134 * syscontr.C: add std::
1136 * syscall.C: add std::
1138 * lstrings.h (compare): add std::
1140 * lstrings.C (prefixIs): add std::
1144 * LSubstring.C (LSubstring): add std::
1146 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1148 * lyxsum.C (sum): use istreambuf_iterator when available.
1150 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1152 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1155 * lyxstring.C (operator): make const operator[] behave as
1158 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1160 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1162 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1164 * filetools.C (MakeAbsPath): remove debugging statement
1166 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1168 * FileInfo.h: X_OK workaround for cygwin
1177 * filetools.h: Added os:: class.
1181 * tempname.C: OS/2 fixes
1183 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1185 * textutils.h: remvoe !NEW_INSETS cruft
1187 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1190 * atoi.C: add using directives when needed for C functions
1191 declared in std:: namespace.
1193 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1195 * lstrings.C : add two helper structs, local_lowercase and
1197 (lowercase): change to use std::transform
1198 (uppercase): change to use std::transform
1200 2001-04-25 Allan Rae <rae@lyx.org>
1202 * lyxstring.C : Assert got moved and Lars missed a few.
1204 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1206 * LAssert.h (Assert): put into namespace lyx
1208 * lyxfunctional.h: put into namespace lyx
1209 * translator.h: adjust
1211 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1213 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1215 * FileInfo.h: inherit privately from noncopyable
1218 2001-04-16 Allan Rae <rae@lyx.org>
1220 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1221 as an unrecognised preprocessor directive. So ensure they're wrapped.
1223 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1225 * several files: remove CXX_WORKING_NAMESPACES
1227 * FileInfo.h: noncopyable is in namespace boost
1230 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1232 * syscontr.h: fix header include
1234 2001-02-28 Baruch Even <baruch@ev-en.org>
1236 * filetools.C: Removed dependency on syscall.h
1239 * syscall.C: Minor cleanings before I start to touch this code.
1241 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1243 * filetools.C (CreateTmpDir): change umask to 0700.
1245 2001-02-27 José Matos <jamatos@fep.up.pt>
1247 * filetools.h (BasePath):
1248 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1250 * filetools.C (IsLyXFilename):
1251 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1254 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1258 * atoi.C: remove cruft
1260 2001-02-06 albert chin <china@thewrittenword.com>
1263 * fmt.C: use HAVE_DECL_SNPRINTF
1265 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1267 * lyxstring.C: Fix some assertions.
1269 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1271 * lstrings.C (strip): Add a fix for compilers with broken
1272 string::find_last_not_of.
1274 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1276 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1278 * lyxstring.C (rfind): Fix broken functions.
1279 (find): Few optimizations.