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