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