summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2007-03-11* ext/dl/mkcallback.rb (mkfunc): Make sure that a callbackknu
function is found in the function table before trying to call it; submitted by sheepman <sheepman AT sheepman.sakura.ne.jp> in [ruby-dev:30524]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-06Merge changes from ruby_1_8:knu
* ext/digest/lib/md5.rb (MD5::new, MD5::md5): Do not modify Digest::MD5. * ext/digest/lib/sha1.rb (SHA1::new, SHA1::sha1): Ditto. * lib/shell/process-controller.rb: fix thread synchronization problem for [ruby-dev:30477]. * ext/digest/lib/md5.rb (MD5::new, MD5::md5): Catch up with Digest's API changes; noted by: Kazuhiro Yoshida <moriq AT moriq.com> in [ruby-dev:30500]. * ext/digest/lib/sha1.rb (SHA1::new, SHA1::sha1): Ditto. * time.c (time_to_s): Back out the format changes; discussed in [ruby-dev:30495]. * ext/tk/sample/irbtkw.rbw: fails to exit process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-03* ext/thread/thread.c (push_list): Use ALLOC().knu
* ext/thread/thread.c (rb_mutex_alloc): Ditto. * ext/thread/thread.c (rb_condvar_alloc): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-28* ext/digest/digest.c (get_digest_base_metadata): Allow inheritingknu
Digest::Base subclasses, which was unintentionally made impossible while restructuring Digest classes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-28Merge changes between r11913 and r11943 from ruby_1_8.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-27Merge changes between r11871 and r11907 from ruby_1_8.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-24* ext/racc/cparse/cparse.c (cparse_params_mark): remove uselessknu
rb_gc_mark. Thanks Tomoyuki Chikanaga. [ruby-dev:30405] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-19* ext/socket/socket.c (unix_peeraddr): wrong syscall name in errorknu
message for #peeraddr. a patch from Sam Roberts <sroberts at uniserve.com>. [ruby-core:10366] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-19* configure.in, defines.h, eval.c (rb_feature_p, rb_provided,knu
load_wait, search_required, rb_require_safe), ext/extmk.rb: Fix a bug where a statically linked extension cannot be autoloaded. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-15* ext/thread/thread.c: Handle interrupted waits correctly.knu
[ruby-bugs:PR#8663] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-14* ext/digest/lib/digest.rb (Digest::self.const_missing): Dropknu
autoloads for sha2 classes in favor of handling in const_missing(), to work around a problem exposed on OS X. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10* configure.in, ext/thread/extconf.rb, lib/thread.rb: Add aknu
configure option `--disable-fastthread', to choose the original, pure ruby version of the "thread" library instead of the new, much faster implementation in ext/thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10* ext/Setup: Add thread except for platforms without threadsknu
support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10* ext/thread/lib/thread.rb: Add a replacement of thread.rb thatknu
loads this extension. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10* ext/thread/thread.c (rb_thread_exclusive): Implementknu
Thread.exclusive. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10* ext/thread/thread.c: Get rid of use of a dummy function.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10* ext/thread/thread.c (Init_thread): Define missing aliases:knu
Queue#enq and SizedQueue#enq. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10* ext/win32ole/win32ole.c (ole_variant2val): fix compile errorsuke
on VC++. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-09* ext/win32ole/win32ole.c (ole_variant2val): fix the bug whensuke
SAFEARRAY pointer is NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-09* ext/tk/lib/tk.rb: fix typo (TkConfigMethod::__confinfo_cmd, nagai
__conv_keyonly_opts). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-09* ext/thread: Make style fixes (mostly de-K&R'ism) to match theknu
rest of the source code. * ext/thread: Make USE_MEM_POOLS an extconf option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-09Oops, this is the original form. I committed the wrong file.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-09* ext/thread: Import the "fastthread" implementation by MenTaLguYknu
in the original form. This module is not hooked into the build yet since it needs some style fixes and adjustments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-09* ext/bigdecimal: Synchronize with trunk. Better functionknu
prototypes, removal of a useless method `!=', and document updates. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-06Tue Feb 06 22:06:45 2007 NARUSE, Yui <naruse@ruby-lang.org>naruse
* ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c}: imported nkf 2007-01-28. * Fixed: can't decode MIME encode JIS string. * Fixed: Fullwitdh-halfwidth conversion. * Support DoCoMo's and Softbank's EMOJI * Support CP932, CP5022x, eucJP-ms UDC * Support UTF-32 encoding * Support beyond BMP [ruby-dev:29700] [ruby-dev:29922] [ruby-dev:30144] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-31* ext/tk/sample/images/teapot.ppm: fix the broken file. [ruby-dev:30226]nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-29* ext/tk/sample/tktextio.rb: 'hist_size' option causes error.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-26* ext/tk/lib/tk.rb (TkConfigMethod#__confinfo_cmd,__conv_keyonly_optkeys): nagai
make them private [ruby-dev:30074]. * ext/tk/lib/tk/txtwin_abst.rb: fix typo [ruby-dev:30073]. * ext/tk/lib/tk/canvas.rb (TkCanvas#scan_dragto): lack of an argument. * ext/tk/lib/tk/canvas.rb: clarify the including module name [ruby-dev:30080]. * ext/tk/lib/tk/scrollable.rb: change primary name of modules [ruby-dev:30080]. * ext/tk/lib/tkextlib/iwidgets/checkbox.rb: wrong number of arguments [ruby-Bugs-7776]. * ext/tk/lib/tkextlib/iwidgets/radiobox.rb: ditto. * ext/tk/lib/tkextlib/blt/tile/checkbutton.rb: change primary name of class [ruby-dev:30080]. * ext/tk/lib/tkextlib/blt/tile/radiobutton.rb: ditto. * ext/tk/ChangeLog.tkextlib: update. * ext/tk/lib/tkextlib/version.rb: update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-23* ext/socket/socket.c: fix errors in socket sample code.matz
[ruby-core:09992] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-13remove including header filesuke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-13fix memory leak of win32ole.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-12* ext/etc/etc.c (etc_getpwuid, etc_getgrgid): fix to correctlyknu
convert uid/gid from VALUE. (backport of r11521) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-10* ext/strscan/strscan.c (strscan_do_scan): should set kcode option before ↵aamine
match. [ruby-dev:29914] * test/strscan/test_stringscanner.rb: test it. * re.c: export kcode_set_option and kcode_reset_option (with "rb_" prefix). * intern.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-03Revert r11453matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-03* io.c (ruby_dup): start GC on ENOMEM as well.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31Merge 11443, 11444 and 11445 from trunk.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-14* ext/readline/readline.c: NetBSD editline does not havematz
rl_username_completion_function() and rl_completion_matches(). a patch from Takahiro Kambe <taca at back-street.net>. [ruby-dev:30008] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-11This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-11* ext/digest/sha2/lib/sha2.rb: Moved one level up from underknu
the superfluous subdirectory digest/. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-01* ext/openssl/ossl_ocsp.c: OpenSSL::OCSP::OSCPError should begotoyuzo
subclass of OpenSSL::OpenSSLError. [ruby-dev:29980] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-01* ext/tk/tcltklib.c: shouldn't run the killed thread at callback.nagai
[ruby-talk: 227408] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-22* ext/tk/extconf.rb: support --with-X11/--without-X11 option.nagai
* ext/tk/README.tcltklib: add description about --with-X11-* option [ruby-talk:225166] and --with-X11/--without-X11 option. * ext/tk/tkutil/extconf.rb: able to be called manually [ruby-talk:225950]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-07* ext/digest/lib/digest/hmac.rb: Keep this out of the 1.8 treeknu
until we reach a consensus that HMAC should be put under Digest. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-07* ext/tk/lib/tk/itemconfig.rb: minor bug fix.nagai
* ext/tk/lib/tkextlib/tile/treeview.rb : ditto. * ext/tk/lib/tkextlib/blt/table.rb: fix bugs which forbade use of '::blt::table' command. Now, probably, it'll works properly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-06* ext/tk/lib/tk/itemconfig.rb: bug fix on 'itemconfiginfo' method, andnagai
modify to make it easy to override 'itemconfiginfo' method. * ext/tk/lib/tkextlib/tile/treeview.rb : support Tile 0.7.8. * ext/tk/lib/tkextlib/version.rb : [new] add Tk::Tkextlib_RELEASE_DATE to get the information from scripts. * ext/tk/lib/tk.rb: load 'tkextlib/version.rb', and update RELEASE_DATE. * ext/tk/lib/tkextlib/SUPPORT_STATUS: update. * ext/tk/sample/editable_listbox.rb: [new] the listbox with editable items. It's one of the example about usage of Place geometry manager. * ext/tk/sample/tktextio.rb: improve the functions of TkTextIO class. Those are required by 'irbtkw.rbw'. * ext/tk/sample/irbtkw.rbw: [new] IRB on Ruby/Tk. It doesn't need any real console. IRB works on a text widget without I/O blocking. That is, thread switching on IRB will work properly, even if on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-02* ext/socket/socket.c (ruby_getnameinfo__aix): AF_INET6 workaroundmatz
for AIX. a patch from Yutaka Kanemoto <kinpoco AT gmail.com>. [ruby-dev:29744] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-01* ext/digest/lib/digest/hmac.rb (Digest::HMAC::update): Minorknu
optimization. * ext/digest/digest.c (rb_digest_instance_equal): Allow comparing a digest instance with another of a different class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-26* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_verify): should clear error.gotoyuzo
(fix http://bugs.debian.org/394336) * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-26* ext/digest/digest.c (Init_digest): typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-25* ext/digest, test/digest/test_digest.rb: Merge from trunk:knu
- Introduce versioning in Digest::Base API, and prefix C constants with RUBY_ and C type names with rb_ to avoid name clash in writing extensions. - Introduce Digest::Class and Digest::Instance for ease of implementing subclasses and add-ons. - Digest::Instance module requires and assumes that any instance be resettable and clonable. An instance method #new() is added so digest instances work just like digest classes. - The constructor does no longer take an initial string to feed; digest() and hexdigest() now do, instead. This allows digest classes to take their own hashing parameters. - Make some changes to digest() and hexdigest() class methods, which now take extra arguments, which are passed through to the constructor in an internal call. - Add #digest_length/size/length() and #block_length(), - Add the Digest::SHA2 class to wrap up SHA2 variants: SHA256, SHA384 and SHA512, hoping this module would make a decent example of a digest subclass written in Ruby. - Rip BubbleBabble support out of the base class and have a separate module named digest/bubblebabble. - Remove RD documents in favor of newly written and embedded RDoc documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e