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