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