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