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 +4 -4
- data/NEWS +8 -0
- data/Rakefile +0 -7
- data/ext/cairo/cairo.def +0 -1
- data/ext/cairo/rb_cairo.h +3 -12
- data/ext/cairo/rb_cairo_private.c +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 931c34c80b0bec428101eec72233a8a79c93280f669b697a6b0e9f75984717a4
|
4
|
+
data.tar.gz: c47c77a46ad816182a80145309577baf179ad518ffc120a41844103f0ba26562
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/ext/cairo/cairo.def
CHANGED
data/ext/cairo/rb_cairo.h
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
* $Author: kou $
|
6
6
|
* $Date: 2008-09-19 12:56:27 $
|
7
7
|
*
|
8
|
-
* Copyright 2006-
|
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
|
-
#
|
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
|
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
|
-
|
68
|
-
|
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
|
}
|