Apple is planning to implement a lot of new WebIDL features that could break the GObject DOM bindings. In some cases it could be just impossible to have an implementation in the GObject bindings because of the C limitation (optional arguments, templates, function overrides, etc.)
So, the current plan, unless someone opposes or has a better idea, is to freeze the API, like Apple recently did. It basically means taking the current generated API and copy it into the source tree so we will no longer auto-generate that code. There isn't any compatibility issue, because it's the same API we are currently exposing. Although, we can probably avoid some new APIs in unstable the nobody is using. That way Apple can implement all the WebIDL features without breaking our bindings, and we will not have to be fixing the bindings everyday. But we need to decide what to do with the GObject DOM API in the long term. Freezing the API is not going to be a problem in the short-medium term, we haven't added any new API to the stable part since we split the API, and I can only remember a single bug report requesting to move something from unstable to stable. We can probably check now what unstable APIs are apps currently using, and move them to stable, since the APIs are not going to change anymore for sure. So, we have time to decide what to do. Apple changed to a different model: "dynamically bridging from Swift and Objective-C to JavaScript rather statically bridging to the DOM". Having a public API with backwards compatibility guarantee depending on code that is auto-generated has always been a headache for us, so moving to any other mechanism could make the maintenance easier. But at the same time, the GObject DOM API is quite useful and convenient, so any replacement should be at least ad good as our current DOM API. Any idea or comment about this is more than welcome. More details in this webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2016-August/028380.html -- Carlos Garcia Campos http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
signature.asc
Description: This is a digitally signed message part
_______________________________________________ webkit-gtk mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-gtk
