Release Name: 0.7.0
Notes:
posix_mq 0.7.0 - cleanups + portability fixes
POSIX message queues allow local processes to exchange data in the form
of messages. This API is distinct from that provided by System V
message queues, but provides similar functionality.
* http://bogomips.org/ruby_posix_mq/
* ruby.posix.mq@librelist.com
* git://bogomips.org/ruby_posix_mq.git
Changes:
This release now works for systems other than Linux and FreeBSD
that support POSIX message queues. This is usable for systems
without mq_timedsend() or mq_timedreceive() but with the
non-timed variants (timeouts wont work).
Thanks to Tadeusz Bochan for testing.
Ruby posix_mq is now dual-licensed under the GPLv2 (as well as the
preferred LGPLv3) for compatibility with existing GPLv2-only code.
Changes:
.gitignore | 1 +
.wrongdoc.yml | 4 +-
COPYING-GPL2 | 339 +++++++++++++++++++++++++++++++++++++++++++++++
GIT-VERSION-GEN | 2 +-
GNUmakefile | 166 +++---------------------
LICENSE | 21 ++-
README | 15 ++-
Rakefile | 24 +++-
ext/posix_mq/extconf.rb | 4 +-
ext/posix_mq/posix_mq.c | 56 ++++++--
lib/posix_mq.rb | 39 ++++--
pkg.mk | 171 ++++++++++++++++++++++++
posix_mq.gemspec | 3 +-
test/test_posix_mq.rb | 68 +++++++++-
14 files changed, 708 insertions(+), 205 deletions(-)
commit c3d0e079729eedbccd6f8ddee0bdac9ae9fdcc6b
Author: Eric Wong
Date: Wed Feb 23 16:09:46 2011 -0800
posix_mq 0.7.0 - cleanups + portability fixes
This release now works for systems other than Linux and FreeBSD
that support POSIX message queues. This is usable for systems
without mq_timedsend() or mq_timedreceive() but with the
non-timed variants (timeouts wont work).
Thanks to Tadeusz Bochan for testing.
Ruby posix_mq is now dual-licensed under the GPLv2 (as well as the
preferred LGPLv3) for compatibility with existing GPLv2-only code.
commit 909cf19949cab04cd7c223830e93291f1d5517f5
Author: Eric Wong
Date: Wed Feb 23 16:31:16 2011 -0800
doc: full rdoc coverage!
commit af97f65ef9968f3f365b85e262965b5fd3c6776c
Author: Eric Wong
Date: Wed Feb 23 16:25:57 2011 -0800
doc: add copy of GPLv2
For completeness, the LGPLv3 remains the preferred license.
commit 76e4b6e72d717b69843f4c43665bb0c55ac58eea
Author: Eric Wong
Date: Wed Feb 23 16:19:16 2011 -0800
doc: note that timeout is not always supported
Maybe people will just upgrade to newer systems eventually.
commit 28b863232bb1c96df9af9e35c5fffeec8d9b69c0
Author: Eric Wong
Date: Wed Feb 23 16:05:36 2011 -0800
README: update mailing list notes
If it's not clear, we hate HTML.
commit 0602e5e2f941128ad1330b45eaf48ea65b5e7327
Author: Eric Wong
Date: Wed Feb 23 15:30:02 2011 -0800
added a note about em-posixmq for EventMachine users
ref: http://mid.gmane.org/AANLkTimNcWKqNSbD5GL76Z9rS3Gfi3uGusPksD2Eo+=P@mail.gmail.com
commit 1fdd73c1d006cf96fd7955f171df70ad5d0fe896
Author: Eric Wong
Date: Wed Feb 23 15:26:40 2011 -0800
doc: discourage the use of notify
POSIX_MQ#notify(&block) mostly sucks.
commit 0d3f4d41cedc59c4b3cf000f0e05bc1245be8ad3
Author: Eric Wong
Date: Wed Feb 23 15:21:55 2011 -0800
unindent class methods
No need to waste indentation and make eyes wander.
commit b6d82cdeff1ea2822c2911adf61d6a00538ecba8
Author: Eric Wong
Date: Wed Feb 23 20:11:18 2011 +0000
test for alarm() working properly to interrupt
Some systems without mq_timedsend/mq_timedreceive need to
use alarm() or similar (setitimer()) to interrupt timed-out
mq_send/mq_receive calls, so we need to handle EINTR properly.
commit 634a6f450f0a145f6248d5918c4eb3d0ded6f6dc
Author: Eric Wong
Date: Wed Feb 23 19:46:53 2011 +0000
update URLs for git and cgit
While the old URLs still work, bogomips.org went on a URL diet
commit 72171f4ba79e5cbb6eb82f0f243cf554f643e796
Author: Eric Wong
Date: Wed Feb 23 19:43:38 2011 +0000
fix MQ_IO_NIL_P and MQ_IO_CLOSE macros
These cannot be cast to void since its value is
meaningful.
commit 07feaee646e061f27dceccc1c06262c2e832f560
Author: Eric Wong
Date: Wed Feb 23 19:42:58 2011 +0000
test: fix GC test for systems without POSIX_MQ#to_io
Not all systems can convert POSIX_MQ to IO objects.
commit dbded16e7c36b51187f3d0e6981c96773f910de9
Author: Eric Wong
Date: Tue Feb 22 17:42:02 2011 -0800
LICENSE: dual license, adding GPLv2
This makes us explicitly compatible with GPLv2-only programs.
commit 3a8a20d685dbfb500187099d76e56e848ad347ed
Author: Eric Wong
Date: Tue Feb 22 16:46:26 2011 -0800
attempt to support systems w/o mq_timedsend/mq_timedreceive
Some ancient systems don't support mq_timedsend and
mq_timedreceive but somehow manage to support other POSIX
mq_* functions.
commit c4c4554c3ceef9208fe7f8473b970e9f522ab9b9
Author: Eric Wong
Date: Tue Feb 22 15:41:22 2011 -0800
extconf: remove unnecessary dir_config statement
It's all standard C library stuff.
commit 5f1578c0d17b05f5158e467bd3abf18565fe1b4b
Author: Eric Wong
Date: Tue Feb 22 15:32:40 2011 -0800
use StringValueCStr for paths
RSTRING_PTR may contain '\0' bytes which makes it unsuitable
for mq_unlink() and mq_open()
commit a5491670078b045ced2641649a6cfceee2cade10
Author: Eric Wong
Date: Tue Feb 22 15:02:31 2011 -0800
fix broken rb_str_set_len() #define for Ruby 1.8.6
This was too aggressively deleted during cleanups for Rubinius
support in commit 5339d9d693c794c0f20270d5726cb360e31dff30
Noticed-by: Tadeusz Bochan
ref: 2a92695fc1958e0370782284c6196625@ruby-forum.com
commit 7144a4e325f77e3fa41ade00f5cef5612908a7e9
Author: Eric Wong
Date: Tue Feb 22 14:50:59 2011 -0800
fix for systems that can't convert mqd_t to FD
Apparently there are OSes that don't have methods to convert
mqd_t to FD.
Noticed-by: Tadeusz Bochan
ref: <2a92695fc1958e0370782284c6196625@ruby-forum.com>
commit de45521943e838122a82492ec03c58b78b6adf1e
Author: Eric Wong
Date: Tue Feb 22 14:39:31 2011 -0800
switch to pkg.mk for packaging needs
I can't stand Rake :x
commit 9edc6946bbd4cc4be55ca4293135189c3db356c6
Author: Eric Wong
Date: Sun Dec 26 01:25:27 2010 +0000
publish_news target is less braindead
Run it by default on releases.
|