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