300 Commits

Author SHA1 Message Date
Elizabeth M Smith
6230d5d61f Rest of missing gtkgenerator changes 2014-06-24 11:44:27 -04:00
tantrum-junkie
4d8f24bb4c Update docgen.php
Fixed forgotten renamed file generator.php --> gtkgenerator.php
2014-06-23 17:33:16 +02:00
Patrick D. Andersen
2f32450597 Generator fix, round 2
Removed remaining references to generator.php (excluding changelog and
mozembed)
2014-06-23 10:07:54 -04:00
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
4cda109cf9 This officially breaks building with anything less then 5.3
with the generator since it uses closures

But I can't get rid the of the /e modifier in the regex
without using a closure to wrap up that array information
so I'm stuck - either I break the generator for 5.2
or it spews on 5.4

Note this doesn't mean you can't still build against 5.2
you just need php 5.3 cli or higher to do the build
2012-08-08 23:07:37 -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
d972807a2e Beginning removal of tsrmls_fetch calls (ugh) 2012-07-18 11:40:53 -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
Elizabeth M Smith
9209524468 Make the generator not spit with PHP 5.4 2012-07-16 14:18:58 -04:00
Bob Majdak Jr
95d70abd44 fix in the generator for compiling on macos. slightly cheeky, but working for now. 2010-06-25 18:23:51 +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
Elizabeth Marie Smith
babed928c2 Defs for 2.16 and 2.14 - still need a lot of overrides yet 2009-10-08 17:56:35 +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
e8d3a22b29 Part 1 of gtk 2.18 defs including tests for new functionality (and newly deprecated items) 2009-10-07 22:32:56 +00:00
Elizabeth Marie Smith
278c433860 This is a huge rewrite of the generator - automake is not yet adjusted for it - the reason for the rewrite is dealing with generated c files that are more than 2.5 MB in size - even the best C compilers don't like that - this splits overly large files during generation and provides fixes for the windows build system to read in the generated filenames and place them in the makefile properly 2009-10-06 21:19:43 +00:00
Elizabeth Marie Smith
411314fc2a Update libscintilla - make windows build against bundled version 2009-10-05 16:11:29 +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
Elizabeth Marie Smith
a7679cad2a Avoid issues with include_path weirdness - always look in the /generator directory for files 2008-08-08 13:36:01 +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
Andrei Zmievski
2546ce52ae Update Copyright year. 2008-02-29 19:05:53 +00:00
Steph Fox
986f6e1711 Defs should only include the previous version .defs file and the current types.defs file, if one exists. Note that def caches are now versioned. 2008-01-22 20:43:06 +00:00
Steph Fox
26de320ecc This works fine, but I forgot to move the defs to the new scheme. (Cue much confusion here - until now.) 2008-01-22 18:47:34 +00:00
Steph Fox
5036ccb60a Put the E-STRICT house in order before we start messing around with versioning. 2008-01-21 06:43:50 +00:00
Elizabeth Marie Smith
2884b7b199 GtkPackDirection is an int enum 2007-10-15 12:55:31 +00:00
Elizabeth Marie Smith
2f5e8f38c8 Fix enums for libsexy and gtkextra (other extensions do not have enums) 2007-07-21 13:31:10 +00:00
Elizabeth Marie Smith
f038590dff whitespace in html extension and type juggling comparison bugs in generator (2.10 was becoming 2.1) also first round of new types 2007-05-22 03:29:58 +00:00
Andrei Zmievski
482a962b03 - Do not register 'gtype' class constants for interfaces.
- When creating classes dynamically, unset the abstract flag from
  methods inherited from interfaces and from the class itself.
- Use explicit function entry instead of ZEND_ABSTRACT_ME() to point to
  default interface method implementation.
2007-03-03 19:23:02 +00:00
Christian Weiske
19f45e6b7d Add PangoRectangle* support by using GdkRectangle* generator class 2007-02-06 17:30:10 +00:00
Elizabeth Marie Smith
aba76fd80d Allows the generator to build against different versions of gtk+ by passing a -v (version number) argument via the command line. Files are then conditionally included by checking a version number after it [include "myfile" 2.8] 2007-01-31 18:12:47 +00:00
Anant Narayanan
f20cd5d7bf Apparently 0 is incorrect, change to -1 2007-01-22 14:27:32 +00:00
Anant Narayanan
88d39460e4 Make memory_limit 0 for generator 2007-01-22 14:16:42 +00:00
Steph Fox
3b270b7f0c ZTS fixes 2006-10-24 12:46:14 +00:00
Christian Weiske
fd3070209f Reference isn't needed here 2006-10-02 15:58:38 +00:00
Andrei Zmievski
be8a794110 Some clipboard support. 2006-09-17 20:56:27 +00:00
Christian Weiske
481f490501 docgen uses &seealso; 2006-08-11 07:36:48 +00:00
Andrei Zmievski
3cbda50878 Make GtkSelectionData GdkAtom fields be actual GdkAtom objects. 2006-07-30 19:17:54 +00:00
Steph Fox
6fc9ed83f2 Give GPointer types something to hold onto... 2006-06-25 10:48:07 +00:00
Andrei Zmievski
9a4af2eb69 Rework Steph's pointer generation patch so that it works like boxed
type.
2006-06-23 04:11:49 +00:00
Steph Fox
abfb38c53b pure code cleanups - nothing to see here, move along 2006-06-21 20:49:39 +00:00
Christian Weiske
266f3b52b0 Committing the fixed generator as suggested by Andrei 2006-06-09 15:50:45 +00:00
Andrei Zmievski
feccb19868 Fix type registration for GtkAllocation* 2006-06-03 19:14:36 +00:00
Andrei Zmievski
34600d000b Commit Steph's PHP_5_2 compat patch. 2006-06-03 18:07:41 +00:00
Christian Weiske
cce567b3bb GdkNativeWindow isn't used as class any more 2006-05-01 18:30:56 +00:00
Andrei Zmievski
6b28e042b1 Register GdkNativeWindow as a long. 2006-04-24 06:29:21 +00:00
Andrei Zmievski
e7901e6ef0 *** empty log message *** 2006-03-27 04:23:11 +00:00
Andrei Zmievski
bf1db4b37d Allowing adding extra programmatic fields (properties). 2006-03-10 05:26:44 +00:00
Andrei Zmievski
6ca129cece Use proper original handlers when creating custom ones. 2006-02-19 21:53:44 +00:00
Andrei Zmievski
2ddcf43b70 - Allow overriding additional object handlers.
- Implement a way to add custom post-registration hooks.
2006-02-18 19:43:32 +00:00
Andrei Zmievski
421d25245b Initialize free_* variable to FALSE. 2006-02-14 03:10:24 +00:00