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