1 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
4 * package.h: change environment variable to LYX_USERDIR_14x
6 2005-07-14 Angus Leeming <leeming@lyx.org>
8 * filename.[Ch] (mangledFilename): add an optional "dir" parameter
9 that is used to help determine the length of the mangled file name.
10 Do this because MiKTeX's YAP (version 2.4.1803) will crash if the string
11 referencing the file name in the .dvi file is "too long". MikTeX bug:
12 http://sourceforge.net/tracker/index.php?func=detail&aid=1238065&group_id=10783&atid=110783
14 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
16 * filetools.[Ch] (latex_path): convert boolean exclude_extension
17 argument to an enum and add argument to replace dots
19 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
21 * filetools.[Ch] (latex_path): add exclude_extension argument
23 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
25 * lyxtime.[Ch]: two new functions formatted_time, which return
26 the strftime-formatted localized date/time.
28 2005-06-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
30 * FileName.C (mangledFilename): replace spaces with _
32 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
34 * filetools.C (latex_path): protect " with \string since it may be
37 2005-05-07 Rob Bearman <robbear@hyperfine.com>
39 * fs_extras.C (copy_file): noclobber and CopyFile's bFailIfExists
40 are the same as each other.
42 2005-05-03 Angus Leeming <leeming@lyx.org>
44 * filetools.C (RunCommand): protect calls to popen() and pclose()
45 with preprocessor guards.
47 * tempname.C: protect calls to close(), getpid() and open()
48 with preprocessor guards.
50 2005-05-02 Angus Leeming <leeming@lyx.org>
52 * socktools.C: make compilation dependent on HAVE_FCNTL rather
55 2005-05-02 Angus Leeming <leeming@lyx.org>
57 * socktool.C (listen, accept): provide stub versions for Windows.
59 * os_win32.h: removed.
61 2005-04-29 Angus Leeming <leeming@lyx.org>
63 * os_win32.C (init): Merge changes from Asger's win32_kludge.diff
64 file, primarily checking that GetConsoleTitle succeeded.
66 2005-04-25 Angus Leeming <leeming@lyx.org>
80 include <config.h> in .C files, not .h ones.
82 protect headers inside preprocessor guards.
84 2005-04-25 Angus Leeming <leeming@lyx.org>
86 * globbing.[Ch]: removed to frontends/xforms.
88 * Makefile.am: associated change.
90 2005-04-24 Angus Leeming <leeming@lyx.org>
92 * userinfo.C (user_name): add Windows-specific code.
94 2005-04-22 Angus Leeming <leeming@lyx.org>
96 * package.C.in (get_binary_path): on prompting from Rob Bearman,
97 ensure that the name of the executable, as input at the command
98 line has a ".exe" suffix so that various file interogations
101 2005-04-22 Angus Leeming <leeming@lyx.org>
104 * forkedcall.h: remove pid_t definition to config.h.
106 2005-04-21 Angus Leeming <leeming@lyx.org>
109 * forkedcall.h: define pid_t for MSVC.
111 * forkedcall.C (kill): work around evil MSVC max macro.
113 2005-04-21 Angus Leeming <leeming@lyx.org>
115 * forkedcontr.C: add #include <csignal>.
117 * filetools.C (RunCommand): remove the signal blocking stuff
118 now that we no longer use a signal handler on unix.
120 2005-04-19 Angus Leeming <leeming@lyx.org>
122 * filetools.C: remove unnecessary #include of forkedcontr.h.
124 * forkedcall.C: protect system-specific headers with preprocessor
126 (running): don't call waitpid() on Windows.
127 (waitForChild): add Windows-specific code to wait for a child process
129 (generateChild): add Windows-specific code to spawn the child in the
132 * forkedcontr.[Ch]:Revert back to the LyX 1.3.x version of the code
133 to spawn a child process asynchronously. Do this because 'issues'
134 remain with the SIGCHLD handling code on *nix and because there's no
135 easy way to implement such a monitor on Windows. Explicit polling,
136 as in Lyx 1.3.x, is safe, robust and works on both platforms.
138 2005-04-19 Angus Leeming <leeming@lyx.org>
140 * package.C.in (get_temp_dir): call GetLongPathName on Windows.
142 2005-04-19 Angus Leeming <leeming@lyx.org>
144 * pch.h: protect unix-specific headers from breaking compilation
147 2005-04-17 Angus Leeming <leeming@lyx.org>
149 * filetools.C (MakeDisplayPath): invoke os::external_path before
152 * os_win32.C (external_path): convert '/' chars to '\'.
154 * filetools.[Ch] (latex_path): new function which modifies
155 an input path containing space and '~' characters into something that
156 LaTeX can understand.
158 2005-04-17 Angus Leeming <leeming@lyx.org>
160 * forkedcall.C (generateChild): do not strip quotes from args on
162 Wrap lyxerr output inside an if (lyxerr.debugging(Debug::FILES))
165 2005-03-23 Angus Leeming <leeming@lyx.org>
167 * Makefile.am (build_package): Solaris sed does not like
168 spaces bewteen the ;-delimited commands.
170 2005-02-25 Lars Gullik Bjønnes <larsbj@gullik.net>
172 * Makefile.am (CLEANFILES): clean generated files
174 2005-02-17 Angus Leeming <leeming@lyx.org>
176 * copy.C (copy): Pass the ios::in flag to the ifstream constructor.
177 Enables copying to work when the code is compiled with the gcc 2.95
180 2005-02-15 Angus Leeming <leeming@lyx.org>
182 * environment.C: add missing #include.
183 (setEnvPath): compare iterators rather than use tellp().
185 2005-02-15 Angus Leeming <leeming@lyx.org>
187 * environment.[Ch]: new files. Move the environment setter/getter
188 functions here from filetools.[Ch]. In the process:
189 rename GetEnv as getEnv.
190 rename putEnv as setEnv. Change the signature of the function
191 to take a pair of arguments (a name and a value) rather than the
192 existing coded "name=value" single argument. Merge the putenv.C
195 * lyxlib.h (putenv): remove declaration.
198 * Makefile.am: add environment.[Ch]. Remove putenv.C.
200 * filetools.[Ch]: remove environment setter/getter functions.
202 * os_os2.C (init): s/GetEnvPath/getEnvPath/. Left over from an
205 * package.C.in (get_home_dir, extract_env_var_dir):
206 * userinfo.C (user_email): s/GetEnv/getEnv/.
208 2005-02-03 Angus Leeming <leeming@lyx.org>
210 * forkedcall.C (running): call the lyx::kill wrapper function
211 rather than the system kill.
213 2005-02-02 Angus Leeming <leeming@lyx.org>
215 * forkedcall.C (generateChild): overhaul the code to split a string
216 into an argv array of words. Now respects simple quoting reasonably
219 2005-02-01 Angus Leeming <leeming@lyx.org>
221 * fs_extras.C: #include <windows.h>
223 2005-01-31 Angus Leeming <leeming@lyx.org>
225 * package.[Ch] (init_package, c-tor): define and use an enum to
226 specify explicitly the location of the top level build directory
227 when the executable is run in-place.
229 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
231 * fs_extras.C: add changes from Asger's Win32 patch.
233 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
236 * getcwd.C (l_getcwd):
238 * mkdir.C (mkdir): add Win32 specializations.
240 * os_win32.h: remove cruft.
242 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
244 * Makefile.am (libsupport_la_SOURCES): remove rmdir.C
246 * rmdir.C: delete file
248 * lyxlib.h: remove rmdir decl
250 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
252 * .cvsignore: add package.C
254 * FileInfo.C, FileInfo.h: delete files
256 * fs_extras.C, fs_extras.h: new files
258 * FileMonitor.C, filetools.C: rewrite to use boost.filesystem
260 * Makefile.am (libsupport_la_SOURCES: delete FileInfo.[Ch], add
263 * filetools.C: make destroydir return true if something was
264 deleted. adjust callers.
265 (IsFileWritable): replace with is_readonly in fs_extras, adjust
268 * package.C.in: rewrite to use boost.filesystem
270 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
272 * tests: add some code for automatic regression testing, can be
273 improved or removed as we see fit
275 * lyxlib.h (atoi): delete func
277 * lstrings.[Ch] (strToInt): delete func
278 (strToUnsignedInt): delete func
279 (strToDbl): delete func
281 * Makefile.am: add subdir tests, delete atoi.C
283 * atoi.C: delete file
285 * convert.C: add specializations for converting to int, unsigned
286 int, double from string, and for converting to int and double from
289 * convert.h: remove commented code
291 2005-01-22 Angus Leeming <leeming@lyx.org>
293 * path.C (Path): revert the patch since the if statement has side
294 effects that are needed for the code to work :-(
296 2005-01-21 Angus Leeming <leeming@lyx.org>
298 * os_cygwin.C, os_win32.C: strip the Cygwin-specific stuff out of
299 os_win32.C and give it its own file.
301 * os.C: #include "os_cygwin.C" if building on Cygwin.
303 2005-01-20 Angus Leeming <leeming@lyx.org>
305 * lyxlib.h (float_equal): promote parameters to double.
307 * path.C (Path): silence MSVC warning about block of code that
310 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
312 * FileInfo.h, chdir.C, forkedcall.C, forkedcontr.C, getcwd.C,
313 mkdir.C, os_defines.h, pch.h, rmdir.C, unlink.C:
314 use the HAVE_UNISTD_H preprocessor guard.
316 2005-01-20 Angus Leeming <leeming@lyx.org>
318 * filetools.[Ch] (LibScriptSearch): modify the code that replaces
319 the $$s placeholder with a path, so that it now inserts the path
320 of the lyx support directory, not the scripts subdirectory.
322 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
324 * lyxsum.C, socktools.C, tempname.C, userinfo.C: use the
325 HAVE_UNISTD_H preprocessor guard.
327 2005-01-17 Angus Leeming <leeming@lyx.org>
329 * os_win32.C (init): Add Ruurd's original code to close the
330 console window that Windows opens for us, together with a note
331 explaining the alternative approach.
333 2005-01-17 Angus Leeming <leeming@lyx.org>
335 * package.C.in (get_binary_path): convert relative paths stored
336 in the PATH environment variable to absolute ones.
338 2005-01-16 Angus Leeming <leeming@lyx.org>
340 * filetools.[Ch] (prependEnvPath): prepend a list of paths to
341 that returned by the environment variable. Identical paths occurring
342 later in the list are removed.
344 2005-01-16 Angus Leeming <leeming@lyx.org>
346 * filetools.C (createLyXTmpDir): add some missing brackets to the
347 if-block. OS/2 users will be happier.
349 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
351 * os_win32.C (external_path): Check the new cygwin_path_fix_ bool
352 before translating external paths to Win32 paths.
354 2005-01-13 Angus Leeming <leeming@lyx.org>
356 * os.h, os_os2.C, os_unix.C, os_win32.C (cygwin_path_fix): new
357 function flagging whether LyX should output native Win32 paths
358 or cygwin paths. Obviously operative only under Cygwin.
360 2005-01-13 Angus Leeming <leeming@lyx.org>
362 * package.C.in: use "%n$s" rather than "%n%" for n=1,2,3... when
363 calling bformat so that the substitutions work for the non
364 boost::format users too.
366 2005-01-12 Angus Leeming <leeming@lyx.org>
368 * filetools.[Ch] (setEnvPath): new function to create a PATH-style
369 string from a vector of paths and to use it to set an environment
371 (putEnv): resurrect this from the grave.
373 * os.h, os_os2.C, os_unix.C, os_win32.C (path_separator): new
374 function returning the character used to separate paths returned
375 by the PATH environment variable.
377 * os_win32.C: add #include "lstring.h" back in.
379 * package.C.in (package): comment out the ASSERT for now.
380 (check_env_var_dir): write one of the strings to be translated
381 (any one, doesn't matter) on a single line so that the
382 gettext search mechanism in po/Makefile.in.in will register
383 package.C.in as a file containing strings that need translation.
385 2005-01-10 Angus Leeming <leeming@lyx.org>
390 * os_win32.C (binpath, binname, homepath, setTmpDir, getTmpDir, warn):
391 removed. Remove also all code to set the associated data variables.
393 * package.{C.in,h}: new files to ascertain the paths to the
394 various directories used by LyX. Does nothing with these paths,
395 just determines the strings themselves.
397 * path_defines.{C.in,h}: removed.
399 * Makefile.am: remove path_defines.{C.in,h}. Add package.{C.in,h}.
401 * filetools.[Ch] (GetEnvPath): remove.
402 (getEnvPath): replacement. Returns a vector<string> of paths.
405 * tempname.C: use support/package.h to provide the paths to the
406 various directories used by LyX.
408 2005-01-07 Angus Leeming <leeming@lyx.org>
410 * convert.C (string>): add specialization for long.
412 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
414 * convert.h: remove the specializations, don't included unneeded
416 * convert.C: add specialization for unsigned long
418 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
420 * tostr.[Ch]: renamed to convert[ch]
422 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
424 * lstrings.[Ch]: change bformat to be a template
426 * tostr.[Ch]: tostr -> convert, convert is a template
429 * filetools.C (createBufferTmpDir): tostr -> convert
431 2005-01-05 Angus Leeming <leeming@lyx.org>
433 * os_win32.C (external_path, internal_path): s/MAX_PATH/PATH_MAX/.
435 2005-01-04 Angus Leeming <leeming@lyx.org>
437 * os_win32.C (current_root): use _getdrive on Win32.
439 * FileInfo.C (FileInfo, newFile): strip the trailing '/' from
440 the stored file name as it breaks Window's version of stat().
441 (isLink): protect the code with #ifdef S_ISLNK.
442 (dostat): protect the code with #ifdef HAVE_LSTAT.
443 (typeIndicator): remove code testing the file's executable status.
445 * filetools.C (LyXReadLink): protect the code with
446 #ifdef HAVE_READLINK.
448 2005-01-01 Kayvan Sylvan <kayvan@sylvan.com>
450 * os_win32.C (internal_path): remove the call to MakeLatexName as
451 it is (1) unnecessary and (2) leads to an infinite loop as
452 MakeLatexName calls AddName which calls internal_path...
454 2004-12-19 Angus Leeming <leeming@lyx.org>
456 * path_defines.C.in (setLyxPaths): on a Windows build,
457 remove the ".exe" extension from the name of the LyX binary when
458 trying to ascertain the name of the LyX system directory.
459 (Usually, <path to binary>/../share/<name of binary>/).
461 * os.h, os_os2.C, os_unix.C, os_win32.C (slashify_path): remove.
463 * os_win32.C (init): ensure that the name of the lyx executable is
464 stored internally with a unix-style path.
466 * os_win32.C (internal_path, external_path): differentiate between
467 cygwin and windows builds.
469 * filetools.C (FileOpenSearch, GetEnvPath, createDirectory,
470 MakeAbsPath, AddName, MakeRelPath, ChangeExtension):
471 * filename.C (mangledFilename):
472 s/slashify_path/internal_path/.
474 2004-12-16 Angus Leeming <leeming@lyx.org>
476 * filename.C (mangledFilename): Given a Windows-style path, don't
477 forget to mangle the drive letter too when generating a unique
480 2004-12-16 Angus Leeming <leeming@lyx.org>
482 * mkdir.C: move the HAVE_MKDIR conditional code out of config.h
485 2004-12-15 Angus Leeming <leeming@lyx.org>
487 * FileInfo.[Ch] (getNumberOfLinks): removed.
489 2004-12-15 Angus Leeming <leeming@lyx.org>
491 * tempname.C: #include fcntl.h and sys/stat.h if creating a temp
492 file using mktemp and open.
494 2004-12-14 Angus Leeming <leeming@lyx.org>
496 * os.h, os_os2.C, os_unix.C, os_win32.C:
497 (binpath, binname, getTmpDir): return a const reference rather than
499 (homepath, nulldev): new functions returning the name of "HOME" and
500 the null device, respectively.
502 * filetools.C: (ExpandPath, MakeDisplayPath):
503 * path_defines.C.in (setLyxPaths): use os::homepath(), not
506 2004-12-14 Angus Leeming <leeming@lyx.org>
508 * os.h, os_{os2,unix,win32}.C (init): change interface to no longer
509 pass the addresses of the parameters received by main.
511 2004-12-14 Angus Leeming <leeming@lyx.org>
513 * copy.C (copy): open the ifstream with ios::binary.
515 2004-12-14 Angus Leeming <leeming@lyx.org>
517 * os.C: Add _WIN32 to the #define.
519 * systemcall.C (startscript): remove trailing '/n' from request to
520 start the command in a minimized window under DOS.
522 2004-12-14 Angus Leeming <leeming@lyx.org>
524 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
525 to overcome bug in the MinGW port of g++ 3.4.2.
527 2004-11-26 Angus Leeming <leeming@lyx.org>
529 * globbing.[Ch] (glob): change API to:
530 1. Append matches to the input container.
531 2. Require a working_dir parameter. The function invokes chdir
532 internally (through use of Path).
534 2004-11-26 Angus Leeming <leeming@lyx.org>
536 * filefilterlist.C (convert_brace_glob): moved here from
539 * filefilterlist.[Ch]: clean-up FileFilterList API.
541 * globbing.[Ch] (convert_brace_glob): moved to filefilterlist.C.
542 (expand_globs): moved to xforms/FormFiledialog.C.
544 2004-11-25 Angus Leeming <leeming@lyx.org>
546 * filefilterlist.[Ch]:
547 * globbing.[Ch]: split FileFilterList into its own .[Ch] files.
549 * Makefile.am: add filefilterlist.[Ch].
551 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
553 * textutils.h (isKommaChar): remove
555 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
557 * forkedcontr.C (find_pid): simplify and also make pass concept
559 (handleCompletedProcesses): make sure that we do not slice the
560 object and satisfy concept checks.
562 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
564 * filetools.[Ch] (getFormatFromContents): don't guess format from
565 extension, return string() instead of "user" if the format could
568 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
570 * Make it clearer where include files are coming from.
572 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
574 * translator.h: use bind, equal_to instead of equal_1st_in_pair
575 and equal_2nd_in_pair
577 * Makefile.am (libsupport_la_SOURCES): remove lyxfunctional.h
578 * lyxfunctional.h: delete file
580 * lyxfunctional.h: delete compare_memfun and helper classes
582 * forkedcontr.C (find_pid): use bind, equal_to instead of
585 * lyxfunctional.h: delete back_inserter_fun functions and helper
588 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
590 * snprintf.[ch]: removed
592 * Makefile.am (libsupport_la_SOURCES): remove snprintf
594 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
596 * filetools.[Ch] (getExtFromContents): rename to
597 getFormatFromContents and return always a format
599 2004-10-25 Angus Leeming <leeming@lyx.org>
601 * forkedcall.C (generateChild): strip quotes from each argument
604 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
606 * pch.h: use proper signal include
608 * forkedcallqueue.C: remove unused include
610 * FileMonitor.h: Use the preferred calling for Boost.Signal
611 * forkedcall.h: ditto
613 * FileMonitor.C: use the new signal typedef
615 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
617 * forkedcall.h: remove include of <boost/function/funtion0.hpp>
620 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 * textutils.h (IsLetterCharOrDigit): remove
624 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
626 * filetools.C (LibScriptSearch): quote the path of the script, in
627 case it contains spaces
629 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
631 * tostr.C: reimplement using lexical_cast
633 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
635 * pch.h: do not use include boost/format.hpp, multiple symbols
636 will result (gcc bug)
638 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
642 * Makefile.am: support pch
644 2004-08-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * globbing.C (FileFilterList): make sure that "All files (*)" is
647 always part of the filters list
649 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
651 * tostr.C, lstrings.C, globbing.C, filetools.C: change
652 "support/std_sstream.h" to <sstream>
654 * Makefile.am (libsupport_la_SOURCES): delete std_sstream.h and
656 (std_sstream.h): delete file
657 (sstream.h): delete file
659 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
661 * filetools.C (i18nLibFileSearch): honor case where LANGUAGE
662 specifies a list of locales (thanks to Pablo Saraxtaga for the
665 2004-05-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
668 its po files when moved around; set default user directory to
669 ~/Library/Preferences/LyX/ for LyX/Mac.
670 (lyx_localedir): return the value that may have been computed in
673 2004-05-27 Kayvan Sylvan <kayvan@sylvan.com>
675 * Makefile.am (libsupport_la_SOURCES): remove reference to
678 2004-05-20 Angus Leeming <leeming@lyx.org>
680 * debugstream.h: wrap the definition of debug_trait::DEBUG with
681 preprocessor guards that protect against a name clash with a
682 macro DEBUG. Such a macro is defined by the Qt library...
684 2004-04-27 Angus Leeming <leeming@lyx.org>
686 * path_defines.{h,C.in}: expose top_srcdir, renamed from
689 2004-04-05 Angus Leeming <leeming@lyx.org>
692 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
694 2004-04-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
696 * filetools.C (RunCommand): block SIGCHLD during popen/pclose
697 (actually Angus' fix).
699 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
701 * filetools.C (DeleteAllFilesInDir): delete directories with
702 rmdir(), unlink() does not work
704 2004-03-27 Angus Leeming <leeming@lyx.org>
706 * forkedcontr.C (child_handler): squash warning about a
707 signed/unsigned comparison.
708 (handleCompletedProcesses): only output a warning about an error
709 waiting for the child if it is indeed an error ;-)
711 2004-03-26 Angus Leeming <leeming@lyx.org>
713 * forkedcall.[Ch] (run): new function, replacing runBlocking,
716 * forkedcall.C (generateChild): ensure that the code that splits
717 the command up into an array of words won't leak in the event of an
720 * forkedcontr.C: make it a little more robust.
722 2004-03-24 Angus Leeming <leeming@lyx.org>
724 * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
725 of child proccesses and ascertain whether any have died. Instead use
726 the SIGCHLD signal emitted by the system to reap these zombies in the
727 maximally efficient manner. The subsequent emitting of the signal
728 associated with each child process *is* performed within the main
729 lyx event loop, thus ensuring that the code remains safe.
731 A detailed description of the design is to be found in forkedcontr.C.
733 2004-03-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
735 * filetools.C (i18nLibFileSearch): simplify the logic a bit
737 2004-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
739 * filetools.C (i18nLibFileSearch): fix the logic to match closely
742 2004-03-23 Angus Leeming <leeming@lyx.org>
744 * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
745 clone to return a boost::shred_ptr rather than a std::auto_ptr.
747 * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
750 2004-03-22 Angus Leeming <leeming@lyx.org>
752 * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
753 cruft left over from the removal of the Forks dialog.
755 2004-03-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
757 * filename.[Ch] (mangledFilename): make sure that mangled names are
760 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
762 * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
763 remove pathfor argument
764 * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
765 harder to create a usable temp dir
766 * filetools.C (CreateTmpDir): rename to createTmpDir
767 filetools.[Ch] (unzipFile): add argument for output filename
768 * filename.h: fix doxygen warning
770 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
772 * lstrings.h (contains_functor): delete
773 (contains): change into template, simplify
775 * lstrings.C (contains): remove both functions
777 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
779 * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
782 * lstrings.h (contains_functor): inherit from
783 std::binary_function, remove typedefs.
785 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
787 * globbing.C: add using statement for std::distance, remove std::
790 2004-01-08 Angus Leeming <leeming@lyx.org>
792 * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
793 list of available file filters and generate the corresponding vector.
795 2003-12-14 Ronald Florence <ron@18james.com>
797 * tostr.[hC]: added tostr(long unsigned int i).
799 * path_defines.C.in: determine system directory and set PATH for
800 relocatable LyX/Mac bundle.
802 2004-01-06 Angus Leeming <leeming@lyx.org>
804 * globbing.C (glob): compilation fix for cygwin.
806 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
808 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
810 * BoostFormat.h: delete file
811 * boost-inst.C: delete fil
813 * lstrings.C: include boost/format.hpp
815 2004-01-05 Angus Leeming <leeming@lyx.org>
817 * globbing.[Ch]: new files containing some globbing utilities.
819 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
821 * putenv.C: allocate the string before putting it into the
826 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
828 * tempname.C (tempName): use scoped_array for exception safety
830 * os_os2.C (init): use scoped_array for exception safety
832 * getcwd.C (getcwd): use scoped_array for exception safety
834 * forkedcontr.C (addCall): adjust
836 * forkedcall.h: make clone return a auto_ptr
838 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
840 * debugstream.h: add a default constructor that does not setup a
843 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
845 * socktools.C: honor CXX_GLOBAL_CSTD
847 2003-10-16 André Pönitz <poenitz@gmx.net>
849 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
850 using static variables.
852 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
854 * socktools.[Ch]: New files. Wrapper around socket system calls.
856 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
858 * socktools.C (SUN_LEN): add this MACRO definition for platforms
859 that do not define it themselves.
861 2003-10-08 Angus Leeming <leeming@lyx.org>
863 * copied_ptr.h: get rid of the swap member function.
865 2003-10-08 Angus Leeming <leeming@lyx.org>
867 Fix doxygen warnings.
869 * debugstream.h: \file debugStream.h -> \file debugstream.h
871 * os.h: move comment so that doxygen is not confused.
873 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
875 * Makefile.am: fix typo.
877 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
879 * std_string.h: delete file
881 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
883 * lstrings.C: Small fixes to build using STLport
885 2003-09-29 Angus Leeming <leeming@lyx.org>
887 * filetools.C (ReplaceEnvironmentPath): make it work for both
888 ${HOME}/foo and $HOME/foo.
890 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
892 * debugstream.h: add file, updated version of the DebugStream
894 * DebugStream.C,DebugStream.h: delete files
896 2003-09-25 Angus Leeming <leeming@lyx.org>
898 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
899 * lstrings.[Ch]: (regexMatch): removed.
901 2003-09-25 Angus Leeming <leeming@lyx.org>
903 * translator.h (add): new member function.
905 2003-09-16 Angus Leeming <leeming@lyx.org>
907 * textutils.h: remove #include "paragraph.h". Remove functions
908 IsInsetChar and IsWordChar.
910 2003-09-15 Angus Leeming <leeming@lyx.org>
912 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
913 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
914 his book as ValuePtr.
915 Use a memory_traits template parameter to create/destroy memory in a
918 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
922 * filetools.C: Remove usage of STRCONV
924 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
927 * std_string.h: modify to always work with std::string, but if
928 with-included-string then use it through namespace lyx. Remove
931 * lyxstring.[Ch]: remove files
933 2003-09-15 Angus Leeming <leeming@lyx.org>
935 * translator.h: add #include <boost/assert.hpp>, so that the
936 template is self-contained.
938 2003-09-11 Angus Leeming <leeming@lyx.org>
941 * copied_ptr.h: added to the repository. Maybe temporarily.
943 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
945 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
947 * several files: change Assert to BOOST_ASSERT
950 * LAssert.h: remove files
952 2003-09-08 Angus Leeming <leeming@lyx.org>
955 * filetools.C: tell the world where to find author contact details.
957 2003-09-08 Angus Leeming <leeming@lyx.org>
963 * lyxsum.C: remove redundant using directives.
965 2003-09-05 Angus Leeming <leeming@lyx.org>
967 * lstrings.C: small bformat fix
969 2003-09-05 Angus Leeming <leeming@lyx.org>
971 * std_istream.h: new file Just renaming of LIstream.h
972 * std_ostream.h: new file Just renaming of LIstream.h
973 * std_sstream.h: new file Just renaming of Lsstream.h
974 * std_string.h: new file Just renaming of LString.h
976 2003-09-05 Angus Leeming <leeming@lyx.org>
980 ensure that the header file can be compiled stand-alone.
982 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
984 * lstrings.[Ch] (bformat): add a variant taking two ints.
986 2003-09-04 Angus Leeming <leeming@lyx.org>
989 * filename.C: move #include "os.h" out of the header file.
991 2003-09-04 Angus Leeming <leeming@lyx.org>
993 * path.C (ctor, dtor): move out of line.
995 2003-09-03 Angus Leeming <leeming@lyx.org>
997 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
998 (mangledFilename): new function, returning a mangled version of the
999 absolute file name, suitable for use in the temp dir when, for example,
1000 converting an image file to another format.
1001 (isZipped, unzippedFilename): wrappers to global functions.
1003 * filetools.[Ch] (copyFileToDir): removed.
1004 (compare_timestamps): new function.
1006 2003-09-03 Angus Leeming <leeming@lyx.org>
1008 * translator.h: Assert is in namespace lyx::support...
1010 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1012 * Makefile.am: do not install path_defines.C in includes
1013 (COMPRESSION): mention gzstream.h here
1015 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1017 * path_defines.C.in (setLyxPaths): re-introduce the code to check
1018 whether lyx is run in place
1019 (build_dir): renamed from build_lyxdir
1020 (build_lyxdir): give this better semantics compatible with what
1021 LibFileSearch expects.
1023 2003-07-29 Angus Leeming <leeming@lyx.org>
1025 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
1026 defaults to string() because MakeRelPath can accept that.
1028 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1030 * Makefile.am: conditionalize USE_COMPRESSION.
1032 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1034 * filetools.C (getExtFromContents): correct magic for gzip and
1037 * path_defines.[Ch]: move lyx_localedir out of anon namespace
1039 * gzstream.h: new fileq
1041 * gzstream.C: new file
1043 2003-07-27 Angus Leeming <leeming@lyx.org>
1045 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
1046 user_lyxdir): are now functions, not global vars.
1048 * Makefile.am: set build_lyxdir at make time.
1050 2003-07-27 Angus Leeming <leeming@lyx.org>
1052 * path_defines.{h,C.in}: new files. Store/set the various lyx
1053 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
1056 * Makefile.am: add some magic to enable the user to set the path to
1057 the system-level lyx support files, the top of the lyx build tree
1058 and the system-level lyx locale directory at _make_ time rather
1059 than configure time.
1061 * .cvsignore: add path_defines.C.
1063 2003-07-26 Angus Leeming <leeming@lyx.org>
1065 * os.h: remove irrelevant discussion of system_tempdir.
1067 2003-07-21 Angus Leeming <leeming@lyx.org>
1069 * filename.[Ch]: new files implementing class FileName.
1070 * Makefile.am: add filename.[Ch].
1072 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1074 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
1075 not allow it (at least not in this form.)
1077 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1079 * os_win32.C: put namespace os in lyx::support.
1081 * lstrings.C (bformat): call Assert from correct namespace.
1083 * introduce namespace lyx::support
1085 2003-06-30 André Pönitz <poenitz@gmx.net>
1088 * lstrings.C: re-enable --with-included-string
1090 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1092 * filetools.h: fix some \param issue
1094 * boost-inst.C: fix \file
1096 * LAssert.h: fix \file
1098 2003-06-20 Angus Leeming <leeming@lyx.org>
1100 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
1102 2003-06-18 Angus Leeming <leeming@lyx.org>
1104 * many files: add the standard blurb, "This file is part of LyX" etc
1106 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1108 * limited_stack.h: make it have a const_iterator, add begin, and
1111 2003-06-10 Angus Leeming <leeming@lyx.org>
1113 * filetools.C (copyFileToDir): ensure that temp files have unique names.
1115 2003-06-04 André Pönitz <poenitz@gmx.net>
1117 * limited_stack.h (top): return reference instead of value
1119 2003-06-02 Angus Leeming <leeming@lyx.org>
1121 * filetools.[Ch] (copyFileToDir): new helper function.
1123 * os.h: remove trailing semi-colon from end of namespace os block.
1125 2003-06-01 Angus Leeming <leeming@lyx.org>
1127 * filetools.h (LibScriptSearch): give the function a meaningful
1128 description of what it now does.
1130 2003-05-30 Angus Leeming <leeming@lyx.org>
1132 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
1133 this with the path to the script. If the script is not found, the "$$s/"
1136 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1138 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
1141 2003-05-19 André Pönitz <poenitz@gmx.net>
1143 * lstrings.C: add missing implementation of three-arg bformat
1145 * lstrings.C: change rest of char * fmt -> string const & fmt
1148 2003-05-15 André Pönitz <poenitz@gmx.net>
1150 * lstrings.[Ch]: use string const & instead of char const * for format
1152 2003-05-12 André Pönitz <poenitz@gmx.net>
1154 * tostr.[Ch]: add long int overload
1156 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1158 * lstrings.[Ch]: compile fix
1160 2003-05-12 André Pönitz <poenitz@gmx.net>
1162 * lstrings.[Ch]: bformat() as wrapper around boost::format
1164 * lyxstring.h: enable templatized constructor
1166 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1168 * limited_stack.h: Change some comments, simplify a couple of
1171 2003-02-21 André Pönitz <poenitz@gmx.net>
1173 * limited_stack.h: change underlying container to deque to
1174 make this re-usable in mathed
1176 2003-04-08 John Levon <levon@movementarian.org>
1178 * filetools.C: fix MakeDisplayPath() to not
1181 2003-03-30 John Levon <levon@movementarian.org>
1185 * boost-inst.C: moved from src/
1187 2003-03-29 John Levon <levon@movementarian.org>
1190 * filetools.C: never call Alert directly from here
1192 2003-03-12 John Levon <levon@movementarian.org>
1194 * textutils.h: remove META_NEWLINE
1196 2003-02-27 Ling Li <ling@caltech.edu>
1198 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
1201 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1203 * forkedcontr.C (timer): remove bogus continue
1205 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1207 * forkedcallqueue.[Ch]: added
1209 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1211 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
1212 Emiting the signal can result in an arbitrary change to the list.
1214 2003-02-25 Angus Leeming <leeming@lyx.org>
1216 * forkedcontr.C (timer): Use a while loop rather than for; makes it
1217 easier to erase an element.
1219 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1221 * forkedcontr.C (timer): don't start a running timer.
1223 2003-02-21 André Pönitz <poenitz@gmx.net>
1225 * filetools.C (PutEnv): removed (unused)
1227 2003-02-17 John Levon <levon@movementarian.org>
1230 * forkedcall.C: add running()
1232 2003-02-08 John Levon <levon@movementarian.org>
1236 * lyxtime.C: add typedef for time_t, add current_time
1242 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1244 * filetools.C (getExtFromContents): remove detection of epsi
1246 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1248 * several files: ws changes
1250 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1252 * filetools.C (DirList): remove all ugly hacks and do it nice
1254 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1256 * lyxsum.C: an ugly hack to compile with non-gnu linkers
1258 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
1260 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
1261 a solution that he likes and which actually works.
1263 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1265 * lstrings.h (tostr): STRCONV
1267 * lstrings.C (regexMatch): STRCONV
1268 (getVectorFromString): STRCONV, manual copy into vector
1270 * filetools.C (GetFileContents): STRCONV
1272 * os.C: include config.h
1274 * lstrings.C (getVectorFromString): rewrite to use
1277 2002-10-31 Angus Leeming <leeming@lyx.org>
1279 * forkedcall.C (generateChild): clean it up further.
1281 2002-10-25 Angus Leeming <leeming@lyx.org>
1283 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
1284 and a minimal ForkedCall daughter class.
1286 * forkedcontr.[Ch]: minimal changes reflecting the use of a
1287 ForkedProcess base class responsible for launching all child proceses.
1289 2002-09-25 Angus Leeming <leeming@lyx.org>
1292 * LOstream.h: doxygen fixes.
1294 2002-09-24 Angus Leeming <leeming@lyx.org>
1296 * most files: clean-up the license info.
1298 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1300 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
1302 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
1304 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
1305 since at least for Cygwin, the "rb" read_mode acceptable for
1306 fopen() is illegal for popen(), whose mode argument *must* be "r"
1309 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
1312 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1314 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
1317 * smart_ptr.h: remove file
1320 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1322 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
1323 class_fun and void_class_fun
1325 2002-08-20 John Levon <levon@movementarian.org>
1330 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1332 * textutils.h: formatting.
1334 2002-08-08 John Levon <levon@movementarian.org>
1336 * limited_stack.h: default to 100 not 10
1338 2002-08-01 John Levon <levon@movementarian.org>
1340 * forkedcall.C: more details on error
1342 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1344 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
1345 also add a trim function that is the equiv of
1346 strip(frontStrip(...)), also reimplement the functions
1347 (improvements still possible.)
1349 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
1350 * forkedcall.C (generateChild): ditto
1354 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1356 * filetools.C (GetEnvPath): modify because of strip changes
1357 (createDirectory): ditto
1358 (findtexfile): ditto
1359 * lstrings.[Ch] (isStrInt): ditto
1360 (isStrUnsignedInt): ditto
1362 (strToUnsignedInt): ditto
1364 (contains): removed unneeded version of contains
1365 (containsOnly): removed uneeded versions of containsOnly
1366 (strip, frontStrip): removed unneded versions, changed argument types.
1368 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1370 * filetools.C (RunCommand): Made public
1372 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1374 * limited_stack.h: fix comment, remove un-needed header
1376 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1378 * lstrings.h: correct comments for token and tokenPos
1380 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1382 * lyxstring.C (operator>>): replace code which works only with
1383 _some_ versions of GNU STL with generic one
1385 2002-07-18 Angus Leeming <leeming@lyx.org>
1387 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
1388 signal should it do so.
1390 * Makefile.am: add FileMonitor.[Ch].
1392 2002-07-18 André Pönitz <poenitz@gmx.net>
1394 * filetools.C (LibScriptSearch): bug fix
1396 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1398 * filetools.C (LyXReadLink): add bool 'resolve' to return link
1399 contents as an absolute path
1401 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1403 * filetools.C (IsLyXFilename):
1404 (IsSGMLFilename): use ascii_lowercase instead of lowercase
1406 * lstrings.[Ch] (ascii_lowercase): new function
1408 2002-07-16 André Pönitz <poenitz@gmx.net>
1410 * FileInfo.Ch: remove unneeded code
1412 2002-06-20 Herbert Voss <voss@perce.de>
1414 * filetools.[C] (readExtFromContents): add support for
1415 (x)fig format images
1417 2002-06-26 André Pönitz <poenitz@gmx.net>
1419 * filetools.[Ch]: small whitespace, more compact 'return' statement
1421 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
1423 * lyxalgo.h: add eliminate_duplicates
1425 2002-06-17 Herbert Voss <voss@perce.de>
1427 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
1428 (readBB_lyxerrMessage) to get better lyxerr messages
1429 (getExtFromContents) test epsi files in the right way
1431 * DestroxLyXTmpDir.C: changed to true, to delete the
1432 temporary unzipped files, too.
1434 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1436 * putenv.C (putenv): putenv should never be found in std::
1438 * kill.C (kill): kill should never be found in std::
1440 * filetools.C: pclose and popen should never be found in std::
1442 2002-06-07 Angus Leeming <leeming@lyx.org>
1444 Fixes needed to compile with Compaq cxx 6.5.
1445 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
1446 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
1447 more than one instance of overloaded function "lyx::class_fun" matches
1457 all c-library variables have been moved into namespace std.
1458 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1460 * kill.C: rename signal.h as csignal.
1462 * putenv.C: rename stdlib.h as cstdlib
1464 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1466 * lxtl.h: remove unused file
1468 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1475 * StrPool.C: remove unused files
1485 * types.h: document and small cleanups
1487 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1489 * switch from SigC signals to boost::signals.
1491 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1494 * limited_stack.h: new template for limited-size
1497 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1499 * filetools.C: do not include LSubstring.h
1501 * lstrings.C: change include order
1502 (regexMatch): use boost regex get rid of LRegex and LSubstring
1504 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
1507 * LSubstring.h: remove file
1512 * LSubstring.C: ditto
1514 2002-05-24 Juergen Vigna <jug@sad.it>
1516 * lyxsum.C: include local includes first (self containment)
1518 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1520 * forkedcall.h: use more specific smart_ptr header.
1522 * lyxsum.C: move some using declarations around.
1524 2002-05-03 Herbert Voss <voss@perce.de>
1526 * filetools.C (getExtFromContents): only print the first 60 chars of
1527 the scanned-string when debugging.
1529 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1531 * lyxstring.C: close to typo fix.
1533 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
1535 * filetools.C: add a using std::getline directive.
1537 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1539 * lyxstring.C (operator>>): try a new version of the operator>>
1541 2002-04-14 Herbert Voss <voss@perce.de>
1543 * lstrings.[Ch]: move the getVectorFromString and the vice versa
1544 from frontends/controllers/helper_funcs for better use in other
1547 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
1549 * tempname.C (make_tempfile): simplify the #ifdef block by using
1550 #if defined and re-write the #warning as a #error because it's terminal.
1552 2002-04-08 Herbert Voss <voss@perce.de>
1554 * filetools.C (getExtFromContents): get tgif run
1556 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
1558 * filetools.C (getExtFromContents): re-format a little and remove
1559 replicated "sgi" entry.
1561 2002-04-07 Herbert Voss <voss@perce.de>
1563 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
1564 for the lyx-view in graphics (moved from ControlGraphics)
1566 2002-04-07 Herbert Voss <voss@perce.de>
1568 * filetools.C: fix bug for eps. scans now a whole line
1570 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1572 * lyxstring.C (operator>>): use the better solution, this fixes a
1573 "not able to read '\0'" bug.
1575 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1577 * translator.h: add missing typename
1579 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1581 * filetools.C (LibScriptSearch): new command. Searches for scripts
1582 in lyx data directories.
1583 (LibScriptSearch): try to use split() correctly.
1585 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1587 * most files: ws cleanup
1589 * Makefile.am: remove ld -r stuff
1591 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1593 * Makefile.am (libsupport.la): special rules if partial linking
1595 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1597 * forkedcontr.C: turn the timer off when their are no longer any
1598 child processes running.
1600 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1602 * forkedcall.h: docy fix
1603 change SignalType second type to be const ref.
1605 * forkedcall.C: doxy fix
1607 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
1609 * lyxsum.C: compilation fix
1611 2002-03-02 Herbert Voss <voss@perce.de>
1613 * filetools.C: fix bug for xbm format and added some more debug
1616 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1618 * forkedcontr.h: make constructor public
1620 * types.h: remove layout_type
1622 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
1624 * filetools.C (getExtFromContents): cleanup.
1626 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
1628 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1630 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
1631 building outside of source tree.
1633 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1636 * forkedcontr.[Ch]: new files. Asger's forked call controller is
1637 re-born, with a working timer and a modified interface. The
1638 startscript method is now passed a Signal rather than a pointer
1639 to a callback function. This enables us to connect to the method of
1640 a C++ class, if we so desire.
1642 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
1644 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1649 * nt_defines.h: moved from src/
1651 2002-02-23 Herbert Voss <voss@perce.de>
1653 * filetools.C: added more graphic formats
1655 2002-02-18 Herbert Voss <voss@perce.de>
1657 * filetools.C: (getExtFromContents) return the fileextension
1658 if no format is detected.
1660 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1662 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
1663 as class SystemCall because one Systemcall instance represents a
1664 single child process.
1667 * Makefile.am: associated changes.
1669 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1671 * syscall.C (Systemcalls): include <cstdlib>
1673 2002-02-08 Herbert Voss <voss@perce.de>
1675 * filetools.C: (getExtFromContents) adding Grace-format
1678 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1681 * syssingleton.C: files removed.
1683 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
1684 uses it. Strip down the Systemcalls interface to make it brutally
1685 obvious how unsophisticated it is.
1687 2002-02-08 Herbert Voss <voss@perce.de>
1689 * filetools.C: (getExtFromContents) adding TGIF-format
1690 and return type "user" when no type is detected
1692 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1694 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1696 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1698 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1700 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1702 * FileInfo.h: remove special cygwin code.
1704 * filetools.C (do_popen): use os::read_mode().
1706 * os_win32.C (read_mode):
1707 * os_os2.C (read_mode):
1708 * os_unix.C (read_mode): new method
1710 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1711 Hentschel). This code should maybe be moved to os:: class.
1713 2002-02-08 Herbert Voss <voss@perce.de>
1715 * filetools.C: (unzipFile) fix typo
1717 2002-02-06 Herbert Voss <voss@perce.de>
1719 * filetools.[Ch]: fix some bugs for detecting zipped files
1722 2002-02-04 Herbert Voss <voss@perce.de>
1724 * filetools.[Ch]: add ifZippedFile() for zipped
1727 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1729 * filetools.C (FileOpenSearch): remove duplicated line, probably
1730 resulting from bad cut-and paste.
1732 2002-01-31 Herbert Voss <voss@perce.de>
1734 * filetools.[Ch]: add getExtFromContents(), which returns
1735 the type of the (graphic) file
1737 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1739 * copy.C (copy): open file in binary mode (for cygwin)
1741 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1743 * lyxsum.C: remove #warnings and replaced them with runtime debug
1746 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1748 * lyxalgo.h: include <algorithm>
1750 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1752 * lyx_algo.h: add a standard-conforming count to namespace lyx.
1754 * lstrings.[Ch] (countChar): removed. Use lyx::count.
1756 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1758 * filetools.C: fix use of FileInfo
1761 * FileInfo.C: add Asserts and documentation
1763 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
1765 * os_win32.C: compilation fixes
1767 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1769 * lstrings.h: do not include <cctype>
1771 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1773 * lyxsum.C: portability fix for mmap patch
1775 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1779 * lyxstring.C: change "while(" to "while ("
1781 2001-12-03 Ben Stanley <bds02@uow.edu.au>
1783 * lyxsum.C: Added mmap version of CRC and made it selected
1784 by default where available. Used process_block for crc for speedup.
1786 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1788 * filetools.C: more robust failure for DirList()
1790 2001-11-29 André Pönitz <poenitz@gmx.net>
1792 * types.h: introduce types for textclass numbers and layout numbers
1794 2001-11-28 André Pönitz <poenitz@gmx.net>
1796 * Makefile.am: put types.h in
1798 2001-11-26 André Pönitz <poenitz@gmx.net>
1800 * types.h: introduce types for paragraph positions and layout numbers
1802 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1804 * filetools.C: remove dead code
1806 * syscall.C: show prog in fail case
1808 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1810 * filetools.C: code style cleanup
1812 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1814 * os.h: remove spurious punctuation.
1816 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1819 * LAssert.C: use new emergencyCleanup()
1821 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1823 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1824 like GNU gettext does.
1826 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1828 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1830 (findtexfile): oops! the change from last friday was wrong...
1832 * os_win32.C (is_absolute_path):
1833 * os_unix.C (is_absolute_path):
1834 * os_os2.C (is_absolute_path): new method
1836 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1838 * filetools.C (findtexfile): apply os::internal_path to the result.
1840 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1845 * os.h: add internal_path method, which converts a unix-type file
1846 name to the type known to the underlying file system (currently
1847 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1849 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1851 * smart_ptr.h: new file
1853 * utility.h: new file
1855 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1858 * filetools.C (IsDirWriteable): fix this
1860 2001-07-26 Baruch Even <baruch@lyx.org>
1862 * lyxlib.h (float_equal): Added function to compare floats almost equal
1863 (see function comment).
1865 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1867 Consistent use of Lsstream.h:
1868 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1870 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1872 * translator.h: (*it). -> it->
1874 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1876 * filetools.C (DeleteAllFilesInDir): send debug output to
1877 Debug::FILES instewad of Debug::ANY.
1879 * DebugStream.h: remove gcc 2.8.x hack.
1881 2001-06-26 The LyX Project <jug@sad.it>
1884 * lstrings.C (escape): move method to escape non ascii characters
1885 from insets label and ref to here.
1887 2001-06-25 The LyX Project <jug@sad.it>
1889 * filetools.C (IsLyXFilename):
1890 (IsSGMLFilename): do case insensitive name matching
1892 2001-06-24 The LyX Project <jug@sad.it>
1894 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1895 which only considers case of ascii characters
1897 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1900 2001-06-23 The LyX Project <jug@sad.it>
1902 * textutils.h (IsPrintable): take into account unprintable spaces
1904 (IsDigit): new function
1905 (IsLetterCharOrDigit): use IsDigit
1907 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1909 * filetools.C (findtexfile): strip final \r if necessary (for
1912 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1915 * StrPool.C: removed // -*- C++ -*- as first line.
1917 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1919 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1922 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1927 * LSubstring.C: bring C functions in global namespace if
1930 * lstrings.h (compare): use the std:: version of str[n]cmp only
1933 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1935 * syscontr.C: add std::
1937 * syscall.C: add std::
1939 * lstrings.h (compare): add std::
1941 * lstrings.C (prefixIs): add std::
1945 * LSubstring.C (LSubstring): add std::
1947 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1949 * lyxsum.C (sum): use istreambuf_iterator when available.
1951 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1953 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1956 * lyxstring.C (operator): make const operator[] behave as
1959 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1961 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1963 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1965 * filetools.C (MakeAbsPath): remove debugging statement
1967 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1969 * FileInfo.h: X_OK workaround for cygwin
1978 * filetools.h: Added os:: class.
1982 * tempname.C: OS/2 fixes
1984 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1986 * textutils.h: remvoe !NEW_INSETS cruft
1988 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1991 * atoi.C: add using directives when needed for C functions
1992 declared in std:: namespace.
1994 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1996 * lstrings.C : add two helper structs, local_lowercase and
1998 (lowercase): change to use std::transform
1999 (uppercase): change to use std::transform
2001 2001-04-25 Allan Rae <rae@lyx.org>
2003 * lyxstring.C : Assert got moved and Lars missed a few.
2005 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2007 * LAssert.h (Assert): put into namespace lyx
2009 * lyxfunctional.h: put into namespace lyx
2010 * translator.h: adjust
2012 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2014 * lyxalgo.h: put into namespace lyx, add firster and copy_if
2016 * FileInfo.h: inherit privately from noncopyable
2019 2001-04-16 Allan Rae <rae@lyx.org>
2021 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
2022 as an unrecognised preprocessor directive. So ensure they're wrapped.
2024 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2026 * several files: remove CXX_WORKING_NAMESPACES
2028 * FileInfo.h: noncopyable is in namespace boost
2031 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
2033 * syscontr.h: fix header include
2035 2001-02-28 Baruch Even <baruch@ev-en.org>
2037 * filetools.C: Removed dependency on syscall.h
2040 * syscall.C: Minor cleanings before I start to touch this code.
2042 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2044 * filetools.C (CreateTmpDir): change umask to 0700.
2046 2001-02-27 José Matos <jamatos@fep.up.pt>
2048 * filetools.h (BasePath):
2049 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
2051 * filetools.C (IsLyXFilename):
2052 * filetools.C (IsSGMLFilename): test if extension is suffix and not
2055 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2059 * atoi.C: remove cruft
2061 2001-02-06 albert chin <china@thewrittenword.com>
2064 * fmt.C: use HAVE_DECL_SNPRINTF
2066 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2068 * lyxstring.C: Fix some assertions.
2070 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2072 * lstrings.C (strip): Add a fix for compilers with broken
2073 string::find_last_not_of.
2075 * filetools.C (AddPath): Simplify by using strip and frontStrip.
2077 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2079 * lyxstring.C (rfind): Fix broken functions.
2080 (find): Few optimizations.