1 2004-05-04 Angus Leeming <leeming@lyx.org>
4 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
6 2004-04-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * filetools.C (RunCommand): block SIGCHLD during popen/pclose
11 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
13 * filetools.C (DeleteAllFilesInDir): delete directories with
14 rmdir(), unlink() does not work
16 2004-03-27 Angus Leeming <leeming@lyx.org>
18 * forkedcontr.C (child_handler): squash warning about a
19 signed/unsigned comparison.
20 (handleCompletedProcesses): only output a warning about an error
21 waiting for the child if it is indeed an error ;-)
23 2004-03-26 Angus Leeming <leeming@lyx.org>
25 * forkedcall.[Ch] (run): new function, replacing runBlocking,
28 * forkedcall.C (generateChild): ensure that the code that splits
29 the command up into an array of words won't leak in the event of an
32 * forkedcontr.C: make it a little more robust.
34 2004-03-24 Angus Leeming <leeming@lyx.org>
36 * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
37 of child proccesses and ascertain whether any have died. Instead use
38 the SIGCHLD signal emitted by the system to reap these zombies in the
39 maximally efficient manner. The subsequent emitting of the signal
40 associated with each child process *is* performed within the main
41 lyx event loop, thus ensuring that the code remains safe.
43 A detailed description of the design is to be found in forkedcontr.C.
45 2004-03-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * filetools.C (i18nLibFileSearch): simplify the logic a bit
49 2004-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
51 * filetools.C (i18nLibFileSearch): fix the logic to match closely
54 2004-03-23 Angus Leeming <leeming@lyx.org>
56 * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
57 clone to return a boost::shred_ptr rather than a std::auto_ptr.
59 * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
62 2004-03-22 Angus Leeming <leeming@lyx.org>
64 * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
65 cruft left over from the removal of the Forks dialog.
67 2004-03-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
69 * filename.[Ch] (mangledFilename): make sure that mangled names are
72 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
74 * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
75 remove pathfor argument
76 * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
77 harder to create a usable temp dir
78 * filetools.C (CreateTmpDir): rename to createTmpDir
79 filetools.[Ch] (unzipFile): add argument for output filename
80 * filename.h: fix doxygen warning
82 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
84 * lstrings.h (contains_functor): delete
85 (contains): change into template, simplify
87 * lstrings.C (contains): remove both functions
89 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
91 * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
94 * lstrings.h (contains_functor): inherit from
95 std::binary_function, remove typedefs.
97 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
99 * globbing.C: add using statement for std::distance, remove std::
102 2004-01-08 Angus Leeming <leeming@lyx.org>
104 * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
105 list of available file filters and generate the corresponding vector.
107 2003-12-14 Ronald Florence <ron@18james.com>
109 * tostr.[hC]: added tostr(long unsigned int i).
111 * path_defines.C.in: determine system directory and set PATH for
112 relocatable LyX/Mac bundle.
114 2004-01-06 Angus Leeming <leeming@lyx.org>
116 * globbing.C (glob): compilation fix for cygwin.
118 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
120 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
122 * BoostFormat.h: delete file
123 * boost-inst.C: delete fil
125 * lstrings.C: include boost/format.hpp
127 2004-01-05 Angus Leeming <leeming@lyx.org>
129 * globbing.[Ch]: new files containing some globbing utilities.
131 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
133 * putenv.C: allocate the string before putting it into the
138 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
140 * tempname.C (tempName): use scoped_array for exception safety
142 * os_os2.C (init): use scoped_array for exception safety
144 * getcwd.C (getcwd): use scoped_array for exception safety
146 * forkedcontr.C (addCall): adjust
148 * forkedcall.h: make clone return a auto_ptr
150 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
152 * debugstream.h: add a default constructor that does not setup a
155 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
157 * socktools.C: honor CXX_GLOBAL_CSTD
159 2003-10-16 André Pönitz <poenitz@gmx.net>
161 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
162 using static variables.
164 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
166 * socktools.[Ch]: New files. Wrapper around socket system calls.
168 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
170 * socktools.C (SUN_LEN): add this MACRO definition for platforms
171 that do not define it themselves.
173 2003-10-08 Angus Leeming <leeming@lyx.org>
175 * copied_ptr.h: get rid of the swap member function.
177 2003-10-08 Angus Leeming <leeming@lyx.org>
179 Fix doxygen warnings.
181 * debugstream.h: \file debugStream.h -> \file debugstream.h
183 * os.h: move comment so that doxygen is not confused.
185 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
187 * Makefile.am: fix typo.
189 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
191 * std_string.h: delete file
193 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
195 * lstrings.C: Small fixes to build using STLport
197 2003-09-29 Angus Leeming <leeming@lyx.org>
199 * filetools.C (ReplaceEnvironmentPath): make it work for both
200 ${HOME}/foo and $HOME/foo.
202 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
204 * debugstream.h: add file, updated version of the DebugStream
206 * DebugStream.C,DebugStream.h: delete files
208 2003-09-25 Angus Leeming <leeming@lyx.org>
210 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
211 * lstrings.[Ch]: (regexMatch): removed.
213 2003-09-25 Angus Leeming <leeming@lyx.org>
215 * translator.h (add): new member function.
217 2003-09-16 Angus Leeming <leeming@lyx.org>
219 * textutils.h: remove #include "paragraph.h". Remove functions
220 IsInsetChar and IsWordChar.
222 2003-09-15 Angus Leeming <leeming@lyx.org>
224 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
225 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
226 his book as ValuePtr.
227 Use a memory_traits template parameter to create/destroy memory in a
230 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
234 * filetools.C: Remove usage of STRCONV
236 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
239 * std_string.h: modify to always work with std::string, but if
240 with-included-string then use it through namespace lyx. Remove
243 * lyxstring.[Ch]: remove files
245 2003-09-15 Angus Leeming <leeming@lyx.org>
247 * translator.h: add #include <boost/assert.hpp>, so that the
248 template is self-contained.
250 2003-09-11 Angus Leeming <leeming@lyx.org>
253 * copied_ptr.h: added to the repository. Maybe temporarily.
255 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
257 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
259 * several files: change Assert to BOOST_ASSERT
262 * LAssert.h: remove files
264 2003-09-08 Angus Leeming <leeming@lyx.org>
267 * filetools.C: tell the world where to find author contact details.
269 2003-09-08 Angus Leeming <leeming@lyx.org>
275 * lyxsum.C: remove redundant using directives.
277 2003-09-05 Angus Leeming <leeming@lyx.org>
279 * lstrings.C: small bformat fix
281 2003-09-05 Angus Leeming <leeming@lyx.org>
283 * std_istream.h: new file Just renaming of LIstream.h
284 * std_ostream.h: new file Just renaming of LIstream.h
285 * std_sstream.h: new file Just renaming of Lsstream.h
286 * std_string.h: new file Just renaming of LString.h
288 2003-09-05 Angus Leeming <leeming@lyx.org>
292 ensure that the header file can be compiled stand-alone.
294 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
296 * lstrings.[Ch] (bformat): add a variant taking two ints.
298 2003-09-04 Angus Leeming <leeming@lyx.org>
301 * filename.C: move #include "os.h" out of the header file.
303 2003-09-04 Angus Leeming <leeming@lyx.org>
305 * path.C (ctor, dtor): move out of line.
307 2003-09-03 Angus Leeming <leeming@lyx.org>
309 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
310 (mangledFilename): new function, returning a mangled version of the
311 absolute file name, suitable for use in the temp dir when, for example,
312 converting an image file to another format.
313 (isZipped, unzippedFilename): wrappers to global functions.
315 * filetools.[Ch] (copyFileToDir): removed.
316 (compare_timestamps): new function.
318 2003-09-03 Angus Leeming <leeming@lyx.org>
320 * translator.h: Assert is in namespace lyx::support...
322 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
324 * Makefile.am: do not install path_defines.C in includes
325 (COMPRESSION): mention gzstream.h here
327 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * path_defines.C.in (setLyxPaths): re-introduce the code to check
330 whether lyx is run in place
331 (build_dir): renamed from build_lyxdir
332 (build_lyxdir): give this better semantics compatible with what
333 LibFileSearch expects.
335 2003-07-29 Angus Leeming <leeming@lyx.org>
337 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
338 defaults to string() because MakeRelPath can accept that.
340 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
342 * Makefile.am: conditionalize USE_COMPRESSION.
344 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
346 * filetools.C (getExtFromContents): correct magic for gzip and
349 * path_defines.[Ch]: move lyx_localedir out of anon namespace
351 * gzstream.h: new fileq
353 * gzstream.C: new file
355 2003-07-27 Angus Leeming <leeming@lyx.org>
357 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
358 user_lyxdir): are now functions, not global vars.
360 * Makefile.am: set build_lyxdir at make time.
362 2003-07-27 Angus Leeming <leeming@lyx.org>
364 * path_defines.{h,C.in}: new files. Store/set the various lyx
365 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
368 * Makefile.am: add some magic to enable the user to set the path to
369 the system-level lyx support files, the top of the lyx build tree
370 and the system-level lyx locale directory at _make_ time rather
373 * .cvsignore: add path_defines.C.
375 2003-07-26 Angus Leeming <leeming@lyx.org>
377 * os.h: remove irrelevant discussion of system_tempdir.
379 2003-07-21 Angus Leeming <leeming@lyx.org>
381 * filename.[Ch]: new files implementing class FileName.
382 * Makefile.am: add filename.[Ch].
384 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
386 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
387 not allow it (at least not in this form.)
389 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
391 * os_win32.C: put namespace os in lyx::support.
393 * lstrings.C (bformat): call Assert from correct namespace.
395 * introduce namespace lyx::support
397 2003-06-30 André Pönitz <poenitz@gmx.net>
400 * lstrings.C: re-enable --with-included-string
402 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
404 * filetools.h: fix some \param issue
406 * boost-inst.C: fix \file
408 * LAssert.h: fix \file
410 2003-06-20 Angus Leeming <leeming@lyx.org>
412 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
414 2003-06-18 Angus Leeming <leeming@lyx.org>
416 * many files: add the standard blurb, "This file is part of LyX" etc
418 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
420 * limited_stack.h: make it have a const_iterator, add begin, and
423 2003-06-10 Angus Leeming <leeming@lyx.org>
425 * filetools.C (copyFileToDir): ensure that temp files have unique names.
427 2003-06-04 André Pönitz <poenitz@gmx.net>
429 * limited_stack.h (top): return reference instead of value
431 2003-06-02 Angus Leeming <leeming@lyx.org>
433 * filetools.[Ch] (copyFileToDir): new helper function.
435 * os.h: remove trailing semi-colon from end of namespace os block.
437 2003-06-01 Angus Leeming <leeming@lyx.org>
439 * filetools.h (LibScriptSearch): give the function a meaningful
440 description of what it now does.
442 2003-05-30 Angus Leeming <leeming@lyx.org>
444 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
445 this with the path to the script. If the script is not found, the "$$s/"
448 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
450 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
453 2003-05-19 André Pönitz <poenitz@gmx.net>
455 * lstrings.C: add missing implementation of three-arg bformat
457 * lstrings.C: change rest of char * fmt -> string const & fmt
460 2003-05-15 André Pönitz <poenitz@gmx.net>
462 * lstrings.[Ch]: use string const & instead of char const * for format
464 2003-05-12 André Pönitz <poenitz@gmx.net>
466 * tostr.[Ch]: add long int overload
468 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
470 * lstrings.[Ch]: compile fix
472 2003-05-12 André Pönitz <poenitz@gmx.net>
474 * lstrings.[Ch]: bformat() as wrapper around boost::format
476 * lyxstring.h: enable templatized constructor
478 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
480 * limited_stack.h: Change some comments, simplify a couple of
483 2003-02-21 André Pönitz <poenitz@gmx.net>
485 * limited_stack.h: change underlying container to deque to
486 make this re-usable in mathed
488 2003-04-08 John Levon <levon@movementarian.org>
490 * filetools.C: fix MakeDisplayPath() to not
493 2003-03-30 John Levon <levon@movementarian.org>
497 * boost-inst.C: moved from src/
499 2003-03-29 John Levon <levon@movementarian.org>
502 * filetools.C: never call Alert directly from here
504 2003-03-12 John Levon <levon@movementarian.org>
506 * textutils.h: remove META_NEWLINE
508 2003-02-27 Ling Li <ling@caltech.edu>
510 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
513 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
515 * forkedcontr.C (timer): remove bogus continue
517 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
519 * forkedcallqueue.[Ch]: added
521 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
523 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
524 Emiting the signal can result in an arbitrary change to the list.
526 2003-02-25 Angus Leeming <leeming@lyx.org>
528 * forkedcontr.C (timer): Use a while loop rather than for; makes it
529 easier to erase an element.
531 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
533 * forkedcontr.C (timer): don't start a running timer.
535 2003-02-21 André Pönitz <poenitz@gmx.net>
537 * filetools.C (PutEnv): removed (unused)
539 2003-02-17 John Levon <levon@movementarian.org>
542 * forkedcall.C: add running()
544 2003-02-08 John Levon <levon@movementarian.org>
548 * lyxtime.C: add typedef for time_t, add current_time
554 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
556 * filetools.C (getExtFromContents): remove detection of epsi
558 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
560 * several files: ws changes
562 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
564 * filetools.C (DirList): remove all ugly hacks and do it nice
566 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
568 * lyxsum.C: an ugly hack to compile with non-gnu linkers
570 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
572 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
573 a solution that he likes and which actually works.
575 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
577 * lstrings.h (tostr): STRCONV
579 * lstrings.C (regexMatch): STRCONV
580 (getVectorFromString): STRCONV, manual copy into vector
582 * filetools.C (GetFileContents): STRCONV
584 * os.C: include config.h
586 * lstrings.C (getVectorFromString): rewrite to use
589 2002-10-31 Angus Leeming <leeming@lyx.org>
591 * forkedcall.C (generateChild): clean it up further.
593 2002-10-25 Angus Leeming <leeming@lyx.org>
595 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
596 and a minimal ForkedCall daughter class.
598 * forkedcontr.[Ch]: minimal changes reflecting the use of a
599 ForkedProcess base class responsible for launching all child proceses.
601 2002-09-25 Angus Leeming <leeming@lyx.org>
604 * LOstream.h: doxygen fixes.
606 2002-09-24 Angus Leeming <leeming@lyx.org>
608 * most files: clean-up the license info.
610 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
612 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
614 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
616 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
617 since at least for Cygwin, the "rb" read_mode acceptable for
618 fopen() is illegal for popen(), whose mode argument *must* be "r"
621 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
624 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
626 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
629 * smart_ptr.h: remove file
632 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
634 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
635 class_fun and void_class_fun
637 2002-08-20 John Levon <levon@movementarian.org>
642 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
644 * textutils.h: formatting.
646 2002-08-08 John Levon <levon@movementarian.org>
648 * limited_stack.h: default to 100 not 10
650 2002-08-01 John Levon <levon@movementarian.org>
652 * forkedcall.C: more details on error
654 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
656 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
657 also add a trim function that is the equiv of
658 strip(frontStrip(...)), also reimplement the functions
659 (improvements still possible.)
661 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
662 * forkedcall.C (generateChild): ditto
666 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
668 * filetools.C (GetEnvPath): modify because of strip changes
669 (createDirectory): ditto
671 * lstrings.[Ch] (isStrInt): ditto
672 (isStrUnsignedInt): ditto
674 (strToUnsignedInt): ditto
676 (contains): removed unneeded version of contains
677 (containsOnly): removed uneeded versions of containsOnly
678 (strip, frontStrip): removed unneded versions, changed argument types.
680 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
682 * filetools.C (RunCommand): Made public
684 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
686 * limited_stack.h: fix comment, remove un-needed header
688 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
690 * lstrings.h: correct comments for token and tokenPos
692 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
694 * lyxstring.C (operator>>): replace code which works only with
695 _some_ versions of GNU STL with generic one
697 2002-07-18 Angus Leeming <leeming@lyx.org>
699 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
700 signal should it do so.
702 * Makefile.am: add FileMonitor.[Ch].
704 2002-07-18 André Pönitz <poenitz@gmx.net>
706 * filetools.C (LibScriptSearch): bug fix
708 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
710 * filetools.C (LyXReadLink): add bool 'resolve' to return link
711 contents as an absolute path
713 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
715 * filetools.C (IsLyXFilename):
716 (IsSGMLFilename): use ascii_lowercase instead of lowercase
718 * lstrings.[Ch] (ascii_lowercase): new function
720 2002-07-16 André Pönitz <poenitz@gmx.net>
722 * FileInfo.Ch: remove unneeded code
724 2002-06-20 Herbert Voss <voss@perce.de>
726 * filetools.[C] (readExtFromContents): add support for
729 2002-06-26 André Pönitz <poenitz@gmx.net>
731 * filetools.[Ch]: small whitespace, more compact 'return' statement
733 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
735 * lyxalgo.h: add eliminate_duplicates
737 2002-06-17 Herbert Voss <voss@perce.de>
739 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
740 (readBB_lyxerrMessage) to get better lyxerr messages
741 (getExtFromContents) test epsi files in the right way
743 * DestroxLyXTmpDir.C: changed to true, to delete the
744 temporary unzipped files, too.
746 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
748 * putenv.C (putenv): putenv should never be found in std::
750 * kill.C (kill): kill should never be found in std::
752 * filetools.C: pclose and popen should never be found in std::
754 2002-06-07 Angus Leeming <leeming@lyx.org>
756 Fixes needed to compile with Compaq cxx 6.5.
757 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
758 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
759 more than one instance of overloaded function "lyx::class_fun" matches
769 all c-library variables have been moved into namespace std.
770 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
772 * kill.C: rename signal.h as csignal.
774 * putenv.C: rename stdlib.h as cstdlib
776 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
778 * lxtl.h: remove unused file
780 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
787 * StrPool.C: remove unused files
797 * types.h: document and small cleanups
799 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
801 * switch from SigC signals to boost::signals.
803 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
806 * limited_stack.h: new template for limited-size
809 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
811 * filetools.C: do not include LSubstring.h
813 * lstrings.C: change include order
814 (regexMatch): use boost regex get rid of LRegex and LSubstring
816 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
819 * LSubstring.h: remove file
824 * LSubstring.C: ditto
826 2002-05-24 Juergen Vigna <jug@sad.it>
828 * lyxsum.C: include local includes first (self containment)
830 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
832 * forkedcall.h: use more specific smart_ptr header.
834 * lyxsum.C: move some using declarations around.
836 2002-05-03 Herbert Voss <voss@perce.de>
838 * filetools.C (getExtFromContents): only print the first 60 chars of
839 the scanned-string when debugging.
841 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
843 * lyxstring.C: close to typo fix.
845 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
847 * filetools.C: add a using std::getline directive.
849 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
851 * lyxstring.C (operator>>): try a new version of the operator>>
853 2002-04-14 Herbert Voss <voss@perce.de>
855 * lstrings.[Ch]: move the getVectorFromString and the vice versa
856 from frontends/controllers/helper_funcs for better use in other
859 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
861 * tempname.C (make_tempfile): simplify the #ifdef block by using
862 #if defined and re-write the #warning as a #error because it's terminal.
864 2002-04-08 Herbert Voss <voss@perce.de>
866 * filetools.C (getExtFromContents): get tgif run
868 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
870 * filetools.C (getExtFromContents): re-format a little and remove
871 replicated "sgi" entry.
873 2002-04-07 Herbert Voss <voss@perce.de>
875 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
876 for the lyx-view in graphics (moved from ControlGraphics)
878 2002-04-07 Herbert Voss <voss@perce.de>
880 * filetools.C: fix bug for eps. scans now a whole line
882 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
884 * lyxstring.C (operator>>): use the better solution, this fixes a
885 "not able to read '\0'" bug.
887 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
889 * translator.h: add missing typename
891 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
893 * filetools.C (LibScriptSearch): new command. Searches for scripts
894 in lyx data directories.
895 (LibScriptSearch): try to use split() correctly.
897 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
899 * most files: ws cleanup
901 * Makefile.am: remove ld -r stuff
903 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
905 * Makefile.am (libsupport.la): special rules if partial linking
907 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
909 * forkedcontr.C: turn the timer off when their are no longer any
910 child processes running.
912 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
914 * forkedcall.h: docy fix
915 change SignalType second type to be const ref.
917 * forkedcall.C: doxy fix
919 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
921 * lyxsum.C: compilation fix
923 2002-03-02 Herbert Voss <voss@perce.de>
925 * filetools.C: fix bug for xbm format and added some more debug
928 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
930 * forkedcontr.h: make constructor public
932 * types.h: remove layout_type
934 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
936 * filetools.C (getExtFromContents): cleanup.
938 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
940 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
942 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
943 building outside of source tree.
945 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
948 * forkedcontr.[Ch]: new files. Asger's forked call controller is
949 re-born, with a working timer and a modified interface. The
950 startscript method is now passed a Signal rather than a pointer
951 to a callback function. This enables us to connect to the method of
952 a C++ class, if we so desire.
954 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
956 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
961 * nt_defines.h: moved from src/
963 2002-02-23 Herbert Voss <voss@perce.de>
965 * filetools.C: added more graphic formats
967 2002-02-18 Herbert Voss <voss@perce.de>
969 * filetools.C: (getExtFromContents) return the fileextension
970 if no format is detected.
972 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
974 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
975 as class SystemCall because one Systemcall instance represents a
976 single child process.
979 * Makefile.am: associated changes.
981 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
983 * syscall.C (Systemcalls): include <cstdlib>
985 2002-02-08 Herbert Voss <voss@perce.de>
987 * filetools.C: (getExtFromContents) adding Grace-format
990 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
993 * syssingleton.C: files removed.
995 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
996 uses it. Strip down the Systemcalls interface to make it brutally
997 obvious how unsophisticated it is.
999 2002-02-08 Herbert Voss <voss@perce.de>
1001 * filetools.C: (getExtFromContents) adding TGIF-format
1002 and return type "user" when no type is detected
1004 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1006 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1008 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1010 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1012 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1014 * FileInfo.h: remove special cygwin code.
1016 * filetools.C (do_popen): use os::read_mode().
1018 * os_win32.C (read_mode):
1019 * os_os2.C (read_mode):
1020 * os_unix.C (read_mode): new method
1022 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1023 Hentschel). This code should maybe be moved to os:: class.
1025 2002-02-08 Herbert Voss <voss@perce.de>
1027 * filetools.C: (unzipFile) fix typo
1029 2002-02-06 Herbert Voss <voss@perce.de>
1031 * filetools.[Ch]: fix some bugs for detecting zipped files
1034 2002-02-04 Herbert Voss <voss@perce.de>
1036 * filetools.[Ch]: add ifZippedFile() for zipped
1039 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1041 * filetools.C (FileOpenSearch): remove duplicated line, probably
1042 resulting from bad cut-and paste.
1044 2002-01-31 Herbert Voss <voss@perce.de>
1046 * filetools.[Ch]: add getExtFromContents(), which returns
1047 the type of the (graphic) file
1049 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1051 * copy.C (copy): open file in binary mode (for cygwin)
1053 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1055 * lyxsum.C: remove #warnings and replaced them with runtime debug
1058 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1060 * lyxalgo.h: include <algorithm>
1062 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1064 * lyx_algo.h: add a standard-conforming count to namespace lyx.
1066 * lstrings.[Ch] (countChar): removed. Use lyx::count.
1068 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1070 * filetools.C: fix use of FileInfo
1073 * FileInfo.C: add Asserts and documentation
1075 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
1077 * os_win32.C: compilation fixes
1079 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1081 * lstrings.h: do not include <cctype>
1083 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1085 * lyxsum.C: portability fix for mmap patch
1087 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1091 * lyxstring.C: change "while(" to "while ("
1093 2001-12-03 Ben Stanley <bds02@uow.edu.au>
1095 * lyxsum.C: Added mmap version of CRC and made it selected
1096 by default where available. Used process_block for crc for speedup.
1098 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1100 * filetools.C: more robust failure for DirList()
1102 2001-11-29 André Pönitz <poenitz@gmx.net>
1104 * types.h: introduce types for textclass numbers and layout numbers
1106 2001-11-28 André Pönitz <poenitz@gmx.net>
1108 * Makefile.am: put types.h in
1110 2001-11-26 André Pönitz <poenitz@gmx.net>
1112 * types.h: introduce types for paragraph positions and layout numbers
1114 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1116 * filetools.C: remove dead code
1118 * syscall.C: show prog in fail case
1120 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1122 * filetools.C: code style cleanup
1124 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1126 * os.h: remove spurious punctuation.
1128 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1131 * LAssert.C: use new emergencyCleanup()
1133 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1135 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1136 like GNU gettext does.
1138 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1140 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1142 (findtexfile): oops! the change from last friday was wrong...
1144 * os_win32.C (is_absolute_path):
1145 * os_unix.C (is_absolute_path):
1146 * os_os2.C (is_absolute_path): new method
1148 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1150 * filetools.C (findtexfile): apply os::internal_path to the result.
1152 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1157 * os.h: add internal_path method, which converts a unix-type file
1158 name to the type known to the underlying file system (currently
1159 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1161 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1163 * smart_ptr.h: new file
1165 * utility.h: new file
1167 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1170 * filetools.C (IsDirWriteable): fix this
1172 2001-07-26 Baruch Even <baruch@lyx.org>
1174 * lyxlib.h (float_equal): Added function to compare floats almost equal
1175 (see function comment).
1177 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1179 Consistent use of Lsstream.h:
1180 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1182 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1184 * translator.h: (*it). -> it->
1186 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1188 * filetools.C (DeleteAllFilesInDir): send debug output to
1189 Debug::FILES instewad of Debug::ANY.
1191 * DebugStream.h: remove gcc 2.8.x hack.
1193 2001-06-26 The LyX Project <jug@sad.it>
1196 * lstrings.C (escape): move method to escape non ascii characters
1197 from insets label and ref to here.
1199 2001-06-25 The LyX Project <jug@sad.it>
1201 * filetools.C (IsLyXFilename):
1202 (IsSGMLFilename): do case insensitive name matching
1204 2001-06-24 The LyX Project <jug@sad.it>
1206 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1207 which only considers case of ascii characters
1209 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1212 2001-06-23 The LyX Project <jug@sad.it>
1214 * textutils.h (IsPrintable): take into account unprintable spaces
1216 (IsDigit): new function
1217 (IsLetterCharOrDigit): use IsDigit
1219 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1221 * filetools.C (findtexfile): strip final \r if necessary (for
1224 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1227 * StrPool.C: removed // -*- C++ -*- as first line.
1229 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1231 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1234 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1239 * LSubstring.C: bring C functions in global namespace if
1242 * lstrings.h (compare): use the std:: version of str[n]cmp only
1245 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1247 * syscontr.C: add std::
1249 * syscall.C: add std::
1251 * lstrings.h (compare): add std::
1253 * lstrings.C (prefixIs): add std::
1257 * LSubstring.C (LSubstring): add std::
1259 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1261 * lyxsum.C (sum): use istreambuf_iterator when available.
1263 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1265 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1268 * lyxstring.C (operator): make const operator[] behave as
1271 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1273 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1275 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1277 * filetools.C (MakeAbsPath): remove debugging statement
1279 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1281 * FileInfo.h: X_OK workaround for cygwin
1290 * filetools.h: Added os:: class.
1294 * tempname.C: OS/2 fixes
1296 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1298 * textutils.h: remvoe !NEW_INSETS cruft
1300 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1303 * atoi.C: add using directives when needed for C functions
1304 declared in std:: namespace.
1306 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1308 * lstrings.C : add two helper structs, local_lowercase and
1310 (lowercase): change to use std::transform
1311 (uppercase): change to use std::transform
1313 2001-04-25 Allan Rae <rae@lyx.org>
1315 * lyxstring.C : Assert got moved and Lars missed a few.
1317 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1319 * LAssert.h (Assert): put into namespace lyx
1321 * lyxfunctional.h: put into namespace lyx
1322 * translator.h: adjust
1324 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1326 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1328 * FileInfo.h: inherit privately from noncopyable
1331 2001-04-16 Allan Rae <rae@lyx.org>
1333 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1334 as an unrecognised preprocessor directive. So ensure they're wrapped.
1336 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1338 * several files: remove CXX_WORKING_NAMESPACES
1340 * FileInfo.h: noncopyable is in namespace boost
1343 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1345 * syscontr.h: fix header include
1347 2001-02-28 Baruch Even <baruch@ev-en.org>
1349 * filetools.C: Removed dependency on syscall.h
1352 * syscall.C: Minor cleanings before I start to touch this code.
1354 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1356 * filetools.C (CreateTmpDir): change umask to 0700.
1358 2001-02-27 José Matos <jamatos@fep.up.pt>
1360 * filetools.h (BasePath):
1361 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1363 * filetools.C (IsLyXFilename):
1364 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1367 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1371 * atoi.C: remove cruft
1373 2001-02-06 albert chin <china@thewrittenword.com>
1376 * fmt.C: use HAVE_DECL_SNPRINTF
1378 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1380 * lyxstring.C: Fix some assertions.
1382 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1384 * lstrings.C (strip): Add a fix for compilers with broken
1385 string::find_last_not_of.
1387 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1389 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1391 * lyxstring.C (rfind): Fix broken functions.
1392 (find): Few optimizations.