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