1 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * .cvsignore: add package.C
5 * FileInfo.C, FileInfo.h: delete files
7 * fs_extras.C, fs_extras.h: new files
9 * FileMonitor.C, filetools.C: rewrite to use boost.filesystem
11 * Makefile.am (libsupport_la_SOURCES: delete FileInfo.[Ch], add
14 * filetools.C: make destroydir return true if something was
15 deleted. adjust callers.
16 (IsFileWritable): replace with is_readonly in fs_extras, adjust
19 * package.C.in: rewrite to use boost.filesystem
21 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
23 * tests: add some code for automatic regression testing, can be
24 improved or removed as we see fit
26 * lyxlib.h (atoi): delete func
28 * lstrings.[Ch] (strToInt): delete func
29 (strToUnsignedInt): delete func
30 (strToDbl): delete func
32 * Makefile.am: add subdir tests, delete atoi.C
36 * convert.C: add specializations for converting to int, unsigned
37 int, double from string, and for converting to int and double from
40 * convert.h: remove commented code
42 2005-01-22 Angus Leeming <leeming@lyx.org>
44 * path.C (Path): revert the patch since the if statement has side
45 effects that are needed for the code to work :-(
47 2005-01-21 Angus Leeming <leeming@lyx.org>
49 * os_cygwin.C, os_win32.C: strip the Cygwin-specific stuff out of
50 os_win32.C and give it its own file.
52 * os.C: #include "os_cygwin.C" if building on Cygwin.
54 2005-01-20 Angus Leeming <leeming@lyx.org>
56 * lyxlib.h (float_equal): promote parameters to double.
58 * path.C (Path): silence MSVC warning about block of code that
61 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
63 * FileInfo.h, chdir.C, forkedcall.C, forkedcontr.C, getcwd.C,
64 mkdir.C, os_defines.h, pch.h, rmdir.C, unlink.C:
65 use the HAVE_UNISTD_H preprocessor guard.
67 2005-01-20 Angus Leeming <leeming@lyx.org>
69 * filetools.[Ch] (LibScriptSearch): modify the code that replaces
70 the $$s placeholder with a path, so that it now inserts the path
71 of the lyx support directory, not the scripts subdirectory.
73 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
75 * lyxsum.C, socktools.C, tempname.C, userinfo.C: use the
76 HAVE_UNISTD_H preprocessor guard.
78 2005-01-17 Angus Leeming <leeming@lyx.org>
80 * os_win32.C (init): Add Ruurd's original code to close the
81 console window that Windows opens for us, together with a note
82 explaining the alternative approach.
84 2005-01-17 Angus Leeming <leeming@lyx.org>
86 * package.C.in (get_binary_path): convert relative paths stored
87 in the PATH environment variable to absolute ones.
89 2005-01-16 Angus Leeming <leeming@lyx.org>
91 * filetools.[Ch] (prependEnvPath): prepend a list of paths to
92 that returned by the environment variable. Identical paths occurring
93 later in the list are removed.
95 2005-01-16 Angus Leeming <leeming@lyx.org>
97 * filetools.C (createLyXTmpDir): add some missing brackets to the
98 if-block. OS/2 users will be happier.
100 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
102 * os_win32.C (external_path): Check the new cygwin_path_fix_ bool
103 before translating external paths to Win32 paths.
105 2005-01-13 Angus Leeming <leeming@lyx.org>
107 * os.h, os_os2.C, os_unix.C, os_win32.C (cygwin_path_fix): new
108 function flagging whether LyX should output native Win32 paths
109 or cygwin paths. Obviously operative only under Cygwin.
111 2005-01-13 Angus Leeming <leeming@lyx.org>
113 * package.C.in: use "%n$s" rather than "%n%" for n=1,2,3... when
114 calling bformat so that the substitutions work for the non
115 boost::format users too.
117 2005-01-12 Angus Leeming <leeming@lyx.org>
119 * filetools.[Ch] (setEnvPath): new function to create a PATH-style
120 string from a vector of paths and to use it to set an environment
122 (putEnv): resurrect this from the grave.
124 * os.h, os_os2.C, os_unix.C, os_win32.C (path_separator): new
125 function returning the character used to separate paths returned
126 by the PATH environment variable.
128 * os_win32.C: add #include "lstring.h" back in.
130 * package.C.in (package): comment out the ASSERT for now.
131 (check_env_var_dir): write one of the strings to be translated
132 (any one, doesn't matter) on a single line so that the
133 gettext search mechanism in po/Makefile.in.in will register
134 package.C.in as a file containing strings that need translation.
136 2005-01-10 Angus Leeming <leeming@lyx.org>
141 * os_win32.C (binpath, binname, homepath, setTmpDir, getTmpDir, warn):
142 removed. Remove also all code to set the associated data variables.
144 * package.{C.in,h}: new files to ascertain the paths to the
145 various directories used by LyX. Does nothing with these paths,
146 just determines the strings themselves.
148 * path_defines.{C.in,h}: removed.
150 * Makefile.am: remove path_defines.{C.in,h}. Add package.{C.in,h}.
152 * filetools.[Ch] (GetEnvPath): remove.
153 (getEnvPath): replacement. Returns a vector<string> of paths.
156 * tempname.C: use support/package.h to provide the paths to the
157 various directories used by LyX.
159 2005-01-07 Angus Leeming <leeming@lyx.org>
161 * convert.C (string>): add specialization for long.
163 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
165 * convert.h: remove the specializations, don't included unneeded
167 * convert.C: add specialization for unsigned long
169 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
171 * tostr.[Ch]: renamed to convert[ch]
173 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
175 * lstrings.[Ch]: change bformat to be a template
177 * tostr.[Ch]: tostr -> convert, convert is a template
180 * filetools.C (createBufferTmpDir): tostr -> convert
182 2005-01-05 Angus Leeming <leeming@lyx.org>
184 * os_win32.C (external_path, internal_path): s/MAX_PATH/PATH_MAX/.
186 2005-01-04 Angus Leeming <leeming@lyx.org>
188 * os_win32.C (current_root): use _getdrive on Win32.
190 * FileInfo.C (FileInfo, newFile): strip the trailing '/' from
191 the stored file name as it breaks Window's version of stat().
192 (isLink): protect the code with #ifdef S_ISLNK.
193 (dostat): protect the code with #ifdef HAVE_LSTAT.
194 (typeIndicator): remove code testing the file's executable status.
196 * filetools.C (LyXReadLink): protect the code with
197 #ifdef HAVE_READLINK.
199 2005-01-01 Kayvan Sylvan <kayvan@sylvan.com>
201 * os_win32.C (internal_path): remove the call to MakeLatexName as
202 it is (1) unnecessary and (2) leads to an infinite loop as
203 MakeLatexName calls AddName which calls internal_path...
205 2004-12-19 Angus Leeming <leeming@lyx.org>
207 * path_defines.C.in (setLyxPaths): on a Windows build,
208 remove the ".exe" extension from the name of the LyX binary when
209 trying to ascertain the name of the LyX system directory.
210 (Usually, <path to binary>/../share/<name of binary>/).
212 * os.h, os_os2.C, os_unix.C, os_win32.C (slashify_path): remove.
214 * os_win32.C (init): ensure that the name of the lyx executable is
215 stored internally with a unix-style path.
217 * os_win32.C (internal_path, external_path): differentiate between
218 cygwin and windows builds.
220 * filetools.C (FileOpenSearch, GetEnvPath, createDirectory,
221 MakeAbsPath, AddName, MakeRelPath, ChangeExtension):
222 * filename.C (mangledFilename):
223 s/slashify_path/internal_path/.
225 2004-12-16 Angus Leeming <leeming@lyx.org>
227 * filename.C (mangledFilename): Given a Windows-style path, don't
228 forget to mangle the drive letter too when generating a unique
231 2004-12-16 Angus Leeming <leeming@lyx.org>
233 * mkdir.C: move the HAVE_MKDIR conditional code out of config.h
236 2004-12-15 Angus Leeming <leeming@lyx.org>
238 * FileInfo.[Ch] (getNumberOfLinks): removed.
240 2004-12-15 Angus Leeming <leeming@lyx.org>
242 * tempname.C: #include fcntl.h and sys/stat.h if creating a temp
243 file using mktemp and open.
245 2004-12-14 Angus Leeming <leeming@lyx.org>
247 * os.h, os_os2.C, os_unix.C, os_win32.C:
248 (binpath, binname, getTmpDir): return a const reference rather than
250 (homepath, nulldev): new functions returning the name of "HOME" and
251 the null device, respectively.
253 * filetools.C: (ExpandPath, MakeDisplayPath):
254 * path_defines.C.in (setLyxPaths): use os::homepath(), not
257 2004-12-14 Angus Leeming <leeming@lyx.org>
259 * os.h, os_{os2,unix,win32}.C (init): change interface to no longer
260 pass the addresses of the parameters received by main.
262 2004-12-14 Angus Leeming <leeming@lyx.org>
264 * copy.C (copy): open the ifstream with ios::binary.
266 2004-12-14 Angus Leeming <leeming@lyx.org>
268 * os.C: Add _WIN32 to the #define.
270 * systemcall.C (startscript): remove trailing '/n' from request to
271 start the command in a minimized window under DOS.
273 2004-12-14 Angus Leeming <leeming@lyx.org>
275 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
276 to overcome bug in the MinGW port of g++ 3.4.2.
278 2004-11-26 Angus Leeming <leeming@lyx.org>
280 * globbing.[Ch] (glob): change API to:
281 1. Append matches to the input container.
282 2. Require a working_dir parameter. The function invokes chdir
283 internally (through use of Path).
285 2004-11-26 Angus Leeming <leeming@lyx.org>
287 * filefilterlist.C (convert_brace_glob): moved here from
290 * filefilterlist.[Ch]: clean-up FileFilterList API.
292 * globbing.[Ch] (convert_brace_glob): moved to filefilterlist.C.
293 (expand_globs): moved to xforms/FormFiledialog.C.
295 2004-11-25 Angus Leeming <leeming@lyx.org>
297 * filefilterlist.[Ch]:
298 * globbing.[Ch]: split FileFilterList into its own .[Ch] files.
300 * Makefile.am: add filefilterlist.[Ch].
302 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * textutils.h (isKommaChar): remove
306 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
308 * forkedcontr.C (find_pid): simplify and also make pass concept
310 (handleCompletedProcesses): make sure that we do not slice the
311 object and satisfy concept checks.
313 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
315 * filetools.[Ch] (getFormatFromContents): don't guess format from
316 extension, return string() instead of "user" if the format could
319 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
321 * Make it clearer where include files are coming from.
323 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
325 * translator.h: use bind, equal_to instead of equal_1st_in_pair
326 and equal_2nd_in_pair
328 * Makefile.am (libsupport_la_SOURCES): remove lyxfunctional.h
329 * lyxfunctional.h: delete file
331 * lyxfunctional.h: delete compare_memfun and helper classes
333 * forkedcontr.C (find_pid): use bind, equal_to instead of
336 * lyxfunctional.h: delete back_inserter_fun functions and helper
339 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
341 * snprintf.[ch]: removed
343 * Makefile.am (libsupport_la_SOURCES): remove snprintf
345 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
347 * filetools.[Ch] (getExtFromContents): rename to
348 getFormatFromContents and return always a format
350 2004-10-25 Angus Leeming <leeming@lyx.org>
352 * forkedcall.C (generateChild): strip quotes from each argument
355 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
357 * pch.h: use proper signal include
359 * forkedcallqueue.C: remove unused include
361 * FileMonitor.h: Use the preferred calling for Boost.Signal
362 * forkedcall.h: ditto
364 * FileMonitor.C: use the new signal typedef
366 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
368 * forkedcall.h: remove include of <boost/function/funtion0.hpp>
371 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * textutils.h (IsLetterCharOrDigit): remove
375 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
377 * filetools.C (LibScriptSearch): quote the path of the script, in
378 case it contains spaces
380 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
382 * tostr.C: reimplement using lexical_cast
384 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
386 * pch.h: do not use include boost/format.hpp, multiple symbols
387 will result (gcc bug)
389 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
393 * Makefile.am: support pch
395 2004-08-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * globbing.C (FileFilterList): make sure that "All files (*)" is
398 always part of the filters list
400 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
402 * tostr.C, lstrings.C, globbing.C, filetools.C: change
403 "support/std_sstream.h" to <sstream>
405 * Makefile.am (libsupport_la_SOURCES): delete std_sstream.h and
407 (std_sstream.h): delete file
408 (sstream.h): delete file
410 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
412 * filetools.C (i18nLibFileSearch): honor case where LANGUAGE
413 specifies a list of locales (thanks to Pablo Saraxtaga for the
416 2004-05-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
418 * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
419 its po files when moved around; set default user directory to
420 ~/Library/Preferences/LyX/ for LyX/Mac.
421 (lyx_localedir): return the value that may have been computed in
424 2004-05-27 Kayvan Sylvan <kayvan@sylvan.com>
426 * Makefile.am (libsupport_la_SOURCES): remove reference to
429 2004-05-20 Angus Leeming <leeming@lyx.org>
431 * debugstream.h: wrap the definition of debug_trait::DEBUG with
432 preprocessor guards that protect against a name clash with a
433 macro DEBUG. Such a macro is defined by the Qt library...
435 2004-04-27 Angus Leeming <leeming@lyx.org>
437 * path_defines.{h,C.in}: expose top_srcdir, renamed from
440 2004-04-05 Angus Leeming <leeming@lyx.org>
443 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
445 2004-04-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
447 * filetools.C (RunCommand): block SIGCHLD during popen/pclose
448 (actually Angus' fix).
450 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
452 * filetools.C (DeleteAllFilesInDir): delete directories with
453 rmdir(), unlink() does not work
455 2004-03-27 Angus Leeming <leeming@lyx.org>
457 * forkedcontr.C (child_handler): squash warning about a
458 signed/unsigned comparison.
459 (handleCompletedProcesses): only output a warning about an error
460 waiting for the child if it is indeed an error ;-)
462 2004-03-26 Angus Leeming <leeming@lyx.org>
464 * forkedcall.[Ch] (run): new function, replacing runBlocking,
467 * forkedcall.C (generateChild): ensure that the code that splits
468 the command up into an array of words won't leak in the event of an
471 * forkedcontr.C: make it a little more robust.
473 2004-03-24 Angus Leeming <leeming@lyx.org>
475 * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
476 of child proccesses and ascertain whether any have died. Instead use
477 the SIGCHLD signal emitted by the system to reap these zombies in the
478 maximally efficient manner. The subsequent emitting of the signal
479 associated with each child process *is* performed within the main
480 lyx event loop, thus ensuring that the code remains safe.
482 A detailed description of the design is to be found in forkedcontr.C.
484 2004-03-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
486 * filetools.C (i18nLibFileSearch): simplify the logic a bit
488 2004-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
490 * filetools.C (i18nLibFileSearch): fix the logic to match closely
493 2004-03-23 Angus Leeming <leeming@lyx.org>
495 * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
496 clone to return a boost::shred_ptr rather than a std::auto_ptr.
498 * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
501 2004-03-22 Angus Leeming <leeming@lyx.org>
503 * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
504 cruft left over from the removal of the Forks dialog.
506 2004-03-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
508 * filename.[Ch] (mangledFilename): make sure that mangled names are
511 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
513 * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
514 remove pathfor argument
515 * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
516 harder to create a usable temp dir
517 * filetools.C (CreateTmpDir): rename to createTmpDir
518 filetools.[Ch] (unzipFile): add argument for output filename
519 * filename.h: fix doxygen warning
521 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
523 * lstrings.h (contains_functor): delete
524 (contains): change into template, simplify
526 * lstrings.C (contains): remove both functions
528 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
530 * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
533 * lstrings.h (contains_functor): inherit from
534 std::binary_function, remove typedefs.
536 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
538 * globbing.C: add using statement for std::distance, remove std::
541 2004-01-08 Angus Leeming <leeming@lyx.org>
543 * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
544 list of available file filters and generate the corresponding vector.
546 2003-12-14 Ronald Florence <ron@18james.com>
548 * tostr.[hC]: added tostr(long unsigned int i).
550 * path_defines.C.in: determine system directory and set PATH for
551 relocatable LyX/Mac bundle.
553 2004-01-06 Angus Leeming <leeming@lyx.org>
555 * globbing.C (glob): compilation fix for cygwin.
557 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
559 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
561 * BoostFormat.h: delete file
562 * boost-inst.C: delete fil
564 * lstrings.C: include boost/format.hpp
566 2004-01-05 Angus Leeming <leeming@lyx.org>
568 * globbing.[Ch]: new files containing some globbing utilities.
570 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
572 * putenv.C: allocate the string before putting it into the
577 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
579 * tempname.C (tempName): use scoped_array for exception safety
581 * os_os2.C (init): use scoped_array for exception safety
583 * getcwd.C (getcwd): use scoped_array for exception safety
585 * forkedcontr.C (addCall): adjust
587 * forkedcall.h: make clone return a auto_ptr
589 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
591 * debugstream.h: add a default constructor that does not setup a
594 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
596 * socktools.C: honor CXX_GLOBAL_CSTD
598 2003-10-16 André Pönitz <poenitz@gmx.net>
600 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
601 using static variables.
603 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
605 * socktools.[Ch]: New files. Wrapper around socket system calls.
607 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
609 * socktools.C (SUN_LEN): add this MACRO definition for platforms
610 that do not define it themselves.
612 2003-10-08 Angus Leeming <leeming@lyx.org>
614 * copied_ptr.h: get rid of the swap member function.
616 2003-10-08 Angus Leeming <leeming@lyx.org>
618 Fix doxygen warnings.
620 * debugstream.h: \file debugStream.h -> \file debugstream.h
622 * os.h: move comment so that doxygen is not confused.
624 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
626 * Makefile.am: fix typo.
628 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
630 * std_string.h: delete file
632 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
634 * lstrings.C: Small fixes to build using STLport
636 2003-09-29 Angus Leeming <leeming@lyx.org>
638 * filetools.C (ReplaceEnvironmentPath): make it work for both
639 ${HOME}/foo and $HOME/foo.
641 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
643 * debugstream.h: add file, updated version of the DebugStream
645 * DebugStream.C,DebugStream.h: delete files
647 2003-09-25 Angus Leeming <leeming@lyx.org>
649 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
650 * lstrings.[Ch]: (regexMatch): removed.
652 2003-09-25 Angus Leeming <leeming@lyx.org>
654 * translator.h (add): new member function.
656 2003-09-16 Angus Leeming <leeming@lyx.org>
658 * textutils.h: remove #include "paragraph.h". Remove functions
659 IsInsetChar and IsWordChar.
661 2003-09-15 Angus Leeming <leeming@lyx.org>
663 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
664 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
665 his book as ValuePtr.
666 Use a memory_traits template parameter to create/destroy memory in a
669 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
673 * filetools.C: Remove usage of STRCONV
675 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
678 * std_string.h: modify to always work with std::string, but if
679 with-included-string then use it through namespace lyx. Remove
682 * lyxstring.[Ch]: remove files
684 2003-09-15 Angus Leeming <leeming@lyx.org>
686 * translator.h: add #include <boost/assert.hpp>, so that the
687 template is self-contained.
689 2003-09-11 Angus Leeming <leeming@lyx.org>
692 * copied_ptr.h: added to the repository. Maybe temporarily.
694 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
696 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
698 * several files: change Assert to BOOST_ASSERT
701 * LAssert.h: remove files
703 2003-09-08 Angus Leeming <leeming@lyx.org>
706 * filetools.C: tell the world where to find author contact details.
708 2003-09-08 Angus Leeming <leeming@lyx.org>
714 * lyxsum.C: remove redundant using directives.
716 2003-09-05 Angus Leeming <leeming@lyx.org>
718 * lstrings.C: small bformat fix
720 2003-09-05 Angus Leeming <leeming@lyx.org>
722 * std_istream.h: new file Just renaming of LIstream.h
723 * std_ostream.h: new file Just renaming of LIstream.h
724 * std_sstream.h: new file Just renaming of Lsstream.h
725 * std_string.h: new file Just renaming of LString.h
727 2003-09-05 Angus Leeming <leeming@lyx.org>
731 ensure that the header file can be compiled stand-alone.
733 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
735 * lstrings.[Ch] (bformat): add a variant taking two ints.
737 2003-09-04 Angus Leeming <leeming@lyx.org>
740 * filename.C: move #include "os.h" out of the header file.
742 2003-09-04 Angus Leeming <leeming@lyx.org>
744 * path.C (ctor, dtor): move out of line.
746 2003-09-03 Angus Leeming <leeming@lyx.org>
748 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
749 (mangledFilename): new function, returning a mangled version of the
750 absolute file name, suitable for use in the temp dir when, for example,
751 converting an image file to another format.
752 (isZipped, unzippedFilename): wrappers to global functions.
754 * filetools.[Ch] (copyFileToDir): removed.
755 (compare_timestamps): new function.
757 2003-09-03 Angus Leeming <leeming@lyx.org>
759 * translator.h: Assert is in namespace lyx::support...
761 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
763 * Makefile.am: do not install path_defines.C in includes
764 (COMPRESSION): mention gzstream.h here
766 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
768 * path_defines.C.in (setLyxPaths): re-introduce the code to check
769 whether lyx is run in place
770 (build_dir): renamed from build_lyxdir
771 (build_lyxdir): give this better semantics compatible with what
772 LibFileSearch expects.
774 2003-07-29 Angus Leeming <leeming@lyx.org>
776 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
777 defaults to string() because MakeRelPath can accept that.
779 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
781 * Makefile.am: conditionalize USE_COMPRESSION.
783 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
785 * filetools.C (getExtFromContents): correct magic for gzip and
788 * path_defines.[Ch]: move lyx_localedir out of anon namespace
790 * gzstream.h: new fileq
792 * gzstream.C: new file
794 2003-07-27 Angus Leeming <leeming@lyx.org>
796 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
797 user_lyxdir): are now functions, not global vars.
799 * Makefile.am: set build_lyxdir at make time.
801 2003-07-27 Angus Leeming <leeming@lyx.org>
803 * path_defines.{h,C.in}: new files. Store/set the various lyx
804 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
807 * Makefile.am: add some magic to enable the user to set the path to
808 the system-level lyx support files, the top of the lyx build tree
809 and the system-level lyx locale directory at _make_ time rather
812 * .cvsignore: add path_defines.C.
814 2003-07-26 Angus Leeming <leeming@lyx.org>
816 * os.h: remove irrelevant discussion of system_tempdir.
818 2003-07-21 Angus Leeming <leeming@lyx.org>
820 * filename.[Ch]: new files implementing class FileName.
821 * Makefile.am: add filename.[Ch].
823 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
825 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
826 not allow it (at least not in this form.)
828 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
830 * os_win32.C: put namespace os in lyx::support.
832 * lstrings.C (bformat): call Assert from correct namespace.
834 * introduce namespace lyx::support
836 2003-06-30 André Pönitz <poenitz@gmx.net>
839 * lstrings.C: re-enable --with-included-string
841 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
843 * filetools.h: fix some \param issue
845 * boost-inst.C: fix \file
847 * LAssert.h: fix \file
849 2003-06-20 Angus Leeming <leeming@lyx.org>
851 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
853 2003-06-18 Angus Leeming <leeming@lyx.org>
855 * many files: add the standard blurb, "This file is part of LyX" etc
857 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
859 * limited_stack.h: make it have a const_iterator, add begin, and
862 2003-06-10 Angus Leeming <leeming@lyx.org>
864 * filetools.C (copyFileToDir): ensure that temp files have unique names.
866 2003-06-04 André Pönitz <poenitz@gmx.net>
868 * limited_stack.h (top): return reference instead of value
870 2003-06-02 Angus Leeming <leeming@lyx.org>
872 * filetools.[Ch] (copyFileToDir): new helper function.
874 * os.h: remove trailing semi-colon from end of namespace os block.
876 2003-06-01 Angus Leeming <leeming@lyx.org>
878 * filetools.h (LibScriptSearch): give the function a meaningful
879 description of what it now does.
881 2003-05-30 Angus Leeming <leeming@lyx.org>
883 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
884 this with the path to the script. If the script is not found, the "$$s/"
887 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
889 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
892 2003-05-19 André Pönitz <poenitz@gmx.net>
894 * lstrings.C: add missing implementation of three-arg bformat
896 * lstrings.C: change rest of char * fmt -> string const & fmt
899 2003-05-15 André Pönitz <poenitz@gmx.net>
901 * lstrings.[Ch]: use string const & instead of char const * for format
903 2003-05-12 André Pönitz <poenitz@gmx.net>
905 * tostr.[Ch]: add long int overload
907 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
909 * lstrings.[Ch]: compile fix
911 2003-05-12 André Pönitz <poenitz@gmx.net>
913 * lstrings.[Ch]: bformat() as wrapper around boost::format
915 * lyxstring.h: enable templatized constructor
917 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
919 * limited_stack.h: Change some comments, simplify a couple of
922 2003-02-21 André Pönitz <poenitz@gmx.net>
924 * limited_stack.h: change underlying container to deque to
925 make this re-usable in mathed
927 2003-04-08 John Levon <levon@movementarian.org>
929 * filetools.C: fix MakeDisplayPath() to not
932 2003-03-30 John Levon <levon@movementarian.org>
936 * boost-inst.C: moved from src/
938 2003-03-29 John Levon <levon@movementarian.org>
941 * filetools.C: never call Alert directly from here
943 2003-03-12 John Levon <levon@movementarian.org>
945 * textutils.h: remove META_NEWLINE
947 2003-02-27 Ling Li <ling@caltech.edu>
949 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
952 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
954 * forkedcontr.C (timer): remove bogus continue
956 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
958 * forkedcallqueue.[Ch]: added
960 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
962 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
963 Emiting the signal can result in an arbitrary change to the list.
965 2003-02-25 Angus Leeming <leeming@lyx.org>
967 * forkedcontr.C (timer): Use a while loop rather than for; makes it
968 easier to erase an element.
970 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
972 * forkedcontr.C (timer): don't start a running timer.
974 2003-02-21 André Pönitz <poenitz@gmx.net>
976 * filetools.C (PutEnv): removed (unused)
978 2003-02-17 John Levon <levon@movementarian.org>
981 * forkedcall.C: add running()
983 2003-02-08 John Levon <levon@movementarian.org>
987 * lyxtime.C: add typedef for time_t, add current_time
993 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
995 * filetools.C (getExtFromContents): remove detection of epsi
997 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
999 * several files: ws changes
1001 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1003 * filetools.C (DirList): remove all ugly hacks and do it nice
1005 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1007 * lyxsum.C: an ugly hack to compile with non-gnu linkers
1009 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
1011 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
1012 a solution that he likes and which actually works.
1014 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1016 * lstrings.h (tostr): STRCONV
1018 * lstrings.C (regexMatch): STRCONV
1019 (getVectorFromString): STRCONV, manual copy into vector
1021 * filetools.C (GetFileContents): STRCONV
1023 * os.C: include config.h
1025 * lstrings.C (getVectorFromString): rewrite to use
1028 2002-10-31 Angus Leeming <leeming@lyx.org>
1030 * forkedcall.C (generateChild): clean it up further.
1032 2002-10-25 Angus Leeming <leeming@lyx.org>
1034 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
1035 and a minimal ForkedCall daughter class.
1037 * forkedcontr.[Ch]: minimal changes reflecting the use of a
1038 ForkedProcess base class responsible for launching all child proceses.
1040 2002-09-25 Angus Leeming <leeming@lyx.org>
1043 * LOstream.h: doxygen fixes.
1045 2002-09-24 Angus Leeming <leeming@lyx.org>
1047 * most files: clean-up the license info.
1049 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1051 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
1053 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
1055 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
1056 since at least for Cygwin, the "rb" read_mode acceptable for
1057 fopen() is illegal for popen(), whose mode argument *must* be "r"
1060 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
1063 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1065 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
1068 * smart_ptr.h: remove file
1071 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1073 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
1074 class_fun and void_class_fun
1076 2002-08-20 John Levon <levon@movementarian.org>
1081 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1083 * textutils.h: formatting.
1085 2002-08-08 John Levon <levon@movementarian.org>
1087 * limited_stack.h: default to 100 not 10
1089 2002-08-01 John Levon <levon@movementarian.org>
1091 * forkedcall.C: more details on error
1093 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1095 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
1096 also add a trim function that is the equiv of
1097 strip(frontStrip(...)), also reimplement the functions
1098 (improvements still possible.)
1100 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
1101 * forkedcall.C (generateChild): ditto
1105 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1107 * filetools.C (GetEnvPath): modify because of strip changes
1108 (createDirectory): ditto
1109 (findtexfile): ditto
1110 * lstrings.[Ch] (isStrInt): ditto
1111 (isStrUnsignedInt): ditto
1113 (strToUnsignedInt): ditto
1115 (contains): removed unneeded version of contains
1116 (containsOnly): removed uneeded versions of containsOnly
1117 (strip, frontStrip): removed unneded versions, changed argument types.
1119 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1121 * filetools.C (RunCommand): Made public
1123 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1125 * limited_stack.h: fix comment, remove un-needed header
1127 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1129 * lstrings.h: correct comments for token and tokenPos
1131 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1133 * lyxstring.C (operator>>): replace code which works only with
1134 _some_ versions of GNU STL with generic one
1136 2002-07-18 Angus Leeming <leeming@lyx.org>
1138 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
1139 signal should it do so.
1141 * Makefile.am: add FileMonitor.[Ch].
1143 2002-07-18 André Pönitz <poenitz@gmx.net>
1145 * filetools.C (LibScriptSearch): bug fix
1147 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1149 * filetools.C (LyXReadLink): add bool 'resolve' to return link
1150 contents as an absolute path
1152 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1154 * filetools.C (IsLyXFilename):
1155 (IsSGMLFilename): use ascii_lowercase instead of lowercase
1157 * lstrings.[Ch] (ascii_lowercase): new function
1159 2002-07-16 André Pönitz <poenitz@gmx.net>
1161 * FileInfo.Ch: remove unneeded code
1163 2002-06-20 Herbert Voss <voss@perce.de>
1165 * filetools.[C] (readExtFromContents): add support for
1166 (x)fig format images
1168 2002-06-26 André Pönitz <poenitz@gmx.net>
1170 * filetools.[Ch]: small whitespace, more compact 'return' statement
1172 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
1174 * lyxalgo.h: add eliminate_duplicates
1176 2002-06-17 Herbert Voss <voss@perce.de>
1178 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
1179 (readBB_lyxerrMessage) to get better lyxerr messages
1180 (getExtFromContents) test epsi files in the right way
1182 * DestroxLyXTmpDir.C: changed to true, to delete the
1183 temporary unzipped files, too.
1185 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1187 * putenv.C (putenv): putenv should never be found in std::
1189 * kill.C (kill): kill should never be found in std::
1191 * filetools.C: pclose and popen should never be found in std::
1193 2002-06-07 Angus Leeming <leeming@lyx.org>
1195 Fixes needed to compile with Compaq cxx 6.5.
1196 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
1197 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
1198 more than one instance of overloaded function "lyx::class_fun" matches
1208 all c-library variables have been moved into namespace std.
1209 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1211 * kill.C: rename signal.h as csignal.
1213 * putenv.C: rename stdlib.h as cstdlib
1215 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1217 * lxtl.h: remove unused file
1219 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1226 * StrPool.C: remove unused files
1236 * types.h: document and small cleanups
1238 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1240 * switch from SigC signals to boost::signals.
1242 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1245 * limited_stack.h: new template for limited-size
1248 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1250 * filetools.C: do not include LSubstring.h
1252 * lstrings.C: change include order
1253 (regexMatch): use boost regex get rid of LRegex and LSubstring
1255 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
1258 * LSubstring.h: remove file
1263 * LSubstring.C: ditto
1265 2002-05-24 Juergen Vigna <jug@sad.it>
1267 * lyxsum.C: include local includes first (self containment)
1269 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1271 * forkedcall.h: use more specific smart_ptr header.
1273 * lyxsum.C: move some using declarations around.
1275 2002-05-03 Herbert Voss <voss@perce.de>
1277 * filetools.C (getExtFromContents): only print the first 60 chars of
1278 the scanned-string when debugging.
1280 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1282 * lyxstring.C: close to typo fix.
1284 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
1286 * filetools.C: add a using std::getline directive.
1288 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1290 * lyxstring.C (operator>>): try a new version of the operator>>
1292 2002-04-14 Herbert Voss <voss@perce.de>
1294 * lstrings.[Ch]: move the getVectorFromString and the vice versa
1295 from frontends/controllers/helper_funcs for better use in other
1298 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
1300 * tempname.C (make_tempfile): simplify the #ifdef block by using
1301 #if defined and re-write the #warning as a #error because it's terminal.
1303 2002-04-08 Herbert Voss <voss@perce.de>
1305 * filetools.C (getExtFromContents): get tgif run
1307 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
1309 * filetools.C (getExtFromContents): re-format a little and remove
1310 replicated "sgi" entry.
1312 2002-04-07 Herbert Voss <voss@perce.de>
1314 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
1315 for the lyx-view in graphics (moved from ControlGraphics)
1317 2002-04-07 Herbert Voss <voss@perce.de>
1319 * filetools.C: fix bug for eps. scans now a whole line
1321 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1323 * lyxstring.C (operator>>): use the better solution, this fixes a
1324 "not able to read '\0'" bug.
1326 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1328 * translator.h: add missing typename
1330 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1332 * filetools.C (LibScriptSearch): new command. Searches for scripts
1333 in lyx data directories.
1334 (LibScriptSearch): try to use split() correctly.
1336 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1338 * most files: ws cleanup
1340 * Makefile.am: remove ld -r stuff
1342 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1344 * Makefile.am (libsupport.la): special rules if partial linking
1346 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1348 * forkedcontr.C: turn the timer off when their are no longer any
1349 child processes running.
1351 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1353 * forkedcall.h: docy fix
1354 change SignalType second type to be const ref.
1356 * forkedcall.C: doxy fix
1358 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
1360 * lyxsum.C: compilation fix
1362 2002-03-02 Herbert Voss <voss@perce.de>
1364 * filetools.C: fix bug for xbm format and added some more debug
1367 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1369 * forkedcontr.h: make constructor public
1371 * types.h: remove layout_type
1373 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
1375 * filetools.C (getExtFromContents): cleanup.
1377 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
1379 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1381 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
1382 building outside of source tree.
1384 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1387 * forkedcontr.[Ch]: new files. Asger's forked call controller is
1388 re-born, with a working timer and a modified interface. The
1389 startscript method is now passed a Signal rather than a pointer
1390 to a callback function. This enables us to connect to the method of
1391 a C++ class, if we so desire.
1393 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
1395 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1400 * nt_defines.h: moved from src/
1402 2002-02-23 Herbert Voss <voss@perce.de>
1404 * filetools.C: added more graphic formats
1406 2002-02-18 Herbert Voss <voss@perce.de>
1408 * filetools.C: (getExtFromContents) return the fileextension
1409 if no format is detected.
1411 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1413 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
1414 as class SystemCall because one Systemcall instance represents a
1415 single child process.
1418 * Makefile.am: associated changes.
1420 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1422 * syscall.C (Systemcalls): include <cstdlib>
1424 2002-02-08 Herbert Voss <voss@perce.de>
1426 * filetools.C: (getExtFromContents) adding Grace-format
1429 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1432 * syssingleton.C: files removed.
1434 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
1435 uses it. Strip down the Systemcalls interface to make it brutally
1436 obvious how unsophisticated it is.
1438 2002-02-08 Herbert Voss <voss@perce.de>
1440 * filetools.C: (getExtFromContents) adding TGIF-format
1441 and return type "user" when no type is detected
1443 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1445 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1447 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1449 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1451 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1453 * FileInfo.h: remove special cygwin code.
1455 * filetools.C (do_popen): use os::read_mode().
1457 * os_win32.C (read_mode):
1458 * os_os2.C (read_mode):
1459 * os_unix.C (read_mode): new method
1461 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1462 Hentschel). This code should maybe be moved to os:: class.
1464 2002-02-08 Herbert Voss <voss@perce.de>
1466 * filetools.C: (unzipFile) fix typo
1468 2002-02-06 Herbert Voss <voss@perce.de>
1470 * filetools.[Ch]: fix some bugs for detecting zipped files
1473 2002-02-04 Herbert Voss <voss@perce.de>
1475 * filetools.[Ch]: add ifZippedFile() for zipped
1478 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1480 * filetools.C (FileOpenSearch): remove duplicated line, probably
1481 resulting from bad cut-and paste.
1483 2002-01-31 Herbert Voss <voss@perce.de>
1485 * filetools.[Ch]: add getExtFromContents(), which returns
1486 the type of the (graphic) file
1488 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1490 * copy.C (copy): open file in binary mode (for cygwin)
1492 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1494 * lyxsum.C: remove #warnings and replaced them with runtime debug
1497 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1499 * lyxalgo.h: include <algorithm>
1501 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1503 * lyx_algo.h: add a standard-conforming count to namespace lyx.
1505 * lstrings.[Ch] (countChar): removed. Use lyx::count.
1507 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1509 * filetools.C: fix use of FileInfo
1512 * FileInfo.C: add Asserts and documentation
1514 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
1516 * os_win32.C: compilation fixes
1518 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1520 * lstrings.h: do not include <cctype>
1522 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1524 * lyxsum.C: portability fix for mmap patch
1526 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1530 * lyxstring.C: change "while(" to "while ("
1532 2001-12-03 Ben Stanley <bds02@uow.edu.au>
1534 * lyxsum.C: Added mmap version of CRC and made it selected
1535 by default where available. Used process_block for crc for speedup.
1537 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1539 * filetools.C: more robust failure for DirList()
1541 2001-11-29 André Pönitz <poenitz@gmx.net>
1543 * types.h: introduce types for textclass numbers and layout numbers
1545 2001-11-28 André Pönitz <poenitz@gmx.net>
1547 * Makefile.am: put types.h in
1549 2001-11-26 André Pönitz <poenitz@gmx.net>
1551 * types.h: introduce types for paragraph positions and layout numbers
1553 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1555 * filetools.C: remove dead code
1557 * syscall.C: show prog in fail case
1559 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1561 * filetools.C: code style cleanup
1563 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1565 * os.h: remove spurious punctuation.
1567 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1570 * LAssert.C: use new emergencyCleanup()
1572 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1574 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1575 like GNU gettext does.
1577 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1579 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1581 (findtexfile): oops! the change from last friday was wrong...
1583 * os_win32.C (is_absolute_path):
1584 * os_unix.C (is_absolute_path):
1585 * os_os2.C (is_absolute_path): new method
1587 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1589 * filetools.C (findtexfile): apply os::internal_path to the result.
1591 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1596 * os.h: add internal_path method, which converts a unix-type file
1597 name to the type known to the underlying file system (currently
1598 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1600 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1602 * smart_ptr.h: new file
1604 * utility.h: new file
1606 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1609 * filetools.C (IsDirWriteable): fix this
1611 2001-07-26 Baruch Even <baruch@lyx.org>
1613 * lyxlib.h (float_equal): Added function to compare floats almost equal
1614 (see function comment).
1616 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1618 Consistent use of Lsstream.h:
1619 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1621 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1623 * translator.h: (*it). -> it->
1625 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1627 * filetools.C (DeleteAllFilesInDir): send debug output to
1628 Debug::FILES instewad of Debug::ANY.
1630 * DebugStream.h: remove gcc 2.8.x hack.
1632 2001-06-26 The LyX Project <jug@sad.it>
1635 * lstrings.C (escape): move method to escape non ascii characters
1636 from insets label and ref to here.
1638 2001-06-25 The LyX Project <jug@sad.it>
1640 * filetools.C (IsLyXFilename):
1641 (IsSGMLFilename): do case insensitive name matching
1643 2001-06-24 The LyX Project <jug@sad.it>
1645 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1646 which only considers case of ascii characters
1648 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1651 2001-06-23 The LyX Project <jug@sad.it>
1653 * textutils.h (IsPrintable): take into account unprintable spaces
1655 (IsDigit): new function
1656 (IsLetterCharOrDigit): use IsDigit
1658 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1660 * filetools.C (findtexfile): strip final \r if necessary (for
1663 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1666 * StrPool.C: removed // -*- C++ -*- as first line.
1668 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1670 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1673 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1678 * LSubstring.C: bring C functions in global namespace if
1681 * lstrings.h (compare): use the std:: version of str[n]cmp only
1684 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1686 * syscontr.C: add std::
1688 * syscall.C: add std::
1690 * lstrings.h (compare): add std::
1692 * lstrings.C (prefixIs): add std::
1696 * LSubstring.C (LSubstring): add std::
1698 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1700 * lyxsum.C (sum): use istreambuf_iterator when available.
1702 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1704 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1707 * lyxstring.C (operator): make const operator[] behave as
1710 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1712 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1714 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1716 * filetools.C (MakeAbsPath): remove debugging statement
1718 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1720 * FileInfo.h: X_OK workaround for cygwin
1729 * filetools.h: Added os:: class.
1733 * tempname.C: OS/2 fixes
1735 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1737 * textutils.h: remvoe !NEW_INSETS cruft
1739 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1742 * atoi.C: add using directives when needed for C functions
1743 declared in std:: namespace.
1745 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1747 * lstrings.C : add two helper structs, local_lowercase and
1749 (lowercase): change to use std::transform
1750 (uppercase): change to use std::transform
1752 2001-04-25 Allan Rae <rae@lyx.org>
1754 * lyxstring.C : Assert got moved and Lars missed a few.
1756 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1758 * LAssert.h (Assert): put into namespace lyx
1760 * lyxfunctional.h: put into namespace lyx
1761 * translator.h: adjust
1763 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1765 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1767 * FileInfo.h: inherit privately from noncopyable
1770 2001-04-16 Allan Rae <rae@lyx.org>
1772 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1773 as an unrecognised preprocessor directive. So ensure they're wrapped.
1775 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1777 * several files: remove CXX_WORKING_NAMESPACES
1779 * FileInfo.h: noncopyable is in namespace boost
1782 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1784 * syscontr.h: fix header include
1786 2001-02-28 Baruch Even <baruch@ev-en.org>
1788 * filetools.C: Removed dependency on syscall.h
1791 * syscall.C: Minor cleanings before I start to touch this code.
1793 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1795 * filetools.C (CreateTmpDir): change umask to 0700.
1797 2001-02-27 José Matos <jamatos@fep.up.pt>
1799 * filetools.h (BasePath):
1800 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1802 * filetools.C (IsLyXFilename):
1803 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1806 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1810 * atoi.C: remove cruft
1812 2001-02-06 albert chin <china@thewrittenword.com>
1815 * fmt.C: use HAVE_DECL_SNPRINTF
1817 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1819 * lyxstring.C: Fix some assertions.
1821 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1823 * lstrings.C (strip): Add a fix for compilers with broken
1824 string::find_last_not_of.
1826 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1828 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1830 * lyxstring.C (rfind): Fix broken functions.
1831 (find): Few optimizations.