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