1 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * tostr.C, lstrings.C, globbing.C, filetools.C: change
4 "support/std_sstream.h" to <sstream>
6 * Makefile.am (libsupport_la_SOURCES): delete std_sstream.h and
8 (std_sstream.h): delete file
9 (sstream.h): delete file
11 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * filetools.C (i18nLibFileSearch): honor case where LANGUAGE
14 specifies a list of locales (thanks to Pablo Saraxtaga for the
17 2004-05-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
20 its po files when moved around; set default user directory to
21 ~/Library/Preferences/LyX/ for LyX/Mac.
22 (lyx_localedir): return the value that may have been computed in
25 2004-05-27 Kayvan Sylvan <kayvan@sylvan.com>
27 * Makefile.am (libsupport_la_SOURCES): remove reference to
30 2004-05-20 Angus Leeming <leeming@lyx.org>
32 * debugstream.h: wrap the definition of debug_trait::DEBUG with
33 preprocessor guards that protect against a name clash with a
34 macro DEBUG. Such a macro is defined by the Qt library...
36 2004-04-27 Angus Leeming <leeming@lyx.org>
38 * path_defines.{h,C.in}: expose top_srcdir, renamed from
41 2004-04-05 Angus Leeming <leeming@lyx.org>
44 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
46 2004-04-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
48 * filetools.C (RunCommand): block SIGCHLD during popen/pclose
49 (actually Angus' fix).
51 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * filetools.C (DeleteAllFilesInDir): delete directories with
54 rmdir(), unlink() does not work
56 2004-03-27 Angus Leeming <leeming@lyx.org>
58 * forkedcontr.C (child_handler): squash warning about a
59 signed/unsigned comparison.
60 (handleCompletedProcesses): only output a warning about an error
61 waiting for the child if it is indeed an error ;-)
63 2004-03-26 Angus Leeming <leeming@lyx.org>
65 * forkedcall.[Ch] (run): new function, replacing runBlocking,
68 * forkedcall.C (generateChild): ensure that the code that splits
69 the command up into an array of words won't leak in the event of an
72 * forkedcontr.C: make it a little more robust.
74 2004-03-24 Angus Leeming <leeming@lyx.org>
76 * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
77 of child proccesses and ascertain whether any have died. Instead use
78 the SIGCHLD signal emitted by the system to reap these zombies in the
79 maximally efficient manner. The subsequent emitting of the signal
80 associated with each child process *is* performed within the main
81 lyx event loop, thus ensuring that the code remains safe.
83 A detailed description of the design is to be found in forkedcontr.C.
85 2004-03-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * filetools.C (i18nLibFileSearch): simplify the logic a bit
89 2004-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * filetools.C (i18nLibFileSearch): fix the logic to match closely
94 2004-03-23 Angus Leeming <leeming@lyx.org>
96 * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
97 clone to return a boost::shred_ptr rather than a std::auto_ptr.
99 * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
102 2004-03-22 Angus Leeming <leeming@lyx.org>
104 * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
105 cruft left over from the removal of the Forks dialog.
107 2004-03-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * filename.[Ch] (mangledFilename): make sure that mangled names are
112 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
114 * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
115 remove pathfor argument
116 * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
117 harder to create a usable temp dir
118 * filetools.C (CreateTmpDir): rename to createTmpDir
119 filetools.[Ch] (unzipFile): add argument for output filename
120 * filename.h: fix doxygen warning
122 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
124 * lstrings.h (contains_functor): delete
125 (contains): change into template, simplify
127 * lstrings.C (contains): remove both functions
129 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
131 * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
134 * lstrings.h (contains_functor): inherit from
135 std::binary_function, remove typedefs.
137 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
139 * globbing.C: add using statement for std::distance, remove std::
142 2004-01-08 Angus Leeming <leeming@lyx.org>
144 * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
145 list of available file filters and generate the corresponding vector.
147 2003-12-14 Ronald Florence <ron@18james.com>
149 * tostr.[hC]: added tostr(long unsigned int i).
151 * path_defines.C.in: determine system directory and set PATH for
152 relocatable LyX/Mac bundle.
154 2004-01-06 Angus Leeming <leeming@lyx.org>
156 * globbing.C (glob): compilation fix for cygwin.
158 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
160 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
162 * BoostFormat.h: delete file
163 * boost-inst.C: delete fil
165 * lstrings.C: include boost/format.hpp
167 2004-01-05 Angus Leeming <leeming@lyx.org>
169 * globbing.[Ch]: new files containing some globbing utilities.
171 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
173 * putenv.C: allocate the string before putting it into the
178 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
180 * tempname.C (tempName): use scoped_array for exception safety
182 * os_os2.C (init): use scoped_array for exception safety
184 * getcwd.C (getcwd): use scoped_array for exception safety
186 * forkedcontr.C (addCall): adjust
188 * forkedcall.h: make clone return a auto_ptr
190 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
192 * debugstream.h: add a default constructor that does not setup a
195 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * socktools.C: honor CXX_GLOBAL_CSTD
199 2003-10-16 André Pönitz <poenitz@gmx.net>
201 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
202 using static variables.
204 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
206 * socktools.[Ch]: New files. Wrapper around socket system calls.
208 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
210 * socktools.C (SUN_LEN): add this MACRO definition for platforms
211 that do not define it themselves.
213 2003-10-08 Angus Leeming <leeming@lyx.org>
215 * copied_ptr.h: get rid of the swap member function.
217 2003-10-08 Angus Leeming <leeming@lyx.org>
219 Fix doxygen warnings.
221 * debugstream.h: \file debugStream.h -> \file debugstream.h
223 * os.h: move comment so that doxygen is not confused.
225 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
227 * Makefile.am: fix typo.
229 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
231 * std_string.h: delete file
233 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
235 * lstrings.C: Small fixes to build using STLport
237 2003-09-29 Angus Leeming <leeming@lyx.org>
239 * filetools.C (ReplaceEnvironmentPath): make it work for both
240 ${HOME}/foo and $HOME/foo.
242 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
244 * debugstream.h: add file, updated version of the DebugStream
246 * DebugStream.C,DebugStream.h: delete files
248 2003-09-25 Angus Leeming <leeming@lyx.org>
250 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
251 * lstrings.[Ch]: (regexMatch): removed.
253 2003-09-25 Angus Leeming <leeming@lyx.org>
255 * translator.h (add): new member function.
257 2003-09-16 Angus Leeming <leeming@lyx.org>
259 * textutils.h: remove #include "paragraph.h". Remove functions
260 IsInsetChar and IsWordChar.
262 2003-09-15 Angus Leeming <leeming@lyx.org>
264 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
265 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
266 his book as ValuePtr.
267 Use a memory_traits template parameter to create/destroy memory in a
270 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
274 * filetools.C: Remove usage of STRCONV
276 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
279 * std_string.h: modify to always work with std::string, but if
280 with-included-string then use it through namespace lyx. Remove
283 * lyxstring.[Ch]: remove files
285 2003-09-15 Angus Leeming <leeming@lyx.org>
287 * translator.h: add #include <boost/assert.hpp>, so that the
288 template is self-contained.
290 2003-09-11 Angus Leeming <leeming@lyx.org>
293 * copied_ptr.h: added to the repository. Maybe temporarily.
295 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
297 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
299 * several files: change Assert to BOOST_ASSERT
302 * LAssert.h: remove files
304 2003-09-08 Angus Leeming <leeming@lyx.org>
307 * filetools.C: tell the world where to find author contact details.
309 2003-09-08 Angus Leeming <leeming@lyx.org>
315 * lyxsum.C: remove redundant using directives.
317 2003-09-05 Angus Leeming <leeming@lyx.org>
319 * lstrings.C: small bformat fix
321 2003-09-05 Angus Leeming <leeming@lyx.org>
323 * std_istream.h: new file Just renaming of LIstream.h
324 * std_ostream.h: new file Just renaming of LIstream.h
325 * std_sstream.h: new file Just renaming of Lsstream.h
326 * std_string.h: new file Just renaming of LString.h
328 2003-09-05 Angus Leeming <leeming@lyx.org>
332 ensure that the header file can be compiled stand-alone.
334 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
336 * lstrings.[Ch] (bformat): add a variant taking two ints.
338 2003-09-04 Angus Leeming <leeming@lyx.org>
341 * filename.C: move #include "os.h" out of the header file.
343 2003-09-04 Angus Leeming <leeming@lyx.org>
345 * path.C (ctor, dtor): move out of line.
347 2003-09-03 Angus Leeming <leeming@lyx.org>
349 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
350 (mangledFilename): new function, returning a mangled version of the
351 absolute file name, suitable for use in the temp dir when, for example,
352 converting an image file to another format.
353 (isZipped, unzippedFilename): wrappers to global functions.
355 * filetools.[Ch] (copyFileToDir): removed.
356 (compare_timestamps): new function.
358 2003-09-03 Angus Leeming <leeming@lyx.org>
360 * translator.h: Assert is in namespace lyx::support...
362 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
364 * Makefile.am: do not install path_defines.C in includes
365 (COMPRESSION): mention gzstream.h here
367 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * path_defines.C.in (setLyxPaths): re-introduce the code to check
370 whether lyx is run in place
371 (build_dir): renamed from build_lyxdir
372 (build_lyxdir): give this better semantics compatible with what
373 LibFileSearch expects.
375 2003-07-29 Angus Leeming <leeming@lyx.org>
377 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
378 defaults to string() because MakeRelPath can accept that.
380 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
382 * Makefile.am: conditionalize USE_COMPRESSION.
384 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
386 * filetools.C (getExtFromContents): correct magic for gzip and
389 * path_defines.[Ch]: move lyx_localedir out of anon namespace
391 * gzstream.h: new fileq
393 * gzstream.C: new file
395 2003-07-27 Angus Leeming <leeming@lyx.org>
397 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
398 user_lyxdir): are now functions, not global vars.
400 * Makefile.am: set build_lyxdir at make time.
402 2003-07-27 Angus Leeming <leeming@lyx.org>
404 * path_defines.{h,C.in}: new files. Store/set the various lyx
405 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
408 * Makefile.am: add some magic to enable the user to set the path to
409 the system-level lyx support files, the top of the lyx build tree
410 and the system-level lyx locale directory at _make_ time rather
413 * .cvsignore: add path_defines.C.
415 2003-07-26 Angus Leeming <leeming@lyx.org>
417 * os.h: remove irrelevant discussion of system_tempdir.
419 2003-07-21 Angus Leeming <leeming@lyx.org>
421 * filename.[Ch]: new files implementing class FileName.
422 * Makefile.am: add filename.[Ch].
424 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
426 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
427 not allow it (at least not in this form.)
429 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
431 * os_win32.C: put namespace os in lyx::support.
433 * lstrings.C (bformat): call Assert from correct namespace.
435 * introduce namespace lyx::support
437 2003-06-30 André Pönitz <poenitz@gmx.net>
440 * lstrings.C: re-enable --with-included-string
442 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
444 * filetools.h: fix some \param issue
446 * boost-inst.C: fix \file
448 * LAssert.h: fix \file
450 2003-06-20 Angus Leeming <leeming@lyx.org>
452 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
454 2003-06-18 Angus Leeming <leeming@lyx.org>
456 * many files: add the standard blurb, "This file is part of LyX" etc
458 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
460 * limited_stack.h: make it have a const_iterator, add begin, and
463 2003-06-10 Angus Leeming <leeming@lyx.org>
465 * filetools.C (copyFileToDir): ensure that temp files have unique names.
467 2003-06-04 André Pönitz <poenitz@gmx.net>
469 * limited_stack.h (top): return reference instead of value
471 2003-06-02 Angus Leeming <leeming@lyx.org>
473 * filetools.[Ch] (copyFileToDir): new helper function.
475 * os.h: remove trailing semi-colon from end of namespace os block.
477 2003-06-01 Angus Leeming <leeming@lyx.org>
479 * filetools.h (LibScriptSearch): give the function a meaningful
480 description of what it now does.
482 2003-05-30 Angus Leeming <leeming@lyx.org>
484 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
485 this with the path to the script. If the script is not found, the "$$s/"
488 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
490 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
493 2003-05-19 André Pönitz <poenitz@gmx.net>
495 * lstrings.C: add missing implementation of three-arg bformat
497 * lstrings.C: change rest of char * fmt -> string const & fmt
500 2003-05-15 André Pönitz <poenitz@gmx.net>
502 * lstrings.[Ch]: use string const & instead of char const * for format
504 2003-05-12 André Pönitz <poenitz@gmx.net>
506 * tostr.[Ch]: add long int overload
508 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
510 * lstrings.[Ch]: compile fix
512 2003-05-12 André Pönitz <poenitz@gmx.net>
514 * lstrings.[Ch]: bformat() as wrapper around boost::format
516 * lyxstring.h: enable templatized constructor
518 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
520 * limited_stack.h: Change some comments, simplify a couple of
523 2003-02-21 André Pönitz <poenitz@gmx.net>
525 * limited_stack.h: change underlying container to deque to
526 make this re-usable in mathed
528 2003-04-08 John Levon <levon@movementarian.org>
530 * filetools.C: fix MakeDisplayPath() to not
533 2003-03-30 John Levon <levon@movementarian.org>
537 * boost-inst.C: moved from src/
539 2003-03-29 John Levon <levon@movementarian.org>
542 * filetools.C: never call Alert directly from here
544 2003-03-12 John Levon <levon@movementarian.org>
546 * textutils.h: remove META_NEWLINE
548 2003-02-27 Ling Li <ling@caltech.edu>
550 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
553 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
555 * forkedcontr.C (timer): remove bogus continue
557 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
559 * forkedcallqueue.[Ch]: added
561 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
563 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
564 Emiting the signal can result in an arbitrary change to the list.
566 2003-02-25 Angus Leeming <leeming@lyx.org>
568 * forkedcontr.C (timer): Use a while loop rather than for; makes it
569 easier to erase an element.
571 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
573 * forkedcontr.C (timer): don't start a running timer.
575 2003-02-21 André Pönitz <poenitz@gmx.net>
577 * filetools.C (PutEnv): removed (unused)
579 2003-02-17 John Levon <levon@movementarian.org>
582 * forkedcall.C: add running()
584 2003-02-08 John Levon <levon@movementarian.org>
588 * lyxtime.C: add typedef for time_t, add current_time
594 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
596 * filetools.C (getExtFromContents): remove detection of epsi
598 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
600 * several files: ws changes
602 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
604 * filetools.C (DirList): remove all ugly hacks and do it nice
606 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
608 * lyxsum.C: an ugly hack to compile with non-gnu linkers
610 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
612 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
613 a solution that he likes and which actually works.
615 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
617 * lstrings.h (tostr): STRCONV
619 * lstrings.C (regexMatch): STRCONV
620 (getVectorFromString): STRCONV, manual copy into vector
622 * filetools.C (GetFileContents): STRCONV
624 * os.C: include config.h
626 * lstrings.C (getVectorFromString): rewrite to use
629 2002-10-31 Angus Leeming <leeming@lyx.org>
631 * forkedcall.C (generateChild): clean it up further.
633 2002-10-25 Angus Leeming <leeming@lyx.org>
635 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
636 and a minimal ForkedCall daughter class.
638 * forkedcontr.[Ch]: minimal changes reflecting the use of a
639 ForkedProcess base class responsible for launching all child proceses.
641 2002-09-25 Angus Leeming <leeming@lyx.org>
644 * LOstream.h: doxygen fixes.
646 2002-09-24 Angus Leeming <leeming@lyx.org>
648 * most files: clean-up the license info.
650 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
652 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
654 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
656 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
657 since at least for Cygwin, the "rb" read_mode acceptable for
658 fopen() is illegal for popen(), whose mode argument *must* be "r"
661 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
664 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
666 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
669 * smart_ptr.h: remove file
672 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
674 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
675 class_fun and void_class_fun
677 2002-08-20 John Levon <levon@movementarian.org>
682 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
684 * textutils.h: formatting.
686 2002-08-08 John Levon <levon@movementarian.org>
688 * limited_stack.h: default to 100 not 10
690 2002-08-01 John Levon <levon@movementarian.org>
692 * forkedcall.C: more details on error
694 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
696 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
697 also add a trim function that is the equiv of
698 strip(frontStrip(...)), also reimplement the functions
699 (improvements still possible.)
701 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
702 * forkedcall.C (generateChild): ditto
706 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
708 * filetools.C (GetEnvPath): modify because of strip changes
709 (createDirectory): ditto
711 * lstrings.[Ch] (isStrInt): ditto
712 (isStrUnsignedInt): ditto
714 (strToUnsignedInt): ditto
716 (contains): removed unneeded version of contains
717 (containsOnly): removed uneeded versions of containsOnly
718 (strip, frontStrip): removed unneded versions, changed argument types.
720 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
722 * filetools.C (RunCommand): Made public
724 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
726 * limited_stack.h: fix comment, remove un-needed header
728 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
730 * lstrings.h: correct comments for token and tokenPos
732 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
734 * lyxstring.C (operator>>): replace code which works only with
735 _some_ versions of GNU STL with generic one
737 2002-07-18 Angus Leeming <leeming@lyx.org>
739 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
740 signal should it do so.
742 * Makefile.am: add FileMonitor.[Ch].
744 2002-07-18 André Pönitz <poenitz@gmx.net>
746 * filetools.C (LibScriptSearch): bug fix
748 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
750 * filetools.C (LyXReadLink): add bool 'resolve' to return link
751 contents as an absolute path
753 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
755 * filetools.C (IsLyXFilename):
756 (IsSGMLFilename): use ascii_lowercase instead of lowercase
758 * lstrings.[Ch] (ascii_lowercase): new function
760 2002-07-16 André Pönitz <poenitz@gmx.net>
762 * FileInfo.Ch: remove unneeded code
764 2002-06-20 Herbert Voss <voss@perce.de>
766 * filetools.[C] (readExtFromContents): add support for
769 2002-06-26 André Pönitz <poenitz@gmx.net>
771 * filetools.[Ch]: small whitespace, more compact 'return' statement
773 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
775 * lyxalgo.h: add eliminate_duplicates
777 2002-06-17 Herbert Voss <voss@perce.de>
779 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
780 (readBB_lyxerrMessage) to get better lyxerr messages
781 (getExtFromContents) test epsi files in the right way
783 * DestroxLyXTmpDir.C: changed to true, to delete the
784 temporary unzipped files, too.
786 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
788 * putenv.C (putenv): putenv should never be found in std::
790 * kill.C (kill): kill should never be found in std::
792 * filetools.C: pclose and popen should never be found in std::
794 2002-06-07 Angus Leeming <leeming@lyx.org>
796 Fixes needed to compile with Compaq cxx 6.5.
797 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
798 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
799 more than one instance of overloaded function "lyx::class_fun" matches
809 all c-library variables have been moved into namespace std.
810 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
812 * kill.C: rename signal.h as csignal.
814 * putenv.C: rename stdlib.h as cstdlib
816 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
818 * lxtl.h: remove unused file
820 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
827 * StrPool.C: remove unused files
837 * types.h: document and small cleanups
839 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
841 * switch from SigC signals to boost::signals.
843 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
846 * limited_stack.h: new template for limited-size
849 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
851 * filetools.C: do not include LSubstring.h
853 * lstrings.C: change include order
854 (regexMatch): use boost regex get rid of LRegex and LSubstring
856 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
859 * LSubstring.h: remove file
864 * LSubstring.C: ditto
866 2002-05-24 Juergen Vigna <jug@sad.it>
868 * lyxsum.C: include local includes first (self containment)
870 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
872 * forkedcall.h: use more specific smart_ptr header.
874 * lyxsum.C: move some using declarations around.
876 2002-05-03 Herbert Voss <voss@perce.de>
878 * filetools.C (getExtFromContents): only print the first 60 chars of
879 the scanned-string when debugging.
881 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
883 * lyxstring.C: close to typo fix.
885 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
887 * filetools.C: add a using std::getline directive.
889 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
891 * lyxstring.C (operator>>): try a new version of the operator>>
893 2002-04-14 Herbert Voss <voss@perce.de>
895 * lstrings.[Ch]: move the getVectorFromString and the vice versa
896 from frontends/controllers/helper_funcs for better use in other
899 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
901 * tempname.C (make_tempfile): simplify the #ifdef block by using
902 #if defined and re-write the #warning as a #error because it's terminal.
904 2002-04-08 Herbert Voss <voss@perce.de>
906 * filetools.C (getExtFromContents): get tgif run
908 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
910 * filetools.C (getExtFromContents): re-format a little and remove
911 replicated "sgi" entry.
913 2002-04-07 Herbert Voss <voss@perce.de>
915 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
916 for the lyx-view in graphics (moved from ControlGraphics)
918 2002-04-07 Herbert Voss <voss@perce.de>
920 * filetools.C: fix bug for eps. scans now a whole line
922 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
924 * lyxstring.C (operator>>): use the better solution, this fixes a
925 "not able to read '\0'" bug.
927 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
929 * translator.h: add missing typename
931 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
933 * filetools.C (LibScriptSearch): new command. Searches for scripts
934 in lyx data directories.
935 (LibScriptSearch): try to use split() correctly.
937 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
939 * most files: ws cleanup
941 * Makefile.am: remove ld -r stuff
943 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
945 * Makefile.am (libsupport.la): special rules if partial linking
947 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
949 * forkedcontr.C: turn the timer off when their are no longer any
950 child processes running.
952 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
954 * forkedcall.h: docy fix
955 change SignalType second type to be const ref.
957 * forkedcall.C: doxy fix
959 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
961 * lyxsum.C: compilation fix
963 2002-03-02 Herbert Voss <voss@perce.de>
965 * filetools.C: fix bug for xbm format and added some more debug
968 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
970 * forkedcontr.h: make constructor public
972 * types.h: remove layout_type
974 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
976 * filetools.C (getExtFromContents): cleanup.
978 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
980 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
982 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
983 building outside of source tree.
985 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
988 * forkedcontr.[Ch]: new files. Asger's forked call controller is
989 re-born, with a working timer and a modified interface. The
990 startscript method is now passed a Signal rather than a pointer
991 to a callback function. This enables us to connect to the method of
992 a C++ class, if we so desire.
994 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
996 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1001 * nt_defines.h: moved from src/
1003 2002-02-23 Herbert Voss <voss@perce.de>
1005 * filetools.C: added more graphic formats
1007 2002-02-18 Herbert Voss <voss@perce.de>
1009 * filetools.C: (getExtFromContents) return the fileextension
1010 if no format is detected.
1012 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1014 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
1015 as class SystemCall because one Systemcall instance represents a
1016 single child process.
1019 * Makefile.am: associated changes.
1021 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1023 * syscall.C (Systemcalls): include <cstdlib>
1025 2002-02-08 Herbert Voss <voss@perce.de>
1027 * filetools.C: (getExtFromContents) adding Grace-format
1030 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1033 * syssingleton.C: files removed.
1035 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
1036 uses it. Strip down the Systemcalls interface to make it brutally
1037 obvious how unsophisticated it is.
1039 2002-02-08 Herbert Voss <voss@perce.de>
1041 * filetools.C: (getExtFromContents) adding TGIF-format
1042 and return type "user" when no type is detected
1044 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1046 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1048 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1050 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1052 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1054 * FileInfo.h: remove special cygwin code.
1056 * filetools.C (do_popen): use os::read_mode().
1058 * os_win32.C (read_mode):
1059 * os_os2.C (read_mode):
1060 * os_unix.C (read_mode): new method
1062 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1063 Hentschel). This code should maybe be moved to os:: class.
1065 2002-02-08 Herbert Voss <voss@perce.de>
1067 * filetools.C: (unzipFile) fix typo
1069 2002-02-06 Herbert Voss <voss@perce.de>
1071 * filetools.[Ch]: fix some bugs for detecting zipped files
1074 2002-02-04 Herbert Voss <voss@perce.de>
1076 * filetools.[Ch]: add ifZippedFile() for zipped
1079 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1081 * filetools.C (FileOpenSearch): remove duplicated line, probably
1082 resulting from bad cut-and paste.
1084 2002-01-31 Herbert Voss <voss@perce.de>
1086 * filetools.[Ch]: add getExtFromContents(), which returns
1087 the type of the (graphic) file
1089 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1091 * copy.C (copy): open file in binary mode (for cygwin)
1093 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1095 * lyxsum.C: remove #warnings and replaced them with runtime debug
1098 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1100 * lyxalgo.h: include <algorithm>
1102 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1104 * lyx_algo.h: add a standard-conforming count to namespace lyx.
1106 * lstrings.[Ch] (countChar): removed. Use lyx::count.
1108 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1110 * filetools.C: fix use of FileInfo
1113 * FileInfo.C: add Asserts and documentation
1115 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
1117 * os_win32.C: compilation fixes
1119 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1121 * lstrings.h: do not include <cctype>
1123 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1125 * lyxsum.C: portability fix for mmap patch
1127 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1131 * lyxstring.C: change "while(" to "while ("
1133 2001-12-03 Ben Stanley <bds02@uow.edu.au>
1135 * lyxsum.C: Added mmap version of CRC and made it selected
1136 by default where available. Used process_block for crc for speedup.
1138 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1140 * filetools.C: more robust failure for DirList()
1142 2001-11-29 André Pönitz <poenitz@gmx.net>
1144 * types.h: introduce types for textclass numbers and layout numbers
1146 2001-11-28 André Pönitz <poenitz@gmx.net>
1148 * Makefile.am: put types.h in
1150 2001-11-26 André Pönitz <poenitz@gmx.net>
1152 * types.h: introduce types for paragraph positions and layout numbers
1154 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1156 * filetools.C: remove dead code
1158 * syscall.C: show prog in fail case
1160 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1162 * filetools.C: code style cleanup
1164 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1166 * os.h: remove spurious punctuation.
1168 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1171 * LAssert.C: use new emergencyCleanup()
1173 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1175 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1176 like GNU gettext does.
1178 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1180 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1182 (findtexfile): oops! the change from last friday was wrong...
1184 * os_win32.C (is_absolute_path):
1185 * os_unix.C (is_absolute_path):
1186 * os_os2.C (is_absolute_path): new method
1188 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1190 * filetools.C (findtexfile): apply os::internal_path to the result.
1192 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1197 * os.h: add internal_path method, which converts a unix-type file
1198 name to the type known to the underlying file system (currently
1199 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1201 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1203 * smart_ptr.h: new file
1205 * utility.h: new file
1207 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1210 * filetools.C (IsDirWriteable): fix this
1212 2001-07-26 Baruch Even <baruch@lyx.org>
1214 * lyxlib.h (float_equal): Added function to compare floats almost equal
1215 (see function comment).
1217 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1219 Consistent use of Lsstream.h:
1220 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1222 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1224 * translator.h: (*it). -> it->
1226 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1228 * filetools.C (DeleteAllFilesInDir): send debug output to
1229 Debug::FILES instewad of Debug::ANY.
1231 * DebugStream.h: remove gcc 2.8.x hack.
1233 2001-06-26 The LyX Project <jug@sad.it>
1236 * lstrings.C (escape): move method to escape non ascii characters
1237 from insets label and ref to here.
1239 2001-06-25 The LyX Project <jug@sad.it>
1241 * filetools.C (IsLyXFilename):
1242 (IsSGMLFilename): do case insensitive name matching
1244 2001-06-24 The LyX Project <jug@sad.it>
1246 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1247 which only considers case of ascii characters
1249 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1252 2001-06-23 The LyX Project <jug@sad.it>
1254 * textutils.h (IsPrintable): take into account unprintable spaces
1256 (IsDigit): new function
1257 (IsLetterCharOrDigit): use IsDigit
1259 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1261 * filetools.C (findtexfile): strip final \r if necessary (for
1264 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1267 * StrPool.C: removed // -*- C++ -*- as first line.
1269 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1271 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1274 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1279 * LSubstring.C: bring C functions in global namespace if
1282 * lstrings.h (compare): use the std:: version of str[n]cmp only
1285 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1287 * syscontr.C: add std::
1289 * syscall.C: add std::
1291 * lstrings.h (compare): add std::
1293 * lstrings.C (prefixIs): add std::
1297 * LSubstring.C (LSubstring): add std::
1299 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1301 * lyxsum.C (sum): use istreambuf_iterator when available.
1303 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1305 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1308 * lyxstring.C (operator): make const operator[] behave as
1311 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1313 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1315 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1317 * filetools.C (MakeAbsPath): remove debugging statement
1319 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1321 * FileInfo.h: X_OK workaround for cygwin
1330 * filetools.h: Added os:: class.
1334 * tempname.C: OS/2 fixes
1336 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1338 * textutils.h: remvoe !NEW_INSETS cruft
1340 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1343 * atoi.C: add using directives when needed for C functions
1344 declared in std:: namespace.
1346 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1348 * lstrings.C : add two helper structs, local_lowercase and
1350 (lowercase): change to use std::transform
1351 (uppercase): change to use std::transform
1353 2001-04-25 Allan Rae <rae@lyx.org>
1355 * lyxstring.C : Assert got moved and Lars missed a few.
1357 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1359 * LAssert.h (Assert): put into namespace lyx
1361 * lyxfunctional.h: put into namespace lyx
1362 * translator.h: adjust
1364 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1366 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1368 * FileInfo.h: inherit privately from noncopyable
1371 2001-04-16 Allan Rae <rae@lyx.org>
1373 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1374 as an unrecognised preprocessor directive. So ensure they're wrapped.
1376 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1378 * several files: remove CXX_WORKING_NAMESPACES
1380 * FileInfo.h: noncopyable is in namespace boost
1383 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1385 * syscontr.h: fix header include
1387 2001-02-28 Baruch Even <baruch@ev-en.org>
1389 * filetools.C: Removed dependency on syscall.h
1392 * syscall.C: Minor cleanings before I start to touch this code.
1394 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1396 * filetools.C (CreateTmpDir): change umask to 0700.
1398 2001-02-27 José Matos <jamatos@fep.up.pt>
1400 * filetools.h (BasePath):
1401 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1403 * filetools.C (IsLyXFilename):
1404 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1407 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1411 * atoi.C: remove cruft
1413 2001-02-06 albert chin <china@thewrittenword.com>
1416 * fmt.C: use HAVE_DECL_SNPRINTF
1418 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1420 * lyxstring.C: Fix some assertions.
1422 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1424 * lstrings.C (strip): Add a fix for compilers with broken
1425 string::find_last_not_of.
1427 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1429 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1431 * lyxstring.C (rfind): Fix broken functions.
1432 (find): Few optimizations.