| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of mixing two strings into a `GList`, use a `PurpleKeyValuePair`.
Use struct initializers and `G_N_ELEMENTS`.
Rename `lv` to `choices` for clarity.
Change from `PurpleRequestFieldList` to `PurpleRequestFieldChoice` as we don't need multiple selection.
Testing Done:
Opened Finch, opened Preferences, saved them, and exited Finch. Re-opened Prefs and confirmed they were saved and as expected.
Reviewed at https://reviews.imfreedom.org/r/2416/
|
|
|
|
|
|
|
|
|
| |
Instead of the `GList`-based API.
Testing Done:
Compiled only.
Reviewed at https://reviews.imfreedom.org/r/2353/
|
|
|
|
|
|
|
|
|
|
|
| |
The field required&filled status is now encapsulated in the valid property due to /r/2351.
This means that UIs no longer need to check that all required fields are filled.
So the page no longer needs to track required fields either.
Testing Done:
Compiled and ran `ninja test`. Also opened Request Fields from Demo protocol, removed the required string or entered an invalid email, and confirmed the OK button disabled correctly.
Reviewed at https://reviews.imfreedom.org/r/2352/
|
|
|
|
|
|
|
|
|
| |
This collects the validity of the fields/groups within the group/page into a single value.
Testing Done:
Compiled and ran `ninja test`.
Reviewed at https://reviews.imfreedom.org/r/2348/
|
|
|
|
|
|
|
|
|
|
|
| |
This also does an `hg cp`, though with all the renaming of the parameter names, maybe that wasn't as useful for tracking the diff.
Also could implement `GListModel`, but it takes arbitrary pointers too, so not right now.
Testing Done:
Compiled, and opened Request Fields from the Demo protocol.
Reviewed at https://reviews.imfreedom.org/r/2336/
|
|
|
|
|
|
|
|
|
|
|
| |
This also does an `hg cp`, though with all the renaming of the parameter names, maybe that wasn't as useful for tracking the diff.
I wonder if this should implement `GListModel`, but the values are currently arbitrary pointers, so it won't work right now.
Testing Done:
Compiled and opened Request Fields from Demo protocol.
Reviewed at https://reviews.imfreedom.org/r/2335/
|
|
|
|
|
|
|
|
|
|
|
| |
This also does an `hg cp`, though with all the renaming of the parameter names, maybe that wasn't as useful for tracking the diff.
Note, I didn't bother re-indenting some of the blocks, because they'll all eventually be moved when everything is subclassed.
Testing Done:
Compiled and opened Request Fields from Demo protocol.
Reviewed at https://reviews.imfreedom.org/r/2334/
|
|
|
|
|
|
|
|
|
|
|
| |
This also does an `hg cp`, though with all the renaming of the parameter names, maybe that wasn't as useful for tracking the diff.
Note, I didn't bother re-indenting some of the blocks, because they'll all eventually be moved when everything is subclassed.
Testing Done:
Compiled and opened Request Fields from Demo protocol.
Reviewed at https://reviews.imfreedom.org/r/2332/
|
|
|
|
|
|
|
|
|
|
|
| |
This also does an `hg cp`, though with all the renaming of the parameter names, maybe that wasn't as useful for tracking the diff.
Note, I didn't bother re-indenting some of the blocks, because they'll all eventually be moved when everything is subclassed.
Testing Done:
Compiled and opened Request Fields from the Demo protocol.
Reviewed at https://reviews.imfreedom.org/r/2324/
|
|
|
|
|
|
|
|
|
|
|
| |
This also does an `hg cp`, though with all the renaming of the parameter names, maybe that wasn't as useful for tracking the diff, and I should just make these new files entirely?
Note, I didn't bother re-indenting some of the blocks, because they'll all eventually be moved when everything is subclassed.
Testing Done:
Compiled, and opened Request Fields from the Demo protocol.
Reviewed at https://reviews.imfreedom.org/r/2331/
|
|
|
|
|
|
|
|
|
|
|
| |
And rename it from `PurpleRequestFields`.
Also, implements `GListModel` for the groups, but nothing uses it that way get.
Testing Done:
Compiled, and opened Request Fields from Demo protocol.
Reviewed at https://reviews.imfreedom.org/r/2323/
|
|
|
|
|
|
|
|
|
|
|
| |
And go through with the renaming of `PurpleRequestFieldGroup` to `PurpleRequestGroup`.
Also, this now implements `GListModel`, but nothing is yet updated to use that.
Testing Done:
Compiled, and opened Request Fields from Demo protocol.
Reviewed at https://reviews.imfreedom.org/r/2322/
|
|
|
|
|
|
|
| |
Testing Done:
Compiled and opened Request Fields from Demo protocol.
Reviewed at https://reviews.imfreedom.org/r/2321/
|
|
|
|
|
|
|
|
|
| |
The setter does not have the extra "field" in the name.
Testing Done:
Compiled.
Reviewed at https://reviews.imfreedom.org/r/2319/
|
|
|
|
|
|
|
| |
Testing Done:
Turned the warning level up to 2, compiled, and verified the warnings were gone.
Reviewed at https://reviews.imfreedom.org/r/2254/
|
|
|
|
|
|
|
| |
Testing Done:
Compiled and ran the tests
Reviewed at https://reviews.imfreedom.org/r/2132/
|
|
|
|
|
|
|
|
|
| |
Move `PurpleAccountManager` to `GPtrArray` and implement `GListModel`
Testing Done:
Compiled and ran `ninja test`. Opened Account Manager and Privacy Dialog to check that account list seemed okay.
Reviewed at https://reviews.imfreedom.org/r/1987/
|
|
|
|
|
|
|
|
|
| |
See [this development thread for a future Fedora change](https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/CJXKTLXJUPZ4F2C2VQOTNMEA5JAUPMBD/) or [the proposed change page](https://fedoraproject.org/wiki/Changes/PortingToModernC). These may be made stronger errors in GCC 14.
Testing Done:
Configured with `-Dc_args='-Werror=implicit-int -Werror=implicit-function-declaration -Werror=int-conversion -Werror=strict-prototypes -Werror=old-style-definition'` and compiled.
Reviewed at https://reviews.imfreedom.org/r/1974/
|
|
|
|
|
|
|
| |
Testing Done:
Compiled
Reviewed at https://reviews.imfreedom.org/r/1814/
|
|
|
|
|
|
|
| |
Testing Done:
Compiled
Reviewed at https://reviews.imfreedom.org/r/1146/
|
|
|
|
|
|
|
|
|
| |
Ran `codespell -w`, reverted a few false positives, and cleaned up some bits it couldn't decipher.
Testing Done:
Compile only.
Reviewed at https://reviews.imfreedom.org/r/1019/
|
|
|
|
|
|
|
|
|
|
|
| |
* Use `PurpleKeyValuePair` as field list items
* Replace `icons` list with `has_icons` flag, thus fixing memleak
* Replace `purple_request_field_list_get_icons` with `purple_request_field_list_has_icons`
Testing Done:
Compile and run.
Reviewed at https://reviews.imfreedom.org/r/563/
|
|
|
|
|
|
|
| |
Testing Done:
Compiled, ran unit tests, and built the docs
Reviewed at https://reviews.imfreedom.org/r/232/
|
|
|
|
|
|
|
|
|
| |
Fix finch for the gnt.h single include header
Testing Done:
Compiled on linux and ran finch-docs.
Reviewed at https://reviews.imfreedom.org/r/70/
|
|
|
|
| |
some pieces to purpleprivate.h
|
|
|
|
| |
the files that need to include it.
|
| |
|
|
|
|
| |
elements
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* `purple_blist_get_buddy_list` moved to `purple_blist_get_default`
* `purple_blist_get_root` copied to `purple_blist_get_default_root`
* `purple_blist_get_root` takes a list argument now
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
glib-networking >= 2.57.1 uses system certificates by default.
Servers *should* have a proper certificate, and people with
self-signed ones *should* be able to add them to their system.
Being that exceptions to this are extreme edge cases, it *should*
be fine to just use the system certificate store and not worry
about trying to manage certificate trust ourselves. If it turns
out this is needed, we can always add support later, potentially
via a plugin. To that end, this patch drops Finch's certificate
request type.
|
|\ |
|
| |
| |
| |
| |
| | |
If one of purple_strequal() operands is non-NULL, there is no need
to check if other is NULL.
|
| |
| |
| |
| | |
Didn't touch finch/libgnt files
|
| | |
|
| |
| |
| |
| |
| |
| | |
This patch moves the TLS certificate parsing code into a new file,
separate from the TLS trust and storage code (tls-certificate.[ch])
upon Masca's suggestion.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This patch ports Finch to use the new, simpler certificate API.
However, with it, the certificate manager no longer updates if
any certificates are added to the certificate directory in the
purple config, while it's open. GFileMonitor could be used to
replicate this capability if desired.
|
|\ \
| |/ |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
funcs, so rename them.
- purple_savedstatus_[gs]et_type renamed to purple_savedstatus_[gs]et_primitive_type
- purple_account_option_get_type renamed to purple_account_option_get_pref_type
- purple_srv_txt_query_get_type renamed to purple_srv_txt_query_get_query_type
- purple_notify_user_info_entry_[gs]et_type renamed to purple_notify_user_info_entry_[gs]et_entry_type
- purple_plugin_pref_[gs]et_type renamed to purple_plugin_pref_[gs]et_pref_type
- purple_prefs_get_type renamed to purple_prefs_get_pref_type
- purple_proxy_info_[gs]et_type renamed to purple_proxy_info_[gs]et_proxy_type
- purple_request_field_get_type renamed to purple_request_field_get_field_type
- purple_savedstatus_substatus_get_type renamed to purple_savedstatus_substatus_get_status_type
|
| | | |
|
|/ / |
|