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