-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* random.c: replace with Mersenne Twister RNG.
* eval.c (jump_tag_but_local_jump): preserve retval in LocalJumpError exceptions. * parse.y (command): no more check for "super outside of method". * eval.c (rb_mod_define_method): should set last_class and last_func in the block->frame. * eval.c (error_handle): should handle TAG_THROW as well. * parse.y (yylex): new decimal notation '0d4567'. * parse.y (yylex): new octal notation '0o777'. * parse.y (string_content): every string_content node should return string only. use NODE_EVSTR to coercing. * eval.c (rb_eval): NODE_EVSTR support. * re.c (rb_reg_quote): avoid unnecessary string allocation. * string.c (get_pat): quote metachracters before compiling a string into a regex. * string.c (rb_str_split_m): special treatment of strings of size 1, but AWK emulation. now uses get_pat(). * string.c (rb_str_match_m): quote metacharacters. * string.c (rb_str_match2): ditto. * ext/socket/socket.c (sock_addrinfo): make all 3 versions of getaddrinfo happy. [ruby-core:00184] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Loading branch information
matz
committed
Jul 26, 2002
1 parent
1d132e6
commit 7194b66
Showing
14 changed files
with
462 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
Fri Jul 26 14:31:06 2002 Yukihiro Matsumoto <[email protected]> | ||
|
||
* random.c: replace with Mersenne Twister RNG. | ||
|
||
Fri Jul 26 12:14:48 2002 Minero Aoki <[email protected]> | ||
|
||
* parse.y (yylex): modify to accept a code like "m (a){...}". | ||
|
@@ -22,6 +26,24 @@ Thu Jul 25 09:05:02 2002 Nobuyoshi Nakada <[email protected]> | |
|
||
* misc/ruby-mode.el (ruby-move-to-block): skips RD style comments. | ||
|
||
Wed Jul 24 09:47:42 2002 Yukihiro Matsumoto <[email protected]> | ||
|
||
* eval.c (jump_tag_but_local_jump): preserve retval in | ||
LocalJumpError exceptions. | ||
|
||
* parse.y (command): no more check for "super outside of method". | ||
|
||
* eval.c (rb_mod_define_method): should set last_class and | ||
last_func in the block->frame. | ||
|
||
Mon Jul 22 17:23:00 2002 Yukihiro Matsumoto <[email protected]> | ||
|
||
* eval.c (error_handle): should handle TAG_THROW as well. | ||
|
||
Fri Jul 19 10:52:32 2002 Yukihiro Matsumoto <[email protected]> | ||
|
||
* parse.y (yylex): new decimal notation '0d4567'. | ||
|
||
Thu Jul 18 11:52:02 2002 Shugo Maeda <[email protected]> | ||
|
||
* lib/net/ftp.rb (set_socket): new method. | ||
|
@@ -30,6 +52,17 @@ Thu Jul 18 06:51:24 2002 Minero Aoki <[email protected]> | |
|
||
* parse.y (yylex): fix typo. | ||
|
||
Wed Jul 17 18:41:28 2002 Yukihiro Matsumoto <[email protected]> | ||
|
||
* parse.y (yylex): new octal notation '0o777'. | ||
|
||
Mon Jul 15 18:36:42 2002 Yukihiro Matsumoto <[email protected]> | ||
|
||
* parse.y (string_content): every string_content node should | ||
return string only. use NODE_EVSTR to coercing. | ||
|
||
* eval.c (rb_eval): NODE_EVSTR support. | ||
|
||
Mon Jul 15 10:35:35 2002 Minero Aoki <[email protected]> | ||
|
||
* parse.y (heredoc_identifier): fix typo. | ||
|
@@ -61,6 +94,20 @@ Fri Jul 12 00:02:50 2002 Nobuyoshi Nakada <[email protected]> | |
* ext/stringio/stringio.c (strio_gets_internal): fixed for record | ||
separator longer than 1. | ||
|
||
Thu Jul 11 17:59:20 2002 Yukihiro Matsumoto <[email protected]> | ||
|
||
* re.c (rb_reg_quote): avoid unnecessary string allocation. | ||
|
||
* string.c (get_pat): quote metachracters before compiling a | ||
string into a regex. | ||
|
||
* string.c (rb_str_split_m): special treatment of strings of size | ||
1, but AWK emulation. now uses get_pat(). | ||
|
||
* string.c (rb_str_match_m): quote metacharacters. | ||
|
||
* string.c (rb_str_match2): ditto. | ||
|
||
Thu Jul 11 12:59:23 2002 Shugo Maeda <[email protected]> | ||
|
||
* lib/resolv.rb: untaint strings read from /etc/hosts and | ||
|
@@ -256,6 +303,11 @@ Sun Jun 23 00:19:10 2002 Tadayoshi Funaba <[email protected]> | |
* lib/date.rb, lib/date/format.rb, sample/cal.rb, sample/goodfriday.rb: | ||
updated to the new version (based on date2 3.3). | ||
|
||
Sat Jun 22 14:41:33 2002 Guy Decoux <[email protected]> | ||
|
||
* ext/socket/socket.c (sock_addrinfo): make all 3 versions of | ||
getaddrinfo happy. [ruby-core:00184] | ||
|
||
Fri Jun 21 18:49:58 2002 Yukihiro Matsumoto <[email protected]> | ||
|
||
* parse.y (yylex): __END__ should not be effective within | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,6 +83,53 @@ win32/win32.[ch]: | |
You may distribute under the terms of either the GNU General Public | ||
License or the Artistic License, as specified in the perl README file. | ||
|
||
random.c | ||
|
||
This file is under the new-style BSD license. | ||
|
||
A C-program for MT19937, with initialization improved 2002/2/10. | ||
Coded by Takuji Nishimura and Makoto Matsumoto. | ||
This is a faster version by taking Shawn Cokus's optimization, | ||
Matthe Bellew's simplification, Isaku Wada's real version. | ||
|
||
Before using, initialize the state by using init_genrand(seed) | ||
or init_by_array(init_key, key_length). | ||
|
||
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
|
||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
|
||
3. The names of its contributors may not be used to endorse or promote | ||
products derived from this software without specific prior written | ||
permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
|
||
Any feedback is very welcome. | ||
http://www.math.keio.ac.jp/matumoto/emt.html | ||
email: [email protected] | ||
|
||
st.[ch]: | ||
x68/*: | ||
missing/alloca.c: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.