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