Commit Graph
22 Commits
Author SHA1 Message Date
manuelcortez 3b86a70a4c feat: add source runtime diagnostics 2026-08-12 14:07:16 -06:00
Juanjo M b6681df03c Fix "Unknown image format" error when showing or updating profiles
wx only decodes the image formats its own handlers support. Mastodon
instances commonly serve avatars and headers as WebP, so wx.Image failed
and raised a modal "Unknown image format" dialog, which blocked the user
from updating their profile or from reading someone's profile.

Images are now decoded with Pillow and their raw pixel data handed over
to wx, through a new mysc.image_utils module shared by the Mastodon and
Bluesky profile dialogs. Undecodable or unreachable images log the
problem and leave an empty placeholder instead of raising.

Also accept WebP and JPEG files in the header/avatar file pickers, warn
the user with a common message dialog when the picked file cannot be
read, and fix the parentless wx.StaticBitmap placeholders that were
created when a profile image could not be downloaded.
2026-08-02 15:08:25 +01:00
manuelcortez 503bf72b11 change: Removed some settings that are no longer needed from our global settings dialog. 2024-05-22 17:42:23 -06:00
manuelcortez 39e1fb017c Made code indentation to comply with PEP8 2021-06-16 16:18:41 -05:00
manuelcortez 2f278b7f3c Removed yet another reference to Twython 2021-01-27 13:30:37 -06:00
manuelcortez e2931e96eb Remove references to Twython. #351 2021-01-22 10:55:08 -06:00
manuelcortez 084fa1894c Restart TWBlue gracefully 2020-05-29 09:49:57 -05:00
manuelcortez ef689d04fc Initial Python 3 compatible code 2019-06-06 11:52:23 -05:00
manuelcortez e24543be12 Use platform_utils as an external dependency 2019-01-15 17:54:29 -06:00
manuelcortez 5f7f176892 Code cleanup 2017-11-20 00:38:14 -06:00
Manuel Eduardo Cortéz Vallejo 0f2bd2a9e1 Fixed a typo 2016-10-08 11:46:25 -05:00
manuelcortez 378d277a98 Fixed some bugs related to extended tweets 2016-10-03 22:54:54 -05:00
manuelcortez 792655e299 Improved stream reconnection 2015-10-14 17:30:41 -05:00
manuelcortez aa5977f324 Fixes for the V 9.4 snapshot 2015-06-11 16:09:46 -05:00
manuelcortez c50c42b895 Updating some translation strings 2015-05-02 17:22:28 -05:00
manuelcortez 51957125c1 Global settings works, basic support for account settings 2015-01-25 02:38:17 -06:00
manuelcortez 7b1f2f9482 Basic invisible interface support 2015-01-19 12:15:57 -06:00
manuelcortez fd70bedc05 Adding log information to events 2015-01-18 17:19:39 -06:00
manuelcortez bd1b0b5e32 Some stream improvements 2015-01-13 12:31:37 -06:00
manuelcortez 4979b2aa66 some useful functions 2015-01-08 08:01:45 -06:00
manuelcortez f54d9394b7 The next generation branch has been added 2014-11-12 20:41:29 -06:00
manuelcortez 1af4a8b291 Putting all the code from the current master branch of TWBlue 2014-10-27 16:29:04 -06:00