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