1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558
|
2005-03-06 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_threads.c, extconf.rb: Fix compiling problem on MSVC++.
2005-03-05 Masao Mutoh <mutoh@highway.ne.jp>
* sample/spawn.rb: Added.
* README: Revised.
2005-02-26 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.c, rbglib_threads.c: Added GLib::Threads.
* src/lib/pkg-config.rb: Added PKGConfig.cflags_only_I, .cflags_only_other.
* src/rbglib.h: Increment version information.
2005-02-26 KATO Kazuyoshi <kzys@8-p.info>
* src/rbgobj_type.c (rbgobj_lookup_class): Fixed a problem in Ruby 1.9.
[ruby-list:40518] [ruby-dev:23690]
2005-02-22 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/glib2.rb: Removed to call GLib::Log.cancel_handler.
2005-02-17 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/mkmf-gnome2.rb: Don't remove Makefile with 'nmake clean'.
2005-02-15 Masao Mutoh <mutoh@highway.ne.jp>
* README, COPYING.LIB: Replace "GNU LIBRARY GENERAL PUBLIC LICENSE"
to "GNU LESSER GENERAL PUBLIC LICENSE".
2005-02-09 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/glib2.rb: Fix the default error level.
2005-02-02 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_messages.c: Fix a compiling warning on Cygwin.
2005-02-01 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/mkmf-gnome2.rb: Change checking-rules order.
Added GTK_BASE_PATH environment variable option for Win32.
* src/rbglib.c, rbglib_convert.c, rbgutil.h, rbgobject.h:
Remove to include glib.h directly.
2005-01-31 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_messages.c: Fix segfault, and make it simple.
Now it doesn't raise Exception, because of bad influence to
other libs such as gnomeprint.
2005-01-30 Masao Mutoh <mutoh@highway.ne.jp>
* extconf.rb: Follow mkmf-gnome2.rb changes.
* src/lib/pkgconfig.rb: Separated from mkmf-gnome2.rb.
2005-01-28 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_message.c, rbglib_spawn.c, rbgobject.c, rbgobj_boxed.c,
rbgobj_closure.c,rbgobj_enums.c,rbgobj_object.c, rbgobj_type.c,
src/lib/mkmf-gnome2.rb: Support MS VC++.
* src/lib/mkmf-gnome2.rb: Added setup_win32, add_depend_package.
* src/glib.def: Added rbgobj_register_class.
2005-01-23 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/glib2.rb: Remove $KCODE="U". Reported by Dafydd Harries.
Added header information.
2005-01-09 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/glib2.rb: Improved error handling.
* src/rbglib_messages.c: ditto.
* src/rbgobj_strv.c: Added for GLib-2.4.x. Support GStrv as Array.
* src/rbgobject.c: Support GStrv.
2004-11-21 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_messages.c, src/lib/glib2.rb:
Rewrite code to C for stablity.
2004-11-14 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.h: Increment version information.
2004-11-03 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_messages.c: Works again for ruby-1.8.x.
Reported by Kohei Sutou.
2004-10-31 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_messages.c: Check the paratmeter is Block or not.
2004-10-22 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/glib2.rb: Added GLib.check_binding_version?
* src/rbglib_utils.c: GLib.check_version: Use static variables
instead of MACROS.
GLib.check_version -> GLib.check_version?.
* sample/utils.rb: ditto.
2004-10-20 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_convert.c: Implemented GLib::ConvertError.
2004-10-18 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/mkmf-gnome2.rb: Added PKGConfig.modversion, .check_version?.
PKGConfig#have_package accept major, minor micro version to check
the module version correctly.
Pointed out by Kouhei Sutou.
2004-10-17 Vincent Isambart <isambart@netcourrier.com>
* src/lib/mkmf-gnome2.rb: Renamed add_uniq_to_objs to add_obj.
2004-10-17 Vincent Isambart <isambart@netcourrier.com>
* src/lib/mkmf-gnome2.rb: Added the add_uniq_to_objs function.
2004-09-23 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/glib2.rb: Renamed GLib::Log.set_error_domain to
GLib::Log.set_log_domain.
2004-09-23 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/glib2.rb: Improved log handling.
Define GLib::ERROR_DOMAIN, GLib::Object::LOG_DOMAIN,
GLib::Thread::LOG_DOMAIN, GLib::Module::LOG_DOMAIN.
2004-09-21 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/glib2.rb: Add GLib::Log.set_error_domain for improvement
error handling.
2004-09-03 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/glib2.rb: Set $KCODE to "U".
2004-08-22 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_enums.c: makes rbgobj_define_const to a global function.
* src/rbglib_error.c: Fix bugs. Re-implement rbgerr_define_gerror.
2004-08-19 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_type.c: rbgobj_define_class() can define parent compulsorily.
* src/rbgobj_param.c, rbgobj_object.c, rbgobj_boxed.c: Follow above change.
* src/rbgerror.c, rbglib.h: Added. Replace rbgutil_gerror2exception.
* src/rbgutil.[ch]: Removed rbgutil_gerror2exception.
* src/rbgfileutils.c: Added for GLib::FileError.
* src/rbgutil.c: Improved RAISE_GERROR.
* src/rbglib.c, glib2.def: Follow these changes.
2004-08-15 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.h: Increment version number.
2004-08-07 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_spawn.c: Fix warnings.
* src/rbgobject.c: Fix a warning.
2004-08-04 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.h: Define GPid when GLib < 2.4.0.
2004-08-02 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_spawn.c: Change the parent of GLib::Spawn*Error to
StandardError from SystemCallError.
Added GLib::Spawn#async_with_pipes, #async, #sync.
Make uniform of the return values of GLib::Spawn#command_line_sync
to #sync.
2004-08-01 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.h, glib2.def: Export rbglib_spawn_error()
for Gdk::Screen#spawn_on_screen.
Increment version.
2004-07-31 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.c: setlocale parameter was changed.
LC_CTYPE and LC_MESSAGES are set not LC_ALL.
2004-07-24 Masao Mutoh <mutoh@highway.ne.jp>
* tests/test-glib2.rb: Removed ^M. Pointed out by Laurent Sansonetti.
* src/rbglib.c: Version informations use variables not macros.
Added GLib::INTERFACE_AGE, GLib::BINARY_AGE.
Pointed out by Jeremy Henty
2004-05-21 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.h. glib2.def: Fixed a problem with rbg_cstr2rval_with_free
reported by Joao Pedrosa.
2004-05-16 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobject.c (rbgobj_define_property_accessor): Supports
interface properties (Since 2.4).
* src/rbgobj_type.c (rbgobj_init_interface): ditto.
2004-05-15 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.[ch]: Add CSTR2RVAL2 which free given char* area.
2004-05-05 Laurent Sansonetti <lrz@gnome.org>
* src/rbglib_spawn.c: Fixed a memory overflow bug in the
spawn_error table.
2004-05-01 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_spawn.c: Fix an initial error on some platforms
to restrict errno to exist the environment.
Reported by Laurent Sansonetti.
2004-04-30 Masao Mutoh <mutoh@highway.ne.jp>
* sample/utils.rb: Add a sample.
* src/rbglib_utils.c: Add/Modify some methods.
* src/lib/glib2.rb: Fix a bug which GLib.__add_one_arg_setter(klass)
doen't work for module function and moved from src/rbgutil.c.
2004-04-30 Pascal Terjan <pterjan@linuxfr.org>
* src/rbglib_utils.c: Added.
* src/rbglib.c: Follow rbglib_utils.c added.
2004-04-27 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_type.c: Accept a ruby class when GType[...] is required.
* sample/type-register2.rb: Added.
* src/rbglib_spawn.c: Improve error classes.
Separate module from GLib to GLib::Spawn.
Add GLib::Spawn.close_pid.
2004-04-27 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* src/rbglib_spawn.c: Added.
* src/rbglib.c: Follow above changes.
2004-04-20 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_messages.c: Fix bugs, Add GLib::Log.log, set_fatal_mask,
set_always_fatal, some constants.
* src/lib/glib2.rb: Add GLib::Log.error, message, critical, warning.
2004-04-15 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_convert.c: Add GLib.utf8_validate.
* src/rbglib.c: Commented out Init_mem(), because of "cross-thread violation"
with Gst::Thread.
2004-03-24 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgutil.c: RAISE_GERROR() returns error messages in UTF-8.
2004-03-14 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.h: Increment version number.
2004-03-10 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_type.c: Fix a compilation error on MinGW.
2004-03-07 Masao Mutoh <mutoh@highway.ne.jp>
* sample/type-register.rb: Omit a parameter for type_register.
2004-03-06 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.h src/rbgobj_object.c src/rbgobj_paramspecs.c
src/rbgobj_signal.c src/rbgobj_type.c src/rbgobject.c
src/rbgobject.h src/rbgutil.c src/lib/mkmf-gnome2.rb: Update Copyright.
* src/lib/mkmf-gnome2.rb: Work under ruby-1.8.1 or later on Cygwin.
2004-03-05 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_object.c: Fix a memleak for GLib::Object#properties.
* src/rbgobj_signal.c: Fix a memleak for GLib::Object#signals.
2004-03-04 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgutil.c: Work under ruby-1.6.8.
The idea is from Sasada Koichi.
2004-03-02 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.h: Increment version number.
2004-02-24 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobject.c: Remove id, send from prop_exclude_list.
2004-02-23 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobject.h: Add G_DEF_CLASS3(). This is for real-gtype
but its foo_get_type() isn't public method such as GdkScreenX11.
* src/rbgobj_type.c: Add RGObjClassInfoDynamic and G_DEF_CLASS3().
* src/glib2.def: ditto.
2004-02-22 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobject.c: prop_exclude_list defined as a static hash.
2004-02-14 Vincent Isambart <isambart@netcourrier.com>
* src/lib/mkmf-gnome2.rb: replaced PLATFORM with RUBY_PLATFORM
2004-02-01 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_paramspecs.c: Fix a bug for GLib::Param::Flags.new.
2003-12-21 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_object.c: Fix a typo. Pointed out by Kazuhiro NISHIYAMA.
2003-12-21 Kenichi Komiya <kom@mail1.accsnet.ne.jp>
* src/rbgobj_object.c: Check when the first argument is nil or Hash.
2003-11-22 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.h: increment RBGLIB_MICRO_VERSION.
2003-11-15 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_enums.c: disable range checks.
* sample/type-register.rb: call GLib::Object#notify when a
property is updated.
* src/rbgobj_signal.c: remove GLib::MetaInterface#signal_override
and GLib::Instantiatable#signal_chain_from_overridden.
2003-11-10 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbglib.c: remove duplication of #include <locale.h>.
2003-11-10 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_enums.c, rbgobject.h: Add G_RENAME_NICK.
2003-11-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* sample/type-register.rb: remove Japanese comments.
* src/rbglib.h: increment RBGLIB_MINOR_VERSION.
* src/rbgobj_object.c: do not depend on C99, Thanks to Hiroshi
IGARASHI.
* src/rbgobj_object.c: remove unnecessary #endif, Thanks to Nobuyoshi
Nakada.
2003-11-05 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* sample/type-register.rb: add new file.
* rename test/test-glib2.rb to tests/test-glib2.rb.
* src/rbgobj_object.c: rename GLib::Object.register_type to
type_register and change its arguments.
* src/rbgobj_object.c, src/rbgobj_signal.c, src/global.h: enable
subtyping codes by default.
2003-10-29 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/global.h, src/rbgobj_object.c, src/rbgobj_signal.c: share a
module which serves to hook 'super'.
* src/rbgobj_signal.c: change prefix of default handler of signals
from 'do_' to 'signal_do_'.
* test/test-glib2.rb: new file.
2003-10-26 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c (get_prop_func, set_prop_func): replace '-' with
'_' from method name.
* src/rbgobj_object.c (get_prop_func, set_prop_func): do not call
#do_get_property and #do_set_property, but #foo and #foo=.
* src/rbgobj_signal.c (gobj_s_signal_new): change the arity of
GLib::Instantiatable#signal_new.
2003-10-24 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_signal.c (emit_body, chain_from_overridden_body):
remove G_SIGNAL_TYPE_STATIC_SCOPE flag from parameters and
return value.
2003-10-23 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_enum.c (rbgobj_get_enum, rbgobj_get_flags): check if the
argument GType is subtype of GEnum or GFlags.
* src/rbgobj_signal.c: new method
GLib::Instantiatable#signal_has_handler_pending?.
* src/rbgobj_signal.c (g_signal_handler_block,
gobj_sig_handler_unblock, gobj_sig_handler_disconnect):
use NUM2ULONG instead of NUM2INT.
2003-10-14 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_signal.c: Fix a segfault when GLib::Object#signal_emit
is called.
2003-10-08 Laurent Sansonetti <lrz@gnome.org>
* src/rbgobj_param.c: Removed a compilation warning in function
value_validate_ensure().
2003-10-05 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbglib.c: call g_mem_set_vtable() to make glib to use
ruby_xmalloc(), ruby_xrealloc(), ruby_xfree().
2003-09-26 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/lib/mkmf-gnome2.rb: append "-I$(sitearchdir)" to $CPPFLAGS not
$CFLAGS. and stop overriding create_makefile().
2003-09-23 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_signal.c (gobj_s_signal_new): use #instance_method,
UnboundMethod#bind and Method#call instead of #__send__.
* src/rbgobj_signal.c (gobj_s_method_added): check GType.
2003-09-22 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_signal.c (gobj_s_sig_override): check if the class is
registered.
* src/rbgobj_signal.c (gobj_s_method_added): when a method named
'do_<signal_name>' is defined then override default handler by the
method.
2003-09-20 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_type.c: override #append_features of interface modules to
prevent including them into classes which is not subclass of
GLib::Instantiatable.
2003-09-18 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_closure.c: implement GLib::Closure#invalidate.
* src/rbgobj_closure.c: don't invoke Proc objects after ruby is
terminated.
* src/rbgobj_signal.c: implement GLib::MetaInterface#signal_override
and GLib::Instantiatable#signal_chain_from_overridden experimentaly.
2003-09-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbglib.c: define GLib::BINDING_VERSION.
* src/lib/mkmf-gnome2.rb: use PKG_CONFIG environment variable.
2003-09-06 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/mkmf_gnome2.rb: Pass "-l$(sitearchdir)" at last of $CFLAGS.
2003-09-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c (register_type): if the super type is not defined
by ruby, then include a new module that defines #initialize.
* src/rbgobj_param.c (value_validate): use rb_ensure().
* src/rbgobj_param.c: disable GLib::Param#value_defaults? since the
name is bad.
2003-08-31 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_enum.c (enum_coerce): use NUM2INT not NUM2UINT.
* src/rbgobj_paramspecs.c: delete unnecessary StringValue invocation.
* src/rbgobj_paramspecs.c: use RVAL2GENUM and RVAL2GFLAGS.
2003-08-30 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/lib/glib2.rb: rescue LoadError and Win32::Registry::Error
separately.
* src/lib/glib2.rb: On mingw32 and mswin32 platform, require
'win32/registry' unconditionaly and rescue LoadError.
(proposed by TAMURA.KENICHI <sgs02516@nifty.com>)
* src/rbgobj_enums.c: fixed rgbobj_get_enum - a VALUE was not
converted to int before calling rbgobj_make_enum.
(reported by Geoff Youngs <g@intersect-uk.co.uk>)
2003-08-29 Vincent Isambart <isambart@netcourrier.com>
* src/rbgobj_enums.c: fixed rgbobj_get_flags - a VALUE was not
converted to unsigned int before calling rbgobj_make_flags.
2003-08-28 Masao Mutoh <mutoh@highway.ne.jp>
* extconf.rb: Exit with 1 when the package is not found.
2003-08-25 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobject.h: new macros RVAL2GENUM(), RVAL2GFLAGS(),
GENUM2RVAL() and GFLAGS2RVAL().
* src/rbgobj_signal.c: new exception class GLib::NoSignalError.
* src/rbgobj_object.c: new exception class GLib::NoPropertyError.
* src/lib/glib2.rb: append Dropline GTK2-Runtime DLL path into PATH
environmental variable. (proposed by TAMURA.KENICHI <sgs02516@nifty.com>)
* src/rbgobj_object.c: remove GLib::Object#property.
* src/rbgobj_enums.c (rbgobj_get_enum, rbgobj_get_flags):
create temporary enum/flags object if the argument is an integer.
this is to check if the integer is in the values avalable in the type.
(proposed by Vincent Isambart <vincent.isambart@laposte.net>
* src/rbgobject.c (rbgobj_initialize_object): raise RuntimeError
if the argument is NULL. (proposed by Vincent Isambart
<vincent.isambart@laposte.net>)
2003-08-21 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_boxed.c: define GLib::Boxed#initialize which simply raise
TypeError.
* src/rbglib2.rb: fix format of GLib::Flags#inspect.
* src/glib2.def, src/global.h, src/rbgobj_enums.c, src/rbgobj_type.c,
src/rbgobj_value.c, src/rbgobject.h, src/lib/glib2.rb: new classes
GLib::Enum and GLib::Flags.
2003-08-17 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/lib/glib2.rb: add new file.
* src/lib/mkmf-gnome2.rb (PKGConfig.have_package): don't use
Array#quote. Because mkmf.rb of ruby-1.6 doesn't provide this method.
2003-08-16 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobject.h, src/rbgobj_type.c, let rbgobj_define_class() to
take `const gchar*', not `gchar*'.
2003-08-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/lib/mkmf-gnome2.rb (PKGConfig.have_package): append linker
flags other than -l and -L into $LDFLAGS.
2003-08-09 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_signal.c (gobj_sig_emit): fix to setup arg.self.
2003-08-09 Masao Mutoh <mutoh@highway.ne.jp>
* src/depend: use old style
* src/glib2.def: Add rbgobj_constant_remap.
2003-08-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_valuetypes.c: use GHashTable instead of Ruby's Hash
for reference counting. Using Ruby's Hash may cause segmentaion fault
when ruby exits.
* src/rbgobj_closure.c: use GHashTable instead of Ruby's Hash
for the same reason as src/rbgobj_valuetypes.c.
* src/rbgobject.c (rbgobj_gobject_initialize): don't warn if the
instance type is a subtype of the class type.
2003-08-03 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_valuetypes.c: Fix error for gcc 2.95.4.
Reported by Hiroshi Igarashi.
2003-08-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/lib/mkmf-gnome2.rb (PKGConfig.have_package): use --libs-only-l
and --libs-only-L instead of --libs.
2003-08-02 Masao Mutoh <mutoh@highway.ne.jp>
* src/lib/mkmf-gnome2.rb: fix for other libraries can't compile
in other directories.
2003-08-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c (gobj_s_properties),
src/rbgobj_signal.c (gobj_s_signals): recurse by default.
2003-08-01 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_type.c: don't free RGObjClassInfo structure.
2003-07-28 Geoff Youngs <g@intersect-uk.co.uk>
* src/rbgobj_enums.c: add rbgobj_constant_* to allow renaming
invalid constants.
* src/rbgobject.h: add G_RENAME_CONSTANT
2003-07-26 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_closure.c (rclosure_marshal): don't stop jumps.
This is a temporary solution for the Ruby-GNOME2 0.6 release.
2003-07-22 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.h: add CBOOL2RVAL, RVAL2CBOOL.
* src/lib/mkmf-gnome2.rb: Change include orders.
2003-07-21 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_enums.c (rbgobj_flags_add_constants): use UINT2NUM()
instaed of INT2NUM().
* src/rbgobj_object.c (gobj_smethod_added): use
rbgobj_get_signal_func().
* src/rbgobj_signal.c (gobj_s_signal_new): fix to treat accumulator
correctly.
* src/rbgobj_type.c: implement GLib::Type#<=>.
* src/rbgobj_type.c: change superclass of GLib::Boxed from Data to
Object.
* src/global.h, rbgutil.c: add new functions generic_s_new(),
generic_s_gtype() and generic_gtype().
* rbgobj_boxed.c, rbgobj_type.c: use generic_s_new(),
generic_s_gtype() and generic_gtype().
2003-07-21 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_closure.c: enhance warning message of rclosure_marshal()
which is used in GLib::Instantiatable#signal_connect().
2003-07-20 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_signal.c, src/rbgobj_type.c, src/global.h: enable
rbgobj_define_action_methods() by default.
This function defines methods that emit action signals.
Action signals are signals that may freely be emitted on alive
objects from user code via g_signal_emit() and friends, without
the need of being embedded into extra code that performs pre or
post emission adjustments on the object. They can also be thought
of as by third-party code generically callable object methods.
* src/rbgobject.h, src/rbgobj_enum.c, src/glib2.def: add new function
rbgobj_add_constants() and new macro G_DEF_CONSTANTS().
2003-07-18 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_signal.c (signal_add_emission_hook): fix to treat `detail'
argument correctly.
2003-07-17 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_closure.c (rclosure_marshal): use rb_protect().
* src/rbgobj_valuetypes.c (value_transform_ruby_any): use rb_protect().
* src/rbgobject.c (rbgobj_gobject_new): use rb_ensure().
* src/rbgobj_signal.c (gobj_sig_emit): use rb_ensure().
* src/rbgobj_object.c (gobj_set_property):
call rbgobj_rvalue_to_gvalue() even if the argument is nil.
* src/rbgobj_signal.c: remove Dispatch Closure stuff.
use g_rclosure_new() instead.
* src/rbgobj_value.c (rbgobj_rvalue_to_gvalue): call #to_s only for
Symbol->G_TYPE_STEING conversion.
* src/rbgobject.c (rbgobj_gobject_initialize): check if the argument
has expected GType.
* src/rbgobject.c (rbgobj_get_gobject): raise TypeError instead of
ArgumentError.
2003-07-16 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_boxed.c (boxed_to_ruby): convert NULL to nil.
* src/rbgobj_object.c (register_type): change error message:
"parent class" to "super class".
* src/rbgobj_param.c: remove Param#default=.
rename Param#defaults to Param#value_defaults?.
rename Paramcompare to Param#value_compare.
implement Param#value_validate, #value_convert,
(value_defaults) initialize tmp.
* src/rbgobj_paramspecs.c: remove *#default and *#default_value.
* src/rbgobj_type.c:
(get_superclass): change to static function.
(GLib::Type#initialize): check if the given integer is valid GType
by using g_type_name().
(GLib::Type#==, #<, #>, #<=, #>=): return nil when uncomparable.
2003-07-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/depend: use $(srcdir) to allow building in different directories.
* src/rbgobj_param.c (inspect): change inspect format.
* src/rbgobj_param.c: new methods:
GLib::Param#owner, GLib::Param#readable?,
GLib::Param#writable?, GLib::Param#construct?,
GLib::Param#construct_only?, GLib::Param#lax_validation?,
GLib::Param#private?, GLib::Param#readwrite?
* src/rbgobj_paramspec.c: new methods:
GLib::Param::Char#range, GLib::Param::UChar#range,
GLib::Param::Int#range, GLib::Param::UInt#range,
GLib::Param::Long#range, GLib::Param::ULong#range,
GLib::Param::Int64#range, GLib::Param::UInt64#range,
GLib::Param::Float#range, GLib::Param::Double#range
* src/rbgobj_boxed.c: implement GLib::Boxed#inspect and
GLib::Boxed#initialize_copy.
(boxed_from_ruby): accept nil and set NULL.
* src/rbgobj_signal.c: implement GLib::Signal#inspect and
GLib::Signal#owner.
(to_signal_id, to_gquark): removed.
(gobj_s_signal_new, gobj_s_signal, gobj_sig_emit, gobj_sig_emit_stop):
accept Symbol.
(query_signal_id, query_signal_name, query_itype, query_return_type,
query_signal_flags, query_param_types): fix argument declaration.
* src/rbgobj_valuetypes.c: implement GLib::Pointer#inspect,
GLib::Pointer#==, GLib::Pointer#eql? and GLib::Pointer#hash.
2003-07-13 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_value.c, rbgobj_type.c:
Accept rb_cObject as RBGOBJ_TYPE_RUBY_VALUE not G_TYPE_POINTER.
2003-07-10 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_value.c, rbgobj_value_types.c, rbgobj_type.c:
Accept rb_cObject as G_TYPE_POINTER.
2003-06-26 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgutil.h: Define G_BLOCK_PROC for ruby-1.8.x.
* src/*c: Use G_BLOCK_PROC instead of rb_f_lambda().
* src/lib/mkmf-gnome2.rb: Check rb_block_proc().
2003-06-23 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.c: Add GLib::PRIORITY_*.
2003-06-22 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib.c: Call setlocale(LC_NUMERIC, "C") for some locales
which doesn't use "." as decimal-point.
Pointed out by Joao Pedrosa.
2003-05-27 Geoff Youngs <g@intersect-uk.co.uk>
* rbgobject.c - altered rbgobj_instance_from_ruby_object()
and rbgobj_ruby_object_from_instance() to
convert between NULL and nil automatically
2003-05-27 Masao Mutoh <mutoh@highway.ne.jp>
* src/depend: Add a file.
* src/lib/mkmf-gnome2.rb: Add a file(Move from ../).
* extconf.rb: Follow above changes.
2003-05-21 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgutil.c: klass.instance_methods to klass.instance_methods(false)
for ruby-1.8.x.
* src/rbgobject.h, rbgobj_type.c: Remove rbgobj_exist_class().
Use rb_const_define_at() instead. Pointed out by Masahiro Sakai.
2003-05-19 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_type.c, rbgobject.h: Add rbgobj_exist_class().
2003-04-13 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_type.c: fix so that GLib::Type#to_class can treat
GEnum's descendants.
* src/rbgobj_object.c: enable GLib::Object.new! by default
* src/rbgobj_object.c (gobj_s_install_property): modify error message.
* src/rbgobj_signal.c (gobj_s_signal_new): check if the class has a
registerd type.
* src/rbgobj_signal.c: implement GLib::Signal#{run_first?, run_last?,
run_cleanup?, no_recurse?, detailed?, action?, no_hooks?}
2003-04-12 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c (GLib::Object.new!): check if the class has a
registered type.
* src/rbgobj_object.c: implement GLib::Object.install_property
* src/rbgobj_object.c: improve type registeration system.
* src/rbgobj_paramspecs.c: fix to use appropriate GType.
* src/rbgobj_type.c, src/rbgobject.h: Add a new function
rbgobj_register_class() and rewring
_register_fundamental_klass_to_gtype() and
_register_fundamental_gtype_to_klass() with it.
2003-04-08 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_type.c: fix typo. ( interfaced? => interface? )
* src/rbgobj_type.c: implement GLib::Type#<, GLib::Type#>,
GLib::Type#<= and GLib::Type#>=.
* src/rbgobj_signal.c: Extend GLib::Instantiatable#signal_handler_block
to take a block.
* src/rbgobj_signal.c (gobj_s_signals): Fix memory leak.
* src/rbgobj_object.c: Use RVAL2GTYPE().
* src/rbgobj_type.c (interface_get_gtype): Use CLASS2GTYPE().
* src/rbgobject.c (rbgobj_define_property_accessors): ditto
2003-04-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_signal.c: Implement a new function
rbgobj_define_action_methods() experimentaly.
This function defines methods that emit action signals.
Action signals are signals that may freely be emitted on alive
objects from user code via g_signal_emit() and friends, without
the need of being embedded into extra code that performs pre or
post emission adjustments on the object. They can also be thought
of as by third-party code generically callable object methods.
* src/rbgobj_signal.c: Extend GLib::Object.signals to
GLib::Object.signals([inherited_too])
* src/rbgobj_object.c: Extend GLib::Object.properties to
GLib::Object.properties([inherited_too])
* src/global.h, src/rbgobj_signal.c, rbgobj_type.c:
gsub(/mInterfaceCommons/, 'mMetaInterface') and define
GLib::MetaInterface.
* src/rbgobj_paramspecs.c (GLib::Param::String#default_value):
use rbg_cstr2rval() instead of rb_str_new2(). Because we need to
allow NULL.
* src/rbgobj_type.c: simplify the format of GLib::Type#inspect
2003-04-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_signal.c: rename signal_emit_by_name and
signal_emit_stop_by_name to signal_emit and signal_emit_stop
respectively.
* src/rbgobj_signal.c: remove Signal#signal_id, Signal#signal_name,
Signal#signal_flags.
2003-04-05 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* extconf.rb: add --enable-experimental option
* src/rbgobj_signal.c (gobj_s_signal_new): implement accumulator stuff.
* src/rbgobj_signal.c: code cleanup
* src/rbgobj_signal.c: use signal_id as a key of signal_func_table.
* src/rbgobj_signal.c: change rbgobj_get_signal_func() to static
function.
* src/rbgobj_signal.c: implement Signal#add_emission_hook and
Signal#remove_emission_hook
2003-04-04 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c (gobject_class_new): implement the function
experimentaly.
* src/rbgobj_object.c: abolish not_abstract_table and use
RGObjClassInfo's `flags' field.
* src/rbgobj_boxed.c: abolish boxed_table and use RGObjClassInfo's
`flags' field.
* src/rbgobject.c, src/rbgobject.h:
add `flags' field to RGObjClassInfo.
* src/rbgobj_type.c (rbgobj_lookup_class_by_gtype): code cleanup
2003-03-21 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_object.c: Add GLib::Object.destroyed?
2003-03-19 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/glib2.def: Add a file
2003-03-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbglib_messages.c: change rbglib_log_handler_procs to static
variable.
2003-03-12 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbglib_convert.c: implement
- uri = GLib.filename_to_uri(filename[, hostname])
- filename, hostname = GLib.filename_from_uri(uri)
2003-03-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgutil.h: #include rbglib.h for RUBY_GLIB2_VAR.
* src/rbglib.h, rbgutil.h: define RUBY_GLIB2_VAR macro, and
use RUBY_GLIB2_VAR for defining 'exported' variables.
* extconf.rb: append "-DRUBY_GLIB2_COMPILATION" to $defs.
2003-02-20 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* extconf.rb: Check NODE_ATTRASGN only if try_compile is defined.
2003-02-17 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobject.h: Add rbgobj_signal_wrap() declaration.
* src/rbgobject.h, src/global.h: Move declaration of
rbgobj_define_property_accessors() from rbgobject.h to global.h
* src/rbgobject.h: Remove rbgobj_define_signal_constants() declaration.
This function no longer exists.
2003-02-16 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* extconf.rb, src/rbgutil.c:
Check whether NODE_ATTRASGN is used in ruby. If NODE_ATTRASGN is
used, G_DEF_SETTERS uses alias_method instead of generating wrapper
methods.
Patch from Nobuyoshi Nakada <nobu.nokada@softhome.net>
* src/rbgobject.c (rbgobj_define_property_accessors): ditto
2003-02-15 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobject.c: make id_relatives be static variable.
2003-02-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbglib.c, src/rbgutil.[ch]: code cleanups
* src/rbgobj_boxed.c: make some functions to be static.
* src/rbgobj_boxed.c: implement GLib::Boxed#{copy,clone}
Suggested by KATO Kazuyoshi <kadu@zb.wakwak.com>
2003-02-13 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* extconf.rb: follow changes of ../mkmf-gnome2.rb
2003-02-13 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_boxed.c: Don't free boxed object when it's not copied boxed object.
* src/rbglib.c: Call setlocale() in Init_glib2().
2003-02-12 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* extconf.rb: use ../mkmf-gnome2.rb
2003-02-11 KUBO Takehiro <kubo@jiubao.org>
* src/rbglib_convert.c: Add a file. Support string character set conversion.
* src/rbglib.c: Follow above changes.
2003-02-09 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_object.c, rbgobject.h: Add rbgobj_add_abstract_but_create_instance_class()
for the classes which can create instance itself but define as an abstract
class in GTK+-2.2. (e.g. GdkGC).
2003-02-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbglib.[ch]: change CSTR2RVAL's body to be a new function
rbg_cstr2rval() to avoid unexprected side-effect of macro.
2003-02-03 Geoff Youngs <g@intersect-uk.co.uk>
* src/rbglib.h: a check for NULL strings in the CSTR2RVAL macro so that
a NULL string translates to nil rather than raising an ArgumentError.
2003-02-02 Masao Mutoh <mutoh@highway.ne.jp>
* src/*[ch], README: Update Copyright.
2003-01-31 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_boxed.c, rbgobject.h: Add rbgobj_boxed_not_copy_obj().
Some boxed object shouldn't copy when gpoint convert to VALUE.
2002-12-28 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_type.c (type_is_value_type): fix typo
2002-12-28 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_value.c rbgobj_gvalue_to_rvalue(), rbgobj_rvalue_to_gvalue():
Change behavior of G_TYPE_INTERFACE(same as G_TYPE_OBJECT).
2002-12-26 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_boxed.c, rbgobj_type.c, rbgobj_param.c, rbgobj_object.c:
Apply rb_define_alloc_func() of ruby-1.8.x.
2002-12-21 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgutil.c: Check 2nd argument is hash.
2002-12-10 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgutil.[ch]: Add G_SET_SYMBOL_PROPERTY(gtype, name).
2002-12-06 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_type.c: Add rb_cSymbol as G_TYPE_STRING.
2002-11-27 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* rbgobj_closure.c (rclosure_marshal): check if return_value's type
is valid. Reported by Joshua Keith <joshuakeith@linuxmail.org>.
2002-11-24 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgutil.c: remove rbgutil_val2cstr().
* src/rbglib.h: change StringValuePtr() definition to the same as
ruby-1.7. and change RVAL2CSTR() to use the StringValuePtr().
2002-11-23 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_value.c: rbgobj_rvalue_to_gvalue() support Symbol value
when G_TYPE_STRING is required.
2002-11-22 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c, src/rbgobj_signal.c: change
GLib::Instantiatable.signals and GLib::Object.properties to return
array of strings. (instead of array of specific objects)
* rbgobj_signal.c: disable some experimental code.
2002-11-20 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobject.c: Fix typos in error messages(GLib::GObject to GLib::Object).
2002-11-11 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_signal.c: BugFix of rbgobj_set/get_signal_func.
2002-11-10 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* extconf.rb: stop appending '-g' to $CFLAGS.
2002-11-10 Masao Mutoh <mutoh@highway.ne.jp>
* README: Add file.
2002-11-09 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_message.c: add file(Sorry I forgot it....)
2002-11-08 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbglib_messages.c: add file(methods are moved from Ruby/GTK).
* src/rbgobj_signal.c, rbgobj_closure.c, rbgobj_object.c, rbgobject.h:
add G_DEF_SIGNAL_FUNC.
2002-11-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbglib.c (G_DEF_SETTERS): don't override existent methods.
2002-11-02 KUBO Takehiro <kubo@jiubao.org>
* src/rbgutil.c, src/rbgutil.h: re-implement rbgutil_raise_gerror as
macro and rename to RAISE_GERROR.
add a new function rbgutil_gerror2exception()
2002-11-01 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobject.c, rbgobj_type.c: Remove rbgobj_define_signal_constants().
2002-10-30 KUBO Takehiro <kubo@jiubao.org>
* src/rbgutil.c, src/rbgutil.h: add rbgutil_raise_gerror().
2002-10-24 KUBO Takehiro <kubo@jiubao.org>
* src/rbgobj_signal.c (GLib::Instantiatable#signal_conect,
#signal_connect_after): accept detailed signal.
2002-10-20 Masahro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c: use canonical property name as hash key for the
hash for a special getter and setter of the property.
2002-10-18 Masahro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_closure.c, src/rbgobj_valuetypes.c: use Hash#delete
instead of assigning nil.
2002-10-17 KUBO Takehiro <kubo@jiubao.org>
* rbgobj_object.c (gobj_set_property, gobj_get_property): fix a bug.
2002-10-14 Masahro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c (GLib::Object.property): raise exception if the
property doesn't exist.
* src/rbgobj_param.c: rename GLib::ParamSpec to GLib::Param
* src/rbgobj_signal.c (GLib::Instantiatable#signal_conect): accept
symbol as signal name.
* src/rbgobj_signal.c: rename
GLib::Signal::Query to GLIb::Signal and
GLib::Object.signal_list to GLIb::Object.signals and
GLib::Object.signal_lookup to GLIb::Object.signal
* src/rbgobj_object.c: rename
GLib::Object.list_properties to GLIb::Object.properties and
GLib::Object.find_property to GLIb::Object.property
2002-10-13 Masahro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_valuetypes.c (rbgobj_ptr2cptr): check argument type
* src/rbgobj_valuetypes.c: don't register some transformation function
which may raise exception
* src/rbgobj_object.c: add rbgobj_register_property_getter() and
rbgobj_register_property_setter() for overwriting VALUE<=>GValue
converter for property.
2002-10-10 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgutil.[ch], src/rbglib.c: add G_DEF_SETTERS macro.
2002-10-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_value.c (rbgobj_gvalue_to_rvalue): return Qnil when the
type of GValue is G_TYPE_STRING and the content is NULL.
2002-10-05 KUBO Takehiro <kubo@jiubao.org>
* src/rbgutil.h: add G_DEF_SETTER macro.
2002-10-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_boxed: implement GLib::Boxed::gtype & GLib::Boxed#gtype
2002-10-02 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_type.c: Add _register_fundamental_gtype_to_klass()/
_register_fundamental_klass_to_gtype().
2002-10-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbglib.h: define LONG2NUM and ULONG2NUM unless already defined.
2002-09-30 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgutil.[ch]: File added.
* src/rbgobject.h, src/rbglib.[ch]: Support rbgutil.c.
2002-09-29 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_param.c (inspect): change format: including value type and
owner type. excluding nick and blurb.
* src/rbgobj_param.c (get_nick, get_blurb): return nil if the string
is NULL.
* src/rbgobj_signal.c: introduce GLIb::Signal::Query to wrap
GSignalQuery.
* src/rbgobj_type.c: define GLib::Interface and include it to each
interface. This inclusion is intended to represent that interfaces
are subtypes of GLib::Inteface.
* src/rbgobj_object.c (gobj_s_find_property, gobj_set_property,
gobj_get_property): accept Symbol as property name.
* src/rbgobj_object.c: fix parameter number of GLib::Object.find_property
2002-09-29 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_closure.c, src/rbgobj_boxed.c, src/rbgobject.h:
Change RVAL2BOXED(obj) to RVAL2BOXED(obj, gtype).
2002-09-25 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_closure.c (marker_remove): fix a bug which can cause
segmentation fault on following rb_gc_mark().
2002-09-24 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c: allow GLib::Object#freeze_notify to take block.
* src/rbgobj_param.c (rbgobj_get_value_from_param_spec): fixed
* src/rbgobj_param.c: implement GLib::ParamSpec#inspect
* src/rbgobj_object.c: implement GLib::Object.list_properties and
GLib::Object.find_property
* src/rbgobj_signal.c: implement signal_handler_is_connected?
* src/*.c: untabify
* src/rbgobj_boxed.c (boxed_free): don't call g_boxed_free() if not
initilized.
* src/rbgobj_closure.c: implement GLib::Closure
2002-09-23 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/*.c: introduce GLib::Instantiatable as a common superclass of
GLib::Object and GLib::ParamSpec. GLib:Instantiatable corresponds to
GTypeInstance structure in C.
* src/*.c: arrange APIs
* src/rbgobject.c (rbgobj_define_signal_constants): stop calling
g_class_ref(). Now caller must ensure that the class is initialized.
2002-09-23 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/*.c: introduce macro "RBGLIB_ENABLE_EXPERIMENTAL" to indicate
experimental API.
* src/rbgobj_signal.c: define constants
* src/rbgobj_signal.c (signal_emit, signal_emit_stop): handles detail
parameter.
* src/rbgobject.c (rbgobj_gobject_new): check actual parameter size.
2002-09-21 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobject.c (rbgobj_define_property_accessors): when property
name begins with 'is_', remove 'is_' from getter/setter name.
* src/rbgobject.c (rbgobj_define_property_accessors): append '?' to
the name of getter method of gboolean valued property.
2002-09-21 KUBO Takehiro <kubo@jiubao.org>
* src/rbgobj_object.c (gobj_set_property, gobj_get_property):
accept nil as an argument of val. raise more kindly exception when
property name was not found.
2002-09-18 KUBO Takehiro <kubo@jiubao.org>
* src/rbgobject.c (rbgobj_gobject_new): fix size parameter of memset()
* src/rbgobj_value.c (rbgobj_rvalue_to_gvalue): don't use
g2r_func_table but r2g_func_table
2002-09-17 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobject.c (rbgobj_define_property_accessors): optimize a bit
by accumulating source string and call module_eval at once.
2002-09-16 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobject.c (rbgobj_define_property_accessors):
- Define not only 'hogehoge=' but alse 'set_hogehoge'
- Exclude properties which name is conflict with method of 'Object'
- Stop passing second and third argument of module_eval
2002-09-14 Masao Mutoh <mutoh@highway.ne.jp>
* src/global.h, src/rbglib.h: Move StringValue, StringValuePtr
to src/rbglib.h(Because it'll be used by other Ruby-GNOME libraries).
Add RVAL2CSTR, CSTR2RVAL macro.
2002-09-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* extconf.rb: Append -fnative-struct to $CFLAGS when G_OS_WIN32 is defined
2002-09-13 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobject.h, src/rbgobj_object.c: Rename RBGOBJ_INITIALIZE to G_INITIALIZE.
* src/rbgobject.h: Add G_RELATIVE, G_RELATIVE2, G_REMOVE_RELATIVE.
2002-09-13 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbobjmanager.[ch]: remove files.
* src/rbglib.[ch]: remove Init_objmanager().
2002-09-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_signal.c: implement GLib::Object#signal_emit_by_name
2002-09-01 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_signal.c: fix GLib::Object#signal_emit.
* src/rbgobj_signal.c: implement GLib::Object.signal_lookup and
GLib::Object.signal_list
* src/rbgobj_signal.c: implement GLib::Object.signal_new.
This is an experimental interface.
* src/rbgobj_value.c (rbgobj_gvalue_to_rvalue, rbgobj_rvalue_to_gvalue):
fix error messsage and use g_warning().
* src/utils_int64.c: use 0xffffffffL instead of G_MAXUINT
* src/utils_int64.c, src/global.h, src/rbgobj_paramspecs.c,
src/rbgobj_value.c: change prefix of int64 functions from 'rbgobj_' to
'rbglib_'.
* src/*.[ch]: add 'indent-tabs-mode: nil' to header
2002-08-29 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_boxed.c: Add GLib::Boxed.new, GLib::Boxed#allocate.
2002-08-20 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobj_boxed.c: Add rbgobj_boxed_initialize(), rbgobj_boxed_create().
Modify rbgobj_boxed_get().
* src/rbgobject.[ch]: Support Boxed type in rbgobj_create_object(),
rbgobj_initialize_object().
2002-08-20 Masahiro Sakai <s01397ms@sfc.keio.ac.jp>
* src/utils_int64.c: rb_global_variable(&max_PRUint32)
* src/rbgobj_param.c: rename rbgobj_get_value_from_paramspec to
rbgobj_get_value_from_param_spec
* src/rbgobj_param.c (gobj_get_gtype): use rbgobj_param_spec_get_struct
instead of RVAL2GOBJ
2002-08-18 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbobjmanager.[ch]: Add file. Support RB_DEF_CLASS system.
2002-08-14 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* extconf.rb: use $libs instead of $LDFLAGS
* src/rbglib.c: define GLib::VERSION, GLib::(MAJOR|MINOR|MICRO)_VERSION
* src/rbgobj_param.c: define GParamFlags constants
* src/rbgobj_value.c (rbgobj_register_r2g_func): change argument.
it now take GType as key instead of Ruby class.
* src/rbgobject.c (rbgobj_add_relative, rbgobj_add_relative_removable,
rbgobj_remove_relative): call rb_ivar_defined() before calling rb_ivar_get()
* rbgobj_valuetypes.c, rbgobj_value.c: improve G_TYPE_POINTER handling
2002-08-10 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobject.[ch]: move id_relative_callbacks to gtk
* src/rbgobj_closure.c, src/rbgobj_object.c, src/rbgobj_signal.c:
use GVAL2RVAL
* src/rbgobj_valuetypes.c: add file. implement RBGOBJ_TYPE_RUBY_VALUE
to box Ruby object into GValue.
* src/rbgobj_type.c, src/rbgobj_value.c, src/rbgobj_valuetypes.c:
support G_TYPE_POINTER. This is a tentative implementation.
* src/global.h: move "extern void Init_hoge();" stuff to where these
functions are actually called.
2002-08-09 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/utils_int64.c (LL_L2UI): cast argument to guint32
* src/utils_int64.c (RubyTo64BitInt): oops. convert max_PRUint32 to VALUE.
* src/utils_int64.c: optimize
2002-08-09 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobject.c: use GQuark
* src/rbgobj_type.c: fix allocation problem in ruby-1.7
rb_obj_alloc() was used though GLib::Type#allocate wasn't implemented.
this problem is pointed out by Masao Mutoh <mutoh@highway.ne.jp>.
* src/rbgobj_object.c: rename GLib::GObject to GLib::Object
* src/utils_int64.c: add file. support gint64/guint64.
code is ripped from rbXPCOM-0.0.3.
<URL:http://www.ruby-lang.org/en/raa-list.rhtml?name=rbXPCOM>
Thanks to Kenichi Komiya <kom@mail1.accsnet.ne.jp>
* src/rbgobj_param.c (value_set_default): initialize GValue with {0,}.
* src/rbgobj_param.c (ParamSpec#value_type): returns GLib::Type
* src/rbgobj_param.c (ParamSpec#owner_type): ditto
* src/rbgobj_paramspecs.c: implement more functions
* src/rbgobj_boxed.c: use rbgobj_type.c for class managiment
* src/rbgobj_value.c: hardcode most converters.
Now table-lookup is used only for G_TYPE_POINTER and G_TYPE_BOXED.
* src/rbgobj_object.c, src/rbgobj_enum.c, src/rbgobj_param.c: ditto
2002-08-08 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_type.c: more ruby-ish method naming.
ie: "hoge?" rather than "is_hoge"?
* src/rbgobj_type.c (rbgobj_lookup_class_by_gtype): enhancement for
G_TYPE_PARAM
* src/rbgobj_param.c, src/rbgobj_paramspec.c: rewrite for using above
enhancement.
2002-08-07 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobject.c (rbgobj_gobject_new): take type argument as GType
instead of VALUE.
* src/rbgobject.c (rbgobj_gobject_new): allow nil for construct parameter
* src/rbgobj_object.c (is_gtkobject): add function
* src/rbgobj_object.c (GObject.allocate): check abstract class
* src/rbgobj_object.c (GObject#initialize): rewrite
* src/rbgobj_type.c (rbgobj_lookup_class): use independent hash instead
of instance variable. and abolish id_class_info.
* src/rbgobj_type.c (rbgobj_lookup_class): search ancestor classes.
* src/rbgobj_type.c: implement GLib::Type.
2002-08-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_type.c: extend rbgobj_lookup_class_by_gtype() to deal
interfaces
* src/rbgobject.h: define macros: G_DEF_INTERFACE and G_DEF_INTERFACE2
* src/rbgobj_typeplugin.c: file added
* extconf.rb: use --msvc-syntax option for pkg-config if the compiler
is MSVC++.
2002-08-06 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobject.h: remove declaration of id_class_info and id_delete
* src/rbgobject.h, src/rbgobj_object.c, src/rbgobj_signal.c:
remove global variable rbgobj_cGObject.
2002-08-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbglib.[ch]: fix mGLib declaration and definition
2002-08-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_type.c (rbgobj_lookup_class_by_gtype):
enable calling of rbgobj_define_property_accessors() and
rbgobj_define_signal_constants().
2002-08-02 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_type.c: abolish rbgobj_register_class()
* src/rbgobj_type.c (rbgobj_lookup_class_by_gtype):
now this function create a new class on demand.
* src/rbgobj_type.c: abolish rbgobj_lookup_rbclass()
* src/rbgobject.c: fix typo
* src/rbgobject.c: add rbgobj_define_signal_constants()
which define constants for signal names.
2002-08-01 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c (_gobject_to_ruby): check NULL before calling
GOBJ2RVAL().
* src/rbgobj_signal.c (gobj_sig_connect): remove unused variable 'id'.
* src/rbgobj_signal.c (gobj_sig_connect_after): ditto
* src/rbgobj_object.c (gobj_smethod_added): fix bugs
2002-07-31 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobject.c: devide from rbgobj_objectc[ch].
* src/rbgobj_object.c, src/rbgobject.h: abolish rbgobj_force_get_gobject().
* src/rbgobject.h: add G_DEF_CLASS(), G_DEF_CLASS2(), GTYPE2CLASS().
* src/rbgobj_type.c: add rbgobj_define_class()
2002-07-31 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_closure.c: use g_closure_add_invalidate_notifier()
instead of g_closure_add_finalize_notifier()
* src/rbgobj_closure.c: fix g_closure_add_invalidate_notifier()'s
argument order
* src/rbgobj_signal.c: GObject#signal_connect now accept extra argument
as Ruby/Gtk 1.
* src/rbgobj_signal.c: implement GObject#signal_connect_after
2002-07-28 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c (gobj_s_gobject_new): refine GtkObject-specific
stuff
* src/rbgobj_object.c: implement GObject#freeze_notify, GObject#notify,
GObject#thaw_notify
* src/rbgobj_object.c (gobj_inspect): use g_strdup_printf() instead of
ALLOCA_N() and sprintf()
* src/rbgobj_type.c (rbgobj_register_class): add some check
* src/*.c: replace rbgobj_get_value_from_gobject() with GOBJ2RVAL()
* src/*.c: replace rbgobj_get_gobject() with RVAL2GOBJ()
* src/rbgobj_object.c:
void rbgobj_define_property_acccessors(VALUE klass);
is added. This function defines accessor methods for properties.
* src/rbgobj_signal.c (gobj_sig_emit): call g_value_init()
2002-07-27 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c: abolish rbgobj_make_gobject_auto_type() and
rbgobj_make_gobject()
* src/rbgobj_boxed.c, src/rbgobj_enums.c, src/rbgobj_typemodule.c,
src/rbgobj_signal.c: created
* src/rbgobj_object.c: move signal stuff to src/rbgobj_signal.c
2002-07-27 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* src/rbgobj_object.c: implement GObject.gobject_new experimentaly.
example:
w = GLib::GObject.gobject_new("GtkWindow", "title" => "Hello World")
2002-07-26 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* extconf.rb: check allocation framework
* src/rbgobj_object.c: introduce intermediate data structure (gobj_holder)
for managing not only GObject*, but also class_info and ruby object itself.
* src/rbgobj_object.c: abolish gobject_object_list_v and
gobject_object_list
* src/rbgobj_object.c: use gobject_weak_ref() to observe an explicit
disposition. (e.g. by gtk_object_destroy())
* src/rbgobj_object.c: implement GObject#set_property and
GObject#get_property
* src/rbgobj_paramspecs.c: created
2002-06-23 Masahiro Sakai <s01397ms@sfc.keio.ac.jp>
* src/rbgobj_type.c (Init_gobject_gtype): call g_type_init().
* src/rbgobj_object.c, src/gclosure.c: zero-fill GValue before
using it.
2002-06-23 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobject.h: Fix parameter number of RBGOBJ_INITIALIZE().
2002-06-23 Masao Mutoh <mutoh@highway.ne.jp>
* src/rbgobject.c: change rbgobj_set_gobject() to rbgobj_initialize_gobject().
* src/rbgobject.h: create RBGOBJ_INITIALIZE().
2002-06-22 Masahiro Sakai <s01397ms@sfc.keio.ac.jp>
* src/rbgobject.h: create two macros; RVAL2GOBJ() and GOBJ2RVAL().
* src/rbgobject.h, rbgobj_object.c: make rbgobj_make_gobject() and
rbgobj_make_gobject_auto_type() be private.
* src/rbgobj_object.c: remove gobj_mark() and clear_gobject().
* src/rbglib.c: remove gError.
2002-06-20 Masahiro Sakai <s01397ms@sfc.keio.ac.jp>
* src/rbgobj_object.c, src/rbgobj_type.c, src/rbgobject.h:
rename rbgobj_class_info to RGObjClassInfo.
2002-06-18 Masahiro Sakai <s01397ms@sfc.keio.ac.jp>
* src/*.c: conform to Ruby/GNOME2 coding-style.
2002-06-18 Masahiro Sakai <s01397ms@sfc.keio.ac.jp>
* extconf.rb: check whether package exists or not.
|