eventmachine 0.12.10-x86-mswin32-60 → 1.0.0.beta.2-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. data/.gitignore +2 -0
  2. data/Gemfile +1 -0
  3. data/README +80 -81
  4. data/Rakefile +7 -370
  5. data/docs/COPYING +60 -60
  6. data/docs/ChangeLog +211 -211
  7. data/docs/DEFERRABLES +246 -133
  8. data/docs/EPOLL +141 -141
  9. data/docs/GNU +281 -281
  10. data/docs/INSTALL +13 -13
  11. data/docs/KEYBOARD +42 -38
  12. data/docs/LEGAL +25 -25
  13. data/docs/LIGHTWEIGHT_CONCURRENCY +130 -70
  14. data/docs/PURE_RUBY +75 -75
  15. data/docs/RELEASE_NOTES +94 -94
  16. data/docs/SMTP +4 -2
  17. data/docs/SPAWNED_PROCESSES +148 -89
  18. data/docs/TODO +8 -8
  19. data/eventmachine.gemspec +19 -26
  20. data/examples/ex_channel.rb +42 -42
  21. data/examples/ex_queue.rb +2 -2
  22. data/examples/ex_tick_loop_array.rb +15 -0
  23. data/examples/ex_tick_loop_counter.rb +32 -0
  24. data/examples/helper.rb +1 -1
  25. data/ext/binder.cpp +0 -1
  26. data/ext/cmain.cpp +36 -25
  27. data/ext/ed.cpp +104 -113
  28. data/ext/ed.h +24 -30
  29. data/ext/em.cpp +349 -283
  30. data/ext/em.h +25 -29
  31. data/ext/eventmachine.h +5 -4
  32. data/ext/extconf.rb +58 -49
  33. data/ext/fastfilereader/extconf.rb +5 -3
  34. data/ext/fastfilereader/mapper.cpp +214 -214
  35. data/ext/fastfilereader/mapper.h +59 -59
  36. data/ext/fastfilereader/rubymain.cpp +127 -127
  37. data/ext/kb.cpp +1 -3
  38. data/ext/page.cpp +107 -107
  39. data/ext/page.h +51 -51
  40. data/ext/pipe.cpp +9 -11
  41. data/ext/project.h +12 -8
  42. data/ext/rubymain.cpp +138 -104
  43. data/java/.classpath +8 -8
  44. data/java/.project +17 -17
  45. data/java/src/com/rubyeventmachine/EmReactor.java +1 -0
  46. data/java/src/com/rubyeventmachine/EmReactorException.java +40 -40
  47. data/lib/em/buftok.rb +138 -138
  48. data/lib/em/callback.rb +25 -25
  49. data/lib/em/channel.rb +1 -1
  50. data/lib/em/connection.rb +6 -1
  51. data/lib/em/deferrable.rb +16 -2
  52. data/lib/em/file_watch.rb +53 -53
  53. data/lib/em/future.rb +61 -61
  54. data/lib/em/iterator.rb +270 -0
  55. data/lib/em/messages.rb +66 -66
  56. data/lib/em/process_watch.rb +43 -43
  57. data/lib/em/protocols.rb +1 -1
  58. data/lib/em/protocols/header_and_content.rb +138 -138
  59. data/lib/em/protocols/httpclient.rb +267 -262
  60. data/lib/em/protocols/line_protocol.rb +28 -0
  61. data/lib/em/protocols/memcache.rb +322 -322
  62. data/lib/em/protocols/postgres3.rb +247 -247
  63. data/lib/em/protocols/saslauth.rb +175 -175
  64. data/lib/em/protocols/smtpserver.rb +640 -547
  65. data/lib/em/protocols/stomp.rb +200 -200
  66. data/lib/em/protocols/tcptest.rb +52 -52
  67. data/lib/{pr_eventmachine.rb → em/pure_ruby.rb} +1013 -1022
  68. data/lib/em/queue.rb +1 -0
  69. data/lib/em/spawnable.rb +85 -85
  70. data/lib/em/streamer.rb +130 -130
  71. data/lib/em/tick_loop.rb +85 -0
  72. data/lib/em/timers.rb +2 -1
  73. data/lib/em/version.rb +1 -1
  74. data/lib/eventmachine.rb +40 -84
  75. data/lib/jeventmachine.rb +2 -1
  76. data/lib/rubyeventmachine.rb +2 -0
  77. data/setup.rb +1585 -1585
  78. data/tasks/doc.rake +30 -0
  79. data/tasks/package.rake +85 -0
  80. data/tasks/test.rake +6 -0
  81. data/tests/client.crt +31 -31
  82. data/tests/client.key +51 -51
  83. data/tests/test_attach.rb +13 -3
  84. data/tests/test_basic.rb +60 -95
  85. data/tests/test_channel.rb +3 -2
  86. data/tests/test_defer.rb +49 -47
  87. data/tests/test_deferrable.rb +35 -0
  88. data/tests/test_error_handler.rb +35 -35
  89. data/tests/test_errors.rb +82 -82
  90. data/tests/test_exc.rb +55 -55
  91. data/tests/test_file_watch.rb +49 -49
  92. data/tests/test_futures.rb +198 -198
  93. data/tests/test_handler_check.rb +36 -36
  94. data/tests/test_hc.rb +190 -218
  95. data/tests/test_httpclient.rb +227 -218
  96. data/tests/test_httpclient2.rb +3 -2
  97. data/tests/test_inactivity_timeout.rb +3 -3
  98. data/tests/test_kb.rb +60 -60
  99. data/tests/test_ltp.rb +13 -5
  100. data/tests/test_ltp2.rb +317 -317
  101. data/tests/test_next_tick.rb +1 -1
  102. data/tests/test_object_protocol.rb +36 -36
  103. data/tests/test_pending_connect_timeout.rb +2 -2
  104. data/tests/test_process_watch.rb +50 -48
  105. data/tests/test_proxy_connection.rb +52 -0
  106. data/tests/test_pure.rb +134 -125
  107. data/tests/test_queue.rb +44 -44
  108. data/tests/test_running.rb +42 -42
  109. data/tests/test_sasl.rb +72 -72
  110. data/tests/test_send_file.rb +251 -242
  111. data/tests/test_servers.rb +76 -76
  112. data/tests/test_smtpclient.rb +83 -83
  113. data/tests/test_smtpserver.rb +85 -85
  114. data/tests/test_spawn.rb +322 -322
  115. data/tests/test_ssl_methods.rb +49 -49
  116. data/tests/test_ssl_verify.rb +82 -82
  117. data/tests/test_tick_loop.rb +59 -0
  118. data/tests/test_timers.rb +13 -15
  119. data/tests/test_ud.rb +36 -36
  120. data/tests/testem.rb +31 -31
  121. metadata +66 -51
  122. data/ext/cplusplus.cpp +0 -202
  123. data/ext/emwin.cpp +0 -300
  124. data/ext/emwin.h +0 -94
  125. data/ext/epoll.cpp +0 -26
  126. data/ext/epoll.h +0 -25
  127. data/ext/eventmachine_cpp.h +0 -96
  128. data/ext/files.cpp +0 -94
  129. data/ext/files.h +0 -65
  130. data/ext/sigs.cpp +0 -89
  131. data/ext/sigs.h +0 -32
  132. data/java/src/com/rubyeventmachine/application/Application.java +0 -194
  133. data/java/src/com/rubyeventmachine/application/Connection.java +0 -74
  134. data/java/src/com/rubyeventmachine/application/ConnectionFactory.java +0 -37
  135. data/java/src/com/rubyeventmachine/application/DefaultConnectionFactory.java +0 -46
  136. data/java/src/com/rubyeventmachine/application/PeriodicTimer.java +0 -38
  137. data/java/src/com/rubyeventmachine/application/Timer.java +0 -54
  138. data/java/src/com/rubyeventmachine/tests/ApplicationTest.java +0 -109
  139. data/java/src/com/rubyeventmachine/tests/ConnectTest.java +0 -148
  140. data/java/src/com/rubyeventmachine/tests/EMTest.java +0 -80
  141. data/java/src/com/rubyeventmachine/tests/TestDatagrams.java +0 -53
  142. data/java/src/com/rubyeventmachine/tests/TestServers.java +0 -75
  143. data/java/src/com/rubyeventmachine/tests/TestTimers.java +0 -90
  144. data/lib/evma.rb +0 -32
  145. data/lib/evma/callback.rb +0 -32
  146. data/lib/evma/container.rb +0 -75
  147. data/lib/evma/factory.rb +0 -77
  148. data/lib/evma/protocol.rb +0 -87
  149. data/lib/evma/reactor.rb +0 -48
  150. data/web/whatis +0 -7
@@ -1,60 +1,60 @@
1
- EventMachine is copyrighted free software owned by Francis Cianfrocca
2
- (blackhedd ... gmail.com). The Owner of this software permits you to
3
- redistribute and/or modify the software under either the terms of the GPL
4
- version 2 (see the file GPL), or the conditions below ("Ruby License"):
5
-
6
- 1. You may make and give away verbatim copies of the source form of this
7
- software without restriction, provided that you retain ALL of the
8
- original copyright notices and associated disclaimers.
9
-
10
- 2. You may modify your copy of the software in any way, provided that
11
- you do at least ONE of the following:
12
-
13
- a) place your modifications in the Public Domain or otherwise
14
- make them Freely Available, such as by posting said
15
- modifications to Usenet or an equivalent medium, or by allowing
16
- the author to include your modifications in the software.
17
-
18
- b) use the modified software only within your corporation or
19
- organization.
20
-
21
- c) give non-standard binaries non-standard names, with
22
- instructions on where to get the original software distribution.
23
-
24
- d) make other distribution arrangements with the Owner.
25
-
26
- 3. You may distribute the software in object code or binary form,
27
- provided that you do at least ONE of the following:
28
-
29
- a) distribute the binaries and library files of the software,
30
- together with instructions (in a manual page or equivalent)
31
- on where to get the original distribution.
32
-
33
- b) accompany the distribution with the machine-readable source of
34
- the software.
35
-
36
- c) give non-standard binaries non-standard names, with
37
- instructions on where to get the original software distribution.
38
-
39
- d) make other distribution arrangements with the Owner.
40
-
41
- 4. You may modify and include parts of the software into any other
42
- software (possibly commercial), provided you comply with the terms in
43
- Sections 1, 2, and 3 above. But some files in the distribution
44
- are not written by the Owner, so they may be made available to you
45
- under different terms.
46
-
47
- For the list of those files and their copying conditions, see the
48
- file LEGAL.
49
-
50
- 5. The scripts and library files supplied as input to or produced as
51
- output from the software do not automatically fall under the
52
- copyright of the software, but belong to whoever generated them,
53
- and may be sold commercially, and may be aggregated with this
54
- software.
55
-
56
- 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
57
- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
58
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
59
- PURPOSE.
60
-
1
+ EventMachine is copyrighted free software owned by Francis Cianfrocca
2
+ (blackhedd ... gmail.com). The Owner of this software permits you to
3
+ redistribute and/or modify the software under either the terms of the GPL
4
+ version 2 (see the file GPL), or the conditions below ("Ruby License"):
5
+
6
+ 1. You may make and give away verbatim copies of the source form of this
7
+ software without restriction, provided that you retain ALL of the
8
+ original copyright notices and associated disclaimers.
9
+
10
+ 2. You may modify your copy of the software in any way, provided that
11
+ you do at least ONE of the following:
12
+
13
+ a) place your modifications in the Public Domain or otherwise
14
+ make them Freely Available, such as by posting said
15
+ modifications to Usenet or an equivalent medium, or by allowing
16
+ the author to include your modifications in the software.
17
+
18
+ b) use the modified software only within your corporation or
19
+ organization.
20
+
21
+ c) give non-standard binaries non-standard names, with
22
+ instructions on where to get the original software distribution.
23
+
24
+ d) make other distribution arrangements with the Owner.
25
+
26
+ 3. You may distribute the software in object code or binary form,
27
+ provided that you do at least ONE of the following:
28
+
29
+ a) distribute the binaries and library files of the software,
30
+ together with instructions (in a manual page or equivalent)
31
+ on where to get the original distribution.
32
+
33
+ b) accompany the distribution with the machine-readable source of
34
+ the software.
35
+
36
+ c) give non-standard binaries non-standard names, with
37
+ instructions on where to get the original software distribution.
38
+
39
+ d) make other distribution arrangements with the Owner.
40
+
41
+ 4. You may modify and include parts of the software into any other
42
+ software (possibly commercial), provided you comply with the terms in
43
+ Sections 1, 2, and 3 above. But some files in the distribution
44
+ are not written by the Owner, so they may be made available to you
45
+ under different terms.
46
+
47
+ For the list of those files and their copying conditions, see the
48
+ file LEGAL.
49
+
50
+ 5. The scripts and library files supplied as input to or produced as
51
+ output from the software do not automatically fall under the
52
+ copyright of the software, but belong to whoever generated them,
53
+ and may be sold commercially, and may be aggregated with this
54
+ software.
55
+
56
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
57
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
58
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
59
+ PURPOSE.
60
+
@@ -1,211 +1,211 @@
1
- 01Oct06: Replaced EventMachine#open_datagram_server with a version that can
2
- take a Class or a Module, instead of just a Module. Thanks to Tobias
3
- Gustafsson for pointing out the missing case.
4
- 04Oct06: Supported subsecond timer resolutions, per request by Jason Roelofs.
5
- 05Oct06: Added EventMachine#set_quantum, which sets the timer resolution.
6
- 15Nov06: Added Connection#set_comm_inactivity_timeout.
7
- 15Nov06: Checked in a Line-and-Text Protocol Handler.
8
- 18Nov06: Checked in a Header-and-Body Protocol Handler.
9
- 22Nov06: Changed EventMachine#reconnect: no longer excepts when called on an
10
- already-connected handler.
11
- 28Nov06: Supported a binary-unix gem.
12
- 19Dec06: Added EventMachine#set_effective_user.
13
- 05Jan07: Upped max outstanding timers to 1000.
14
- 15May07: Applied Solaris patches from Brett Eisenberg
15
- 22May07: Cleaned up the license text in all the source files.
16
- 22May07: Released version 0.7.2
17
-
18
- 23May07: Per suggestion from Bill Kelly, fixed a bug with the initialization
19
- of the network libraries under Windows. The goal is to enable EM to
20
- be used without Ruby.
21
- 28May07: Applied patch from Bill Kelly, refactors the declarations of
22
- event names to make EM easier to use from C programs without Ruby.
23
- 31May07: Added a preliminary implementation of EventMachine#popen.
24
- 01Jun07: Added EM, a "pseudo-alias" for EventMachine.
25
- 01Jun07: Added EM#next_tick.
26
- 01Jun07: Added EM::Connection#get_outbound_data_size
27
- 05Jun07: Removed the code which loads a pure-Ruby EM library in case the
28
- compiled extension is unavailable. Suggested by Moshe Litvin.
29
- 06Jun07: Preliminary epoll implementation.
30
- 12Jun07: Added an evented popen implementation that, like Ruby's, is
31
- full-duplex and makes the subprocess PID available to the caller.
32
- 06Jul07: Performance-tweaked the callback dispatcher in eventmachine.rb.
33
- 10Jul07: Released version 0.8.0.
34
- 12Jul07: Applied patches from Tim Pease to fix Solaris build problems.
35
- 15Jul07: Created a new provisional source branch, experiments/jruby-1.
36
- This is a preliminary implementation of the EM reactor in Java,
37
- suitable for use with JRuby.
38
- 17Jul07: Added EventMachine#stop_server, per request from Kirk Haines,
39
- and associated unit tests.
40
- 22Jul07: Added EventMachine#stream_file_data. This is a very fast and scalable
41
- way of sending data from static files over network connections. It
42
- has separate implementations for small files and large file, and
43
- has tunings to minimize memory consumption.
44
- 26Jul07: Added some patches by Kirk Haines to improve the behavior of
45
- EM::Connection#send_file_data_to_connection.
46
- 26Jul07: Added a C++ module for directly integrating EM into C++ programs
47
- with no Ruby dependencies. Needs example code.
48
- 29Jul07: Added EventMachine::Protocols::LineText2.
49
- 29Jul07: Added EventMachine::Protocols::Stomp.
50
- 30Jul07: Added sys/stat.h to project.h to fix compilation bug on Darwin.
51
- 13Aug07: Added EventMachine#reactor_running?
52
- 15Aug07: Added parameters for EventMachine::Connection:start_tls that can be
53
- used to specify client-side private keys and certificates.
54
- 17Aug07: Added EventMachine#run_block, a sugaring for a common use case.
55
- 24Aug07: Added a preliminary keyboard handler. Needs docs and testing on
56
- windows.
57
- 26Aug07: Created EventMachine::Spawnable, an implementation of Erlang-like
58
- processes.
59
- 27Aug07: Silenced some -w warnings, requested by James Edward Gray II.
60
- 30Aug07: Added cookies to EM::HttpClient#request.
61
- 04Sep07: Added an initial implementation of an evented SMTP client.
62
- 04Sep07: Added an initial implementation of an evented SMTP server.
63
- 10Sep07: Changed EM#spawn to run spawned blocks in the context of the
64
- SpawnedProcess object, not of whatever was the active object at the
65
- time of the spawn.
66
- 14Sep07: Heartbeats weren't working with EPOLL. Noticed by Brian Candler.
67
- 15Sep07: Added some features, tests and documents to Deferrable.
68
- 16Sep07: Added [:content] parameter to EM::Protocols::SmtpClient#send.
69
- 16Sep07: Bumped version to 0.9.0 in anticipation of a release.
70
- 18Sep07: Released version 0.9.0.
71
- 19Sep07: Added #receive_reset to EM::Protocols::SmtpServer.
72
- 19Sep07: User overrides of EM::Protocols::SmtpServer#receive_recipient can now
73
- return a Deferrable. Also fixed bug: SmtpClient now raises a protocol
74
- error if none of its RCPT TO: commands are accepted by the server.
75
- 26Sep07: Fixed missing keyboard support for Windows.
76
- 03Oct07: Added a default handler for RuntimeErrors emitted from user-written
77
- code. Suggested by Brian Candler.
78
- 19Oct07: Set the SO_BROADCAST option automatically on all UDP sockets.
79
- 10Nov07: Forced integer conversion of send_datagram's port parameter.
80
- Suggested by Matthieu Riou.
81
- 12Nov07: Added saslauth.rb, a protocol module to replace the Cyrus SASL
82
- daemons saslauthd and pwcheck.
83
- 15Nov07: Fixed bug reported by Mark Zvillius. We were failing to dispatch
84
- zero-length datagrams under certain conditions.
85
- 19Nov07: Added EventMachine#set_max_timers. Requested by Matthieu Riou and
86
- others.
87
- 19Nov07: Fixed bug with EM::Connection#start_tls. Was not working with server
88
- connections. Reported by Michael S. Fischer.
89
- 26Nov07: Supported a hack for EventMachine#popen so it can return an exit
90
- status from subprocesses. Requested by Michael S. Fischer.
91
- 30Nov07: Changed Pipe descriptors so that the child-side of the socketpair is
92
- NOT set nonblocking. Suggested by Duane Johnson.
93
- 05Dec07: Re-enabled the pure-Ruby implementation.
94
- 06Dec07: Released Version 0.10.0.
95
- 13Dec07: Added EM::DeferrableChildProcess
96
- 24Dec07: Added a SASL client for simple password authentication.
97
- 27Dec07: Removed the hookable error handler. No one was using it and it significantly
98
- degraded performance.
99
- 30Dec07: Implemented Kqueue support for OSX and BSD.
100
- 04Jan08: Fixed bug in epoll ("Bad file descriptor"), patch supplied by Chris
101
- Heath.
102
- 04Jan08: Fixed bug reported by Michael S. Fischer. We were terminating
103
- SSL connections that sent data before the handshake was complete.
104
- 08Jan08: Added an OpenBSD branch for extconf.rb, contributed by Guillaume
105
- Sellier.
106
- 19Jan08: Added EM::Connection::get_sockname per request by Michael Fischer.
107
- 19Jan08: Supported IPv6 addresses.
108
- 30Apr08: Set the NODELAY option on sockets that we connect to other servers.
109
- Omission noted by Roger Pack.
110
- 14May08: Generated a 0.12 release.
111
- 15May08: Supported EM#get_sockname for acceptors (TCP server sockets).
112
- Requested by Roger Pack.
113
- 15May08; Accepted a patch from Dan Aquino that allows the interval of a
114
- PeriodicTimer to be changed on the fly.
115
- 15Jun08: Supported nested calls to EM#run. Many people contributed ideas to
116
- this, notably raggi and tmm1.
117
- 20Jul08: Accepted patch from tmm1 for EM#fork_reactor.
118
- 28Jul08: Added a Postgres3 implementation, written by FCianfrocca.
119
- 14Aug08: Added a patch by Mike Murphy to support basic auth in the http
120
- client.
121
- 28Aug08: Added a patch by tmm1 to fix a longstanding problem with Java
122
- data-sends.
123
- 13Sep08: Added LineText2#set_binary_mode, a back-compatibility alias.
124
- 13Sep08: Modified the load order of protocol libraries in eventmachine.rb
125
- to permit a modification of HeaderAndContentProtocol.
126
- 13Sep08: Modified HeaderAndContent to use LineText2, which is less buggy
127
- than LineAndTextProtocol. This change may be reversed if we can fix
128
- the bugs in buftok.
129
- 13Sep08: Improved the password handling in the Postgres protocol handler.
130
- 15Sep08: Added attach/detach, contributed by Aman Gupta (tmm1) and Riham Aldakkak,
131
- to support working with file descriptors not created in the reactor.
132
- 16Sep08: Added an optional version string to the HTTP client. This is a hack
133
- that allows a client to specify a version 1.0 request, which
134
- keeps the server from sending a chunked response. The right way to
135
- solve this, of course, is to support chunked responses.
136
- 23Sep08: ChangeLog Summary for Merge of branches/raggi
137
- Most notable work and patches by Aman Gupta, Roger Pack, and James Tucker.
138
- Patches / Tickets also submitted by: Jeremy Evans, aanand, darix, mmmurf,
139
- danielaquino, macournoyer.
140
- - Moved docs into docs/ dir
141
- - Major refactor of rakefile, added generic rakefile helpers in tasks
142
- - Added example CPP build rakefile in tasks/cpp.rake
143
- - Moved rake tests out to tasks/tests.rake
144
- - Added svn ignores where appropriate
145
- - Fixed jruby build on older java platforms
146
- - Gem now builds from Rakefile rather than directly via extconf
147
- - Gem unified for jruby, C++ and pure ruby.
148
- - Correction for pure C++ build, removing ruby dependency
149
- - Fix for CYGWIN builds on ipv6
150
- - Major refactor for extconf.rb
151
- - Working mingw builds
152
- - extconf optionally uses pkg_config over manual configuration
153
- - extconf builds for 1.9 on any system that has 1.9
154
- - extconf no longer links pthread explicitly
155
- - looks for kqueue on all *nix systems
156
- - better error output on std::runtime_error, now says where it came from
157
- - Fixed some tests on jruby
158
- - Added test for general send_data flaw, required for a bugfix in jruby build
159
- - Added timeout to epoll tests
160
- - Added fixes for java reactor ruby api
161
- - Small addition of some docs in httpclient.rb and httpcli2.rb
162
- - Some refactor and fixes in smtpserver.rb
163
- - Added parenthesis where possible to avoid excess ruby warnings
164
- - Refactor of $eventmachine_library logic for accuracy and maintenance, jruby
165
- - EM::start_server now supports unix sockets
166
- - EM::connect now supports unix sockets
167
- - EM::defer @threadqueue now handled more gracefully
168
- - Added better messages on exceptions raised
169
- - Fix edge case in timer fires
170
- - Explicitly require buftok.rb
171
- - Add protocols to autoload, rather than require them all immediately
172
- - Fix a bug in pr_eventmachine for outbound_q
173
- - Refactors to take some of the use of defer out of tests.
174
- - Fixes in EM.defer under start/stop conditions. Reduced scope of threads.
175
- 23Sep08: Added patch from tmm1 to avoid popen errors on exit.
176
- 30Sep08: Added File.exists? checks in the args for start_tls, as suggested by
177
- Brian Lopez (brianmario).
178
- 10Nov08: ruby 1.9 compatibility enhancements
179
- 28Nov08: Allow for older ruby builds where RARRAY_LEN is not defined
180
- 03Dec08: allow passing arguments to popen handlers
181
- 13Jan09: SSL support for httpclient2 (David Smalley)
182
- 22Jan09: Fixed errors on OSX with the kqueue reactor, fixed errors in the pure
183
- ruby reactor. Added EM.current_time. Added EM.epoll? and EM.kqueue?
184
- 27Jan09: Reactor errors are now raised as ruby RuntimeErrors.
185
- 28Jan09: Documentation patch from alloy
186
- 29Jan09: (Late sign-off) Use a longer timeout for connect_server (Ilya
187
- Grigorik)
188
- 07Feb09: Fix signal handling issues with threads+epoll
189
- 07Feb09: Use rb_thread_schedule in the epoll reactor
190
- 07Feb09: Use TRAP_BEG/END and rb_thread_schedule in kqueue reactor
191
- 08Feb09: Added fastfilereader from swiftiply
192
- 08Feb09: 1.9 fix for rb_trap_immediate
193
- 08Feb09: Enable rb_thread_blocking_region for 1.9.0 and 1.9.1
194
- 10Feb09: Support win32 builds for fastfilereader
195
- 10Feb09: Added a new event to indicate completion of SSL handshake on TCP
196
- connections
197
- 10Feb09: Working get_peer_cert method. Returns the certificate as a Ruby
198
- String in PEM format. (Jake Douglas)
199
- 10Feb09: Added EM.get_max_timers
200
- 11Feb09: Fix compile options for sun compiler (Alasdairrr)
201
- 11Feb09: get_status returns a Process::Status object
202
- 12Feb09: Add EM::Protocols::Memcache with simple get/set functionality
203
- 19Feb09: Add catch-all EM.error_handler
204
- 20Feb09: Support miniunit (1.9)
205
- 20Feb09: Return success on content-length = 0 instead of start waiting forever
206
- (Ugo Riboni)
207
- 25Feb09: Allow next_tick to be used to pre-schedule reactor operations before
208
- EM.run
209
- 26Feb09: Added EM.get_connection_count
210
- 01Mar09: Switch back to extconf for compiling gem extensions
211
- 01Mar09: fixed a small bug with basic auth (mmmurf)
1
+ 01Oct06: Replaced EventMachine#open_datagram_server with a version that can
2
+ take a Class or a Module, instead of just a Module. Thanks to Tobias
3
+ Gustafsson for pointing out the missing case.
4
+ 04Oct06: Supported subsecond timer resolutions, per request by Jason Roelofs.
5
+ 05Oct06: Added EventMachine#set_quantum, which sets the timer resolution.
6
+ 15Nov06: Added Connection#set_comm_inactivity_timeout.
7
+ 15Nov06: Checked in a Line-and-Text Protocol Handler.
8
+ 18Nov06: Checked in a Header-and-Body Protocol Handler.
9
+ 22Nov06: Changed EventMachine#reconnect: no longer excepts when called on an
10
+ already-connected handler.
11
+ 28Nov06: Supported a binary-unix gem.
12
+ 19Dec06: Added EventMachine#set_effective_user.
13
+ 05Jan07: Upped max outstanding timers to 1000.
14
+ 15May07: Applied Solaris patches from Brett Eisenberg
15
+ 22May07: Cleaned up the license text in all the source files.
16
+ 22May07: Released version 0.7.2
17
+
18
+ 23May07: Per suggestion from Bill Kelly, fixed a bug with the initialization
19
+ of the network libraries under Windows. The goal is to enable EM to
20
+ be used without Ruby.
21
+ 28May07: Applied patch from Bill Kelly, refactors the declarations of
22
+ event names to make EM easier to use from C programs without Ruby.
23
+ 31May07: Added a preliminary implementation of EventMachine#popen.
24
+ 01Jun07: Added EM, a "pseudo-alias" for EventMachine.
25
+ 01Jun07: Added EM#next_tick.
26
+ 01Jun07: Added EM::Connection#get_outbound_data_size
27
+ 05Jun07: Removed the code which loads a pure-Ruby EM library in case the
28
+ compiled extension is unavailable. Suggested by Moshe Litvin.
29
+ 06Jun07: Preliminary epoll implementation.
30
+ 12Jun07: Added an evented popen implementation that, like Ruby's, is
31
+ full-duplex and makes the subprocess PID available to the caller.
32
+ 06Jul07: Performance-tweaked the callback dispatcher in eventmachine.rb.
33
+ 10Jul07: Released version 0.8.0.
34
+ 12Jul07: Applied patches from Tim Pease to fix Solaris build problems.
35
+ 15Jul07: Created a new provisional source branch, experiments/jruby-1.
36
+ This is a preliminary implementation of the EM reactor in Java,
37
+ suitable for use with JRuby.
38
+ 17Jul07: Added EventMachine#stop_server, per request from Kirk Haines,
39
+ and associated unit tests.
40
+ 22Jul07: Added EventMachine#stream_file_data. This is a very fast and scalable
41
+ way of sending data from static files over network connections. It
42
+ has separate implementations for small files and large file, and
43
+ has tunings to minimize memory consumption.
44
+ 26Jul07: Added some patches by Kirk Haines to improve the behavior of
45
+ EM::Connection#send_file_data_to_connection.
46
+ 26Jul07: Added a C++ module for directly integrating EM into C++ programs
47
+ with no Ruby dependencies. Needs example code.
48
+ 29Jul07: Added EventMachine::Protocols::LineText2.
49
+ 29Jul07: Added EventMachine::Protocols::Stomp.
50
+ 30Jul07: Added sys/stat.h to project.h to fix compilation bug on Darwin.
51
+ 13Aug07: Added EventMachine#reactor_running?
52
+ 15Aug07: Added parameters for EventMachine::Connection:start_tls that can be
53
+ used to specify client-side private keys and certificates.
54
+ 17Aug07: Added EventMachine#run_block, a sugaring for a common use case.
55
+ 24Aug07: Added a preliminary keyboard handler. Needs docs and testing on
56
+ windows.
57
+ 26Aug07: Created EventMachine::Spawnable, an implementation of Erlang-like
58
+ processes.
59
+ 27Aug07: Silenced some -w warnings, requested by James Edward Gray II.
60
+ 30Aug07: Added cookies to EM::HttpClient#request.
61
+ 04Sep07: Added an initial implementation of an evented SMTP client.
62
+ 04Sep07: Added an initial implementation of an evented SMTP server.
63
+ 10Sep07: Changed EM#spawn to run spawned blocks in the context of the
64
+ SpawnedProcess object, not of whatever was the active object at the
65
+ time of the spawn.
66
+ 14Sep07: Heartbeats weren't working with EPOLL. Noticed by Brian Candler.
67
+ 15Sep07: Added some features, tests and documents to Deferrable.
68
+ 16Sep07: Added [:content] parameter to EM::Protocols::SmtpClient#send.
69
+ 16Sep07: Bumped version to 0.9.0 in anticipation of a release.
70
+ 18Sep07: Released version 0.9.0.
71
+ 19Sep07: Added #receive_reset to EM::Protocols::SmtpServer.
72
+ 19Sep07: User overrides of EM::Protocols::SmtpServer#receive_recipient can now
73
+ return a Deferrable. Also fixed bug: SmtpClient now raises a protocol
74
+ error if none of its RCPT TO: commands are accepted by the server.
75
+ 26Sep07: Fixed missing keyboard support for Windows.
76
+ 03Oct07: Added a default handler for RuntimeErrors emitted from user-written
77
+ code. Suggested by Brian Candler.
78
+ 19Oct07: Set the SO_BROADCAST option automatically on all UDP sockets.
79
+ 10Nov07: Forced integer conversion of send_datagram's port parameter.
80
+ Suggested by Matthieu Riou.
81
+ 12Nov07: Added saslauth.rb, a protocol module to replace the Cyrus SASL
82
+ daemons saslauthd and pwcheck.
83
+ 15Nov07: Fixed bug reported by Mark Zvillius. We were failing to dispatch
84
+ zero-length datagrams under certain conditions.
85
+ 19Nov07: Added EventMachine#set_max_timers. Requested by Matthieu Riou and
86
+ others.
87
+ 19Nov07: Fixed bug with EM::Connection#start_tls. Was not working with server
88
+ connections. Reported by Michael S. Fischer.
89
+ 26Nov07: Supported a hack for EventMachine#popen so it can return an exit
90
+ status from subprocesses. Requested by Michael S. Fischer.
91
+ 30Nov07: Changed Pipe descriptors so that the child-side of the socketpair is
92
+ NOT set nonblocking. Suggested by Duane Johnson.
93
+ 05Dec07: Re-enabled the pure-Ruby implementation.
94
+ 06Dec07: Released Version 0.10.0.
95
+ 13Dec07: Added EM::DeferrableChildProcess
96
+ 24Dec07: Added a SASL client for simple password authentication.
97
+ 27Dec07: Removed the hookable error handler. No one was using it and it significantly
98
+ degraded performance.
99
+ 30Dec07: Implemented Kqueue support for OSX and BSD.
100
+ 04Jan08: Fixed bug in epoll ("Bad file descriptor"), patch supplied by Chris
101
+ Heath.
102
+ 04Jan08: Fixed bug reported by Michael S. Fischer. We were terminating
103
+ SSL connections that sent data before the handshake was complete.
104
+ 08Jan08: Added an OpenBSD branch for extconf.rb, contributed by Guillaume
105
+ Sellier.
106
+ 19Jan08: Added EM::Connection::get_sockname per request by Michael Fischer.
107
+ 19Jan08: Supported IPv6 addresses.
108
+ 30Apr08: Set the NODELAY option on sockets that we connect to other servers.
109
+ Omission noted by Roger Pack.
110
+ 14May08: Generated a 0.12 release.
111
+ 15May08: Supported EM#get_sockname for acceptors (TCP server sockets).
112
+ Requested by Roger Pack.
113
+ 15May08; Accepted a patch from Dan Aquino that allows the interval of a
114
+ PeriodicTimer to be changed on the fly.
115
+ 15Jun08: Supported nested calls to EM#run. Many people contributed ideas to
116
+ this, notably raggi and tmm1.
117
+ 20Jul08: Accepted patch from tmm1 for EM#fork_reactor.
118
+ 28Jul08: Added a Postgres3 implementation, written by FCianfrocca.
119
+ 14Aug08: Added a patch by Mike Murphy to support basic auth in the http
120
+ client.
121
+ 28Aug08: Added a patch by tmm1 to fix a longstanding problem with Java
122
+ data-sends.
123
+ 13Sep08: Added LineText2#set_binary_mode, a back-compatibility alias.
124
+ 13Sep08: Modified the load order of protocol libraries in eventmachine.rb
125
+ to permit a modification of HeaderAndContentProtocol.
126
+ 13Sep08: Modified HeaderAndContent to use LineText2, which is less buggy
127
+ than LineAndTextProtocol. This change may be reversed if we can fix
128
+ the bugs in buftok.
129
+ 13Sep08: Improved the password handling in the Postgres protocol handler.
130
+ 15Sep08: Added attach/detach, contributed by Aman Gupta (tmm1) and Riham Aldakkak,
131
+ to support working with file descriptors not created in the reactor.
132
+ 16Sep08: Added an optional version string to the HTTP client. This is a hack
133
+ that allows a client to specify a version 1.0 request, which
134
+ keeps the server from sending a chunked response. The right way to
135
+ solve this, of course, is to support chunked responses.
136
+ 23Sep08: ChangeLog Summary for Merge of branches/raggi
137
+ Most notable work and patches by Aman Gupta, Roger Pack, and James Tucker.
138
+ Patches / Tickets also submitted by: Jeremy Evans, aanand, darix, mmmurf,
139
+ danielaquino, macournoyer.
140
+ - Moved docs into docs/ dir
141
+ - Major refactor of rakefile, added generic rakefile helpers in tasks
142
+ - Added example CPP build rakefile in tasks/cpp.rake
143
+ - Moved rake tests out to tasks/tests.rake
144
+ - Added svn ignores where appropriate
145
+ - Fixed jruby build on older java platforms
146
+ - Gem now builds from Rakefile rather than directly via extconf
147
+ - Gem unified for jruby, C++ and pure ruby.
148
+ - Correction for pure C++ build, removing ruby dependency
149
+ - Fix for CYGWIN builds on ipv6
150
+ - Major refactor for extconf.rb
151
+ - Working mingw builds
152
+ - extconf optionally uses pkg_config over manual configuration
153
+ - extconf builds for 1.9 on any system that has 1.9
154
+ - extconf no longer links pthread explicitly
155
+ - looks for kqueue on all *nix systems
156
+ - better error output on std::runtime_error, now says where it came from
157
+ - Fixed some tests on jruby
158
+ - Added test for general send_data flaw, required for a bugfix in jruby build
159
+ - Added timeout to epoll tests
160
+ - Added fixes for java reactor ruby api
161
+ - Small addition of some docs in httpclient.rb and httpcli2.rb
162
+ - Some refactor and fixes in smtpserver.rb
163
+ - Added parenthesis where possible to avoid excess ruby warnings
164
+ - Refactor of $eventmachine_library logic for accuracy and maintenance, jruby
165
+ - EM::start_server now supports unix sockets
166
+ - EM::connect now supports unix sockets
167
+ - EM::defer @threadqueue now handled more gracefully
168
+ - Added better messages on exceptions raised
169
+ - Fix edge case in timer fires
170
+ - Explicitly require buftok.rb
171
+ - Add protocols to autoload, rather than require them all immediately
172
+ - Fix a bug in pr_eventmachine for outbound_q
173
+ - Refactors to take some of the use of defer out of tests.
174
+ - Fixes in EM.defer under start/stop conditions. Reduced scope of threads.
175
+ 23Sep08: Added patch from tmm1 to avoid popen errors on exit.
176
+ 30Sep08: Added File.exists? checks in the args for start_tls, as suggested by
177
+ Brian Lopez (brianmario).
178
+ 10Nov08: ruby 1.9 compatibility enhancements
179
+ 28Nov08: Allow for older ruby builds where RARRAY_LEN is not defined
180
+ 03Dec08: allow passing arguments to popen handlers
181
+ 13Jan09: SSL support for httpclient2 (David Smalley)
182
+ 22Jan09: Fixed errors on OSX with the kqueue reactor, fixed errors in the pure
183
+ ruby reactor. Added EM.current_time. Added EM.epoll? and EM.kqueue?
184
+ 27Jan09: Reactor errors are now raised as ruby RuntimeErrors.
185
+ 28Jan09: Documentation patch from alloy
186
+ 29Jan09: (Late sign-off) Use a longer timeout for connect_server (Ilya
187
+ Grigorik)
188
+ 07Feb09: Fix signal handling issues with threads+epoll
189
+ 07Feb09: Use rb_thread_schedule in the epoll reactor
190
+ 07Feb09: Use TRAP_BEG/END and rb_thread_schedule in kqueue reactor
191
+ 08Feb09: Added fastfilereader from swiftiply
192
+ 08Feb09: 1.9 fix for rb_trap_immediate
193
+ 08Feb09: Enable rb_thread_blocking_region for 1.9.0 and 1.9.1
194
+ 10Feb09: Support win32 builds for fastfilereader
195
+ 10Feb09: Added a new event to indicate completion of SSL handshake on TCP
196
+ connections
197
+ 10Feb09: Working get_peer_cert method. Returns the certificate as a Ruby
198
+ String in PEM format. (Jake Douglas)
199
+ 10Feb09: Added EM.get_max_timers
200
+ 11Feb09: Fix compile options for sun compiler (Alasdairrr)
201
+ 11Feb09: get_status returns a Process::Status object
202
+ 12Feb09: Add EM::Protocols::Memcache with simple get/set functionality
203
+ 19Feb09: Add catch-all EM.error_handler
204
+ 20Feb09: Support miniunit (1.9)
205
+ 20Feb09: Return success on content-length = 0 instead of start waiting forever
206
+ (Ugo Riboni)
207
+ 25Feb09: Allow next_tick to be used to pre-schedule reactor operations before
208
+ EM.run
209
+ 26Feb09: Added EM.get_connection_count
210
+ 01Mar09: Switch back to extconf for compiling gem extensions
211
+ 01Mar09: fixed a small bug with basic auth (mmmurf)