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