glib2 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,7 +35,7 @@ extern "C" {
35
35
 
36
36
  #define RBGLIB_MAJOR_VERSION 1
37
37
  #define RBGLIB_MINOR_VERSION 2
38
- #define RBGLIB_MICRO_VERSION 1
38
+ #define RBGLIB_MICRO_VERSION 2
39
39
 
40
40
  #ifndef RSTRING_PTR
41
41
  # define RSTRING_PTR(s) (RSTRING(s)->ptr)
@@ -63,10 +63,6 @@ typedef int GPid;
63
63
  # define G_SOURCE_CONTINUE TRUE
64
64
  #endif
65
65
 
66
- #ifndef HAVE_RB_STR_NEW_CSTR
67
- # define rb_str_new_cstr(c_string) rb_str_new2(c_string)
68
- #endif
69
-
70
66
  #define RBG_INSPECT(object) (rbg_rval_inspect(object))
71
67
 
72
68
  #define RVAL2CSTR(v) (rbg_rval2cstr(&(v)))
@@ -652,7 +652,7 @@ static gint
652
652
  poll_func(GPollFD *ufds, guint nfsd, gint timeout_)
653
653
  {
654
654
  VALUE func = rb_ivar_get(self, id_poll_func);
655
- if NIL_P(func) return -1;
655
+ if (NIL_P(func)) return -1;
656
656
 
657
657
  return INT2NUM(rb_funcall(func, 3, BOXED2RVAL(ufds, G_TYPE_POLL_FD),
658
658
  UINT2NUM(nfsd), INT2NUM(timeout_)));
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2011-2013 Ruby-GNOME2 Project Team
4
4
  * Copyright (C) 2007 Ruby-GNOME2 Project Team
5
5
  *
6
6
  * This library is free software; you can redistribute it and/or
@@ -29,6 +29,10 @@
29
29
  # define rb_errinfo() (ruby_errinfo)
30
30
  #endif
31
31
 
32
+ #ifndef HAVE_RB_STR_NEW_CSTR
33
+ # define rb_str_new_cstr(c_string) rb_str_new2(c_string)
34
+ #endif
35
+
32
36
  #ifndef G_VALUE_INIT
33
37
  # define G_VALUE_INIT { 0, { { 0 } } }
34
38
  #endif
@@ -1,3 +1,5 @@
1
+ # coding: binary
2
+
1
3
  require 'test/unit'
2
4
  require 'glib2'
3
5
 
metadata CHANGED
@@ -1,200 +1,184 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: glib2
3
- version: !ruby/object:Gem::Version
4
- hash: 29
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.2
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 2
9
- - 1
10
- version: 1.2.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - The Ruby-GNOME2 Project Team
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-01-30 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-03-11 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: pkg-config
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: test-unit
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
38
25
  none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 7
43
- segments:
44
- - 2
45
- version: "2"
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: test-unit
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '2'
46
38
  type: :development
47
- version_requirements: *id002
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '2'
48
46
  description: Ruby/GLib2 is a Ruby binding of GLib-2.x.
49
47
  email: ruby-gnome2-devel-en@lists.sourceforge.net
50
48
  executables: []
51
-
52
- extensions:
49
+ extensions:
53
50
  - ext/glib2/extconf.rb
54
51
  extra_rdoc_files: []
55
-
56
- files:
52
+ files:
57
53
  - README
58
54
  - Rakefile
59
55
  - extconf.rb
56
+ - lib/glib-mkenums.rb
57
+ - lib/glib2.rb
60
58
  - lib/glib2/deprecatable.rb
61
- - lib/gnome2-win32-binary-build-task.rb
62
59
  - lib/gnome2-raketask.rb
63
- - lib/glib2.rb
64
- - lib/mkmf-gnome2.rb
60
+ - lib/gnome2-win32-binary-build-task.rb
65
61
  - lib/gnome2-win32-binary-download-task.rb
66
- - lib/glib-mkenums.rb
67
- - ext/glib2/rbglib_timer.c
62
+ - lib/mkmf-gnome2.rb
63
+ - ext/glib2/depend
64
+ - ext/glib2/extconf.rb
65
+ - ext/glib2/glib2.def
66
+ - ext/glib2/rbgcompat.h
67
+ - ext/glib2/rbglib.c
68
+ - ext/glib2/rbglib.h
69
+ - ext/glib2/rbglib2conversions.h
70
+ - ext/glib2/rbglib_bookmarkfile.c
68
71
  - ext/glib2/rbglib_completion.c
69
- - ext/glib2/rbglib_iochannel_win32_socket.c
70
- - ext/glib2/rbgobj_param.c
71
- - ext/glib2/rbgobj_valuearray.c
72
- - ext/glib2/rbgutildeprecated.h
73
- - ext/glib2/rbglib_threads.c
74
- - ext/glib2/rbgobj_value.c
72
+ - ext/glib2/rbglib_convert.c
73
+ - ext/glib2/rbglib_error.c
75
74
  - ext/glib2/rbglib_fileutils.c
76
- - ext/glib2/rbglib.c
75
+ - ext/glib2/rbglib_i18n.c
76
+ - ext/glib2/rbglib_int64.c
77
+ - ext/glib2/rbglib_io_constants.c
77
78
  - ext/glib2/rbglib_iochannel.c
78
- - ext/glib2/rbgobj_type.c
79
- - ext/glib2/rbgobj_typeplugin.c
80
- - ext/glib2/rbglib.h
81
- - ext/glib2/rbgobj_convert.c
82
- - ext/glib2/rbgobj_strv.c
83
- - ext/glib2/rbglib_unichar.c
84
- - ext/glib2/rbglib_messages.c
85
- - ext/glib2/rbgutil.c
79
+ - ext/glib2/rbglib_iochannel_win32_socket.c
80
+ - ext/glib2/rbglib_iochannelerror.c
81
+ - ext/glib2/rbglib_keyfile.c
86
82
  - ext/glib2/rbglib_maincontext.c
87
- - ext/glib2/rbglib_utf16.c
88
- - ext/glib2/rbgobj_object.c
89
- - ext/glib2/rbgobj_typeinstance.c
90
- - ext/glib2/rbglib_error.c
91
- - ext/glib2/rbgobj_paramspecs.c
92
- - ext/glib2/rbglib2conversions.h
83
+ - ext/glib2/rbglib_mainloop.c
84
+ - ext/glib2/rbglib_messages.c
85
+ - ext/glib2/rbglib_pollfd.c
86
+ - ext/glib2/rbglib_shell.c
93
87
  - ext/glib2/rbglib_shellerror.c
94
- - ext/glib2/rbgutil_callback.c
95
- - ext/glib2/rbgobj_typemodule.c
88
+ - ext/glib2/rbglib_source.c
89
+ - ext/glib2/rbglib_spawn.c
90
+ - ext/glib2/rbglib_spawnerror.c
91
+ - ext/glib2/rbglib_threads.c
92
+ - ext/glib2/rbglib_timer.c
93
+ - ext/glib2/rbglib_ucs4.c
94
+ - ext/glib2/rbglib_unichar.c
95
+ - ext/glib2/rbglib_unicode.c
96
+ - ext/glib2/rbglib_utf16.c
97
+ - ext/glib2/rbglib_utf8.c
96
98
  - ext/glib2/rbglib_utils.c
97
- - ext/glib2/rbglib_mainloop.c
98
- - ext/glib2/extconf.rb
99
- - ext/glib2/rbgutil_list.h
100
- - ext/glib2/rbgobj_enums.c
101
99
  - ext/glib2/rbglib_win32.c
102
- - ext/glib2/rbglib_int64.c
103
- - ext/glib2/rbglib_io_constants.c
104
- - ext/glib2/glib2.def
105
- - ext/glib2/rbgcompat.h
106
- - ext/glib2/rbgobj_closure.c
107
- - ext/glib2/rbgobject.c
100
+ - ext/glib2/rbglibdeprecated.c
101
+ - ext/glib2/rbglibdeprecated.h
108
102
  - ext/glib2/rbgobj_boxed.c
109
- - ext/glib2/rbglib_shell.c
110
- - ext/glib2/rbgobject.h
111
- - ext/glib2/rbglib_utf8.c
103
+ - ext/glib2/rbgobj_closure.c
104
+ - ext/glib2/rbgobj_convert.c
105
+ - ext/glib2/rbgobj_enumflags.c
106
+ - ext/glib2/rbgobj_enums.c
107
+ - ext/glib2/rbgobj_flags.c
108
+ - ext/glib2/rbgobj_object.c
109
+ - ext/glib2/rbgobj_param.c
110
+ - ext/glib2/rbgobj_paramspecs.c
111
+ - ext/glib2/rbgobj_signal.c
112
+ - ext/glib2/rbgobj_strv.c
113
+ - ext/glib2/rbgobj_type.c
114
+ - ext/glib2/rbgobj_typeinstance.c
112
115
  - ext/glib2/rbgobj_typeinterface.c
113
- - ext/glib2/rbglib_convert.c
114
- - ext/glib2/rbglib_keyfile.c
115
- - ext/glib2/rbglib_ucs4.c
116
+ - ext/glib2/rbgobj_typemodule.c
117
+ - ext/glib2/rbgobj_typeplugin.c
118
+ - ext/glib2/rbgobj_value.c
119
+ - ext/glib2/rbgobj_valuearray.c
116
120
  - ext/glib2/rbgobj_valuetypes.c
117
- - ext/glib2/rbglib_i18n.c
118
- - ext/glib2/rbglib_spawnerror.c
119
- - ext/glib2/rbglib_unicode.c
120
- - ext/glib2/rbgobj_flags.c
121
- - ext/glib2/rbgutildeprecated.c
122
- - ext/glib2/rbglibdeprecated.c
123
- - ext/glib2/rbgutil_list.c
124
- - ext/glib2/depend
121
+ - ext/glib2/rbgobject.c
122
+ - ext/glib2/rbgobject.h
125
123
  - ext/glib2/rbgprivate.h
126
- - ext/glib2/rbglib_pollfd.c
124
+ - ext/glib2/rbgutil.c
127
125
  - ext/glib2/rbgutil.h
128
- - ext/glib2/rbglib_bookmarkfile.c
129
- - ext/glib2/rbglib_iochannelerror.c
130
- - ext/glib2/rbglib_source.c
131
- - ext/glib2/rbgobj_signal.c
132
- - ext/glib2/rbglibdeprecated.h
133
- - ext/glib2/rbgobj_enumflags.c
134
- - ext/glib2/rbglib_spawn.c
135
- - sample/timeout2.rb
126
+ - ext/glib2/rbgutil_callback.c
127
+ - ext/glib2/rbgutil_list.c
128
+ - ext/glib2/rbgutil_list.h
129
+ - ext/glib2/rbgutildeprecated.c
130
+ - ext/glib2/rbgutildeprecated.h
131
+ - sample/bookmarkfile.rb
136
132
  - sample/completion.rb
137
- - sample/utils.rb
138
- - sample/timeout.rb
139
133
  - sample/idle.rb
140
- - sample/bookmarkfile.rb
134
+ - sample/iochannel.rb
141
135
  - sample/keyfile.rb
142
136
  - sample/shell.rb
143
- - sample/timer.rb
144
- - sample/iochannel.rb
145
- - sample/type-register2.rb
146
137
  - sample/spawn.rb
138
+ - sample/timeout.rb
139
+ - sample/timeout2.rb
140
+ - sample/timer.rb
147
141
  - sample/type-register.rb
148
- - test/test_mkenums.rb
149
- - test/test_spawn.rb
142
+ - sample/type-register2.rb
143
+ - sample/utils.rb
144
+ - test/glib-test-init.rb
145
+ - test/glib-test-utils.rb
146
+ - test/run-test.rb
150
147
  - test/test_enum.rb
151
148
  - test/test_file_utils.rb
152
149
  - test/test_flags.rb
150
+ - test/test_glib2.rb
151
+ - test/test_iochannel.rb
153
152
  - test/test_key_file.rb
154
- - test/glib-test-utils.rb
155
- - test/run-test.rb
156
- - test/test_win32.rb
153
+ - test/test_mkenums.rb
157
154
  - test/test_signal.rb
158
- - test/test_glib2.rb
155
+ - test/test_spawn.rb
159
156
  - test/test_timeout.rb
160
- - test/test_utils.rb
161
157
  - test/test_unicode.rb
162
- - test/test_iochannel.rb
163
- - test/glib-test-init.rb
158
+ - test/test_utils.rb
159
+ - test/test_win32.rb
164
160
  homepage: http://ruby-gnome2.sourceforge.jp/
165
161
  licenses: []
166
-
167
162
  post_install_message:
168
163
  rdoc_options: []
169
-
170
- require_paths:
164
+ require_paths:
171
165
  - lib
172
- required_ruby_version: !ruby/object:Gem::Requirement
166
+ required_ruby_version: !ruby/object:Gem::Requirement
173
167
  none: false
174
- requirements:
175
- - - ">="
176
- - !ruby/object:Gem::Version
177
- hash: 61
178
- segments:
179
- - 1
180
- - 8
181
- - 5
168
+ requirements:
169
+ - - ! '>='
170
+ - !ruby/object:Gem::Version
182
171
  version: 1.8.5
183
- required_rubygems_version: !ruby/object:Gem::Requirement
172
+ required_rubygems_version: !ruby/object:Gem::Requirement
184
173
  none: false
185
- requirements:
186
- - - ">="
187
- - !ruby/object:Gem::Version
188
- hash: 3
189
- segments:
190
- - 0
191
- version: "0"
174
+ requirements:
175
+ - - ! '>='
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
192
178
  requirements: []
193
-
194
179
  rubyforge_project:
195
- rubygems_version: 1.8.24
180
+ rubygems_version: 1.8.23
196
181
  signing_key:
197
182
  specification_version: 3
198
183
  summary: Ruby/GLib2 is a Ruby binding of GLib-2.x.
199
184
  test_files: []
200
-