Vladimír Vondruš
440ece15fb
Audio,Text,Trade: accept void ArrayViews in importer plugins.
...
This makes it much less annoying to pass arbitrarily typed data, such as
std::uint8_t or char8_t and what not. It was already done like this for
the new shader converter plugins, where the input is often 32-bit ints
for SPIR-V.
OTOH the internal virtual API is kept with ArrayView<const char>, as
that makes it easier to operate on by the implementations.
5 years ago
Vladimír Vondruš
6eb0a52228
ShaderTools,Text: update plugin interface docs accordingly to Trade.
...
Don't care about Audio, that thing will be gone eventually anyway.
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 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š
b9413d3ff5
doc: avoid plugin interface strings getting out of sync with docs.
6 years ago
Vladimír Vondruš
868843c9bb
Remove heavy compatibility includes added in 2019.01.
...
Should have a strictly positive effect on compile times.
6 years ago
Vladimír Vondruš
5222cf3478
doc: change all "latest" additions/deprecations to 2020.06.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
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š
513f3f5392
doc: avoid linking to deprecated features.
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š
0d71c1d1cc
Search plugins relative to library DLLs on Windows.
...
Makes Windows users' lives slightly easier.
7 years ago
Vladimír Vondruš
25aa1b8c22
Text: expect opened font in all AbstractFont accessors.
...
Consistency is a king. This might be a perf penalty, but it prevents
accidents (and the user code can always cache the value), so it's
warranted.
7 years ago
Vladimír Vondruš
7fefac955a
Text: debug output for AbstractFont::Feature[s].
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š
94ca8273e1
No need to leak GL headers everywhere.
7 years ago
Vladimír Vondruš
a5634f4bf4
Text: fix annoying warnings on GCC 4.8.
7 years ago
Vladimír Vondruš
834c5fe40d
Text: API-independent base for glyph caches.
...
Allows the Font and FontConverter plugins be built without TARGET_GL
enabled. That was the last piece missing for making the magnum-plugins
repo completely GL-free.
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š
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
6cc7d2e3a5
Doxygen: extract private virtuals.
7 years ago
Vladimír Vondruš
e795478353
Make all vars initialized in constructors rather than at some later point.
...
Reported by PVS-Studio, many thanks to @alexesDev for collecting the
report.
8 years ago
Vladimír Vondruš
23b46ac91a
Split the OpenGL layer out, pt 22: adapted Text.
8 years ago
Vladimír Vondruš
253d3131fc
Text: missing includes on platforms w/o dynamic plugin support.
8 years ago
Vladimír Vondruš
d48293c07f
Don't compile pluginSearchPaths() on platforms that don't need it.
8 years ago
Vladimír Vondruš
d1ed10c0a8
Implement pluginSearchPaths() for all plugin interfaces.
8 years ago
Vladimír Vondruš
93aeac258a
Adapted to Corrade::PluginManager changes.
8 years ago
Vladimír Vondruš
d0d93d386f
Text: adapted to the new documentation theme.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
2ed3fba575
Adapted plugin constructor signatures to Corrade::PluginManager updates.
9 years ago
Vladimír Vondruš
ed0e4adeda
Text: don't leak AbstractLayouter subclasses.
...
They are passed in a std::unique_ptr<AbstractLayouter> and with the
non-virtual destructor their destructors weren't called. Found by
AddressSanitizer.
10 years ago
Vladimír Vondruš
66e17608e6
Text: introduce font ascent and descent.
...
It required some ABI-incompatible changes so I bumped the font and
font converter plugin interface strings to avoid crashes at runtime.
10 years ago
Vladimír Vondruš
23646e6690
Hell, this project is big.
10 years ago
Vladimír Vondruš
d7a922bfb5
Remove old std::u32string-related MinGW workarounds.
11 years ago
Vladimír Vondruš
99ff54d3d9
Adapted to Corrade changes.
11 years ago
Vladimír Vondruš
8882f62842
Text: clarified comments.
11 years ago
Vladimír Vondruš
fd0bfcb465
Get rid of annoying unsigned byte arrays.
...
`char*` is now the default type for byte arrays. Results in shorter
code, less annoyances and more convenient testing. As is the case with
Corrade, I'm not doing any compatibility/deprecation layer, as most of
these functions is not widely used anyway.
11 years ago
Vladimír Vondruš
6488fe6e75
Oh, it's 2015 already.
11 years ago
Vladimír Vondruš
643daa7594
Text: removed autolink-preventing % noise.
12 years ago
Vladimír Vondruš
0d9c21b491
doc: mention plugin interface string in plugin interface docs.
12 years ago
Vladimír Vondruš
c3df68aa28
doc: make section headers in class/function docs have sane size.
...
Similar reasoning as in mosra/corrade@93b8308bc6a4def9d4564a6cea236cabe54fe063.
12 years ago
Vladimír Vondruš
cbe63c7a04
Removed superfluous template parameter from EnumSet typedefs.
...
Because with GCC 4.7 we can.
12 years ago
Vladimír Vondruš
834f1a0346
Text: completed documentation review.
...
Added missing documentation and license header to deprecated header.
12 years ago
Vladimír Vondruš
6f0ba96cb6
Happy new year too.
12 years ago