Michael Vetter
03fbf2e77a
Remove unused colour_string_t struct
2019-08-23 14:59:26 +02:00
Michael Vetter
7d7a49f132
theme: print to log not to console
...
Seems this can cause trouble in case we cant use the theme properly.
2019-08-23 14:56:29 +02:00
Michael Vetter
e408e988a7
color: set capacity in unittest case
...
Fix https://github.com/profanity-im/profanity/issues/1178
2019-08-23 14:54:55 +02:00
Michael Vetter
bad244fc95
Add color files to unittest sources
2019-08-23 14:35:21 +02:00
Michael Vetter
c2a565c2ec
Notify trying to load 256 colour theme in incapable terminal
2019-08-23 14:24:44 +02:00
Michael Vetter
42fb1935c4
Add 256 colour info to /theme colours
2019-08-23 14:08:00 +02:00
Michael Vetter
56c77678f2
color: Include log.h
2019-08-23 14:07:41 +02:00
Michael Vetter
023e2dc387
Reset color pairs when new theme is loaded
...
We only need the colour pairs initialized that the theme actually uses.
It's otherwise possible that we run over the max value of initialzed
pairs.
2019-08-23 13:54:09 +02:00
Michael Vetter
df1b19ecec
Reformat color.c
2019-08-23 13:48:42 +02:00
Michael Vetter
8a04496c79
Add header to color.h
2019-08-23 13:47:41 +02:00
Michael Vetter
0b9880f7a0
Use log_error() instead of g_warning()
2019-08-23 13:46:14 +02:00
Michael Vetter
f0495affa4
Merge pull request #1177 from aaptel/colors
...
Add 256 colors support
2019-08-23 13:32:56 +02:00
Aurelien Aptel
269afa53b4
Add 256 colors support
...
Themes can now use color names from the xterm color name list [1].
1: https://jonasjacek.github.io/colors/
2019-08-23 13:25:45 +02:00
Michael Vetter
ab60a61fb9
omemo: use lower case to log info
2019-08-23 10:18:20 +02:00
Michael Vetter
976c2ec524
Fix typo in OMEMO materials log
2019-08-23 10:14:04 +02:00
Michael Vetter
d43bd8f253
Add comment about dead assignment in callback_add_timed
2019-08-23 10:13:45 +02:00
Michael Vetter
62103665e2
Remove unused code in cmd_room() about win num
...
There is actually no reason to get the window number here.
2019-08-23 10:04:54 +02:00
Michael Vetter
ef86ec6240
Move ISSUE_TEMPLATE into github folder
2019-08-23 09:57:14 +02:00
Michael Vetter
dacbe25d93
Remove duplicate code in roster_update
...
Part of what `roster_update()` does manually is actually done in
`roster_change_name()`.
2019-08-23 09:50:53 +02:00
Michael Vetter
13088e0a1a
Use fixed email instead of PACKAGE_BUGREPORT
2019-08-23 09:40:54 +02:00
Michael Vetter
75c13d4922
Merge pull request #1174 from weiss/check-muc-delay
...
Don't render (all) delayed messages as MUC history
2019-08-21 08:11:27 +02:00
Michael Vetter
1e873e1f40
Merge pull request #1175 from mdosch/master
...
Added solarized theme
2019-08-20 19:50:06 +02:00
Martin Dosch
637708151c
Add solarized theme
2019-08-20 19:48:28 +02:00
Holger Weiß
3228ab47d3
Don't render (all) delayed messages as MUC history
...
Double-check that a <delay/> tag on a groupchat message was actually
added by the MUC service (rather than the sending client) before
assuming it was received from the MUC history.
Fixes #1173 .
2019-08-20 17:51:26 +02:00
Michael Vetter
d8d6aa4b88
Merge pull request #1167 from profanity-im/feature/specify-config-file
...
Possibility to specify alternative config file
2019-08-02 16:22:12 +02:00
Michael Vetter
10ca3e8c31
Possibility to specify alternative config file
...
Introduce `profanity -c` to specify an alternative config file.
2019-08-02 15:55:47 +02:00
Michael Vetter
25501a5d8a
Improve sv_ev_roster_received() last activity check
...
We don't need to do all the timing stuff if last activity is disabled
anyways.
2019-08-02 15:52:49 +02:00
Michael Vetter
5d711639b0
Merge pull request #1166 from profanity-im/fix/1165-subscribed-msg
...
Don't print subscribed message if contact is already in roster
2019-08-02 12:48:01 +02:00
Michael Vetter
658e36a066
Add 'save' command to save preferences
...
Most applications have an 'apply changes' button. This makes testing
easier too.
Implement https://github.com/profanity-im/profanity/issues/1164
2019-08-02 10:23:13 +02:00
Michael Vetter
53c3115976
Don't print subscribed message if contact is already in roster
...
This occured with a user running Cisco Jabber. It seems this server
sends repeated presence subscribed stanzas. And although I find this
strange according to RFC this seems to be ok.
So let's filter them and only display in the console output and to the
log. But don't open seperate windows.
Fix https://github.com/profanity-im/profanity/issues/1165
2019-08-01 20:48:23 +02:00
Michael Vetter
d4150eb7d1
Update website info in release guide
2019-07-31 12:02:09 +02:00
Michael Vetter
1ea0e32c82
Set configure to devel
2019-07-31 12:00:58 +02:00
Michael Vetter
4dba1c1f70
Add 0.7.0 release date to Changelog
2019-07-31 11:06:21 +02:00
Michael Vetter
abde81d0d9
Release 0.7.0
2019-07-31 10:56:03 +02:00
Michael Vetter
ad0a1efd8c
Merge pull request #1163 from paulfariello/hotfix/command-exec
...
Fix memleak in /cmd exec
2019-07-30 13:50:25 +02:00
Paul Fariello
b3e59e1fb6
Fix memleak in /cmd exec
2019-07-30 13:35:08 +02:00
Michael Vetter
1ec87ffd8f
Merge pull request #1161 from profanity-im/fix/omemo-leak
...
Fix memleaks in OMEMO
2019-07-30 11:22:41 +02:00
Michael Vetter
6eda6bd14a
Merge pull request #1162 from paulfariello/hotfix/command-exec
...
Fix command form submit
2019-07-30 11:04:01 +02:00
Paul Fariello
5e61bc08dd
Fix command form submit
...
Command form userdata were freed by iq_id_handler.
We should now free the command ourself.
2019-07-30 10:22:57 +02:00
Michael Vetter
2592216084
Add CONTRIBUTING.md
2019-07-23 09:25:17 +02:00
Michael Vetter
1b2e71faac
Fix memleak in save_identity()
...
I don't see a reason for strdupping here.
2019-07-23 08:34:46 +02:00
Michael Vetter
a9db705faa
Fix potential leak in omemo_untrust()
2019-07-23 08:34:46 +02:00
Michael Vetter
fade378fee
Dont use not needed strdup() in save_identity()
...
I don't see a reason for strdupping here.
2019-07-23 08:34:46 +02:00
Michael Vetter
bb08c7270d
Make sure result is always set for otr_get_policy()
2019-07-23 08:03:39 +02:00
Michael Vetter
41bf7f4b22
Merge pull request #1160 from profanity-im/fix/1159-groupaddsegfault
...
Fix segfault in group add/remove command
2019-07-22 20:16:27 +02:00
Michael Vetter
3f9047ff77
Add 1154 to CHANGELOG
2019-07-22 15:39:22 +02:00
Michael Vetter
9f0a40819f
Fix memleak in roster_change_name()
2019-07-22 15:37:41 +02:00
Michael Vetter
41b54a5c14
Fix 3 leaks in cmd_funcs
2019-07-22 15:26:32 +02:00
Michael Vetter
27952cb16c
Fix several memleaks im cmd_ac.c
...
Exiting without freeing in some cases.
2019-07-22 14:59:20 +02:00
Michael Vetter
46ddf2c2f4
Fix memleak in roster_remove
...
strdup() is not needed here but will actually lead to a memleak.
2019-07-22 14:47:45 +02:00