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