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