Age | Commit message (Collapse) | Author |
|
'v1_8_3_preview2'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_3_preview2@9153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
(again), [ruby-dev:26617] (again), [ruby-dev:27062]
* ext/openssl/lib/net/https.rb: removed.
* ext/openssl/lib/net/protocols.rb: removed.
* lib/net/http.rb: #use_ssl?, #use_ssl are moved from net/https.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
emitter.
* lib/yaml/stream.rb: ditto.
* lib/yaml/rubytypes.rb: added Object#yaml_new.
* lib/yaml/tag.rb: the tag_subclasses? method now
shows up in the class. allow taguri to be set using an accessor.
continue support of Object#to_yaml_type.
* ext/syck/rubyext.c: new emitter code. yaml_new and yaml_initialize
get called, should they be present. consolidated all the diaspora of internal
node types into the family below YAML::Syck::Node -- Map,
Seq, Scalar -- all of whom are SyckNode structs pointing to
Ruby data. moved Object#yaml_new into the node_import and made it the
default behavior. the target_class is always called wih yaml_new, prepended
a parameter, which is the klass. loaded nodes through GenericResolver show their style.
new Resolver#tagurize converts type ids to taguris.
* ext/syck/implicit.re: were 'y' and 'n' seriously omitted??
* ext/syck/emitter.c: renovated emitter, walks the tree in advance.
consolidated redundant block_styles struct into
the scalar_style struct. (this means loaded nodes can now
be sent back to emitter and preserve at least its very basic
formatting.)
* ext/syck/gram.c: headless documents of any kind allowed.
* ext/syck/node.c: new syck_replace_str methods and syck_empty_*
methods for rewriting node contents, while keeping the ID
and other setup info. added syck_seq_assign.
* ext/syck/syck.h: reflect block_styles and new node functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
from Takahiro Kambe <taca@back-street.net>. [ruby-dev:27023]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
OpenSSL::Engine.by_id calls given block before calling
ENGINE_init (block parameter is the return value of this method
itself). this functionality is useful to load dynamic shared
engines. the following code is a sample of loading a key using
OpenSC PKCS #11 module.
require "openssl"
pkcs11 = OpenSSL::Engine.by_id("dynamic"){|e|
e.ctrl_cmd("SO_PATH", "/usr/lib/opensc/engine_pkcs11.so")
e.ctrl_cmd("LIST_ADD", "1")
e.ctrl_cmd("LOAD")
}
pkcs11.ctrl_cmd("PIN", "secret")
key = pkcs11.load_private_key
* ext/openssl/ossl_engine.c (ossl_engine_ctrl_cmd): new method
OpenSSL::Engine#ctrl_cmd. it wraps ENGINE_ctrl_cmd_string.
* ext/openssl/ossl_engine.c (ossl_engine_get_cmds): new method
OpenSSL::Engine#cmds. it returms engine command definitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/openssl/ossl_pkcs7.c: new class OpenSSL::PKCS7::RecipientInfo.
this class wraps PKCS7_RECIP_INFO struct.
* ext/openssl/ossl_pkcs7.c: OpenSSL::PKCS7::Signer is renamed to
OpenSSL::PKCS7::SignerInfo. ("Signer" remains as an alias of
SignerInfo.)
* test/openssl/test_pkcs7.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
the argument is a DER string if Base64 decoding failed.
* ext/openssl/ossl_ns_pki.c (ossl_spki_to_der): new method.
* test/openssl/test_ns_spki.rb: add new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
these features are enabled if this library is compiled with
OpenSSL 0.9.8 or later.
* test/openssl/test_digest.rb: add test for new digests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
to get last error on the current thread. And should report
errors are on the stack while OpenSSL.debug is true.
* ext/openssl/ossl.c (ossl_get_errors): new method for debugging
this library.
* ext/openssl/ossl_ssl.c (ossl_sslctx_set_ciphers): fix error message.
* ext/openssl/ossl_x509req.c (ossl_x509req_set_attributes): get rid
of unused variable.
* ext/openssl/ossl_x509store.c (ossl_x509store_initialize): should
set @time to avoid warning.
* ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths,
X509_STORE_add_cert, X509_STORE_add_crl): should raise error if
wrapped functions failed.
* test/openssl/test_x509store.rb: add test for errors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
characters in command line option. fixed: [ruby-talk:155369]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
support DragonFly BSD. [ruby-dev:26984]
* object.c (rb_mod_cvar_get, rb_mod_cvar_set): document fix from
sheepman <sheepman@sheepman.sakura.ne.jp>; a bug in visibility
description. [ruby-dev:26965]
* sprintf.c (rb_f_sprintf): warn "too many argument" on verbose
mode (-v/-w); backported from 1.9. [ruby-dev:26963]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/etc/etc.c (setup_passwd), ext/etc/extconf.rb: pw_age might be
char*. fixed: [ruby-core:05470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
extension libraries.
* bignum.c (bignew_1, bigadd): K&R style argument actually can't be
defined as char.
* missing/vsnprintf.c: ANSI compiler supports const keyword.
* ext/digest/sha2/extconf.rb: reject platforms which has inttypes.h
but no 64bit integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
should clear data from the buffer which already been output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
work (gives wrong order of arguments).
* ext/tk/lib/multi-tk.rb: add MultiTkIp#invoke_hidden_on_namespace
to support '-namespace' option of 'interp invokehidden' command
on Tcl8.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
ext/digest/sha1/sha1ossl.h: include <stddef.h> to avoid
error in compilation with OpenSSL-0.9.8. [ruby-list:41068]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
by Reyn Vlietstra.
* ext/curses/curses.c: chtype in curses is not `char', rahter `long'.
[ruby-Bugs:2298]
* ext/curses/view.rb: String =~ String is deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
http://www.rubyist.net/~nobu/t/20050811.html#c05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/tk/lib/tk/itemconfig.rb: fix bug on handling
__item_ruby2val_optkeys().
* ext/tk/lib/tk/canvas.rb: didn't check __item_ruby2val_optkeys().
* ext/tk/lib/tkextlib/blt/component.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/tk/lib/tk.rb: add __val2ruby_optkeys and __ruby2val_optkeys to
help to convert option values between ruby and tcl.
* ext/tk/lib/tk/itemconfig.rb: add __item_val2ruby_optkeys and
__item_ruby2val_optkeys to help to convert option values between
ruby and tcl.
* ext/tk/lib/tk/radiobutton.rb: use __ruby2val_optkeys for 'variable'
option (for the reason of backward compatibility).
* ext/tk/lib/tk/composite.rb: clarify the arguments of super().
* ext/tk/lib/tk/spinbox.rb: ditto.
* ext/tk/lib/tk/text.rb: ditto.
* ext/tk/lib/tk/validation.rb: ditto.
* ext/tk/lib/tkextlib/*: support to treat tkvariable-type
configure options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/tcltklib/tcltklib.c (ip_ruby_cmd): moved rb_ary_new2 because this
raises exception if argc < 3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
[ruby-dev:26753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
TkVariable if key name is 'variable' or 'textvariable'
by default. [ruby-dev:26749]
* ext/tk/lib/tk/{label,radiobutton}.rb: removed its own
{variable,textvariable} function.
* ext/tk/lib/tk/variable.rb: retains backward conpatibility.
(written by Hidetoshi NAGAI)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
(tcl_check_result) ... previous commit is actually "extracted protect call"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
(tcl_protect)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
exception. (copies argv into heap in tk_funcall instead of
caller)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
tcl object conversion as get_str_from_obj and get_obj_from_str.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/tcltklib/tcltklib.c: add nativethread consistency check.
* ext/tcltklib/stubs.c: ditto.
* ext/tk/lib/tk.rb: forgot to define TclTkIp.encoding and encoding=
when Tcl is 7.6 or 8.0.
* ext/tk/lib/tk/wm.rb: support to make some methods as options of
root or toplevel widget. [ruby-talk:150336]
* ext/tk/lib/tk/root.rb: ditto.
* ext/tk/lib/tk/toplevel.rb: ditto.
* ext/tk/lib/tkextlib/SUPPRT_STATUS: update RELEASE_DATE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/tk/lib/tkextlib/tile/t*.rb: aliased class names starting with 'T'
to non 'T' ones. (ie. Tk::Tile::TButton -> Tk::Tile::Button)
[ruby-dev:26724]
* ext/tk/lib/tkextlib/tile.rb: ditto. (autoload support)
(Written by Hidetoshi NAGAI)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
supported on tile 0.6 or later, not tile 0.5.
* ext/tk/sample/tkextlib/tile/demo.rb: updated scales demo to use
Tk::Tile::TProgressbar for tile 0.6 or later.
* ext/tk/sample/tkextlib/tile/demo.rb: set some TkVariable default values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
extentions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
TkVariable retrived from TkVariable.new_hash.ref. [ruby-dev:26721]
(written by Hidetoshi NAGAI)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
changes at 2004-09-07. [ruby-dev:26656]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
is now working and more. [ruby-dev:26716]
* ext/tk/sample/tkextlib/tile/demo.rb: use Tk::Tile::Treeview#headingconfigure
instead of direct Tk.tk_call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
takes optional argument `interval'.
* ext/tk/sample/tkextlib/tile/demo.rb: emulate Tk::Tile::TProgressbar
with Tk::Tile::TProgress in tile 0.4. (repeating buttons demo)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/tk/sample/tkextlib/tile/repeater.tcl: ditto. (new file)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
Tcl_Obj[GS]etVar2. (avoid Tcl_NewStringObj on supported platforms)
* ext/tcltklib/tcltklib.c: use ip_{get,set,unset}_variable2_core from
ip_{get,set,unset}_variable.
* ext/tcltklib/tcltklib.c: replaced Tcl_Panic with rb_bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/tk/lib/tkextlib/tile/treeview.rb: replaced `ary2tk_list(items)' with
`*items'.
* ext/tk/sample/tkextlib/tile: added treeview demo. (tile 0.5 or later is
needed) [ruby-dev:26668]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
rb_ivar_get with single rb_attr_get call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
alternative macro on Tcl7.x or earlier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|