Commit Graph

3387 Commits

Author SHA1 Message Date
78427bc45a Reorder signal exec traversal to allow deletions 2011-08-12 00:26:56 +10:00
955b97c73e Allow signal scoped_cookies to assign functors 2011-08-12 00:26:28 +10:00
caa1f3312b Added simple string routine files 2011-08-12 00:25:59 +10:00
f14e3abe3d Add cookies for selective signal disconnection 2011-08-10 21:31:24 +10:00
10c6a22df1 Use const accessors for signal dispatch 2011-08-10 21:30:55 +10:00
ec5e9f6c87 Add empty query for signals 2011-08-10 21:30:03 +10:00
9b049861f1 Tighten fixed representation static asserts 2011-08-10 21:28:44 +10:00
3fa14e88e0 Added stub fixed point class implementation 2011-08-08 16:44:30 +10:00
dbad60cf10 Remove function attribute suggestions for gcc
More annoying than helpful.
2011-08-08 16:22:54 +10:00
4c96950130 Change ragel used types to avoid size warnings 2011-08-08 16:22:25 +10:00
4091a5874d Fix test syntax errors 2011-07-29 17:56:26 +10:00
1fc1dd4134 Change range::includes to range::contains
Contains is more descriptive (of the actual implementation) as it
implies the entire argument is within the range. Includes should also be
provided at some point.
2011-07-29 17:38:07 +10:00
b642590ab2 Update a missing required header 2011-07-29 17:37:05 +10:00
3a13bdfa34 Add missing licencing headers 2011-07-20 20:34:46 +10:00
31796b34f6 Add pure annotation to simple maths and ntoh funcs 2011-07-16 15:53:53 +10:00
d6b943500c Move signal into namespace util
signal will clash with the POSIX signal function. This tends to be too
annoying to work around with careful inclusion orders or other
namespacing.
2011-07-16 14:47:56 +10:00
64448e7e5e Add a make_unique implementation 2011-07-16 14:47:34 +10:00
ce747924ab Add a simple line tracing macro 2011-07-16 14:47:10 +10:00
24e764c648 Correct the pool comment copyright year 2011-07-12 20:55:15 +10:00
3b15524b7b Conditionally enable mudflap at configure time 2011-07-12 20:55:01 +10:00
79e0d2de9d Merge branch 'master' of ssh://192.168.1.7/home/danny/libgim 2011-07-07 19:27:05 +10:00
d00f0a2639 Expand the ignore list for windows exe suffix 2011-07-06 22:00:24 +10:00
24e4cb4b35 Use correct header for EXIT_SUCCESS 2011-07-06 19:39:22 +10:00
f6d96fbe1b Expose mapped_file only if mmap is available 2011-07-06 19:29:38 +10:00
7cba9b8496 Json now parses from slurped strings, not mmap
mmap was a debatable choice in the first place, and is annoying under Windows,
so we may as well remove it.
2011-07-06 19:29:37 +10:00
fb6f74487b Use debug interrupt for breakpoint in i386 2011-07-06 19:29:35 +10:00
a3a6765d38 Slurp should take a const source path 2011-07-06 19:29:34 +10:00
6d52e37c93 Apply -flto only if compiler supports it 2011-07-06 19:29:33 +10:00
16afbccb3c Ensure size_t and ssize_t are available 2011-07-06 19:29:31 +10:00
0f1f27b132 Temporarily add fallback null path for backtrace 2011-07-06 19:29:30 +10:00
bc30b7c197 Initial trunc_cast implementation 2011-07-05 23:19:00 +10:00
be643f96d7 Remove now unnecessary sign_type template helper 2011-07-05 23:06:41 +10:00
6910ef10b9 New sign_cast implementation using SFINAE
* Uses enable_if to guarantee same size types for argument/return
* Uses type_traits to check signedness for specialisation
2011-07-05 22:55:18 +10:00
d3c98d479e Simplistic enable_if SFINAE helper implementation 2011-07-05 22:55:18 +10:00
4fb7b8e30f Use AM_CXX* for c++ build variables 2011-07-05 21:37:11 +10:00
1556b6aba6 Actually SUBST the boost build variables 2011-07-05 21:34:44 +10:00
41fb3e7b91 Add some doxygen comments for signal 2011-07-03 16:54:51 +10:00
128d46d9ad Use explicit sized integer types for sign_types<T>
When we used size_t/ssize_t they conflicted with the system's word sized
integers. This should work well for all the numeric types we're likely
to see.
2011-07-03 16:08:36 +10:00
165cd18c0c Explicitly instance one signal type for link error 2011-07-03 16:05:50 +10:00
6ba7a532f7 Add signal with pointer compilation/linking test 2011-07-03 16:04:49 +10:00
6e85e3c97b Don't use template vararg references for signals 2011-07-03 16:04:07 +10:00
c3b8b1e147 Remove signal disconnection methods
std::function does not support equality operators, so we have to remove
these or implement a better disconnection method. The former is easier
for the time being.
2011-07-03 16:02:36 +10:00
ced024dbe1 Enable silent automake rules 2011-07-03 15:54:00 +10:00
e748520bdb Run the item destructor when releasing a pool item 2011-07-01 18:41:50 +10:00
b4d6500f5f Add simple pool allocator implementation 2011-07-01 13:47:08 +10:00
87489b488a Add enable-debugging configure flag
* Controls all generation of programmer related debugging features.
  There are no performance guarantees (almost certainly slower) and no
  end-user benefits aside from enhanced crash info.
* Defaultly disable debugging features, and enable more aggressive
  optimisations in both the compiler and linker.
2011-06-30 21:45:02 +10:00
f29cb50ff7 Avoid type punning by using an integer/float union 2011-06-30 21:43:23 +10:00
c57a72705c Add ipv4::ip constructor from uint32_t 2011-06-30 20:34:53 +10:00
c886cd88e3 Harden boost version checks with failure msgs 2011-06-30 20:34:24 +10:00
ad9ec27f1d Add explicit failure for ragel check failure 2011-06-30 20:33:55 +10:00