1 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * snprintf.[ch]: removed
5 * Makefile.am (libsupport_la_SOURCES): remove snprintf
7 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
9 * filetools.[Ch] (getExtFromContents): rename to
10 getFormatFromContents and return always a format
12 2004-10-25 Angus Leeming <leeming@lyx.org>
14 * forkedcall.C (generateChild): strip quotes from each argument
17 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
19 * pch.h: use proper signal include
21 * forkedcallqueue.C: remove unused include
23 * FileMonitor.h: Use the preferred calling for Boost.Signal
26 * FileMonitor.C: use the new signal typedef
28 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
30 * forkedcall.h: remove include of <boost/function/funtion0.hpp>
33 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * textutils.h (IsLetterCharOrDigit): remove
37 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * filetools.C (LibScriptSearch): quote the path of the script, in
40 case it contains spaces
42 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
44 * tostr.C: reimplement using lexical_cast
46 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
48 * pch.h: do not use include boost/format.hpp, multiple symbols
51 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
55 * Makefile.am: support pch
57 2004-08-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * globbing.C (FileFilterList): make sure that "All files (*)" is
60 always part of the filters list
62 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
64 * tostr.C, lstrings.C, globbing.C, filetools.C: change
65 "support/std_sstream.h" to <sstream>
67 * Makefile.am (libsupport_la_SOURCES): delete std_sstream.h and
69 (std_sstream.h): delete file
70 (sstream.h): delete file
72 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
74 * filetools.C (i18nLibFileSearch): honor case where LANGUAGE
75 specifies a list of locales (thanks to Pablo Saraxtaga for the
78 2004-05-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
80 * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
81 its po files when moved around; set default user directory to
82 ~/Library/Preferences/LyX/ for LyX/Mac.
83 (lyx_localedir): return the value that may have been computed in
86 2004-05-27 Kayvan Sylvan <kayvan@sylvan.com>
88 * Makefile.am (libsupport_la_SOURCES): remove reference to
91 2004-05-20 Angus Leeming <leeming@lyx.org>
93 * debugstream.h: wrap the definition of debug_trait::DEBUG with
94 preprocessor guards that protect against a name clash with a
95 macro DEBUG. Such a macro is defined by the Qt library...
97 2004-04-27 Angus Leeming <leeming@lyx.org>
99 * path_defines.{h,C.in}: expose top_srcdir, renamed from
102 2004-04-05 Angus Leeming <leeming@lyx.org>
105 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
107 2004-04-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
109 * filetools.C (RunCommand): block SIGCHLD during popen/pclose
110 (actually Angus' fix).
112 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
114 * filetools.C (DeleteAllFilesInDir): delete directories with
115 rmdir(), unlink() does not work
117 2004-03-27 Angus Leeming <leeming@lyx.org>
119 * forkedcontr.C (child_handler): squash warning about a
120 signed/unsigned comparison.
121 (handleCompletedProcesses): only output a warning about an error
122 waiting for the child if it is indeed an error ;-)
124 2004-03-26 Angus Leeming <leeming@lyx.org>
126 * forkedcall.[Ch] (run): new function, replacing runBlocking,
129 * forkedcall.C (generateChild): ensure that the code that splits
130 the command up into an array of words won't leak in the event of an
133 * forkedcontr.C: make it a little more robust.
135 2004-03-24 Angus Leeming <leeming@lyx.org>
137 * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
138 of child proccesses and ascertain whether any have died. Instead use
139 the SIGCHLD signal emitted by the system to reap these zombies in the
140 maximally efficient manner. The subsequent emitting of the signal
141 associated with each child process *is* performed within the main
142 lyx event loop, thus ensuring that the code remains safe.
144 A detailed description of the design is to be found in forkedcontr.C.
146 2004-03-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * filetools.C (i18nLibFileSearch): simplify the logic a bit
150 2004-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
152 * filetools.C (i18nLibFileSearch): fix the logic to match closely
155 2004-03-23 Angus Leeming <leeming@lyx.org>
157 * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
158 clone to return a boost::shred_ptr rather than a std::auto_ptr.
160 * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
163 2004-03-22 Angus Leeming <leeming@lyx.org>
165 * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
166 cruft left over from the removal of the Forks dialog.
168 2004-03-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
170 * filename.[Ch] (mangledFilename): make sure that mangled names are
173 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
176 remove pathfor argument
177 * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
178 harder to create a usable temp dir
179 * filetools.C (CreateTmpDir): rename to createTmpDir
180 filetools.[Ch] (unzipFile): add argument for output filename
181 * filename.h: fix doxygen warning
183 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
185 * lstrings.h (contains_functor): delete
186 (contains): change into template, simplify
188 * lstrings.C (contains): remove both functions
190 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
192 * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
195 * lstrings.h (contains_functor): inherit from
196 std::binary_function, remove typedefs.
198 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
200 * globbing.C: add using statement for std::distance, remove std::
203 2004-01-08 Angus Leeming <leeming@lyx.org>
205 * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
206 list of available file filters and generate the corresponding vector.
208 2003-12-14 Ronald Florence <ron@18james.com>
210 * tostr.[hC]: added tostr(long unsigned int i).
212 * path_defines.C.in: determine system directory and set PATH for
213 relocatable LyX/Mac bundle.
215 2004-01-06 Angus Leeming <leeming@lyx.org>
217 * globbing.C (glob): compilation fix for cygwin.
219 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
221 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
223 * BoostFormat.h: delete file
224 * boost-inst.C: delete fil
226 * lstrings.C: include boost/format.hpp
228 2004-01-05 Angus Leeming <leeming@lyx.org>
230 * globbing.[Ch]: new files containing some globbing utilities.
232 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
234 * putenv.C: allocate the string before putting it into the
239 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
241 * tempname.C (tempName): use scoped_array for exception safety
243 * os_os2.C (init): use scoped_array for exception safety
245 * getcwd.C (getcwd): use scoped_array for exception safety
247 * forkedcontr.C (addCall): adjust
249 * forkedcall.h: make clone return a auto_ptr
251 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
253 * debugstream.h: add a default constructor that does not setup a
256 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * socktools.C: honor CXX_GLOBAL_CSTD
260 2003-10-16 André Pönitz <poenitz@gmx.net>
262 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
263 using static variables.
265 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
267 * socktools.[Ch]: New files. Wrapper around socket system calls.
269 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
271 * socktools.C (SUN_LEN): add this MACRO definition for platforms
272 that do not define it themselves.
274 2003-10-08 Angus Leeming <leeming@lyx.org>
276 * copied_ptr.h: get rid of the swap member function.
278 2003-10-08 Angus Leeming <leeming@lyx.org>
280 Fix doxygen warnings.
282 * debugstream.h: \file debugStream.h -> \file debugstream.h
284 * os.h: move comment so that doxygen is not confused.
286 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
288 * Makefile.am: fix typo.
290 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
292 * std_string.h: delete file
294 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
296 * lstrings.C: Small fixes to build using STLport
298 2003-09-29 Angus Leeming <leeming@lyx.org>
300 * filetools.C (ReplaceEnvironmentPath): make it work for both
301 ${HOME}/foo and $HOME/foo.
303 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
305 * debugstream.h: add file, updated version of the DebugStream
307 * DebugStream.C,DebugStream.h: delete files
309 2003-09-25 Angus Leeming <leeming@lyx.org>
311 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
312 * lstrings.[Ch]: (regexMatch): removed.
314 2003-09-25 Angus Leeming <leeming@lyx.org>
316 * translator.h (add): new member function.
318 2003-09-16 Angus Leeming <leeming@lyx.org>
320 * textutils.h: remove #include "paragraph.h". Remove functions
321 IsInsetChar and IsWordChar.
323 2003-09-15 Angus Leeming <leeming@lyx.org>
325 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
326 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
327 his book as ValuePtr.
328 Use a memory_traits template parameter to create/destroy memory in a
331 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
335 * filetools.C: Remove usage of STRCONV
337 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
340 * std_string.h: modify to always work with std::string, but if
341 with-included-string then use it through namespace lyx. Remove
344 * lyxstring.[Ch]: remove files
346 2003-09-15 Angus Leeming <leeming@lyx.org>
348 * translator.h: add #include <boost/assert.hpp>, so that the
349 template is self-contained.
351 2003-09-11 Angus Leeming <leeming@lyx.org>
354 * copied_ptr.h: added to the repository. Maybe temporarily.
356 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
358 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
360 * several files: change Assert to BOOST_ASSERT
363 * LAssert.h: remove files
365 2003-09-08 Angus Leeming <leeming@lyx.org>
368 * filetools.C: tell the world where to find author contact details.
370 2003-09-08 Angus Leeming <leeming@lyx.org>
376 * lyxsum.C: remove redundant using directives.
378 2003-09-05 Angus Leeming <leeming@lyx.org>
380 * lstrings.C: small bformat fix
382 2003-09-05 Angus Leeming <leeming@lyx.org>
384 * std_istream.h: new file Just renaming of LIstream.h
385 * std_ostream.h: new file Just renaming of LIstream.h
386 * std_sstream.h: new file Just renaming of Lsstream.h
387 * std_string.h: new file Just renaming of LString.h
389 2003-09-05 Angus Leeming <leeming@lyx.org>
393 ensure that the header file can be compiled stand-alone.
395 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
397 * lstrings.[Ch] (bformat): add a variant taking two ints.
399 2003-09-04 Angus Leeming <leeming@lyx.org>
402 * filename.C: move #include "os.h" out of the header file.
404 2003-09-04 Angus Leeming <leeming@lyx.org>
406 * path.C (ctor, dtor): move out of line.
408 2003-09-03 Angus Leeming <leeming@lyx.org>
410 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
411 (mangledFilename): new function, returning a mangled version of the
412 absolute file name, suitable for use in the temp dir when, for example,
413 converting an image file to another format.
414 (isZipped, unzippedFilename): wrappers to global functions.
416 * filetools.[Ch] (copyFileToDir): removed.
417 (compare_timestamps): new function.
419 2003-09-03 Angus Leeming <leeming@lyx.org>
421 * translator.h: Assert is in namespace lyx::support...
423 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
425 * Makefile.am: do not install path_defines.C in includes
426 (COMPRESSION): mention gzstream.h here
428 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
430 * path_defines.C.in (setLyxPaths): re-introduce the code to check
431 whether lyx is run in place
432 (build_dir): renamed from build_lyxdir
433 (build_lyxdir): give this better semantics compatible with what
434 LibFileSearch expects.
436 2003-07-29 Angus Leeming <leeming@lyx.org>
438 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
439 defaults to string() because MakeRelPath can accept that.
441 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
443 * Makefile.am: conditionalize USE_COMPRESSION.
445 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
447 * filetools.C (getExtFromContents): correct magic for gzip and
450 * path_defines.[Ch]: move lyx_localedir out of anon namespace
452 * gzstream.h: new fileq
454 * gzstream.C: new file
456 2003-07-27 Angus Leeming <leeming@lyx.org>
458 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
459 user_lyxdir): are now functions, not global vars.
461 * Makefile.am: set build_lyxdir at make time.
463 2003-07-27 Angus Leeming <leeming@lyx.org>
465 * path_defines.{h,C.in}: new files. Store/set the various lyx
466 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
469 * Makefile.am: add some magic to enable the user to set the path to
470 the system-level lyx support files, the top of the lyx build tree
471 and the system-level lyx locale directory at _make_ time rather
474 * .cvsignore: add path_defines.C.
476 2003-07-26 Angus Leeming <leeming@lyx.org>
478 * os.h: remove irrelevant discussion of system_tempdir.
480 2003-07-21 Angus Leeming <leeming@lyx.org>
482 * filename.[Ch]: new files implementing class FileName.
483 * Makefile.am: add filename.[Ch].
485 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
487 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
488 not allow it (at least not in this form.)
490 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
492 * os_win32.C: put namespace os in lyx::support.
494 * lstrings.C (bformat): call Assert from correct namespace.
496 * introduce namespace lyx::support
498 2003-06-30 André Pönitz <poenitz@gmx.net>
501 * lstrings.C: re-enable --with-included-string
503 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
505 * filetools.h: fix some \param issue
507 * boost-inst.C: fix \file
509 * LAssert.h: fix \file
511 2003-06-20 Angus Leeming <leeming@lyx.org>
513 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
515 2003-06-18 Angus Leeming <leeming@lyx.org>
517 * many files: add the standard blurb, "This file is part of LyX" etc
519 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
521 * limited_stack.h: make it have a const_iterator, add begin, and
524 2003-06-10 Angus Leeming <leeming@lyx.org>
526 * filetools.C (copyFileToDir): ensure that temp files have unique names.
528 2003-06-04 André Pönitz <poenitz@gmx.net>
530 * limited_stack.h (top): return reference instead of value
532 2003-06-02 Angus Leeming <leeming@lyx.org>
534 * filetools.[Ch] (copyFileToDir): new helper function.
536 * os.h: remove trailing semi-colon from end of namespace os block.
538 2003-06-01 Angus Leeming <leeming@lyx.org>
540 * filetools.h (LibScriptSearch): give the function a meaningful
541 description of what it now does.
543 2003-05-30 Angus Leeming <leeming@lyx.org>
545 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
546 this with the path to the script. If the script is not found, the "$$s/"
549 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
551 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
554 2003-05-19 André Pönitz <poenitz@gmx.net>
556 * lstrings.C: add missing implementation of three-arg bformat
558 * lstrings.C: change rest of char * fmt -> string const & fmt
561 2003-05-15 André Pönitz <poenitz@gmx.net>
563 * lstrings.[Ch]: use string const & instead of char const * for format
565 2003-05-12 André Pönitz <poenitz@gmx.net>
567 * tostr.[Ch]: add long int overload
569 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
571 * lstrings.[Ch]: compile fix
573 2003-05-12 André Pönitz <poenitz@gmx.net>
575 * lstrings.[Ch]: bformat() as wrapper around boost::format
577 * lyxstring.h: enable templatized constructor
579 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
581 * limited_stack.h: Change some comments, simplify a couple of
584 2003-02-21 André Pönitz <poenitz@gmx.net>
586 * limited_stack.h: change underlying container to deque to
587 make this re-usable in mathed
589 2003-04-08 John Levon <levon@movementarian.org>
591 * filetools.C: fix MakeDisplayPath() to not
594 2003-03-30 John Levon <levon@movementarian.org>
598 * boost-inst.C: moved from src/
600 2003-03-29 John Levon <levon@movementarian.org>
603 * filetools.C: never call Alert directly from here
605 2003-03-12 John Levon <levon@movementarian.org>
607 * textutils.h: remove META_NEWLINE
609 2003-02-27 Ling Li <ling@caltech.edu>
611 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
614 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
616 * forkedcontr.C (timer): remove bogus continue
618 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
620 * forkedcallqueue.[Ch]: added
622 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
624 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
625 Emiting the signal can result in an arbitrary change to the list.
627 2003-02-25 Angus Leeming <leeming@lyx.org>
629 * forkedcontr.C (timer): Use a while loop rather than for; makes it
630 easier to erase an element.
632 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
634 * forkedcontr.C (timer): don't start a running timer.
636 2003-02-21 André Pönitz <poenitz@gmx.net>
638 * filetools.C (PutEnv): removed (unused)
640 2003-02-17 John Levon <levon@movementarian.org>
643 * forkedcall.C: add running()
645 2003-02-08 John Levon <levon@movementarian.org>
649 * lyxtime.C: add typedef for time_t, add current_time
655 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
657 * filetools.C (getExtFromContents): remove detection of epsi
659 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
661 * several files: ws changes
663 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
665 * filetools.C (DirList): remove all ugly hacks and do it nice
667 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
669 * lyxsum.C: an ugly hack to compile with non-gnu linkers
671 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
673 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
674 a solution that he likes and which actually works.
676 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
678 * lstrings.h (tostr): STRCONV
680 * lstrings.C (regexMatch): STRCONV
681 (getVectorFromString): STRCONV, manual copy into vector
683 * filetools.C (GetFileContents): STRCONV
685 * os.C: include config.h
687 * lstrings.C (getVectorFromString): rewrite to use
690 2002-10-31 Angus Leeming <leeming@lyx.org>
692 * forkedcall.C (generateChild): clean it up further.
694 2002-10-25 Angus Leeming <leeming@lyx.org>
696 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
697 and a minimal ForkedCall daughter class.
699 * forkedcontr.[Ch]: minimal changes reflecting the use of a
700 ForkedProcess base class responsible for launching all child proceses.
702 2002-09-25 Angus Leeming <leeming@lyx.org>
705 * LOstream.h: doxygen fixes.
707 2002-09-24 Angus Leeming <leeming@lyx.org>
709 * most files: clean-up the license info.
711 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
713 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
715 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
717 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
718 since at least for Cygwin, the "rb" read_mode acceptable for
719 fopen() is illegal for popen(), whose mode argument *must* be "r"
722 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
725 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
727 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
730 * smart_ptr.h: remove file
733 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
735 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
736 class_fun and void_class_fun
738 2002-08-20 John Levon <levon@movementarian.org>
743 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
745 * textutils.h: formatting.
747 2002-08-08 John Levon <levon@movementarian.org>
749 * limited_stack.h: default to 100 not 10
751 2002-08-01 John Levon <levon@movementarian.org>
753 * forkedcall.C: more details on error
755 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
757 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
758 also add a trim function that is the equiv of
759 strip(frontStrip(...)), also reimplement the functions
760 (improvements still possible.)
762 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
763 * forkedcall.C (generateChild): ditto
767 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
769 * filetools.C (GetEnvPath): modify because of strip changes
770 (createDirectory): ditto
772 * lstrings.[Ch] (isStrInt): ditto
773 (isStrUnsignedInt): ditto
775 (strToUnsignedInt): ditto
777 (contains): removed unneeded version of contains
778 (containsOnly): removed uneeded versions of containsOnly
779 (strip, frontStrip): removed unneded versions, changed argument types.
781 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
783 * filetools.C (RunCommand): Made public
785 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
787 * limited_stack.h: fix comment, remove un-needed header
789 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
791 * lstrings.h: correct comments for token and tokenPos
793 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
795 * lyxstring.C (operator>>): replace code which works only with
796 _some_ versions of GNU STL with generic one
798 2002-07-18 Angus Leeming <leeming@lyx.org>
800 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
801 signal should it do so.
803 * Makefile.am: add FileMonitor.[Ch].
805 2002-07-18 André Pönitz <poenitz@gmx.net>
807 * filetools.C (LibScriptSearch): bug fix
809 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
811 * filetools.C (LyXReadLink): add bool 'resolve' to return link
812 contents as an absolute path
814 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
816 * filetools.C (IsLyXFilename):
817 (IsSGMLFilename): use ascii_lowercase instead of lowercase
819 * lstrings.[Ch] (ascii_lowercase): new function
821 2002-07-16 André Pönitz <poenitz@gmx.net>
823 * FileInfo.Ch: remove unneeded code
825 2002-06-20 Herbert Voss <voss@perce.de>
827 * filetools.[C] (readExtFromContents): add support for
830 2002-06-26 André Pönitz <poenitz@gmx.net>
832 * filetools.[Ch]: small whitespace, more compact 'return' statement
834 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
836 * lyxalgo.h: add eliminate_duplicates
838 2002-06-17 Herbert Voss <voss@perce.de>
840 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
841 (readBB_lyxerrMessage) to get better lyxerr messages
842 (getExtFromContents) test epsi files in the right way
844 * DestroxLyXTmpDir.C: changed to true, to delete the
845 temporary unzipped files, too.
847 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
849 * putenv.C (putenv): putenv should never be found in std::
851 * kill.C (kill): kill should never be found in std::
853 * filetools.C: pclose and popen should never be found in std::
855 2002-06-07 Angus Leeming <leeming@lyx.org>
857 Fixes needed to compile with Compaq cxx 6.5.
858 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
859 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
860 more than one instance of overloaded function "lyx::class_fun" matches
870 all c-library variables have been moved into namespace std.
871 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
873 * kill.C: rename signal.h as csignal.
875 * putenv.C: rename stdlib.h as cstdlib
877 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
879 * lxtl.h: remove unused file
881 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
888 * StrPool.C: remove unused files
898 * types.h: document and small cleanups
900 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
902 * switch from SigC signals to boost::signals.
904 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
907 * limited_stack.h: new template for limited-size
910 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
912 * filetools.C: do not include LSubstring.h
914 * lstrings.C: change include order
915 (regexMatch): use boost regex get rid of LRegex and LSubstring
917 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
920 * LSubstring.h: remove file
925 * LSubstring.C: ditto
927 2002-05-24 Juergen Vigna <jug@sad.it>
929 * lyxsum.C: include local includes first (self containment)
931 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
933 * forkedcall.h: use more specific smart_ptr header.
935 * lyxsum.C: move some using declarations around.
937 2002-05-03 Herbert Voss <voss@perce.de>
939 * filetools.C (getExtFromContents): only print the first 60 chars of
940 the scanned-string when debugging.
942 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
944 * lyxstring.C: close to typo fix.
946 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
948 * filetools.C: add a using std::getline directive.
950 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
952 * lyxstring.C (operator>>): try a new version of the operator>>
954 2002-04-14 Herbert Voss <voss@perce.de>
956 * lstrings.[Ch]: move the getVectorFromString and the vice versa
957 from frontends/controllers/helper_funcs for better use in other
960 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
962 * tempname.C (make_tempfile): simplify the #ifdef block by using
963 #if defined and re-write the #warning as a #error because it's terminal.
965 2002-04-08 Herbert Voss <voss@perce.de>
967 * filetools.C (getExtFromContents): get tgif run
969 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
971 * filetools.C (getExtFromContents): re-format a little and remove
972 replicated "sgi" entry.
974 2002-04-07 Herbert Voss <voss@perce.de>
976 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
977 for the lyx-view in graphics (moved from ControlGraphics)
979 2002-04-07 Herbert Voss <voss@perce.de>
981 * filetools.C: fix bug for eps. scans now a whole line
983 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
985 * lyxstring.C (operator>>): use the better solution, this fixes a
986 "not able to read '\0'" bug.
988 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
990 * translator.h: add missing typename
992 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
994 * filetools.C (LibScriptSearch): new command. Searches for scripts
995 in lyx data directories.
996 (LibScriptSearch): try to use split() correctly.
998 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1000 * most files: ws cleanup
1002 * Makefile.am: remove ld -r stuff
1004 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1006 * Makefile.am (libsupport.la): special rules if partial linking
1008 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1010 * forkedcontr.C: turn the timer off when their are no longer any
1011 child processes running.
1013 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1015 * forkedcall.h: docy fix
1016 change SignalType second type to be const ref.
1018 * forkedcall.C: doxy fix
1020 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
1022 * lyxsum.C: compilation fix
1024 2002-03-02 Herbert Voss <voss@perce.de>
1026 * filetools.C: fix bug for xbm format and added some more debug
1029 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1031 * forkedcontr.h: make constructor public
1033 * types.h: remove layout_type
1035 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
1037 * filetools.C (getExtFromContents): cleanup.
1039 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
1041 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1043 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
1044 building outside of source tree.
1046 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1049 * forkedcontr.[Ch]: new files. Asger's forked call controller is
1050 re-born, with a working timer and a modified interface. The
1051 startscript method is now passed a Signal rather than a pointer
1052 to a callback function. This enables us to connect to the method of
1053 a C++ class, if we so desire.
1055 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
1057 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1062 * nt_defines.h: moved from src/
1064 2002-02-23 Herbert Voss <voss@perce.de>
1066 * filetools.C: added more graphic formats
1068 2002-02-18 Herbert Voss <voss@perce.de>
1070 * filetools.C: (getExtFromContents) return the fileextension
1071 if no format is detected.
1073 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1075 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
1076 as class SystemCall because one Systemcall instance represents a
1077 single child process.
1080 * Makefile.am: associated changes.
1082 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1084 * syscall.C (Systemcalls): include <cstdlib>
1086 2002-02-08 Herbert Voss <voss@perce.de>
1088 * filetools.C: (getExtFromContents) adding Grace-format
1091 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1094 * syssingleton.C: files removed.
1096 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
1097 uses it. Strip down the Systemcalls interface to make it brutally
1098 obvious how unsophisticated it is.
1100 2002-02-08 Herbert Voss <voss@perce.de>
1102 * filetools.C: (getExtFromContents) adding TGIF-format
1103 and return type "user" when no type is detected
1105 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1107 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1109 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1111 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1113 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1115 * FileInfo.h: remove special cygwin code.
1117 * filetools.C (do_popen): use os::read_mode().
1119 * os_win32.C (read_mode):
1120 * os_os2.C (read_mode):
1121 * os_unix.C (read_mode): new method
1123 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1124 Hentschel). This code should maybe be moved to os:: class.
1126 2002-02-08 Herbert Voss <voss@perce.de>
1128 * filetools.C: (unzipFile) fix typo
1130 2002-02-06 Herbert Voss <voss@perce.de>
1132 * filetools.[Ch]: fix some bugs for detecting zipped files
1135 2002-02-04 Herbert Voss <voss@perce.de>
1137 * filetools.[Ch]: add ifZippedFile() for zipped
1140 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1142 * filetools.C (FileOpenSearch): remove duplicated line, probably
1143 resulting from bad cut-and paste.
1145 2002-01-31 Herbert Voss <voss@perce.de>
1147 * filetools.[Ch]: add getExtFromContents(), which returns
1148 the type of the (graphic) file
1150 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1152 * copy.C (copy): open file in binary mode (for cygwin)
1154 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1156 * lyxsum.C: remove #warnings and replaced them with runtime debug
1159 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1161 * lyxalgo.h: include <algorithm>
1163 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1165 * lyx_algo.h: add a standard-conforming count to namespace lyx.
1167 * lstrings.[Ch] (countChar): removed. Use lyx::count.
1169 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1171 * filetools.C: fix use of FileInfo
1174 * FileInfo.C: add Asserts and documentation
1176 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
1178 * os_win32.C: compilation fixes
1180 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1182 * lstrings.h: do not include <cctype>
1184 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1186 * lyxsum.C: portability fix for mmap patch
1188 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1192 * lyxstring.C: change "while(" to "while ("
1194 2001-12-03 Ben Stanley <bds02@uow.edu.au>
1196 * lyxsum.C: Added mmap version of CRC and made it selected
1197 by default where available. Used process_block for crc for speedup.
1199 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1201 * filetools.C: more robust failure for DirList()
1203 2001-11-29 André Pönitz <poenitz@gmx.net>
1205 * types.h: introduce types for textclass numbers and layout numbers
1207 2001-11-28 André Pönitz <poenitz@gmx.net>
1209 * Makefile.am: put types.h in
1211 2001-11-26 André Pönitz <poenitz@gmx.net>
1213 * types.h: introduce types for paragraph positions and layout numbers
1215 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1217 * filetools.C: remove dead code
1219 * syscall.C: show prog in fail case
1221 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1223 * filetools.C: code style cleanup
1225 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1227 * os.h: remove spurious punctuation.
1229 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1232 * LAssert.C: use new emergencyCleanup()
1234 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1236 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1237 like GNU gettext does.
1239 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1241 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1243 (findtexfile): oops! the change from last friday was wrong...
1245 * os_win32.C (is_absolute_path):
1246 * os_unix.C (is_absolute_path):
1247 * os_os2.C (is_absolute_path): new method
1249 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1251 * filetools.C (findtexfile): apply os::internal_path to the result.
1253 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1258 * os.h: add internal_path method, which converts a unix-type file
1259 name to the type known to the underlying file system (currently
1260 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1262 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1264 * smart_ptr.h: new file
1266 * utility.h: new file
1268 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1271 * filetools.C (IsDirWriteable): fix this
1273 2001-07-26 Baruch Even <baruch@lyx.org>
1275 * lyxlib.h (float_equal): Added function to compare floats almost equal
1276 (see function comment).
1278 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1280 Consistent use of Lsstream.h:
1281 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1283 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1285 * translator.h: (*it). -> it->
1287 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1289 * filetools.C (DeleteAllFilesInDir): send debug output to
1290 Debug::FILES instewad of Debug::ANY.
1292 * DebugStream.h: remove gcc 2.8.x hack.
1294 2001-06-26 The LyX Project <jug@sad.it>
1297 * lstrings.C (escape): move method to escape non ascii characters
1298 from insets label and ref to here.
1300 2001-06-25 The LyX Project <jug@sad.it>
1302 * filetools.C (IsLyXFilename):
1303 (IsSGMLFilename): do case insensitive name matching
1305 2001-06-24 The LyX Project <jug@sad.it>
1307 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1308 which only considers case of ascii characters
1310 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1313 2001-06-23 The LyX Project <jug@sad.it>
1315 * textutils.h (IsPrintable): take into account unprintable spaces
1317 (IsDigit): new function
1318 (IsLetterCharOrDigit): use IsDigit
1320 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1322 * filetools.C (findtexfile): strip final \r if necessary (for
1325 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1328 * StrPool.C: removed // -*- C++ -*- as first line.
1330 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1332 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1335 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1340 * LSubstring.C: bring C functions in global namespace if
1343 * lstrings.h (compare): use the std:: version of str[n]cmp only
1346 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1348 * syscontr.C: add std::
1350 * syscall.C: add std::
1352 * lstrings.h (compare): add std::
1354 * lstrings.C (prefixIs): add std::
1358 * LSubstring.C (LSubstring): add std::
1360 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1362 * lyxsum.C (sum): use istreambuf_iterator when available.
1364 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1366 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1369 * lyxstring.C (operator): make const operator[] behave as
1372 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1374 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1376 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1378 * filetools.C (MakeAbsPath): remove debugging statement
1380 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1382 * FileInfo.h: X_OK workaround for cygwin
1391 * filetools.h: Added os:: class.
1395 * tempname.C: OS/2 fixes
1397 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1399 * textutils.h: remvoe !NEW_INSETS cruft
1401 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1404 * atoi.C: add using directives when needed for C functions
1405 declared in std:: namespace.
1407 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1409 * lstrings.C : add two helper structs, local_lowercase and
1411 (lowercase): change to use std::transform
1412 (uppercase): change to use std::transform
1414 2001-04-25 Allan Rae <rae@lyx.org>
1416 * lyxstring.C : Assert got moved and Lars missed a few.
1418 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1420 * LAssert.h (Assert): put into namespace lyx
1422 * lyxfunctional.h: put into namespace lyx
1423 * translator.h: adjust
1425 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1427 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1429 * FileInfo.h: inherit privately from noncopyable
1432 2001-04-16 Allan Rae <rae@lyx.org>
1434 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1435 as an unrecognised preprocessor directive. So ensure they're wrapped.
1437 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1439 * several files: remove CXX_WORKING_NAMESPACES
1441 * FileInfo.h: noncopyable is in namespace boost
1444 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1446 * syscontr.h: fix header include
1448 2001-02-28 Baruch Even <baruch@ev-en.org>
1450 * filetools.C: Removed dependency on syscall.h
1453 * syscall.C: Minor cleanings before I start to touch this code.
1455 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1457 * filetools.C (CreateTmpDir): change umask to 0700.
1459 2001-02-27 José Matos <jamatos@fep.up.pt>
1461 * filetools.h (BasePath):
1462 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1464 * filetools.C (IsLyXFilename):
1465 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1468 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1472 * atoi.C: remove cruft
1474 2001-02-06 albert chin <china@thewrittenword.com>
1477 * fmt.C: use HAVE_DECL_SNPRINTF
1479 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1481 * lyxstring.C: Fix some assertions.
1483 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1485 * lstrings.C (strip): Add a fix for compilers with broken
1486 string::find_last_not_of.
1488 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1490 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1492 * lyxstring.C (rfind): Fix broken functions.
1493 (find): Few optimizations.