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