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