Commit Graph

943 Commits

Author SHA1 Message Date
Andrei Zmievski 116ce8de1d Move prop info hash handling into module init/shutdown function, since
it needs to be persistent.
2005-02-24 06:52:07 +00:00
6d35fb27b5 ChangeLog update 2005-02-14 01:39:48 +00:00
Andrei Zmievski 23d1d687f1 Initial work on closures. 2005-02-13 23:18:07 +00:00
Andrei Zmievski f8bba95baa Fix exception throwing to return a value as well. 2005-02-13 23:16:27 +00:00
Andrei Zmievski 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.
2005-02-13 01:29:23 +00:00
da6f8014ab ChangeLog update 2005-02-07 01:33:28 +00:00
Andrei Zmievski 098b127343 Big oops. Can't call gtk_exit() here since it simply calls exit() on us
and does not return back to ZE.
2005-02-06 01:39:13 +00:00
Andrei Zmievski c4565f4d6b Fix no_direct_constructor message. 2005-02-06 01:37:24 +00:00
Andrei Zmievski 347b73b0ee Fix compilation warning. 2005-02-06 00:39:57 +00:00
Andrei Zmievski c0ad434f1a Expose GdkDrawable->xid property. 2005-02-06 00:34:38 +00:00
Andrei Zmievski 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.
2005-02-06 00:34:08 +00:00
1d4d26788d ChangeLog update 2005-02-04 01:34:28 +00:00
Andrei Zmievski 3f268ff8cc We do need to run aclocal to rebuild configure in case php_gtk.m4 or
other .m4 files changed.
2005-02-03 07:35:04 +00:00
Andrei Zmievski 49bfbef817 Implement several properties of GtkTextAttributes. 2005-02-03 07:34:19 +00:00
7a9502ceb1 ChangeLog update 2005-01-30 01:36:07 +00:00
Andrei Zmievski 9fe32a37fd Fix Pango compilation for now. 2005-01-29 08:45:53 +00:00
f20ddc9c8f ChangeLog update 2005-01-29 01:39:05 +00:00
Andrei Zmievski 97a0f3c466 Starting work on closures.. 2005-01-28 07:08:19 +00:00
Andrei Zmievski 9e4cc2ebf6 typo 2005-01-28 02:51:13 +00:00
cd88505a4d ChangeLog update 2005-01-28 01:36:14 +00:00
Andrei Zmievski 43bfeec4ec - Stop ignoring gtk_style_new constructor.
- Fix the class entry flags for abstract classes.
2005-01-27 22:48:40 +00:00
Andrei Zmievski 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.
2005-01-27 22:48:02 +00:00
Andrei Zmievski 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.
2005-01-27 07:40:40 +00:00
Andrei Zmievski 57d3a0eee8 Switch to using RETVAL_*() macros instead of RETURN_*(). 2005-01-27 07:38:59 +00:00
Andrei Zmievski 4c17595fd4 *** empty log message *** 2005-01-27 07:38:24 +00:00
a7d6245a85 ChangeLog update 2005-01-26 01:42:47 +00:00
Andrei Zmievski c1b49a4114 Implement GdkRectangle() constructor. 2005-01-25 06:50:56 +00:00
Andrei Zmievski 392b7688f8 Fix definitino of phpg_class_id and phpg_class_key. 2005-01-25 06:31:23 +00:00
e9a746fb27 ChangeLog update 2005-01-25 01:34:15 +00:00
Andrei Zmievski 4407725ee9 Some edits. 2005-01-24 06:34:15 +00:00
Andrei Zmievski c98e73cf4f Initial support for boxed types. Things will compile, but there is still
work to be done.
2005-01-24 06:18:48 +00:00
Andrei Zmievski c82327bbb9 *** empty log message *** 2005-01-24 04:25:41 +00:00
72cae3343d ChangeLog update 2005-01-21 01:36:12 +00:00
Andrei Zmievski 3370b2b1b1 Add note about some issues with internal properties not supporting
objects.
2005-01-20 23:09:07 +00:00
Andrei Zmievski 26169ae4f2 Support function overrides. 2005-01-20 23:08:37 +00:00
a4b50bde42 ChangeLog update 2005-01-19 01:34:56 +00:00
Andrei Zmievski da71f39cb3 - Make generator support static methods.
- Adjust gtk.defs to move some methods that were in gtk:: namespace into
  the proper classes.
2005-01-18 08:11:30 +00:00
956af5952b ChangeLog update 2005-01-18 01:37:02 +00:00
Andrei Zmievski d4fec72f97 Add .gdb* files. 2005-01-18 01:25:19 +00:00
Andrei Zmievski f54c0e1207 Implement deprecation warnings. 2005-01-18 01:24:16 +00:00
Andrei Zmievski 23fb7ff830 Add is-constructor-of to certain functions to indicate that they are, in
fact, static constructors.
2005-01-18 00:23:38 +00:00
Andrei Zmievski 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.
2005-01-17 22:51:37 +00:00
Andrei Zmievski 8828aff1cf A few other small fixes. 2005-01-17 21:29:01 +00:00
Andrei Zmievski d90583d4c8 Support static constructors better. 2005-01-17 21:27:51 +00:00
Andrei Zmievski f3f8d89619 Merge from branch (GtkSheetRange struct) 2005-01-17 20:53:00 +00:00
Andrei Zmievski 8b02e5efb1 Use $PHPIZE. 2005-01-17 18:06:41 +00:00
Andrei Zmievski 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>.
2005-01-17 18:05:59 +00:00
Andrei Zmievski 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.
2005-01-17 04:19:26 +00:00
Andrei Zmievski eec39b606e Fix typo. 2005-01-17 04:11:30 +00:00
Andrei Zmievski 649d7df0b8 Throw the PhpGtkConstructException in constructors. 2005-01-17 04:11:19 +00:00