cairo 1.16.0-x86-mingw32 → 1.16.1-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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: 49e3b45b5f6fcda9097672871a5ba22c4a52fa7af3a4a1e62eec1ea2abaeef7f
4
- data.tar.gz: 7da486c3c5108554f0dd092cbaf909bfd3467e5a1c31e293542d7e9c0454729c
3
+ metadata.gz: 539440293bd74d287f82014128a1b50f351517581a42bf97ed5785d25233d442
4
+ data.tar.gz: 3f1765b5b896e91f8a810200fdc6e08aa0bfe77ddd4cc10fa7cce5b205a67e72
5
5
  SHA512:
6
- metadata.gz: efed7128295940fd669153f447d246013914318b75619ce4d5cd7cf6bf40c5ee0d17eee9cf3d628c44090056912e7c3c64289f1963cd761faa6e4ad1f7c38773
7
- data.tar.gz: b04a8a02511def0190c7180d096cc6d5d655760c66a0f2711fe56f1f452d549590bbcaccd824f9d7c82e3eff47f13b8008b2f9efcd23cd0f16ca0a3b1002da54
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
 
@@ -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
 
Binary file
Binary file
Binary file
Binary file
@@ -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
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: x86-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