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