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

16 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

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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

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

16 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

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

16 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

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

16 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

16 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

17 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

17 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

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

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

17 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

17 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

17 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

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

17 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

17 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

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

17 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

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

17 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

17 years agoFix a bug in Regex with brackets
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

17 years agoAdd a function to perform simple character mapping
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)

17 years agoRework the codec API completely to remove the internal buffering
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

17 years agoAdd Id tags and copyright notices to a few files that were missing them
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

17 years agoAdd documentation for all functions in utils
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

17 years agoRevamp the split functions to allow a max_split argument and splitting by longer...
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

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

17 years agoUpdate svn:ignore
Mikko Rasa [Wed, 20 Jun 2007 20:32:01 +0000 (20:32 +0000)]
Update svn:ignore

17 years agoAdd a simple grep program
Mikko Rasa [Wed, 20 Jun 2007 20:19:10 +0000 (20:19 +0000)]
Add a simple grep program

17 years agoInitial revision
Mikko Rasa [Tue, 12 Jun 2007 12:07:58 +0000 (12:07 +0000)]
Initial revision

17 years agoAdd operator bool() to RegMatch::Group
Mikko Rasa [Mon, 11 Jun 2007 06:38:53 +0000 (06:38 +0000)]
Add operator bool() to RegMatch::Group

17 years agoglobcasematch takes a std::string, not Path
Mikko Rasa [Mon, 11 Jun 2007 06:38:33 +0000 (06:38 +0000)]
globcasematch takes a std::string, not Path

17 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

17 years agoDon't require mspmisc
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

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

17 years agoRequire mspcore and not mspmisc
Mikko Rasa [Fri, 25 May 2007 17:23:28 +0000 (17:23 +0000)]
Require mspcore and not mspmisc

17 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 agoAdd glob and regex thingies
Mikko Rasa [Fri, 25 May 2007 17:05:52 +0000 (17:05 +0000)]
Add glob and regex thingies
error.h is now in mspcore

17 years agoRename Latin1 as Iso88591
Mikko Rasa [Sat, 21 Apr 2007 22:18:54 +0000 (22:18 +0000)]
Rename Latin1 as Iso88591
Add Windows1252

17 years agoAdd copyright notices and Id tags
Mikko Rasa [Sat, 21 Apr 2007 14:41:09 +0000 (14:41 +0000)]
Add copyright notices and Id tags

17 years agoMore sophisticated error handling
Mikko Rasa [Thu, 19 Apr 2007 08:55:12 +0000 (08:55 +0000)]
More sophisticated error handling
A couple of win32 fixes

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 agoFixed split to allow empty parts in beginning and end of string
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

17 years agoAdded reset function for StringCodec::Decoder
Mikko Rasa [Sun, 18 Mar 2007 17:04:45 +0000 (17:04 +0000)]
Added reset function for StringCodec::Decoder

17 years agoCorrected style errors
Mikko Rasa [Sun, 18 Mar 2007 16:47:23 +0000 (16:47 +0000)]
Corrected style errors

17 years agoFix Iso2022Jp
Mikko Rasa [Sun, 18 Mar 2007 16:35:35 +0000 (16:35 +0000)]
Fix Iso2022Jp

17 years agoAdd utils
Mikko Rasa [Fri, 16 Mar 2007 21:57:47 +0000 (21:57 +0000)]
Add utils
Fix a few bugs in Fmt

17 years agostrutils.h -> strings/utils.h
Mikko Rasa [Wed, 7 Mar 2007 20:18:43 +0000 (20:18 +0000)]
strutils.h -> strings/utils.h
Small bugfix

17 years agoInitial upload
Mikko Rasa [Wed, 7 Mar 2007 20:17:41 +0000 (20:17 +0000)]
Initial upload

17 years agoCreate trunk
Mikko Rasa [Sat, 24 Feb 2007 17:44:34 +0000 (17:44 +0000)]
Create trunk

17 years agoCreate trunk
Mikko Rasa [Sat, 24 Feb 2007 12:26:00 +0000 (12:26 +0000)]
Create trunk

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

18 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

18 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

18 years agoAdd a missing ! to make .. components to behave correctly
Mikko Rasa [Fri, 22 Sep 2006 11:05:50 +0000 (11:05 +0000)]
Add a missing ! to make .. components to behave correctly

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

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

18 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

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

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

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

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

18 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

18 years agoUpdated Makefile
Niko Liikanen [Mon, 4 Sep 2006 11:04:46 +0000 (11:04 +0000)]
Updated Makefile