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