]> git.lyx.org Git - lyx.git/blob - src/support/ChangeLog
Packaging fix on Windows
[lyx.git] / src / support / ChangeLog
1 2005-04-22  Angus Leeming  <leeming@lyx.org>
2
3         * package.C.in (get_binary_path): on prompting from Rob Bearman,
4         ensure that the name of the executable, as input at the command
5         line has a ".exe" suffix so that various file interogations
6         work on Windows.
7
8 2005-04-22  Angus Leeming  <leeming@lyx.org>
9
10         * forkedcontr.h:
11         * forkedcall.h: remove pid_t definition to config.h.
12
13 2005-04-21  Angus Leeming  <leeming@lyx.org>
14
15         * forkedcontr.h: 
16         * forkedcall.h: define pid_t for MSVC.
17
18         * forkedcall.C (kill): work around evil MSVC max macro.
19
20 2005-04-21  Angus Leeming  <leeming@lyx.org>
21
22         * forkedcontr.C: add #include <csignal>.
23
24         * filetools.C (RunCommand): remove the signal blocking stuff
25         now that we no longer use a signal handler on unix.
26
27 2005-04-19  Angus Leeming  <leeming@lyx.org>
28
29         * filetools.C: remove unnecessary #include of forkedcontr.h.
30
31         * forkedcall.C: protect system-specific headers with preprocessor
32         guards.
33         (running): don't call waitpid() on Windows.
34         (waitForChild): add Windows-specific code to wait for a child process
35         to finish.
36         (generateChild): add Windows-specific code to spawn the child in the
37         first place.
38
39         * forkedcontr.[Ch]:Revert back to the LyX 1.3.x version of the code
40         to spawn a child process asynchronously. Do this because 'issues'
41         remain with the SIGCHLD handling code on *nix and because there's no
42         easy way to implement such a monitor on Windows. Explicit polling,
43         as in Lyx 1.3.x, is safe, robust and works on both platforms.
44
45 2005-04-19  Angus Leeming  <leeming@lyx.org>
46
47         * package.C.in (get_temp_dir): call GetLongPathName on Windows.
48
49 2005-04-19  Angus Leeming  <leeming@lyx.org>
50
51         * pch.h: protect unix-specific headers from breaking compilation
52         on Windows.
53
54 2005-04-17  Angus Leeming  <leeming@lyx.org>
55
56         * filetools.C (MakeDisplayPath): invoke os::external_path before
57         returning path.
58
59         * os_win32.C (external_path): convert '/' chars to '\'.
60
61         * filetools.[Ch] (latex_path): new function which modifies
62         an input path containing space and '~' characters into something that
63         LaTeX can understand.
64
65 2005-04-17  Angus Leeming  <leeming@lyx.org>
66
67         * forkedcall.C (generateChild): do not strip quotes from args on
68         Windows.
69         Wrap lyxerr output inside an if (lyxerr.debugging(Debug::FILES))
70         block.
71
72 2005-03-23  Angus Leeming  <leeming@lyx.org>
73
74         * Makefile.am (build_package): Solaris sed does not like
75         spaces bewteen the ;-delimited commands.
76
77 2005-02-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
78
79         * Makefile.am (CLEANFILES): clean generated files
80
81 2005-02-17  Angus Leeming  <leeming@lyx.org>
82
83         * copy.C (copy): Pass the ios::in flag to the ifstream constructor.
84         Enables copying to work when the code is compiled with the gcc 2.95
85         compiler and stdlib.
86
87 2005-02-15  Angus Leeming  <leeming@lyx.org>
88
89         * environment.C: add missing #include.
90         (setEnvPath): compare iterators rather than use tellp().
91
92 2005-02-15  Angus Leeming  <leeming@lyx.org>
93
94         * environment.[Ch]: new files. Move the environment setter/getter
95         functions here from filetools.[Ch]. In the process:
96         rename GetEnv as getEnv.
97         rename putEnv as setEnv. Change the signature of the function
98         to take a pair of arguments (a name and a value) rather than the
99         existing coded "name=value" single argument. Merge the putenv.C
100         code into setEnv.
101
102         * lyxlib.h (putenv): remove declaration.
103         * putenv.C: removed.
104
105         * Makefile.am: add environment.[Ch]. Remove putenv.C.
106
107         * filetools.[Ch]: remove environment setter/getter functions.
108
109         * os_os2.C (init): s/GetEnvPath/getEnvPath/. Left over from an
110         earlier change.
111
112         * package.C.in (get_home_dir, extract_env_var_dir):
113         * userinfo.C (user_email): s/GetEnv/getEnv/.
114
115 2005-02-03  Angus Leeming  <leeming@lyx.org>
116
117         * forkedcall.C (running): call the lyx::kill wrapper function
118         rather than the system kill.
119
120 2005-02-02  Angus Leeming  <leeming@lyx.org>
121
122         * forkedcall.C (generateChild): overhaul the code to split a string
123         into an argv array of words. Now respects simple quoting reasonably
124         well.
125
126 2005-02-01  Angus Leeming  <leeming@lyx.org>
127
128         * fs_extras.C: #include <windows.h>
129
130 2005-01-31  Angus Leeming  <leeming@lyx.org>
131
132         * package.[Ch] (init_package, c-tor): define and use an enum to
133         specify explicitly the location of the top level build directory
134         when the executable is run in-place.
135
136 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
137
138         * fs_extras.C: add changes from Asger's Win32 patch.
139
140 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
141
142         * chdir.C (chdir):
143         * getcwd.C (l_getcwd):
144         * kill.C (kill):
145         * mkdir.C (mkdir): add Win32 specializations.
146
147         * os_win32.h: remove cruft.
148
149 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
150
151         * Makefile.am (libsupport_la_SOURCES): remove rmdir.C
152
153         * rmdir.C: delete file
154
155         * lyxlib.h: remove rmdir decl
156
157 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
158
159         * .cvsignore: add package.C
160
161         * FileInfo.C, FileInfo.h: delete files
162
163         * fs_extras.C, fs_extras.h: new files
164
165         * FileMonitor.C, filetools.C: rewrite to use boost.filesystem
166
167         * Makefile.am (libsupport_la_SOURCES: delete FileInfo.[Ch], add
168         fs_extras.[Ch]
169
170         * filetools.C: make destroydir return true if something was
171         deleted. adjust callers.
172         (IsFileWritable): replace with is_readonly in fs_extras, adjust
173         callers
174
175         * package.C.in: rewrite to use boost.filesystem
176
177 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
178
179         * tests: add some code for automatic regression testing, can be
180         improved or removed as we see fit
181
182         * lyxlib.h (atoi): delete func
183
184         * lstrings.[Ch] (strToInt): delete func
185         (strToUnsignedInt): delete func
186         (strToDbl): delete func
187
188         * Makefile.am: add subdir tests, delete atoi.C
189
190         * atoi.C: delete file
191
192         * convert.C: add specializations for converting to int, unsigned
193         int, double from string, and for converting to int and double from
194         char const *
195
196         * convert.h: remove commented code
197
198 2005-01-22  Angus Leeming   <leeming@lyx.org>
199
200         * path.C (Path): revert the patch since the if statement has side
201         effects that are needed for the code to work :-(
202
203 2005-01-21  Angus Leeming   <leeming@lyx.org>
204
205         * os_cygwin.C, os_win32.C: strip the Cygwin-specific stuff out of
206         os_win32.C and give it its own file.
207
208         * os.C: #include "os_cygwin.C" if building on Cygwin.
209
210 2005-01-20  Angus Leeming  <leeming@lyx.org>
211
212         * lyxlib.h (float_equal): promote parameters to double.
213
214         * path.C (Path): silence MSVC warning about block of code that
215         does nothing.
216
217 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
218
219         * FileInfo.h, chdir.C, forkedcall.C, forkedcontr.C, getcwd.C,
220         mkdir.C, os_defines.h, pch.h, rmdir.C, unlink.C:
221         use the HAVE_UNISTD_H preprocessor guard.
222
223 2005-01-20  Angus Leeming  <leeming@lyx.org>
224
225         * filetools.[Ch] (LibScriptSearch): modify the code that replaces
226         the $$s placeholder with a path, so that it now inserts the path
227         of the lyx support directory, not the scripts subdirectory.
228
229 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
230
231         * lyxsum.C, socktools.C, tempname.C, userinfo.C: use the
232         HAVE_UNISTD_H preprocessor guard.
233
234 2005-01-17  Angus Leeming  <leeming@lyx.org>
235
236         * os_win32.C (init): Add Ruurd's original code to close the
237         console window that Windows opens for us, together with a note
238         explaining the alternative approach.
239
240 2005-01-17  Angus Leeming  <leeming@lyx.org>
241
242         * package.C.in (get_binary_path): convert relative paths stored
243         in the PATH environment variable to absolute ones.
244
245 2005-01-16  Angus Leeming  <leeming@lyx.org>
246
247         * filetools.[Ch] (prependEnvPath): prepend a list of paths to
248         that returned by the environment variable. Identical paths occurring
249         later in the list are removed.
250
251 2005-01-16  Angus Leeming  <leeming@lyx.org>
252
253         * filetools.C (createLyXTmpDir): add some missing brackets to the
254         if-block. OS/2 users will be happier.
255
256 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
257
258         * os_win32.C (external_path): Check the new cygwin_path_fix_ bool
259         before translating external paths to Win32 paths.
260
261 2005-01-13  Angus Leeming  <leeming@lyx.org>
262
263         * os.h, os_os2.C, os_unix.C, os_win32.C (cygwin_path_fix): new
264         function flagging whether LyX should output native Win32 paths
265         or cygwin paths. Obviously operative only under Cygwin.
266
267 2005-01-13  Angus Leeming  <leeming@lyx.org>
268
269         * package.C.in: use "%n$s" rather than "%n%" for n=1,2,3... when
270         calling bformat so that the substitutions work for the non
271         boost::format users too.
272
273 2005-01-12  Angus Leeming  <leeming@lyx.org>
274
275         * filetools.[Ch] (setEnvPath): new function to create a PATH-style
276         string from a vector of paths and to use it to set an environment
277         variable.
278         (putEnv): resurrect this from the grave.
279
280         * os.h, os_os2.C, os_unix.C, os_win32.C (path_separator): new
281         function returning the character used to separate paths returned
282         by the PATH environment variable.
283
284         * os_win32.C: add #include "lstring.h" back in.
285
286         * package.C.in (package): comment out the ASSERT for now.
287         (check_env_var_dir): write one of the strings to be translated
288         (any one, doesn't matter) on a single line so that the
289         gettext search mechanism in po/Makefile.in.in will register
290         package.C.in as a file containing strings that need translation.
291
292 2005-01-10  Angus Leeming  <leeming@lyx.org>
293
294         * os.h:
295         * os_os2.C:
296         * os_unix.C:
297         * os_win32.C (binpath, binname, homepath, setTmpDir, getTmpDir, warn):
298         removed. Remove also all code to set the associated data variables.
299
300         * package.{C.in,h}: new files to ascertain the paths to the
301         various directories used by LyX. Does nothing with these paths,
302         just determines the strings themselves.
303
304         * path_defines.{C.in,h}: removed.
305
306         * Makefile.am: remove path_defines.{C.in,h}. Add package.{C.in,h}.
307
308         * filetools.[Ch] (GetEnvPath): remove.
309         (getEnvPath): replacement. Returns a vector<string> of paths.
310
311         * filetools.C:
312         * tempname.C: use support/package.h to provide the paths to the
313         various directories used by LyX.
314
315 2005-01-07  Angus Leeming  <leeming@lyx.org>
316
317         * convert.C (string>): add specialization for long.
318
319 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
320
321         * convert.h: remove the specializations, don't included unneeded
322         headers
323         * convert.C: add specialization for unsigned long
324
325 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
326
327         * tostr.[Ch]: renamed to convert[ch]
328
329 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
330
331         * lstrings.[Ch]: change bformat to be a template
332
333         * tostr.[Ch]: tostr -> convert, convert is a template
334
335         * tempname.C:
336         * filetools.C (createBufferTmpDir): tostr -> convert
337
338 2005-01-05  Angus Leeming  <leeming@lyx.org>
339
340         * os_win32.C (external_path, internal_path): s/MAX_PATH/PATH_MAX/.
341
342 2005-01-04  Angus Leeming  <leeming@lyx.org>
343
344         * os_win32.C (current_root): use _getdrive on Win32.
345
346         * FileInfo.C (FileInfo, newFile): strip the trailing '/' from
347         the stored file name as it breaks Window's version of stat().
348         (isLink): protect the code with #ifdef S_ISLNK.
349         (dostat): protect the code with #ifdef HAVE_LSTAT.
350         (typeIndicator): remove code testing the file's executable status.
351
352         * filetools.C (LyXReadLink): protect the code with
353         #ifdef HAVE_READLINK.
354
355 2005-01-01  Kayvan Sylvan  <kayvan@sylvan.com>
356
357         * os_win32.C (internal_path): remove the call to MakeLatexName as
358         it is (1) unnecessary and (2) leads to an infinite loop as
359         MakeLatexName calls AddName which calls internal_path...
360
361 2004-12-19  Angus Leeming  <leeming@lyx.org>
362
363         * path_defines.C.in (setLyxPaths): on a Windows build,
364         remove the ".exe" extension from the name of the LyX binary when
365         trying to ascertain the name of the LyX system directory.
366         (Usually, <path to binary>/../share/<name of binary>/).
367
368         * os.h, os_os2.C, os_unix.C, os_win32.C (slashify_path): remove.
369
370         * os_win32.C (init): ensure that the name of the lyx executable is
371         stored internally with a unix-style path.
372
373         * os_win32.C (internal_path, external_path): differentiate between
374         cygwin and windows builds.
375
376         * filetools.C (FileOpenSearch, GetEnvPath, createDirectory,
377         MakeAbsPath, AddName, MakeRelPath, ChangeExtension):
378         * filename.C (mangledFilename):
379         s/slashify_path/internal_path/.
380
381 2004-12-16  Angus Leeming  <leeming@lyx.org>
382
383         * filename.C (mangledFilename): Given a Windows-style path, don't
384         forget to mangle the drive letter too when generating a unique
385         temporary file name.
386
387 2004-12-16  Angus Leeming  <leeming@lyx.org>
388
389         * mkdir.C: move the HAVE_MKDIR conditional code out of config.h
390         and into here.
391
392 2004-12-15  Angus Leeming  <leeming@lyx.org>
393
394         * FileInfo.[Ch] (getNumberOfLinks): removed.
395
396 2004-12-15  Angus Leeming  <leeming@lyx.org>
397
398         * tempname.C: #include fcntl.h and sys/stat.h if creating a temp
399         file using mktemp and open.
400
401 2004-12-14  Angus Leeming  <leeming@lyx.org>
402
403         * os.h, os_os2.C, os_unix.C, os_win32.C:
404         (binpath, binname, getTmpDir): return a const reference rather than
405         a copy of the data.
406         (homepath, nulldev): new functions returning the name of "HOME" and
407         the null device, respectively.
408
409         * filetools.C: (ExpandPath, MakeDisplayPath):
410         * path_defines.C.in (setLyxPaths): use os::homepath(), not
411         GetEnvPath("HOME").
412
413 2004-12-14  Angus Leeming  <leeming@lyx.org>
414
415         * os.h, os_{os2,unix,win32}.C (init): change interface to no longer
416         pass the addresses of the parameters received by main.
417
418 2004-12-14  Angus Leeming  <leeming@lyx.org>
419
420         * copy.C (copy): open the ifstream with ios::binary.
421
422 2004-12-14  Angus Leeming  <leeming@lyx.org>
423
424         * os.C: Add _WIN32 to the #define.
425
426         * systemcall.C (startscript): remove trailing '/n' from request to
427         start the command in a minimized window under DOS.
428
429 2004-12-14  Angus Leeming  <leeming@lyx.org>
430
431         * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
432         to overcome bug in the MinGW port of g++ 3.4.2.
433
434 2004-11-26  Angus Leeming  <leeming@lyx.org>
435
436         * globbing.[Ch] (glob): change API to:
437         1. Append matches to the input container.
438         2. Require a working_dir parameter. The function invokes chdir
439         internally (through use of Path).
440
441 2004-11-26  Angus Leeming  <leeming@lyx.org>
442
443         * filefilterlist.C (convert_brace_glob): moved here from
444         globbing.[Ch].
445
446         * filefilterlist.[Ch]: clean-up FileFilterList API.
447
448         * globbing.[Ch] (convert_brace_glob): moved to filefilterlist.C.
449         (expand_globs): moved to xforms/FormFiledialog.C.
450
451 2004-11-25  Angus Leeming  <leeming@lyx.org>
452
453         * filefilterlist.[Ch]:
454         * globbing.[Ch]: split FileFilterList into its own .[Ch] files.
455
456         * Makefile.am: add filefilterlist.[Ch].
457
458 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * textutils.h (isKommaChar): remove
461
462 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
463
464         * forkedcontr.C (find_pid): simplify and also make pass concept
465         checks.
466         (handleCompletedProcesses): make sure that we do not slice the
467         object and satisfy concept checks.
468
469 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
470
471         * filetools.[Ch] (getFormatFromContents): don't guess format from
472         extension, return string() instead of "user" if the format could
473         not be determined
474
475 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
476
477         * Make it clearer where include files are coming from.
478
479 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
480
481         * translator.h: use bind, equal_to instead of equal_1st_in_pair
482         and equal_2nd_in_pair
483
484         * Makefile.am (libsupport_la_SOURCES): remove lyxfunctional.h
485         * lyxfunctional.h: delete file
486
487         * lyxfunctional.h: delete compare_memfun and helper classes
488
489         * forkedcontr.C (find_pid): use bind, equal_to instead of
490         compare_memfun
491
492         * lyxfunctional.h: delete back_inserter_fun functions and helper
493         classes.
494
495 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
496
497         * snprintf.[ch]: removed
498
499         * Makefile.am (libsupport_la_SOURCES): remove snprintf
500
501 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
502
503         * filetools.[Ch] (getExtFromContents): rename to
504         getFormatFromContents and return always a format
505
506 2004-10-25  Angus Leeming  <leeming@lyx.org>
507
508         * forkedcall.C (generateChild): strip quotes from each argument
509         of argv.
510
511 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
512
513         * pch.h: use proper signal include
514
515         * forkedcallqueue.C: remove unused include
516
517         * FileMonitor.h: Use the preferred calling for Boost.Signal
518         * forkedcall.h: ditto
519
520         * FileMonitor.C: use the new signal typedef
521
522 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
523
524         * forkedcall.h: remove include of <boost/function/funtion0.hpp>
525         * pch.h: ditto
526
527 2004-09-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
528
529         * textutils.h (IsLetterCharOrDigit): remove
530
531 2004-09-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
532
533         * filetools.C (LibScriptSearch): quote the path of the script, in
534         case it contains spaces
535
536 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
537
538         * tostr.C: reimplement using lexical_cast
539
540 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
541
542         * pch.h: do not use include boost/format.hpp, multiple symbols
543         will result (gcc bug)
544
545 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
546
547         * pch.h: new file
548
549         * Makefile.am: support pch
550
551 2004-08-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
552
553         * globbing.C (FileFilterList): make sure that "All files (*)" is
554         always part of the filters list
555
556 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
557
558         * tostr.C, lstrings.C, globbing.C, filetools.C: change
559         "support/std_sstream.h" to <sstream>
560
561         * Makefile.am (libsupport_la_SOURCES): delete std_sstream.h and
562         sstream.h
563         (std_sstream.h): delete file
564         (sstream.h): delete file
565
566 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
567
568         * filetools.C (i18nLibFileSearch): honor case where LANGUAGE
569         specifies a list of locales (thanks to Pablo Saraxtaga for the
570         initial patch).
571
572 2004-05-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * path_defines.C.in (setLyxPaths): make sure that LyX/Mac can find
575         its po files when moved around; set default user directory to
576         ~/Library/Preferences/LyX/ for LyX/Mac.
577         (lyx_localedir): return the value that may have been computed in
578         setLyXPaths
579
580 2004-05-27  Kayvan Sylvan <kayvan@sylvan.com>
581
582         * Makefile.am (libsupport_la_SOURCES): remove reference to
583         nt_defines.h
584
585 2004-05-20  Angus Leeming  <leeming@lyx.org>
586
587         * debugstream.h: wrap the definition of debug_trait::DEBUG with
588         preprocessor guards that protect against a name clash with a
589         macro DEBUG. Such a macro is defined by the Qt library...
590
591 2004-04-27  Angus Leeming  <leeming@lyx.org>
592
593         * path_defines.{h,C.in}: expose top_srcdir, renamed from
594         lyx_top_srcdir.
595
596 2004-04-05  Angus Leeming  <leeming@lyx.org>
597
598         * filetools.C:
599         wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
600
601 2004-04-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
602
603         * filetools.C (RunCommand): block SIGCHLD during popen/pclose
604         (actually Angus' fix).
605
606 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
607
608         * filetools.C (DeleteAllFilesInDir): delete directories with
609         rmdir(), unlink() does not work
610
611 2004-03-27  Angus Leeming  <leeming@lyx.org>
612
613         * forkedcontr.C (child_handler): squash warning about a
614         signed/unsigned comparison.
615         (handleCompletedProcesses): only output a warning about an error
616         waiting for the child if it is indeed an error ;-)
617
618 2004-03-26  Angus Leeming  <leeming@lyx.org>
619
620         * forkedcall.[Ch] (run): new function, replacing runBlocking,
621         runNonBlocking.
622
623         * forkedcall.C (generateChild): ensure that the code that splits
624         the command up into an array of words won't leak in the event of an
625         exception.
626
627         * forkedcontr.C: make it a little more robust.
628
629 2004-03-24  Angus Leeming  <leeming@lyx.org>
630
631         * forkedcontr.[Ch]: get rid of the timer that we use to poll the list
632         of child proccesses and ascertain whether any have died. Instead use
633         the SIGCHLD signal emitted by the system to reap these zombies in the
634         maximally efficient manner. The subsequent emitting of the signal
635         associated with each child process *is* performed within the main
636         lyx event loop, thus ensuring that the code remains safe.
637
638         A detailed description of the design is to be found in forkedcontr.C.
639
640 2004-03-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
641
642         * filetools.C (i18nLibFileSearch): simplify the logic a bit
643
644 2004-03-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * filetools.C (i18nLibFileSearch): fix the logic to match closely
647         what gettext does
648
649 2004-03-23  Angus Leeming  <leeming@lyx.org>
650
651         * forkedcall.h (ForkedProcess, Forkedcall): change the signature of
652         clone to return a boost::shred_ptr rather than a std::auto_ptr.
653
654         * forkedcontr.[Ch]: store the forked calls as boost::shared_ptrs rather
655         than raw pointers.
656
657 2004-03-22  Angus Leeming  <leeming@lyx.org>
658
659         * forkedcontr.[Ch] (childrenChanged, getPIDs, getCommand): remove
660         cruft left over from the removal of the Forks dialog.
661
662 2004-03-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
663
664         * filename.[Ch] (mangledFilename): make sure that mangled names are
665         unique
666
667 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
668
669         * filetools.[Ch] (CreateBufferTmpDir): rename to createBufferTmpDir,
670         remove pathfor argument
671         * filetools.[Ch] (CreateLyXTmpDir): rename to createLyXTmpDir, try
672         harder to create a usable temp dir
673         * filetools.C (CreateTmpDir): rename to createTmpDir
674         filetools.[Ch] (unzipFile): add argument for output filename
675         * filename.h: fix doxygen warning
676
677 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
678
679         * lstrings.h (contains_functor): delete
680         (contains): change into template, simplify
681
682         * lstrings.C (contains): remove both functions
683
684 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
685
686         * lyxalgo.h (eliminate_duplicates): reimplement with sort and the
687         unique-erase idom.
688
689         * lstrings.h (contains_functor): inherit from
690         std::binary_function, remove typedefs.
691
692 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
693
694         * globbing.C: add using statement for std::distance, remove std::
695         from string.
696
697 2004-01-08  Angus Leeming  <leeming@lyx.org>
698
699         * globbing.[Ch]: add a new class FileFilterList to parse a Qt-style
700         list of available file filters and generate the corresponding vector.
701
702 2003-12-14  Ronald Florence <ron@18james.com>
703
704         * tostr.[hC]: added tostr(long unsigned int i).
705
706         * path_defines.C.in: determine system directory and set PATH for
707         relocatable LyX/Mac bundle.
708
709 2004-01-06  Angus Leeming  <leeming@lyx.org>
710
711         * globbing.C (glob): compilation fix for cygwin.
712
713 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
714
715         * Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
716         boost-inst.C
717         * BoostFormat.h: delete file
718         * boost-inst.C: delete fil
719
720         * lstrings.C: include boost/format.hpp
721
722 2004-01-05  Angus Leeming  <leeming@lyx.org>
723
724         * globbing.[Ch]: new files containing some globbing utilities.
725
726 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
727
728         * putenv.C: allocate the string before putting it into the
729         environment.
730
731         * lyxlib.h: adjust.
732
733 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
734
735         * tempname.C (tempName): use scoped_array for exception safety
736
737         * os_os2.C (init): use scoped_array for exception safety
738
739         * getcwd.C (getcwd): use scoped_array for exception safety
740
741         * forkedcontr.C (addCall): adjust
742
743         * forkedcall.h: make clone return a auto_ptr
744
745 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
746
747         * debugstream.h: add a default constructor that does not setup a
748         streambuf here.
749
750 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
751
752         * socktools.C: honor CXX_GLOBAL_CSTD
753
754 2003-10-16  André Pönitz  <poenitz@gmx.net>
755
756         * filetools.C (ReplaceEnvironmentPath): set up patterns just once
757         using static variables.
758
759 2003-10-13  João Luis Meloni Assirati  <assirati@fma.if.usp.br>
760
761         * socktools.[Ch]: New files. Wrapper around socket system calls.
762
763 2003-10-13  Kayvan A. Sylvan  <kayvan@sylvan.com>
764
765         * socktools.C (SUN_LEN): add this MACRO definition for platforms
766         that do not define it themselves.
767
768 2003-10-08  Angus Leeming  <leeming@lyx.org>
769
770         * copied_ptr.h: get rid of the swap member function.
771
772 2003-10-08  Angus Leeming  <leeming@lyx.org>
773
774         Fix doxygen warnings.
775
776         * debugstream.h: \file debugStream.h -> \file debugstream.h
777
778         * os.h: move comment so that doxygen is not confused.
779
780 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
781
782         * Makefile.am: fix typo.
783
784 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
785
786         * std_string.h: delete file
787
788 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
789
790         * lstrings.C: Small fixes to build using STLport
791
792 2003-09-29  Angus Leeming  <leeming@lyx.org>
793
794         * filetools.C (ReplaceEnvironmentPath): make it work for both
795         ${HOME}/foo and $HOME/foo.
796
797 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
798
799         * debugstream.h: add file, updated version of the DebugStream
800
801         * DebugStream.C,DebugStream.h: delete files
802
803 2003-09-25  Angus Leeming  <leeming@lyx.org>
804
805         * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
806         * lstrings.[Ch]: (regexMatch): removed.
807
808 2003-09-25  Angus Leeming  <leeming@lyx.org>
809
810         * translator.h (add): new member function.
811
812 2003-09-16  Angus Leeming  <leeming@lyx.org>
813
814         * textutils.h: remove #include "paragraph.h". Remove functions
815         IsInsetChar and IsWordChar.
816
817 2003-09-15  Angus Leeming  <leeming@lyx.org>
818
819         * copied_ptr.h: re-jig to something that resembles Herb Sutter's
820         HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
821         his book as ValuePtr.
822         Use a memory_traits template parameter to create/destroy memory in a
823         flexible manner.
824
825 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
826
827         * tostr.C:
828         * lstrings.C:
829         * filetools.C: Remove usage of STRCONV
830
831         * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
832         lyxstring.h
833
834         * std_string.h: modify to always work with std::string, but if
835         with-included-string then use it through namespace lyx. Remove
836         STRCONV.
837
838         * lyxstring.[Ch]: remove files
839
840 2003-09-15  Angus Leeming  <leeming@lyx.org>
841
842         * translator.h: add #include <boost/assert.hpp>, so that the
843         template is self-contained.
844
845 2003-09-11  Angus Leeming  <leeming@lyx.org>
846
847         * cow_ptr.h:
848         * copied_ptr.h: added to the repository. Maybe temporarily.
849
850 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
851
852         * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
853
854         * several files: change Assert to BOOST_ASSERT
855
856         * LAssert.C:
857         * LAssert.h: remove files
858
859 2003-09-08  Angus Leeming  <leeming@lyx.org>
860
861         * filename.C:
862         * filetools.C: tell the world where to find author contact details.
863
864 2003-09-08  Angus Leeming  <leeming@lyx.org>
865
866         * boost-inst.C:
867         * filetools.C:
868         * forkedcallqueue.C:
869         * lstrings.C:
870         * lyxsum.C: remove redundant using directives.
871
872 2003-09-05  Angus Leeming  <leeming@lyx.org>
873
874         * lstrings.C: small bformat fix
875
876 2003-09-05  Angus Leeming  <leeming@lyx.org>
877
878         * std_istream.h: new file Just renaming of LIstream.h
879         * std_ostream.h: new file Just renaming of LIstream.h
880         * std_sstream.h: new file Just renaming of Lsstream.h
881         * std_string.h:  new file Just renaming of LString.h
882
883 2003-09-05  Angus Leeming  <leeming@lyx.org>
884
885         * lyxmanip.h:
886         * textutils.h:
887         ensure that the header file can be compiled stand-alone.
888
889 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
890
891         * lstrings.[Ch] (bformat): add a variant taking two ints.
892
893 2003-09-04  Angus Leeming  <leeming@lyx.org>
894
895         * filetools.h:
896         * filename.C:  move #include "os.h" out of the header file.
897
898 2003-09-04  Angus Leeming  <leeming@lyx.org>
899
900         * path.C (ctor, dtor): move out of line.
901
902 2003-09-03  Angus Leeming  <leeming@lyx.org>
903
904         * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
905         (mangledFilename): new function, returning a mangled version of the
906         absolute file name, suitable for use in the temp dir when, for example,
907         converting an image file to another format.
908         (isZipped, unzippedFilename): wrappers to global functions.
909
910         * filetools.[Ch] (copyFileToDir): removed.
911         (compare_timestamps): new function.
912
913 2003-09-03  Angus Leeming  <leeming@lyx.org>
914
915         * translator.h: Assert is in namespace lyx::support...
916
917 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
918
919         * Makefile.am: do not install path_defines.C in includes
920         (COMPRESSION): mention gzstream.h here
921
922 2003-08-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
923
924         * path_defines.C.in (setLyxPaths): re-introduce the code to check
925         whether lyx is run in place
926         (build_dir): renamed from build_lyxdir
927         (build_lyxdir): give this better semantics compatible with what
928         LibFileSearch expects.
929
930 2003-07-29  Angus Leeming  <leeming@lyx.org>
931
932         * filename.[Ch] (relFilename, outputFilename): the 'path' arg
933         defaults to string() because MakeRelPath can accept that.
934
935 2003-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
936
937         * Makefile.am: conditionalize USE_COMPRESSION.
938
939 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
940
941         * filetools.C (getExtFromContents): correct magic for gzip and
942         compress.
943
944         * path_defines.[Ch]: move lyx_localedir out of anon namespace
945
946         * gzstream.h: new fileq
947
948         * gzstream.C: new file
949
950 2003-07-27  Angus Leeming  <leeming@lyx.org>
951
952         * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
953         user_lyxdir): are now functions, not global vars.
954
955         * Makefile.am: set build_lyxdir at make time.
956
957 2003-07-27  Angus Leeming  <leeming@lyx.org>
958
959         * path_defines.{h,C.in}: new files. Store/set the various lyx
960         paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
961         user_lyxdir.
962
963         * Makefile.am: add some magic to enable the user to set the path to
964         the system-level lyx support files, the top of the lyx build tree
965         and the system-level lyx locale directory at _make_ time rather
966         than configure time.
967
968         * .cvsignore: add path_defines.C.
969
970 2003-07-26  Angus Leeming  <leeming@lyx.org>
971
972         * os.h: remove irrelevant discussion of system_tempdir.
973
974 2003-07-21  Angus Leeming  <leeming@lyx.org>
975
976         * filename.[Ch]: new files implementing class FileName.
977         * Makefile.am: add filename.[Ch].
978
979 2003-07-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
980
981         * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
982         not allow it (at least not in this form.)
983
984 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
985
986         * os_win32.C: put namespace os in lyx::support.
987
988         * lstrings.C (bformat): call Assert from correct namespace.
989
990         * introduce namespace lyx::support
991
992 2003-06-30  André Pönitz  <poenitz@gmx.net>
993
994         * filetools.C:
995         * lstrings.C: re-enable --with-included-string
996
997 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
998
999         * filetools.h: fix some \param issue
1000
1001         * boost-inst.C: fix \file
1002
1003         * LAssert.h: fix \file
1004
1005 2003-06-20  Angus Leeming  <leeming@lyx.org>
1006
1007         * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
1008
1009 2003-06-18  Angus Leeming  <leeming@lyx.org>
1010
1011         * many files: add the standard blurb, "This file is part of LyX" etc
1012
1013 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1014
1015         * limited_stack.h: make it have a const_iterator, add begin, and
1016         end as interface.
1017
1018 2003-06-10  Angus Leeming  <leeming@lyx.org>
1019
1020         * filetools.C (copyFileToDir): ensure that temp files have unique names.
1021
1022 2003-06-04  André Pönitz  <poenitz@gmx.net>
1023
1024         * limited_stack.h (top): return reference instead of value
1025
1026 2003-06-02  Angus Leeming  <leeming@lyx.org>
1027
1028         * filetools.[Ch] (copyFileToDir): new helper function.
1029
1030         * os.h: remove trailing semi-colon from end of namespace os block.
1031
1032 2003-06-01  Angus Leeming  <leeming@lyx.org>
1033
1034         * filetools.h (LibScriptSearch): give the function a meaningful
1035         description of what it now does.
1036
1037 2003-05-30  Angus Leeming  <leeming@lyx.org>
1038
1039         * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
1040         this with the path to the script. If the script is not found, the "$$s/"
1041         string is removed.
1042
1043 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1044
1045         * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
1046         char const *.
1047
1048 2003-05-19  André Pönitz  <poenitz@gmx.net>
1049
1050         * lstrings.C: add missing implementation of three-arg bformat
1051
1052         * lstrings.C: change rest of char * fmt -> string const & fmt
1053
1054
1055 2003-05-15  André Pönitz  <poenitz@gmx.net>
1056
1057         * lstrings.[Ch]: use string const & instead of char const * for format
1058
1059 2003-05-12  André Pönitz  <poenitz@gmx.net>
1060
1061         * tostr.[Ch]: add long int overload
1062
1063 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
1064
1065         * lstrings.[Ch]: compile fix
1066
1067 2003-05-12  André Pönitz  <poenitz@gmx.net>
1068
1069         * lstrings.[Ch]: bformat() as wrapper around boost::format
1070
1071         * lyxstring.h: enable templatized constructor
1072
1073 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1074
1075         * limited_stack.h: Change some comments, simplify a couple of
1076         class functions.
1077
1078 2003-02-21  André Pönitz <poenitz@gmx.net>
1079
1080         * limited_stack.h: change underlying container to deque to
1081           make this re-usable in mathed
1082
1083 2003-04-08  John Levon  <levon@movementarian.org>
1084
1085         * filetools.C: fix MakeDisplayPath() to not
1086         lie (bug 993)
1087
1088 2003-03-30  John Levon  <levon@movementarian.org>
1089
1090         * Makefile.am:
1091         * BoostFormat.h:
1092         * boost-inst.C: moved from src/
1093
1094 2003-03-29  John Levon  <levon@movementarian.org>
1095
1096         * filetools.h:
1097         * filetools.C: never call Alert directly from here
1098
1099 2003-03-12  John Levon  <levon@movementarian.org>
1100
1101         * textutils.h: remove META_NEWLINE
1102
1103 2003-02-27  Ling Li  <ling@caltech.edu>
1104
1105         * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
1106         sort.
1107
1108 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
1109
1110         * forkedcontr.C (timer): remove bogus continue
1111
1112 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
1113
1114         * forkedcallqueue.[Ch]: added
1115
1116 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
1117
1118         * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
1119         Emiting the signal can result in an arbitrary change to the list.
1120
1121 2003-02-25  Angus Leeming  <leeming@lyx.org>
1122
1123         * forkedcontr.C (timer): Use a while loop rather than for; makes it
1124         easier to erase an element.
1125
1126 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
1127
1128         * forkedcontr.C (timer): don't start a running timer.
1129
1130 2003-02-21  André Pönitz <poenitz@gmx.net>
1131
1132         * filetools.C (PutEnv): removed (unused)
1133
1134 2003-02-17  John Levon  <levon@movementarian.org>
1135
1136         * forkedcall.h:
1137         * forkedcall.C: add running()
1138
1139 2003-02-08  John Levon  <levon@movementarian.org>
1140
1141         * Makefile.am:
1142         * lyxtime.h:
1143         * lyxtime.C: add typedef for time_t, add current_time
1144
1145         * Makefile.am:
1146         * userinfo.h:
1147         * userinfo.C: add
1148
1149 2002-12-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1150
1151         * filetools.C (getExtFromContents): remove detection of epsi
1152
1153 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1154
1155         * several files: ws changes
1156
1157 2002-11-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1158
1159         * filetools.C (DirList): remove all ugly hacks and do it nice
1160
1161 2002-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1162
1163         * lyxsum.C: an ugly hack to compile with non-gnu linkers
1164
1165 2002-11-12  Angus Leeming  <aleem@pneumon.bg.ic.ac.uk>
1166
1167         * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
1168         a solution that he likes and which actually works.
1169
1170 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1171
1172         * lstrings.h (tostr): STRCONV
1173
1174         * lstrings.C (regexMatch): STRCONV
1175         (getVectorFromString): STRCONV, manual copy into vector
1176
1177         * filetools.C (GetFileContents): STRCONV
1178
1179         * os.C: include config.h
1180
1181         * lstrings.C (getVectorFromString): rewrite to use
1182         boost::tokenizer
1183
1184 2002-10-31  Angus Leeming  <leeming@lyx.org>
1185
1186         * forkedcall.C (generateChild): clean it up further.
1187
1188 2002-10-25  Angus Leeming  <leeming@lyx.org>
1189
1190         * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
1191         and a minimal ForkedCall daughter class.
1192
1193         * forkedcontr.[Ch]: minimal changes reflecting the use of a
1194         ForkedProcess base class responsible for launching all child proceses.
1195
1196 2002-09-25  Angus Leeming  <leeming@lyx.org>
1197
1198         * LIstream.h:
1199         * LOstream.h: doxygen fixes.
1200
1201 2002-09-24  Angus Leeming  <leeming@lyx.org>
1202
1203         * most files: clean-up the license info.
1204
1205 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1206
1207         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
1208
1209 2002-09-16  Kayvan A. Sylvan  <kayvan@sylvan.com>
1210
1211         * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
1212         since at least for Cygwin, the "rb" read_mode acceptable for
1213         fopen() is illegal for popen(), whose mode argument *must* be "r"
1214         or "w".
1215
1216         * filetools.C (RunCommand): Uses os::popen_read_mode() instead
1217         of os::read_mode()
1218
1219 2002-08-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1220
1221         * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
1222         utility.h
1223
1224         * smart_ptr.h: remove file
1225         * utility.h: ditto
1226
1227 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
1228
1229         * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
1230         class_fun and void_class_fun
1231
1232 2002-08-20  John Levon  <levon@movementarian.org>
1233
1234         * Makefile.am:
1235         * fmt.C: remove
1236
1237 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1238
1239         * textutils.h: formatting.
1240
1241 2002-08-08  John Levon  <levon@movementarian.org>
1242
1243         * limited_stack.h: default to 100 not 10
1244
1245 2002-08-01  John Levon  <levon@movementarian.org>
1246
1247         * forkedcall.C: more details on error
1248
1249 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1250
1251         * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
1252         also add a trim function that is the equiv of
1253         strip(frontStrip(...)), also reimplement the functions
1254         (improvements still possible.)
1255
1256         * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
1257         * forkedcall.C (generateChild): ditto
1258         * lstrings.C: ditto
1259
1260
1261 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1262
1263         * filetools.C (GetEnvPath): modify because of strip changes
1264         (createDirectory): ditto
1265         (findtexfile): ditto
1266         * lstrings.[Ch] (isStrInt): ditto
1267         (isStrUnsignedInt): ditto
1268         (strToInt): ditto
1269         (strToUnsignedInt): ditto
1270         (isStrDbl): ditto
1271         (contains): removed unneeded version of contains
1272         (containsOnly): removed uneeded versions of containsOnly
1273         (strip, frontStrip): removed unneded versions, changed argument types.
1274
1275 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
1276
1277         * filetools.C (RunCommand): Made public
1278
1279 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
1280
1281         * limited_stack.h: fix comment, remove un-needed header
1282
1283 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1284
1285         * lstrings.h: correct comments for token and tokenPos
1286
1287 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
1288
1289         * lyxstring.C (operator>>): replace code which works only with
1290         _some_ versions of GNU STL with generic one
1291
1292 2002-07-18  Angus Leeming  <leeming@lyx.org>
1293
1294         * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
1295         signal should it do so.
1296
1297         * Makefile.am: add FileMonitor.[Ch].
1298
1299 2002-07-18  André Pönitz <poenitz@gmx.net>
1300
1301         * filetools.C (LibScriptSearch): bug fix
1302
1303 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1304
1305         * filetools.C (LyXReadLink): add bool 'resolve' to return link
1306         contents as an absolute path
1307
1308 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1309
1310         * filetools.C (IsLyXFilename):
1311         (IsSGMLFilename): use ascii_lowercase instead of lowercase
1312
1313         * lstrings.[Ch] (ascii_lowercase): new function
1314
1315 2002-07-16  André Pönitz <poenitz@gmx.net>
1316
1317         * FileInfo.Ch: remove unneeded code
1318
1319 2002-06-20  Herbert Voss  <voss@perce.de>
1320
1321         * filetools.[C] (readExtFromContents): add support for
1322         (x)fig format images
1323
1324 2002-06-26  André Pönitz <poenitz@gmx.net>
1325
1326         * filetools.[Ch]: small whitespace, more compact 'return' statement
1327
1328 2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
1329
1330         * lyxalgo.h: add eliminate_duplicates
1331
1332 2002-06-17  Herbert Voss  <voss@perce.de>
1333
1334         * filetools.[C]: (readBB_from_PSFile) add a helperfunc
1335         (readBB_lyxerrMessage) to get better lyxerr messages
1336         (getExtFromContents) test epsi files in the right way
1337
1338         * DestroxLyXTmpDir.C: changed to true, to delete the
1339         temporary unzipped files, too.
1340
1341 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1342
1343         * putenv.C (putenv): putenv should never be found in std::
1344
1345         * kill.C (kill): kill should never be found in std::
1346
1347         * filetools.C: pclose and popen should never be found in std::
1348
1349 2002-06-07  Angus Leeming  <leeming@lyx.org>
1350
1351         Fixes needed to compile with Compaq cxx 6.5.
1352         * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
1353         lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
1354         more than one instance of overloaded function "lyx::class_fun" matches
1355         the argument list.
1356
1357         * filetools.C:
1358         * kill.C:
1359         * lstrings.C:
1360         * putenv.C:
1361         * snprintf.h:
1362         * systemcall.C:
1363         * utility.h:
1364         all c-library variables have been moved into namespace std.
1365         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1366
1367         * kill.C: rename signal.h as csignal.
1368
1369         * putenv.C: rename stdlib.h as cstdlib
1370
1371 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1372
1373         * lxtl.h: remove unused file
1374
1375 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
1376
1377         * Makefile.am:
1378         * date.C:
1379         * getUserName.C:
1380         * fileblocks.c:
1381         * StrPool.h:
1382         * StrPool.C: remove unused files
1383
1384         * lyxalgo.h:
1385         * lyxlib.h:
1386         * mkdir.C:
1387         * path.h:
1388         * path.C:
1389         * systemcall.C:
1390         * textutils.h:
1391         * translator.h:
1392         * types.h: document and small cleanups
1393
1394 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1395
1396         * switch from SigC signals to boost::signals.
1397
1398 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
1399
1400         * Makefile.am:
1401         * limited_stack.h: new template for limited-size
1402           stacks
1403
1404 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1405
1406         * filetools.C: do not include LSubstring.h
1407
1408         * lstrings.C: change include order
1409         (regexMatch): use boost regex get rid of LRegex and LSubstring
1410
1411         * Makefile.am (libsupport_la_SOURCES): delete regex and substring
1412         stuff.
1413
1414         * LSubstring.h: remove file
1415         * regex.c: ditto
1416         * lyxregex.h: ditto
1417         * LRegex.C: ditto
1418         * LRegex.h: ditto
1419         * LSubstring.C: ditto
1420
1421 2002-05-24  Juergen Vigna  <jug@sad.it>
1422
1423         * lyxsum.C: include local includes first (self containment)
1424
1425 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1426
1427         * forkedcall.h: use more specific smart_ptr header.
1428
1429         * lyxsum.C: move some using declarations around.
1430
1431 2002-05-03  Herbert Voss  <voss@perce.de>
1432
1433         * filetools.C (getExtFromContents): only print the first 60 chars of
1434         the scanned-string when debugging.
1435
1436 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1437
1438         * lyxstring.C: close to typo fix.
1439
1440 2002-05-02  Angus Leeming  <a.leeming@ic.ac.uk>
1441
1442         * filetools.C: add a using std::getline directive.
1443
1444 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1445
1446         * lyxstring.C (operator>>): try a new version of the operator>>
1447
1448 2002-04-14  Herbert Voss  <voss@perce.de>
1449
1450         * lstrings.[Ch]: move the getVectorFromString and the vice versa
1451         from frontends/controllers/helper_funcs for better use in other
1452         programs
1453
1454 2002-04-15  Angus Leeming  <a.leeming@ic.ac.uk>
1455
1456         * tempname.C (make_tempfile): simplify the #ifdef block by using
1457         #if defined and re-write the #warning as a #error because it's terminal.
1458
1459 2002-04-08  Herbert Voss  <voss@perce.de>
1460
1461         * filetools.C (getExtFromContents): get tgif run
1462
1463 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
1464
1465         * filetools.C (getExtFromContents): re-format a little and remove
1466         replicated "sgi" entry.
1467
1468 2002-04-07  Herbert Voss  <voss@perce.de>
1469
1470         * filetools.[Ch]: add readBB_from_PSFile() to make bb available
1471         for the lyx-view in graphics (moved from ControlGraphics)
1472
1473 2002-04-07  Herbert Voss  <voss@perce.de>
1474
1475         * filetools.C: fix bug for eps. scans now a whole line
1476
1477 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1478
1479         * lyxstring.C (operator>>): use the better solution, this fixes a
1480         "not able to read '\0'" bug.
1481
1482 2002-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1483
1484         * translator.h: add missing typename
1485
1486 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1487
1488         * filetools.C (LibScriptSearch): new command. Searches for scripts
1489         in lyx data directories.
1490         (LibScriptSearch): try to use split() correctly.
1491
1492 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1493
1494         * most files: ws cleanup
1495
1496         * Makefile.am: remove ld -r stuff
1497
1498 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1499
1500         * Makefile.am (libsupport.la): special rules if partial linking
1501
1502 2002-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1503
1504         * forkedcontr.C: turn the timer off when their are no longer any
1505         child processes running.
1506
1507 2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1508
1509         * forkedcall.h: docy fix
1510         change SignalType second type to be const ref.
1511
1512         * forkedcall.C: doxy fix
1513
1514 2002-03-11  Kayvan A. Sylvan  <kayvan@sylvan.com>
1515
1516         * lyxsum.C: compilation fix
1517
1518 2002-03-02  Herbert Voss  <voss@perce.de>
1519
1520         * filetools.C: fix bug for xbm format and added some more debug
1521         infos
1522
1523 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1524
1525         * forkedcontr.h: make constructor public
1526
1527         * types.h: remove layout_type
1528
1529 2002-03-01  Angus Leeming  <a.leeming@ic.ac.uk>
1530
1531         * filetools.C (getExtFromContents): cleanup.
1532
1533         * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
1534
1535 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1536
1537         * Makefile.am (SIGC_INCLUDES): add a -I directive for when
1538         building outside of source tree.
1539
1540 2002-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
1541
1542         * forkedcall.[Ch]:
1543         * forkedcontr.[Ch]: new files. Asger's forked call controller is
1544         re-born, with a working timer and a modified interface. The
1545         startscript method is now passed a Signal rather than a pointer
1546         to a callback function. This enables us to connect to the method of
1547         a C++ class, if we so desire.
1548
1549         * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
1550
1551 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
1552
1553         * Makefile.am:
1554         * os2_defines.h:
1555         * os2_errortable.h:
1556         * nt_defines.h: moved from src/
1557
1558 2002-02-23  Herbert Voss  <voss@perce.de>
1559
1560         * filetools.C: added more graphic formats
1561
1562 2002-02-18  Herbert Voss  <voss@perce.de>
1563
1564         * filetools.C: (getExtFromContents) return the fileextension
1565         if no format is detected.
1566
1567 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
1568
1569         * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
1570         as class SystemCall because one Systemcall instance represents a
1571         single child process.
1572
1573         * filetools.C:
1574         * Makefile.am: associated changes.
1575
1576 2002-02-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1577
1578         * syscall.C (Systemcalls): include <cstdlib>
1579
1580 2002-02-08  Herbert Voss  <voss@perce.de>
1581
1582         * filetools.C: (getExtFromContents) adding Grace-format
1583         for filetypes
1584
1585 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
1586
1587         * syscontr.[Ch]:
1588         * syssingleton.C: files removed.
1589
1590         * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
1591         uses it. Strip down the Systemcalls interface to make it brutally
1592         obvious how unsophisticated it is.
1593
1594 2002-02-08  Herbert Voss  <voss@perce.de>
1595
1596         * filetools.C: (getExtFromContents) adding TGIF-format
1597         and return type "user" when no type is detected
1598
1599 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1600
1601         * textutils.h: remove IsLineSeparatorChar(char, Inset *)
1602
1603 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
1604
1605         * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
1606
1607 2002-02-08  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1608
1609         * FileInfo.h: remove special cygwin code.
1610
1611         * filetools.C (do_popen): use os::read_mode().
1612
1613         * os_win32.C (read_mode):
1614         * os_os2.C (read_mode):
1615         * os_unix.C (read_mode): new method
1616
1617         * filetools.C (do_popen): fix for cygwin compatibility (from Claus
1618         Hentschel). This code should maybe be moved to os:: class.
1619
1620 2002-02-08  Herbert Voss  <voss@perce.de>
1621
1622         * filetools.C: (unzipFile) fix typo
1623
1624 2002-02-06  Herbert Voss  <voss@perce.de>
1625
1626         * filetools.[Ch]: fix some bugs for detecting zipped files
1627         adding unzipFile()
1628
1629 2002-02-04  Herbert Voss  <voss@perce.de>
1630
1631         * filetools.[Ch]: add ifZippedFile() for zipped
1632         graphic files
1633
1634 2002-02-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1635
1636         * filetools.C (FileOpenSearch): remove duplicated line, probably
1637         resulting from bad cut-and paste.
1638
1639 2002-01-31  Herbert Voss  <voss@perce.de>
1640
1641         * filetools.[Ch]: add getExtFromContents(), which returns
1642         the type of the (graphic) file
1643
1644 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1645
1646         * copy.C (copy): open file in binary mode (for cygwin)
1647
1648 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1649
1650         * lyxsum.C: remove #warnings and replaced them with runtime debug
1651         info.
1652
1653 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1654
1655         * lyxalgo.h: include <algorithm>
1656
1657 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
1658
1659         * lyx_algo.h: add a standard-conforming count to namespace lyx.
1660
1661         * lstrings.[Ch] (countChar): removed. Use lyx::count.
1662
1663 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
1664
1665         * filetools.C: fix use of FileInfo
1666
1667         * FileInfo.h:
1668         * FileInfo.C: add Asserts and documentation
1669
1670 2001-12-20  Kayvan A. Sylvan  <kayvan@sylvan.com>
1671
1672         * os_win32.C: compilation fixes
1673
1674 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1675
1676         * lstrings.h: do not include <cctype>
1677
1678 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
1679
1680         * lyxsum.C: portability fix for mmap patch
1681
1682 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1683
1684         * filetools.C:
1685         * lstrings.C:
1686         * lyxstring.C: change "while(" to "while ("
1687
1688 2001-12-03  Ben Stanley <bds02@uow.edu.au>
1689
1690         * lyxsum.C: Added mmap version of CRC and made it selected
1691         by default where available. Used process_block for crc for speedup.
1692
1693 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
1694
1695         * filetools.C: more robust failure for DirList()
1696
1697 2001-11-29  André Pönitz <poenitz@gmx.net>
1698
1699         * types.h: introduce types for textclass numbers and layout numbers
1700
1701 2001-11-28  André Pönitz <poenitz@gmx.net>
1702
1703         * Makefile.am: put types.h in
1704
1705 2001-11-26  André Pönitz <poenitz@gmx.net>
1706
1707         * types.h: introduce types for paragraph positions and layout numbers
1708
1709 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
1710
1711         * filetools.C: remove dead code
1712
1713         * syscall.C: show prog in fail case
1714
1715 2001-10-24  Andre Poenitz  <poenitz@HTWM.De>
1716
1717         * filetools.C: code style cleanup
1718
1719 2001-10-23  Angus Leeming  <a.leeming@ic.ac.uk>
1720
1721         * os.h: remove spurious punctuation.
1722
1723 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
1724
1725         * LAssert.h:
1726         * LAssert.C: use new emergencyCleanup()
1727
1728 2001-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1729
1730         * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
1731         like GNU gettext does.
1732
1733 2001-10-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1734
1735         * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
1736         several methods)
1737         (findtexfile): oops! the change from last friday was wrong...
1738
1739         * os_win32.C (is_absolute_path):
1740         * os_unix.C (is_absolute_path):
1741         * os_os2.C (is_absolute_path): new method
1742
1743 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1744
1745         * filetools.C (findtexfile): apply os::internal_path to the result.
1746
1747 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
1748
1749         * os_win32.C:
1750         * os_unix.C:
1751         * os_os2.C:
1752         * os.h: add internal_path method, which converts a unix-type file
1753         name to the type known to the underlying file system (currently
1754         only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
1755
1756 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1757
1758         * smart_ptr.h: new file
1759
1760         * utility.h: new file
1761
1762 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
1763
1764         * filetools.h:
1765         * filetools.C (IsDirWriteable): fix this
1766
1767 2001-07-26  Baruch Even  <baruch@lyx.org>
1768
1769         * lyxlib.h (float_equal): Added function to compare floats almost equal
1770         (see function comment).
1771
1772 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
1773
1774         Consistent use of Lsstream.h:
1775         * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
1776
1777 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1778
1779         * translator.h: (*it). -> it->
1780
1781 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
1782
1783         * filetools.C (DeleteAllFilesInDir): send debug output to
1784         Debug::FILES instewad of Debug::ANY.
1785
1786         * DebugStream.h: remove gcc 2.8.x hack.
1787
1788 2001-06-26  The LyX Project  <jug@sad.it>
1789
1790         * lstrings.h:
1791         * lstrings.C (escape): move method to escape non ascii characters
1792         from insets label and ref to here.
1793
1794 2001-06-25  The LyX Project  <jug@sad.it>
1795
1796         * filetools.C (IsLyXFilename):
1797         (IsSGMLFilename): do case insensitive name matching
1798
1799 2001-06-24  The LyX Project  <jug@sad.it>
1800
1801         * lstrings.C (compare_ascii_no_case): version of compare_no_case
1802         which only considers case of ascii characters
1803
1804         * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1805         sstream header.
1806
1807 2001-06-23  The LyX Project  <jug@sad.it>
1808
1809         * textutils.h (IsPrintable): take into account unprintable spaces
1810         above 127.
1811         (IsDigit): new function
1812         (IsLetterCharOrDigit): use IsDigit
1813
1814 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1815
1816         * filetools.C (findtexfile): strip final \r if necessary (for
1817         cygwin)
1818
1819 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
1820
1821         * FileInfo.C:
1822         * StrPool.C: removed // -*- C++ -*- as first line.
1823
1824 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1825
1826         * lyxsum.C (do_crc): switch to use boost::crc for generating the
1827         checksum.
1828
1829 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1830
1831         * lstrings.C:
1832         * syscall.C:
1833         * syscontr.C:
1834         * LSubstring.C: bring C functions in global namespace if
1835         necessary.
1836
1837         * lstrings.h (compare): use the std:: version of str[n]cmp only
1838         when it exists.
1839
1840 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1841
1842         * syscontr.C: add std::
1843
1844         * syscall.C: add std::
1845
1846         * lstrings.h (compare): add std::
1847
1848         * lstrings.C (prefixIs): add std::
1849         (suffixIs): ditto
1850         (subst): ditto
1851
1852         * LSubstring.C (LSubstring): add std::
1853
1854 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1855
1856         * lyxsum.C (sum): use istreambuf_iterator when available.
1857
1858 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1859
1860         * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1861         directly instead.
1862
1863         * lyxstring.C (operator): make const operator[] behave as
1864         non-const and at.
1865
1866 2001-05-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1867
1868         * Makefile.am (EXTRA_DIST): add the os_*.C files.
1869
1870 2001-05-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1871
1872         * filetools.C (MakeAbsPath): remove debugging statement
1873
1874 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
1875
1876         * FileInfo.h: X_OK workaround for cygwin
1877
1878         * Makefile.am:
1879         * os.C:
1880         * os.h:
1881         * os_os2.C:
1882         * os_unix.C:
1883         * os_win32.C:
1884         * filetools.C:
1885         * filetools.h: Added os:: class.
1886
1887         * rename.C:
1888         * syscall.C:
1889         * tempname.C: OS/2 fixes
1890
1891 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1892
1893         * textutils.h: remvoe !NEW_INSETS cruft
1894
1895 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1896
1897         * fmt.C:
1898         * atoi.C: add using directives when needed for C functions
1899         declared in std:: namespace.
1900
1901 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1902
1903         * lstrings.C : add two helper structs, local_lowercase and
1904         local_uppercase.
1905         (lowercase): change to use std::transform
1906         (uppercase): change to use std::transform
1907
1908 2001-04-25  Allan Rae  <rae@lyx.org>
1909
1910         * lyxstring.C : Assert got moved and Lars missed a few.
1911
1912 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1913
1914         * LAssert.h (Assert): put into namespace lyx
1915
1916         * lyxfunctional.h: put into namespace lyx
1917         * translator.h: adjust
1918
1919 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1920
1921         * lyxalgo.h: put into namespace lyx, add firster and copy_if
1922
1923         * FileInfo.h: inherit privately from noncopyable
1924         * path.h: ditto
1925
1926 2001-04-16  Allan Rae  <rae@lyx.org>
1927
1928         * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1929         as an unrecognised preprocessor directive.  So ensure they're wrapped.
1930
1931 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1932
1933         * several files: remove CXX_WORKING_NAMESPACES
1934
1935         * FileInfo.h: noncopyable is in namespace boost
1936         * path.h: ditto
1937
1938 2001-02-16  John Levon  <moz@compsoc.man.ac.uk>
1939
1940         * syscontr.h: fix header include
1941
1942 2001-02-28  Baruch Even  <baruch@ev-en.org>
1943
1944         * filetools.C: Removed dependency on syscall.h
1945
1946         * syscall.h:
1947         * syscall.C: Minor cleanings before I start to touch this code.
1948
1949 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1950
1951         * filetools.C (CreateTmpDir): change umask to 0700.
1952
1953 2001-02-27  José Matos  <jamatos@fep.up.pt>
1954
1955         * filetools.h (BasePath):
1956         * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1957
1958         * filetools.C (IsLyXFilename):
1959         * filetools.C (IsSGMLFilename): test if extension is suffix and not
1960         only contained.
1961
1962 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1963
1964         * fmt.C:
1965         * filetools.C:
1966         * atoi.C: remove cruft
1967
1968 2001-02-06  albert chin  <china@thewrittenword.com>
1969
1970         * snprintf.h:
1971         * fmt.C: use HAVE_DECL_SNPRINTF
1972
1973 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1974
1975         * lyxstring.C: Fix some assertions.
1976
1977 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
1978
1979         * lstrings.C (strip): Add a fix for compilers with broken
1980         string::find_last_not_of.
1981
1982         * filetools.C (AddPath): Simplify by using strip and frontStrip.
1983
1984 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
1985
1986         * lyxstring.C (rfind): Fix broken functions.
1987         (find): Few optimizations.