1 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * lyxfunctional.h: delete back_inserter_fun functions and helper
6 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * snprintf.[ch]: removed
10 * Makefile.am (libsupport_la_SOURCES): remove snprintf
12 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
14 * filetools.[Ch] (getExtFromContents): rename to
15 getFormatFromContents and return always a format
17 2004-10-25 Angus Leeming <leeming@lyx.org>
19 * forkedcall.C (generateChild): strip quotes from each argument
22 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
24 * pch.h: use proper signal include
26 * forkedcallqueue.C: remove unused include
28 * FileMonitor.h: Use the preferred calling for Boost.Signal
31 * FileMonitor.C: use the new signal typedef
33 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
35 * forkedcall.h: remove include of <boost/function/funtion0.hpp>
38 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * textutils.h (IsLetterCharOrDigit): remove
42 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
44 * filetools.C (LibScriptSearch): quote the path of the script, in
45 case it contains spaces
47 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
49 * tostr.C: reimplement using lexical_cast
51 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
53 * pch.h: do not use include boost/format.hpp, multiple symbols
56 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
60 * Makefile.am: support pch
62 2004-08-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
64 * globbing.C (FileFilterList): make sure that "All files (*)" is
65 always part of the filters list
67 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
69 * tostr.C, lstrings.C, globbing.C, filetools.C: change
70 "support/std_sstream.h" to <sstream>
72 * Makefile.am (libsupport_la_SOURCES): delete std_sstream.h and
74 (std_sstream.h): delete file
75 (sstream.h): delete file
77 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * filetools.C (i18nLibFileSearch): honor case where LANGUAGE
80 specifies a list of locales (thanks to Pablo Saraxtaga for the
83 2004-05-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
85 * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
86 its po files when moved around; set default user directory to
87 ~/Library/Preferences/LyX/ for LyX/Mac.
88 (lyx_localedir): return the value that may have been computed in
91 2004-05-27 Kayvan Sylvan <kayvan@sylvan.com>
93 * Makefile.am (libsupport_la_SOURCES): remove reference to
96 2004-05-20 Angus Leeming <leeming@lyx.org>
98 * debugstream.h: wrap the definition of debug_trait::DEBUG with
99 preprocessor guards that protect against a name clash with a
100 macro DEBUG. Such a macro is defined by the Qt library...
102 2004-04-27 Angus Leeming <leeming@lyx.org>
104 * path_defines.{h,C.in}: expose top_srcdir, renamed from
107 2004-04-05 Angus Leeming <leeming@lyx.org>
110 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
112 2004-04-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
114 * filetools.C (RunCommand): block SIGCHLD during popen/pclose
115 (actually Angus' fix).
117 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
119 * filetools.C (DeleteAllFilesInDir): delete directories with
120 rmdir(), unlink() does not work
122 2004-03-27 Angus Leeming <leeming@lyx.org>
124 * forkedcontr.C (child_handler): squash warning about a
125 signed/unsigned comparison.
126 (handleCompletedProcesses): only output a warning about an error
127 waiting for the child if it is indeed an error ;-)
129 2004-03-26 Angus Leeming <leeming@lyx.org>
131 * forkedcall.[Ch] (run): new function, replacing runBlocking,
134 * forkedcall.C (generateChild): ensure that the code that splits
135 the command up into an array of words won't leak in the event of an
138 * forkedcontr.C: make it a little more robust.
140 2004-03-24 Angus Leeming <leeming@lyx.org>
142 * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
143 of child proccesses and ascertain whether any have died. Instead use
144 the SIGCHLD signal emitted by the system to reap these zombies in the
145 maximally efficient manner. The subsequent emitting of the signal
146 associated with each child process *is* performed within the main
147 lyx event loop, thus ensuring that the code remains safe.
149 A detailed description of the design is to be found in forkedcontr.C.
151 2004-03-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * filetools.C (i18nLibFileSearch): simplify the logic a bit
155 2004-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
157 * filetools.C (i18nLibFileSearch): fix the logic to match closely
160 2004-03-23 Angus Leeming <leeming@lyx.org>
162 * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
163 clone to return a boost::shred_ptr rather than a std::auto_ptr.
165 * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
168 2004-03-22 Angus Leeming <leeming@lyx.org>
170 * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
171 cruft left over from the removal of the Forks dialog.
173 2004-03-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * filename.[Ch] (mangledFilename): make sure that mangled names are
178 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
180 * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
181 remove pathfor argument
182 * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
183 harder to create a usable temp dir
184 * filetools.C (CreateTmpDir): rename to createTmpDir
185 filetools.[Ch] (unzipFile): add argument for output filename
186 * filename.h: fix doxygen warning
188 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
190 * lstrings.h (contains_functor): delete
191 (contains): change into template, simplify
193 * lstrings.C (contains): remove both functions
195 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
197 * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
200 * lstrings.h (contains_functor): inherit from
201 std::binary_function, remove typedefs.
203 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
205 * globbing.C: add using statement for std::distance, remove std::
208 2004-01-08 Angus Leeming <leeming@lyx.org>
210 * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
211 list of available file filters and generate the corresponding vector.
213 2003-12-14 Ronald Florence <ron@18james.com>
215 * tostr.[hC]: added tostr(long unsigned int i).
217 * path_defines.C.in: determine system directory and set PATH for
218 relocatable LyX/Mac bundle.
220 2004-01-06 Angus Leeming <leeming@lyx.org>
222 * globbing.C (glob): compilation fix for cygwin.
224 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
226 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
228 * BoostFormat.h: delete file
229 * boost-inst.C: delete fil
231 * lstrings.C: include boost/format.hpp
233 2004-01-05 Angus Leeming <leeming@lyx.org>
235 * globbing.[Ch]: new files containing some globbing utilities.
237 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
239 * putenv.C: allocate the string before putting it into the
244 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
246 * tempname.C (tempName): use scoped_array for exception safety
248 * os_os2.C (init): use scoped_array for exception safety
250 * getcwd.C (getcwd): use scoped_array for exception safety
252 * forkedcontr.C (addCall): adjust
254 * forkedcall.h: make clone return a auto_ptr
256 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
258 * debugstream.h: add a default constructor that does not setup a
261 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * socktools.C: honor CXX_GLOBAL_CSTD
265 2003-10-16 André Pönitz <poenitz@gmx.net>
267 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
268 using static variables.
270 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
272 * socktools.[Ch]: New files. Wrapper around socket system calls.
274 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
276 * socktools.C (SUN_LEN): add this MACRO definition for platforms
277 that do not define it themselves.
279 2003-10-08 Angus Leeming <leeming@lyx.org>
281 * copied_ptr.h: get rid of the swap member function.
283 2003-10-08 Angus Leeming <leeming@lyx.org>
285 Fix doxygen warnings.
287 * debugstream.h: \file debugStream.h -> \file debugstream.h
289 * os.h: move comment so that doxygen is not confused.
291 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
293 * Makefile.am: fix typo.
295 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
297 * std_string.h: delete file
299 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
301 * lstrings.C: Small fixes to build using STLport
303 2003-09-29 Angus Leeming <leeming@lyx.org>
305 * filetools.C (ReplaceEnvironmentPath): make it work for both
306 ${HOME}/foo and $HOME/foo.
308 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
310 * debugstream.h: add file, updated version of the DebugStream
312 * DebugStream.C,DebugStream.h: delete files
314 2003-09-25 Angus Leeming <leeming@lyx.org>
316 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
317 * lstrings.[Ch]: (regexMatch): removed.
319 2003-09-25 Angus Leeming <leeming@lyx.org>
321 * translator.h (add): new member function.
323 2003-09-16 Angus Leeming <leeming@lyx.org>
325 * textutils.h: remove #include "paragraph.h". Remove functions
326 IsInsetChar and IsWordChar.
328 2003-09-15 Angus Leeming <leeming@lyx.org>
330 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
331 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
332 his book as ValuePtr.
333 Use a memory_traits template parameter to create/destroy memory in a
336 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
340 * filetools.C: Remove usage of STRCONV
342 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
345 * std_string.h: modify to always work with std::string, but if
346 with-included-string then use it through namespace lyx. Remove
349 * lyxstring.[Ch]: remove files
351 2003-09-15 Angus Leeming <leeming@lyx.org>
353 * translator.h: add #include <boost/assert.hpp>, so that the
354 template is self-contained.
356 2003-09-11 Angus Leeming <leeming@lyx.org>
359 * copied_ptr.h: added to the repository. Maybe temporarily.
361 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
363 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
365 * several files: change Assert to BOOST_ASSERT
368 * LAssert.h: remove files
370 2003-09-08 Angus Leeming <leeming@lyx.org>
373 * filetools.C: tell the world where to find author contact details.
375 2003-09-08 Angus Leeming <leeming@lyx.org>
381 * lyxsum.C: remove redundant using directives.
383 2003-09-05 Angus Leeming <leeming@lyx.org>
385 * lstrings.C: small bformat fix
387 2003-09-05 Angus Leeming <leeming@lyx.org>
389 * std_istream.h: new file Just renaming of LIstream.h
390 * std_ostream.h: new file Just renaming of LIstream.h
391 * std_sstream.h: new file Just renaming of Lsstream.h
392 * std_string.h: new file Just renaming of LString.h
394 2003-09-05 Angus Leeming <leeming@lyx.org>
398 ensure that the header file can be compiled stand-alone.
400 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
402 * lstrings.[Ch] (bformat): add a variant taking two ints.
404 2003-09-04 Angus Leeming <leeming@lyx.org>
407 * filename.C: move #include "os.h" out of the header file.
409 2003-09-04 Angus Leeming <leeming@lyx.org>
411 * path.C (ctor, dtor): move out of line.
413 2003-09-03 Angus Leeming <leeming@lyx.org>
415 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
416 (mangledFilename): new function, returning a mangled version of the
417 absolute file name, suitable for use in the temp dir when, for example,
418 converting an image file to another format.
419 (isZipped, unzippedFilename): wrappers to global functions.
421 * filetools.[Ch] (copyFileToDir): removed.
422 (compare_timestamps): new function.
424 2003-09-03 Angus Leeming <leeming@lyx.org>
426 * translator.h: Assert is in namespace lyx::support...
428 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
430 * Makefile.am: do not install path_defines.C in includes
431 (COMPRESSION): mention gzstream.h here
433 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
435 * path_defines.C.in (setLyxPaths): re-introduce the code to check
436 whether lyx is run in place
437 (build_dir): renamed from build_lyxdir
438 (build_lyxdir): give this better semantics compatible with what
439 LibFileSearch expects.
441 2003-07-29 Angus Leeming <leeming@lyx.org>
443 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
444 defaults to string() because MakeRelPath can accept that.
446 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
448 * Makefile.am: conditionalize USE_COMPRESSION.
450 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
452 * filetools.C (getExtFromContents): correct magic for gzip and
455 * path_defines.[Ch]: move lyx_localedir out of anon namespace
457 * gzstream.h: new fileq
459 * gzstream.C: new file
461 2003-07-27 Angus Leeming <leeming@lyx.org>
463 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
464 user_lyxdir): are now functions, not global vars.
466 * Makefile.am: set build_lyxdir at make time.
468 2003-07-27 Angus Leeming <leeming@lyx.org>
470 * path_defines.{h,C.in}: new files. Store/set the various lyx
471 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
474 * Makefile.am: add some magic to enable the user to set the path to
475 the system-level lyx support files, the top of the lyx build tree
476 and the system-level lyx locale directory at _make_ time rather
479 * .cvsignore: add path_defines.C.
481 2003-07-26 Angus Leeming <leeming@lyx.org>
483 * os.h: remove irrelevant discussion of system_tempdir.
485 2003-07-21 Angus Leeming <leeming@lyx.org>
487 * filename.[Ch]: new files implementing class FileName.
488 * Makefile.am: add filename.[Ch].
490 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
492 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
493 not allow it (at least not in this form.)
495 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
497 * os_win32.C: put namespace os in lyx::support.
499 * lstrings.C (bformat): call Assert from correct namespace.
501 * introduce namespace lyx::support
503 2003-06-30 André Pönitz <poenitz@gmx.net>
506 * lstrings.C: re-enable --with-included-string
508 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
510 * filetools.h: fix some \param issue
512 * boost-inst.C: fix \file
514 * LAssert.h: fix \file
516 2003-06-20 Angus Leeming <leeming@lyx.org>
518 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
520 2003-06-18 Angus Leeming <leeming@lyx.org>
522 * many files: add the standard blurb, "This file is part of LyX" etc
524 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
526 * limited_stack.h: make it have a const_iterator, add begin, and
529 2003-06-10 Angus Leeming <leeming@lyx.org>
531 * filetools.C (copyFileToDir): ensure that temp files have unique names.
533 2003-06-04 André Pönitz <poenitz@gmx.net>
535 * limited_stack.h (top): return reference instead of value
537 2003-06-02 Angus Leeming <leeming@lyx.org>
539 * filetools.[Ch] (copyFileToDir): new helper function.
541 * os.h: remove trailing semi-colon from end of namespace os block.
543 2003-06-01 Angus Leeming <leeming@lyx.org>
545 * filetools.h (LibScriptSearch): give the function a meaningful
546 description of what it now does.
548 2003-05-30 Angus Leeming <leeming@lyx.org>
550 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
551 this with the path to the script. If the script is not found, the "$$s/"
554 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
556 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
559 2003-05-19 André Pönitz <poenitz@gmx.net>
561 * lstrings.C: add missing implementation of three-arg bformat
563 * lstrings.C: change rest of char * fmt -> string const & fmt
566 2003-05-15 André Pönitz <poenitz@gmx.net>
568 * lstrings.[Ch]: use string const & instead of char const * for format
570 2003-05-12 André Pönitz <poenitz@gmx.net>
572 * tostr.[Ch]: add long int overload
574 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
576 * lstrings.[Ch]: compile fix
578 2003-05-12 André Pönitz <poenitz@gmx.net>
580 * lstrings.[Ch]: bformat() as wrapper around boost::format
582 * lyxstring.h: enable templatized constructor
584 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
586 * limited_stack.h: Change some comments, simplify a couple of
589 2003-02-21 André Pönitz <poenitz@gmx.net>
591 * limited_stack.h: change underlying container to deque to
592 make this re-usable in mathed
594 2003-04-08 John Levon <levon@movementarian.org>
596 * filetools.C: fix MakeDisplayPath() to not
599 2003-03-30 John Levon <levon@movementarian.org>
603 * boost-inst.C: moved from src/
605 2003-03-29 John Levon <levon@movementarian.org>
608 * filetools.C: never call Alert directly from here
610 2003-03-12 John Levon <levon@movementarian.org>
612 * textutils.h: remove META_NEWLINE
614 2003-02-27 Ling Li <ling@caltech.edu>
616 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
619 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
621 * forkedcontr.C (timer): remove bogus continue
623 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
625 * forkedcallqueue.[Ch]: added
627 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
629 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
630 Emiting the signal can result in an arbitrary change to the list.
632 2003-02-25 Angus Leeming <leeming@lyx.org>
634 * forkedcontr.C (timer): Use a while loop rather than for; makes it
635 easier to erase an element.
637 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
639 * forkedcontr.C (timer): don't start a running timer.
641 2003-02-21 André Pönitz <poenitz@gmx.net>
643 * filetools.C (PutEnv): removed (unused)
645 2003-02-17 John Levon <levon@movementarian.org>
648 * forkedcall.C: add running()
650 2003-02-08 John Levon <levon@movementarian.org>
654 * lyxtime.C: add typedef for time_t, add current_time
660 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
662 * filetools.C (getExtFromContents): remove detection of epsi
664 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
666 * several files: ws changes
668 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
670 * filetools.C (DirList): remove all ugly hacks and do it nice
672 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
674 * lyxsum.C: an ugly hack to compile with non-gnu linkers
676 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
678 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
679 a solution that he likes and which actually works.
681 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
683 * lstrings.h (tostr): STRCONV
685 * lstrings.C (regexMatch): STRCONV
686 (getVectorFromString): STRCONV, manual copy into vector
688 * filetools.C (GetFileContents): STRCONV
690 * os.C: include config.h
692 * lstrings.C (getVectorFromString): rewrite to use
695 2002-10-31 Angus Leeming <leeming@lyx.org>
697 * forkedcall.C (generateChild): clean it up further.
699 2002-10-25 Angus Leeming <leeming@lyx.org>
701 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
702 and a minimal ForkedCall daughter class.
704 * forkedcontr.[Ch]: minimal changes reflecting the use of a
705 ForkedProcess base class responsible for launching all child proceses.
707 2002-09-25 Angus Leeming <leeming@lyx.org>
710 * LOstream.h: doxygen fixes.
712 2002-09-24 Angus Leeming <leeming@lyx.org>
714 * most files: clean-up the license info.
716 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
718 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
720 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
722 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
723 since at least for Cygwin, the "rb" read_mode acceptable for
724 fopen() is illegal for popen(), whose mode argument *must* be "r"
727 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
730 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
732 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
735 * smart_ptr.h: remove file
738 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
740 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
741 class_fun and void_class_fun
743 2002-08-20 John Levon <levon@movementarian.org>
748 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
750 * textutils.h: formatting.
752 2002-08-08 John Levon <levon@movementarian.org>
754 * limited_stack.h: default to 100 not 10
756 2002-08-01 John Levon <levon@movementarian.org>
758 * forkedcall.C: more details on error
760 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
762 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
763 also add a trim function that is the equiv of
764 strip(frontStrip(...)), also reimplement the functions
765 (improvements still possible.)
767 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
768 * forkedcall.C (generateChild): ditto
772 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
774 * filetools.C (GetEnvPath): modify because of strip changes
775 (createDirectory): ditto
777 * lstrings.[Ch] (isStrInt): ditto
778 (isStrUnsignedInt): ditto
780 (strToUnsignedInt): ditto
782 (contains): removed unneeded version of contains
783 (containsOnly): removed uneeded versions of containsOnly
784 (strip, frontStrip): removed unneded versions, changed argument types.
786 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
788 * filetools.C (RunCommand): Made public
790 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
792 * limited_stack.h: fix comment, remove un-needed header
794 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
796 * lstrings.h: correct comments for token and tokenPos
798 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
800 * lyxstring.C (operator>>): replace code which works only with
801 _some_ versions of GNU STL with generic one
803 2002-07-18 Angus Leeming <leeming@lyx.org>
805 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
806 signal should it do so.
808 * Makefile.am: add FileMonitor.[Ch].
810 2002-07-18 André Pönitz <poenitz@gmx.net>
812 * filetools.C (LibScriptSearch): bug fix
814 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
816 * filetools.C (LyXReadLink): add bool 'resolve' to return link
817 contents as an absolute path
819 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
821 * filetools.C (IsLyXFilename):
822 (IsSGMLFilename): use ascii_lowercase instead of lowercase
824 * lstrings.[Ch] (ascii_lowercase): new function
826 2002-07-16 André Pönitz <poenitz@gmx.net>
828 * FileInfo.Ch: remove unneeded code
830 2002-06-20 Herbert Voss <voss@perce.de>
832 * filetools.[C] (readExtFromContents): add support for
835 2002-06-26 André Pönitz <poenitz@gmx.net>
837 * filetools.[Ch]: small whitespace, more compact 'return' statement
839 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
841 * lyxalgo.h: add eliminate_duplicates
843 2002-06-17 Herbert Voss <voss@perce.de>
845 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
846 (readBB_lyxerrMessage) to get better lyxerr messages
847 (getExtFromContents) test epsi files in the right way
849 * DestroxLyXTmpDir.C: changed to true, to delete the
850 temporary unzipped files, too.
852 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
854 * putenv.C (putenv): putenv should never be found in std::
856 * kill.C (kill): kill should never be found in std::
858 * filetools.C: pclose and popen should never be found in std::
860 2002-06-07 Angus Leeming <leeming@lyx.org>
862 Fixes needed to compile with Compaq cxx 6.5.
863 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
864 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
865 more than one instance of overloaded function "lyx::class_fun" matches
875 all c-library variables have been moved into namespace std.
876 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
878 * kill.C: rename signal.h as csignal.
880 * putenv.C: rename stdlib.h as cstdlib
882 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
884 * lxtl.h: remove unused file
886 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
893 * StrPool.C: remove unused files
903 * types.h: document and small cleanups
905 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
907 * switch from SigC signals to boost::signals.
909 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
912 * limited_stack.h: new template for limited-size
915 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
917 * filetools.C: do not include LSubstring.h
919 * lstrings.C: change include order
920 (regexMatch): use boost regex get rid of LRegex and LSubstring
922 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
925 * LSubstring.h: remove file
930 * LSubstring.C: ditto
932 2002-05-24 Juergen Vigna <jug@sad.it>
934 * lyxsum.C: include local includes first (self containment)
936 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
938 * forkedcall.h: use more specific smart_ptr header.
940 * lyxsum.C: move some using declarations around.
942 2002-05-03 Herbert Voss <voss@perce.de>
944 * filetools.C (getExtFromContents): only print the first 60 chars of
945 the scanned-string when debugging.
947 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
949 * lyxstring.C: close to typo fix.
951 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
953 * filetools.C: add a using std::getline directive.
955 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
957 * lyxstring.C (operator>>): try a new version of the operator>>
959 2002-04-14 Herbert Voss <voss@perce.de>
961 * lstrings.[Ch]: move the getVectorFromString and the vice versa
962 from frontends/controllers/helper_funcs for better use in other
965 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
967 * tempname.C (make_tempfile): simplify the #ifdef block by using
968 #if defined and re-write the #warning as a #error because it's terminal.
970 2002-04-08 Herbert Voss <voss@perce.de>
972 * filetools.C (getExtFromContents): get tgif run
974 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
976 * filetools.C (getExtFromContents): re-format a little and remove
977 replicated "sgi" entry.
979 2002-04-07 Herbert Voss <voss@perce.de>
981 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
982 for the lyx-view in graphics (moved from ControlGraphics)
984 2002-04-07 Herbert Voss <voss@perce.de>
986 * filetools.C: fix bug for eps. scans now a whole line
988 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
990 * lyxstring.C (operator>>): use the better solution, this fixes a
991 "not able to read '\0'" bug.
993 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
995 * translator.h: add missing typename
997 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
999 * filetools.C (LibScriptSearch): new command. Searches for scripts
1000 in lyx data directories.
1001 (LibScriptSearch): try to use split() correctly.
1003 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1005 * most files: ws cleanup
1007 * Makefile.am: remove ld -r stuff
1009 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1011 * Makefile.am (libsupport.la): special rules if partial linking
1013 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1015 * forkedcontr.C: turn the timer off when their are no longer any
1016 child processes running.
1018 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1020 * forkedcall.h: docy fix
1021 change SignalType second type to be const ref.
1023 * forkedcall.C: doxy fix
1025 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
1027 * lyxsum.C: compilation fix
1029 2002-03-02 Herbert Voss <voss@perce.de>
1031 * filetools.C: fix bug for xbm format and added some more debug
1034 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1036 * forkedcontr.h: make constructor public
1038 * types.h: remove layout_type
1040 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
1042 * filetools.C (getExtFromContents): cleanup.
1044 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
1046 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1048 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
1049 building outside of source tree.
1051 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1054 * forkedcontr.[Ch]: new files. Asger's forked call controller is
1055 re-born, with a working timer and a modified interface. The
1056 startscript method is now passed a Signal rather than a pointer
1057 to a callback function. This enables us to connect to the method of
1058 a C++ class, if we so desire.
1060 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
1062 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1067 * nt_defines.h: moved from src/
1069 2002-02-23 Herbert Voss <voss@perce.de>
1071 * filetools.C: added more graphic formats
1073 2002-02-18 Herbert Voss <voss@perce.de>
1075 * filetools.C: (getExtFromContents) return the fileextension
1076 if no format is detected.
1078 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1080 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
1081 as class SystemCall because one Systemcall instance represents a
1082 single child process.
1085 * Makefile.am: associated changes.
1087 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1089 * syscall.C (Systemcalls): include <cstdlib>
1091 2002-02-08 Herbert Voss <voss@perce.de>
1093 * filetools.C: (getExtFromContents) adding Grace-format
1096 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1099 * syssingleton.C: files removed.
1101 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
1102 uses it. Strip down the Systemcalls interface to make it brutally
1103 obvious how unsophisticated it is.
1105 2002-02-08 Herbert Voss <voss@perce.de>
1107 * filetools.C: (getExtFromContents) adding TGIF-format
1108 and return type "user" when no type is detected
1110 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1112 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1114 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1116 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1118 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1120 * FileInfo.h: remove special cygwin code.
1122 * filetools.C (do_popen): use os::read_mode().
1124 * os_win32.C (read_mode):
1125 * os_os2.C (read_mode):
1126 * os_unix.C (read_mode): new method
1128 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1129 Hentschel). This code should maybe be moved to os:: class.
1131 2002-02-08 Herbert Voss <voss@perce.de>
1133 * filetools.C: (unzipFile) fix typo
1135 2002-02-06 Herbert Voss <voss@perce.de>
1137 * filetools.[Ch]: fix some bugs for detecting zipped files
1140 2002-02-04 Herbert Voss <voss@perce.de>
1142 * filetools.[Ch]: add ifZippedFile() for zipped
1145 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1147 * filetools.C (FileOpenSearch): remove duplicated line, probably
1148 resulting from bad cut-and paste.
1150 2002-01-31 Herbert Voss <voss@perce.de>
1152 * filetools.[Ch]: add getExtFromContents(), which returns
1153 the type of the (graphic) file
1155 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1157 * copy.C (copy): open file in binary mode (for cygwin)
1159 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1161 * lyxsum.C: remove #warnings and replaced them with runtime debug
1164 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1166 * lyxalgo.h: include <algorithm>
1168 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1170 * lyx_algo.h: add a standard-conforming count to namespace lyx.
1172 * lstrings.[Ch] (countChar): removed. Use lyx::count.
1174 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1176 * filetools.C: fix use of FileInfo
1179 * FileInfo.C: add Asserts and documentation
1181 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
1183 * os_win32.C: compilation fixes
1185 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1187 * lstrings.h: do not include <cctype>
1189 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1191 * lyxsum.C: portability fix for mmap patch
1193 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1197 * lyxstring.C: change "while(" to "while ("
1199 2001-12-03 Ben Stanley <bds02@uow.edu.au>
1201 * lyxsum.C: Added mmap version of CRC and made it selected
1202 by default where available. Used process_block for crc for speedup.
1204 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1206 * filetools.C: more robust failure for DirList()
1208 2001-11-29 André Pönitz <poenitz@gmx.net>
1210 * types.h: introduce types for textclass numbers and layout numbers
1212 2001-11-28 André Pönitz <poenitz@gmx.net>
1214 * Makefile.am: put types.h in
1216 2001-11-26 André Pönitz <poenitz@gmx.net>
1218 * types.h: introduce types for paragraph positions and layout numbers
1220 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1222 * filetools.C: remove dead code
1224 * syscall.C: show prog in fail case
1226 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1228 * filetools.C: code style cleanup
1230 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1232 * os.h: remove spurious punctuation.
1234 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1237 * LAssert.C: use new emergencyCleanup()
1239 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1241 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1242 like GNU gettext does.
1244 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1246 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1248 (findtexfile): oops! the change from last friday was wrong...
1250 * os_win32.C (is_absolute_path):
1251 * os_unix.C (is_absolute_path):
1252 * os_os2.C (is_absolute_path): new method
1254 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1256 * filetools.C (findtexfile): apply os::internal_path to the result.
1258 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1263 * os.h: add internal_path method, which converts a unix-type file
1264 name to the type known to the underlying file system (currently
1265 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1267 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1269 * smart_ptr.h: new file
1271 * utility.h: new file
1273 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1276 * filetools.C (IsDirWriteable): fix this
1278 2001-07-26 Baruch Even <baruch@lyx.org>
1280 * lyxlib.h (float_equal): Added function to compare floats almost equal
1281 (see function comment).
1283 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1285 Consistent use of Lsstream.h:
1286 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1288 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1290 * translator.h: (*it). -> it->
1292 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1294 * filetools.C (DeleteAllFilesInDir): send debug output to
1295 Debug::FILES instewad of Debug::ANY.
1297 * DebugStream.h: remove gcc 2.8.x hack.
1299 2001-06-26 The LyX Project <jug@sad.it>
1302 * lstrings.C (escape): move method to escape non ascii characters
1303 from insets label and ref to here.
1305 2001-06-25 The LyX Project <jug@sad.it>
1307 * filetools.C (IsLyXFilename):
1308 (IsSGMLFilename): do case insensitive name matching
1310 2001-06-24 The LyX Project <jug@sad.it>
1312 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1313 which only considers case of ascii characters
1315 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1318 2001-06-23 The LyX Project <jug@sad.it>
1320 * textutils.h (IsPrintable): take into account unprintable spaces
1322 (IsDigit): new function
1323 (IsLetterCharOrDigit): use IsDigit
1325 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1327 * filetools.C (findtexfile): strip final \r if necessary (for
1330 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1333 * StrPool.C: removed // -*- C++ -*- as first line.
1335 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1337 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1340 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1345 * LSubstring.C: bring C functions in global namespace if
1348 * lstrings.h (compare): use the std:: version of str[n]cmp only
1351 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1353 * syscontr.C: add std::
1355 * syscall.C: add std::
1357 * lstrings.h (compare): add std::
1359 * lstrings.C (prefixIs): add std::
1363 * LSubstring.C (LSubstring): add std::
1365 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1367 * lyxsum.C (sum): use istreambuf_iterator when available.
1369 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1371 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1374 * lyxstring.C (operator): make const operator[] behave as
1377 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1379 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1381 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1383 * filetools.C (MakeAbsPath): remove debugging statement
1385 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1387 * FileInfo.h: X_OK workaround for cygwin
1396 * filetools.h: Added os:: class.
1400 * tempname.C: OS/2 fixes
1402 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1404 * textutils.h: remvoe !NEW_INSETS cruft
1406 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1409 * atoi.C: add using directives when needed for C functions
1410 declared in std:: namespace.
1412 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1414 * lstrings.C : add two helper structs, local_lowercase and
1416 (lowercase): change to use std::transform
1417 (uppercase): change to use std::transform
1419 2001-04-25 Allan Rae <rae@lyx.org>
1421 * lyxstring.C : Assert got moved and Lars missed a few.
1423 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1425 * LAssert.h (Assert): put into namespace lyx
1427 * lyxfunctional.h: put into namespace lyx
1428 * translator.h: adjust
1430 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1432 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1434 * FileInfo.h: inherit privately from noncopyable
1437 2001-04-16 Allan Rae <rae@lyx.org>
1439 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1440 as an unrecognised preprocessor directive. So ensure they're wrapped.
1442 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1444 * several files: remove CXX_WORKING_NAMESPACES
1446 * FileInfo.h: noncopyable is in namespace boost
1449 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1451 * syscontr.h: fix header include
1453 2001-02-28 Baruch Even <baruch@ev-en.org>
1455 * filetools.C: Removed dependency on syscall.h
1458 * syscall.C: Minor cleanings before I start to touch this code.
1460 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1462 * filetools.C (CreateTmpDir): change umask to 0700.
1464 2001-02-27 José Matos <jamatos@fep.up.pt>
1466 * filetools.h (BasePath):
1467 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1469 * filetools.C (IsLyXFilename):
1470 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1473 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1477 * atoi.C: remove cruft
1479 2001-02-06 albert chin <china@thewrittenword.com>
1482 * fmt.C: use HAVE_DECL_SNPRINTF
1484 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1486 * lyxstring.C: Fix some assertions.
1488 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1490 * lstrings.C (strip): Add a fix for compilers with broken
1491 string::find_last_not_of.
1493 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1495 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1497 * lyxstring.C (rfind): Fix broken functions.
1498 (find): Few optimizations.