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