Commit Graph

21 Commits

Author SHA1 Message Date
Michael Stapelberg a3a42f30e1 Add check to Makefile to abort in a Windows environment (neither i3 nor unix sockets available)
Hopefully, this will stop CPAN Testers emails about failing tests on windows.
2017-08-19 18:13:19 +02:00
Michael Stapelberg da94674f8f bump version 2017-08-19 18:13:19 +02:00
Michael Stapelberg 192ef6a827 use getpwuid() to resolve ~ in socket paths instead of glob()
This fixes a warning about using a tainted variable (broke the
tests with newer perl versions).
2017-08-19 18:13:19 +02:00
Michael Stapelberg e656864838 use new default ipc-socket path, glob() path, bump version 2017-08-19 18:13:19 +02:00
Michael Stapelberg 5d1bb0b0ce Bump version for new CPAN upload, fix MANIFEST 2017-08-19 18:13:19 +02:00
Michael Stapelberg f12facc184 bump version to 0.02, update MANIFEST 2017-08-19 18:13:19 +02:00
Michael Stapelberg e34675c3c7 Implement _error callback 2017-08-19 18:13:19 +02:00
Michael Stapelberg d137f83452 Add sugar methods for easier usage 2017-08-19 18:13:19 +02:00
Michael Stapelberg 45eef6bdf7 Remove obsolete paragraph about the need for a second connection
Due to the event-based handling of incoming data from i3 we do not
suffer from this problem.
2017-08-19 18:13:19 +02:00
Michael Stapelberg 1aac4d3f14 Use $self->message in subscribe 2017-08-19 18:13:19 +02:00
Michael Stapelberg b57fca1ef9 kill left-over variable 2017-08-19 18:13:19 +02:00
Michael Stapelberg 7ffa4bea31 Use only 'import' of 'Exporter' 2017-08-19 18:13:19 +02:00
Michael Stapelberg 98e32d39a5 reformat perldoc paragraph 2017-08-19 18:13:19 +02:00
Michael Stapelberg 4ba7259f6a use constant instead of magic number 2017-08-19 18:13:19 +02:00
Michael Stapelberg 460f09915f Get rid of _bytelength, use encode_utf8 and length instead. Correctly check for scalar 2017-08-19 18:13:19 +02:00
Michael Stapelberg 8b2db9a238 Bugfix: Handle message_type == 0 2017-08-19 18:13:19 +02:00
Michael Stapelberg e3f0e5b01c Add new constants 2017-08-19 18:13:19 +02:00
Michael Stapelberg e35d6039d7 Provide constants for message types 2017-08-19 18:13:19 +02:00
Michael Stapelberg 279528a863 Return connection status in condvar in $i3->connect 2017-08-19 18:13:19 +02:00
Michael Stapelberg 5c9e2833b6 prefix internal subs with _ 2017-08-19 18:13:19 +02:00
Michael Stapelberg 632bdb7d2a Initial commit 2017-08-19 18:13:19 +02:00