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