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