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