1 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * textutils.h (IsLetterCharOrDigit): remove
5 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * filetools.C (LibScriptSearch): quote the path of the script, in
8 case it contains spaces
10 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
12 * tostr.C: reimplement using lexical_cast
14 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
16 * pch.h: do not use include boost/format.hpp, multiple symbols
19 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
23 * Makefile.am: support pch
25 2004-08-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * globbing.C (FileFilterList): make sure that "All files (*)" is
28 always part of the filters list
30 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
32 * tostr.C, lstrings.C, globbing.C, filetools.C: change
33 "support/std_sstream.h" to <sstream>
35 * Makefile.am (libsupport_la_SOURCES): delete std_sstream.h and
37 (std_sstream.h): delete file
38 (sstream.h): delete file
40 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * filetools.C (i18nLibFileSearch): honor case where LANGUAGE
43 specifies a list of locales (thanks to Pablo Saraxtaga for the
46 2004-05-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
48 * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
49 its po files when moved around; set default user directory to
50 ~/Library/Preferences/LyX/ for LyX/Mac.
51 (lyx_localedir): return the value that may have been computed in
54 2004-05-27 Kayvan Sylvan <kayvan@sylvan.com>
56 * Makefile.am (libsupport_la_SOURCES): remove reference to
59 2004-05-20 Angus Leeming <leeming@lyx.org>
61 * debugstream.h: wrap the definition of debug_trait::DEBUG with
62 preprocessor guards that protect against a name clash with a
63 macro DEBUG. Such a macro is defined by the Qt library...
65 2004-04-27 Angus Leeming <leeming@lyx.org>
67 * path_defines.{h,C.in}: expose top_srcdir, renamed from
70 2004-04-05 Angus Leeming <leeming@lyx.org>
73 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
75 2004-04-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
77 * filetools.C (RunCommand): block SIGCHLD during popen/pclose
78 (actually Angus' fix).
80 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
82 * filetools.C (DeleteAllFilesInDir): delete directories with
83 rmdir(), unlink() does not work
85 2004-03-27 Angus Leeming <leeming@lyx.org>
87 * forkedcontr.C (child_handler): squash warning about a
88 signed/unsigned comparison.
89 (handleCompletedProcesses): only output a warning about an error
90 waiting for the child if it is indeed an error ;-)
92 2004-03-26 Angus Leeming <leeming@lyx.org>
94 * forkedcall.[Ch] (run): new function, replacing runBlocking,
97 * forkedcall.C (generateChild): ensure that the code that splits
98 the command up into an array of words won't leak in the event of an
101 * forkedcontr.C: make it a little more robust.
103 2004-03-24 Angus Leeming <leeming@lyx.org>
105 * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
106 of child proccesses and ascertain whether any have died. Instead use
107 the SIGCHLD signal emitted by the system to reap these zombies in the
108 maximally efficient manner. The subsequent emitting of the signal
109 associated with each child process *is* performed within the main
110 lyx event loop, thus ensuring that the code remains safe.
112 A detailed description of the design is to be found in forkedcontr.C.
114 2004-03-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
116 * filetools.C (i18nLibFileSearch): simplify the logic a bit
118 2004-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * filetools.C (i18nLibFileSearch): fix the logic to match closely
123 2004-03-23 Angus Leeming <leeming@lyx.org>
125 * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
126 clone to return a boost::shred_ptr rather than a std::auto_ptr.
128 * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
131 2004-03-22 Angus Leeming <leeming@lyx.org>
133 * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
134 cruft left over from the removal of the Forks dialog.
136 2004-03-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
138 * filename.[Ch] (mangledFilename): make sure that mangled names are
141 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
143 * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
144 remove pathfor argument
145 * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
146 harder to create a usable temp dir
147 * filetools.C (CreateTmpDir): rename to createTmpDir
148 filetools.[Ch] (unzipFile): add argument for output filename
149 * filename.h: fix doxygen warning
151 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
153 * lstrings.h (contains_functor): delete
154 (contains): change into template, simplify
156 * lstrings.C (contains): remove both functions
158 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
160 * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
163 * lstrings.h (contains_functor): inherit from
164 std::binary_function, remove typedefs.
166 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
168 * globbing.C: add using statement for std::distance, remove std::
171 2004-01-08 Angus Leeming <leeming@lyx.org>
173 * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
174 list of available file filters and generate the corresponding vector.
176 2003-12-14 Ronald Florence <ron@18james.com>
178 * tostr.[hC]: added tostr(long unsigned int i).
180 * path_defines.C.in: determine system directory and set PATH for
181 relocatable LyX/Mac bundle.
183 2004-01-06 Angus Leeming <leeming@lyx.org>
185 * globbing.C (glob): compilation fix for cygwin.
187 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
189 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
191 * BoostFormat.h: delete file
192 * boost-inst.C: delete fil
194 * lstrings.C: include boost/format.hpp
196 2004-01-05 Angus Leeming <leeming@lyx.org>
198 * globbing.[Ch]: new files containing some globbing utilities.
200 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
202 * putenv.C: allocate the string before putting it into the
207 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
209 * tempname.C (tempName): use scoped_array for exception safety
211 * os_os2.C (init): use scoped_array for exception safety
213 * getcwd.C (getcwd): use scoped_array for exception safety
215 * forkedcontr.C (addCall): adjust
217 * forkedcall.h: make clone return a auto_ptr
219 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
221 * debugstream.h: add a default constructor that does not setup a
224 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
226 * socktools.C: honor CXX_GLOBAL_CSTD
228 2003-10-16 André Pönitz <poenitz@gmx.net>
230 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
231 using static variables.
233 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
235 * socktools.[Ch]: New files. Wrapper around socket system calls.
237 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
239 * socktools.C (SUN_LEN): add this MACRO definition for platforms
240 that do not define it themselves.
242 2003-10-08 Angus Leeming <leeming@lyx.org>
244 * copied_ptr.h: get rid of the swap member function.
246 2003-10-08 Angus Leeming <leeming@lyx.org>
248 Fix doxygen warnings.
250 * debugstream.h: \file debugStream.h -> \file debugstream.h
252 * os.h: move comment so that doxygen is not confused.
254 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
256 * Makefile.am: fix typo.
258 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
260 * std_string.h: delete file
262 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
264 * lstrings.C: Small fixes to build using STLport
266 2003-09-29 Angus Leeming <leeming@lyx.org>
268 * filetools.C (ReplaceEnvironmentPath): make it work for both
269 ${HOME}/foo and $HOME/foo.
271 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
273 * debugstream.h: add file, updated version of the DebugStream
275 * DebugStream.C,DebugStream.h: delete files
277 2003-09-25 Angus Leeming <leeming@lyx.org>
279 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
280 * lstrings.[Ch]: (regexMatch): removed.
282 2003-09-25 Angus Leeming <leeming@lyx.org>
284 * translator.h (add): new member function.
286 2003-09-16 Angus Leeming <leeming@lyx.org>
288 * textutils.h: remove #include "paragraph.h". Remove functions
289 IsInsetChar and IsWordChar.
291 2003-09-15 Angus Leeming <leeming@lyx.org>
293 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
294 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
295 his book as ValuePtr.
296 Use a memory_traits template parameter to create/destroy memory in a
299 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
303 * filetools.C: Remove usage of STRCONV
305 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
308 * std_string.h: modify to always work with std::string, but if
309 with-included-string then use it through namespace lyx. Remove
312 * lyxstring.[Ch]: remove files
314 2003-09-15 Angus Leeming <leeming@lyx.org>
316 * translator.h: add #include <boost/assert.hpp>, so that the
317 template is self-contained.
319 2003-09-11 Angus Leeming <leeming@lyx.org>
322 * copied_ptr.h: added to the repository. Maybe temporarily.
324 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
326 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
328 * several files: change Assert to BOOST_ASSERT
331 * LAssert.h: remove files
333 2003-09-08 Angus Leeming <leeming@lyx.org>
336 * filetools.C: tell the world where to find author contact details.
338 2003-09-08 Angus Leeming <leeming@lyx.org>
344 * lyxsum.C: remove redundant using directives.
346 2003-09-05 Angus Leeming <leeming@lyx.org>
348 * lstrings.C: small bformat fix
350 2003-09-05 Angus Leeming <leeming@lyx.org>
352 * std_istream.h: new file Just renaming of LIstream.h
353 * std_ostream.h: new file Just renaming of LIstream.h
354 * std_sstream.h: new file Just renaming of Lsstream.h
355 * std_string.h: new file Just renaming of LString.h
357 2003-09-05 Angus Leeming <leeming@lyx.org>
361 ensure that the header file can be compiled stand-alone.
363 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
365 * lstrings.[Ch] (bformat): add a variant taking two ints.
367 2003-09-04 Angus Leeming <leeming@lyx.org>
370 * filename.C: move #include "os.h" out of the header file.
372 2003-09-04 Angus Leeming <leeming@lyx.org>
374 * path.C (ctor, dtor): move out of line.
376 2003-09-03 Angus Leeming <leeming@lyx.org>
378 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
379 (mangledFilename): new function, returning a mangled version of the
380 absolute file name, suitable for use in the temp dir when, for example,
381 converting an image file to another format.
382 (isZipped, unzippedFilename): wrappers to global functions.
384 * filetools.[Ch] (copyFileToDir): removed.
385 (compare_timestamps): new function.
387 2003-09-03 Angus Leeming <leeming@lyx.org>
389 * translator.h: Assert is in namespace lyx::support...
391 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
393 * Makefile.am: do not install path_defines.C in includes
394 (COMPRESSION): mention gzstream.h here
396 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * path_defines.C.in (setLyxPaths): re-introduce the code to check
399 whether lyx is run in place
400 (build_dir): renamed from build_lyxdir
401 (build_lyxdir): give this better semantics compatible with what
402 LibFileSearch expects.
404 2003-07-29 Angus Leeming <leeming@lyx.org>
406 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
407 defaults to string() because MakeRelPath can accept that.
409 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
411 * Makefile.am: conditionalize USE_COMPRESSION.
413 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
415 * filetools.C (getExtFromContents): correct magic for gzip and
418 * path_defines.[Ch]: move lyx_localedir out of anon namespace
420 * gzstream.h: new fileq
422 * gzstream.C: new file
424 2003-07-27 Angus Leeming <leeming@lyx.org>
426 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
427 user_lyxdir): are now functions, not global vars.
429 * Makefile.am: set build_lyxdir at make time.
431 2003-07-27 Angus Leeming <leeming@lyx.org>
433 * path_defines.{h,C.in}: new files. Store/set the various lyx
434 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
437 * Makefile.am: add some magic to enable the user to set the path to
438 the system-level lyx support files, the top of the lyx build tree
439 and the system-level lyx locale directory at _make_ time rather
442 * .cvsignore: add path_defines.C.
444 2003-07-26 Angus Leeming <leeming@lyx.org>
446 * os.h: remove irrelevant discussion of system_tempdir.
448 2003-07-21 Angus Leeming <leeming@lyx.org>
450 * filename.[Ch]: new files implementing class FileName.
451 * Makefile.am: add filename.[Ch].
453 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
455 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
456 not allow it (at least not in this form.)
458 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
460 * os_win32.C: put namespace os in lyx::support.
462 * lstrings.C (bformat): call Assert from correct namespace.
464 * introduce namespace lyx::support
466 2003-06-30 André Pönitz <poenitz@gmx.net>
469 * lstrings.C: re-enable --with-included-string
471 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
473 * filetools.h: fix some \param issue
475 * boost-inst.C: fix \file
477 * LAssert.h: fix \file
479 2003-06-20 Angus Leeming <leeming@lyx.org>
481 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
483 2003-06-18 Angus Leeming <leeming@lyx.org>
485 * many files: add the standard blurb, "This file is part of LyX" etc
487 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
489 * limited_stack.h: make it have a const_iterator, add begin, and
492 2003-06-10 Angus Leeming <leeming@lyx.org>
494 * filetools.C (copyFileToDir): ensure that temp files have unique names.
496 2003-06-04 André Pönitz <poenitz@gmx.net>
498 * limited_stack.h (top): return reference instead of value
500 2003-06-02 Angus Leeming <leeming@lyx.org>
502 * filetools.[Ch] (copyFileToDir): new helper function.
504 * os.h: remove trailing semi-colon from end of namespace os block.
506 2003-06-01 Angus Leeming <leeming@lyx.org>
508 * filetools.h (LibScriptSearch): give the function a meaningful
509 description of what it now does.
511 2003-05-30 Angus Leeming <leeming@lyx.org>
513 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
514 this with the path to the script. If the script is not found, the "$$s/"
517 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
519 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
522 2003-05-19 André Pönitz <poenitz@gmx.net>
524 * lstrings.C: add missing implementation of three-arg bformat
526 * lstrings.C: change rest of char * fmt -> string const & fmt
529 2003-05-15 André Pönitz <poenitz@gmx.net>
531 * lstrings.[Ch]: use string const & instead of char const * for format
533 2003-05-12 André Pönitz <poenitz@gmx.net>
535 * tostr.[Ch]: add long int overload
537 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
539 * lstrings.[Ch]: compile fix
541 2003-05-12 André Pönitz <poenitz@gmx.net>
543 * lstrings.[Ch]: bformat() as wrapper around boost::format
545 * lyxstring.h: enable templatized constructor
547 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
549 * limited_stack.h: Change some comments, simplify a couple of
552 2003-02-21 André Pönitz <poenitz@gmx.net>
554 * limited_stack.h: change underlying container to deque to
555 make this re-usable in mathed
557 2003-04-08 John Levon <levon@movementarian.org>
559 * filetools.C: fix MakeDisplayPath() to not
562 2003-03-30 John Levon <levon@movementarian.org>
566 * boost-inst.C: moved from src/
568 2003-03-29 John Levon <levon@movementarian.org>
571 * filetools.C: never call Alert directly from here
573 2003-03-12 John Levon <levon@movementarian.org>
575 * textutils.h: remove META_NEWLINE
577 2003-02-27 Ling Li <ling@caltech.edu>
579 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
582 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
584 * forkedcontr.C (timer): remove bogus continue
586 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
588 * forkedcallqueue.[Ch]: added
590 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
592 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
593 Emiting the signal can result in an arbitrary change to the list.
595 2003-02-25 Angus Leeming <leeming@lyx.org>
597 * forkedcontr.C (timer): Use a while loop rather than for; makes it
598 easier to erase an element.
600 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
602 * forkedcontr.C (timer): don't start a running timer.
604 2003-02-21 André Pönitz <poenitz@gmx.net>
606 * filetools.C (PutEnv): removed (unused)
608 2003-02-17 John Levon <levon@movementarian.org>
611 * forkedcall.C: add running()
613 2003-02-08 John Levon <levon@movementarian.org>
617 * lyxtime.C: add typedef for time_t, add current_time
623 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
625 * filetools.C (getExtFromContents): remove detection of epsi
627 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
629 * several files: ws changes
631 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
633 * filetools.C (DirList): remove all ugly hacks and do it nice
635 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
637 * lyxsum.C: an ugly hack to compile with non-gnu linkers
639 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
641 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
642 a solution that he likes and which actually works.
644 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
646 * lstrings.h (tostr): STRCONV
648 * lstrings.C (regexMatch): STRCONV
649 (getVectorFromString): STRCONV, manual copy into vector
651 * filetools.C (GetFileContents): STRCONV
653 * os.C: include config.h
655 * lstrings.C (getVectorFromString): rewrite to use
658 2002-10-31 Angus Leeming <leeming@lyx.org>
660 * forkedcall.C (generateChild): clean it up further.
662 2002-10-25 Angus Leeming <leeming@lyx.org>
664 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
665 and a minimal ForkedCall daughter class.
667 * forkedcontr.[Ch]: minimal changes reflecting the use of a
668 ForkedProcess base class responsible for launching all child proceses.
670 2002-09-25 Angus Leeming <leeming@lyx.org>
673 * LOstream.h: doxygen fixes.
675 2002-09-24 Angus Leeming <leeming@lyx.org>
677 * most files: clean-up the license info.
679 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
681 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
683 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
685 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
686 since at least for Cygwin, the "rb" read_mode acceptable for
687 fopen() is illegal for popen(), whose mode argument *must* be "r"
690 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
693 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
695 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
698 * smart_ptr.h: remove file
701 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
703 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
704 class_fun and void_class_fun
706 2002-08-20 John Levon <levon@movementarian.org>
711 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
713 * textutils.h: formatting.
715 2002-08-08 John Levon <levon@movementarian.org>
717 * limited_stack.h: default to 100 not 10
719 2002-08-01 John Levon <levon@movementarian.org>
721 * forkedcall.C: more details on error
723 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
725 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
726 also add a trim function that is the equiv of
727 strip(frontStrip(...)), also reimplement the functions
728 (improvements still possible.)
730 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
731 * forkedcall.C (generateChild): ditto
735 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
737 * filetools.C (GetEnvPath): modify because of strip changes
738 (createDirectory): ditto
740 * lstrings.[Ch] (isStrInt): ditto
741 (isStrUnsignedInt): ditto
743 (strToUnsignedInt): ditto
745 (contains): removed unneeded version of contains
746 (containsOnly): removed uneeded versions of containsOnly
747 (strip, frontStrip): removed unneded versions, changed argument types.
749 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
751 * filetools.C (RunCommand): Made public
753 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
755 * limited_stack.h: fix comment, remove un-needed header
757 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
759 * lstrings.h: correct comments for token and tokenPos
761 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
763 * lyxstring.C (operator>>): replace code which works only with
764 _some_ versions of GNU STL with generic one
766 2002-07-18 Angus Leeming <leeming@lyx.org>
768 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
769 signal should it do so.
771 * Makefile.am: add FileMonitor.[Ch].
773 2002-07-18 André Pönitz <poenitz@gmx.net>
775 * filetools.C (LibScriptSearch): bug fix
777 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
779 * filetools.C (LyXReadLink): add bool 'resolve' to return link
780 contents as an absolute path
782 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
784 * filetools.C (IsLyXFilename):
785 (IsSGMLFilename): use ascii_lowercase instead of lowercase
787 * lstrings.[Ch] (ascii_lowercase): new function
789 2002-07-16 André Pönitz <poenitz@gmx.net>
791 * FileInfo.Ch: remove unneeded code
793 2002-06-20 Herbert Voss <voss@perce.de>
795 * filetools.[C] (readExtFromContents): add support for
798 2002-06-26 André Pönitz <poenitz@gmx.net>
800 * filetools.[Ch]: small whitespace, more compact 'return' statement
802 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
804 * lyxalgo.h: add eliminate_duplicates
806 2002-06-17 Herbert Voss <voss@perce.de>
808 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
809 (readBB_lyxerrMessage) to get better lyxerr messages
810 (getExtFromContents) test epsi files in the right way
812 * DestroxLyXTmpDir.C: changed to true, to delete the
813 temporary unzipped files, too.
815 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
817 * putenv.C (putenv): putenv should never be found in std::
819 * kill.C (kill): kill should never be found in std::
821 * filetools.C: pclose and popen should never be found in std::
823 2002-06-07 Angus Leeming <leeming@lyx.org>
825 Fixes needed to compile with Compaq cxx 6.5.
826 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
827 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
828 more than one instance of overloaded function "lyx::class_fun" matches
838 all c-library variables have been moved into namespace std.
839 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
841 * kill.C: rename signal.h as csignal.
843 * putenv.C: rename stdlib.h as cstdlib
845 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
847 * lxtl.h: remove unused file
849 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
856 * StrPool.C: remove unused files
866 * types.h: document and small cleanups
868 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
870 * switch from SigC signals to boost::signals.
872 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
875 * limited_stack.h: new template for limited-size
878 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
880 * filetools.C: do not include LSubstring.h
882 * lstrings.C: change include order
883 (regexMatch): use boost regex get rid of LRegex and LSubstring
885 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
888 * LSubstring.h: remove file
893 * LSubstring.C: ditto
895 2002-05-24 Juergen Vigna <jug@sad.it>
897 * lyxsum.C: include local includes first (self containment)
899 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
901 * forkedcall.h: use more specific smart_ptr header.
903 * lyxsum.C: move some using declarations around.
905 2002-05-03 Herbert Voss <voss@perce.de>
907 * filetools.C (getExtFromContents): only print the first 60 chars of
908 the scanned-string when debugging.
910 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
912 * lyxstring.C: close to typo fix.
914 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
916 * filetools.C: add a using std::getline directive.
918 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
920 * lyxstring.C (operator>>): try a new version of the operator>>
922 2002-04-14 Herbert Voss <voss@perce.de>
924 * lstrings.[Ch]: move the getVectorFromString and the vice versa
925 from frontends/controllers/helper_funcs for better use in other
928 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
930 * tempname.C (make_tempfile): simplify the #ifdef block by using
931 #if defined and re-write the #warning as a #error because it's terminal.
933 2002-04-08 Herbert Voss <voss@perce.de>
935 * filetools.C (getExtFromContents): get tgif run
937 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
939 * filetools.C (getExtFromContents): re-format a little and remove
940 replicated "sgi" entry.
942 2002-04-07 Herbert Voss <voss@perce.de>
944 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
945 for the lyx-view in graphics (moved from ControlGraphics)
947 2002-04-07 Herbert Voss <voss@perce.de>
949 * filetools.C: fix bug for eps. scans now a whole line
951 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
953 * lyxstring.C (operator>>): use the better solution, this fixes a
954 "not able to read '\0'" bug.
956 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
958 * translator.h: add missing typename
960 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
962 * filetools.C (LibScriptSearch): new command. Searches for scripts
963 in lyx data directories.
964 (LibScriptSearch): try to use split() correctly.
966 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
968 * most files: ws cleanup
970 * Makefile.am: remove ld -r stuff
972 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
974 * Makefile.am (libsupport.la): special rules if partial linking
976 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
978 * forkedcontr.C: turn the timer off when their are no longer any
979 child processes running.
981 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
983 * forkedcall.h: docy fix
984 change SignalType second type to be const ref.
986 * forkedcall.C: doxy fix
988 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
990 * lyxsum.C: compilation fix
992 2002-03-02 Herbert Voss <voss@perce.de>
994 * filetools.C: fix bug for xbm format and added some more debug
997 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
999 * forkedcontr.h: make constructor public
1001 * types.h: remove layout_type
1003 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
1005 * filetools.C (getExtFromContents): cleanup.
1007 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
1009 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1011 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
1012 building outside of source tree.
1014 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1017 * forkedcontr.[Ch]: new files. Asger's forked call controller is
1018 re-born, with a working timer and a modified interface. The
1019 startscript method is now passed a Signal rather than a pointer
1020 to a callback function. This enables us to connect to the method of
1021 a C++ class, if we so desire.
1023 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
1025 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1030 * nt_defines.h: moved from src/
1032 2002-02-23 Herbert Voss <voss@perce.de>
1034 * filetools.C: added more graphic formats
1036 2002-02-18 Herbert Voss <voss@perce.de>
1038 * filetools.C: (getExtFromContents) return the fileextension
1039 if no format is detected.
1041 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1043 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
1044 as class SystemCall because one Systemcall instance represents a
1045 single child process.
1048 * Makefile.am: associated changes.
1050 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1052 * syscall.C (Systemcalls): include <cstdlib>
1054 2002-02-08 Herbert Voss <voss@perce.de>
1056 * filetools.C: (getExtFromContents) adding Grace-format
1059 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1062 * syssingleton.C: files removed.
1064 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
1065 uses it. Strip down the Systemcalls interface to make it brutally
1066 obvious how unsophisticated it is.
1068 2002-02-08 Herbert Voss <voss@perce.de>
1070 * filetools.C: (getExtFromContents) adding TGIF-format
1071 and return type "user" when no type is detected
1073 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1075 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1077 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1079 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1081 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1083 * FileInfo.h: remove special cygwin code.
1085 * filetools.C (do_popen): use os::read_mode().
1087 * os_win32.C (read_mode):
1088 * os_os2.C (read_mode):
1089 * os_unix.C (read_mode): new method
1091 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1092 Hentschel). This code should maybe be moved to os:: class.
1094 2002-02-08 Herbert Voss <voss@perce.de>
1096 * filetools.C: (unzipFile) fix typo
1098 2002-02-06 Herbert Voss <voss@perce.de>
1100 * filetools.[Ch]: fix some bugs for detecting zipped files
1103 2002-02-04 Herbert Voss <voss@perce.de>
1105 * filetools.[Ch]: add ifZippedFile() for zipped
1108 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1110 * filetools.C (FileOpenSearch): remove duplicated line, probably
1111 resulting from bad cut-and paste.
1113 2002-01-31 Herbert Voss <voss@perce.de>
1115 * filetools.[Ch]: add getExtFromContents(), which returns
1116 the type of the (graphic) file
1118 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1120 * copy.C (copy): open file in binary mode (for cygwin)
1122 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1124 * lyxsum.C: remove #warnings and replaced them with runtime debug
1127 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1129 * lyxalgo.h: include <algorithm>
1131 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1133 * lyx_algo.h: add a standard-conforming count to namespace lyx.
1135 * lstrings.[Ch] (countChar): removed. Use lyx::count.
1137 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1139 * filetools.C: fix use of FileInfo
1142 * FileInfo.C: add Asserts and documentation
1144 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
1146 * os_win32.C: compilation fixes
1148 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1150 * lstrings.h: do not include <cctype>
1152 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1154 * lyxsum.C: portability fix for mmap patch
1156 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1160 * lyxstring.C: change "while(" to "while ("
1162 2001-12-03 Ben Stanley <bds02@uow.edu.au>
1164 * lyxsum.C: Added mmap version of CRC and made it selected
1165 by default where available. Used process_block for crc for speedup.
1167 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1169 * filetools.C: more robust failure for DirList()
1171 2001-11-29 André Pönitz <poenitz@gmx.net>
1173 * types.h: introduce types for textclass numbers and layout numbers
1175 2001-11-28 André Pönitz <poenitz@gmx.net>
1177 * Makefile.am: put types.h in
1179 2001-11-26 André Pönitz <poenitz@gmx.net>
1181 * types.h: introduce types for paragraph positions and layout numbers
1183 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1185 * filetools.C: remove dead code
1187 * syscall.C: show prog in fail case
1189 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1191 * filetools.C: code style cleanup
1193 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1195 * os.h: remove spurious punctuation.
1197 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1200 * LAssert.C: use new emergencyCleanup()
1202 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1204 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1205 like GNU gettext does.
1207 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1209 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1211 (findtexfile): oops! the change from last friday was wrong...
1213 * os_win32.C (is_absolute_path):
1214 * os_unix.C (is_absolute_path):
1215 * os_os2.C (is_absolute_path): new method
1217 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1219 * filetools.C (findtexfile): apply os::internal_path to the result.
1221 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1226 * os.h: add internal_path method, which converts a unix-type file
1227 name to the type known to the underlying file system (currently
1228 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1230 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1232 * smart_ptr.h: new file
1234 * utility.h: new file
1236 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1239 * filetools.C (IsDirWriteable): fix this
1241 2001-07-26 Baruch Even <baruch@lyx.org>
1243 * lyxlib.h (float_equal): Added function to compare floats almost equal
1244 (see function comment).
1246 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1248 Consistent use of Lsstream.h:
1249 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1251 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1253 * translator.h: (*it). -> it->
1255 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1257 * filetools.C (DeleteAllFilesInDir): send debug output to
1258 Debug::FILES instewad of Debug::ANY.
1260 * DebugStream.h: remove gcc 2.8.x hack.
1262 2001-06-26 The LyX Project <jug@sad.it>
1265 * lstrings.C (escape): move method to escape non ascii characters
1266 from insets label and ref to here.
1268 2001-06-25 The LyX Project <jug@sad.it>
1270 * filetools.C (IsLyXFilename):
1271 (IsSGMLFilename): do case insensitive name matching
1273 2001-06-24 The LyX Project <jug@sad.it>
1275 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1276 which only considers case of ascii characters
1278 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1281 2001-06-23 The LyX Project <jug@sad.it>
1283 * textutils.h (IsPrintable): take into account unprintable spaces
1285 (IsDigit): new function
1286 (IsLetterCharOrDigit): use IsDigit
1288 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1290 * filetools.C (findtexfile): strip final \r if necessary (for
1293 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1296 * StrPool.C: removed // -*- C++ -*- as first line.
1298 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1300 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1303 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1308 * LSubstring.C: bring C functions in global namespace if
1311 * lstrings.h (compare): use the std:: version of str[n]cmp only
1314 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1316 * syscontr.C: add std::
1318 * syscall.C: add std::
1320 * lstrings.h (compare): add std::
1322 * lstrings.C (prefixIs): add std::
1326 * LSubstring.C (LSubstring): add std::
1328 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1330 * lyxsum.C (sum): use istreambuf_iterator when available.
1332 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1334 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1337 * lyxstring.C (operator): make const operator[] behave as
1340 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1342 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1344 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1346 * filetools.C (MakeAbsPath): remove debugging statement
1348 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1350 * FileInfo.h: X_OK workaround for cygwin
1359 * filetools.h: Added os:: class.
1363 * tempname.C: OS/2 fixes
1365 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1367 * textutils.h: remvoe !NEW_INSETS cruft
1369 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1372 * atoi.C: add using directives when needed for C functions
1373 declared in std:: namespace.
1375 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1377 * lstrings.C : add two helper structs, local_lowercase and
1379 (lowercase): change to use std::transform
1380 (uppercase): change to use std::transform
1382 2001-04-25 Allan Rae <rae@lyx.org>
1384 * lyxstring.C : Assert got moved and Lars missed a few.
1386 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1388 * LAssert.h (Assert): put into namespace lyx
1390 * lyxfunctional.h: put into namespace lyx
1391 * translator.h: adjust
1393 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1395 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1397 * FileInfo.h: inherit privately from noncopyable
1400 2001-04-16 Allan Rae <rae@lyx.org>
1402 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1403 as an unrecognised preprocessor directive. So ensure they're wrapped.
1405 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1407 * several files: remove CXX_WORKING_NAMESPACES
1409 * FileInfo.h: noncopyable is in namespace boost
1412 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1414 * syscontr.h: fix header include
1416 2001-02-28 Baruch Even <baruch@ev-en.org>
1418 * filetools.C: Removed dependency on syscall.h
1421 * syscall.C: Minor cleanings before I start to touch this code.
1423 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1425 * filetools.C (CreateTmpDir): change umask to 0700.
1427 2001-02-27 José Matos <jamatos@fep.up.pt>
1429 * filetools.h (BasePath):
1430 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1432 * filetools.C (IsLyXFilename):
1433 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1436 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1440 * atoi.C: remove cruft
1442 2001-02-06 albert chin <china@thewrittenword.com>
1445 * fmt.C: use HAVE_DECL_SNPRINTF
1447 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1449 * lyxstring.C: Fix some assertions.
1451 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1453 * lstrings.C (strip): Add a fix for compilers with broken
1454 string::find_last_not_of.
1456 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1458 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1460 * lyxstring.C (rfind): Fix broken functions.
1461 (find): Few optimizations.