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