|
|
58dd89be40
|
refactor: optimize hash table iterations and fix security issues #58
CI Code / Check coding style (pull_request) Successful in 38s
CI API Docs / Test Python API Documentation Generation (pull_request) Has been cancelled
CI API Docs / Test C API Documentation Generation (pull_request) Has been cancelled
CI Code / Check spelling (pull_request) Successful in 49s
CI Code / Linux (ubuntu) (pull_request) Successful in 6m22s
CI Code / Linux (debian) (pull_request) Successful in 9m3s
CI Code / Code Coverage (pull_request) Successful in 9m16s
CI Code / Linux (arch) (pull_request) Successful in 11m20s
- refactor(core): replace g_hash_table_get_keys with g_hash_table_iter_init
* Eliminates temporary GList allocations
* Improves iteration performance
* Affected: connection.c, cmd_defs.c, cmd_funcs.c, omemo.c, gpg.c,
disco.c, form.c, autocompleters.c, capabilities.c, callbacks.c
- fix(xmpp): correct queued_messages loop in connection.c:1031
* Remove incorrect NULL check that prevented message storage
* calloc zeros array, causing loop to skip immediately
* Fixes dropped messages during reconnection with SM enabled
- fix(ui): prevent format string vulnerabilities in cons_show calls
* Replace cons_show(variable) with cons_show("%s", variable)
* Protects against format string attacks if variables contain %
* Updated instances across cmd_funcs.c, connection.c, ox.c,
console.c, core.c
|
2026-02-04 16:19:41 +03:00 |
|
Michael Vetter
|
057c9ad776
|
Add config.h in files were it was missing
Related to https://github.com/profanity-im/profanity/issues/1512
|
2021-03-26 19:54:22 +01:00 |
|
Michael Vetter
|
a2726b6a7d
|
Apply coding style
|
2020-07-07 14:18:57 +02:00 |
|
Michael Vetter
|
a4cadf78fa
|
Revert "Apply coding style"
This reverts commit 9b55f2dec0.
Sorting the includes creates some problems.
|
2020-07-07 13:53:30 +02:00 |
|
Michael Vetter
|
9b55f2dec0
|
Apply coding style
Regards https://github.com/profanity-im/profanity/issues/1396
|
2020-07-07 09:43:28 +02:00 |
|
Michael Vetter
|
46fd7150e5
|
Add vim modeline
|
2019-11-13 12:11:05 +01:00 |
|
Michael Vetter
|
57ebb7cfa6
|
Destroy hash table ein autocompleters_destroy()
Regards https://github.com/profanity-im/profanity/issues/1019
|
2019-10-06 17:29:35 +02:00 |
|
Michael Vetter
|
706af9a900
|
Update copyright to include 2019
|
2019-01-22 11:31:45 +01:00 |
|
James Booth
|
250e972b7a
|
Update copyright
|
2018-01-21 15:00:02 +00:00 |
|
James Booth
|
6b830277a6
|
Allow previous autocompletion with shift tab
|
2017-04-01 00:27:11 +01:00 |
|
James Booth
|
68a3daedb9
|
Update Copyright
|
2017-01-28 17:24:22 +00:00 |
|
James Booth
|
dcc2123ec4
|
Allow filepath autocompletion in plugins
closes #858
|
2016-10-10 22:28:23 +01:00 |
|
James Booth
|
e8fc80f5c1
|
Update GPL link in headers
|
2016-07-24 01:14:49 +01:00 |
|
James Booth
|
71178b3696
|
Store plugin completers by plugin name
|
2016-07-05 21:46:36 +01:00 |
|
James Booth
|
2f432a942d
|
Plugins: Added completer_clear
|
2016-04-07 23:25:47 +01:00 |
|
James Booth
|
bfdc3b8807
|
Plugins: Added completer_remove
|
2016-04-07 21:25:12 +01:00 |
|
James Booth
|
1075f07ff5
|
Parse plugin args with freetext parser
Also allow adding to plugin autocompleters
|
2016-03-15 22:32:44 +00:00 |
|
James Booth
|
72f940360d
|
Free GLists in plugin autocompleters
|
2016-03-07 18:32:32 +00:00 |
|
James Booth
|
3dd5c3b2c3
|
Updated copyright
|
2016-02-14 23:12:01 +00:00 |
|
James Booth
|
41fe8c22b1
|
Added C plugin code from plugins branch
|
2016-02-14 22:28:55 +00:00 |
|