summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* -ser2004-06-1013-121/+244
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic::merge,akira2004-06-093-19/+54
| | | | | | | | | | | URI::Generic::route_from): accepts non-hierarchical URI. [ruby-dev:23631] * test/uri/test_generic.rb (TestGeneric::test_route, TestGeneric::test_merge): added tests for above changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Add support for DragonFly BSD.knu2004-06-092-2/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * config.guess, config.sub: Update to a more recent version as ofknu2004-06-093-110/+239
| | | | | | | 2004-01-20. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: remove unused functions and variables.usa2004-06-091-62/+50
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-09usa2004-06-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: remove unused functions and variables.usa2004-06-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_new4): should share shared instance if it alreadymatz2004-06-052-3/+7
| | | | | | | exists. [ruby-dev:23665] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-04eban2004-06-041-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_gets_m): set lastline ($_) even when read line ismatz2004-06-045-6/+10
| | | | | | | nil. [ruby-dev:23663] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-05-28eban2004-05-281-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): bad influence on frame node.nobu2004-05-282-5/+8
| | | | | | | * eval.c (eval): reverted wrongly removed condition. [ruby-dev:23638] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#initialize): fix pathname initializationakr2004-05-272-1/+14
| | | | | | | by pathname. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fwrite): check all case errno != 0 [ruby-dev:23648]ocean2004-05-272-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb (transaction): allow overriding dump and load.matz2004-05-275-80/+50
| | | | | | | | | [ruby-dev:23567] * lib/yaml/store.rb: follow lib/pstore.rb's change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.shugo2004-05-272-1/+6
| | | | | | | Thanks, Rutger Nijlunsing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fwrite): should check if errnro == ENOENT, too.eban2004-05-272-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fwrite): workaround for bcc32's fwrite bug.eban2004-05-272-2/+11
| | | | | | | add errno checking. [ruby-dev:23627] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-05-27nahi2004-05-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/test_csv.rb: illegal require module name (../lib/csv.rb).nahi2004-05-272-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add test for OpenSSL::SSL.gotoyuzo2004-05-263-0/+264
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_ssl_read): take optional second argumentgotoyuzo2004-05-263-8/+19
| | | | | | | | | | | | | | | | to specify a string to be written. * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#read): take optional second argument to specify a string to be written. * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#gets): refine regexp for end-of-line. * ext/opnessl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder#listen): fix typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (CSV.read, CSV.readlines): added. works as IO.read andnahi2004-05-263-92/+144
| | | | | | | | | | | | | | | IO.readlines in CSV format. * lib/csv.rb (CSV.parse): [CAUTION] behavior changed. in the past, CSV.parse accepts a filename to be read-opened (it was just a shortcut of CSV.open(filename, 'r')). now CSV.parse accepts a string or a stream to be parsed e.g. CSV.parse("1,2\n3,r") #=> [['1', '2'], ['3', '4']] * test/csv/test_csv.rb: follow above changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval, eval): make line number consistent on eval withnobu2004-05-262-4/+10
| | | | | | | Proc. [ruby-talk:101253] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-05-26eban2004-05-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow "do" after "for". Fix up css for standalone code windowdave2004-05-264-10/+34
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_init_copy): copy also positions. [ruby-talk:100910]nobu2004-05-262-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix ML reference.nobu2004-05-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.c (syck_new_parser): clear parser on init.why2004-05-255-25/+24
| | | | | | | | | | | | thanks, ts. [ruby-core:02931] * ext/syck/token.c (sycklex_yaml_utf8): buffer underflow. thanks, ts. [ruby-core:02929] * lib/yaml/baseemitter.rb (indent_text): simpler flow block code. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0, proc_invoke, proc_arity): allow passing a blocknobu2004-05-255-28/+186
| | | | | | | | | to a Proc. [ruby-dev:23533] * parse.y (block_par, block_var): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-05-25eban2004-05-251-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_x509name.rb: short names of some OIDs (serialNumbergotoyuzo2004-05-242-8/+25
| | | | | | | | | and emailAddress) are mismatched between OpenSSL 0.9.6 and 0.9.7. * test/openssl/test_x509store.rb: get rid of unused flag. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (ossl_i2d_ASN1_TYPE, ossl_ASN1_TYPE_free):gotoyuzo2004-05-242-8/+37
| | | | | | | workaround for the versions earlier than OpenSSL-0.9.7. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test Kernel.open accepts pathname object.akr2004-05-241-1/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e