1 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * tempname.C (tempName): use scoped_array for exception safety
5 * os_os2.C (init): use scoped_array for exception safety
7 * getcwd.C (getcwd): use scoped_array for exception safety
9 * forkedcontr.C (addCall): adjust
11 * forkedcall.h: make clone return a auto_ptr
13 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
15 * debugstream.h: add a default constructor that does not setup a
18 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * socktools.C: honor CXX_GLOBAL_CSTD
22 2003-10-16 André Pönitz <poenitz@gmx.net>
24 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
25 using static variables.
27 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
29 * socktools.[Ch]: New files. Wrapper around socket system calls.
31 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
33 * socktools.C (SUN_LEN): add this MACRO definition for platforms
34 that do not define it themselves.
36 2003-10-08 Angus Leeming <leeming@lyx.org>
38 * copied_ptr.h: get rid of the swap member function.
40 2003-10-08 Angus Leeming <leeming@lyx.org>
44 * debugstream.h: \file debugStream.h -> \file debugstream.h
46 * os.h: move comment so that doxygen is not confused.
48 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
50 * Makefile.am: fix typo.
52 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
54 * std_string.h: delete file
56 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
58 * lstrings.C: Small fixes to build using STLport
60 2003-09-29 Angus Leeming <leeming@lyx.org>
62 * filetools.C (ReplaceEnvironmentPath): make it work for both
63 ${HOME}/foo and $HOME/foo.
65 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
67 * debugstream.h: add file, updated version of the DebugStream
69 * DebugStream.C,DebugStream.h: delete files
71 2003-09-25 Angus Leeming <leeming@lyx.org>
73 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
74 * lstrings.[Ch]: (regexMatch): removed.
76 2003-09-25 Angus Leeming <leeming@lyx.org>
78 * translator.h (add): new member function.
80 2003-09-16 Angus Leeming <leeming@lyx.org>
82 * textutils.h: remove #include "paragraph.h". Remove functions
83 IsInsetChar and IsWordChar.
85 2003-09-15 Angus Leeming <leeming@lyx.org>
87 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
88 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
90 Use a memory_traits template parameter to create/destroy memory in a
93 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
97 * filetools.C: Remove usage of STRCONV
99 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
102 * std_string.h: modify to always work with std::string, but if
103 with-included-string then use it through namespace lyx. Remove
106 * lyxstring.[Ch]: remove files
108 2003-09-15 Angus Leeming <leeming@lyx.org>
110 * translator.h: add #include <boost/assert.hpp>, so that the
111 template is self-contained.
113 2003-09-11 Angus Leeming <leeming@lyx.org>
116 * copied_ptr.h: added to the repository. Maybe temporarily.
118 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
120 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
122 * several files: change Assert to BOOST_ASSERT
125 * LAssert.h: remove files
127 2003-09-08 Angus Leeming <leeming@lyx.org>
130 * filetools.C: tell the world where to find author contact details.
132 2003-09-08 Angus Leeming <leeming@lyx.org>
138 * lyxsum.C: remove redundant using directives.
140 2003-09-05 Angus Leeming <leeming@lyx.org>
142 * lstrings.C: small bformat fix
144 2003-09-05 Angus Leeming <leeming@lyx.org>
146 * std_istream.h: new file Just renaming of LIstream.h
147 * std_ostream.h: new file Just renaming of LIstream.h
148 * std_sstream.h: new file Just renaming of Lsstream.h
149 * std_string.h: new file Just renaming of LString.h
151 2003-09-05 Angus Leeming <leeming@lyx.org>
155 ensure that the header file can be compiled stand-alone.
157 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
159 * lstrings.[Ch] (bformat): add a variant taking two ints.
161 2003-09-04 Angus Leeming <leeming@lyx.org>
164 * filename.C: move #include "os.h" out of the header file.
166 2003-09-04 Angus Leeming <leeming@lyx.org>
168 * path.C (ctor, dtor): move out of line.
170 2003-09-03 Angus Leeming <leeming@lyx.org>
172 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
173 (mangledFilename): new function, returning a mangled version of the
174 absolute file name, suitable for use in the temp dir when, for example,
175 converting an image file to another format.
176 (isZipped, unzippedFilename): wrappers to global functions.
178 * filetools.[Ch] (copyFileToDir): removed.
179 (compare_timestamps): new function.
181 2003-09-03 Angus Leeming <leeming@lyx.org>
183 * translator.h: Assert is in namespace lyx::support...
185 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
187 * Makefile.am: do not install path_defines.C in includes
188 (COMPRESSION): mention gzstream.h here
190 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
192 * path_defines.C.in (setLyxPaths): re-introduce the code to check
193 whether lyx is run in place
194 (build_dir): renamed from build_lyxdir
195 (build_lyxdir): give this better semantics compatible with what
196 LibFileSearch expects.
198 2003-07-29 Angus Leeming <leeming@lyx.org>
200 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
201 defaults to string() because MakeRelPath can accept that.
203 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
205 * Makefile.am: conditionalize USE_COMPRESSION.
207 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
209 * filetools.C (getExtFromContents): correct magic for gzip and
212 * path_defines.[Ch]: move lyx_localedir out of anon namespace
214 * gzstream.h: new fileq
216 * gzstream.C: new file
218 2003-07-27 Angus Leeming <leeming@lyx.org>
220 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
221 user_lyxdir): are now functions, not global vars.
223 * Makefile.am: set build_lyxdir at make time.
225 2003-07-27 Angus Leeming <leeming@lyx.org>
227 * path_defines.{h,C.in}: new files. Store/set the various lyx
228 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
231 * Makefile.am: add some magic to enable the user to set the path to
232 the system-level lyx support files, the top of the lyx build tree
233 and the system-level lyx locale directory at _make_ time rather
236 * .cvsignore: add path_defines.C.
238 2003-07-26 Angus Leeming <leeming@lyx.org>
240 * os.h: remove irrelevant discussion of system_tempdir.
242 2003-07-21 Angus Leeming <leeming@lyx.org>
244 * filename.[Ch]: new files implementing class FileName.
245 * Makefile.am: add filename.[Ch].
247 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
249 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
250 not allow it (at least not in this form.)
252 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
254 * os_win32.C: put namespace os in lyx::support.
256 * lstrings.C (bformat): call Assert from correct namespace.
258 * introduce namespace lyx::support
260 2003-06-30 André Pönitz <poenitz@gmx.net>
263 * lstrings.C: re-enable --with-included-string
265 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
267 * filetools.h: fix some \param issue
269 * boost-inst.C: fix \file
271 * LAssert.h: fix \file
273 2003-06-20 Angus Leeming <leeming@lyx.org>
275 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
277 2003-06-18 Angus Leeming <leeming@lyx.org>
279 * many files: add the standard blurb, "This file is part of LyX" etc
281 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
283 * limited_stack.h: make it have a const_iterator, add begin, and
286 2003-06-10 Angus Leeming <leeming@lyx.org>
288 * filetools.C (copyFileToDir): ensure that temp files have unique names.
290 2003-06-04 André Pönitz <poenitz@gmx.net>
292 * limited_stack.h (top): return reference instead of value
294 2003-06-02 Angus Leeming <leeming@lyx.org>
296 * filetools.[Ch] (copyFileToDir): new helper function.
298 * os.h: remove trailing semi-colon from end of namespace os block.
300 2003-06-01 Angus Leeming <leeming@lyx.org>
302 * filetools.h (LibScriptSearch): give the function a meaningful
303 description of what it now does.
305 2003-05-30 Angus Leeming <leeming@lyx.org>
307 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
308 this with the path to the script. If the script is not found, the "$$s/"
311 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
313 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
316 2003-05-19 André Pönitz <poenitz@gmx.net>
318 * lstrings.C: add missing implementation of three-arg bformat
320 * lstrings.C: change rest of char * fmt -> string const & fmt
323 2003-05-15 André Pönitz <poenitz@gmx.net>
325 * lstrings.[Ch]: use string const & instead of char const * for format
327 2003-05-12 André Pönitz <poenitz@gmx.net>
329 * tostr.[Ch]: add long int overload
331 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
333 * lstrings.[Ch]: compile fix
335 2003-05-12 André Pönitz <poenitz@gmx.net>
337 * lstrings.[Ch]: bformat() as wrapper around boost::format
339 * lyxstring.h: enable templatized constructor
341 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
343 * limited_stack.h: Change some comments, simplify a couple of
346 2003-02-21 André Pönitz <poenitz@gmx.net>
348 * limited_stack.h: change underlying container to deque to
349 make this re-usable in mathed
351 2003-04-08 John Levon <levon@movementarian.org>
353 * filetools.C: fix MakeDisplayPath() to not
356 2003-03-30 John Levon <levon@movementarian.org>
360 * boost-inst.C: moved from src/
362 2003-03-29 John Levon <levon@movementarian.org>
365 * filetools.C: never call Alert directly from here
367 2003-03-12 John Levon <levon@movementarian.org>
369 * textutils.h: remove META_NEWLINE
371 2003-02-27 Ling Li <ling@caltech.edu>
373 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
376 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
378 * forkedcontr.C (timer): remove bogus continue
380 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
382 * forkedcallqueue.[Ch]: added
384 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
386 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
387 Emiting the signal can result in an arbitrary change to the list.
389 2003-02-25 Angus Leeming <leeming@lyx.org>
391 * forkedcontr.C (timer): Use a while loop rather than for; makes it
392 easier to erase an element.
394 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
396 * forkedcontr.C (timer): don't start a running timer.
398 2003-02-21 André Pönitz <poenitz@gmx.net>
400 * filetools.C (PutEnv): removed (unused)
402 2003-02-17 John Levon <levon@movementarian.org>
405 * forkedcall.C: add running()
407 2003-02-08 John Levon <levon@movementarian.org>
411 * lyxtime.C: add typedef for time_t, add current_time
417 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
419 * filetools.C (getExtFromContents): remove detection of epsi
421 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
423 * several files: ws changes
425 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
427 * filetools.C (DirList): remove all ugly hacks and do it nice
429 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
431 * lyxsum.C: an ugly hack to compile with non-gnu linkers
433 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
435 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
436 a solution that he likes and which actually works.
438 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
440 * lstrings.h (tostr): STRCONV
442 * lstrings.C (regexMatch): STRCONV
443 (getVectorFromString): STRCONV, manual copy into vector
445 * filetools.C (GetFileContents): STRCONV
447 * os.C: include config.h
449 * lstrings.C (getVectorFromString): rewrite to use
452 2002-10-31 Angus Leeming <leeming@lyx.org>
454 * forkedcall.C (generateChild): clean it up further.
456 2002-10-25 Angus Leeming <leeming@lyx.org>
458 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
459 and a minimal ForkedCall daughter class.
461 * forkedcontr.[Ch]: minimal changes reflecting the use of a
462 ForkedProcess base class responsible for launching all child proceses.
464 2002-09-25 Angus Leeming <leeming@lyx.org>
467 * LOstream.h: doxygen fixes.
469 2002-09-24 Angus Leeming <leeming@lyx.org>
471 * most files: clean-up the license info.
473 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
475 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
477 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
479 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
480 since at least for Cygwin, the "rb" read_mode acceptable for
481 fopen() is illegal for popen(), whose mode argument *must* be "r"
484 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
487 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
489 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
492 * smart_ptr.h: remove file
495 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
497 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
498 class_fun and void_class_fun
500 2002-08-20 John Levon <levon@movementarian.org>
505 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
507 * textutils.h: formatting.
509 2002-08-08 John Levon <levon@movementarian.org>
511 * limited_stack.h: default to 100 not 10
513 2002-08-01 John Levon <levon@movementarian.org>
515 * forkedcall.C: more details on error
517 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
519 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
520 also add a trim function that is the equiv of
521 strip(frontStrip(...)), also reimplement the functions
522 (improvements still possible.)
524 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
525 * forkedcall.C (generateChild): ditto
529 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
531 * filetools.C (GetEnvPath): modify because of strip changes
532 (createDirectory): ditto
534 * lstrings.[Ch] (isStrInt): ditto
535 (isStrUnsignedInt): ditto
537 (strToUnsignedInt): ditto
539 (contains): removed unneeded version of contains
540 (containsOnly): removed uneeded versions of containsOnly
541 (strip, frontStrip): removed unneded versions, changed argument types.
543 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
545 * filetools.C (RunCommand): Made public
547 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
549 * limited_stack.h: fix comment, remove un-needed header
551 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
553 * lstrings.h: correct comments for token and tokenPos
555 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
557 * lyxstring.C (operator>>): replace code which works only with
558 _some_ versions of GNU STL with generic one
560 2002-07-18 Angus Leeming <leeming@lyx.org>
562 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
563 signal should it do so.
565 * Makefile.am: add FileMonitor.[Ch].
567 2002-07-18 André Pönitz <poenitz@gmx.net>
569 * filetools.C (LibScriptSearch): bug fix
571 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
573 * filetools.C (LyXReadLink): add bool 'resolve' to return link
574 contents as an absolute path
576 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
578 * filetools.C (IsLyXFilename):
579 (IsSGMLFilename): use ascii_lowercase instead of lowercase
581 * lstrings.[Ch] (ascii_lowercase): new function
583 2002-07-16 André Pönitz <poenitz@gmx.net>
585 * FileInfo.Ch: remove unneeded code
587 2002-06-20 Herbert Voss <voss@perce.de>
589 * filetools.[C] (readExtFromContents): add support for
592 2002-06-26 André Pönitz <poenitz@gmx.net>
594 * filetools.[Ch]: small whitespace, more compact 'return' statement
596 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
598 * lyxalgo.h: add eliminate_duplicates
600 2002-06-17 Herbert Voss <voss@perce.de>
602 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
603 (readBB_lyxerrMessage) to get better lyxerr messages
604 (getExtFromContents) test epsi files in the right way
606 * DestroxLyXTmpDir.C: changed to true, to delete the
607 temporary unzipped files, too.
609 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
611 * putenv.C (putenv): putenv should never be found in std::
613 * kill.C (kill): kill should never be found in std::
615 * filetools.C: pclose and popen should never be found in std::
617 2002-06-07 Angus Leeming <leeming@lyx.org>
619 Fixes needed to compile with Compaq cxx 6.5.
620 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
621 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
622 more than one instance of overloaded function "lyx::class_fun" matches
632 all c-library variables have been moved into namespace std.
633 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
635 * kill.C: rename signal.h as csignal.
637 * putenv.C: rename stdlib.h as cstdlib
639 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
641 * lxtl.h: remove unused file
643 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
650 * StrPool.C: remove unused files
660 * types.h: document and small cleanups
662 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
664 * switch from SigC signals to boost::signals.
666 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
669 * limited_stack.h: new template for limited-size
672 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
674 * filetools.C: do not include LSubstring.h
676 * lstrings.C: change include order
677 (regexMatch): use boost regex get rid of LRegex and LSubstring
679 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
682 * LSubstring.h: remove file
687 * LSubstring.C: ditto
689 2002-05-24 Juergen Vigna <jug@sad.it>
691 * lyxsum.C: include local includes first (self containment)
693 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
695 * forkedcall.h: use more specific smart_ptr header.
697 * lyxsum.C: move some using declarations around.
699 2002-05-03 Herbert Voss <voss@perce.de>
701 * filetools.C (getExtFromContents): only print the first 60 chars of
702 the scanned-string when debugging.
704 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
706 * lyxstring.C: close to typo fix.
708 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
710 * filetools.C: add a using std::getline directive.
712 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
714 * lyxstring.C (operator>>): try a new version of the operator>>
716 2002-04-14 Herbert Voss <voss@perce.de>
718 * lstrings.[Ch]: move the getVectorFromString and the vice versa
719 from frontends/controllers/helper_funcs for better use in other
722 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
724 * tempname.C (make_tempfile): simplify the #ifdef block by using
725 #if defined and re-write the #warning as a #error because it's terminal.
727 2002-04-08 Herbert Voss <voss@perce.de>
729 * filetools.C (getExtFromContents): get tgif run
731 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
733 * filetools.C (getExtFromContents): re-format a little and remove
734 replicated "sgi" entry.
736 2002-04-07 Herbert Voss <voss@perce.de>
738 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
739 for the lyx-view in graphics (moved from ControlGraphics)
741 2002-04-07 Herbert Voss <voss@perce.de>
743 * filetools.C: fix bug for eps. scans now a whole line
745 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
747 * lyxstring.C (operator>>): use the better solution, this fixes a
748 "not able to read '\0'" bug.
750 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
752 * translator.h: add missing typename
754 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
756 * filetools.C (LibScriptSearch): new command. Searches for scripts
757 in lyx data directories.
758 (LibScriptSearch): try to use split() correctly.
760 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
762 * most files: ws cleanup
764 * Makefile.am: remove ld -r stuff
766 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
768 * Makefile.am (libsupport.la): special rules if partial linking
770 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
772 * forkedcontr.C: turn the timer off when their are no longer any
773 child processes running.
775 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
777 * forkedcall.h: docy fix
778 change SignalType second type to be const ref.
780 * forkedcall.C: doxy fix
782 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
784 * lyxsum.C: compilation fix
786 2002-03-02 Herbert Voss <voss@perce.de>
788 * filetools.C: fix bug for xbm format and added some more debug
791 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
793 * forkedcontr.h: make constructor public
795 * types.h: remove layout_type
797 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
799 * filetools.C (getExtFromContents): cleanup.
801 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
803 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
805 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
806 building outside of source tree.
808 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
811 * forkedcontr.[Ch]: new files. Asger's forked call controller is
812 re-born, with a working timer and a modified interface. The
813 startscript method is now passed a Signal rather than a pointer
814 to a callback function. This enables us to connect to the method of
815 a C++ class, if we so desire.
817 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
819 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
824 * nt_defines.h: moved from src/
826 2002-02-23 Herbert Voss <voss@perce.de>
828 * filetools.C: added more graphic formats
830 2002-02-18 Herbert Voss <voss@perce.de>
832 * filetools.C: (getExtFromContents) return the fileextension
833 if no format is detected.
835 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
837 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
838 as class SystemCall because one Systemcall instance represents a
839 single child process.
842 * Makefile.am: associated changes.
844 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
846 * syscall.C (Systemcalls): include <cstdlib>
848 2002-02-08 Herbert Voss <voss@perce.de>
850 * filetools.C: (getExtFromContents) adding Grace-format
853 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
856 * syssingleton.C: files removed.
858 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
859 uses it. Strip down the Systemcalls interface to make it brutally
860 obvious how unsophisticated it is.
862 2002-02-08 Herbert Voss <voss@perce.de>
864 * filetools.C: (getExtFromContents) adding TGIF-format
865 and return type "user" when no type is detected
867 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
869 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
871 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
873 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
875 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
877 * FileInfo.h: remove special cygwin code.
879 * filetools.C (do_popen): use os::read_mode().
881 * os_win32.C (read_mode):
882 * os_os2.C (read_mode):
883 * os_unix.C (read_mode): new method
885 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
886 Hentschel). This code should maybe be moved to os:: class.
888 2002-02-08 Herbert Voss <voss@perce.de>
890 * filetools.C: (unzipFile) fix typo
892 2002-02-06 Herbert Voss <voss@perce.de>
894 * filetools.[Ch]: fix some bugs for detecting zipped files
897 2002-02-04 Herbert Voss <voss@perce.de>
899 * filetools.[Ch]: add ifZippedFile() for zipped
902 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
904 * filetools.C (FileOpenSearch): remove duplicated line, probably
905 resulting from bad cut-and paste.
907 2002-01-31 Herbert Voss <voss@perce.de>
909 * filetools.[Ch]: add getExtFromContents(), which returns
910 the type of the (graphic) file
912 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
914 * copy.C (copy): open file in binary mode (for cygwin)
916 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
918 * lyxsum.C: remove #warnings and replaced them with runtime debug
921 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
923 * lyxalgo.h: include <algorithm>
925 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
927 * lyx_algo.h: add a standard-conforming count to namespace lyx.
929 * lstrings.[Ch] (countChar): removed. Use lyx::count.
931 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
933 * filetools.C: fix use of FileInfo
936 * FileInfo.C: add Asserts and documentation
938 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
940 * os_win32.C: compilation fixes
942 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
944 * lstrings.h: do not include <cctype>
946 2001-12-12 Ben Stanley <bds02@uow.edu.au>
948 * lyxsum.C: portability fix for mmap patch
950 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
954 * lyxstring.C: change "while(" to "while ("
956 2001-12-03 Ben Stanley <bds02@uow.edu.au>
958 * lyxsum.C: Added mmap version of CRC and made it selected
959 by default where available. Used process_block for crc for speedup.
961 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
963 * filetools.C: more robust failure for DirList()
965 2001-11-29 André Pönitz <poenitz@gmx.net>
967 * types.h: introduce types for textclass numbers and layout numbers
969 2001-11-28 André Pönitz <poenitz@gmx.net>
971 * Makefile.am: put types.h in
973 2001-11-26 André Pönitz <poenitz@gmx.net>
975 * types.h: introduce types for paragraph positions and layout numbers
977 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
979 * filetools.C: remove dead code
981 * syscall.C: show prog in fail case
983 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
985 * filetools.C: code style cleanup
987 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
989 * os.h: remove spurious punctuation.
991 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
994 * LAssert.C: use new emergencyCleanup()
996 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
998 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
999 like GNU gettext does.
1001 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1003 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1005 (findtexfile): oops! the change from last friday was wrong...
1007 * os_win32.C (is_absolute_path):
1008 * os_unix.C (is_absolute_path):
1009 * os_os2.C (is_absolute_path): new method
1011 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1013 * filetools.C (findtexfile): apply os::internal_path to the result.
1015 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1020 * os.h: add internal_path method, which converts a unix-type file
1021 name to the type known to the underlying file system (currently
1022 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1024 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1026 * smart_ptr.h: new file
1028 * utility.h: new file
1030 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1033 * filetools.C (IsDirWriteable): fix this
1035 2001-07-26 Baruch Even <baruch@lyx.org>
1037 * lyxlib.h (float_equal): Added function to compare floats almost equal
1038 (see function comment).
1040 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1042 Consistent use of Lsstream.h:
1043 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1045 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1047 * translator.h: (*it). -> it->
1049 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1051 * filetools.C (DeleteAllFilesInDir): send debug output to
1052 Debug::FILES instewad of Debug::ANY.
1054 * DebugStream.h: remove gcc 2.8.x hack.
1056 2001-06-26 The LyX Project <jug@sad.it>
1059 * lstrings.C (escape): move method to escape non ascii characters
1060 from insets label and ref to here.
1062 2001-06-25 The LyX Project <jug@sad.it>
1064 * filetools.C (IsLyXFilename):
1065 (IsSGMLFilename): do case insensitive name matching
1067 2001-06-24 The LyX Project <jug@sad.it>
1069 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1070 which only considers case of ascii characters
1072 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1075 2001-06-23 The LyX Project <jug@sad.it>
1077 * textutils.h (IsPrintable): take into account unprintable spaces
1079 (IsDigit): new function
1080 (IsLetterCharOrDigit): use IsDigit
1082 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1084 * filetools.C (findtexfile): strip final \r if necessary (for
1087 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1090 * StrPool.C: removed // -*- C++ -*- as first line.
1092 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1094 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1097 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1102 * LSubstring.C: bring C functions in global namespace if
1105 * lstrings.h (compare): use the std:: version of str[n]cmp only
1108 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1110 * syscontr.C: add std::
1112 * syscall.C: add std::
1114 * lstrings.h (compare): add std::
1116 * lstrings.C (prefixIs): add std::
1120 * LSubstring.C (LSubstring): add std::
1122 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1124 * lyxsum.C (sum): use istreambuf_iterator when available.
1126 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1128 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1131 * lyxstring.C (operator): make const operator[] behave as
1134 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1136 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1138 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1140 * filetools.C (MakeAbsPath): remove debugging statement
1142 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1144 * FileInfo.h: X_OK workaround for cygwin
1153 * filetools.h: Added os:: class.
1157 * tempname.C: OS/2 fixes
1159 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1161 * textutils.h: remvoe !NEW_INSETS cruft
1163 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1166 * atoi.C: add using directives when needed for C functions
1167 declared in std:: namespace.
1169 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1171 * lstrings.C : add two helper structs, local_lowercase and
1173 (lowercase): change to use std::transform
1174 (uppercase): change to use std::transform
1176 2001-04-25 Allan Rae <rae@lyx.org>
1178 * lyxstring.C : Assert got moved and Lars missed a few.
1180 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1182 * LAssert.h (Assert): put into namespace lyx
1184 * lyxfunctional.h: put into namespace lyx
1185 * translator.h: adjust
1187 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1189 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1191 * FileInfo.h: inherit privately from noncopyable
1194 2001-04-16 Allan Rae <rae@lyx.org>
1196 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1197 as an unrecognised preprocessor directive. So ensure they're wrapped.
1199 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1201 * several files: remove CXX_WORKING_NAMESPACES
1203 * FileInfo.h: noncopyable is in namespace boost
1206 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1208 * syscontr.h: fix header include
1210 2001-02-28 Baruch Even <baruch@ev-en.org>
1212 * filetools.C: Removed dependency on syscall.h
1215 * syscall.C: Minor cleanings before I start to touch this code.
1217 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1219 * filetools.C (CreateTmpDir): change umask to 0700.
1221 2001-02-27 José Matos <jamatos@fep.up.pt>
1223 * filetools.h (BasePath):
1224 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1226 * filetools.C (IsLyXFilename):
1227 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1230 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1234 * atoi.C: remove cruft
1236 2001-02-06 albert chin <china@thewrittenword.com>
1239 * fmt.C: use HAVE_DECL_SNPRINTF
1241 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1243 * lyxstring.C: Fix some assertions.
1245 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1247 * lstrings.C (strip): Add a fix for compilers with broken
1248 string::find_last_not_of.
1250 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1252 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1254 * lyxstring.C (rfind): Fix broken functions.
1255 (find): Few optimizations.