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