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