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