1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Commit Graph

315 Commits

Author SHA1 Message Date
Simon Effenberg
34148e2101 adding preference option for dynamic input blocking
/inpblock is now having subcommands 'timeout' and 'dynamic'
with:

/inpblock timeout <milliseconds>

and

/inpblock dynamic <on|off>

Defaults are:

/inpblock timeout 500
/inpblock dynamic on

To get the old behavior specify:

/inpblock timeout 20
/inpblock dynamic off

The dynamic mode will block incrementally after something
should be written to the window or after a key was pressed. So pressing
a key would set the timeout to 0ms and after 10 timeouts to the next
bigger one.

Example (with dynamic mode on):

"/inpblock timeout 50"

timeout series:

10x 0ms
10x 10ms (0ms + 10 times since last keypress)
10x 30ms (10ms + 20 times since last keypress)
*x50ms until next key was pressed or
2015-01-12 11:32:32 +01:00
James Booth
0d0ed9b7ca Merge remote-tracking branch 'incertia/exit-title'
Conflicts:
	src/command/command.c
	src/config/preferences.c
	src/config/preferences.h
2015-01-12 01:12:42 +00:00
James Booth
c64484c6ed Renamed titlebar preference 2015-01-12 00:43:42 +00:00
James Booth
7256e49396 Merge branch 'master' into chat-sessions 2015-01-10 19:23:59 +00:00
James Booth
c77a731cf0 Added comments to preferences module 2015-01-10 19:22:38 +00:00
James Booth
31c0f2ba78 Added preferences for showing resource in titlebar and messages 2015-01-10 19:10:10 +00:00
Will Song
e57fa1633a add exit title preference to group and add command for setting the preference 2015-01-08 10:18:29 -06:00
Will Song
f1641f3cf7
add exit title preference 2015-01-08 10:02:30 -06:00
James Booth
d572474fed Default title bar update to false 2014-12-31 01:50:16 +00:00
James Booth
aebee209b2 Merge remote-tracking branch 'incertia/connect-default'
Conflicts:
	CHANGELOG
2014-12-29 15:29:28 +00:00
James Booth
13f73a30e7 Added /inpblock command 2014-12-21 18:15:29 +00:00
Will Song
de9e621bb7 add default account property and commands associated with them 2014-11-27 11:42:23 -06:00
James Booth
40dc8e2c49 Added /time setting 2014-11-16 00:40:54 +00:00
James Booth
1479a5e134 Added /roster size and /occupants size settings 2014-11-15 23:47:27 +00:00
James Booth
497b07c1c3 Added /roster show|hide command, only show roster on connect success 2014-11-10 23:23:02 +00:00
James Booth
46583839df Added /wrap user preference for enabling/disabling word wrapping 2014-11-09 23:29:25 +00:00
James Booth
373b3a2d7c Added /presence command to show contacts presence 2014-11-07 22:38:34 +00:00
James Booth
be7c4f5a00 Follow symlinks for profrc and accounts files 2014-10-26 20:43:05 +00:00
James Booth
c6ae459cd5 Set file permissions for preferences file 2014-10-18 21:26:38 +01:00
James Booth
fc049c9eef Added /privileges command to set UI option for showing roles/affiliations in rooms 2014-10-18 20:22:34 +01:00
James Booth
ce7cb3f40f Added occupants UI preference 2014-10-09 22:02:39 +01:00
James Booth
f9737251a6 Added license exemption for OpenSSL to source headers 2014-08-24 20:57:39 +01:00
James Booth
8fc4249228 Enable splash logo by default 2014-08-09 19:00:59 +01:00
James Booth
816351d371 Set auto reconnect to 30 seconds by default
fixes #386
2014-07-29 15:40:51 +01:00
James Booth
954661e59e Added quote param to autocomplete_complete 2014-07-09 20:23:47 +01:00
James Booth
d668d15081 Free aliases on cmd_init 2014-06-18 21:36:09 +01:00
James Booth
7344d3b898 Added deallocation function for string prefs, added otr policy enum 2014-06-18 00:32:36 +01:00
James Booth
4a485a64f9 Free account_name preference on autoconnect 2014-06-17 22:22:35 +01:00
James Booth
2f95340c3a Free GError on prefs load 2014-06-17 21:02:48 +01:00
James Booth
e296379863 Fixed memleak when writing preferences file 2014-06-15 17:19:56 +01:00
James Booth
b36fbe413a Added settings to show message text in notifications 2014-05-24 22:14:26 +01:00
James Booth
b25b3f3180 Added notification setting for typing in current window 2014-05-24 21:13:33 +01:00
James Booth
eb0f0dd96b Added settings for message notifications in current window 2014-05-24 20:46:03 +01:00
James Booth
866d87af79 Added /notify room mention setting 2014-05-24 16:46:05 +01:00
James Booth
7d90d218c0 Split regular and chat room notify settings 2014-05-24 15:54:10 +01:00
James Booth
ddbb4872b3 Moved global OTR settings to [otr] group 2014-05-11 13:13:25 +01:00
James Booth
d6e92f62dc Fixed cppcheck warnings 2014-04-26 00:36:36 +01:00
James Booth
1a0f12b0e6 Merge remote-tracking branch 'lucian/master' 2014-04-22 23:53:15 +01:00
lightb
a687e3f6b4 Added /otr policy to commands (still need to add autocomplete stuff?) 2014-04-19 04:18:53 -04:00
lightb
02b77cfa4e Added PREF_OTR_POLICY to preferences.c -> key -> otr.policy
Added default value "manual" to PREF_OTR_POLICy -> preferences.c
Modified help string to reflect otr_policy, started checks on cmd_otr
2014-04-19 04:00:41 -04:00
James Booth
c3418a2909 Added /log shared setting
Issue #170
2014-04-13 21:56:51 +01:00
James Booth
a4a23fdf68 Added /log rotate option 2014-04-13 20:41:11 +01:00
James Booth
561d96c711 Removed titlebar version property and allow disabling of titlebar display 2014-04-03 21:46:43 +01:00
James Booth
2af418fd8d Command '/statuses muc' now allows 'all', 'online' and 'none' settings 2014-03-15 22:25:15 +00:00
James Booth
26726b207a Updated copyright 2014-03-09 01:18:19 +00:00
James Booth
e089ffb15c Show message when alias already exists in /alias add 2014-01-23 22:38:12 +00:00
James Booth
8dbe300d72 Added /alias command, writing aliases to [alias] group in profrc 2014-01-23 22:29:53 +00:00
James Booth
a7a2850637 WIP - /statuses command options 2014-01-20 18:40:48 +00:00
James Booth
69f2f4a16f Use defaults for /statuses commands 2014-01-19 17:20:31 +00:00
James Booth
79e9ab83b0 Changed /statuses preferences 2014-01-19 16:17:34 +00:00
James Booth
4f98bc8c25 Show OTR coloured status
Customisable within theme files e.g.:
titlebar.unencrypted=red
titlebar.encrypted=green
titlebar.trusted=red
titlebar.untrusted=green

Shows [unencrypted] for all non-OTR chat

Disable with '/otr warn off'
2014-01-16 22:44:23 +00:00
James Booth
60820007ee Added setting /otr log on|off|redact 2014-01-13 20:17:45 +00:00
James Booth
2b0108e6cc Allow "account" setting in [connection] to autconnect the account
closes #251
2013-11-07 23:04:12 +00:00
Dmitry Podgorny
545a23e92f removed strdup in autocomplete calls 2013-08-26 03:29:50 +03:00
James Booth
8c5866ff52 Added groupchat logs
closes #168
2013-05-05 00:16:10 +01:00
James Booth
441422ddc8 Added desktop notification option for subscription requests
closes #166
2013-04-27 23:46:49 +01:00
James Booth
f099bf9a7c Added desktop notifications for chat room invites
Use "/notify invite on|off"
2013-04-22 23:48:23 +01:00
James Booth
608c09c90d Mouse handling disabled by default. 2013-03-19 20:05:56 +00:00
James Booth
2cea263917 Added asserts 2013-02-03 23:46:20 +00:00
James Booth
069bdbc331 Refactored string preferences 2013-02-03 03:24:13 +00:00
James Booth
7982b8e413 Refactored setting boolean preferences 2013-02-03 02:51:15 +00:00
James Booth
ca26452af6 Refactored getting boolean preferences 2013-02-03 02:35:04 +00:00
James Booth
3d0e0d7ea4 Removed files.c 2013-02-02 22:33:05 +00:00
James Booth
c58aca5640 Moved function to get log dir to log.c 2013-02-02 22:18:08 +00:00
James Booth
9d34c41227 Added config dir to source 2013-02-02 21:59:29 +00:00