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