glib2 1.0.3 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/ext/glib2/extconf.rb +1 -0
  2. data/ext/glib2/glib2.def +23 -0
  3. data/ext/glib2/rbgcompat.h +19 -5
  4. data/ext/glib2/rbglib.c +607 -160
  5. data/ext/glib2/rbglib.h +81 -26
  6. data/ext/glib2/rbglib2conversions.h +57 -0
  7. data/ext/glib2/rbglib_bookmarkfile.c +117 -107
  8. data/ext/glib2/rbglib_completion.c +37 -26
  9. data/ext/glib2/rbglib_convert.c +42 -30
  10. data/ext/glib2/rbglib_error.c +20 -10
  11. data/ext/glib2/rbglib_fileutils.c +48 -37
  12. data/ext/glib2/rbglib_i18n.c +24 -14
  13. data/ext/glib2/rbglib_int64.c +24 -16
  14. data/ext/glib2/rbglib_iochannel.c +146 -204
  15. data/ext/glib2/rbglib_iochannel_win32_socket.c +56 -0
  16. data/ext/glib2/rbglib_iochannelerror.c +49 -0
  17. data/ext/glib2/rbglib_keyfile.c +171 -182
  18. data/ext/glib2/rbglib_maincontext.c +107 -92
  19. data/ext/glib2/rbglib_mainloop.c +34 -21
  20. data/ext/glib2/rbglib_messages.c +53 -44
  21. data/ext/glib2/rbglib_pollfd.c +37 -26
  22. data/ext/glib2/rbglib_shell.c +29 -22
  23. data/ext/glib2/rbglib_shellerror.c +34 -0
  24. data/ext/glib2/rbglib_source.c +49 -36
  25. data/ext/glib2/rbglib_spawn.c +50 -61
  26. data/ext/glib2/rbglib_spawnerror.c +53 -0
  27. data/ext/glib2/rbglib_threads.c +28 -16
  28. data/ext/glib2/rbglib_timer.c +35 -24
  29. data/ext/glib2/rbglib_ucs4.c +79 -0
  30. data/ext/glib2/rbglib_unichar.c +209 -0
  31. data/ext/glib2/rbglib_unicode.c +34 -584
  32. data/ext/glib2/rbglib_utf16.c +78 -0
  33. data/ext/glib2/rbglib_utf8.c +259 -0
  34. data/ext/glib2/rbglib_utils.c +95 -91
  35. data/ext/glib2/rbglib_win32.c +52 -45
  36. data/ext/glib2/rbglibdeprecated.c +56 -0
  37. data/ext/glib2/rbglibdeprecated.h +34 -0
  38. data/ext/glib2/rbgobj_boxed.c +40 -33
  39. data/ext/glib2/rbgobj_closure.c +45 -34
  40. data/ext/glib2/rbgobj_convert.c +19 -9
  41. data/ext/glib2/rbgobj_enumflags.c +109 -0
  42. data/ext/glib2/rbgobj_enums.c +67 -646
  43. data/ext/glib2/rbgobj_flags.c +522 -0
  44. data/ext/glib2/rbgobj_fundamental.c +19 -6
  45. data/ext/glib2/rbgobj_object.c +90 -81
  46. data/ext/glib2/rbgobj_param.c +78 -83
  47. data/ext/glib2/rbgobj_paramspecs.c +20 -12
  48. data/ext/glib2/rbgobj_signal.c +248 -193
  49. data/ext/glib2/rbgobj_strv.c +20 -10
  50. data/ext/glib2/rbgobj_type.c +153 -149
  51. data/ext/glib2/rbgobj_typeinstance.c +49 -39
  52. data/ext/glib2/rbgobj_typeinterface.c +37 -27
  53. data/ext/glib2/rbgobj_typemodule.c +39 -29
  54. data/ext/glib2/rbgobj_typeplugin.c +36 -26
  55. data/ext/glib2/rbgobj_value.c +41 -11
  56. data/ext/glib2/rbgobj_valuearray.c +59 -23
  57. data/ext/glib2/rbgobj_valuetypes.c +27 -17
  58. data/ext/glib2/rbgobject.c +26 -40
  59. data/ext/glib2/rbgobject.h +38 -20
  60. data/ext/glib2/rbgprivate.h +87 -5
  61. data/ext/glib2/rbgutil.c +52 -238
  62. data/ext/glib2/rbgutil.h +55 -42
  63. data/ext/glib2/rbgutil_callback.c +47 -12
  64. data/ext/glib2/rbgutil_list.c +173 -0
  65. data/ext/glib2/rbgutil_list.h +85 -0
  66. data/ext/glib2/rbgutildeprecated.c +252 -0
  67. data/ext/glib2/rbgutildeprecated.h +63 -0
  68. data/lib/glib-mkenums.rb +2 -2
  69. data/lib/glib2.rb +2 -25
  70. data/lib/glib2/deprecatable.rb +149 -0
  71. data/lib/gnome2-raketask.rb +45 -15
  72. data/lib/gnome2-win32-binary-downloader.rb +1 -1
  73. data/lib/mkmf-gnome2.rb +37 -18
  74. data/test/test_flags.rb +129 -0
  75. data/test/test_key_file.rb +6 -2
  76. data/test/test_spawn.rb +33 -0
  77. metadata +26 -7
  78. data/ChangeLog +0 -3513
@@ -0,0 +1,129 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ require 'test/unit'
4
+ require 'glib2'
5
+
6
+ class TestFlags < Test::Unit::TestCase
7
+ {
8
+ '<=>' => [
9
+ [0b0000, 0.0, nil],
10
+ [0b0000, 0b0000, 0],
11
+ [0b0000, 0b0110, -1],
12
+ [0b0000, 0b1111, -1],
13
+ [0b0110, 0b0000, 1],
14
+ [0b0110, 0b0011, nil],
15
+ [0b0110, 0b0110, 0],
16
+ [0b0110, 0b0111, -1],
17
+ [0b0110, 0b1001, nil],
18
+ [0b0110, 0b1100, nil],
19
+ [0b0110, 0b1110, -1],
20
+ [0b0110, 0b1111, -1],
21
+ [0b1111, 0b0000, 1],
22
+ [0b1111, 0b0110, 1],
23
+ [0b1111, 0b1111, 0],
24
+ ],
25
+ '==' => [
26
+ [0b0000, 0.0, nil],
27
+ [0b0000, 0b0000, true],
28
+ [0b0000, 0b0110, false],
29
+ [0b0000, 0b1111, false],
30
+ [0b0110, 0b0000, false],
31
+ [0b0110, 0b0011, false],
32
+ [0b0110, 0b0110, true],
33
+ [0b0110, 0b0111, false],
34
+ [0b0110, 0b1001, false],
35
+ [0b0110, 0b1100, false],
36
+ [0b0110, 0b1110, false],
37
+ [0b0110, 0b1111, false],
38
+ [0b1111, 0b0000, false],
39
+ [0b1111, 0b0110, false],
40
+ [0b1111, 0b1111, true],
41
+ ],
42
+ '>=' => [
43
+ [0b0000, 0.0, nil],
44
+ [0b0000, 0b0000, true],
45
+ [0b0000, 0b0110, false],
46
+ [0b0000, 0b1111, false],
47
+ [0b0110, 0b0000, true],
48
+ [0b0110, 0b0011, false],
49
+ [0b0110, 0b0110, true],
50
+ [0b0110, 0b0111, false],
51
+ [0b0110, 0b1001, false],
52
+ [0b0110, 0b1100, false],
53
+ [0b0110, 0b1110, false],
54
+ [0b0110, 0b1111, false],
55
+ [0b1111, 0b0000, true],
56
+ [0b1111, 0b0110, true],
57
+ [0b1111, 0b1111, true],
58
+ ],
59
+ '<=' => [
60
+ [0b0000, 0.0, nil],
61
+ [0b0000, 0b0000, true],
62
+ [0b0000, 0b0110, true],
63
+ [0b0000, 0b1111, true],
64
+ [0b0110, 0b0000, false],
65
+ [0b0110, 0b0011, false],
66
+ [0b0110, 0b0110, true],
67
+ [0b0110, 0b0111, true],
68
+ [0b0110, 0b1001, false],
69
+ [0b0110, 0b1100, false],
70
+ [0b0110, 0b1110, true],
71
+ [0b0110, 0b1111, true],
72
+ [0b1111, 0b0000, false],
73
+ [0b1111, 0b0110, false],
74
+ [0b1111, 0b1111, true],
75
+ ],
76
+ '>' => [
77
+ [0b0000, 0.0, nil],
78
+ [0b0000, 0b0000, false],
79
+ [0b0000, 0b0110, false],
80
+ [0b0000, 0b1111, false],
81
+ [0b0110, 0b0000, true],
82
+ [0b0110, 0b0011, false],
83
+ [0b0110, 0b0110, false],
84
+ [0b0110, 0b0111, false],
85
+ [0b0110, 0b1001, false],
86
+ [0b0110, 0b1100, false],
87
+ [0b0110, 0b1110, false],
88
+ [0b0110, 0b1111, false],
89
+ [0b1111, 0b0000, true],
90
+ [0b1111, 0b0110, true],
91
+ [0b1111, 0b1111, false],
92
+ ],
93
+ '<' => [
94
+ [0b0000, 0.0, nil],
95
+ [0b0000, 0b0000, false],
96
+ [0b0000, 0b0110, true],
97
+ [0b0000, 0b1111, true],
98
+ [0b0110, 0b0000, false],
99
+ [0b0110, 0b0011, false],
100
+ [0b0110, 0b0110, false],
101
+ [0b0110, 0b0111, true],
102
+ [0b0110, 0b1001, false],
103
+ [0b0110, 0b1100, false],
104
+ [0b0110, 0b1110, true],
105
+ [0b0110, 0b1111, true],
106
+ [0b1111, 0b0000, false],
107
+ [0b1111, 0b0110, false],
108
+ [0b1111, 0b1111, false],
109
+ ],
110
+ }.each do |operator, values|
111
+ values.each do |a, b, expected|
112
+ a_format = a.is_a?(Float) ? "%f" : "0b%04b"
113
+ b_format = b.is_a?(Float) ? "%f" : "0b%04b"
114
+ label_format = "#{a_format} %s #{b_format} == %s"
115
+ data((label_format % [a, operator, b, expected.inspect]),
116
+ {
117
+ :a => a,
118
+ :operator => operator,
119
+ :b => b,
120
+ :expected => expected,
121
+ })
122
+ end
123
+ end
124
+ def test_flags_compare(data)
125
+ flags = GLib::KeyFile::Flags.new(data[:a])
126
+ assert_equal(data[:expected],
127
+ flags.send(data[:operator], data[:b]))
128
+ end
129
+ end
@@ -19,8 +19,12 @@ class TestGLibKeyFile < Test::Unit::TestCase
19
19
  assert_raise(GLib::KeyFileError) do
20
20
  key_file.load_from_dirs("non-existent", search_dirs)
21
21
  end
22
- assert_raise(GLib::KeyFileError) do
23
- key_file.load_from_dirs(base_name, search_dirs)
22
+ if GLib.check_version?(2, 31, 2)
23
+ assert_equal(temp.path, key_file.load_from_dirs(base_name, search_dirs))
24
+ else
25
+ assert_raise(GLib::KeyFileError) do
26
+ key_file.load_from_dirs(base_name, search_dirs)
27
+ end
24
28
  end
25
29
  temp.puts(<<-EOK)
26
30
  [General]
@@ -0,0 +1,33 @@
1
+ # -*- coding: utf-8 -*-
2
+ require 'rbconfig'
3
+
4
+ class TestGLibSpawn < Test::Unit::TestCase
5
+ include GLibTestUtils
6
+
7
+ def setup
8
+ end
9
+
10
+ def teardown
11
+ end
12
+
13
+ def test_async_keep_environment
14
+ if File.exist?('/bin/true')
15
+ assert_nothing_raised do
16
+ GLib::Spawn.async(Dir.pwd, ['/bin/true'], nil, 0)
17
+ end
18
+ end
19
+ end
20
+
21
+ def test_async_clear_environment
22
+ if RbConfig.respond_to?(:ruby)
23
+ ruby = RbConfig.ruby
24
+ else
25
+ ruby = File.join(RbConfig::CONFIG['bindir'],
26
+ RbConfig::CONFIG['RUBY_INSTALL_NAME'] +
27
+ RbConfig::CONFIG['EXEEXT'])
28
+ end
29
+ pid = GLib::Spawn.async(Dir.pwd, [ruby, '-e', 'exit 1 unless ENV.empty?'], [], GLib::Spawn::DO_NOT_REAP_CHILD)
30
+ _, status = *Process.waitpid2(pid)
31
+ assert status.success?
32
+ end
33
+ end
metadata CHANGED
@@ -1,21 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
+ - 1
8
9
  - 0
9
- - 3
10
- version: 1.0.3
10
+ version: 1.1.0
11
11
  platform: ruby
12
12
  authors:
13
- - The Ruby-GNOME2 Proejct Team
13
+ - The Ruby-GNOME2 Project Team
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-18 00:00:00 Z
18
+ date: 2012-01-05 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: pkg-config
@@ -54,10 +54,10 @@ extensions:
54
54
  extra_rdoc_files: []
55
55
 
56
56
  files:
57
- - ChangeLog
58
57
  - README
59
58
  - Rakefile
60
59
  - extconf.rb
60
+ - lib/glib2/deprecatable.rb
61
61
  - lib/gnome2-raketask.rb
62
62
  - lib/gnome2-win32-binary-downloader.rb
63
63
  - lib/glib2.rb
@@ -65,8 +65,10 @@ files:
65
65
  - lib/glib-mkenums.rb
66
66
  - ext/glib2/rbglib_timer.c
67
67
  - ext/glib2/rbglib_completion.c
68
+ - ext/glib2/rbglib_iochannel_win32_socket.c
68
69
  - ext/glib2/rbgobj_param.c
69
70
  - ext/glib2/rbgobj_valuearray.c
71
+ - ext/glib2/rbgutildeprecated.h
70
72
  - ext/glib2/rbglib_threads.c
71
73
  - ext/glib2/rbgobj_value.c
72
74
  - ext/glib2/rbglib_fileutils.c
@@ -77,18 +79,23 @@ files:
77
79
  - ext/glib2/rbglib.h
78
80
  - ext/glib2/rbgobj_convert.c
79
81
  - ext/glib2/rbgobj_strv.c
82
+ - ext/glib2/rbglib_unichar.c
80
83
  - ext/glib2/rbglib_messages.c
81
84
  - ext/glib2/rbgutil.c
82
85
  - ext/glib2/rbglib_maincontext.c
86
+ - ext/glib2/rbglib_utf16.c
83
87
  - ext/glib2/rbgobj_object.c
84
88
  - ext/glib2/rbgobj_typeinstance.c
85
89
  - ext/glib2/rbglib_error.c
86
90
  - ext/glib2/rbgobj_paramspecs.c
91
+ - ext/glib2/rbglib2conversions.h
92
+ - ext/glib2/rbglib_shellerror.c
87
93
  - ext/glib2/rbgutil_callback.c
88
94
  - ext/glib2/rbgobj_typemodule.c
89
95
  - ext/glib2/rbglib_utils.c
90
96
  - ext/glib2/rbglib_mainloop.c
91
97
  - ext/glib2/extconf.rb
98
+ - ext/glib2/rbgutil_list.h
92
99
  - ext/glib2/rbgobj_enums.c
93
100
  - ext/glib2/rbglib_win32.c
94
101
  - ext/glib2/rbglib_int64.c
@@ -100,19 +107,29 @@ files:
100
107
  - ext/glib2/rbgobj_boxed.c
101
108
  - ext/glib2/rbglib_shell.c
102
109
  - ext/glib2/rbgobject.h
110
+ - ext/glib2/rbglib_utf8.c
103
111
  - ext/glib2/rbgobj_typeinterface.c
104
112
  - ext/glib2/rbglib_convert.c
105
113
  - ext/glib2/rbglib_keyfile.c
114
+ - ext/glib2/rbglib_ucs4.c
106
115
  - ext/glib2/rbgobj_valuetypes.c
107
116
  - ext/glib2/rbglib_i18n.c
117
+ - ext/glib2/rbglib_spawnerror.c
108
118
  - ext/glib2/rbglib_unicode.c
119
+ - ext/glib2/rbgobj_flags.c
120
+ - ext/glib2/rbgutildeprecated.c
121
+ - ext/glib2/rbglibdeprecated.c
122
+ - ext/glib2/rbgutil_list.c
109
123
  - ext/glib2/depend
110
124
  - ext/glib2/rbgprivate.h
111
125
  - ext/glib2/rbglib_pollfd.c
112
126
  - ext/glib2/rbgutil.h
113
127
  - ext/glib2/rbglib_bookmarkfile.c
128
+ - ext/glib2/rbglib_iochannelerror.c
114
129
  - ext/glib2/rbglib_source.c
115
130
  - ext/glib2/rbgobj_signal.c
131
+ - ext/glib2/rbglibdeprecated.h
132
+ - ext/glib2/rbgobj_enumflags.c
116
133
  - ext/glib2/rbglib_spawn.c
117
134
  - sample/timeout2.rb
118
135
  - sample/completion.rb
@@ -128,8 +145,10 @@ files:
128
145
  - sample/spawn.rb
129
146
  - sample/type-register.rb
130
147
  - test/test_mkenums.rb
148
+ - test/test_spawn.rb
131
149
  - test/test_enum.rb
132
150
  - test/test_file_utils.rb
151
+ - test/test_flags.rb
133
152
  - test/test_key_file.rb
134
153
  - test/glib-test-utils.rb
135
154
  - test/run-test.rb
@@ -172,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
191
  requirements: []
173
192
 
174
193
  rubyforge_project:
175
- rubygems_version: 1.7.2
194
+ rubygems_version: 1.8.12
176
195
  signing_key:
177
196
  specification_version: 3
178
197
  summary: Ruby/GLib2 is a Ruby binding of GLib-2.x.
data/ChangeLog DELETED
@@ -1,3513 +0,0 @@
1
- 2011-09-19 Kouhei Sutou <kou@cozmixng.org>
2
-
3
- * lib/mkmf-gnome2.rb (check_cairo): really support RubyGems 1.8.6...
4
- [#3411234]
5
- Reported by Tobias Pfeiffer. Thanks!!!
6
-
7
- 2011-09-18 Kouhei Sutou <kou@cozmixng.org>
8
-
9
- * ext/glib2/rbglib.h: 1.0.2 -> 1.0.3.
10
-
11
- * lib/mkmf-gnome2.rb (add_depend_package): support RubyGems
12
- 1.8.6. [#3411204]
13
- Reported by Tobias Pfeiffer. Thanks!!!
14
-
15
- * ext/glib2/rbglib.h: 1.0.1 -> 1.0.2.
16
-
17
- * ext/glib2/rbgutil_callback.c: don't include unistd.h on Win32
18
- environment.
19
-
20
- * ext/glib2/rbgutil_callback.c (queue_callback_request): use
21
- G_GSSIZE_FORMAT instead of 'z' for portability.
22
-
23
- * lib/glib2.rb (GLib#__add_one_arg_setter): cleanup.
24
-
25
- * ext/glib2/rbgutil_callback.c (queue_callback_request): add
26
- missing 'z' for size_t format parameter.
27
-
28
- * lib/glib2.rb (GLib.__add_one_arg_setter): convert method names
29
- to String not Symbol to work on Ruby 1.8.
30
-
31
- * test/glib-test-init.rb: require "rubygems".
32
-
33
- * ext/glib2/rbgutil_callback.c (queue_callback_request): suppress
34
- a warning. (variable ‘written’ set but not used
35
- [-Wunused-but-set-variable])
36
-
37
- * ext/glib2/rbgutil_callback.c, ext/glib2/rbgprivate.h: work
38
- rb_errinfo() on Ruby 1.8 in all files.
39
-
40
- * ext/glib2/rbglib.c, ext/glib2/rbglib.h, ext/glib2/glib2.def:
41
- rbg_cstr2rval_with_free() -> rbg_cstr2rval_free().
42
-
43
- * ext/glib2/rbglib.c: don't export internal functions.
44
-
45
- * ext/glib2/rbglib.c (rbg_filename_to_ruby_body)
46
- (rbg_filename_to_ruby_ensure): don't define on Ruby 1.8.
47
-
48
- * ext/glib2/rbglib.c (rbg_filename_to_ruby): use
49
- rb_external_str_new_with_enc().
50
-
51
- * ext/glib2/rbglib.h: 1.0.0 -> 1.0.1.
52
-
53
- 2011-09-16 Nikolai Weibull <now@bitwi.se>
54
-
55
- * lib/glib2.rb: Remove unused variable.
56
- * ext/glib2/rbglib.c: Don’t use ALLOCA_N() on user-supplied input.
57
- * ext/glib2/rbglib.c, ext/glib2/rbglib.h, ext/glib2/glib2.def: Remove
58
- rbg_rval2argv() and RVAL2ARGV().
59
- * glib2/ext/glib2/rbglib_spawn.c: Use RVAL2STRV() instead of
60
- RVAL2ARGV().
61
-
62
- 2011-09-15 Nikolai Weibull <now@bitwi.se>
63
-
64
- * ext/glib2/rbgobj_strv.c: Plug memory leak.
65
- * ext/glib2/rbgutil.h: Add G_REPLACE_SET_PROPERTY(),
66
- G_REPLACE_GET_PROPERTY(), and G_REPLACE_ACTION() macros for replacing
67
- automatically defined property getters and setters and actions (from
68
- G_SIGNAL_ACTION). These are primarily useful for making it clear why
69
- we’re undefining a method and then redefining it.
70
-
71
- 2011-09-14 Nikolai Weibull <now@bitwi.se>
72
-
73
- * ext/glib2/rbglib_iochannel.c: Fix broken code under Win32.
74
- * ext/glib2/*.c: Fix warnings on Win32.
75
- * ext/glib2/glib2.def: Add new externs.
76
-
77
- 2011-09-12 Nikolai Weibull <now@bitwi.se>
78
-
79
- * lib/glib2.rb (__add_one_arg_setter): Ruby 1.9-proof this method.
80
- * ext/glib2/rbglib.c: Fix coding style.
81
- * ext/glib2/rbglib.c: Don’t use StringValue(RARRAY_PTR(ary)[i]), as
82
- that changes the Array.
83
- * ext/glib2/rbglib.c: Add rbg_strv2rval().
84
- * ext/glib2/rbglib.h: Add RVAL2STRV and STRV2RVAL().
85
- * ext/glib2/rbgobj_strv.c: Use RVAL2STRV() and STRV2RVAL().
86
- * ext/glib2/rbglib.c: Ensure that memory is freed.
87
- * ext/glib2/rbglib.h: Add CSTRFILENAME2RVAL().
88
- * ext/glib2/rbglib.c: Add rbg_strv2rval_free().
89
- * ext/glib2/rbglib.h: Add RVAL2STRV_FREE().
90
-
91
- 2011-09-10 Nikolai Weibull <now@bitwi.se>
92
-
93
- * ChangeLog: Fix date header for previous entry.
94
- * lib/mkmf-gnome2.rb: Make last change backwards compatible with older
95
- RubyGems. I don’t like RubyGems.
96
- * ext/glib2/rbglib.c (rbg_rval2cstr_filename): Fix allocation.
97
- * ext/glib2/rbglib_bookmarkfile.c: Fix RVAL2CSTRFILENAME calls.
98
-
99
- 2011-09-09 Nikolai Weibull <now@bitwi.se>
100
-
101
- * lib/mkmf-gnome2.rb: Use new RubyGems APIs.
102
- * ext/glib2/*.c: Fix all warnings generated with gcc 4.4.5.
103
- * ext/glib2/*.c: Fix all RVAL2CSTR calls.
104
-
105
- 2011-08-04 Kouhei Sutou <kou@cozmixng.org>
106
-
107
- * ext/glib2/rbglib_iochannel.c (ioc_win32_socket_initialize): use
108
- rb_w32_get_osfhandle() to get raw socket handle on Windows.
109
- Suggested by NAKAMURA Usaku. Thanks!!!
110
-
111
- 2011-08-03 Kouhei Sutou <kou@cozmixng.org>
112
-
113
- * ext/glib2/rbglib_iochannel.c (ioc_s_open): add missing Windows
114
- support.
115
- Reported by OBATA Akio. Thanks!!!
116
-
117
- 2011-07-13 Kouhei Sutou <kou@cozmixng.org>
118
-
119
- * ext/glib2/rbglib_iochannel.c (ioc_win32_socket_initialize): fix
120
- variable name.
121
-
122
- 2011-06-30 Kouhei Sutou <kou@cozmixng.org>
123
-
124
- * ext/glib2/rbglib_iochannel.c: bind g_io_channel_win32_new_socket().
125
-
126
- 2011-06-11 Kouhei Sutou <kou@cozmixng.org>
127
-
128
- * ext/glib2/rbglib_error.c (rbgerr_gerror2exception): add missing
129
- parentheses. [#3312572]
130
- Patch by Evan Phoenix. Thanks!!!
131
-
132
- * ext/glib2/rbglib.h: 0.90.9 -> 1.0.0.
133
-
134
- * lib/gnome2-raketask.rb: suppress deprecation warnings.
135
-
136
- * Rakefile, test/: use test-unit 2 gem. don't bundle it.
137
-
138
- 2011-06-04 Kouhei Sutou <kou@cozmixng.org>
139
-
140
- * lib/mkmf-gnome2.rb (add_depend_package): don't require parent
141
- directory for target_srcdir. target_srcdir can be relative path
142
- from target package root directory.
143
-
144
- e.g.:
145
- add_depend_package("glib2", "ext/glib2",
146
- "/path/to/ruby-gnome2-root-dir"))
147
- before: NG
148
- after: OK
149
-
150
- add_depend_package("glib2", "glib2/ext/glib2",
151
- "/path/to/ruby-gnome2-root-dir"))
152
- before: OK
153
- after: OK
154
-
155
- * lib/mkmf-gnome2.rb (add_depend_package): support gem installed
156
- depend package.
157
-
158
- * ext/glib2/rbglib_iochannel.c: [backward incompatible]
159
- GLib::IOChannel#write returns written byte not self.
160
-
161
- 2011-06-03 Kouhei Sutou <kou@cozmixng.org>
162
-
163
- * ext/glib2/rbglib_iochannel.c: support GLib::IOChannel.new(fd)
164
- and GLib::IOChannel#fd on Windows.
165
-
166
- 2011-05-27 Kouhei Sutou <kou@clear-code.com>
167
-
168
- * ext/glib2/rbgobject.h, ext/glib2/rbgobj_signal.c
169
- (rbgobj_set_signal_func): add missing "const".
170
-
171
- 2011-03-03 Vincent Carmona
172
-
173
- * glib2/lib/mkmf-gnome2.rb: Fix a bug in make_version_header.
174
- [ruby-gnome2-devel-en] reported by Grant Schoep. Thanks!!!
175
-
176
- 2011-03-04 Kouhei Sutou <kou@cozmixng.org>
177
-
178
- * ext/glib2/rbglib.h: 0.90.7 -> 0.90.8.
179
-
180
- * ext/glib2/rbglib_win32.c
181
- (rbglib_m_win32_locale_filename_from_utf8_deprecated): add missing
182
- argument.
183
-
184
- 2011-03-03 Vincent Carmona
185
-
186
- * glib2/lib/mkmf-gnome2.rb: clean pkg-config files.
187
-
188
- 2011-02-25 Kouhei Sutou <kou@cozmixng.org>
189
-
190
- * ext/glib2/rbgobject.h, ext/glib2/rbgprivate.h
191
- (rbgobj_gobject_initialize): export.
192
-
193
- * ext/glib2/rbgobject.c (rbgobj_initialize_object): add missing break.
194
-
195
- 2011-02-13 Kouhei Sutou <kou@cozmixng.org>
196
-
197
- * test/test_iochannel.rb: work on both Ruby 1.8 and 1.9.
198
-
199
- * test/test_iochannel.rb: don't set $KCODE on Ruby 1.9.
200
-
201
- * ext/glib2/rbglib_iochannel.c: set encoding.
202
-
203
- * ext/glib2/rbglib.c (rbg_cstr2rval_len_with_encoding): use UTF-8
204
- as the default encoding.
205
-
206
- * ext/glib2/rbglib.h: fix a typo.
207
-
208
- * ext/glib2/rbglib_unicode.c: use CSTR2RVAL_ENC() and
209
- CSTR2RVAL_LEN_ENC().
210
-
211
- * ext/glib2/rbglib.[ch] (CSTR2RVAL_ENC, CSTR2RVAL_LEN_ENC): add.
212
-
213
- * ext/glib2/rbglib_unicode.c, test/test_unicode.rb: set UTF-16 and
214
- UTF-32 encoding.
215
-
216
- * ext/glib2/rbglib.c (rbg_cstr2rval_len): use len.
217
-
218
- * ext/glib2/rbglib_unicode.c: set UTF-8 encoding.
219
-
220
- * test/test_unicode.rb: don't require Uconv on Ruby 1.9.
221
-
222
- * ext/glib2/rbglib.[ch] (CSTR2RVAL_LEN): add.
223
-
224
- * test/test_unicode.rb (TestGLibUnicode#test_utf8_validate):
225
- support Ruby 1.9.
226
-
227
- 2011-02-12 Kouhei Sutou <kou@cozmixng.org>
228
-
229
- * lib/mkmf-gnome2.rb (#check_cairo): re-support non-gem rcairo
230
- detection. #3178228
231
- Patch by OBATA Akio. Thanks!!!
232
-
233
- 2011-02-05 Masaaki Aoyagi
234
-
235
- * ext/glib2/*.c: change to ANSI C style.
236
-
237
- 2011-02-04 Masaaki Aoyagi
238
-
239
- * ext/glib2/rbglib_iochannel.c: fix declaration.
240
-
241
- 2011-02-02 Kouhei Sutou <kou@cozmixng.org>
242
-
243
- * lib/gnome2-raketask.rb (GNOME2Package#define_gem_tasks):
244
- has_rdoc = false.
245
-
246
- * ext/glib2/rbglib.h: 0.90.7 -> 0.90.8.
247
-
248
- * lib/mkmf-gnome2.rb: remove "-Wl,--no-undefined" linker flag.
249
- Reported by Dobai-Pataky Bálint.
250
-
251
- 2011-01-30 Kouhei Sutou <kou@cozmixng.org>
252
-
253
- * ext/glib2/rbglib.h: 0.90.6 -> 0.90.7.
254
-
255
- * lib/mkmf-gnome2.rb (setup_win32): add vendor/local/ existence check.
256
-
257
- * lib/gnome2-win32-binary-downloader.rb
258
- (GNOME2Win32BinaryDownloader#download_package): support old Win32
259
- binary URL for goocanvas.
260
-
261
- * lib/gnome2-win32-binary-downloader.rb
262
- (GNOME2Win32BinaryDownloader#download_package): support old Win32
263
- binary URL for gtksourceview.
264
-
265
- * lib/gnome2-win32-binary-downloader.rb
266
- (GNOME2Win32BinaryDownloader#download_dependency): support
267
- specifying version.
268
-
269
- * lib/gnome2-win32-binary-downloader.rb
270
- (GNOME2Win32BinaryDownloader#download_dependency): improve error
271
- handling.
272
-
273
- * lib/gnome2-win32-binary-downloader.rb
274
- (GNOME2Win32BinaryDownloader#download_package): just handle
275
- "PACKAGE_VERSION-win32.zip" and "PACKAGE-dev_VERSION-win32.zip".
276
-
277
- * lib/mkmf-gnome2.rb (setup_win32): use rcairo's
278
- vendor/local/lib/pkgconfig if it exists.
279
-
280
- * lib/mkmf-gnome2.rb (setup_win32): don't override 'prefix=' in *.pc.
281
-
282
- * lib/mkmf-gnome2.rb (add_depend_package): add dependency
283
- package's vendor/local/lib/pkgconfig to PKGConfig path.
284
-
285
- * lib/gnome2-raketask.rb (GNOME2Package#define_win32_tasks): don't
286
- require 'vendor/local'.
287
-
288
- * lib/gnome2-win32-binary-downloader.rb: override "prefix=" for
289
- downloaded *.pc.
290
-
291
- * lib/gnome2-raketask.rb: add missing "require 'find'".
292
-
293
- * lib/gnome2-win32-binary-downloader.rb
294
- (GNOME2Win32BinaryDownloader#click_zip_link): override existing
295
- files without prompting.
296
-
297
- 2011-01-29 Kouhei Sutou <kou@cozmixng.org>
298
-
299
- * lib/mkmf-gnome2.rb:
300
- - add load error check.
301
- - remove needless rb_cairo.h check.
302
-
303
- 2011-01-28 Masaaki Aoyagi
304
-
305
- * lib/mkmf-gnome2.rb: fix check_cairo.
306
-
307
- 2011-01-21 Masaaki Aoyagi
308
-
309
- * lib/gnome2-raketask.rb: add.
310
-
311
- * Rakefile: change to use gnome2-raketask.rb.
312
-
313
- 2011-01-02 Kouhei Sutou <kou@cozmixng.org>
314
-
315
- * lib/mkmf-gnome2.rb: support "2.0b7" style module
316
- version for xulrunner-2.0b7. #3141244
317
- Reported by reandr. Thanks!!!
318
-
319
- 2010-11-04 Nikolai Weibull
320
-
321
- * lib/glib2.rb: Use ::File to access Ruby File class.
322
-
323
- 2010-10-30 Kouhei Sutou <kou@cozmixng.org>
324
-
325
- * ext/glib2/rbgobj_type.c (rbgobj_gtype_new): fix GType
326
- conversion. GType is unsigned long not unsigned int.
327
-
328
- 2010-10-28 Kouhei Sutou <kou@clear-code.com>
329
-
330
- * ext/glib2/rbglib.h: 0.90.5 -> 0.90.6.
331
-
332
- 2010-10-27 Kouhei Sutou <kou@clear-code.com>
333
-
334
- * lib/glib-mkenums.rb: work on LANG=C environment.
335
-
336
- * Rakefile: depend on pkg-config as not development library.
337
-
338
- 2010-10-24 Kouhei Sutou <kou@cozmixng.org>
339
-
340
- * ext/glib2/rbglib.h: 0.90.4 -> 0.90.5.
341
-
342
- 2010-10-24 Kouhei Sutou <kou@clear-code.com>
343
-
344
- * ext/glib2/rbglib.c (rbg_rval2cstr): add missing '*'.
345
- [#3093789]
346
- Reported by tmtms. Thanks!!!
347
-
348
- 2010-10-23 Kouhei Sutou <kou@cozmixng.org>
349
-
350
- * ext/glib2/rbglib.h: 0.90.3 -> 0.90.4.
351
-
352
- * ext/glib2/glib2.def: add missing exported symbols.
353
-
354
- * lib/mkmf-gnome2.rb: ignore nonexistent directory.
355
-
356
- * ext/glib2/rbglib.c, ext/glib2/rbglib.h:
357
- fix alived string may be GCed in RVAL2CSTR and
358
- RVAL2CSTR_ACCEPT_NIL problem.
359
- Suggested by Neil Roberts. Thanks!!!
360
-
361
- 2010-10-21 Kouhei Sutou <kou@cozmixng.org>
362
-
363
- * ext/glib2/rbgobj_paramspecs.c: add missing type declarations.
364
- Reported by Nobuyoshi Nakada. Thanks!!!
365
-
366
- 2010-10-08 Guillaume Cottenceau
367
-
368
- * fix some uses of rb_str_new* and StringValuePtr to use
369
- encoding-aware Strings
370
-
371
- 2010-10-08 Guillaume Cottenceau
372
-
373
- * RVAL2CSTR2 is deprecated, replace with RVAL2CSTR_ACCEPT_NIL
374
-
375
- * CSTR2RVAL2 is deprecated, replace with CSTR2RVAL_FREE
376
-
377
- 2010-10-07 Guillaume Cottenceau
378
-
379
- * ext/glib2/rbglib.c, ext/glib2/rbglib.h, ext/glib2/glib2.def,
380
- ext/glib2/rbglib_bookmarkfile.c: have RVAL2CSTRFILENAME,
381
- CSTRFILENAME2RVAL_FREE and CSTRFILENAMEARRAY2RVAL_FREE, to handle
382
- filename String to/from rg2 manipulations, in glib2 to use them in
383
- any rg2 submodules
384
-
385
- 2010-10-06 Guillaume Cottenceau
386
-
387
- * ext/glib2/rbglib.c, ext/glib2/extconf.rb: use
388
- HAVE_RUBY_ENCODING_H, not HAVE_RB_STR_ENCODE
389
-
390
- 2010-09-30 Guillaume Cottenceau
391
-
392
- * ext/glib2/rbglib.c, ext/glib2/rbgobj_value.c,
393
- ext/glib2/rbglib.h, ext/glib2/glib2.def: improve CSTR2RVAL,
394
- RVAL2CSTR, gvalue2rvalue, and rvalue2gvalue, to use UTF-8 strings
395
- when Ruby supports String encoding (Ruby 1.9) - in particular this
396
- should allow retrieving usable Strings from rg2 (Strings with a
397
- set encoding)
398
-
399
- 2010-09-26 Kouhei Sutou <kou@cozmixng.org>
400
-
401
- * ext/glib2/rbglib.h: 0.90.2 -> 0.90.3.
402
-
403
- 2010-09-25 Kouhei Sutou <kou@cozmixng.org>
404
-
405
- * lib/mkmf-gnome2.rb (ensure_objs): add.
406
-
407
- * lib/mkmf-gnome2.rb: add generated files in build directory
408
- to build targets too.
409
-
410
- 2010-09-23 Kouhei Sutou <kou@cozmixng.org>
411
-
412
- * ext/glib2/rbglib.h: 0.90.1 -> 0.90.2.
413
-
414
- * Rakefile: don't add .zip into gem.
415
-
416
- * lib/mkmf-gnome2.rb (#add_depend_package): improve auto build
417
- path detection.
418
-
419
- * ext/glib2/rbglib.h: 0.90.0 -> 0.90.1.
420
-
421
- * ext/glib2/rbglib.h (RBGLIB_MINOR_VERSION): 20 -> 90. (0.20.0 -> 0.90.0)
422
-
423
- * lib/glib2.rb (GLib#prepend_environment_path): add for Windows DLL.
424
-
425
- * ext/glib2/rbgutil.c (rbgutil_gslist2ary_and_free): fix wrong
426
- address is passed.
427
-
428
- * test/run-test.rb: fix extension library path.
429
-
430
- * lib/mkmf-gnome2.rb (#add_depend_package): don't add nonexistent
431
- path to include paths.
432
-
433
- * lib/mkmf-gnome2.rb (#ruby_gnome2_version): follow directory
434
- structure change.
435
-
436
- * lib/mkmf-gnome2.rb (#add_depend_package): support top build
437
- directory path.
438
-
439
- * README: add installation document by RubyGems.
440
-
441
- * lib/mkmf-gnome2.rb (#add_depend_package): add build directory to
442
- include path.
443
-
444
- 2010-09-21 Kouhei Sutou <kou@cozmixng.org>
445
-
446
- * lib/mkmf-gnome2.rb (#check_cairo): support rcairo path customize
447
- by arguments.
448
-
449
- * lib/mkmf-gnome2.rb (#check_cairo): follow rcairo's path change.
450
-
451
- * ext/glib/extconfr.b, lib/mkmf-gnome2.rb: share Windows setup code.
452
-
453
- * Rakefile, lib/gnome2-win32-binary-downloader.rb: share
454
- Windows binary file downloader.
455
-
456
- 2010-09-11 Kouhei Sutou <kou@cozmixng.org>
457
-
458
- * ext/glib2/rbglib_maincontext.c (idle_add): fix default priority.
459
- Reported by ashbb. Thanks!!!
460
-
461
- 2010-09-07 Kouhei Sutou <kou@cozmixng.org>
462
-
463
- * lib/mkmf-gnome2.rb: ensure add generated enum file.
464
-
465
- * ./: support cross-compile for Windows.
466
-
467
- 2010-09-02 Kouhei Sutou <kou@cozmixng.org>
468
-
469
- * ./: reconstruct directory structure for rake-compiler.
470
-
471
- 2010-07-24 Nikolai Weibull
472
-
473
- src/rbgutil.c: make sure that all strings are fred in
474
- rbgutil_glist2ary_string_and_free.
475
-
476
- 2010-07-23 Nikolai Weibull
477
-
478
- src/rbgutil.c: use rb_ensure around all *_free functions and also fix a
479
- bug that made sure that no lists were actually freed. That's the price
480
- of reusing variables.
481
-
482
- 2010-07-14 Kouhei Sutou <kou@cozmixng.org>
483
-
484
- * src/rbglib.c: fix coding style.
485
-
486
- 2010-07-12 Nikolai Weibull
487
-
488
- * src/rbglib.c: use rb_ensure for rbg_cstr_to_rval to free the memory
489
- even if an error occurs when creating the Ruby String.
490
-
491
- 2010-04-17 Kouhei Sutou <kou@cozmixng.org>
492
-
493
- * src/rbglib.h: 0.19.4 -> 0.20.0.
494
-
495
- 2010-04-07 Kouhei Sutou <kou@cozmixng.org>
496
-
497
- * src/rbgobj_typeinstance.c (each_cinfo): fix a memory leak.
498
-
499
- 2010-02-28 Kouhei Sutou <kou@cozmixng.org>
500
-
501
- * src/lib/mkmf-gnome2.rb, src/lib/glib-mkenums.rb: add
502
- {:force_flags => [pattern1, ...]} options to glib_mkenums to force
503
- treating detected enum as flags.
504
-
505
- 2010-02-12 Kouhei Sutou <kou@cozmixng.org>
506
-
507
- * src/rbgutil.[ch], src/glib2.def: add
508
- rbgutil_string_set_utf8_encoding() for Ruby 1.9.
509
- * extconf.rb: detect rb_enc_associate().
510
-
511
- 2010-02-06 Kouhei Sutou <kou@cozmixng.org>
512
-
513
- * src/rbgobj_closure.c, src/rbgobj_signal.c, src/rbgobject.h,
514
- srb/glib2.def: set tag to GRClosure for debugging.
515
-
516
- 2009-10-11 Kouhei Sutou <kou@cozmixng.org>
517
-
518
- * src/rbgobj_object.c: fix type_register on Ruby 1.9.
519
- don't use each_with_index in C because
520
- rb_iterate() API seems changed in Ruby 1.9.
521
- Reported by Simon Arnaud. Thanks!!!
522
-
523
- 2009-09-24 Kouhei Sutou <kou@cozmixng.org>
524
-
525
- * src/rbglib.h (RBGLIB_MICRO_VERSION): 0.19.3 -> 0.19.4.
526
-
527
- * src/lib/mkmf-gnome2.rb: add missing nil check.
528
- Reported by Simon Arnaud. Thanks!!!
529
-
530
- * src/lib/mkmf-gnome2.rb: use INCFLAGS instead of CPPFLAGS.
531
-
532
- 2009-09-23 Kouhei Sutou <kou@cozmixng.org>
533
-
534
- * src/rbglib.h (RBGLIB_MICRO_VERSION): 0.19.2 -> 0.19.3.
535
-
536
- * src/rbglib_maincontext.c: follow the recent Ruby thread priority
537
- changes.
538
-
539
- 2009-09-22 Kouhei Sutou <kou@cozmixng.org>
540
-
541
- * src/rbglib_maincontext.c: work Ruby thread with GTK+.
542
- [Debian #502262]
543
- Reported by Johan Walles. Thanks!!!
544
-
545
- * src/rbglib_maincontext.c: fix multi thread blocking with Ruby
546
- 1.8.6-p368 or later and 1.8.7-p173 or later. [#2862022]
547
- Reported by Andrea Dallera. Thanks!!!
548
-
549
- * src/lib/mkmf-gnome2.rb: don't add nonexistent path to include paths.
550
-
551
- 2009-08-15 Kouhei Sutou <kou@cozmixng.org>
552
-
553
- * src/lib/mkmf-gnome2.rb: check $(vendorarchdir) availability.
554
- Reported by Toshiyuki Suzumura. Thanks!!!
555
-
556
- 2009-08-10 Kouhei Sutou <kou@cozmixng.org>
557
-
558
- * extconf.rb, src/lib/mkmf-gnome2.rb: cleanup.
559
-
560
- * src/lib/mkmf-gnome2.rb: cleanup.
561
-
562
- 2009-07-26 Kouhei Sutou <kou@cozmixng.org>
563
-
564
- * src/rbglib.h (RBGLIB_MICRO_VERSION): 0.19.1 -> 0.19.2.
565
-
566
- 2009-05-31 Kouhei Sutou <kou@cozmixng.org>
567
-
568
- * src/lib/mkmf-gnome2.rb: add also "-I$(vendorarchdir)" to CPPFLAGS.
569
-
570
- * src/depend: use RUBYARCHDIR.
571
- Patch by OBATA Akio. Thanks!!!
572
-
573
- 2009-05-30 Kouhei Sutou <kou@cozmixng.org>
574
-
575
- * src/rbgobj_type.c: use GHashTable instead of Ruby's Hash to
576
- avoid object creation while GC.
577
- Reported by OBATA Akio. Thanks!!!
578
-
579
- * src/rbgobj_boxed.c (boxed_free): don't create new object on free.
580
-
581
- * src/rbglib.h (RBGLIB_MICRO_VERSION): 0.19.0 -> 0.19.1.
582
-
583
- 2009-05-27 Pascal Terjan <pterjan@linuxfr.org>
584
-
585
- * src/rbglib.c: fix limits of basic types
586
-
587
- 2009-04-04 Kouhei Sutou <kou@cozmixng.org>
588
-
589
- * src/rbglib.h, src/rbglib_error.c (rbgerr_define_gerror): add
590
- const.
591
- Suggested by Nikolai Weibull. Thanks!!!
592
-
593
- 2009-03-27 Kouhei Sutou <kou@cozmixng.org>
594
-
595
- * src/lib/pkg-config.rb: use license statement in www.gnu.org.
596
- Suggested by Samuel Tesla. Thanks!!!
597
-
598
- 2009-03-21 Kouhei Sutou <kou@cozmixng.org>
599
-
600
- * src/rbglib_maincontext.c, test/test_timeout.rb: fix inverted
601
- type conversion.
602
- Reported by Nikolai Weibull. Thanks!!!
603
-
604
- 2009-02-23 Kouhei Sutou <kou@cozmixng.org>
605
-
606
- * src/rbglib_convert.c: remove duplicated GLib.charset method.
607
-
608
- * src/rbgobj_object.c (Init_gobject_gobject): undef automatically
609
- notify method defined for GObject::notify signal.
610
-
611
- * test/test_iochannel.rb: suppress warnings for Ruby 1.9.2dev.
612
-
613
- 2009-01-11 Kouhei Sutou <kou@cozmixng.org>
614
-
615
- * src/rbglib_maincontext.c: add workaround for ruby 1.9.0. Should
616
- we try to support 1.9.0? [#2493874]
617
- Reported by boo. Thanks!!!
618
-
619
- 2008-12-12 Kouhei Sutou <kou@cozmixng.org>
620
-
621
- * src/depend (install): glib-enum-types.h exists in $(builddir)
622
- not $(srcdir). [#2420281]
623
- Reported by troels knak-nielsen. Thanks!!!
624
-
625
- * TODO: add an entry:
626
- make log message handler set by Ruby/GLib removable.
627
-
628
- 2008-12-10 Kouhei Sutou <kou@cozmixng.org>
629
-
630
- * src/rbgobj_type.c: use Mutex instead of rb_thread_critical.
631
- * src/rbgobj_boxed.c, src/rbgobj_enums.c,
632
- src/rbgobj_typeinterface.c, src/lib/glib2.rb: follow the above change.
633
-
634
- 2008-11-19 Kouhei Sutou <kou@cozmixng.org>
635
-
636
- * src/rbgobj_enums.c, test/test_enum.rb: GLib::Flags#| accepts
637
- empty array.
638
-
639
- * test/test_glib2.rb: move a test that depends of Ruby/GTK2 to
640
- Ruby/GTK2.
641
-
642
- 2008-11-01 Kouhei Sutou <kou@cozmixng.org>
643
-
644
- * src/rbglib.h (DBL2NUM): define.
645
-
646
- * src/: use RARRAY_PTR(), RARRAY_LEN() and RSTRING_LEN().
647
-
648
- 2008-10-25 Kouhei Sutou <kou@cozmixng.org>
649
-
650
- * test/test_signal.rb: use assert_const_defined.
651
-
652
- 2008-10-16 Kouhei Sutou <kou@cozmixng.org>
653
-
654
- * TODO: add.
655
-
656
- 2008-10-03 Kouhei Sutou <kou@cozmixng.org>
657
-
658
- * src/rbglib.h: 0.18.0 -> 0.19.0.
659
-
660
- 2008-09-30 Andy Spencer
661
-
662
- * src/depend (install): install glib-enum-types.h. [#2106938]
663
-
664
- 2008-09-30 Kouhei Sutou <kou@cozmixng.org>
665
-
666
- * src/rbglib.h (g_key_file_get_type): move to ...
667
- * src/rbgobject.h: ... here.
668
-
669
- 2008-09-18 Kouhei Sutou <kou@cozmixng.org>
670
-
671
- * src/rbglib_maincontext.c: use VALUE not guint to
672
- rb_set_end_proc()'s data. This will fix Debian bug [#490305].
673
-
674
- 2008-09-14 Kouhei Sutou <kou@cozmixng.org>
675
-
676
- * src/rbgobj_object.c (holder_free): fix memory leak.
677
-
678
- 2008-09-13 Kouhei Sutou <kou@cozmixng.org>
679
-
680
- * src/lib/mkmf-gnome2.rb (check_cairo): support rcairo in gem.
681
- Suggested by OBATA Akio. Thanks!!!
682
-
683
- 2008-09-07 Kouhei Sutou <kou@cozmixng.org>
684
-
685
- * src/rbglib.h: 0.17.0 -> 0.18.0.
686
-
687
- 2008-09-06 Kouhei Sutou <kou@cozmixng.org>
688
-
689
- * src/rbgobj_object.c: cleanup.
690
-
691
- * src/rbgobj_object.c: destroy object on weak notify. [Bug #2060606]
692
- Reported by Arnaud Cornet. Thanks!!!
693
-
694
- 2008-07-27 Sjoerd Simons <sjoerd@luon.net>
695
-
696
- * src/rbgobj_closure.c: Only use G_REMOVE_RELATIVE when a closure is
697
- directly invalidated. This prevents object creation when freeing the
698
- closure from the garbage collector.
699
-
700
- 2008-07-09 Kouhei Sutou <kou@cozmixng.org>
701
-
702
- * src/rbgobj_object.c (gobj_get_property): fix a bug introduced in
703
- r2740. (Gtk::Image#stock returns String not Symbol)
704
-
705
- 2008-06-23 Kouhei Sutou <kou@cozmixng.org>
706
-
707
- * src/lib/mkmf-gnome2.rb (create_makefile_at_srcdir): allow source
708
- directory that isn't absolute path.
709
- Reported by Guillaume Cottenceau. Thanks!!!
710
-
711
- 2008-06-19 Kouhei Sutou <kou@cozmixng.org>
712
-
713
- * src/rbgobj_type.c (rbgobj_lookup_class_by_gtype_body): add
714
- create_class option.
715
-
716
- * src/rbgobject.h (GTYPE2CINFO_NO_CREATE): add.
717
-
718
- * src/rbgobject.h, src/rbgobj_type.c
719
- (rbgobj_lookup_class_by_gtype_full): add.
720
-
721
- * src/rbgobj_typeinstance.c (each_cinfo): don't create object
722
- during GC to work with ruby 1.8.7.
723
- Reported by Kazuhiro NISHIYAMA. Thanks!!!
724
-
725
- 2008-06-14 Kouhei Sutou <kou@cozmixng.org>
726
-
727
- * ./: use test-unit not test-unit-ext.
728
- * test/glib-test-init.rb: add.
729
- * test/run-test.rb: use test/glib-test-init.
730
-
731
- 2008-06-11 Kouhei Sutou <kou@cozmixng.org>
732
-
733
- * src/lib/mkmf-gnome2.rb (check_ruby_func): include ruby.h in
734
- have_func test.
735
-
736
- * src/rbgobj_object.c (gobj_inspect): add const.
737
-
738
- * extconf.rb: include glib.h or ruby.h in have_func test.
739
-
740
- 2008-06-08 Kouhei Sutou <kou@cozmixng.org>
741
-
742
- * src/lib/mkmf-gnome2.rb (create_top_makefile): cleanup.
743
-
744
- 2008-05-23 Kouhei Sutou <kou@cozmixng.org>
745
-
746
- * test/run-test.rb: use which not --version to detect make.
747
-
748
- 2008-05-14 Kouhei Sutou <kou@cozmixng.org>
749
-
750
- * test/test_unicode.rb:
751
- - add uconv check.
752
- - add GLib version check.
753
-
754
- 2008-05-13 Kouhei Sutou <kou@cozmixng.org>
755
-
756
- * src/rbglib_keyfile.c (keyfile_load_from_dirs): fix index.
757
-
758
- 2008-05-02 Kouhei Sutou <kou@cozmixng.org>
759
-
760
- * src/rbgobj_type.c: fix style.
761
-
762
- 2008-05-02 Sjoerd Simons <sjoerd@luon.net>
763
-
764
- * src/rbgobj_type.c: Make rbgobj_lookup_class_by_gtype a thread critical
765
- section. Prevents issues if two ruby threads want to convert an unknown
766
- GObject class at the same time.
767
-
768
- 2008-05-02 Kouhei Sutou <kou@cozmixng.org>
769
-
770
- * src/rbglib.h (GERROR2RVAL): define.
771
-
772
- 2008-04-26 Kouhei Sutou <kou@cozmixng.org>
773
-
774
- * src/rbgutil.c (rbgutil_glist2ary_string)
775
- (rbgutil_gslist2ary_and_free, rbgutil_gslist2ary_boxed_and_free):
776
- fix not freed bug.
777
-
778
- * src/rbgutil.h (GLIST2ARY_STR, GLIST2ARY_STR_FREE): add.
779
-
780
- * src/glib2.def, src/rbgutil.c (rbgutil_glist2ary_string,
781
- rbgutil_glist2ary_string_and_free): add.
782
-
783
- * src/rbglib.h (RBG_INSPECT): add.
784
-
785
- * src/glib2.def: src/rbglib.c (rbg_rval_inspect): add.
786
-
787
- * src/rbglib.h (RVAL2CSTR_ACCEPT_NIL): use function instead of
788
- macro to avoid double evaluation.
789
-
790
- * src/glib2.def, src/rbglib.c (rbg_rval2cstr_accept_nil): add.
791
-
792
- 2008-04-22 Sjoerd Simons <sjoerd@luon.net>
793
-
794
- * src/rbglib_maincontext: Handle both thread->wait_for WAIT_FD and
795
- WAIT_SELECT properly.
796
-
797
- 2008-04-20 Sjoerd Simons <sjoerd@luon.net>
798
-
799
- * src/rbglib_maincontext: Properly handle the case where the poll setup
800
- function returns early.
801
-
802
- 2008-04-20 Kouhei Sutou <kou@cozmixng.org>
803
-
804
- * src/rbglib_maincontext.c: free old FDs.
805
-
806
- 2008-04-17 Sjoerd Simons <sjoerd@luon.net>
807
-
808
- * src/rbglib_maincontext.c: When preparing our source only add pollfds if we
809
- were not already polling for it. Fixes 100% cpu usage as soon as another
810
- ruby thread is blocked on a file descriptor.
811
-
812
- 2008-04-16 Sjoerd Simons <sjoerd@luon.net>
813
-
814
- * src/rbgobject.c: When initializing look at the complete inheritance tree to
815
- see if any superclass defined a specialized initialize function
816
-
817
- 2008-04-15 Kouhei Sutou <kou@cozmixng.org>
818
-
819
- * src/rbgutil.h:
820
- - GLIST2ARY_WITH_FREE -> GLIST2ARY_FREE.
821
- - GSLIST2ARY_WITH_FREE -> GSLIST2ARY_FREE.
822
-
823
- 2008-04-14 Kouhei Sutou <kou@cozmixng.org>
824
-
825
- * test/glib-test-utils.rb (GLibTestUtils#only_win32): use GLib.os_win32?.
826
-
827
- * src/rbglib_win32.c: implement
828
- g_win32_get_package_installation_directory_of_module() defined in
829
- 2.16. Maybe work...
830
-
831
- * test/glib-test-utils.rb: add only_win32.
832
-
833
- * test/test_win32.rb: add.
834
-
835
- * src/rbglib_fileutils.c: implement g_format_size_for_display()
836
- defined in 2.16.
837
-
838
- * test/test_file_utils.rb: add.
839
-
840
- * src/rbglib_keyfile.c:
841
- - implement g_key_file_load_from_dirs() defined in 2.14.
842
- - define G_KEY_FILE_DESKTOP_* defined in 2.14.
843
-
844
- * test/test_key_file.rb: add.
845
-
846
- * src/rbglib_utils.c:
847
- - implement g_get_user_XXX_dir() and g_get_system_XXX_dirs().
848
- - implement g_get_user_special_dir() defined in 2.14.
849
-
850
- * test/test_utils.rb: add.
851
-
852
- * src/lib/glib2.rb (GLib::UserDirectory): remove DIRECTORY_ prefix.
853
-
854
- * src/rbglib.c: Init_glib_utils() use G_DEF_CLASS().
855
-
856
- 2008-04-13 Kouhei Sutou <kou@cozmixng.org>
857
-
858
- * src/rbglib_unicode.c, test/test_unicode.rb: bind Unicode related
859
- functions added in GLib 2.14.
860
-
861
- * test/run-test.rb: use glib-test-utils.rb.
862
-
863
- * test/glib-test-utils.rb: add.
864
-
865
- * src/rbgobj_value.c (rbgobj_initialize_gvalue): support more
866
- objects.
867
-
868
- * src/rbgobj_object.c, src/rbgobj_boxed.c, src/rbgobj_param.c,
869
- src/rbgobj_enums.c, src/rbgobj_typeinterface.c, src/rbgprivate.h:
870
- export Ruby classes/modules associated fundamental GType privately.
871
-
872
- 2008-04-10 Kouhei Sutou <kou@cozmixng.org>
873
-
874
- * src/rbgobject.h: G_DEF_CLASS2 -> G_DEF_CLASS_WITH_GC_FUNC.
875
-
876
- * src/glib2.def: export g_connect_flags_get_type().
877
-
878
- * extconf.rb, src/rbgobj_signal.c: make GSignalFlags,
879
- GConnectFlags and GSignalMatchType GLib::Enum or GLib::Flags.
880
-
881
- * test/test_signal.rb: add.
882
-
883
- * src/rbgobj_type.c, src/glib2.def (rbgobj_define_class): add.
884
-
885
- * src/rbgobject.h (GTYPE2CLASS), src/rbgobj_type.c
886
- (rbgobj_lookup_class_by_gtype): accept G_TYPE_INVALID.
887
-
888
- * src/rbgutil.h:
889
- - GLIST2ARYF -> GLIST2ARY_WITH_FREE.
890
- - GSLIST2ARYF -> GSLIST2ARY_WITH_FREE.
891
-
892
- * src/rbgobject.h: remove nonexistent
893
- rbg_{set,remote}_internal_poll_func.
894
-
895
- 2008-04-05 Sjoerd Simons <sjoerd@luon.net>
896
-
897
- * src/rbgutil_callback.c: Create the pipe inside
898
- rbgutil_start_callback_dispatch_thread to ensure it's created in a race-free
899
- way
900
-
901
- 2008-04-04 Kouhei Sutou <kou@cozmixng.org>
902
-
903
- * src/glib2.def: follow the recent changes.
904
-
905
- * extconf.rb, src/rbgutil_callback.c: use pipe() for communicating
906
- threads.
907
-
908
- * src/rbglib_bookmarkfile.c (bf_load_from_data): don't declare
909
- variable after some expression.
910
-
911
- 2008-04-01 Kouhei Sutou <kou@cozmixng.org>
912
-
913
- * src/rbglib.h (CSTR2RVAL2), src/lib/glib2.rb: cleanup.
914
-
915
- 2008-03-31 Kouhei Sutou <kou@cozmixng.org>
916
-
917
- * src/rbglib.h (RVAL2CSTR_ACCEPT_NIL): renamed from RVAL2CSTR2.
918
-
919
- * src/glib2.def: exported rbgobj_get_ruby_object_from_gobject.
920
-
921
- 2008-03-30 Kouhei Sutou <kou@cozmixng.org>
922
-
923
- * src/rbgobject.h (GOBJ2RVAL_UNREF): renamed from GOBJ2RVALU().
924
-
925
- * src/rbgobj_object.c, src/rbgobj_param.c, src/rbgprivate.h:
926
- get_value -> get_ruby_object.
927
-
928
- * src/rbgobject.c: followed the above changes.
929
-
930
- * src/rbgobject.h: exported rbgobj_get_ruby_object_from_gobject().
931
-
932
- 2008-03-23 Kouhei Sutou <kou@cozmixng.org>
933
-
934
- * src/rbglib.h (CSTR2RVAL_FREE): renamed from CSTR2RVAL2.
935
-
936
- 2008-03-22 Kouhei Sutou <kou@cozmixng.org>
937
-
938
- * src/rbgutil_callback.c (rbgutil_protect):
939
- - passed exception.
940
- - fixed missing type conversion.
941
-
942
- * src/lib/glib2.rb (GLib.exit_application): received exception.
943
-
944
- 2008-03-20 Kouhei Sutou <kou@cozmixng.org>
945
-
946
- * test/test_unicode.rb: fixed duplicated name.
947
-
948
- * test/run-test.rb: $VERBOSE = true.
949
-
950
- * src/rbgobj_enums.c, src/rbglib_error.c: used g_ascii_toupper()
951
- instead of toupper() to be locale independent. [Bug #1901843]
952
- Reported by Joseph Method. Thanks!!!
953
-
954
- 2008-03-15 Kouhei Sutou <kou@cozmixng.org>
955
-
956
- * src/lib/glib-mkenums.rb: used constants instead of consts.
957
- * test/test_mkenums.rb: added.
958
- * test/run-test.rb: required 'glib2'.
959
-
960
- * src/lib/glib-mkenums.rb: used $Id$ instead of $Rev$.
961
-
962
- * src/lib/glib-mkenums.rb: GLib::Enum -> GLib::EnumDefinition to
963
- avoid name conflict.
964
-
965
- * src/lib/glib-mkenums.rb: supported glib 2.16.1.
966
- [Bug #1886689] [Bug #1913301]
967
- Reported by Mikael Hallendal and mezz. Thanks!!!
968
-
969
- * ./, test/run-test.rb: used TestUnitExt.
970
-
971
- * test/run-test.rb: renamed from test/runner.rb.
972
-
973
- * test/: renamed from tests/.
974
-
975
- 2008-03-04 Kouhei Sutou <kou@cozmixng.org>
976
-
977
- * src/rbgobj_closure.c: used G_RELATIVE2 and "closures" ID for
978
- keeping GRClosure reference instead of G_ADD_CHILD to protect
979
- GRClosures from G_CHILD_REMOVE_ALL.
980
-
981
- 2008-02-21 Kouhei Sutou <kou@cozmixng.org>
982
-
983
- * src/rbgutil_callback.c:
984
- - used GAsyncQueue instead of pipe() because pipe() isn't
985
- portable.
986
- - rbgutil_{start,stop}_callback_handle_thread ->
987
- rbgutil_{start,stop}_callback_dispatch_thread.
988
-
989
- 2008-02-17 Kouhei Sutou <kou@cozmixng.org>
990
-
991
- * src/rbgutil_callback.c: initialized callback_handle_thread
992
- variable as nil.
993
-
994
- 2008-02-14 Kouhei Sutou <kou@cozmixng.org>
995
-
996
- * src/rbgutil_callback.c: callback handle thread isn't started
997
- automatically. Call rbgutil_start_callback_handle_thread() before
998
- some callbacks invoked. This change breaks Sjoerd's GStreamer
999
- bindings. Sorry.
1000
-
1001
- * src/rbglib_maincontext.c: don't use rb_thread_critical because
1002
- we don't create a thread now.
1003
-
1004
- * src/rbgutil.h, src/glib2.def: exported
1005
- rbgutil_{start,stop}_callback_handle_thread().
1006
-
1007
- 2008-01-07 Kouhei Sutou <kou@cozmixng.org>
1008
-
1009
- * src/rbgobject.c (rbgobj_define_property_accessors),
1010
- src/rbgobj_signal.c (rbgobj_define_action_methods): don't eval
1011
- empty string because that crashes ruby 1.9.0.
1012
-
1013
- 2008-01-06 Kouhei Sutou <kou@cozmixng.org>
1014
-
1015
- * src/rbgobj_enums.c (rbgobj_init_flags_class): added "_" prefix
1016
- to fix invalid predicate method name that starts with
1017
- digits. e.g. 4mv? -> _4mv?. Or just ignore?
1018
-
1019
- * src/rbgobj_convert.c (rbgobj_convert_rvalue2gtype): implemented.
1020
-
1021
- 2008-01-04 Kouhei Sutou <kou@cozmixng.org>
1022
-
1023
- * src/rbglib.h (RARRAY_PTR, RARRAY_LEN): defined.
1024
-
1025
- * src/rbgobject.h (GPTR2RVAL, RVAL2GPTR): added.
1026
-
1027
- 2008-01-03 Kouhei Sutou <kou@cozmixng.org>
1028
-
1029
- * src/depend: don't use ftools.
1030
- Reported by Carlo E. Prelz. Thanks!!!
1031
-
1032
- 2008-01-02 Kouhei Sutou <kou@cozmixng.org>
1033
-
1034
- * src/rbgobj_value.c, src/rbgobject.h, src/glib2.def
1035
- (rbgobj_initialize_gvalue): added. (experimental)
1036
-
1037
- * src/rbgobj_convert.c, src/rbgprivate.h
1038
- (rbgobj_convert_rvalue2gtype): should be implemented.
1039
-
1040
- 2007-12-31 Kouhei Sutou <kou@cozmixng.org>
1041
-
1042
- * src/rbgutil_callback.c: fixed ruby's thread check.
1043
-
1044
- * src/rbgutil_callback.c: fixed a wrong select() argument.
1045
- Reported by Carlo E. Prelz. Thanks!!!
1046
-
1047
- 2007-12-29 Kouhei Sutou <kou@cozmixng.org>
1048
-
1049
- * src/rbglib_mainloop.c: moved poll related functions to ...
1050
- * src/rbglib_maincontext.c: ... here.
1051
-
1052
- * src/rbglib_mainloop.c: supported ruby 1.9.0 thread model.
1053
-
1054
- * extconf.rb: removed a needless check.
1055
-
1056
- 2007-12-28 Kouhei Sutou <kou@cozmixng.org>
1057
-
1058
- * src/rbgobj_object.c: rb_hash_aset()'s key should be VALUE not ID.
1059
-
1060
- 2007-11-28 Kouhei Sutou <kou@cozmixng.org>
1061
-
1062
- * src/rbglib_mainloop.c (source_prepare_add_poll_fd): treated
1063
- G_IO_HUP as except case not read case.
1064
-
1065
- 2007-11-27 Kouhei Sutou <kou@cozmixng.org>
1066
-
1067
- * src/rbglib_mainloop.c: don't use g_source_is_destroyed().
1068
-
1069
- * extconf.rb: detected curr_thread.
1070
-
1071
- * src/rbglib_mainloop.c: supported ruby 1.8.6 p0.
1072
-
1073
- 2007-11-26 Kouhei Sutou <kou@cozmixng.org>
1074
-
1075
- * src/rbgutil_callback.c: used rb_thread_select() instead of
1076
- rb_thread_wait_fd().
1077
-
1078
- * src/rbglib_mainloop.c: used G_IO_IN as initial events.
1079
-
1080
- * src/utils_callback.c: renamed to ...
1081
- * src/rbgutil_callback.c: ... this.
1082
- * src/utils_int64.c: renamed to ...
1083
- * src/rbglib_int64.c: ... this.
1084
- * src/rbglib.c: followed the above changes.
1085
-
1086
- * src/rbglib_mainloop.c (source_check): fixed a typo.
1087
-
1088
- 2007-11-25 Kouhei Sutou <kou@cozmixng.org>
1089
-
1090
- * src/rbglib_mainloop.c: used GPollFD.
1091
-
1092
- 2007-11-23 Kouhei Sutou <kou@cozmixng.org>
1093
-
1094
- * tests/test_glib2.rb: added GC.start.
1095
-
1096
- 2007-11-21 Kouhei Sutou <kou@cozmixng.org>
1097
-
1098
- * src/rbglib_mainloop.c (source_prepare): checked pending signals.
1099
-
1100
- 2007-11-17 Kouhei Sutou <kou@cozmixng.org>
1101
-
1102
- * src/rbglib_mainloop.c: used GSource not poll func overriding.
1103
-
1104
- 2007-11-11 Kouhei Sutou <kou@cozmixng.org>
1105
-
1106
- * src/rbgobj_fundamental.c: re-added for making more flexible
1107
- backward compatibility layer.
1108
- * src/glib2.def, src/rbgcompat.h: followed the above change.
1109
-
1110
- * src/rbgobject.h (RG_DEF_CONVERSION), src/rbgcompat.h: used RG_
1111
- prefix not G_ prefix.
1112
-
1113
- * src/rbgobject.c: made GOBJ2RVAL overridable for non-fundamental
1114
- type.
1115
-
1116
- * src/global.h: merged to src/rbgprivate.h and removed.
1117
- * src/: followed the above changes.
1118
-
1119
- * src/glib2.def, src/depend: followed the below changes.
1120
-
1121
- * src/rbgobj_fundamental.c, src/rbgobj_convert.c,
1122
- src/rbgobj_value.c, src/rbgobject.[ch], src/rbgobj_type.c: renamed
1123
- to rbgobj_convert_* from rbgobj_fund_*. The previous API is still
1124
- available but need to rebuild.
1125
- * src/rbgprivate.h, src/rbgcompat.h: added.
1126
-
1127
- 2007-11-10 Kouhei Sutou <kou@cozmixng.org>
1128
-
1129
- * src/rbgobject.[ch], src/rbgobj_fundamental.c: made RVAL2GOBJU
1130
- customizable.
1131
-
1132
- 2007-10-04 Kouhei Sutou <kou@cozmixng.org>
1133
-
1134
- * src/lib/mkmf-gnome2.rb: fixed build failure with top-level
1135
- extconf.rb. Reported by andy. Thanks!
1136
-
1137
- 2007-10-03 Kouhei Sutou <kou@cozmixng.org>
1138
-
1139
- * src/rbgobject.c (rbgobj_ruby_object_from_instance2): don't use
1140
- functions of Ruby for GTypeInstance.
1141
-
1142
- * src/rbglib_mainloop.c (ml_initialize): all arguments of
1143
- GLib::MainLoop.new are optional.
1144
-
1145
- 2007-09-29 Kouhei Sutou <kou@cozmixng.org>
1146
-
1147
- * src/lib/mkmf-gnome2.rb (create_makefile_at_srcdir): don't use TOPDIR.
1148
-
1149
- 2007-08-30 Kouhei Sutou <kou@cozmixng.org>
1150
-
1151
- * src/rbglib_unicode.c (rbglib_m_unichar_get_script):
1152
- G_TYPE_UNICODE_SCRIPT_TYPE -> G_TYPE_UNICODE_SCRIPT.
1153
-
1154
- * src/rbglib_maincontext.c (timeout_add_seconds): used
1155
- g_timeout_add_seconds_full() not g_timeout_add_seconds().
1156
-
1157
- * src/lib/mkmf-gnome2.rb: cleanup.
1158
-
1159
- 2007-08-30 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
1160
-
1161
- * src/lib/mkmf-gnome2.rb: re-supported build in no-source
1162
- directory.
1163
-
1164
- 2007-08-14 Vincent Isambart <vincent.isambart@gmail.com>
1165
- * src/utils_int64.c: included rbglib.h instead of ruby.h
1166
- because utils_int64.c uses the RVAL2CBOOL macro that is declared
1167
- in rbglib.h and thus resulted in a dynamic link error on Mac
1168
- that the system could not find a RVAL2CBOOL function.
1169
-
1170
- 2007-08-08 Kouhei Sutou <kou@cozmixng.org>
1171
-
1172
- * src/rbgobj_enums.c: supported convenience GEnum and GFlags
1173
- notation. e.g.:
1174
- GLib::UTF8.normalize(utf8, GLib::NormalizeMode::NFD)
1175
- ->
1176
- GLib::UTF8.normalize(utf8, :nfd)
1177
-
1178
- key_file.load_from_data(data,
1179
- GLib::KeyFile::KEEP_COMMENTS |
1180
- GLib::KeyFile::KEEP_TRANSLATIONS)
1181
- ->
1182
- key_file.load_from_data(data, [:keep_contents, :keep_translations])
1183
-
1184
- * tests/test_enum.rb: added tests for the above feature.
1185
-
1186
- 2007-07-25 Sjoerd Simons <sjoerd@luon.net>
1187
- * src/rbgobj_signal.c: Properly use the GValueArray api in emit_body.
1188
- Causes all values in the parameter array to be unset after emission.
1189
- Fixing some reference leaks.
1190
-
1191
- 2007-07-20 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1192
-
1193
- * src/rbgobj_object.c, src/rbgobject.h: deperecate
1194
- rbgobj_add_abstract_but_create_instance_class() and
1195
- move abstract-type check from .allocate to dummy #initialize.
1196
-
1197
- 2007-07-16 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1198
-
1199
- * src/rbgobj_type.c: use rbgobj_init_object_class() to initialize
1200
- object class.
1201
- * src/rbgobj_object.c, src/global.h: add new function
1202
- rbgobj_init_object_class().
1203
-
1204
- * src/rbgobj_object.c (rbgobj_gobject_new): check returned value of
1205
- g_object_newv().
1206
-
1207
- 2007-07-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1208
-
1209
- * src/rbgobject.h: remove unused/undefined functions
1210
- rbgobj_boxed_ref() and rbgobj_boxed_unref().
1211
-
1212
- * src/rbgobject.c: new function rbgobj_invalidate_relatives().
1213
- * src/rbgobject.c: move GObject stuffs to rbgobj_object.c again.
1214
- * src/rbgobj_object.c: deprecate rbgobj_object_create().
1215
- * src/rbgobj_boxed.c: deprecate rbgobj_boxed_create().
1216
-
1217
- * src/utils_callback.c: brush up.
1218
-
1219
- 2007-07-13 Guillaume Cottenceau
1220
-
1221
- * src/rbglib_iochannel.c, src/rbglib_maincontext.c,
1222
- src/rbglib_mainloop.c, src/rbglib_source.c, src/rbglib_utils.c,
1223
- src/rbgobj_boxed.c, src/rbgobj_object.c, src/rbgobj_param.c,
1224
- src/rbgobj_paramspecs.c, src/rbgobj_signal.c, src/rbgobj_type.c,
1225
- src/rbgobj_typeinterface.c, src/rbgobj_value.c, src/rbgobject.c,
1226
- src/utils_int64.c: replace RTEST uses by RVAL2CBOOL
1227
-
1228
- 2007-07-13 Guillaume Cottenceau
1229
-
1230
- * src/rbgobj_closure.c, src/rbgobj_enums.c, src/rbgobj_object.c,
1231
- src/rbgobj_param.c, src/rbgobj_signal.c, src/rbgobj_type.c,
1232
- src/rbgobj_typemodule.c, src/rbgobj_value.c,
1233
- src/rbgobj_valuetypes.c: "? Qtrue : QFalse" => CBOOL2RVAL cleanup
1234
-
1235
- 2007-07-10 Guillaume Cottenceau
1236
-
1237
- * src/rbgobj_boxed.c: support passing nil to RVAL2BOXED, in order
1238
- to pass NULL to glib/gtk
1239
-
1240
- 2007-07-10 Guillaume Cottenceau
1241
-
1242
- * src/rbgobject.c: kou says we should use NIL_P(foo) not foo ==
1243
- Qnil
1244
-
1245
- 2007-07-08 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1246
-
1247
- * src/rbgutil.h: mark G_BLOCK_PROC() as deprecated.
1248
- * src/*.c: use rb_block_proc() directly instead of using G_BLOCK_PROC().
1249
-
1250
- * src/utils_callback.c (callback_info_run): use rbgutil_protect().
1251
- * src/utils_callback.c (listen_callback_pipe): call
1252
- rb_thread_schedule() to activate newly created thread.
1253
- * src/utils_callback.c (invoke_callback_in_ruby_thread):
1254
- g_mutex_lock(info.done_mutex) should be done before writing
1255
- data to pipe.
1256
-
1257
- 2007-07-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1258
-
1259
- * src/extconf.rb, src/rbglib_messages.c: call ruby_set_current_source()
1260
- only if it exists. Current ruby 1.9 doesn't have it.
1261
-
1262
- * src/extconf.rb, src/utils_callback.c: don't use is_ruby_native_thread
1263
- on ruby 1.9.
1264
-
1265
- * src/rbglib_messages.c, extconf.rb: fix to compile on ruby 1.9:
1266
- ruby_sourcefile -> rb_sourcefile()
1267
- ruby_sourceline -> rb_sourceline()
1268
-
1269
- * src/rbglib_message.c, rbglib_completion.c: remove ruby 1.6 support.
1270
-
1271
- * src/rbgobj_strv.c (strv_from_ruby): fix not to double free.
1272
-
1273
- * src/rbglib_bookmarkfile.c: fix to compile on ruby 1.9:
1274
- RSTRING(v)->ptr -> RSTRING_PTR(v),
1275
- RSTRING(v)->len -> RSTRING_LEN(v).
1276
-
1277
- * test/test_glib2.rb: add some tests.
1278
-
1279
- * src/rbbutil.h: change G_PROTECT_CALLBACK() to support calling
1280
- from non-ruby thread.
1281
-
1282
- * src/rbgutil.c: move rbgutil_protect() into utils_callback.c.
1283
-
1284
- * src/rbgobj_closure.c: separate stuffs that relate to thread into
1285
- utils_callback.c.
1286
-
1287
- * src/utils_callback.c: new file for callback invocation.
1288
-
1289
- 2007-07-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1290
-
1291
- * src/rbgobj_boxed.c (rbgobj_boxed_get): type check should be done
1292
- before doing Data_Get_Struct().
1293
-
1294
- 2007-07-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1295
-
1296
- * src/rbgobj_boxed.c (rbgobj_boxed_get): fix argument type to match
1297
- with its prototype. Repored by Guillaume Cottenceau.
1298
- [ruby-gnome2-devel-en] HEAD doesn't build
1299
-
1300
- 2007-07-04 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1301
-
1302
- * src/global.h, src/rbglib.h, src/rbgobj_boxed.c, src/rbgobj_closure.c,
1303
- src/rbgobj_enums.c, src/rbgobj_object.c, src/rbgobj_param.c,
1304
- src/rbgobj_typeinstance.c, src/rbgutil.c, src/rbgutil.h, extconf.rb:
1305
- remove ruby-1.6.x support and old yarv support.
1306
-
1307
- 2007-07-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1308
-
1309
- * src/rbglib_spawn.c, src/rbgobj_object.c, src/rbgobj_signal.c,
1310
- src/rbgobj_type.c, src/rbgobj_typemodule.c, src/rbgobject.c:
1311
- remove unnecessary StringValue() invocations.
1312
-
1313
- 2007-07-01 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1314
-
1315
- * src/rbgobj_typeinterface.c: brush up and should not call
1316
- g_type_default_interface_ref(G_TYPE_INTERFACE) which causes SEGV.
1317
-
1318
- 2007-06-28 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1319
-
1320
- * tests/test_glib2.rb (TestGLib#test_signal_handler_disconnect_and_gc):
1321
- new test.
1322
-
1323
- 2007-06-23 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1324
-
1325
- * src/rbgobj_closure.c: detach closure->rb_holder from GObject
1326
- when the closure is invalidated.
1327
- [ruby-gnome2-devel-en] Signal handling causes memory leaks
1328
-
1329
- 2007-06-20 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1330
-
1331
- * src/rbgobj_typeinterface.c: Make interfaces not to be decendants
1332
- of GLib::MetaInterface. This change makes Mutoh-san's change at
1333
- 2007-06-16 unnecessary.
1334
-
1335
- * src/rbgobj_typeinterface.c: fix GLib::MetaInterface#gtype;
1336
- generic_gtype() -> generic_s_gtype().
1337
-
1338
- * src/rbglib_mainloop.c: use rbglib_poll() if possible, regardless of
1339
- ruby version. (ruby 1.5.4 is no longer considerd.)
1340
-
1341
- * src/rbgobj_closure.c: fixed a segfault which is caused by accessing freed
1342
- GRClosure.
1343
-
1344
- 2007-06-16 Masao Mutoh <mutoh@highway.ne.jp>
1345
-
1346
- * src/rbgobj_signal.c: Fixed a segfault using Glade.
1347
- By syscrash2k Bug#1709389.
1348
-
1349
- 2007-06-16 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1350
-
1351
- * extconf.rb, src/rbglib.h, src/rbglib.c, src/rbglib_convert.c,
1352
- src/rbglib_iochannel.c, src/rbglib_keyfile.c, src/rbglib_mainloop.c,
1353
- src/rbglib_spawn.c, src/rbglib_unicode.c, src/rbgobj_object.c, src/rbgutil.c:
1354
- fix to compile on ruby 1.9;
1355
- RSTRING(v)->ptr -> RSTRING_PTR(v),
1356
- RSTRING(v)->len -> RSTRING_LEN(v),
1357
- ruby_errinfo -> rb_errinfo(),
1358
- and so on.
1359
-
1360
- 2007-06-16 Masao Mutoh <mutoh@highway.ne.jp>
1361
-
1362
- * src/rbgobj_typeinterface.c: GLib::Interface.property, .install_property,
1363
- .properties raises a NoMethodError when they call as the instance method.
1364
-
1365
- 2007-06-13 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1366
-
1367
- * src/rbgobj_closure.c: Simplify GRClosure data structure by removing
1368
- GRClosureHolder.
1369
-
1370
- 2006-12-29 Masao Mutoh <mutoh@highway.ne.jp>
1371
-
1372
- * src/lib/mkmf-gnome2.rb: Work ruby-1.8.4 or earlier again.
1373
- by Kouhei Sutou.
1374
- * src/rbglib.h: Increment minor version.
1375
-
1376
- 2006-12-28 Masao Mutoh <mutoh@highway.ne.jp>
1377
-
1378
- * src/lib/glib2.rb: Remove to support dropline GTK2-Runtime DLL.
1379
- * src/lib/glib-mkenums.rb: Fixed a parse error on GLib-2.6.
1380
-
1381
- 2006-12-26 Kouhei Sutou <kou@cozmixng.org>
1382
-
1383
- * src/lib/glib-mkenums.rb: added a space before comment end mark.
1384
-
1385
- 2006-12-26 Masao Mutoh <mutoh@highway.ne.jp>
1386
-
1387
- * extconf.rb: Code cleanup.
1388
- * src/lib/glib-mkenums.rb: Reimplement as a pure ruby library.
1389
- * src/lib/mkmf-gnome2.rb: Work MinGW again.
1390
- * src/rbglib_win32.c: Fix to compile problems.
1391
-
1392
- 2006-12-25 Kouhei Sutou <kou@cozmixng.org>
1393
-
1394
- * src/lib/glib2.rb (GLib.utf8_validate): removed needless code.
1395
-
1396
- 2006-12-24 Masao Mutoh <mutoh@highway.ne.jp>
1397
-
1398
- * src/rbglib_convert.c: GLib.utf8_validate becomes deprecated.
1399
- Use GLib::UTF8.validate instead.
1400
- * sample/bookmarkfile.rb: Add for GLib::BookmarkFile sample.
1401
-
1402
- 2006-12-23 Masao Mutoh <mutoh@highway.ne.jp>
1403
-
1404
- * src/rbglib_bookmarkfile.c: Add GLib::BookmarkFile
1405
- * src/rbglib_win32.c: Code cleanup. Imprement all functions.
1406
-
1407
- 2006-12-21 Masao Mutoh <mutoh@highway.ne.jp>
1408
-
1409
- * src/rbglib_keyfile.c: Add GLib::Keyfile.
1410
- * sample/keyfile.rb: Add a sample for GLib::KeyFile.
1411
-
1412
- 2006-12-16 Masao Mutoh <mutoh@highway.ne.jp>
1413
-
1414
- * src/rbgobj_closure.c: Fix warnings on x86_64.
1415
- * src/rbglib_unicode.c: Code cleanup.
1416
- * src/lib/glib-mkenums.rb: Make GLib::MkEnums.
1417
- * src/lib/mkmf-gnome2.rb: Follow above change.
1418
-
1419
- 2006-12-11 Masao Mutoh <mutoh@highway.ne.jp>
1420
-
1421
- * src/rbglib_maincontext.c: Add GLib::Source.current for GLib-2.12.
1422
- Add GLib::MainContext#owner? for GLib-2.10.
1423
- GLib::Timeout#add_seconds, #source_new_seconds for GLib-2.14.
1424
-
1425
- 2006-12-10 Kouhei Sutou <kou@cozmixng.org>
1426
-
1427
- * src/rbglib_unicode.c:
1428
- - GLib::Unicode::XXX -> GLib::Unicode::Type::XXX.
1429
- - GLib::UnicodeBreak::XXX -> GLib::Unicode::BreakType::XXX.
1430
- - GLib::UnicodeScript::XXX -> GLib::Unicode::Script::XXX.
1431
- * tests/test_unicode.rb: followed the changes.
1432
-
1433
- * src/lib/glib2.rb: GLib.utf8_validate is deprecated. Use
1434
- GLib::UTF8.validate instead.
1435
- * src/rbglib_unicode.c:
1436
- - moved GLib.unichar_* to GLib::UniChar.*.
1437
- - moved GLib.unicode_* to GLib::Unicode.*.
1438
- - moved GLib.utf8_* to GLib::UTF8.*.
1439
- - moved GLib.utf16_* to GLib::UTF16.*.
1440
- - moved GLib.ucs4_* to GLib::UCS4.*.
1441
- - removed GLib::UNICODE_*.
1442
- - removed GLib::UNICODE_BREAK_*.
1443
- - removed GLib::NORMALIZE_*.
1444
- * tests/test_unicode.rb: followed the changes.
1445
-
1446
- 2006-12-09 Kouhei Sutou <kou@cozmixng.org>
1447
-
1448
- * src/rbglib_unicode.c:
1449
- - merged GLib.utf8_get_char_validate to GLib.utf8_get_char.
1450
- - GLib.unichar_control? -> GLib.unichar.cntrl?
1451
- - added GLib.utf8_reverse.
1452
- * tests/test_unicode.rb: followed the changes.
1453
-
1454
- * src/rbglib_unicode.c, tests/test_unicode.rb: completed.
1455
-
1456
- 2006-12-08 Kouhei Sutou <kou@cozmixng.org>
1457
-
1458
- * src/rbglib_unicode.c: added. not completed yet.
1459
- * src/rbglib.c: added Init_glib_unicode().
1460
- * tests/test_unicode.rb: added tests for Unicode related bindings.
1461
-
1462
- 2006-12-07 Kouhei Sutou <kou@cozmixng.org>
1463
-
1464
- * src/rbgobj_closure.c (rclosure_unref): set Qnil to
1465
- disposed rclosure->rb_holder.
1466
-
1467
- 2006-12-07 Guillaume Cottenceau <gcottenc@gmail.com>
1468
-
1469
- * src/rbgobj_closure.c (rclosure_invalidate): don't check
1470
- rclosure->rb_holder because the check isn't necessary.
1471
-
1472
- 2006-12-06 Kouhei Sutou <kou@cozmixng.org>
1473
-
1474
- * src/lib/glib-mkenums.rb: removed garbages.
1475
-
1476
- 2006-12-05 Kouhei Sutou <kou@cozmixng.org>
1477
-
1478
- * src/lib/glib-mkenums.rb: added.
1479
- * src/lib/mkmf-gnome2.rb (glib_mkenums): added.
1480
- * extconf.rb: used glib_mkenums.
1481
-
1482
- 2006-12-04 Kouhei Sutou <kou@cozmixng.org>
1483
-
1484
- * tests/runner.rb: used Test::Unit::Autorunner.run.
1485
- * tests/test-glib2, tests/test-iocahnnel.rb: renamed to ...
1486
- * tests/test_glib2, tests/test_iochannel.rb: ... them for adapting
1487
- Test::Unit's default configurations.
1488
-
1489
- * tests/test-iochannel.txt, tests/test-iochannel-sjis.txt: removed
1490
- needless files.
1491
-
1492
- * tests/runner.rb: setup $LOAD_PATH for test environment.
1493
-
1494
- * tests/test-iochannel.rb: rewrote with Tempfile. I want to
1495
- suppress GLib-WARNING and GLib-CRITICAL messages but I don't know
1496
- how to do the thing...
1497
-
1498
- * src/rbglib_iochannel.c: made "U" each time for avoiding GC
1499
- problem.
1500
-
1501
- 2006-11-22 Masao Mutoh <mutoh@highway.ne.jp>
1502
-
1503
- * src/rbgobj_typeinterface.c: Fixed a bug when accessing the properties
1504
- of GLib::Instantiatable.
1505
-
1506
- 2006-11-05 Masao Mutoh <mutoh@highway.ne.jp>
1507
-
1508
- * src/lib/mkmf-gnome2.rb: Set "0" to micro version of version
1509
- header if pkg-config --modversion doesn't have micro version.
1510
- Bug #1590573.
1511
-
1512
- 2006-10-12 Kouhei Sutou <kou@cozmixng.org>
1513
-
1514
- * src/rbgobj_closure.c: improved alive check.
1515
-
1516
- 2006-09-26 Kouhei Sutou <kou@cozmixng.org>
1517
-
1518
- * src/lib/mkmf-gnome2.rb: used $INCFLAGS instead of $CFLAGS.
1519
-
1520
- 2006-09-25 Kouhei Sutou <kou@cozmixng.org>
1521
-
1522
- * src/rbgobj_closure.c: improved closure handling. I hope this
1523
- change fixes a closure related segmentation fault bug.
1524
- - added available data marks and checked that marks.
1525
-
1526
- 2006-09-21 kangabroo
1527
-
1528
- * src/rbgobj_enums.c: fixed typo. bug #1561675.
1529
-
1530
- 2006-08-17 Masao Mutoh <mutoh@highway.ne.jp>
1531
-
1532
- * src/rbgobj_object.c: Compiled on GLib-2.8.x again.
1533
-
1534
- 2006-07-09 Kouhei Sutou <kou@cozmixng.org>
1535
-
1536
- * src/glib2.def, src/rbgobject.c, src/rbgobject.h
1537
- (rbgobj_ruby_object_from_instance_with_unref):
1538
- added convenience function.
1539
- * src/rbglib.h (GOBJ2RVALU): added convenience macro.
1540
-
1541
- * src/rbgobj_object.c: implemented GLib::InitiallyUnowned.
1542
-
1543
- * src/rbglib.h (RVAL2CSTR2): added convenience macro.
1544
-
1545
- 2006-06-30 Masao Mutoh <mutoh@highway.ne.jp>
1546
-
1547
- * src/rbglib_mainloop.c, rbgobject.h, glib2.def: Improve to support
1548
- Win32. rbg_(set|remove)_internal_poll_func are externed.
1549
-
1550
- 2006-06-28 Masao Mutoh <mutoh@highway.ne.jp>
1551
-
1552
- * src/lib/mkmf-gnome2.rb: Fixed wrong include path.
1553
- * src/rbglib.h: Increment version info.
1554
-
1555
- 2006-06-18 Masao Mutoh <mutoh@highway.ne.jp>
1556
-
1557
- * src/rbgobj_type.c: Fixed a problem when the object which extends Module
1558
- can't access the instance methods. Reported by Laurent Sansonetti and Bug #1496185.
1559
-
1560
- 2006-06-17 Masao Mutoh <mutoh@highway.ne.jp>
1561
-
1562
- * sample/type-register?.rb: Remove Gtk.init.
1563
- * src/lib/glib2.rb: Added GLib.exit_application. This is called when it raises
1564
- the exception in a callback proc and it isn't catched in the proc.
1565
- * src/rbgutil.c: Added G_PROTECT_CALLBACK. You need to wrap the functions which
1566
- run in the mainloop with this. This is based on rclosure_marshal_do() in
1567
- src/rbgobj_closure.c.
1568
- * src/rbgobj_closure.c: Apply above G_PROTECT_CALLBACK.
1569
- * src/rbgutil.[ch]: Added GLIST2ARYF, GLIST2ARY2F, GSLIST2ARYF, GLIST2ARY2F.
1570
- They free the list with g_list_free() or g_slist_free() internal.
1571
- * src/glib2.def: Follow above changes.
1572
-
1573
- 2006-06-09 Sjoerd Simons <sjoerd@luon.net>
1574
-
1575
- * src/rbgobj_object.c: Only let the GObject mark function retrieve
1576
- object properties that it will actually mark. Which is currently just
1577
- other GObjects
1578
-
1579
- 2006-06-05 Masao Mutoh <mutoh@highway.ne.jp>
1580
-
1581
- * src/rbgobj_closure.c, glib2.def: Works on Windows again.
1582
-
1583
- 2006-05-29 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1584
-
1585
- * src/rbgobjvalue.c: Use g_type_set_qdata and g_type_get_qdata instead
1586
- of ruby's hash table.
1587
-
1588
- * src/rbgobj_singal.c: new function gobj_sig_connect_impl
1589
- extracted from gobj_sig_connect and gobj_sig_connect_after.
1590
-
1591
- * src/rbgobj_signal.c: Make eNoSignal and _signal_list to be static.
1592
-
1593
- 2006-05-27 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1594
-
1595
- * src/rbgobj_object.c: Remove GLib::Object#singleton_method_added.
1596
- Now we can't define signal handlers by defining singleton methods.
1597
-
1598
- * src/rbgobj_typeinstance.c (each_cinfo): Fix to traverse ancestor's cinfo.
1599
-
1600
- * src/rbgobj_paramspecs.c, src/rbgobj_value.c: Use RVAL2GOBJ instead of
1601
- rbgobj_param_spec_get_struct().
1602
- * src/rbgobj_param.c: Rename rbgobj_param_spec_get_struct() to
1603
- rbgobj_get_param_spec().
1604
-
1605
- * src/rbgobject.c: Remove rbgobj_ruby_object_from_instance_if_exist
1606
- and add rbgobj_ruby_object_from_instance2.
1607
- * src/rbgobject.c: Remove rbgobj_get_value_from_gobject_if_exist
1608
- and extend rbgobj_get_value_from_gobject by adding one argument.
1609
- * src/rbgobj_param.c: Remove rbgobj_get_value_from_param_spec_if_exist
1610
- and extend rbgobj_get_value_from_param_spec by adding one argument.
1611
- * src/rbgobject.h, src/global.h, src/glib2.def,
1612
- src/rbgobj_typeinstance.c: Follow above changes.
1613
-
1614
- * src/rbgobj_typeinterface.c: New file.
1615
- * src/rbgobj_type.c, src/rbgobject.c: separate some interface stuffs
1616
- into src/rbgobj_typeinterface.c.
1617
-
1618
- * src/rbgobj_typeinstance.c: New file.
1619
- * src/rbgobj_type.c, src/rbgobject.c, rbgobj_param.c: separate
1620
- some cInstantiatable stuffs into rbgobj_typeinstance.c.
1621
- * src/global.h: ditto.
1622
-
1623
- * src/rbgobj_closure.c: Revert changes of 2006-04-15.
1624
- We shouldn't use Data_Make_Struct in rclosure_marshal since
1625
- this function could be called from arbitrary threads.
1626
- * src/rbgobj_closure.c: simplify codes a bit.
1627
-
1628
- * src/rbgobject.c, src/rbgobj_value.c, rbgobject.h, src/glib2.def:
1629
- Add new APIs:
1630
- void rbgobj_gc_mark_instance(gpointer instance) and
1631
- void rbgobj_gc_mark_gvalue(GValue* value).
1632
-
1633
- * src/rbgobject.c: Change to call `mark` and `free` functions of all
1634
- associated cinfo (not only direct one).
1635
-
1636
- * src/rbgobj_object.c: Register mark procedure which marks
1637
- each property value. So that each property value is protected from GC
1638
- whenever the owner is alive.
1639
-
1640
- * src/rbgobj_param.c:
1641
- Add rbgobj_get_value_from_param_spec_if_exist.
1642
-
1643
- * tests/test-glib2.rb (test_inheritance_and_gc): call GC.start.
1644
-
1645
- 2006-05-27 Kouhei Sutou <kou@cozmixng.org>
1646
-
1647
- * src/rbglib_maincontext.c: fixed idle/timeout callback memory leak.
1648
-
1649
- * src/rbgobject.c: added rbgobj_get_relative_removable.
1650
- * src/rbgobject.h: ditto.
1651
- * src/glib2.def: ditto.
1652
-
1653
- * src/rbglib_source.c: moved GLib::Source.remove to
1654
- rbglib_maincontext.c
1655
-
1656
- * src/rbglib.c: initialize source before main_context.
1657
-
1658
- 2006-05-26 Sjoerd Simons <sjoerd@luon.net>
1659
-
1660
- * src/rbgobj_closure.c: Ensure that a signal handler in ruby is always run in
1661
- a ruby native thread. This allows signals coming from non-ruby native threads
1662
- to be handled correctly. Needs ruby configured with --enable-pthread to work
1663
- (otherwise the behaviour isn't changed)
1664
-
1665
- 2006-05-26 Sjoerd Simons <sjoerd@luon.net>
1666
-
1667
- * src/rbglib.h, src/global.h: Move the 64 bit integer
1668
- util functions to the public header
1669
-
1670
- 2006-05-27 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1671
-
1672
- * src/rbgobj_signal.c: Fix the format string of rb_raise to match with
1673
- actual arguments.
1674
-
1675
- 2006-05-26 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
1676
-
1677
- * extconf.rb, src/rbgobj_rbgobj_closure.c: fix compilation error on YARV.
1678
-
1679
- 2006-05-23 Sjoerd Simons
1680
-
1681
- * src/rbgobj_fundamental.c: Fixed typo.
1682
-
1683
- 2006-05-18 Kouhei Sutou <kou@cozmixng.org>
1684
-
1685
- * src/lib/pkg-config.rb (PKGConfig#have_package): accepted 0.X.X
1686
- version as check target version.
1687
-
1688
- 2006-05-17 Masao Mutoh <mutoh@highway.ne.jp>
1689
-
1690
- * src/rbgobj_strv.c: Removed GLib::Strv because they are useless.
1691
- * src/rbgobj_valuearray.c: Removed GLib::ValueArray.
1692
-
1693
- 2006-05-17 Sjoerd Simons
1694
-
1695
- * src/rbgobj_valuearray.c: Added.
1696
- * src/rbgobj_closure.c: Fixed crash when handling exception coming
1697
- from an signal handler.
1698
-
1699
- 2006-05-14 Sjoerd Simons
1700
-
1701
- * src/rbgobj_enums.c: Don't crash if a genum's nick is uninitialized.
1702
- * src/rbglib_completion.c: Fixed GLib::Completion#remove_items.
1703
- * src/glib2.def, global.h, rbgobj_type.c, rbgobj_value.c,
1704
- rbgobject.[ch], rbgobj_fundamental.c: Added to be able to
1705
- add new fundamental object to Ruby/GLib2 such as GLib::Object,
1706
- GLib::Boxed.
1707
-
1708
- 2006-04-20 Kouhei Sutou <kou@cozmixng.org>
1709
-
1710
- * src/rbgobj_closure.c (g_rclosure_attach): Fixed a bug
1711
- GLib::Object.type_register doesn't work.
1712
- * src/rbgobj_type.c: Fixed a bug GLib::MetaInterface#gtype doesn't
1713
- work.
1714
-
1715
- * src/rbgobj_closure.c: Fixed a closure reference count bug.
1716
-
1717
- 2006-04-19 Kouhei Sutou <kou@cozmixng.org>
1718
-
1719
- * src/rbgobj_type.c (rbgobj_lookup_class): fixed typo.
1720
-
1721
- 2006-04-15 Kouhei Sutou <kou@cozmixng.org>
1722
-
1723
- * src/rbgobj_closure.c (rclosure_marshal, rclosure_marshal_body):
1724
- Changed an argument type to VALUE from struct marshal_arg *.
1725
-
1726
- 2006-03-18 Kouhei Sutou <kou@cozmixng.org>
1727
-
1728
- * src/rbgobj_closure.c: Fixed memory leak. Held closure in each
1729
- object instead of using global table to protect GRClosure from
1730
- Ruby's GC. Each function using GRClosure needs to call
1731
- g_rclosure_attach to protect GRClosure from Ruby's GC.
1732
-
1733
- * src/glib2.def: Added g_rclosure_attach.
1734
- * src/rbgobject.h: ditto.
1735
-
1736
- * src/rbgobj_object.c: Called g_rclosure_attach.
1737
- * src/rbgobj_signal.c: ditto.
1738
-
1739
- 2006-03-11 Joao Pedrosa
1740
-
1741
- * src/rbglib_win32.c: Fix a typo on win32.
1742
-
1743
- 2006-02-08 Kouhei Sutou <kou@cozmixng.org>
1744
-
1745
- * src/rbglib_win32.c: Supported GLib.win32_locale and
1746
- GLib.win32_locale_filename_from_utf8.
1747
-
1748
- * src/rbglib_i18n.c: Supported GLib.language_names.
1749
-
1750
- 2006-01-14 Kouhei Sutou <kou@cozmixng.org>
1751
-
1752
- * src/rbglib_source.c: GLib::Source#remove -> GLib::Soruce.remove.
1753
-
1754
- 2005-12-17 Masao Mutoh <mutoh@highway.ne.jp>
1755
-
1756
- * src/rbgobj_signal.c: Fixed to use G_BLOCK_PROC.
1757
-
1758
- 2005-11-23 Masao Mutoh <mutoh@highway.ne.jp>
1759
-
1760
- * src/rbglib_timer.c: Fix to compile on Cygwin.
1761
-
1762
- 2005-11-14 Masao Mutoh <mutoh@highway.ne.jp>
1763
-
1764
- * src/rbglib.h: Increment micro version.
1765
- * src/rbgobject.h, glib2.def: Fixed problems on Win32.
1766
-
1767
- 2005-11-05 Masao Mutoh <mutoh@highway.ne.jp>
1768
-
1769
- * src/rbgobject.[ch]: Added G_CHILD_REMOVE_ALL.
1770
-
1771
- 2005-11-03 Masao Mutoh <mutoh@highway.ne.jp>
1772
-
1773
- * src/rbglib_mainloop.c: rb_thread_wait_for waits 10ms instead of 100ms
1774
- to avoid to lose any signals for Win32. Report by MIYAMUKO Katsuyuki.
1775
- * src/rbgobject.[ch]: Added G_CHILD_SET, _UNSET, _ADD, _REMOVE.
1776
- * src/rbgobj_object.c: Keeps ruby objects as instance variables
1777
- of the object not to be GCed(GLib::Object#(set|get)_property).
1778
- * src/rbgobject.c: Fixed memory leaks. Bug #1341573. Retrieve
1779
- the code from 0.13.0. So, other libs need to support G_CHILD_*
1780
- to avoid Tomasz's problem(2005-09-15).
1781
-
1782
- 2005-10-16 Masao Mutoh <mutoh@highway.ne.jp>
1783
-
1784
- * src/rbglib.h: Increment version information.
1785
- * src/rbglib_mainloop.c: Fixed to compile on Win32.
1786
-
1787
- 2005-10-15 Masao Mutoh <mutoh@highway.ne.jp>
1788
-
1789
- * src/rbgobj_type.c, rbglib_timer.c, rbglib_completion.c,
1790
- rbgobject.c, rbgobj_type.c, rbglib_messages.c:
1791
- Fixed a compilation errors/warnings under GTK+-2.0/Ruby-1.6.
1792
- * src/rbglib.c, src/rbglib_timer.c: Added GLib::Timer.
1793
- * sample/timer.rb: Added.
1794
- * src/rbglib_completion.c: Added GLib::Completion.
1795
- * sample/completion.rb: Added.
1796
-
1797
- 2005-10-10 Masao Mutoh <mutoh@highway.ne.jp>
1798
-
1799
- * src/rbglib.c: Added constants from "Limits of Basic Types",
1800
- "Numerical Definitions".
1801
- * src/rbglib_shell.c: Added GLib::Shell.
1802
- * sample/shell.rb: Added.
1803
-
1804
- 2005-10-08 Masao Mutoh <mutoh@highway.ne.jp>
1805
-
1806
- * src/lib/mkmf-gnome2.rb: Added make_version_header.
1807
-
1808
- 2005-10-07 Masao Mutoh <mutoh@highway.ne.jp>
1809
-
1810
- * src/rbglib_mainloop.c: Works with ruby threads and signal handlers.
1811
- Reported by Bram Senders.
1812
-
1813
- 2005-10-05 Masao Mutoh <mutoh@highway.ne.jp>
1814
-
1815
- * src/rbgobj_enums.c: Supports spaces in nick names.
1816
- Reported by Detlef Reichl.
1817
-
1818
- 2005-10-04 Masao Mutoh <mutoh@highway.ne.jp>
1819
-
1820
- * src/lib/mkmf-gnome2.rb: Fix a bug to compile
1821
- Ruby-GNOME2 with Ruby/Cairo on Win32.
1822
- * src/rbglib_utils.c: Fix a linking error on Win32.
1823
- * extconf.rb: ditto.
1824
-
1825
- 2005-09-29 Masao Mutoh <mutoh@highway.ne.jp>
1826
-
1827
- * src/rbglib.c: Added GLib::BUILD_VERSION.
1828
-
1829
- 2005-09-18 Masao Mutoh <mutoh@highway.ne.jp>
1830
-
1831
- * src/rbgobj_type.c: Add GLib::MetaInterface#install_property, #property,
1832
- #properties.
1833
- * src/rbgobject.c: Doesn't wrap the set_foo functions
1834
- for construct only properties by Sven Herzberg [Bug #1192975]
1835
-
1836
- 2005-09-15 Masao Mutoh <mutoh@highway.ne.jp>
1837
-
1838
- * src/lib/glib2.rb: Supports Ruby-GetText-Package.
1839
- You can use GetText methods unless "require 'gettext'".
1840
- And it works in English if the users don't have Ruby-GetText-Package.
1841
- * src/rbgobject.c: Keep the ruby object when the GObject is removed by C side.
1842
- Tomasz Wegrzanowski.
1843
-
1844
- 2005-09-13 Masao Mutoh <mutoh@highway.ne.jp>
1845
-
1846
- * src/rbglib_messages.c: Show Warning messages unless -d option.
1847
- Pointed out by Guillaume Cottenceau.
1848
-
1849
- 2005-09-12 Masao Mutoh <mutoh@highway.ne.jp>
1850
-
1851
- * src/rbgobject.c (rbgobj_instance_from_ruby_object): Fixed the error messages
1852
- "TypeError: fundamental type glong isn't supported" to
1853
- "TypeError:Fixnum isn't supported". Pointed out by Guillaume Cottenceau.
1854
-
1855
- 2005-09-08 Kouhei Sutou <kou@cozmixng.org>
1856
-
1857
- * src/rbgobj_boxed.c (rbgobj_make_boxed): Return nil if boxed
1858
- object is NULL.
1859
-
1860
- 2005608-21 Pascal Terjan <pterjan@linuxfr.org>
1861
-
1862
- * src/rbglib_utils.c: Added GLib.listenv and .host_name (2.8)
1863
-
1864
- 2005-07-30 Masao Mutoh <mutoh@highway.ne.jp>
1865
-
1866
- * src/rbglib.h: Increment version.
1867
- * sample/type-register.rb: Fix a bug.
1868
-
1869
- 2005-07-27 Masao Mutoh <mutoh@highway.ne.jp>
1870
-
1871
- * src/lib/pkg-config.rb: Added PKGConfig.name, .description,
1872
- .provides, .requires.
1873
-
1874
- 2005-07-26 Masao Mutoh <mutoh@highway.ne.jp>
1875
-
1876
- * src/rbglib_iochannel.c, rbglib_maincontext.c: Works on Win32 again.
1877
-
1878
- 2005-07-24 Masao Mutoh <mutoh@highway.ne.jp>
1879
-
1880
- * src/lib/pkg-config.rb: Added PKGConfig.list_all.
1881
-
1882
- 2005-07-23 Masao Mutoh <mutoh@highway.ne.jp>
1883
-
1884
- * extconf.rb, src/rbglib_maincontext.c, rbglib_iochannel.c:
1885
- Fix to work on ruby-1.6.8, GTK+-2.0.6.
1886
- * src/rbglib_iochannel.c, rbgobj_object.c: Fix a compiling warning.
1887
-
1888
- 2005-07-15 Masao Mutoh <mutoh@highway.ne.jp>
1889
-
1890
- * sample/iochannel.rb, timeout.rb: Modified header comments.
1891
-
1892
- 2005-07-10 Masao Mutoh <mutoh@highway.ne.jp>
1893
-
1894
- * sample/iochannel.rb: Added.
1895
-
1896
- 2005-07-02 Masao Mutoh <mutoh@highway.ne.jp>
1897
-
1898
- * tests/test-iochannel.*: Added tests for GLib::IOChannel.
1899
-
1900
- 2005-06-30 Masao Mutoh <mutoh@highway.ne.jp>
1901
-
1902
- * src/rbglib_iochannel.c: Rename GLib::IOChannel#fd => #fileno, #to_i.
1903
- Improved #seek.
1904
-
1905
- 2005-06-29 Masao Mutoh <mutoh@highway.ne.jp>
1906
-
1907
- * src/rbglib_iochannel.c: Added GLib::IOChannel#each_char, #each, #each_line.
1908
-
1909
- 2005-06-28 Masao Mutoh <mutoh@highway.ne.jp>
1910
-
1911
- * src/rbglib_iochannel.c: Rename GLib::IOChannel#read_chars => #read.
1912
- Unify GLib::IOChannel#read_to_end => #read.
1913
-
1914
- 2005-06-26 Masao Mutoh <mutoh@highway.ne.jp>
1915
-
1916
- * src/rbglib_iochannel.c: Rename GLib::IOChannel#read_unichar => #readchar.
1917
- #read_line => #readline. Add #gets, #getc.
1918
-
1919
- 2005-06-16 Masao Mutoh <mutoh@highway.ne.jp>
1920
-
1921
- * src/rbgobj_strv.c: Fix double free error.
1922
- * src/rbglib_iochannel.c: Added GLib::IOChannel.
1923
- * src/rbglib.c, rbgobject.h: ditto.
1924
-
1925
- 2005-03-24 Masao Mutoh <mutoh@highway.ne.jp>
1926
-
1927
- * sample/spawn.rb: Add a comment. Bugs:1159417.
1928
- * extconf.rb: Add require gtherad-2.0. Bugs: 1159413
1929
-
1930
- 2005-03-21 Vincent Isambart <isambart@netcourrier.com>
1931
-
1932
- * src/lib/pkg-config.rb: Renames the "libs" local variable to "libraries"
1933
- to work ruby-1.9.x.
1934
-
1935
- 2005-03-14 Masao Mutoh <mutoh@highway.ne.jp>
1936
-
1937
- * src/rbglib.h, rbgobject.h: Move some macros/definitions to rbgobject.h
1938
- Reported by Vincent Isambart.
1939
- * src/rbglib_maincontext.c: Added GLib::MainContext#query.
1940
-
1941
- 2005-03-13 Masao Mutoh <mutoh@highway.ne.jp>
1942
-
1943
- * sample/idle.rb, timeout.rb, timeout2.rb: Added.
1944
- * src/rbglib_pollfd.c: Added GLib::PollFD.
1945
- * src/rbglib_source.c: Added GLib::Source.
1946
- * src/rbglib_maincontext.c: Added GLib::MainContext#find_source,
1947
- #add_poll, #remove_poll, GLib::Timeout, GLib::Idle, GLib::ChildWatch.
1948
- * src/rbglib.[ch]: Support GLib::PollFD, GLib::Source.
1949
-
1950
- 2005-03-12 Masao Mutoh <mutoh@highway.ne.jp>
1951
-
1952
- * src/rbglib_mainloop.c: Added GLib::MainLoop.
1953
- * src/rbglib_maincontext.c: Added GLib::MainContext.
1954
- * src/rbglib.[ch]: Support GLib::MainLoop, GLib::MainContext.
1955
-
1956
- 2005-03-06 Masao Mutoh <mutoh@highway.ne.jp>
1957
-
1958
- * src/rbglib_threads.c, extconf.rb: Fix compiling problem on MSVC++.
1959
-
1960
- 2005-03-05 Masao Mutoh <mutoh@highway.ne.jp>
1961
-
1962
- * sample/spawn.rb: Added.
1963
- * README: Revised.
1964
-
1965
- 2005-02-26 Masao Mutoh <mutoh@highway.ne.jp>
1966
-
1967
- * src/rbglib.c, rbglib_threads.c: Added GLib::Threads.
1968
- * src/lib/pkg-config.rb: Added PKGConfig.cflags_only_I, .cflags_only_other.
1969
- * src/rbglib.h: Increment version information.
1970
-
1971
- 2005-02-26 KATO Kazuyoshi <kzys@8-p.info>
1972
-
1973
- * src/rbgobj_type.c (rbgobj_lookup_class): Fixed a problem in Ruby 1.9.
1974
- [ruby-list:40518] [ruby-dev:23690]
1975
-
1976
- 2005-02-22 Masao Mutoh <mutoh@highway.ne.jp>
1977
-
1978
- * src/lib/glib2.rb: Removed to call GLib::Log.cancel_handler.
1979
-
1980
- 2005-02-17 Masao Mutoh <mutoh@highway.ne.jp>
1981
-
1982
- * src/lib/mkmf-gnome2.rb: Don't remove Makefile with 'nmake clean'.
1983
-
1984
- 2005-02-15 Masao Mutoh <mutoh@highway.ne.jp>
1985
-
1986
- * README, COPYING.LIB: Replace "GNU LIBRARY GENERAL PUBLIC LICENSE"
1987
- to "GNU LESSER GENERAL PUBLIC LICENSE".
1988
-
1989
- 2005-02-09 Masao Mutoh <mutoh@highway.ne.jp>
1990
-
1991
- * src/lib/glib2.rb: Fix the default error level.
1992
-
1993
- 2005-02-02 Masao Mutoh <mutoh@highway.ne.jp>
1994
-
1995
- * src/rbglib_messages.c: Fix a compiling warning on Cygwin.
1996
-
1997
- 2005-02-01 Masao Mutoh <mutoh@highway.ne.jp>
1998
-
1999
- * src/lib/mkmf-gnome2.rb: Change checking-rules order.
2000
- Added GTK_BASE_PATH environment variable option for Win32.
2001
- * src/rbglib.c, rbglib_convert.c, rbgutil.h, rbgobject.h:
2002
- Remove to include glib.h directly.
2003
-
2004
- 2005-01-31 Masao Mutoh <mutoh@highway.ne.jp>
2005
-
2006
- * src/rbglib_messages.c: Fix segfault, and make it simple.
2007
- Now it doesn't raise Exception, because of bad influence to
2008
- other libs such as gnomeprint.
2009
-
2010
- 2005-01-30 Masao Mutoh <mutoh@highway.ne.jp>
2011
-
2012
- * extconf.rb: Follow mkmf-gnome2.rb changes.
2013
- * src/lib/pkgconfig.rb: Separated from mkmf-gnome2.rb.
2014
-
2015
- 2005-01-28 Masao Mutoh <mutoh@highway.ne.jp>
2016
-
2017
- * src/rbglib_message.c, rbglib_spawn.c, rbgobject.c, rbgobj_boxed.c,
2018
- rbgobj_closure.c,rbgobj_enums.c,rbgobj_object.c, rbgobj_type.c,
2019
- src/lib/mkmf-gnome2.rb: Support MS VC++.
2020
- * src/lib/mkmf-gnome2.rb: Added setup_win32, add_depend_package.
2021
- * src/glib.def: Added rbgobj_register_class.
2022
-
2023
- 2005-01-23 Masao Mutoh <mutoh@highway.ne.jp>
2024
-
2025
- * src/lib/glib2.rb: Remove $KCODE="U". Reported by Dafydd Harries.
2026
- Added header information.
2027
-
2028
- 2005-01-09 Masao Mutoh <mutoh@highway.ne.jp>
2029
-
2030
- * src/lib/glib2.rb: Improved error handling.
2031
- * src/rbglib_messages.c: ditto.
2032
- * src/rbgobj_strv.c: Added for GLib-2.4.x. Support GStrv as Array.
2033
- * src/rbgobject.c: Support GStrv.
2034
-
2035
- 2004-11-21 Masao Mutoh <mutoh@highway.ne.jp>
2036
-
2037
- * src/rbglib_messages.c, src/lib/glib2.rb:
2038
- Rewrite code to C for stablity.
2039
-
2040
- 2004-11-14 Masao Mutoh <mutoh@highway.ne.jp>
2041
-
2042
- * src/rbglib.h: Increment version information.
2043
-
2044
- 2004-11-03 Masao Mutoh <mutoh@highway.ne.jp>
2045
-
2046
- * src/rbglib_messages.c: Works again for ruby-1.8.x.
2047
- Reported by Kohei Sutou.
2048
-
2049
- 2004-10-31 Masao Mutoh <mutoh@highway.ne.jp>
2050
-
2051
- * src/rbglib_messages.c: Check the paratmeter is Block or not.
2052
-
2053
- 2004-10-22 Masao Mutoh <mutoh@highway.ne.jp>
2054
-
2055
- * src/lib/glib2.rb: Added GLib.check_binding_version?
2056
- * src/rbglib_utils.c: GLib.check_version: Use static variables
2057
- instead of MACROS.
2058
- GLib.check_version -> GLib.check_version?.
2059
- * sample/utils.rb: ditto.
2060
-
2061
- 2004-10-20 Masao Mutoh <mutoh@highway.ne.jp>
2062
-
2063
- * src/rbglib_convert.c: Implemented GLib::ConvertError.
2064
-
2065
- 2004-10-18 Masao Mutoh <mutoh@highway.ne.jp>
2066
-
2067
- * src/lib/mkmf-gnome2.rb: Added PKGConfig.modversion, .check_version?.
2068
- PKGConfig#have_package accept major, minor micro version to check
2069
- the module version correctly.
2070
- Pointed out by Kouhei Sutou.
2071
-
2072
- 2004-10-17 Vincent Isambart <isambart@netcourrier.com>
2073
-
2074
- * src/lib/mkmf-gnome2.rb: Renamed add_uniq_to_objs to add_obj.
2075
-
2076
- 2004-10-17 Vincent Isambart <isambart@netcourrier.com>
2077
-
2078
- * src/lib/mkmf-gnome2.rb: Added the add_uniq_to_objs function.
2079
-
2080
- 2004-09-23 Masao Mutoh <mutoh@highway.ne.jp>
2081
-
2082
- * src/lib/glib2.rb: Renamed GLib::Log.set_error_domain to
2083
- GLib::Log.set_log_domain.
2084
-
2085
- 2004-09-23 Masao Mutoh <mutoh@highway.ne.jp>
2086
-
2087
- * src/lib/glib2.rb: Improved log handling.
2088
- Define GLib::ERROR_DOMAIN, GLib::Object::LOG_DOMAIN,
2089
- GLib::Thread::LOG_DOMAIN, GLib::Module::LOG_DOMAIN.
2090
-
2091
- 2004-09-21 Masao Mutoh <mutoh@highway.ne.jp>
2092
-
2093
- * src/lib/glib2.rb: Add GLib::Log.set_error_domain for improvement
2094
- error handling.
2095
-
2096
- 2004-09-03 Masao Mutoh <mutoh@highway.ne.jp>
2097
-
2098
- * src/lib/glib2.rb: Set $KCODE to "U".
2099
-
2100
- 2004-08-22 Masao Mutoh <mutoh@highway.ne.jp>
2101
-
2102
- * src/rbgobj_enums.c: makes rbgobj_define_const to a global function.
2103
- * src/rbglib_error.c: Fix bugs. Re-implement rbgerr_define_gerror.
2104
-
2105
- 2004-08-19 Masao Mutoh <mutoh@highway.ne.jp>
2106
-
2107
- * src/rbgobj_type.c: rbgobj_define_class() can define parent compulsorily.
2108
- * src/rbgobj_param.c, rbgobj_object.c, rbgobj_boxed.c: Follow above change.
2109
-
2110
- * src/rbgerror.c, rbglib.h: Added. Replace rbgutil_gerror2exception.
2111
- * src/rbgutil.[ch]: Removed rbgutil_gerror2exception.
2112
- * src/rbgfileutils.c: Added for GLib::FileError.
2113
- * src/rbgutil.c: Improved RAISE_GERROR.
2114
- * src/rbglib.c, glib2.def: Follow these changes.
2115
-
2116
- 2004-08-15 Masao Mutoh <mutoh@highway.ne.jp>
2117
-
2118
- * src/rbglib.h: Increment version number.
2119
-
2120
- 2004-08-07 Masao Mutoh <mutoh@highway.ne.jp>
2121
-
2122
- * src/rbglib_spawn.c: Fix warnings.
2123
- * src/rbgobject.c: Fix a warning.
2124
-
2125
- 2004-08-04 Masao Mutoh <mutoh@highway.ne.jp>
2126
-
2127
- * src/rbglib.h: Define GPid when GLib < 2.4.0.
2128
-
2129
- 2004-08-02 Masao Mutoh <mutoh@highway.ne.jp>
2130
-
2131
- * src/rbglib_spawn.c: Change the parent of GLib::Spawn*Error to
2132
- StandardError from SystemCallError.
2133
- Added GLib::Spawn#async_with_pipes, #async, #sync.
2134
- Make uniform of the return values of GLib::Spawn#command_line_sync
2135
- to #sync.
2136
-
2137
- 2004-08-01 Masao Mutoh <mutoh@highway.ne.jp>
2138
-
2139
- * src/rbglib.h, glib2.def: Export rbglib_spawn_error()
2140
- for Gdk::Screen#spawn_on_screen.
2141
- Increment version.
2142
-
2143
- 2004-07-31 Masao Mutoh <mutoh@highway.ne.jp>
2144
-
2145
- * src/rbglib.c: setlocale parameter was changed.
2146
- LC_CTYPE and LC_MESSAGES are set not LC_ALL.
2147
-
2148
- 2004-07-24 Masao Mutoh <mutoh@highway.ne.jp>
2149
-
2150
- * tests/test-glib2.rb: Removed ^M. Pointed out by Laurent Sansonetti.
2151
- * src/rbglib.c: Version informations use variables not macros.
2152
- Added GLib::INTERFACE_AGE, GLib::BINARY_AGE.
2153
- Pointed out by Jeremy Henty
2154
-
2155
- 2004-05-21 Masao Mutoh <mutoh@highway.ne.jp>
2156
-
2157
- * src/rbglib.h. glib2.def: Fixed a problem with rbg_cstr2rval_with_free
2158
- reported by Joao Pedrosa.
2159
-
2160
- 2004-05-16 Masao Mutoh <mutoh@highway.ne.jp>
2161
-
2162
- * src/rbgobject.c (rbgobj_define_property_accessor): Supports
2163
- interface properties (Since 2.4).
2164
- * src/rbgobj_type.c (rbgobj_init_interface): ditto.
2165
-
2166
- 2004-05-15 Masao Mutoh <mutoh@highway.ne.jp>
2167
-
2168
- * src/rbglib.[ch]: Add CSTR2RVAL2 which free given char* area.
2169
-
2170
- 2004-05-05 Laurent Sansonetti <lrz@gnome.org>
2171
-
2172
- * src/rbglib_spawn.c: Fixed a memory overflow bug in the
2173
- spawn_error table.
2174
-
2175
- 2004-05-01 Masao Mutoh <mutoh@highway.ne.jp>
2176
-
2177
- * src/rbglib_spawn.c: Fix an initial error on some platforms
2178
- to restrict errno to exist the environment.
2179
- Reported by Laurent Sansonetti.
2180
-
2181
- 2004-04-30 Masao Mutoh <mutoh@highway.ne.jp>
2182
-
2183
- * sample/utils.rb: Add a sample.
2184
- * src/rbglib_utils.c: Add/Modify some methods.
2185
- * src/lib/glib2.rb: Fix a bug which GLib.__add_one_arg_setter(klass)
2186
- doen't work for module function and moved from src/rbgutil.c.
2187
-
2188
- 2004-04-30 Pascal Terjan <pterjan@linuxfr.org>
2189
-
2190
- * src/rbglib_utils.c: Added.
2191
- * src/rbglib.c: Follow rbglib_utils.c added.
2192
-
2193
- 2004-04-27 Masao Mutoh <mutoh@highway.ne.jp>
2194
-
2195
- * src/rbgobj_type.c: Accept a ruby class when GType[...] is required.
2196
- * sample/type-register2.rb: Added.
2197
- * src/rbglib_spawn.c: Improve error classes.
2198
- Separate module from GLib to GLib::Spawn.
2199
- Add GLib::Spawn.close_pid.
2200
-
2201
- 2004-04-27 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2202
-
2203
- * src/rbglib_spawn.c: Added.
2204
- * src/rbglib.c: Follow above changes.
2205
-
2206
- 2004-04-20 Masao Mutoh <mutoh@highway.ne.jp>
2207
-
2208
- * src/rbglib_messages.c: Fix bugs, Add GLib::Log.log, set_fatal_mask,
2209
- set_always_fatal, some constants.
2210
- * src/lib/glib2.rb: Add GLib::Log.error, message, critical, warning.
2211
-
2212
- 2004-04-15 Masao Mutoh <mutoh@highway.ne.jp>
2213
-
2214
- * src/rbglib_convert.c: Add GLib.utf8_validate.
2215
- * src/rbglib.c: Commented out Init_mem(), because of "cross-thread violation"
2216
- with Gst::Thread.
2217
-
2218
- 2004-03-24 Masao Mutoh <mutoh@highway.ne.jp>
2219
-
2220
- * src/rbgutil.c: RAISE_GERROR() returns error messages in UTF-8.
2221
-
2222
- 2004-03-14 Masao Mutoh <mutoh@highway.ne.jp>
2223
-
2224
- * src/rbglib.h: Increment version number.
2225
-
2226
- 2004-03-10 Masao Mutoh <mutoh@highway.ne.jp>
2227
-
2228
- * src/rbgobj_type.c: Fix a compilation error on MinGW.
2229
-
2230
- 2004-03-07 Masao Mutoh <mutoh@highway.ne.jp>
2231
-
2232
- * sample/type-register.rb: Omit a parameter for type_register.
2233
-
2234
- 2004-03-06 Masao Mutoh <mutoh@highway.ne.jp>
2235
-
2236
- * src/rbglib.h src/rbgobj_object.c src/rbgobj_paramspecs.c
2237
- src/rbgobj_signal.c src/rbgobj_type.c src/rbgobject.c
2238
- src/rbgobject.h src/rbgutil.c src/lib/mkmf-gnome2.rb: Update Copyright.
2239
- * src/lib/mkmf-gnome2.rb: Work under ruby-1.8.1 or later on Cygwin.
2240
-
2241
- 2004-03-05 Masao Mutoh <mutoh@highway.ne.jp>
2242
-
2243
- * src/rbgobj_object.c: Fix a memleak for GLib::Object#properties.
2244
- * src/rbgobj_signal.c: Fix a memleak for GLib::Object#signals.
2245
-
2246
- 2004-03-04 Masao Mutoh <mutoh@highway.ne.jp>
2247
-
2248
- * src/rbgutil.c: Work under ruby-1.6.8.
2249
- The idea is from Sasada Koichi.
2250
-
2251
- 2004-03-02 Masao Mutoh <mutoh@highway.ne.jp>
2252
-
2253
- * src/rbglib.h: Increment version number.
2254
-
2255
- 2004-02-24 Masao Mutoh <mutoh@highway.ne.jp>
2256
-
2257
- * src/rbgobject.c: Remove id, send from prop_exclude_list.
2258
-
2259
- 2004-02-23 Masao Mutoh <mutoh@highway.ne.jp>
2260
-
2261
- * src/rbgobject.h: Add G_DEF_CLASS3(). This is for real-gtype
2262
- but its foo_get_type() isn't public method such as GdkScreenX11.
2263
- * src/rbgobj_type.c: Add RGObjClassInfoDynamic and G_DEF_CLASS3().
2264
- * src/glib2.def: ditto.
2265
-
2266
- 2004-02-22 Masao Mutoh <mutoh@highway.ne.jp>
2267
-
2268
- * src/rbgobject.c: prop_exclude_list defined as a static hash.
2269
-
2270
- 2004-02-14 Vincent Isambart <isambart@netcourrier.com>
2271
-
2272
- * src/lib/mkmf-gnome2.rb: replaced PLATFORM with RUBY_PLATFORM
2273
-
2274
- 2004-02-01 Masao Mutoh <mutoh@highway.ne.jp>
2275
-
2276
- * src/rbgobj_paramspecs.c: Fix a bug for GLib::Param::Flags.new.
2277
-
2278
- 2003-12-21 Masao Mutoh <mutoh@highway.ne.jp>
2279
-
2280
- * src/rbgobj_object.c: Fix a typo. Pointed out by Kazuhiro NISHIYAMA.
2281
-
2282
- 2003-12-21 Kenichi Komiya <kom@mail1.accsnet.ne.jp>
2283
-
2284
- * src/rbgobj_object.c: Check when the first argument is nil or Hash.
2285
-
2286
- 2003-11-22 Masao Mutoh <mutoh@highway.ne.jp>
2287
-
2288
- * src/rbglib.h: increment RBGLIB_MICRO_VERSION.
2289
-
2290
- 2003-11-15 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2291
-
2292
- * src/rbgobj_enums.c: disable range checks.
2293
-
2294
- * sample/type-register.rb: call GLib::Object#notify when a
2295
- property is updated.
2296
-
2297
- * src/rbgobj_signal.c: remove GLib::MetaInterface#signal_override
2298
- and GLib::Instantiatable#signal_chain_from_overridden.
2299
-
2300
- 2003-11-10 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2301
-
2302
- * src/rbglib.c: remove duplication of #include <locale.h>.
2303
-
2304
- 2003-11-10 Masao Mutoh <mutoh@highway.ne.jp>
2305
-
2306
- * src/rbgobj_enums.c, rbgobject.h: Add G_RENAME_NICK.
2307
-
2308
- 2003-11-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2309
-
2310
- * sample/type-register.rb: remove Japanese comments.
2311
-
2312
- * src/rbglib.h: increment RBGLIB_MINOR_VERSION.
2313
-
2314
- * src/rbgobj_object.c: do not depend on C99, Thanks to Hiroshi
2315
- IGARASHI.
2316
-
2317
- * src/rbgobj_object.c: remove unnecessary #endif, Thanks to Nobuyoshi
2318
- Nakada.
2319
-
2320
- 2003-11-05 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2321
-
2322
- * sample/type-register.rb: add new file.
2323
-
2324
- * rename test/test-glib2.rb to tests/test-glib2.rb.
2325
-
2326
- * src/rbgobj_object.c: rename GLib::Object.register_type to
2327
- type_register and change its arguments.
2328
-
2329
- * src/rbgobj_object.c, src/rbgobj_signal.c, src/global.h: enable
2330
- subtyping codes by default.
2331
-
2332
- 2003-10-29 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2333
-
2334
- * src/global.h, src/rbgobj_object.c, src/rbgobj_signal.c: share a
2335
- module which serves to hook 'super'.
2336
-
2337
- * src/rbgobj_signal.c: change prefix of default handler of signals
2338
- from 'do_' to 'signal_do_'.
2339
-
2340
- * test/test-glib2.rb: new file.
2341
-
2342
- 2003-10-26 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2343
-
2344
- * src/rbgobj_object.c (get_prop_func, set_prop_func): replace '-' with
2345
- '_' from method name.
2346
-
2347
- * src/rbgobj_object.c (get_prop_func, set_prop_func): do not call
2348
- #do_get_property and #do_set_property, but #foo and #foo=.
2349
-
2350
- * src/rbgobj_signal.c (gobj_s_signal_new): change the arity of
2351
- GLib::Instantiatable#signal_new.
2352
-
2353
- 2003-10-24 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2354
-
2355
- * src/rbgobj_signal.c (emit_body, chain_from_overridden_body):
2356
- remove G_SIGNAL_TYPE_STATIC_SCOPE flag from parameters and
2357
- return value.
2358
-
2359
- 2003-10-23 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2360
-
2361
- * src/rbgobj_enum.c (rbgobj_get_enum, rbgobj_get_flags): check if the
2362
- argument GType is subtype of GEnum or GFlags.
2363
-
2364
- * src/rbgobj_signal.c: new method
2365
- GLib::Instantiatable#signal_has_handler_pending?.
2366
-
2367
- * src/rbgobj_signal.c (g_signal_handler_block,
2368
- gobj_sig_handler_unblock, gobj_sig_handler_disconnect):
2369
- use NUM2ULONG instead of NUM2INT.
2370
-
2371
- 2003-10-14 Masao Mutoh <mutoh@highway.ne.jp>
2372
-
2373
- * src/rbgobj_signal.c: Fix a segfault when GLib::Object#signal_emit
2374
- is called.
2375
-
2376
- 2003-10-08 Laurent Sansonetti <lrz@gnome.org>
2377
-
2378
- * src/rbgobj_param.c: Removed a compilation warning in function
2379
- value_validate_ensure().
2380
-
2381
- 2003-10-05 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2382
-
2383
- * src/rbglib.c: call g_mem_set_vtable() to make glib to use
2384
- ruby_xmalloc(), ruby_xrealloc(), ruby_xfree().
2385
-
2386
- 2003-09-26 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2387
-
2388
- * src/lib/mkmf-gnome2.rb: append "-I$(sitearchdir)" to $CPPFLAGS not
2389
- $CFLAGS. and stop overriding create_makefile().
2390
-
2391
- 2003-09-23 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2392
-
2393
- * src/rbgobj_signal.c (gobj_s_signal_new): use #instance_method,
2394
- UnboundMethod#bind and Method#call instead of #__send__.
2395
-
2396
- * src/rbgobj_signal.c (gobj_s_method_added): check GType.
2397
-
2398
- 2003-09-22 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2399
-
2400
- * src/rbgobj_signal.c (gobj_s_sig_override): check if the class is
2401
- registered.
2402
-
2403
- * src/rbgobj_signal.c (gobj_s_method_added): when a method named
2404
- 'do_<signal_name>' is defined then override default handler by the
2405
- method.
2406
-
2407
- 2003-09-20 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2408
-
2409
- * src/rbgobj_type.c: override #append_features of interface modules to
2410
- prevent including them into classes which is not subclass of
2411
- GLib::Instantiatable.
2412
-
2413
- 2003-09-18 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2414
-
2415
- * src/rbgobj_closure.c: implement GLib::Closure#invalidate.
2416
-
2417
- * src/rbgobj_closure.c: don't invoke Proc objects after ruby is
2418
- terminated.
2419
-
2420
- * src/rbgobj_signal.c: implement GLib::MetaInterface#signal_override
2421
- and GLib::Instantiatable#signal_chain_from_overridden experimentaly.
2422
-
2423
- 2003-09-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2424
-
2425
- * src/rbglib.c: define GLib::BINDING_VERSION.
2426
-
2427
- * src/lib/mkmf-gnome2.rb: use PKG_CONFIG environment variable.
2428
-
2429
- 2003-09-06 Masao Mutoh <mutoh@highway.ne.jp>
2430
-
2431
- * src/lib/mkmf_gnome2.rb: Pass "-l$(sitearchdir)" at last of $CFLAGS.
2432
-
2433
- 2003-09-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2434
-
2435
- * src/rbgobj_object.c (register_type): if the super type is not defined
2436
- by ruby, then include a new module that defines #initialize.
2437
-
2438
- * src/rbgobj_param.c (value_validate): use rb_ensure().
2439
-
2440
- * src/rbgobj_param.c: disable GLib::Param#value_defaults? since the
2441
- name is bad.
2442
-
2443
- 2003-08-31 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2444
-
2445
- * src/rbgobj_enum.c (enum_coerce): use NUM2INT not NUM2UINT.
2446
-
2447
- * src/rbgobj_paramspecs.c: delete unnecessary StringValue invocation.
2448
-
2449
- * src/rbgobj_paramspecs.c: use RVAL2GENUM and RVAL2GFLAGS.
2450
-
2451
- 2003-08-30 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2452
-
2453
- * src/lib/glib2.rb: rescue LoadError and Win32::Registry::Error
2454
- separately.
2455
-
2456
- * src/lib/glib2.rb: On mingw32 and mswin32 platform, require
2457
- 'win32/registry' unconditionaly and rescue LoadError.
2458
- (proposed by TAMURA.KENICHI <sgs02516@nifty.com>)
2459
-
2460
- * src/rbgobj_enums.c: fixed rgbobj_get_enum - a VALUE was not
2461
- converted to int before calling rbgobj_make_enum.
2462
- (reported by Geoff Youngs <g@intersect-uk.co.uk>)
2463
-
2464
- 2003-08-29 Vincent Isambart <isambart@netcourrier.com>
2465
-
2466
- * src/rbgobj_enums.c: fixed rgbobj_get_flags - a VALUE was not
2467
- converted to unsigned int before calling rbgobj_make_flags.
2468
-
2469
- 2003-08-28 Masao Mutoh <mutoh@highway.ne.jp>
2470
-
2471
- * extconf.rb: Exit with 1 when the package is not found.
2472
-
2473
- 2003-08-25 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2474
-
2475
- * src/rbgobject.h: new macros RVAL2GENUM(), RVAL2GFLAGS(),
2476
- GENUM2RVAL() and GFLAGS2RVAL().
2477
-
2478
- * src/rbgobj_signal.c: new exception class GLib::NoSignalError.
2479
-
2480
- * src/rbgobj_object.c: new exception class GLib::NoPropertyError.
2481
-
2482
- * src/lib/glib2.rb: append Dropline GTK2-Runtime DLL path into PATH
2483
- environmental variable. (proposed by TAMURA.KENICHI <sgs02516@nifty.com>)
2484
-
2485
- * src/rbgobj_object.c: remove GLib::Object#property.
2486
-
2487
- * src/rbgobj_enums.c (rbgobj_get_enum, rbgobj_get_flags):
2488
- create temporary enum/flags object if the argument is an integer.
2489
- this is to check if the integer is in the values avalable in the type.
2490
- (proposed by Vincent Isambart <vincent.isambart@laposte.net>
2491
-
2492
- * src/rbgobject.c (rbgobj_initialize_object): raise RuntimeError
2493
- if the argument is NULL. (proposed by Vincent Isambart
2494
- <vincent.isambart@laposte.net>)
2495
-
2496
- 2003-08-21 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2497
-
2498
- * src/rbgobj_boxed.c: define GLib::Boxed#initialize which simply raise
2499
- TypeError.
2500
-
2501
- * src/rbglib2.rb: fix format of GLib::Flags#inspect.
2502
-
2503
- * src/glib2.def, src/global.h, src/rbgobj_enums.c, src/rbgobj_type.c,
2504
- src/rbgobj_value.c, src/rbgobject.h, src/lib/glib2.rb: new classes
2505
- GLib::Enum and GLib::Flags.
2506
-
2507
- 2003-08-17 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2508
-
2509
- * src/lib/glib2.rb: add new file.
2510
-
2511
- * src/lib/mkmf-gnome2.rb (PKGConfig.have_package): don't use
2512
- Array#quote. Because mkmf.rb of ruby-1.6 doesn't provide this method.
2513
-
2514
- 2003-08-16 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2515
-
2516
- * src/rbgobject.h, src/rbgobj_type.c, let rbgobj_define_class() to
2517
- take `const gchar*', not `gchar*'.
2518
-
2519
- 2003-08-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2520
-
2521
- * src/lib/mkmf-gnome2.rb (PKGConfig.have_package): append linker
2522
- flags other than -l and -L into $LDFLAGS.
2523
-
2524
- 2003-08-09 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2525
-
2526
- * src/rbgobj_signal.c (gobj_sig_emit): fix to setup arg.self.
2527
-
2528
- 2003-08-09 Masao Mutoh <mutoh@highway.ne.jp>
2529
-
2530
- * src/depend: use old style
2531
- * src/glib2.def: Add rbgobj_constant_remap.
2532
-
2533
- 2003-08-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2534
-
2535
- * src/rbgobj_valuetypes.c: use GHashTable instead of Ruby's Hash
2536
- for reference counting. Using Ruby's Hash may cause segmentaion fault
2537
- when ruby exits.
2538
-
2539
- * src/rbgobj_closure.c: use GHashTable instead of Ruby's Hash
2540
- for the same reason as src/rbgobj_valuetypes.c.
2541
-
2542
- * src/rbgobject.c (rbgobj_gobject_initialize): don't warn if the
2543
- instance type is a subtype of the class type.
2544
-
2545
- 2003-08-03 Masao Mutoh <mutoh@highway.ne.jp>
2546
-
2547
- * src/rbgobj_valuetypes.c: Fix error for gcc 2.95.4.
2548
- Reported by Hiroshi Igarashi.
2549
-
2550
- 2003-08-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2551
-
2552
- * src/lib/mkmf-gnome2.rb (PKGConfig.have_package): use --libs-only-l
2553
- and --libs-only-L instead of --libs.
2554
-
2555
- 2003-08-02 Masao Mutoh <mutoh@highway.ne.jp>
2556
-
2557
- * src/lib/mkmf-gnome2.rb: fix for other libraries can't compile
2558
- in other directories.
2559
-
2560
- 2003-08-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2561
-
2562
- * src/rbgobj_object.c (gobj_s_properties),
2563
- src/rbgobj_signal.c (gobj_s_signals): recurse by default.
2564
-
2565
- 2003-08-01 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2566
-
2567
- * src/rbgobj_type.c: don't free RGObjClassInfo structure.
2568
-
2569
- 2003-07-28 Geoff Youngs <g@intersect-uk.co.uk>
2570
- * src/rbgobj_enums.c: add rbgobj_constant_* to allow renaming
2571
- invalid constants.
2572
- * src/rbgobject.h: add G_RENAME_CONSTANT
2573
-
2574
- 2003-07-26 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2575
-
2576
- * src/rbgobj_closure.c (rclosure_marshal): don't stop jumps.
2577
- This is a temporary solution for the Ruby-GNOME2 0.6 release.
2578
-
2579
- 2003-07-22 Masao Mutoh <mutoh@highway.ne.jp>
2580
-
2581
- * src/rbglib.h: add CBOOL2RVAL, RVAL2CBOOL.
2582
-
2583
- * src/lib/mkmf-gnome2.rb: Change include orders.
2584
-
2585
- 2003-07-21 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2586
-
2587
- * src/rbgobj_enums.c (rbgobj_flags_add_constants): use UINT2NUM()
2588
- instaed of INT2NUM().
2589
-
2590
- * src/rbgobj_object.c (gobj_smethod_added): use
2591
- rbgobj_get_signal_func().
2592
-
2593
- * src/rbgobj_signal.c (gobj_s_signal_new): fix to treat accumulator
2594
- correctly.
2595
-
2596
- * src/rbgobj_type.c: implement GLib::Type#<=>.
2597
-
2598
- * src/rbgobj_type.c: change superclass of GLib::Boxed from Data to
2599
- Object.
2600
-
2601
- * src/global.h, rbgutil.c: add new functions generic_s_new(),
2602
- generic_s_gtype() and generic_gtype().
2603
-
2604
- * rbgobj_boxed.c, rbgobj_type.c: use generic_s_new(),
2605
- generic_s_gtype() and generic_gtype().
2606
-
2607
- 2003-07-21 Masao Mutoh <mutoh@highway.ne.jp>
2608
-
2609
- * src/rbgobj_closure.c: enhance warning message of rclosure_marshal()
2610
- which is used in GLib::Instantiatable#signal_connect().
2611
-
2612
- 2003-07-20 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2613
-
2614
- * src/rbgobj_signal.c, src/rbgobj_type.c, src/global.h: enable
2615
- rbgobj_define_action_methods() by default.
2616
- This function defines methods that emit action signals.
2617
-
2618
- Action signals are signals that may freely be emitted on alive
2619
- objects from user code via g_signal_emit() and friends, without
2620
- the need of being embedded into extra code that performs pre or
2621
- post emission adjustments on the object. They can also be thought
2622
- of as by third-party code generically callable object methods.
2623
-
2624
- * src/rbgobject.h, src/rbgobj_enum.c, src/glib2.def: add new function
2625
- rbgobj_add_constants() and new macro G_DEF_CONSTANTS().
2626
-
2627
- 2003-07-18 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2628
-
2629
- * src/rbgobj_signal.c (signal_add_emission_hook): fix to treat `detail'
2630
- argument correctly.
2631
-
2632
- 2003-07-17 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2633
-
2634
- * src/rbgobj_closure.c (rclosure_marshal): use rb_protect().
2635
-
2636
- * src/rbgobj_valuetypes.c (value_transform_ruby_any): use rb_protect().
2637
-
2638
- * src/rbgobject.c (rbgobj_gobject_new): use rb_ensure().
2639
-
2640
- * src/rbgobj_signal.c (gobj_sig_emit): use rb_ensure().
2641
-
2642
- * src/rbgobj_object.c (gobj_set_property):
2643
- call rbgobj_rvalue_to_gvalue() even if the argument is nil.
2644
-
2645
- * src/rbgobj_signal.c: remove Dispatch Closure stuff.
2646
- use g_rclosure_new() instead.
2647
-
2648
- * src/rbgobj_value.c (rbgobj_rvalue_to_gvalue): call #to_s only for
2649
- Symbol->G_TYPE_STEING conversion.
2650
-
2651
- * src/rbgobject.c (rbgobj_gobject_initialize): check if the argument
2652
- has expected GType.
2653
-
2654
- * src/rbgobject.c (rbgobj_get_gobject): raise TypeError instead of
2655
- ArgumentError.
2656
-
2657
- 2003-07-16 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2658
-
2659
- * src/rbgobj_boxed.c (boxed_to_ruby): convert NULL to nil.
2660
-
2661
- * src/rbgobj_object.c (register_type): change error message:
2662
- "parent class" to "super class".
2663
-
2664
- * src/rbgobj_param.c: remove Param#default=.
2665
- rename Param#defaults to Param#value_defaults?.
2666
- rename Paramcompare to Param#value_compare.
2667
- implement Param#value_validate, #value_convert,
2668
- (value_defaults) initialize tmp.
2669
-
2670
- * src/rbgobj_paramspecs.c: remove *#default and *#default_value.
2671
-
2672
- * src/rbgobj_type.c:
2673
- (get_superclass): change to static function.
2674
- (GLib::Type#initialize): check if the given integer is valid GType
2675
- by using g_type_name().
2676
- (GLib::Type#==, #<, #>, #<=, #>=): return nil when uncomparable.
2677
-
2678
- 2003-07-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2679
-
2680
- * src/depend: use $(srcdir) to allow building in different directories.
2681
-
2682
- * src/rbgobj_param.c (inspect): change inspect format.
2683
-
2684
- * src/rbgobj_param.c: new methods:
2685
- GLib::Param#owner, GLib::Param#readable?,
2686
- GLib::Param#writable?, GLib::Param#construct?,
2687
- GLib::Param#construct_only?, GLib::Param#lax_validation?,
2688
- GLib::Param#private?, GLib::Param#readwrite?
2689
-
2690
- * src/rbgobj_paramspec.c: new methods:
2691
- GLib::Param::Char#range, GLib::Param::UChar#range,
2692
- GLib::Param::Int#range, GLib::Param::UInt#range,
2693
- GLib::Param::Long#range, GLib::Param::ULong#range,
2694
- GLib::Param::Int64#range, GLib::Param::UInt64#range,
2695
- GLib::Param::Float#range, GLib::Param::Double#range
2696
-
2697
- * src/rbgobj_boxed.c: implement GLib::Boxed#inspect and
2698
- GLib::Boxed#initialize_copy.
2699
- (boxed_from_ruby): accept nil and set NULL.
2700
-
2701
- * src/rbgobj_signal.c: implement GLib::Signal#inspect and
2702
- GLib::Signal#owner.
2703
- (to_signal_id, to_gquark): removed.
2704
- (gobj_s_signal_new, gobj_s_signal, gobj_sig_emit, gobj_sig_emit_stop):
2705
- accept Symbol.
2706
- (query_signal_id, query_signal_name, query_itype, query_return_type,
2707
- query_signal_flags, query_param_types): fix argument declaration.
2708
-
2709
- * src/rbgobj_valuetypes.c: implement GLib::Pointer#inspect,
2710
- GLib::Pointer#==, GLib::Pointer#eql? and GLib::Pointer#hash.
2711
-
2712
- 2003-07-13 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2713
-
2714
- * src/rbgobj_value.c, rbgobj_type.c:
2715
- Accept rb_cObject as RBGOBJ_TYPE_RUBY_VALUE not G_TYPE_POINTER.
2716
-
2717
- 2003-07-10 Masao Mutoh <mutoh@highway.ne.jp>
2718
-
2719
- * src/rbgobj_value.c, rbgobj_value_types.c, rbgobj_type.c:
2720
- Accept rb_cObject as G_TYPE_POINTER.
2721
-
2722
- 2003-06-26 Masao Mutoh <mutoh@highway.ne.jp>
2723
-
2724
- * src/rbgutil.h: Define G_BLOCK_PROC for ruby-1.8.x.
2725
- * src/*c: Use G_BLOCK_PROC instead of rb_f_lambda().
2726
- * src/lib/mkmf-gnome2.rb: Check rb_block_proc().
2727
-
2728
- 2003-06-23 Masao Mutoh <mutoh@highway.ne.jp>
2729
-
2730
- * src/rbglib.c: Add GLib::PRIORITY_*.
2731
-
2732
- 2003-06-22 Masao Mutoh <mutoh@highway.ne.jp>
2733
-
2734
- * src/rbglib.c: Call setlocale(LC_NUMERIC, "C") for some locales
2735
- which doesn't use "." as decimal-point.
2736
- Pointed out by Joao Pedrosa.
2737
-
2738
- 2003-05-27 Geoff Youngs <g@intersect-uk.co.uk>
2739
-
2740
- * rbgobject.c - altered rbgobj_instance_from_ruby_object()
2741
- and rbgobj_ruby_object_from_instance() to
2742
- convert between NULL and nil automatically
2743
-
2744
- 2003-05-27 Masao Mutoh <mutoh@highway.ne.jp>
2745
-
2746
- * src/depend: Add a file.
2747
- * src/lib/mkmf-gnome2.rb: Add a file(Move from ../).
2748
- * extconf.rb: Follow above changes.
2749
-
2750
- 2003-05-21 Masao Mutoh <mutoh@highway.ne.jp>
2751
-
2752
- * src/rbgutil.c: klass.instance_methods to klass.instance_methods(false)
2753
- for ruby-1.8.x.
2754
- * src/rbgobject.h, rbgobj_type.c: Remove rbgobj_exist_class().
2755
- Use rb_const_define_at() instead. Pointed out by Masahiro Sakai.
2756
-
2757
- 2003-05-19 Masao Mutoh <mutoh@highway.ne.jp>
2758
-
2759
- * src/rbgobj_type.c, rbgobject.h: Add rbgobj_exist_class().
2760
-
2761
- 2003-04-13 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2762
-
2763
- * src/rbgobj_type.c: fix so that GLib::Type#to_class can treat
2764
- GEnum's descendants.
2765
-
2766
- * src/rbgobj_object.c: enable GLib::Object.new! by default
2767
-
2768
- * src/rbgobj_object.c (gobj_s_install_property): modify error message.
2769
-
2770
- * src/rbgobj_signal.c (gobj_s_signal_new): check if the class has a
2771
- registerd type.
2772
-
2773
- * src/rbgobj_signal.c: implement GLib::Signal#{run_first?, run_last?,
2774
- run_cleanup?, no_recurse?, detailed?, action?, no_hooks?}
2775
-
2776
- 2003-04-12 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2777
-
2778
- * src/rbgobj_object.c (GLib::Object.new!): check if the class has a
2779
- registered type.
2780
-
2781
- * src/rbgobj_object.c: implement GLib::Object.install_property
2782
-
2783
- * src/rbgobj_object.c: improve type registeration system.
2784
-
2785
- * src/rbgobj_paramspecs.c: fix to use appropriate GType.
2786
-
2787
- * src/rbgobj_type.c, src/rbgobject.h: Add a new function
2788
- rbgobj_register_class() and rewring
2789
- _register_fundamental_klass_to_gtype() and
2790
- _register_fundamental_gtype_to_klass() with it.
2791
-
2792
- 2003-04-08 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2793
-
2794
- * src/rbgobj_type.c: fix typo. ( interfaced? => interface? )
2795
-
2796
- * src/rbgobj_type.c: implement GLib::Type#<, GLib::Type#>,
2797
- GLib::Type#<= and GLib::Type#>=.
2798
-
2799
- * src/rbgobj_signal.c: Extend GLib::Instantiatable#signal_handler_block
2800
- to take a block.
2801
-
2802
- * src/rbgobj_signal.c (gobj_s_signals): Fix memory leak.
2803
-
2804
- * src/rbgobj_object.c: Use RVAL2GTYPE().
2805
-
2806
- * src/rbgobj_type.c (interface_get_gtype): Use CLASS2GTYPE().
2807
-
2808
- * src/rbgobject.c (rbgobj_define_property_accessors): ditto
2809
-
2810
- 2003-04-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2811
-
2812
- * src/rbgobj_signal.c: Implement a new function
2813
- rbgobj_define_action_methods() experimentaly.
2814
- This function defines methods that emit action signals.
2815
-
2816
- Action signals are signals that may freely be emitted on alive
2817
- objects from user code via g_signal_emit() and friends, without
2818
- the need of being embedded into extra code that performs pre or
2819
- post emission adjustments on the object. They can also be thought
2820
- of as by third-party code generically callable object methods.
2821
-
2822
- * src/rbgobj_signal.c: Extend GLib::Object.signals to
2823
- GLib::Object.signals([inherited_too])
2824
-
2825
- * src/rbgobj_object.c: Extend GLib::Object.properties to
2826
- GLib::Object.properties([inherited_too])
2827
-
2828
- * src/global.h, src/rbgobj_signal.c, rbgobj_type.c:
2829
- gsub(/mInterfaceCommons/, 'mMetaInterface') and define
2830
- GLib::MetaInterface.
2831
-
2832
- * src/rbgobj_paramspecs.c (GLib::Param::String#default_value):
2833
- use rbg_cstr2rval() instead of rb_str_new2(). Because we need to
2834
- allow NULL.
2835
-
2836
- * src/rbgobj_type.c: simplify the format of GLib::Type#inspect
2837
-
2838
- 2003-04-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2839
-
2840
- * src/rbgobj_signal.c: rename signal_emit_by_name and
2841
- signal_emit_stop_by_name to signal_emit and signal_emit_stop
2842
- respectively.
2843
-
2844
- * src/rbgobj_signal.c: remove Signal#signal_id, Signal#signal_name,
2845
- Signal#signal_flags.
2846
-
2847
- 2003-04-05 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2848
-
2849
- * extconf.rb: add --enable-experimental option
2850
-
2851
- * src/rbgobj_signal.c (gobj_s_signal_new): implement accumulator stuff.
2852
-
2853
- * src/rbgobj_signal.c: code cleanup
2854
-
2855
- * src/rbgobj_signal.c: use signal_id as a key of signal_func_table.
2856
-
2857
- * src/rbgobj_signal.c: change rbgobj_get_signal_func() to static
2858
- function.
2859
-
2860
- * src/rbgobj_signal.c: implement Signal#add_emission_hook and
2861
- Signal#remove_emission_hook
2862
-
2863
- 2003-04-04 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2864
-
2865
- * src/rbgobj_object.c (gobject_class_new): implement the function
2866
- experimentaly.
2867
-
2868
- * src/rbgobj_object.c: abolish not_abstract_table and use
2869
- RGObjClassInfo's `flags' field.
2870
-
2871
- * src/rbgobj_boxed.c: abolish boxed_table and use RGObjClassInfo's
2872
- `flags' field.
2873
-
2874
- * src/rbgobject.c, src/rbgobject.h:
2875
- add `flags' field to RGObjClassInfo.
2876
-
2877
- * src/rbgobj_type.c (rbgobj_lookup_class_by_gtype): code cleanup
2878
-
2879
- 2003-03-21 Masao Mutoh <mutoh@highway.ne.jp>
2880
-
2881
- * src/rbgobj_object.c: Add GLib::Object.destroyed?
2882
-
2883
- 2003-03-19 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2884
-
2885
- * src/glib2.def: Add a file
2886
-
2887
- 2003-03-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2888
-
2889
- * src/rbglib_messages.c: change rbglib_log_handler_procs to static
2890
- variable.
2891
-
2892
- 2003-03-12 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2893
-
2894
- * src/rbglib_convert.c: implement
2895
- - uri = GLib.filename_to_uri(filename[, hostname])
2896
- - filename, hostname = GLib.filename_from_uri(uri)
2897
-
2898
- 2003-03-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2899
-
2900
- * src/rbgutil.h: #include rbglib.h for RUBY_GLIB2_VAR.
2901
-
2902
- * src/rbglib.h, rbgutil.h: define RUBY_GLIB2_VAR macro, and
2903
- use RUBY_GLIB2_VAR for defining 'exported' variables.
2904
-
2905
- * extconf.rb: append "-DRUBY_GLIB2_COMPILATION" to $defs.
2906
-
2907
- 2003-02-20 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2908
-
2909
- * extconf.rb: Check NODE_ATTRASGN only if try_compile is defined.
2910
-
2911
- 2003-02-17 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2912
-
2913
- * src/rbgobject.h: Add rbgobj_signal_wrap() declaration.
2914
-
2915
- * src/rbgobject.h, src/global.h: Move declaration of
2916
- rbgobj_define_property_accessors() from rbgobject.h to global.h
2917
-
2918
- * src/rbgobject.h: Remove rbgobj_define_signal_constants() declaration.
2919
- This function no longer exists.
2920
-
2921
- 2003-02-16 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2922
-
2923
- * extconf.rb, src/rbgutil.c:
2924
- Check whether NODE_ATTRASGN is used in ruby. If NODE_ATTRASGN is
2925
- used, G_DEF_SETTERS uses alias_method instead of generating wrapper
2926
- methods.
2927
- Patch from Nobuyoshi Nakada <nobu.nokada@softhome.net>
2928
-
2929
- * src/rbgobject.c (rbgobj_define_property_accessors): ditto
2930
-
2931
- 2003-02-15 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2932
-
2933
- * src/rbgobject.c: make id_relatives be static variable.
2934
-
2935
- 2003-02-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2936
-
2937
- * src/rbglib.c, src/rbgutil.[ch]: code cleanups
2938
-
2939
- * src/rbgobj_boxed.c: make some functions to be static.
2940
-
2941
- * src/rbgobj_boxed.c: implement GLib::Boxed#{copy,clone}
2942
- Suggested by KATO Kazuyoshi <kadu@zb.wakwak.com>
2943
-
2944
- 2003-02-13 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2945
-
2946
- * extconf.rb: follow changes of ../mkmf-gnome2.rb
2947
-
2948
- 2003-02-13 Masao Mutoh <mutoh@highway.ne.jp>
2949
-
2950
- * src/rbgobj_boxed.c: Don't free boxed object when it's not copied boxed object.
2951
- * src/rbglib.c: Call setlocale() in Init_glib2().
2952
-
2953
- 2003-02-12 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2954
-
2955
- * extconf.rb: use ../mkmf-gnome2.rb
2956
-
2957
- 2003-02-11 KUBO Takehiro <kubo@jiubao.org>
2958
-
2959
- * src/rbglib_convert.c: Add a file. Support string character set conversion.
2960
- * src/rbglib.c: Follow above changes.
2961
-
2962
- 2003-02-09 Masao Mutoh <mutoh@highway.ne.jp>
2963
-
2964
- * src/rbgobj_object.c, rbgobject.h: Add rbgobj_add_abstract_but_create_instance_class()
2965
- for the classes which can create instance itself but define as an abstract
2966
- class in GTK+-2.2. (e.g. GdkGC).
2967
-
2968
- 2003-02-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2969
-
2970
- * src/rbglib.[ch]: change CSTR2RVAL's body to be a new function
2971
- rbg_cstr2rval() to avoid unexprected side-effect of macro.
2972
-
2973
- 2003-02-03 Geoff Youngs <g@intersect-uk.co.uk>
2974
-
2975
- * src/rbglib.h: a check for NULL strings in the CSTR2RVAL macro so that
2976
- a NULL string translates to nil rather than raising an ArgumentError.
2977
-
2978
- 2003-02-02 Masao Mutoh <mutoh@highway.ne.jp>
2979
-
2980
- * src/*[ch], README: Update Copyright.
2981
-
2982
- 2003-01-31 Masao Mutoh <mutoh@highway.ne.jp>
2983
-
2984
- * src/rbgobj_boxed.c, rbgobject.h: Add rbgobj_boxed_not_copy_obj().
2985
- Some boxed object shouldn't copy when gpoint convert to VALUE.
2986
-
2987
- 2002-12-28 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
2988
-
2989
- * src/rbgobj_type.c (type_is_value_type): fix typo
2990
-
2991
- 2002-12-28 Masao Mutoh <mutoh@highway.ne.jp>
2992
-
2993
- * src/rbgobj_value.c rbgobj_gvalue_to_rvalue(), rbgobj_rvalue_to_gvalue():
2994
- Change behavior of G_TYPE_INTERFACE(same as G_TYPE_OBJECT).
2995
-
2996
- 2002-12-26 Masao Mutoh <mutoh@highway.ne.jp>
2997
-
2998
- * src/rbgobj_boxed.c, rbgobj_type.c, rbgobj_param.c, rbgobj_object.c:
2999
- Apply rb_define_alloc_func() of ruby-1.8.x.
3000
-
3001
- 2002-12-21 Masao Mutoh <mutoh@highway.ne.jp>
3002
-
3003
- * src/rbgutil.c: Check 2nd argument is hash.
3004
-
3005
- 2002-12-10 Masao Mutoh <mutoh@highway.ne.jp>
3006
-
3007
- * src/rbgutil.[ch]: Add G_SET_SYMBOL_PROPERTY(gtype, name).
3008
-
3009
- 2002-12-06 Masao Mutoh <mutoh@highway.ne.jp>
3010
-
3011
- * src/rbgobj_type.c: Add rb_cSymbol as G_TYPE_STRING.
3012
-
3013
- 2002-11-27 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3014
-
3015
- * rbgobj_closure.c (rclosure_marshal): check if return_value's type
3016
- is valid. Reported by Joshua Keith <joshuakeith@linuxmail.org>.
3017
-
3018
- 2002-11-24 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3019
-
3020
- * src/rbgutil.c: remove rbgutil_val2cstr().
3021
-
3022
- * src/rbglib.h: change StringValuePtr() definition to the same as
3023
- ruby-1.7. and change RVAL2CSTR() to use the StringValuePtr().
3024
-
3025
- 2002-11-23 Masao Mutoh <mutoh@highway.ne.jp>
3026
-
3027
- * src/rbgobj_value.c: rbgobj_rvalue_to_gvalue() support Symbol value
3028
- when G_TYPE_STRING is required.
3029
-
3030
- 2002-11-22 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3031
-
3032
- * src/rbgobj_object.c, src/rbgobj_signal.c: change
3033
- GLib::Instantiatable.signals and GLib::Object.properties to return
3034
- array of strings. (instead of array of specific objects)
3035
- * rbgobj_signal.c: disable some experimental code.
3036
-
3037
- 2002-11-20 Masao Mutoh <mutoh@highway.ne.jp>
3038
-
3039
- * src/rbgobject.c: Fix typos in error messages(GLib::GObject to GLib::Object).
3040
-
3041
- 2002-11-11 Masao Mutoh <mutoh@highway.ne.jp>
3042
-
3043
- * src/rbgobj_signal.c: BugFix of rbgobj_set/get_signal_func.
3044
-
3045
- 2002-11-10 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3046
-
3047
- * extconf.rb: stop appending '-g' to $CFLAGS.
3048
-
3049
- 2002-11-10 Masao Mutoh <mutoh@highway.ne.jp>
3050
-
3051
- * README: Add file.
3052
-
3053
- 2002-11-09 Masao Mutoh <mutoh@highway.ne.jp>
3054
-
3055
- * src/rbglib_message.c: add file(Sorry I forgot it....)
3056
-
3057
- 2002-11-08 Masao Mutoh <mutoh@highway.ne.jp>
3058
-
3059
- * src/rbglib_messages.c: add file(methods are moved from Ruby/GTK).
3060
- * src/rbgobj_signal.c, rbgobj_closure.c, rbgobj_object.c, rbgobject.h:
3061
- add G_DEF_SIGNAL_FUNC.
3062
-
3063
- 2002-11-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3064
-
3065
- * src/rbglib.c (G_DEF_SETTERS): don't override existent methods.
3066
-
3067
- 2002-11-02 KUBO Takehiro <kubo@jiubao.org>
3068
-
3069
- * src/rbgutil.c, src/rbgutil.h: re-implement rbgutil_raise_gerror as
3070
- macro and rename to RAISE_GERROR.
3071
- add a new function rbgutil_gerror2exception()
3072
-
3073
- 2002-11-01 Masao Mutoh <mutoh@highway.ne.jp>
3074
-
3075
- * src/rbgobject.c, rbgobj_type.c: Remove rbgobj_define_signal_constants().
3076
-
3077
- 2002-10-30 KUBO Takehiro <kubo@jiubao.org>
3078
-
3079
- * src/rbgutil.c, src/rbgutil.h: add rbgutil_raise_gerror().
3080
-
3081
- 2002-10-24 KUBO Takehiro <kubo@jiubao.org>
3082
-
3083
- * src/rbgobj_signal.c (GLib::Instantiatable#signal_conect,
3084
- #signal_connect_after): accept detailed signal.
3085
-
3086
- 2002-10-20 Masahro Sakai <sakai@tom.sfc.keio.ac.jp>
3087
-
3088
- * src/rbgobj_object.c: use canonical property name as hash key for the
3089
- hash for a special getter and setter of the property.
3090
-
3091
- 2002-10-18 Masahro Sakai <sakai@tom.sfc.keio.ac.jp>
3092
-
3093
- * src/rbgobj_closure.c, src/rbgobj_valuetypes.c: use Hash#delete
3094
- instead of assigning nil.
3095
-
3096
- 2002-10-17 KUBO Takehiro <kubo@jiubao.org>
3097
-
3098
- * rbgobj_object.c (gobj_set_property, gobj_get_property): fix a bug.
3099
-
3100
- 2002-10-14 Masahro Sakai <sakai@tom.sfc.keio.ac.jp>
3101
-
3102
- * src/rbgobj_object.c (GLib::Object.property): raise exception if the
3103
- property doesn't exist.
3104
- * src/rbgobj_param.c: rename GLib::ParamSpec to GLib::Param
3105
- * src/rbgobj_signal.c (GLib::Instantiatable#signal_conect): accept
3106
- symbol as signal name.
3107
- * src/rbgobj_signal.c: rename
3108
- GLib::Signal::Query to GLIb::Signal and
3109
- GLib::Object.signal_list to GLIb::Object.signals and
3110
- GLib::Object.signal_lookup to GLIb::Object.signal
3111
- * src/rbgobj_object.c: rename
3112
- GLib::Object.list_properties to GLIb::Object.properties and
3113
- GLib::Object.find_property to GLIb::Object.property
3114
-
3115
- 2002-10-13 Masahro Sakai <sakai@tom.sfc.keio.ac.jp>
3116
-
3117
- * src/rbgobj_valuetypes.c (rbgobj_ptr2cptr): check argument type
3118
- * src/rbgobj_valuetypes.c: don't register some transformation function
3119
- which may raise exception
3120
- * src/rbgobj_object.c: add rbgobj_register_property_getter() and
3121
- rbgobj_register_property_setter() for overwriting VALUE<=>GValue
3122
- converter for property.
3123
-
3124
- 2002-10-10 Masao Mutoh <mutoh@highway.ne.jp>
3125
-
3126
- * src/rbgutil.[ch], src/rbglib.c: add G_DEF_SETTERS macro.
3127
-
3128
- 2002-10-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3129
-
3130
- * src/rbgobj_value.c (rbgobj_gvalue_to_rvalue): return Qnil when the
3131
- type of GValue is G_TYPE_STRING and the content is NULL.
3132
-
3133
- 2002-10-05 KUBO Takehiro <kubo@jiubao.org>
3134
-
3135
- * src/rbgutil.h: add G_DEF_SETTER macro.
3136
-
3137
- 2002-10-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3138
-
3139
- * src/rbgobj_boxed: implement GLib::Boxed::gtype & GLib::Boxed#gtype
3140
-
3141
- 2002-10-02 Masao Mutoh <mutoh@highway.ne.jp>
3142
-
3143
- * src/rbgobj_type.c: Add _register_fundamental_gtype_to_klass()/
3144
- _register_fundamental_klass_to_gtype().
3145
-
3146
- 2002-10-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3147
-
3148
- * src/rbglib.h: define LONG2NUM and ULONG2NUM unless already defined.
3149
-
3150
- 2002-09-30 Masao Mutoh <mutoh@highway.ne.jp>
3151
-
3152
- * src/rbgutil.[ch]: File added.
3153
- * src/rbgobject.h, src/rbglib.[ch]: Support rbgutil.c.
3154
-
3155
- 2002-09-29 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3156
-
3157
- * src/rbgobj_param.c (inspect): change format: including value type and
3158
- owner type. excluding nick and blurb.
3159
- * src/rbgobj_param.c (get_nick, get_blurb): return nil if the string
3160
- is NULL.
3161
- * src/rbgobj_signal.c: introduce GLIb::Signal::Query to wrap
3162
- GSignalQuery.
3163
- * src/rbgobj_type.c: define GLib::Interface and include it to each
3164
- interface. This inclusion is intended to represent that interfaces
3165
- are subtypes of GLib::Inteface.
3166
- * src/rbgobj_object.c (gobj_s_find_property, gobj_set_property,
3167
- gobj_get_property): accept Symbol as property name.
3168
- * src/rbgobj_object.c: fix parameter number of GLib::Object.find_property
3169
-
3170
- 2002-09-29 Masao Mutoh <mutoh@highway.ne.jp>
3171
-
3172
- * src/rbgobj_closure.c, src/rbgobj_boxed.c, src/rbgobject.h:
3173
- Change RVAL2BOXED(obj) to RVAL2BOXED(obj, gtype).
3174
-
3175
- 2002-09-25 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3176
-
3177
- * src/rbgobj_closure.c (marker_remove): fix a bug which can cause
3178
- segmentation fault on following rb_gc_mark().
3179
-
3180
- 2002-09-24 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3181
-
3182
- * src/rbgobj_object.c: allow GLib::Object#freeze_notify to take block.
3183
- * src/rbgobj_param.c (rbgobj_get_value_from_param_spec): fixed
3184
- * src/rbgobj_param.c: implement GLib::ParamSpec#inspect
3185
- * src/rbgobj_object.c: implement GLib::Object.list_properties and
3186
- GLib::Object.find_property
3187
- * src/rbgobj_signal.c: implement signal_handler_is_connected?
3188
- * src/*.c: untabify
3189
- * src/rbgobj_boxed.c (boxed_free): don't call g_boxed_free() if not
3190
- initilized.
3191
- * src/rbgobj_closure.c: implement GLib::Closure
3192
-
3193
- 2002-09-23 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3194
-
3195
- * src/*.c: introduce GLib::Instantiatable as a common superclass of
3196
- GLib::Object and GLib::ParamSpec. GLib:Instantiatable corresponds to
3197
- GTypeInstance structure in C.
3198
- * src/*.c: arrange APIs
3199
- * src/rbgobject.c (rbgobj_define_signal_constants): stop calling
3200
- g_class_ref(). Now caller must ensure that the class is initialized.
3201
-
3202
- 2002-09-23 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3203
-
3204
- * src/*.c: introduce macro "RBGLIB_ENABLE_EXPERIMENTAL" to indicate
3205
- experimental API.
3206
- * src/rbgobj_signal.c: define constants
3207
- * src/rbgobj_signal.c (signal_emit, signal_emit_stop): handles detail
3208
- parameter.
3209
- * src/rbgobject.c (rbgobj_gobject_new): check actual parameter size.
3210
-
3211
- 2002-09-21 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3212
-
3213
- * src/rbgobject.c (rbgobj_define_property_accessors): when property
3214
- name begins with 'is_', remove 'is_' from getter/setter name.
3215
- * src/rbgobject.c (rbgobj_define_property_accessors): append '?' to
3216
- the name of getter method of gboolean valued property.
3217
-
3218
- 2002-09-21 KUBO Takehiro <kubo@jiubao.org>
3219
-
3220
- * src/rbgobj_object.c (gobj_set_property, gobj_get_property):
3221
- accept nil as an argument of val. raise more kindly exception when
3222
- property name was not found.
3223
-
3224
- 2002-09-18 KUBO Takehiro <kubo@jiubao.org>
3225
-
3226
- * src/rbgobject.c (rbgobj_gobject_new): fix size parameter of memset()
3227
- * src/rbgobj_value.c (rbgobj_rvalue_to_gvalue): don't use
3228
- g2r_func_table but r2g_func_table
3229
-
3230
- 2002-09-17 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3231
-
3232
- * src/rbgobject.c (rbgobj_define_property_accessors): optimize a bit
3233
- by accumulating source string and call module_eval at once.
3234
-
3235
- 2002-09-16 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3236
-
3237
- * src/rbgobject.c (rbgobj_define_property_accessors):
3238
- - Define not only 'hogehoge=' but alse 'set_hogehoge'
3239
- - Exclude properties which name is conflict with method of 'Object'
3240
- - Stop passing second and third argument of module_eval
3241
-
3242
- 2002-09-14 Masao Mutoh <mutoh@highway.ne.jp>
3243
-
3244
- * src/global.h, src/rbglib.h: Move StringValue, StringValuePtr
3245
- to src/rbglib.h(Because it'll be used by other Ruby-GNOME libraries).
3246
- Add RVAL2CSTR, CSTR2RVAL macro.
3247
-
3248
- 2002-09-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3249
-
3250
- * extconf.rb: Append -fnative-struct to $CFLAGS when G_OS_WIN32 is defined
3251
-
3252
- 2002-09-13 Masao Mutoh <mutoh@highway.ne.jp>
3253
-
3254
- * src/rbgobject.h, src/rbgobj_object.c: Rename RBGOBJ_INITIALIZE to G_INITIALIZE.
3255
- * src/rbgobject.h: Add G_RELATIVE, G_RELATIVE2, G_REMOVE_RELATIVE.
3256
-
3257
- 2002-09-13 Masao Mutoh <mutoh@highway.ne.jp>
3258
-
3259
- * src/rbobjmanager.[ch]: remove files.
3260
- * src/rbglib.[ch]: remove Init_objmanager().
3261
-
3262
- 2002-09-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3263
-
3264
- * src/rbgobj_signal.c: implement GLib::Object#signal_emit_by_name
3265
-
3266
- 2002-09-01 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3267
-
3268
- * src/rbgobj_signal.c: fix GLib::Object#signal_emit.
3269
- * src/rbgobj_signal.c: implement GLib::Object.signal_lookup and
3270
- GLib::Object.signal_list
3271
- * src/rbgobj_signal.c: implement GLib::Object.signal_new.
3272
- This is an experimental interface.
3273
- * src/rbgobj_value.c (rbgobj_gvalue_to_rvalue, rbgobj_rvalue_to_gvalue):
3274
- fix error messsage and use g_warning().
3275
- * src/utils_int64.c: use 0xffffffffL instead of G_MAXUINT
3276
- * src/utils_int64.c, src/global.h, src/rbgobj_paramspecs.c,
3277
- src/rbgobj_value.c: change prefix of int64 functions from 'rbgobj_' to
3278
- 'rbglib_'.
3279
- * src/*.[ch]: add 'indent-tabs-mode: nil' to header
3280
-
3281
- 2002-08-29 Masao Mutoh <mutoh@highway.ne.jp>
3282
-
3283
- * src/rbgobj_boxed.c: Add GLib::Boxed.new, GLib::Boxed#allocate.
3284
-
3285
- 2002-08-20 Masao Mutoh <mutoh@highway.ne.jp>
3286
-
3287
- * src/rbgobj_boxed.c: Add rbgobj_boxed_initialize(), rbgobj_boxed_create().
3288
- Modify rbgobj_boxed_get().
3289
-
3290
- * src/rbgobject.[ch]: Support Boxed type in rbgobj_create_object(),
3291
- rbgobj_initialize_object().
3292
-
3293
- 2002-08-20 Masahiro Sakai <s01397ms@sfc.keio.ac.jp>
3294
-
3295
- * src/utils_int64.c: rb_global_variable(&max_PRUint32)
3296
- * src/rbgobj_param.c: rename rbgobj_get_value_from_paramspec to
3297
- rbgobj_get_value_from_param_spec
3298
- * src/rbgobj_param.c (gobj_get_gtype): use rbgobj_param_spec_get_struct
3299
- instead of RVAL2GOBJ
3300
-
3301
- 2002-08-18 Masao Mutoh <mutoh@highway.ne.jp>
3302
-
3303
- * src/rbobjmanager.[ch]: Add file. Support RB_DEF_CLASS system.
3304
-
3305
- 2002-08-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3306
-
3307
- * extconf.rb: use $libs instead of $LDFLAGS
3308
- * src/rbglib.c: define GLib::VERSION, GLib::(MAJOR|MINOR|MICRO)_VERSION
3309
- * src/rbgobj_param.c: define GParamFlags constants
3310
- * src/rbgobj_value.c (rbgobj_register_r2g_func): change argument.
3311
- it now take GType as key instead of Ruby class.
3312
- * src/rbgobject.c (rbgobj_add_relative, rbgobj_add_relative_removable,
3313
- rbgobj_remove_relative): call rb_ivar_defined() before calling rb_ivar_get()
3314
- * rbgobj_valuetypes.c, rbgobj_value.c: improve G_TYPE_POINTER handling
3315
-
3316
- 2002-08-10 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3317
-
3318
- * src/rbgobject.[ch]: move id_relative_callbacks to gtk
3319
- * src/rbgobj_closure.c, src/rbgobj_object.c, src/rbgobj_signal.c:
3320
- use GVAL2RVAL
3321
- * src/rbgobj_valuetypes.c: add file. implement RBGOBJ_TYPE_RUBY_VALUE
3322
- to box Ruby object into GValue.
3323
- * src/rbgobj_type.c, src/rbgobj_value.c, src/rbgobj_valuetypes.c:
3324
- support G_TYPE_POINTER. This is a tentative implementation.
3325
- * src/global.h: move "extern void Init_hoge();" stuff to where these
3326
- functions are actually called.
3327
-
3328
- 2002-08-09 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3329
-
3330
- * src/utils_int64.c (LL_L2UI): cast argument to guint32
3331
- * src/utils_int64.c (RubyTo64BitInt): oops. convert max_PRUint32 to VALUE.
3332
- * src/utils_int64.c: optimize
3333
-
3334
- 2002-08-09 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3335
-
3336
- * src/rbgobject.c: use GQuark
3337
- * src/rbgobj_type.c: fix allocation problem in ruby-1.7
3338
- rb_obj_alloc() was used though GLib::Type#allocate wasn't implemented.
3339
- this problem is pointed out by Masao Mutoh <mutoh@highway.ne.jp>.
3340
- * src/rbgobj_object.c: rename GLib::GObject to GLib::Object
3341
- * src/utils_int64.c: add file. support gint64/guint64.
3342
- code is ripped from rbXPCOM-0.0.3.
3343
- <URL:http://www.ruby-lang.org/en/raa-list.rhtml?name=rbXPCOM>
3344
- Thanks to Kenichi Komiya <kom@mail1.accsnet.ne.jp>
3345
- * src/rbgobj_param.c (value_set_default): initialize GValue with {0,}.
3346
- * src/rbgobj_param.c (ParamSpec#value_type): returns GLib::Type
3347
- * src/rbgobj_param.c (ParamSpec#owner_type): ditto
3348
- * src/rbgobj_paramspecs.c: implement more functions
3349
- * src/rbgobj_boxed.c: use rbgobj_type.c for class managiment
3350
- * src/rbgobj_value.c: hardcode most converters.
3351
- Now table-lookup is used only for G_TYPE_POINTER and G_TYPE_BOXED.
3352
- * src/rbgobj_object.c, src/rbgobj_enum.c, src/rbgobj_param.c: ditto
3353
-
3354
- 2002-08-08 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3355
-
3356
- * src/rbgobj_type.c: more ruby-ish method naming.
3357
- ie: "hoge?" rather than "is_hoge"?
3358
- * src/rbgobj_type.c (rbgobj_lookup_class_by_gtype): enhancement for
3359
- G_TYPE_PARAM
3360
- * src/rbgobj_param.c, src/rbgobj_paramspec.c: rewrite for using above
3361
- enhancement.
3362
-
3363
- 2002-08-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3364
-
3365
- * src/rbgobject.c (rbgobj_gobject_new): take type argument as GType
3366
- instead of VALUE.
3367
- * src/rbgobject.c (rbgobj_gobject_new): allow nil for construct parameter
3368
- * src/rbgobj_object.c (is_gtkobject): add function
3369
- * src/rbgobj_object.c (GObject.allocate): check abstract class
3370
- * src/rbgobj_object.c (GObject#initialize): rewrite
3371
- * src/rbgobj_type.c (rbgobj_lookup_class): use independent hash instead
3372
- of instance variable. and abolish id_class_info.
3373
- * src/rbgobj_type.c (rbgobj_lookup_class): search ancestor classes.
3374
- * src/rbgobj_type.c: implement GLib::Type.
3375
-
3376
- 2002-08-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3377
-
3378
- * src/rbgobj_type.c: extend rbgobj_lookup_class_by_gtype() to deal
3379
- interfaces
3380
- * src/rbgobject.h: define macros: G_DEF_INTERFACE and G_DEF_INTERFACE2
3381
- * src/rbgobj_typeplugin.c: file added
3382
- * extconf.rb: use --msvc-syntax option for pkg-config if the compiler
3383
- is MSVC++.
3384
-
3385
- 2002-08-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3386
-
3387
- * src/rbgobject.h: remove declaration of id_class_info and id_delete
3388
- * src/rbgobject.h, src/rbgobj_object.c, src/rbgobj_signal.c:
3389
- remove global variable rbgobj_cGObject.
3390
-
3391
- 2002-08-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3392
-
3393
- * src/rbglib.[ch]: fix mGLib declaration and definition
3394
-
3395
- 2002-08-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3396
-
3397
- * src/rbgobj_type.c (rbgobj_lookup_class_by_gtype):
3398
- enable calling of rbgobj_define_property_accessors() and
3399
- rbgobj_define_signal_constants().
3400
-
3401
- 2002-08-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3402
-
3403
- * src/rbgobj_type.c: abolish rbgobj_register_class()
3404
- * src/rbgobj_type.c (rbgobj_lookup_class_by_gtype):
3405
- now this function create a new class on demand.
3406
- * src/rbgobj_type.c: abolish rbgobj_lookup_rbclass()
3407
- * src/rbgobject.c: fix typo
3408
- * src/rbgobject.c: add rbgobj_define_signal_constants()
3409
- which define constants for signal names.
3410
-
3411
- 2002-08-01 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3412
-
3413
- * src/rbgobj_object.c (_gobject_to_ruby): check NULL before calling
3414
- GOBJ2RVAL().
3415
- * src/rbgobj_signal.c (gobj_sig_connect): remove unused variable 'id'.
3416
- * src/rbgobj_signal.c (gobj_sig_connect_after): ditto
3417
- * src/rbgobj_object.c (gobj_smethod_added): fix bugs
3418
-
3419
- 2002-07-31 Masao Mutoh <mutoh@highway.ne.jp>
3420
-
3421
- * src/rbgobject.c: devide from rbgobj_objectc[ch].
3422
- * src/rbgobj_object.c, src/rbgobject.h: abolish rbgobj_force_get_gobject().
3423
- * src/rbgobject.h: add G_DEF_CLASS(), G_DEF_CLASS2(), GTYPE2CLASS().
3424
- * src/rbgobj_type.c: add rbgobj_define_class()
3425
-
3426
- 2002-07-31 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3427
-
3428
- * src/rbgobj_closure.c: use g_closure_add_invalidate_notifier()
3429
- instead of g_closure_add_finalize_notifier()
3430
- * src/rbgobj_closure.c: fix g_closure_add_invalidate_notifier()'s
3431
- argument order
3432
- * src/rbgobj_signal.c: GObject#signal_connect now accept extra argument
3433
- as Ruby/Gtk 1.
3434
- * src/rbgobj_signal.c: implement GObject#signal_connect_after
3435
-
3436
- 2002-07-28 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3437
-
3438
- * src/rbgobj_object.c (gobj_s_gobject_new): refine GtkObject-specific
3439
- stuff
3440
- * src/rbgobj_object.c: implement GObject#freeze_notify, GObject#notify,
3441
- GObject#thaw_notify
3442
- * src/rbgobj_object.c (gobj_inspect): use g_strdup_printf() instead of
3443
- ALLOCA_N() and sprintf()
3444
- * src/rbgobj_type.c (rbgobj_register_class): add some check
3445
- * src/*.c: replace rbgobj_get_value_from_gobject() with GOBJ2RVAL()
3446
- * src/*.c: replace rbgobj_get_gobject() with RVAL2GOBJ()
3447
- * src/rbgobj_object.c:
3448
- void rbgobj_define_property_acccessors(VALUE klass);
3449
- is added. This function defines accessor methods for properties.
3450
- * src/rbgobj_signal.c (gobj_sig_emit): call g_value_init()
3451
-
3452
- 2002-07-27 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3453
-
3454
- * src/rbgobj_object.c: abolish rbgobj_make_gobject_auto_type() and
3455
- rbgobj_make_gobject()
3456
- * src/rbgobj_boxed.c, src/rbgobj_enums.c, src/rbgobj_typemodule.c,
3457
- src/rbgobj_signal.c: created
3458
- * src/rbgobj_object.c: move signal stuff to src/rbgobj_signal.c
3459
-
3460
- 2002-07-27 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3461
-
3462
- * src/rbgobj_object.c: implement GObject.gobject_new experimentaly.
3463
- example:
3464
- w = GLib::GObject.gobject_new("GtkWindow", "title" => "Hello World")
3465
-
3466
- 2002-07-26 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
3467
-
3468
- * extconf.rb: check allocation framework
3469
- * src/rbgobj_object.c: introduce intermediate data structure (gobj_holder)
3470
- for managing not only GObject*, but also class_info and ruby object itself.
3471
- * src/rbgobj_object.c: abolish gobject_object_list_v and
3472
- gobject_object_list
3473
- * src/rbgobj_object.c: use gobject_weak_ref() to observe an explicit
3474
- disposition. (e.g. by gtk_object_destroy())
3475
- * src/rbgobj_object.c: implement GObject#set_property and
3476
- GObject#get_property
3477
- * src/rbgobj_paramspecs.c: created
3478
-
3479
- 2002-06-23 Masahiro Sakai <s01397ms@sfc.keio.ac.jp>
3480
-
3481
- * src/rbgobj_type.c (Init_gobject_gtype): call g_type_init().
3482
- * src/rbgobj_object.c, src/gclosure.c: zero-fill GValue before
3483
- using it.
3484
-
3485
- 2002-06-23 Masao Mutoh <mutoh@highway.ne.jp>
3486
-
3487
- * src/rbgobject.h: Fix parameter number of RBGOBJ_INITIALIZE().
3488
-
3489
- 2002-06-23 Masao Mutoh <mutoh@highway.ne.jp>
3490
-
3491
- * src/rbgobject.c: change rbgobj_set_gobject() to rbgobj_initialize_gobject().
3492
- * src/rbgobject.h: create RBGOBJ_INITIALIZE().
3493
-
3494
- 2002-06-22 Masahiro Sakai <s01397ms@sfc.keio.ac.jp>
3495
-
3496
- * src/rbgobject.h: create two macros; RVAL2GOBJ() and GOBJ2RVAL().
3497
- * src/rbgobject.h, rbgobj_object.c: make rbgobj_make_gobject() and
3498
- rbgobj_make_gobject_auto_type() be private.
3499
- * src/rbgobj_object.c: remove gobj_mark() and clear_gobject().
3500
- * src/rbglib.c: remove gError.
3501
-
3502
- 2002-06-20 Masahiro Sakai <s01397ms@sfc.keio.ac.jp>
3503
-
3504
- * src/rbgobj_object.c, src/rbgobj_type.c, src/rbgobject.h:
3505
- rename rbgobj_class_info to RGObjClassInfo.
3506
-
3507
- 2002-06-18 Masahiro Sakai <s01397ms@sfc.keio.ac.jp>
3508
-
3509
- * src/*.c: conform to Ruby/GNOME2 coding-style.
3510
-
3511
- 2002-06-18 Masahiro Sakai <s01397ms@sfc.keio.ac.jp>
3512
-
3513
- * extconf.rb: check whether package exists or not.