Vladimír Vondruš
d602c49b47
Revert "Amazing, now I get swap() conflicts from the other side, F.F.S."
...
The Utility::swap() addition was reverted until a robust solution for
the ambiguity is found.
This reverts commit 3784ca94cf .
3 years ago
Vladimír Vondruš
3784ca94cf
Amazing, now I get swap() conflicts from the other side, F.F.S.
...
This one is because ResourceKey is derived from a HashDigest class in
Corrade::Utility, where the new swap() implementation is. C++!!!
3 years ago
Vladimír Vondruš
bbb54a9df8
It's 2023 already!
3 years ago
Vladimír Vondruš
822fa0d644
Updated copyright year.
4 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
47e1106633
Avoid Resource unnecessarily asking for new data when nothing changed.
...
This wasn't as simple, turns out I had to fix setFallback() to keep
doing the right thing.
6 years ago
Vladimír Vondruš
2ba54b542c
Ensure std::string is not accidentally printed to Debug as ResourceKey.
6 years ago
Vladimír Vondruš
169378eb7d
Make Debug printer for ResourceKey more distinct.
...
Printing ResourceKey(0xabcd) instead of just abcd to make it clear what
it is.
6 years ago
Vladimír Vondruš
91fc09e3e9
Prefix internal Resource members with an underscore.
6 years ago
Vladimír Vondruš
eda984c9c9
Made Resource nothrow-movable.
...
Otherwise it can't be used in growable Arrays (and std::vector copies it
instead of moving when reallocating).
6 years ago
Vladimír Vondruš
f89e935f7d
Ensure Resource operator== doesn't work with different types.
...
Otherwise it could in some circumstances compare the actual
resource values giving false positives.
7 years ago
Daniel Guzman
909b05b8fa
Added equal and not equal operators in Magnum::Resource
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
105cef5efd
No need to use fully qualified name for \debugoperator.
8 years ago
Vladimír Vondruš
8181158697
Documentation updates for the new theme in the root namespace.
...
Also adding search keywords for hopefully all OpenGL APIs.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
a4d32e650a
Move friend declarations into private class sections.
...
And hide them from Doxygen so it's not complaining. Related bug:
https://bugzilla.gnome.org/show_bug.cgi?id=776986
8 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
23646e6690
Hell, this project is big.
10 years ago
Vladimír Vondruš
0aa16595eb
Use new-style debug operators everywhere.
11 years ago
Vladimír Vondruš
b268829993
Removed deprecated Resource conversion operator.
...
Use explicit conversion instead.
11 years ago
Vladimír Vondruš
3e2a91d27a
Cleaned up old Doxygen workarounds.
11 years ago
Vladimír Vondruš
27352e706c
Ability to create ResourceKey directly from the hash.
11 years ago
Vladimír Vondruš
959180dfd8
Math: removed deprecated Geometry::Rectangle class.
11 years ago
Vladimír Vondruš
6488fe6e75
Oh, it's 2015 already.
11 years ago
Vladimír Vondruš
f3e02008fb
No need to use class/struct keyword in friend declarations.
12 years ago
Vladimír Vondruš
bec87b9d32
Properly reference operator.
...
This wasn't actually Doxygen's fault.
12 years ago
Vladimír Vondruš
11ed4882e0
Removed some workarounds for references in documentation.
...
Fixed in Doxygen master. Yay!
12 years ago
Vladimír Vondruš
a894904cab
Removed autolink-preventing % noise and unneeded HTML from root namespace.
12 years ago
Vladimír Vondruš
664e765fd9
Doc++
...
Fixed Doxygen warnings, improved some workarounds. Everything now uses
explicit references (except where it doesn't work).
12 years ago
Vladimír Vondruš
6c9066be8c
doc: removed old Doxygen workarounds.
...
It can finally handle operators, yay! (Well, some of them...)
12 years ago
Vladimír Vondruš
bfbd4d2036
Completed documentation review in root namespace.
12 years ago
Vladimír Vondruš
e8aa600a34
Polished docs of ResourceManager API.
12 years ago
Vladimír Vondruš
c70f037add
Deprecate implicit conversion of Resource<T, U> to U&.
...
We are allowing implicit conversions only if they are harmless and this
is *not* harmless, as it might fire an assertion. The user should use
operator*() or operator->() instead, which will make these conversions
stand out more in the code. Also reduced code duplication.
12 years ago
Vladimír Vondruš
6f0ba96cb6
Happy new year too.
12 years ago
Vladimír Vondruš
222292239b
Making includes absolute, part 7: fix documentation.
12 years ago
Vladimír Vondruš
7a68362170
Making includes absolute, part 6: better filenames for internal files.
...
As we are now using absolute includes, there is no need to prefix
everything with "magnum<Namespace>" etc. All generated configuration
files are renamed to configure.h and their path is included _before_
everything else to avoid accidental collisions.
12 years ago
Vladimír Vondruš
0616f24f34
Making includes absolute, part 5: absolute includes everywhere.
...
The only places where they aren't absolute are:
- when header is included from corresponding source file
- when including headers which are not part of final installation (e.g.
test-specific configuration, headers from Implementation/)
12 years ago
Vladimír Vondruš
8c2291aa49
Making includes absolute, part 4: using absolute includes for Corrade.
...
Also adapted to some Corrade renames.
12 years ago
Vladimír Vondruš
45a10cefdf
Making includes absolute, part 1: moving files around.
...
Everything what was in src/ is now in src/Corrade, everything from
src/Plugins is now in src/MagnumPlugins, everything from external/ is in
src/MagnumExternal. Added new CMakeLists.txt file and updated the other
ones for the moves, no other change was made. If MAGNUM_BUILD_DEPRECATED
is set, everything compiles and installs like previously except for the
plugins, which are now in MagnumPlugins and not in Magnum/Plugins.
12 years ago
Vladimír Vondruš
13d5e2a50f
Removed enum-referencing Doxygen workarounds.
...
In 1.8.5 it is now possible to reference directly to enum member.
Hooray! Also added explicit @ref here and there, fixing some referencing
bugs along the way.
13 years ago
Vladimír Vondruš
d44f6ee94e
Add pointer conversion operator to Resource.
...
Unlike reference conversion this doesn't fire assertion when resource is
not loaded.
13 years ago
Vladimír Vondruš
e19154be5e
Reducing pointer chasings, part 3a: less pointer passing in root namespace.
...
Passing pointer as function parameter will now mean that it is possible
to pass `nullptr`. Some code examples now look like the parameter is
copied instead of referenced, which is misleading. Updated the
documentation to reflect that more clearly.
13 years ago
Vladimír Vondruš
091efebaa1
Make explicit `std::hash` specialization for ResourceKey.
...
Allows users to use ResourceKey in `std::unordered_map` more
conveniently.
13 years ago
Vladimír Vondruš
f7aa2c05a6
Deinlined heavy functions and removed redundant `inline` everywhere else.
13 years ago
Vladimír Vondruš
db71a23e3c
Bring whole Corrade namespace into Magnum namespace.
...
These projects are tightly interconnected anyway, this means a lot less
typing (yay!).
13 years ago
Vladimír Vondruš
7ef8432fbe
Doxygen: ignore specific namespaces instead of whole directories.
...
Less maintenance burden with `#ifndef DOXYGEN_GENERATING_OUTPUT`,
removed the ones which are not needed anymore.
13 years ago
Vladimír Vondruš
6a5d75d1e4
Relicensing to MIT/Expat license, part 2: headers.
13 years ago
Vladimír Vondruš
2d2d1c07f4
Using new type aliases in whole root Magnum namespace.
13 years ago