Michael Vetter
d1f388cbd7
Add comment about statusbar.current
2019-09-29 15:47:11 +02:00
Michael Vetter
d9fb5a896a
Add statusbar.current to template
2019-09-29 15:31:24 +02:00
Michael Vetter
30875a9069
Fix typo conact -> contact
2019-09-29 15:07:32 +02:00
Michael Vetter
a4e9d9b9e2
Use helper function for cmd_status
2019-09-29 15:07:08 +02:00
Michael Vetter
b961ad29c7
Allow pasing a jid to info command in chat window
...
If we pass a jid/nick to `/info` in a chat window we will still get the
output. But on the console window.
Regards https://github.com/profanity-im/profanity/issues/1194
2019-09-29 15:04:19 +02:00
Michael Vetter
0f732466f8
Allow pasing a jid to status command in chat window
...
Regards https://github.com/profanity-im/profanity/issues/1194
2019-09-29 14:58:25 +02:00
Michael Vetter
49b69c883f
Merge pull request #1199 from mdosch/master
...
Fix solarized dark theme
2019-09-25 22:35:01 +02:00
mdosch
82f343c0fc
Fix solarized dark theme
...
This fixes a whitespace issue that was probably introduced
by using the github editor.
2019-09-25 19:02:19 +02:00
Michael Vetter
146fe8913b
Merge pull request #1198 from mdosch/patch-6
...
Update theme solarized dark
2019-09-25 11:59:32 +02:00
Martin
95f365565b
Update theme solarized dark
...
The theme `solarized dark` is updated to play well with
the newly added `statusbar.active` from #1195
2019-09-25 11:25:23 +02:00
Michael Vetter
3ddcfb194a
Set version to 0.7.1
2019-09-24 16:35:31 +02:00
Michael Vetter
9028288143
Merge pull request #1197 from mdosch/patch-5
...
Fix typo
2019-09-24 16:33:35 +02:00
Michael Vetter
367ef570a4
Merge pull request #1195 from quite/statusbarcurrent
...
Add coloring of statusbar.current tab in view
2019-09-24 16:29:53 +02:00
Martin
29f044bb1e
Fix typo
...
`Fix crash when jid has no not part` should probably mean `Fix crash when jid has no node part`.
2019-09-24 12:37:00 +02:00
Daniel Lublin
641410f6bd
Add coloring of statusbar.current tab in view
...
This theme color applies to the tab title text of the statusbar tab that
is currently shown.
The (somewhat confusingly named) `statusbar.active` theme color now
applies to all other tabs (before, it applied to all tabs).
Coloring of a tab that is highlighted/has new messages is done as before
using the `statusbar.new` theme color.
The default color is set to `cyan`, and thus causes no visible change
for users -- until modified.
2019-09-24 10:35:30 +02:00
Michael Vetter
8e76283f97
Add 0.7.1 changelog
2019-09-24 09:07:10 +02:00
Michael Vetter
fd161d92ed
Merge pull request #1192 from profanity-im/issue1186
...
log: set nonblocking mode for stderr
2019-09-13 13:54:12 +02:00
Dmitry Podgorny
3ecb5424ae
log: set nonblocking mode for stderr
...
Glib can print error messages to stderr and blocking write freezes
Profanity if the buffer is full. Move stderr to nonblocking mode
in hope that glib will skip printing on EWOULDBLOCK error. In this
case we lose some error messages, but Profanity continues working.
2019-09-13 11:48:31 +00:00
Michael Vetter
000650a908
Merge pull request #1189 from mdosch/patch-4
...
solarized: Set color for roster.header to default
2019-09-12 22:01:32 +02:00
Martin
5dbef8ad54
Set color for roster.header to default
2019-09-12 22:00:17 +02:00
Michael Vetter
6cf06dc516
Log alleged roster push to file
...
https://gultsch.de/dino_multiple.html mentions CVE-2019-16235, CVE-2019-16236 and CVE-2019-16237.
CVE-2019-16235: Is checking the from in carbon messages. We do that.
CVE-2019-16236: Is checking the from in roster pushes. We do that but
didn't log it yet.
CVE-2019-16237: Is checking the form in MAM messages. We don't support
them yet.
2019-09-12 20:55:16 +02:00
Michael Vetter
385df53282
Merge pull request #1187 from mdosch/patch-3
...
Add color for main.text.history
2019-09-12 10:20:54 +02:00
Martin
49271e46fc
Add color for main.text.history
...
Use the color schemes default for history.
2019-09-11 18:49:53 +02:00
Michael Vetter
2c97a48418
Print history color in theme properties
...
Also print `main.text.history` setting when `/theme properties' is run.
2019-09-11 13:21:02 +02:00
Michael Vetter
e10f4d4bb0
Set default color for main.text.history
...
Might be related to https://github.com/profanity-im/profanity/issues/1186
2019-09-11 13:20:32 +02:00
Michael Vetter
aa0f497975
Allow colorization of history messages
...
History was always printed with `THEME_DEFAULT` we now use
`THEME_TEXT_HISTORY` which is accesible in theme files via
`main.text.history`.
Fix https://github.com/profanity-im/profanity/issues/1170
2019-09-10 11:22:30 +02:00
Michael Vetter
09b6fc9aaa
Log 1:1 messages from other clients also to file
...
Carbons where not logged so far.
Fix https://github.com/profanity-im/profanity/issues/1181
2019-09-04 10:28:52 +02:00
Michael Vetter
09c5f38f11
Set message->plain in carbon case
...
message->plain should always contain something. In the case of the
carbons we forgot to set if rom the body in case it's empy.
2019-09-04 10:27:03 +02:00
Michael Vetter
f9addf4f53
Merge pull request #1183 from profanity-im/issue1153
...
Don't crash if source jid doesn't contain the node part
2019-09-02 09:42:02 +02:00
Dmitry Podgorny
8c69d7105b
Don't crash if source jid doesn't contain the node part
...
Profanity uses the node part of a JID as display name for a tab. If such
a JID doesn't contain the node part, Profanity crashes on NULL pointer
dereference.
In the above case, use barejid which is just a domain. Fixes #1153 .
2019-08-26 12:46:30 +03:00
Michael Vetter
c100897c9d
Hardcode James email adress in info message
...
Dont rely on PACKAGE_BUGREPORT being James' mail.
2019-08-24 18:07:24 +02:00
Michael Vetter
726eee2a66
Make sure memory in color_pair_cache_reset() was allocated.
...
Just to be on the safe side.
Probably only relevant for unit tests where ncurses vars are not
initialized with real values.
Fix unit tests on all platforms.
2019-08-24 18:04:02 +02:00
Michael Vetter
77392e4dc6
Merge pull request #1180 from mdosch/patch-2
...
Update colors in solarized-dark theme
2019-08-24 10:35:03 +02:00
Martin
3c59f985e5
Update colors in solarized-dark theme
2019-08-24 08:24:12 +00:00
Michael Vetter
5fcd401749
Merge pull request #1179 from mdosch/patch-1
...
Change orange to orange1
2019-08-23 15:37:23 +02:00
Martin
db4b30fd83
Change orange to orange1
...
`orange` is no allowed color[^1] so it is replaced by `orange1`.
[^1]:https://jonasjacek.github.io/colors/
2019-08-23 15:14:47 +02:00
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