glib2 2.0.1-x86-mingw32 → 2.0.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/ext/glib2/glib2.def +1 -0
  2. data/ext/glib2/rbglib.h +1 -14
  3. data/ext/glib2/rbgutil.c +19 -1
  4. data/ext/glib2/rbgutil.h +2 -1
  5. data/lib/1.9/glib2.so +0 -0
  6. data/lib/2.0/glib2.so +0 -0
  7. data/lib/gnome2/rake/package-task.rb +4 -0
  8. data/vendor/local/bin/certtool.exe +0 -0
  9. data/vendor/local/bin/danetool.exe +0 -0
  10. data/vendor/local/bin/gdbus.exe +0 -0
  11. data/vendor/local/bin/gio-querymodules.exe +0 -0
  12. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  13. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  14. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  15. data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
  16. data/vendor/local/bin/gnutls-cli.exe +0 -0
  17. data/vendor/local/bin/gnutls-serv.exe +0 -0
  18. data/vendor/local/bin/gobject-query.exe +0 -0
  19. data/vendor/local/bin/gresource.exe +0 -0
  20. data/vendor/local/bin/gsettings.exe +0 -0
  21. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  22. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  23. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  24. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  25. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  26. data/vendor/local/bin/libgmp-10.dll +0 -0
  27. data/vendor/local/bin/libgnutls-28.dll +0 -0
  28. data/vendor/local/bin/libgnutls-openssl-27.dll +0 -0
  29. data/vendor/local/bin/libgnutls-xssl-0.dll +0 -0
  30. data/vendor/local/bin/libgnutlsxx-28.dll +0 -0
  31. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  32. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  33. data/vendor/local/bin/libhogweed-2-4.dll +0 -0
  34. data/vendor/local/bin/libnettle-4-6.dll +0 -0
  35. data/vendor/local/bin/nettle-hash.exe +0 -0
  36. data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
  37. data/vendor/local/bin/ocsptool.exe +0 -0
  38. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  39. data/vendor/local/bin/psktool.exe +0 -0
  40. data/vendor/local/bin/sexp-conv.exe +0 -0
  41. data/vendor/local/bin/srptool.exe +0 -0
  42. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  43. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  44. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  45. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  46. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  47. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  48. data/vendor/local/lib/libgmp.dll.a +0 -0
  49. data/vendor/local/lib/libgnutls-openssl.a +0 -0
  50. data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
  51. data/vendor/local/lib/libgnutls-xssl.a +0 -0
  52. data/vendor/local/lib/libgnutls-xssl.dll.a +0 -0
  53. data/vendor/local/lib/libgnutls.a +0 -0
  54. data/vendor/local/lib/libgnutls.dll.a +0 -0
  55. data/vendor/local/lib/libgnutlsxx.a +0 -0
  56. data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
  57. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  58. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  59. data/vendor/local/lib/libhogweed.a +0 -0
  60. data/vendor/local/lib/libhogweed.dll.a +0 -0
  61. data/vendor/local/lib/libnettle.a +0 -0
  62. data/vendor/local/lib/libnettle.dll.a +0 -0
  63. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  64. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  65. data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
  66. data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
  67. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  68. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  69. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
  70. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
  71. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  72. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  73. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
  74. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
  75. data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
  76. data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
  77. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  78. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  79. metadata +2 -2
@@ -127,6 +127,7 @@ EXPORTS
127
127
  rbgutil_start_callback_dispatch_thread
128
128
  rbgutil_stop_callback_dispatch_thread
129
129
  rbgutil_string_set_utf8_encoding
130
+ rbgutil_key_equal
130
131
  rbgerr_define_gerror
131
132
  rbgerr_gerror2exception
132
133
  rbgobj_convert_define
@@ -35,7 +35,7 @@ extern "C" {
35
35
 
36
36
  #define RBGLIB_MAJOR_VERSION 2
37
37
  #define RBGLIB_MINOR_VERSION 0
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,19 +63,6 @@ typedef int GPid;
63
63
  # define G_SOURCE_CONTINUE TRUE
64
64
  #endif
65
65
 
66
- /* For suppressing a warning:
67
- * warning: format '%p' expects argument of type 'void *', but argument 3 has type 'VALUE' [-Wformat]
68
- *
69
- * Ruby's printf format that is used in rb_raise() uses '%p" for
70
- * argument.inspect instead of formatting pointer address that is used
71
- * in printf(3).
72
- */
73
- #ifdef __GNUC__
74
- # define RBG_PRINTF_INSPECT_VALUE(rb_object) GUINT_TO_POINTER(rb_object)
75
- #else
76
- # define RBG_PRINTF_INSPECT_VALUE(rb_object) (rb_object)
77
- #endif
78
-
79
66
  #define RBG_INSPECT(object) (rbg_rval_inspect(object))
80
67
 
81
68
  #define RVAL2CSTR(v) (rbg_rval2cstr(&(v)))
@@ -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) 2002-2004 Masao Mutoh
5
5
  *
6
6
  * This library is free software; you can redistribute it and/or
@@ -27,6 +27,7 @@ static ID id_add_one_arg_setter;
27
27
  static ID id_set_property;
28
28
  static ID id_to_a;
29
29
  static ID id_allocate;
30
+ static ID id_equal;
30
31
 
31
32
  void
32
33
  rbg_define_method(VALUE klass, const char *name, VALUE (*func)(ANYARGS), int argc)
@@ -116,6 +117,22 @@ rbgutil_string_set_utf8_encoding(VALUE string)
116
117
  return string;
117
118
  }
118
119
 
120
+ gboolean
121
+ rbgutil_key_equal(VALUE rb_key, const char *key)
122
+ {
123
+ switch (TYPE(rb_key)) {
124
+ case RUBY_T_STRING:
125
+ return RVAL2CBOOL(rb_funcall(rb_key, id_equal, 1, rb_str_new_cstr(key)));
126
+ break;
127
+ case RUBY_T_SYMBOL:
128
+ return SYM2ID(rb_key) == rb_intern(key);
129
+ break;
130
+ default:
131
+ return FALSE;
132
+ break;
133
+ }
134
+ }
135
+
119
136
  void
120
137
  Init_gutil(void)
121
138
  {
@@ -124,4 +141,5 @@ Init_gutil(void)
124
141
  id_to_a = rb_intern("to_a");
125
142
  id_add_one_arg_setter = rb_intern("__add_one_arg_setter");
126
143
  id_allocate = rb_intern("allocate");
144
+ id_equal = rb_intern("==");
127
145
  }
@@ -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) 2002,2003 Masao Mutoh
5
5
  *
6
6
  * This library is free software; you can redistribute it and/or
@@ -96,6 +96,7 @@ extern void rbgutil_start_callback_dispatch_thread(void);
96
96
  extern void rbgutil_stop_callback_dispatch_thread(void);
97
97
 
98
98
  extern VALUE rbgutil_string_set_utf8_encoding(VALUE string);
99
+ extern gboolean rbgutil_key_equal(VALUE rb_string, const char *key);
99
100
 
100
101
  /*< protected >*/
101
102
  RUBY_GLIB2_VAR ID rbgutil_id_module_eval;
Binary file
Binary file
@@ -61,6 +61,10 @@ module GNOME2
61
61
  @dependency_configuration
62
62
  end
63
63
 
64
+ def package
65
+ @package
66
+ end
67
+
64
68
  def windows
65
69
  @package.windows
66
70
  end
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  prerelease:
6
6
  platform: x86-mingw32
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-25 00:00:00.000000000 Z
12
+ date: 2013-05-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pkg-config