[Psi-devel] Patch reminder: small fixups, xep-0004/xep-0050 conformance
Hal Rottenberg
hal at halr9000.com
Thu Mar 22 04:18:18 PDT 2007
Thanks, we always appreciate code contributions. :)
On 3/22/07, Roelof Naude <roelof.naude at epiuse.com> wrote:
>
> 1. psi doesn't currently display xep-0004 reported items when executing
> a command (xep-0050 example 8 and 9). the attached patch allows this.
> i've tested against wildfire's admin commands (eg. Get list of group
> members).
>
> 2. xep-0004 specifies that <instructions> may not contain '\n', instead
> multiple <instructions> should be specified.
>
> the following two patches implement that:
> combine_text_of_similar_elements.patch -> added a method subTagsText
> that will combine the text of similar xml elements
> xdata_support_multiple_instructions.patch -> make use of subTagsText
> added above.
>
> 3. here are patches to display <note> from adhoc commands:
>
> 3.1. psi.add_note_info_ahcommand.h.patch - add noteText_ & noteType_ to
> ahcommand.h
> 3.2. psi.init_ahc_note.ahcommand.cpp.patch - initialize noteText_/Type_
> from xml.
> 3.3. psi.display_ahc_note.patch - creates a QLabel for note display
> purposes. i've concatenated the note type (info/warning/error) with the
> note text. displaying an icon might be better?
>
> _______________________________________________
> psi-devel mailing list
> psi-devel at lists.affinix.com
> http://lists.affinix.com/listinfo.cgi/psi-devel-affinix.com
>
>
>
--
Psi webmaster (http://psi-im.org)
im:hal at jabber.rocks.cc
http://halr9000.com
More information about the psi-devel
mailing list