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