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