]> git.tdb.fi Git - libs/core.git/log
libs/core.git
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 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

16 years agoTrap and explain uncaught exceptions
Mikko Rasa [Sat, 7 Jul 2007 17:51:16 +0000 (17:51 +0000)]
Trap and explain uncaught exceptions

16 years agoWin32 doesn't have execinfo.h, so don't include it
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

16 years agoMake this thing actually compile
Mikko Rasa [Fri, 25 May 2007 17:32:16 +0000 (17:32 +0000)]
Make this thing actually compile

16 years agoAssimilate exceptions and RefPtr from 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

17 years agoAdded DateTime
Mikko Rasa [Mon, 26 Mar 2007 20:08:11 +0000 (20:08 +0000)]
Added DateTime
Reworked operator<< for TimeDelta

17 years agoUse Time::sleep instead of sleep in Application::main
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: "

17 years agoThrow out anything polling related - they will go to libmspio eventually
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

17 years agoAdd a missing mutex unlock into Semaphore::wait
Mikko Rasa [Tue, 3 Oct 2006 21:25:23 +0000 (21:25 +0000)]
Add a missing mutex unlock into Semaphore::wait
Make MutexLock noncopyable

17 years agoAdd const TimeDelta zero
Mikko Rasa [Sat, 9 Sep 2006 15:57:08 +0000 (15:57 +0000)]
Add const TimeDelta zero

17 years agoWin32 type warning fixed
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)'

17 years agoChange sched_yield to a short sleep to improve performance on slower machines
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

17 years agoAdd LDFLAGS to CXX when linking...
Niko Liikanen [Tue, 5 Sep 2006 20:31:10 +0000 (20:31 +0000)]
Add LDFLAGS to CXX when linking...

17 years agoWin32-compatibility
Mikko Rasa [Tue, 5 Sep 2006 20:24:43 +0000 (20:24 +0000)]
Win32-compatibility

17 years agoWin32 compilation fixes
Mikko Rasa [Tue, 5 Sep 2006 13:32:12 +0000 (13:32 +0000)]
Win32 compilation fixes

17 years agoSemaphore is now win32-compatible, I hope
Mikko Rasa [Tue, 5 Sep 2006 12:24:46 +0000 (12:24 +0000)]
Semaphore is now win32-compatible, I hope

17 years agoNew Makefile to work with subdirs (For Win32 build)
Niko Liikanen [Mon, 4 Sep 2006 11:03:10 +0000 (11:03 +0000)]
New Makefile to work with subdirs (For Win32 build)

17 years agoAdd Build file
Mikko Rasa [Sun, 3 Sep 2006 18:52:08 +0000 (18:52 +0000)]
Add Build file

17 years agoRename to libmspcore
Mikko Rasa [Mon, 28 Aug 2006 07:59:47 +0000 (07:59 +0000)]
Rename to libmspcore
Combine with libmsptime

17 years agoStatic/Shared lib extension tweaks
Niko Liikanen [Thu, 24 Aug 2006 21:08:50 +0000 (21:08 +0000)]
Static/Shared lib extension tweaks
removed header/static lib from install

17 years agoWinMain for Win32
Niko Liikanen [Thu, 24 Aug 2006 20:41:28 +0000 (20:41 +0000)]
WinMain for Win32

17 years agoFixed Makefile linker flags
Niko Liikanen [Thu, 24 Aug 2006 19:57:09 +0000 (19:57 +0000)]
Fixed Makefile linker flags

17 years agoNative threads for Win32
Mikko Rasa [Thu, 24 Aug 2006 18:26:01 +0000 (18:26 +0000)]
Native threads for Win32

17 years agoWin32 tweaks
Niko Liikanen [Thu, 24 Aug 2006 16:03:09 +0000 (16:03 +0000)]
Win32 tweaks

17 years agoSignal definitions for Win32
Niko Liikanen [Thu, 24 Aug 2006 15:54:29 +0000 (15:54 +0000)]
Signal definitions for Win32

17 years agoUse an extra bool variable to indicate thread validity
Mikko Rasa [Thu, 24 Aug 2006 13:27:46 +0000 (13:27 +0000)]
Use an extra bool variable to indicate thread validity

17 years agoFirst version
Niko Liikanen [Wed, 23 Aug 2006 22:32:42 +0000 (22:32 +0000)]
First version

17 years agoAdd files
Mikko Rasa [Mon, 21 Aug 2006 17:04:11 +0000 (17:04 +0000)]
Add files

17 years agoCreate trunk
Mikko Rasa [Mon, 21 Aug 2006 17:01:49 +0000 (17:01 +0000)]
Create trunk