]>
git.tdb.fi Git - libs/core.git/log
Mikko Rasa [Thu, 4 Oct 2007 20:41:25 +0000 (20:41 +0000)]
core/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
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
Mikko Rasa [Thu, 4 Oct 2007 20:13:32 +0000 (20:13 +0000)]
Rename error.* to except.*
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
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
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()
Mikko Rasa [Mon, 27 Aug 2007 09:02:27 +0000 (09:02 +0000)]
terminate instead of rethrowing an uncaught exception
Mikko Rasa [Tue, 21 Aug 2007 15:04:44 +0000 (15:04 +0000)]
Add types.h
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
Mikko Rasa [Fri, 10 Aug 2007 19:43:55 +0000 (19:43 +0000)]
Fix a bug in Regex with brackets
Make the disassembly output of grep optional
Mikko Rasa [Fri, 10 Aug 2007 18:58:07 +0000 (18:58 +0000)]
Add a function to perform simple character mapping
Add ISO-8859-15 encoding
More documentation in codec.h (nearly complete)
Mikko Rasa [Thu, 9 Aug 2007 15:18:11 +0000 (15:18 +0000)]
Rework the codec API completely to remove the internal buffering
Add transcode program to test the codecs
Mikko Rasa [Thu, 9 Aug 2007 14:32:06 +0000 (14:32 +0000)]
Add Id tags and copyright notices to a few files that were missing them
Mikko Rasa [Tue, 7 Aug 2007 17:17:24 +0000 (17:17 +0000)]
Add documentation for all functions in utils
Add c_escape and c_unescape functions
Mikko Rasa [Fri, 3 Aug 2007 09:47:32 +0000 (09:47 +0000)]
Revamp the split functions to allow a max_split argument and splitting by longer separators
Add \r to strip
Mikko Rasa [Sat, 7 Jul 2007 17:51:16 +0000 (17:51 +0000)]
Trap and explain uncaught exceptions
Mikko Rasa [Wed, 20 Jun 2007 20:32:01 +0000 (20:32 +0000)]
Update svn:ignore
Mikko Rasa [Wed, 20 Jun 2007 20:19:10 +0000 (20:19 +0000)]
Add a simple grep program
Mikko Rasa [Tue, 12 Jun 2007 12:07:58 +0000 (12:07 +0000)]
Initial revision
Mikko Rasa [Mon, 11 Jun 2007 06:38:53 +0000 (06:38 +0000)]
Add operator bool() to RegMatch::Group
Mikko Rasa [Mon, 11 Jun 2007 06:38:33 +0000 (06:38 +0000)]
globcasematch takes a std::string, not Path
Mikko Rasa [Mon, 11 Jun 2007 06:37:33 +0000 (06:37 +0000)]
Win32 doesn't have execinfo.h, so don't include it
Add KeyError
Add release() to RefPtr
Mikko Rasa [Fri, 25 May 2007 17:33:34 +0000 (17:33 +0000)]
Don't require mspmisc
Use globcasematch from mspstrings to implement fnmatch on win32
Fix some style errors
Mikko Rasa [Fri, 25 May 2007 17:32:16 +0000 (17:32 +0000)]
Make this thing actually compile
Mikko Rasa [Fri, 25 May 2007 17:23:28 +0000 (17:23 +0000)]
Require mspcore and not mspmisc
Mikko Rasa [Fri, 25 May 2007 17:22:57 +0000 (17:22 +0000)]
Assimilate exceptions and RefPtr from mspmisc
Assimilate GetOpt
Do not require pthread on win32
Add an optional feature to generate backtraces on exceptions
Allow semaphores to be created with an external mutex
Rewrite win32 semaphore implementation to more closely correspond the POSIX one
Allow MutexLock to be unlocked initially
Rewrite MutexPtr to use a RefPtr<MutexLock> instead of being refcounted itself
Fix some multiple inclusion guards
Add $Id$ tags
Fix Time::now() on win32
Mikko Rasa [Fri, 25 May 2007 17:05:52 +0000 (17:05 +0000)]
Add glob and regex thingies
error.h is now in mspcore
Mikko Rasa [Sat, 21 Apr 2007 22:18:54 +0000 (22:18 +0000)]
Rename Latin1 as Iso88591
Add Windows1252
Mikko Rasa [Sat, 21 Apr 2007 14:41:09 +0000 (14:41 +0000)]
Add copyright notices and Id tags
Mikko Rasa [Thu, 19 Apr 2007 08:55:12 +0000 (08:55 +0000)]
More sophisticated error handling
A couple of win32 fixes
Mikko Rasa [Mon, 26 Mar 2007 20:08:11 +0000 (20:08 +0000)]
Added DateTime
Reworked operator<< for TimeDelta
Mikko Rasa [Sun, 18 Mar 2007 20:21:58 +0000 (20:21 +0000)]
Fixed split to allow empty parts in beginning and end of string
Mikko Rasa [Sun, 18 Mar 2007 17:04:45 +0000 (17:04 +0000)]
Added reset function for StringCodec::Decoder
Mikko Rasa [Sun, 18 Mar 2007 16:47:23 +0000 (16:47 +0000)]
Corrected style errors
Mikko Rasa [Sun, 18 Mar 2007 16:35:35 +0000 (16:35 +0000)]
Fix Iso2022Jp
Mikko Rasa [Fri, 16 Mar 2007 21:57:47 +0000 (21:57 +0000)]
Add utils
Fix a few bugs in Fmt
Mikko Rasa [Wed, 7 Mar 2007 20:18:43 +0000 (20:18 +0000)]
strutils.h -> strings/utils.h
Small bugfix
Mikko Rasa [Wed, 7 Mar 2007 20:17:41 +0000 (20:17 +0000)]
Initial upload
Mikko Rasa [Sat, 24 Feb 2007 17:44:34 +0000 (17:44 +0000)]
Create trunk
Mikko Rasa [Sat, 24 Feb 2007 12:26:00 +0000 (12:26 +0000)]
Create trunk
Mikko Rasa [Mon, 27 Nov 2006 14:12:23 +0000 (14:12 +0000)]
Use Time::sleep instead of sleep in Application::main
Prefix usage reason with "UsageError: "
Mikko Rasa [Fri, 17 Nov 2006 23:15:04 +0000 (23:15 +0000)]
Throw out anything polling related - they will go to libmspio eventually
Remove some old files
Redesign Application::main
Mikko Rasa [Tue, 3 Oct 2006 21:25:23 +0000 (21:25 +0000)]
Add a missing mutex unlock into Semaphore::wait
Make MutexLock noncopyable
Mikko Rasa [Fri, 22 Sep 2006 11:05:50 +0000 (11:05 +0000)]
Add a missing ! to make .. components to behave correctly
Mikko Rasa [Sat, 9 Sep 2006 15:57:08 +0000 (15:57 +0000)]
Add const TimeDelta zero
Niko Liikanen [Thu, 7 Sep 2006 12:53:02 +0000 (12:53 +0000)]
Win32 type warning fixed
source/time/utils.cpp:78: warning: passing `double' for converting 1 of `void Sleep(DWORD)'
Mikko Rasa [Wed, 6 Sep 2006 20:53:38 +0000 (20:53 +0000)]
Change sched_yield to a short sleep to improve performance on slower machines
Niko Liikanen [Tue, 5 Sep 2006 20:32:03 +0000 (20:32 +0000)]
Add LDFLAGS to CXX when linking...
Niko Liikanen [Tue, 5 Sep 2006 20:31:10 +0000 (20:31 +0000)]
Add LDFLAGS to CXX when linking...
Mikko Rasa [Tue, 5 Sep 2006 20:24:43 +0000 (20:24 +0000)]
Win32-compatibility
Mikko Rasa [Tue, 5 Sep 2006 13:32:12 +0000 (13:32 +0000)]
Win32 compilation fixes
Mikko Rasa [Tue, 5 Sep 2006 12:24:46 +0000 (12:24 +0000)]
Semaphore is now win32-compatible, I hope
Niko Liikanen [Mon, 4 Sep 2006 11:04:46 +0000 (11:04 +0000)]
Updated Makefile
Niko Liikanen [Mon, 4 Sep 2006 11:03:10 +0000 (11:03 +0000)]
New Makefile to work with subdirs (For Win32 build)
Mikko Rasa [Sun, 3 Sep 2006 18:58:30 +0000 (18:58 +0000)]
Add Build file
Remove a stray semicolon
Mikko Rasa [Sun, 3 Sep 2006 18:52:08 +0000 (18:52 +0000)]
Add Build file
Mikko Rasa [Tue, 29 Aug 2006 11:17:11 +0000 (11:17 +0000)]
Add basename function
Mikko Rasa [Mon, 28 Aug 2006 07:59:47 +0000 (07:59 +0000)]
Rename to libmspcore
Combine with libmsptime
Mikko Rasa [Sun, 27 Aug 2006 17:23:03 +0000 (17:23 +0000)]
Add relative() to utils
Unify init and operator/= with add_component
Allow a Path to start with ..
Mikko Rasa [Sun, 27 Aug 2006 10:51:38 +0000 (10:51 +0000)]
Add Path::empty()
begin()==end() for an empty path
Mikko Rasa [Thu, 24 Aug 2006 23:27:23 +0000 (23:27 +0000)]
Remove extra include of utils.h
Make fnmatch return failure on win32 instead of not existing
Niko Liikanen [Thu, 24 Aug 2006 21:10:04 +0000 (21:10 +0000)]
static/shared lib extension tweaks
removed headers/static lib from install
Niko Liikanen [Thu, 24 Aug 2006 21:08:50 +0000 (21:08 +0000)]
Static/Shared lib extension tweaks
removed header/static lib from install
Niko Liikanen [Thu, 24 Aug 2006 20:41:28 +0000 (20:41 +0000)]
WinMain for Win32
Niko Liikanen [Thu, 24 Aug 2006 19:57:09 +0000 (19:57 +0000)]
Fixed Makefile linker flags
Mikko Rasa [Thu, 24 Aug 2006 18:26:01 +0000 (18:26 +0000)]
Native threads for Win32
Niko Liikanen [Thu, 24 Aug 2006 16:06:24 +0000 (16:06 +0000)]
Win32 tweaks
Niko Liikanen [Thu, 24 Aug 2006 16:03:09 +0000 (16:03 +0000)]
Win32 tweaks
Niko Liikanen [Thu, 24 Aug 2006 15:54:29 +0000 (15:54 +0000)]
Signal definitions for Win32
Mikko Rasa [Thu, 24 Aug 2006 14:21:33 +0000 (14:21 +0000)]
Include utils.h in path.cpp now that is_windows_drive lives there
Mikko Rasa [Thu, 24 Aug 2006 14:15:26 +0000 (14:15 +0000)]
Move is_windows_drive into utils.h
Mikko Rasa [Thu, 24 Aug 2006 13:27:46 +0000 (13:27 +0000)]
Use an extra bool variable to indicate thread validity
Niko Liikanen [Wed, 23 Aug 2006 22:33:10 +0000 (22:33 +0000)]
First version
Niko Liikanen [Wed, 23 Aug 2006 22:32:42 +0000 (22:32 +0000)]
First version
Mikko Rasa [Wed, 23 Aug 2006 12:42:35 +0000 (12:42 +0000)]
Add copyright notices
Mikko Rasa [Mon, 21 Aug 2006 17:04:11 +0000 (17:04 +0000)]
Add files
Mikko Rasa [Mon, 21 Aug 2006 17:01:49 +0000 (17:01 +0000)]
Create trunk
Mikko Rasa [Mon, 21 Aug 2006 16:48:24 +0000 (16:48 +0000)]
Add files
Mikko Rasa [Mon, 21 Aug 2006 16:43:29 +0000 (16:43 +0000)]
Create trunk