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