1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00
Commit Graph

335 Commits

Author SHA1 Message Date
Paul Fariello
925cd488c1 Handle simple execution
Tested with ping from biboumi
2018-09-05 13:50:59 +02:00
Paul Fariello
c9f6a78f57 Add command subcommands: list and exec
Also handle list result
2018-09-05 13:49:40 +02:00
James Booth
59382984c0 Add preferences for tab display 2018-03-09 21:15:27 +00:00
James Booth
720dce866e Add prefs for empty tabs and tab names 2018-03-08 22:27:49 +00:00
James Booth
119c5650cf Show name in statusbar tabs WIP 2018-03-08 20:01:36 +00:00
James Booth
250e972b7a Update copyright 2018-01-21 15:00:02 +00:00
James Booth
68a3daedb9 Update Copyright 2017-01-28 17:24:22 +00:00
James Booth
9cfd17821c Allow room display properies to be set by plugins 2017-01-20 23:26:14 +00:00
James Booth
c8874cd2e0 Allow chat prefix char to be set by plugins 2017-01-20 21:03:55 +00:00
James Booth
1b25aa84cb Add titlebar encryption text to plugins api 2017-01-19 22:33:29 +00:00
James Booth
b64646979e Remove unused function 2016-11-24 00:09:14 +00:00
Spiridonov Alexander
fd2346ccb4
Makes /clear behavior configurable. 2016-11-07 03:26:15 +03:00
Spiridonov Alexander
0d6aef68e7 Change /clear behaviour. Closes issue #855. 2016-10-22 00:08:55 +03:00
James Booth
651541d7ec Rename buffer functions 2016-10-16 19:40:43 +01:00
James Booth
7ad722ae28 Fix win_append buffer push 2016-10-15 22:17:16 +01:00
James Booth
bb6540f7d8 Add win highlight fuctions 2016-10-15 22:12:07 +01:00
James Booth
f3aebd547c Use varargs in win_println_indent 2016-10-15 21:05:26 +01:00
James Booth
c814cb44b8 Add win_print_history 2016-10-15 20:55:45 +01:00
James Booth
80309462ca Rename win_print_incoming_message -> win_print_incoming 2016-10-15 20:09:14 +01:00
James Booth
3b2ceee89b Add win_print_outgoing 2016-10-15 20:07:33 +01:00
James Booth
ce5f07a012 Add win_append 2016-10-15 19:53:49 +01:00
James Booth
711c5b8e45 Add win_appendln 2016-10-15 19:19:44 +01:00
James Booth
8f1d3ab55c Add win_print 2016-10-15 18:29:02 +01:00
James Booth
3612270e90 Rename win_println -> win_println_indent 2016-10-15 17:23:02 +01:00
James Booth
5488fd6e72 Remove win_vprintln_ch 2016-10-15 17:17:17 +01:00
James Booth
e29e532d87 Remove whitespace 2016-10-15 16:42:23 +01:00
James Booth
6ed04d87b3 Rename win_get_string -> win_to_string 2016-10-15 16:41:37 +01:00
James Booth
8cf9e0cccc Use win_printf_line where appropriate 2016-10-15 16:31:54 +01:00
James Booth
33b4b79f2e Add ch arg to win_printf_line 2016-10-15 00:04:57 +01:00
James Booth
2f888979c5 Use THEME_DEFAULT 2016-10-14 23:56:51 +01:00
James Booth
54cf1dbec4 Add win_printf_line 2016-10-14 23:38:39 +01:00
James Booth
24f0dc2734 Always use string format in win_printf 2016-10-12 00:40:41 +01:00
James Booth
97898ee082 Add win_printf_line 2016-10-12 00:14:55 +01:00
James Booth
7b31af3060 Remove args from win_print_with_receipt 2016-10-11 23:47:13 +01:00
James Booth
af42bc4434 Add win_print_http_upload 2016-10-11 23:40:15 +01:00
James Booth
0890179fc4 Remove win_print, use win_printf instead 2016-10-11 23:38:59 +01:00
James Booth
0337c5b22c Rename win_vprint -> win_printf 2016-10-11 23:10:48 +01:00
James Booth
d3cc5bd7ed Allow vertical positioning of all windows 2016-09-23 00:56:53 +01:00
James Booth
0aa758cbfb Add /inputwin top|bottom command
closes #853
2016-09-19 23:40:45 +01:00
James Booth
ed75f1ec71 Use SoftwareVersion in EntityCapabilities 2016-08-13 17:43:43 +01:00
James Booth
0bd5b5200a Use DiscoIdentity in EntityCapabilities 2016-08-13 17:19:24 +01:00
James Booth
80eb5bee90 Rename Capabilties -> EntityCapabilities 2016-08-13 16:39:25 +01:00
James Booth
71730e9d99 Unreference GDateTime 2016-07-25 23:09:51 +01:00
James Booth
0a57c4de78 Tidy headers 2016-07-24 15:43:51 +01:00
James Booth
90b9b48ab9 Moved roster_list.c 2016-07-24 15:08:47 +01:00
James Booth
e8fc80f5c1 Update GPL link in headers 2016-07-24 01:14:49 +01:00
James Booth
7abf506261 Free memory when plugin windows closed 2016-07-13 00:25:45 +01:00
James Booth
5f393a6d9f Remove plugin window on /close 2016-07-12 02:16:12 +01:00
James Booth
3bb1f12410 Add session.c 2016-05-05 23:51:49 +01:00
Dominik Heidler
1b0ce852bb Implement XEP-0363: HTTP File Upload 2016-04-26 23:50:55 +02:00
James Booth
9b177a9e01 Removed #AX_PREFIX_CONFIG_H 2016-03-31 21:05:02 +01:00
James Booth
355adb117c Added WIN_PLUGIN case to win_free() 2016-03-07 18:24:04 +00:00
James Booth
7fdf50eb31 Add plugin wins to /win and /close autocompletion 2016-03-01 00:03:11 +00:00
James Booth
1f90aca503 Merge branch 'master' into plugins-c
Conflicts:
	src/main.c
	src/ui/console.c
2016-02-14 23:00:52 +00:00
James Booth
e53e94f1e2 Updated copyright 2016-02-14 22:54:46 +00:00
James Booth
41fe8c22b1 Added C plugin code from plugins branch 2016-02-14 22:28:55 +00:00
James Booth
62b0cdd8fd Fix room notification reminders 2016-02-07 01:15:40 +00:00
James Booth
6702bb9739 Don't show notification reminders for messages the user does not want notifications for 2016-02-04 01:24:37 +00:00
James Booth
77e819e81a Handle self leaving room in private wins 2016-02-03 00:11:38 +00:00
James Booth
150015fa3d Show message in private windows when user offline 2016-02-02 21:52:13 +00:00
James Booth
0501e49623 Fix handling of unknown characters with word wrap 2016-01-26 00:25:13 +00:00
James Booth
0ae975c27f Added themes for roster room mention and triggers
closes #718
2016-01-25 00:19:26 +00:00
James Booth
adb470c454 WIP: Add /theme properties command 2016-01-21 00:50:55 +00:00
James Booth
850ac3c6c0 Allow unlimited theme items 2016-01-10 03:11:05 +00:00
James Booth
055a5f71ce Added roster struct, create and destroy roster on connect/disconnect 2016-01-05 00:06:50 +00:00
James Booth
d9435d3b65 Tidy wins_create_summary() 2015-11-29 23:58:52 +00:00
James Booth
d3389db233 Only show reminder notifications when notifications are enabled 2015-11-25 22:33:26 +00:00
James Booth
3bc9275079 Added word wrap to roster panel 2015-11-22 01:39:20 +00:00
James Booth
0763bfc9f4 Pass wrap boolean to win_sub_print() 2015-11-22 01:00:14 +00:00
James Booth
3d1299eb1e Renamed subwin functions 2015-11-22 00:54:40 +00:00
James Booth
7a324abcd6 Option to show presence information on single line in roster 2015-11-22 00:30:42 +00:00
James Booth
4b022687fa Added /roster indent contact 2015-11-21 21:03:53 +00:00
James Booth
d6e4b74802 Removed ui_input_nonblocking() 2015-11-01 18:56:34 +00:00
James Booth
ff9abecd50 Combined chatwin OTR SMP functions 2015-10-27 22:25:26 +00:00
James Booth
2ce43b633f Applied coding style to src/ui/ 2015-10-25 23:31:11 +00:00
Michael Vetter
4730dca546 Undefine argument list
Call va_end() to correclty stop using the argument list.
2015-10-12 09:29:04 +02:00
Michael Vetter
dd2ce7a5bf Reduce scope of variables in ui/core
Not as important as the other one (where there was a double
declaration). But for the sake of consistency.
2015-10-12 09:29:01 +02:00
James Booth
b9948a4c01 Added time format perferences per window type 2015-09-30 22:34:27 +01:00
James Booth
99fc70bd92 Added last activity time format option 2015-09-29 23:30:23 +01:00
James Booth
b4722632b6 Split PGP incoming and outgoing message handling 2015-08-30 01:32:13 +01:00
James Booth
1bf584793f Added preference for encryption char 2015-08-26 01:06:10 +01:00
James Booth
f998ab8f3b Display special char for encrypted messages 2015-08-26 00:42:56 +01:00
James Booth
0410dd90f1 Free timestamp and id for receipts 2015-08-09 23:08:36 +01:00
James Booth
783342a48c Free timestamps and carbons stanzas 2015-08-09 00:40:37 +01:00
James Booth
41c93c3350 Handle larger than line words in wrapping 2015-07-30 01:31:11 +01:00
James Booth
8ec931eb84 Added cons_show_padded 2015-07-29 23:48:28 +01:00
James Booth
79f618367d Do not print newline when curs position 0 2015-07-29 23:03:00 +01:00
James Booth
5576b88a04 Added indent padding 2015-07-29 22:48:03 +01:00
James Booth
46e2f11b93 Removed /mouse command 2015-07-19 22:48:12 +01:00
James Booth
106e909fbd Merge remote-tracking branch 'incertia/time'
Conflicts:
	src/config/preferences.c
2015-07-01 20:16:09 +01:00
James Booth
dd206ef637 WIP fix for #516, needs memory cleanup 2015-06-29 23:48:41 +01:00
James Booth
6b44b988f4 Moved refresh subwin logic to window.c 2015-06-15 18:59:20 +01:00
James Booth
989dde77cd Added win_resize() function 2015-06-15 18:08:47 +01:00
James Booth
a849b200b3 Added win_clear() function 2015-06-15 17:54:47 +01:00
James Booth
e0783e20db Renamed otr trusted window property 2015-06-13 01:13:56 +01:00
Will Song
3842daa334
fix indent code 2015-05-29 20:45:10 -05:00
Will Song
9463c67190
fix conflicts 2015-05-29 19:53:37 -05:00
James Booth
c19a05ca09 Use null check convention in window.c 2015-05-04 23:11:32 +01:00
James Booth
8ccbeade44 Added enc_mode to ProfChatWin 2015-05-04 21:38:19 +01:00
James Booth
57dc5f14ef Added option to show jids in occupants panel 2015-04-12 02:14:37 +01:00
James Booth
981618b7da Added static functions to commands.c for sending messages 2015-03-16 01:29:03 +00:00
James Booth
b21edfaa51 Added receipt.sent theme setting 2015-03-15 19:35:25 +00:00
James Booth
1014244408 Use colouring for message receipts 2015-03-14 16:05:13 +00:00
James Booth
6fd5b617ef Renamed win_save_newline -> win_newline 2015-03-14 14:16:50 +00:00
James Booth
b84bddc46b Renamed win_save_println -> win_println 2015-03-14 14:14:46 +00:00
James Booth
e02dbe24da Renamed win_save_print -> win_print 2015-03-14 14:12:32 +00:00
James Booth
f4441ec64f Renamed win_save_vprint -> win_vprint 2015-03-14 14:10:10 +00:00
James Booth
7454bede8b Merge branch 'master' into readline 2015-02-23 00:50:58 +00:00
Christian Storm
a1d14c4526 Fixed spelling. 2015-02-17 10:52:37 +01:00
James Booth
b24510c776 Merge branch 'master' into readline
Conflicts:
	src/tools/history.c
	src/tools/history.h
2015-02-11 00:09:58 +00:00
James Booth
b3be26a214 Updated copyright 2015-02-10 23:16:09 +00:00
James Booth
64774a947e Merge branch 'master' into readline 2015-02-09 22:11:25 +00:00
James Booth
1a98f1404b Free resource lists 2015-02-09 21:46:54 +00:00
James Booth
51ccb69580 Merge branch 'master' into readline
Conflicts:
	src/ui/inputwin.c
2015-02-09 21:28:08 +00:00
James Booth
893b58bf4e Use chat_state_free to free chat states 2015-02-09 20:11:51 +00:00
James Booth
b7a8e7d942 Merge branch 'master' into readline 2015-02-06 22:05:38 +00:00
James Booth
f447ac4189 Free win layout 2015-02-06 21:39:53 +00:00
James Booth
b76501f0bc Removed mbstate_t use 2015-02-03 21:08:34 +00:00
James Booth
e8b6c505cb Handle word wrapping wide chars 2015-02-01 00:14:11 +00:00
James Booth
28dd545877 Added paging handlers 2015-01-31 22:00:22 +00:00
Will Song
7f436d614b
use custom format string for time preference 2015-01-27 19:55:16 -06:00
James Booth
97aebb6113 Moved win_handle_page to window module 2015-01-15 00:14:12 +00:00
Simon Effenberg
c7ff3255b8 trying to block (and save cpu power) more dynamically
instead of blocking too long if inpblock is set to something like
500ms the input timeout is not set directly to inpblock but is
increasing dynamically from 0 to inpblock by a little algorithm

FIXME: the call from the win_* method to the ui_input_* method looks
wrong.. this causes a cross reference which shouldn't be
2015-01-12 08:08:07 +01:00
James Booth
c16871d143 Added remaining chat states 2015-01-11 20:20:17 +00:00
James Booth
3e1832b02e Renamed resource -> resource_override 2015-01-10 18:17:10 +00:00
James Booth
86dc29d8e8 Removed functions from window.c 2014-12-22 00:01:43 +00:00
James Booth
d5dee1632d Moved unread to window subtypes 2014-12-21 23:14:01 +00:00
James Booth
eef7f9cfd4 Show nick for title 2014-12-21 22:39:00 +00:00
James Booth
0c1bbb63c0 Added win_get_title 2014-12-21 22:01:56 +00:00
James Booth
9a322a028f Use class instead of base pointer 2014-12-21 19:40:15 +00:00
James Booth
79d4cbe967 Fixed /occupants hide 2014-12-20 22:44:01 +00:00
James Booth
ea267e2017 Refactored all window recipients and types
Tests need fixing
2014-12-20 00:52:35 +00:00
James Booth
0146e62576 Refactoring window types, removing recipient and from references - wip 2014-12-18 23:57:19 +00:00
James Booth
0e7e931589 Added rosterwin.c 2014-12-16 22:14:15 +00:00
James Booth
8f6167b45e Refactor layout creation 2014-12-16 20:53:23 +00:00
James Booth
630fef015d Added new window and layout types 2014-12-16 01:39:47 +00:00
James Booth
070547a7ff Added window specific creation functions 2014-12-15 00:28:28 +00:00
James Booth
8e46b9e75b Added win create functions for chat and private chat 2014-12-10 22:34:33 +00:00
James Booth
c8ae55a88c Removed unused argument from _wins_show_history 2014-12-10 21:49:21 +00:00
James Booth
742748b05c Renamed chat_resource -> resource 2014-12-10 21:17:31 +00:00
James Booth
706f31422d Moved chat resource to WIN_CHAT type 2014-12-10 01:44:32 +00:00
James Booth
12d0d22ab3 Moved otr properties to WIN_CHAT type 2014-12-10 01:33:46 +00:00
James Booth
7b44ac97cc Added form to WIN_MUC_CONFIG type 2014-12-10 01:14:11 +00:00
James Booth
0ce924465f Added union for window types 2014-12-10 00:54:46 +00:00
James Booth
1a8c805319 Added /resource command 2014-12-02 20:50:21 +00:00
James Booth
e70cbd1b61 Colour /me messages correctly
fixes #457
2014-11-30 22:50:02 +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
90dd1de91a Fixed indentation bug 2014-11-16 16:27:11 +00:00
James Booth
cd855d3740 Added /time off 2014-11-16 01:28:41 +00:00