1 2005-07-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * filetools.[Ch] (latex_path): convert boolean exclude_extension
4 argument to an enum and add argument to replace dots
6 2005-07-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * filetools.[Ch] (latex_path): add exclude_extension argument
10 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12 * lyxtime.[Ch]: two new functions formatted_time, which return
13 the strftime-formatted localized date/time.
15 2005-06-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
17 * FileName.C (mangledFilename): replace spaces with _
19 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
21 * filetools.C (latex_path): protect " with \string since it may be
24 2005-05-07 Rob Bearman <robbear@hyperfine.com>
26 * fs_extras.C (copy_file): noclobber and CopyFile's bFailIfExists
27 are the same as each other.
29 2005-05-03 Angus Leeming <leeming@lyx.org>
31 * filetools.C (RunCommand): protect calls to popen() and pclose()
32 with preprocessor guards.
34 * tempname.C: protect calls to close(), getpid() and open()
35 with preprocessor guards.
37 2005-05-02 Angus Leeming <leeming@lyx.org>
39 * socktools.C: make compilation dependent on HAVE_FCNTL rather
42 2005-05-02 Angus Leeming <leeming@lyx.org>
44 * socktool.C (listen, accept): provide stub versions for Windows.
46 * os_win32.h: removed.
48 2005-04-29 Angus Leeming <leeming@lyx.org>
50 * os_win32.C (init): Merge changes from Asger's win32_kludge.diff
51 file, primarily checking that GetConsoleTitle succeeded.
53 2005-04-25 Angus Leeming <leeming@lyx.org>
67 include <config.h> in .C files, not .h ones.
69 protect headers inside preprocessor guards.
71 2005-04-25 Angus Leeming <leeming@lyx.org>
73 * globbing.[Ch]: removed to frontends/xforms.
75 * Makefile.am: associated change.
77 2005-04-24 Angus Leeming <leeming@lyx.org>
79 * userinfo.C (user_name): add Windows-specific code.
81 2005-04-22 Angus Leeming <leeming@lyx.org>
83 * package.C.in (get_binary_path): on prompting from Rob Bearman,
84 ensure that the name of the executable, as input at the command
85 line has a ".exe" suffix so that various file interogations
88 2005-04-22 Angus Leeming <leeming@lyx.org>
91 * forkedcall.h: remove pid_t definition to config.h.
93 2005-04-21 Angus Leeming <leeming@lyx.org>
96 * forkedcall.h: define pid_t for MSVC.
98 * forkedcall.C (kill): work around evil MSVC max macro.
100 2005-04-21 Angus Leeming <leeming@lyx.org>
102 * forkedcontr.C: add #include <csignal>.
104 * filetools.C (RunCommand): remove the signal blocking stuff
105 now that we no longer use a signal handler on unix.
107 2005-04-19 Angus Leeming <leeming@lyx.org>
109 * filetools.C: remove unnecessary #include of forkedcontr.h.
111 * forkedcall.C: protect system-specific headers with preprocessor
113 (running): don't call waitpid() on Windows.
114 (waitForChild): add Windows-specific code to wait for a child process
116 (generateChild): add Windows-specific code to spawn the child in the
119 * forkedcontr.[Ch]:Revert back to the LyX 1.3.x version of the code
120 to spawn a child process asynchronously. Do this because 'issues'
121 remain with the SIGCHLD handling code on *nix and because there's no
122 easy way to implement such a monitor on Windows. Explicit polling,
123 as in Lyx 1.3.x, is safe, robust and works on both platforms.
125 2005-04-19 Angus Leeming <leeming@lyx.org>
127 * package.C.in (get_temp_dir): call GetLongPathName on Windows.
129 2005-04-19 Angus Leeming <leeming@lyx.org>
131 * pch.h: protect unix-specific headers from breaking compilation
134 2005-04-17 Angus Leeming <leeming@lyx.org>
136 * filetools.C (MakeDisplayPath): invoke os::external_path before
139 * os_win32.C (external_path): convert '/' chars to '\'.
141 * filetools.[Ch] (latex_path): new function which modifies
142 an input path containing space and '~' characters into something that
143 LaTeX can understand.
145 2005-04-17 Angus Leeming <leeming@lyx.org>
147 * forkedcall.C (generateChild): do not strip quotes from args on
149 Wrap lyxerr output inside an if (lyxerr.debugging(Debug::FILES))
152 2005-03-23 Angus Leeming <leeming@lyx.org>
154 * Makefile.am (build_package): Solaris sed does not like
155 spaces bewteen the ;-delimited commands.
157 2005-02-25 Lars Gullik Bjonnes <larsbj@gullik.net>
159 * Makefile.am (CLEANFILES): clean generated files
161 2005-02-17 Angus Leeming <leeming@lyx.org>
163 * copy.C (copy): Pass the ios::in flag to the ifstream constructor.
164 Enables copying to work when the code is compiled with the gcc 2.95
167 2005-02-15 Angus Leeming <leeming@lyx.org>
169 * environment.C: add missing #include.
170 (setEnvPath): compare iterators rather than use tellp().
172 2005-02-15 Angus Leeming <leeming@lyx.org>
174 * environment.[Ch]: new files. Move the environment setter/getter
175 functions here from filetools.[Ch]. In the process:
176 rename GetEnv as getEnv.
177 rename putEnv as setEnv. Change the signature of the function
178 to take a pair of arguments (a name and a value) rather than the
179 existing coded "name=value" single argument. Merge the putenv.C
182 * lyxlib.h (putenv): remove declaration.
185 * Makefile.am: add environment.[Ch]. Remove putenv.C.
187 * filetools.[Ch]: remove environment setter/getter functions.
189 * os_os2.C (init): s/GetEnvPath/getEnvPath/. Left over from an
192 * package.C.in (get_home_dir, extract_env_var_dir):
193 * userinfo.C (user_email): s/GetEnv/getEnv/.
195 2005-02-03 Angus Leeming <leeming@lyx.org>
197 * forkedcall.C (running): call the lyx::kill wrapper function
198 rather than the system kill.
200 2005-02-02 Angus Leeming <leeming@lyx.org>
202 * forkedcall.C (generateChild): overhaul the code to split a string
203 into an argv array of words. Now respects simple quoting reasonably
206 2005-02-01 Angus Leeming <leeming@lyx.org>
208 * fs_extras.C: #include <windows.h>
210 2005-01-31 Angus Leeming <leeming@lyx.org>
212 * package.[Ch] (init_package, c-tor): define and use an enum to
213 specify explicitly the location of the top level build directory
214 when the executable is run in-place.
216 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
218 * fs_extras.C: add changes from Asger's Win32 patch.
220 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
223 * getcwd.C (l_getcwd):
225 * mkdir.C (mkdir): add Win32 specializations.
227 * os_win32.h: remove cruft.
229 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
231 * Makefile.am (libsupport_la_SOURCES): remove rmdir.C
233 * rmdir.C: delete file
235 * lyxlib.h: remove rmdir decl
237 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
239 * .cvsignore: add package.C
241 * FileInfo.C, FileInfo.h: delete files
243 * fs_extras.C, fs_extras.h: new files
245 * FileMonitor.C, filetools.C: rewrite to use boost.filesystem
247 * Makefile.am (libsupport_la_SOURCES: delete FileInfo.[Ch], add
250 * filetools.C: make destroydir return true if something was
251 deleted. adjust callers.
252 (IsFileWritable): replace with is_readonly in fs_extras, adjust
255 * package.C.in: rewrite to use boost.filesystem
257 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
259 * tests: add some code for automatic regression testing, can be
260 improved or removed as we see fit
262 * lyxlib.h (atoi): delete func
264 * lstrings.[Ch] (strToInt): delete func
265 (strToUnsignedInt): delete func
266 (strToDbl): delete func
268 * Makefile.am: add subdir tests, delete atoi.C
270 * atoi.C: delete file
272 * convert.C: add specializations for converting to int, unsigned
273 int, double from string, and for converting to int and double from
276 * convert.h: remove commented code
278 2005-01-22 Angus Leeming <leeming@lyx.org>
280 * path.C (Path): revert the patch since the if statement has side
281 effects that are needed for the code to work :-(
283 2005-01-21 Angus Leeming <leeming@lyx.org>
285 * os_cygwin.C, os_win32.C: strip the Cygwin-specific stuff out of
286 os_win32.C and give it its own file.
288 * os.C: #include "os_cygwin.C" if building on Cygwin.
290 2005-01-20 Angus Leeming <leeming@lyx.org>
292 * lyxlib.h (float_equal): promote parameters to double.
294 * path.C (Path): silence MSVC warning about block of code that
297 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
299 * FileInfo.h, chdir.C, forkedcall.C, forkedcontr.C, getcwd.C,
300 mkdir.C, os_defines.h, pch.h, rmdir.C, unlink.C:
301 use the HAVE_UNISTD_H preprocessor guard.
303 2005-01-20 Angus Leeming <leeming@lyx.org>
305 * filetools.[Ch] (LibScriptSearch): modify the code that replaces
306 the $$s placeholder with a path, so that it now inserts the path
307 of the lyx support directory, not the scripts subdirectory.
309 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
311 * lyxsum.C, socktools.C, tempname.C, userinfo.C: use the
312 HAVE_UNISTD_H preprocessor guard.
314 2005-01-17 Angus Leeming <leeming@lyx.org>
316 * os_win32.C (init): Add Ruurd's original code to close the
317 console window that Windows opens for us, together with a note
318 explaining the alternative approach.
320 2005-01-17 Angus Leeming <leeming@lyx.org>
322 * package.C.in (get_binary_path): convert relative paths stored
323 in the PATH environment variable to absolute ones.
325 2005-01-16 Angus Leeming <leeming@lyx.org>
327 * filetools.[Ch] (prependEnvPath): prepend a list of paths to
328 that returned by the environment variable. Identical paths occurring
329 later in the list are removed.
331 2005-01-16 Angus Leeming <leeming@lyx.org>
333 * filetools.C (createLyXTmpDir): add some missing brackets to the
334 if-block. OS/2 users will be happier.
336 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
338 * os_win32.C (external_path): Check the new cygwin_path_fix_ bool
339 before translating external paths to Win32 paths.
341 2005-01-13 Angus Leeming <leeming@lyx.org>
343 * os.h, os_os2.C, os_unix.C, os_win32.C (cygwin_path_fix): new
344 function flagging whether LyX should output native Win32 paths
345 or cygwin paths. Obviously operative only under Cygwin.
347 2005-01-13 Angus Leeming <leeming@lyx.org>
349 * package.C.in: use "%n$s" rather than "%n%" for n=1,2,3... when
350 calling bformat so that the substitutions work for the non
351 boost::format users too.
353 2005-01-12 Angus Leeming <leeming@lyx.org>
355 * filetools.[Ch] (setEnvPath): new function to create a PATH-style
356 string from a vector of paths and to use it to set an environment
358 (putEnv): resurrect this from the grave.
360 * os.h, os_os2.C, os_unix.C, os_win32.C (path_separator): new
361 function returning the character used to separate paths returned
362 by the PATH environment variable.
364 * os_win32.C: add #include "lstring.h" back in.
366 * package.C.in (package): comment out the ASSERT for now.
367 (check_env_var_dir): write one of the strings to be translated
368 (any one, doesn't matter) on a single line so that the
369 gettext search mechanism in po/Makefile.in.in will register
370 package.C.in as a file containing strings that need translation.
372 2005-01-10 Angus Leeming <leeming@lyx.org>
377 * os_win32.C (binpath, binname, homepath, setTmpDir, getTmpDir, warn):
378 removed. Remove also all code to set the associated data variables.
380 * package.{C.in,h}: new files to ascertain the paths to the
381 various directories used by LyX. Does nothing with these paths,
382 just determines the strings themselves.
384 * path_defines.{C.in,h}: removed.
386 * Makefile.am: remove path_defines.{C.in,h}. Add package.{C.in,h}.
388 * filetools.[Ch] (GetEnvPath): remove.
389 (getEnvPath): replacement. Returns a vector<string> of paths.
392 * tempname.C: use support/package.h to provide the paths to the
393 various directories used by LyX.
395 2005-01-07 Angus Leeming <leeming@lyx.org>
397 * convert.C (string>): add specialization for long.
399 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
401 * convert.h: remove the specializations, don't included unneeded
403 * convert.C: add specialization for unsigned long
405 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
407 * tostr.[Ch]: renamed to convert[ch]
409 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
411 * lstrings.[Ch]: change bformat to be a template
413 * tostr.[Ch]: tostr -> convert, convert is a template
416 * filetools.C (createBufferTmpDir): tostr -> convert
418 2005-01-05 Angus Leeming <leeming@lyx.org>
420 * os_win32.C (external_path, internal_path): s/MAX_PATH/PATH_MAX/.
422 2005-01-04 Angus Leeming <leeming@lyx.org>
424 * os_win32.C (current_root): use _getdrive on Win32.
426 * FileInfo.C (FileInfo, newFile): strip the trailing '/' from
427 the stored file name as it breaks Window's version of stat().
428 (isLink): protect the code with #ifdef S_ISLNK.
429 (dostat): protect the code with #ifdef HAVE_LSTAT.
430 (typeIndicator): remove code testing the file's executable status.
432 * filetools.C (LyXReadLink): protect the code with
433 #ifdef HAVE_READLINK.
435 2005-01-01 Kayvan Sylvan <kayvan@sylvan.com>
437 * os_win32.C (internal_path): remove the call to MakeLatexName as
438 it is (1) unnecessary and (2) leads to an infinite loop as
439 MakeLatexName calls AddName which calls internal_path...
441 2004-12-19 Angus Leeming <leeming@lyx.org>
443 * path_defines.C.in (setLyxPaths): on a Windows build,
444 remove the ".exe" extension from the name of the LyX binary when
445 trying to ascertain the name of the LyX system directory.
446 (Usually, <path to binary>/../share/<name of binary>/).
448 * os.h, os_os2.C, os_unix.C, os_win32.C (slashify_path): remove.
450 * os_win32.C (init): ensure that the name of the lyx executable is
451 stored internally with a unix-style path.
453 * os_win32.C (internal_path, external_path): differentiate between
454 cygwin and windows builds.
456 * filetools.C (FileOpenSearch, GetEnvPath, createDirectory,
457 MakeAbsPath, AddName, MakeRelPath, ChangeExtension):
458 * filename.C (mangledFilename):
459 s/slashify_path/internal_path/.
461 2004-12-16 Angus Leeming <leeming@lyx.org>
463 * filename.C (mangledFilename): Given a Windows-style path, don't
464 forget to mangle the drive letter too when generating a unique
467 2004-12-16 Angus Leeming <leeming@lyx.org>
469 * mkdir.C: move the HAVE_MKDIR conditional code out of config.h
472 2004-12-15 Angus Leeming <leeming@lyx.org>
474 * FileInfo.[Ch] (getNumberOfLinks): removed.
476 2004-12-15 Angus Leeming <leeming@lyx.org>
478 * tempname.C: #include fcntl.h and sys/stat.h if creating a temp
479 file using mktemp and open.
481 2004-12-14 Angus Leeming <leeming@lyx.org>
483 * os.h, os_os2.C, os_unix.C, os_win32.C:
484 (binpath, binname, getTmpDir): return a const reference rather than
486 (homepath, nulldev): new functions returning the name of "HOME" and
487 the null device, respectively.
489 * filetools.C: (ExpandPath, MakeDisplayPath):
490 * path_defines.C.in (setLyxPaths): use os::homepath(), not
493 2004-12-14 Angus Leeming <leeming@lyx.org>
495 * os.h, os_{os2,unix,win32}.C (init): change interface to no longer
496 pass the addresses of the parameters received by main.
498 2004-12-14 Angus Leeming <leeming@lyx.org>
500 * copy.C (copy): open the ifstream with ios::binary.
502 2004-12-14 Angus Leeming <leeming@lyx.org>
504 * os.C: Add _WIN32 to the #define.
506 * systemcall.C (startscript): remove trailing '/n' from request to
507 start the command in a minimized window under DOS.
509 2004-12-14 Angus Leeming <leeming@lyx.org>
511 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
512 to overcome bug in the MinGW port of g++ 3.4.2.
514 2004-11-26 Angus Leeming <leeming@lyx.org>
516 * globbing.[Ch] (glob): change API to:
517 1. Append matches to the input container.
518 2. Require a working_dir parameter. The function invokes chdir
519 internally (through use of Path).
521 2004-11-26 Angus Leeming <leeming@lyx.org>
523 * filefilterlist.C (convert_brace_glob): moved here from
526 * filefilterlist.[Ch]: clean-up FileFilterList API.
528 * globbing.[Ch] (convert_brace_glob): moved to filefilterlist.C.
529 (expand_globs): moved to xforms/FormFiledialog.C.
531 2004-11-25 Angus Leeming <leeming@lyx.org>
533 * filefilterlist.[Ch]:
534 * globbing.[Ch]: split FileFilterList into its own .[Ch] files.
536 * Makefile.am: add filefilterlist.[Ch].
538 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
540 * textutils.h (isKommaChar): remove
542 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
544 * forkedcontr.C (find_pid): simplify and also make pass concept
546 (handleCompletedProcesses): make sure that we do not slice the
547 object and satisfy concept checks.
549 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
551 * filetools.[Ch] (getFormatFromContents): don't guess format from
552 extension, return string() instead of "user" if the format could
555 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
557 * Make it clearer where include files are coming from.
559 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
561 * translator.h: use bind, equal_to instead of equal_1st_in_pair
562 and equal_2nd_in_pair
564 * Makefile.am (libsupport_la_SOURCES): remove lyxfunctional.h
565 * lyxfunctional.h: delete file
567 * lyxfunctional.h: delete compare_memfun and helper classes
569 * forkedcontr.C (find_pid): use bind, equal_to instead of
572 * lyxfunctional.h: delete back_inserter_fun functions and helper
575 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * snprintf.[ch]: removed
579 * Makefile.am (libsupport_la_SOURCES): remove snprintf
581 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
583 * filetools.[Ch] (getExtFromContents): rename to
584 getFormatFromContents and return always a format
586 2004-10-25 Angus Leeming <leeming@lyx.org>
588 * forkedcall.C (generateChild): strip quotes from each argument
591 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
593 * pch.h: use proper signal include
595 * forkedcallqueue.C: remove unused include
597 * FileMonitor.h: Use the preferred calling for Boost.Signal
598 * forkedcall.h: ditto
600 * FileMonitor.C: use the new signal typedef
602 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
604 * forkedcall.h: remove include of <boost/function/funtion0.hpp>
607 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
609 * textutils.h (IsLetterCharOrDigit): remove
611 2004-09-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
613 * filetools.C (LibScriptSearch): quote the path of the script, in
614 case it contains spaces
616 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
618 * tostr.C: reimplement using lexical_cast
620 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
622 * pch.h: do not use include boost/format.hpp, multiple symbols
623 will result (gcc bug)
625 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
629 * Makefile.am: support pch
631 2004-08-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
633 * globbing.C (FileFilterList): make sure that "All files (*)" is
634 always part of the filters list
636 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
638 * tostr.C, lstrings.C, globbing.C, filetools.C: change
639 "support/std_sstream.h" to <sstream>
641 * Makefile.am (libsupport_la_SOURCES): delete std_sstream.h and
643 (std_sstream.h): delete file
644 (sstream.h): delete file
646 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
648 * filetools.C (i18nLibFileSearch): honor case where LANGUAGE
649 specifies a list of locales (thanks to Pablo Saraxtaga for the
652 2004-05-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
654 * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
655 its po files when moved around; set default user directory to
656 ~/Library/Preferences/LyX/ for LyX/Mac.
657 (lyx_localedir): return the value that may have been computed in
660 2004-05-27 Kayvan Sylvan <kayvan@sylvan.com>
662 * Makefile.am (libsupport_la_SOURCES): remove reference to
665 2004-05-20 Angus Leeming <leeming@lyx.org>
667 * debugstream.h: wrap the definition of debug_trait::DEBUG with
668 preprocessor guards that protect against a name clash with a
669 macro DEBUG. Such a macro is defined by the Qt library...
671 2004-04-27 Angus Leeming <leeming@lyx.org>
673 * path_defines.{h,C.in}: expose top_srcdir, renamed from
676 2004-04-05 Angus Leeming <leeming@lyx.org>
679 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
681 2004-04-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
683 * filetools.C (RunCommand): block SIGCHLD during popen/pclose
684 (actually Angus' fix).
686 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
688 * filetools.C (DeleteAllFilesInDir): delete directories with
689 rmdir(), unlink() does not work
691 2004-03-27 Angus Leeming <leeming@lyx.org>
693 * forkedcontr.C (child_handler): squash warning about a
694 signed/unsigned comparison.
695 (handleCompletedProcesses): only output a warning about an error
696 waiting for the child if it is indeed an error ;-)
698 2004-03-26 Angus Leeming <leeming@lyx.org>
700 * forkedcall.[Ch] (run): new function, replacing runBlocking,
703 * forkedcall.C (generateChild): ensure that the code that splits
704 the command up into an array of words won't leak in the event of an
707 * forkedcontr.C: make it a little more robust.
709 2004-03-24 Angus Leeming <leeming@lyx.org>
711 * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
712 of child proccesses and ascertain whether any have died. Instead use
713 the SIGCHLD signal emitted by the system to reap these zombies in the
714 maximally efficient manner. The subsequent emitting of the signal
715 associated with each child process *is* performed within the main
716 lyx event loop, thus ensuring that the code remains safe.
718 A detailed description of the design is to be found in forkedcontr.C.
720 2004-03-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
722 * filetools.C (i18nLibFileSearch): simplify the logic a bit
724 2004-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
726 * filetools.C (i18nLibFileSearch): fix the logic to match closely
729 2004-03-23 Angus Leeming <leeming@lyx.org>
731 * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
732 clone to return a boost::shred_ptr rather than a std::auto_ptr.
734 * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
737 2004-03-22 Angus Leeming <leeming@lyx.org>
739 * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
740 cruft left over from the removal of the Forks dialog.
742 2004-03-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
744 * filename.[Ch] (mangledFilename): make sure that mangled names are
747 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
749 * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
750 remove pathfor argument
751 * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
752 harder to create a usable temp dir
753 * filetools.C (CreateTmpDir): rename to createTmpDir
754 filetools.[Ch] (unzipFile): add argument for output filename
755 * filename.h: fix doxygen warning
757 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
759 * lstrings.h (contains_functor): delete
760 (contains): change into template, simplify
762 * lstrings.C (contains): remove both functions
764 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
766 * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
769 * lstrings.h (contains_functor): inherit from
770 std::binary_function, remove typedefs.
772 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
774 * globbing.C: add using statement for std::distance, remove std::
777 2004-01-08 Angus Leeming <leeming@lyx.org>
779 * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
780 list of available file filters and generate the corresponding vector.
782 2003-12-14 Ronald Florence <ron@18james.com>
784 * tostr.[hC]: added tostr(long unsigned int i).
786 * path_defines.C.in: determine system directory and set PATH for
787 relocatable LyX/Mac bundle.
789 2004-01-06 Angus Leeming <leeming@lyx.org>
791 * globbing.C (glob): compilation fix for cygwin.
793 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
795 * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
797 * BoostFormat.h: delete file
798 * boost-inst.C: delete fil
800 * lstrings.C: include boost/format.hpp
802 2004-01-05 Angus Leeming <leeming@lyx.org>
804 * globbing.[Ch]: new files containing some globbing utilities.
806 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
808 * putenv.C: allocate the string before putting it into the
813 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
815 * tempname.C (tempName): use scoped_array for exception safety
817 * os_os2.C (init): use scoped_array for exception safety
819 * getcwd.C (getcwd): use scoped_array for exception safety
821 * forkedcontr.C (addCall): adjust
823 * forkedcall.h: make clone return a auto_ptr
825 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * debugstream.h: add a default constructor that does not setup a
830 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
832 * socktools.C: honor CXX_GLOBAL_CSTD
834 2003-10-16 André Pönitz <poenitz@gmx.net>
836 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
837 using static variables.
839 2003-10-13 João Luis Meloni Assirati <assirati@fma.if.usp.br>
841 * socktools.[Ch]: New files. Wrapper around socket system calls.
843 2003-10-13 Kayvan A. Sylvan <kayvan@sylvan.com>
845 * socktools.C (SUN_LEN): add this MACRO definition for platforms
846 that do not define it themselves.
848 2003-10-08 Angus Leeming <leeming@lyx.org>
850 * copied_ptr.h: get rid of the swap member function.
852 2003-10-08 Angus Leeming <leeming@lyx.org>
854 Fix doxygen warnings.
856 * debugstream.h: \file debugStream.h -> \file debugstream.h
858 * os.h: move comment so that doxygen is not confused.
860 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
862 * Makefile.am: fix typo.
864 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
866 * std_string.h: delete file
868 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
870 * lstrings.C: Small fixes to build using STLport
872 2003-09-29 Angus Leeming <leeming@lyx.org>
874 * filetools.C (ReplaceEnvironmentPath): make it work for both
875 ${HOME}/foo and $HOME/foo.
877 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
879 * debugstream.h: add file, updated version of the DebugStream
881 * DebugStream.C,DebugStream.h: delete files
883 2003-09-25 Angus Leeming <leeming@lyx.org>
885 * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
886 * lstrings.[Ch]: (regexMatch): removed.
888 2003-09-25 Angus Leeming <leeming@lyx.org>
890 * translator.h (add): new member function.
892 2003-09-16 Angus Leeming <leeming@lyx.org>
894 * textutils.h: remove #include "paragraph.h". Remove functions
895 IsInsetChar and IsWordChar.
897 2003-09-15 Angus Leeming <leeming@lyx.org>
899 * copied_ptr.h: re-jig to something that resembles Herb Sutter's
900 HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
901 his book as ValuePtr.
902 Use a memory_traits template parameter to create/destroy memory in a
905 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
909 * filetools.C: Remove usage of STRCONV
911 * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
914 * std_string.h: modify to always work with std::string, but if
915 with-included-string then use it through namespace lyx. Remove
918 * lyxstring.[Ch]: remove files
920 2003-09-15 Angus Leeming <leeming@lyx.org>
922 * translator.h: add #include <boost/assert.hpp>, so that the
923 template is self-contained.
925 2003-09-11 Angus Leeming <leeming@lyx.org>
928 * copied_ptr.h: added to the repository. Maybe temporarily.
930 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
932 * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
934 * several files: change Assert to BOOST_ASSERT
937 * LAssert.h: remove files
939 2003-09-08 Angus Leeming <leeming@lyx.org>
942 * filetools.C: tell the world where to find author contact details.
944 2003-09-08 Angus Leeming <leeming@lyx.org>
950 * lyxsum.C: remove redundant using directives.
952 2003-09-05 Angus Leeming <leeming@lyx.org>
954 * lstrings.C: small bformat fix
956 2003-09-05 Angus Leeming <leeming@lyx.org>
958 * std_istream.h: new file Just renaming of LIstream.h
959 * std_ostream.h: new file Just renaming of LIstream.h
960 * std_sstream.h: new file Just renaming of Lsstream.h
961 * std_string.h: new file Just renaming of LString.h
963 2003-09-05 Angus Leeming <leeming@lyx.org>
967 ensure that the header file can be compiled stand-alone.
969 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
971 * lstrings.[Ch] (bformat): add a variant taking two ints.
973 2003-09-04 Angus Leeming <leeming@lyx.org>
976 * filename.C: move #include "os.h" out of the header file.
978 2003-09-04 Angus Leeming <leeming@lyx.org>
980 * path.C (ctor, dtor): move out of line.
982 2003-09-03 Angus Leeming <leeming@lyx.org>
984 * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
985 (mangledFilename): new function, returning a mangled version of the
986 absolute file name, suitable for use in the temp dir when, for example,
987 converting an image file to another format.
988 (isZipped, unzippedFilename): wrappers to global functions.
990 * filetools.[Ch] (copyFileToDir): removed.
991 (compare_timestamps): new function.
993 2003-09-03 Angus Leeming <leeming@lyx.org>
995 * translator.h: Assert is in namespace lyx::support...
997 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
999 * Makefile.am: do not install path_defines.C in includes
1000 (COMPRESSION): mention gzstream.h here
1002 2003-08-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1004 * path_defines.C.in (setLyxPaths): re-introduce the code to check
1005 whether lyx is run in place
1006 (build_dir): renamed from build_lyxdir
1007 (build_lyxdir): give this better semantics compatible with what
1008 LibFileSearch expects.
1010 2003-07-29 Angus Leeming <leeming@lyx.org>
1012 * filename.[Ch] (relFilename, outputFilename): the 'path' arg
1013 defaults to string() because MakeRelPath can accept that.
1015 2003-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1017 * Makefile.am: conditionalize USE_COMPRESSION.
1019 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1021 * filetools.C (getExtFromContents): correct magic for gzip and
1024 * path_defines.[Ch]: move lyx_localedir out of anon namespace
1026 * gzstream.h: new fileq
1028 * gzstream.C: new file
1030 2003-07-27 Angus Leeming <leeming@lyx.org>
1032 * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
1033 user_lyxdir): are now functions, not global vars.
1035 * Makefile.am: set build_lyxdir at make time.
1037 2003-07-27 Angus Leeming <leeming@lyx.org>
1039 * path_defines.{h,C.in}: new files. Store/set the various lyx
1040 paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
1043 * Makefile.am: add some magic to enable the user to set the path to
1044 the system-level lyx support files, the top of the lyx build tree
1045 and the system-level lyx locale directory at _make_ time rather
1046 than configure time.
1048 * .cvsignore: add path_defines.C.
1050 2003-07-26 Angus Leeming <leeming@lyx.org>
1052 * os.h: remove irrelevant discussion of system_tempdir.
1054 2003-07-21 Angus Leeming <leeming@lyx.org>
1056 * filename.[Ch]: new files implementing class FileName.
1057 * Makefile.am: add filename.[Ch].
1059 2003-07-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1061 * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
1062 not allow it (at least not in this form.)
1064 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1066 * os_win32.C: put namespace os in lyx::support.
1068 * lstrings.C (bformat): call Assert from correct namespace.
1070 * introduce namespace lyx::support
1072 2003-06-30 André Pönitz <poenitz@gmx.net>
1075 * lstrings.C: re-enable --with-included-string
1077 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1079 * filetools.h: fix some \param issue
1081 * boost-inst.C: fix \file
1083 * LAssert.h: fix \file
1085 2003-06-20 Angus Leeming <leeming@lyx.org>
1087 * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
1089 2003-06-18 Angus Leeming <leeming@lyx.org>
1091 * many files: add the standard blurb, "This file is part of LyX" etc
1093 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1095 * limited_stack.h: make it have a const_iterator, add begin, and
1098 2003-06-10 Angus Leeming <leeming@lyx.org>
1100 * filetools.C (copyFileToDir): ensure that temp files have unique names.
1102 2003-06-04 André Pönitz <poenitz@gmx.net>
1104 * limited_stack.h (top): return reference instead of value
1106 2003-06-02 Angus Leeming <leeming@lyx.org>
1108 * filetools.[Ch] (copyFileToDir): new helper function.
1110 * os.h: remove trailing semi-colon from end of namespace os block.
1112 2003-06-01 Angus Leeming <leeming@lyx.org>
1114 * filetools.h (LibScriptSearch): give the function a meaningful
1115 description of what it now does.
1117 2003-05-30 Angus Leeming <leeming@lyx.org>
1119 * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
1120 this with the path to the script. If the script is not found, the "$$s/"
1123 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1125 * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
1128 2003-05-19 André Pönitz <poenitz@gmx.net>
1130 * lstrings.C: add missing implementation of three-arg bformat
1132 * lstrings.C: change rest of char * fmt -> string const & fmt
1135 2003-05-15 André Pönitz <poenitz@gmx.net>
1137 * lstrings.[Ch]: use string const & instead of char const * for format
1139 2003-05-12 André Pönitz <poenitz@gmx.net>
1141 * tostr.[Ch]: add long int overload
1143 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1145 * lstrings.[Ch]: compile fix
1147 2003-05-12 André Pönitz <poenitz@gmx.net>
1149 * lstrings.[Ch]: bformat() as wrapper around boost::format
1151 * lyxstring.h: enable templatized constructor
1153 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * limited_stack.h: Change some comments, simplify a couple of
1158 2003-02-21 André Pönitz <poenitz@gmx.net>
1160 * limited_stack.h: change underlying container to deque to
1161 make this re-usable in mathed
1163 2003-04-08 John Levon <levon@movementarian.org>
1165 * filetools.C: fix MakeDisplayPath() to not
1168 2003-03-30 John Levon <levon@movementarian.org>
1172 * boost-inst.C: moved from src/
1174 2003-03-29 John Levon <levon@movementarian.org>
1177 * filetools.C: never call Alert directly from here
1179 2003-03-12 John Levon <levon@movementarian.org>
1181 * textutils.h: remove META_NEWLINE
1183 2003-02-27 Ling Li <ling@caltech.edu>
1185 * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
1188 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1190 * forkedcontr.C (timer): remove bogus continue
1192 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1194 * forkedcallqueue.[Ch]: added
1196 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1198 * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
1199 Emiting the signal can result in an arbitrary change to the list.
1201 2003-02-25 Angus Leeming <leeming@lyx.org>
1203 * forkedcontr.C (timer): Use a while loop rather than for; makes it
1204 easier to erase an element.
1206 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1208 * forkedcontr.C (timer): don't start a running timer.
1210 2003-02-21 André Pönitz <poenitz@gmx.net>
1212 * filetools.C (PutEnv): removed (unused)
1214 2003-02-17 John Levon <levon@movementarian.org>
1217 * forkedcall.C: add running()
1219 2003-02-08 John Levon <levon@movementarian.org>
1223 * lyxtime.C: add typedef for time_t, add current_time
1229 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1231 * filetools.C (getExtFromContents): remove detection of epsi
1233 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1235 * several files: ws changes
1237 2002-11-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1239 * filetools.C (DirList): remove all ugly hacks and do it nice
1241 2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1243 * lyxsum.C: an ugly hack to compile with non-gnu linkers
1245 2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
1247 * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
1248 a solution that he likes and which actually works.
1250 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1252 * lstrings.h (tostr): STRCONV
1254 * lstrings.C (regexMatch): STRCONV
1255 (getVectorFromString): STRCONV, manual copy into vector
1257 * filetools.C (GetFileContents): STRCONV
1259 * os.C: include config.h
1261 * lstrings.C (getVectorFromString): rewrite to use
1264 2002-10-31 Angus Leeming <leeming@lyx.org>
1266 * forkedcall.C (generateChild): clean it up further.
1268 2002-10-25 Angus Leeming <leeming@lyx.org>
1270 * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
1271 and a minimal ForkedCall daughter class.
1273 * forkedcontr.[Ch]: minimal changes reflecting the use of a
1274 ForkedProcess base class responsible for launching all child proceses.
1276 2002-09-25 Angus Leeming <leeming@lyx.org>
1279 * LOstream.h: doxygen fixes.
1281 2002-09-24 Angus Leeming <leeming@lyx.org>
1283 * most files: clean-up the license info.
1285 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1287 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
1289 2002-09-16 Kayvan A. Sylvan <kayvan@sylvan.com>
1291 * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
1292 since at least for Cygwin, the "rb" read_mode acceptable for
1293 fopen() is illegal for popen(), whose mode argument *must* be "r"
1296 * filetools.C (RunCommand): Uses os::popen_read_mode() instead
1299 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1301 * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
1304 * smart_ptr.h: remove file
1307 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1309 * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
1310 class_fun and void_class_fun
1312 2002-08-20 John Levon <levon@movementarian.org>
1317 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1319 * textutils.h: formatting.
1321 2002-08-08 John Levon <levon@movementarian.org>
1323 * limited_stack.h: default to 100 not 10
1325 2002-08-01 John Levon <levon@movementarian.org>
1327 * forkedcall.C: more details on error
1329 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1331 * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
1332 also add a trim function that is the equiv of
1333 strip(frontStrip(...)), also reimplement the functions
1334 (improvements still possible.)
1336 * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
1337 * forkedcall.C (generateChild): ditto
1341 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1343 * filetools.C (GetEnvPath): modify because of strip changes
1344 (createDirectory): ditto
1345 (findtexfile): ditto
1346 * lstrings.[Ch] (isStrInt): ditto
1347 (isStrUnsignedInt): ditto
1349 (strToUnsignedInt): ditto
1351 (contains): removed unneeded version of contains
1352 (containsOnly): removed uneeded versions of containsOnly
1353 (strip, frontStrip): removed unneded versions, changed argument types.
1355 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1357 * filetools.C (RunCommand): Made public
1359 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1361 * limited_stack.h: fix comment, remove un-needed header
1363 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1365 * lstrings.h: correct comments for token and tokenPos
1367 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1369 * lyxstring.C (operator>>): replace code which works only with
1370 _some_ versions of GNU STL with generic one
1372 2002-07-18 Angus Leeming <leeming@lyx.org>
1374 * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
1375 signal should it do so.
1377 * Makefile.am: add FileMonitor.[Ch].
1379 2002-07-18 André Pönitz <poenitz@gmx.net>
1381 * filetools.C (LibScriptSearch): bug fix
1383 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1385 * filetools.C (LyXReadLink): add bool 'resolve' to return link
1386 contents as an absolute path
1388 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1390 * filetools.C (IsLyXFilename):
1391 (IsSGMLFilename): use ascii_lowercase instead of lowercase
1393 * lstrings.[Ch] (ascii_lowercase): new function
1395 2002-07-16 André Pönitz <poenitz@gmx.net>
1397 * FileInfo.Ch: remove unneeded code
1399 2002-06-20 Herbert Voss <voss@perce.de>
1401 * filetools.[C] (readExtFromContents): add support for
1402 (x)fig format images
1404 2002-06-26 André Pönitz <poenitz@gmx.net>
1406 * filetools.[Ch]: small whitespace, more compact 'return' statement
1408 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
1410 * lyxalgo.h: add eliminate_duplicates
1412 2002-06-17 Herbert Voss <voss@perce.de>
1414 * filetools.[C]: (readBB_from_PSFile) add a helperfunc
1415 (readBB_lyxerrMessage) to get better lyxerr messages
1416 (getExtFromContents) test epsi files in the right way
1418 * DestroxLyXTmpDir.C: changed to true, to delete the
1419 temporary unzipped files, too.
1421 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1423 * putenv.C (putenv): putenv should never be found in std::
1425 * kill.C (kill): kill should never be found in std::
1427 * filetools.C: pclose and popen should never be found in std::
1429 2002-06-07 Angus Leeming <leeming@lyx.org>
1431 Fixes needed to compile with Compaq cxx 6.5.
1432 * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
1433 lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
1434 more than one instance of overloaded function "lyx::class_fun" matches
1444 all c-library variables have been moved into namespace std.
1445 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1447 * kill.C: rename signal.h as csignal.
1449 * putenv.C: rename stdlib.h as cstdlib
1451 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1453 * lxtl.h: remove unused file
1455 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1462 * StrPool.C: remove unused files
1472 * types.h: document and small cleanups
1474 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1476 * switch from SigC signals to boost::signals.
1478 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
1481 * limited_stack.h: new template for limited-size
1484 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1486 * filetools.C: do not include LSubstring.h
1488 * lstrings.C: change include order
1489 (regexMatch): use boost regex get rid of LRegex and LSubstring
1491 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
1494 * LSubstring.h: remove file
1499 * LSubstring.C: ditto
1501 2002-05-24 Juergen Vigna <jug@sad.it>
1503 * lyxsum.C: include local includes first (self containment)
1505 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1507 * forkedcall.h: use more specific smart_ptr header.
1509 * lyxsum.C: move some using declarations around.
1511 2002-05-03 Herbert Voss <voss@perce.de>
1513 * filetools.C (getExtFromContents): only print the first 60 chars of
1514 the scanned-string when debugging.
1516 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1518 * lyxstring.C: close to typo fix.
1520 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
1522 * filetools.C: add a using std::getline directive.
1524 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1526 * lyxstring.C (operator>>): try a new version of the operator>>
1528 2002-04-14 Herbert Voss <voss@perce.de>
1530 * lstrings.[Ch]: move the getVectorFromString and the vice versa
1531 from frontends/controllers/helper_funcs for better use in other
1534 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
1536 * tempname.C (make_tempfile): simplify the #ifdef block by using
1537 #if defined and re-write the #warning as a #error because it's terminal.
1539 2002-04-08 Herbert Voss <voss@perce.de>
1541 * filetools.C (getExtFromContents): get tgif run
1543 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
1545 * filetools.C (getExtFromContents): re-format a little and remove
1546 replicated "sgi" entry.
1548 2002-04-07 Herbert Voss <voss@perce.de>
1550 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
1551 for the lyx-view in graphics (moved from ControlGraphics)
1553 2002-04-07 Herbert Voss <voss@perce.de>
1555 * filetools.C: fix bug for eps. scans now a whole line
1557 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1559 * lyxstring.C (operator>>): use the better solution, this fixes a
1560 "not able to read '\0'" bug.
1562 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1564 * translator.h: add missing typename
1566 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1568 * filetools.C (LibScriptSearch): new command. Searches for scripts
1569 in lyx data directories.
1570 (LibScriptSearch): try to use split() correctly.
1572 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1574 * most files: ws cleanup
1576 * Makefile.am: remove ld -r stuff
1578 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
1580 * Makefile.am (libsupport.la): special rules if partial linking
1582 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1584 * forkedcontr.C: turn the timer off when their are no longer any
1585 child processes running.
1587 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
1589 * forkedcall.h: docy fix
1590 change SignalType second type to be const ref.
1592 * forkedcall.C: doxy fix
1594 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
1596 * lyxsum.C: compilation fix
1598 2002-03-02 Herbert Voss <voss@perce.de>
1600 * filetools.C: fix bug for xbm format and added some more debug
1603 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1605 * forkedcontr.h: make constructor public
1607 * types.h: remove layout_type
1609 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
1611 * filetools.C (getExtFromContents): cleanup.
1613 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
1615 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1617 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
1618 building outside of source tree.
1620 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1623 * forkedcontr.[Ch]: new files. Asger's forked call controller is
1624 re-born, with a working timer and a modified interface. The
1625 startscript method is now passed a Signal rather than a pointer
1626 to a callback function. This enables us to connect to the method of
1627 a C++ class, if we so desire.
1629 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
1631 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
1636 * nt_defines.h: moved from src/
1638 2002-02-23 Herbert Voss <voss@perce.de>
1640 * filetools.C: added more graphic formats
1642 2002-02-18 Herbert Voss <voss@perce.de>
1644 * filetools.C: (getExtFromContents) return the fileextension
1645 if no format is detected.
1647 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
1649 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
1650 as class SystemCall because one Systemcall instance represents a
1651 single child process.
1654 * Makefile.am: associated changes.
1656 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1658 * syscall.C (Systemcalls): include <cstdlib>
1660 2002-02-08 Herbert Voss <voss@perce.de>
1662 * filetools.C: (getExtFromContents) adding Grace-format
1665 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
1668 * syssingleton.C: files removed.
1670 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
1671 uses it. Strip down the Systemcalls interface to make it brutally
1672 obvious how unsophisticated it is.
1674 2002-02-08 Herbert Voss <voss@perce.de>
1676 * filetools.C: (getExtFromContents) adding TGIF-format
1677 and return type "user" when no type is detected
1679 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1681 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1683 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1685 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1687 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1689 * FileInfo.h: remove special cygwin code.
1691 * filetools.C (do_popen): use os::read_mode().
1693 * os_win32.C (read_mode):
1694 * os_os2.C (read_mode):
1695 * os_unix.C (read_mode): new method
1697 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1698 Hentschel). This code should maybe be moved to os:: class.
1700 2002-02-08 Herbert Voss <voss@perce.de>
1702 * filetools.C: (unzipFile) fix typo
1704 2002-02-06 Herbert Voss <voss@perce.de>
1706 * filetools.[Ch]: fix some bugs for detecting zipped files
1709 2002-02-04 Herbert Voss <voss@perce.de>
1711 * filetools.[Ch]: add ifZippedFile() for zipped
1714 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1716 * filetools.C (FileOpenSearch): remove duplicated line, probably
1717 resulting from bad cut-and paste.
1719 2002-01-31 Herbert Voss <voss@perce.de>
1721 * filetools.[Ch]: add getExtFromContents(), which returns
1722 the type of the (graphic) file
1724 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1726 * copy.C (copy): open file in binary mode (for cygwin)
1728 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1730 * lyxsum.C: remove #warnings and replaced them with runtime debug
1733 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1735 * lyxalgo.h: include <algorithm>
1737 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
1739 * lyx_algo.h: add a standard-conforming count to namespace lyx.
1741 * lstrings.[Ch] (countChar): removed. Use lyx::count.
1743 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
1745 * filetools.C: fix use of FileInfo
1748 * FileInfo.C: add Asserts and documentation
1750 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
1752 * os_win32.C: compilation fixes
1754 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1756 * lstrings.h: do not include <cctype>
1758 2001-12-12 Ben Stanley <bds02@uow.edu.au>
1760 * lyxsum.C: portability fix for mmap patch
1762 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1766 * lyxstring.C: change "while(" to "while ("
1768 2001-12-03 Ben Stanley <bds02@uow.edu.au>
1770 * lyxsum.C: Added mmap version of CRC and made it selected
1771 by default where available. Used process_block for crc for speedup.
1773 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
1775 * filetools.C: more robust failure for DirList()
1777 2001-11-29 André Pönitz <poenitz@gmx.net>
1779 * types.h: introduce types for textclass numbers and layout numbers
1781 2001-11-28 André Pönitz <poenitz@gmx.net>
1783 * Makefile.am: put types.h in
1785 2001-11-26 André Pönitz <poenitz@gmx.net>
1787 * types.h: introduce types for paragraph positions and layout numbers
1789 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
1791 * filetools.C: remove dead code
1793 * syscall.C: show prog in fail case
1795 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
1797 * filetools.C: code style cleanup
1799 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
1801 * os.h: remove spurious punctuation.
1803 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
1806 * LAssert.C: use new emergencyCleanup()
1808 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1810 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1811 like GNU gettext does.
1813 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1815 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1817 (findtexfile): oops! the change from last friday was wrong...
1819 * os_win32.C (is_absolute_path):
1820 * os_unix.C (is_absolute_path):
1821 * os_os2.C (is_absolute_path): new method
1823 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1825 * filetools.C (findtexfile): apply os::internal_path to the result.
1827 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
1832 * os.h: add internal_path method, which converts a unix-type file
1833 name to the type known to the underlying file system (currently
1834 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1836 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
1838 * smart_ptr.h: new file
1840 * utility.h: new file
1842 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
1845 * filetools.C (IsDirWriteable): fix this
1847 2001-07-26 Baruch Even <baruch@lyx.org>
1849 * lyxlib.h (float_equal): Added function to compare floats almost equal
1850 (see function comment).
1852 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1854 Consistent use of Lsstream.h:
1855 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1857 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1859 * translator.h: (*it). -> it->
1861 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1863 * filetools.C (DeleteAllFilesInDir): send debug output to
1864 Debug::FILES instewad of Debug::ANY.
1866 * DebugStream.h: remove gcc 2.8.x hack.
1868 2001-06-26 The LyX Project <jug@sad.it>
1871 * lstrings.C (escape): move method to escape non ascii characters
1872 from insets label and ref to here.
1874 2001-06-25 The LyX Project <jug@sad.it>
1876 * filetools.C (IsLyXFilename):
1877 (IsSGMLFilename): do case insensitive name matching
1879 2001-06-24 The LyX Project <jug@sad.it>
1881 * lstrings.C (compare_ascii_no_case): version of compare_no_case
1882 which only considers case of ascii characters
1884 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1887 2001-06-23 The LyX Project <jug@sad.it>
1889 * textutils.h (IsPrintable): take into account unprintable spaces
1891 (IsDigit): new function
1892 (IsLetterCharOrDigit): use IsDigit
1894 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1896 * filetools.C (findtexfile): strip final \r if necessary (for
1899 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1902 * StrPool.C: removed // -*- C++ -*- as first line.
1904 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1906 * lyxsum.C (do_crc): switch to use boost::crc for generating the
1909 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1914 * LSubstring.C: bring C functions in global namespace if
1917 * lstrings.h (compare): use the std:: version of str[n]cmp only
1920 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1922 * syscontr.C: add std::
1924 * syscall.C: add std::
1926 * lstrings.h (compare): add std::
1928 * lstrings.C (prefixIs): add std::
1932 * LSubstring.C (LSubstring): add std::
1934 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
1936 * lyxsum.C (sum): use istreambuf_iterator when available.
1938 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1940 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1943 * lyxstring.C (operator): make const operator[] behave as
1946 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1948 * Makefile.am (EXTRA_DIST): add the os_*.C files.
1950 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1952 * filetools.C (MakeAbsPath): remove debugging statement
1954 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1956 * FileInfo.h: X_OK workaround for cygwin
1965 * filetools.h: Added os:: class.
1969 * tempname.C: OS/2 fixes
1971 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1973 * textutils.h: remvoe !NEW_INSETS cruft
1975 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1978 * atoi.C: add using directives when needed for C functions
1979 declared in std:: namespace.
1981 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1983 * lstrings.C : add two helper structs, local_lowercase and
1985 (lowercase): change to use std::transform
1986 (uppercase): change to use std::transform
1988 2001-04-25 Allan Rae <rae@lyx.org>
1990 * lyxstring.C : Assert got moved and Lars missed a few.
1992 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1994 * LAssert.h (Assert): put into namespace lyx
1996 * lyxfunctional.h: put into namespace lyx
1997 * translator.h: adjust
1999 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2001 * lyxalgo.h: put into namespace lyx, add firster and copy_if
2003 * FileInfo.h: inherit privately from noncopyable
2006 2001-04-16 Allan Rae <rae@lyx.org>
2008 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
2009 as an unrecognised preprocessor directive. So ensure they're wrapped.
2011 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2013 * several files: remove CXX_WORKING_NAMESPACES
2015 * FileInfo.h: noncopyable is in namespace boost
2018 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
2020 * syscontr.h: fix header include
2022 2001-02-28 Baruch Even <baruch@ev-en.org>
2024 * filetools.C: Removed dependency on syscall.h
2027 * syscall.C: Minor cleanings before I start to touch this code.
2029 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
2031 * filetools.C (CreateTmpDir): change umask to 0700.
2033 2001-02-27 José Matos <jamatos@fep.up.pt>
2035 * filetools.h (BasePath):
2036 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
2038 * filetools.C (IsLyXFilename):
2039 * filetools.C (IsSGMLFilename): test if extension is suffix and not
2042 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2046 * atoi.C: remove cruft
2048 2001-02-06 albert chin <china@thewrittenword.com>
2051 * fmt.C: use HAVE_DECL_SNPRINTF
2053 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
2055 * lyxstring.C: Fix some assertions.
2057 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
2059 * lstrings.C (strip): Add a fix for compilers with broken
2060 string::find_last_not_of.
2062 * filetools.C (AddPath): Simplify by using strip and frontStrip.
2064 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
2066 * lyxstring.C (rfind): Fix broken functions.
2067 (find): Few optimizations.