196 Commits

Author SHA1 Message Date
Daviw Williams
d12a81d345 Log messages now automatically have std::endl applied, and work/behave similar to Qt logging functions. 2013-05-24 16:00:19 +02:00
Daviw Williams
c1461e7582 Added a null stream to suppress logging. 2013-05-24 13:51:52 +02:00
Daviw Williams
b12e6d045c Added additional logging streams. 2013-05-24 13:26:26 +02:00
Daviw Williams
f3b0183013 Switching to a stream-based interface for logging. 2013-05-22 14:21:50 +02:00
Daviw Williams
c806da9bb7 Compile fixes brought across from Cubiquity. 2013-05-16 16:17:01 +02:00
Daviw Williams
2203e30f39 Added documentation on error handling.
Default log handler now suppresses LogLevels::Debug messages.
2013-05-15 17:01:57 +02:00
Daviw Williams
a1355f6d50 More work on improved logging. 2013-05-15 15:55:39 +02:00
Daviw Williams
1010052ea6 Reworking the logging system. 2013-05-14 16:52:16 +02:00
David Williams
ee299a45f0 Work on error handling. I replaced some asserts with exceptions and also added basic error handling documentation. 2013-05-11 10:05:08 +02:00
Daviw Williams
df5c339f64 Just remembered that we settled on a different formatting for the API docs so that it gets highlighted better in KDE. 2013-03-04 15:36:11 +01:00
Daviw Williams
b4fcb3daf8 Added API documentation regarding compression. 2013-03-04 15:17:19 +01:00
Daviw Williams
d12db9906f Updated note about why we #include the miniz.c file. 2013-03-01 16:33:31 +01:00
David Williams
a7e49a1394 Still trying to get rid of the warnings on the CDash machine. It's tricky because I'm not seeing the locally and the warning supression seems to vary bewteen vesions of GCC (See: http://dbp-consulting.com/tutorials/SuppressingGCCWarnings.html). 2013-03-01 16:07:50 +01:00
David Williams
c28fa9a0ca It seems that GCC 4.3.5 (on the CDash machine) doesn't recognise ignoring the 'enum-compare' warning. This commit should switch of all warnings instead (just for this file). 2013-02-28 13:42:02 +01:00
David Williams
7e50dcbd93 It seems push/pop of diagnostic pragmas is only supported on GCC >= 4.6. I've just disabled the warning for the whole file instead. 2013-02-27 14:25:10 +01:00
Daviw Williams
80025eaa46 Attempting to disable GCC compiler warnings in miniz.c (as I don't want to modify external code). 2013-02-26 10:49:01 +01:00
Daviw Williams
62370868c8 Reverted accidental changes to tests.
Updated comments in compression code.
2013-02-25 17:06:12 +01:00
Daviw Williams
c42270f165 Possible Linux fix? I didn't reproduce the error myself so I'm just being guided by the CDash messages. 2013-02-25 16:51:57 +01:00
Daviw Williams
e770baeb05 Added assert for buffer size. 2013-02-25 16:46:04 +01:00
Daviw Williams
f70498e806 Removed old code. 2013-02-25 16:34:21 +01:00
Daviw Williams
34671130fb Tidying up Miniz compression code. 2013-02-25 16:33:39 +01:00
Daviw Williams
81eab0ebfb Work on low-level version of compression. 2013-02-22 17:03:47 +01:00
Daviw Williams
eb8ace0c54 Replaced high level miniz interface with low-level version. 2013-02-21 16:56:57 +01:00
David Williams
aef5373e8b Fixed case problem in folder name. 2013-02-01 16:37:13 +01:00
Daviw Williams
a1cdf78250 Block now working with new MinizCompressor. Removing some old compression code. 2013-01-30 16:49:06 +01:00
Matt Williams
7b64c0c3c0 Move Compression.cpp to folder with correct case 2013-01-14 12:27:04 +00:00
David Williams
ff789d296d Removed remaining traces of assert() 2013-01-01 18:08:59 +00:00
David Williams
4ee55bba2e More replacing assert() with POLYVOX_ASSERT 2013-01-01 15:34:34 +00:00
David Williams
2b70f81a9a Added missing .cpp file... thought I did this already?! 2012-12-29 20:32:21 +00:00
David Williams
4f7a6256a9 The throwing of exceptions can now be disabled, and in this case a handler function is called instead. 2012-12-29 00:11:23 +00:00
Daviw Williams
1f6cbb79a9 Merge branch 'develop' into feature/wrap-modes
Conflicts:
	library/PolyVoxCore/source/Region.cpp
2012-12-14 16:03:36 +01:00
David Williams
a502e84764 Updated comment style to match KDE/Kate (for Doxygen syntax highlighting). 2012-12-09 15:09:35 +01:00
David Williams
9a05f04f85 Merge branch 'develop' into feature/wrap-modes
Conflicts:
	library/PolyVoxCore/include/PolyVoxCore/RawVolumeSampler.inl
2012-12-03 21:30:51 +01:00
David Williams
7e38fc135e Removed features which were deprecated in release 0.2. 2012-12-03 21:22:57 +01:00
David Williams
ba827d446b Added 'containsPoint' functions which take separate components instead of vectors. 2012-11-30 23:47:03 +01:00
Daviw Williams
153d0afc77 Reordered functions for alphabetical order (except getters and setters). 2012-11-27 16:51:22 +01:00
Daviw Williams
61cd1d3a29 Renamed Region::erode() to Region::shrink() and renamed Region::dilate() to Region::grow. 2012-11-27 16:49:19 +01:00
Matt Williams
37fbe16939 Assert only takes one argument.
It was causing a compiler error on GCC.
2012-11-25 11:22:38 +00:00
David Williams
b2642ec5c6 More work on Region documentation. 2012-11-25 09:18:29 +01:00
David Williams
8f27c8fa9e Added accumulation functions. 2012-11-25 00:17:14 +01:00
David Williams
f5b638957c More Region documentation. 2012-11-24 23:36:46 +01:00
David Williams
e32d47ed8d Documentation of Region class. 2012-11-24 23:02:26 +01:00
David Williams
1b207325c4 Added documentation and new 'shift' functions. 2012-11-24 22:38:43 +01:00
David Williams
dec3f67a5a Inlined some functions. 2012-11-24 22:07:49 +01:00
David Williams
02b6421ab8 Reordered some functions. 2012-11-24 22:02:21 +01:00
David Williams
6d7246f907 More dilation and erosion functions for region. 2012-11-24 21:32:17 +01:00
David Williams
cbddc9cba4 Added basic dilation and erosion functions. 2012-11-24 12:52:37 +01:00
David Williams
9671f19444 Added setters to region. 2012-11-24 12:42:45 +01:00
David Williams
beee8850e9 Added getters for upper corner (trivial commit - part of git testing). 2012-11-24 10:41:07 +01:00
David Williams
cb992b7c34 Added getter methods for lower corner. (Trivial commit - part of Git testing) 2012-11-24 10:20:20 +01:00