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