1 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
6 * lstrings.h (contains_functor): inherit from
7 std::binary_function, remove typedefs.
9 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
11 * globbing.C: add using statement for std::distance, remove std::
14 2004-01-08 Angus Leeming <leeming@lyx.org>
16 * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
17 list of available file filters and generate the corresponding vector.
19 2003-12-14 Ronald Florence <ron@18james.com>
21 * tostr.[hC]: added tostr(long unsigned int i).
23 * path_defines.C.in: determine system directory and set PATH for
24 relocatable LyX/Mac bundle.
26 2004-01-06 Angus Leeming <leeming@lyx.org>
28 * globbing.C (glob): compilation fix for cygwin.
30 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
32 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
34 * BoostFormat.h: delete file
35 * boost-inst.C: delete fil
37 * lstrings.C: include boost/format.hpp
39 2004-01-05 Angus Leeming <leeming@lyx.org>
41 * globbing.[Ch]: new files containing some globbing utilities.
43 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
45 * putenv.C: allocate the string before putting it into the
50 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
52 * tempname.C (tempName): use scoped_array for exception safety
54 * os_os2.C (init): use scoped_array for exception safety
56 * getcwd.C (getcwd): use scoped_array for exception safety
58 * forkedcontr.C (addCall): adjust
60 * forkedcall.h: make clone return a auto_ptr
62 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
64 * debugstream.h: add a default constructor that does not setup a
67 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * socktools.C: honor CXX_GLOBAL_CSTD
71 2003-10-16 André Pönitz <poenitz@gmx.net>
73 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
74 using static variables.
76 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
78 * socktools.[Ch]: New files. Wrapper around socket system calls.
80 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
82 * socktools.C (SUN_LEN): add this MACRO definition for platforms
83 that do not define it themselves.
85 2003-10-08 Angus Leeming <leeming@lyx.org>
87 * copied_ptr.h: get rid of the swap member function.
89 2003-10-08 Angus Leeming <leeming@lyx.org>
93 * debugstream.h: \file debugStream.h -> \file debugstream.h
95 * os.h: move comment so that doxygen is not confused.
97 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
99 * Makefile.am: fix typo.
101 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
103 * std_string.h: delete file
105 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
107 * lstrings.C: Small fixes to build using STLport
109 2003-09-29 Angus Leeming <leeming@lyx.org>
111 * filetools.C (ReplaceEnvironmentPath): make it work for both
112 ${HOME}/foo and $HOME/foo.
114 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
116 * debugstream.h: add file, updated version of the DebugStream
118 * DebugStream.C,DebugStream.h: delete files
120 2003-09-25 Angus Leeming <leeming@lyx.org>
122 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
123 * lstrings.[Ch]: (regexMatch): removed.
125 2003-09-25 Angus Leeming <leeming@lyx.org>
127 * translator.h (add): new member function.
129 2003-09-16 Angus Leeming <leeming@lyx.org>
131 * textutils.h: remove #include "paragraph.h". Remove functions
132 IsInsetChar and IsWordChar.
134 2003-09-15 Angus Leeming <leeming@lyx.org>
136 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
137 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
138 his book as ValuePtr.
139 Use a memory_traits template parameter to create/destroy memory in a
142 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
146 * filetools.C: Remove usage of STRCONV
148 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
151 * std_string.h: modify to always work with std::string, but if
152 with-included-string then use it through namespace lyx. Remove
155 * lyxstring.[Ch]: remove files
157 2003-09-15 Angus Leeming <leeming@lyx.org>
159 * translator.h: add #include <boost/assert.hpp>, so that the
160 template is self-contained.
162 2003-09-11 Angus Leeming <leeming@lyx.org>
165 * copied_ptr.h: added to the repository. Maybe temporarily.
167 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
169 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
171 * several files: change Assert to BOOST_ASSERT
174 * LAssert.h: remove files
176 2003-09-08 Angus Leeming <leeming@lyx.org>
179 * filetools.C: tell the world where to find author contact details.
181 2003-09-08 Angus Leeming <leeming@lyx.org>
187 * lyxsum.C: remove redundant using directives.
189 2003-09-05 Angus Leeming <leeming@lyx.org>
191 * lstrings.C: small bformat fix
193 2003-09-05 Angus Leeming <leeming@lyx.org>
195 * std_istream.h: new file Just renaming of LIstream.h
196 * std_ostream.h: new file Just renaming of LIstream.h
197 * std_sstream.h: new file Just renaming of Lsstream.h
198 * std_string.h: new file Just renaming of LString.h
200 2003-09-05 Angus Leeming <leeming@lyx.org>
204 ensure that the header file can be compiled stand-alone.
206 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
208 * lstrings.[Ch] (bformat): add a variant taking two ints.
210 2003-09-04 Angus Leeming <leeming@lyx.org>
213 * filename.C: move #include "os.h" out of the header file.
215 2003-09-04 Angus Leeming <leeming@lyx.org>
217 * path.C (ctor, dtor): move out of line.
219 2003-09-03 Angus Leeming <leeming@lyx.org>
221 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
222 (mangledFilename): new function, returning a mangled version of the
223 absolute file name, suitable for use in the temp dir when, for example,
224 converting an image file to another format.
225 (isZipped, unzippedFilename): wrappers to global functions.
227 * filetools.[Ch] (copyFileToDir): removed.
228 (compare_timestamps): new function.
230 2003-09-03 Angus Leeming <leeming@lyx.org>
232 * translator.h: Assert is in namespace lyx::support...
234 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
236 * Makefile.am: do not install path_defines.C in includes
237 (COMPRESSION): mention gzstream.h here
239 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
241 * path_defines.C.in (setLyxPaths): re-introduce the code to check
242 whether lyx is run in place
243 (build_dir): renamed from build_lyxdir
244 (build_lyxdir): give this better semantics compatible with what
245 LibFileSearch expects.
247 2003-07-29 Angus Leeming <leeming@lyx.org>
249 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
250 defaults to string() because MakeRelPath can accept that.
252 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
254 * Makefile.am: conditionalize USE_COMPRESSION.
256 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
258 * filetools.C (getExtFromContents): correct magic for gzip and
261 * path_defines.[Ch]: move lyx_localedir out of anon namespace
263 * gzstream.h: new fileq
265 * gzstream.C: new file
267 2003-07-27 Angus Leeming <leeming@lyx.org>
269 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
270 user_lyxdir): are now functions, not global vars.
272 * Makefile.am: set build_lyxdir at make time.
274 2003-07-27 Angus Leeming <leeming@lyx.org>
276 * path_defines.{h,C.in}: new files. Store/set the various lyx
277 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
280 * Makefile.am: add some magic to enable the user to set the path to
281 the system-level lyx support files, the top of the lyx build tree
282 and the system-level lyx locale directory at _make_ time rather
285 * .cvsignore: add path_defines.C.
287 2003-07-26 Angus Leeming <leeming@lyx.org>
289 * os.h: remove irrelevant discussion of system_tempdir.
291 2003-07-21 Angus Leeming <leeming@lyx.org>
293 * filename.[Ch]: new files implementing class FileName.
294 * Makefile.am: add filename.[Ch].
296 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
298 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
299 not allow it (at least not in this form.)
301 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
303 * os_win32.C: put namespace os in lyx::support.
305 * lstrings.C (bformat): call Assert from correct namespace.
307 * introduce namespace lyx::support
309 2003-06-30 André Pönitz <poenitz@gmx.net>
312 * lstrings.C: re-enable --with-included-string
314 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
316 * filetools.h: fix some \param issue
318 * boost-inst.C: fix \file
320 * LAssert.h: fix \file
322 2003-06-20 Angus Leeming <leeming@lyx.org>
324 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
326 2003-06-18 Angus Leeming <leeming@lyx.org>
328 * many files: add the standard blurb, "This file is part of LyX" etc
330 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
332 * limited_stack.h: make it have a const_iterator, add begin, and
335 2003-06-10 Angus Leeming <leeming@lyx.org>
337 * filetools.C (copyFileToDir): ensure that temp files have unique names.
339 2003-06-04 André Pönitz <poenitz@gmx.net>
341 * limited_stack.h (top): return reference instead of value
343 2003-06-02 Angus Leeming <leeming@lyx.org>
345 * filetools.[Ch] (copyFileToDir): new helper function.
347 * os.h: remove trailing semi-colon from end of namespace os block.
349 2003-06-01 Angus Leeming <leeming@lyx.org>
351 * filetools.h (LibScriptSearch): give the function a meaningful
352 description of what it now does.
354 2003-05-30 Angus Leeming <leeming@lyx.org>
356 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
357 this with the path to the script. If the script is not found, the "$$s/"
360 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
362 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
365 2003-05-19 André Pönitz <poenitz@gmx.net>
367 * lstrings.C: add missing implementation of three-arg bformat
369 * lstrings.C: change rest of char * fmt -> string const & fmt
372 2003-05-15 André Pönitz <poenitz@gmx.net>
374 * lstrings.[Ch]: use string const & instead of char const * for format
376 2003-05-12 André Pönitz <poenitz@gmx.net>
378 * tostr.[Ch]: add long int overload
380 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
382 * lstrings.[Ch]: compile fix
384 2003-05-12 André Pönitz <poenitz@gmx.net>
386 * lstrings.[Ch]: bformat() as wrapper around boost::format
388 * lyxstring.h: enable templatized constructor
390 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
392 * limited_stack.h: Change some comments, simplify a couple of
395 2003-02-21 André Pönitz <poenitz@gmx.net>
397 * limited_stack.h: change underlying container to deque to
398 make this re-usable in mathed
400 2003-04-08 John Levon <levon@movementarian.org>
402 * filetools.C: fix MakeDisplayPath() to not
405 2003-03-30 John Levon <levon@movementarian.org>
409 * boost-inst.C: moved from src/
411 2003-03-29 John Levon <levon@movementarian.org>
414 * filetools.C: never call Alert directly from here
416 2003-03-12 John Levon <levon@movementarian.org>
418 * textutils.h: remove META_NEWLINE
420 2003-02-27 Ling Li <ling@caltech.edu>
422 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
425 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
427 * forkedcontr.C (timer): remove bogus continue
429 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
431 * forkedcallqueue.[Ch]: added
433 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
435 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
436 Emiting the signal can result in an arbitrary change to the list.
438 2003-02-25 Angus Leeming <leeming@lyx.org>
440 * forkedcontr.C (timer): Use a while loop rather than for; makes it
441 easier to erase an element.
443 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
445 * forkedcontr.C (timer): don't start a running timer.
447 2003-02-21 André Pönitz <poenitz@gmx.net>
449 * filetools.C (PutEnv): removed (unused)
451 2003-02-17 John Levon <levon@movementarian.org>
454 * forkedcall.C: add running()
456 2003-02-08 John Levon <levon@movementarian.org>
460 * lyxtime.C: add typedef for time_t, add current_time
466 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
468 * filetools.C (getExtFromContents): remove detection of epsi
470 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
472 * several files: ws changes
474 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
476 * filetools.C (DirList): remove all ugly hacks and do it nice
478 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
480 * lyxsum.C: an ugly hack to compile with non-gnu linkers
482 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
484 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
485 a solution that he likes and which actually works.
487 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
489 * lstrings.h (tostr): STRCONV
491 * lstrings.C (regexMatch): STRCONV
492 (getVectorFromString): STRCONV, manual copy into vector
494 * filetools.C (GetFileContents): STRCONV
496 * os.C: include config.h
498 * lstrings.C (getVectorFromString): rewrite to use
501 2002-10-31 Angus Leeming <leeming@lyx.org>
503 * forkedcall.C (generateChild): clean it up further.
505 2002-10-25 Angus Leeming <leeming@lyx.org>
507 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
508 and a minimal ForkedCall daughter class.
510 * forkedcontr.[Ch]: minimal changes reflecting the use of a
511 ForkedProcess base class responsible for launching all child proceses.
513 2002-09-25 Angus Leeming <leeming@lyx.org>
516 * LOstream.h: doxygen fixes.
518 2002-09-24 Angus Leeming <leeming@lyx.org>
520 * most files: clean-up the license info.
522 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
524 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
526 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
528 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
529 since at least for Cygwin, the "rb" read_mode acceptable for
530 fopen() is illegal for popen(), whose mode argument *must* be "r"
533 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
536 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
538 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
541 * smart_ptr.h: remove file
544 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
546 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
547 class_fun and void_class_fun
549 2002-08-20 John Levon <levon@movementarian.org>
554 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
556 * textutils.h: formatting.
558 2002-08-08 John Levon <levon@movementarian.org>
560 * limited_stack.h: default to 100 not 10
562 2002-08-01 John Levon <levon@movementarian.org>
564 * forkedcall.C: more details on error
566 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
568 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
569 also add a trim function that is the equiv of
570 strip(frontStrip(...)), also reimplement the functions
571 (improvements still possible.)
573 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
574 * forkedcall.C (generateChild): ditto
578 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
580 * filetools.C (GetEnvPath): modify because of strip changes
581 (createDirectory): ditto
583 * lstrings.[Ch] (isStrInt): ditto
584 (isStrUnsignedInt): ditto
586 (strToUnsignedInt): ditto
588 (contains): removed unneeded version of contains
589 (containsOnly): removed uneeded versions of containsOnly
590 (strip, frontStrip): removed unneded versions, changed argument types.
592 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
594 * filetools.C (RunCommand): Made public
596 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
598 * limited_stack.h: fix comment, remove un-needed header
600 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
602 * lstrings.h: correct comments for token and tokenPos
604 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
606 * lyxstring.C (operator>>): replace code which works only with
607 _some_ versions of GNU STL with generic one
609 2002-07-18 Angus Leeming <leeming@lyx.org>
611 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
612 signal should it do so.
614 * Makefile.am: add FileMonitor.[Ch].
616 2002-07-18 André Pönitz <poenitz@gmx.net>
618 * filetools.C (LibScriptSearch): bug fix
620 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
622 * filetools.C (LyXReadLink): add bool 'resolve' to return link
623 contents as an absolute path
625 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
627 * filetools.C (IsLyXFilename):
628 (IsSGMLFilename): use ascii_lowercase instead of lowercase
630 * lstrings.[Ch] (ascii_lowercase): new function
632 2002-07-16 André Pönitz <poenitz@gmx.net>
634 * FileInfo.Ch: remove unneeded code
636 2002-06-20 Herbert Voss <voss@perce.de>
638 * filetools.[C] (readExtFromContents): add support for
641 2002-06-26 André Pönitz <poenitz@gmx.net>
643 * filetools.[Ch]: small whitespace, more compact 'return' statement
645 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
647 * lyxalgo.h: add eliminate_duplicates
649 2002-06-17 Herbert Voss <voss@perce.de>
651 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
652 (readBB_lyxerrMessage) to get better lyxerr messages
653 (getExtFromContents) test epsi files in the right way
655 * DestroxLyXTmpDir.C: changed to true, to delete the
656 temporary unzipped files, too.
658 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
660 * putenv.C (putenv): putenv should never be found in std::
662 * kill.C (kill): kill should never be found in std::
664 * filetools.C: pclose and popen should never be found in std::
666 2002-06-07 Angus Leeming <leeming@lyx.org>
668 Fixes needed to compile with Compaq cxx 6.5.
669 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
670 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
671 more than one instance of overloaded function "lyx::class_fun" matches
681 all c-library variables have been moved into namespace std.
682 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
684 * kill.C: rename signal.h as csignal.
686 * putenv.C: rename stdlib.h as cstdlib
688 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
690 * lxtl.h: remove unused file
692 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
699 * StrPool.C: remove unused files
709 * types.h: document and small cleanups
711 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
713 * switch from SigC signals to boost::signals.
715 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
718 * limited_stack.h: new template for limited-size
721 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
723 * filetools.C: do not include LSubstring.h
725 * lstrings.C: change include order
726 (regexMatch): use boost regex get rid of LRegex and LSubstring
728 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
731 * LSubstring.h: remove file
736 * LSubstring.C: ditto
738 2002-05-24 Juergen Vigna <jug@sad.it>
740 * lyxsum.C: include local includes first (self containment)
742 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
744 * forkedcall.h: use more specific smart_ptr header.
746 * lyxsum.C: move some using declarations around.
748 2002-05-03 Herbert Voss <voss@perce.de>
750 * filetools.C (getExtFromContents): only print the first 60 chars of
751 the scanned-string when debugging.
753 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
755 * lyxstring.C: close to typo fix.
757 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
759 * filetools.C: add a using std::getline directive.
761 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
763 * lyxstring.C (operator>>): try a new version of the operator>>
765 2002-04-14 Herbert Voss <voss@perce.de>
767 * lstrings.[Ch]: move the getVectorFromString and the vice versa
768 from frontends/controllers/helper_funcs for better use in other
771 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
773 * tempname.C (make_tempfile): simplify the #ifdef block by using
774 #if defined and re-write the #warning as a #error because it's terminal.
776 2002-04-08 Herbert Voss <voss@perce.de>
778 * filetools.C (getExtFromContents): get tgif run
780 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
782 * filetools.C (getExtFromContents): re-format a little and remove
783 replicated "sgi" entry.
785 2002-04-07 Herbert Voss <voss@perce.de>
787 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
788 for the lyx-view in graphics (moved from ControlGraphics)
790 2002-04-07 Herbert Voss <voss@perce.de>
792 * filetools.C: fix bug for eps. scans now a whole line
794 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
796 * lyxstring.C (operator>>): use the better solution, this fixes a
797 "not able to read '\0'" bug.
799 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
801 * translator.h: add missing typename
803 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
805 * filetools.C (LibScriptSearch): new command. Searches for scripts
806 in lyx data directories.
807 (LibScriptSearch): try to use split() correctly.
809 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
811 * most files: ws cleanup
813 * Makefile.am: remove ld -r stuff
815 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
817 * Makefile.am (libsupport.la): special rules if partial linking
819 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
821 * forkedcontr.C: turn the timer off when their are no longer any
822 child processes running.
824 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
826 * forkedcall.h: docy fix
827 change SignalType second type to be const ref.
829 * forkedcall.C: doxy fix
831 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
833 * lyxsum.C: compilation fix
835 2002-03-02 Herbert Voss <voss@perce.de>
837 * filetools.C: fix bug for xbm format and added some more debug
840 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
842 * forkedcontr.h: make constructor public
844 * types.h: remove layout_type
846 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
848 * filetools.C (getExtFromContents): cleanup.
850 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
852 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
854 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
855 building outside of source tree.
857 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
860 * forkedcontr.[Ch]: new files. Asger's forked call controller is
861 re-born, with a working timer and a modified interface. The
862 startscript method is now passed a Signal rather than a pointer
863 to a callback function. This enables us to connect to the method of
864 a C++ class, if we so desire.
866 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
868 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
873 * nt_defines.h: moved from src/
875 2002-02-23 Herbert Voss <voss@perce.de>
877 * filetools.C: added more graphic formats
879 2002-02-18 Herbert Voss <voss@perce.de>
881 * filetools.C: (getExtFromContents) return the fileextension
882 if no format is detected.
884 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
886 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
887 as class SystemCall because one Systemcall instance represents a
888 single child process.
891 * Makefile.am: associated changes.
893 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
895 * syscall.C (Systemcalls): include <cstdlib>
897 2002-02-08 Herbert Voss <voss@perce.de>
899 * filetools.C: (getExtFromContents) adding Grace-format
902 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
905 * syssingleton.C: files removed.
907 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
908 uses it. Strip down the Systemcalls interface to make it brutally
909 obvious how unsophisticated it is.
911 2002-02-08 Herbert Voss <voss@perce.de>
913 * filetools.C: (getExtFromContents) adding TGIF-format
914 and return type "user" when no type is detected
916 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
918 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
920 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
922 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
924 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
926 * FileInfo.h: remove special cygwin code.
928 * filetools.C (do_popen): use os::read_mode().
930 * os_win32.C (read_mode):
931 * os_os2.C (read_mode):
932 * os_unix.C (read_mode): new method
934 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
935 Hentschel). This code should maybe be moved to os:: class.
937 2002-02-08 Herbert Voss <voss@perce.de>
939 * filetools.C: (unzipFile) fix typo
941 2002-02-06 Herbert Voss <voss@perce.de>
943 * filetools.[Ch]: fix some bugs for detecting zipped files
946 2002-02-04 Herbert Voss <voss@perce.de>
948 * filetools.[Ch]: add ifZippedFile() for zipped
951 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
953 * filetools.C (FileOpenSearch): remove duplicated line, probably
954 resulting from bad cut-and paste.
956 2002-01-31 Herbert Voss <voss@perce.de>
958 * filetools.[Ch]: add getExtFromContents(), which returns
959 the type of the (graphic) file
961 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
963 * copy.C (copy): open file in binary mode (for cygwin)
965 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
967 * lyxsum.C: remove #warnings and replaced them with runtime debug
970 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
972 * lyxalgo.h: include <algorithm>
974 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
976 * lyx_algo.h: add a standard-conforming count to namespace lyx.
978 * lstrings.[Ch] (countChar): removed. Use lyx::count.
980 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
982 * filetools.C: fix use of FileInfo
985 * FileInfo.C: add Asserts and documentation
987 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
989 * os_win32.C: compilation fixes
991 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
993 * lstrings.h: do not include <cctype>
995 2001-12-12 Ben Stanley <bds02@uow.edu.au>
997 * lyxsum.C: portability fix for mmap patch
999 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1003 * lyxstring.C: change "while(" to "while ("
1005 2001-12-03 Ben Stanley <bds02@uow.edu.au>
1007 * lyxsum.C: Added mmap version of CRC and made it selected
1008 by default where available. Used process_block for crc for speedup.
1010 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1012 * filetools.C: more robust failure for DirList()
1014 2001-11-29 André Pönitz <poenitz@gmx.net>
1016 * types.h: introduce types for textclass numbers and layout numbers
1018 2001-11-28 André Pönitz <poenitz@gmx.net>
1020 * Makefile.am: put types.h in
1022 2001-11-26 André Pönitz <poenitz@gmx.net>
1024 * types.h: introduce types for paragraph positions and layout numbers
1026 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1028 * filetools.C: remove dead code
1030 * syscall.C: show prog in fail case
1032 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1034 * filetools.C: code style cleanup
1036 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1038 * os.h: remove spurious punctuation.
1040 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1043 * LAssert.C: use new emergencyCleanup()
1045 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1047 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1048 like GNU gettext does.
1050 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1052 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1054 (findtexfile): oops! the change from last friday was wrong...
1056 * os_win32.C (is_absolute_path):
1057 * os_unix.C (is_absolute_path):
1058 * os_os2.C (is_absolute_path): new method
1060 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1062 * filetools.C (findtexfile): apply os::internal_path to the result.
1064 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1069 * os.h: add internal_path method, which converts a unix-type file
1070 name to the type known to the underlying file system (currently
1071 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1073 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1075 * smart_ptr.h: new file
1077 * utility.h: new file
1079 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1082 * filetools.C (IsDirWriteable): fix this
1084 2001-07-26 Baruch Even <baruch@lyx.org>
1086 * lyxlib.h (float_equal): Added function to compare floats almost equal
1087 (see function comment).
1089 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1091 Consistent use of Lsstream.h:
1092 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1094 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1096 * translator.h: (*it). -> it->
1098 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1100 * filetools.C (DeleteAllFilesInDir): send debug output to
1101 Debug::FILES instewad of Debug::ANY.
1103 * DebugStream.h: remove gcc 2.8.x hack.
1105 2001-06-26 The LyX Project <jug@sad.it>
1108 * lstrings.C (escape): move method to escape non ascii characters
1109 from insets label and ref to here.
1111 2001-06-25 The LyX Project <jug@sad.it>
1113 * filetools.C (IsLyXFilename):
1114 (IsSGMLFilename): do case insensitive name matching
1116 2001-06-24 The LyX Project <jug@sad.it>
1118 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1119 which only considers case of ascii characters
1121 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1124 2001-06-23 The LyX Project <jug@sad.it>
1126 * textutils.h (IsPrintable): take into account unprintable spaces
1128 (IsDigit): new function
1129 (IsLetterCharOrDigit): use IsDigit
1131 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1133 * filetools.C (findtexfile): strip final \r if necessary (for
1136 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1139 * StrPool.C: removed // -*- C++ -*- as first line.
1141 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1143 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1146 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1151 * LSubstring.C: bring C functions in global namespace if
1154 * lstrings.h (compare): use the std:: version of str[n]cmp only
1157 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1159 * syscontr.C: add std::
1161 * syscall.C: add std::
1163 * lstrings.h (compare): add std::
1165 * lstrings.C (prefixIs): add std::
1169 * LSubstring.C (LSubstring): add std::
1171 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1173 * lyxsum.C (sum): use istreambuf_iterator when available.
1175 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1177 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1180 * lyxstring.C (operator): make const operator[] behave as
1183 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1185 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1187 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1189 * filetools.C (MakeAbsPath): remove debugging statement
1191 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1193 * FileInfo.h: X_OK workaround for cygwin
1202 * filetools.h: Added os:: class.
1206 * tempname.C: OS/2 fixes
1208 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1210 * textutils.h: remvoe !NEW_INSETS cruft
1212 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1215 * atoi.C: add using directives when needed for C functions
1216 declared in std:: namespace.
1218 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1220 * lstrings.C : add two helper structs, local_lowercase and
1222 (lowercase): change to use std::transform
1223 (uppercase): change to use std::transform
1225 2001-04-25 Allan Rae <rae@lyx.org>
1227 * lyxstring.C : Assert got moved and Lars missed a few.
1229 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1231 * LAssert.h (Assert): put into namespace lyx
1233 * lyxfunctional.h: put into namespace lyx
1234 * translator.h: adjust
1236 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1238 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1240 * FileInfo.h: inherit privately from noncopyable
1243 2001-04-16 Allan Rae <rae@lyx.org>
1245 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1246 as an unrecognised preprocessor directive. So ensure they're wrapped.
1248 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1250 * several files: remove CXX_WORKING_NAMESPACES
1252 * FileInfo.h: noncopyable is in namespace boost
1255 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1257 * syscontr.h: fix header include
1259 2001-02-28 Baruch Even <baruch@ev-en.org>
1261 * filetools.C: Removed dependency on syscall.h
1264 * syscall.C: Minor cleanings before I start to touch this code.
1266 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1268 * filetools.C (CreateTmpDir): change umask to 0700.
1270 2001-02-27 José Matos <jamatos@fep.up.pt>
1272 * filetools.h (BasePath):
1273 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1275 * filetools.C (IsLyXFilename):
1276 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1279 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1283 * atoi.C: remove cruft
1285 2001-02-06 albert chin <china@thewrittenword.com>
1288 * fmt.C: use HAVE_DECL_SNPRINTF
1290 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1292 * lyxstring.C: Fix some assertions.
1294 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1296 * lstrings.C (strip): Add a fix for compilers with broken
1297 string::find_last_not_of.
1299 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1301 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1303 * lyxstring.C (rfind): Fix broken functions.
1304 (find): Few optimizations.