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.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS +8 -0
  3. data/ext/cairo/rb_cairo.h +1 -1
  4. data/ext/cairo/rb_cairo_context.c +7 -0
  5. data/lib/2.2/cairo.so +0 -0
  6. data/lib/2.3/cairo.so +0 -0
  7. data/lib/2.4/cairo.so +0 -0
  8. data/lib/2.5/cairo.so +0 -0
  9. data/test/test_context.rb +2 -0
  10. data/vendor/local/bin/fc-cache.exe +0 -0
  11. data/vendor/local/bin/fc-cat.exe +0 -0
  12. data/vendor/local/bin/fc-conflist.exe +0 -0
  13. data/vendor/local/bin/fc-list.exe +0 -0
  14. data/vendor/local/bin/fc-match.exe +0 -0
  15. data/vendor/local/bin/fc-pattern.exe +0 -0
  16. data/vendor/local/bin/fc-query.exe +0 -0
  17. data/vendor/local/bin/fc-scan.exe +0 -0
  18. data/vendor/local/bin/fc-validate.exe +0 -0
  19. data/vendor/local/bin/libcairo-2.dll +0 -0
  20. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  21. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  22. data/vendor/local/bin/libfontconfig-1.dll +0 -0
  23. data/vendor/local/bin/libfreetype-6.dll +0 -0
  24. data/vendor/local/bin/libpixman-1-0.dll +0 -0
  25. data/vendor/local/bin/libpng16-16.dll +0 -0
  26. data/vendor/local/bin/libxml2-2.dll +0 -0
  27. data/vendor/local/bin/png-fix-itxt.exe +0 -0
  28. data/vendor/local/bin/pngfix.exe +0 -0
  29. data/vendor/local/bin/xmlcatalog.exe +0 -0
  30. data/vendor/local/bin/xmllint.exe +0 -0
  31. data/vendor/local/bin/zlib1211.dll +0 -0
  32. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  33. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  34. data/vendor/local/lib/libcairo.dll.a +0 -0
  35. data/vendor/local/lib/libfontconfig.dll.a +0 -0
  36. data/vendor/local/lib/libfreetype.dll.a +0 -0
  37. data/vendor/local/lib/libpixman-1.dll.a +0 -0
  38. data/vendor/local/lib/libpng.dll.a +0 -0
  39. data/vendor/local/lib/libpng16.dll.a +0 -0
  40. data/vendor/local/lib/libxml2.dll.a +0 -0
  41. data/vendor/local/lib/libz.dll.a +0 -0
  42. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5aef778ab4a774c67001732ce01495c10dcf9c7208747abb4811b5f814ed2d6d
4
- data.tar.gz: b73951b75c81b0fbdfb3cdd4e88a2bd43f6cb8542fb2b86adec99e3ce157edd8
3
+ metadata.gz: f3441953f4bd3a877aaffa9269a123dc0a877c700d3429ec40d548a055e764d6
4
+ data.tar.gz: 3f3da16596c6b0fdcb036c9fbc05f914ef24e75552014a4fc14a0470363df0d1
5
5
  SHA512:
6
- metadata.gz: b7d9528ed02fea5f60db59aa3513d6b54aab36f64b0be23e85c9879f4ce18782f93af364eaf31a1fe5e2e01c0c72f4ba2b7b97e88b56c62d8662d224725a9d57
7
- data.tar.gz: fbbd47c847b05c774172d7b2cf2bcce15f58e7e08529cc20623a0a8161710e901c0eaa71a779cc7851f8488161ea789638a2ba98943d668d873be9b4dbbdd845
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
@@ -73,7 +73,7 @@ RB_CAIRO_BEGIN_DECLS
73
73
 
74
74
  #define RB_CAIRO_VERSION_MAJOR 1
75
75
  #define RB_CAIRO_VERSION_MINOR 16
76
- #define RB_CAIRO_VERSION_MICRO 0
76
+ #define RB_CAIRO_VERSION_MICRO 1
77
77
 
78
78
  RB_CAIRO_VAR VALUE rb_mCairo;
79
79
  RB_CAIRO_VAR VALUE rb_cCairo_Context;
@@ -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
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
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
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.0
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-28 00:00:00.000000000 Z
11
+ date: 2018-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pkg-config