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