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