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