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