508 Commits

Author SHA1 Message Date
Dmitry Marakasov
93dc374280 Merge branch 'char16_t' 2015-06-10 00:08:53 +03:00
Dmitry Marakasov
0fd5aafea3 Merge branch 'fill-copy' 2015-06-10 00:08:47 +03:00
Dmitry Marakasov
fdbca27e73 Merge branch 'copy-to-point' 2015-06-10 00:08:41 +03:00
Dmitry Marakasov
6ba171ca11 Implement and install cmake module file 2015-06-09 22:40:46 +03:00
Dmitry Marakasov
635deff498 Add utf8 and utf16 cases to the demo 2015-05-14 18:04:30 +03:00
Dmitry Marakasov
2e2cbbb1e4 Add functions for u16string handling 2015-05-14 17:50:02 +03:00
Dmitry Marakasov
b636ce43a4 Fix SDL_ttf documentation references 2015-05-14 17:33:57 +03:00
Dmitry Marakasov
7403182cc9 Make ttf demo more flexible 2015-05-14 16:29:51 +03:00
Dmitry Marakasov
3d5d94573a Mention DPorts 2015-04-13 21:32:12 +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
fbe9a77044 Add demo for FillCopy() 2015-03-12 17:44:28 +03:00
Dmitry Marakasov
ae590b5212 Implement Renderer::FillCopy() 2015-03-12 17:44:08 +03:00
Dmitry Marakasov
be69a4ede6 Add Renderer::Copy overloads which take target Point instead of a Rect 2015-02-16 21:19:31 +03: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