22 Commits

Author SHA1 Message Date
Dmitry Marakasov
77a97972b3 Don't mention C++11 in project description
We currently use C++17 and will switch to a newer standards as
needed.

Fixes #137
2022-09-12 18:06:10 +03:00
Dmitry Marakasov
89ea96d008 Mark most single argument constructors explicit
Fixes #91
2017-02-14 14:14:26 +03:00
Dmitry Marakasov
20bdc36577 Add export statements all over the code 2016-05-23 17:11:12 +03:00
Dmitry Marakasov
12980ab29c Fix include 2016-05-09 04:55:49 +03:00
Dmitry Marakasov
9f8a72db9c Derive Exception from std::runtime_error instead of std::exception
Apart from placing Exception into right place in exception class
hierarchy this change allows more memory usage optimizations.

Fixes #68
2016-05-09 04:05:30 +03:00
Dmitry Marakasov
8be33f4fb4 Add explicit Exception default constructor 2015-09-17 15:33:00 +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
0f1dd26ebd Add in/out specifiers to param documentation 2015-01-12 21:43:28 +03:00
Dmitry Marakasov
c753c8ceba Multiple documentation fixes 2015-01-11 06:25:38 +03:00
Dmitry Marakasov
7a1f6d8f0d Fix typos 2015-01-10 22:11:50 +03:00
Dmitry Marakasov
e0032de447 Implement wrapper for SDL_image init/deinit
Fixes #21
2014-12-27 05:22:12 +03:00
Dmitry Marakasov
f6dc70863e Merge branch 'error-handling'
Conflicts:
	SDL2pp/Exception.hh
2014-12-27 02:32:38 +03:00
Dmitry Marakasov
4bf7fbd52c Store SDL error inside Exception
Fixes #22
2014-12-27 02:07:07 +03:00
Dmitry Marakasov
f28cd56337 Fix typo 2014-12-26 22:03:53 +03:00
Dmitry Marakasov
99f15b9403 Reference SDL as SDL2
Also makes % which disables autolinking uneeded
2014-12-19 21:30:10 +03:00
Dmitry Marakasov
fae12fdb7c Move whole descriptions into documentation headers 2014-12-19 21:28:03 +03:00
Dmitry Marakasov
8c06e7f8b9 Fix groups 2014-12-18 20:47:53 +03:00
Dmitry Marakasov
2c164dfcc2 Document Exception class 2014-12-18 20:20:47 +03:00
Dmitry Marakasov
46591a9cbf Update project comment 2014-12-18 02:52:08 +03:00
Dmitry Marakasov
0124e2703a Update copyright years 2014-12-18 02:51:49 +03:00
Carl Schwope
1c1f37b76e make destructors virtual 2013-11-14 15:53:51 -05:00
Dmitry Marakasov
c122f11643 Initial import 2013-09-06 01:47:05 +04:00