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