summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Work around OSX strangneness with recvfrom on connection-oriented socketsdave2004-06-232-1/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io_seek()'s retval should be checked [ruby-core:03045]michal2004-06-232-4/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix indentation in time.cmichal2004-06-234-283/+278
| | | | | | | Move stack-len info from main.c to gc.c git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: 0xff should not shift 24 bits on 64 bitmatz2004-06-231-1/+1
| | | | | | | platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: added new option --ssl.shugo2004-06-232-4/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed parsing of %r{} when generating source popupdave2004-06-222-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-23eban2004-06-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_hresult2msg): remove trailingocean2004-06-222-3/+11
| | | | | | | CR and LF. (doesn't depend on CR+LF) [ruby-dev:23694] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_initialize): should check fcntl result. [ruby-dev:23742]nobu2004-06-222-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (return_jump, break_jump): raise unexpceted local jumpnobu2004-06-222-2/+7
| | | | | | | exception directly. [ruby-dev:23740] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): support FZERO and FSPACE with NaN/Inf.usa2004-06-223-3/+95
| | | | | | | * test/ruby/test_sprintf.rb (test_nan, test_inf): add tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (OLE_FREE): should not call CoFreeUnuse-suke2004-06-222-9/+18
| | | | | | | | | | | | dLibraries(). * ext/win32ole/win32ole.c (ole_event_free): ditto. * ext/win32ole/win32ole.c (ole_hresult2msg): truncate error message before CR. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): unify output of NaN, Inf and -Inf withusa2004-06-222-0/+41
| | | | | | | "%f" or etc on all platform. [ruby-dev:23704], [ruby-dev:23747] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove explicit NIL_P() checks since rb_cmpint() does it again in the ↵michal2004-06-222-6/+5
| | | | | | exactly same manner. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-22eban2004-06-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should creategotoyuzo2004-06-214-9/+57
| | | | | | | | | | | | | | | | | | | | | | empty pkey object if no argument is passed. [ruby-talk:103328] * ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto. * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize): ditto. * ext/openssl/ossl_pkey_dh.c: add new methods: OpenSSL::PKey::DH#p, OpenSSL::PKey::DH#p=, OpenSSL::PKey::DH#g, OpenSSL::PKey::DH#g=, OpenSSL::PKey::DH#pub_key, OpenSSL::PKey::DH#pub_key=, OpenSSL::PKey::DH#priv_key and OpenSSL::PKey::DH#priv_key=. * ext/openssl/ossl_pkey_dsa.c: add new methods: OpenSSL::PKey::DSA#p, OpenSSL::PKey::DSA#p=, OpenSSL::PKey::DSA#q, OpenSSL::PKey::DSA#q=, OpenSSL::PKey::DSA#g, OpenSSL::PKey::DSA#g=, OpenSSL::PKey::DSA#pub_key, OpenSSL::PKey::DSA#pub_key=, OpenSSL::PKey::DSA#priv_key and OpenSSL::PKey::DSA#priv_key=. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-21usa2004-06-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir): should set errno if error occursusa2004-06-212-0/+6
| | | | | | | when calling OS API. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_ssl.rb: use Process.kill to kill child processgotoyuzo2004-06-202-17/+24
| | | | | | | instead of waiting for closing popen-ed IO. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-20eban2004-06-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (binary=): send TYPE commands only once.shugo2004-06-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (binary=): send TYPE commands only once.shugo2004-06-201-59/+83
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_set_safe_level, proc_invoke, rb_mod_define_method): notnobu2004-06-193-3/+42
| | | | | | | set $SAFE for methods defined from Proc. [ruby-dev:23697] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (method_call): allow changing $SAFE. [ruby-dev:23713]nobu2004-06-192-4/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-19eban2004-06-191-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/rss/tdiary_plugin/rss-recent.rb: added more information.kou2004-06-182-39/+136
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (eval): adjust indent.nobu2004-06-181-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-18nobu2004-06-181-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_save_safe_level, rb_set_safe_level, safe_setter): limitnobu2004-06-182-1/+13
| | | | | | | safe level. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-17eban2004-06-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_freeze): prepare string representation beforematz2004-06-165-11/+27
| | | | | | | freezing. [ruby-talk:103646] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_pop): rdoc update for new usage. [ruby-core:03022]nobu2004-06-161-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add extend testcase for #first, #last, #shift, #unshift, #pop, #push methods.michal2004-06-162-0/+33
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb: use local variables instead of a globalnobu2004-06-161-49/+49
| | | | | | | variable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-16eban2004-06-161-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_new): move alloc behind checks. [ruby-core:02982]nobu2004-06-162-55/+129
| | | | | | | | | | | | | * array.c (rb_ary_pop_m, rb_ary_shift_m): take arg to behave as push and unshift. * array.c (rb_ary_first, rb_ary_last): make shared array for result array, and correct doc for Array#first(n) and Array#last(n) * array.c (rb_ary_select): not accept any arg. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_class_inherited_p): singleton class inherits Classnobu2004-06-162-0/+10
| | | | | | | rather than its object's class. [ruby-dev:23690] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (stack_grow_direction): memoize the direction.nobu2004-06-162-5/+14
| | | | | | | * gc.c (Init_stack): should always move to end of VALUE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: bug fix (TkWindow#grab)nagai2004-06-152-1/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-14eban2004-06-141-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/remote-tk.rb: bug fixnagai2004-06-142-20/+51
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-13eban2004-06-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) supportnagai2004-06-1218-177/+724
| | | | | | | | | | | | | | * ext/tcltklib/tcltklib.c: fix thread trouble on callback proc, and eliminate warning about instance variable access * ext/tk/lib/tk/menubar.rb: improve supported menu_spec * ext/tk/lib/tk/menuspec.rb: [add] menu_spec support library * ext/tk/lib/tk/root.rb: add menu_spec support * ext/tk/lib/tk/text.rb: bug fix * ext/tk/lib/tk/toplevel.rb: add menu_spec support * ext/tk/sample/menubar?.rb: [add] sample of menu_spec usage git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c: RDOC for File::FNM_CASEFOLD was missed.ocean2004-06-122-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-12eban2004-06-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (target_os): strip -gnu suffix on Linux.eban2004-06-122-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: remove #indexes, #indices.matz2004-06-116-238/+65
| | | | | | | | | | | | | | | | | * hash.c: ditto. * ext/dbm/dbm.c: remove #indexes, #indices, "values_at" warning from #select. * ext/gdbm/gdbm.c: ditto. * ext/sdbm/init.c: ditto. * ext/dbm/dbm.c (Init_dbm): set VERSION constant as "unknown" when DB_VERSION_STRING is not available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-10eban2004-06-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/init.c (fsdbm_store): sdbm should use StringValue().matz2004-06-102-4/+7
| | | | | | | [ruby-talk:103062] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This is the log for the *previous* commit, but CVS is bloody stupid.ser2004-06-103-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added XPath expansion and abbreviation to Parsers::XPathParser * Improved the look of Element.inspect * Added xpath() to Element and Attribute, allowing the generation of a unique xpath for nodes of these types. This method for the other nodes still need to be done * Made REXML::XPathParser#match public First pass at validation support. Minimal RelaxNG support. * The tree parser is now an independant parser, like the rest. * The first basic RelaxNG support is in. It supports elements, attributes, choice, sequence, oneOrMany, zeroOrMany, and optional. Improved support for converting XPaths to strings. * XPath wasn't parsing ")" correctly. Validation improvements: * Fixed text * Fixed attributes in choices * Fixed text in choices. This change improves handling of all events that occur without an end step (which is most of them). * Fixed a bunch of cases * Added support for <group> * Added support for <value> Workin' in the coal mine, goin' down, down, down... * Entirely rewrote the validation code; the finite state machine, while cool, didn't survive the encounter with Interleave. It was getting sort of hacky, too. The new mechanism is less elegant, but is basically still a FSM, and is more flexible without having to add hacks to extend it. Large chunks of the FSM may be reusable in other validation mechanisms. * Added interleave support * Added suppert for mixed * Added Kou's patch to normalize attribute values passed through the SAX2 and Stream parsers. * Applied Kou's preceding-sibling patch, which fixes the order of the axe results git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e