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

3259 Commits

Author SHA1 Message Date
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