Commit Graph

101 Commits

Author SHA1 Message Date
Arnavion 2da5308fd2 Fixed leak of filename string. 2014-12-08 21:25:00 -08:00
Arnavion c1831cb19d Minor tidying up 2014-12-08 21:24:59 -08:00
Arnavion 65da34f19e Removed some unnecessary null-checks for calls to g_free and g_strfreev 2014-12-08 21:24:59 -08:00
Arnavion e209e55e59 Use PlaySoundW to play sounds on Windows.
Fixes #1133
2014-09-13 00:23:44 -07:00
Campbell Barton 93caf4c7b4 Use GNUC format attribute on print functions
Closes #1059
2014-07-18 07:09:07 -04:00
Berke Viktor 0dccf692d4 Add global option to suppress nick change events
Might as well add a per-channel option, too but for me that seems a bit unnecessary.
Closes #971
2014-05-12 05:01:24 -04:00
Riamse 6ef41f7d4f Fix logging incorrect timestamp with server-time
Fixes #972
2014-05-11 05:02:19 -04:00
Arnavion dc27640265 Use utf-8 variant of strftime to format log file paths.
strftime assumes the format string is in locale encoding, which mangles log file paths that are in utf-8.

Fixes #767
Fixes #945
2014-04-21 01:39:28 -07:00
RichardHitt ccf49aa48d Fix #928. Fix memory leak, mea culpa. 2014-04-17 15:07:50 -07:00
RichardHitt b66edd372e Fixes #928 again. In scrollback replay, skip every line that starts 0x0d. 2014-04-17 09:53:09 -07:00
TingPing b41bd594b0 Add account to Join event
Also reorganizes some logic. The account will usually be NULL unless
extended-join capability enabled.

Closes #934
2014-04-06 15:33:22 -04:00
RichardHitt 4ca9672a92 Fix scrollback_load to deal with e.g. the output of /HELP
Fixes #928.
2014-03-29 14:31:19 -07:00
RichardHitt 1a3bfdce75 Improve handling scrollback when gui_tab_server==FALSE
Fixes #925.
2014-03-24 21:22:04 -04:00
TingPing b17c0276de Fix some leaks 2014-02-12 10:31:11 -05:00
Diogo Sousa 40f26429f8 Print{,_attr} and server{,_attr} hooks were incorrectly handled when both
version existed (regular and attrs).  Specifically, the priority was not
respected, and both versions were run even when EAT_PLUGIN was returned.

Fixes #847.
2013-11-28 02:11:33 +00:00
TingPing af248ce2c1 Fix invalid timestamps crashing on Windows 2013-11-02 21:07:03 -04:00
Diogo Sousa 5ad9552365 Fix messages with server-time not showing as new activity
Added a parameter to fe_print_text() to say that the message does not represent
new activity. This is used when a log from an old session is loaded. This used
to be implicit whenever the timestamp was non-zero, but with server-time this no
longer makes sense.

Fixes issue #746.
2013-10-09 21:34:02 -04:00
TingPing f13413c26a Fix logging networks with invalid names on Windows 2013-09-15 07:40:47 -04:00
TingPing a903f16c68 Implement BLOWFISh, AES, and EXTERNAL SASL mechanisms
Closes #657
2013-09-07 18:59:28 -04:00
TingPing 13bfd060b6 Format Channel URLs
closes #706
2013-08-07 06:14:30 -04:00
Diogo Sousa 9978ebd853 Removed outdated comment. 2013-07-12 22:52:12 +01:00
Diogo Sousa e0fb3d537d Added hexchat_emit_print_attrs() to plugin interface. 2013-07-12 01:33:35 +01:00
Diogo Sousa 5e240eb259 Indentation fixes and code cleanup. 2013-07-10 00:42:34 +01:00
Diogo Sousa 7101b7b864 Now hexchat_hook_server_attrs() and hexchat_hook_print_attrs() is called
when it should. This should close #661.
2013-07-09 23:11:28 +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 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
TingPing 8be56d7003 Don't open libcanberra connection for every event
Closes #645
2013-06-12 10:41:52 -04:00
TingPing cf505b850b Add chanopt for stripping colors 2013-06-06 17:47:01 -04:00
Berke Viktor a3ba8d575e Store just the filename if the sound file comes from the default sound dir
And get rid of some hardcoding while we're at it
2013-04-28 04:12:00 +02:00
Berke Viktor ea48d18130 Fix spacing 2013-04-28 03:06:02 +02:00
TingPing 78f9f3f87c clean up canberra code 2013-04-27 20:29:28 -03:00
TingPing bc1169e979 Use canberra for files 2013-04-27 20:02:27 -03:00
Berke Viktor 012105e115 Let's just say the word 2013-04-28 00:56:24 +02:00
Berke Viktor 7323f7c561 Fix unused variable 2013-04-27 23:28:24 +02:00
Berke Viktor 6001ceff9f Get rid of bundled beep 2013-04-27 23:00:18 +02:00
Berke Viktor 01f24aae07 Don't use external players on Windows 2013-04-27 21:07:34 +02:00
TingPing 2550a94f05 fix omitting custom sounds 2013-04-23 00:45:37 -04:00
TingPing 450b92f6c0 add paplay 2013-04-17 06:13:34 -03:00
TingPing 27d828172d try play first. 2013-04-14 17:54:28 -03:00
Berke Viktor ea0479998a Use bundled beep file for beep alerts 2013-04-14 11:56:50 +02:00
Berke Viktor db582a4e5c Remove sound_dir, it's pointless 2013-04-14 10:47:37 +02:00
misdre 0424e5a329 Closes #290 - opt-out for extra alerts now working 2013-04-08 19:19:55 +02:00
TingPing ed27009285 Notify away status of friends 2013-04-07 20:41:29 -04:00
TingPing 3c4a154f0a Add events for quiet 2013-04-07 17:49:30 -04:00
Berke Viktor 9c49254abd Only include top level includes from GTK+, GLib and GDK-PixBuf 2013-04-02 20:39:37 -07:00
TingPing a5994cf647 Merge pull request #445 from TingPing/ulistcolors
Add option to color nicknames in the userlist to match the chat
2013-03-24 01:53:37 -07:00
RichardHitt f7923f2a02 Truncate text if too long. Closes Issue #463 2013-03-23 13:08:49 -07:00
Berke Viktor 25f8e45b73 Get rid of Non-BMP filtering, Pango handles this now 2013-03-15 22:00:55 +01:00
TingPing 6bd9656416 Add option to color nicknames in the userlist to match the chat 2013-03-09 17:57:06 -05:00