changelog
- Mon, 18 Jan 2021 18:00:51 -0600
- by Arkadiy Illarionov <qarkai@gmail.com> [Mon, 18 Jan 2021 18:00:51 -0600] rev 40715
- zephyr_tzc_escape_msg and zephyr_tzc_deescape_str refactoring
* Move declarations before implementations. Also slightly change `local_zephyr_normalize` signature
* Early return from functions
* Get `strlen(message)` once
* Convert `while` to `for`
* Simplify escaping
* Remove nulling of last char since `newmsg` already initialized to 0's
Testing Done:
Compile.
Reviewed at https://reviews.imfreedom.org/r/434/
- Mon, 18 Jan 2021 00:05:33 -0600
- by Gary Kramlich <grim@reaperworld.com> [Mon, 18 Jan 2021 00:05:33 -0600] rev 40714
- Make sure all of our source files and ui files are marked for translation
Testing Done:
Ran `ninja pidgin-pot` and verified no errors.
Reviewed at https://reviews.imfreedom.org/r/431/
- Mon, 18 Jan 2021 00:05:05 -0600
- by Gary Kramlich <grim@reaperworld.com> [Mon, 18 Jan 2021 00:05:05 -0600] rev 40713
- Greatly simplify the nick color generation and properly detect dark themes.
Instead of randomly adjusting colors based on some seed colors we now hash a user's name and use the first 2 bytes of the digest to determine the hue to color their nick. We then adjust it according to the background color.
This isn't perfect as you can see in the screen shot, but there are some tweaks we can do later to account for that. I skipped them for now as this gets us 90% of the way there with like 50% of the work.
Testing Done:
Compiled and ran locally with Adwaita, Adwaita-Dark, and Arc-Dark themes.
Bugs closed: PIDGIN-17463
Reviewed at https://reviews.imfreedom.org/r/423/
- Fri, 15 Jan 2021 01:17:42 -0600
- by Gary Kramlich <grim@reaperworld.com> [Fri, 15 Jan 2021 01:17:42 -0600] rev 40712
- Remove some dead meson code
Testing Done:
None, it's dead code.
Reviewed at https://reviews.imfreedom.org/r/433/
- Fri, 15 Jan 2021 01:12:13 -0600
- by Gary Kramlich <grim@reaperworld.com> [Fri, 15 Jan 2021 01:12:13 -0600] rev 40711
- Fix a number of issues with the pidgin api reference
Testing Done:
Build the docs locally, confirmed fixes in the output.
Reviewed at https://reviews.imfreedom.org/r/432/
- Fri, 15 Jan 2021 00:11:21 -0600
- by Gary Kramlich <grim@reaperworld.com> [Fri, 15 Jan 2021 00:11:21 -0600] rev 40710
- Fix a few things that were throwing g_warning's during startup
Testing Done:
Compiled and ran locally with `G_DEBUG=fatal-warnings`.
Reviewed at https://reviews.imfreedom.org/r/429/
- Thu, 14 Jan 2021 22:35:42 -0600
- by Gary Kramlich <grim@reaperworld.com> [Thu, 14 Jan 2021 22:35:42 -0600] rev 40709
- Clean up purple_status_set_active_with_attrs_dict to handle a NULL attrs dict
Testing Done:
Compiled and ran locally with `G_DEBUG=fatal-warnings` to verify that the `g_return_if_fails` are no longer triggering.
Reviewed at https://reviews.imfreedom.org/r/428/
- Thu, 14 Jan 2021 22:33:49 -0600
- by Gary Kramlich <grim@reaperworld.com> [Thu, 14 Jan 2021 22:33:49 -0600] rev 40708
- Move the PurpleProtocolServer interface to its own file.
Testing Done:
Compiled and ran locally. Connected with bonjour and xmpp without issues.
Bugs closed: PIDGIN-17458
Reviewed at https://reviews.imfreedom.org/r/418/
- Thu, 14 Jan 2021 21:20:10 -0600
- by Gary Kramlich <grim@reaperworld.com> [Thu, 14 Jan 2021 21:20:10 -0600] rev 40707
- Fix some warnings about missing braces by moving to struct initializers
Testing Done:
Compiled locally verified the warnings were no longer present.
Reviewed at https://reviews.imfreedom.org/r/427/
- Thu, 14 Jan 2021 20:34:32 -0600
- by Gary Kramlich <grim@reaperworld.com> [Thu, 14 Jan 2021 20:34:32 -0600] rev 40706
- A handful of random doc fixes
Some of these are direct copies from the FarStream docs.
Testing Done:
Compiled, ran, and viewed the docs locally.
Reviewed at https://reviews.imfreedom.org/r/425/