nobu
0c57bf4b61
* ext/probeprofiler/probeprofiler.c: clean warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 09:35:42 +00:00
nobu
6b95829d71
* ext/extmk.rb: prepend also topdir to mflags at last.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 06:09:40 +00:00
nobu
c389b3bb63
* Makefile.in, win32/Makefile.sub (XCFLAGS): -I. is needed for *.inc.
...
* ext/extmk.rb (parse_args): add also topdir to mflags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 05:47:12 +00:00
nobu
2b592580bf
* include/ruby: moved public headers.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 03:06:15 +00:00
akr
3a868301ea
* ext/zlib/zlib.c (gzfile_s_open): use FilePathValue to support
...
to_path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 07:33:59 +00:00
akr
1a8d5ed8cb
follow previous lex.c change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 03:47:16 +00:00
naruse
b60d64b001
* lib/json/common.rb: Ponder offering parse\! method.
...
* lib/json/editor.rb: be a bit more robust while loading data.
* ext/json/ext/{generator,parser}/extconf.rb:
add a have_header directive for st.h
* test/json: fix some tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-06 22:38:42 +00:00
nobu
a96aacb08c
* ext/json, lib/json, test/json: set properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-06 01:54:44 +00:00
nobu
b244c0dd3a
* ext/json/ext/{generator,parser}/extconf.h: removed intermediate files.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-06 01:34:08 +00:00
naruse
3c17590061
* ext/nkf/nkf-utf8/nkf.c (kanji_convert): Fix guess fallback.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-05 05:11:04 +00:00
naruse
af1c416728
* lib/json.rb, lib/json, ext/json, test/json:
...
import JSON library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-04 12:31:26 +00:00
nagai
b69b1af650
* ext/tk/lib/tkextlib/tcllib/tablelist.rb: fix typo.
...
* ext/tk/lib/tkextlib/tile/dialog.rb: forget to give an argument.
* ext/tk/lib/tkextlib/version.rb: update RELEASE_DATE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-25 16:10:42 +00:00
nobu
2cdb1c3376
* ext/purelib.rb: commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-22 21:09:22 +00:00
nobu
80a0e2f753
* ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default
...
load path to get rid of load pre-installed extensions/libraries.
[ruby-core:11017]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-22 20:48:34 +00:00
usa
cb272b7c2d
* ext/iconv/iconv.c (iconv_s_conv): rdoc fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-10 06:20:33 +00:00
usa
adc782762b
* ext/iconv/iconv.c (iconv_s_conv): rdoc fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-10 06:13:58 +00:00
nobu
1a89cc308d
* configure.in, defines.h, eval_load.c (rb_feature_p, rb_provided,
...
search_required, rb_require_safe), ext/extmk.rb: Fix
a bug where a statically linked extension cannot be autoloaded.
[ruby-dev:30023] / [ruby-dev:30239]
* thread.c: added an internal class, Barrier.
* yarvcore.h (struct rb_vm_struct): moved loading_table from global.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-03 13:19:11 +00:00
akr
24af397fcd
clear cmsg padding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-25 13:37:55 +00:00
akr
e3b9378f38
* ext/socket/socket.c (unix_send_io, unix_recv_io): use CMSG_DATA to
...
align file descriptor appropriately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-25 10:55:01 +00:00
ko1
ec4a7ccf86
* ext/probeprofiler/probeprofiler.c: fix function name and
...
return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-25 05:14:33 +00:00
nobu
5bda3debcf
* ext/probeprofiler: set eol-style.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-25 04:10:55 +00:00
ko1
abcbd7ea38
* yarvcore.h: remove rb_control_frame_t#callee_id.
...
* vm_macro.def: ditto.
* eval_intern.h (exec_event_hooks): fix to check event flags
* eval_intern.h (EXEC_EVENT_HOOK): fix to re-check event flags.
* ext/probeprofiler : added. this profiler is sampling based
profiler.
* vm.c: add rb_thread_current_status() API for probeprofiler.
* thread.c (rb_thread_execute_interrupts): add comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-25 03:50:00 +00:00
nobu
42b3d60056
* ext/extmk.rb ($ruby): add extout directory to include path.
...
[ruby-core:11003]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-23 13:13:53 +00:00
matz
047f685d73
* ext/pty/expect_sample.rb: avoid symbolic link representation for
...
expect. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>.
[ruby-dev:30714]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-16 13:56:19 +00:00
nobu
ffa31c2645
* ext/stringio/stringio.c (strio_seek): consistent behavior with
...
IO#seek. patch by sheepman in [ruby-dev:30710].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-16 07:48:50 +00:00
usa
31088109b7
* ext/openssl/ossl_pkey_ec.c (ossl_ec_key_get_group): get rid of
...
warning. we are aware of it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-06 01:58:01 +00:00
technorama
dcc5bd8bcf
* ext/openssl/ossl_{bn,x509{attr,cert,name,store}}.c:
...
Add documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-05 19:03:28 +00:00
usa
22405dad92
* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_alloc): should
...
return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-05 06:13:37 +00:00
technorama
953e8aca2b
* ext/openssl/ossl_pkcs5.c: New module.
...
* ext/openssl/ossl_{cipher,digest,pkcs7,pkcs12}.c:
Remove redundant module namespace.
* ext/openssl/lib/openssl/{cipher,digest}.rb
Add backwards compatibile classes for rearranged classes.
* ext/openssl/ossl_{pkcs7,pkcs12}.c: Add documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-05 05:59:22 +00:00
technorama
9ce7494cda
* ext/openssl/ossl_ssl.c: Add documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-03 18:29:30 +00:00
nobu
043479247c
* ext/openssl/extconf.rb: check for functions added in 1.9.
...
* ext/openssl/ruby_missing.h: check per features instead by
checking version code. [ruby-core:10845]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-03 07:21:53 +00:00
technorama
8b95ee24de
* ext/openssl/ossl_bn.c: More documentation.
...
* ext/openssl/lib/ossl_{pkey,pkey_ec}.[ch]: Add elliptic curves.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-03 07:02:44 +00:00
usa
eed46ac633
* ext/socket/socket.c (s_recv, s_recvfrom): some systems (such as
...
windows) doesn't set fromlen if the socket is connection-oriented.
reported by Bram Whillock in [ruby-core:10512] [ruby-Bugs#9061]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-03 06:50:41 +00:00
usa
9a41f064fa
* ext/openssl/ruby_missing.h: need to include version.h to check
...
RUBY_VERSION_CODE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-03 00:37:13 +00:00
technorama
a05e89ca65
* ext/openssl/ossl_{ssl.[ch],ssl_session.c}},
...
ext/openssl/lib/openssl/lib/openssl/ssl.rb:
New SSL::Session class. Add session cb's, getter/setters,
config, and statistics methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-02 22:10:12 +00:00
technorama
3930d3b36b
* ext/openssl/{ossl.[ch],ossl_pkey.c} Add documentation.
...
* ext/openssl/ossl_hmac.c Add reset method.
* ext/openssl/ossl_cipher.c (Cipher#update) Take additional buffer argument.
* ext/openssl/{ossl_bio.c,ossl_ssl.c,ruby_missing.h} compatibility with 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-02 19:00:23 +00:00
technorama
41fa6056ba
* ext/openssl/ossl_{bn,cipher,digest,hmac,rand,pkey_{dh,dsa,rsa}}.c: Add Documentation for various methods.
...
* ext/openssl/lib/openssl/cipher.rb: Ditto
* ext/openssl/ossl_bn.c: add lshift! and rshift! methods.
* ext/openssl/ossl_digest.c: GetDigestPtr() also accept a string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-29 17:29:03 +00:00
nobu
e6e5674156
* ext/Win32API/lib/win32/sspi.rb: set properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-21 02:27:16 +00:00
matz
33163ad123
* regparse.c, etc.: K&R to ANSI code cleanup patch from Stefan
...
Huehner <stefan at huehner.org>. [ruby-core:10543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-19 03:58:57 +00:00
suke
d50f882cf0
* ext/win32ole/win32ole.c: add WIN32OLE#ole_activex_initialize,
...
a little bit supporting ActiveX control. [ruby-talk:241188]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-16 13:24:06 +00:00
aamine
ae2c8b45d2
* lib/net/http.rb: merge Ruby-SSPI patch contributed by Justin Bailey.
...
* ext/Win32API/lib/win32/sspi.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-16 13:17:10 +00:00
matz
30aa46db0b
* ext/bigdecimal/bigdecimal.c: BigDecimal("-.31") is now
...
treated as ("-0.31") not as ("0.31").
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-14 05:39:00 +00:00
knu
024a7fd7a4
* ext/openssl/ossl_asn1.c (Init_ossl_asn1): Let rdoc know about
...
externally defined modules; submitted by Technorama
Ltd. <oss-ruby AT technorama.net> in [ruby-bugs:PR#4704].
* ext/openssl/ossl_bn.c (Init_ossl_bn): Ditto.
* ext/openssl/ossl_cipher.c (Init_ossl_cipher): Ditto.
* ext/openssl/ossl_digest.c (Init_ossl_digest): Ditto.
* ext/openssl/ossl_hmac.c (Init_ossl_hmac): Ditto.
* ext/openssl/ossl_pkey.c (Init_ossl_pkey): Ditto.
* ext/openssl/ossl_pkey_dh.c (Init_ossl_dh): Ditto.
* ext/openssl/ossl_pkey_dsa.c (Init_ossl_dsa): Ditto.
* ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): Ditto.
* ext/openssl/ossl_rand.c (Init_ossl_rand): Ditto.
* ext/openssl/ossl_ssl.c (Init_ossl_ssl): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-12 02:01:19 +00:00
suke
c769454c0e
* ext/win32ole/win32ole.c: add WIN32OLE_TYPELIB#library_name,
...
WIN32OLE_TYPELIB#visible?.
* test/win32ole/test_win32ole_typelib.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-09 22:21:59 +00:00
nagai
4cd2a9864c
* ext/tk/sample/irbtkw.rbw: fails to exit process.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-06 02:56:32 +00:00
suke
e8783d008c
* ext/win32ole/win32ole.c (get_ptr_of_variant, ole_set_safe_array,
...
ole_val2ptr_variant, ole_val2olevariantdata, ole_variant2val,
): fix some bugs of WIN32OLE_VARIANT.new when variant type is
VT_ARRAY|VT_BSTR or VT_BYREF.
* ext/win32ole/win32ole.c (folevariant_s_array, folevariant_initialize):
WIN32OLE_VARIANT#[], WIN32OLE_VARIANT#[]=, WIN32OLE_VARIANT#value=
is defined as instance method of WIN32OLE_VARIANT.
* test/win32ole/test_win32ole_variant.rb: add some test for
VT_ARRAY, VT_BYREF variant type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-02 12:35:02 +00:00
knu
75129a3608
better error message
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-28 18:27:50 +00:00
knu
04cd7cc62d
* ext/digest/digest.c (get_digest_base_metadata): Allow inheriting
...
Digest::Base subclasses, which was unintentionally made
impossible while restructuring Digest classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-28 18:24:25 +00:00
usa
cebb4b5ca0
* ext/openssl/extconf.rb: no need to check unistd.h and sys/time.h.
...
they are already checked at configure.
reported by KOBAYASHI Yasuhiro [ruby-list:43225]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-28 09:32:56 +00:00
knu
42c647f6fc
* ext/nkf/nkf.c (rb_str_resize, rb_nkf_kconv, rb_nkf_guess1,
...
rb_nkf_guess2): Silence warnings regarding char * vs. unsigned
char * mismatch; submitted by Lyle Johnson
<lyle.johnson@gmail.com> in [ruby-core:10416].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-27 10:35:17 +00:00