Paul Fariello
01428eb858
Add special handling for xep-0133 get-user-roster
2018-09-10 13:09:23 +02:00
Paul Fariello
371b64a842
Don't show submit help on form if there is no submit callback
...
Could be missleading for user.
2018-09-10 12:50:01 +02:00
Paul Fariello
6de60e7efc
Add support for ad-hoc response with forms
2018-09-10 12:28:28 +02:00
Paul Fariello
b7556b4e41
Add missing command name for completion log
2018-09-10 11:30:46 +02:00
Michael Vetter
82f8083b85
Move p_sha1_hash() to stanza.c
...
Move `p_sha1_hash()` from `common.c` to `xmpp/stanza.c` as it is only
used in this file and now depends on libstrophe so xmpp is a better
namespace folder.
Renaming it as `_stanza_create_sha1_hash()`. And making static since
only used here.
The function cannot be tested in the unit tests anymore.
Once functional tests are working again we should write a test for the
sha1 functionality.
2018-09-06 20:40:09 +02:00
Philip Flohr
054267d738
Fix extended plugin handling PR
...
Fixes problems found in PR #999
2018-09-06 19:54:29 +03:00
Philip Flohr
a5a7db9e2b
implemented plugin updates
2018-09-06 19:28:02 +03:00
Philip Flohr
cd86f5bc28
added the possibility to uninstall a plugin
2018-09-06 19:28:02 +03:00
Philip Flohr
e4ddced420
use gio functions for file copy
2018-09-06 19:28:02 +03:00
Philip Flohr
2795dc487c
removed unreachable code: if plugin is loaded it is also installed and therefore installation will fail. -> The unload code is not needed
2018-09-06 19:28:02 +03:00
Philip Flohr
1f66c08567
provide feedback on failure cause if plugin installation fails
2018-09-06 19:28:02 +03:00
Philip Flohr
adb4955c34
Fail plugin installation if the target file already exists
2018-09-06 19:28:02 +03:00
Paul Fariello
3c70972610
Add default jid for cmd commands on WIN_CONSOLE
2018-09-05 14:37:26 +02:00
Paul Fariello
db1ffae3bd
Fix command exec error output
2018-09-05 14:17:26 +02:00
Paul Fariello
771d90c766
Fix comment about config windows
2018-09-05 13:52:20 +02:00
Paul Fariello
4d703c7eb0
Fix description for config commands
2018-09-05 13:52:20 +02:00
Paul Fariello
1d3baa99a7
Ensure cmd commands are run on the right type of window
2018-09-05 13:52:20 +02:00
Paul Fariello
afd4fc4ea1
Fix bad english sentence
2018-09-05 13:52:20 +02:00
Paul Fariello
ec5fc3612f
Allow to use cmd without being in a window
2018-09-05 13:52:20 +02:00
Paul Fariello
e555e41eaf
Fix cmd command synopsis
2018-09-05 13:52:20 +02:00
Paul Fariello
71c9cbf8a8
Conform to Section 3.2.2.1 of XML Schema Part 2: Datatypes
...
In accordance with Section 3.2.2.1 of XML Schema Part 2: Datatypes, the
allowable lexical representations for the xs:boolean datatype are the
strings "0" and "false" for the concept 'false' and the strings "1" and
"true" for the concept 'true'; implementations MUST support both styles
of lexical representation.
2018-09-05 13:52:20 +02:00
Paul Fariello
233e076be9
Add support for command config execution
2018-09-05 13:52:19 +02:00
Paul Fariello
b11d3a79df
Add conf win callback
2018-09-05 13:51:00 +02:00
Paul Fariello
a952776b89
Rename mucconf wins into conf wins
...
Configuration windows are now being used by both muc and cmd.
2018-09-05 13:51:00 +02:00
Paul Fariello
7123e94e82
Add support for form edition in command execution
...
Also change wins_get_by_string prototype in order to handle const str.
2018-09-05 13:51:00 +02:00
Paul Fariello
40eee1caab
Add command exec error handling
2018-09-05 13:51:00 +02:00
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
Paul Fariello
ca022ec75e
Add command command
...
Initial commit to test commands API
2018-09-05 13:42:28 +02:00
Michael Vetter
33e9af4100
Fix command 'group' description
2018-09-05 13:38:17 +02:00
Michael Vetter
9e021d5c8f
Remove p_sha1 source files
...
And delete from Makefile.am
2018-09-05 11:45:31 +02:00
Michael Vetter
dcc249a616
Use libstrophe sha1 functions
...
Using libstrophes sha1 functions in p_sha1_hash() to get rid of the
p_sha1.c dependency.
Relates to https://github.com/boothj5/profanity/issues/882
2018-09-05 11:31:33 +02:00
Michael Vetter
6d80700329
Move ID generation to xmpp folder
...
create_unique_id() was changed to use UUIDs instead of a counter in the
last commit. Since now it depends on connection_create_uuid() which is
in the xmpp subfolder the function should also be moved there.
Renamed it to connection_create_stanza_id() and moved it to
src/xmpp/connection.c.
Discussion happened in https://github.com/boothj5/profanity/pull/1010
2018-08-30 11:17:04 +02:00
Michael Vetter
f4fb61b0c8
Use uuid in create_unique_id instead of counter
...
Message IDs should be unique so they can be used by XEPs like delivery receipts, chat markers, message correction.
So far it used a counter so restarting profanity will cause the counter
to be 0 again.
Let's rather use an UUID since we have such a function in the
xmpp/xmpp.h already.
Closes https://github.com/boothj5/profanity/issues/998
2018-08-14 15:51:18 +02:00
Michael Vetter
811b3ba857
Merge pull request #926 from msantos/null-pointer-dereference
...
server_events: fix potential NULL pointer deref
2018-07-30 12:23:53 +02:00
Dominik Heidler
86a9ef7b5c
Use correct macro
...
XMPP_FEATURE_PING insted of STANZA_NS_PING
2018-07-30 11:04:54 +02:00
Michael Vetter
64d5f938fd
Fix gcc8 error about strncpy
...
With gcc8 we get the following error when stringop-truncation is on:
```
In function ‘_rotate_log_file’,
inlined from ‘log_msg.part.2’ at src/log.c:201:17:
src/log.c:231:5: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
strncpy(log_file_new, log_file, len);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/log.c: In function ‘log_msg.part.2’:
src/log.c:228:18: note: length computed here
size_t len = strlen(log_file);
^~~~~~~~~~~~~~~~
```
Using memcpy instead of strncpy.
2018-07-06 11:31:20 +02:00
Philip Flohr
7861c8c03c
plugins_unload_all fails if one plugin unload operation fails
2018-04-21 16:47:58 +02:00
James Booth
70c70fcdf9
Fix theme load max tab length
2018-03-11 01:21:36 +00:00
James Booth
d6e7f389d1
Add max tab length to statusbar
2018-03-11 01:18:46 +00:00
James Booth
9f24f6083b
Fix utf8 chars in statusbar
2018-03-11 00:46:27 +00:00
James Booth
b01dd7c48b
Default tab name to false
2018-03-10 23:31:02 +00:00
James Booth
aa520f4f7c
Add statusbar pref to themes
2018-03-10 23:22:58 +00:00
James Booth
8718b368a1
Statusbar render at start of small window
2018-03-10 23:01:51 +00:00
James Booth
b0e70e6caa
Dont show extended tabs when max 0
2018-03-10 22:54:02 +00:00
James Booth
4bf67fb35a
Use jid prefs in statusbar
2018-03-10 22:41:55 +00:00
James Booth
95b639a21f
WIP add self prefs for statusbar
2018-03-10 22:16:52 +00:00
James Booth
b38f6ba512
Do not highlight room tab on subject change
2018-03-10 16:58:52 +00:00
James Booth
b7cb527608
Tidy windows when closing room config
2018-03-10 01:48:43 +00:00
James Booth
5dbddf4d43
Show extended tabs
2018-03-10 01:30:28 +00:00
James Booth
73bb628fd8
Refactor statusbar
2018-03-10 00:32:56 +00:00
James Booth
6f5c0eb525
Preference to show/hide tab number
2018-03-09 23:44:28 +00:00
James Booth
e96af8537c
Only allow swapping active windows
2018-03-09 22:59:38 +00:00
James Booth
136b975b6c
Remove empty tabs
2018-03-09 22:42:20 +00:00
James Booth
59382984c0
Add preferences for tab display
2018-03-09 21:15:27 +00:00
James Booth
a957c545d3
Add max tabs preference for statusbar
2018-03-08 23:11:49 +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
1215ec9bc8
Add message to status bar
2018-03-07 22:22:53 +00:00
James Booth
be8ff9fdcd
Set background in _status_bar_draw
2018-03-07 21:37:29 +00:00
James Booth
105c9c2943
Add time to status bar
2018-03-07 21:29:41 +00:00
James Booth
fcdddf11c0
Draw empty status bar
2018-03-07 20:58:07 +00:00
James Booth
d152c48d6f
Do not colour room as joined when error joining
...
fixes #984
2018-03-07 19:43:24 +00:00
James Booth
44cff47668
Merge branch 'master' into autocomplete-clear
2018-03-05 20:50:05 +00:00
James Booth
ecd0736a09
Remove redundant window->type checks
2018-03-04 21:15:24 +00:00
James Booth
7c5ece24c5
Use jid argument for /bookmark when in room
...
fixes #983
2018-03-04 00:35:53 +00:00
James Booth
f4759cf337
Update themes
2018-02-10 00:01:26 +00:00
James Booth
ad76495267
Clear autocompletes on line edits
2018-02-09 22:48:55 +00:00
James Booth
d65fc24658
Fix muc nick autocomplete colon mid message
2018-02-09 20:47:41 +00:00
James Booth
bea815cc73
Update help for /rooms
2018-02-05 21:51:14 +00:00
James Booth
cba17faf3d
Add /rooms service autocompletion
2018-02-05 21:40:32 +00:00
James Booth
e6d9a243cd
Clear rooms cache on disconnect
2018-02-05 20:30:20 +00:00
James Booth
26a182945f
Add /rooms cache
2018-02-05 20:01:54 +00:00
James Booth
8db2389df6
Filter rooms by simple case insensitive text
2018-02-04 21:59:33 +00:00
James Booth
a04b02c928
Include filter string in no rooms message
2018-01-28 00:13:36 +00:00
James Booth
e571ccd8ea
Fix tests, move glob creation
2018-01-27 23:51:03 +00:00
James Booth
2e414797a4
Allow filtering rooms list by glob
2018-01-27 22:42:31 +00:00
James Booth
d4f06ac300
Show roster room server by defailt
2018-01-27 19:39:33 +00:00
James Booth
4c7396e77d
Allow hiding room server in roster
2018-01-21 18:56:20 +00:00
James Booth
250e972b7a
Update copyright
2018-01-21 15:00:02 +00:00
James Booth
ca1dcdda6c
Show libotr and libgpgme versions on --version
...
issue #956
2017-08-10 22:47:17 +01:00
James Booth
17b4e45c57
Show Python version on --version
...
issue #956
2017-08-10 22:17:05 +01:00
Pavel Anosov
380e6f2b58
Fixed a typo in an error message ("This build does not support python plugins.")
2017-07-31 15:06:23 +02:00
James Booth
fc42e15789
Merge remote-tracking branch 'pasis/legacy-ssl'
2017-07-13 22:28:32 +01:00
Dmitry Podgorny
da51d99831
Fix memory leak in cmd_init()
...
_cmd_index() returns string allocated by glib.
2017-07-01 17:01:49 +03:00
Dmitry Podgorny
1012e11283
Legacy SSL support
...
Add "legacy" tls policy to /account and /connect commands. When this
policy is specified the connection is connected with
XMPP_CONN_LEGACY_SSL flag. Notice, legacy SSL and STARTTLS are not
compatible and user has to know when exactly the new policy should be
used.
To enable it, run one of the next commands:
/connect <jid> tls legacy [server <host>]
/account <name> set tls legacy
Notice, there is no SRV record for legacy SSL. Therefore, you may need
"server" property to connect successfully. Refer to configuration
provided by your server.
2017-06-24 21:33:30 +03:00
James Booth
4a6bf68727
Merge remote-tracking branch 'asdil12/ping'
2017-06-17 21:49:19 +01:00
Dominik Heidler
29f84ea3d4
Disable autoping if server doesn't support it
...
fixes #859
2017-06-16 12:11:44 +02:00
James Booth
f189dbc687
Only send ping requests to client that support it
2017-06-16 00:59:21 +01:00
James Booth
6511d61b13
Show message when server does not support ping
2017-06-15 23:27:30 +01:00
James Booth
b0a989a17f
Recreate chat log when removed
...
fixes #210
2017-06-13 23:22:58 +01:00
James Booth
d52355d72c
Set locale in unit tests
...
issue #901
2017-04-29 20:33:28 +01:00
James Booth
3e18aab9f3
Use g_utf8_find_ functions for prof_occurrences
...
issue #901
2017-04-28 21:41:55 +01:00
Michael Santos
db18ba8bdf
server_events: fix potential NULL pointer deref
2017-04-12 10:20:22 -04:00
James Booth
2fafaec8a7
Allow search_any and search_all for help
2017-04-07 00:51:29 +01:00
James Booth
a39440b61d
Match all terms on help search
2017-04-07 00:36:36 +01:00
James Booth
6cba96fdd1
Update /help help
2017-04-07 00:10:58 +01:00
James Booth
68cb8c9a8e
Free cmd search index
2017-04-07 00:08:54 +01:00
James Booth
fd6620a950
Add basic help search
2017-04-06 23:36:50 +01:00
James Booth
6b830277a6
Allow previous autocompletion with shift tab
2017-04-01 00:27:11 +01:00
James Booth
97edebadcb
Update Glib dependency to 2.40
2017-03-25 02:07:27 +00:00
James Booth
131c98b305
Add missing header
2017-03-25 01:48:40 +00:00
James Booth
b5e0106526
Autocomplete accent and case insensitive
2017-03-25 01:40:20 +00:00
Lukasz Marcinowski
91bc302acf
Add theme option for time in a status bar
2017-03-22 19:56:00 +01:00
James Booth
f1a5d12950
Autotidy windows on /leave
...
fixes #917
2017-03-21 21:13:44 +00:00
James Booth
5f1ba08f55
Add plugins sourcepath property
2017-02-05 22:37:48 +00:00
James Booth
286fecf38d
Allow installing plugins from directory
2017-02-05 21:09:03 +00:00
James Booth
c405367dfe
Update plugins help
2017-02-05 19:23:16 +00:00
James Booth
dd42c3de6a
Allow loading all plugins
2017-02-05 19:16:14 +00:00
James Booth
a9fab9ed2d
Allow unloading all plugins
2017-02-05 18:54:33 +00:00
James Booth
68a3daedb9
Update Copyright
2017-01-28 17:24:22 +00:00
James Booth
8978f809f2
Fix alias help
...
fixes #899
2017-01-28 16:39:04 +00:00
James Booth
6679b890a0
Fix multibyte chars in prof_occurrences
...
issue #901
2017-01-26 00:52:13 +00:00
James Booth
b712820c99
Check barejid in carbons
2017-01-24 13:37:28 +00:00
James Booth
8e75437a7e
Add carbons from check
2017-01-23 22:25:36 +00:00
James Booth
c073418306
Check roster contact before displayng typing notification
...
fixes #896
2017-01-23 20:56:05 +00:00
James Booth
83385cdbc0
Add pre chat and room message blocking
2017-01-22 18:09:04 +00:00
James Booth
7090f85d85
Add chat and room show calls to plugins api
2017-01-21 20:23:28 +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
68496db0b4
Fix conditional compile
2017-01-18 23:16:23 +00:00
James Booth
fccf56be10
Add prof.encryption_reset to Plugins API
...
issue #885
2017-01-18 22:46:29 +00:00
James Booth
0d0578b625
Fix compile
2017-01-16 00:07:17 +00:00
James Booth
2b7894ccff
Remove status from cl_ev_presence_send
...
fixes #888
2017-01-15 23:59:31 +00:00
James Booth
b64646979e
Remove unused function
2016-11-24 00:09:14 +00:00
James Booth
926d935e26
Fix help tags for /account
2016-11-23 00:17:50 +00:00
James Booth
e043029a50
Allow clearing account resource
...
issue #880
2016-11-22 00:39:52 +00:00
James Booth
c441dbfa42
Fix typo
2016-11-20 02:21:22 +00:00
James Booth
609d05366c
Use server features for account muc service
...
issue #878
2016-11-20 02:09:34 +00:00
Spiridonov Alexander
fd2346ccb4
Makes /clear behavior configurable.
2016-11-07 03:26:15 +03:00
James Booth
8008d8c3c6
Add get_room_nick to plugins api
2016-11-06 23:01:16 +00:00
Frank Zschockelt
c0f099cb84
Added main.help.header theme option
2016-10-29 18:19:12 +02:00
James Booth
eac6b52e05
Fix typo
2016-10-29 13:06:50 +01:00
Spiridonov Alexander
0d6aef68e7
Change /clear behaviour. Closes issue #855 .
2016-10-22 00:08:55 +03:00
James Booth
5b464f4cb0
Add /tls certpath default
...
issue #871
2016-10-17 23:48:03 +01:00
James Booth
04e0a53381
Remove unused functions
2016-10-16 22:34:27 +01:00
James Booth
333403d2e5
Remove ui_current_print_formatted_line
2016-10-16 22:13:49 +01:00
James Booth
769e71b17b
Remove ui_current_print_line
2016-10-16 21:45:48 +01:00
James Booth
257d2d4f4f
Remove unused function prototypes
2016-10-16 20:12:49 +01:00
James Booth
8fd9f9e201
Remove unused function prototype
2016-10-16 19:51:56 +01:00
James Booth
721dd050df
Remove cons_show_word
2016-10-16 19:48:41 +01:00
James Booth
2032978ff6
Remove cons_show_time
2016-10-16 19:45:06 +01: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
f761d403b3
Use win_print_outgoing for carbons
2016-10-15 20:13:21 +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
478c749ff9
Remove ui_current_error_line
2016-10-15 17:08:29 +01:00
James Booth
9d075c9805
Remove ui_win_error_line
2016-10-15 17:07:15 +01:00
James Booth
864939b809
Use win_printf_line instead of win_println
2016-10-15 17:03:30 +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
dcc2123ec4
Allow filepath autocompletion in plugins
...
closes #858
2016-10-10 22:28:23 +01:00
James Booth
d485588a07
Remove hash table replace entry when adding plugin timed callbacks
...
fixes #869
2016-10-09 23:37:36 +01:00
James Booth
40116db7c5
Fix /tls revoke message
...
fixes #868
2016-10-06 00:45:55 +01:00
James Booth
82a8f5f10b
Minor code tidy cmd_ac.h
2016-10-06 00:20:20 +01:00
James Booth
4ba496a466
Minor code tidy cmd_ac.c
2016-10-06 00:19:06 +01:00
James Booth
c40660b0d8
Use current room for /bookmark add and /bookmark remove
2016-10-05 00:52:57 +01:00
James Booth
94fd116ef8
Reduce scope of GString in autocompleters
...
fixes #867
2016-10-03 21:44:40 +01:00
James Booth
772a72b6e6
Add config.h to http_upload.c
2016-10-02 22:52:17 +01:00
Jack Henschel
4b2f9448f7
Correct minor spelling errors
2016-09-27 16:20:37 +02:00
James Booth
b087f84d95
Allow setting /occupants properties when no connected
2016-09-26 00:46:09 +01:00
James Booth
da437642a5
Merge branch 'master' into win-order
2016-09-25 23:32:15 +01:00
James Booth
a48df40138
Fix assertion errors in unit tests
2016-09-25 23:30:44 +01:00
James Booth
b8bec9fce6
Merge branch 'master' into win-order
2016-09-25 22:58:04 +01:00
James Booth
9796b23cfd
Use caps_lookup when checking for feature
2016-09-25 22:57:43 +01:00
James Booth
83974728af
Remove verbose output on window move
2016-09-25 21:47:00 +01:00
James Booth
72f6b2db71
Tidy window position prefs
2016-09-25 21:24:29 +01:00
James Booth
3bf383cec6
Fix defaulting win positions
2016-09-25 20:49:54 +01:00
James Booth
6c8def367c
Fix /inputwin up
2016-09-23 01:04:41 +01:00
James Booth
d3cc5bd7ed
Allow vertical positioning of all windows
2016-09-23 00:56:53 +01:00
James Booth
3983ee1d6b
Rename /titlebar -> /wintitle
2016-09-22 21:42:00 +01:00
James Booth
0aa758cbfb
Add /inputwin top|bottom command
...
closes #853
2016-09-19 23:40:45 +01:00
James Booth
4647fd8a4f
Free stanzas on stanza_create_http_upload_request()
2016-09-05 23:27:56 +01:00
James Booth
77ef4de29e
Free hashtable key list in connection_jid_for_feature()
2016-09-05 23:19:22 +01:00
James Booth
74148dd6a2
Fix string frees in _complete_filepath
2016-09-05 23:10:09 +01:00
James Booth
2613d23f8b
Free string on /plugins install
2016-09-05 22:55:23 +01:00
James Booth
9e59571f84
Free strings in _complete_filepath
2016-09-05 22:27:30 +01:00
Tim Nieradzik
74942da0ff
cmd_defs: Fix typo
2016-09-05 09:34:00 +03:00
James Booth
f6e9ff5b9b
Fix missing params
2016-09-03 22:53:32 +01:00
James Booth
0fe35d5f05
Merge pull request #845 from pasis/tray
...
Fix implicit declaration of function free
2016-09-03 22:39:16 +01:00
Dmitry Podgorny
6090f76f72
Add missed argument
2016-09-02 20:56:20 +03:00
Dmitry Podgorny
5be8f5f560
Fix implicit declaration of function free
2016-09-02 20:53:41 +03:00
James Booth
47a1a62009
Add sv_ev_bookmark_autojoin
2016-08-28 22:42:09 +01:00
James Booth
ea98a8b04a
Rename Bookmark->jid to Bookmark->barejid
2016-08-28 22:12:50 +01:00
James Booth
6a18dedca8
Fixed typos
2016-08-28 17:30:15 +01:00
James Booth
fca59a3110
log_info on private carbons
2016-08-28 17:27:26 +01:00
James Booth
ea9216f054
Change autoping timeout default to 20 seconds
2016-08-22 22:22:43 +01:00
James Booth
f14a3e075e
Update help
2016-08-22 00:34:35 +01:00
James Booth
0886062806
Use hash table for bookmarks
2016-08-21 15:25:49 +01:00
James Booth
a52230978f
Tidy presence.c
2016-08-20 23:31:27 +01:00
James Booth
948d63d855
Tidy _handle_carbons
2016-08-20 21:37:20 +01:00
James Booth
583fb2b8c6
Use libstrophe xmpp_presence_new convenience function
2016-08-20 20:37:48 +01:00
James Booth
27263508c7
Use libstrophe xmpp_iq_new convenience function
2016-08-20 20:20:38 +01:00
James Booth
d61abd3577
Use libstrophe xmpp_message_get_body convenience function
2016-08-20 19:23:32 +01:00
James Booth
39ff399626
Use libstrophe xmpp_message_new convenience function
2016-08-20 19:08:13 +01:00
James Booth
45048e3ac8
Replace stanza_create_message with libstrophe convenience functions
2016-08-20 18:51:19 +01:00
James Booth
24c3eff428
Use libstrophe convenience functions for stanza attributes
2016-08-20 18:16:51 +01:00
James Booth
a978bb12bf
Send receipt request only when receiver supports feature
...
issue #829
2016-08-18 22:53:23 +01:00
James Booth
71dcb2e427
Only include lastactivity feature in disco responses when enabled
2016-08-18 00:29:33 +01:00
James Booth
4de570b1ee
Only include receipts feature in disco responses when enabled
...
issue #829
2016-08-18 00:10:15 +01:00
James Booth
41acaee955
Use hashtable to store profanity disco features
2016-08-17 23:49:20 +01:00
James Booth
7b22c813c8
Copy feature strings on caps_get_features
2016-08-17 23:32:43 +01:00
James Booth
9945246a64
Use hashtables for plugin disco features
2016-08-17 23:21:48 +01:00
James Booth
8b6549b36c
Add caps_create
2016-08-14 01:06:13 +01:00
James Booth
b26c961730
Move caps_create -> stanza_create_caps_from_query_element
2016-08-14 00:15:03 +01:00
James Booth
d5f14abd4e
Move caps_create_sha1_str -> stanza_create_caps_sha1_from_query
2016-08-14 00:07:08 +01:00
James Booth
9c4e02db77
Move caps static functions
2016-08-13 23:53:41 +01:00
James Booth
e776ef9b68
Rename caps_contains -> caps_cache_contains
2016-08-13 23:45:58 +01:00
James Booth
9cecef5609
Move caps_create_query_response_stanza -> stanza_create_caps_query_element
2016-08-13 23:43:54 +01:00
James Booth
9ce59b1589
Free DiscoIdentity and SoftwareVersion
2016-08-13 17:49:19 +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
e949114284
Reduce variable scope in caps_create_sha1_str
2016-08-13 16:21:25 +01:00
James Booth
5c6e75fa06
Merge branch 'master' into caps
2016-08-13 00:17:23 +01:00
James Booth
4f5281bff0
Refactor stanza.c
2016-08-13 00:12:46 +01:00
James Booth
6ec159737b
Use list for profanity service discovery features
2016-08-12 22:25:35 +01:00
James Booth
a65403c54a
Remove disco features added by plugins on unload
2016-08-11 23:20:59 +01:00
James Booth
bb676cc0fc
Check return values from python plugin hooks
2016-08-11 00:27:14 +01:00
James Booth
5d6b2d0b04
Add resource to chat message plugin hooks
2016-08-10 21:37:22 +01:00
James Booth
a948d741d9
Rename plugin jid arguments
2016-08-10 20:45:14 +01:00
James Booth
efeb2fcfcd
Rename plugins settings functions
2016-08-07 00:16:57 +01:00
James Booth
350c121e26
Return int on c_api_settings_string_list_remove_all
2016-08-01 22:40:47 +01:00
James Booth
b2508be8f4
Return boolean on prof_settings_string_list_remove_all()
2016-08-01 22:09:25 +01:00
James Booth
b72bb3a157
Remove log debugs
2016-08-01 21:59:12 +01:00
James Booth
2518aa5078
Add string lists settings to plugins
2016-08-01 21:34:38 +01:00
James Booth
51a7588bc4
Add typedefs to C plugin API
2016-07-30 21:22:45 +01:00
James Booth
3396e75d23
Handle NULL saved_status
2016-07-27 23:35:49 +01:00
James Booth
a1f48f8457
Copy curr_status and free original in session.c
2016-07-27 22:07:11 +01:00
James Booth
6c1fef522a
Use g_strndup in c_api.c
2016-07-27 21:32:44 +01:00
James Booth
ae003e62fb
Remove copied char* in groupchat_log_chat
2016-07-26 00:40:29 +01:00
James Booth
8602ede65e
Tidy rosterwin memory handling
2016-07-25 23:28:04 +01:00
James Booth
6777919d96
Rename rooms vars in _send_room_presence
2016-07-25 23:13:09 +01:00
James Booth
5f8ef3816c
Free rooms list in sv_ev_login_account_success
2016-07-25 23:11:41 +01:00
James Booth
71730e9d99
Unreference GDateTime
2016-07-25 23:09:51 +01:00
James Booth
8633cd6e29
Free ProfAccount
2016-07-25 22:38:23 +01:00
James Booth
d5d04756ce
Fix memory leaks
2016-07-25 22:23:54 +01:00
James Booth
943e91268c
Fix memory leaks
2016-07-25 21:56:38 +01:00
James Booth
139e53f388
Decrement reference count on python hook args objects
2016-07-25 21:48:00 +01:00
James Booth
130e753aac
Use Py_RETURN_NONE
2016-07-25 21:13:47 +01:00
Dominik Heidler
5d354defca
Fix indentation in http_upload.c
2016-07-25 12:28:33 +02:00
James Booth
fcbf56657d
Remove unused function prototype
2016-07-25 02:06:55 +01:00
James Booth
0ffb441cad
Store GTimeZone in statusbar
...
fixes #785
2016-07-25 01:29:09 +01:00
James Booth
33172cb917
Free pgpdir
2016-07-25 01:03:44 +01:00
James Booth
1437c360b5
Free old hash table on wins_tidy
2016-07-25 00:57:42 +01:00
James Booth
8f9f018d5a
Free python_str_or_unicode_to_string results
2016-07-25 00:41:34 +01:00
James Booth
923256b8bb
Free icon dir path name
2016-07-25 00:18:52 +01:00
James Booth
cbfc34f7c3
Remove debug on plugin win create
2016-07-24 22:32:39 +01:00
James Booth
a3a73cf003
Move all filepath handling to files.c
2016-07-24 21:49:35 +01:00
James Booth
29452f8f1b
Move xgd functions
2016-07-24 17:12:09 +01:00
James Booth
6cc4abedc5
Move window functions to window_list.c
2016-07-24 17:02:09 +01:00
James Booth
37742d71b6
Move resource conversions
2016-07-24 16:27:39 +01:00
James Booth
ef942bd27a
Add config/files.c
2016-07-24 16:22:15 +01:00
James Booth
e7bfaa643f
Move autoaway check
2016-07-24 16:06:24 +01:00
James Booth
0a57c4de78
Tidy headers
2016-07-24 15:43:51 +01:00
James Booth
5bc38b6bc2
Moved window_list.c
2016-07-24 15:14:46 +01:00
James Booth
8f213f22e7
Moved tray.c
2016-07-24 15:10:58 +01:00
James Booth
90b9b48ab9
Moved roster_list.c
2016-07-24 15:08:47 +01:00
James Booth
cc32bb7738
Moved resource.c
2016-07-24 15:05:24 +01:00
James Booth
2af0d38e3d
Moved muc.c
2016-07-24 15:02:43 +01:00
James Booth
1c5efaeb58
Moved jid.c
2016-07-24 14:59:28 +01:00
James Booth
c23506f453
Moved contact.c
2016-07-24 14:55:32 +01:00
James Booth
9cff37352a
Make header defines consistent
2016-07-24 14:51:39 +01:00
James Booth
310abd401d
Moved chat_state.c
2016-07-24 14:28:25 +01:00
James Booth
25a6252a28
Moved chat_session.c
2016-07-24 14:23:55 +01:00
James Booth
0649aad80d
Move event timeout to connection module
2016-07-24 14:08:30 +01:00
James Booth
8d8f2f290d
Moved chat state handling code to chat_state.c
2016-07-24 13:56:11 +01:00
James Booth
7c593c2780
Reorder headers
2016-07-24 02:16:57 +01:00
James Booth
4209b1cf45
Add /plugins python_version command
2016-07-24 02:12:56 +01:00
James Booth
b48a3d2f6a
Python plugins: Free string values
2016-07-24 01:53:13 +01:00
James Booth
47dfa6c3fc
Merge branch 'master' into python3
...
Conflicts:
.gitignore
2016-07-24 01:22:29 +01:00
James Booth
4ecb4019a6
Add missing include
2016-07-24 01:19:59 +01:00
James Booth
e8fc80f5c1
Update GPL link in headers
2016-07-24 01:14:49 +01:00
James Booth
d44472049b
Allow str and unicode in python api
2016-07-24 01:09:18 +01:00
James Booth
d2e237203c
Check for win callback hash before removing
2016-07-21 22:23:28 +01:00
Pete Maynard
14c8f53f85
Updated GPL URL
2016-07-21 11:49:52 +01:00
James Booth
376811a960
Tidy python3 conditional code
2016-07-19 01:02:33 +01:00
James Booth
71ccfcc09f
Add python_init_prof()
2016-07-18 23:24:26 +01:00
James Booth
269b8ce832
Merge branch 'master' into python3
2016-07-18 22:55:05 +01:00
James Booth
feb50ea411
capabilities: use free instead of g_free
2016-07-18 22:32:58 +01:00
James Booth
d4b3a05678
Use g_path_get_basename when installing plugin
2016-07-18 20:55:50 +01:00
James Booth
7d742f704f
Fix prof module init for python3
2016-07-18 01:27:23 +01:00
James Booth
ace2715cf7
Added PYTHON3 define
2016-07-14 00:00:46 +01:00
James Booth
10814b044d
Fix plugin install output
2016-07-13 01:06:03 +01:00
James Booth
9af921f260
Remove redundant plugin dir function
2016-07-13 00:49:53 +01:00
James Booth
7abf506261
Free memory when plugin windows closed
2016-07-13 00:25:45 +01:00
James Booth
0991699ae6
Add /plugins install command
2016-07-12 23:50:21 +01:00
James Booth
5f393a6d9f
Remove plugin window on /close
2016-07-12 02:16:12 +01:00
James Booth
1a7eb00763
Check for plugin win before creating
2016-07-12 01:51:27 +01:00
James Booth
9a0111c10a
Allow reloading all plugins with /plugin reload
2016-07-10 01:28:30 +01:00
James Booth
448bef247b
Add /plugin reload command
2016-07-10 01:07:41 +01:00
James Booth
44862fe842
Remove string allocation for conflists
2016-07-10 00:43:53 +01:00
James Booth
d24a0508f4
Store python modules on load
2016-07-09 23:42:09 +01:00
James Booth
7776c1494a
Reaload python module if previous loaded on /plugin load
2016-07-09 23:13:36 +01:00
James Booth
1926ceea3d
Plugin unload remove cmd_acs and close window
2016-07-05 22:46:00 +01:00
James Booth
82458c9d96
Revert "Move adding plugins commands to autocompleters"
...
This reverts commit 97f7997025
.
2016-07-05 22:11:58 +01:00
James Booth
97f7997025
Move adding plugins commands to autocompleters
2016-07-05 22:10:41 +01:00
James Booth
99598e7d57
Add plugins on_unload hook
2016-07-05 22:03:14 +01:00
James Booth
71178b3696
Store plugin completers by plugin name
2016-07-05 21:46:36 +01:00
James Booth
fd218ac3e4
Pass plugin name to all autocompleter functions
2016-07-04 23:14:08 +01:00
James Booth
03c7ac73fd
Move prefs_remove_plugin to plugins_unload
2016-07-04 23:00:41 +01:00
James Booth
c8d09083a8
Remove plugin callbacks in plugin_destroy functions
2016-07-04 22:54:55 +01:00
James Booth
0d7b4cb4a7
Store plugin window callbacks by plugin name
2016-07-04 22:42:15 +01:00
James Booth
a779ad0764
Use hash table for plugin timed functions
2016-07-04 21:48:04 +01:00
James Booth
71879a3f64
Free plugins commands on quit
2016-07-04 00:41:29 +01:00
James Booth
606a860bdc
Rename callback execte and destroy functions
2016-07-03 01:03:05 +01:00
James Booth
70a79abd3b
Add plugin name to win_create api call
2016-07-03 00:48:22 +01:00
James Booth
31c66bf857
Move plugin theme and settings init
2016-07-01 00:01:07 +01:00
James Booth
3bd3de036f
Use hash table to store plugins
2016-06-30 23:58:04 +01:00
James Booth
bb33522e4d
Fix plugin load prefs
2016-06-30 23:18:30 +01:00
James Booth
0cd1b50122
Move plugin config add on load
2016-06-30 23:16:54 +01:00
James Booth
ef6bad483e
/plugins unload command and completer
2016-06-30 23:14:05 +01:00
James Booth
56480ce9ea
Pass plugin name to api layer
2016-06-30 22:54:46 +01:00
James Booth
29eb843d56
Revert "WIP - Unload plugin commands"
...
This reverts commit a01eb5d08e
.
2016-06-30 22:37:52 +01:00
James Booth
a01eb5d08e
WIP - Unload plugin commands
2016-06-29 23:35:57 +01:00
James Booth
61a09476c5
Add macro for plugins completer add
2016-06-23 00:44:52 +01:00
James Booth
1e37b755fe
Add macro for C plugins register_timed
2016-06-23 00:36:26 +01:00
James Booth
c6288d89f9
Add function to get C plugin name
2016-06-23 00:26:50 +01:00
James Booth
620e6a5a37
Add function to get plugin name
2016-06-22 01:09:39 +01:00
James Booth
3a3933eff6
Add ProfIdFreeCallback to free stale id handlers on connect
2016-06-08 23:25:51 +01:00
James Booth
d79364358a
Fix memory leaks
2016-06-08 22:23:00 +01:00
James Booth
4c03ee6066
Free string on connect autocomplete
2016-06-08 21:29:15 +01:00
James Booth
086fd30e23
Check for NULL before clearing connection data
2016-06-01 22:41:17 +01:00
James Booth
784d9642bc
Complete no arg for /account properties
2016-06-01 00:41:27 +01:00
James Booth
78785fa7e6
Complete no arg for /join properties
2016-06-01 00:15:01 +01:00
James Booth
28cc04ca7d
Complete no arg for /connect properties
2016-06-01 00:04:35 +01:00
James Booth
3215418296
Merge branch 'master' into complete-empty
2016-05-31 23:29:46 +01:00
James Booth
e758f74e48
Update /notify help
2016-05-31 23:26:30 +01:00
James Booth
705e3dc7d8
Remove commented code
2016-05-31 23:22:07 +01:00
James Booth
383e601f25
Move /statuses options to /presence command
2016-05-31 23:21:19 +01:00
James Booth
52c01a8ee8
Add /presence titlebar subcommand
2016-05-31 22:46:03 +01:00
James Booth
1d5cc33279
Merge branch 'master' into complete-empty
2016-05-25 00:22:51 +01:00
James Booth
94212cd01c
Update window navigation help
2016-05-25 00:21:27 +01:00
James Booth
5c15f95646
Complete no arg for /bookmark properties
2016-05-24 23:39:27 +01:00
James Booth
b574919738
Complete no arg for /role set
2016-05-24 23:39:09 +01:00
James Booth
e8b2578039
Complete no arg for /affiliation set
2016-05-24 01:43:45 +01:00
James Booth
492c1bfa14
Complete no arg for /script run|show
2016-05-24 01:39:16 +01:00
James Booth
78c23dce58
Complete no arg for /theme load
2016-05-24 01:37:25 +01:00
James Booth
d1ece21b5f
Complete no arg for /plugins load
2016-05-24 01:36:21 +01:00
James Booth
e183fd9186
Allow empty autocomplete for /otr policy
2016-05-24 01:28:04 +01:00
James Booth
f377e0329e
Allow autocomplete for basic compelters when no input
2016-05-24 00:32:53 +01:00
James Booth
6559263b2f
Option to bookmark room invites
...
issue #813
2016-05-23 23:53:44 +01:00
James Booth
0edd430925
Merge branch 'cmd-tidy'
2016-05-23 22:34:45 +01:00
James Booth
3aa788772e
Updated console output for room invites
2016-05-23 22:27:29 +01:00
James Booth
d0117cdabe
Remove unneeded functions from cmd headers
2016-05-23 00:40:10 +01:00
James Booth
eb105e9172
Move functions from cmd_defs to cmd_funcs
2016-05-23 00:31:00 +01:00
James Booth
dfe613418f
Fix command headers
2016-05-23 00:06:01 +01:00
James Booth
fb34785566
Rename command sources
2016-05-22 23:59:52 +01:00
James Booth
eaf2901b01
Add cmd_autocomplete.c
2016-05-20 00:19:03 +01:00
James Booth
a04e34fddc
Fix output for tray timer setting
2016-05-15 02:15:45 +01:00
James Booth
c6a6e3a51c
Add /tray timer <seconds>
...
closes #787
2016-05-15 01:41:34 +01:00
James Booth
d00615beba
Add /tray read on|off command
...
issue #786
2016-05-15 00:55:19 +01:00
James Booth
cf8452d95f
Reorder headers in inputwin.c
...
Fixes unknown type name '_fpos64_t' error on Cygwin
2016-05-11 22:50:19 +01:00
James Booth
598b2b3235
Add missing string.h include in blocking.c
2016-05-11 22:32:22 +01:00
James Booth
5439317ba1
Reorder headers in common.c
...
Fixes unknown type name '_fpos64_t' error on Cygwin
2016-05-11 22:30:39 +01:00
James Booth
d805d0c886
Added missing header in ui.h
2016-05-11 22:22:59 +01:00
James Booth
b935b4621c
Add connection_set_disconnected()
2016-05-11 00:02:39 +01:00
James Booth
7e079f3684
Add connection_clear_data()
2016-05-10 23:53:44 +01:00
James Booth
a7fa27df01
Remove connection_free_conn(), connection_free_ctx()
2016-05-10 23:34:25 +01:00
James Booth
a67d199581
Add connection_shutdown()
2016-05-10 23:27:16 +01:00
James Booth
3d20c85ada
Remove JABBER_STARTED, JABBER_UNDEFINED connection states
2016-05-10 23:18:11 +01:00
James Booth
22c4d91c50
Remove _session_free_session_data from session.c
2016-05-10 22:49:58 +01:00
James Booth
02bc4f217c
Tidy connection.c
2016-05-10 22:09:09 +01:00
James Booth
5cb6b174cc
Tidy connection.c
2016-05-10 21:59:41 +01:00
James Booth
030ac9e4e1
Fixed compile
2016-05-08 23:48:29 +01:00
James Booth
cd5d242207
Tidy session.c
2016-05-08 21:47:52 +01:00
James Booth
ec51ae689c
Free features on disconnect
2016-05-08 03:14:22 +01:00
James Booth
ac3ab39e23
Use hash table for disco features
2016-05-08 03:04:36 +01:00
James Booth
29380a39cd
Remove connection_get_disco_infos()
2016-05-08 02:37:02 +01:00
James Booth
188df60cfe
Rename diso_items->diso_infos
2016-05-08 02:30:34 +01:00
James Booth
31e6cc8e38
Add connection_get_disco_info()
2016-05-08 02:25:34 +01:00
James Booth
137202e5dd
Add connection_item_for_feature()
2016-05-08 01:45:22 +01:00
James Booth
f28655c5c8
Move logic to connection_set_disco_items
2016-05-08 01:10:42 +01:00
James Booth
f1cf444e05
Move conneciton initialisation to _connection_handler
2016-05-08 00:21:06 +01:00
James Booth
2f61f8d646
Move xmpp_initialise() to conneciton.c
2016-05-07 23:29:19 +01:00
James Booth
6ce8edc194
Move disco info struct to connection
2016-05-07 23:28:16 +01:00
James Booth
9596591610
Move available resources to connection struct
2016-05-07 23:04:50 +01:00
James Booth
7f1beadea9
Rename xmpp types
2016-05-06 02:31:55 +01:00
James Booth
81e95966cf
Remove redundant tls secured function
2016-05-06 02:18:31 +01:00
James Booth
c009144b3d
Tidy connect function
2016-05-06 02:08:10 +01:00
James Booth
3cb60399a1
Move connection_connect
2016-05-06 02:02:23 +01:00
James Booth
579d062063
Move send stanza function
2016-05-06 01:51:58 +01:00
James Booth
b6c4a2029f
Move conn is secure function
2016-05-06 01:49:27 +01:00
James Booth
8950dbb768
Move tls peer cert function
2016-05-06 01:47:19 +01:00
James Booth
31b0f0b0c8
Move uuid functions
2016-05-06 01:16:13 +01:00
James Booth
d1c71e98f4
Move connection fulljid function
2016-05-06 01:12:54 +01:00
James Booth
cc485ed338
Tidy session.c
2016-05-06 01:10:12 +01:00
James Booth
88f423afea
Rename jabber_ functions
2016-05-06 00:53:03 +01:00
James Booth
3bb1f12410
Add session.c
2016-05-05 23:51:49 +01:00
James Booth
f6fa63b374
Renamed connection.c -> session.c
2016-05-05 22:10:10 +01:00
James Booth
ccabc08fef
Tidy xmpp headers
2016-05-04 01:19:51 +01:00
James Booth
2e1eb9210a
Remove userdata from _blocklist_result_handler
2016-05-02 22:49:30 +01:00
James Booth
aabe3afff8
Rename stanza handler init functions
2016-05-02 22:34:43 +01:00
James Booth
39fb05577a
Rename id_handler_add -> iq_id_handler_add
2016-05-02 21:50:39 +01:00
James Booth
92780f3e6e
Remove free DiscoInfo values
2016-05-02 00:59:37 +01:00
James Booth
31ab43ea2d
Free stanza text and DiscoInfo features
2016-05-02 00:40:16 +01:00
James Booth
2bacd43a16
Free stanza text on plugin send hooks
2016-05-01 23:41:57 +01:00
James Booth
6df6fed305
Disable tray icon by default
2016-05-01 20:33:42 +01:00
James Booth
d2df850f38
Update /blocked help
2016-05-01 20:20:15 +01:00
James Booth
5a48b7b7d5
Use current jid for /blocked add in chat win
2016-05-01 20:06:34 +01:00
James Booth
b8c94376aa
Add /blocked command
2016-05-01 19:39:39 +01:00
James Booth
a2efda19cc
Merge remote-tracking branch 'pasis/const-char'
2016-05-01 00:39:16 +01:00
James Booth
623fbe9e47
Plugins: Added prof_disco_add_feature()
2016-04-30 23:00:07 +01:00
James Booth
a718e6f91b
Refactored /account set commands
2016-04-28 01:13:42 +01:00
James Booth
d4789ac375
Fixed compiler errors
2016-04-27 22:10:27 +01:00
James Booth
df30d4ba52
Check first entry in command sub_funcs
2016-04-27 21:52:58 +01:00
Dmitry Podgorny
efbf233c85
Define stanza's attributes as const char*
...
In most get-like funcitons libstrophe returns pointer to a string
that resides in an internal structure (e.g. xmpp_stanza_t). Hence,
Profanity must not change such strings. Define respective variables
as 'const char*' to reduce a chance of error and conform future
libstrophe's interface.
This patch mostly replaces 'char *' with 'const char*', but also
fixes two memory leaks after stanza_get_reason(). Add comment within
stanza_get_reason() to fix conflict with different allocator types.
2016-04-27 10:31:28 +00:00
James Booth
5687c3e419
Free inputrc string
...
fixes #797
2016-04-27 01:36:14 +01:00
James Booth
ce32814679
Updated Command structure comments
2016-04-27 00:03:24 +01:00
James Booth
d4aa73159e
Merge branch 'master' into subcmds
2016-04-26 23:56:12 +01:00
James Booth
043a673fe1
Merge remote-tracking branch 'asdil12/xep_0363_http_file_upload'
2016-04-26 23:30:26 +01:00
James Booth
4ca6296fb7
Fix OSX compile
2016-04-26 23:50:56 +02:00
James Booth
65960dfbb2
Fixed cygwin compile (again)
2016-04-26 23:50:56 +02:00
James Booth
9d263d7c83
Fixed cygwin compile
2016-04-26 23:50:55 +02:00
Dominik Heidler
1b0ce852bb
Implement XEP-0363: HTTP File Upload
2016-04-26 23:50:55 +02:00
James Booth
0ff29b3d2e
Added sub commands to command structure
2016-04-26 20:29:45 +01:00
Dominik Heidler
28e260c7da
Cache all disco items and features on connect
2016-04-20 00:19:40 +02:00
James Booth
20a0313d17
Show correct tray icon immediately on enable
2016-04-18 00:35:03 +01:00
James Booth
12727744ab
Load/destroy tray icons on init/shutdown
2016-04-18 00:26:17 +01:00
James Booth
de65f505a8
Moved gtk specific code to tray.c
2016-04-18 00:07:15 +01:00
James Booth
507ea5746c
Grouped tray icon initialisation code
2016-04-17 23:57:05 +01:00
James Booth
153552ed07
Remove redundant return value from _cmd_set_boolean_preference
2016-04-17 23:46:29 +01:00
James Booth
2daa02cb60
Merge remote-tracking branch 'asdil12/tray_config'
2016-04-17 23:17:43 +01:00
Dominik Heidler
4cb1d73a83
Make tray icon configurable using /tray cmd
2016-04-16 16:29:32 +02:00
James Booth
6cc04bc3ba
Merge branch 'muc-hooks'
2016-04-15 22:58:32 +01:00
James Booth
feeac48cf3
Merge remote-tracking branch 'asdil12/help'
2016-04-15 22:50:00 +01:00
James Booth
8f009c3c8d
Plugins fixed return values for python stanza hooks
2016-04-15 22:37:44 +01:00
James Booth
d90c47f287
Plugins: Added more muc hooks
2016-04-15 22:24:50 +01:00
Dominik Heidler
02bad7af28
Add /command? shortcut to view /help command
2016-04-13 10:47:53 +02:00
James Booth
b3a3351a35
Plugins: Added account_name and fulljid to prof_init hook
2016-04-13 00:10:37 +01:00
James Booth
46687aeced
Only complete unloaded plugins on /plugins load
2016-04-12 23:25:31 +01:00
James Booth
8ff9fd7091
Execute python string to append plugin path
2016-04-12 02:31:28 +01:00
James Booth
697db019d5
Merge remote-tracking branch 'Dav1d23/master'
...
Conflicts:
Makefile.am
install-all.sh
2016-04-11 00:23:36 +01:00
David
b300fa5baf
Use log facilities instead of printing on the stderr
2016-04-10 15:44:37 +02:00
David
92a50000c2
Re-introduce gtk_use boolean
...
This param is still actual, in case the environemnt does not
support gtk initialization.
Fix a GTK assert on the way (GTKStatusIcon is not a Widget, but a plain
GObject).
2016-04-10 15:44:37 +02:00
James Booth
5ddde3e59a
Fixed /plugins help
2016-04-10 01:23:35 +01:00
James Booth
03ab8baf4d
Added /plugins load command
2016-04-10 01:15:11 +01:00
James Booth
21aa08fdb1
Fixed typos
2016-04-09 20:19:50 +01:00
James Booth
699e08b238
Fixed timestamp for on_room_history_message
2016-04-08 01:17:22 +01:00
James Booth
93672eba9f
Plugins: Added on_room_history_message
2016-04-08 00:11:33 +01:00
James Booth
2f432a942d
Plugins: Added completer_clear
2016-04-07 23:25:47 +01:00
James Booth
7ca6084657
Plugins: Added on_room_win_focus
2016-04-07 22:15:03 +01:00
James Booth
271278dd20
Plugins: Added on_chat_win_focus
2016-04-07 22:06:14 +01:00
James Booth
bfdc3b8807
Plugins: Added completer_remove
2016-04-07 21:25:12 +01:00
James Booth
a328367eb4
Plugins: Renamed register_ac->completer_add
2016-04-07 20:49:23 +01:00
James Booth
2ba121aef3
Room mention case insensitive by default
2016-04-07 01:37:04 +01:00
James Booth
bdb1287a4f
Free mentions list
2016-04-07 01:14:12 +01:00
James Booth
f243e333fc
Added whole word matches for room mention
2016-04-07 01:01:27 +01:00
James Booth
6edf3b3f94
Merge branch 'master' into mention-config
2016-04-04 23:44:04 +01:00
James Booth
1de11678dc
Added reset to /notify help
2016-04-04 23:41:30 +01:00
James Booth
afa2c0f5ba
Added mention match preferences
2016-04-03 23:33:21 +01:00
James Booth
d9344b00fe
Added prof_strstr function
2016-04-03 22:30:24 +01:00
Dominik Heidler
4b1481987d
Fix typo: diso -> disco
2016-04-01 12:09:35 +02:00
James Booth
6f81f2b845
Removed newline handling code from rosterwin.c
2016-03-31 23:14:51 +01:00
James Booth
9b177a9e01
Removed #AX_PREFIX_CONFIG_H
2016-03-31 21:05:02 +01:00
James Booth
c91ce78a04
Added missing include in callbacks.c
2016-03-31 20:16:53 +01:00
James Booth
759d9ccb8d
Added plugins presence hooks
2016-03-30 23:18:12 +01:00
David
1e60d17d7c
libgtk is now optional
...
Having the lib is no more needed.
2016-03-30 23:21:41 +02:00
James Booth
194c53c4fa
Plugins: Added basic incoming message function
2016-03-29 23:44:54 +01:00
James Booth
94b9b1d8e4
Merge branch 'master' into stanza-hooks
2016-03-29 21:44:18 +01:00
James Booth
66467f976f
PGP: Fixed array size for encryption keys
2016-03-29 21:30:41 +01:00
James Booth
7b138b71db
PGP: Also encrypt using sender public key
2016-03-29 21:24:37 +01:00
James Booth
c6730783bf
Removed duplicate typedef
2016-03-28 15:44:03 +01:00
James Booth
d39e48ba18
Use one stanza handler per type (message, iq, presence)
...
Allows plugins to stop stanza processing
2016-03-28 01:25:48 +01:00
James Booth
8933d59b03
Added basic stanza receive eooks
2016-03-27 21:36:29 +01:00
James Booth
18555ffcb4
Allow sending stanzas in xml console
2016-03-26 17:11:19 +00:00
James Booth
7b34f72007
Use xmpp_send_raw_string instead of xmpp_send_raw
2016-03-26 16:44:02 +00:00
James Booth
d0397f3da5
Added stanza send hooks for plugins
2016-03-26 15:50:16 +00:00
James Booth
ce9b0836a0
Added integer settings for plugins
2016-03-26 02:19:30 +00:00
James Booth
e2b02733df
Added plugin string settings
2016-03-26 01:48:42 +00:00
James Booth
a4e6d50a40
Added boolean settings for plugins
2016-03-25 22:06:24 +00:00
James Booth
4c913aa08b
Added prof_send_stanza to plugins API
2016-03-23 22:57:03 +00:00
James Booth
503fc9e393
Update roster count on carbons
2016-03-22 00:28:22 +00:00
James Booth
6f537c3818
Add PGP decryption for incoming/outgoing carbons
2016-03-22 00:20:29 +00:00
James Booth
1075f07ff5
Parse plugin args with freetext parser
...
Also allow adding to plugin autocompleters
2016-03-15 22:32:44 +00:00
David
bdad30b2d9
This case was clearly not tested locally, so many failures here.
...
I guess now this should be fine, at least for the no gui case.
Locally it is working fine btw.
I miss Gerrit and the ability to test before pushing right now... :'(
2016-03-13 17:52:49 +01:00
David
028d24283e
fix no gtk init
2016-03-13 17:50:42 +01:00
David
72856f9b6c
typo
2016-03-13 17:12:01 +01:00
David
e43f3e95c0
fix possible free(NULL)
2016-03-13 17:09:58 +01:00
David
098d84ef73
Merge branch 'tray_icon' into HEAD
...
Let's thanks Aline <linuxine@gmail.com> for the icons.
Enjoy!
2016-03-12 17:37:46 +01:00
David
520eee23a9
fixing leakings
2016-03-12 16:55:52 +01:00
James Booth
11356fec01
Merge branch 'master' into plugins-python
2016-03-10 22:23:56 +00:00
James Booth
185405b9d1
Fixed PLATFORM_CYGWIN references
2016-03-10 22:21:56 +00:00
David
82de077b02
read icons from local dir
...
if desired, icons could be put in the .config dir.
In this case, these icons will be read, instead of the other ones.
2016-03-10 22:45:16 +01:00
James Booth
d157e9bf71
Plugins: Fix python threading
...
Release global interpreter lock during api calls
2016-03-09 23:36:22 +00:00
David
4abdad03ec
Fix icons when installed in share... it is working now!
2016-03-09 20:09:31 +01:00
James Booth
85abab6bf9
Merge branch 'master' into plugins-python
2016-03-08 20:28:51 +00:00
James Booth
1ddfa47313
Free TLSCertificate memory
2016-03-08 20:25:36 +00:00
David
718a708b93
Use a folder to add icons
...
NOTE: it is not working in this release, I have to get how to retrieve
icons from folder.
2016-03-07 22:26:48 +01:00
James Booth
9850e041c8
Merge branch 'master' into plugins-python
2016-03-07 20:44:18 +00:00
James Booth
5cabcf9b79
Plugins: Added callbacks init and close functions
...
Included destroy function in PluginWindowCallback
2016-03-07 20:36:25 +00:00
David
d1177d3ade
better icons
2016-03-07 20:10:59 +01:00
James Booth
e4071015ea
Merge branch 'master' into plugins-python
2016-03-07 18:42:02 +00:00
James Booth
72f940360d
Free GLists in plugin autocompleters
2016-03-07 18:32:32 +00:00
James Booth
958dc6b184
Free GList in wins_get_plugin
2016-03-07 18:30:13 +00:00
James Booth
355adb117c
Added WIN_PLUGIN case to win_free()
2016-03-07 18:24:04 +00:00
James Booth
35e456aebd
Merge branch 'master' into plugins-python
2016-03-07 17:15:48 +00:00
Klement Sekera
e1b15182a4
Fix typo maxinum->maximum
2016-03-07 14:06:10 +01:00
David
dc0c3cc699
Introduce Tray Icon for Profanity
...
Add tray icon for profanity based on Gtk StatusIcon.
Different icon is displayed in case the user has unread messages.
2016-03-06 19:10:46 +01:00
James Booth
581b6e2cf1
Merge branch 'master' into plugins-python
2016-03-03 00:32:48 +00:00
James Booth
09cfbb7e05
Fixed /help group formatting
2016-03-03 00:31:27 +00:00
James Booth
5ddf379ffd
Merge branch 'master' into plugins-python
2016-03-01 00:04:38 +00:00
James Booth
7fdf50eb31
Add plugin wins to /win and /close autocompletion
2016-03-01 00:03:11 +00:00
James Booth
da7e59bc86
Merge remote-tracking branch 'origin/master'
2016-02-28 23:18:50 +00:00
James Booth
21f6e88c3b
Added current_win_is_console to python API
2016-02-28 23:12:53 +00:00
James Booth
c81b05b919
Merge branch 'master' into plugins-python
2016-02-28 23:08:32 +00:00
James Booth
ab08d0a378
Added current_win_is_console to plugins api
2016-02-28 23:06:45 +00:00
James Booth
25c9b19562
Merge branch 'master' into plugins-python
2016-02-28 19:06:13 +00:00
James Booth
accde2a61c
Fixed cygwin compile
2016-02-28 19:05:26 +00:00
James Booth
d458e930d1
Merge branch 'master' into plugins-python
2016-02-25 01:52:32 +00:00
James Booth
fbd913ec62
Remove default from plugin theme NULL checks
2016-02-25 01:51:33 +00:00
James Booth
f507a6f541
Merge branch 'master' into plugins-python
2016-02-25 01:18:48 +00:00
James Booth
c562702ab9
Check for NULLs before testing plugin theme
2016-02-25 01:17:47 +00:00
James Booth
661cda3b10
Merge branch 'master' into plugins-python
2016-02-25 00:14:06 +00:00
James Booth
51c6cefafd
Call plugin disconnect hook before disconnecting on autoping fail
...
fixes #746
2016-02-25 00:10:22 +00:00
James Booth
f18fbe333a
Merge branch 'master' into plugins-python
2016-02-24 23:54:25 +00:00
James Booth
5b34e11e45
Added missing string.h include to plugins/api.c
2016-02-24 23:52:59 +00:00
James Booth
e3130dbe82
Merge branch 'master' into plugins-python
2016-02-24 01:00:39 +00:00
James Booth
9d31ce49c3
Added missing stdlib.h include
2016-02-24 00:59:28 +00:00
James Booth
d6e85e5cd6
Added python_api_cons_bad_cmd_usage
2016-02-24 00:48:34 +00:00
James Booth
2783c84a13
Added python support to -v
2016-02-24 00:36:23 +00:00
James Booth
0fc0b3eeec
Added python plugins code
2016-02-24 00:31:55 +00:00
James Booth
ac91e7ef85
Added theme support to plugins
2016-02-21 23:58:13 +00:00
James Booth
1654f16a2f
Return result from plugin calls
...
closes #739
2016-02-21 02:06:09 +00:00
James Booth
3705437a60
Removed plugin hook call for MUC history
2016-02-18 22:59:00 +00:00
James Booth
412dc13629
Added prof_cons_bad_cmd_usage plugin function
2016-02-18 22:25:43 +00:00
James Booth
0ed3b53bd2
Integrated plugins with /help command
2016-02-18 21:53:20 +00:00
James Booth
a152d7fb8e
Added cmd_help_autocomplete_add
2016-02-18 21:14:12 +00:00
James Booth
0654aa1151
Added plugin commands to /help autocompletion
2016-02-18 21:06:21 +00:00
James Booth
639623d625
Tidied cons_show_help
2016-02-18 20:52:52 +00:00
James Booth
a14b7815ae
Added new help format to c plugins WIP
2016-02-18 01:20:37 +00:00
James Booth
2ac911618a
Fix call to plugins_post_chat_message_send
2016-02-16 23:48:47 +00:00
James Booth
7945ef5277
Fix plugin command memleak
2016-02-15 00:09:51 +00:00
James Booth
bd928f0f29
Removed non c plugin code
2016-02-14 23:52:04 +00:00
James Booth
3dd5c3b2c3
Updated copyright
2016-02-14 23:12:01 +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
f887a35c0c
Fixed memory deallocations
2016-02-14 01:59:53 +00:00
James Booth
d7b331874a
Fix memory leaks
2016-02-14 01:49:57 +00:00
James Booth
7a19ee822b
Fixed theme defaults memory release
2016-02-14 01:37:13 +00:00
James Booth
87e3530e22
Added missing prefs_free_string()
2016-02-14 01:34:34 +00:00
James Booth
c3dfd6d35a
Highlight longer triggers first
2016-02-13 22:55:57 +00:00
James Booth
1a3dc91e11
Highlight room trigger terms
2016-02-13 22:46:25 +00:00
James Booth
2f82f50a35
Added roommention.term theme option
2016-02-10 23:03:23 +00:00
James Booth
71679a3159
Added mention and trigger themes for console
2016-02-10 21:38:28 +00:00
James Booth
6d518327a3
Fixed /role and /affiliation help
2016-02-07 19:32:23 +00:00
James Booth
62b0cdd8fd
Fix room notification reminders
2016-02-07 01:15:40 +00:00
James Booth
abc2f0de39
Added /roster show|hide unsubscribed
2016-02-07 00:49:48 +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
e1962261a9
Tidy notify_room_message()
2016-02-04 00:45:37 +00:00
James Booth
c14ef33906
Tidy notify_message()
2016-02-04 00:41:53 +00:00
James Booth
f8f9ad5197
Tidy prefs_do_chat_notify()
2016-02-04 00:35:10 +00:00
James Booth
8342265607
Removed unused arg: prefs_do_chat_notify()
2016-02-04 00:21:38 +00:00
James Booth
bab75cae15
Implemented /console private setting
2016-02-03 23:39:20 +00:00
James Booth
19a3066e28
Implemented /console chat setting
2016-02-03 23:16:42 +00:00
James Booth
72c1c49695
Added console.chat preference
2016-02-03 23:02:52 +00:00
James Booth
003cdcf3fb
Added /console chat autocompletion
2016-02-03 22:47:22 +00:00
James Booth
30116dd922
Update autocompleters on roster nick change/clear
...
fixes #720
2016-02-03 22:19:29 +00:00
James Booth
46b27bcbd8
Fixed help formatting
2016-02-03 00:37:05 +00:00
James Booth
77e819e81a
Handle self leaving room in private wins
2016-02-03 00:11:38 +00:00
James Booth
292c9cf454
Handle occupant nick change in private wins
2016-02-02 23:25:26 +00:00
James Booth
3ddef99dfe
Handle occupant kicked/banned in private chat wins
2016-02-02 22:25:55 +00:00
James Booth
150015fa3d
Show message in private windows when user offline
2016-02-02 21:52:13 +00:00
James Booth
f91b21a1d6
Allow splitting roster rooms by conference server
2016-02-01 01:11:01 +00:00
James Booth
08c1e62e3c
Colour private chats by presence in roster panel
2016-01-31 23:08:14 +00:00
James Booth
431913127c
Roster panel colour fixes
2016-01-31 22:02:04 +00:00
James Booth
3805fcfbd1
Fixed /pref ui formatting
2016-01-31 20:26:49 +00:00
James Booth
a00095c8a9
Added roster.rooms.private.char setting
2016-01-31 20:17:20 +00:00
James Booth
dd250c6799
Show orphaned private chats
2016-01-31 19:38:06 +00:00
James Booth
a0f43adf5b
Only add private chats to Rooms unread count in roster when room active
2016-01-31 18:52:53 +00:00
James Booth
1c65c36cb6
Show offline contacts with unread messages in roster
2016-01-31 02:47:50 +00:00
James Booth
e816b124ee
Removed unused arg from roster_get_ functions
2016-01-31 02:33:44 +00:00
James Booth
369aa5e8a8
Added filter functions to roster
2016-01-31 02:27:02 +00:00
James Booth
f17ecb77d2
Added functions for rooms and private chat headers
2016-01-31 00:34:44 +00:00
James Booth
5bbb3ef413
Added _rosterwin_contacts_header function
2016-01-30 23:53:46 +00:00
James Booth
3f3182a7de
Reorganise rosterwin.c
2016-01-30 23:11:31 +00:00
James Booth
20659b9841
Added _rosterwin_contacts_all function
2016-01-30 22:54:52 +00:00
James Booth
2092273474
Removed _rosterwin_contacts_by_no_group function
2016-01-30 22:39:08 +00:00
James Booth
7c4a63f3c2
Moved offline check logic in roster panel
2016-01-30 22:23:59 +00:00
James Booth
b801a605a7
Show private chat unread message count in roster panel
2016-01-28 01:08:16 +00:00
James Booth
27adf0311b
Updated themes
2016-01-28 00:43:50 +00:00
James Booth
fbe8c1e345
Added unread counts to roster
2016-01-28 00:26:20 +00:00
James Booth
d4f1384b85
Store /roster count setting
2016-01-27 23:02:28 +00:00
James Booth
dbc52de043
Added /roster count command
2016-01-27 22:34:22 +00:00
James Booth
0501e49623
Fix handling of unknown characters with word wrap
2016-01-26 00:25:13 +00:00
James Booth
38dfdb9d84
Added missing header
2016-01-25 22:54:34 +00:00
James Booth
45a1c66e87
Themes: Tidy foreground colour loading
2016-01-25 00:27:56 +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
b6e9a09c64
Show console messages for room mention and triggers
...
closes #719
2016-01-24 23:47:17 +00:00
James Booth
5ff9fbd810
Tidy handling room mention and room triggers
2016-01-24 23:06:22 +00:00
James Booth
5ff36c14c0
Added roomtrigger colour theme
...
closes #717
2016-01-24 17:33:26 +00:00
James Booth
2a8da892aa
Roster private chat preferences
2016-01-24 02:28:22 +00:00
James Booth
7cacee8781
Added private chat roster group
2016-01-24 01:30:02 +00:00
James Booth
6d8a3e2020
Added /roster private command
2016-01-24 01:04:21 +00:00
James Booth
67abfaa21e
Added private chat to roster rooms
2016-01-24 00:33:24 +00:00
James Booth
2df622f9fd
Formatting of /theme properties command output
2016-01-23 22:55:04 +00:00
James Booth
6ec3f71a54
Pad theme settings
2016-01-23 21:47:23 +00:00
James Booth
53fc89f711
Added account theme property
2016-01-22 01:06:28 +00:00
James Booth
72bbb5c2b9
Keep cache of default theme properties
2016-01-21 23:59:45 +00:00
James Booth
37171fe692
Show theme colour value
2016-01-21 02:00:12 +00:00
James Booth
6b65a9be15
Tidied theme properties
2016-01-21 01:30:18 +00:00
James Booth
adb470c454
WIP: Add /theme properties command
2016-01-21 00:50:55 +00:00
James Booth
5bccee93cc
Added /roster show|hide contacts
2016-01-20 01:48:41 +00:00
James Booth
10507b687b
Added sys/select.h header includes
2016-01-19 22:55:43 +00:00
James Booth
519b10d105
Added /roster rooms position preference
2016-01-19 22:38:00 +00:00
James Booth
7b982f383c
Fixed theme load roster rooms unread setting
2016-01-17 21:20:00 +00:00
James Booth
cce01f1d75
Added /roster unread preferrence
...
closes #712
2016-01-17 02:17:12 +00:00
James Booth
e58be44f81
Added /roster room unread preference
...
closes ##708
2016-01-17 01:49:16 +00:00
James Booth
aab6a52eee
Show unread message count for contacts in roster
2016-01-15 00:44:47 +00:00
James Booth
fbc302317a
Added roster contact themes
2016-01-14 22:54:50 +00:00
James Booth
042ad4758f
Fix compile error on Cygwin
2016-01-14 00:05:12 +00:00
James Booth
2e99df1ac2
Added window title autocomplete to /close command
2016-01-13 23:19:11 +00:00
James Booth
7938db0a25
Use offline presence for software version responses from non contacts
...
fixes #714
2016-01-13 22:25:29 +00:00
James Booth
850ac3c6c0
Allow unlimited theme items
2016-01-10 03:11:05 +00:00
James Booth
de90243401
Added roster rooms order preference
2016-01-09 22:21:09 +00:00
James Booth
cd2458c019
Added roster room themes
2016-01-09 21:37:59 +00:00
James Booth
fcbd2592cf
Use different colour for roster chat rooms with unread messages
2016-01-09 20:40:13 +00:00
James Booth
51f033ae42
End OTR sessions on lost server connection
2016-01-08 00:22:17 +00:00
James Booth
a90e109f7e
Destroy roster after updating UI in server disconnect
2016-01-08 00:13:12 +00:00
James Booth
e5447cf37b
Added /win navigation by jid, win title
2016-01-07 00:38:17 +00:00
James Booth
393e690165
Merge branch 'master' into roster-struct
2016-01-05 01:38:31 +00:00
James Booth
e1e0fda8b3
Call UI disconnect functions before disconnecting with /disconnect
...
fixes #703
2016-01-05 01:30:32 +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
8e9bf08389
Add cl_ev_disconnect
2016-01-03 17:23:36 +00:00
James Booth
03f63a912e
Close all windows on /disconnect
2016-01-03 02:20:17 +00:00
James Booth
a713654f93
Fixed compilation without libotr
2016-01-03 02:01:01 +00:00
James Booth
4f35b11471
End OTR session when recipient goes offline
2016-01-03 01:32:37 +00:00
James Booth
3d9e860574
Set autoping timeout default to 10 seconds, added null checks
2016-01-02 16:45:20 +00:00
James Booth
523c35c375
Fix roster rooms checks
2016-01-02 02:50:17 +00:00
James Booth
8ca3fe4ea8
Sort roster rooms
2016-01-02 02:41:51 +00:00
James Booth
f9d89d564f
Check for mucwin before showing room in roster
2016-01-02 01:45:02 +00:00
James Booth
254c83d2d1
Added /roster show|hide rooms
2016-01-02 01:37:03 +00:00
James Booth
cf80fdc329
Added roster rooms preference
2016-01-02 01:29:12 +00:00
James Booth
22a14e1240
Show rooms in roster panel
2016-01-02 01:22:19 +00:00
James Booth
f27cae68c5
Added autoping timeout preference
2016-01-01 19:50:13 +00:00
James Booth
94b0d2c6da
Added hardcoded autoping timeout
2015-12-31 01:48:04 +00:00
James Booth
08d30a4a83
Abort autping when existing attempt already in progress
2015-12-31 00:33:05 +00:00
James Booth
2847e39659
Tidy ping handlers
2015-12-31 00:11:58 +00:00
James Booth
a0c9b0cb70
Renamed autoping handler
2015-12-30 23:50:39 +00:00
James Booth
fb7001cffb
Added console muc message setting to themes
2015-12-30 00:48:37 +00:00
James Booth
6a8656a06b
Added /console command
2015-12-29 23:32:32 +00:00
James Booth
8ea228480c
Added console MUC message preference
2015-12-29 23:00:49 +00:00
Dmitry Podgorny
bea246d81b
Don't compile pgp code with --disable-pgp
2015-12-21 12:53:41 +02:00
James Booth
d9f5a2bda6
Updated console new message text
2015-12-20 23:26:05 +00:00
James Booth
1b88b5706e
Change console incoming message text to include "win"
2015-12-20 22:50:03 +00:00
James Booth
e3471fbfaa
Fixed /charset help
2015-12-20 03:15:00 +00:00
James Booth
1f56c12377
Added cons_show_incoming_room_message()
2015-12-20 00:54:17 +00:00
James Booth
8f6b37f650
Added /charset command
2015-12-19 23:32:58 +00:00
James Booth
a02c89a8e8
Use MB_CUR_MAX when calculating cursor position
2015-12-19 23:21:07 +00:00
James Booth
e1f674eca3
Fixed PGP error message
2015-12-19 22:55:33 +00:00
James Booth
88fd2a25ee
Show PGP error strings
2015-12-15 00:38:16 +00:00
James Booth
482eea4fcf
Moved sending of initial presence to sv_ev_roster_received
2015-12-14 23:57:06 +00:00
Steven Erenst
29bc58f53c
Fix spelling and grammatical mistakes in command help text
...
Signed-off-by: Steven Erenst <stevenerenst@gmail.com>
2015-12-06 00:58:51 -08:00
James Booth
53fd2b3534
Read ~/.config/profanity/inputrc
2015-12-06 02:12:20 +00:00
James Booth
e9e54dca44
Renamed readline handlers
2015-12-06 01:33:53 +00:00
James Booth
0d25de9459
Added readline function definitions
2015-12-06 01:33:36 +00:00
James Booth
1093737c62
Updated version in CHANGELOG and comments
2015-12-02 00:34:27 +00:00
James Booth
1e6a1f9921
readline: set rl_outstream to /dev/null
2015-12-01 22:24:43 +00:00
James Booth
d35f30f382
Merge remote-tracking branch 'kiethandi/master'
2015-11-30 23:58:29 +00:00
U-DIR\kieran.thandi
d288291e49
Include string take 2
2015-11-30 23:16:33 +00:00
U-DIR\kieran.thandi
a78dba0ced
resolve strdup dec
2015-11-30 22:57:10 +00:00
U-DIR\kieran.thandi
b818dddb32
Inclued stdlib
2015-11-30 22:34:24 +00:00
James Booth
0920b65ddf
Added /wins unread
2015-11-30 00:17:44 +00:00
James Booth
d9435d3b65
Tidy wins_create_summary()
2015-11-29 23:58:52 +00:00
James Booth
6e304bb867
Disable readline completion
2015-11-29 22:23:31 +00:00
James Booth
921ce6ec7d
Changed /bookmark list output to show text "win"
2015-11-29 01:13:00 +00:00
James Booth
b404663847
Tidied output for /notify command
2015-11-29 00:34:53 +00:00
James Booth
3fbee4023e
Renamed /notify message -> /notify chat
2015-11-29 00:08:49 +00:00
James Booth
04ad003e11
Added /notify reset to autocompletion
2015-11-28 23:47:08 +00:00
James Booth
2fc984e673
Removed regular chat message triggers
2015-11-28 23:43:02 +00:00
James Booth
60305de0d9
Added room specific notify settings
2015-11-28 00:15:53 +00:00
James Booth
ff2b19e3f9
Merge branch 'master' into notifications
2015-11-27 21:09:24 +00:00
Alex Jordan
29a2de332c
Fix typo
2015-11-27 03:42:55 -08:00
James Booth
d3389db233
Only show reminder notifications when notifications are enabled
2015-11-25 22:33:26 +00:00
James Booth
20e63e364b
Finished basic /notify triggers
2015-11-25 21:24:21 +00:00
James Booth
b9794361f7
Implemented regular chat notify triggers
2015-11-25 01:42:27 +00:00
James Booth
01682a7594
Merge branch 'master' into notifications
2015-11-25 00:43:26 +00:00
James Booth
c14d5b77e0
Merge remote-tracking branch 'incertia/export-command'
2015-11-25 00:41:37 +00:00
Will Song
df2726bdf5
add spaces after constructs such as if/for/while
2015-11-24 18:24:48 -06:00
Will Song
e945347f52
free fname as soon as we are done with it (also prevents a memory leak)
2015-11-24 18:19:02 -06:00
Will Song
d8022a9f20
remove NULL check because parse_args will fail before calling cmd_export
2015-11-24 18:15:35 -06:00
Will Song
bd33a24beb
add some code to deal with a common $HOME convention
2015-11-24 18:12:41 -06:00
Will Song
c4a1e7da9b
show different message when one is not connected
2015-11-24 18:02:48 -06:00
Will Song
35b8d58270
move brace to newline to follow conventions
2015-11-24 17:59:28 -06:00
Will Song
b2bc69f926
styling changes and remove temporary comment
2015-11-24 17:58:55 -06:00
James Booth
9c8b137a51
Tidy regular chat and room notifications
2015-11-24 23:03:52 +00:00
Will Song
d4e0be7176
actually check the return value of write for rare fail conditions
2015-11-23 21:02:23 -06:00
Will Song
8b9b06c24f
ignore another return value and move initial loop declaration outside of loop
2015-11-23 20:43:42 -06:00
Will Song
ddd5ce857d
mark return value of sys_write as unused to fix tests
2015-11-23 20:39:04 -06:00
Will Song
4501231eb3
since we keep track of length correctly, we don't need to add a null terminator for sys_write
2015-11-23 20:30:48 -06:00
Will Song
f73f88c571
fix typo
2015-11-23 20:29:17 -06:00
Will Song
aac8bfe98f
decrease the amount of sys_writes used and add a useful error message
...
also pretty up console messages by adding an empty line
2015-11-23 20:27:25 -06:00
Will Song
fa6a26c6fd
add feature in issue #585
...
this should only be temporary due the silly amounts of syscalls involved
ideally we would create a new escaped string and write that directly via
fputs
2015-11-23 20:09:51 -06:00
James Booth
00a735ece5
Added autocompleters for notify trigger removal
2015-11-24 01:34:06 +00:00
James Booth
a488d944d2
Added functions to manage custom notification triggers
2015-11-24 00:38:33 +00:00
James Booth
52d4e70d76
Merge branch 'master' into notifications
2015-11-24 00:08:47 +00:00
James Booth
a2f5e921f2
Added conf_string_list_add
2015-11-24 00:02:21 +00:00
James Booth
97d1b964c3
Created config/conflists.c for shared config list handling
2015-11-23 23:54:14 +00:00
James Booth
b79d77409f
Added notify triggers WIP
2015-11-23 23:43:53 +00:00
James Booth
e8c0eeda8b
Show error message when OTR key cannot be loaded
2015-11-23 21:24:31 +00:00
James Booth
bf1e7efe23
Show summary of trusted certificates, add /tls cert <fingerprint>
...
fixes #676
2015-11-22 19:53:41 +00:00
James Booth
216493ef07
Tidied roster commands
2015-11-22 17:45:38 +00:00
James Booth
0f22179eef
Added /roster resource join
2015-11-22 16:37:05 +00:00
James Booth
c4e8af0b6d
Added /roster char resource
2015-11-22 02:04:59 +00:00
James Booth
fade5469df
Updated help
2015-11-22 01:51:32 +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
b4482b9fe1
Updated themes
2015-11-22 00:48:18 +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
5c08bea8d0
Added /roster indent presence
2015-11-21 22:03:43 +00:00
James Booth
ef0f093efd
Added /roster indent resource
2015-11-21 21:49:12 +00:00
James Booth
f54c2e8eca
Tidy rosterwin
2015-11-21 21:20:12 +00:00
James Booth
b73ff08a72
Free pref strings
2015-11-21 21:19:28 +00:00
James Booth
4b022687fa
Added /roster indent contact
2015-11-21 21:03:53 +00:00
James Booth
6935862195
Don't print empty line when no presence or status displayed in roster
2015-11-20 01:30:49 +00:00
James Booth
99b4fff949
Merge remote-tracking branch 'kiethandi/patch-2'
2015-11-20 00:38:08 +00:00
kiethandi
f948337103
Update privwin.c
2015-11-20 00:34:03 +00:00
James Booth
548f9394be
Removed unused priority settings
2015-11-20 00:18:13 +00:00
kiethandi
2c8c394595
Update privwin.c
...
Take 2 added include.
2015-11-20 00:16:51 +00:00
James Booth
16fbdedceb
Added /roster char contact
2015-11-20 00:06:46 +00:00
James Booth
3f18c8c35d
Added missing include
2015-11-19 23:32:11 +00:00
James Booth
316b6a7b8b
Added /roster char header
2015-11-19 23:21:51 +00:00
James Booth
78a8487892
Fixed /roster help
2015-11-19 01:02:13 +00:00
James Booth
4eb0f14a3d
Changed roster defaults, updated themes
2015-11-19 00:45:03 +00:00
James Booth
522b9ab6be
Show status when show presence disabled
2015-11-18 23:00:06 +00:00
James Booth
8e84d160e6
Added option to show resource priority in roster
2015-11-18 02:14:11 +00:00
James Booth
4505102fa8
Added roster count option
2015-11-18 02:02:49 +00:00
James Booth
edbd2d5843
Don't show offline below contact
2015-11-18 01:10:03 +00:00
James Booth
4efe456e74
Pass offline filter to roster_get_contacts
2015-11-18 01:03:35 +00:00
James Booth
b373cbcfc0
Pass offline filter to roster list functions
2015-11-18 00:25:35 +00:00
James Booth
2260e3bd6f
Pass ordering to roster list functions
2015-11-18 00:06:00 +00:00
James Booth
8e8852fa9f
Added /roster order name|presence
2015-11-17 23:37:33 +00:00
James Booth
230a14219c
Tidy rosterwin.c
2015-11-15 23:28:24 +00:00
James Booth
1d9d893ec0
Tidy rosterwin
2015-11-15 23:18:23 +00:00
James Booth
c31ba8c066
Added _rosterwin_presence()
2015-11-15 23:13:53 +00:00
James Booth
b44ea03022
Added _rosterwin_resource()
2015-11-15 22:54:09 +00:00
James Booth
98a395e933
Show presence when resource hidden
2015-11-15 22:17:36 +00:00
James Booth
badbc3003f
Show presence in roster WIP
2015-11-15 21:33:48 +00:00
James Booth
c5ac0f1319
Added missing default time formats.
...
issue #669
2015-11-14 22:42:56 +00:00
James Booth
c4a1d69a0c
Keep count of group members
2015-11-12 00:46:42 +00:00
James Booth
1f723a60b3
Tidy connection.c
2015-11-11 01:25:10 +00:00
James Booth
79c2b177a2
Tidy /tls command
2015-11-11 00:57:38 +00:00
James Booth
1e34b9c914
Added /tls trust
2015-11-10 23:26:19 +00:00
James Booth
fcfdc175b6
Allow /quit during TLS certificate verification prompt
2015-11-10 23:14:59 +00:00
James Booth
0bb596e14a
Added extra fields to TLSCertificate
2015-11-10 22:46:48 +00:00
James Booth
9302188a32
Show current TLS certificate
2015-11-10 01:20:40 +00:00
James Booth
bee27f4773
Added /tls cert to show current certificate fingerprint
2015-11-09 23:31:21 +00:00
James Booth
4cbfb88814
Store current TLS certificate fingerpint in memory for reconnect
2015-11-09 20:57:26 +00:00
James Booth
bee3e15ea4
Clear Readline undo list when autocompleting command history
...
fixes #667
2015-11-09 00:34:17 +00:00
James Booth
6feaa12253
Fixed /time help examples
...
fixes #650
2015-11-08 22:43:42 +00:00
James Booth
8230a28445
Added /account autocomplete for startscript property
2015-11-08 22:31:53 +00:00
James Booth
60215cdf9d
Renamed MUC private window functions
2015-11-08 22:08:29 +00:00
James Booth
8a397263dd
ui_incoming_private_msg takes ProfPrivateWin, added asserts
2015-11-08 22:01:51 +00:00
James Booth
ebff1fc81e
Moved ui_outgoing_private_msg to privwin.c
2015-11-05 23:30:51 +00:00
James Booth
9fcdc5901c
Removed ui_new_private_win
2015-11-05 23:28:21 +00:00
James Booth
f1daec663d
Added privwin module
2015-11-05 23:20:19 +00:00
James Booth
38255e9be4
Make all mucconfwin functions take ProfMucConfWin
2015-11-02 22:19:01 +00:00
James Booth
9106029261
Added assert check to mucconfwin_field_help
2015-11-02 22:07:07 +00:00
James Booth
2a65aa0030
Added assert check to mucconfwin_form_help
2015-11-02 22:06:12 +00:00
James Booth
a3e9178ea2
Renamed mucconfwin functions
2015-11-02 22:05:17 +00:00
James Booth
a761ea7176
Added mucconfwin module
2015-11-02 21:52:43 +00:00
James Booth
eece15d92c
Removed ui_statusbar_new
2015-11-02 21:24:12 +00:00
James Booth
022d20bbdc
Removed ui_clear_win
2015-11-02 21:21:52 +00:00
James Booth
84adec83f9
Removed ui_unread
2015-11-02 21:14:55 +00:00
James Booth
7f5b563a81
Removed ui_handle_room_join_error
2015-11-02 21:11:47 +00:00
James Booth
2089eebf09
Removed ui_win_type
2015-11-02 21:07:04 +00:00
James Booth
bcd19c6d16
Removed ui_swap_wins
2015-11-02 21:05:21 +00:00
James Booth
df5b93987f
Removed ui_tidy_wins
2015-11-02 21:03:30 +00:00
James Booth
75bce88b8a
Renamed ui_switch_win -> ui_focus_win
2015-11-02 20:59:36 +00:00
James Booth
14a81fbbbe
Removed ui_handle_recipient_not_found
2015-11-02 20:46:52 +00:00
James Booth
2ea0e1e938
Removed ui_titlebar_presence
2015-11-02 20:39:43 +00:00
James Booth
1c3eadbf1c
Removed ui_get_chat_recipients
2015-11-02 20:35:01 +00:00
James Booth
6779c5bf68
mucwin_hide_occupants takes ProfMucWin
2015-11-02 01:01:37 +00:00
James Booth
668f92ece2
mucwin_show_occupants takes ProfMucWin
2015-11-02 00:59:27 +00:00
James Booth
ce0763e160
mucwin_update_occupants takes ProfMucWin
2015-11-02 00:57:13 +00:00
James Booth
6c2617ccda
Added assert to mucwin_info
2015-11-02 00:53:54 +00:00
James Booth
1602011e01
mucwin_role_set_error takes ProfMucWin
2015-11-02 00:52:50 +00:00
James Booth
982bc8e066
mucwin_affiliation_set_error takes ProfMucWin
2015-11-02 00:51:12 +00:00
James Booth
c9db9257ae
Added assert to mucwin_show_role_list
2015-11-02 00:49:05 +00:00
James Booth
7bedb6c294
mucwin_handle_role_list takes ProfMucWin
2015-11-02 00:47:43 +00:00
James Booth
1aa3c0ea4f
mucwin_role_list_error takes ProfMucWin
2015-11-02 00:44:33 +00:00
James Booth
2792c59031
Added assert to mucwin_show_affiliation_list
2015-11-02 00:41:52 +00:00
James Booth
3341e8c202
mucwin_handle_affiliation_list takes ProfMucWin
2015-11-02 00:40:23 +00:00
James Booth
d81dbdb233
mucwin_affiliation_list_error takes ProfMucWin
2015-11-02 00:38:26 +00:00
James Booth
2e81a4efa3
mucwin_broadcast takes ProfMucWin
2015-11-02 00:36:25 +00:00
James Booth
5c53c94253
mucwin_kick_error takes ProfMucWin
2015-11-02 00:33:31 +00:00
James Booth
23ada0d38b
mucwin_subject takes ProfMucWin
2015-11-02 00:29:35 +00:00
James Booth
0592c7f9e9
mucwin_requires_config takes ProfMucWin
2015-11-02 00:26:56 +00:00
James Booth
986741dea8
mucwin_message takes ProfMucWin
2015-11-02 00:24:19 +00:00
James Booth
e68784be43
mucwin_history takes ProfMucWin
2015-11-02 00:19:46 +00:00
James Booth
6ed72d8a35
mucwin_nick_change takes ProfMucWin
2015-11-02 00:17:46 +00:00
James Booth
42643391a4
mucwin_occupant_nick_change takes ProfMucWin
2015-11-02 00:16:01 +00:00
James Booth
b3150ef8e1
mucwin_occupant_presence takes ProfMucWin
2015-11-02 00:14:16 +00:00
James Booth
d505a92d1e
mucwin_occupant_online takes ProfMucWin
2015-11-01 23:52:16 +00:00
James Booth
3a98bf315c
mucwin_occupant_banned takes ProfMucWin
2015-11-01 23:49:45 +00:00
James Booth
cc498110e2
mucwin_occupant_kicked takes ProfMucWin
2015-11-01 23:47:59 +00:00
James Booth
24f283e960
mucwin_occupant_offline takes ProfMucWin
2015-11-01 23:45:54 +00:00
James Booth
8b4bb1c7f1
mucwin_roster takes ProfMucWin
2015-11-01 23:41:45 +00:00
James Booth
d21faa4609
mucwin_room_disco_info takes ProfMucWin
2015-11-01 23:33:50 +00:00
James Booth
363fda82c1
mucwin_room_info_error takes ProfMucWin
2015-11-01 23:30:44 +00:00
James Booth
cb587b0772
Tidy sv_ev_muc_occupant_online
2015-11-01 23:26:47 +00:00
James Booth
ed9585376e
mucwin_occupant_role_and_affiliation_change takes ProfMucWin
2015-11-01 23:23:49 +00:00
James Booth
799c064dff
mucwin_occupant_affiliation_change takes ProfMucWin
2015-11-01 23:14:27 +00:00
James Booth
288c1a9d6e
mucwin_occupant_role_change takes ProfMucWin
2015-11-01 23:12:35 +00:00
James Booth
22cd5b433f
Tidy sv_ev_muc_self_online
2015-11-01 23:10:07 +00:00
James Booth
6ea9314f98
mucwin_role_and_affiliation_change takes ProfMucWin
2015-11-01 23:08:02 +00:00
James Booth
c0fc7b51e3
mucwin_affiliation_change takes ProfMucWin
2015-11-01 22:46:24 +00:00
James Booth
e547ae0bcc
mucwin_role_change takes ProfMucWin
2015-11-01 22:42:31 +00:00
James Booth
2be3b7d9a2
Tidied ui.h
2015-11-01 22:02:22 +00:00
James Booth
ed2324900a
Renamed ui_room_hide_occupants -> mucwin_hide_occupants
2015-11-01 21:57:57 +00:00
James Booth
a08f112fd0
Renamed mucwin_occupants -> mucwin_show_occupants
2015-11-01 21:57:18 +00:00
James Booth
2e08910841
Renamed ui_room_show_occupants -> mucwin_occupants
2015-11-01 21:56:17 +00:00
James Booth
4697393373
Renamed ui_room_update_occupants -> mucwin_update_occupants
2015-11-01 21:55:16 +00:00
James Booth
e4e76ec58b
Renamed ui_show_room_info -> mucwin_info
2015-11-01 21:54:31 +00:00
James Booth
67f8faf645
Renamed ui_handle_room_role_set_error -> mucwin_role_set_error
2015-11-01 21:53:12 +00:00
James Booth
50765190f7
Renamed ui_handle_room_affiliation_set_error -> mucwin_affiliation_set_error
2015-11-01 21:52:27 +00:00
James Booth
d47da01c00
Renamed ui_show_room_role_list -> mucwin_show_role_list
2015-11-01 21:51:24 +00:00
James Booth
556985ec39
Renamed ui_handle_room_role_list -> mucwin_handle_role_list
2015-11-01 21:50:32 +00:00
James Booth
2cc5f17871
Renamed ui_handle_room_role_list_error -> mucwin_role_list_error
2015-11-01 21:48:28 +00:00
James Booth
381bce385f
Renamed ui_show_room_affiliation_list -> mucwin_show_affiliation_list
2015-11-01 21:46:57 +00:00
James Booth
fa0ed64190
Renamed ui_handle_room_affiliation_list -> mucwin_handle_affiliation_list
2015-11-01 21:45:59 +00:00
James Booth
21d560f068
Renamed ui_handle_room_affiliation_list_error -> mucwin_affiliation_list_error
2015-11-01 21:37:09 +00:00
James Booth
b26e606061
Renamed ui_room_broadcast -> mucwin_broadcast
2015-11-01 21:35:15 +00:00
James Booth
a575ab174c
Renamed ui_handle_room_kick_error -> mucwin_kick_error
2015-11-01 21:34:28 +00:00
James Booth
25020df0f0
Renamed ui_room_subject -> mucwin_subject
2015-11-01 21:33:16 +00:00
James Booth
bd922a2651
Renamed ui_room_requires_config -> mucwin_requires_config
2015-11-01 21:32:35 +00:00
James Booth
f435d081b0
Renamed ui_room_message -> mucwin_message
2015-11-01 21:31:54 +00:00
James Booth
29af5d4a3b
Renamed ui_room_history -> mucwin_history
2015-11-01 21:30:39 +00:00
James Booth
d7c1c6f9bf
Renamed ui_room_nick_change -> mucwin_nick_change
2015-11-01 21:29:48 +00:00
James Booth
27632581eb
Renamed ui_room_member_nick_change -> mucwin_occupant_nick_change
2015-11-01 21:28:53 +00:00
James Booth
0ea7636db3
Renamed ui_room_member_presence -> mucwin_occupant_presence
2015-11-01 21:27:56 +00:00
James Booth
7821b2261d
Renamed ui_room_member_online -> mucwin_occupant_online
2015-11-01 21:27:00 +00:00
James Booth
1e47749f3a
Renamed ui_room_member_banned -> mucwin_occupant_banned
2015-11-01 21:25:55 +00:00
James Booth
b8e1e5a546
Renamed ui_room_member_kicked -> mucwin_occupant_kicked
2015-11-01 21:24:49 +00:00
James Booth
445452696e
Renamed ui_room_member_offline -> mucwin_occupant_offline
2015-11-01 21:23:37 +00:00
James Booth
51c9d4186e
Renamed ui_room_roster -> mucwin_roster
2015-11-01 21:20:11 +00:00
James Booth
fdd00b33a4
Renamed ui_show_room_disco_info -> mucwin_room_disco_info
2015-11-01 21:19:08 +00:00
James Booth
bb14b19bb1
Renamed ui_handle_room_info_error -> mucwin_room_info_error
2015-11-01 21:18:13 +00:00
James Booth
94f05ff42f
Renamed ui_room_occupant_role_and_affiliation_change -> mucwin_occupant_role_and_affiliation_change
2015-11-01 21:17:13 +00:00
James Booth
88206dc39b
Renamed ui_room_occupant_affiliation_change -> mucwin_occupant_affiliation_change
2015-11-01 21:16:22 +00:00
James Booth
eae0b59310
Renamed ui_room_occupant_role_change -> mucwin_occupant_role_change
2015-11-01 21:15:14 +00:00
James Booth
1a87132dc7
Renamed ui_room_role_and_affiliation_change -> mucwin_role_and_affiliation_change
2015-11-01 21:14:01 +00:00
James Booth
d706dcd4bc
Renamed ui_room_affiliation_change -> mucwin_affiliation_change
2015-11-01 21:12:53 +00:00
James Booth
75b505cf6a
Renamed ui_room_role_change -> mucwin_role_change
2015-11-01 21:11:30 +00:00
James Booth
bb5150b062
Added mucwin module
2015-11-01 20:05:43 +00:00
James Booth
aa59cf98b8
xmlwin_show takes window as argument
2015-11-01 19:45:35 +00:00
James Booth
db4bcd3e6d
Added xmlwin module
2015-11-01 19:39:36 +00:00
James Booth
7e386fbf00
Removed ui_open_xmlconsole_win()
2015-11-01 19:33:01 +00:00
James Booth
9eae20298f
Removed ui_create_xmlconsole_win()
2015-11-01 19:29:59 +00:00
James Booth
486d2e0495
Removed ui_xmlconsole_exists
2015-11-01 19:26:31 +00:00
James Booth
be90e44d4a
Tidy ui.h
2015-11-01 19:02:09 +00:00
James Booth
d6e4b74802
Removed ui_input_nonblocking()
2015-11-01 18:56:34 +00:00
James Booth
8195ab42cb
Removed ui_ paging functions
2015-11-01 18:49:53 +00:00
James Booth
4fa2efc7ca
Removed inp_win_clear()
2015-11-01 18:45:57 +00:00
James Booth
be4b07102c
Removed ui_input_clear()
2015-11-01 18:42:42 +00:00
James Booth
4c42ce9701
Removed ui_readline()
2015-11-01 18:38:21 +00:00
James Booth
17488ca346
Added missing config.h includes
2015-10-31 23:38:08 +00:00
James Booth
24896a3bfb
Added HAVE_LIBOTR checks
2015-10-31 23:22:23 +00:00
James Booth
dda753da3b
Added /subject edit <subject>
2015-10-29 21:21:41 +00:00
James Booth
f3c65496c7
Added /subject prepend <text>
2015-10-29 21:02:46 +00:00
James Booth
86354a2bc5
Added /subject append <text>
2015-10-29 20:55:37 +00:00
James Booth
fa8a5323b6
Reordered ui.h
2015-10-27 23:42:26 +00:00
James Booth
3f7f1186a6
Tidied remaining chatwin functions
2015-10-27 23:39:26 +00:00
James Booth
77e854c1e8
Renamed _win_show_history -> _chatwin_history
2015-10-27 23:28:59 +00:00
James Booth
31016a2150
Tidied chatwin_outgoing_carbon
2015-10-27 23:25:18 +00:00
James Booth
e7148bf82d
Renamed ui_outgoing_chat_msg -> chatwin_outgoing_msg
2015-10-27 23:20:03 +00:00
James Booth
af1124f28f
Renamed ui_incoming_msg -> chatwin_incoming_msg
2015-10-27 23:18:42 +00:00
James Booth
ea09dcda18
Renamed ui_new_chat_win -> chatwin_new
2015-10-27 23:15:28 +00:00
James Booth
dfd55d24cd
Moved ui_handle_otr_error
2015-10-27 23:12:46 +00:00
James Booth
ae89028772
Renamed ui_recipient_gone -> chatwin_recipeint_gone
2015-10-27 23:06:27 +00:00
James Booth
62c2febc11
Tidied ui_recipient_gone
2015-10-27 23:05:20 +00:00
James Booth
f4fbf0ecf0
Fixed otrlibv3
2015-10-27 22:39:48 +00:00
James Booth
ff9abecd50
Combined chatwin OTR SMP functions
2015-10-27 22:25:26 +00:00
James Booth
40dcd59727
Renamed chatwin OTR functions
2015-10-27 21:23:56 +00:00
James Booth
0fd616167e
Removed ui_events module
2015-10-27 20:49:06 +00:00
James Booth
61bcb59ee9
Removed ui_ev_new_chat_win
2015-10-27 20:45:07 +00:00
James Booth
8087053f49
Removed ui_ev_focus_win
2015-10-27 20:40:42 +00:00
James Booth
795360f446
Added missing include
2015-10-27 00:27:02 +00:00
James Booth
124aaa9809
remaining otr functions take ProfChatWin
2015-10-27 00:19:22 +00:00
James Booth
8bd74cefcf
ui_smp_successful takes ProfChatWin
2015-10-26 23:50:56 +00:00
James Booth
3cea2bc4f4
ui_smp_aborted takes ProfChatWin
2015-10-26 23:45:39 +00:00
James Booth
0b51f4d36f
ui_smp_unsuccessful_receiver takes ProfChatWin
2015-10-26 23:40:37 +00:00
James Booth
d11f8d5ffc
ui_smp_unsuccessful_sender takes ProfChatWin
2015-10-26 23:36:11 +00:00
James Booth
3ce55de1e1
ui_smp_recipient_initiated_q takes ProfChatWin
2015-10-26 23:29:01 +00:00
James Booth
55e857d6a8
ui_smp_recipient_initiated takes ProfChatWin
2015-10-26 23:22:59 +00:00
James Booth
93c3feeacf
Add assert checks for ProfChatWin functions
2015-10-26 23:11:38 +00:00
James Booth
9d3bcf5f90
ui_gone_insecure takes ProfChatWin
2015-10-26 23:10:30 +00:00
James Booth
4fb0b4b0da
ui_gone_secure takes ProfChatWin
2015-10-26 23:04:45 +00:00
James Booth
2efaa464bf
ui_message_receipt takes ProfChatWin
2015-10-26 22:54:06 +00:00
James Booth
8f45f332ad
Removed ui_chat_win_exists
2015-10-26 22:43:32 +00:00
James Booth
c99ff8d941
Extracted chatwin.c
2015-10-26 22:35:30 +00:00
James Booth
8966c59fe1
Merge remote-tracking branch 'jubalh/compwarn'
2015-10-26 20:52:45 +00:00
James Booth
ab9bdffab6
Merge remote-tracking branch 'jubalh/ptr_fix'
2015-10-26 20:47:48 +00:00
James Booth
d8fc7faa36
Removed ui_about() function
2015-10-26 20:37:50 +00:00
Michael Vetter
86c3c50219
Get rid of compiler warning concerning NULL pointer
...
Casting the into correct type.
2015-10-26 14:50:54 +01:00
Michael Vetter
a6f27d3ea7
Fix pointer dereferencing
...
Setting the pointer to NULL had no effect outside the function so far.
2015-10-26 14:24:11 +01:00
James Booth
523d92e950
Fixed spelling mistake
2015-10-26 01:07:15 +00:00
James Booth
dd11334b06
Applied coding style to src/
2015-10-26 00:52:33 +00:00
James Booth
c8a6bdb381
Applied coding style to src/xmpp/
2015-10-26 00:14:23 +00:00
James Booth
2ce43b633f
Applied coding style to src/ui/
2015-10-25 23:31:11 +00:00
James Booth
4a6b729a54
Applied coding style to src/ui/core.c
2015-10-25 23:11:27 +00:00
James Booth
1096603234
Applied coding style to src/ui/console.c
2015-10-25 22:59:35 +00:00
James Booth
559ff72cf5
Applied coding style to src/ui/buffer.h src/ui/buffer.c
2015-10-25 22:50:10 +00:00
James Booth
0017098400
Applied coding style to src/tools/
2015-10-25 22:47:42 +00:00
James Booth
39d183fe23
Applied coding style to src/pgp/
2015-10-25 22:43:19 +00:00
James Booth
894fa355e8
Applied coding style to src/otr/
2015-10-25 22:40:09 +00:00
James Booth
afbd2693cd
Applied coding style to src/event/
2015-10-25 22:32:46 +00:00
James Booth
5863292094
Applied coding style to src/config/
2015-10-25 22:23:38 +00:00
James Booth
ea899aabee
Applied coding style to account.h
2015-10-25 00:49:48 +01:00
James Booth
5f74c2044c
Applied coding style to accounts.c
2015-10-25 00:46:12 +01:00
James Booth
19e71f05f8
Applied coding style to account.h
2015-10-25 00:36:56 +01:00
James Booth
13ae9252a7
Applied coding style to account.c
2015-10-25 00:35:39 +01:00
James Booth
22db16e646
Applied coding style to commands.h
2015-10-25 00:33:41 +01:00
James Booth
99b2d5fda2
Applied coding style to commands.c
2015-10-25 00:31:42 +01:00
James Booth
fa53e23805
Applied coding style to command.h
2015-10-25 00:26:42 +01:00
James Booth
cded90bcd0
Applied coding style to command.c
2015-10-25 00:25:10 +01:00
James Booth
1d4d693a53
Merge remote-tracking branch 'jubalh/jub'
2015-10-24 21:42:04 +01:00
Michael Vetter
3b0f7e109c
Use consistent style for pointers
2015-10-21 15:07:49 +02:00
James Booth
6640a0891f
Force tls on all connections, add tls policy account property
2015-10-18 03:06:23 +01:00
James Booth
9d2745e462
Removed --disable-tls command line option
2015-10-18 00:17:45 +01:00
James Booth
31ecd41c8f
Renamed PREF_CERT_PATH -> PREF_TLS_CERTPATH
2015-10-18 00:03:15 +01:00
James Booth
b8c08f85cc
Added /script autocompletion
2015-10-17 23:14:55 +01:00
James Booth
eca7390951
Implemented /script show
2015-10-17 22:58:45 +01:00
James Booth
a35cbea732
Implemented /script list
2015-10-17 22:30:01 +01:00
James Booth
0769fc6b1b
Added /script run
2015-10-15 23:57:52 +01:00
James Booth
ea4fb2ce6c
Allow /lastactivity on|off when not connected
2015-10-15 23:32:47 +01:00
James Booth
904a5a81cf
Add ability to script commands after connect
2015-10-15 01:19:24 +01:00
James Booth
d38e10828e
Added /lastactivity on|off
2015-10-14 22:09:18 +01:00
James Booth
1fd2a8a4e9
Send service-unavailable when lastactivity disabled
2015-10-14 21:45:19 +01:00
James Booth
5fb8acb17f
Use lastactivity preference for presence updates
2015-10-14 21:30:48 +01:00
James Booth
8c9174b82f
Added lastactivity preference
2015-10-14 21:17:46 +01:00
James Booth
aae526fbde
Moved idle time check for last activity
2015-10-14 21:12:26 +01:00
James Booth
85764ddb53
Added TLS show to UI preferences
2015-10-14 00:58:33 +01:00
James Booth
ef832ce526
Add preference for showing TLS indicator in titlebar
...
Issue #616
2015-10-14 00:48:11 +01:00
James Booth
c9165ef9d2
Title bar TLS indicator
...
Issue #616
2015-10-14 00:29:22 +01:00
James Booth
ecbcecea7d
Fixed closing room config windows
2015-10-13 20:46:59 +01:00
James Booth
6e28df66e8
Use libstrophe/libmesode uuid generator
2015-10-12 23:37:11 +01:00
Michael Vetter
e434b1bbf8
Create is_notify_enabled function
...
The same code was used on two different occasions. I put it into a
function.
2015-10-12 09:29:04 +02: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
Michael Vetter
8dfa41ea8e
Remove double declaration and reduce scope of pcontact
...
In command/commands.c you declare pcontact at the top of the function.
Later in one case you declare it again and use it in a small scope. And
in the same function you use it again this time from the first
declaration. I think you intended only declaring it one time. At first I
thought about top of the function because its easier to find. Then I saw
that you declare "Jid jid" not at the top too, and I think for the sake
of reducing scope it is better. So I went for this approach.
2015-10-09 10:34:58 +02:00
James Booth
de15d47be4
Fixed resize during password and tls commands
2015-10-06 23:21:47 +01:00
James Booth
09cd288186
Updated theme template, changed default lastactivity format
2015-09-30 23:22:39 +01:00
James Booth
b9948a4c01
Added time format perferences per window type
2015-09-30 22:34:27 +01:00
James Booth
075c108e2d
Fixed spelling
2015-09-30 00:07:35 +01:00
James Booth
1afe492e30
Added jabber:iq:last to capabilities
2015-09-29 23:55:01 +01:00
James Booth
99fc70bd92
Added last activity time format option
2015-09-29 23:30:23 +01:00
James Booth
ac1164a3fa
Use more specific messages for last activity responses
2015-09-29 21:51:04 +01:00
James Booth
09833fb0dd
Unmap key sequence Alt+=
...
Fixes #629
2015-09-29 21:08:42 +01:00
James Booth
bfdda17b7f
Fix last active query
2015-09-29 00:53:58 +01:00
James Booth
26d160cae8
WIP: Added last activity request and response
2015-09-29 00:01:38 +01:00
James Booth
a12624ea75
Increased help examples size
2015-09-28 21:39:09 +01:00
James Booth
9f4e2c036e
Added contact OTR policy to help
2015-09-28 21:34:27 +01:00
James Booth
0b03f72b2c
Added missing account properties to /account rename
2015-09-28 21:24:49 +01:00
James Booth
16103f6cc7
Removed old code to fix legacy accounts
2015-09-28 20:42:59 +01:00
James Booth
9593e17c3c
Include last activity in initial presence
2015-09-27 23:53:06 +01:00
James Booth
54e225aa53
Added auto xa option, tidied autoaway code
2015-09-27 23:08:30 +01:00
James Booth
fe22fea9a8
Fixed spelling mistake
2015-09-27 18:32:21 +01:00
James Booth
6f2487c5c1
Tidied autoaway code
2015-09-25 23:29:10 +01:00
James Booth
ca3da5a929
Allow autoaway when status is dnd
2015-09-25 23:04:57 +01:00
James Booth
100db7c36c
Set status to what it was before autoaway
2015-09-25 22:55:44 +01:00
James Booth
22ba3db0b2
Send current presence when autoaway mode idle
2015-09-25 22:08:21 +01:00
James Booth
f7aa03f8e6
Include last activity with autoaway mode away
2015-09-25 21:53:29 +01:00
James Booth
a5c6710024
Removed redundant last activity setter
2015-09-25 00:35:08 +01:00
James Booth
b484411ea8
Save last activity to account on disconnect
2015-09-25 00:26:58 +01:00
James Booth
b96e3f100b
Fixed /tls help
2015-09-24 01:23:48 +01:00
James Booth
3e38d64397
Added HAVE_LIBMESODE check before setting cert path
2015-09-24 01:13:45 +01:00
James Booth
bd42185389
Added /tls revoke
2015-09-24 01:06:53 +01:00
James Booth
8d2c7f1ac0
Show trusted certificate fingerprint first
2015-09-24 00:44:48 +01:00
James Booth
6f8ad6b8e8
Added /tls trusted command
2015-09-24 00:43:41 +01:00
James Booth
d96e68ea53
Save trusted certificates to tlscerts file with more information
2015-09-24 00:18:18 +01:00
James Booth
40ce5cb0e0
Parse TLS cert subject
2015-09-23 23:01:59 +01:00
James Booth
1eab57bd13
Perform directory exists check before setting TLS cert path
2015-09-23 20:42:47 +01:00
James Booth
0321adde3e
Fixed spelling
2015-09-23 20:38:52 +01:00
James Booth
a37d55e1a9
Added TLS trusted certificate path preference
2015-09-23 20:37:41 +01:00
James Booth
bd9c28c100
Tidied output for cert callback
2015-09-23 00:17:10 +01:00
James Booth
a964050b87
Use subject name in cert callback
2015-09-22 23:56:22 +01:00
James Booth
b88885aaae
Store trusted TLS cert fingerprints
2015-09-22 22:44:18 +01:00
James Booth
9a53854a1d
Added conditionals for libmesode cert verification
2015-09-22 21:55:46 +01:00
James Booth
9414ad268d
Prompt user to allow or deny untrusted TLS certificates
2015-09-22 21:42:05 +01:00
James Booth
74151e6419
Added TLS cert fail callback
2015-09-22 20:55:41 +01:00
James Booth
2b88e2f1bf
Check for libmesode, fall back to libstrophe
2015-09-21 21:40:04 +01:00
James Booth
d7bba74091
Moved /winstidy command to /wins autotidy
2015-09-19 23:31:04 +01:00
James Booth
232cc7601d
Added otr and pgp to /prefs command help
2015-09-09 22:59:47 +01:00
James Booth
03ee1d56e6
Added conference and receipts features to caps query response
2015-09-09 22:36:07 +01:00
James Booth
fed6128bbc
Spelling fix
2015-09-09 19:31:11 +01:00
James Booth
b266e4d035
Pass delay timestamp to all incoming chat events
2015-09-08 20:18:31 +01:00
James Booth
e44688306b
Removed duplicate help entry for /roster show empty
2015-09-02 00:07:25 +01:00
James Booth
8a90e1acf1
PGP: Use old gpgme_io_write
2015-09-01 21:52:11 +01:00
James Booth
aee832f7c1
PGP: Use old gpgme_io_write
2015-09-01 21:40:07 +01:00
James Booth
b468fd7ae4
PGP: UI tweaks for passphrase request
2015-09-01 21:25:58 +01:00
James Booth
4d18c5ff52
PGP: Added null check for passphrase_attempt
2015-09-01 21:08:23 +01:00
James Booth
53035f5e4c
Save PGP passphrase when correct
2015-09-01 21:05:17 +01:00
James Booth
7dc1b9d428
Fixed passing from arg in PGP ask passphrase
2015-09-01 20:33:23 +01:00
James Booth
1f4fd0fcb3
Added UI function to get PGP passphrase
2015-09-01 20:16:04 +01:00
James Booth
dd346eefc4
Added PGP passphrase callback
2015-09-01 19:24:56 +01:00
James Booth
688be91c23
PGP: Format fingerprints
2015-08-30 02:12:05 +01:00
James Booth
b4722632b6
Split PGP incoming and outgoing message handling
2015-08-30 01:32:13 +01:00
James Booth
1484e94b35
Fixed OTR decryption check
2015-08-27 00:37:48 +01:00
James Booth
ef52840d91
Added str_contains_str to common
2015-08-26 23:52:40 +01:00
James Booth
55158767cc
Renamed enc_message parameter for incoming messages
2015-08-26 23:23:12 +01:00
James Booth
4b90a53566
Tidied sv_ev_incoming_message
2015-08-26 23:15:10 +01:00
James Booth
fc60c9fbf1
Fixed OTR char display
2015-08-26 21:42:16 +01:00
James Booth
5e962fe0f5
Fixed compile when no OTR or PGP support
2015-08-26 01:48:21 +01:00
James Booth
35239ee319
Added otr and pgp char to themes
2015-08-26 01:36:41 +01:00
James Booth
98ea744648
Added /otr char and /pgp char
2015-08-26 01:24:53 +01:00
James Booth
1bf584793f
Added preference for encryption char
2015-08-26 01:06:10 +01:00
James Booth
48630d45a4
Added check for libgpgme on account autocomplete
2015-08-26 00:48:01 +01:00
James Booth
f998ab8f3b
Display special char for encrypted messages
2015-08-26 00:42:56 +01:00
James Booth
4b0ee89fa3
PGP: Added key ID autocompletion to /account setting
2015-08-25 23:48:21 +01:00
James Booth
cb19be2ffc
Added PGP key autocompleter
2015-08-25 23:44:03 +01:00
James Booth
55c2d1cc21
PGP: Display whether contact public key was received or manually set
2015-08-25 23:04:21 +01:00
James Booth
fc1ee79190
PGP: Show key IDs for assigned public keys
2015-08-25 22:45:51 +01:00
James Booth
592a3695a5
PGP: Do not save contact's fingerprint when no key found
2015-08-25 21:58:24 +01:00
James Booth
872ab8e529
Added HAVE_LIBGPGME check for setting account key
2015-08-25 20:35:45 +01:00
James Booth
f6a91145b6
Show public/private indicator when listing PGP keys
2015-08-25 00:21:49 +01:00
James Booth
d6ff72cf48
Show public keys in PGP key list
2015-08-24 22:27:15 +01:00
James Booth
525876770a
Removed unused barejid argument from PGP decryption
2015-08-24 00:13:57 +01:00
James Booth
b8b54f91a5
Leave chat rooms before receiving self unavailable presence
...
Fixes bug for servers that don't send the self presence
2015-08-23 23:56:34 +01:00
James Booth
b1ab4b2854
Added JID to log when failing to load PGP fingerprint
...
Added PGP stub for tests
2015-08-23 23:09:44 +01:00
James Booth
8501d1db33
Validate PGP key when chosen for account
2015-08-23 23:05:39 +01:00
James Booth
57ca441f02
Check for valid PGP key on start
2015-08-23 22:54:41 +01:00
James Booth
c07638746a
Log recipient used for PGP decryption
2015-08-23 22:18:54 +01:00
James Booth
d791e4dd59
Free OTR TLVS
2015-08-20 22:23:31 +01:00
James Booth
c18b7f4d67
Free id for OTR messages
2015-08-20 22:02:58 +01:00
James Booth
2af5c151a0
Tidied pgp memory allocations
2015-08-11 01:00:23 +01:00
James Booth
e2a528cad4
Free pgp key on connect
2015-08-10 22:18:19 +01:00
James Booth
0410dd90f1
Free timestamp and id for receipts
2015-08-09 23:08:36 +01:00
James Booth
dea10ecfdc
Dereference timestamp on chat logging
2015-08-09 01:24:15 +01:00
James Booth
d501576fcf
Free gpgme context on verification
2015-08-09 01:20:16 +01:00
James Booth
1422af05fc
Free pgp headers
2015-08-09 01:16:41 +01:00
James Booth
131f1788c2
Free software version result properties
2015-08-09 01:10:02 +01:00
James Booth
3b79d5aa63
Dereference pgp key
2015-08-09 00:54:11 +01:00
James Booth
70c0eeed1e
Free error message in carbons handlers
2015-08-09 00:43:00 +01:00
James Booth
783342a48c
Free timestamps and carbons stanzas
2015-08-09 00:40:37 +01:00
James Booth
8531357e88
Free strings in prefs_load
2015-08-09 00:20:17 +01:00
James Booth
103f80c227
Updated /help help
2015-08-08 22:38:50 +01:00
James Booth
406b821b35
Show software version result in current window
2015-08-06 01:56:52 +01:00
brandenbyers
4e5f197eb4
Fix typo
2015-08-05 13:10:59 -05:00
James Booth
af38ddc9e7
Handle resource not found on sofware version request
2015-08-05 01:14:41 +01:00
James Booth
0b7c79ac13
Use original JID in software version request in MUC
2015-08-05 01:01:46 +01:00
James Booth
ac3e7dd9e8
Handle software version requests for gateways that return from domainpart
2015-08-05 00:48:50 +01:00
James Booth
2a92169351
Use id handler for software version requests, handle errors
2015-08-05 00:26:29 +01:00
James Booth
091a23fc48
Modified /account help
2015-08-03 00:45:14 +01:00
James Booth
5619ba7058
Added account status autocomplete
2015-08-03 00:33:16 +01:00
James Booth
7151792b8c
Handle private messages that include muc#user namespace
2015-08-02 01:12:54 +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
30c1cdd318
Refactored showing tagged command help
2015-07-28 00:10:18 +01:00
James Booth
08f43bee8e
Retagged commands
2015-07-27 23:55:04 +01:00
James Booth
eb550eedb3
Added tags to command definitions
2015-07-27 01:06:10 +01:00
James Booth
8119025120
Fixed tests for new command format
2015-07-27 00:04:48 +01:00
James Booth
59d5dd73a7
Use command definition macros for remaining commands
2015-07-26 20:43:59 +01:00
James Booth
6986a02ff3
Added command definition macros
2015-07-26 19:39:12 +01:00
James Booth
bd32f4dc47
Show command header in help output
2015-07-26 03:01:14 +01:00
James Booth
2b725f9144
Reordered command arguments
2015-07-26 02:28:45 +01:00
James Booth
4f9a848429
Added message for invalid /wins usage
2015-07-26 02:09:01 +01:00
James Booth
34537e2fb1
Removed old command help
2015-07-26 02:05:53 +01:00
James Booth
36ebf0fc17
Updated help category output
2015-07-26 01:27:42 +01:00
James Booth
cb7504e67f
Moved remaining help to new format
2015-07-26 00:17:16 +01:00
James Booth
b33f4777d0
Fix formatting for variables in new help
2015-07-25 20:57:21 +01:00
James Booth
19fb907bc5
Generate HTML docs using new help format
2015-07-25 20:43:16 +01:00
James Booth
90dda0e9a0
Added more help to new format
2015-07-25 00:45:20 +01:00
James Booth
b736883ac4
Added roster to new help format
2015-07-24 21:20:55 +01:00
James Booth
a8eb281553
Added msg to new help format
2015-07-24 00:44:56 +01:00
James Booth
44d7a152a4
Added connect to new help format
2015-07-24 00:33:38 +01:00
James Booth
22111bf75b
Moved help and about to new format
2015-07-23 23:05:33 +01:00
James Booth
e55ef63f61
Merge branch 'master' into help
2015-07-22 22:59:20 +01:00
James Booth
f9a7e35001
Added id attributes to roster queries
...
fixes #596
2015-07-22 22:48:37 +01:00
James Booth
59dd87d5f8
Fix /help commands spacing
2015-07-21 22:55:39 +01:00
James Booth
b63ede7964
Fixed time preference display
2015-07-19 22:56:22 +01:00
James Booth
46e2f11b93
Removed /mouse command
2015-07-19 22:48:12 +01:00
James Booth
84cc67fa88
Removed 'empty' from roster autocompleter
2015-07-14 20:59:55 +01:00
James Booth
051c6ed50e
Check for self jid on /software
...
fixed #592
2015-07-08 21:05:20 +01:00
James Booth
9a5fe29caa
Changed /roster empty -> /roster remove_all contacts
...
Make it difficult to accidentally use this command.
2015-07-08 20:51:39 +01:00
Daniel
806afcc014
Allow hiding of empty presence groups: /roster {show,hide} empty (default is show)
2015-07-08 13:11:56 +02:00
James Booth
6c668bce88
Migrate old time display format settings
2015-07-02 16:31:09 +01:00
James Booth
84a8da7741
Default autoping to 1 minute #541
2015-07-02 00:10:31 +01:00
James Booth
fb8b223876
Removed subscribed check when displaying roster panel
2015-07-02 00:01:37 +01:00
James Booth
10eb0bbbf8
Merge remote-tracking branch 'SamWhited/otr_no_store_carbons'
2015-07-01 21:09:45 +01:00
James Booth
d8c410d289
Don't write chars during password input
2015-07-01 21:00:31 +01:00
James Booth
446f5f0aa1
Merge remote-tracking branch 'pasis/ui-ignore-EINTR'
2015-07-01 20:55:22 +01:00
James Booth
106e909fbd
Merge remote-tracking branch 'incertia/time'
...
Conflicts:
src/config/preferences.c
2015-07-01 20:16:09 +01:00
Sam Whited
167ee28ec0
Add no-copy and no-store hints to OTR messages
2015-07-01 09:04:54 -05:00
James Booth
d5f79c7b35
Use reference counts for GDateTimes #516
2015-06-30 16:21:21 +01:00
James Booth
dd206ef637
WIP fix for #516 , needs memory cleanup
2015-06-29 23:48:41 +01:00
Dmitry Podgorny
f24019ee4d
ui: Ignore EINTR in inp_readline()
...
EINTR is usual situation during resizing of terminal window.
2015-06-25 18:17:10 +00:00
James Booth
fed55b5459
Do not update UI whilst receiving password
2015-06-25 00:33:28 +01:00
James Booth
524c7a8671
Free account on pgp presence send
2015-06-24 22:02:29 +01:00
James Booth
7f17fd2e48
Merge pull request #583 from pasis/jid-memleak
...
Fixed memory leak in jid_create()
2015-06-24 22:00:02 +01:00
Dmitry Podgorny
89b76400c8
jid: Fixed memory leak in jid_create()
2015-06-24 20:42:20 +00:00
James Booth
ae4c2781e1
Added messaage when account resource changed whilst connected
2015-06-24 21:36:39 +01:00
James Booth
583bccf631
Merge remote-tracking branch 'pasis/stderr-log-handler'
2015-06-24 21:02:21 +01:00
James Booth
240f6a3f79
Fixed various jid and account mem leaks
2015-06-24 20:53:04 +01:00
James Booth
626ab51ed4
free account after account connect
2015-06-24 20:24:39 +01:00
James Booth
48a2cad8fd
free muc autocompleter result
2015-06-24 20:20:55 +01:00
James Booth
026b0885b5
Merge remote-tracking branch 'pasis/prefs-alloc'
2015-06-24 20:14:00 +01:00
James Booth
2becd9170e
Merge remote-tracking branch 'pasis/gpgme-h-check'
2015-06-24 19:34:59 +01:00
James Booth
ac454fb1cc
Removed NULL checks when not required
2015-06-24 19:19:44 +01:00
Dmitry Podgorny
6325e4f64d
pgp: Added include config.h
...
gpgme.h checks _FILE_OFFSET_BITS macro and it's set at config.h
2015-06-24 14:21:28 +00:00
James Booth
17919298f7
Free prefs strings, check for NULLs when closing pgp module
2015-06-24 14:27:40 +01:00
Dmitry Podgorny
592cf2c69b
prefs: Don't mix allocator types
2015-06-24 12:50:04 +00:00
James Booth
8eb921e34a
Merge remote-tracking branch 'pasis/ui-log-fix'
2015-06-23 23:37:52 +01:00
James Booth
d89a9862b1
Merge remote-tracking branch 'pasis/pgp-without-otr-fix'
2015-06-23 23:32:41 +01:00
James Booth
358e9d6af0
Added /pgp setkey command
2015-06-23 23:29:10 +01:00
Dmitry Podgorny
6a73ca1b52
pgp: Fixed compilation error when libotr is not supported
2015-06-23 22:13:50 +00:00
Dmitry Podgorny
02cd8d2330
ui: decreased log level of the message on resizing
...
Resizing of terminal window can produce many logs "Resizing UI". Also
they are not so informative to be shown without -l DEBUG.
2015-06-23 22:03:09 +00:00
Dmitry Podgorny
e831410669
log: Introduced stderr log handler
...
This handler redirects stderr output to a pipe and gathers logs from the
read end.
The handler is called from main loop, therefore, if a function prints logs
to stderr they will be put to log file only after function returns.
2015-06-23 20:52:04 +00:00
James Booth
86acd4649b
Added PGP prefs
2015-06-22 21:09:14 +01:00
Dmitry Podgorny
c851a48af2
shutdown: Call prefs_close() after log_close()
...
log_msg() uses prefs, so prefs_close() should be called after
log_close(). It makes possible to use logs in other finalisation
functions.
2015-06-22 11:43:12 +00:00
James Booth
918e55becf
Fixed pgp help
2015-06-21 22:29:15 +01:00
James Booth
9526f2b7eb
Fixed /pgp help formatting
2015-06-21 22:06:27 +01:00
James Booth
3d2f999efb
Added PGP logging preferences
2015-06-21 21:42:58 +01:00
James Booth
446027b950
Moved setting otr.warn -> enc.warn
2015-06-21 21:07:57 +01:00
James Booth
e72ddf5488
Show message when contact ends PGP
2015-06-21 20:27:56 +01:00
James Booth
217fcff420
Added /pgp end command
2015-06-21 20:20:28 +01:00
James Booth
f81652e84e
Added enc_mode check when starting OTR
2015-06-21 20:13:28 +01:00
James Booth
5669799690
Encryption modes for sv_ev_incoming_message
2015-06-21 20:08:46 +01:00
James Booth
03a4aa4408
Tidied OTR and PGP combinations in client_events.c
2015-06-21 19:29:23 +01:00
James Booth
13a612cbc2
Moved window creation to sv_ev_incoming_message
2015-06-21 18:29:20 +01:00
James Booth
8d2d923603
Moved message display logic to sv_ev_incoming_message
2015-06-21 18:00:57 +01:00
James Booth
9b991ae058
Extracted chat session code from message senders
2015-06-21 17:11:23 +01:00
James Booth
e45afd5c09
Added pgp checks for message sending
2015-06-21 01:48:25 +01:00
James Booth
6617bb5a2b
Added window encyption mode for PGP
2015-06-20 23:49:24 +01:00
James Booth
16999a3964
Merge branch 'master' into openpgp
2015-06-20 00:39:08 +01:00
James Booth
d7ec339e3e
Added /roster empty command
2015-06-20 00:38:28 +01:00
James Booth
edbb3d938e
Merge branch 'master' into openpgp
2015-06-19 00:15:40 +01:00
James Booth
e117c0368f
Added missing include client_events.c
2015-06-19 00:14:48 +01:00
James Booth
ea99012d9b
Added initial /pgp start checks
2015-06-18 01:34:27 +01:00
James Booth
85cc5ab50d
Added cmd_pgp tests
2015-06-18 00:12:01 +01:00
James Booth
97ba9d2692
Merge branch 'master' into openpgp
2015-06-17 20:06:13 +01:00
James Booth
f51a26e6a0
Merge remote-tracking branch 'quite/#513'
2015-06-17 20:05:27 +01:00
James Booth
1af3565cbd
Merge branch 'master' into openpgp
2015-06-17 19:55:52 +01:00
James Booth
e00a03f916
Removed wins_get_current_* functions
2015-06-17 19:49:55 +01:00
James Booth
8fde14879a
Merge branch 'master' into openpgp
...
Conflicts:
src/command/commands.c
src/command/commands.h
2015-06-17 00:40:06 +01:00
James Booth
a798dc5618
Removed unused function prototype
2015-06-17 00:18:59 +01:00
James Booth
2215a3791f
Added current window reference to command functions
2015-06-17 00:15:28 +01:00
James Booth
cfef64c767
Pass current window to autocompleters
2015-06-16 22:59:08 +01:00
Daniel
d00d71f245
Let's only strip trailing whitespace when parsing command
...
Allows for "quoting" a command--doing nothing but sending the string: SPC/command
As we're used to from for example irc clients.
Fixes boothj5/profanity#513
2015-06-16 09:46:02 +02:00
James Booth
637b8bee9f
Merge branch 'master' into openpgp
2015-06-15 23:17:11 +01:00
James Booth
fb0e065902
Tidied cmd_otr, added check-unit target to Makefile
2015-06-15 23:16:22 +01:00
James Booth
de47450594
Merge branch 'master' into openpgp
2015-06-15 22:03:25 +01:00
James Booth
6097a5bade
Removed ui_get_current_chat()
2015-06-15 22:01:28 +01:00
James Booth
c76692516a
Merge branch 'master' into openpgp
2015-06-15 20:39:17 +01:00
James Booth
5cdd69f478
Moved UI interfaces to ui.h
2015-06-15 20:11:34 +01:00
James Booth
38ed9188d3
Moved ui/windows -> window_list
2015-06-15 19:26:28 +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
e9aa4ea084
Removed unused variable
2015-06-15 17:40:22 +01:00
James Booth
732533ee5a
I removed ncurses header dependencies, removed unused code
2015-06-15 17:11:11 +01:00
James Booth
10a5f29023
Merge branch 'master' into openpgp
2015-06-14 00:02:00 +01:00
James Booth
e50461a897
Set columns when running functional tests
2015-06-13 23:59:33 +01:00
James Booth
0ef00e87ab
Merge branch 'master' into openpgp
2015-06-13 16:27:20 +01:00
James Booth
698288ab5c
Show message when offline for /pgp fps
2015-06-13 01:19:56 +01:00
James Booth
e0783e20db
Renamed otr trusted window property
2015-06-13 01:13:56 +01:00
James Booth
a408ca7326
Removed TODO in gpg.c
2015-06-13 00:35:53 +01:00
James Booth
abcf67044c
Merge branch 'master' into openpgp
2015-06-08 20:33:03 +01:00
James Booth
549fceaa7f
Set default autoaway mode to off
...
fixes #555
2015-06-08 20:26:23 +01:00
James Booth
9aff8abd2e
Merge branch 'master' into openpgp
...
Conflicts:
.travis.yml
2015-06-05 23:02:56 +01:00
James Booth
78a4446023
Merge branch 'master' into stabber-tests
2015-06-02 20:32:15 +01:00
James Booth
a3693cfbe7
Merge branch 'master' into openpgp
2015-06-02 20:32:07 +01:00
James Booth
f0f3a739f4
Merge remote-tracking branch 'PMaynard/#551'
2015-06-02 20:29:35 +01:00
Pete
a0a7d04a5f
Tidy up windows when enabling
2015-06-01 14:47:02 +01:00
Pete
e8eb23c4f0
Merge branch ' #551 ' of github.com:PMaynard/profanity into #551
2015-06-01 11:45:22 +01:00
Pete
2ce35fe61c
Added Theme UI option for window auto tidy
2015-06-01 11:44:52 +01:00
Pete Maynard
7bc671e07c
Extra underline
2015-06-01 11:33:19 +01:00
Pete
0564976264
Refactored 'ui_tidy_wins()' to return bool and not output text, Corrected underline, removed call to function 'wins_resize_all()'.
2015-06-01 11:27:01 +01:00
Will Song
837f8b1f10
add examples and be more specific about time formatting
2015-05-30 00:42:19 -05:00
Will Song
83bed119e4
remove memory leak from creating a gdatetime string
2015-05-29 20:55:33 -05:00
Will Song
0e7507a1aa
update autocomplete
2015-05-29 20:49:28 -05:00
Will Song
3842daa334
fix indent code
2015-05-29 20:45:10 -05:00
Will Song
f2629aca7b
updated statusbar to use strftime formats
2015-05-29 20:23:09 -05:00
Will Song
9463c67190
fix conflicts
2015-05-29 19:53:37 -05:00
Pete
fbc57765a3
Added window auto tidy.
2015-05-29 14:25:14 +01:00
James Booth
e4ad201324
Merge branch 'master' into stabber-tests
2015-05-25 21:17:06 +01:00
James Booth
06fe9bec37
Merge branch 'master' into openpgp
2015-05-25 21:16:51 +01:00
James Booth
304e08a9c0
Added jid to OTR errors in console
2015-05-25 21:16:10 +01:00
James Booth
e295a474dc
Added more connect tests
2015-05-24 20:31:18 +01:00
James Booth
80665ea051
Added rooms iq test
2015-05-24 04:13:28 +01:00
James Booth
2241473ee6
Added bad password test
2015-05-24 00:56:13 +01:00
James Booth
09f01d518c
Merge branch 'master' into stabber-tests
2015-05-17 22:28:25 +01:00
James Booth
34d9b2b272
Merge branch 'master' into openpgp
2015-05-17 22:28:12 +01:00
James Booth
2c5b44421e
Added initial stabber test
2015-05-17 22:05:43 +01:00
Adam Ehlers Nyholm Thomsen
882ca85aca
allow enabling / disabling carbons without being connected.
2015-05-17 13:29:08 +02:00
James Booth
7f861b7743
Removed libgpg include from presence.c
2015-05-10 23:54:48 +01:00
James Booth
58b5e39b95
Merge branch 'master' into openpgp
2015-05-10 01:45:07 +01:00
James Booth
aeffca496c
Tidy ui_room_message
2015-05-10 01:44:34 +01:00
James Booth
487f5da17d
Merge branch 'master' into openpgp
2015-05-10 01:08:30 +01:00
James Booth
aaad3ff909
Moved logic to notify_message
2015-05-10 01:03:34 +01:00
James Booth
acd2d2309f
Moved pgp signature generation to cl_ev_presence_send
2015-05-08 00:07:21 +01:00
James Booth
0db7bcbdcd
Merge branch 'master' into openpgp
2015-05-07 23:23:45 +01:00
James Booth
d853284f92
Added cl_ev_presence_send
2015-05-07 23:21:48 +01:00
James Booth
a2281dbccf
Merge branch 'master' into openpgp
2015-05-07 23:16:22 +01:00
James Booth
56cbce2ff3
Renamed presence_update -> presence_send
2015-05-07 23:12:49 +01:00
James Booth
beeadd6ae3
Merge branch 'master' into openpgp
2015-05-07 22:51:42 +01:00
James Booth
f69ccbf0cc
Tidied _roster_result_handler
2015-05-07 22:51:35 +01:00
James Booth
8ebc1d4ac1
Moved pgp signature verification to sv_ev_contact_online
2015-05-07 22:22:28 +01:00
James Booth
8673488368
Merge branch 'master' into openpgp
2015-05-07 22:06:02 +01:00
James Booth
a2c6211732
Added ui_contact_online
2015-05-07 22:05:36 +01:00
James Booth
8c347de298
Merge branch 'master' into openpgp
2015-05-07 00:26:45 +01:00
James Booth
6fd9b179a0
Optimised occupant comparisons, create utf8 collate key once
2015-05-07 00:26:24 +01:00
James Booth
ca3f7412f5
Optimised contact comparisons, create utf8 collate key once
2015-05-07 00:16:22 +01:00
James Booth
6840f3b599
Merge branch 'master' into openpgp
2015-05-06 22:04:47 +01:00
James Booth
5067e565e3
Set ui nonblocking on presence updates
...
Speeds up joining rooms, and connecting.
2015-05-06 22:02:50 +01:00
James Booth
c9e21a557e
Merge branch 'master' into openpgp
2015-05-05 00:51:16 +01:00
James Booth
d52f86ef0f
Tidied form field autocompleters
2015-05-05 00:13:41 +01:00
James Booth
44aa2fd1bf
Use null check convention in gpg.c
2015-05-04 23:41:22 +01:00
James Booth
3fd9692aec
Merge branch 'master' into pgp
2015-05-04 23:40:58 +01:00
James Booth
6f3750c6aa
Use null check convention in roster_list.c
2015-05-04 23:31:05 +01:00
James Booth
59788752c7
Use null check convention in resource.c
2015-05-04 23:29:53 +01:00
James Booth
0930f0f688
Use null check convention in profanity.c
2015-05-04 23:29:24 +01:00
James Booth
41724218c0
Use null check convention in log.c
2015-05-04 23:28:34 +01:00
James Booth
4c78534be0
Use null check convention in jid.c
2015-05-04 23:27:41 +01:00
James Booth
1bfaa49fb3
Use null check convention in contact.c
2015-05-04 23:26:57 +01:00
James Booth
1d002e5bdc
Use null check convention in common.c
2015-05-04 23:26:08 +01:00
James Booth
49e450767d
Use null check convention in chat_session.c
2015-05-04 23:24:37 +01:00
James Booth
c487fe5f77
Use null check convention in stanza.c
2015-05-04 23:23:55 +01:00
James Booth
defa955ae0
Use null check convention in roster.c
2015-05-04 23:22:06 +01:00
James Booth
8e64323503
Use null check convention in presence.c
2015-05-04 23:21:06 +01:00
James Booth
8e2578459e
Use null check convention in iq.c
2015-05-04 23:19:10 +01:00
James Booth
cbcf476a7c
Use null check convention in form.c
2015-05-04 23:17:18 +01:00
James Booth
af75bc4be6
Use null check convention in connection.c
2015-05-04 23:16:44 +01:00
James Booth
067ad7fa2c
Use null check convention in capabilities.c
2015-05-04 23:15:15 +01:00
James Booth
398eac4ed6
Use null check convention in bookmark.c
2015-05-04 23:14:18 +01:00
James Booth
a71d1dab6a
Use null check convention in windows.c
2015-05-04 23:12:55 +01:00
James Booth
c19a05ca09
Use null check convention in window.c
2015-05-04 23:11:32 +01:00
James Booth
dd386b4a4e
Use null check convention in titlebar.c
2015-05-04 23:08:09 +01:00
James Booth
bf5646aee3
Use null check convention in statusbar.c
2015-05-04 23:07:36 +01:00
James Booth
dda812cd3e
Use null check convention in notifier.c
2015-05-04 23:06:35 +01:00
James Booth
aefe458b60
Use null check convention in core.c
2015-05-04 23:05:52 +01:00
James Booth
2e2b3f9403
Use null check convention in console.c
2015-05-04 23:02:57 +01:00
James Booth
09e1e7618e
Use null check convention in tinyurl.c
2015-05-04 22:57:49 +01:00
James Booth
fe216b4e97
Use null check convention in parser.c
2015-05-04 22:57:19 +01:00
James Booth
fa2e33e11d
Use null check convention in otrlibv4.c
2015-05-04 22:55:28 +01:00
James Booth
2426a7fcfc
Use null check convention in otrlibv3.c
2015-05-04 22:55:04 +01:00
James Booth
a979d23e10
Use null check convention in otr.c
2015-05-04 22:52:48 +01:00
James Booth
4dc9033472
Use null check convention in server_events.c
2015-05-04 22:51:15 +01:00
James Booth
4ba33005d0
Use null check convention in theme.c
2015-05-04 22:33:55 +01:00
James Booth
b093b99c15
Use null check convention in preferences.c
2015-05-04 22:33:19 +01:00
James Booth
a293045d85
Use null check convention in accounts.c
2015-05-04 22:32:42 +01:00
James Booth
47549452f1
Use null check convention in account.c
2015-05-04 22:29:51 +01:00
James Booth
4acf853b1c
Use null check convention in commands.c
2015-05-04 22:23:59 +01:00
James Booth
2b3cc65b52
Use null check convention in command.c
2015-05-04 22:16:39 +01:00
James Booth
176fba84a0
Merge branch 'master' into pgp
2015-05-04 21:39:56 +01:00
James Booth
8ccbeade44
Added enc_mode to ProfChatWin
2015-05-04 21:38:19 +01:00
James Booth
65ea572dae
Merge branch 'master' into pgp
2015-05-04 21:31:22 +01:00
James Booth
a0c872edf8
Extracted carbons handling
2015-05-04 21:31:05 +01:00
James Booth
a5677206e9
Merge branch 'master' into pgp
2015-05-04 21:20:40 +01:00
James Booth
ac940c2c8a
Revert "Added carbons handler"
...
This reverts commit ff867e7f2b
.
2015-05-04 21:18:53 +01:00
James Booth
aca102f542
Merge branch 'master' into pgp
2015-05-04 01:34:18 +01:00
James Booth
c8eaaa0ce9
Added ui_ev_new_private_win to ui events
2015-05-04 01:31:27 +01:00
James Booth
3dace733d9
Merge branch 'master' into pgp
2015-05-04 01:10:30 +01:00
James Booth
b1dd1e2726
cl_ev_send_muc_msg takes ProfMucWin as arg
2015-05-04 01:06:12 +01:00
James Booth
bb2b5d20d5
Merge branch 'master' into pgp
2015-05-04 00:57:17 +01:00
James Booth
ef54ff305e
ui_outgoing_chat_msg now takes ProfChatWin as argument
2015-05-04 00:55:43 +01:00
James Booth
bab4da039a
Merge branch 'master' into pgp
2015-05-04 00:43:36 +01:00
James Booth
c3d2a7e937
Added roster list function to get display name for messages
2015-05-03 23:38:46 +01:00
James Booth
0f3bece9e2
Merge branch 'master' into pgp
2015-05-03 02:35:15 +01:00
James Booth
ff867e7f2b
Added carbons handler
2015-05-03 02:34:58 +01:00
James Booth
bec9b53f10
Merge branch 'master' into pgp
2015-05-03 02:04:21 +01:00
James Booth
4e1c2a4f64
Show resource in status bar
2015-05-03 02:04:04 +01:00
James Booth
f65c82e112
Merge branch 'master' into pgp
2015-05-03 01:48:32 +01:00
James Booth
f25f90b38b
Extracted receipt request processing in message.c
2015-05-03 01:48:12 +01:00
James Booth
d3f4347513
Merge branch 'master' into pgp
...
Conflicts:
src/xmpp/message.c
2015-05-03 01:30:14 +01:00
James Booth
530c060d2a
Extract private message hanlding in message.c
2015-05-03 01:25:33 +01:00
James Booth
79d21d4cd2
Merge branch 'master' into pgp
2015-05-03 00:35:47 +01:00
James Booth
236c854419
Tidy message.c
2015-05-03 00:35:31 +01:00
James Booth
03ef791401
Merge branch 'master' into pgp
2015-05-03 00:06:12 +01:00
James Booth
5a90e2862e
Extracted receipt received handler
2015-05-03 00:05:47 +01:00
James Booth
0bc4377ad7
Merge branch 'master' into pgp
2015-05-02 23:40:34 +01:00
James Booth
ddc64755a0
Tidy message.c
2015-05-02 23:40:14 +01:00
James Booth
8c72f0deb5
Merge branch 'master' into pgp
2015-05-02 23:24:50 +01:00
James Booth
be4ee40ed4
Pass ProfChatWin to otr_on_message_send
2015-05-02 23:23:12 +01:00
James Booth
cade9e7c4c
Merge branch 'master' into pgp
2015-05-01 00:55:58 +01:00
James Booth
0118178080
Removed server event delegation functions
2015-05-01 00:55:40 +01:00
James Booth
0bd642edf8
Merge branch 'master' into pgp
2015-04-30 23:38:28 +01:00
James Booth
e11e55e31a
Move current win check to event, removed next and prev win functions
2015-04-30 22:43:08 +01:00
James Booth
a3a4b6267b
Merge branch 'master' into pgp
2015-04-30 22:10:03 +01:00
James Booth
d68fb25dde
Removed ui_win_switch_num
2015-04-30 22:09:39 +01:00
James Booth
20555fcb36
Added assert to ui_switch_win
2015-04-30 21:27:44 +01:00
James Booth
7730674f45
Merge branch 'master' into pgp
2015-04-30 21:24:06 +01:00
James Booth
0a6b76d6d3
Removed some ui functions, inlined
2015-04-30 21:23:43 +01:00
James Booth
d5188a160e
Merge branch 'master' into pgp
2015-04-29 23:16:43 +01:00
James Booth
2e75e54460
Added ui_win_error_line()
2015-04-29 23:16:28 +01:00
James Booth
0fece78dfe
Merge branch 'master' into pgp
2015-04-29 23:08:23 +01:00
James Booth
665c34414d
Return result on OTR message sending
2015-04-29 22:59:44 +01:00
James Booth
0df8b8beff
Return new window on new chat win event
2015-04-29 22:10:32 +01:00
James Booth
8de308c96a
Changed message when sending non encrypted message with OTR policy always
2015-04-29 21:55:09 +01:00
James Booth
15b34692fd
Reuse ui_new_chat_win
2015-04-29 21:42:29 +01:00
James Booth
0296a60390
_win_show_history takes ProfChatWin as first arg
2015-04-29 21:19:20 +01:00
James Booth
5d827cafec
Merge branch 'master' into pgp
...
Conflicts:
src/xmpp/message.c
2015-04-28 23:57:28 +01:00
James Booth
d3698e6bee
Added ui events module
2015-04-28 23:53:37 +01:00
James Booth
8aba52f4fe
Renamed event functions
2015-04-28 23:38:56 +01:00
James Booth
403e9b47fe
Removed commented code
2015-04-28 23:00:06 +01:00
James Booth
43189b1ab4
Merge branch 'master' into pgp
2015-04-27 23:45:51 +01:00
James Booth
70d1756a1c
Moved otr message send event to otr module
2015-04-27 23:30:33 +01:00
James Booth
eb177ccbef
Removed server_events dependency on libotr headers
2015-04-27 23:17:38 +01:00
James Booth
f219302f06
Renamed incoming otr message
2015-04-27 22:34:06 +01:00
James Booth
7a44e17141
Merge branch 'master' into pgp
...
Conflicts:
src/config/account.h
2015-04-23 23:48:43 +01:00
James Booth
bc9e6b79cd
Tidied account login
2015-04-23 21:56:48 +01:00
James Booth
5f2c6cbd28
Merge branch 'master' into pgp
2015-04-22 00:30:00 +01:00
James Booth
ba286c54ef
Moved login events to client events module
2015-04-22 00:29:37 +01:00
James Booth
1c47b57e19
Tidy execute alias code
2015-04-21 23:45:03 +01:00
James Booth
bc445ccdfb
Merge branch 'master' into pgp
2015-04-21 23:35:37 +01:00
James Booth
88739d5c59
Moved new chat win events to client events module
2015-04-21 23:28:52 +01:00
James Booth
ebca38e224
Merge branch 'master' into pgp
2015-04-21 22:08:00 +01:00
James Booth
53f2a4a35c
Moved all message sending to client events module
2015-04-21 21:57:39 +01:00
James Booth
65c0a87f97
Merge branch 'master' into pgp
2015-04-21 20:56:47 +01:00
James Booth
a4f9661da2
Removed unused otr check
2015-04-19 21:03:20 +01:00
James Booth
9be265591a
Merge branch 'master' into pgp
2015-04-19 19:50:19 +01:00
James Booth
32da6548da
Added client_events module, reuse message sending code for all commands
2015-04-19 19:40:15 +01:00
James Booth
d612b9695a
Merge branch 'master' into pgp
...
Conflicts:
src/xmpp/message.c
2015-04-19 17:33:35 +01:00
James Booth
e688dd7d28
Renamed server event functions
2015-04-19 17:29:54 +01:00
James Booth
60f94722d4
Merge branch 'master' into pgp
2015-04-19 16:56:11 +01:00
James Booth
424f52c3fa
Moved server_events to event/
2015-04-19 16:54:16 +01:00
James Booth
bcfbbac49a
Merge branch 'master' into pgp
2015-04-12 02:16:13 +01:00
James Booth
57dc5f14ef
Added option to show jids in occupants panel
2015-04-12 02:14:37 +01:00
James Booth
7e4b756e44
Merge branch 'master' into pgp
2015-04-11 23:38:44 +01:00
James Booth
a2ccd89646
Autogenerate room name with UUID for /join with no args
2015-04-11 23:37:52 +01:00
James Booth
5305a3e3a6
Fixed message sending when not PGP key found
2015-04-05 16:03:50 +01:00
James Booth
c8c12a8f7a
Merge branch 'master' into pgp
2015-03-29 03:17:41 +01:00
James Booth
71c2be599b
Use password for chat room invites
2015-03-29 03:16:41 +01:00
James Booth
c36d4b3643
Merge branch 'master' into pgp
2015-03-29 02:51:05 +01:00
James Booth
1917d4c095
Added password to direct invites
2015-03-29 02:46:59 +01:00
James Booth
c1eceebcba
Merge branch 'master' into pgp
2015-03-29 00:59:42 +00:00
James Booth
714faeb2e6
Add callback data to room disco info response handler
2015-03-29 00:55:33 +00:00
James Booth
24a45e5292
Set members only property when getting room features
2015-03-29 00:21:18 +00:00
James Booth
fac2b2cf66
Added check members only room to send mediated invites
2015-03-28 22:51:41 +00:00
James Booth
0f6bc9b55d
Decrypt incoming messages
2015-03-25 00:05:32 +00:00
James Booth
eb5cb7b2f8
Send encrypted messages
2015-03-24 23:34:24 +00:00
James Booth
551f7df1f7
Added signature verification, /pgp fps command
2015-03-24 00:47:13 +00:00
James Booth
b87130b601
Added check for HAVE_LIBGPGME in presence.c
2015-03-23 23:51:35 +00:00
James Booth
027fa2a700
Fixed tabs
2015-03-23 23:42:04 +00:00
James Booth
73e1654f28
Fixed tabs
2015-03-23 23:41:09 +00:00
James Booth
475dfebd97
Added pgpkeyid account setting, send signed presence
2015-03-23 23:38:06 +00:00
James Booth
8a5d1fef29
Added Id and fingerprint to pgp key list
2015-03-22 01:03:06 +00:00
James Booth
fd86615549
Added /pgp libver command
2015-03-22 00:29:57 +00:00
James Booth
1d90cc7894
Fixed whitespace
2015-03-22 00:15:23 +00:00
James Booth
2490c3ed20
Added pgp key list command
2015-03-22 00:12:14 +00:00
James Booth
f1f047889e
Added individual options to send and request delivery receipts
2015-03-19 22:57:51 +00:00
James Booth
8e80a8ccf7
Merge remote-tracking branch 'origin/master'
2015-03-18 21:31:58 +00:00
James Booth
e7e94eed7f
Added keybindings for rxvt
2015-03-18 21:30:43 +00:00
James Booth
d6977e31cd
Fix buffer entry free
2015-03-17 20:42:21 +00:00
James Booth
311b64a379
Tidy cmd_tiny
2015-03-16 23:03:31 +00:00
James Booth
848baa95a2
Added static function for sending otr tagged messages
2015-03-16 21:59:11 +00:00
James Booth
11966d39b0
Added otr_tag_message, removed commands.c dependency on libotr
2015-03-16 21:41:35 +00:00
James Booth
ec57c72fb4
Use static functions in cmd_msg
2015-03-16 01:48:12 +00:00
James Booth
d50754aac6
Removed window checks before logging in cmd_msg
2015-03-16 01:39:43 +00:00
James Booth
981618b7da
Added static functions to commands.c for sending messages
2015-03-16 01:29:03 +00:00
James Booth
e7e1688d8a
Moved _strtoi to common, strtoi_range
2015-03-16 01:06:40 +00:00
James Booth
23ef3498b5
Removed console dependency from strtoi
2015-03-16 01:03:37 +00:00
James Booth
9bf5a68329
Moved default and alias command execution
2015-03-16 00:03:07 +00:00
James Booth
eeabbc9bb3
Fix for chat logging
2015-03-15 23:31:39 +00:00
James Booth
8944a3b5bb
Move common chat logging code to log.c
2015-03-15 23:19:00 +00:00
James Booth
fae2717f27
Tidied help
2015-03-15 20:04:53 +00:00
James Booth
2762f18a3e
Added /receipts command
2015-03-15 19:48:19 +00:00
James Booth
b21edfaa51
Added receipt.sent theme setting
2015-03-15 19:35:25 +00:00
James Booth
448c91af61
Fixed merge
2015-03-15 01:30:27 +00:00
James Booth
8c552e8a70
Merge branch 'master' into xep-0184
2015-03-15 01:27:09 +00:00
James Booth
49022068ef
Added OTR error messages
2015-03-15 01:26:09 +00:00
James Booth
125719673b
Return after message receipt
2015-03-14 23:25:20 +00:00
James Booth
ca30ff3910
Merge branch 'master' into xep-0184
...
Conflicts:
src/server_events.c
src/ui/core.c
src/ui/ui.h
tests/ui/stub_ui.c
2015-03-14 23:10:51 +00:00
James Booth
385336c10b
Don't switch window on sent carbon
2015-03-14 22:59:49 +00:00
James Booth
a79ea3cbe2
Merge branch 'master' into xep-0184
2015-03-14 16:45:44 +00:00
James Booth
ede3368f7a
Check for sent and received carbons
2015-03-14 16:44:21 +00:00
James Booth
060dcc24e3
Merge branch 'master' into xep-0184
...
Conflicts:
src/xmpp/message.c
2015-03-14 16:41:40 +00:00
James Booth
2fc7937dcd
Fixed error with /otr start with carbons enabled
2015-03-14 16:37:33 +00:00
James Booth
1014244408
Use colouring for message receipts
2015-03-14 16:05:13 +00:00
James Booth
bc6e32175d
Removed from argument from outgoing message functions
2015-03-14 14:50:45 +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
57c7564445
Show message received text for receipts
2015-03-11 23:47:11 +00:00
James Booth
78becceedb
Added basic delivery receipts
2015-03-11 23:18:28 +00:00
James Booth
e5bb12a0d6
Added /time statusbar preference
2015-03-10 23:35:08 +00:00
James Booth
2ff6873cf1
Send private carbons element with message when encrypted
2015-03-10 21:16:34 +00:00
James Booth
3c1e8c4e15
Added server error handling when setting /carbons preference
2015-03-09 23:07:51 +00:00
James Booth
2c19fad6d6
Added /carbons autocompletion
2015-03-09 21:53:29 +00:00
James Booth
88af6e3455
Added connection check before sending carbons enable/disable IQ
2015-03-09 21:52:09 +00:00
James Booth
945f29873e
Merge remote-tracking branch 'oliverlemoal/xep-0280' into xep-0280
2015-03-08 21:51:50 +00:00
James Booth
2e493112bb
Merge branch 'master' into readline
2015-03-08 18:12:50 +00:00
James Booth
6be4b400b8
Fixed swapping windows when in source win
2015-03-03 22:10:01 +00:00
James Booth
2112ddea65
Merge branch 'master' into readline
2015-02-26 00:50:49 +00:00
James Booth
cbdfc09a84
Renamed /theme set -> /theme load
2015-02-26 00:49:21 +00:00
James Booth
a809dc9131
Merge branch 'master' into readline
2015-02-25 00:04:35 +00:00
James Booth
22daac5fe9
Upgrade otr warn preference, added UI theme settings
2015-02-25 00:01:41 +00:00
James Booth
7ae71391de
Merge branch 'master' into readline
2015-02-24 22:58:19 +00:00
James Booth
68a8ab3401
Updated default preferences
2015-02-24 22:53:57 +00:00
James Booth
84c02ffb72
Added /roster by preference to UI preferences summary
2015-02-24 22:24:20 +00:00
James Booth
9a408024d3
Merge branch 'master' into readline
2015-02-24 21:47:49 +00:00
James Booth
434fb1878b
Fixed /resource preference display
2015-02-24 21:42:43 +00:00
James Booth
2cba6798de
Merge branch 'master' into readline
2015-02-23 23:54:01 +00:00
James Booth
f5686cab1e
Fixed create_fulljid
2015-02-23 23:52:53 +00:00
James Booth
93b5ca7a1f
Merge branch 'master' into readline
2015-02-23 23:46:40 +00:00
James Booth
70b923a7fc
Lowercase barejid in Jid
2015-02-23 23:44:34 +00:00
James Booth
b0176d050f
Lowercase barejid before searching roster
2015-02-23 23:30:13 +00:00
James Booth
e22547fb19
Merge branch 'master' into readline
2015-02-23 23:14:55 +00:00
James Booth
a2a187892b
Lowercase barejid before adding to roster
2015-02-23 23:12:44 +00:00
Olivier LE MOAL
ced5a8c2e0
merge
2015-02-23 10:47:54 +01:00
James Booth
7454bede8b
Merge branch 'master' into readline
2015-02-23 00:50:58 +00:00
James Booth
2f4d66ea6e
Merge remote-tracking branch 'stormc/master-spellfixes'
...
Conflicts:
src/command/command.c
2015-02-23 00:49:56 +00:00
James Booth
6979786ace
Merge branch 'master' into readline
2015-02-23 00:17:24 +00:00
James Booth
c249a60cba
Finished help tidy
2015-02-23 00:15:33 +00:00
Olivier Le Moal
3eeafa2277
fix segfault on self sent message carbon
2015-02-21 22:22:21 +01:00
Christian Storm
a1d14c4526
Fixed spelling.
2015-02-17 10:52:37 +01:00
James Booth
475ec97f99
Merge branch 'master' into readline
2015-02-16 22:53:15 +00:00
James Booth
0997bafeb9
Removed comment
2015-02-16 22:52:18 +00:00
James Booth
1a59c6e745
Merge branch 'master' into readline
2015-02-16 22:38:45 +00:00
James Booth
2605b84a70
Tidy help
2015-02-16 22:37:17 +00:00
James Booth
32b8ead198
Merge branch 'master' into readline
2015-02-14 20:46:11 +00:00
James Booth
965187edef
Merge remote-tracking branch 'origin/master'
2015-02-14 16:22:45 +00:00
James Booth
c9a6e10c26
Use single quotes for terminal notifier notifications to avoid variable expansion
2015-02-14 16:20:15 +00:00
James Booth
d02b364b3c
Tidy help
2015-02-11 23:58:11 +00:00
James Booth
0ce2edf5d8
Merge branch 'master' into readline
2015-02-11 00:18:32 +00:00
James Booth
9951da0c8f
Free jid on caps response handler
2015-02-11 00:17:07 +00: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
421ce2876a
Changed default inpblock delay to 1 second
2015-02-10 23:40:23 +00:00
James Booth
b3be26a214
Updated copyright
2015-02-10 23:16:09 +00:00
James Booth
831be52366
Merge branch 'master' into readline
2015-02-10 21:32:44 +00:00
James Booth
1e2ef97334
Fixed parameter order for /tiny in private and group chat
...
fixes #502
2015-02-10 21:27:27 +00:00
James Booth
13297a151f
Merge branch 'master' into readline
...
Conflicts:
src/ui/inputwin.c
2015-02-10 20:47:22 +00:00
James Booth
6ab937c3e3
Copy list when sorting windows for /wins
2015-02-10 20:39:57 +00:00
James Booth
e565812d09
Free roster list
2015-02-10 20:30:50 +00:00
James Booth
22b92c7514
Used g_hash_table_destroy to free logs
2015-02-10 19:53:34 +00:00
James Booth
75d7663876
Free wins summary list
2015-02-10 19:42:13 +00:00
James Booth
30739ed157
Free contact list
2015-02-10 19:39:18 +00:00
James Booth
6bee6cb0fb
Free string on backspace
2015-02-10 19:30:18 +00:00
Olivier LE MOAL
48f9f3b3b0
Add XEP-0280 support
2015-02-10 11:32:22 +01:00
James Booth
64774a947e
Merge branch 'master' into readline
2015-02-09 22:11:25 +00:00
James Booth
5c9dd2802a
Free lists on get muc and private windows
2015-02-09 22:08:47 +00:00
James Booth
a9c69670fa
Free filtered lists for who command
2015-02-09 22:03:17 +00:00
James Booth
38e6dc0e85
Free expected_node for legacy caps
2015-02-09 21:59:17 +00:00
James Booth
75f791da8f
Free hash table keys before modifying hash table
2015-02-09 21:53:55 +00:00
James Booth
1a98f1404b
Free resource lists
2015-02-09 21:46:54 +00:00
James Booth
50601d4db3
Removed strdup calls when creating capabilities
2015-02-09 21:36:04 +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
6682f243ce
Free theme list after use
2015-02-09 21:21:22 +00:00
James Booth
aad7b3ed8a
Free GTimer on switch to console
2015-02-09 20:15:24 +00:00
James Booth
893b58bf4e
Use chat_state_free to free chat states
2015-02-09 20:11:51 +00:00
James Booth
23aaa51a2a
Free utf8 substrings for delete word (ctrl-w)
2015-02-09 19:59:04 +00:00
James Booth
268c33e1c6
Free resource lists on /account command
2015-02-09 19:50:41 +00:00
James Booth
916ee1dc13
Merge remote-tracking branch 'stormc/readline-clrscr' into readline
2015-02-08 21:35:19 +00:00
James Booth
8cec79faef
Merge branch 'master' into readline
2015-02-08 21:03:26 +00:00
James Booth
44c5b34a71
Moved quote stripper to common, added tests
2015-02-08 20:59:51 +00:00
James Booth
236e508cd8
Merge remote-tracking branch 'peterlvilim/quote-chars'
...
Conflicts:
src/command/command.c
2015-02-08 20:34:20 +00:00
Christian Storm
916a3d9451
Bind ^L to own clear method to retain ui elements
...
When using readline's standard ^L binding, the screen
is completely cleared, including status and title bar.
By binding ^L to profanity's clear method, status and
title bar are retained.
2015-02-08 12:15:01 +01:00
James Booth
129af0eafd
Merge branch 'master' into readline
2015-02-08 00:46:55 +00:00
James Booth
e0dfe4832b
Added code to generate HTML command reference for website
2015-02-08 00:42:21 +00:00
James Booth
b7a8e7d942
Merge branch 'master' into readline
2015-02-06 22:05:38 +00:00
James Booth
bec95afc8b
Removed strdup passed to autocompleter
2015-02-06 22:03:40 +00:00
James Booth
8977c9c721
Removed duplicate time_ac
2015-02-06 21:40:35 +00:00
James Booth
f447ac4189
Free win layout
2015-02-06 21:39:53 +00:00
James Booth
f08657fa9a
Handle home scroll
2015-02-06 14:11:21 +00:00
James Booth
2e83d23873
Removed unused function
2015-02-06 00:20:06 +00:00
James Booth
113cb6cf9a
Removed debug logging
2015-02-05 01:00:06 +00:00
James Booth
a70aa0255f
Moved command processing to main loop, allow resize during password prompt
2015-02-05 00:58:23 +00:00
James Booth
30180ac8bb
Move SIGWINCH handling to ui/core.c, ignore signal whilst resizing
2015-02-04 23:35:28 +00:00
James Booth
d64c4a69d7
Removed unused functions from inputwin.c
2015-02-04 22:22:18 +00:00
James Booth
b2536e91c0
Fixed input timout returning EINVAL on OSX
2015-02-04 01:04:56 +00:00
James Booth
7ab301869f
Moved readline startup hook
2015-02-03 23:27:06 +00:00
James Booth
8b58eb68d3
Tidied inputwin.c
2015-02-03 23:07:15 +00:00
James Booth
af345b6700
Updated navigation help
2015-02-03 22:24:47 +00:00
James Booth
82ddbf332d
Added OSX readline keyseq bindings
2015-02-03 21:38:48 +00:00
James Booth
b76501f0bc
Removed mbstate_t use
2015-02-03 21:08:34 +00:00
James Booth
836fdd2eb1
Remove state passed to wide char len check
2015-02-03 21:04:51 +00:00
Olivier LE MOAL
62c1a59f38
Add /carbons in /help settings
2015-02-03 18:19:04 +01:00
Olivier LE MOAL
a89e04b9d5
Fix help for message carbons
2015-02-03 15:48:19 +01:00
Olivier LE MOAL
2a12a4d93b
Add preference/commands for carbons message
2015-02-03 15:27:56 +01:00
James Booth
1c157b04df
Fixed arrow keys with debug
2015-02-02 23:17:47 +00:00
James Booth
5954c0d2fe
Readline osx compatibility
2015-02-02 21:27:58 +00:00
Olivier LE MOAL
e3feacddd6
Add XEP-0280 support
2015-02-02 11:10:05 +01:00
James Booth
51a5426006
Added include for timeval struct
2015-02-01 21:01:00 +00:00
James Booth
372cf822cb
Merge branch 'master' into readline
2015-02-01 20:47:28 +00:00
James Booth
702ea0b5f3
Use getc wrapper for autocomplete reset check
2015-02-01 20:14:07 +00:00