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