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