1 2005-02-01 Angus Leeming <leeming@lyx.org>
3 * fs_extras.C: #include <windows.h>
5 2005-01-31 Angus Leeming <leeming@lyx.org>
7 * package.[Ch] (init_package, c-tor): define and use an enum to
8 specify explicitly the location of the top level build directory
9 when the executable is run in-place.
11 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
13 * fs_extras.C: add changes from Asgers Win32 patch.
15 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
18 * getcwd.C (l_getcwd):
20 * mkdir.C (mkdir): add Win32 specializations.
22 * os_win32.h: remove cruft.
24 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
26 * Makefile.am (libsupport_la_SOURCES): remove rmdir.C
28 * rmdir.C: delete file
30 * lyxlib.h: remove rmdir decl
32 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
34 * .cvsignore: add package.C
36 * FileInfo.C, FileInfo.h: delete files
38 * fs_extras.C, fs_extras.h: new files
40 * FileMonitor.C, filetools.C: rewrite to use boost.filesystem
42 * Makefile.am (libsupport_la_SOURCES: delete FileInfo.[Ch], add
45 * filetools.C: make destroydir return true if something was
46 deleted. adjust callers.
47 (IsFileWritable): replace with is_readonly in fs_extras, adjust
50 * package.C.in: rewrite to use boost.filesystem
52 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
54 * tests: add some code for automatic regression testing, can be
55 improved or removed as we see fit
57 * lyxlib.h (atoi): delete func
59 * lstrings.[Ch] (strToInt): delete func
60 (strToUnsignedInt): delete func
61 (strToDbl): delete func
63 * Makefile.am: add subdir tests, delete atoi.C
67 * convert.C: add specializations for converting to int, unsigned
68 int, double from string, and for converting to int and double from
71 * convert.h: remove commented code
73 2005-01-22 Angus Leeming <leeming@lyx.org>
75 * path.C (Path): revert the patch since the if statement has side
76 effects that are needed for the code to work :-(
78 2005-01-21 Angus Leeming <leeming@lyx.org>
80 * os_cygwin.C, os_win32.C: strip the Cygwin-specific stuff out of
81 os_win32.C and give it its own file.
83 * os.C: #include "os_cygwin.C" if building on Cygwin.
85 2005-01-20 Angus Leeming <leeming@lyx.org>
87 * lyxlib.h (float_equal): promote parameters to double.
89 * path.C (Path): silence MSVC warning about block of code that
92 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
94 * FileInfo.h, chdir.C, forkedcall.C, forkedcontr.C, getcwd.C,
95 mkdir.C, os_defines.h, pch.h, rmdir.C, unlink.C:
96 use the HAVE_UNISTD_H preprocessor guard.
98 2005-01-20 Angus Leeming <leeming@lyx.org>
100 * filetools.[Ch] (LibScriptSearch): modify the code that replaces
101 the $$s placeholder with a path, so that it now inserts the path
102 of the lyx support directory, not the scripts subdirectory.
104 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
106 * lyxsum.C, socktools.C, tempname.C, userinfo.C: use the
107 HAVE_UNISTD_H preprocessor guard.
109 2005-01-17 Angus Leeming <leeming@lyx.org>
111 * os_win32.C (init): Add Ruurd's original code to close the
112 console window that Windows opens for us, together with a note
113 explaining the alternative approach.
115 2005-01-17 Angus Leeming <leeming@lyx.org>
117 * package.C.in (get_binary_path): convert relative paths stored
118 in the PATH environment variable to absolute ones.
120 2005-01-16 Angus Leeming <leeming@lyx.org>
122 * filetools.[Ch] (prependEnvPath): prepend a list of paths to
123 that returned by the environment variable. Identical paths occurring
124 later in the list are removed.
126 2005-01-16 Angus Leeming <leeming@lyx.org>
128 * filetools.C (createLyXTmpDir): add some missing brackets to the
129 if-block. OS/2 users will be happier.
131 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
133 * os_win32.C (external_path): Check the new cygwin_path_fix_ bool
134 before translating external paths to Win32 paths.
136 2005-01-13 Angus Leeming <leeming@lyx.org>
138 * os.h, os_os2.C, os_unix.C, os_win32.C (cygwin_path_fix): new
139 function flagging whether LyX should output native Win32 paths
140 or cygwin paths. Obviously operative only under Cygwin.
142 2005-01-13 Angus Leeming <leeming@lyx.org>
144 * package.C.in: use "%n$s" rather than "%n%" for n=1,2,3... when
145 calling bformat so that the substitutions work for the non
146 boost::format users too.
148 2005-01-12 Angus Leeming <leeming@lyx.org>
150 * filetools.[Ch] (setEnvPath): new function to create a PATH-style
151 string from a vector of paths and to use it to set an environment
153 (putEnv): resurrect this from the grave.
155 * os.h, os_os2.C, os_unix.C, os_win32.C (path_separator): new
156 function returning the character used to separate paths returned
157 by the PATH environment variable.
159 * os_win32.C: add #include "lstring.h" back in.
161 * package.C.in (package): comment out the ASSERT for now.
162 (check_env_var_dir): write one of the strings to be translated
163 (any one, doesn't matter) on a single line so that the
164 gettext search mechanism in po/Makefile.in.in will register
165 package.C.in as a file containing strings that need translation.
167 2005-01-10 Angus Leeming <leeming@lyx.org>
172 * os_win32.C (binpath, binname, homepath, setTmpDir, getTmpDir, warn):
173 removed. Remove also all code to set the associated data variables.
175 * package.{C.in,h}: new files to ascertain the paths to the
176 various directories used by LyX. Does nothing with these paths,
177 just determines the strings themselves.
179 * path_defines.{C.in,h}: removed.
181 * Makefile.am: remove path_defines.{C.in,h}. Add package.{C.in,h}.
183 * filetools.[Ch] (GetEnvPath): remove.
184 (getEnvPath): replacement. Returns a vector<string> of paths.
187 * tempname.C: use support/package.h to provide the paths to the
188 various directories used by LyX.
190 2005-01-07 Angus Leeming <leeming@lyx.org>
192 * convert.C (string>): add specialization for long.
194 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
196 * convert.h: remove the specializations, don't included unneeded
198 * convert.C: add specialization for unsigned long
200 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
202 * tostr.[Ch]: renamed to convert[ch]
204 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
206 * lstrings.[Ch]: change bformat to be a template
208 * tostr.[Ch]: tostr -> convert, convert is a template
211 * filetools.C (createBufferTmpDir): tostr -> convert
213 2005-01-05 Angus Leeming <leeming@lyx.org>
215 * os_win32.C (external_path, internal_path): s/MAX_PATH/PATH_MAX/.
217 2005-01-04 Angus Leeming <leeming@lyx.org>
219 * os_win32.C (current_root): use _getdrive on Win32.
221 * FileInfo.C (FileInfo, newFile): strip the trailing '/' from
222 the stored file name as it breaks Window's version of stat().
223 (isLink): protect the code with #ifdef S_ISLNK.
224 (dostat): protect the code with #ifdef HAVE_LSTAT.
225 (typeIndicator): remove code testing the file's executable status.
227 * filetools.C (LyXReadLink): protect the code with
228 #ifdef HAVE_READLINK.
230 2005-01-01 Kayvan Sylvan <kayvan@sylvan.com>
232 * os_win32.C (internal_path): remove the call to MakeLatexName as
233 it is (1) unnecessary and (2) leads to an infinite loop as
234 MakeLatexName calls AddName which calls internal_path...
236 2004-12-19 Angus Leeming <leeming@lyx.org>
238 * path_defines.C.in (setLyxPaths): on a Windows build,
239 remove the ".exe" extension from the name of the LyX binary when
240 trying to ascertain the name of the LyX system directory.
241 (Usually, <path to binary>/../share/<name of binary>/).
243 * os.h, os_os2.C, os_unix.C, os_win32.C (slashify_path): remove.
245 * os_win32.C (init): ensure that the name of the lyx executable is
246 stored internally with a unix-style path.
248 * os_win32.C (internal_path, external_path): differentiate between
249 cygwin and windows builds.
251 * filetools.C (FileOpenSearch, GetEnvPath, createDirectory,
252 MakeAbsPath, AddName, MakeRelPath, ChangeExtension):
253 * filename.C (mangledFilename):
254 s/slashify_path/internal_path/.
256 2004-12-16 Angus Leeming <leeming@lyx.org>
258 * filename.C (mangledFilename): Given a Windows-style path, don't
259 forget to mangle the drive letter too when generating a unique
262 2004-12-16 Angus Leeming <leeming@lyx.org>
264 * mkdir.C: move the HAVE_MKDIR conditional code out of config.h
267 2004-12-15 Angus Leeming <leeming@lyx.org>
269 * FileInfo.[Ch] (getNumberOfLinks): removed.
271 2004-12-15 Angus Leeming <leeming@lyx.org>
273 * tempname.C: #include fcntl.h and sys/stat.h if creating a temp
274 file using mktemp and open.
276 2004-12-14 Angus Leeming <leeming@lyx.org>
278 * os.h, os_os2.C, os_unix.C, os_win32.C:
279 (binpath, binname, getTmpDir): return a const reference rather than
281 (homepath, nulldev): new functions returning the name of "HOME" and
282 the null device, respectively.
284 * filetools.C: (ExpandPath, MakeDisplayPath):
285 * path_defines.C.in (setLyxPaths): use os::homepath(), not
288 2004-12-14 Angus Leeming <leeming@lyx.org>
290 * os.h, os_{os2,unix,win32}.C (init): change interface to no longer
291 pass the addresses of the parameters received by main.
293 2004-12-14 Angus Leeming <leeming@lyx.org>
295 * copy.C (copy): open the ifstream with ios::binary.
297 2004-12-14 Angus Leeming <leeming@lyx.org>
299 * os.C: Add _WIN32 to the #define.
301 * systemcall.C (startscript): remove trailing '/n' from request to
302 start the command in a minimized window under DOS.
304 2004-12-14 Angus Leeming <leeming@lyx.org>
306 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
307 to overcome bug in the MinGW port of g++ 3.4.2.
309 2004-11-26 Angus Leeming <leeming@lyx.org>
311 * globbing.[Ch] (glob): change API to:
312 1. Append matches to the input container.
313 2. Require a working_dir parameter. The function invokes chdir
314 internally (through use of Path).
316 2004-11-26 Angus Leeming <leeming@lyx.org>
318 * filefilterlist.C (convert_brace_glob): moved here from
321 * filefilterlist.[Ch]: clean-up FileFilterList API.
323 * globbing.[Ch] (convert_brace_glob): moved to filefilterlist.C.
324 (expand_globs): moved to xforms/FormFiledialog.C.
326 2004-11-25 Angus Leeming <leeming@lyx.org>
328 * filefilterlist.[Ch]:
329 * globbing.[Ch]: split FileFilterList into its own .[Ch] files.
331 * Makefile.am: add filefilterlist.[Ch].
333 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
335 * textutils.h (isKommaChar): remove
337 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
339 * forkedcontr.C (find_pid): simplify and also make pass concept
341 (handleCompletedProcesses): make sure that we do not slice the
342 object and satisfy concept checks.
344 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
346 * filetools.[Ch] (getFormatFromContents): don't guess format from
347 extension, return string() instead of "user" if the format could
350 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
352 * Make it clearer where include files are coming from.
354 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
356 * translator.h: use bind, equal_to instead of equal_1st_in_pair
357 and equal_2nd_in_pair
359 * Makefile.am (libsupport_la_SOURCES): remove lyxfunctional.h
360 * lyxfunctional.h: delete file
362 * lyxfunctional.h: delete compare_memfun and helper classes
364 * forkedcontr.C (find_pid): use bind, equal_to instead of
367 * lyxfunctional.h: delete back_inserter_fun functions and helper
370 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * snprintf.[ch]: removed
374 * Makefile.am (libsupport_la_SOURCES): remove snprintf
376 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
378 * filetools.[Ch] (getExtFromContents): rename to
379 getFormatFromContents and return always a format
381 2004-10-25 Angus Leeming <leeming@lyx.org>
383 * forkedcall.C (generateChild): strip quotes from each argument
386 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
388 * pch.h: use proper signal include
390 * forkedcallqueue.C: remove unused include
392 * FileMonitor.h: Use the preferred calling for Boost.Signal
393 * forkedcall.h: ditto
395 * FileMonitor.C: use the new signal typedef
397 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
399 * forkedcall.h: remove include of <boost/function/funtion0.hpp>
402 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
404 * textutils.h (IsLetterCharOrDigit): remove
406 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
408 * filetools.C (LibScriptSearch): quote the path of the script, in
409 case it contains spaces
411 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
413 * tostr.C: reimplement using lexical_cast
415 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
417 * pch.h: do not use include boost/format.hpp, multiple symbols
418 will result (gcc bug)
420 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
424 * Makefile.am: support pch
426 2004-08-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
428 * globbing.C (FileFilterList): make sure that "All files (*)" is
429 always part of the filters list
431 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
433 * tostr.C, lstrings.C, globbing.C, filetools.C: change
434 "support/std_sstream.h" to <sstream>
436 * Makefile.am (libsupport_la_SOURCES): delete std_sstream.h and
438 (std_sstream.h): delete file
439 (sstream.h): delete file
441 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
443 * filetools.C (i18nLibFileSearch): honor case where LANGUAGE
444 specifies a list of locales (thanks to Pablo Saraxtaga for the
447 2004-05-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
450 its po files when moved around; set default user directory to
451 ~/Library/Preferences/LyX/ for LyX/Mac.
452 (lyx_localedir): return the value that may have been computed in
455 2004-05-27 Kayvan Sylvan <kayvan@sylvan.com>
457 * Makefile.am (libsupport_la_SOURCES): remove reference to
460 2004-05-20 Angus Leeming <leeming@lyx.org>
462 * debugstream.h: wrap the definition of debug_trait::DEBUG with
463 preprocessor guards that protect against a name clash with a
464 macro DEBUG. Such a macro is defined by the Qt library...
466 2004-04-27 Angus Leeming <leeming@lyx.org>
468 * path_defines.{h,C.in}: expose top_srcdir, renamed from
471 2004-04-05 Angus Leeming <leeming@lyx.org>
474 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
476 2004-04-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
478 * filetools.C (RunCommand): block SIGCHLD during popen/pclose
479 (actually Angus' fix).
481 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
483 * filetools.C (DeleteAllFilesInDir): delete directories with
484 rmdir(), unlink() does not work
486 2004-03-27 Angus Leeming <leeming@lyx.org>
488 * forkedcontr.C (child_handler): squash warning about a
489 signed/unsigned comparison.
490 (handleCompletedProcesses): only output a warning about an error
491 waiting for the child if it is indeed an error ;-)
493 2004-03-26 Angus Leeming <leeming@lyx.org>
495 * forkedcall.[Ch] (run): new function, replacing runBlocking,
498 * forkedcall.C (generateChild): ensure that the code that splits
499 the command up into an array of words won't leak in the event of an
502 * forkedcontr.C: make it a little more robust.
504 2004-03-24 Angus Leeming <leeming@lyx.org>
506 * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
507 of child proccesses and ascertain whether any have died. Instead use
508 the SIGCHLD signal emitted by the system to reap these zombies in the
509 maximally efficient manner. The subsequent emitting of the signal
510 associated with each child process *is* performed within the main
511 lyx event loop, thus ensuring that the code remains safe.
513 A detailed description of the design is to be found in forkedcontr.C.
515 2004-03-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
517 * filetools.C (i18nLibFileSearch): simplify the logic a bit
519 2004-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
521 * filetools.C (i18nLibFileSearch): fix the logic to match closely
524 2004-03-23 Angus Leeming <leeming@lyx.org>
526 * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
527 clone to return a boost::shred_ptr rather than a std::auto_ptr.
529 * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
532 2004-03-22 Angus Leeming <leeming@lyx.org>
534 * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
535 cruft left over from the removal of the Forks dialog.
537 2004-03-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
539 * filename.[Ch] (mangledFilename): make sure that mangled names are
542 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
544 * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
545 remove pathfor argument
546 * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
547 harder to create a usable temp dir
548 * filetools.C (CreateTmpDir): rename to createTmpDir
549 filetools.[Ch] (unzipFile): add argument for output filename
550 * filename.h: fix doxygen warning
552 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
554 * lstrings.h (contains_functor): delete
555 (contains): change into template, simplify
557 * lstrings.C (contains): remove both functions
559 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
561 * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
564 * lstrings.h (contains_functor): inherit from
565 std::binary_function, remove typedefs.
567 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
569 * globbing.C: add using statement for std::distance, remove std::
572 2004-01-08 Angus Leeming <leeming@lyx.org>
574 * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
575 list of available file filters and generate the corresponding vector.
577 2003-12-14 Ronald Florence <ron@18james.com>
579 * tostr.[hC]: added tostr(long unsigned int i).
581 * path_defines.C.in: determine system directory and set PATH for
582 relocatable LyX/Mac bundle.
584 2004-01-06 Angus Leeming <leeming@lyx.org>
586 * globbing.C (glob): compilation fix for cygwin.
588 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
590 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
592 * BoostFormat.h: delete file
593 * boost-inst.C: delete fil
595 * lstrings.C: include boost/format.hpp
597 2004-01-05 Angus Leeming <leeming@lyx.org>
599 * globbing.[Ch]: new files containing some globbing utilities.
601 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
603 * putenv.C: allocate the string before putting it into the
608 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
610 * tempname.C (tempName): use scoped_array for exception safety
612 * os_os2.C (init): use scoped_array for exception safety
614 * getcwd.C (getcwd): use scoped_array for exception safety
616 * forkedcontr.C (addCall): adjust
618 * forkedcall.h: make clone return a auto_ptr
620 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
622 * debugstream.h: add a default constructor that does not setup a
625 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
627 * socktools.C: honor CXX_GLOBAL_CSTD
629 2003-10-16 André Pönitz <poenitz@gmx.net>
631 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
632 using static variables.
634 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
636 * socktools.[Ch]: New files. Wrapper around socket system calls.
638 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
640 * socktools.C (SUN_LEN): add this MACRO definition for platforms
641 that do not define it themselves.
643 2003-10-08 Angus Leeming <leeming@lyx.org>
645 * copied_ptr.h: get rid of the swap member function.
647 2003-10-08 Angus Leeming <leeming@lyx.org>
649 Fix doxygen warnings.
651 * debugstream.h: \file debugStream.h -> \file debugstream.h
653 * os.h: move comment so that doxygen is not confused.
655 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
657 * Makefile.am: fix typo.
659 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
661 * std_string.h: delete file
663 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
665 * lstrings.C: Small fixes to build using STLport
667 2003-09-29 Angus Leeming <leeming@lyx.org>
669 * filetools.C (ReplaceEnvironmentPath): make it work for both
670 ${HOME}/foo and $HOME/foo.
672 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
674 * debugstream.h: add file, updated version of the DebugStream
676 * DebugStream.C,DebugStream.h: delete files
678 2003-09-25 Angus Leeming <leeming@lyx.org>
680 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
681 * lstrings.[Ch]: (regexMatch): removed.
683 2003-09-25 Angus Leeming <leeming@lyx.org>
685 * translator.h (add): new member function.
687 2003-09-16 Angus Leeming <leeming@lyx.org>
689 * textutils.h: remove #include "paragraph.h". Remove functions
690 IsInsetChar and IsWordChar.
692 2003-09-15 Angus Leeming <leeming@lyx.org>
694 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
695 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
696 his book as ValuePtr.
697 Use a memory_traits template parameter to create/destroy memory in a
700 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
704 * filetools.C: Remove usage of STRCONV
706 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
709 * std_string.h: modify to always work with std::string, but if
710 with-included-string then use it through namespace lyx. Remove
713 * lyxstring.[Ch]: remove files
715 2003-09-15 Angus Leeming <leeming@lyx.org>
717 * translator.h: add #include <boost/assert.hpp>, so that the
718 template is self-contained.
720 2003-09-11 Angus Leeming <leeming@lyx.org>
723 * copied_ptr.h: added to the repository. Maybe temporarily.
725 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
727 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
729 * several files: change Assert to BOOST_ASSERT
732 * LAssert.h: remove files
734 2003-09-08 Angus Leeming <leeming@lyx.org>
737 * filetools.C: tell the world where to find author contact details.
739 2003-09-08 Angus Leeming <leeming@lyx.org>
745 * lyxsum.C: remove redundant using directives.
747 2003-09-05 Angus Leeming <leeming@lyx.org>
749 * lstrings.C: small bformat fix
751 2003-09-05 Angus Leeming <leeming@lyx.org>
753 * std_istream.h: new file Just renaming of LIstream.h
754 * std_ostream.h: new file Just renaming of LIstream.h
755 * std_sstream.h: new file Just renaming of Lsstream.h
756 * std_string.h: new file Just renaming of LString.h
758 2003-09-05 Angus Leeming <leeming@lyx.org>
762 ensure that the header file can be compiled stand-alone.
764 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
766 * lstrings.[Ch] (bformat): add a variant taking two ints.
768 2003-09-04 Angus Leeming <leeming@lyx.org>
771 * filename.C: move #include "os.h" out of the header file.
773 2003-09-04 Angus Leeming <leeming@lyx.org>
775 * path.C (ctor, dtor): move out of line.
777 2003-09-03 Angus Leeming <leeming@lyx.org>
779 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
780 (mangledFilename): new function, returning a mangled version of the
781 absolute file name, suitable for use in the temp dir when, for example,
782 converting an image file to another format.
783 (isZipped, unzippedFilename): wrappers to global functions.
785 * filetools.[Ch] (copyFileToDir): removed.
786 (compare_timestamps): new function.
788 2003-09-03 Angus Leeming <leeming@lyx.org>
790 * translator.h: Assert is in namespace lyx::support...
792 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
794 * Makefile.am: do not install path_defines.C in includes
795 (COMPRESSION): mention gzstream.h here
797 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
799 * path_defines.C.in (setLyxPaths): re-introduce the code to check
800 whether lyx is run in place
801 (build_dir): renamed from build_lyxdir
802 (build_lyxdir): give this better semantics compatible with what
803 LibFileSearch expects.
805 2003-07-29 Angus Leeming <leeming@lyx.org>
807 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
808 defaults to string() because MakeRelPath can accept that.
810 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
812 * Makefile.am: conditionalize USE_COMPRESSION.
814 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
816 * filetools.C (getExtFromContents): correct magic for gzip and
819 * path_defines.[Ch]: move lyx_localedir out of anon namespace
821 * gzstream.h: new fileq
823 * gzstream.C: new file
825 2003-07-27 Angus Leeming <leeming@lyx.org>
827 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
828 user_lyxdir): are now functions, not global vars.
830 * Makefile.am: set build_lyxdir at make time.
832 2003-07-27 Angus Leeming <leeming@lyx.org>
834 * path_defines.{h,C.in}: new files. Store/set the various lyx
835 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
838 * Makefile.am: add some magic to enable the user to set the path to
839 the system-level lyx support files, the top of the lyx build tree
840 and the system-level lyx locale directory at _make_ time rather
843 * .cvsignore: add path_defines.C.
845 2003-07-26 Angus Leeming <leeming@lyx.org>
847 * os.h: remove irrelevant discussion of system_tempdir.
849 2003-07-21 Angus Leeming <leeming@lyx.org>
851 * filename.[Ch]: new files implementing class FileName.
852 * Makefile.am: add filename.[Ch].
854 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
856 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
857 not allow it (at least not in this form.)
859 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
861 * os_win32.C: put namespace os in lyx::support.
863 * lstrings.C (bformat): call Assert from correct namespace.
865 * introduce namespace lyx::support
867 2003-06-30 André Pönitz <poenitz@gmx.net>
870 * lstrings.C: re-enable --with-included-string
872 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
874 * filetools.h: fix some \param issue
876 * boost-inst.C: fix \file
878 * LAssert.h: fix \file
880 2003-06-20 Angus Leeming <leeming@lyx.org>
882 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
884 2003-06-18 Angus Leeming <leeming@lyx.org>
886 * many files: add the standard blurb, "This file is part of LyX" etc
888 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
890 * limited_stack.h: make it have a const_iterator, add begin, and
893 2003-06-10 Angus Leeming <leeming@lyx.org>
895 * filetools.C (copyFileToDir): ensure that temp files have unique names.
897 2003-06-04 André Pönitz <poenitz@gmx.net>
899 * limited_stack.h (top): return reference instead of value
901 2003-06-02 Angus Leeming <leeming@lyx.org>
903 * filetools.[Ch] (copyFileToDir): new helper function.
905 * os.h: remove trailing semi-colon from end of namespace os block.
907 2003-06-01 Angus Leeming <leeming@lyx.org>
909 * filetools.h (LibScriptSearch): give the function a meaningful
910 description of what it now does.
912 2003-05-30 Angus Leeming <leeming@lyx.org>
914 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
915 this with the path to the script. If the script is not found, the "$$s/"
918 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
920 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
923 2003-05-19 André Pönitz <poenitz@gmx.net>
925 * lstrings.C: add missing implementation of three-arg bformat
927 * lstrings.C: change rest of char * fmt -> string const & fmt
930 2003-05-15 André Pönitz <poenitz@gmx.net>
932 * lstrings.[Ch]: use string const & instead of char const * for format
934 2003-05-12 André Pönitz <poenitz@gmx.net>
936 * tostr.[Ch]: add long int overload
938 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
940 * lstrings.[Ch]: compile fix
942 2003-05-12 André Pönitz <poenitz@gmx.net>
944 * lstrings.[Ch]: bformat() as wrapper around boost::format
946 * lyxstring.h: enable templatized constructor
948 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
950 * limited_stack.h: Change some comments, simplify a couple of
953 2003-02-21 André Pönitz <poenitz@gmx.net>
955 * limited_stack.h: change underlying container to deque to
956 make this re-usable in mathed
958 2003-04-08 John Levon <levon@movementarian.org>
960 * filetools.C: fix MakeDisplayPath() to not
963 2003-03-30 John Levon <levon@movementarian.org>
967 * boost-inst.C: moved from src/
969 2003-03-29 John Levon <levon@movementarian.org>
972 * filetools.C: never call Alert directly from here
974 2003-03-12 John Levon <levon@movementarian.org>
976 * textutils.h: remove META_NEWLINE
978 2003-02-27 Ling Li <ling@caltech.edu>
980 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
983 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
985 * forkedcontr.C (timer): remove bogus continue
987 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
989 * forkedcallqueue.[Ch]: added
991 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
993 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
994 Emiting the signal can result in an arbitrary change to the list.
996 2003-02-25 Angus Leeming <leeming@lyx.org>
998 * forkedcontr.C (timer): Use a while loop rather than for; makes it
999 easier to erase an element.
1001 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1003 * forkedcontr.C (timer): don't start a running timer.
1005 2003-02-21 André Pönitz <poenitz@gmx.net>
1007 * filetools.C (PutEnv): removed (unused)
1009 2003-02-17 John Levon <levon@movementarian.org>
1012 * forkedcall.C: add running()
1014 2003-02-08 John Levon <levon@movementarian.org>
1018 * lyxtime.C: add typedef for time_t, add current_time
1024 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1026 * filetools.C (getExtFromContents): remove detection of epsi
1028 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1030 * several files: ws changes
1032 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1034 * filetools.C (DirList): remove all ugly hacks and do it nice
1036 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1038 * lyxsum.C: an ugly hack to compile with non-gnu linkers
1040 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
1042 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
1043 a solution that he likes and which actually works.
1045 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1047 * lstrings.h (tostr): STRCONV
1049 * lstrings.C (regexMatch): STRCONV
1050 (getVectorFromString): STRCONV, manual copy into vector
1052 * filetools.C (GetFileContents): STRCONV
1054 * os.C: include config.h
1056 * lstrings.C (getVectorFromString): rewrite to use
1059 2002-10-31 Angus Leeming <leeming@lyx.org>
1061 * forkedcall.C (generateChild): clean it up further.
1063 2002-10-25 Angus Leeming <leeming@lyx.org>
1065 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
1066 and a minimal ForkedCall daughter class.
1068 * forkedcontr.[Ch]: minimal changes reflecting the use of a
1069 ForkedProcess base class responsible for launching all child proceses.
1071 2002-09-25 Angus Leeming <leeming@lyx.org>
1074 * LOstream.h: doxygen fixes.
1076 2002-09-24 Angus Leeming <leeming@lyx.org>
1078 * most files: clean-up the license info.
1080 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
1084 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
1086 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
1087 since at least for Cygwin, the "rb" read_mode acceptable for
1088 fopen() is illegal for popen(), whose mode argument *must* be "r"
1091 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
1094 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1096 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
1099 * smart_ptr.h: remove file
1102 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1104 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
1105 class_fun and void_class_fun
1107 2002-08-20 John Levon <levon@movementarian.org>
1112 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1114 * textutils.h: formatting.
1116 2002-08-08 John Levon <levon@movementarian.org>
1118 * limited_stack.h: default to 100 not 10
1120 2002-08-01 John Levon <levon@movementarian.org>
1122 * forkedcall.C: more details on error
1124 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1126 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
1127 also add a trim function that is the equiv of
1128 strip(frontStrip(...)), also reimplement the functions
1129 (improvements still possible.)
1131 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
1132 * forkedcall.C (generateChild): ditto
1136 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1138 * filetools.C (GetEnvPath): modify because of strip changes
1139 (createDirectory): ditto
1140 (findtexfile): ditto
1141 * lstrings.[Ch] (isStrInt): ditto
1142 (isStrUnsignedInt): ditto
1144 (strToUnsignedInt): ditto
1146 (contains): removed unneeded version of contains
1147 (containsOnly): removed uneeded versions of containsOnly
1148 (strip, frontStrip): removed unneded versions, changed argument types.
1150 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1152 * filetools.C (RunCommand): Made public
1154 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1156 * limited_stack.h: fix comment, remove un-needed header
1158 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1160 * lstrings.h: correct comments for token and tokenPos
1162 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1164 * lyxstring.C (operator>>): replace code which works only with
1165 _some_ versions of GNU STL with generic one
1167 2002-07-18 Angus Leeming <leeming@lyx.org>
1169 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
1170 signal should it do so.
1172 * Makefile.am: add FileMonitor.[Ch].
1174 2002-07-18 André Pönitz <poenitz@gmx.net>
1176 * filetools.C (LibScriptSearch): bug fix
1178 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1180 * filetools.C (LyXReadLink): add bool 'resolve' to return link
1181 contents as an absolute path
1183 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1185 * filetools.C (IsLyXFilename):
1186 (IsSGMLFilename): use ascii_lowercase instead of lowercase
1188 * lstrings.[Ch] (ascii_lowercase): new function
1190 2002-07-16 André Pönitz <poenitz@gmx.net>
1192 * FileInfo.Ch: remove unneeded code
1194 2002-06-20 Herbert Voss <voss@perce.de>
1196 * filetools.[C] (readExtFromContents): add support for
1197 (x)fig format images
1199 2002-06-26 André Pönitz <poenitz@gmx.net>
1201 * filetools.[Ch]: small whitespace, more compact 'return' statement
1203 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
1205 * lyxalgo.h: add eliminate_duplicates
1207 2002-06-17 Herbert Voss <voss@perce.de>
1209 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
1210 (readBB_lyxerrMessage) to get better lyxerr messages
1211 (getExtFromContents) test epsi files in the right way
1213 * DestroxLyXTmpDir.C: changed to true, to delete the
1214 temporary unzipped files, too.
1216 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1218 * putenv.C (putenv): putenv should never be found in std::
1220 * kill.C (kill): kill should never be found in std::
1222 * filetools.C: pclose and popen should never be found in std::
1224 2002-06-07 Angus Leeming <leeming@lyx.org>
1226 Fixes needed to compile with Compaq cxx 6.5.
1227 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
1228 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
1229 more than one instance of overloaded function "lyx::class_fun" matches
1239 all c-library variables have been moved into namespace std.
1240 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1242 * kill.C: rename signal.h as csignal.
1244 * putenv.C: rename stdlib.h as cstdlib
1246 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1248 * lxtl.h: remove unused file
1250 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1257 * StrPool.C: remove unused files
1267 * types.h: document and small cleanups
1269 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1271 * switch from SigC signals to boost::signals.
1273 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1276 * limited_stack.h: new template for limited-size
1279 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1281 * filetools.C: do not include LSubstring.h
1283 * lstrings.C: change include order
1284 (regexMatch): use boost regex get rid of LRegex and LSubstring
1286 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
1289 * LSubstring.h: remove file
1294 * LSubstring.C: ditto
1296 2002-05-24 Juergen Vigna <jug@sad.it>
1298 * lyxsum.C: include local includes first (self containment)
1300 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1302 * forkedcall.h: use more specific smart_ptr header.
1304 * lyxsum.C: move some using declarations around.
1306 2002-05-03 Herbert Voss <voss@perce.de>
1308 * filetools.C (getExtFromContents): only print the first 60 chars of
1309 the scanned-string when debugging.
1311 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1313 * lyxstring.C: close to typo fix.
1315 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
1317 * filetools.C: add a using std::getline directive.
1319 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1321 * lyxstring.C (operator>>): try a new version of the operator>>
1323 2002-04-14 Herbert Voss <voss@perce.de>
1325 * lstrings.[Ch]: move the getVectorFromString and the vice versa
1326 from frontends/controllers/helper_funcs for better use in other
1329 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
1331 * tempname.C (make_tempfile): simplify the #ifdef block by using
1332 #if defined and re-write the #warning as a #error because it's terminal.
1334 2002-04-08 Herbert Voss <voss@perce.de>
1336 * filetools.C (getExtFromContents): get tgif run
1338 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
1340 * filetools.C (getExtFromContents): re-format a little and remove
1341 replicated "sgi" entry.
1343 2002-04-07 Herbert Voss <voss@perce.de>
1345 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
1346 for the lyx-view in graphics (moved from ControlGraphics)
1348 2002-04-07 Herbert Voss <voss@perce.de>
1350 * filetools.C: fix bug for eps. scans now a whole line
1352 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1354 * lyxstring.C (operator>>): use the better solution, this fixes a
1355 "not able to read '\0'" bug.
1357 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1359 * translator.h: add missing typename
1361 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1363 * filetools.C (LibScriptSearch): new command. Searches for scripts
1364 in lyx data directories.
1365 (LibScriptSearch): try to use split() correctly.
1367 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1369 * most files: ws cleanup
1371 * Makefile.am: remove ld -r stuff
1373 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1375 * Makefile.am (libsupport.la): special rules if partial linking
1377 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1379 * forkedcontr.C: turn the timer off when their are no longer any
1380 child processes running.
1382 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1384 * forkedcall.h: docy fix
1385 change SignalType second type to be const ref.
1387 * forkedcall.C: doxy fix
1389 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
1391 * lyxsum.C: compilation fix
1393 2002-03-02 Herbert Voss <voss@perce.de>
1395 * filetools.C: fix bug for xbm format and added some more debug
1398 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1400 * forkedcontr.h: make constructor public
1402 * types.h: remove layout_type
1404 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
1406 * filetools.C (getExtFromContents): cleanup.
1408 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
1410 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1412 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
1413 building outside of source tree.
1415 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1418 * forkedcontr.[Ch]: new files. Asger's forked call controller is
1419 re-born, with a working timer and a modified interface. The
1420 startscript method is now passed a Signal rather than a pointer
1421 to a callback function. This enables us to connect to the method of
1422 a C++ class, if we so desire.
1424 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
1426 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1431 * nt_defines.h: moved from src/
1433 2002-02-23 Herbert Voss <voss@perce.de>
1435 * filetools.C: added more graphic formats
1437 2002-02-18 Herbert Voss <voss@perce.de>
1439 * filetools.C: (getExtFromContents) return the fileextension
1440 if no format is detected.
1442 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1444 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
1445 as class SystemCall because one Systemcall instance represents a
1446 single child process.
1449 * Makefile.am: associated changes.
1451 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1453 * syscall.C (Systemcalls): include <cstdlib>
1455 2002-02-08 Herbert Voss <voss@perce.de>
1457 * filetools.C: (getExtFromContents) adding Grace-format
1460 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1463 * syssingleton.C: files removed.
1465 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
1466 uses it. Strip down the Systemcalls interface to make it brutally
1467 obvious how unsophisticated it is.
1469 2002-02-08 Herbert Voss <voss@perce.de>
1471 * filetools.C: (getExtFromContents) adding TGIF-format
1472 and return type "user" when no type is detected
1474 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1476 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1478 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1480 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1482 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1484 * FileInfo.h: remove special cygwin code.
1486 * filetools.C (do_popen): use os::read_mode().
1488 * os_win32.C (read_mode):
1489 * os_os2.C (read_mode):
1490 * os_unix.C (read_mode): new method
1492 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1493 Hentschel). This code should maybe be moved to os:: class.
1495 2002-02-08 Herbert Voss <voss@perce.de>
1497 * filetools.C: (unzipFile) fix typo
1499 2002-02-06 Herbert Voss <voss@perce.de>
1501 * filetools.[Ch]: fix some bugs for detecting zipped files
1504 2002-02-04 Herbert Voss <voss@perce.de>
1506 * filetools.[Ch]: add ifZippedFile() for zipped
1509 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1511 * filetools.C (FileOpenSearch): remove duplicated line, probably
1512 resulting from bad cut-and paste.
1514 2002-01-31 Herbert Voss <voss@perce.de>
1516 * filetools.[Ch]: add getExtFromContents(), which returns
1517 the type of the (graphic) file
1519 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1521 * copy.C (copy): open file in binary mode (for cygwin)
1523 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1525 * lyxsum.C: remove #warnings and replaced them with runtime debug
1528 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1530 * lyxalgo.h: include <algorithm>
1532 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1534 * lyx_algo.h: add a standard-conforming count to namespace lyx.
1536 * lstrings.[Ch] (countChar): removed. Use lyx::count.
1538 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1540 * filetools.C: fix use of FileInfo
1543 * FileInfo.C: add Asserts and documentation
1545 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
1547 * os_win32.C: compilation fixes
1549 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1551 * lstrings.h: do not include <cctype>
1553 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1555 * lyxsum.C: portability fix for mmap patch
1557 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1561 * lyxstring.C: change "while(" to "while ("
1563 2001-12-03 Ben Stanley <bds02@uow.edu.au>
1565 * lyxsum.C: Added mmap version of CRC and made it selected
1566 by default where available. Used process_block for crc for speedup.
1568 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1570 * filetools.C: more robust failure for DirList()
1572 2001-11-29 André Pönitz <poenitz@gmx.net>
1574 * types.h: introduce types for textclass numbers and layout numbers
1576 2001-11-28 André Pönitz <poenitz@gmx.net>
1578 * Makefile.am: put types.h in
1580 2001-11-26 André Pönitz <poenitz@gmx.net>
1582 * types.h: introduce types for paragraph positions and layout numbers
1584 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1586 * filetools.C: remove dead code
1588 * syscall.C: show prog in fail case
1590 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1592 * filetools.C: code style cleanup
1594 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1596 * os.h: remove spurious punctuation.
1598 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1601 * LAssert.C: use new emergencyCleanup()
1603 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1605 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1606 like GNU gettext does.
1608 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1610 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1612 (findtexfile): oops! the change from last friday was wrong...
1614 * os_win32.C (is_absolute_path):
1615 * os_unix.C (is_absolute_path):
1616 * os_os2.C (is_absolute_path): new method
1618 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1620 * filetools.C (findtexfile): apply os::internal_path to the result.
1622 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1627 * os.h: add internal_path method, which converts a unix-type file
1628 name to the type known to the underlying file system (currently
1629 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1631 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1633 * smart_ptr.h: new file
1635 * utility.h: new file
1637 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1640 * filetools.C (IsDirWriteable): fix this
1642 2001-07-26 Baruch Even <baruch@lyx.org>
1644 * lyxlib.h (float_equal): Added function to compare floats almost equal
1645 (see function comment).
1647 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1649 Consistent use of Lsstream.h:
1650 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1652 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1654 * translator.h: (*it). -> it->
1656 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1658 * filetools.C (DeleteAllFilesInDir): send debug output to
1659 Debug::FILES instewad of Debug::ANY.
1661 * DebugStream.h: remove gcc 2.8.x hack.
1663 2001-06-26 The LyX Project <jug@sad.it>
1666 * lstrings.C (escape): move method to escape non ascii characters
1667 from insets label and ref to here.
1669 2001-06-25 The LyX Project <jug@sad.it>
1671 * filetools.C (IsLyXFilename):
1672 (IsSGMLFilename): do case insensitive name matching
1674 2001-06-24 The LyX Project <jug@sad.it>
1676 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1677 which only considers case of ascii characters
1679 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1682 2001-06-23 The LyX Project <jug@sad.it>
1684 * textutils.h (IsPrintable): take into account unprintable spaces
1686 (IsDigit): new function
1687 (IsLetterCharOrDigit): use IsDigit
1689 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1691 * filetools.C (findtexfile): strip final \r if necessary (for
1694 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1697 * StrPool.C: removed // -*- C++ -*- as first line.
1699 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1701 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1704 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1709 * LSubstring.C: bring C functions in global namespace if
1712 * lstrings.h (compare): use the std:: version of str[n]cmp only
1715 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1717 * syscontr.C: add std::
1719 * syscall.C: add std::
1721 * lstrings.h (compare): add std::
1723 * lstrings.C (prefixIs): add std::
1727 * LSubstring.C (LSubstring): add std::
1729 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1731 * lyxsum.C (sum): use istreambuf_iterator when available.
1733 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1735 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1738 * lyxstring.C (operator): make const operator[] behave as
1741 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1743 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1745 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1747 * filetools.C (MakeAbsPath): remove debugging statement
1749 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1751 * FileInfo.h: X_OK workaround for cygwin
1760 * filetools.h: Added os:: class.
1764 * tempname.C: OS/2 fixes
1766 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1768 * textutils.h: remvoe !NEW_INSETS cruft
1770 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1773 * atoi.C: add using directives when needed for C functions
1774 declared in std:: namespace.
1776 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1778 * lstrings.C : add two helper structs, local_lowercase and
1780 (lowercase): change to use std::transform
1781 (uppercase): change to use std::transform
1783 2001-04-25 Allan Rae <rae@lyx.org>
1785 * lyxstring.C : Assert got moved and Lars missed a few.
1787 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1789 * LAssert.h (Assert): put into namespace lyx
1791 * lyxfunctional.h: put into namespace lyx
1792 * translator.h: adjust
1794 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1796 * lyxalgo.h: put into namespace lyx, add firster and copy_if
1798 * FileInfo.h: inherit privately from noncopyable
1801 2001-04-16 Allan Rae <rae@lyx.org>
1803 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1804 as an unrecognised preprocessor directive. So ensure they're wrapped.
1806 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1808 * several files: remove CXX_WORKING_NAMESPACES
1810 * FileInfo.h: noncopyable is in namespace boost
1813 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
1815 * syscontr.h: fix header include
1817 2001-02-28 Baruch Even <baruch@ev-en.org>
1819 * filetools.C: Removed dependency on syscall.h
1822 * syscall.C: Minor cleanings before I start to touch this code.
1824 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1826 * filetools.C (CreateTmpDir): change umask to 0700.
1828 2001-02-27 José Matos <jamatos@fep.up.pt>
1830 * filetools.h (BasePath):
1831 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1833 * filetools.C (IsLyXFilename):
1834 * filetools.C (IsSGMLFilename): test if extension is suffix and not
1837 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1841 * atoi.C: remove cruft
1843 2001-02-06 albert chin <china@thewrittenword.com>
1846 * fmt.C: use HAVE_DECL_SNPRINTF
1848 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1850 * lyxstring.C: Fix some assertions.
1852 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1854 * lstrings.C (strip): Add a fix for compilers with broken
1855 string::find_last_not_of.
1857 * filetools.C (AddPath): Simplify by using strip and frontStrip.
1859 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1861 * lyxstring.C (rfind): Fix broken functions.
1862 (find): Few optimizations.