Commit Graph

  • 6d35fb27b5 ChangeLog update 2005-02-14 01:39:48 +00:00
  • 23d1d687f1 Initial work on closures. Andrei Zmievski 2005-02-13 23:18:07 +00:00
  • f8bba95baa Fix exception throwing to return a value as well. Andrei Zmievski 2005-02-13 23:16:27 +00:00
  • 2c79ea1cdd - Fix memory leaks with class constants. - Fix premature object destruction for GtkWindow class. Argh. You cannot imagine how long it took to figure out that GtkWindow needs to be "sunk" after creation. After hours of wading through guts of GLib's type and object system written entirely in C.. I should have just looked at PyGTK implementation. Andrei Zmievski 2005-02-13 01:29:23 +00:00
  • da6f8014ab ChangeLog update 2005-02-07 01:33:28 +00:00
  • 098b127343 Big oops. Can't call gtk_exit() here since it simply calls exit() on us and does not return back to ZE. Andrei Zmievski 2005-02-06 01:39:13 +00:00
  • c4565f4d6b Fix no_direct_constructor message. Andrei Zmievski 2005-02-06 01:37:24 +00:00
  • 347b73b0ee Fix compilation warning. Andrei Zmievski 2005-02-06 00:39:57 +00:00
  • c0ad434f1a Expose GdkDrawable->xid property. Andrei Zmievski 2005-02-06 00:34:38 +00:00
  • 56f5f20a8c We cannot simply mark classes without constructors as abstract, because we may need to instantiate them internally. We just need to forbid the users to use them directly. Andrei Zmievski 2005-02-06 00:34:08 +00:00
  • 1d4d26788d ChangeLog update 2005-02-04 01:34:28 +00:00
  • 3f268ff8cc We do need to run aclocal to rebuild configure in case php_gtk.m4 or other .m4 files changed. Andrei Zmievski 2005-02-03 07:35:04 +00:00
  • 49bfbef817 Implement several properties of GtkTextAttributes. Andrei Zmievski 2005-02-03 07:34:19 +00:00
  • 7a9502ceb1 ChangeLog update 2005-01-30 01:36:07 +00:00
  • 9fe32a37fd Fix Pango compilation for now. Andrei Zmievski 2005-01-29 08:45:53 +00:00
  • f20ddc9c8f ChangeLog update 2005-01-29 01:39:05 +00:00
  • 97a0f3c466 Starting work on closures.. Andrei Zmievski 2005-01-28 07:08:19 +00:00
  • 9e4cc2ebf6 typo Andrei Zmievski 2005-01-28 02:51:13 +00:00
  • cd88505a4d ChangeLog update 2005-01-28 01:36:14 +00:00
  • 43bfeec4ec - Stop ignoring gtk_style_new constructor. - Fix the class entry flags for abstract classes. Andrei Zmievski 2005-01-27 22:48:40 +00:00
  • fcdd188c47 - Merge parent's properties into child's table upon registration. This way we can look at any property in the chain quickly. - Fix access to nested properties, like $separator->style->ythickness. - NULL-out the get_property_ptr_ptr handler for now so that writes to nested properties work correctly. Andrei Zmievski 2005-01-27 22:48:02 +00:00
  • b148aa5140 This started as an attempt to implement property access for boxed types, but turned out supporting regular properties as well. Writing to properties is not yet implemented. Testing is appreciated. Now I damn well deserve a beer. Andrei Zmievski 2005-01-27 07:40:40 +00:00
  • 57d3a0eee8 Switch to using RETVAL_*() macros instead of RETURN_*(). Andrei Zmievski 2005-01-27 07:38:59 +00:00
  • 4c17595fd4 *** empty log message *** Andrei Zmievski 2005-01-27 07:38:24 +00:00
  • a7d6245a85 ChangeLog update 2005-01-26 01:42:47 +00:00
  • c1b49a4114 Implement GdkRectangle() constructor. Andrei Zmievski 2005-01-25 06:50:56 +00:00
  • 392b7688f8 Fix definitino of phpg_class_id and phpg_class_key. Andrei Zmievski 2005-01-25 06:31:23 +00:00
  • e9a746fb27 ChangeLog update 2005-01-25 01:34:15 +00:00
  • 4407725ee9 Some edits. Andrei Zmievski 2005-01-24 06:34:15 +00:00
  • c98e73cf4f Initial support for boxed types. Things will compile, but there is still work to be done. Andrei Zmievski 2005-01-24 06:18:48 +00:00
  • c82327bbb9 *** empty log message *** Andrei Zmievski 2005-01-24 04:25:41 +00:00
  • 72cae3343d ChangeLog update 2005-01-21 01:36:12 +00:00
  • 3370b2b1b1 Add note about some issues with internal properties not supporting objects. Andrei Zmievski 2005-01-20 23:09:07 +00:00
  • 26169ae4f2 Support function overrides. Andrei Zmievski 2005-01-20 23:08:37 +00:00
  • a4b50bde42 ChangeLog update 2005-01-19 01:34:56 +00:00
  • da71f39cb3 - Make generator support static methods. - Adjust gtk.defs to move some methods that were in gtk:: namespace into the proper classes. Andrei Zmievski 2005-01-18 08:11:30 +00:00
  • 956af5952b ChangeLog update 2005-01-18 01:37:02 +00:00
  • d4fec72f97 Add .gdb* files. Andrei Zmievski 2005-01-18 01:25:19 +00:00
  • f54c0e1207 Implement deprecation warnings. Andrei Zmievski 2005-01-18 01:24:16 +00:00
  • 23fb7ff830 Add is-constructor-of to certain functions to indicate that they are, in fact, static constructors. Andrei Zmievski 2005-01-18 00:23:38 +00:00
  • dfbe3bd9d7 - Fix static constructor generation. - Adjust GtkComboBox and GtkComboBoxEntry static constructors so they are not in the Gtk:: namespace, but rather in GtkComboBox:: and such. Andrei Zmievski 2005-01-17 22:51:37 +00:00
  • 8828aff1cf A few other small fixes. Andrei Zmievski 2005-01-17 21:29:01 +00:00
  • d90583d4c8 Support static constructors better. Andrei Zmievski 2005-01-17 21:27:51 +00:00
  • f3f8d89619 Merge from branch (GtkSheetRange struct) Andrei Zmievski 2005-01-17 20:53:00 +00:00
  • 4c1c900d3a Add GtkSheetRange struct. Andrei Zmievski 2005-01-17 20:50:46 +00:00
  • 6cc52fb82b Fix the structure constructor function entry. Andrei Zmievski 2005-01-17 20:49:44 +00:00
  • 8b02e5efb1 Use $PHPIZE. Andrei Zmievski 2005-01-17 18:06:41 +00:00
  • eb3c3b2feb buildconf now takes an optional parameter to specify the location of 'phpize' script. This is needed if you have both PHP 5 and PHP 4 installed and the default location is incorrect. The switch is --with-phpize=<path to phpize>. Andrei Zmievski 2005-01-17 18:05:59 +00:00
  • ec4f2bdfee - Sort method definitions alphabetically, but put constructors at the top. - Allow specification of function entry flags via overrides. - Allow more than one constructor per class. The first constructor in the .defs file will be considered the 'default' one and will be generated or overriden as __construct. The rest become static methods and are named the same as the C function without the class name at the beginning, i.e. gtk_button_new_with_mnemonic become new_with_mnemonic. Andrei Zmievski 2005-01-17 04:19:26 +00:00
  • eec39b606e Fix typo. Andrei Zmievski 2005-01-17 04:11:30 +00:00
  • 649d7df0b8 Throw the PhpGtkConstructException in constructors. Andrei Zmievski 2005-01-17 04:11:19 +00:00
  • e8fc552a61 Allow specification of function entry flags for each override. Andrei Zmievski 2005-01-17 04:10:42 +00:00
  • d6e8092161 Add overrides from version 1, for reference. Andrei Zmievski 2005-01-17 04:09:29 +00:00
  • 847f611ab9 Only new and vetted overrides will appear in this file. The previous ones are in v1.gtk.overrides. Andrei Zmievski 2005-01-17 04:09:11 +00:00
  • 991bb2f652 Indicate additional GtkButton constructors. Andrei Zmievski 2005-01-17 04:08:26 +00:00
  • 4e466ac574 Log the generation messages to a file gen_<id>.log Andrei Zmievski 2005-01-17 04:07:53 +00:00
  • 35082b2f96 ChangeLog update 2005-01-08 01:36:11 +00:00
  • e446d90c1a Implement PhpGtkConstructException. Andrei Zmievski 2005-01-07 06:26:36 +00:00
  • c68e5f0e6b ChangeLog update 2004-11-14 01:37:18 +00:00
  • 06ca2d4be4 Modify .defs to use old-style parameters. Property-based constructors are not of much use to us since PHP does not support keyword function arguments. Andrei Zmievski 2004-11-13 09:24:24 +00:00
  • c2425b9196 Get some things to compile. Andrei Zmievski 2004-11-13 08:08:27 +00:00
  • bbd0f0b1bf This commit implements.. eh.. what does it implement. Hmm, I just had it a second ago.. Screw it, I'm too tired to explain it. It's just closer to the goal, that's all. I need a drink. Andrei Zmievski 2004-11-13 07:34:34 +00:00
  • 09913aa5de ChangeLog update 2004-11-11 01:58:04 +00:00
  • 34d6ba187f Implement support for flags arg type. Andrei Zmievski 2004-11-10 03:58:18 +00:00
  • 466f0f9f87 ChangeLog update 2004-11-08 01:35:29 +00:00
  • 89d4595826 Support Char, Double, Bool. and Enum parameters and return values. Andrei Zmievski 2004-11-07 05:14:05 +00:00
  • 9584a4ce13 ChangeLog update 2004-11-07 01:36:15 +00:00
  • cb2047dff4 More work on generator. We can now generate some methods - only those that work with strings and integers, basically. Andrei Zmievski 2004-11-06 08:48:34 +00:00
  • 82c7cf3fc4 ChangeLog update 2004-10-27 00:36:25 +00:00
  • 02f1db1401 Stop ignoring php_gtk.m4 Andrei Zmievski 2004-10-26 03:17:26 +00:00
  • c89e1ca20c ChangeLog update 2004-10-22 00:36:02 +00:00
  • 9f0e368baa More work on the generator. Andrei Zmievski 2004-10-21 02:46:31 +00:00
  • ce0b593914 ChangeLog update 2004-08-15 00:34:56 +00:00
  • 70802fa8ee Forgot to add types defs. Andrei Zmievski 2004-08-14 21:12:10 +00:00
  • e1bd0f6486 Add Pango and Atk defs and overrides. Andrei Zmievski 2004-08-14 21:10:26 +00:00
  • 7a24769b4e * Modified generator.php to take -f option that specifies the output file. If -f is not specified, the output goes to stdout. * Move object sorting code into defs parser. * Implement enum/flags registration. They now live inside top-level classes, e.g. Gtk::, Atk::, etc. Andrei Zmievski 2004-08-14 21:09:52 +00:00
  • cd06f35a1f Rename to phpg_ prefix. Andrei Zmievski 2004-08-14 07:16:11 +00:00
  • 71f4487765 ZE2 doesn't "support" objects as static properties? Sure it does, you just have to hack it in manually. Andrei Zmievski 2004-08-14 07:15:58 +00:00
  • 8d223d7eb3 Add GDK and Pango to the build. Only class shells are registered. Andrei Zmievski 2004-08-14 06:15:09 +00:00
  • 454572e904 * Fix "underquoted definition" warnings in php_gtk.m4. * Add atk*.defs to the mix. * Simplify building even more via implicit rules: gen_*.h is now generated right after gen_*.c. Thus, adding 'atk' definitions was a snap. Andrei Zmievski 2004-08-14 05:28:51 +00:00
  • 35e3d44696 Fix build and optimize .defs -> .c conversion. Andrei Zmievski 2004-08-14 04:46:57 +00:00
  • 5a3a10feca ChangeLog update 2004-08-14 00:34:12 +00:00
  • f17c5a93c4 Fix for 4.3.x semantics. Andrei Zmievski 2004-08-13 08:28:53 +00:00
  • cf94978755 Commit #n out of 1..infinity to come. Andrei Zmievski 2004-08-13 06:33:43 +00:00
  • 7ef3f0c9e1 Rename phpg_set_wrapper() to phpg_gobject_set_wrapper() so its usage is clear. Andrei Zmievski 2004-08-13 06:13:19 +00:00
  • 6a8478537f ChangeLog update 2004-08-13 00:33:51 +00:00
  • c640ea65dc A whole bunch of stuff that I'm too tired right now to talk about. New GTK/GDK defs are in and parsing works. So does object registration, but that's about it for now. If this compiles for you, you can do var_dump(get_declared_classes()) and see all the Gtk classes there. Andrei Zmievski 2004-08-12 07:26:16 +00:00
  • 16eb961961 ChangeLog update 2004-08-10 00:34:34 +00:00
  • c5885fd0a2 Typo. Andrei Zmievski 2004-08-09 22:00:20 +00:00
  • 0545de76b6 Argh. Andrei Zmievski 2004-08-09 21:51:26 +00:00
  • f252a2feeb Fix alignment. Andrei Zmievski 2004-08-09 21:47:52 +00:00
  • b65f12e113 Tell people about --with-phpize option. Andrei Zmievski 2004-08-09 21:34:33 +00:00
  • 2b841ae200 buildconf now takes an optional parameter to specify the location of 'phpize' script. This is needed if you have both PHP 5 and PHP 4 installed and the default location is incorrect. The switch is --with-phpize=<path to phpize>. Andrei Zmievski 2004-08-09 18:33:00 +00:00
  • d447993a86 ChangeLog update 2004-08-09 00:34:24 +00:00
  • 0b690fa8fc Update. Andrei Zmievski 2004-08-08 01:18:06 +00:00
  • aeb24127e5 Implement check for required PHP version. Andrei Zmievski 2004-08-08 01:15:31 +00:00
  • 983368839e Remove support for both build systems. It was transitionary anyway. I think we can require 4.3.x PHP to build without any problems. Andrei Zmievski 2004-08-08 00:50:42 +00:00
  • e6b8c6025a ChangeLog update 2004-08-08 00:34:36 +00:00
  • 6ce487c4ac Generate lists before phpize'ing. Andrei Zmievski 2004-08-07 20:46:07 +00:00
  • 60f33170b9 Create php_gtk.m4 explicitly on the first run, as newer versions of aclocal seem to care about that. Andrei Zmievski 2004-08-07 20:40:00 +00:00