]> git.tdb.fi Git - libs/core.git/log
libs/core.git
14 years agoFix a #include to use relative filename
Mikko Rasa [Thu, 11 Feb 2010 08:13:43 +0000 (08:13 +0000)]
Fix a #include to use relative filename

14 years agoAdd RemoveReference meta-function
Mikko Rasa [Wed, 3 Feb 2010 13:35:47 +0000 (13:35 +0000)]
Add RemoveReference meta-function

14 years agoAdd LogicError exception class
Mikko Rasa [Mon, 21 Dec 2009 07:27:10 +0000 (07:27 +0000)]
Add LogicError exception class
Throw InvalidState in DateTime::get_timestamp for out-of-range values

14 years agoAdd get_sys_lib_dir function
Mikko Rasa [Wed, 23 Sep 2009 20:11:54 +0000 (20:11 +0000)]
Add get_sys_lib_dir function

14 years agoBump version to 1.1 io-1.1
Mikko Rasa [Mon, 21 Sep 2009 16:54:56 +0000 (16:54 +0000)]
Bump version to 1.1
Update Build file for upcoming Builder release

14 years agoBump version to 1.1 fs-1.1
Mikko Rasa [Mon, 21 Sep 2009 16:49:13 +0000 (16:49 +0000)]
Bump version to 1.1
Update Build file for upcoming Builder release

14 years agoBump version to 1.1 strings-1.1
Mikko Rasa [Mon, 21 Sep 2009 16:47:08 +0000 (16:47 +0000)]
Bump version to 1.1
Update Build file for upcoming Builder release

14 years agoBump version to 1.1 1.1
Mikko Rasa [Mon, 21 Sep 2009 16:40:37 +0000 (16:40 +0000)]
Bump version to 1.1
Update Build file for upcoming Builder release

14 years agoUse transliterate mode in transcode
Mikko Rasa [Mon, 21 Sep 2009 16:28:17 +0000 (16:28 +0000)]
Use transliterate mode in transcode

14 years agoFix compile errors on 64-bit systems
Mikko Rasa [Sun, 20 Sep 2009 16:18:06 +0000 (16:18 +0000)]
Fix compile errors on 64-bit systems

14 years agoFix compile erorrs on 64-bit systems
Mikko Rasa [Sun, 20 Sep 2009 16:16:36 +0000 (16:16 +0000)]
Fix compile erorrs on 64-bit systems

14 years agoFix a compilation error on 64-bit systems
Mikko Rasa [Sun, 20 Sep 2009 16:16:11 +0000 (16:16 +0000)]
Fix a compilation error on 64-bit systems

14 years agoFix GetOpt to get strings correctly
Mikko Rasa [Fri, 11 Sep 2009 17:34:36 +0000 (17:34 +0000)]
Fix GetOpt to get strings correctly
Handle missing/extraneous arguments in OptBase

14 years agoRewrite Timer to use a heap instead of set to deal with duplicate timeouts
Mikko Rasa [Fri, 11 Sep 2009 17:32:58 +0000 (17:32 +0000)]
Rewrite Timer to use a heap instead of set to deal with duplicate timeouts
Get local timezone from /etc/localtime instead of tzset()
Add TimeStamp::to_unixtime

14 years agoMake Path behave more consistently by always starting relative paths with a dot
Mikko Rasa [Fri, 11 Sep 2009 15:58:51 +0000 (15:58 +0000)]
Make Path behave more consistently by always starting relative paths with a dot
Treat out-of-range index to Path::operator[] as an error
Change argv0 parameter of get_sys_*_dir to std::string

14 years agoImprove GetOpt help generation
Mikko Rasa [Thu, 7 May 2009 06:01:55 +0000 (06:01 +0000)]
Improve GetOpt help generation

15 years agoFix the UTF-8 decoder
Mikko Rasa [Mon, 23 Mar 2009 11:49:11 +0000 (11:49 +0000)]
Fix the UTF-8 decoder

15 years agoAdd convenience functions to Encoder and Decoder to process a string and return the...
Mikko Rasa [Mon, 23 Mar 2009 11:12:27 +0000 (11:12 +0000)]
Add convenience functions to Encoder and Decoder to process a string and return the result
Fix UTF-8 detection in Codecs::detect_codec

15 years agoAdd Memory class
Mikko Rasa [Tue, 17 Mar 2009 11:58:07 +0000 (11:58 +0000)]
Add Memory class

15 years agoAllow polling an empty set of objects
Mikko Rasa [Tue, 17 Mar 2009 11:56:46 +0000 (11:56 +0000)]
Allow polling an empty set of objects
Clean up some old debug prints

15 years agoFix some win32 compile errors
Mikko Rasa [Sun, 8 Mar 2009 15:41:38 +0000 (15:41 +0000)]
Fix some win32 compile errors

15 years agoFix a problem with MATCH_MASK handling in Regex
Mikko Rasa [Sun, 8 Mar 2009 15:35:26 +0000 (15:35 +0000)]
Fix a problem with MATCH_MASK handling in Regex
Explicitly cast both arguments to pow to the same type so mingw doesn't get confused

15 years agoFix octal escape generation in c_escape
Mikko Rasa [Sat, 21 Feb 2009 10:31:55 +0000 (10:31 +0000)]
Fix octal escape generation in c_escape
Fix mask matching to check for proper range
Don't use uint8_t since it's not supported by MSVC

15 years agoMake codecs able to tell their name
Mikko Rasa [Thu, 25 Dec 2008 08:57:28 +0000 (08:57 +0000)]
Make codecs able to tell their name
Support autodetecting the correct codec for a string

15 years agoAdd utility functions to check the contents of a string
Mikko Rasa [Wed, 24 Dec 2008 07:08:10 +0000 (07:08 +0000)]
Add utility functions to check the contents of a string
Fix str_to_bool

15 years agoMake sure all files have the correct header
Mikko Rasa [Wed, 24 Dec 2008 07:01:36 +0000 (07:01 +0000)]
Make sure all files have the correct header
Update class member order to new style

15 years agoUse the console handle for read/write on *nix
Mikko Rasa [Mon, 15 Dec 2008 11:50:44 +0000 (11:50 +0000)]
Use the console handle for read/write on *nix
Add Console::get_size

15 years agoAdd copy constructor and copy assignment to Variant
Mikko Rasa [Mon, 15 Dec 2008 11:40:24 +0000 (11:40 +0000)]
Add copy constructor and copy assignment to Variant

15 years agoAdd support for time zones
Mikko Rasa [Mon, 15 Dec 2008 11:33:48 +0000 (11:33 +0000)]
Add support for time zones
Fix bugs in DateTime addition operations
Add subtraction operators for DateTime

15 years agoRewrite lexical_cast to use internal conversion routines
Mikko Rasa [Tue, 9 Dec 2008 09:12:30 +0000 (09:12 +0000)]
Rewrite lexical_cast to use internal conversion routines
Add getters to Fmt

15 years agoHandle branches in subregexes correctly
Mikko Rasa [Tue, 25 Nov 2008 06:45:28 +0000 (06:45 +0000)]
Handle branches in subregexes correctly

15 years agoMSVC compatibility fixes
Mikko Rasa [Thu, 13 Nov 2008 10:40:34 +0000 (10:40 +0000)]
MSVC compatibility fixes

15 years agoAdd Changelog.txt fs-1.0.1
Mikko Rasa [Tue, 14 Oct 2008 15:18:34 +0000 (15:18 +0000)]
Add Changelog.txt
Bump version

15 years agoConvert C-style casts to C++-style
Mikko Rasa [Wed, 24 Sep 2008 16:16:43 +0000 (16:16 +0000)]
Convert C-style casts to C++-style

15 years agoConvert a C-style cast to C++-style
Mikko Rasa [Wed, 24 Sep 2008 16:16:17 +0000 (16:16 +0000)]
Convert a C-style cast to C++-style

15 years agoMake dirname behave sensibly for single-component paths
Mikko Rasa [Fri, 12 Sep 2008 19:11:08 +0000 (19:11 +0000)]
Make dirname behave sensibly for single-component paths

15 years agoAdd validation for DateTime constructor parameters
Mikko Rasa [Sun, 31 Aug 2008 00:14:30 +0000 (00:14 +0000)]
Add validation for DateTime constructor parameters

15 years agoImprove BackTrace printing
Mikko Rasa [Sun, 24 Aug 2008 21:35:30 +0000 (21:35 +0000)]
Improve BackTrace printing

15 years agoFix win32 compilation
Mikko Rasa [Sun, 17 Aug 2008 21:33:19 +0000 (21:33 +0000)]
Fix win32 compilation

15 years agoAdd put, getline and get to Filtered to make use of possible optimizations in the...
Mikko Rasa [Sun, 17 Aug 2008 06:48:08 +0000 (06:48 +0000)]
Add put, getline and get to Filtered to make use of possible optimizations in the filter
Set active in ~Filtered, since the filter may want to write something in its destructor

15 years agoAdd Filtered class
Mikko Rasa [Sat, 16 Aug 2008 08:50:23 +0000 (08:50 +0000)]
Add Filtered class
Make do_write and do_read protected everywhere so Filtered can use the base class versions

15 years agoOnly require -ldl on Linux
Mikko Rasa [Fri, 15 Aug 2008 21:43:59 +0000 (21:43 +0000)]
Only require -ldl on Linux

15 years agoexecinfo.h is a GNU extension so check for glibc
Mikko Rasa [Fri, 15 Aug 2008 17:55:32 +0000 (17:55 +0000)]
execinfo.h is a GNU extension so check for glibc

15 years agoAdd jisx0208.table to tarball strings-1.0
Mikko Rasa [Thu, 14 Aug 2008 13:31:53 +0000 (13:31 +0000)]
Add jisx0208.table to tarball

15 years agoAdd Id tag to Build io-1.0
Mikko Rasa [Mon, 11 Aug 2008 18:50:05 +0000 (18:50 +0000)]
Add Id tag to Build

15 years agoUpdate svn:ignore fs-1.0
Mikko Rasa [Mon, 11 Aug 2008 01:10:11 +0000 (01:10 +0000)]
Update svn:ignore
Add License.txt to tarball
Bump version for release

15 years agoAdd License.txt
Mikko Rasa [Sun, 10 Aug 2008 18:27:00 +0000 (18:27 +0000)]
Add License.txt

15 years agoUpdate and clean up svn:ignore 1.0
Mikko Rasa [Sun, 10 Aug 2008 18:25:27 +0000 (18:25 +0000)]
Update and clean up svn:ignore
Bump version number for release
Add License.txt to tarball

15 years agoUpdate svn:ignore
Mikko Rasa [Sun, 10 Aug 2008 18:21:47 +0000 (18:21 +0000)]
Update svn:ignore
Add License.txt

15 years agoAdd version and description fields in Build
Mikko Rasa [Sun, 10 Aug 2008 16:14:16 +0000 (16:14 +0000)]
Add version and description fields in Build
Add header to pipe.cpp
Update svn:ignore

15 years agoMake the programs use the library and headers from installed locations to work correc...
Mikko Rasa [Sun, 10 Aug 2008 16:12:59 +0000 (16:12 +0000)]
Make the programs use the library and headers from installed locations to work correctly with different profiles
Bump version number for release

15 years agoNew functions in utils.h: readlink realpath
Mikko Rasa [Sun, 10 Aug 2008 12:07:57 +0000 (12:07 +0000)]
New functions in utils.h: readlink realpath
New functions in dir.h: get_sys_conf_dir get_sys_data_dir
New functions in stat.h: lstat is_link
Include path.h in other headers to make implicit conversions work

15 years agoAdd specialization for lexical_cast<std::string> to avoid borking with spaces
Mikko Rasa [Wed, 6 Aug 2008 19:34:49 +0000 (19:34 +0000)]
Add specialization for lexical_cast<std::string> to avoid borking with spaces
Fix handling of parentheses inside bracker expressions in RegEx
Update ignores

15 years agoAdd a "where" property to Exception class
Mikko Rasa [Wed, 6 Aug 2008 16:29:57 +0000 (16:29 +0000)]
Add a "where" property to Exception class

15 years agoHandle constness in Variant
Mikko Rasa [Tue, 5 Aug 2008 06:33:56 +0000 (06:33 +0000)]
Handle constness in Variant
Return a reference from Variant::value()
Add meta.h for metaprogramming stuff

15 years agoReport uncaught exceptions with a MessageBox on win32
Mikko Rasa [Wed, 23 Jul 2008 13:03:21 +0000 (13:03 +0000)]
Report uncaught exceptions with a MessageBox on win32

15 years agoFix win32 compilation
Mikko Rasa [Tue, 22 Jul 2008 23:51:45 +0000 (23:51 +0000)]
Fix win32 compilation

15 years agoFix a typo in get_user_data_dir
Mikko Rasa [Sun, 20 Jul 2008 12:24:19 +0000 (12:24 +0000)]
Fix a typo in get_user_data_dir

15 years agoRefactor the API
Mikko Rasa [Sun, 20 Jul 2008 12:12:55 +0000 (12:12 +0000)]
Refactor the API
Shuffle things around a bit in Path

15 years agoSplit directory and stat related functions into their own files
Mikko Rasa [Sun, 20 Jul 2008 10:34:20 +0000 (10:34 +0000)]
Split directory and stat related functions into their own files
Put everything in namespace FS

15 years agoRename the library as mspfs
Mikko Rasa [Sat, 19 Jul 2008 23:51:39 +0000 (23:51 +0000)]
Rename the library as mspfs
Remove obsolete files

15 years agoRefactor EventDispatcher::tick to allow arbitary timeouts
Mikko Rasa [Sat, 19 Jul 2008 13:02:13 +0000 (13:02 +0000)]
Refactor EventDispatcher::tick to allow arbitary timeouts

15 years agoAllow canceling timers
Mikko Rasa [Sat, 19 Jul 2008 13:00:56 +0000 (13:00 +0000)]
Allow canceling timers
Use MutexLocks for more robustness
Add get_next_timeout function

15 years agoMake events work with Console
Mikko Rasa [Tue, 8 Jul 2008 15:22:39 +0000 (15:22 +0000)]
Make events work with Console
Derive EventDispatcher from sigc::trackable

15 years agoAdd support for console I/O
Mikko Rasa [Tue, 24 Jun 2008 19:40:17 +0000 (19:40 +0000)]
Add support for console I/O

15 years agoRemove an obsolete Makefile
Mikko Rasa [Tue, 24 Jun 2008 19:33:50 +0000 (19:33 +0000)]
Remove an obsolete Makefile
Translate windows error codes to text in SystemError

15 years agoFix a gcc 4.3 style warning
Mikko Rasa [Tue, 24 Jun 2008 14:24:46 +0000 (14:24 +0000)]
Fix a gcc 4.3 style warning

15 years agoRecognize FileNotFound on win32
Mikko Rasa [Mon, 23 Jun 2008 20:52:17 +0000 (20:52 +0000)]
Recognize FileNotFound on win32

15 years agoFix some more style warnings
Mikko Rasa [Sun, 8 Jun 2008 23:15:05 +0000 (23:15 +0000)]
Fix some more style warnings

15 years agoAdd missing includes
Mikko Rasa [Sun, 8 Jun 2008 16:00:06 +0000 (16:00 +0000)]
Add missing includes
Fix a gcc 4.3 style warning

15 years agoAdd a missing include
Mikko Rasa [Sun, 8 Jun 2008 15:59:44 +0000 (15:59 +0000)]
Add a missing include

15 years agoAdd missing includes
Mikko Rasa [Sun, 8 Jun 2008 15:59:26 +0000 (15:59 +0000)]
Add missing includes
Fix a gcc 4.3 style warning

15 years agoAdd missing includes
Mikko Rasa [Sun, 8 Jun 2008 15:17:34 +0000 (15:17 +0000)]
Add missing includes

15 years agoRemove the "optimization" of omitting MATCH_CHAR instruction for characters >LAST_INS...
Mikko Rasa [Wed, 28 May 2008 23:56:45 +0000 (23:56 +0000)]
Remove the "optimization" of omitting MATCH_CHAR instruction for characters >LAST_INSTRUCTION_ since it caused trouble with -O3 without a measurable benefit
Fix commandline handling in grep

15 years agoAdd chdir function
Mikko Rasa [Tue, 20 May 2008 12:01:42 +0000 (12:01 +0000)]
Add chdir function

16 years agoPthread is no longer recognized as a package by Builder
Mikko Rasa [Wed, 19 Mar 2008 11:41:35 +0000 (11:41 +0000)]
Pthread is no longer recognized as a package by Builder

16 years agoAdd Variant class
Mikko Rasa [Mon, 10 Mar 2008 00:52:03 +0000 (00:52 +0000)]
Add Variant class
Fix svn:keywords property on core/*

16 years agoAdd is_dir and get_home_dir functions
Mikko Rasa [Wed, 27 Feb 2008 10:00:55 +0000 (10:00 +0000)]
Add is_dir and get_home_dir functions

16 years agoMark the print functions inline
Mikko Rasa [Thu, 7 Feb 2008 15:23:57 +0000 (15:23 +0000)]
Mark the print functions inline

16 years agoAdd print functions
Mikko Rasa [Tue, 5 Feb 2008 12:33:31 +0000 (12:33 +0000)]
Add print functions

16 years agoRewrite Buffered to support read-write buffering correctly
Mikko Rasa [Mon, 4 Feb 2008 14:42:42 +0000 (14:42 +0000)]
Rewrite Buffered to support read-write buffering correctly
Rename signal_closing to signal_flush_required

16 years agoFix c_unescape
Mikko Rasa [Sat, 12 Jan 2008 12:14:14 +0000 (12:14 +0000)]
Fix c_unescape

16 years agoFix an integer rounding error in Profiler
Mikko Rasa [Fri, 28 Dec 2007 20:47:02 +0000 (20:47 +0000)]
Fix an integer rounding error in Profiler

16 years agoStore hInstance in Application class on win32
Mikko Rasa [Thu, 27 Dec 2007 17:10:20 +0000 (17:10 +0000)]
Store hInstance in Application class on win32

16 years agoBugfixes
Mikko Rasa [Fri, 7 Dec 2007 18:06:33 +0000 (18:06 +0000)]
Bugfixes

16 years agoStore the failed key in KeyError
Mikko Rasa [Wed, 5 Dec 2007 15:21:01 +0000 (15:21 +0000)]
Store the failed key in KeyError

16 years agoFix a sign error in ProfilingScope
Mikko Rasa [Sun, 11 Nov 2007 19:27:59 +0000 (19:27 +0000)]
Fix a sign error in ProfilingScope
Add TICK_BUSY mode to Application

16 years agoUse operator void * instead of bool in Time classes to avoid obscure problems resulti...
Mikko Rasa [Sat, 10 Nov 2007 21:45:03 +0000 (21:45 +0000)]
Use operator void * instead of bool in Time classes to avoid obscure problems resulting from implicit conversion

16 years agoRewrite Time::Timer to not force the use of a thread, so it's more useful.
Mikko Rasa [Fri, 19 Oct 2007 12:21:52 +0000 (12:21 +0000)]
Rewrite Time::Timer to not force the use of a thread, so it's more useful.

16 years agoAdd Debug::Profiler
Mikko Rasa [Fri, 12 Oct 2007 19:20:54 +0000 (19:20 +0000)]
Add Debug::Profiler

16 years agocore/error.h renamed to except.h
Mikko Rasa [Thu, 4 Oct 2007 20:41:25 +0000 (20:41 +0000)]
core/error.h renamed to except.h

16 years agocore/error.h renamed to except.h
Mikko Rasa [Thu, 4 Oct 2007 20:27:43 +0000 (20:27 +0000)]
core/error.h renamed to except.h
Fix octal excapes in c_escape
Add description and version to Build

16 years agoRename error.h to except.h
Mikko Rasa [Thu, 4 Oct 2007 20:24:51 +0000 (20:24 +0000)]
Rename error.h to except.h
Get rid of the largely unused IO::Exception

16 years agoRename error.* to except.*
Mikko Rasa [Thu, 4 Oct 2007 20:13:32 +0000 (20:13 +0000)]
Rename error.* to except.*

16 years agoUse dladdr instead of backtrace_symbols in Backtrace::create (both are GNU-specific...
Mikko Rasa [Sat, 22 Sep 2007 10:59:03 +0000 (10:59 +0000)]
Use dladdr instead of backtrace_symbols in Backtrace::create (both are GNU-specific anyway)
Fix an error handling bug in demangle
Output backtrace for uncaught exceptions if one exists

16 years agoGet rid of the Path namespace
Mikko Rasa [Sat, 22 Sep 2007 10:53:35 +0000 (10:53 +0000)]
Get rid of the Path namespace
Redesign utility function so that they throw on error
Add a couple utility functions
Add Id tags

16 years agoRemove the custom demangle function and use GCC's abi::__cxa_demangle instead
Mikko Rasa [Mon, 17 Sep 2007 10:51:07 +0000 (10:51 +0000)]
Remove the custom demangle function and use GCC's abi::__cxa_demangle instead
Demangle uncaught exception type
Return a special error code on uncaught exception
Use vector instead of list or GetOpt::get_args()

16 years agoterminate instead of rethrowing an uncaught exception
Mikko Rasa [Mon, 27 Aug 2007 09:02:27 +0000 (09:02 +0000)]
terminate instead of rethrowing an uncaught exception

16 years agoAdd types.h
Mikko Rasa [Tue, 21 Aug 2007 15:04:44 +0000 (15:04 +0000)]
Add types.h

16 years agoReorder components to get headers install correctly
Mikko Rasa [Tue, 21 Aug 2007 15:03:18 +0000 (15:03 +0000)]
Reorder components to get headers install correctly
Add RawTime typedef
Move application creation inside the toplevel try-catch