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