1 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * filetools.C: do not include LSubstring.h
5 * lstrings.C: change include order
6 (regexMatch): use boost regex get rid of LRegex and LSubstring
8 * Makefile.am (libsupport_la_SOURCES): delete regex and substring
11 * LSubstring.h: remove file
18 2002-05-24 Juergen Vigna <jug@sad.it>
20 * lyxsum.C: include local includes first (self containment)
22 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
24 * forkedcall.h: use more specific smart_ptr header.
26 * lyxsum.C: move some using declarations around.
28 2002-05-03 Herbert Voss <voss@perce.de>
30 * filetools.C (getExtFromContents): only print the first 60 chars of
31 the scanned-string when debugging.
33 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
35 * lyxstring.C: close to typo fix.
37 2002-05-02 Angus Leeming <a.leeming@ic.ac.uk>
39 * filetools.C: add a using std::getline directive.
41 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * lyxstring.C (operator>>): try a new version of the operator>>
45 2002-04-14 Herbert Voss <voss@perce.de>
47 * lstrings.[Ch]: move the getVectorFromString and the vice versa
48 from frontends/controllers/helper_funcs for better use in other
51 2002-04-15 Angus Leeming <a.leeming@ic.ac.uk>
53 * tempname.C (make_tempfile): simplify the #ifdef block by using
54 #if defined and re-write the #warning as a #error because it's terminal.
56 2002-04-08 Herbert Voss <voss@perce.de>
58 * filetools.C (getExtFromContents): get tgif run
60 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
62 * filetools.C (getExtFromContents): re-format a little and remove
63 replicated "sgi" entry.
65 2002-04-07 Herbert Voss <voss@perce.de>
67 * filetools.[Ch]: add readBB_from_PSFile() to make bb available
68 for the lyx-view in graphics (moved from ControlGraphics)
70 2002-04-07 Herbert Voss <voss@perce.de>
72 * filetools.C: fix bug for eps. scans now a whole line
74 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
76 * lyxstring.C (operator>>): use the better solution, this fixes a
77 "not able to read '\0'" bug.
79 2002-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
81 * translator.h: add missing typename
83 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
85 * filetools.C (LibScriptSearch): new command. Searches for scripts
86 in lyx data directories.
87 (LibScriptSearch): try to use split() correctly.
89 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
91 * most files: ws cleanup
93 * Makefile.am: remove ld -r stuff
95 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
97 * Makefile.am (libsupport.la): special rules if partial linking
99 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
101 * forkedcontr.C: turn the timer off when their are no longer any
102 child processes running.
104 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
106 * forkedcall.h: docy fix
107 change SignalType second type to be const ref.
109 * forkedcall.C: doxy fix
111 2002-03-11 Kayvan A. Sylvan <kayvan@sylvan.com>
113 * lyxsum.C: compilation fix
115 2002-03-02 Herbert Voss <voss@perce.de>
117 * filetools.C: fix bug for xbm format and added some more debug
120 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
122 * forkedcontr.h: make constructor public
124 * types.h: remove layout_type
126 2002-03-01 Angus Leeming <a.leeming@ic.ac.uk>
128 * filetools.C (getExtFromContents): cleanup.
130 * forkedcontr.h (d-tor): make it public for Dekel's crappy compiler.
132 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
134 * Makefile.am (SIGC_INCLUDES): add a -I directive for when
135 building outside of source tree.
137 2002-02-19 Angus Leeming <a.leeming@ic.ac.uk>
140 * forkedcontr.[Ch]: new files. Asger's forked call controller is
141 re-born, with a working timer and a modified interface. The
142 startscript method is now passed a Signal rather than a pointer
143 to a callback function. This enables us to connect to the method of
144 a C++ class, if we so desire.
146 * Makefile.am: add forkedcall.[Ch], forkedcontr.[Ch].
148 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
153 * nt_defines.h: moved from src/
155 2002-02-23 Herbert Voss <voss@perce.de>
157 * filetools.C: added more graphic formats
159 2002-02-18 Herbert Voss <voss@perce.de>
161 * filetools.C: (getExtFromContents) return the fileextension
162 if no format is detected.
164 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
166 * syscall.[Ch]: renamed as systemcall.[Ch]. class Systemcalls renamed
167 as class SystemCall because one Systemcall instance represents a
168 single child process.
171 * Makefile.am: associated changes.
173 2002-02-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
175 * syscall.C (Systemcalls): include <cstdlib>
177 2002-02-08 Herbert Voss <voss@perce.de>
179 * filetools.C: (getExtFromContents) adding Grace-format
182 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
185 * syssingleton.C: files removed.
187 * syscall.[Ch]: remove the forked calls interface, as nothing, nowhere
188 uses it. Strip down the Systemcalls interface to make it brutally
189 obvious how unsophisticated it is.
191 2002-02-08 Herbert Voss <voss@perce.de>
193 * filetools.C: (getExtFromContents) adding TGIF-format
194 and return type "user" when no type is detected
196 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
198 * textutils.h: remove IsLineSeparatorChar(char, Inset *)
200 2002-02-10 Kayvan Sylvan <kayvan@sylvan.com>
202 * os_win32.C: Add "using std::endl" to fix compilation for GCC 3.X.
204 2002-02-08 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
206 * FileInfo.h: remove special cygwin code.
208 * filetools.C (do_popen): use os::read_mode().
210 * os_win32.C (read_mode):
211 * os_os2.C (read_mode):
212 * os_unix.C (read_mode): new method
214 * filetools.C (do_popen): fix for cygwin compatibility (from Claus
215 Hentschel). This code should maybe be moved to os:: class.
217 2002-02-08 Herbert Voss <voss@perce.de>
219 * filetools.C: (unzipFile) fix typo
221 2002-02-06 Herbert Voss <voss@perce.de>
223 * filetools.[Ch]: fix some bugs for detecting zipped files
226 2002-02-04 Herbert Voss <voss@perce.de>
228 * filetools.[Ch]: add ifZippedFile() for zipped
231 2002-02-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
233 * filetools.C (FileOpenSearch): remove duplicated line, probably
234 resulting from bad cut-and paste.
236 2002-01-31 Herbert Voss <voss@perce.de>
238 * filetools.[Ch]: add getExtFromContents(), which returns
239 the type of the (graphic) file
241 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
243 * copy.C (copy): open file in binary mode (for cygwin)
245 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
247 * lyxsum.C: remove #warnings and replaced them with runtime debug
250 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
252 * lyxalgo.h: include <algorithm>
254 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
256 * lyx_algo.h: add a standard-conforming count to namespace lyx.
258 * lstrings.[Ch] (countChar): removed. Use lyx::count.
260 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
262 * filetools.C: fix use of FileInfo
265 * FileInfo.C: add Asserts and documentation
267 2001-12-20 Kayvan A. Sylvan <kayvan@sylvan.com>
269 * os_win32.C: compilation fixes
271 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
273 * lstrings.h: do not include <cctype>
275 2001-12-12 Ben Stanley <bds02@uow.edu.au>
277 * lyxsum.C: portability fix for mmap patch
279 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
283 * lyxstring.C: change "while(" to "while ("
285 2001-12-03 Ben Stanley <bds02@uow.edu.au>
287 * lyxsum.C: Added mmap version of CRC and made it selected
288 by default where available. Used process_block for crc for speedup.
290 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
292 * filetools.C: more robust failure for DirList()
294 2001-11-29 André Pönitz <poenitz@gmx.net>
296 * types.h: introduce types for textclass numbers and layout numbers
298 2001-11-28 André Pönitz <poenitz@gmx.net>
300 * Makefile.am: put types.h in
302 2001-11-26 André Pönitz <poenitz@gmx.net>
304 * types.h: introduce types for paragraph positions and layout numbers
306 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
308 * filetools.C: remove dead code
310 * syscall.C: show prog in fail case
312 2001-10-24 Andre Poenitz <poenitz@HTWM.De>
314 * filetools.C: code style cleanup
316 2001-10-23 Angus Leeming <a.leeming@ic.ac.uk>
318 * os.h: remove spurious punctuation.
320 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
323 * LAssert.C: use new emergencyCleanup()
325 2001-10-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
327 * filetools.C (i18nLibFileSearch): check also LANGUAGE and LC_ALL,
328 like GNU gettext does.
330 2001-10-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
332 * filetools.C (AbsolutePath): Use os::is_absolute_path() (also in
334 (findtexfile): oops! the change from last friday was wrong...
336 * os_win32.C (is_absolute_path):
337 * os_unix.C (is_absolute_path):
338 * os_os2.C (is_absolute_path): new method
340 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
342 * filetools.C (findtexfile): apply os::internal_path to the result.
344 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
349 * os.h: add internal_path method, which converts a unix-type file
350 name to the type known to the underlying file system (currently
351 only useful on cygwin) [from Ruurd A. Reitsma and Claus Hentschel]
353 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
355 * smart_ptr.h: new file
357 * utility.h: new file
359 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
362 * filetools.C (IsDirWriteable): fix this
364 2001-07-26 Baruch Even <baruch@lyx.org>
366 * lyxlib.h (float_equal): Added function to compare floats almost equal
367 (see function comment).
369 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
371 Consistent use of Lsstream.h:
372 * filetools.C (GetFileContents): std::ostringstream -> ostringstream.
374 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
376 * translator.h: (*it). -> it->
378 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
380 * filetools.C (DeleteAllFilesInDir): send debug output to
381 Debug::FILES instewad of Debug::ANY.
383 * DebugStream.h: remove gcc 2.8.x hack.
385 2001-06-26 The LyX Project <jug@sad.it>
388 * lstrings.C (escape): move method to escape non ascii characters
389 from insets label and ref to here.
391 2001-06-25 The LyX Project <jug@sad.it>
393 * filetools.C (IsLyXFilename):
394 (IsSGMLFilename): do case insensitive name matching
396 2001-06-24 The LyX Project <jug@sad.it>
398 * lstrings.C (compare_ascii_no_case): version of compare_no_case
399 which only considers case of ascii characters
401 * lyxstring.C (replace): added for compatibility with gcc 2.95.3+
404 2001-06-23 The LyX Project <jug@sad.it>
406 * textutils.h (IsPrintable): take into account unprintable spaces
408 (IsDigit): new function
409 (IsLetterCharOrDigit): use IsDigit
411 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
413 * filetools.C (findtexfile): strip final \r if necessary (for
416 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
419 * StrPool.C: removed // -*- C++ -*- as first line.
421 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
423 * lyxsum.C (do_crc): switch to use boost::crc for generating the
426 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
431 * LSubstring.C: bring C functions in global namespace if
434 * lstrings.h (compare): use the std:: version of str[n]cmp only
437 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
439 * syscontr.C: add std::
441 * syscall.C: add std::
443 * lstrings.h (compare): add std::
445 * lstrings.C (prefixIs): add std::
449 * LSubstring.C (LSubstring): add std::
451 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
453 * lyxsum.C (sum): use istreambuf_iterator when available.
455 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
457 * lyxsum.C (sum): don't use sstream anymore, use istream_iterator
460 * lyxstring.C (operator): make const operator[] behave as
463 2001-05-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
465 * Makefile.am (EXTRA_DIST): add the os_*.C files.
467 2001-05-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
469 * filetools.C (MakeAbsPath): remove debugging statement
471 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
473 * FileInfo.h: X_OK workaround for cygwin
482 * filetools.h: Added os:: class.
486 * tempname.C: OS/2 fixes
488 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
490 * textutils.h: remvoe !NEW_INSETS cruft
492 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
495 * atoi.C: add using directives when needed for C functions
496 declared in std:: namespace.
498 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
500 * lstrings.C : add two helper structs, local_lowercase and
502 (lowercase): change to use std::transform
503 (uppercase): change to use std::transform
505 2001-04-25 Allan Rae <rae@lyx.org>
507 * lyxstring.C : Assert got moved and Lars missed a few.
509 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
511 * LAssert.h (Assert): put into namespace lyx
513 * lyxfunctional.h: put into namespace lyx
514 * translator.h: adjust
516 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
518 * lyxalgo.h: put into namespace lyx, add firster and copy_if
520 * FileInfo.h: inherit privately from noncopyable
523 2001-04-16 Allan Rae <rae@lyx.org>
525 * tempname.C (make_tempfile): #warning triggers an error on Sun CC 6.0
526 as an unrecognised preprocessor directive. So ensure they're wrapped.
528 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
530 * several files: remove CXX_WORKING_NAMESPACES
532 * FileInfo.h: noncopyable is in namespace boost
535 2001-02-16 John Levon <moz@compsoc.man.ac.uk>
537 * syscontr.h: fix header include
539 2001-02-28 Baruch Even <baruch@ev-en.org>
541 * filetools.C: Removed dependency on syscall.h
544 * syscall.C: Minor cleanings before I start to touch this code.
546 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
548 * filetools.C (CreateTmpDir): change umask to 0700.
550 2001-02-27 José Matos <jamatos@fep.up.pt>
552 * filetools.h (BasePath):
553 * filetools.C (BasePath): removed since it is a duplicate of OnlyPath.
555 * filetools.C (IsLyXFilename):
556 * filetools.C (IsSGMLFilename): test if extension is suffix and not
559 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
563 * atoi.C: remove cruft
565 2001-02-06 albert chin <china@thewrittenword.com>
568 * fmt.C: use HAVE_DECL_SNPRINTF
570 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
572 * lyxstring.C: Fix some assertions.
574 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
576 * lstrings.C (strip): Add a fix for compilers with broken
577 string::find_last_not_of.
579 * filetools.C (AddPath): Simplify by using strip and frontStrip.
581 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
583 * lyxstring.C (rfind): Fix broken functions.
584 (find): Few optimizations.