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