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

4412 Commits

Author SHA1 Message Date
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
a7524bc3a7 Fixed typo 2016-04-27 00:42:58 +01:00
James Booth
2614b7adc3 Updated CHANGELOG 2016-04-27 00:40:53 +01:00
James Booth
38652efb19 Fixed tests 2016-04-27 00:30:33 +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
James Booth
261bbd3fc0 Removed only add -lgio-2.0 manually on OSX 2016-04-26 23:50:55 +02:00
James Booth
fcf486d6b2 Added include to fix tests 2016-04-26 23:50:55 +02:00
James Booth
167553ae8f Fixed functional test ID based stubs 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
ec4bcb9b9d Merge branch 'master' into muc-hooks 2016-04-15 22:40:32 +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
1a73aa39cb Merge remote-tracking branch 'origin/python-path' 2016-04-12 22:53:17 +01:00
James Booth
8ff9fd7091 Execute python string to append plugin path 2016-04-12 02:31:28 +01:00
James Booth
eeb0f71cbf Updated CHANGELOG 2016-04-11 01:03:37 +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