| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
New API requires a version bump.
|
|
|
|
|
|
|
|
| |
This can be convenient for language bindings to access the readonly
data in a form that includes length, and also avoids a copy (for
readonly pixbufs).
https://bugzilla.gnome.org/show_bug.cgi?id=732297
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GdkPixbuf is an old API that predates introspection and GBytes. It
has some confusion around whether or not pixbuf data is mutable or
not. The _new_from_data() API takes a *const* pointer, but it's not
copied, and _get_pixels() returns a non-const copy of the same
pointer.
There are several cases where we get read-only data, such as a
GResource. For language bindings, _new_from_data() doesn't work
because the array may be a temporary copy only allocated for the call.
In order to support a clean _new_from_bytes() API, we need to add the
concept of a read-only pixbuf into the core. The fundamental hack
here is that _get_pixels() now causes an implicit copy.
For the cases where we don't want to copy, add a new
gdk_pixbuf_read_pixels() that returns a proper const pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=732297
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
As the Visual Studio 2012/2013 are only slightly different from the Visual
Studio 2010 projects, we can provide support for them by using scripts to
copy the Visual Studio 2010 projects, and update the specific parts as
necessary.
Thus, there would be little maintenance overhead for these as only the 2010
projects need to be kept up-to-date as a result. This might change when we
do get the stack working with WinRT/Metro, but that's going to be another
totally different issue.
|
|
|
|
|
|
|
|
|
| |
Since gobject-introsection-1.40.0 we are passing in the .lib file(s) to
deduce the DLL(s) that the introspection files should look for, instead of
just passing in the DLL file(s), we no longer need to make a copy of the
main .lib file to match the <namespace-name>-<namespace-version> convention
for use during the linking stage of the introspection build. Remove that
from the introspection builds as a result.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, due to the way that Visual Studio 2010+ projects are handled,
the "install" project does not re-build upon changes to the sources, as it
does not believe that its dependencies have changed, although the changed
sources are automatically recompiled. This means that if a part or more
of the solution does not build, or if the sources need some other fixes
or enhancements, the up-to-date build is not copied automatically, which
can be misleading.
Improve on the situation by forcing the "install" project to trigger its
rebuild, so that the updated binaries can be copied. This does trigger an
MSBuild warning, but having that warning is way better than not having an
up-to-date build, especially during testing and development.
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=730161
|
|
|
|
|
|
|
| |
The case where preserve_aspect_ratio is TRUE and both the width
and height are given wasn't explicitely documented.
https://bugzilla.gnome.org/show_bug.cgi?id=727848
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=728357
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
It does not get expanded anymore; lets just say gdk-pixbuf.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds an NMake Makefile that is used to generate the introspection
files for GDK-Pixbuf, which replaces the previous approach of generating
them via the Visual Studio Projects. This makes it clearer to people on
what things are needed in order to build the introspection files if so
desired, and makes things a bit cleaner as the build results can be
cleaned away easily. This also takes the recent change in g-i into
account, where we no longer pass in the DLL file name but instead pass in
the library name on Windows, just as it was done on *nix.
The existing .bat file for this purpose is removed as a result.
|
|
|
|
|
|
|
|
| |
This removes the gengir projects from the Visual Studio Projects, so that
this paves the initial step of building the introspection files using NMake
Makefiles, as the current approach requires many environment variables to
be set in order to build the introspection files successfully, which is a
bit clunky.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Switch to markdown for our inline markup needs, and
turn off sgml mode for the docs.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Skip tests if their file format is not supported by the
available loaders.
https://bugzilla.gnome.org/show_bug.cgi?id=722651
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This will let us use tap mode for installed tests as well.
|
|
|
|
|
|
| |
fread() doesn't return -1 on error, so don't check for < 0.
https://bugzilla.gnome.org/show_bug.cgi?id=721371
|
|
|
|
|
|
|
|
|
|
| |
Split up the Visual Studio 2008/2010 property sheets, so that they can be
more easily maintained; also remove items that aren't really needed for the
build and merge a few items that are frequently repeated.
Also make the copying of config.h from config.h.win32 done with a custom
build rule so that we have a clean source tree when cleaning the build from
the IDE.
|
| |
|
| |
|
| |
|