1 2004-05-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
4 its po files when moved around; set default user directory to
5 ~/Library/Preferences/LyX/ for LyX/Mac.
6 (lyx_localedir): return the value that may have been computed in
9 2004-05-27 Kayvan Sylvan <kayvan@sylvan.com>
11 * Makefile.am (libsupport_la_SOURCES): remove reference to
14 2004-05-20 Angus Leeming <leeming@lyx.org>
16 * debugstream.h: wrap the definition of debug_trait::DEBUG with
17 preprocessor guards that protect against a name clash with a
18 macro DEBUG. Such a macro is defined by the Qt library...
20 2004-04-27 Angus Leeming <leeming@lyx.org>
22 * path_defines.{h,C.in}: expose top_srcdir, renamed from
25 2004-04-05 Angus Leeming <leeming@lyx.org>
28 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
30 2004-04-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
32 * filetools.C (RunCommand): block SIGCHLD during popen/pclose
33 (actually Angus' fix).
35 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
37 * filetools.C (DeleteAllFilesInDir): delete directories with
38 rmdir(), unlink() does not work
40 2004-03-27 Angus Leeming <leeming@lyx.org>
42 * forkedcontr.C (child_handler): squash warning about a
43 signed/unsigned comparison.
44 (handleCompletedProcesses): only output a warning about an error
45 waiting for the child if it is indeed an error ;-)
47 2004-03-26 Angus Leeming <leeming@lyx.org>
49 * forkedcall.[Ch] (run): new function, replacing runBlocking,
52 * forkedcall.C (generateChild): ensure that the code that splits
53 the command up into an array of words won't leak in the event of an
56 * forkedcontr.C: make it a little more robust.
58 2004-03-24 Angus Leeming <leeming@lyx.org>
60 * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
61 of child proccesses and ascertain whether any have died. Instead use
62 the SIGCHLD signal emitted by the system to reap these zombies in the
63 maximally efficient manner. The subsequent emitting of the signal
64 associated with each child process *is* performed within the main
65 lyx event loop, thus ensuring that the code remains safe.
67 A detailed description of the design is to be found in forkedcontr.C.
69 2004-03-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
71 * filetools.C (i18nLibFileSearch): simplify the logic a bit
73 2004-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * filetools.C (i18nLibFileSearch): fix the logic to match closely
78 2004-03-23 Angus Leeming <leeming@lyx.org>
80 * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
81 clone to return a boost::shred_ptr rather than a std::auto_ptr.
83 * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
86 2004-03-22 Angus Leeming <leeming@lyx.org>
88 * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
89 cruft left over from the removal of the Forks dialog.
91 2004-03-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
93 * filename.[Ch] (mangledFilename): make sure that mangled names are
96 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
98 * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
99 remove pathfor argument
100 * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
101 harder to create a usable temp dir
102 * filetools.C (CreateTmpDir): rename to createTmpDir
103 filetools.[Ch] (unzipFile): add argument for output filename
104 * filename.h: fix doxygen warning
106 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
108 * lstrings.h (contains_functor): delete
109 (contains): change into template, simplify
111 * lstrings.C (contains): remove both functions
113 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
115 * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
118 * lstrings.h (contains_functor): inherit from
119 std::binary_function, remove typedefs.
121 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
123 * globbing.C: add using statement for std::distance, remove std::
126 2004-01-08 Angus Leeming <leeming@lyx.org>
128 * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
129 list of available file filters and generate the corresponding vector.
131 2003-12-14 Ronald Florence <ron@18james.com>
133 * tostr.[hC]: added tostr(long unsigned int i).
135 * path_defines.C.in: determine system directory and set PATH for
136 relocatable LyX/Mac bundle.
138 2004-01-06 Angus Leeming <leeming@lyx.org>
140 * globbing.C (glob): compilation fix for cygwin.
142 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
144 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
146 * BoostFormat.h: delete file
147 * boost-inst.C: delete fil
149 * lstrings.C: include boost/format.hpp
151 2004-01-05 Angus Leeming <leeming@lyx.org>
153 * globbing.[Ch]: new files containing some globbing utilities.
155 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
157 * putenv.C: allocate the string before putting it into the
162 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
164 * tempname.C (tempName): use scoped_array for exception safety
166 * os_os2.C (init): use scoped_array for exception safety
168 * getcwd.C (getcwd): use scoped_array for exception safety
170 * forkedcontr.C (addCall): adjust
172 * forkedcall.h: make clone return a auto_ptr
174 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
176 * debugstream.h: add a default constructor that does not setup a
179 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 * socktools.C: honor CXX_GLOBAL_CSTD
183 2003-10-16 André Pönitz <poenitz@gmx.net>
185 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
186 using static variables.
188 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
190 * socktools.[Ch]: New files. Wrapper around socket system calls.
192 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
194 * socktools.C (SUN_LEN): add this MACRO definition for platforms
195 that do not define it themselves.
197 2003-10-08 Angus Leeming <leeming@lyx.org>
199 * copied_ptr.h: get rid of the swap member function.
201 2003-10-08 Angus Leeming <leeming@lyx.org>
203 Fix doxygen warnings.
205 * debugstream.h: \file debugStream.h -> \file debugstream.h
207 * os.h: move comment so that doxygen is not confused.
209 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
211 * Makefile.am: fix typo.
213 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
215 * std_string.h: delete file
217 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
219 * lstrings.C: Small fixes to build using STLport
221 2003-09-29 Angus Leeming <leeming@lyx.org>
223 * filetools.C (ReplaceEnvironmentPath): make it work for both
224 ${HOME}/foo and $HOME/foo.
226 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
228 * debugstream.h: add file, updated version of the DebugStream
230 * DebugStream.C,DebugStream.h: delete files
232 2003-09-25 Angus Leeming <leeming@lyx.org>
234 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
235 * lstrings.[Ch]: (regexMatch): removed.
237 2003-09-25 Angus Leeming <leeming@lyx.org>
239 * translator.h (add): new member function.
241 2003-09-16 Angus Leeming <leeming@lyx.org>
243 * textutils.h: remove #include "paragraph.h". Remove functions
244 IsInsetChar and IsWordChar.
246 2003-09-15 Angus Leeming <leeming@lyx.org>
248 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
249 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
250 his book as ValuePtr.
251 Use a memory_traits template parameter to create/destroy memory in a
254 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
258 * filetools.C: Remove usage of STRCONV
260 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
263 * std_string.h: modify to always work with std::string, but if
264 with-included-string then use it through namespace lyx. Remove
267 * lyxstring.[Ch]: remove files
269 2003-09-15 Angus Leeming <leeming@lyx.org>
271 * translator.h: add #include <boost/assert.hpp>, so that the
272 template is self-contained.
274 2003-09-11 Angus Leeming <leeming@lyx.org>
277 * copied_ptr.h: added to the repository. Maybe temporarily.
279 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
281 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
283 * several files: change Assert to BOOST_ASSERT
286 * LAssert.h: remove files
288 2003-09-08 Angus Leeming <leeming@lyx.org>
291 * filetools.C: tell the world where to find author contact details.
293 2003-09-08 Angus Leeming <leeming@lyx.org>
299 * lyxsum.C: remove redundant using directives.
301 2003-09-05 Angus Leeming <leeming@lyx.org>
303 * lstrings.C: small bformat fix
305 2003-09-05 Angus Leeming <leeming@lyx.org>
307 * std_istream.h: new file Just renaming of LIstream.h
308 * std_ostream.h: new file Just renaming of LIstream.h
309 * std_sstream.h: new file Just renaming of Lsstream.h
310 * std_string.h: new file Just renaming of LString.h
312 2003-09-05 Angus Leeming <leeming@lyx.org>
316 ensure that the header file can be compiled stand-alone.
318 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
320 * lstrings.[Ch] (bformat): add a variant taking two ints.
322 2003-09-04 Angus Leeming <leeming@lyx.org>
325 * filename.C: move #include "os.h" out of the header file.
327 2003-09-04 Angus Leeming <leeming@lyx.org>
329 * path.C (ctor, dtor): move out of line.
331 2003-09-03 Angus Leeming <leeming@lyx.org>
333 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
334 (mangledFilename): new function, returning a mangled version of the
335 absolute file name, suitable for use in the temp dir when, for example,
336 converting an image file to another format.
337 (isZipped, unzippedFilename): wrappers to global functions.
339 * filetools.[Ch] (copyFileToDir): removed.
340 (compare_timestamps): new function.
342 2003-09-03 Angus Leeming <leeming@lyx.org>
344 * translator.h: Assert is in namespace lyx::support...
346 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
348 * Makefile.am: do not install path_defines.C in includes
349 (COMPRESSION): mention gzstream.h here
351 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * path_defines.C.in (setLyxPaths): re-introduce the code to check
354 whether lyx is run in place
355 (build_dir): renamed from build_lyxdir
356 (build_lyxdir): give this better semantics compatible with what
357 LibFileSearch expects.
359 2003-07-29 Angus Leeming <leeming@lyx.org>
361 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
362 defaults to string() because MakeRelPath can accept that.
364 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
366 * Makefile.am: conditionalize USE_COMPRESSION.
368 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
370 * filetools.C (getExtFromContents): correct magic for gzip and
373 * path_defines.[Ch]: move lyx_localedir out of anon namespace
375 * gzstream.h: new fileq
377 * gzstream.C: new file
379 2003-07-27 Angus Leeming <leeming@lyx.org>
381 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
382 user_lyxdir): are now functions, not global vars.
384 * Makefile.am: set build_lyxdir at make time.
386 2003-07-27 Angus Leeming <leeming@lyx.org>
388 * path_defines.{h,C.in}: new files. Store/set the various lyx
389 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
392 * Makefile.am: add some magic to enable the user to set the path to
393 the system-level lyx support files, the top of the lyx build tree
394 and the system-level lyx locale directory at _make_ time rather
397 * .cvsignore: add path_defines.C.
399 2003-07-26 Angus Leeming <leeming@lyx.org>
401 * os.h: remove irrelevant discussion of system_tempdir.
403 2003-07-21 Angus Leeming <leeming@lyx.org>
405 * filename.[Ch]: new files implementing class FileName.
406 * Makefile.am: add filename.[Ch].
408 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
410 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
411 not allow it (at least not in this form.)
413 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
415 * os_win32.C: put namespace os in lyx::support.
417 * lstrings.C (bformat): call Assert from correct namespace.
419 * introduce namespace lyx::support
421 2003-06-30 André Pönitz <poenitz@gmx.net>
424 * lstrings.C: re-enable --with-included-string
426 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
428 * filetools.h: fix some \param issue
430 * boost-inst.C: fix \file
432 * LAssert.h: fix \file
434 2003-06-20 Angus Leeming <leeming@lyx.org>
436 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
438 2003-06-18 Angus Leeming <leeming@lyx.org>
440 * many files: add the standard blurb, "This file is part of LyX" etc
442 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
444 * limited_stack.h: make it have a const_iterator, add begin, and
447 2003-06-10 Angus Leeming <leeming@lyx.org>
449 * filetools.C (copyFileToDir): ensure that temp files have unique names.
451 2003-06-04 André Pönitz <poenitz@gmx.net>
453 * limited_stack.h (top): return reference instead of value
455 2003-06-02 Angus Leeming <leeming@lyx.org>
457 * filetools.[Ch] (copyFileToDir): new helper function.
459 * os.h: remove trailing semi-colon from end of namespace os block.
461 2003-06-01 Angus Leeming <leeming@lyx.org>
463 * filetools.h (LibScriptSearch): give the function a meaningful
464 description of what it now does.
466 2003-05-30 Angus Leeming <leeming@lyx.org>
468 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
469 this with the path to the script. If the script is not found, the "$$s/"
472 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
474 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
477 2003-05-19 André Pönitz <poenitz@gmx.net>
479 * lstrings.C: add missing implementation of three-arg bformat
481 * lstrings.C: change rest of char * fmt -> string const & fmt
484 2003-05-15 André Pönitz <poenitz@gmx.net>
486 * lstrings.[Ch]: use string const & instead of char const * for format
488 2003-05-12 André Pönitz <poenitz@gmx.net>
490 * tostr.[Ch]: add long int overload
492 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
494 * lstrings.[Ch]: compile fix
496 2003-05-12 André Pönitz <poenitz@gmx.net>
498 * lstrings.[Ch]: bformat() as wrapper around boost::format
500 * lyxstring.h: enable templatized constructor
502 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
504 * limited_stack.h: Change some comments, simplify a couple of
507 2003-02-21 André Pönitz <poenitz@gmx.net>
509 * limited_stack.h: change underlying container to deque to
510 make this re-usable in mathed
512 2003-04-08 John Levon <levon@movementarian.org>
514 * filetools.C: fix MakeDisplayPath() to not
517 2003-03-30 John Levon <levon@movementarian.org>
521 * boost-inst.C: moved from src/
523 2003-03-29 John Levon <levon@movementarian.org>
526 * filetools.C: never call Alert directly from here
528 2003-03-12 John Levon <levon@movementarian.org>
530 * textutils.h: remove META_NEWLINE
532 2003-02-27 Ling Li <ling@caltech.edu>
534 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
537 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
539 * forkedcontr.C (timer): remove bogus continue
541 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
543 * forkedcallqueue.[Ch]: added
545 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
547 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
548 Emiting the signal can result in an arbitrary change to the list.
550 2003-02-25 Angus Leeming <leeming@lyx.org>
552 * forkedcontr.C (timer): Use a while loop rather than for; makes it
553 easier to erase an element.
555 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
557 * forkedcontr.C (timer): don't start a running timer.
559 2003-02-21 André Pönitz <poenitz@gmx.net>
561 * filetools.C (PutEnv): removed (unused)
563 2003-02-17 John Levon <levon@movementarian.org>
566 * forkedcall.C: add running()
568 2003-02-08 John Levon <levon@movementarian.org>
572 * lyxtime.C: add typedef for time_t, add current_time
578 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
580 * filetools.C (getExtFromContents): remove detection of epsi
582 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
584 * several files: ws changes
586 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
588 * filetools.C (DirList): remove all ugly hacks and do it nice
590 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
592 * lyxsum.C: an ugly hack to compile with non-gnu linkers
594 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
596 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
597 a solution that he likes and which actually works.
599 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
601 * lstrings.h (tostr): STRCONV
603 * lstrings.C (regexMatch): STRCONV
604 (getVectorFromString): STRCONV, manual copy into vector
606 * filetools.C (GetFileContents): STRCONV
608 * os.C: include config.h
610 * lstrings.C (getVectorFromString): rewrite to use
613 2002-10-31 Angus Leeming <leeming@lyx.org>
615 * forkedcall.C (generateChild): clean it up further.
617 2002-10-25 Angus Leeming <leeming@lyx.org>
619 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
620 and a minimal ForkedCall daughter class.
622 * forkedcontr.[Ch]: minimal changes reflecting the use of a
623 ForkedProcess base class responsible for launching all child proceses.
625 2002-09-25 Angus Leeming <leeming@lyx.org>
628 * LOstream.h: doxygen fixes.
630 2002-09-24 Angus Leeming <leeming@lyx.org>
632 * most files: clean-up the license info.
634 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
636 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
638 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
640 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
641 since at least for Cygwin, the "rb" read_mode acceptable for
642 fopen() is illegal for popen(), whose mode argument *must* be "r"
645 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
648 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
650 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
653 * smart_ptr.h: remove file
656 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
658 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
659 class_fun and void_class_fun
661 2002-08-20 John Levon <levon@movementarian.org>
666 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
668 * textutils.h: formatting.
670 2002-08-08 John Levon <levon@movementarian.org>
672 * limited_stack.h: default to 100 not 10
674 2002-08-01 John Levon <levon@movementarian.org>
676 * forkedcall.C: more details on error
678 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
680 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
681 also add a trim function that is the equiv of
682 strip(frontStrip(...)), also reimplement the functions
683 (improvements still possible.)
685 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
686 * forkedcall.C (generateChild): ditto
690 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
692 * filetools.C (GetEnvPath): modify because of strip changes
693 (createDirectory): ditto
695 * lstrings.[Ch] (isStrInt): ditto
696 (isStrUnsignedInt): ditto
698 (strToUnsignedInt): ditto
700 (contains): removed unneeded version of contains
701 (containsOnly): removed uneeded versions of containsOnly
702 (strip, frontStrip): removed unneded versions, changed argument types.
704 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
706 * filetools.C (RunCommand): Made public
708 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
710 * limited_stack.h: fix comment, remove un-needed header
712 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
714 * lstrings.h: correct comments for token and tokenPos
716 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
718 * lyxstring.C (operator>>): replace code which works only with
719 _some_ versions of GNU STL with generic one
721 2002-07-18 Angus Leeming <leeming@lyx.org>
723 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
724 signal should it do so.
726 * Makefile.am: add FileMonitor.[Ch].
728 2002-07-18 André Pönitz <poenitz@gmx.net>
730 * filetools.C (LibScriptSearch): bug fix
732 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
734 * filetools.C (LyXReadLink): add bool 'resolve' to return link
735 contents as an absolute path
737 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
739 * filetools.C (IsLyXFilename):
740 (IsSGMLFilename): use ascii_lowercase instead of lowercase
742 * lstrings.[Ch] (ascii_lowercase): new function
744 2002-07-16 André Pönitz <poenitz@gmx.net>
746 * FileInfo.Ch: remove unneeded code
748 2002-06-20 Herbert Voss <voss@perce.de>
750 * filetools.[C] (readExtFromContents): add support for
753 2002-06-26 André Pönitz <poenitz@gmx.net>
755 * filetools.[Ch]: small whitespace, more compact 'return' statement
757 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
759 * lyxalgo.h: add eliminate_duplicates
761 2002-06-17 Herbert Voss <voss@perce.de>
763 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
764 (readBB_lyxerrMessage) to get better lyxerr messages
765 (getExtFromContents) test epsi files in the right way
767 * DestroxLyXTmpDir.C: changed to true, to delete the
768 temporary unzipped files, too.
770 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
772 * putenv.C (putenv): putenv should never be found in std::
774 * kill.C (kill): kill should never be found in std::
776 * filetools.C: pclose and popen should never be found in std::
778 2002-06-07 Angus Leeming <leeming@lyx.org>
780 Fixes needed to compile with Compaq cxx 6.5.
781 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
782 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
783 more than one instance of overloaded function "lyx::class_fun" matches
793 all c-library variables have been moved into namespace std.
794 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
796 * kill.C: rename signal.h as csignal.
798 * putenv.C: rename stdlib.h as cstdlib
800 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
802 * lxtl.h: remove unused file
804 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
811 * StrPool.C: remove unused files
821 * types.h: document and small cleanups
823 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
825 * switch from SigC signals to boost::signals.
827 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
830 * limited_stack.h: new template for limited-size
833 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
835 * filetools.C: do not include LSubstring.h
837 * lstrings.C: change include order
838 (regexMatch): use boost regex get rid of LRegex and LSubstring
840 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
843 * LSubstring.h: remove file
848 * LSubstring.C: ditto
850 2002-05-24 Juergen Vigna <jug@sad.it>
852 * lyxsum.C: include local includes first (self containment)
854 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
856 * forkedcall.h: use more specific smart_ptr header.
858 * lyxsum.C: move some using declarations around.
860 2002-05-03 Herbert Voss <voss@perce.de>
862 * filetools.C (getExtFromContents): only print the first 60 chars of
863 the scanned-string when debugging.
865 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
867 * lyxstring.C: close to typo fix.
869 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
871 * filetools.C: add a using std::getline directive.
873 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
875 * lyxstring.C (operator>>): try a new version of the operator>>
877 2002-04-14 Herbert Voss <voss@perce.de>
879 * lstrings.[Ch]: move the getVectorFromString and the vice versa
880 from frontends/controllers/helper_funcs for better use in other
883 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
885 * tempname.C (make_tempfile): simplify the #ifdef block by using
886 #if defined and re-write the #warning as a #error because it's terminal.
888 2002-04-08 Herbert Voss <voss@perce.de>
890 * filetools.C (getExtFromContents): get tgif run
892 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
894 * filetools.C (getExtFromContents): re-format a little and remove
895 replicated "sgi" entry.
897 2002-04-07 Herbert Voss <voss@perce.de>
899 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
900 for the lyx-view in graphics (moved from ControlGraphics)
902 2002-04-07 Herbert Voss <voss@perce.de>
904 * filetools.C: fix bug for eps. scans now a whole line
906 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
908 * lyxstring.C (operator>>): use the better solution, this fixes a
909 "not able to read '\0'" bug.
911 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
913 * translator.h: add missing typename
915 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
917 * filetools.C (LibScriptSearch): new command. Searches for scripts
918 in lyx data directories.
919 (LibScriptSearch): try to use split() correctly.
921 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
923 * most files: ws cleanup
925 * Makefile.am: remove ld -r stuff
927 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
929 * Makefile.am (libsupport.la): special rules if partial linking
931 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
933 * forkedcontr.C: turn the timer off when their are no longer any
934 child processes running.
936 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
938 * forkedcall.h: docy fix
939 change SignalType second type to be const ref.
941 * forkedcall.C: doxy fix
943 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
945 * lyxsum.C: compilation fix
947 2002-03-02 Herbert Voss <voss@perce.de>
949 * filetools.C: fix bug for xbm format and added some more debug
952 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
954 * forkedcontr.h: make constructor public
956 * types.h: remove layout_type
958 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
960 * filetools.C (getExtFromContents): cleanup.
962 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
964 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
966 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
967 building outside of source tree.
969 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
972 * forkedcontr.[Ch]: new files. Asger's forked call controller is
973 re-born, with a working timer and a modified interface. The
974 startscript method is now passed a Signal rather than a pointer
975 to a callback function. This enables us to connect to the method of
976 a C++ class, if we so desire.
978 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
980 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
985 * nt_defines.h: moved from src/
987 2002-02-23 Herbert Voss <voss@perce.de>
989 * filetools.C: added more graphic formats
991 2002-02-18 Herbert Voss <voss@perce.de>
993 * filetools.C: (getExtFromContents) return the fileextension
994 if no format is detected.
996 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
998 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
999 as class SystemCall because one Systemcall instance represents a
1000 single child process.
1003 * Makefile.am: associated changes.
1005 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1007 * syscall.C (Systemcalls): include <cstdlib>
1009 2002-02-08 Herbert Voss <voss@perce.de>
1011 * filetools.C: (getExtFromContents) adding Grace-format
1014 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1017 * syssingleton.C: files removed.
1019 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
1020 uses it. Strip down the Systemcalls interface to make it brutally
1021 obvious how unsophisticated it is.
1023 2002-02-08 Herbert Voss <voss@perce.de>
1025 * filetools.C: (getExtFromContents) adding TGIF-format
1026 and return type "user" when no type is detected
1028 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1030 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1032 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1034 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1036 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1038 * FileInfo.h: remove special cygwin code.
1040 * filetools.C (do_popen): use os::read_mode().
1042 * os_win32.C (read_mode):
1043 * os_os2.C (read_mode):
1044 * os_unix.C (read_mode): new method
1046 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1047 Hentschel). This code should maybe be moved to os:: class.
1049 2002-02-08 Herbert Voss <voss@perce.de>
1051 * filetools.C: (unzipFile) fix typo
1053 2002-02-06 Herbert Voss <voss@perce.de>
1055 * filetools.[Ch]: fix some bugs for detecting zipped files
1058 2002-02-04 Herbert Voss <voss@perce.de>
1060 * filetools.[Ch]: add ifZippedFile() for zipped
1063 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1065 * filetools.C (FileOpenSearch): remove duplicated line, probably
1066 resulting from bad cut-and paste.
1068 2002-01-31 Herbert Voss <voss@perce.de>
1070 * filetools.[Ch]: add getExtFromContents(), which returns
1071 the type of the (graphic) file
1073 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1075 * copy.C (copy): open file in binary mode (for cygwin)
1077 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1079 * lyxsum.C: remove #warnings and replaced them with runtime debug
1082 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1084 * lyxalgo.h: include <algorithm>
1086 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1088 * lyx_algo.h: add a standard-conforming count to namespace lyx.
1090 * lstrings.[Ch] (countChar): removed. Use lyx::count.
1092 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1094 * filetools.C: fix use of FileInfo
1097 * FileInfo.C: add Asserts and documentation
1099 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
1101 * os_win32.C: compilation fixes
1103 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1105 * lstrings.h: do not include <cctype>
1107 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1109 * lyxsum.C: portability fix for mmap patch
1111 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1115 * lyxstring.C: change "while(" to "while ("
1117 2001-12-03 Ben Stanley <bds02@uow.edu.au>
1119 * lyxsum.C: Added mmap version of CRC and made it selected
1120 by default where available. Used process_block for crc for speedup.
1122 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1124 * filetools.C: more robust failure for DirList()
1126 2001-11-29 André Pönitz <poenitz@gmx.net>
1128 * types.h: introduce types for textclass numbers and layout numbers
1130 2001-11-28 André Pönitz <poenitz@gmx.net>
1132 * Makefile.am: put types.h in
1134 2001-11-26 André Pönitz <poenitz@gmx.net>
1136 * types.h: introduce types for paragraph positions and layout numbers
1138 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1140 * filetools.C: remove dead code
1142 * syscall.C: show prog in fail case
1144 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1146 * filetools.C: code style cleanup
1148 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1150 * os.h: remove spurious punctuation.
1152 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1155 * LAssert.C: use new emergencyCleanup()
1157 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1159 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1160 like GNU gettext does.
1162 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1164 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1166 (findtexfile): oops! the change from last friday was wrong...
1168 * os_win32.C (is_absolute_path):
1169 * os_unix.C (is_absolute_path):
1170 * os_os2.C (is_absolute_path): new method
1172 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1174 * filetools.C (findtexfile): apply os::internal_path to the result.
1176 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1181 * os.h: add internal_path method, which converts a unix-type file
1182 name to the type known to the underlying file system (currently
1183 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1185 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1187 * smart_ptr.h: new file
1189 * utility.h: new file
1191 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1194 * filetools.C (IsDirWriteable): fix this
1196 2001-07-26 Baruch Even <baruch@lyx.org>
1198 * lyxlib.h (float_equal): Added function to compare floats almost equal
1199 (see function comment).
1201 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1203 Consistent use of Lsstream.h:
1204 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1206 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1208 * translator.h: (*it). -> it->
1210 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1212 * filetools.C (DeleteAllFilesInDir): send debug output to
1213 Debug::FILES instewad of Debug::ANY.
1215 * DebugStream.h: remove gcc 2.8.x hack.
1217 2001-06-26 The LyX Project <jug@sad.it>
1220 * lstrings.C (escape): move method to escape non ascii characters
1221 from insets label and ref to here.
1223 2001-06-25 The LyX Project <jug@sad.it>
1225 * filetools.C (IsLyXFilename):
1226 (IsSGMLFilename): do case insensitive name matching
1228 2001-06-24 The LyX Project <jug@sad.it>
1230 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1231 which only considers case of ascii characters
1233 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1236 2001-06-23 The LyX Project <jug@sad.it>
1238 * textutils.h (IsPrintable): take into account unprintable spaces
1240 (IsDigit): new function
1241 (IsLetterCharOrDigit): use IsDigit
1243 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1245 * filetools.C (findtexfile): strip final \r if necessary (for
1248 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1251 * StrPool.C: removed // -*- C++ -*- as first line.
1253 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1255 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1258 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1263 * LSubstring.C: bring C functions in global namespace if
1266 * lstrings.h (compare): use the std:: version of str[n]cmp only
1269 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1271 * syscontr.C: add std::
1273 * syscall.C: add std::
1275 * lstrings.h (compare): add std::
1277 * lstrings.C (prefixIs): add std::
1281 * LSubstring.C (LSubstring): add std::
1283 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1285 * lyxsum.C (sum): use istreambuf_iterator when available.
1287 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1289 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1292 * lyxstring.C (operator): make const operator[] behave as
1295 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1297 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1299 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1301 * filetools.C (MakeAbsPath): remove debugging statement
1303 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1305 * FileInfo.h: X_OK workaround for cygwin
1314 * filetools.h: Added os:: class.
1318 * tempname.C: OS/2 fixes
1320 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1322 * textutils.h: remvoe !NEW_INSETS cruft
1324 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1327 * atoi.C: add using directives when needed for C functions
1328 declared in std:: namespace.
1330 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1332 * lstrings.C : add two helper structs, local_lowercase and
1334 (lowercase): change to use std::transform
1335 (uppercase): change to use std::transform
1337 2001-04-25 Allan Rae <rae@lyx.org>
1339 * lyxstring.C : Assert got moved and Lars missed a few.
1341 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1343 * LAssert.h (Assert): put into namespace lyx
1345 * lyxfunctional.h: put into namespace lyx
1346 * translator.h: adjust
1348 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1350 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1352 * FileInfo.h: inherit privately from noncopyable
1355 2001-04-16 Allan Rae <rae@lyx.org>
1357 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1358 as an unrecognised preprocessor directive. So ensure they're wrapped.
1360 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1362 * several files: remove CXX_WORKING_NAMESPACES
1364 * FileInfo.h: noncopyable is in namespace boost
1367 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1369 * syscontr.h: fix header include
1371 2001-02-28 Baruch Even <baruch@ev-en.org>
1373 * filetools.C: Removed dependency on syscall.h
1376 * syscall.C: Minor cleanings before I start to touch this code.
1378 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1380 * filetools.C (CreateTmpDir): change umask to 0700.
1382 2001-02-27 José Matos <jamatos@fep.up.pt>
1384 * filetools.h (BasePath):
1385 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1387 * filetools.C (IsLyXFilename):
1388 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1391 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1395 * atoi.C: remove cruft
1397 2001-02-06 albert chin <china@thewrittenword.com>
1400 * fmt.C: use HAVE_DECL_SNPRINTF
1402 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1404 * lyxstring.C: Fix some assertions.
1406 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1408 * lstrings.C (strip): Add a fix for compilers with broken
1409 string::find_last_not_of.
1411 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1413 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1415 * lyxstring.C (rfind): Fix broken functions.
1416 (find): Few optimizations.