about summary refs log tree commit diff stats
path: root/src/ui/confwin.c
Commit message (Collapse)AuthorAgeFilesLines
* fix display of a "list type" in a form if there's no value assigned yetSteffen Jaeckel2023-04-041-27/+21
| | | | | | | | | | | | | | | | | | | | | It is possible, that a server sends a form with a field as follows, which has no (default) value assigned. ``` <field label="foo" type="list-single" var="bar"> <option label="a"><value>a</value></option> <option label="b"><value>b</value></option> <option label="c"><value>c</value></option> </field> ``` This patch fixes profanity to show that list. Before this patch profanity showed nothing. I stumbled over this while running the `/room config` command inside a newly created muc on the `sure.im` XMPP server. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Adapt to g_string_free glib 2.75.3 changeMichael Vetter2023-03-211-10/+1
| | | | | | | | | | | | glib 2.75.3 changes warning behaviour of `g_string_free()`. See: * https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3219 * https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3226 Use this opportunity to replace the use of GString with `g_strdup_printf()` where possible. Otherwise correctly take the return value of `g_string_free()` which is nicer anyways.
* Add config.h in files were it was missingMichael Vetter2021-03-261-0/+2
| | | | Related to https://github.com/profanity-im/profanity/issues/1512
* Apply coding styleMichael Vetter2020-07-071-42/+42
|
* Revert "Apply coding style"Michael Vetter2020-07-071-43/+43
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-43/+43
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-201-44/+44
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Don't show submit help on form if there is no submit callbackPaul Fariello2018-09-101-1/+3
| | | | Could be missleading for user.
* Conform to Section 3.2.2.1 of XML Schema Part 2: DatatypesPaul Fariello2018-09-051-1/+1
| | | | | | | | In accordance with Section 3.2.2.1 of XML Schema Part 2: Datatypes, the allowable lexical representations for the xs:boolean datatype are the strings "0" and "false" for the concept 'false' and the strings "1" and "true" for the concept 'true'; implementations MUST support both styles of lexical representation.
* Rename mucconf wins into conf winsPaul Fariello2018-09-051-0/+348
Configuration windows are now being used by both muc and cmd.