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