mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 12:36:21 +00:00
Merge profanity-im/profanity master (373 commits) into cproof fork.
Source changes (manual merge):
- src/command/: cmd_defs, cmd_funcs, cmd_ac — upstream g_new0, auto_gchar,
launch_editor callback; keep our XEP-0308 LMC, force-encryption, CWE-134
- src/config/: preferences, tlscerts, account — upstream UNIQUE dedup,
dynamic pad capacity; keep our db_history_result_t, scroll logic
- src/database.*: upstream g_new0 memory mgmt; keep our return types,
add null-check fix for msg->timestamp
- src/omemo/, src/pgp/: upstream _gpgme_key_get_email, g_new0;
keep our replace_id in omemo_on_message_send
- src/tools/: editor, http_upload, bookmark_ignore — upstream launch_editor
callback API
- src/ui/: console, window, chatwin, mucwin, inputwin, buffer —
upstream win_warn_needed/sent dedup, PAD_MIN_HEIGHT dynamic pads;
keep our y_start_pos scroll, _truncate_datetime_suffix
- src/xmpp/: message, stanza, presence, roster_list, iq, session —
upstream connection_get_available_resources; keep our LMC stanza logic
- src/common.c: fix format-security (cons_show)
Build system:
- Makefile.am: updated test paths to subdirectory structure, added
test_cmd_ac, test_forced_encryption
- Restored autotools files deleted by upstream meson migration:
bootstrap.sh, autogen.sh, m4/ax_valgrind_check.m4, configure-debug
Tests:
- Unit tests: upstream unittests.c base + our forced_encryption tests
(482 passed, 0 failed across all 4 configurations)
- Functional tests: kept our version (93 passed, 0 failed)
upstream version requires stbbr_for_xmlns not yet in our stabber fork
- Updated test stubs: stub_xmpp.c, stub_omemo.c from upstream
Compile fixes:
- src/common.c: cons_show(errmsg) -> cons_show("%s", errmsg)
- src/database.c: null-check before msg->timestamp access
- src/ui/console.c: size_t -> (int) cast for format width
- src/config/tlscerts.c: %d -> %zu for size_t
43 lines
1.4 KiB
Markdown
43 lines
1.4 KiB
Markdown
---
|
|
name: Bug report
|
|
about: Create a report
|
|
title: ''
|
|
labels: bug
|
|
assignees: ''
|
|
|
|
---
|
|
|
|
<!--- Provide a general summary of the issue in the Title above -->
|
|
|
|
<!--- More than 50 issues open? Please don't file any new feature requests -->
|
|
<!--- Help us reduce the work first :-) -->
|
|
|
|
## Expected Behavior
|
|
<!--- If you're describing a bug, tell us what should happen -->
|
|
<!--- If you're suggesting a change/improvement, tell us how it should work -->
|
|
|
|
## Current Behavior
|
|
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
|
|
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
|
|
|
|
## Possible Solution
|
|
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
|
|
<!--- or ideas how to implement the addition or change -->
|
|
|
|
## Steps to Reproduce (for bugs)
|
|
<!--- Describe, in detail, what needs to happen to reproduce this bug -->
|
|
<!--- Give us a screenshot (if it's helpful for this particular bug) -->
|
|
1.
|
|
2.
|
|
|
|
## Context
|
|
<!--- How has this issue affected you? What are you trying to accomplish? -->
|
|
|
|
## Environment
|
|
* Give us the version and build information output generated by `profanity -v`
|
|
* If you could not yet build profanity, mention the revision you try to build from
|
|
* Operating System/Distribution
|
|
* glib version
|
|
* libstrophe version
|
|
* Some bugs might be due to specific implementation in the server. `/serversoftware example.domain` can be helpful
|