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