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