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