Files | Admin

Notes:

Release Name: eventmachine 0.12.10

Notes:
I am happy to announce the release of eventmachine 0.12.10. Gems (including
binary builds for win32 and jruby) have been uploaded to rubyforge and should
be available via `gem install` shortly.

Since 0.12.8, we've had over 130 patches with numerous bug fixes, improvements
and several new features. Highlights include:

  - Improved Performance
    - subclasses of EM::Connection are not created unless necessary
    - prevent unnecessary system calls to epoll_ctl/kevent
    - the reactor uses numeric signatures instead of strings,
      resulting in a ~15% overall performance boost

  - API Changes
    - EM.reactor_thread accessor for the reactor's thread
    - EM.next_tick and EM.schedule are now thread-safe
    - EM::connect will raise a more better EM::ConnectionError with details
    - EM.epoll=/kqueue= will raise EM::Unsupported when unavailable
    - improved the cryptic "no timer" exception and increased the
      default limit to 10k timers
    - bugfix and improved performance for EM.current_time
    - EM.add_periodic_timer returns PeriodicTimer object
    - EM::Connection#get_sock_opt wrapper for getsockopt()
    - added EM.watch for notifications about file descriptors
        for notify_read/writable events, you cannot use EM.attach
        EM.watch(fd, Watcher){ |c| c.notify_readable = true }
    - EM::Connection#pending_connect_timeout= setter (defaults to 20s)
    - EM.bind_connect can bind to random source port using nil
        EM.bind_connect('local.ip', nil, 'remote.ip', 1234)
    - added EM::Connection#pause/resume/paused? to pause and resume I/O
    - EM::Connection#proxy_incoming_to takes an optional buffer size for
      limiting RAM usage when dealing with slow clients
  
  - Protocol Additions
    - allow overriding the serializer used for ObjectProtocol
    - basic SOCKS v4 client protocol implementation
  
  - Platform Support
      AIX, OpenBSD, Solaris
        - minor fixes to support these platforms
      Windows
        - fix missing unbind events on refused outbound connections
        - fix issues with ruby 1.9 on windows

  - Ruby Support
      JRuby
        - major overhaul of the jruby reactor for better compat and performance
        - basic EM.attach/watch support on the Sun JVM
        - fully compatible with JRuby 1.4
      Ruby 1.9
        - fix bugs trying to kill the EM.defer threadpool
        - fix signal handling to catch ctrl+c and other signals gracefully
      Rubinius
        - minor changes to build a compatible C extension

Special thanks to the following people for making this release possible:
  - Bernd Ahlers
  - Chris Turner
  - Dan Mayer
  - Perry Smith
  - Bill 'spatulasnout' Kelly
  - Hemant 'gnufied' Kumar
  - Jake 'yakischloba' Douglas
  - James 'raggi' Tucker
  - coderrr

The rdoc has been updated and is available at http://eventmachine.rubyforge.org

  Aman



Changes: commit 7a71d5e82f3936fcf08edb63a8953419c03937a1 Author: Aman Gupta <aman@tmm1.net> Date: Sat Oct 24 12:22:54 2009 -0700 Bump version to 0.12.10 commit 64b58ad4e63a84705f2b7a8f0575dcf88dc15670 Author: raggi <jftucker@gmail.com> Date: Tue Oct 6 02:15:28 2009 +0100 Centralise handler builds Signed-off-by: Aman Gupta <aman@tmm1.net> commit 7c4b204ecd8426833c02b6d289adbfaa9913be8b Author: Aman Gupta <aman@tmm1.net> Date: Sat Oct 24 11:47:20 2009 -0700 Revert new EM::Server api for now commit c9f6c5e4b6208deb2abe0d7590352d958bd1832c Author: Aman Gupta <aman@tmm1.net> Date: Tue Oct 20 17:02:28 2009 -0700 undef stat only on windows to fix issues on AIX commit 16d8974c358903fcf4c693214588da81964bc65a Author: steve <steve@steve-laptop.(none)> Date: Mon Oct 19 02:30:32 2009 +0700 basic SOCKS v4 client implementation Signed-off-by: Aman Gupta <aman@tmm1.net> commit 575de6e70b1eaca5733afe363b849ba3c1c3aafc Author: Aman Gupta <aman@tmm1.net> Date: Mon Oct 19 14:44:44 2009 -0700 Some fixes for solaris commit 945eb1caa4b0152a5d5472d573c1c06e73b0390e Author: Aman Gupta <aman@tmm1.net> Date: Sun Oct 18 19:23:26 2009 -0700 Minor fixes for rbx compatibility commit 37bf73d33f5909ba12b02fea2ef9d9e7e4215d8e Author: steve <steve@steve-laptop.(none)> Date: Fri Oct 16 02:28:30 2009 +0700 fix pause test, server could still have a queued receive_data after pausing commit fa2cf66aecc1d20a9b8d03e1befb176e9ab3927a Author: Aman Gupta <aman@tmm1.net> Date: Fri Oct 16 22:48:44 2009 -0700 Split out java API from em_reactor.jar commit c14fcd4583007d4ca30fbd51ce54fbe0587c1b25 Author: Aman Gupta <aman@tmm1.net> Date: Tue Oct 13 16:14:25 2009 -0700 Fix pause/resume for epoll/kqueue commit aad3a82ef17b63d89b007b59dbaec99f739cd6a4 Author: Aman Gupta <aman@tmm1.net> Date: Mon Oct 12 17:06:12 2009 -0700 Raise better errors from EM::connect commit cb8e4383b2ebe0fce85aab0d65aba1ceaa14f0d7 Author: Dan Mayer <dan@devver.net> Date: Tue Jul 14 14:59:30 2009 -0600 Added osx:static_gem task to compile ssl locally for the OSX gem Signed-off-by: Aman Gupta <aman@tmm1.net> commit b18a4d3e5b8eead67754f75d8bdfa88cc4be31b4 Author: Jake Douglas <jakecdouglas@gmail.com> Date: Sat Oct 10 21:57:48 2009 -0700 Optionally set a maximum buffer size for proxied connections commit 8fe5c26387c69b617031b5451d7b47e1f2478e00 Author: Aman Gupta <aman@tmm1.net> Date: Thu Oct 8 05:15:34 2009 -0700 Tweak EM.attach/watch hackery for latest JRuby commit 72bd71122ff1bc31d3bebdf1c127c3fcaf0e2bb5 Author: Aman Gupta <aman@tmm1.net> Date: Thu Oct 8 05:15:02 2009 -0700 Simplify gem task in Rakefile commit 725787097d81118b9c924bfc263cb1f91d489337 Author: aman <aman@anger.bumbalabs.com> Date: Mon Oct 5 21:35:51 2009 -0700 Return explicit nil from EmReactor#eventCallback to conform to public void signature commit 98d8cd32024e1f85615a72a8d78a6c77b1347081 Author: Aman Gupta <aman@tmm1.net> Date: Mon Oct 5 21:32:55 2009 -0700 Avoid creating unnecessary procs in EM::PeriodicTimer commit d8ac7c124102bf754830bdb0c9c41c9c3e9bc941 Author: raggi <jftucker@gmail.com> Date: Mon Oct 5 23:41:32 2009 +0100 Cleanup next_tick synchrony a little more commit 7bd331585aee5ae312d4e01569b18359e39ae956 Author: Aman Gupta <aman@tmm1.net> Date: Mon Oct 5 15:16:59 2009 -0700 Make ::next_tick actually thread-safe commit 90533578430bbfd2f464944b75cfbb106baa6b93 Author: raggi <jftucker@gmail.com> Date: Mon Oct 5 00:50:41 2009 +0100 more rakefile cleaning. bayshore servers returning errors again, switch to google commit 766b201aae9d9c38c30c2e9f834d207776bdb7f7 Author: raggi <jftucker@gmail.com> Date: Sun Oct 4 13:58:55 2009 +0100 Don't rebuild unless there's a need to commit 0e7d8b8d79fdc23be01b7efa564e95336b22c4fd Author: raggi <jftucker@gmail.com> Date: Sun Oct 4 13:39:50 2009 +0100 Move to Rake::TestTask, turn on warnings, and cleanup warnings commit 677362b1f24836520184c779c3510ff285fe97c0 Merge: d590e91... 3a82371... Author: raggi <jftucker@gmail.com> Date: Sun Oct 4 12:58:55 2009 +0100 Merge branch 'master' of github.com:eventmachine/eventmachine * 'master' of github.com:eventmachine/eventmachine: FD_SETSIZE must be defined before winsock2.h to increase 64 fd limit on windows commit d590e91c9274f6a546c7addca701b17d58f4b802 Author: raggi <jftucker@gmail.com> Date: Sun Oct 4 12:58:25 2009 +0100 Fix delegate connection test commit 3a82371af64b8a6e1874252cfc585ac2822431ac Author: Aman Gupta <aman@tmm1.net> Date: Sat Oct 3 01:59:40 2009 -0700 FD_SETSIZE must be defined before winsock2.h to increase 64 fd limit on windows commit 42c26109f13f2d59558eea315aa09f232f6b0f61 Author: raggi <jftucker@gmail.com> Date: Fri Oct 2 10:18:30 2009 +0100 Cleanup docs commit 9fabfa904e2895e55fe92883554d2cc40e7c95bc Author: raggi <jftucker@gmail.com> Date: Fri Oct 2 10:16:11 2009 +0100 Delegates now receive delegate args via EM::Server commit 1e44081a19dd6917bf3574cd3dd21404896e5dcc Author: raggi <jftucker@gmail.com> Date: Fri Oct 2 10:05:06 2009 +0100 Extract some basic test helpers, add docs, more coverage for delegate connection commit e58b8b53e454003dfb9fb6486a1ddd53f3ddaf3d Author: raggi <jftucker@gmail.com> Date: Thu Oct 1 05:09:59 2009 +0100 better demonstrate the aggregate nature of the delegated connection mode commit 791d50a2de963e8cdf0b892a36835480ddb6214a Author: raggi <jftucker@gmail.com> Date: Thu Oct 1 05:04:25 2009 +0100 Make test stable by adding simple tick delayer commit e48bbb1dca0732bd293793754f0d7778e7a4cd7c Author: raggi <jftucker@gmail.com> Date: Thu Oct 1 04:47:54 2009 +0100 Fix test to actually execute! commit 7e21b03a71277bad858a837d5e942d6c7dcc49dc Author: raggi <jftucker@gmail.com> Date: Thu Oct 1 04:44:16 2009 +0100 Adding basic OO server implementation, requires better coverage of DelegateConnection commit cab348b56ec32479ba4201ee61bc1ea116419922 Author: Aman Gupta <aman@tmm1.net> Date: Tue Sep 29 01:52:12 2009 -0700 Hack to fix ConcurrentModificationException errors on jruby reactor shutdown commit 16b6fbfec178c1b9b99981d785f4075de6278ebf Author: Aman Gupta <aman@tmm1.net> Date: Tue Sep 29 01:25:10 2009 -0700 Revert "Fix shutdown errors in jruby reactor due to modification of Connections HashMap" This reverts commit f3f5da45d6471cdb3b919aef971476bcd360305d. commit f3f5da45d6471cdb3b919aef971476bcd360305d Author: Aman Gupta <aman@tmm1.net> Date: Mon Sep 28 14:34:41 2009 -0700 Fix shutdown errors in jruby reactor due to modification of Connections HashMap commit 5008c0f3c8058b1102137658b504415ac1ac5fbe Author: Aman Gupta <aman@tmm1.net> Date: Mon Sep 28 14:32:55 2009 -0700 Add in missing constants and exceptions to the jruby reactor commit 1f53af8e6512ab3a29c2aefbbe3849a10e187c99 Author: Jake Douglas <jakecdouglas@gmail.com> Date: Wed Sep 23 18:32:37 2009 -0700 dont modify the map during iteration loop commit 083ead4df3dbaeb13c7bb0ac8098657b9b0d200d Author: Aman Gupta <aman@tmm1.net> Date: Tue Sep 22 00:01:13 2009 -0700 Fix missing unbind event on ECONNREFUSED on win32 commit f1165c9c80d3f6817445fdd5f6c9f222ad6250d7 Author: Aman Gupta <aman@tmm1.net> Date: Tue Sep 22 00:00:44 2009 -0700 Increase 64 socket limit on windows commit e1625edd20c053bc9a8d927a82ccdf5785ded40f Author: Aman Gupta <aman@tmm1.net> Date: Mon Sep 21 22:54:06 2009 -0700 #undef stat for ruby 1.9 + win32 commit b4765960db9136197767ca028039650d75f9307d Author: Jake Douglas <jakecdouglas@gmail.com> Date: Tue Sep 1 15:05:21 2009 -0700 assign st_size to off_t, not int commit 6172c218024e0b0a1b8b5b920bd548d8dc045cd9 Author: steve <steve@steve-laptop.(none)> Date: Wed Aug 26 02:06:03 2009 +0700 need to pass buffer len to getsockopt commit 60f9cb28490af0073b862f8e6d0d9f0d93382843 Author: Jake Douglas <jakecdouglas@gmail.com> Date: Tue Sep 1 00:47:59 2009 -0700 Fix test_pause commit 20380f6a5cc6b6cb74439846ee874b94104e473e Author: Jake Douglas <jakecdouglas@gmail.com> Date: Tue Sep 1 00:34:06 2009 -0700 Change uint to unsigned int commit e235e840a7083f25c246b05b342d65c9f57191e8 Author: Jake Douglas <jakecdouglas@gmail.com> Date: Tue Sep 1 00:28:11 2009 -0700 Fix a bunch of compiler warnings on snow leopard. commit 9cdad251e9b5b3bb3facbe153b1968e2ff68355f Author: Aman Gupta <aman@tmm1.net> Date: Mon Aug 31 20:01:33 2009 -0700 Fix CancelledKeyException on failed connects. isConnectable can fail, which makes the Channel and SelectionKey invalid, so we have to make sure not to call any methods on the SelectionKey until the next tick. commit d4760e248d17bfc5b52636c091fc2b2cad461baf Author: raggi <jftucker@gmail.com> Date: Thu Aug 27 11:29:17 2009 +0100 Allow EM.next_tick at startup, by initializing the mutex in the class definition commit 226ce213ce875059643147b4ef90e015201f80e9 Author: Aman Gupta <aman@tmm1.net> Date: Thu Aug 20 19:23:22 2009 -0700 Tweak timers test to handle new 10k limit commit 4a3d507ba3bd4deeff2bc6f541112d5951fbd7b5 Author: Aman Gupta <aman@tmm1.net> Date: Thu Aug 20 19:17:53 2009 -0700 Make EM.next_tick threadsafe commit 6726626f80117c7ff740d819418e44f402a64c20 Author: Aman Gupta <aman@tmm1.net> Date: Tue Aug 18 14:57:34 2009 -0700 Increase default timer limit to 10k commit 56513c3f2152566984d1be71e95d8384dd9ab0cf Author: Bernd Ahlers <bernd@tuneafish.de> Date: Mon Aug 10 20:42:51 2009 +0200 On OpenBSD build shared objects with -fPIC. Patch by jcs@openbsd. Signed-off-by: Aman Gupta <aman@tmm1.net> commit c1db6084158ffbfccec30b91852ae6d8c14c7e36 Merge: df56a45... ef9396f... Author: raggi <jftucker@gmail.com> Date: Wed Aug 12 00:14:11 2009 +0100 Merge branch 'master' of git@github.com:eventmachine/eventmachine * 'master' of git@github.com:eventmachine/eventmachine: (30 commits) Friendlier "no timer" error message Simplify t_get_sock_opt, fix whitespace and use SO_ERROR in test to make it pass on OSX Prevent explosions in test_get_sock_opt test for pause/resume getsockopt() support, EM::Connection#get_sock_opt Use hack to fix fd leak when attaching external filenos Fix infinite loop in kqueue reactor with watched/attached descriptors Handle non String @threadpool_size Oops, actually fix java:gem rake task Call unbind and cleanup attached channels on shutdown Fix java:gem rake task Carefully detach and clean up attached channels Register channel with selector from run() via NewDescriptors list Add currentEvents() to return current selection interests Set attached flag on all attached channels Split up run() into helper functions Select for READ|WRITE only once connected Make #close_connection work again Accept 10 connections at a time to prevent starving the reactor Use ArrayList instead of LinkedList, and HashMap instead of TreeMap ... commit df56a45a0e96781c04062d40a5901d11807c9a7b Author: raggi <jftucker@gmail.com> Date: Wed Aug 12 00:13:42 2009 +0100 Support serializer overloads in ObjectProtocol commit ef9396ff1817b795c6ccb3da8a94926a867e2d3e Author: Aman Gupta <aman@tmm1.net> Date: Mon Aug 10 21:08:31 2009 -0700 Friendlier "no timer" error message commit 2c6730c6b3f90f4343c9f53d3d260356391f0981 Author: Aman Gupta <aman@tmm1.net> Date: Mon Aug 10 21:03:18 2009 -0700 Simplify t_get_sock_opt, fix whitespace and use SO_ERROR in test to make it pass on OSX commit c4b4ed132fa7573b85a0a7daf0733def4905842a Author: Aman Gupta <aman@tmm1.net> Date: Mon Aug 10 19:32:22 2009 -0700 Prevent explosions in test_get_sock_opt commit bbcdaada9aef6f31b0f7f1d68672163f5313ed29 Author: steve <coderrr.contact@gmail.com> Date: Tue Aug 11 09:16:01 2009 +0700 test for pause/resume Signed-off-by: Aman Gupta <aman@tmm1.net> commit 6a2aa74bae2b8ccd75dc71b22a061da35352bd44 Author: steve <coderrr.contact@gmail.com> Date: Tue Aug 4 01:31:10 2009 +0700 getsockopt() support, EM::Connection#get_sock_opt Signed-off-by: Aman Gupta <aman@tmm1.net> commit 1dfd4842f5cd901387102cd03cc2f40e09895593 Author: Aman Gupta <aman@tmm1.net> Date: Sat Aug 8 02:09:52 2009 -0700 Use hack to fix fd leak when attaching external filenos commit 9e21f3f296f6716c6ad6370df3412584bf1a2f26 Author: Aman Gupta <aman@tmm1.net> Date: Fri Aug 7 19:05:26 2009 -0700 Fix infinite loop in kqueue reactor with watched/attached descriptors commit d492464bb8d299cf4b581c9ee8f69e34348bbe5b Author: Aman Gupta <aman@tmm1.net> Date: Fri Aug 7 13:52:05 2009 -0700 Handle non String @threadpool_size commit 453977b3809ebcdd585978bcbe4da70793c85fe6 Author: Aman Gupta <aman@tmm1.net> Date: Fri Aug 7 13:09:41 2009 -0700 Oops, actually fix java:gem rake task commit 12d1eae2862a961fd48a27797c4c7ec778897a13 Author: Aman Gupta <aman@tmm1.net> Date: Fri Aug 7 01:45:48 2009 -0700 Call unbind and cleanup attached channels on shutdown commit 4731d6ff9656315e958d54628c94da3365eac5dc Author: Aman Gupta <aman@tmm1.net> Date: Fri Aug 7 01:33:57 2009 -0700 Fix java:gem rake task commit e8df7f285eed127fe4a633c2bc4ced86065a105a Author: Aman Gupta <aman@tmm1.net> Date: Thu Aug 6 19:37:34 2009 -0700 Carefully detach and clean up attached channels commit 9059fe6c67fc73fa14a8fbe904d3ea022679e95c Author: Aman Gupta <aman@tmm1.net> Date: Thu Aug 6 19:34:31 2009 -0700 Register channel with selector from run() via NewDescriptors list commit 6fa285fadffe75a2804a79c14f17f35a0be71948 Author: Aman Gupta <aman@tmm1.net> Date: Thu Aug 6 19:28:36 2009 -0700 Add currentEvents() to return current selection interests commit 8b311e4136c527c7c6ab47f7c4535f54109fd9a6 Author: Aman Gupta <aman@tmm1.net> Date: Thu Aug 6 19:26:01 2009 -0700 Set attached flag on all attached channels commit 3ef059228f366b289a3b3cd137b9986d9f431401 Author: Aman Gupta <aman@tmm1.net> Date: Thu Aug 6 19:12:06 2009 -0700 Split up run() into helper functions commit 58e514ba0131f623c5fe1a463292e0abe893c0eb Author: Aman Gupta <aman@tmm1.net> Date: Thu Aug 6 19:01:22 2009 -0700 Select for READ|WRITE only once connected commit 810d6f2ef2cc8ab4e22dc64a96982eb3e9149272 Author: Aman Gupta <aman@tmm1.net> Date: Thu Aug 6 18:57:21 2009 -0700 Make #close_connection work again commit 35f06e01fe64cc9d1f32953119a354f60b95de45 Author: Aman Gupta <aman@tmm1.net> Date: Thu Aug 6 18:55:40 2009 -0700 Accept 10 connections at a time to prevent starving the reactor commit 022cc7a112bf386cfeb0e8924fd7f0ae8495accc Author: Aman Gupta <aman@tmm1.net> Date: Thu Aug 6 18:44:54 2009 -0700 Use ArrayList instead of LinkedList, and HashMap instead of TreeMap commit 1754d41cc770ecb3dd12c5659464e3cca0452080 Author: Aman Gupta <aman@tmm1.net> Date: Thu Aug 6 00:42:28 2009 -0700 Add java reactor hooks for kqueue/epoll functions commit a8ce207768582202f9e9c500c777ac2797120a4f Author: Hemant Kumar <gethemant@gmail.com> Date: Thu Aug 6 17:13:56 2009 +0530 update rakefile for better path Signed-off-by: Aman Gupta <aman@tmm1.net> commit 6290ce0a7a675ed32e98e5fdad7fc2efec2d4339 Author: Aman Gupta <aman@tmm1.net> Date: Wed Aug 5 02:44:50 2009 -0700 Prevent negative timeouts to Selector commit 2a9029f5bc0e0a8afe414e7d301ec561be2217b9 Author: Aman Gupta <aman@tmm1.net> Date: Tue Aug 4 22:49:30 2009 -0700 EM::reconnect and EM::Connection#reconnect are not experimental any more commit 979b9214702dc1cea72aece6873246a845b53f44 Author: Jake Douglas <jakecdouglas@gmail.com> Date: Tue Aug 4 22:04:06 2009 -0700 Add EM.connection_count to java reactor and make test_connection_count less retarded commit e66d1002e8f4463cc023399baffd2c53fccb5b65 Author: Jake Douglas <jakecdouglas@gmail.com> Date: Tue Aug 4 21:44:54 2009 -0700 use java_import instead of import so rake doesn't mess us up commit f619f6f5ab8e67e1e57bb2ed3af374b742833127 Author: Aman Gupta <aman@tmm1.net> Date: Tue Aug 4 15:51:51 2009 -0700 Wait in Selector#select() until next timer needs to fire commit 0557dd4720bfe04f42a3fa5a08fedfecf8b76eb1 Author: Aman Gupta <aman@tmm1.net> Date: Tue Aug 4 15:17:14 2009 -0700 Clean up exception handling in java reactor commit 55eb231beb4e6a1e79987a95a84a0a2912fe902b Author: Aman Gupta <aman@tmm1.net> Date: Tue Aug 4 15:16:16 2009 -0700 Implement get/set_max_timer_count stubs for jem commit a6470e10bf1858cd9c39260b9dd3a569e3691f0b Merge: d82db31... 8d0ed3f... Author: Aman Gupta <aman@tmm1.net> Date: Tue Aug 4 14:55:30 2009 -0700 Merge branch 'master' of git@github.com:eventmachine/eventmachine * 'master' of git@github.com:eventmachine/eventmachine: Expose reactor_thread commit 8d0ed3f8903c7eafaba3e5447d45b34cefd98741 Author: raggi <jftucker@gmail.com> Date: Tue Aug 4 22:52:45 2009 +0100 Expose reactor_thread commit d82db31c30de32c640c11c6103705cb773724f06 Author: Aman Gupta <aman@tmm1.net> Date: Tue Aug 4 13:44:11 2009 -0700 Fix some tests for jruby commit f5d3f070586fcfeedcb9ac99d8b9ba5899d12947 Author: Aman Gupta <aman@tmm1.net> Date: Tue Aug 4 01:03:23 2009 -0700 Pass in initial events to EventableSocketChannel constructor and update events when state changes commit b080730bd99e560d7e48d2d2ea8cae4705f4d600 Author: Aman Gupta <aman@tmm1.net> Date: Tue Aug 4 00:45:04 2009 -0700 Misc cleanups commit 48629eb7321efef194ffa33dc31f42c8f49cb725 Author: Aman Gupta <aman@tmm1.net> Date: Tue Aug 4 00:15:38 2009 -0700 Split out IO handler methods commit 662d8af3fdf79f5a6c2fa4177e9b684c64631489 Author: Aman Gupta <aman@tmm1.net> Date: Tue Aug 4 00:08:37 2009 -0700 Add simple EM.attach/watch support to the java reactor commit 3ea1ac83dd7df27e6f3eb2331cb67a5e4eeea0d5 Author: Aman Gupta <aman@tmm1.net> Date: Tue Aug 4 00:03:28 2009 -0700 Convert spaces to tabs in EmReactor.java commit dcf73102dfeb1d8fd8045040be1af5247aae606e Author: Aman Gupta <aman@tmm1.net> Date: Mon Aug 3 23:20:01 2009 -0700 Don't close socket in AttachFD commit b84d8a47a08030ded97bb0d445c5a938bcf2a102 Author: Aman Gupta <aman@tmm1.net> Date: Mon Aug 3 22:22:47 2009 -0700 Whitespace cleanup and old code removal in java reactor commit 25a864e9849397767417c8580dcf3ba4ae91887c Author: Jake Douglas <jakecdouglas@gmail.com> Date: Mon Aug 3 22:19:03 2009 -0700 clean up whitespace commit ab2a11432fb33b6dde9665ed12fdc47b21e97fa1 Author: Jake Douglas <jakecdouglas@gmail.com> Date: Mon Aug 3 22:18:16 2009 -0700 add a 'real' test for comm_inactivity_timeout commit beab961a5f7b4e546112a51c479c133d310c8bac Author: Jake Douglas <jakecdouglas@gmail.com> Date: Mon Aug 3 22:09:05 2009 -0700 Add getter/setter for PendingConnectTimeout and fix HeartbeatInterval default commit 2425c119e7c8b815aa2c792765dc666fe1e6c0b2 Author: gnufied <gethemant@gmail.com> Date: Mon May 4 02:27:50 2009 +0530 there is no need to derive from java class in ruby Connection class Signed-off-by: Aman Gupta <aman@tmm1.net> commit 186456803e2c0578c5af10118c03f3278c14e15e Author: gnufied <gethemant@gmail.com> Date: Mon May 4 02:23:25 2009 +0530 ignore eclipse project files Signed-off-by: Aman Gupta <aman@tmm1.net> commit 114ba434a2d3bda29a6f37808c31f037da9a44f7 Author: Aman Gupta <aman@tmm1.net> Date: Mon Aug 3 21:45:19 2009 -0700 Remove string bindings in the java reactor commit c66075e88af5afb8dafb9ea8b175e3a3f3165f87 Author: Aman Gupta <aman@tmm1.net> Date: Mon Aug 3 03:02:51 2009 -0700 Improve DumpHttpClient example commit 207a990e341e1c8ef5cd9b990b0c7821045f5bef Author: Aman Gupta <aman@tmm1.net> Date: Sat Aug 1 02:51:24 2009 -0700 Improve performance of EM::Queue#push commit 958219cf7a413a6a7296df14f0ce72137bd8a8aa Author: Aman Gupta <aman@tmm1.net> Date: Tue Jul 28 20:32:22 2009 -0700 Read in any data on (EPOLLHUP|EPOLLIN) events before closing the socket commit c2991c88839933389cd9b04685a2c90a5bd61b4d Author: Aman Gupta <aman@tmm1.net> Date: Thu Jul 23 22:08:47 2009 -0700 Add EM::Connection#pause/resume/paused? commit 50938b846d47ef24387dc41706fc16b507338b37 Author: Aman Gupta <aman@tmm1.net> Date: Thu Jul 23 22:07:54 2009 -0700 Fix EM::watch issues on kqueue and epoll commit 98dc54e5e805c509c37242a71bf2aaad816be696 Author: Aman Gupta <aman@tmm1.net> Date: Mon Jul 20 15:42:20 2009 -0700 better documentation for EM::P::SmtpClient commit d1362b3db3d6b714fe755a237abf5ed3cb3059dd Author: Aman Gupta <aman@tmm1.net> Date: Tue Jul 14 22:18:20 2009 -0700 Add EM.kqueue=true to the EM.watch_file example commit 1137faea78cead9861191a5f7ba52ce943abbfbe Author: Aman Gupta <aman@tmm1.net> Date: Tue Jul 14 21:36:13 2009 -0700 Don't subclass EM::Connection unless necessary commit 913b3f6ae654c1aa7774a0693674fa27ea622974 Author: Aman Gupta <aman@tmm1.net> Date: Tue Jul 14 21:32:31 2009 -0700 Raise more useful messages on kevent() errors commit a9077a01316e1260e97450b3be4f5f1c988580b0 Author: Aman Gupta <aman@tmm1.net> Date: Mon Jul 13 18:56:11 2009 -0700 Avoid assigning bindings that are still in-use commit 9d9d5e99ae13b7ea18cc7a8cbeaf58552e465928 Merge: 195ec22... 0a597f0... Author: Aman Gupta <aman@tmm1.net> Date: Mon Jul 13 03:01:15 2009 -0700 Merge branch 'master' into no_string_bindings * master: Fix some compile warnings Fix UDP support for kqueue commit 0a597f0a509a32b2314d0d0ef84852df2936f8f2 Author: Aman Gupta <aman@tmm1.net> Date: Mon Jul 13 03:00:16 2009 -0700 Fix some compile warnings commit 67ad352cb8925036cbd3fe74ca7cba18c4961a69 Author: Aman Gupta <aman@tmm1.net> Date: Mon Jul 13 02:59:38 2009 -0700 Fix UDP support for kqueue commit 195ec22eff12ec3a6273814af3de173f9ea7c0ab Merge: b23eb43... d6599d8... Author: Aman Gupta <aman@tmm1.net> Date: Sun Jul 12 20:21:55 2009 -0700 Merge branch 'master' into no_string_bindings * master: Run EM.run tail blocks before releasing the reactor commit d6599d8ed28989fe52027974536260fd6ff09b3b Author: Aman Gupta <aman@tmm1.net> Date: Sun Jul 12 20:21:44 2009 -0700 Run EM.run tail blocks before releasing the reactor commit b23eb43459c9e9bb204aed22255101b6c2bcf711 Merge: b6fc287... 5efae6d... Author: Aman Gupta <aman@tmm1.net> Date: Sat Jul 11 21:58:25 2009 -0700 Merge branch 'master' into no_string_bindings * master: Do not raise on EM.epoll/kqueue to maintain backwards compat; Only EM.epoll=/kqueue= will raise EM::Unsupported commit 5efae6d602de6f5c3d5f2e0c9e99b97650e30145 Author: Aman Gupta <aman@tmm1.net> Date: Tue Jul 7 21:15:04 2009 -0700 Do not raise on EM.epoll/kqueue to maintain backwards compat; Only EM.epoll=/kqueue= will raise EM::Unsupported commit b6fc287ac8c5d747ca15001da31c62be545e5cb3 Merge: 873ca8e... c170759... Author: Aman Gupta <aman@tmm1.net> Date: Sun Jul 5 22:52:49 2009 -0700 Merge branch 'master' into no_string_bindings * master: Split out EM.attach into EM.watch, add EM::Connection#notify_readable= and EM::Connection#notify_readable? Allow EM.bind_connect(1.1.1.1, nil, ...) to bind with given address and any port Fix docs for EM::connect and EM::bind_connect Conflicts: ext/cmain.cpp ext/em.cpp ext/em.h ext/eventmachine.h ext/rubymain.cpp commit c170759ee6a0d150fb15b961b57bd796b215af53 Author: Aman Gupta <aman@tmm1.net> Date: Sun Jul 5 22:37:35 2009 -0700 Split out EM.attach into EM.watch, add EM::Connection#notify_readable= and EM::Connection#notify_readable? commit ce95b0d828bfe405cc2fa6009fe24094dee6edbf Author: Aman Gupta <aman@tmm1.net> Date: Sun Jul 5 20:50:55 2009 -0700 Allow EM.bind_connect(1.1.1.1, nil, ...) to bind with given address and any port commit 11c970ca92fc3a8603dd72bb44046c5a57b53e14 Author: Aman Gupta <aman@tmm1.net> Date: Sun Jul 5 20:29:51 2009 -0700 Fix docs for EM::connect and EM::bind_connect commit 873ca8e10d94209cd3a2b46d084e97569a6e2ba3 Author: Aman Gupta <aman@tmm1.net> Date: Sat Jul 4 01:10:37 2009 -0700 Remove char* bindings in favor of unsigned long identifiers for connections and timers commit 9d473bef6fe17fbb19e86d3341a387ecbd3e7e0d Author: Aman Gupta <aman@tmm1.net> Date: Wed Jun 24 16:06:59 2009 -0700 Add rake osx:gem task to build binary darwin gems commit 6911d3b02c5b8d7a661261b35286424675b050ca Author: Jake Douglas <jakecdouglas@gmail.com> Date: Sun Jun 21 21:18:31 2009 -0700 Fixed EM.current_time to be faster than Time.now commit e627ab1c9836d2c8e53a164fd597a1731ec0af18 Author: Aman Gupta <aman@tmm1.net> Date: Mon Jun 15 23:44:12 2009 -0700 Raise EM::Unsupported on EM.epoll/kqueue= on unsupported platforms commit d12f6e5a773af791210a907ea4d37affb24e5e68 Author: Aman Gupta <aman@tmm1.net> Date: Mon Jun 15 21:12:45 2009 -0700 Add support for get_peername to jruby reactor commit 17ed6689048ecc7036f9ea390b577bbb542b9558 Author: Chris Turner <cturner@talladega.(none)> Date: Sun Jun 14 21:07:17 2009 -0400 Fixed key collision bug in installOneshotTimer. A LinkedList is now used to store the callbacks in the Timers TreeMap. Refer to issue on github (http://github.com/eventmachine/eventmachine/issues/#issue/20). Signed-off-by: Aman Gupta <aman@tmm1.net> commit 9e0c3817c30b338de5d39785ea464691a2009961 Author: sspatulasnout <billk@cts.com> Date: Sun Jun 14 01:58:41 2009 -0700 BUG FIX (WINDOWS): If BUILD_FOR_RUBY, SetSocketNonblocking now uses fcntl instead of ioctlsocket. Prior to ruby19, these are equivalent, but as of ruby19, fcntl keeps behind-the-scenes state about the nonblocking mode of the socket. Signed-off-by: Aman Gupta <aman@tmm1.net> commit 9ea440a87bdd9f4bc8911e4fe92c158bc4a39c8c Author: Aman Gupta <aman@tmm1.net> Date: Fri Jun 12 14:14:17 2009 -0700 Fix Ctrl+C and other signal handling when using kqueue/epoll commit efe6bd4082ea588cc115f1d919c1f30a6bf9ea7a Author: raggi <jftucker@gmail.com> Date: Fri Jun 5 17:01:20 2009 +0100 Support 1.9 in threadpool killing commit 44ac7771046a8168af76b1c28d8ba4710d0ea014 Author: steve <coderrr.contact@gmail.com> Date: Fri May 29 05:24:38 2009 +0700 add_periodic_timer returns PeriodicTimer object; cancel_timer handles string or cancellable object commit 9c6516750a70a9a230d09a57900696f0bcb92104 Author: Jake Douglas <jakecdouglas@gmail.com> Date: Sun May 24 13:08:25 2009 -0700 Changed bind_port argument in bind_connect_server to use #to_i, in jeventmachine.rb commit 988a3e6eb0a53e28ae6718c47c2aecf405198d0e Author: Aman Gupta <aman@tmm1.net> Date: Sat May 23 11:37:11 2009 -0700 Minor extconf cleanups commit de5ddc740ca47de122de0ed62a85a817a0197ed7 Author: Perry Smith (IBM) <pedzan@NewToy.local> Date: Thu May 21 15:01:51 2009 -0500 Changes needed for AIX Signed-off-by: Aman Gupta <aman@tmm1.net> commit 91da07cddce1809bea23b6e6ec3b8e9316fef110 Author: Aman Gupta <aman@tmm1.net> Date: Sat May 23 11:22:32 2009 -0700 Simpler epoll check for linux 2.4 commit f92086f882ca4511190b5ac9873a80243bee6572 Author: Jake Douglas <jakecdouglas@gmail.com> Date: Fri May 22 19:01:50 2009 -0700 Fixed EM.current_time to correctly handle the new Int64 gCurrentLoopTime commit fca00b235e49430d1042e0beb61306af5b98158b Author: Aman Gupta <aman@tmm1.net> Date: Fri May 22 17:18:58 2009 -0700 Bump version to 0.12.9