libs/core.git
13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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/*

13 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

13 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

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

13 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

13 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

13 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

14 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.

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

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

14 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

14 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()

14 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

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

14 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

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

14 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

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

14 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

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

14 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: "

14 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

15 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

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

15 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)'

15 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

15 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...

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

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

15 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

15 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)

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

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

15 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

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

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

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

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

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

15 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

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

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

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