WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
48135
[GTK] GObject bindings generator issues
https://bugs.webkit.org/show_bug.cgi?id=48135
Summary
[GTK] GObject bindings generator issues
Sergio Villar Senin
Reported
2010-10-22 09:36:19 PDT
There are a couple of issues in the GObject binding generator: * webkit_dom_html_input_element_get_files is not included in the conditional methods * conditional methods that are part of the API should not be conditionally built. Instead, the implementation of those methods must be enclosed by #if ENABLE() clauses * Conditional methods with return type different than void, whose implementation is not meant to be built, does not currently have a return statement.
Attachments
Fixes to the code generator
(3.67 KB, patch)
2010-10-22 10:29 PDT
,
Sergio Villar Senin
no flags
Details
Formatted Diff
Diff
Fixes to the GObject code generator
(3.68 KB, patch)
2010-10-25 03:19 PDT
,
Sergio Villar Senin
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Sergio Villar Senin
Comment 1
2010-10-22 10:29:31 PDT
Created
attachment 71573
[details]
Fixes to the code generator
Xan Lopez
Comment 2
2010-10-23 03:32:52 PDT
Comment on
attachment 71573
[details]
Fixes to the code generator I'm a bit confused, what's the point of having the two sets of #if in the cbody? Shouldn't you only leave the one inside the function body and get rid of the one outside?
Sergio Villar Senin
Comment 3
2010-10-25 01:13:46 PDT
(In reply to
comment #2
)
> (From update of
attachment 71573
[details]
) > I'm a bit confused, what's the point of having the two sets of #if in the cbody? Shouldn't you only leave the one inside the function body and get rid of the one outside?
Yeah right, I just changed the conditionals. I left both because I somehow thought that there could be public methods of those classes that wouldn't be part of WEBKIT_API but it seems that indeed it's not the case.
Sergio Villar Senin
Comment 4
2010-10-25 03:19:47 PDT
Created
attachment 71725
[details]
Fixes to the GObject code generator New version of the patch. Removed the wrapping ifdef's and the conditionalMethods hack
Xan Lopez
Comment 5
2010-10-28 22:41:06 PDT
Comment on
attachment 71725
[details]
Fixes to the GObject code generator Looks good to me.
WebKit Commit Bot
Comment 6
2010-10-28 23:33:10 PDT
Comment on
attachment 71725
[details]
Fixes to the GObject code generator Clearing flags on attachment: 71725 Committed
r70844
: <
http://trac.webkit.org/changeset/70844
>
WebKit Commit Bot
Comment 7
2010-10-28 23:33:15 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug