GNOME Bugzilla – Bug 638252
language-support-vala: use the new markers to show error tooltips
Last modified: 2011-01-06 19:01:10 UTC
I'm also attaching patches to update the vapi
Created attachment 177176 [details] [review] libanjuta: add some gobject-introspection annotations There is much work to do on this front, I've only looked at APIs used by the vala support plugin or that prevent correct generation of vapi
Created attachment 177178 [details] [review] language-support-vala: update the .vapi for 3.0
Created attachment 177179 [details] [review] language-support-vala: use the new markers to show error tooltips
Created attachment 177180 [details] [review] language-support-vala: simplify logic a bit by using new vala API also fix misuse of context.add_package
Review of attachment 177176 [details] [review]: Thanks! That of course needs some more work for the other APIs but we will fix that over time. ::: libanjuta/anjuta-status.c @@ -614,2 +617,2 @@ void anjuta_status (AnjutaStatus *status, const gchar *mesg, gint timeout) This one should be anjuta_status_set() or anjuta_status_set_status() to be properly supported, right? We should change that at some point.
Review of attachment 177178 [details] [review]: Looks good! Thanks!
When I apply all these patches anjuta crashes:
+ Trace 225314
Any clues?
Review of attachment 177179 [details] [review]: Thanks, nice addition!
Review of attachment 177180 [details] [review]: Thanks, less code is always good!
Sorry, the crash was due to bug 638228, see there. These patches are fine! Thanks!
it seems 177180 wasn't completely committed (the context.get_[external_]package part isn't in master), I'm attaching a fix
Created attachment 177479 [details] [review] language-support-vala: fix misuse of CodeContext.add_package (this was supposed to be in 46aeb2136566, but somehow it isn't)
Review of attachment 177479 [details] [review]: Sorry, seems I missed. VALAFLAGS should be queryable somehow but that's for later.
(In reply to comment #13) > Review of attachment 177479 [details] [review]: > > Sorry, seems I missed. > > VALAFLAGS should be queryable somehow but that's for later. Yes, that's what I'm going to work on next ;-)