1 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * filetools.[Ch] (getFormatFromContents): don't guess format from
4 extension, return string() instead of "user" if the format could
7 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
9 * Make it clearer where include files are comming from.
11 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
13 * translator.h: use bind, equal_to instead of equal_1st_in_pair
16 * Makefile.am (libsupport_la_SOURCES): remove lyxfunctional.h
17 * lyxfunctional.h: delete file
19 * lyxfunctional.h: delete compare_memfun and helper classes
21 * forkedcontr.C (find_pid): use bind, equal_to instead of
24 * lyxfunctional.h: delete back_inserter_fun functions and helper
27 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * snprintf.[ch]: removed
31 * Makefile.am (libsupport_la_SOURCES): remove snprintf
33 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
35 * filetools.[Ch] (getExtFromContents): rename to
36 getFormatFromContents and return always a format
38 2004-10-25 Angus Leeming <leeming@lyx.org>
40 * forkedcall.C (generateChild): strip quotes from each argument
43 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
45 * pch.h: use proper signal include
47 * forkedcallqueue.C: remove unused include
49 * FileMonitor.h: Use the preferred calling for Boost.Signal
52 * FileMonitor.C: use the new signal typedef
54 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
56 * forkedcall.h: remove include of <boost/function/funtion0.hpp>
59 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * textutils.h (IsLetterCharOrDigit): remove
63 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * filetools.C (LibScriptSearch): quote the path of the script, in
66 case it contains spaces
68 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
70 * tostr.C: reimplement using lexical_cast
72 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
74 * pch.h: do not use include boost/format.hpp, multiple symbols
77 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
81 * Makefile.am: support pch
83 2004-08-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
85 * globbing.C (FileFilterList): make sure that "All files (*)" is
86 always part of the filters list
88 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
90 * tostr.C, lstrings.C, globbing.C, filetools.C: change
91 "support/std_sstream.h" to <sstream>
93 * Makefile.am (libsupport_la_SOURCES): delete std_sstream.h and
95 (std_sstream.h): delete file
96 (sstream.h): delete file
98 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 * filetools.C (i18nLibFileSearch): honor case where LANGUAGE
101 specifies a list of locales (thanks to Pablo Saraxtaga for the
104 2004-05-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
106 * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
107 its po files when moved around; set default user directory to
108 ~/Library/Preferences/LyX/ for LyX/Mac.
109 (lyx_localedir): return the value that may have been computed in
112 2004-05-27 Kayvan Sylvan <kayvan@sylvan.com>
114 * Makefile.am (libsupport_la_SOURCES): remove reference to
117 2004-05-20 Angus Leeming <leeming@lyx.org>
119 * debugstream.h: wrap the definition of debug_trait::DEBUG with
120 preprocessor guards that protect against a name clash with a
121 macro DEBUG. Such a macro is defined by the Qt library...
123 2004-04-27 Angus Leeming <leeming@lyx.org>
125 * path_defines.{h,C.in}: expose top_srcdir, renamed from
128 2004-04-05 Angus Leeming <leeming@lyx.org>
131 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
133 2004-04-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
135 * filetools.C (RunCommand): block SIGCHLD during popen/pclose
136 (actually Angus' fix).
138 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
140 * filetools.C (DeleteAllFilesInDir): delete directories with
141 rmdir(), unlink() does not work
143 2004-03-27 Angus Leeming <leeming@lyx.org>
145 * forkedcontr.C (child_handler): squash warning about a
146 signed/unsigned comparison.
147 (handleCompletedProcesses): only output a warning about an error
148 waiting for the child if it is indeed an error ;-)
150 2004-03-26 Angus Leeming <leeming@lyx.org>
152 * forkedcall.[Ch] (run): new function, replacing runBlocking,
155 * forkedcall.C (generateChild): ensure that the code that splits
156 the command up into an array of words won't leak in the event of an
159 * forkedcontr.C: make it a little more robust.
161 2004-03-24 Angus Leeming <leeming@lyx.org>
163 * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
164 of child proccesses and ascertain whether any have died. Instead use
165 the SIGCHLD signal emitted by the system to reap these zombies in the
166 maximally efficient manner. The subsequent emitting of the signal
167 associated with each child process *is* performed within the main
168 lyx event loop, thus ensuring that the code remains safe.
170 A detailed description of the design is to be found in forkedcontr.C.
172 2004-03-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
174 * filetools.C (i18nLibFileSearch): simplify the logic a bit
176 2004-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
178 * filetools.C (i18nLibFileSearch): fix the logic to match closely
181 2004-03-23 Angus Leeming <leeming@lyx.org>
183 * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
184 clone to return a boost::shred_ptr rather than a std::auto_ptr.
186 * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
189 2004-03-22 Angus Leeming <leeming@lyx.org>
191 * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
192 cruft left over from the removal of the Forks dialog.
194 2004-03-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
196 * filename.[Ch] (mangledFilename): make sure that mangled names are
199 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
201 * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
202 remove pathfor argument
203 * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
204 harder to create a usable temp dir
205 * filetools.C (CreateTmpDir): rename to createTmpDir
206 filetools.[Ch] (unzipFile): add argument for output filename
207 * filename.h: fix doxygen warning
209 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
211 * lstrings.h (contains_functor): delete
212 (contains): change into template, simplify
214 * lstrings.C (contains): remove both functions
216 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
218 * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
221 * lstrings.h (contains_functor): inherit from
222 std::binary_function, remove typedefs.
224 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
226 * globbing.C: add using statement for std::distance, remove std::
229 2004-01-08 Angus Leeming <leeming@lyx.org>
231 * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
232 list of available file filters and generate the corresponding vector.
234 2003-12-14 Ronald Florence <ron@18james.com>
236 * tostr.[hC]: added tostr(long unsigned int i).
238 * path_defines.C.in: determine system directory and set PATH for
239 relocatable LyX/Mac bundle.
241 2004-01-06 Angus Leeming <leeming@lyx.org>
243 * globbing.C (glob): compilation fix for cygwin.
245 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
247 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
249 * BoostFormat.h: delete file
250 * boost-inst.C: delete fil
252 * lstrings.C: include boost/format.hpp
254 2004-01-05 Angus Leeming <leeming@lyx.org>
256 * globbing.[Ch]: new files containing some globbing utilities.
258 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
260 * putenv.C: allocate the string before putting it into the
265 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
267 * tempname.C (tempName): use scoped_array for exception safety
269 * os_os2.C (init): use scoped_array for exception safety
271 * getcwd.C (getcwd): use scoped_array for exception safety
273 * forkedcontr.C (addCall): adjust
275 * forkedcall.h: make clone return a auto_ptr
277 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
279 * debugstream.h: add a default constructor that does not setup a
282 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
284 * socktools.C: honor CXX_GLOBAL_CSTD
286 2003-10-16 André Pönitz <poenitz@gmx.net>
288 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
289 using static variables.
291 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
293 * socktools.[Ch]: New files. Wrapper around socket system calls.
295 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
297 * socktools.C (SUN_LEN): add this MACRO definition for platforms
298 that do not define it themselves.
300 2003-10-08 Angus Leeming <leeming@lyx.org>
302 * copied_ptr.h: get rid of the swap member function.
304 2003-10-08 Angus Leeming <leeming@lyx.org>
306 Fix doxygen warnings.
308 * debugstream.h: \file debugStream.h -> \file debugstream.h
310 * os.h: move comment so that doxygen is not confused.
312 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
314 * Makefile.am: fix typo.
316 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
318 * std_string.h: delete file
320 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
322 * lstrings.C: Small fixes to build using STLport
324 2003-09-29 Angus Leeming <leeming@lyx.org>
326 * filetools.C (ReplaceEnvironmentPath): make it work for both
327 ${HOME}/foo and $HOME/foo.
329 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
331 * debugstream.h: add file, updated version of the DebugStream
333 * DebugStream.C,DebugStream.h: delete files
335 2003-09-25 Angus Leeming <leeming@lyx.org>
337 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
338 * lstrings.[Ch]: (regexMatch): removed.
340 2003-09-25 Angus Leeming <leeming@lyx.org>
342 * translator.h (add): new member function.
344 2003-09-16 Angus Leeming <leeming@lyx.org>
346 * textutils.h: remove #include "paragraph.h". Remove functions
347 IsInsetChar and IsWordChar.
349 2003-09-15 Angus Leeming <leeming@lyx.org>
351 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
352 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
353 his book as ValuePtr.
354 Use a memory_traits template parameter to create/destroy memory in a
357 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
361 * filetools.C: Remove usage of STRCONV
363 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
366 * std_string.h: modify to always work with std::string, but if
367 with-included-string then use it through namespace lyx. Remove
370 * lyxstring.[Ch]: remove files
372 2003-09-15 Angus Leeming <leeming@lyx.org>
374 * translator.h: add #include <boost/assert.hpp>, so that the
375 template is self-contained.
377 2003-09-11 Angus Leeming <leeming@lyx.org>
380 * copied_ptr.h: added to the repository. Maybe temporarily.
382 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
384 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
386 * several files: change Assert to BOOST_ASSERT
389 * LAssert.h: remove files
391 2003-09-08 Angus Leeming <leeming@lyx.org>
394 * filetools.C: tell the world where to find author contact details.
396 2003-09-08 Angus Leeming <leeming@lyx.org>
402 * lyxsum.C: remove redundant using directives.
404 2003-09-05 Angus Leeming <leeming@lyx.org>
406 * lstrings.C: small bformat fix
408 2003-09-05 Angus Leeming <leeming@lyx.org>
410 * std_istream.h: new file Just renaming of LIstream.h
411 * std_ostream.h: new file Just renaming of LIstream.h
412 * std_sstream.h: new file Just renaming of Lsstream.h
413 * std_string.h: new file Just renaming of LString.h
415 2003-09-05 Angus Leeming <leeming@lyx.org>
419 ensure that the header file can be compiled stand-alone.
421 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
423 * lstrings.[Ch] (bformat): add a variant taking two ints.
425 2003-09-04 Angus Leeming <leeming@lyx.org>
428 * filename.C: move #include "os.h" out of the header file.
430 2003-09-04 Angus Leeming <leeming@lyx.org>
432 * path.C (ctor, dtor): move out of line.
434 2003-09-03 Angus Leeming <leeming@lyx.org>
436 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
437 (mangledFilename): new function, returning a mangled version of the
438 absolute file name, suitable for use in the temp dir when, for example,
439 converting an image file to another format.
440 (isZipped, unzippedFilename): wrappers to global functions.
442 * filetools.[Ch] (copyFileToDir): removed.
443 (compare_timestamps): new function.
445 2003-09-03 Angus Leeming <leeming@lyx.org>
447 * translator.h: Assert is in namespace lyx::support...
449 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
451 * Makefile.am: do not install path_defines.C in includes
452 (COMPRESSION): mention gzstream.h here
454 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
456 * path_defines.C.in (setLyxPaths): re-introduce the code to check
457 whether lyx is run in place
458 (build_dir): renamed from build_lyxdir
459 (build_lyxdir): give this better semantics compatible with what
460 LibFileSearch expects.
462 2003-07-29 Angus Leeming <leeming@lyx.org>
464 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
465 defaults to string() because MakeRelPath can accept that.
467 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
469 * Makefile.am: conditionalize USE_COMPRESSION.
471 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
473 * filetools.C (getExtFromContents): correct magic for gzip and
476 * path_defines.[Ch]: move lyx_localedir out of anon namespace
478 * gzstream.h: new fileq
480 * gzstream.C: new file
482 2003-07-27 Angus Leeming <leeming@lyx.org>
484 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
485 user_lyxdir): are now functions, not global vars.
487 * Makefile.am: set build_lyxdir at make time.
489 2003-07-27 Angus Leeming <leeming@lyx.org>
491 * path_defines.{h,C.in}: new files. Store/set the various lyx
492 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
495 * Makefile.am: add some magic to enable the user to set the path to
496 the system-level lyx support files, the top of the lyx build tree
497 and the system-level lyx locale directory at _make_ time rather
500 * .cvsignore: add path_defines.C.
502 2003-07-26 Angus Leeming <leeming@lyx.org>
504 * os.h: remove irrelevant discussion of system_tempdir.
506 2003-07-21 Angus Leeming <leeming@lyx.org>
508 * filename.[Ch]: new files implementing class FileName.
509 * Makefile.am: add filename.[Ch].
511 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
513 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
514 not allow it (at least not in this form.)
516 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
518 * os_win32.C: put namespace os in lyx::support.
520 * lstrings.C (bformat): call Assert from correct namespace.
522 * introduce namespace lyx::support
524 2003-06-30 André Pönitz <poenitz@gmx.net>
527 * lstrings.C: re-enable --with-included-string
529 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
531 * filetools.h: fix some \param issue
533 * boost-inst.C: fix \file
535 * LAssert.h: fix \file
537 2003-06-20 Angus Leeming <leeming@lyx.org>
539 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
541 2003-06-18 Angus Leeming <leeming@lyx.org>
543 * many files: add the standard blurb, "This file is part of LyX" etc
545 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
547 * limited_stack.h: make it have a const_iterator, add begin, and
550 2003-06-10 Angus Leeming <leeming@lyx.org>
552 * filetools.C (copyFileToDir): ensure that temp files have unique names.
554 2003-06-04 André Pönitz <poenitz@gmx.net>
556 * limited_stack.h (top): return reference instead of value
558 2003-06-02 Angus Leeming <leeming@lyx.org>
560 * filetools.[Ch] (copyFileToDir): new helper function.
562 * os.h: remove trailing semi-colon from end of namespace os block.
564 2003-06-01 Angus Leeming <leeming@lyx.org>
566 * filetools.h (LibScriptSearch): give the function a meaningful
567 description of what it now does.
569 2003-05-30 Angus Leeming <leeming@lyx.org>
571 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
572 this with the path to the script. If the script is not found, the "$$s/"
575 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
577 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
580 2003-05-19 André Pönitz <poenitz@gmx.net>
582 * lstrings.C: add missing implementation of three-arg bformat
584 * lstrings.C: change rest of char * fmt -> string const & fmt
587 2003-05-15 André Pönitz <poenitz@gmx.net>
589 * lstrings.[Ch]: use string const & instead of char const * for format
591 2003-05-12 André Pönitz <poenitz@gmx.net>
593 * tostr.[Ch]: add long int overload
595 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
597 * lstrings.[Ch]: compile fix
599 2003-05-12 André Pönitz <poenitz@gmx.net>
601 * lstrings.[Ch]: bformat() as wrapper around boost::format
603 * lyxstring.h: enable templatized constructor
605 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
607 * limited_stack.h: Change some comments, simplify a couple of
610 2003-02-21 André Pönitz <poenitz@gmx.net>
612 * limited_stack.h: change underlying container to deque to
613 make this re-usable in mathed
615 2003-04-08 John Levon <levon@movementarian.org>
617 * filetools.C: fix MakeDisplayPath() to not
620 2003-03-30 John Levon <levon@movementarian.org>
624 * boost-inst.C: moved from src/
626 2003-03-29 John Levon <levon@movementarian.org>
629 * filetools.C: never call Alert directly from here
631 2003-03-12 John Levon <levon@movementarian.org>
633 * textutils.h: remove META_NEWLINE
635 2003-02-27 Ling Li <ling@caltech.edu>
637 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
640 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
642 * forkedcontr.C (timer): remove bogus continue
644 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
646 * forkedcallqueue.[Ch]: added
648 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
650 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
651 Emiting the signal can result in an arbitrary change to the list.
653 2003-02-25 Angus Leeming <leeming@lyx.org>
655 * forkedcontr.C (timer): Use a while loop rather than for; makes it
656 easier to erase an element.
658 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
660 * forkedcontr.C (timer): don't start a running timer.
662 2003-02-21 André Pönitz <poenitz@gmx.net>
664 * filetools.C (PutEnv): removed (unused)
666 2003-02-17 John Levon <levon@movementarian.org>
669 * forkedcall.C: add running()
671 2003-02-08 John Levon <levon@movementarian.org>
675 * lyxtime.C: add typedef for time_t, add current_time
681 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
683 * filetools.C (getExtFromContents): remove detection of epsi
685 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
687 * several files: ws changes
689 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
691 * filetools.C (DirList): remove all ugly hacks and do it nice
693 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
695 * lyxsum.C: an ugly hack to compile with non-gnu linkers
697 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
699 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
700 a solution that he likes and which actually works.
702 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
704 * lstrings.h (tostr): STRCONV
706 * lstrings.C (regexMatch): STRCONV
707 (getVectorFromString): STRCONV, manual copy into vector
709 * filetools.C (GetFileContents): STRCONV
711 * os.C: include config.h
713 * lstrings.C (getVectorFromString): rewrite to use
716 2002-10-31 Angus Leeming <leeming@lyx.org>
718 * forkedcall.C (generateChild): clean it up further.
720 2002-10-25 Angus Leeming <leeming@lyx.org>
722 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
723 and a minimal ForkedCall daughter class.
725 * forkedcontr.[Ch]: minimal changes reflecting the use of a
726 ForkedProcess base class responsible for launching all child proceses.
728 2002-09-25 Angus Leeming <leeming@lyx.org>
731 * LOstream.h: doxygen fixes.
733 2002-09-24 Angus Leeming <leeming@lyx.org>
735 * most files: clean-up the license info.
737 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
739 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
741 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
743 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
744 since at least for Cygwin, the "rb" read_mode acceptable for
745 fopen() is illegal for popen(), whose mode argument *must* be "r"
748 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
751 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
753 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
756 * smart_ptr.h: remove file
759 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
761 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
762 class_fun and void_class_fun
764 2002-08-20 John Levon <levon@movementarian.org>
769 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
771 * textutils.h: formatting.
773 2002-08-08 John Levon <levon@movementarian.org>
775 * limited_stack.h: default to 100 not 10
777 2002-08-01 John Levon <levon@movementarian.org>
779 * forkedcall.C: more details on error
781 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
783 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
784 also add a trim function that is the equiv of
785 strip(frontStrip(...)), also reimplement the functions
786 (improvements still possible.)
788 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
789 * forkedcall.C (generateChild): ditto
793 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
795 * filetools.C (GetEnvPath): modify because of strip changes
796 (createDirectory): ditto
798 * lstrings.[Ch] (isStrInt): ditto
799 (isStrUnsignedInt): ditto
801 (strToUnsignedInt): ditto
803 (contains): removed unneeded version of contains
804 (containsOnly): removed uneeded versions of containsOnly
805 (strip, frontStrip): removed unneded versions, changed argument types.
807 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
809 * filetools.C (RunCommand): Made public
811 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
813 * limited_stack.h: fix comment, remove un-needed header
815 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
817 * lstrings.h: correct comments for token and tokenPos
819 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
821 * lyxstring.C (operator>>): replace code which works only with
822 _some_ versions of GNU STL with generic one
824 2002-07-18 Angus Leeming <leeming@lyx.org>
826 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
827 signal should it do so.
829 * Makefile.am: add FileMonitor.[Ch].
831 2002-07-18 André Pönitz <poenitz@gmx.net>
833 * filetools.C (LibScriptSearch): bug fix
835 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
837 * filetools.C (LyXReadLink): add bool 'resolve' to return link
838 contents as an absolute path
840 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
842 * filetools.C (IsLyXFilename):
843 (IsSGMLFilename): use ascii_lowercase instead of lowercase
845 * lstrings.[Ch] (ascii_lowercase): new function
847 2002-07-16 André Pönitz <poenitz@gmx.net>
849 * FileInfo.Ch: remove unneeded code
851 2002-06-20 Herbert Voss <voss@perce.de>
853 * filetools.[C] (readExtFromContents): add support for
856 2002-06-26 André Pönitz <poenitz@gmx.net>
858 * filetools.[Ch]: small whitespace, more compact 'return' statement
860 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
862 * lyxalgo.h: add eliminate_duplicates
864 2002-06-17 Herbert Voss <voss@perce.de>
866 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
867 (readBB_lyxerrMessage) to get better lyxerr messages
868 (getExtFromContents) test epsi files in the right way
870 * DestroxLyXTmpDir.C: changed to true, to delete the
871 temporary unzipped files, too.
873 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
875 * putenv.C (putenv): putenv should never be found in std::
877 * kill.C (kill): kill should never be found in std::
879 * filetools.C: pclose and popen should never be found in std::
881 2002-06-07 Angus Leeming <leeming@lyx.org>
883 Fixes needed to compile with Compaq cxx 6.5.
884 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
885 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
886 more than one instance of overloaded function "lyx::class_fun" matches
896 all c-library variables have been moved into namespace std.
897 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
899 * kill.C: rename signal.h as csignal.
901 * putenv.C: rename stdlib.h as cstdlib
903 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
905 * lxtl.h: remove unused file
907 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
914 * StrPool.C: remove unused files
924 * types.h: document and small cleanups
926 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
928 * switch from SigC signals to boost::signals.
930 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
933 * limited_stack.h: new template for limited-size
936 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
938 * filetools.C: do not include LSubstring.h
940 * lstrings.C: change include order
941 (regexMatch): use boost regex get rid of LRegex and LSubstring
943 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
946 * LSubstring.h: remove file
951 * LSubstring.C: ditto
953 2002-05-24 Juergen Vigna <jug@sad.it>
955 * lyxsum.C: include local includes first (self containment)
957 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
959 * forkedcall.h: use more specific smart_ptr header.
961 * lyxsum.C: move some using declarations around.
963 2002-05-03 Herbert Voss <voss@perce.de>
965 * filetools.C (getExtFromContents): only print the first 60 chars of
966 the scanned-string when debugging.
968 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
970 * lyxstring.C: close to typo fix.
972 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
974 * filetools.C: add a using std::getline directive.
976 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
978 * lyxstring.C (operator>>): try a new version of the operator>>
980 2002-04-14 Herbert Voss <voss@perce.de>
982 * lstrings.[Ch]: move the getVectorFromString and the vice versa
983 from frontends/controllers/helper_funcs for better use in other
986 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
988 * tempname.C (make_tempfile): simplify the #ifdef block by using
989 #if defined and re-write the #warning as a #error because it's terminal.
991 2002-04-08 Herbert Voss <voss@perce.de>
993 * filetools.C (getExtFromContents): get tgif run
995 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
997 * filetools.C (getExtFromContents): re-format a little and remove
998 replicated "sgi" entry.
1000 2002-04-07 Herbert Voss <voss@perce.de>
1002 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
1003 for the lyx-view in graphics (moved from ControlGraphics)
1005 2002-04-07 Herbert Voss <voss@perce.de>
1007 * filetools.C: fix bug for eps. scans now a whole line
1009 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1011 * lyxstring.C (operator>>): use the better solution, this fixes a
1012 "not able to read '\0'" bug.
1014 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1016 * translator.h: add missing typename
1018 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1020 * filetools.C (LibScriptSearch): new command. Searches for scripts
1021 in lyx data directories.
1022 (LibScriptSearch): try to use split() correctly.
1024 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1026 * most files: ws cleanup
1028 * Makefile.am: remove ld -r stuff
1030 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1032 * Makefile.am (libsupport.la): special rules if partial linking
1034 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1036 * forkedcontr.C: turn the timer off when their are no longer any
1037 child processes running.
1039 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1041 * forkedcall.h: docy fix
1042 change SignalType second type to be const ref.
1044 * forkedcall.C: doxy fix
1046 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
1048 * lyxsum.C: compilation fix
1050 2002-03-02 Herbert Voss <voss@perce.de>
1052 * filetools.C: fix bug for xbm format and added some more debug
1055 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1057 * forkedcontr.h: make constructor public
1059 * types.h: remove layout_type
1061 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
1063 * filetools.C (getExtFromContents): cleanup.
1065 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
1067 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1069 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
1070 building outside of source tree.
1072 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1075 * forkedcontr.[Ch]: new files. Asger's forked call controller is
1076 re-born, with a working timer and a modified interface. The
1077 startscript method is now passed a Signal rather than a pointer
1078 to a callback function. This enables us to connect to the method of
1079 a C++ class, if we so desire.
1081 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
1083 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1088 * nt_defines.h: moved from src/
1090 2002-02-23 Herbert Voss <voss@perce.de>
1092 * filetools.C: added more graphic formats
1094 2002-02-18 Herbert Voss <voss@perce.de>
1096 * filetools.C: (getExtFromContents) return the fileextension
1097 if no format is detected.
1099 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1101 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
1102 as class SystemCall because one Systemcall instance represents a
1103 single child process.
1106 * Makefile.am: associated changes.
1108 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1110 * syscall.C (Systemcalls): include <cstdlib>
1112 2002-02-08 Herbert Voss <voss@perce.de>
1114 * filetools.C: (getExtFromContents) adding Grace-format
1117 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1120 * syssingleton.C: files removed.
1122 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
1123 uses it. Strip down the Systemcalls interface to make it brutally
1124 obvious how unsophisticated it is.
1126 2002-02-08 Herbert Voss <voss@perce.de>
1128 * filetools.C: (getExtFromContents) adding TGIF-format
1129 and return type "user" when no type is detected
1131 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1133 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1135 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1137 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1139 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1141 * FileInfo.h: remove special cygwin code.
1143 * filetools.C (do_popen): use os::read_mode().
1145 * os_win32.C (read_mode):
1146 * os_os2.C (read_mode):
1147 * os_unix.C (read_mode): new method
1149 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1150 Hentschel). This code should maybe be moved to os:: class.
1152 2002-02-08 Herbert Voss <voss@perce.de>
1154 * filetools.C: (unzipFile) fix typo
1156 2002-02-06 Herbert Voss <voss@perce.de>
1158 * filetools.[Ch]: fix some bugs for detecting zipped files
1161 2002-02-04 Herbert Voss <voss@perce.de>
1163 * filetools.[Ch]: add ifZippedFile() for zipped
1166 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1168 * filetools.C (FileOpenSearch): remove duplicated line, probably
1169 resulting from bad cut-and paste.
1171 2002-01-31 Herbert Voss <voss@perce.de>
1173 * filetools.[Ch]: add getExtFromContents(), which returns
1174 the type of the (graphic) file
1176 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1178 * copy.C (copy): open file in binary mode (for cygwin)
1180 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1182 * lyxsum.C: remove #warnings and replaced them with runtime debug
1185 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1187 * lyxalgo.h: include <algorithm>
1189 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1191 * lyx_algo.h: add a standard-conforming count to namespace lyx.
1193 * lstrings.[Ch] (countChar): removed. Use lyx::count.
1195 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1197 * filetools.C: fix use of FileInfo
1200 * FileInfo.C: add Asserts and documentation
1202 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
1204 * os_win32.C: compilation fixes
1206 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1208 * lstrings.h: do not include <cctype>
1210 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1212 * lyxsum.C: portability fix for mmap patch
1214 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1218 * lyxstring.C: change "while(" to "while ("
1220 2001-12-03 Ben Stanley <bds02@uow.edu.au>
1222 * lyxsum.C: Added mmap version of CRC and made it selected
1223 by default where available. Used process_block for crc for speedup.
1225 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1227 * filetools.C: more robust failure for DirList()
1229 2001-11-29 André Pönitz <poenitz@gmx.net>
1231 * types.h: introduce types for textclass numbers and layout numbers
1233 2001-11-28 André Pönitz <poenitz@gmx.net>
1235 * Makefile.am: put types.h in
1237 2001-11-26 André Pönitz <poenitz@gmx.net>
1239 * types.h: introduce types for paragraph positions and layout numbers
1241 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1243 * filetools.C: remove dead code
1245 * syscall.C: show prog in fail case
1247 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1249 * filetools.C: code style cleanup
1251 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1253 * os.h: remove spurious punctuation.
1255 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1258 * LAssert.C: use new emergencyCleanup()
1260 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1262 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1263 like GNU gettext does.
1265 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1267 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1269 (findtexfile): oops! the change from last friday was wrong...
1271 * os_win32.C (is_absolute_path):
1272 * os_unix.C (is_absolute_path):
1273 * os_os2.C (is_absolute_path): new method
1275 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1277 * filetools.C (findtexfile): apply os::internal_path to the result.
1279 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1284 * os.h: add internal_path method, which converts a unix-type file
1285 name to the type known to the underlying file system (currently
1286 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1288 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1290 * smart_ptr.h: new file
1292 * utility.h: new file
1294 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1297 * filetools.C (IsDirWriteable): fix this
1299 2001-07-26 Baruch Even <baruch@lyx.org>
1301 * lyxlib.h (float_equal): Added function to compare floats almost equal
1302 (see function comment).
1304 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1306 Consistent use of Lsstream.h:
1307 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1309 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1311 * translator.h: (*it). -> it->
1313 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1315 * filetools.C (DeleteAllFilesInDir): send debug output to
1316 Debug::FILES instewad of Debug::ANY.
1318 * DebugStream.h: remove gcc 2.8.x hack.
1320 2001-06-26 The LyX Project <jug@sad.it>
1323 * lstrings.C (escape): move method to escape non ascii characters
1324 from insets label and ref to here.
1326 2001-06-25 The LyX Project <jug@sad.it>
1328 * filetools.C (IsLyXFilename):
1329 (IsSGMLFilename): do case insensitive name matching
1331 2001-06-24 The LyX Project <jug@sad.it>
1333 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1334 which only considers case of ascii characters
1336 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1339 2001-06-23 The LyX Project <jug@sad.it>
1341 * textutils.h (IsPrintable): take into account unprintable spaces
1343 (IsDigit): new function
1344 (IsLetterCharOrDigit): use IsDigit
1346 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1348 * filetools.C (findtexfile): strip final \r if necessary (for
1351 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1354 * StrPool.C: removed // -*- C++ -*- as first line.
1356 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1358 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1361 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1366 * LSubstring.C: bring C functions in global namespace if
1369 * lstrings.h (compare): use the std:: version of str[n]cmp only
1372 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1374 * syscontr.C: add std::
1376 * syscall.C: add std::
1378 * lstrings.h (compare): add std::
1380 * lstrings.C (prefixIs): add std::
1384 * LSubstring.C (LSubstring): add std::
1386 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1388 * lyxsum.C (sum): use istreambuf_iterator when available.
1390 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1392 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1395 * lyxstring.C (operator): make const operator[] behave as
1398 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1400 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1402 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1404 * filetools.C (MakeAbsPath): remove debugging statement
1406 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1408 * FileInfo.h: X_OK workaround for cygwin
1417 * filetools.h: Added os:: class.
1421 * tempname.C: OS/2 fixes
1423 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1425 * textutils.h: remvoe !NEW_INSETS cruft
1427 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1430 * atoi.C: add using directives when needed for C functions
1431 declared in std:: namespace.
1433 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1435 * lstrings.C : add two helper structs, local_lowercase and
1437 (lowercase): change to use std::transform
1438 (uppercase): change to use std::transform
1440 2001-04-25 Allan Rae <rae@lyx.org>
1442 * lyxstring.C : Assert got moved and Lars missed a few.
1444 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1446 * LAssert.h (Assert): put into namespace lyx
1448 * lyxfunctional.h: put into namespace lyx
1449 * translator.h: adjust
1451 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1453 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1455 * FileInfo.h: inherit privately from noncopyable
1458 2001-04-16 Allan Rae <rae@lyx.org>
1460 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1461 as an unrecognised preprocessor directive. So ensure they're wrapped.
1463 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1465 * several files: remove CXX_WORKING_NAMESPACES
1467 * FileInfo.h: noncopyable is in namespace boost
1470 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1472 * syscontr.h: fix header include
1474 2001-02-28 Baruch Even <baruch@ev-en.org>
1476 * filetools.C: Removed dependency on syscall.h
1479 * syscall.C: Minor cleanings before I start to touch this code.
1481 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1483 * filetools.C (CreateTmpDir): change umask to 0700.
1485 2001-02-27 José Matos <jamatos@fep.up.pt>
1487 * filetools.h (BasePath):
1488 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1490 * filetools.C (IsLyXFilename):
1491 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1494 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1498 * atoi.C: remove cruft
1500 2001-02-06 albert chin <china@thewrittenword.com>
1503 * fmt.C: use HAVE_DECL_SNPRINTF
1505 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1507 * lyxstring.C: Fix some assertions.
1509 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1511 * lstrings.C (strip): Add a fix for compilers with broken
1512 string::find_last_not_of.
1514 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1516 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1518 * lyxstring.C (rfind): Fix broken functions.
1519 (find): Few optimizations.