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