Commit Graph

3343 Commits

Author SHA1 Message Date
Ben Gamari 6a0e131b88 menu: Ensure that toggling lag-o-meter changes timer state 2016-06-29 15:42:11 -04:00
Ben Gamari 215a164e57 Ensure that timers are freed and activated when necessary 2016-06-29 15:42:11 -04:00
Ben Gamari 9e4c2ddc47 Apply timeout changes made in preferences dialog
Just involves a bit of refactoring.
2016-06-29 15:42:11 -04:00
Ben Gamari bcbe42dd7a Introduce and use fe_timeout_add_seconds
This should allow the operating system to be a bit more lax about
timeouts, allowing more efficient power management.
2016-06-29 15:42:11 -04:00
Ben Gamari 25e197a6c8 dcc: Disable timeout timer when not in use
This should mean that hexchat never *needs* to wake-up unless prompted
by socket activity (assuming that the lag-o-meter is not enabled).
2016-06-29 15:42:11 -04:00
Ben Gamari 7dca220486 Refactor timer handling
This allows us to omit the lagometer timer in the event that it is not
enabled, bringing the baseline wake-up rate down to 1Hz from 2Hz, which
could bring considerable power savings on mobile devices.
2016-06-29 15:24:03 -04:00
Adrien Saladin 111ba3750f Mask nickserv ghost password
Closes #1750
2016-06-29 15:19:28 -04:00
Arnavion 16ba39d9fa Forcibly reset iconv converter after every conversion.
Despite what g_convert_with_iconv's docs say, it does not reset the converter on a failed conversion (iconv returns -1).

Fixes #1758
2016-06-24 12:09:35 -07:00
Arnavion 4ed1acfd52 Use constant instead of literal. 2016-06-24 12:05:37 -07:00
Arnavion a1d2272dc0 notifications-winrt: Fix all uses of "" to L"".
The API uses Platform::String^. String's constructor takes in char16*.

Fixes #1755
2016-06-21 07:39:50 -07:00
Patrick Griffis c12f33aa4c servlistgui: Error if nicks left empty 2016-06-12 15:01:39 -04:00
tomek a031a24cfd Bump version to 2.12.1-2 2016-06-05 11:22:24 +02:00
Erik de Castro Lopo c698e13c0d Couple of minor const correctness fixes 2016-05-28 16:52:26 +10:00
Erik de Castro Lopo 10e429b85d Remove two un-needed type casts 2016-05-28 16:35:45 +10:00
Patrick Griffis 6554a8d63c servlistgui: Show invalid nick/user on open
It is possible to have an invalid config from a previous upgrade

Fixes #1715
2016-05-16 08:51:18 -04:00
Arnavion d32aa65bc7 Ignore VS2015 crap. 2016-05-12 22:21:26 -07:00
TingPing 3c329727c7 servlist: Default to UTF-8 on PTNet
Fixes #1697
2016-05-03 20:16:49 -04:00
tomek e223840fa6 Bump version to 2.12.1 2016-05-01 20:52:05 +02:00
Patrick Griffis ca6411c591 Bump version to 2.12.1 2016-05-01 14:34:46 -04:00
Patrick Griffis 823ef320a5 lua: Use luaL_checkinteger 2016-04-27 14:55:04 -04:00
Arnavion fe9da9314c Fixed warning from MSVC that not all branches return a value. 2016-04-27 11:39:29 -07:00
Arnavion 1c73f84f3a installer project needs to depend on lua plugin project. 2016-04-27 11:34:48 -07:00
Patrick Griffis d995272922 win32: Install doat by default 2016-04-26 12:08:11 -04:00
Patrick Griffis 5b097f560d More minor scrollback loading improvements 2016-04-26 12:06:28 -04:00
Patrick Griffis f06a38c384 configure: Bundle ax_python_devel.m4
Upstream broke API so older distributions have broken system versions

Fixes #1632
2016-04-19 14:07:27 -04:00
Patrick Griffis 44aa999598 Fix challengeauth lower casing username 2016-04-13 18:47:51 -04:00
Marcel Telka 54c6418d61 Support for older libnotify versions 2016-04-10 21:22:12 -04:00
Patrick Griffis bd358dd570 win32: Reflect lua path changes in gtk-win32 2016-04-09 12:18:02 -07:00
Patrick Griffis 529ae4cc89 lua: Fix explicit braces warning 2016-04-07 19:02:38 -04:00
Patrick Griffis 5b05271e4c win32: Install lgi with lua plugin 2016-04-07 18:27:43 -07:00
Patrick Griffis d11b7f258c lua: Minor formating cleanup 2016-04-07 18:27:40 -07:00
Patrick Griffis 0694cb9045 lua: More consistency with Python plugin 2016-04-07 18:27:39 -07:00
Patrick Griffis 8099f23bdf travis: Build on Ubuntu 14.04 2016-04-07 18:27:38 -07:00
Patrick Griffis a3e1a287ac Bump glib requirement to 2.34
This is still rather old but does drop Ubuntu 12.04 support.
2016-04-07 18:27:37 -07:00
mniip f501e948ae lua: Some more refactoring. Fix unload hook in the interpreter. 2016-04-07 18:27:30 -07:00
Patrick Griffis ba6a1190cd lua: More missing statics 2016-04-07 18:27:30 -07:00
Patrick Griffis 4abcd53044 lua: Make better use of GLib
- Use GPtrArray everywhere
- Remove unessary NULL checks
- Make use of g_clear macros
- Use g_str_has_suffix
2016-04-07 18:27:29 -07:00
mniip 2fe52bbf58 lua: Bump version and update copyright year. 2016-04-07 18:27:21 -07:00
mniip 5998696c2a lua: Use glib allocators 2016-04-07 18:27:13 -07:00
mniip bc9a59d264 lua: Replace some pushnumbers with pushintegers 2016-04-07 18:27:07 -07:00
mniip 5699bf9e65 lua: Error if luaL_newstate returns NULL 2016-04-07 18:26:58 -07:00
Patrick Griffis c4c1c64f00 travis: Build with Lua 2016-04-07 18:26:47 -07:00
Patrick Griffis fb7f27fcdd lua: Build on win32 2016-04-03 12:02:04 -07:00
Patrick Griffis 2e2b895ebe lua: Don't used mixed declarations
This requires a lot more cleanup
2016-04-03 11:04:48 -04:00
Patrick Griffis 2e478f1b5a Import lua plugin
Written by @mniip
2016-04-03 10:30:01 -04:00
Patrick Griffis a77c6df7e2 configure: Place auxiliary files in own dir 2016-03-31 08:01:06 -04:00
Patrick Griffis 19c4adf8ba autogen: Don't copy all files by default 2016-03-31 07:51:08 -04:00
Patrick Griffis 1f48f9dd6f Increase default size of some util windows 2016-03-31 07:21:02 -04:00
Patrick Griffis b7373f4ddc unix: Open urls in existing instance if supported 2016-03-31 07:02:23 -04:00
Patrick Griffis 9402a31111 Improve help message for /close
Closes #1397
2016-03-30 08:58:25 -04:00