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
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
James Booth
f5e5315125
Updated CHANGELOG and navigation help
2015-01-03 02:35:19 +00:00
James Booth
9d94ac5c63
Removed function pointers
2014-12-22 22:13:42 +00:00
James Booth
13f73a30e7
Added /inpblock command
2014-12-21 18:15:29 +00:00
James Booth
ea267e2017
Refactored all window recipients and types
...
Tests need fixing
2014-12-20 00:52:35 +00:00
James Booth
630fef015d
Added new window and layout types
2014-12-16 01:39:47 +00:00
James Booth
4740f84c24
Updated navigation help
2014-12-01 22:16:25 +00:00
James Booth
f486b5884b
Added Alt-Backspace to navigation help
2014-11-22 22:12:32 +00:00
James Booth
a781295542
Added newline
2014-11-17 21:14:03 +00:00
James Booth
1d5ac1b474
Added /theme colours command
2014-11-17 21:10:08 +00:00
James Booth
74d9937573
Changed type to enum for presence colour attributes
2014-11-16 23:37:07 +00:00
James Booth
ed4391ec8a
Replaced colours with theme_item_t
2014-11-16 20:40:19 +00:00
James Booth
cd855d3740
Added /time off
2014-11-16 01:28:41 +00: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
eace543da5
Added /roster show|hide resource
2014-11-11 00:00:10 +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
c4412fe823
Fixed various memory leaks
2014-11-01 01:48:36 +00:00
James Booth
b6c116e8b6
Updated help
2014-10-27 20:52:45 +00:00
James Booth
c8b524d9c8
Show message on /prefs desktop when notifications not supported by the build
2014-10-26 22:20:37 +00: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
48929aa92e
Removed /help other
2014-10-18 00:18:10 +01:00
James Booth
3615736762
Renamed args to /occupants default
2014-10-09 22:39:57 +01:00
James Booth
b7088363e6
Merge branch 'master' into muc_roles
2014-09-30 00:27:35 +01:00
James Booth
4f7feedb65
Changed rooms to use Occupant type instead of PContact
2014-09-30 00:16:01 +01:00
Adam Coffman
652bc54bc8
free latest_release regardless of its validity
2014-09-29 17:09:42 -05:00
James Booth
d25d6b4502
Tidied muc module
2014-09-28 22:09:20 +01:00
James Booth
60a18c3c8d
Cache capabilities to file
2014-09-22 01:36:45 +01:00
James Booth
9f7a8cea81
Show message when no capabilities available
2014-09-21 23:21:48 +01:00
James Booth
2fb9989123
Added jid->hash lookup for capabilities
2014-09-20 23:50:19 +01:00
James Booth
bc3c4e09a1
Always update UI in event loop, removed updates from rest of code
2014-09-01 19:14:52 +01:00
James Booth
c73c4b20ef
Tidied console presence messages
2014-09-01 00:05:12 +01:00
James Booth
62be586c39
Merge remote-tracking branch 'tdi/master'
2014-08-29 00:01:55 +01:00
Dariusz Dwornikowski
b641680251
Concise formatting of /roster command
2014-08-28 19:17:15 +02:00
James Booth
f9737251a6
Added license exemption for OpenSSL to source headers
2014-08-24 20:57:39 +01:00
James Booth
5b40696ea0
Handle chat states for users not in roster
...
issue #397
2014-08-19 21:22:43 +01:00
James Booth
db9028d9c3
Added win_save_println
2014-07-21 00:11:38 +01:00
James Booth
f4fa0bc2dd
Added win_save_newline
2014-07-20 23:57:31 +01:00
James Booth
d2d15ca76b
Removed newlines from splash logo version output
2014-07-16 23:23:11 +01:00
James Booth
a607b29d4a
Replaced NO_EOL_DATE with bitwise or
2014-07-16 22:20:23 +01:00
Immae
66ad23b35b
having wprintw go through win_save_(v)print.
...
Signed-off-by: James Booth <boothj5@gmail.com>
2014-06-23 21:05:43 +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
8ae6d359d7
Moved info display code to window.c
2014-06-03 21:14:21 +01:00
James Booth
17c73814ac
Made room message notification preference display case consistent
2014-06-02 18:44:06 +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
e6e79d619a
Free strings in cons_show_account
2014-05-12 23:32:36 +01:00
James Booth
fc3046782a
Added OTR preferences to /account show commmand
2014-05-11 19:49:18 +01:00
James Booth
95ff13136b
Added OTR policy account preference
2014-05-11 14:13:15 +01:00
James Booth
015780662e
Added /prefs otr
2014-05-11 13:32:59 +01:00
James Booth
c0fc4256de
Highlight active rooms in bookmark list
2014-05-10 01:05:03 +01:00
James Booth
d2662a6f17
Refactored bookmarks to use option parser, allow bookmarking rooms with passwords
2014-05-10 00:50:43 +01:00
James Booth
d6e92f62dc
Fixed cppcheck warnings
2014-04-26 00:36:36 +01:00
James Booth
67a109927c
Added /log where command
2014-04-13 22:20:15 +01: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
99592e2779
Show message when no bookmarks found
...
Issue #194
2014-04-13 02:57:11 +01:00
James Booth
f0f0dbfdac
Removed statusbar functions from ui.h
2014-04-07 21:12:30 +01:00
James Booth
ccfea12674
Inlined wins_update_virtual_console and wins_update_virtual_current
2014-04-06 21:06:50 +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
404dde2810
Renamed refresh functions to update_virtual
2014-04-01 21:52:04 +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
Dmitry Podgorny
0fbaa6f5ee
fixed build error when make run with -jN option
...
Race can occur when gitversion file isn't fully generated before
it is used.
2014-03-06 02:06:22 +02:00
James Booth
f010dfb004
Show message on /alias list when no aliases
2014-02-15 21:25:13 +00:00
James Booth
0f0cd4cdab
Use wnoutrefresh, pnoutrefresh and doupdate
...
Issue #298
2014-02-02 23:58:01 +00:00
James Booth
5d85974bc0
Added aliases to autocomplete
2014-01-23 23:53:20 +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
8ba2d26947
Added skeleton /alias command
2014-01-23 19:56:33 +00:00
James Booth
0e2fbeb350
Added statuses settings to prefs output
2014-01-21 00:16:37 +00:00
James Booth
3f0addbc99
Added UI presence functions
2014-01-19 18:31:02 +00:00
James Booth
2f58b2488f
Added port to /account show <account>
2014-01-19 00:09:51 +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
03086c0384
Added /otr theirfp with hardcoded fingerprint
2014-01-11 19:10:00 +00:00
James Booth
785206a06c
Tidied navigation help
...
Conflicts:
src/ui/console.c
2014-01-02 18:06:53 +00:00
James Booth
9823b2fae2
Added full stop to /help service summary
2014-01-02 01:51:46 +00:00
James Booth
2defeaefe3
Removed wins_refresh_console when not required for /sub command output
...
Implicitly called by cons_show
2013-12-27 23:38:45 +00:00
James Booth
7fe8f61b9b
Bind console functions in main.c
2013-12-23 00:08:45 +00:00
James Booth
5a5b1340aa
Dynamically load UI functions, fixed tests
2013-12-22 22:14:15 +00:00
James Booth
d56f6dc39b
Added mocks and stubs for cons_show
2013-12-19 21:05:39 +00:00
James Booth
107fdd355e
Added simple mock test, refactored roster
2013-12-14 15:34:17 +00:00
James Booth
8c97658b8d
Merge branch 'master' into refactor2
...
Conflicts:
src/ui/core.c
2013-11-11 20:51:35 +00:00
James Booth
2b0108e6cc
Allow "account" setting in [connection] to autconnect the account
...
closes #251
2013-11-07 23:04:12 +00:00
James Booth
4abdb02396
Merge remote-tracking branch 'tsenart/passwords-on-accounts-file'
2013-11-07 21:43:11 +00:00
Tomás Senart
480589f0ae
Use passwords from the accounts file
...
This commit makes it so that if the password in an account in the
accounts file is present, then use it. Otherwise ask for the password to
the user.
2013-10-14 20:15:51 +02:00
James Booth
c6c0a94bb0
Removed generic functions from ProfWin
2013-10-06 23:22:46 +01:00
James Booth
78ee448a8d
Use ProfWin->print_line for console typing notifications
2013-10-06 18:05:51 +01:00
James Booth
6441e06279
OO style for ProfWin type
2013-10-06 02:02:05 +01:00
Jesse R. Adams
8be4cd1f27
Adding irssi style Alt-Left/Right window navigation
2013-09-25 12:51:54 -07:00
James Booth
d782b00711
Added git branch and revision to development builds
2013-09-17 00:59:37 +01:00
James Booth
df14a46d48
Allow users to set default muc service and nickname per account
...
See #238
Conflicts:
src/config/accounts.c
2013-09-12 23:34:30 +01:00
James Booth
c08e85193c
Show correct window number for incoming in console
2013-08-28 21:29:11 +01:00
James Booth
9ef7e2d233
Changes to status bar for unlimited windows - WIP
2013-08-28 00:50:15 +01:00
James Booth
18d11f2bcf
Moved static function in console.c
2013-08-26 17:34:48 +01:00
James Booth
48feac3e77
Removed cons_create from console.c
2013-08-26 17:29:20 +01:00
James Booth
38be98cde5
Fix console references after merging master
2013-08-25 23:30:10 +01:00
James Booth
d3cfeb9d5c
Merge branch 'master' into windows
2013-08-25 23:27:42 +01:00
Dmitry Podgorny
c7ec06ff65
removed strdup from g_string_append
2013-08-25 14:52:25 +03:00
James Booth
770b572d58
Console module get console from windows
2013-08-20 23:18:23 +01:00
James Booth
601a88037a
Initial code refactor for growable window list
2013-08-20 23:08:21 +01:00
Dmitry Podgorny
0346fda0b3
most FREE_SET_NULL replaced with free
...
FREE_SET_NULL makes extra assignment of NULL for pointers in stack or
dynamic memory that is going to be freed.
FREE_SET_NULL is useful for pointers that can be used in future.
2013-08-03 14:27:07 +03:00
Dmitry Podgorny
b9d29e9aa5
draft of bookmarks implementation
...
'/bookmark add' and '/bookmark remove' ain't finished
2013-07-14 23:58:02 +03:00
James Booth
581c1e8b95
Coloured contact and subscription in /roster and /group output
2013-07-03 23:44:51 +01:00
James Booth
ca5c6a5745
Show current setting with settings commands
...
closes #139
2013-06-25 23:38:06 +01:00
James Booth
c8567cd793
Restructured help
2013-06-25 00:49:29 +01:00
James Booth
9dd5456f88
Added group add and group remove to /roster command
2013-06-02 02:48:20 +01:00
James Booth
d49a01a9c3
Added roster list when using /roster with no args
2013-06-01 23:27:46 +01:00
James Booth
83c4177692
Include subscription states of "both" and "to" in /who output
2013-06-01 22:54:53 +01:00
James Booth
1eba4f5ab1
Added /leave command
2013-05-30 22:48:56 +01:00
James Booth
ae350dc5fb
Show nickname rather than jid in room invites
2013-05-30 21:26:11 +01:00
James Booth
ecc62af305
Finished handle usage
2013-05-20 22:51:35 +01:00
James Booth
6c4b21beb1
Added sub to /notify preferences output
...
Removed unused "status" value for /notify autocompleter
2013-05-19 02:15:35 +01:00
James Booth
5a3db018dc
Show 0 rather than 10 in /wins
2013-05-16 23:39:13 +01:00
James Booth
e21c2276dc
Fixed incoming message text in console to use 0 rather than 10
2013-05-16 23:04:50 +01:00
James Booth
c1ee75da40
Removed contact_list, moved roster logic to xmpp/roster module
2013-05-06 23:04:46 +01:00
James Booth
05f2d29396
Renamed contact_list_ functions to roster_
2013-05-06 22:32:58 +01:00
James Booth
53eeb0ef45
Use autocomplete instead of hash table for subscription requests
2013-05-05 23:20:27 +01:00
James Booth
90ac69beb3
Added /duck command to perform searches using duckduckgo chat bot
2013-05-05 02:31:04 +01:00
James Booth
8c5866ff52
Added groupchat logs
...
closes #168
2013-05-05 00:16:10 +01:00
James Booth
04c6f2d7b0
Moved display logic for subscriptions to console module
2013-04-27 23:13:52 +01:00
James Booth
17757c86e6
Support for XEP-0249 Direct MUC Invitations
...
Commands /invite, /invites, /decline and /join
2013-04-24 23:50:47 +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
9373f41fa4
Refactor marking windows as dirty and status bar new indicator
2013-04-22 21:11:08 +01:00
James Booth
e14cd43af4
Renamed window_ functions win_
2013-04-21 19:48:56 +01:00
James Booth
1046a00405
Renamed remaining win_ functions
2013-04-21 19:44:31 +01:00
James Booth
bf740d9997
Replace window type functions with single function returning type
2013-04-21 18:40:22 +01:00
James Booth
b2c08cfc43
Renamed cons_bad_show -> cons_show_error
2013-04-21 02:49:23 +01:00
James Booth
f110a8fe3b
Removed cons_bad_command()
2013-04-21 02:42:27 +01:00
James Booth
a3b861a711
Renamed window_show_time -> window_print_time
2013-04-21 02:10:13 +01:00
James Booth
e151ce707d
Moved remaining static functions to console module
2013-04-21 01:47:57 +01:00
James Booth
8a280b43ca
Moved cons_bad_command() to console module
2013-04-21 01:42:57 +01:00
James Booth
3011dc63ae
Moved cons_show_word() to console module
2013-04-21 01:41:36 +01:00
James Booth
0c912990c7
Moved cons_debug() to console module
2013-04-21 01:39:36 +01:00
James Booth
3945a72484
Moved cons_show_time() to console module
2013-04-21 01:37:44 +01:00
James Booth
9de4ab6bb9
Moved cons_bad_show() to console module
2013-04-21 01:34:43 +01:00
James Booth
bb0f4a3fb2
Moved cons_show_contacts() to console module
2013-04-21 01:32:47 +01:00
James Booth
9f380dae8e
Moved help display functions to console module
2013-04-21 01:31:30 +01:00
James Booth
b3ed4dd0fe
Moved preferences display functions to console module
2013-04-21 01:25:10 +01:00
James Booth
6253897ea7
Moved cons_show_account() to console module
2013-04-21 01:21:21 +01:00
James Booth
996ba8181b
Moved cons_show_account_list() to console module
2013-04-21 01:18:04 +01:00
James Booth
60acd47780
Moved cons_show_room_invite() to console module
2013-04-21 01:15:10 +01:00
James Booth
688eea083b
Moved cons_show_status() to console module
2013-04-21 01:13:35 +01:00
James Booth
d7cc54db63
Moved cons_show_disco_info() and cons_show_disco_items() to console
...
module
2013-04-21 01:00:03 +01:00
James Booth
d6c2bd0c6a
Moved cons_show_room_list() to console module
2013-04-21 00:54:23 +01:00
James Booth
b9dedbdc15
Moved cons_show_software_version() to console module
2013-04-21 00:50:38 +01:00
James Booth
d5bb600a04
Moved cons_show_caps() to console module
2013-04-21 00:47:05 +01:00
James Booth
a3c241b3a8
Moved cons_show_info() to console module
2013-04-21 00:39:42 +01:00
James Booth
867774ce57
Moved cons_show_wins() to console module
2013-04-21 00:32:31 +01:00
James Booth
a234ba0cd6
Moved cons_show_login_success() to console module
2013-04-21 00:21:30 +01:00
James Booth
c7100203e4
Moved cons_about() to console module
2013-04-20 23:39:17 +01:00
James Booth
3e66b0a9d2
Added ui/console module
2013-04-20 21:42:39 +01:00