summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/yaml/rubytypes.rb: object and struct loadingwhy2003-05-132-17/+12
| | | | | | | | | * lib/yaml.rb: YAML::detect_implicit will discover typing for a Ruby string * ext/syck/: Fixed portable comments, misuse of NULL and methods without return VALUEs. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/implicit.c, ext/syck/rubyext.c: transfer methods applied to ↵why2003-05-111-11/+11
| | | | | | | | | | | native loading * ext/syck/token.c: fix for transfer methods on same indentation as nested mapping * lib/yaml/rubytypes.rb: all type names in lowercase git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: refine to_s test.akr2003-05-112-11/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP::ObjectMixin#pretty_print): refine to_s handling.akr2003-05-101-5/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/gram.c ext/syck/handler.c ext/syck/implicit.cwhy2003-05-102-29/+87
| | | | | | | | | | | | ext/syck/node.c ext/syck/rubyext.c ext/syck/syck.c ext/syck/syck.h ext/syck/token.c: updated to Syck 0.27 * lib/yaml/loader.rb: new YAML::Loader class * lib/yaml.rb: loading of type families leverages YAML::DefaultLoader git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/yaml/ypath.rb: escape '['.eban2003-05-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * net/imap.rb: use DataFormatError in u16tou8/u8tou16.shugo2003-05-101-9/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (decode_utf7): new method.shugo2003-05-101-0/+145
| | | | | | | * lib/net/imap.rb (encode_utf7): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial checkin of YAML substances.why2003-05-0915-0/+2063
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: rename method: POP3#mail_size -> n_mailsaamine2003-05-061-26/+18
| | | | | | | * lib/net/pop.rb: rename method: POP3#bytes -> n_bytes git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: substitute 'select' with 'values_at'.eban2003-05-052-3/+3
| | | | | | | | * lib/date.rb: ditto. * lib/parsedate.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* synchronized with date2 3.3.2.tadf2003-05-041-15/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: ESMTP -> SMTP transition wrongly fails.aamine2003-05-041-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: APOP did not work. [ruby-dev:20149]aamine2003-05-041-8/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_class_protected_instance_methods): now givesmatz2003-05-021-4/+4
| | | | | | | | | | warnings to show migration path. * lib/delegate.rb (Delegator::initialize): instance_methods etc. now recurse by default. need to specify false. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb: reintroduce Protocol.protocol_param.aamine2003-05-024-3/+14
| | | | | | | | | * lib/net/http.rb: ditto. * lib/net/pop.rb: ditto. * lib/net/smtp.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb: remove Protocol class.aamine2003-05-024-638/+626
| | | | | | | | | | | | | | | | * lib/net/smtp.rb (SMTP): ditto. * lib/net/pop.rb (POP3): ditto. * lib/net/http.rb (HTTP): ditto. * lib/net/protocol.rb: remove Command class. * lib/net/smtp.rb (SMTPCommand): ditto. * lib/net/pop.rb (POP3Command): ditto. * lib/net/pop.rb: remove APOPCommand class. * lib/net/protocol.rb: remove Code class and its all subclasses. * lib/net/protocol.rb: remove Response class and its all subclasses. * lib/net/pop.rb (POPMail): new method unique_id (alias uidl). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb (CGI::Session::initialize): updated tomatz2003-05-021-3/+5
| | | | | | | support 2003-04-23 change in cgi.rb [ruby-core:1002] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_ljust): now takes optional argument to specifymatz2003-05-022-5/+5
| | | | | | | | | | | | | | | | | | | | | | | pad string. [ruby-talk:70482] * string.c (rb_str_rjust): ditto. * string.c (rb_str_center): ditto. * string.c (rb_str_justify): utility function. * eval.c (rb_add_method): call singleton_method_added or method_added for every method definition (after ruby_running). [ruby-talk:70471] * array.c (rb_ary_reverse_bang): Array#reverse! should not return nil even for arrays sized less than 2. * io.c (argf_eof): should not block after reading all argument files. (ruby-bugs-ja PR#449) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: use hashes to pass options.aamine2003-05-021-189/+170
| | | | | | | | * lib/fileutils.rb: new option mkdir(:mode), mkdir_p(:mode). * instruby.rb: follow fileutils.rb feature change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * net/imap.rb: support THREAD extension.shugo2003-04-301-0/+87
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Matrix used range.size, which no longer existsdave2003-04-241-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Re-expose Complex.new as .new! (Kernel#Complex needs to call _something_ :)dave2003-04-241-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix method name typo in Matrix.row_vectordave2003-04-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb (include?): Support non-IPAddr parameters by Dave Thomas. ↵nobu2003-04-241-3/+13
| | | | | | [ruby-core:00980] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::[]): always return Valuematz2003-04-233-4/+6
| | | | | | | object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix ERB::DefMethod bugseki2003-04-221-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg_ambiguous): hopefully better message.matz2003-04-222-13/+11
| | | | | | | * lib/cgi.rb (CGI::QueryExtension::initialize_query): to_ary git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Resource#hash): use XOR to accumulateakr2003-04-212-7/+25
| | | | | | | | | | | hash value. * lib/tsort.rb (TSort#each_strongly_connected_component): don't use block argument. (each_strongly_connected_component_from): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_gc): use rb_gc_mark_maybe() to mark registered Cmatz2003-04-211-1/+1
| | | | | | | | addresses. C variables may not hold valid reference to Ruby objects. [ruby-core:00975] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (void_expr0): node might become NULL after calling remove_begin().eban2003-04-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/fileutils.rb: rm_r should raise Errno::ENOENT if file not exist. ↵aamine2003-04-151-0/+1
| | | | | | [ruby-core:958] Thanks Johan Holmberg. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_func): remove COMMON_HEADERS at first for performance.eban2003-04-121-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb (Benchmark::bm): get rid of warning.nobu2003-04-111-1/+1
| | | | | | | [ruby-talk:69124] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: Exception line was accidentaly removed. [ruby-dev:19989]aamine2003-04-101-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (assign): should prepare mrhs by svalue_to_mrhs().matz2003-04-041-4/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (env_reject_bang): untaint key string.matz2003-03-311-3/+3
| | | | | | | | * hash.c (env_delete_m): execute block only if deleting key does not exist. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb,akr2003-03-299-35/+35
| | | | | | | | | lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert escape for `-' in character class. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added comment for Net::HTTP.get(arg1, arg2, arg3)gsinclair2003-03-281-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* backoutnobu2003-03-261-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* security enhancement of dl library (need test).matz2003-03-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update NotImplementError to NotImplementedError.matz2003-03-235-9/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fread): may lose data on nonblocking read.matz2003-03-232-11/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/jcode.rb (tr!, delete!, szueeze!): add empty string checking.eban2003-03-231-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb, lib/jcode.rb, ext/tk/lib/tk.rb: reorder characterakr2003-03-222-4/+4
| | | | | | | class /[\]\[]/ to /[\[\]]/ to readability. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb: `[', `]', `-' in chracterakr2003-03-221-1/+1
| | | | | | | class in regexp to avoid warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb, lib/uri/common.rb: `[', `]', `-' in chracterakr2003-03-212-4/+4
| | | | | | | class in regexp to avoid warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_compile_pattern): fix previous change.akr2003-03-219-32/+32
| | | | | | | | | | | * instruby.rb, ext/extmk.rb, ext/tk/lib/tk.rb, lib/benchmark.rb, lib/cgi.rb, lib/debug.rb, lib/getoptlong.rb, lib/jcode.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb: escape `[', `]', `-' in chracter class in regexp to avoid warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***nobu2003-03-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#order!): follow recent changenobu2003-03-201-1/+1
| | | | | | | of proc argument. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e