]> git.lyx.org Git - lyx.git/blob - src/support/ChangeLog
(Herbert): TGIF graphics should now work.
[lyx.git] / src / support / ChangeLog
1 2002-04-08  Herbert Voss  <voss@perce.de>
2
3         * filetools.C (getExtFromContents): get tgif run 
4
5 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
6
7         * filetools.C (getExtFromContents): re-format a little and remove
8         replicated "sgi" entry.
9
10 2002-04-07  Herbert Voss  <voss@perce.de>
11
12         * filetools.[Ch]: add readBB_from_PSFile() to make bb available
13         for the lyx-view in graphics (moved from ControlGraphics)
14
15 2002-04-07  Herbert Voss  <voss@perce.de>
16
17         * filetools.C: fix bug for eps. scans now a whole line
18
19 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
20
21         * lyxstring.C (operator>>): use the better solution, this fixes a
22         "not able to read '\0'" bug.
23
24 2002-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
25
26         * translator.h: add missing typename
27
28 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
29
30         * filetools.C (LibScriptSearch): new command. Searches for scripts
31         in lyx data directories.
32         (LibScriptSearch): try to use split() correctly.
33
34 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
35
36         * most files: ws cleanup
37
38         * Makefile.am: remove ld -r stuff
39
40 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
41
42         * Makefile.am (libsupport.la): special rules if partial linking
43
44 2002-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
45
46         * forkedcontr.C: turn the timer off when their are no longer any
47         child processes running.
48
49 2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
50
51         * forkedcall.h: docy fix
52         change SignalType second type to be const ref.
53
54         * forkedcall.C: doxy fix
55
56 2002-03-11  Kayvan A. Sylvan  <kayvan@sylvan.com>
57
58         * lyxsum.C: compilation fix
59
60 2002-03-02  Herbert Voss  <voss@perce.de>
61
62         * filetools.C: fix bug for xbm format and added some more debug
63         infos
64
65 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
66
67         * forkedcontr.h: make constructor public
68
69         * types.h: remove layout_type
70
71 2002-03-01  Angus Leeming  <a.leeming@ic.ac.uk>
72
73         * filetools.C (getExtFromContents): cleanup.
74
75         * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
76
77 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
78
79         * Makefile.am (SIGC_INCLUDES): add a -I directive for when
80         building outside of source tree.
81
82 2002-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
83
84         * forkedcall.[Ch]:
85         * forkedcontr.[Ch]: new files. Asger's forked call controller is
86         re-born, with a working timer and a modified interface. The
87         startscript method is now passed a Signal rather than a pointer
88         to a callback function. This enables us to connect to the method of
89         a C++ class, if we so desire.
90
91         * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
92
93 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
94
95         * Makefile.am:
96         * os2_defines.h:
97         * os2_errortable.h:
98         * nt_defines.h: moved from src/
99
100 2002-02-23  Herbert Voss  <voss@perce.de>
101
102         * filetools.C: added more graphic formats
103
104 2002-02-18  Herbert Voss  <voss@perce.de>
105
106         * filetools.C: (getExtFromContents) return the fileextension
107         if no format is detected.
108
109 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
110
111         * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
112         as class SystemCall because one Systemcall instance represents a
113         single child process.
114
115         * filetools.C:
116         * Makefile.am: associated changes.
117
118 2002-02-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
119
120         * syscall.C (Systemcalls): include <cstdlib>
121
122 2002-02-08  Herbert Voss  <voss@perce.de>
123
124         * filetools.C: (getExtFromContents) adding Grace-format
125         for filetypes
126
127 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
128
129         * syscontr.[Ch]:
130         * syssingleton.C: files removed.
131
132         * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
133         uses it. Strip down the Systemcalls interface to make it brutally
134         obvious how unsophisticated it is.
135
136 2002-02-08  Herbert Voss  <voss@perce.de>
137
138         * filetools.C: (getExtFromContents) adding TGIF-format
139         and return type "user" when no type is detected
140
141 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
142
143         * textutils.h: remove IsLineSeparatorChar(char, Inset *)
144
145 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
146
147         * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
148
149 2002-02-08  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
150
151         * FileInfo.h: remove special cygwin code.
152
153         * filetools.C (do_popen): use os::read_mode().
154
155         * os_win32.C (read_mode):
156         * os_os2.C (read_mode):
157         * os_unix.C (read_mode): new method
158
159         * filetools.C (do_popen): fix for cygwin compatibility (from Claus
160         Hentschel). This code should maybe be moved to os:: class.
161
162 2002-02-08  Herbert Voss  <voss@perce.de>
163
164         * filetools.C: (unzipFile) fix typo
165
166 2002-02-06  Herbert Voss  <voss@perce.de>
167
168         * filetools.[Ch]: fix some bugs for detecting zipped files
169         adding unzipFile()
170
171 2002-02-04  Herbert Voss  <voss@perce.de>
172
173         * filetools.[Ch]: add ifZippedFile() for zipped
174         graphic files
175
176 2002-02-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
177
178         * filetools.C (FileOpenSearch): remove duplicated line, probably
179         resulting from bad cut-and paste.
180
181 2002-01-31  Herbert Voss  <voss@perce.de>
182
183         * filetools.[Ch]: add getExtFromContents(), which returns
184         the type of the (graphic) file
185
186 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
187
188         * copy.C (copy): open file in binary mode (for cygwin)
189
190 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
191
192         * lyxsum.C: remove #warnings and replaced them with runtime debug
193         info.
194
195 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
196
197         * lyxalgo.h: include <algorithm>
198
199 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
200
201         * lyx_algo.h: add a standard-conforming count to namespace lyx.
202
203         * lstrings.[Ch] (countChar): removed. Use lyx::count.
204
205 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
206
207         * filetools.C: fix use of FileInfo
208
209         * FileInfo.h:
210         * FileInfo.C: add Asserts and documentation
211
212 2001-12-20  Kayvan A. Sylvan  <kayvan@sylvan.com>
213
214         * os_win32.C: compilation fixes
215
216 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
217
218         * lstrings.h: do not include <cctype>
219
220 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
221
222         * lyxsum.C: portability fix for mmap patch
223
224 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
225
226         * filetools.C:
227         * lstrings.C:
228         * lyxstring.C: change "while(" to "while ("
229
230 2001-12-03  Ben Stanley <bds02@uow.edu.au>
231
232         * lyxsum.C: Added mmap version of CRC and made it selected
233         by default where available. Used process_block for crc for speedup.
234
235 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
236
237         * filetools.C: more robust failure for DirList()
238
239 2001-11-29  André Pönitz <poenitz@gmx.net>
240
241         * types.h: introduce types for textclass numbers and layout numbers
242
243 2001-11-28  André Pönitz <poenitz@gmx.net>
244
245         * Makefile.am: put types.h in
246
247 2001-11-26  André Pönitz <poenitz@gmx.net>
248
249         * types.h: introduce types for paragraph positions and layout numbers
250
251 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
252
253         * filetools.C: remove dead code
254
255         * syscall.C: show prog in fail case
256
257 2001-10-24  Andre Poenitz  <poenitz@HTWM.De>
258
259         * filetools.C: code style cleanup
260
261 2001-10-23  Angus Leeming  <a.leeming@ic.ac.uk>
262
263         * os.h: remove spurious punctuation.
264
265 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
266
267         * LAssert.h:
268         * LAssert.C: use new emergencyCleanup()
269
270 2001-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
271
272         * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
273         like GNU gettext does.
274
275 2001-10-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
276
277         * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
278         several methods)
279         (findtexfile): oops! the change from last friday was wrong...
280
281         * os_win32.C (is_absolute_path):
282         * os_unix.C (is_absolute_path):
283         * os_os2.C (is_absolute_path): new method
284
285 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
286
287         * filetools.C (findtexfile): apply os::internal_path to the result.
288
289 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
290
291         * os_win32.C:
292         * os_unix.C:
293         * os_os2.C:
294         * os.h: add internal_path method, which converts a unix-type file
295         name to the type known to the underlying file system (currently
296         only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
297
298 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
299
300         * smart_ptr.h: new file
301
302         * utility.h: new file
303
304 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
305
306         * filetools.h:
307         * filetools.C (IsDirWriteable): fix this
308
309 2001-07-26  Baruch Even  <baruch@lyx.org>
310
311         * lyxlib.h (float_equal): Added function to compare floats almost equal
312         (see function comment).
313
314 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
315
316         Consistent use of Lsstream.h:
317         * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
318
319 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
320
321         * translator.h: (*it). -> it->
322
323 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
324
325         * filetools.C (DeleteAllFilesInDir): send debug output to
326         Debug::FILES instewad of Debug::ANY.
327
328         * DebugStream.h: remove gcc 2.8.x hack.
329
330 2001-06-26  The LyX Project  <jug@sad.it>
331
332         * lstrings.h:
333         * lstrings.C (escape): move method to escape non ascii characters
334         from insets label and ref to here.
335
336 2001-06-25  The LyX Project  <jug@sad.it>
337
338         * filetools.C (IsLyXFilename):
339         (IsSGMLFilename): do case insensitive name matching
340
341 2001-06-24  The LyX Project  <jug@sad.it>
342
343         * lstrings.C (compare_ascii_no_case): version of compare_no_case
344         which only considers case of ascii characters
345
346         * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
347         sstream header.
348
349 2001-06-23  The LyX Project  <jug@sad.it>
350
351         * textutils.h (IsPrintable): take into account unprintable spaces
352         above 127.
353         (IsDigit): new function
354         (IsLetterCharOrDigit): use IsDigit
355
356 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
357
358         * filetools.C (findtexfile): strip final \r if necessary (for
359         cygwin)
360
361 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
362
363         * FileInfo.C:
364         * StrPool.C: removed // -*- C++ -*- as first line.
365
366 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
367
368         * lyxsum.C (do_crc): switch to use boost::crc for generating the
369         checksum.
370
371 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
372
373         * lstrings.C:
374         * syscall.C:
375         * syscontr.C:
376         * LSubstring.C: bring C functions in global namespace if
377         necessary.
378
379         * lstrings.h (compare): use the std:: version of str[n]cmp only
380         when it exists.
381
382 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
383
384         * syscontr.C: add std::
385
386         * syscall.C: add std::
387
388         * lstrings.h (compare): add std::
389
390         * lstrings.C (prefixIs): add std::
391         (suffixIs): ditto
392         (subst): ditto
393
394         * LSubstring.C (LSubstring): add std::
395
396 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
397
398         * lyxsum.C (sum): use istreambuf_iterator when available.
399
400 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
401
402         * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
403         directly instead.
404
405         * lyxstring.C (operator): make const operator[] behave as
406         non-const and at.
407
408 2001-05-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
409
410         * Makefile.am (EXTRA_DIST): add the os_*.C files.
411
412 2001-05-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
413
414         * filetools.C (MakeAbsPath): remove debugging statement
415
416 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
417
418         * FileInfo.h: X_OK workaround for cygwin
419
420         * Makefile.am:
421         * os.C:
422         * os.h:
423         * os_os2.C:
424         * os_unix.C:
425         * os_win32.C:
426         * filetools.C:
427         * filetools.h: Added os:: class.
428
429         * rename.C:
430         * syscall.C:
431         * tempname.C: OS/2 fixes
432
433 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
434
435         * textutils.h: remvoe !NEW_INSETS cruft
436
437 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
438
439         * fmt.C:
440         * atoi.C: add using directives when needed for C functions
441         declared in std:: namespace.
442
443 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
444
445         * lstrings.C : add two helper structs, local_lowercase and
446         local_uppercase.
447         (lowercase): change to use std::transform
448         (uppercase): change to use std::transform
449
450 2001-04-25  Allan Rae  <rae@lyx.org>
451
452         * lyxstring.C : Assert got moved and Lars missed a few.
453
454 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
455
456         * LAssert.h (Assert): put into namespace lyx
457
458         * lyxfunctional.h: put into namespace lyx
459         * translator.h: adjust
460
461 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
462
463         * lyxalgo.h: put into namespace lyx, add firster and copy_if
464
465         * FileInfo.h: inherit privately from noncopyable
466         * path.h: ditto
467
468 2001-04-16  Allan Rae  <rae@lyx.org>
469
470         * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
471         as an unrecognised preprocessor directive.  So ensure they're wrapped.
472
473 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
474
475         * several files: remove CXX_WORKING_NAMESPACES
476
477         * FileInfo.h: noncopyable is in namespace boost
478         * path.h: ditto
479
480 2001-02-16  John Levon  <moz@compsoc.man.ac.uk>
481
482         * syscontr.h: fix header include
483
484 2001-02-28  Baruch Even  <baruch@ev-en.org>
485
486         * filetools.C: Removed dependency on syscall.h
487
488         * syscall.h:
489         * syscall.C: Minor cleanings before I start to touch this code.
490
491 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
492
493         * filetools.C (CreateTmpDir): change umask to 0700.
494
495 2001-02-27  José Matos  <jamatos@fep.up.pt>
496
497         * filetools.h (BasePath):
498         * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
499
500         * filetools.C (IsLyXFilename):
501         * filetools.C (IsSGMLFilename): test if extension is suffix and not
502         only contained.
503
504 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
505
506         * fmt.C:
507         * filetools.C:
508         * atoi.C: remove cruft
509
510 2001-02-06  albert chin  <china@thewrittenword.com>
511
512         * snprintf.h:
513         * fmt.C: use HAVE_DECL_SNPRINTF
514
515 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
516
517         * lyxstring.C: Fix some assertions.
518
519 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
520
521         * lstrings.C (strip): Add a fix for compilers with broken
522         string::find_last_not_of.
523
524         * filetools.C (AddPath): Simplify by using strip and frontStrip.
525
526 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
527
528         * lyxstring.C (rfind): Fix broken functions.
529         (find): Few optimizations.