Dmitry Marakasov
b9a8fef052
Add PPA for newer cmake
2015-05-14 18:13:53 +03:00
Dmitry Marakasov
31fd50fe61
Improve handling of c++11/14 standard flag
2015-05-14 03:04:09 +03:00
Dmitry Marakasov
b53a272d98
Bump version for next release
2015-03-27 12:24:36 +03:00
Dmitry Marakasov
0d08d4b7bc
Provide pi constant, clean up floating point math
...
Since M_PI is non-standard, provide own constant to avoid using
-std=gnu++11 or other unwanted hacks.
0.7.1
2015-03-27 03:55:52 +03:00
Dmitry Marakasov
30751aac1a
Next version will be just a bugfix release
2015-03-26 20:12:38 +03:00
Dmitry Marakasov
cf486a024a
Set correct pkgconfig directory for DragonFly as well
2015-03-26 20:06:06 +03:00
Dmitry Marakasov
195ce8161e
Mention YACP entry
2015-03-26 19:53:31 +03:00
Dmitry Marakasov
81bb0d5847
Add RUNTIME and ARCHIVE destinations for library installation
...
This is needed for e.g. windows on which libraries are installed
into RUNTIME/ARCHIVE destinations (see cmake docs on install(TARGETS)).
2015-03-26 19:37:45 +03:00
Dmitry Marakasov
8bdc43417d
Include cmath for sin/cos
2015-03-26 19:30:32 +03:00
Dmitry Marakasov
9a2e6a2e9c
Mention tutorial
2015-03-20 15:05:35 +03:00
Dmitry Marakasov
8636fb651f
Simplify exception handling
2015-03-20 15:04:07 +03:00
Dmitry Marakasov
78ccebea38
Merge branch 'readme-vs-doxygen'
2015-03-16 23:52:35 +03:00
Dmitry Marakasov
d88370442f
Preprocess README.md for doxygen
2015-03-16 23:32:40 +03:00
Dmitry Marakasov
325dc8abf4
Syntax highlight cmake code as well
2015-03-16 22:44:36 +03:00
kumar8600
4daba0efa8
Syntax highlight synopsis code in README.md
2015-03-16 12:56:14 +09:00
Dmitry Marakasov
9e8fb2fc69
Add section comment
2015-02-11 01:26:39 +03:00
Dmitry Marakasov
882c4b4737
Use more hinting bundled library path
2015-02-11 01:26:39 +03:00
Dmitry Marakasov
a31677af6a
Disable self-assignment warning for tests
...
As we deliberately do these self-assignments. Fixes -Werror build with clang 3.6.
2015-01-30 20:07:37 +03:00
Dmitry Marakasov
687d8f848f
Whitespace fixes
2015-01-24 23:42:21 +03:00
Dmitry Marakasov
33f48a165a
Mark SDL2 include dirs as system
2015-01-24 06:16:08 +03:00
Dmitry Marakasov
1159900d08
Bump version for next release
2015-01-22 20:55:28 +03:00
Dmitry Marakasov
e5210da891
Bump soversion after ABI-breaking changes since last release
0.7.0
2015-01-22 14:59:30 +03:00
Dmitry Marakasov
2869db24ef
Remove unneeded parentheses, fix README example
2015-01-21 23:15:18 +03:00
Dmitry Marakasov
3ac98e50f6
Implement Window::SetBordered
2015-01-21 23:13:41 +03:00
Dmitry Marakasov
50a73c1377
Implement Window::SetIcon
2015-01-21 23:13:24 +03:00
Dmitry Marakasov
f9435a520e
Add coverity status badge
2015-01-21 21:16:24 +03:00
Dmitry Marakasov
d7b28aa79b
Mark deprecated method as such in documentation
2015-01-20 03:40:42 +03:00
Dmitry Marakasov
ca859c83a7
Fix test
2015-01-20 03:07:09 +03:00
Dmitry Marakasov
eccb504b4f
Use more EXPECT_EQUAL when applicable
2015-01-20 03:03:12 +03:00
Dmitry Marakasov
fdcbcddc1d
Implement stream output operators for Point and Rect
2015-01-20 02:56:34 +03:00
Dmitry Marakasov
fa7ba94957
Implement Point::Wrap
2015-01-20 02:38:16 +03:00
Dmitry Marakasov
ecf9731750
Implement more Window methods
2015-01-19 23:29:51 +03:00
Dmitry Marakasov
dfaf8d0da3
Fix documentation
2015-01-19 20:19:29 +03:00
Dmitry Marakasov
ead93d1d69
Implement Rect::IntersectLine
2015-01-19 20:18:41 +03:00
Dmitry Marakasov
14f352dddd
Implement Rect::Extend
2015-01-19 19:57:40 +03:00
Dmitry Marakasov
0de09713c9
Add mutating Union method
2015-01-19 19:51:43 +03:00
Dmitry Marakasov
2e3f6bbeb2
Provide default value for SDL_image init flags
2015-01-19 03:06:56 +03:00
Dmitry Marakasov
c319587b3b
Extend example in README
2015-01-19 02:06:48 +03:00
Dmitry Marakasov
689f57b864
Exception rework
...
Now it explicitely stores name of SDL function which caused an error
and generates complete user-readable error message which contains both
function name and SDL error message. Users can now handle SDL2pp
exceptions along with all others in `catch (std::exception&)' and
get complete error info.
While here, fixed incorrect function names in some throw's
2015-01-19 01:41:37 +03:00
Dmitry Marakasov
c22b50e62e
Add missing return
2015-01-19 01:08:27 +03:00
Dmitry Marakasov
952c2ced0c
Merge branch 'clamp'
2015-01-19 01:05:36 +03:00
Dmitry Marakasov
e54e29fe4a
Merge branch 'use-bool'
2015-01-19 01:05:32 +03:00
Dmitry Marakasov
b20b256d0a
Add used SDL libraries into pkgconfig file
...
As SDL2pp doesn't replace SDL2 and is designed to be used with plain
SDL2 code, consumers which use SDL2pp with pkgconfig will almost always
be forced to include both SDL2pp and SDL2 includes and libraries. This
seems inconvenient, so add SDL2 libraries to SDL2pp pkgconfig file. This
also improves consistency with the fact that SDL2 includes are
already included in sdl2pp.pc.
2015-01-19 01:05:11 +03:00
Dmitry Marakasov
9d90792378
Implement Point::Clamp(Rect)
2015-01-19 01:05:05 +03:00
Dmitry Marakasov
ae1eac9423
Use bool type for boolean argument
2015-01-19 01:04:57 +03:00
Dmitry Marakasov
425b2f835f
Merge branch 'chaining'
2015-01-19 01:04:48 +03:00
Dmitry Marakasov
7f174505eb
Cosmetic fix
2015-01-19 00:59:20 +03:00
Dmitry Marakasov
e2c1333987
Make setters return reference to self: AudioDevice
2015-01-19 00:58:22 +03:00
Dmitry Marakasov
713f42fe1d
Make setters return reference to self: Window
2015-01-19 00:52:15 +03:00
Dmitry Marakasov
40e8f71efa
Make setters return reference to self: Point and Rect
2015-01-19 00:47:25 +03:00