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