]> git.lyx.org Git - features.git/blob - src/support/ChangeLog
d89e3f3a00d54362b5684c65cf8a48045cca2558
[features.git] / src / support / ChangeLog
1 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2
3         * Makefile.am: fix typo.
4
5 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6
7         * std_string.h: delete file
8
9 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
10
11         * lstrings.C: Small fixes to build using STLport
12
13 2003-09-29  Angus Leeming  <leeming@lyx.org>
14
15         * filetools.C (ReplaceEnvironmentPath): make it work for both
16         ${HOME}/foo and $HOME/foo.
17
18 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
19
20         * debugstream.h: add file, updated version of the DebugStream
21
22         * DebugStream.C,DebugStream.h: delete files
23
24 2003-09-25  Angus Leeming  <leeming@lyx.org>
25
26         * filetools.C (ReplaceEnvironmentPath): rewrite to use boost::regex.
27         * lstrings.[Ch]: (regexMatch): removed.
28
29 2003-09-25  Angus Leeming  <leeming@lyx.org>
30
31         * translator.h (add): new member function.
32
33 2003-09-16  Angus Leeming  <leeming@lyx.org>
34
35         * textutils.h: remove #include "paragraph.h". Remove functions
36         IsInsetChar and IsWordChar.
37
38 2003-09-15  Angus Leeming  <leeming@lyx.org>
39
40         * copied_ptr.h: re-jig to something that resembles Herb Sutter's
41         HolderPtr --- see http://www.gotw.ca/gotw/062.htm. Also known in
42         his book as ValuePtr.
43         Use a memory_traits template parameter to create/destroy memory in a
44         flexible manner.
45
46 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
47
48         * tostr.C:
49         * lstrings.C:
50         * filetools.C: Remove usage of STRCONV
51
52         * Makefile.am (libsupport_la_SOURCES): remove lyxstring.C and
53         lyxstring.h
54
55         * std_string.h: modify to always work with std::string, but if
56         with-included-string then use it through namespace lyx. Remove
57         STRCONV.
58
59         * lyxstring.[Ch]: remove files
60
61 2003-09-15  Angus Leeming  <leeming@lyx.org>
62
63         * translator.h: add #include <boost/assert.hpp>, so that the
64         template is self-contained.
65
66 2003-09-11  Angus Leeming  <leeming@lyx.org>
67
68         * cow_ptr.h:
69         * copied_ptr.h: added to the repository. Maybe temporarily.
70
71 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
72
73         * Makefile.am (libsupport_la_SOURCES): remove LAssert.C and LAssert.h
74
75         * several files: change Assert to BOOST_ASSERT
76
77         * LAssert.C:
78         * LAssert.h: remove files
79
80 2003-09-08  Angus Leeming  <leeming@lyx.org>
81
82         * filename.C:
83         * filetools.C: tell the world where to find author contact details.
84
85 2003-09-08  Angus Leeming  <leeming@lyx.org>
86
87         * boost-inst.C:
88         * filetools.C:
89         * forkedcallqueue.C:
90         * lstrings.C:
91         * lyxsum.C: remove redundant using directives.
92
93 2003-09-05  Angus Leeming  <leeming@lyx.org>
94
95         * lstrings.C: small bformat fix
96
97 2003-09-05  Angus Leeming  <leeming@lyx.org>
98
99         * std_istream.h: new file Just renaming of LIstream.h
100         * std_ostream.h: new file Just renaming of LIstream.h
101         * std_sstream.h: new file Just renaming of Lsstream.h
102         * std_string.h:  new file Just renaming of LString.h
103
104 2003-09-05  Angus Leeming  <leeming@lyx.org>
105
106         * lyxmanip.h:
107         * textutils.h:
108         ensure that the header file can be compiled stand-alone.
109
110 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
111
112         * lstrings.[Ch] (bformat): add a variant taking two ints.
113
114 2003-09-04  Angus Leeming  <leeming@lyx.org>
115
116         * filetools.h:
117         * filename.C:  move #include "os.h" out of the header file.
118
119 2003-09-04  Angus Leeming  <leeming@lyx.org>
120
121         * path.C (ctor, dtor): move out of line.
122
123 2003-09-03  Angus Leeming  <leeming@lyx.org>
124
125         * filename.[Ch] (FileName): new c-tor takes abs_filename arg.
126         (mangledFilename): new function, returning a mangled version of the
127         absolute file name, suitable for use in the temp dir when, for example,
128         converting an image file to another format.
129         (isZipped, unzippedFilename): wrappers to global functions.
130
131         * filetools.[Ch] (copyFileToDir): removed.
132         (compare_timestamps): new function.
133
134 2003-09-03  Angus Leeming  <leeming@lyx.org>
135
136         * translator.h: Assert is in namespace lyx::support...
137
138 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
139
140         * Makefile.am: do not install path_defines.C in includes
141         (COMPRESSION): mention gzstream.h here
142
143 2003-08-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * path_defines.C.in (setLyxPaths): re-introduce the code to check
146         whether lyx is run in place
147         (build_dir): renamed from build_lyxdir
148         (build_lyxdir): give this better semantics compatible with what
149         LibFileSearch expects.
150
151 2003-07-29  Angus Leeming  <leeming@lyx.org>
152
153         * filename.[Ch] (relFilename, outputFilename): the 'path' arg
154         defaults to string() because MakeRelPath can accept that.
155
156 2003-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
157
158         * Makefile.am: conditionalize USE_COMPRESSION.
159
160 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
161
162         * filetools.C (getExtFromContents): correct magic for gzip and
163         compress.
164
165         * path_defines.[Ch]: move lyx_localedir out of anon namespace
166
167         * gzstream.h: new fileq
168
169         * gzstream.C: new file
170
171 2003-07-27  Angus Leeming  <leeming@lyx.org>
172
173         * path_defines.{h,C.in} (build_lyxdir, system_lyxdir,
174         user_lyxdir): are now functions, not global vars.
175
176         * Makefile.am: set build_lyxdir at make time.
177
178 2003-07-27  Angus Leeming  <leeming@lyx.org>
179
180         * path_defines.{h,C.in}: new files. Store/set the various lyx
181         paths, lyx_dir, top_srcdir, localedir, system_lyxdir, build_lyxdir
182         user_lyxdir.
183
184         * Makefile.am: add some magic to enable the user to set the path to
185         the system-level lyx support files, the top of the lyx build tree
186         and the system-level lyx locale directory at _make_ time rather
187         than configure time.
188
189         * .cvsignore: add path_defines.C.
190
191 2003-07-26  Angus Leeming  <leeming@lyx.org>
192
193         * os.h: remove irrelevant discussion of system_tempdir.
194
195 2003-07-21  Angus Leeming  <leeming@lyx.org>
196
197         * filename.[Ch]: new files implementing class FileName.
198         * Makefile.am: add filename.[Ch].
199
200 2003-07-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
201
202         * BoostFormat.h (boost): remove one extern template. Gcc 3.4. does
203         not allow it (at least not in this form.)
204
205 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
206
207         * os_win32.C: put namespace os in lyx::support.
208
209         * lstrings.C (bformat): call Assert from correct namespace.
210
211         * introduce namespace lyx::support
212
213 2003-06-30  André Pönitz  <poenitz@gmx.net>
214
215         * filetools.C:
216         * lstrings.C: re-enable --with-included-string
217
218 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
219
220         * filetools.h: fix some \param issue
221
222         * boost-inst.C: fix \file
223
224         * LAssert.h: fix \file
225
226 2003-06-20  Angus Leeming  <leeming@lyx.org>
227
228         * filetools.[Ch] (NormalizePath): also change /foo//bar ==> /foo/bar.
229
230 2003-06-18  Angus Leeming  <leeming@lyx.org>
231
232         * many files: add the standard blurb, "This file is part of LyX" etc
233
234 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
235
236         * limited_stack.h: make it have a const_iterator, add begin, and
237         end as interface.
238
239 2003-06-10  Angus Leeming  <leeming@lyx.org>
240
241         * filetools.C (copyFileToDir): ensure that temp files have unique names.
242
243 2003-06-04  André Pönitz  <poenitz@gmx.net>
244
245         * limited_stack.h (top): return reference instead of value
246
247 2003-06-02  Angus Leeming  <leeming@lyx.org>
248
249         * filetools.[Ch] (copyFileToDir): new helper function.
250
251         * os.h: remove trailing semi-colon from end of namespace os block.
252
253 2003-06-01  Angus Leeming  <leeming@lyx.org>
254
255         * filetools.h (LibScriptSearch): give the function a meaningful
256         description of what it now does.
257
258 2003-05-30  Angus Leeming  <leeming@lyx.org>
259
260         * filetools.C (LibScriptSearch): make it search for "$$s/" and replace
261         this with the path to the script. If the script is not found, the "$$s/"
262         string is removed.
263
264 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
265
266         * lstrings.[Ch] (prefixIs,suffixIs,subst): remove variants taking
267         char const *.
268
269 2003-05-19  André Pönitz  <poenitz@gmx.net>
270
271         * lstrings.C: add missing implementation of three-arg bformat
272
273         * lstrings.C: change rest of char * fmt -> string const & fmt
274
275
276 2003-05-15  André Pönitz  <poenitz@gmx.net>
277
278         * lstrings.[Ch]: use string const & instead of char const * for format
279
280 2003-05-12  André Pönitz  <poenitz@gmx.net>
281
282         * tostr.[Ch]: add long int overload
283
284 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
285
286         * lstrings.[Ch]: compile fix
287
288 2003-05-12  André Pönitz  <poenitz@gmx.net>
289
290         * lstrings.[Ch]: bformat() as wrapper around boost::format
291
292         * lyxstring.h: enable templatized constructor
293
294 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
295
296         * limited_stack.h: Change some comments, simplify a couple of
297         class functions.
298
299 2003-02-21  André Pönitz <poenitz@gmx.net>
300
301         * limited_stack.h: change underlying container to deque to
302           make this re-usable in mathed
303
304 2003-04-08  John Levon  <levon@movementarian.org>
305
306         * filetools.C: fix MakeDisplayPath() to not
307         lie (bug 993)
308
309 2003-03-30  John Levon  <levon@movementarian.org>
310
311         * Makefile.am:
312         * BoostFormat.h:
313         * boost-inst.C: moved from src/
314
315 2003-03-29  John Levon  <levon@movementarian.org>
316
317         * filetools.h:
318         * filetools.C: never call Alert directly from here
319
320 2003-03-12  John Levon  <levon@movementarian.org>
321
322         * textutils.h: remove META_NEWLINE
323
324 2003-02-27  Ling Li  <ling@caltech.edu>
325
326         * lyxalgo.h (eliminate_duplicates): re-written to avoid the initial
327         sort.
328
329 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
330
331         * forkedcontr.C (timer): remove bogus continue
332
333 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
334
335         * forkedcallqueue.[Ch]: added
336
337 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
338
339         * forkedcontr.C (timer): Start the loop afresh if an item is deleted.
340         Emiting the signal can result in an arbitrary change to the list.
341
342 2003-02-25  Angus Leeming  <leeming@lyx.org>
343
344         * forkedcontr.C (timer): Use a while loop rather than for; makes it
345         easier to erase an element.
346
347 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
348
349         * forkedcontr.C (timer): don't start a running timer.
350
351 2003-02-21  André Pönitz <poenitz@gmx.net>
352
353         * filetools.C (PutEnv): removed (unused)
354
355 2003-02-17  John Levon  <levon@movementarian.org>
356
357         * forkedcall.h:
358         * forkedcall.C: add running()
359
360 2003-02-08  John Levon  <levon@movementarian.org>
361
362         * Makefile.am:
363         * lyxtime.h:
364         * lyxtime.C: add typedef for time_t, add current_time
365
366         * Makefile.am:
367         * userinfo.h:
368         * userinfo.C: add
369
370 2002-12-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
371
372         * filetools.C (getExtFromContents): remove detection of epsi
373
374 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
375
376         * several files: ws changes
377
378 2002-11-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
379
380         * filetools.C (DirList): remove all ugly hacks and do it nice
381
382 2002-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
383
384         * lyxsum.C: an ugly hack to compile with non-gnu linkers
385
386 2002-11-12  Angus Leeming  <aleem@pneumon.bg.ic.ac.uk>
387
388         * lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
389         a solution that he likes and which actually works.
390
391 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
392
393         * lstrings.h (tostr): STRCONV
394
395         * lstrings.C (regexMatch): STRCONV
396         (getVectorFromString): STRCONV, manual copy into vector
397
398         * filetools.C (GetFileContents): STRCONV
399
400         * os.C: include config.h
401
402         * lstrings.C (getVectorFromString): rewrite to use
403         boost::tokenizer
404
405 2002-10-31  Angus Leeming  <leeming@lyx.org>
406
407         * forkedcall.C (generateChild): clean it up further.
408
409 2002-10-25  Angus Leeming  <leeming@lyx.org>
410
411         * forkedcall.[Ch]: split ForkedCall up into a base class ForkedProcess
412         and a minimal ForkedCall daughter class.
413
414         * forkedcontr.[Ch]: minimal changes reflecting the use of a
415         ForkedProcess base class responsible for launching all child proceses.
416
417 2002-09-25  Angus Leeming  <leeming@lyx.org>
418
419         * LIstream.h:
420         * LOstream.h: doxygen fixes.
421
422 2002-09-24  Angus Leeming  <leeming@lyx.org>
423
424         * most files: clean-up the license info.
425
426 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
427
428         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
429
430 2002-09-16  Kayvan A. Sylvan  <kayvan@sylvan.com>
431
432         * os.h, os_os2.C, os_win32.C, os_unix.C: Added popen_read_mode(),
433         since at least for Cygwin, the "rb" read_mode acceptable for
434         fopen() is illegal for popen(), whose mode argument *must* be "r"
435         or "w".
436
437         * filetools.C (RunCommand): Uses os::popen_read_mode() instead
438         of os::read_mode()
439
440 2002-08-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
441
442         * Makefile.am (libsupport_la_SOURCES): delete smart_ptr.h and
443         utility.h
444
445         * smart_ptr.h: remove file
446         * utility.h: ditto
447
448 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
449
450         * lyxfunctional.h: remove class_fun_t, void_class_fun_t,
451         class_fun and void_class_fun
452
453 2002-08-20  John Levon  <levon@movementarian.org>
454
455         * Makefile.am:
456         * fmt.C: remove
457
458 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
459
460         * textutils.h: formatting.
461
462 2002-08-08  John Levon  <levon@movementarian.org>
463
464         * limited_stack.h: default to 100 not 10
465
466 2002-08-01  John Levon  <levon@movementarian.org>
467
468         * forkedcall.C: more details on error
469
470 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
471
472         * lstrings.[hC]: rename stip to rtrim and frontStrip to ltrim,
473         also add a trim function that is the equiv of
474         strip(frontStrip(...)), also reimplement the functions
475         (improvements still possible.)
476
477         * filetools.C: strip,frontStrip -> trim,ltrim,rtrim
478         * forkedcall.C (generateChild): ditto
479         * lstrings.C: ditto
480
481
482 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
483
484         * filetools.C (GetEnvPath): modify because of strip changes
485         (createDirectory): ditto
486         (findtexfile): ditto
487         * lstrings.[Ch] (isStrInt): ditto
488         (isStrUnsignedInt): ditto
489         (strToInt): ditto
490         (strToUnsignedInt): ditto
491         (isStrDbl): ditto
492         (contains): removed unneeded version of contains
493         (containsOnly): removed uneeded versions of containsOnly
494         (strip, frontStrip): removed unneded versions, changed argument types.
495
496 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
497
498         * filetools.C (RunCommand): Made public
499
500 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
501
502         * limited_stack.h: fix comment, remove un-needed header
503
504 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
505
506         * lstrings.h: correct comments for token and tokenPos
507
508 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
509
510         * lyxstring.C (operator>>): replace code which works only with
511         _some_ versions of GNU STL with generic one
512
513 2002-07-18  Angus Leeming  <leeming@lyx.org>
514
515         * FileMonitor.[Ch]: new files. Monitor a file for any change and emit a
516         signal should it do so.
517
518         * Makefile.am: add FileMonitor.[Ch].
519
520 2002-07-18  André Pönitz <poenitz@gmx.net>
521
522         * filetools.C (LibScriptSearch): bug fix
523
524 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
525
526         * filetools.C (LyXReadLink): add bool 'resolve' to return link
527         contents as an absolute path
528
529 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
530
531         * filetools.C (IsLyXFilename):
532         (IsSGMLFilename): use ascii_lowercase instead of lowercase
533
534         * lstrings.[Ch] (ascii_lowercase): new function
535
536 2002-07-16  André Pönitz <poenitz@gmx.net>
537
538         * FileInfo.Ch: remove unneeded code
539
540 2002-06-20  Herbert Voss  <voss@perce.de>
541
542         * filetools.[C] (readExtFromContents): add support for
543         (x)fig format images
544
545 2002-06-26  André Pönitz <poenitz@gmx.net>
546
547         * filetools.[Ch]: small whitespace, more compact 'return' statement
548
549 2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
550
551         * lyxalgo.h: add eliminate_duplicates
552
553 2002-06-17  Herbert Voss  <voss@perce.de>
554
555         * filetools.[C]: (readBB_from_PSFile) add a helperfunc
556         (readBB_lyxerrMessage) to get better lyxerr messages
557         (getExtFromContents) test epsi files in the right way
558
559         * DestroxLyXTmpDir.C: changed to true, to delete the
560         temporary unzipped files, too.
561
562 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
563
564         * putenv.C (putenv): putenv should never be found in std::
565
566         * kill.C (kill): kill should never be found in std::
567
568         * filetools.C: pclose and popen should never be found in std::
569
570 2002-06-07  Angus Leeming  <leeming@lyx.org>
571
572         Fixes needed to compile with Compaq cxx 6.5.
573         * lyxfunctional.h: rename lyx::class_fun(C & c, void(C::*f)(A)) as
574         lyx::void_class_fun to avoid compiler problems with Compaq cxx 6.5:
575         more than one instance of overloaded function "lyx::class_fun" matches
576         the argument list.
577
578         * filetools.C:
579         * kill.C:
580         * lstrings.C:
581         * putenv.C:
582         * snprintf.h:
583         * systemcall.C:
584         * utility.h:
585         all c-library variables have been moved into namespace std.
586         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
587
588         * kill.C: rename signal.h as csignal.
589
590         * putenv.C: rename stdlib.h as cstdlib
591
592 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
593
594         * lxtl.h: remove unused file
595
596 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
597
598         * Makefile.am:
599         * date.C:
600         * getUserName.C:
601         * fileblocks.c:
602         * StrPool.h:
603         * StrPool.C: remove unused files
604
605         * lyxalgo.h:
606         * lyxlib.h:
607         * mkdir.C:
608         * path.h:
609         * path.C:
610         * systemcall.C:
611         * textutils.h:
612         * translator.h:
613         * types.h: document and small cleanups
614
615 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
616
617         * switch from SigC signals to boost::signals.
618
619 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
620
621         * Makefile.am:
622         * limited_stack.h: new template for limited-size
623           stacks
624
625 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
626
627         * filetools.C: do not include LSubstring.h
628
629         * lstrings.C: change include order
630         (regexMatch): use boost regex get rid of LRegex and LSubstring
631
632         * Makefile.am (libsupport_la_SOURCES): delete regex and substring
633         stuff.
634
635         * LSubstring.h: remove file
636         * regex.c: ditto
637         * lyxregex.h: ditto
638         * LRegex.C: ditto
639         * LRegex.h: ditto
640         * LSubstring.C: ditto
641
642 2002-05-24  Juergen Vigna  <jug@sad.it>
643
644         * lyxsum.C: include local includes first (self containment)
645
646 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
647
648         * forkedcall.h: use more specific smart_ptr header.
649
650         * lyxsum.C: move some using declarations around.
651
652 2002-05-03  Herbert Voss  <voss@perce.de>
653
654         * filetools.C (getExtFromContents): only print the first 60 chars of
655         the scanned-string when debugging.
656
657 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
658
659         * lyxstring.C: close to typo fix.
660
661 2002-05-02  Angus Leeming  <a.leeming@ic.ac.uk>
662
663         * filetools.C: add a using std::getline directive.
664
665 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
666
667         * lyxstring.C (operator>>): try a new version of the operator>>
668
669 2002-04-14  Herbert Voss  <voss@perce.de>
670
671         * lstrings.[Ch]: move the getVectorFromString and the vice versa
672         from frontends/controllers/helper_funcs for better use in other
673         programs
674
675 2002-04-15  Angus Leeming  <a.leeming@ic.ac.uk>
676
677         * tempname.C (make_tempfile): simplify the #ifdef block by using
678         #if defined and re-write the #warning as a #error because it's terminal.
679
680 2002-04-08  Herbert Voss  <voss@perce.de>
681
682         * filetools.C (getExtFromContents): get tgif run
683
684 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
685
686         * filetools.C (getExtFromContents): re-format a little and remove
687         replicated "sgi" entry.
688
689 2002-04-07  Herbert Voss  <voss@perce.de>
690
691         * filetools.[Ch]: add readBB_from_PSFile() to make bb available
692         for the lyx-view in graphics (moved from ControlGraphics)
693
694 2002-04-07  Herbert Voss  <voss@perce.de>
695
696         * filetools.C: fix bug for eps. scans now a whole line
697
698 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
699
700         * lyxstring.C (operator>>): use the better solution, this fixes a
701         "not able to read '\0'" bug.
702
703 2002-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
704
705         * translator.h: add missing typename
706
707 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
708
709         * filetools.C (LibScriptSearch): new command. Searches for scripts
710         in lyx data directories.
711         (LibScriptSearch): try to use split() correctly.
712
713 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
714
715         * most files: ws cleanup
716
717         * Makefile.am: remove ld -r stuff
718
719 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
720
721         * Makefile.am (libsupport.la): special rules if partial linking
722
723 2002-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
724
725         * forkedcontr.C: turn the timer off when their are no longer any
726         child processes running.
727
728 2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
729
730         * forkedcall.h: docy fix
731         change SignalType second type to be const ref.
732
733         * forkedcall.C: doxy fix
734
735 2002-03-11  Kayvan A. Sylvan  <kayvan@sylvan.com>
736
737         * lyxsum.C: compilation fix
738
739 2002-03-02  Herbert Voss  <voss@perce.de>
740
741         * filetools.C: fix bug for xbm format and added some more debug
742         infos
743
744 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
745
746         * forkedcontr.h: make constructor public
747
748         * types.h: remove layout_type
749
750 2002-03-01  Angus Leeming  <a.leeming@ic.ac.uk>
751
752         * filetools.C (getExtFromContents): cleanup.
753
754         * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
755
756 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
757
758         * Makefile.am (SIGC_INCLUDES): add a -I directive for when
759         building outside of source tree.
760
761 2002-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
762
763         * forkedcall.[Ch]:
764         * forkedcontr.[Ch]: new files. Asger's forked call controller is
765         re-born, with a working timer and a modified interface. The
766         startscript method is now passed a Signal rather than a pointer
767         to a callback function. This enables us to connect to the method of
768         a C++ class, if we so desire.
769
770         * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
771
772 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
773
774         * Makefile.am:
775         * os2_defines.h:
776         * os2_errortable.h:
777         * nt_defines.h: moved from src/
778
779 2002-02-23  Herbert Voss  <voss@perce.de>
780
781         * filetools.C: added more graphic formats
782
783 2002-02-18  Herbert Voss  <voss@perce.de>
784
785         * filetools.C: (getExtFromContents) return the fileextension
786         if no format is detected.
787
788 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
789
790         * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
791         as class SystemCall because one Systemcall instance represents a
792         single child process.
793
794         * filetools.C:
795         * Makefile.am: associated changes.
796
797 2002-02-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
798
799         * syscall.C (Systemcalls): include <cstdlib>
800
801 2002-02-08  Herbert Voss  <voss@perce.de>
802
803         * filetools.C: (getExtFromContents) adding Grace-format
804         for filetypes
805
806 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
807
808         * syscontr.[Ch]:
809         * syssingleton.C: files removed.
810
811         * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
812         uses it. Strip down the Systemcalls interface to make it brutally
813         obvious how unsophisticated it is.
814
815 2002-02-08  Herbert Voss  <voss@perce.de>
816
817         * filetools.C: (getExtFromContents) adding TGIF-format
818         and return type "user" when no type is detected
819
820 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
821
822         * textutils.h: remove IsLineSeparatorChar(char, Inset *)
823
824 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
825
826         * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
827
828 2002-02-08  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
829
830         * FileInfo.h: remove special cygwin code.
831
832         * filetools.C (do_popen): use os::read_mode().
833
834         * os_win32.C (read_mode):
835         * os_os2.C (read_mode):
836         * os_unix.C (read_mode): new method
837
838         * filetools.C (do_popen): fix for cygwin compatibility (from Claus
839         Hentschel). This code should maybe be moved to os:: class.
840
841 2002-02-08  Herbert Voss  <voss@perce.de>
842
843         * filetools.C: (unzipFile) fix typo
844
845 2002-02-06  Herbert Voss  <voss@perce.de>
846
847         * filetools.[Ch]: fix some bugs for detecting zipped files
848         adding unzipFile()
849
850 2002-02-04  Herbert Voss  <voss@perce.de>
851
852         * filetools.[Ch]: add ifZippedFile() for zipped
853         graphic files
854
855 2002-02-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
856
857         * filetools.C (FileOpenSearch): remove duplicated line, probably
858         resulting from bad cut-and paste.
859
860 2002-01-31  Herbert Voss  <voss@perce.de>
861
862         * filetools.[Ch]: add getExtFromContents(), which returns
863         the type of the (graphic) file
864
865 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
866
867         * copy.C (copy): open file in binary mode (for cygwin)
868
869 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
870
871         * lyxsum.C: remove #warnings and replaced them with runtime debug
872         info.
873
874 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
875
876         * lyxalgo.h: include <algorithm>
877
878 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
879
880         * lyx_algo.h: add a standard-conforming count to namespace lyx.
881
882         * lstrings.[Ch] (countChar): removed. Use lyx::count.
883
884 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
885
886         * filetools.C: fix use of FileInfo
887
888         * FileInfo.h:
889         * FileInfo.C: add Asserts and documentation
890
891 2001-12-20  Kayvan A. Sylvan  <kayvan@sylvan.com>
892
893         * os_win32.C: compilation fixes
894
895 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
896
897         * lstrings.h: do not include <cctype>
898
899 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
900
901         * lyxsum.C: portability fix for mmap patch
902
903 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
904
905         * filetools.C:
906         * lstrings.C:
907         * lyxstring.C: change "while(" to "while ("
908
909 2001-12-03  Ben Stanley <bds02@uow.edu.au>
910
911         * lyxsum.C: Added mmap version of CRC and made it selected
912         by default where available. Used process_block for crc for speedup.
913
914 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
915
916         * filetools.C: more robust failure for DirList()
917
918 2001-11-29  André Pönitz <poenitz@gmx.net>
919
920         * types.h: introduce types for textclass numbers and layout numbers
921
922 2001-11-28  André Pönitz <poenitz@gmx.net>
923
924         * Makefile.am: put types.h in
925
926 2001-11-26  André Pönitz <poenitz@gmx.net>
927
928         * types.h: introduce types for paragraph positions and layout numbers
929
930 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
931
932         * filetools.C: remove dead code
933
934         * syscall.C: show prog in fail case
935
936 2001-10-24  Andre Poenitz  <poenitz@HTWM.De>
937
938         * filetools.C: code style cleanup
939
940 2001-10-23  Angus Leeming  <a.leeming@ic.ac.uk>
941
942         * os.h: remove spurious punctuation.
943
944 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
945
946         * LAssert.h:
947         * LAssert.C: use new emergencyCleanup()
948
949 2001-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
950
951         * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
952         like GNU gettext does.
953
954 2001-10-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
955
956         * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
957         several methods)
958         (findtexfile): oops! the change from last friday was wrong...
959
960         * os_win32.C (is_absolute_path):
961         * os_unix.C (is_absolute_path):
962         * os_os2.C (is_absolute_path): new method
963
964 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
965
966         * filetools.C (findtexfile): apply os::internal_path to the result.
967
968 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
969
970         * os_win32.C:
971         * os_unix.C:
972         * os_os2.C:
973         * os.h: add internal_path method, which converts a unix-type file
974         name to the type known to the underlying file system (currently
975         only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
976
977 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
978
979         * smart_ptr.h: new file
980
981         * utility.h: new file
982
983 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
984
985         * filetools.h:
986         * filetools.C (IsDirWriteable): fix this
987
988 2001-07-26  Baruch Even  <baruch@lyx.org>
989
990         * lyxlib.h (float_equal): Added function to compare floats almost equal
991         (see function comment).
992
993 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
994
995         Consistent use of Lsstream.h:
996         * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
997
998 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
999
1000         * translator.h: (*it). -> it->
1001
1002 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
1003
1004         * filetools.C (DeleteAllFilesInDir): send debug output to
1005         Debug::FILES instewad of Debug::ANY.
1006
1007         * DebugStream.h: remove gcc 2.8.x hack.
1008
1009 2001-06-26  The LyX Project  <jug@sad.it>
1010
1011         * lstrings.h:
1012         * lstrings.C (escape): move method to escape non ascii characters
1013         from insets label and ref to here.
1014
1015 2001-06-25  The LyX Project  <jug@sad.it>
1016
1017         * filetools.C (IsLyXFilename):
1018         (IsSGMLFilename): do case insensitive name matching
1019
1020 2001-06-24  The LyX Project  <jug@sad.it>
1021
1022         * lstrings.C (compare_ascii_no_case): version of compare_no_case
1023         which only considers case of ascii characters
1024
1025         * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
1026         sstream header.
1027
1028 2001-06-23  The LyX Project  <jug@sad.it>
1029
1030         * textutils.h (IsPrintable): take into account unprintable spaces
1031         above 127.
1032         (IsDigit): new function
1033         (IsLetterCharOrDigit): use IsDigit
1034
1035 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1036
1037         * filetools.C (findtexfile): strip final \r if necessary (for
1038         cygwin)
1039
1040 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
1041
1042         * FileInfo.C:
1043         * StrPool.C: removed // -*- C++ -*- as first line.
1044
1045 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1046
1047         * lyxsum.C (do_crc): switch to use boost::crc for generating the
1048         checksum.
1049
1050 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1051
1052         * lstrings.C:
1053         * syscall.C:
1054         * syscontr.C:
1055         * LSubstring.C: bring C functions in global namespace if
1056         necessary.
1057
1058         * lstrings.h (compare): use the std:: version of str[n]cmp only
1059         when it exists.
1060
1061 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1062
1063         * syscontr.C: add std::
1064
1065         * syscall.C: add std::
1066
1067         * lstrings.h (compare): add std::
1068
1069         * lstrings.C (prefixIs): add std::
1070         (suffixIs): ditto
1071         (subst): ditto
1072
1073         * LSubstring.C (LSubstring): add std::
1074
1075 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1076
1077         * lyxsum.C (sum): use istreambuf_iterator when available.
1078
1079 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1080
1081         * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
1082         directly instead.
1083
1084         * lyxstring.C (operator): make const operator[] behave as
1085         non-const and at.
1086
1087 2001-05-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1088
1089         * Makefile.am (EXTRA_DIST): add the os_*.C files.
1090
1091 2001-05-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1092
1093         * filetools.C (MakeAbsPath): remove debugging statement
1094
1095 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
1096
1097         * FileInfo.h: X_OK workaround for cygwin
1098
1099         * Makefile.am:
1100         * os.C:
1101         * os.h:
1102         * os_os2.C:
1103         * os_unix.C:
1104         * os_win32.C:
1105         * filetools.C:
1106         * filetools.h: Added os:: class.
1107
1108         * rename.C:
1109         * syscall.C:
1110         * tempname.C: OS/2 fixes
1111
1112 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1113
1114         * textutils.h: remvoe !NEW_INSETS cruft
1115
1116 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1117
1118         * fmt.C:
1119         * atoi.C: add using directives when needed for C functions
1120         declared in std:: namespace.
1121
1122 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1123
1124         * lstrings.C : add two helper structs, local_lowercase and
1125         local_uppercase.
1126         (lowercase): change to use std::transform
1127         (uppercase): change to use std::transform
1128
1129 2001-04-25  Allan Rae  <rae@lyx.org>
1130
1131         * lyxstring.C : Assert got moved and Lars missed a few.
1132
1133 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1134
1135         * LAssert.h (Assert): put into namespace lyx
1136
1137         * lyxfunctional.h: put into namespace lyx
1138         * translator.h: adjust
1139
1140 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1141
1142         * lyxalgo.h: put into namespace lyx, add firster and copy_if
1143
1144         * FileInfo.h: inherit privately from noncopyable
1145         * path.h: ditto
1146
1147 2001-04-16  Allan Rae  <rae@lyx.org>
1148
1149         * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
1150         as an unrecognised preprocessor directive.  So ensure they're wrapped.
1151
1152 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1153
1154         * several files: remove CXX_WORKING_NAMESPACES
1155
1156         * FileInfo.h: noncopyable is in namespace boost
1157         * path.h: ditto
1158
1159 2001-02-16  John Levon  <moz@compsoc.man.ac.uk>
1160
1161         * syscontr.h: fix header include
1162
1163 2001-02-28  Baruch Even  <baruch@ev-en.org>
1164
1165         * filetools.C: Removed dependency on syscall.h
1166
1167         * syscall.h:
1168         * syscall.C: Minor cleanings before I start to touch this code.
1169
1170 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1171
1172         * filetools.C (CreateTmpDir): change umask to 0700.
1173
1174 2001-02-27  José Matos  <jamatos@fep.up.pt>
1175
1176         * filetools.h (BasePath):
1177         * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
1178
1179         * filetools.C (IsLyXFilename):
1180         * filetools.C (IsSGMLFilename): test if extension is suffix and not
1181         only contained.
1182
1183 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1184
1185         * fmt.C:
1186         * filetools.C:
1187         * atoi.C: remove cruft
1188
1189 2001-02-06  albert chin  <china@thewrittenword.com>
1190
1191         * snprintf.h:
1192         * fmt.C: use HAVE_DECL_SNPRINTF
1193
1194 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1195
1196         * lyxstring.C: Fix some assertions.
1197
1198 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
1199
1200         * lstrings.C (strip): Add a fix for compilers with broken
1201         string::find_last_not_of.
1202
1203         * filetools.C (AddPath): Simplify by using strip and frontStrip.
1204
1205 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
1206
1207         * lyxstring.C (rfind): Fix broken functions.
1208         (find): Few optimizations.