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