Commit Graph

115 Commits

Author SHA1 Message Date
TingPing e7003ef9c6 Improve /mode behavior
This fixes /mode using the name of invalid contexts
and also adds some documentation to what is happening.

In the end though it still must guess between modes
and nicks if ran in a valid context.

Fixes #1470
2015-09-03 02:35:13 -04:00
TingPing 66f2f3a84a Improve /AWAY help message
Closes #1343
2015-04-05 00:54:52 -04:00
TingPing f4f27e438b Implement windows 8.1+ notifications
This splits notifications up into multiple backends
currently only libnotify on unix and win8 toasts.

The win8 backend was originally written by @leeter
though heavily modified.
2015-02-04 20:24:53 -05:00
Arnavion c5bbf75f5e Removed one leftover check for server->encoding against NULL. 2015-01-18 02:55:32 -08:00
Arnavion 99f74e8d94 Also print the command that wasn't recognized. 2015-01-07 13:42:42 -08:00
TingPing 2a28289314 Don't return 0 in place of NULL 2014-12-31 11:31:17 -05:00
TingPing 112632bb4e Fix some possible null-deref warnings 2014-12-31 11:12:43 -05:00
TingPing 95febd978c Fix building as c89 2014-12-28 06:47:23 -05:00
TingPing 83032b1aa3 Use glib for all allocations
- Removes need to check for malloc failure
- Removes need for NULL checks on free
- Adds checks for integer overflows
- Removes some extra memset calls
- Removes chance of mixing libc and glib malloc/free
2014-12-28 06:44:44 -05:00
Arnavion ec7a0d6e13 Fixed some more signed-unsigned-comparison warnings. 2014-12-15 10:25:28 -08:00
TingPing f614a3c311 Fix possible overflow when using /menu 2014-12-11 13:49:37 -05:00
Arnavion 65da34f19e Removed some unnecessary null-checks for calls to g_free and g_strfreev 2014-12-08 21:24:59 -08:00
TingPing 121cb8b88d Fix formatting warnings
Found by #1059
2014-07-18 07:16:43 -04:00
TingPing 45526205ab Remove broken debug code 2014-06-21 22:21:12 -04:00
TingPing 11e3ecc739 Stop hardcoding plugin extensions everywhere 2014-06-04 11:15:35 -04:00
TingPing 5849a0588e Use glib to parse and launch commands for util_exec
Fixes #958
2014-06-04 10:38:23 -04:00
cortexcorepl 187c04f7e2 Add missing NULL check in cmd_lastlog
Closes #961
2014-05-12 02:33:02 -04:00
TingPing 10d3c15143 Add /getbool command 2014-02-04 20:46:43 -05:00
TingPing 8e55157e6a Print help messages for user commands 2014-02-04 20:32:10 -05:00
TingPing 0297da4d6e Fix warning when built without plugins 2014-01-16 00:46:49 -05:00
TingPing 7337007fe2 ... and ignore blank network passwords 2014-01-11 16:27:34 -05:00
TingPing 6e049d5975 Login when /server is used on known hostname
This brings back old behavior where you can /server to another
server in the same network and login with services but now is only
sent when the server is known not every time so more secure.
2014-01-11 16:08:50 -05:00
TingPing 20d26aea94 Rewrite dns command
- Cross platform
- Doesn't depend on external tools
2014-01-08 01:32:28 -05:00
TingPing 407613a8db Fix NAMES command syntax 2013-11-28 05:01:40 -05:00
TingPing d38bbb1e2c update help message for /names 2013-11-23 15:31:09 -05:00
TingPing 7e6f37b4cd Update help message for kick/kickban 2013-11-01 14:42:43 -04:00
TingPing 30a47cf62e Fix random_line() cutting off text
fgets() wont include the newline
2013-10-27 13:21:52 -04:00
Farow bb5d589c79 Open channel list window on /list 2013-10-22 13:35:28 -04:00
TingPing c6ad450151 Focus new server tabs 2013-10-15 22:54:38 -04:00
TingPing 490b9a91e4 Don't overwrite existing ignores when flooded
Closes #792
2013-10-14 17:25:21 -04:00
Diogo Sousa cf370d7e79 When opening a query dialog with /query nick msg, the message was not shown in
the newly opened dialog. This fixes that issue.
2013-10-13 14:38:26 -04:00
TingPing 4ba886f7aa Accept %I in text events 2013-09-29 01:52:21 -04:00
TingPing f198581a09 Split long messages at spaces 2013-09-24 19:57:37 -04:00
TingPing 9c4112cda7 Fix /cycle command
- Uses the correct channelkey when called from another tab
- Allows it to be used from any tab in the same server
- Verifies it's a channel you are in
2013-09-23 17:17:35 -04:00
TingPing 1007af9506 Add message arguement to /query
Closes #757
2013-09-17 18:19:02 -04:00
TingPing 4e775df156 Update CLEAR and MSG help message 2013-08-25 11:16:49 -04:00
TingPing bf0ff98385 Update help for close command 2013-08-25 10:52:37 -04:00
TingPing 0b95c1c444 Merge branch 'pluginreload' 2013-08-10 19:44:38 -04:00
TingPing b2d2187b20 Only replace variables in connect commands 2013-08-10 16:51:56 -04:00
TingPing e8456beadc Add reload command for plugins and add to gui 2013-08-04 04:36:10 -04:00
TingPing 154ea98deb Fix kickbanning opped users 2013-07-30 23:29:25 -04:00
TingPing 9d4a1a3b4f Update docs links 2013-07-12 19:32:10 -04:00
TingPing 50219a63ad Fix opening empty channel when url has trailing slash 2013-07-02 12:19:47 -04:00
Diogo Sousa aef9e3922e Fixed a few null pointer derefs caused by dummy code that somehow I
forgot about.
2013-06-28 16:08:03 +01:00
Diogo Sousa ce6fef3d0a A few messages missing regarding server-time. 2013-06-28 16:07:42 +01:00
Diogo Sousa d1725e3f44 server-time for all numerical messages. 2013-06-28 16:04:32 +01:00
Diogo Sousa 6a0240aa18 server-time supported in most named messages. 2013-06-28 16:03:37 +01:00
Diogo Sousa 94186f7888 First step towards message tags extension support
(see http://ircv3.atheme.org/specification/message-tags-3.2).

In particular this commit implements a (very) dummy implementation
sketch of the server-time extension
(see http://ircv3.atheme.org/specification/message-tags-3.2 and #499).
2013-06-28 16:03:12 +01:00
Diogo Sousa 97e88b885a Renamed tbuf to buf in create_mask() to avoid confusion. 2013-06-08 03:01:36 +01:00
Diogo Sousa f84476cf87 Fixed possible overflow in create_mask(). 2013-06-08 02:56:36 +01:00