cairo 1.16.3 → 1.16.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1092a9e815c9ca80088e0510376c96f12afa69d8262d2aa45b8728806533982f
4
- data.tar.gz: c5c8e094a7b71f88e7eb8cc8d2f313d97716b89a244fddbbfcdeee70ec2ac934
3
+ metadata.gz: 931c34c80b0bec428101eec72233a8a79c93280f669b697a6b0e9f75984717a4
4
+ data.tar.gz: c47c77a46ad816182a80145309577baf179ad518ffc120a41844103f0ba26562
5
5
  SHA512:
6
- metadata.gz: fb2ee47dca5f0596e5caff413752c78c4762463019014d9d60f5df6cb58945cf9c3c7b91ecce9ade3b30e531b08688218f79ec8c9ff2be469a146fcf08729e30
7
- data.tar.gz: 887e2986b4ea7a737c7f327ef16c8341ba1882ef7eca8ee645fc319d093893a1710048b60f8eb2205a1d3848ff9f55452d8ac9ed1b812fd9ac2ad9f45a50db60
6
+ metadata.gz: bad78b7e2cd19631b96108320d086ebfce58caf15d819080ebfa8777d1f126c5a96fc889d9482fa7baa9b8c427a5d732020c59bd5f49e81abca376ee7a407544
7
+ data.tar.gz: 6c7d14eaabc9562e0bd509faedbe6dac9fc27603ed330b64ecc6067a339bfadfa10d45f1a863fc33bd5b8d099136e9269f056210d893ff414197cd3eac852ddf
data/NEWS CHANGED
@@ -1,3 +1,11 @@
1
+ Release 1.16.4 (2019-03-09) Kouhei Sutou <kou@cozmixng.org>
2
+ ============================================================
3
+
4
+ Fixes
5
+ -----
6
+
7
+ * Removed Skia related code entirely.
8
+
1
9
  Release 1.16.3 (2019-03-09) Kouhei Sutou <kou@cozmixng.org>
2
10
  ============================================================
3
11
 
data/Rakefile CHANGED
@@ -1,13 +1,6 @@
1
1
  # -*- coding: utf-8; mode: ruby -*-
2
2
 
3
- require "English"
4
-
5
- require "find"
6
- require "fileutils"
7
- require "open-uri"
8
3
  require "rubygems"
9
- require "rubygems/package_task"
10
- require "yard"
11
4
  require "bundler/gem_helper"
12
5
  require "packnga"
13
6
 
@@ -50,7 +50,6 @@ EXPORTS
50
50
  rb_cCairo_DRMSurface DATA
51
51
  rb_cCairo_TeeSurface DATA
52
52
  rb_cCairo_XMLSurface DATA
53
- rb_cCairo_SkiaSurface DATA
54
53
  rb_cCairo_SubSurface DATA
55
54
  rb_cCairo_CoglSurface DATA
56
55
 
@@ -5,7 +5,7 @@
5
5
  * $Author: kou $
6
6
  * $Date: 2008-09-19 12:56:27 $
7
7
  *
8
- * Copyright 2006-2018 Kouhei Sutou <kou@cozmixng.org>
8
+ * Copyright 2006-2019 Kouhei Sutou <kou@cozmixng.org>
9
9
  * Copyright 2005 Øyvind Kolås <pippin@freedesktop.org>
10
10
  * Copyright 2004-2005 MenTaLguY <mental@rydia.com>
11
11
  *
@@ -53,15 +53,7 @@
53
53
 
54
54
  RB_CAIRO_BEGIN_DECLS
55
55
 
56
- #if defined(RUBY_CAIRO_PLATFORM_WIN32) && !defined(RB_CAIRO_PLATFORM_WIN32)
57
- # define RB_CAIRO_PLATFORM_WIN32 RUBY_CAIRO_PLATFORM_WIN32
58
- #endif
59
-
60
- #if defined(RUBY_CAIRO_STATIC_COMPILATION) && !defined(RB_CAIRO_STATIC_COMPILATION)
61
- # define RB_CAIRO_STATIC_COMPILATION RUBY_CAIRO_STATIC_COMPILATION
62
- #endif
63
-
64
- #if defined(RB_CAIRO_PLATFORM_WIN32) && !defined(RB_CAIRO_STATIC_COMPILATION)
56
+ #ifdef __WIN32__
65
57
  # ifdef RB_CAIRO_COMPILATION
66
58
  # define RB_CAIRO_VAR __declspec(dllexport)
67
59
  # else
@@ -73,7 +65,7 @@ RB_CAIRO_BEGIN_DECLS
73
65
 
74
66
  #define RB_CAIRO_VERSION_MAJOR 1
75
67
  #define RB_CAIRO_VERSION_MINOR 16
76
- #define RB_CAIRO_VERSION_MICRO 3
68
+ #define RB_CAIRO_VERSION_MICRO 4
77
69
 
78
70
  RB_CAIRO_VAR VALUE rb_mCairo;
79
71
  RB_CAIRO_VAR VALUE rb_cCairo_Context;
@@ -125,7 +117,6 @@ RB_CAIRO_VAR VALUE rb_cCairo_GLTextureSurface;
125
117
  RB_CAIRO_VAR VALUE rb_cCairo_DRMSurface;
126
118
  RB_CAIRO_VAR VALUE rb_cCairo_TeeSurface;
127
119
  RB_CAIRO_VAR VALUE rb_cCairo_XMLSurface;
128
- RB_CAIRO_VAR VALUE rb_cCairo_SkiaSurface;
129
120
  RB_CAIRO_VAR VALUE rb_cCairo_SubSurface;
130
121
  RB_CAIRO_VAR VALUE rb_cCairo_Device;
131
122
  RB_CAIRO_VAR VALUE rb_cCairo_DRMDevice;
@@ -64,9 +64,8 @@ rb_cairo__const_get (VALUE name, const char *prefix)
64
64
  normalized_name_len = strlen (normalized_name);
65
65
 
66
66
  const_name = ALLOCA_N (char, prefix_len + normalized_name_len + 1);
67
- strncpy (const_name, prefix, prefix_len);
68
- strncpy (const_name + prefix_len, normalized_name, normalized_name_len);
69
- const_name[prefix_len + normalized_name_len] = '\0';
67
+ strcpy (const_name, prefix);
68
+ strcpy (const_name + prefix_len, normalized_name);
70
69
 
71
70
  return rb_const_get (rb_mCairo, rb_intern (const_name));
72
71
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cairo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.3
4
+ version: 1.16.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou