Zachary Reis
694fdabeb7
Fixed compile with 5.5. Added VC11 compatibility
...
*renamed generator.php and related functions/classes to get around
keyword issue in > 5.5
2013-06-27 22:49:21 -04:00
Elizabeth M Smith
806a8657de
Add little hack to make sure user classes get
...
their constructor's run when used with libglade or
gtkbuilder and that constructors ar never double
constructed
Also added signal example for using TYPE_PHP_VALUE
2012-08-15 11:39:11 -04:00
Elizabeth M Smith
b9901ae600
Segfault bug on win32 and windows build system
...
issue with the zend destructor using type and getting confused when
there was no type - only showed up on release builds on win32 (grrr
stupid thing) - also fixed the compiler detection and flags. This
probably breaks things for older then 2008 compilers, really don't care
2012-08-14 21:40:50 -04:00
Elizabeth M Smith
ca38c464c9
More tsrmls fixes
2012-07-18 21:49:57 -04:00
Elizabeth M Smith
68a733751e
More tsrmls_fetch removal
2012-07-18 15:19:05 -04:00
Elizabeth M Smith
598e23dcaf
Fixes bug #55225 - segfault on cleanup after dl load
...
makes the module information for php-gtk
available in RINIT when the classes are registered
as a nice side effect that extension reflection works
2012-07-18 15:03:24 -04:00
Elizabeth M Smith
ba6ed42850
Fixed more tsrmls stuff
...
Compiles now in ZTS mode
2012-07-18 12:58:11 -04:00
Elizabeth M Smith
0c07e80335
More tsrmls_fetch work
2012-07-18 11:53:14 -04:00
Elizabeth M Smith
d972807a2e
Beginning removal of tsrmls_fetch calls (ugh)
2012-07-18 11:40:53 -04:00
Elizabeth M Smith
7d73feb32c
Finish fixing segfaults and do the support for custom
...
signals and properties
PHP 5.4 support is now complete - still working on removing
all the rest of the TSRMLS_FETCH calls (why so many...)
2012-07-17 22:57:37 -04:00
Elizabeth M Smith
f5c24b0899
Unbreak it for 5.3
2012-07-17 12:03:06 -04:00
Elizabeth M Smith
8853964256
Well at least make the var_dump work and stop crashing
2012-07-17 11:41:23 -04:00
Elizabeth M Smith
84e3370df4
use init class macros and ifdef out stuff touching default properties for now on 5.4
2012-07-17 11:20:47 -04:00
Elizabeth M Smith
e349ad95ec
Whitespace and move TSRM into struct instead of using evil
...
fetch
2012-07-17 11:06:42 -04:00
Elizabeth M Smith
d06019f078
ecalloc all the structs
2012-07-17 09:48:46 -04:00
Elizabeth M Smith
0d19d4e184
Attempting to get it to stop segfaulting in 5.4
...
change the way destructors are done
2012-07-16 22:09:45 -04:00
Elizabeth M Smith
71f565cf86
TSRMLS_FETCH is the most evil thing in the world
...
remove where I can, also make 5.4 do class property
defaults correctly
2012-07-16 14:19:47 -04:00
Mark Skilbeck
bda3f0b5ef
Object property stuff updated
2010-06-01 22:09:34 +00:00
Mark Skilbeck
f273ac5812
Forgot to remove trailing commas - bad day.
2010-05-30 19:51:53 +00:00
Mark Skilbeck
d8c248fcf3
Removing add NULLs - need to add version #if check
2010-05-30 19:31:54 +00:00
Mark Skilbeck
3ff8508650
function_entry -> zend_function_entry
2010-05-25 17:52:35 +00:00
Mark Skilbeck
0e830c5d48
More function_entry's that didn't show up first time round
2010-05-25 17:43:53 +00:00
Mark Skilbeck
7da0ddc280
Updated function_entry's to zend_function_entry's - see http://news.php.net/php.pecl.dev/7123
2010-05-25 16:51:49 +00:00
Felipe Pena
07072b727d
- Fix compiler warning
2010-03-07 20:10:43 +00:00
Elizabeth Marie Smith
79417def6b
Back to dev
2010-03-06 18:57:26 +00:00
Elizabeth Marie Smith
47e551464c
Preparation for new release
2010-03-06 18:55:36 +00:00
Felipe Pena
deb27ae9ef
- No warnings
2009-10-08 18:19:24 +00:00
Felipe Pena
fddfff99c1
- Fixed memory leak in GObject::connect
2009-10-08 17:09:07 +00:00
Felipe Pena
8d4755265b
- Fixed namespace separator replacing
2009-10-08 16:30:16 +00:00
Elizabeth Marie Smith
7fdb88137b
Fix for build && crash (e.g. foreach (new gtklistitem as $x) { })
...
Patch by Felipe Pena (you're the best)
2009-10-08 00:56:55 +00:00
Elizabeth Marie Smith
411314fc2a
Update libscintilla - make windows build against bundled version
2009-10-05 16:11:29 +00:00
Elizabeth Marie Smith
b2ff1c080f
Change \ to __ in PHP names before registering gtype to avoid "invalid character" issues when using namespaces in 5.3 - note, this means you can't have \My\Class\Name and My__Class__Name and register both as gtypes in the same application.
2009-04-24 22:18:14 +00:00
Elizabeth Marie Smith
203a8f4ba3
Fixes for zend_is_callable and zend_apply_hash_with_arguments changes in 5.3 in ZTS mode
2009-04-20 20:36:05 +00:00
Derick Rethans
5b959e0da2
- Fixed compilation with latest PHP 5.2 and PHP 5.3, due to the change
...
in the PHP API that added "static" as part of the ZEND_ARG_INFO_BEGIN macro.
2009-03-31 18:21:24 +00:00
Bob Majdak Jr
3775db91b2
for http://bugs.php.net/bug.php?id=46999 : applied oden's patch for compiling with -Werror=format-security
2009-01-07 14:34:48 +00:00
Andrei Zmievski
5a949ac816
Fixed crash related to 5.3 refcounting macros misuse.
...
Z_REFCOUNT_P() has changed in 5.3 to access refcount_gp instead of
refcount, and thus must be used only for accessing zval's. In this case,
_store_object has a refcount, but is not a zval.
2008-09-21 22:39:53 +00:00
Elizabeth Marie Smith
01a9731d57
Add cairo support to windows config system and make cairo extension a dep of php-gtk if enabled
2008-07-30 19:34:26 +00:00
Elizabeth Marie Smith
ddd38be2f0
Fixed issue with zend_unset_timeout after conversation about the best way to handle disabling the timeout
2008-07-12 23:52:25 +00:00
Andrei Zmievski
d3d9c53dc6
Back to -dev.
2008-05-11 16:30:08 +00:00
Andrei Zmievski
72a4665ef7
Roll 2.0.1.
2008-05-01 23:35:26 +00:00
Elizabeth Marie Smith
6587d1feb4
A bunch of new overrides, ignore fixes, def fixes and missing defs, and a sourceview override fix for TS mode
2008-04-29 15:40:17 +00:00
Elizabeth Marie Smith
e3e8953959
Deprecation fixes - use new E_DEPRECATED for 5.3+, allow deprecating previously def'd stuff from overrides, fix constructors to display deprecated messages
2008-03-12 15:46:45 +00:00
Elizabeth Marie Smith
72bfa34f5b
Makes zend engine error when a clone is attempted for any and all gtk objects - also avoids segfaults when cloning is attempted
2008-03-10 19:40:46 +00:00
Andrei Zmievski
2546ce52ae
Update Copyright year.
2008-02-29 19:05:53 +00:00
Steph Fox
fc48ec7cc5
MSVC 6 compiler warnings squashed.
2008-01-23 02:31:44 +00:00
Elizabeth Marie Smith
bd72c3a625
Change to use 5.3 refcount macros, define them in the header so the 5.2.x branch doesn't break
2007-11-12 20:30:34 +00:00
Elizabeth Marie Smith
5abf5e03c9
Make it build with ZTS turned on
2007-09-23 01:39:28 +00:00
Andrei Zmievski
dac6b29216
Custom signals support. See demos/examples/signals.php for an example.
2007-09-22 20:23:09 +00:00
Elizabeth Marie Smith
4f92719e9e
Fixes for TSRM stuff for windows build - the 2.10 in overrides needs to be quoted or it's seen as 2.1 and version_compare loses its mind
2007-09-19 13:38:47 +00:00
Andrei Zmievski
816192a40e
First step in the implementation of custom GType's in PHP userland.
...
Signals and interfaces are not implemented yet. See
demos/examples/properties.php for an example on how to register a custom
type with your own properties.
2007-09-16 21:55:18 +00:00