cairo 1.16.0-x64-mingw32 → 1.16.1-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS +8 -0
- data/ext/cairo/rb_cairo.h +1 -1
- data/ext/cairo/rb_cairo_context.c +7 -0
- data/lib/2.2/cairo.so +0 -0
- data/lib/2.3/cairo.so +0 -0
- data/lib/2.4/cairo.so +0 -0
- data/lib/2.5/cairo.so +0 -0
- data/test/test_context.rb +2 -0
- data/vendor/local/bin/fc-cache.exe +0 -0
- data/vendor/local/bin/fc-cat.exe +0 -0
- data/vendor/local/bin/fc-conflist.exe +0 -0
- data/vendor/local/bin/fc-list.exe +0 -0
- data/vendor/local/bin/fc-match.exe +0 -0
- data/vendor/local/bin/fc-pattern.exe +0 -0
- data/vendor/local/bin/fc-query.exe +0 -0
- data/vendor/local/bin/fc-scan.exe +0 -0
- data/vendor/local/bin/fc-validate.exe +0 -0
- data/vendor/local/bin/libcairo-2.dll +0 -0
- data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
- data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
- data/vendor/local/bin/libfontconfig-1.dll +0 -0
- data/vendor/local/bin/libfreetype-6.dll +0 -0
- data/vendor/local/bin/libpixman-1-0.dll +0 -0
- data/vendor/local/bin/libpng16-16.dll +0 -0
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/png-fix-itxt.exe +0 -0
- data/vendor/local/bin/pngfix.exe +0 -0
- data/vendor/local/bin/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/bin/zlib1211.dll +0 -0
- data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
- data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
- data/vendor/local/lib/libcairo.dll.a +0 -0
- data/vendor/local/lib/libfontconfig.dll.a +0 -0
- data/vendor/local/lib/libfreetype.dll.a +0 -0
- data/vendor/local/lib/libpixman-1.dll.a +0 -0
- data/vendor/local/lib/libpng.dll.a +0 -0
- data/vendor/local/lib/libpng16.dll.a +0 -0
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libz.dll.a +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3441953f4bd3a877aaffa9269a123dc0a877c700d3429ec40d548a055e764d6
|
4
|
+
data.tar.gz: 3f3da16596c6b0fdcb036c9fbc05f914ef24e75552014a4fc14a0470363df0d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a539b721bc858471d76e2fdf6298d369505be8c46910d551a9254276662e0ec5b598e6d4fa99e4e584ed9d0089f3d0be47f1a784f2c5d7523ffac945d9e17870
|
7
|
+
data.tar.gz: 348678f05f44c2edb98b048f08191a276e8703c4060b5f97924f4940aaaf05349d981ebe406cbc4626c41faa3ca40c9e71cfcd67e9518ca097f86a488c0afb65
|
data/NEWS
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
Release 1.16.1 (2018-10-31) Kouhei Sutou <kou@cozmixng.org>
|
2
|
+
============================================================
|
3
|
+
|
4
|
+
Improvements
|
5
|
+
------------
|
6
|
+
|
7
|
+
* Added Cairo::Context#destroyed?.
|
8
|
+
|
1
9
|
Release 1.16.0 (2018-10-28) Kouhei Sutou <kou@cozmixng.org>
|
2
10
|
============================================================
|
3
11
|
|
data/ext/cairo/rb_cairo.h
CHANGED
@@ -122,6 +122,12 @@ cr_destroy (VALUE self)
|
|
122
122
|
return Qnil;
|
123
123
|
}
|
124
124
|
|
125
|
+
static VALUE
|
126
|
+
cr_destroyed (VALUE self)
|
127
|
+
{
|
128
|
+
return CBOOL2RVAL (DATA_PTR (self) == NULL);
|
129
|
+
}
|
130
|
+
|
125
131
|
static VALUE
|
126
132
|
cr_destroy_with_destroy_check (VALUE self)
|
127
133
|
{
|
@@ -1717,6 +1723,7 @@ Init_cairo_context (void)
|
|
1717
1723
|
/* Functions for manipulating state objects */
|
1718
1724
|
rb_define_method (rb_cCairo_Context, "initialize", cr_initialize, 1);
|
1719
1725
|
rb_define_method (rb_cCairo_Context, "destroy", cr_destroy, 0);
|
1726
|
+
rb_define_method (rb_cCairo_Context, "destroyed?", cr_destroyed, 0);
|
1720
1727
|
rb_define_method (rb_cCairo_Context, "reference_count",
|
1721
1728
|
cr_get_reference_count, 0);
|
1722
1729
|
|
data/lib/2.2/cairo.so
CHANGED
Binary file
|
data/lib/2.3/cairo.so
CHANGED
Binary file
|
data/lib/2.4/cairo.so
CHANGED
Binary file
|
data/lib/2.5/cairo.so
CHANGED
Binary file
|
data/test/test_context.rb
CHANGED
@@ -10,7 +10,9 @@ class ContextTest < Test::Unit::TestCase
|
|
10
10
|
context = Cairo::Context.new(@surface)
|
11
11
|
@surface.destroy
|
12
12
|
assert_not_equal("%%EOF\n", @output.string[-6..-1])
|
13
|
+
assert {not context.destroyed?}
|
13
14
|
context.destroy
|
15
|
+
assert {context.destroyed?}
|
14
16
|
assert_equal("%%EOF\n", @output.string[-6..-1])
|
15
17
|
end
|
16
18
|
|
Binary file
|
data/vendor/local/bin/fc-cat.exe
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/pngfix.exe
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/lib/libz.dll.a
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cairo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.16.
|
4
|
+
version: 1.16.1
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pkg-config
|