Vladimír Vondruš
e3c72b36ee
Trade: doc++
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
5c223d2045
doc: reference CLI utils from plugin interface classes.
6 years ago
Vladimír Vondruš
13dfb6472f
ShaderTools: bootstrap new library.
...
Currently there's just a plugin interface for shader converters. More
stuff (probably something like SPIR-V reflection) will come later.
6 years ago
Vladimír Vondruš
7231a48fbf
Trade,Text: this is a much better example for template file callbacks.
6 years ago
Vladimír Vondruš
78f38b89ad
Trade: doc++
...
Huh, so much copypaste bullshit.
6 years ago
Vladimír Vondruš
9c14f1d367
Trade: clarify AbstractImporter::do*Count() error handling.
6 years ago
Vladimír Vondruš
ddb7185417
Trade: make AbstractImporter::defaultScene() const.
...
Makes more sense as the function isn't expected to fail (and thus any
kind of lazy population is not possible as it would be too late for
error checks anyway).
*Not* updating interface strings even though this is an ABI break
because we're doing that right after the skin import interface bump.
6 years ago
Vladimír Vondruš
5217f48499
Trade: disallow custom deleters in AbstractImporter::skinXD().
6 years ago
Vladimír Vondruš
8c24ea19d3
Trade: skin import in AbstractImporter.
6 years ago
Vladimír Vondruš
b9413d3ff5
doc: avoid plugin interface strings getting out of sync with docs.
6 years ago
Vladimír Vondruš
1be899d7fb
Trade: doc++
6 years ago
Vladimír Vondruš
0ec8e002fb
Trade: return Optional instead of Pointer from *Importer::material().
...
The plugin interface version got bumped to avoid ABI issues when loading
plugins that weren't updated for the change, but apart from that this
shouldn't be a breaking change, as the API returns a type that can be
both an Optional and a Pointer.
6 years ago
Vladimír Vondruš
18fffd6fdf
Trade: remove compatibility include of PointerStl from AbstractImporter.
...
For some reason forgotten in 868843c9bb .
6 years ago
Vladimír Vondruš
5222cf3478
doc: change all "latest" additions/deprecations to 2020.06.
6 years ago
Vladimír Vondruš
769e27340f
Trade: AbstractImporter::importerState() expects a file to be opened.
...
The restriction was there always, but was undocumented and untested.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
0bdb70fcf6
Trade: add flags to AbstractImporter and AbstractImageConverter.
6 years ago
Vladimír Vondruš
4090a88c97
Rework plugin search paths using new Corrade APIs.
6 years ago
Vladimír Vondruš
3b4093da14
Doc++
6 years ago
Vladimír Vondruš
c3299ad3c5
Trade: print a message when named thing is not found.
...
Otherwise it's hard to distinguish whether it's a particular importer
fault (failing without a message) or if the name is not found.
6 years ago
Vladimír Vondruš
081dd8981f
Doxygen, FFS.
6 years ago
Vladimír Vondruš
9425c23d0a
Trade: support mesh level import in AbstractImporter.
...
Similar to image mip level import, but this is largely left to be
importer-specific. For example PLY defines per-face data and sometimes
one might want to import them as-is, without them being turned into a
per-vertex property.
6 years ago
Vladimír Vondruš
a02e9465d6
Trade: allow retrieving importer data directly by name.
6 years ago
Vladimír Vondruš
006790969a
Trade, MeshTools: deprecate MeshDataXD and everything that uses it.
6 years ago
Vladimír Vondruš
0f4a5adb4d
Trade: deprecate AbstractImporter interfaces for MeshDataXD.
...
For backwards compatibility these will delegate to the new MeshData
interfaces for 3D (and nothing for 2D, because so far there were no 2D
scene importers).
6 years ago
Vladimír Vondruš
036fced749
Trade: whitelist (exported) growable array deleters in imported data.
6 years ago
Vladimír Vondruš
4011e3006d
Trade: allow non-owning aray deleters passed through Importer APIs.
6 years ago
Vladimír Vondruš
fb1fdf6105
Trade: implement Importer interfaces for the new MeshData.
...
Deprecating of the old ones comes later.
6 years ago
Vladimír Vondruš
8f52397027
Trade: mark new APIs as such.
6 years ago
Vladimír Vondruš
dfacd7fb2d
Trade: support mip levels in image import.
...
There's a new level option in each imageND() API, plus an
imageNDLevelCount() query to get image level count.
6 years ago
Vladimír Vondruš
d14655aa1d
doc: fix outdated docs about plugin search paths.
6 years ago
Vladimír Vondruš
19dd7a0176
Move Feature[s] enums from inside plugin classes outside.
...
Too annoyingly long to type. Also added a debug output operator for the
FontConverterFeature enums, for some reason there were none.
6 years ago
Vladimír Vondruš
a920722839
doc: label deprecated APIs and stuff new since 2019.10 with version info.
...
Should make new things more discoverable, avoid confusion when a
documented API isn't there and reduce the need for maintaining multiple
separate versions of the docs.
7 years ago
Vladimír Vondruš
84fc685c87
Trade, Audio: explicitly disallow custom deleters returned from plugins.
7 years ago
Vladimír Vondruš
0d71c1d1cc
Search plugins relative to library DLLs on Windows.
...
Makes Windows users' lives slightly easier.
7 years ago
Vladimír Vondruš
10d5894e50
Trade: doc++
7 years ago
Vladimír Vondruš
344e00ce11
Text: implement file callbacks for AbstractFont.
...
Basically mirroring the API of Trade::AbstractImporter, as that proved
to be useful. The old crazy openSingleData() and openData(horribleStuff)
are deprecated and will be removed in a future release.
No backwards compatibility is provided for font plugins, these need to
be adapted.
7 years ago
Vladimír Vondruš
037206fd56
Trade: minor cleanup.
7 years ago
Vladimír Vondruš
e361f38cfb
Trade: fix annoying missing initializer warnings on GCC 4.8.
7 years ago
Vladimír Vondruš
589a912fa1
Trade: accept const references in AbstractImporter file callbacks.
7 years ago
Vladimír Vondruš
11b4514372
Trade: doc++
7 years ago
Vladimír Vondruš
e3fc0d037c
Move Trade::ImporterFileCallbackPolicy to InputFileCallbackPolicy.
...
It'll get used outside of the root namespace and since the callbacks tend
to be quite complex, it would be silly to require users to implement one
callback for Trade, one for Text and one for Audio, for example.
7 years ago
Vladimír Vondruš
697c17279c
Backwards compatibility for std::unique_ptr where needed.
7 years ago
Vladimír Vondruš
f9f3df69de
Get rid of std::unique_ptr.
7 years ago
Vladimír Vondruš
24b8ff086c
Removed std::optional backwards compatibility.
...
This was a dirty mess. Good riddance. Also removing the include from the
header now, as it has a forward declaration and thus is not needed.
7 years ago
Vladimír Vondruš
a18ec9b6d8
Doc++
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
6cc7d2e3a5
Doxygen: extract private virtuals.
7 years ago
Vladimír Vondruš
de68076f65
Trade: doc++
8 years ago