Repository navigation
Please check our blog to read the post for this specific release:
https://profanity-im.github.io/blog
We need your help, please donate to keep Profanity alive:
https://profanity-im.github.io/donate
3 people contributed to this release: onf, @YHNdnzj and @jubalh.
Features:
- Acknowledge new messages on tray alert click (#2238)
- Add /form clear to unset form fields (#2242)
- Add /plugins enable and disable (#2248)
- Add avatar_get_path to locate cached avatars (#2238)
- Add desktop file (#2249)
- Add option to automatically update avatars (#2238)
- Add priority-ordered plugin execution pipeline (#2248)
- Add scalable application icon and use it for notifications (#2238)
- Add tab autocompletion for /plugins uninstall (#2248)
- Complete all URLs across all window types (#2255, #2212)
- Configure Lua package path for local plugin modules (#2248)
- Decouple account readiness from component discovery (#2251)
- Decouple plugin installation from loading (#2248)
- Display contact avatar in desktop notification (#2238)
- Don't reopen log file when changing log level (#2240)
- Establish contact sessions lazily on demand (#2259)
- Fetch bundles for new PEP devices in blind trust mode (#2259)
- Implement Blind Trust Before Verification for blind trust mode (#2259)
- Implement Lua plugin engine (#2248)
- Load local history immediately when opening chat windows with MAM (#2243)
- Modernize vCard editing using forms (#2242)
- Redesign Lua API into idiomatic namespaces (#2248)
- Replace GTK tray icon with StatusNotifierItem over D-Bus (#2236)
- Replace libnotify with dbus desktop notifications (#2237)
- Show current settings when /log is called without arguments (#2240)
- Support global plugin search path (#2248)
- Support joining room with nick in JID (#2257)
- Surface Lua hook execution errors in UI console (#2248)
- Track component discovery to prevent premature errors (#2251)
- Drop /paste command and clipboard module (#2234)
- Drop /script command (#2245, #2241)
- Drop system wide idle detection (#2233)
- Remove C plugin support (#2248)
- Remove Python plugin support (#2248)
Bug Fixes:
- Avoid memory leaks on Lua error in completer functions (#2261)
- Avoid mutating Lua string memory in prof.send_line (#2261)
- Check MUC room features for groupchat MAM support (#2251)
- Clean up MAM loading indicator and fix startup query sequence (#2243)
- Clean up plugin autocompleters on unload (#2261)
- Clean up registered callbacks if plugin fails to load (#2261)
- Clear GPathBuf in recursive plugin installation (#2261)
- Correct resource parameter in redacted OMEMO chat logging (#2246)
- Correct return type of plugin_settings_string_list_add in header (#2246)
- Do not free roster-owned string in get_barejid_from_roster (#2261)
- Do not leak disco#info ID handler on lookup failure (#2251)
- Do not request bundles if session already exists (#2259)
- Don't stall MAM and bookmarks on disco errors (#2247, #2235)
- Drop nonnull attribute from omemo_receive_message (#2254)
- Eliminate unreachable code (#2246)
- Forward declare Bookmark in bookmark_ignore.h (#2246)
- Free PluginsInstallResult in plugins_free_install_result (#2231)
- Free new_groups list in roster group management (#2230)
- Only start OMEMO session for MUC member if OMEMO is active (#2258)
- Prevent commands from falling through to MUC nick completion (#2260)
- Prevent crash on invalid room JID in rosterwin (#2257)
- Prevent double free in OMEMO bundle request and publish
- Prevent leak of target_path in plugins_install (#2231)
- Properly start sessions after acquiring device id (#2258)
- Remove disco features on plugin unload (#2261)
- Respect roster.count.zero preference (#2246)
- Save vCard photos using bare JID (#2238)
- Synchronize api_win_create callback parameter types (#2246)
- Teardown callbacks before closing Lua states on shutdown (#2261)
- Trigger wins_omemo_trust_changed() if firstusage gets skipped (#2220)
- Trim resource from JID in
/roster add(#2257) - Use g_free for settings string and auto_gchar for filter hooks (#2261)
- Validate JID in roster handlers (#2257)
- Validate constructed room JID in cmd_join (#2257)
- Validate room JID in bookmark handling (#2257)
- Validate room JID in muc_join and presence handlers (#2257)
Build System:
- Add -Wduplicated-branches to debug compiler flags (#2246)
- Add -Wduplicated-cond to debug compiler flags (#2246)
- Add -Wlogical-op, -Wundef, and -Winit-self to debug flags (#2246)
- Add -Wmissing-prototypes to debug compiler flags (#2246)
- Add -Wnull-dereference to debug compiler flags (#2246)
- Add -Wstrict-prototypes to debug compiler flags (#2246)
- Bump glib to >= 2.80.0 (#2246)
- Require glib >= 2.68 (#2228)
- Stop silencing deprecated declarations (#2246)
CI:
Documentation:
- Explain avatar integration in /help avatar and /help notify (#2238)
- Fix formatting in /help blocked (#2223)
- Improve /autoaway command description (#2239)
- Improve /executable command description (#2239)
- Improve /form command description (#2239)
- Improve /tls command description (#2239)
- Improve /wrap command description (#2239)
- Link to new community-plugins
- Remove plugins repo from readme (#2248)
- Update /help plugins description (#2248)
- Use .EX/.EE for code blocks in profanity-ox-setup man page (#2227)
Performance Improvements:
- Implement O(1) bitmask hook dispatching (#2248)
- Implement O(1) command dispatch lookup (#2248)
- Use GPathBuf for in-place extension searching (#2246)
- Use GPathBuf push and pop during recursive directory walk (#2246)
Refactorings:
- Add explicit void to unprototyped function declarations (#2246)
- Avoid allocating in plugin API when CRLF absent (#2228)
- Avoid duplicating input string in _cmd_execute_alias (#2229)
- Avoid duplicating search_str in autocomplete_update (#2229)
- Avoid duplicating tokens in _parse_args_helper (#2229)
- Avoid duplicating user string in cmd_connect (#2226)
- Avoid heap allocations on titlebar redraw (#2226)
- Centralize application icon lookup (#2238)
- Check layout type before downcasting in occupantswin and rosterwin (#2256)
- Clarify unsupported MAM message with context (#2251)
- Do not apply GINT_TO_POINTER on pointer (#2221)
- Do not convert unsigned to pointer for printf (#2221)
- Don't allocate in get_mentions if it isn't needed (#2229)
- Ensure not to request empty device list over and over again (#2258)
- Generalize parameter autocomplete quote handling (#2230)
- Have a new line in about text (#2252)
- Improve vcard display (#2242)
- Include corresponding header files in source files (#2246)
- Include target JID in MAM error message (#2251)
- Include target JID in MAM verification error message (#2251)
- Introduce files_sanitize_jid using g_string_replace (#2228)
- Make status_bar_active and status_bar_new accept const identifier (#2226)
- Mark internal functions as static (#2246)
- Merge /mam into /history command (#2243)
- Pass ProfMucWin directly to _who_room (#2256)
- Pre-calculate and cache statusbar tab display names (#2226)
- Properly send on demand avatar requests (#2238)
- Remove str_replace (#2228)
- Rename received_disco_items to feature_retrieval_completed (#2251)
- Replace /avatar disable with /avatar unset (#2238)
- Replace FREE_SET_NULL and GFREE_SET_NULL with g_clear_pointer (#2246)
- Replace custom ARRAY_SIZE macro with glib G_N_ELEMENTS (#2246)
- Replace key iteration with GHashTableIter (#2220)
- Replace polymorphic callbacks with direct Lua registry refs (#2248)
- Return borrowed const pointer in get_show_char and get_enc_char (#2226)
- Return borrowed const pointer in win_get_tab_identifier (#2226)
- Suppress redundant device id validation for firstusage (#2220)
- Switch blind trust to _omemo_trust() as well (#2258)
- Use GPathBuf for theme search (#2246)
- Use GPathBuf in files_file_in_account_data_path (#2246)
- Use format_call_external_argv for vcard photo viewer command (#2228)
- Use g_build_filename for path construction (#2246)
- Use g_clear_fd for file descriptor cleanup (#2246)
- Use g_clear_pointer for UI teardown and window destruction (#2246)
- Use g_clear_pointer for XMPP, crypto, and plugin lifecycle (#2246)
- Use g_clear_pointer for command and autocomplete (#2246)
- Use g_clear_pointer for config, theme, and tools (#2246)
- Use g_markup_escape_text in command_docgen (#2228)
- Use g_pattern_spec_match_string instead of deprecated g_pattern_match (#2246)
- Use g_set_str for string setters (#2246)
- Use g_shell_quote in macOS terminal notifier (#2228)
- Use g_string_free_and_steal instead of g_string_free (#2246)
- Use g_string_replace for avatar and vcard photo filenames (#2228)
Cleanup:
- Do not print "vCard refreshed" on login (#2252)
- Drop dead code in http_upload (#2232)
- Drop dead code in stanza.c (#2232)
- Drop get_file_paths_recursive and simplify plugins_install_all (#2231)
- Drop is_dir in favor of g_file_test (#2231)
- Drop is_regular_file in favor of g_file_test (#2231)
- Drop memcheck struct members and assert (#2256)
- Drop obsolete locale option helpers in preferences (#2232)
- Drop unused aesgcm_download_cancel_processes wrapper (#2246)
- Drop unused cons_debug helper (#2246)
- Drop unused cons_show_room_list helper (#2246)
- Drop unused function prototypes (#2232)
- Drop unused functions in accounts.c (#2232)
- Drop unused inp_size variable in core.c (#2246)
- Drop unused sender key store stubs (#2246)
- Drop unused stanza attachment functions (#2232)
- Drop unused stanza_create_omemo_devicelist_subscribe (#2246)
- Drop unused ui_win_has_attention helper (#2246)
- Drop unused win_print_http_transfer wrapper (#2246)
- Drop unused wins_get_quote helper (#2246)
- Fix src/common char vs gchar (#2230)
- Improve
/logcommand description (#2240) - Remove obsolete vcard code (#2246)
- Remove redundant /plugins update and /plugins reload commands (#2248)
- Remove redundant branch in omemo_automatic_start (#2254)
- Rename tray status icons to describe their function (#2238)
- Simplify get_expanded_path (#2231)
- Simplify icon path resolution (#2231)
- Switch to gboolean (#2230)
- Use GLib types and allocators in statusbar (#2226)
- Use define for development status (#2236)
- Use g_ascii_string_to_signed in strtoi_range (#2231)
- Use g_random_int_range in get_random_string (#2231)
- Use gchar in XEPs (#2230)
- Use gchar in basic config helpers (#2230)
- Use gchar in bookmark, clipboard, editor and spellchek modules (#2230)
- Use gchar in commands (#2230)
- Use gchar in config: account, prefs and tls (#2230)
- Use gchar in connection and stanza (#2230)
- Use gchar in event handlers (#2230)
- Use gchar in inputwin (#2230)
- Use gchar in layout and window list (#2230)
- Use gchar in logging and database (#2230)
- Use gchar in messaging and chat (#2230)
- Use gchar in network tools (#2230)
- Use gchar in omemo (#2230)
- Use gchar in otr (#2230)
- Use gchar in parser and autocomplete (#2230)
- Use gchar in pgp and ox (#2230)
- Use gchar in plugins (#2230)
- Use gchar in profanity.c (#2230)
- Use gchar in roster and contacts (#2230)
- Use gchar in some more places (#2230)
- Use gchar in statusbar, titlebar, and notifications (#2230)
- Use gchar in theme (#2230)
- Use gchar in windows (#2230)
- Use glib xdg directory functions in files.c (#2231)
- Use realpath in _get_file_or_linked (#2231)
Tests:
- Add basic functional test for Lua plugins (#2248)
- Add functional test for custom window lifecycle and interactive input (#2248)
- Add functional test for disco feature advertisement (#2248)
- Add functional test for dynamic command autocompletion (#2248)
- Add functional test for error sandboxing and crash immunity (#2248)
- Add functional test for message filter pipeline chaining (#2248)
- Add functional test for periodic timers and clean unload (#2248)
- Add functional test for persistent settings across reloads (#2248)
- Add functional test for stanza interception and suppression (#2248)
- Add functional test for startup autoloading via profrc (#2248)
- Add functional tests for priority ordering and tie-breaking (#2248)
Chores: