[Adium-devl] adiumPurpleRequestFields

Elliott Harris excitebike at mac.com
Thu Jun 7 00:38:35 UTC 2007


Yeah, Evan and I had talked about Request Fields at some point.  
Obviously, impossible to do in Cocoa, but a WebKit implementation  
would be great. Consider this my support for it, we've needed Request  
Fields for a while, and supporting them would open up some good  
opportunities for us. At the very least, I know Evan would really  
like it. :)

--Elliott
On Jun 6, 2007, at 5:30 PM, Colin Barrett wrote:

> On Jun 6, 2007, at 5:27 PM, Andreas Monitzer wrote:
>
>> Hi,
>>
>> I discovered right now that some vital menu options are missing from
>> the XMPP service menu of Adium. The reason for this is that
>> adiumPurpleRequestFields (in adiumPurpleRequest.m) is not  
>> implemented.
>> The basic idea behind it is that libpurple requests a form, asking
>> for more information to complete an action (like changing the
>> password or searching for users).
>>
>> I implemented a very similar thing (actually, it's used for the x-
>> data-extension in libpurple, too) last year for my Smack-based  
>> plugin:
>> http://monitzer.com/adium/muc1.png
>>
>> I need this functionality for various features of the plugin. Last
>> year I used a webview for this. It seemed to be kinda awkward at
>> first, but it actually worked pretty well, esp. when compared to the
>> complexity of implementing this in Cocoa (there's no way to do this
>> in a nib).
>> Maybe I should just port that webview to accept libpurple input and
>> use that one? It'd also benefit the other libpurple protocols, since
>> it seems that they also lack the features that require more than
>> simple text field input.
>
> That would definitely be awesome. There's no real additional hit for
> using webkit in this case, we've already got it loaded into memory.
>
> Make sure to use the standard HIG fonts and backgrounds. IIRC you had
> it looking pretty snazzy last year.
>
> Good luck!
> -Colin
>
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com





More information about the devel mailing list