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