Skip to content

Commit

Permalink
Refactoring of a lot of code.
Browse files Browse the repository at this point in the history
This commit introduces a lot of changes such as:
  * Types to handle need to be whitelisted by adding them in the
    whitelist.txt file.
  * Providing a way to override the name of a class.
  * Providing a way to override GIR data with .defs data located in
    src/overriders.
  * Adding methods to Block and DefsFile classes to get information
    from a Block (fields) and add them in an existing DefsFile.
  * Factorizing the IntrospectionParser code.
  * Add utf8 and filename types as registered String types.
  * Removing .defs files that we needed before.

There are still some known issues such as public API not matching the
generated and errors throwing not handle yet.
  • Loading branch information
gmazoyer committed Nov 15, 2014
1 parent 893e288 commit adf6e3a
Show file tree
Hide file tree
Showing 531 changed files with 1,803 additions and 37,964 deletions.
5 changes: 4 additions & 1 deletion src/bindings/org/gnome/glib/File.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
* @author Guillaume Mazoyer
* @since 4.1.2
*/
final class File extends Object
/*
* FIXME: this should not be public.
*/
public final class File extends Object
{
private File(long pointer) {
super(pointer);
Expand Down
2 changes: 1 addition & 1 deletion src/bindings/org/gnome/gtk/Notebook.java
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ private SwitchPageHandler(SwitchPage handler) {
this.handler = handler;
}

public void onSwitchPage(Notebook source, long page, int pageNum) {
public void onSwitchPage(Notebook source, Widget page, int pageNum) {
handler.onSwitchPage(source, pageNum);
}
}
Expand Down
121 changes: 0 additions & 121 deletions src/defs/AtkAction.defs

This file was deleted.

6 changes: 0 additions & 6 deletions src/defs/AtkAttributeSet.defs

This file was deleted.

Loading

0 comments on commit adf6e3a

Please sign in to comment.