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