-
Notifications
You must be signed in to change notification settings - Fork 47
Changelog
GFM has been broken down to its more popular components.
Very breaking changes:
- Removed
gfm:sdl2 - Removed
gfm:assimp - Removed
gfm:freeimage - Removed
gfm:core - Removed
gfm:opengl - Remove vector types which are rarely used and were deprecated at v7. This speed-up build times of
gfm:matha lot
The only surviving subpackages are gfm:math and gfm:integers.
You will probably find something equivalent in the D ecosystem. I don't have the time to maintain that code anymore.
You can maintain it yourself, or stay at GFM v7.
Breaking changes:
- Every wrapper updated to latest derelict-util v3. This restablish compatibility with other Derelict wrapper which may have switched.
-
Not possible anymore to setup OpenGL versions: the default of DerelictGL3 is used. No deprecated OpenGL functions are used or made available anymore. The requirements of the latest DerelictGL3 with regards to OpenGL versions are unknown.
gfm.opengl.OpenGL.reload()changed signature to signal this lack of choice.
Please reevaluate if you really want to use gfm:opengl.
Breaking changes:
-
the package
gfm:imagehas been removed and merged intodplug:guipackage. You can useimageformatsdirectly or copy/pastestb_truetype.din your project if this is a problem. -
gfm.integers.rationalmodule is gone. Use this package instead: http://code.dlang.org/packages/rationald -
LockedQueuehas moved to the packagedplug:coreto become@nogc.
GFM continues to be less and less useful and serve fewer use cases ;)
Breaking changes:
-
gfm:netandgfm:enetsubpackages have been removed. It turns out nobody was using them. If you need them, stay at~>4.0.
Breaking changes:
- dropped support for compilers with < 2.067 frontend. GDC is unsupported until it reaches 2.067.
-
gfm:mathhas been split in two packages. All things rather useless were put into agfm:integerspackage which contains:- half floating-point numbers in
gfm.integers.half - wide integers in
gfm.integers.wideint - fixed-point numbers in
gfm.integers.fixedpoint - rational numbers in
gfm.integers.rational
- half floating-point numbers in
-
gfm:imagenow depends onimageformatsversion 5. This shouldn't affect your code at all. - all
deprecatedaliases and functions gone. Theclose()function are gone for real. - no more dependency on the
loggerpackage. From now on onlystd.experimental.loggeris used. - no more predefined aliases for matrices of unsigned integers.
Breaking changes:
-
gfm:imagenow uses theimageformatspackage as a dependency (https://github.com/lgvz/imageformats). The function for image loading is stillloadImageand should work identically. This unbreaks JPEG loading.gfm.image.stb_imageis gone. No more GIF loading but I don't know if it even worked and you get TGA loading instead. -
gfm.math.funcs.minandgfm.math.funcs.maxwere removed since they already exist instd.algorithm. -
The
close()functions are all gone! The new behaviour of destructors is to assert if an actual resource release happen while called by the GC (this assert does not trigger in release mode). So relying on the GC for accidental resource release is now a bug. You can use.destroyinstead to call the destructor for a class object in replacement for callingclose(). -
gfm:mathis not compatible anymore with front-ends prior 2.066
Features:
- Derelict loaders aren't unloaded anymore when the library object disappear. Should allow eg. other OpenGL libraries to work with GFM.