Граф коммитов

56 Коммитов

Автор SHA1 Сообщение Дата
hsbt 7825e8363d Postponing the Bundler merge.
I faced a big issue about Bundler with ruby core.
  I have no time to resolve it issue before 2.5 final release.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-22 23:08:05 +00:00
naruse 8f4f9657e1 Update information about Oniguruma/Onigmo [Bug #13818]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-11-29 12:04:24 +00:00
hsbt e5e1f904d5 Removed ubygems.rb. rubygems.rb is always loaded now.
* tool/sync_default_gems.rb: removed ubygems.rb from sync target.
  * test/rubygems/test_gem.rb: only enable "-rubygems" option when
    running under the Ruby 1.9.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-24 07:52:25 +00:00
hsbt ebfc4c4832 update section styles for psych, rubygems, bundler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-23 02:57:12 +00:00
hsbt 479c83f718 Added sections of pysch library to LEGAL.
* ext/psych/yaml/LICENSE: Integrate libyaml license to LEGAL and
    removed this file from repository.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-23 02:55:07 +00:00
hsbt 572d2c2754 Added bundler's license to LEGAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-23 02:37:55 +00:00
hsbt 6c52cdab61 Added missing "ubygems.rb" file of rubygems to LEGAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-23 02:26:10 +00:00
hsbt 1aa4a40d4f Integrate LICENSE file of rubygems to LEGAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-23 02:24:27 +00:00
eregon aaf07f7ad5 Adapt tools to follow spec/rubyspec => spec/ruby rename
* [Misc #13792] [ruby-core:82287]
* Prefer test-spec over test-rubyspec in spec/README.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-20 20:19:54 +00:00
duerst 3d46d51c45 replace copyrights by explanatory text in data files for GB2312/GB12345 mappings
Replace the copyrights and explanatory texts in the data files used for mapping
GB2312/GB12345 to/from Unicode with short explanatory texts. [Bug #12598] [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-01 10:22:09 +00:00
kazu 0a1debb87c Add mspec and rubyspec to LEGAL [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-08 16:00:00 +00:00
rhe 70c9bb4b81 Remove missing/strtol.c
It is never used. We don't need it anyway as it's part of C89 which is
our current minimum requirement.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-21 06:03:12 +00:00
kazu 07efce075b Use https instead of http in some URLs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-11 10:33:36 +00:00
hsbt 8c18d58557 * LEGAL: Added entries for files under the USD license.
[Bug #12598][ruby-core:76428][ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-22 00:24:01 +00:00
hsbt a19f4c6fb9 * LEGAL: Added entry for `lib/rdoc/generator/template/darkfish/css/fonts.css`
[Misc #12550][ruby-core:76255][ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-22 00:20:10 +00:00
hsbt 0b8590724d * missing/strl{cat,cpy}.c: Update latest upstream files.
[Misc #12205][ruby-core:74487]
* LEGAL: Update license for missing/strl{cat,cpy}.c.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-21 13:27:02 +00:00
hsbt e84f9113ea * LEGAL: added file list with CC0 license.
[ruby-core:76254][Bug #12549]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-21 12:54:09 +00:00
duerst fe875c6e28 * LEGAL: Added filenames and copyrights for some files in
enc/trans/JIS.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-21 06:35:24 +00:00
nobu 9a8c6f6efe LEGAL: adjust style
* LEGAL: remove asterisk decorations and adjust indent.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-08-17 08:12:23 +00:00
hsbt 6e2a2dd306 * LEGAL: added license infomation of ccan files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-14 02:07:32 +00:00
nobu 295480a0d8 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-02 12:03:55 +00:00
naruse fefbd47bdd * vm_dump.c (rb_vm_bugreport): show vm maps on FreeBSD.
* vm_dump.c (procstat_vm): copied from FreeBSD.
  http://svnweb.freebsd.org/base/head/usr.bin/procstat/procstat_vm.c?revision=261780

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-10 17:10:57 +00:00
usa f9e9eee677 * util.c, include/ruby/util.h (ruby_add_suffix): remove the function.
[Bug #5153] [ruby-core:38736]

* io.c (argf_next_argv): remove the call of above function.

* ext/-test-/add_suffix, test/-ext-/test_add_suffix.rb: remove the test
  extension module because this is only for testsing ruby_add_suffix().

* LEGAL: remove the mention about a part of util.c, because now we
  removed the part.

* io.c (argf_next_argv): now the new filename is not guranteed to
  use, so should check the return value of rename(2).

* test/ruby/test_argf.rb (TestArgf#test_inplace_rename_impossible):
  now we expect same result with other platforms on no_safe_rename
  platforms (=Windows).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-03 07:10:56 +00:00
usa 083ec6049e * LEGAL (missing/{elf,tgamma,lgamma_r}.c): they've been replaced by
public domain implementations.

* LEGAL (vsnprintf.c): it has moved to srcdir from missing/.

* LEGAL (missing/crypt.c): list its original license.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 11:11:57 +00:00
kosaki b9f3cd5a0c fix r31606
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 11:04:12 +00:00
kosaki 44606925ff * LEGAL (configure): add missing/setproctitle.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-17 10:54:51 +00:00
knu b2a0191b80 Revert r29271 pending due discussion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 13:20:11 +00:00
knu d91f4777df * LEGAL: Rephrase the leading sentences for clarification. Avoid
using the context dependent, ambiguous term "the Ruby's
  license", and omit the "or public domain" part because it is not
  our default license and the files under public domain are
  already specifically listed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-16 11:22:00 +00:00
nobu a698c7bf72 * LEGAL: separated the section for parse.c. contributed by Paul
Betteridge in [ruby-core:29472].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-12 12:47:43 +00:00
naruse 12b2e16e21 * sprintf.c (rb_str_format): support %a format. [ruby-dev:40650]
* missing/vsnprintf.c (BSD_vfprintf): ditto.

* missing/vsnprintf.c (cvt): ditto.

* util.c (BSD__hdtoa): added.  This is 2-clause BSDL licensed
  by David Schultz and from FreeBSD.

* LEGAL: add about hdtoa() in util.c.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-01 04:32:57 +00:00
yugui 8d1e0c0a5a * config.guess: moved into tool/.
* config.sub: ditto.

* install-sh: ditto

* configure.in: follows the moves.

* LEGAL: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22 11:48:52 +00:00
duerst 0be9fb8caa Commit miss at r21521, poited out by Yugui.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-16 05:12:59 +00:00
yugui bbbd9c0b7b * x68/_dtos18.c: removed. Ruby no longer supports human68k.
* x68/_round.c: ditto.

* x68/fconvert.c: ditto.

* x68/select.c: ditto.

* ext/Setup.x68: ditto.

* missing/x68.c: ditto.

* dln.c (dln_find_exe_r): removed human68k supports.
  (dln_find_1): ditto.

* lib/mkmf.rb: ditto.

* ext/extmk.rb (Init_ext): ditto.

* ext/socket/socket.c (init_sock): ditto.

* gc.c (GC_MALLOC_LIMIT): ditto.
  (rb_setjmp, rb_jmpbuf): ditto.
  (mark_current_machine_context): ditto.

* include/ruby/defines.h (PATH_ENV): ditto.

* io.c: ditto.

* process.c: ditto.

* ruby.c: ditto.

* test/ruby/test_env.rb: ditto.

* test/ruby/test_path.rb: ditto.

* LEGAL


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 13:12:13 +00:00
matz a5a92315a1 * LEGAL: updated file names removed and added. [ruby-dev:36426]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-22 01:16:06 +00:00
akr 14373fc4db * math.c (math_gamma): new method Math.gamma.
(math_lgamma): new method Math.lgamma.

* include/ruby/missing.h (tgamma): declared unless HAVE_TGAMMA.
  (lgamma_r): declared unless HAVE_LGAMMA_R.

* configure.in (tgamma): check for replacement funtions.
  (lgamma_r): ditto.

* missing/tgamma.c: new file.  based on gamma.c from
  "C-gengo niyoru saishin algorithm jiten" (New Algorithm handbook
  in C language) (Gijyutsu hyouron sha, Tokyo, 1991)
  by Haruhiko Okumura.

* missing/lgamma_r.c: ditto.

* LEGAL (missing/tgamma.c): describe as public domain.
  (missing/lgamma_r.c): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-07 01:43:43 +00:00
akr 0352d32f05 * util.c (ruby_strtoul): locale independent strtoul is implemented to
avoid "i".to_i(36) cause 0 under tr_TR locale.
  This is newly implemented, not a copy of missing/strtoul.c.

* include/ruby/ruby.h (ruby_strtoul): declared.
  (STRTOUL): defined to use ruby_strtoul.

* bignum.c, pack.c, ext/socket/socket.c: use STRTOUL.

* configure.in (strtoul): don't check.

* missing/strtoul.c: removed.

* include/ruby/missing.h (strtoul): removed.

* common.mk (strtoul.o): removed.

* LEGAL (missing/strtoul.c): removed.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-02 06:24:27 +00:00
akr 7e2fdd4cc8 * missing/strcasecmp.c: removed. Ruby don't use locale dependent
strcasecmp.

* missing/strncasecmp.c: ditto.

* configure.in: don't check strcasecmp and strncasecmp.

* LEGAL: missing/strcasecmp.c and missing/strncasecmp.c removed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-02 02:36:58 +00:00
matz 3e68736791 * missing/strtod.c: removed. [ruby-dev:31588]
* LEGAL: updated.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 15:05:56 +00:00
usa 7240868424 * missing/{strlcat,strlcpy}.c, missing.h: new functions.
* LEGAL: add copyright notice about above files.

* configure.in: check whether strlcat and strlcpy are exist or not.

* {bcc32,win32,wince}/Makefile.sub: use above files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-19 08:01:40 +00:00
nobu 6fc0148b27 * LEGAL (ext/nkf/nkf-utf8): updated from nkf1.7 to nkf-utf8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-13 15:46:37 +00:00
matz 10d3f6a039 * bignum.c (rb_big_neg): may be accessing bogus pointer value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-01 08:56:09 +00:00
kosako 41d96dbd35 remove oniggnu.h (GNU regex API).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-26 08:05:06 +00:00
kosako 1034d1407e remove GNU regex API
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-17 14:43:38 +00:00
ksaito f353d89d82 * oniggnu.h: imported from Oniguruma library.
* oniguruma.h: ditto.
* regcomp.c: ditto.
* regenc.c: ditto.
* regenc.h: ditto.
* regerror.c: ditto.
* regex.c: ditto.
* regexec.c: ditto.
* reggnu.c: ditto.
* regint.h: ditto.
* regparse.c: ditto.
* regparse.h: ditto.
* ascii.c: ditto.
* euc_jp.c: ditto.
* sjis.c: ditto.
* utf8.c: ditto.

* MANIFEST: added Oniguruma files listed above.

* LEGAL: added Oniguruma license.

* regex.h: now includes oniggnu.h.

* re.c: applied Oniguruma patch.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-05 15:40:36 +00:00
matz c004ecfa1e * math.c (math_erf,math_erfc): new function. [ruby-list:37753]
* eval.c (ruby_finalize): no longer need to turn off $DEBUG in the
  finalizer. (ruby-bugs-ja PR#473)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 06:40:42 +00:00
matz 7194b66fb2 * 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
2002-07-26 06:12:39 +00:00
suke f14180707d merge win32ole from rough
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-01 12:34:30 +00:00
knu a7685a6b87 The author of getoptlong.rb has agreed on changing the license from
GPL to Ruby's.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-04 09:03:11 +00:00
knu 76d7dae26a Import the "digest" module and the submodules, from the Rough Ruby
project.

  ext/digest:
    This module provides the module Digest and the abstract class
    Digest::Base.

  ext/digest/md5 (which obsoletes ext/md5):
    This module provides the class Digest::MD5 which implements the
    MD5 Message-Digest Algorithm.

  ext/digest/rmd160:
    This module provides the class Digest::RMD160 which implements the
    RIPEMD-160 cryptographic hash function.

  ext/digest/sha1 (which obsoletes ext/sha1):
    This module provides the class Digest::SHA1 which implements the
    SHA-1 Secure Hash Algorithm.

  ext/digest/sha2:
    This module provides the classes Digest::SHA256, Digest::SHA384
    and Digest::SHA512 which implement the SHA-256, SHA-384 and
    SHA-512 Secure Hash Algorithms, respectively.

  lib/md5.rb, lib/sha1.rb:
    These files are provided for backward compatibility.

All these classes have the common API, which previously ext/md5 and
ext/sha1 modules provided.  While the new API keeps 100% backward
compatibility, it has been enriched with several utility methods.

Read digest.txt for further details.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-13 20:06:14 +00:00
knu 9cf764b8ff Substitute "licence" with "license".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-13 16:22:39 +00:00