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