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