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