cairo 1.16.0-x86-mingw32 → 1.16.1-x86-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: 539440293bd74d287f82014128a1b50f351517581a42bf97ed5785d25233d442
|
4
|
+
data.tar.gz: 3f1765b5b896e91f8a810200fdc6e08aa0bfe77ddd4cc10fa7cce5b205a67e72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49d0fbfcfb7cf468262692d756c58e037d67a72642fa563c4edb6e91465c0032d13ee52db42fd9014fedf617fc073475df4ea5cfd546069cf1060d1b1bf11701
|
7
|
+
data.tar.gz: e0eec698bcfc64bf886f9cf054247d89ebb810c309b9ede3d6e416aa38a7b5e478e83172b63f0e87cb62ba8d30a62c9b9bd44b19ad5a6eae56535b46c4d319a1
|
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: x86-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
|