aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/webrick/httpservlet/cgihandler.rbgotoyuzo2005-10-302-0/+30
| | | | | | | | | | | | | | (WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie: header field should be splited into each cookie. [ruby-Bugs:2199] * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method to parse the value of Set-Cookie: header field. * test/webrick/test_cookie.rb, test/webrick/test_cgi.rb, test/webrick/webrick.cgi: add some test for cookie. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* synchronized with date2 3.7tadf2005-10-291-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (scan_once): wrong condition to use mbclen2().matz2005-10-275-74/+445
| | | | | | | | | | [ruby-dev:27535] * time.c (time_sunday): added predicate methods for the days of the week. [ruby-list:41340] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE):nobu2005-10-241-2/+1
| | | | | | | reduce redundant backtrack. [ruby-talk:161771] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc documentation from Eric Hodel <drbrain@segment7.net> added.seki2005-10-243-92/+443
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, lib/mkmf.rb (with_config): support --with-extensionnobu2005-10-221-4/+18
| | | | | | | options. [ruby-dev:27449] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb,nobu2005-10-222-6/+6
| | | | | | | | | | | | ext/tk/sample/tkextlib/treectrl/demo.rb, lib/net/imap.rb, lib/rss/parser.rb, test/rss/test_content.rb, test/rss/test_dublincore.rb, test/rss/test_syndication.rb, test/rss/test_trackback.rb, test/ruby/test_eval.rb, test/socket/test_socket.rb, test/socket/test_udp.rb: Object#fcall was renamed as Object#funcall. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/erb (ERB::Main::run): typo fixed. [ruby-core:06337]matz2005-10-212-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * env.h: move struct METHOD and struct BLOCK from eval.c to support NodeWrap and ParseTree. * rubysig.h (CHECK_INTS): prevent signal handler to run during critical section. [ruby-core:04039] * eval.c (load_wait): need not to call rb_thread_schedule() explicitly. [ruby-core:04039] * eval.c (rb_thread_schedule): clear rb_thread_critical. [ruby-core:04039] * eval.c (rb_obj_instance_exec): create instance_exec and module_exec which pass arguments to the block. * eval.c (rb_f_funcall): rename fcall to funcall to follow tradition. * st.c (st_free_table): do not call free() but xfree(). [ruby-core:06205] * eval.c (splat_value): call rb_Array() to convert svalue to values. [ruby-dev:27397] * lib/cgi.rb (CGI::Cookie::parse): Cookies from Nokia devices may not be parsed correctly. A patch from August Z. Flatby (augustzf) in [ruby-Patches-2595]. [ruby-core:06183] * object.c (rb_Array): Array() to raise error for objects without to_ary, nor to_a. * object.c (nil_to_a): revert NilClass#to_a. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): Borland make seems not to allowocean2005-10-201-2/+2
| | | | | | | | empty dependency list. If this change is not good, please correct it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): get rid of a restrictionnobu2005-10-191-1/+2
| | | | | | | | | of Borland make. fixed: [ruby-dev:27460] * ext/ripper/depend: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): do not create unnecessary emptynobu2005-10-191-3/+2
| | | | | | | directories. fixed: [ruby-dev:27451] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* check remote hash tupleseki2005-10-161-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb: (getbinaryfile): allow nil for localfile, andshugo2005-10-151-17/+34
| | | | | | | | returns retrieved data if localfile is nil. * lib/net/ftp.rb: (gettextfile): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/config.rb (Config::FileHandler): :UserDir should be nil.gotoyuzo2005-10-141-1/+1
| | | | | | | | It is harmful to permit the access to ~/public_html by default. suggested by Hiroyuki Iwatsuki. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matchednobu2005-10-081-2/+2
| | | | | | | | | | | | | | substring directly. * ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a. * test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed change of sample/test.rb. * test/net/http/test_http.rb: removed superfluous splatting stars. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (rb_range_beg_len): should return Qfalse for non-rangematz2005-10-057-87/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object. * pack.c (EXTEND16): [ruby-dev:27383] * eval.c (set_trace_func): add rb_secure(4) to prevent adding tracing function. * lib/delegate.rb: document update from James Edward Gray II <james@grayproductions.net>. [ruby-core:05942] * process.c (proc_daemon): should restrict execution on levels higher than $SAFE=2. suggested by URABE Shyouhei <shyouhei@ice.uec.ac.jp>. * lib/forwardable.rb: replaced by new implementation from <Daniel.Berger@qwest.com>. [ruby-core:05899] * file.c (path_check_0): disallow sticky world writable directory in PATH (and $LOAD_PATH). [ruby-dev:27226] * numeric.c (fix_idiv): 1.div(1.0) should return integer value. [ruby-dev:27235] * lib/yaml.rb: require 'yaml/constants'. [ruby-core:5776] * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): add charset information to content-type header.[ruby-core:5127] * lib/xmlrpc/server.rb (CGIServer::serve): ditto. * lib/xmlrpc/server.rb (ModRubyServer::serve): ditto. * lib/xmlrpc/server.rb (WEBrickServlet::service): ditto. * test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove test_s_open_error test to detect duplicate open. [ruby-dev:27202] * eval.c (splat_value): use to_a to splat non Array object. * object.c (nil_to_a): remove nil.to_a. [experimental] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/server.rb (XMLRPC::Server#initialize): should mount thegotoyuzo2005-10-041-1/+1
| | | | | | | servlet on "/". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/server.rb (XMLRPC::Server#serve): delete wrong callgotoyuzo2005-10-041-1/+1
| | | | | | | of "join". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI.open_loop): prohibit multiple proxyakr2005-09-301-5/+17
| | | | | | | options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (:proxy_http_basic_authentication): new option.akr2005-09-291-11/+47
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string shouldgotoyuzo2005-09-282-2/+3
| | | | | | | | | | refer the value of QUERY_STRING. [ruby-list:41186] * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#query_string=): add new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/basenode.rb (YAML::BaseNode::match_segment): fix typo.nobu2005-09-273-41/+51
| | | | | | | | | | | [ruby-dev:27237], [ruby-core:05854] * lib/yaml/tag.rb (Module#yaml_as): suppress warnings. * lib/yaml/types.rb (YAML::PrivateType, YAML::DomainType): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***nobu2005-09-261-10/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (RequiredArgument#parse): not consume unmatchednobu2005-09-251-15/+11
| | | | | | | argument. fixed [ruby-dev:27316] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (Rinda::TemplateEntry::initialize): pull up method. Tabs converted to spaces.seki2005-09-251-108/+100
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (cd): no longer accept :noop option, related code is ↵aamine2005-09-231-1/+1
| | | | | | useless. [ruby-core:05858] [ruby-Bugs:2494] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#sub): new method.akr2005-09-231-1/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: fix visibility of FileUtils::NoWrite, Verbose, DryRun. ↵aamine2005-09-231-1/+22
| | | | | | | | | | | [ruby-core:05954] * test/fileutils/test_nowrite.rb: test it. * test/fileutils/test_dryrun.rb: new file. * test/fileutils/test_verbose.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (find_executable0): default path if environment is notnobu2005-09-221-1/+10
| | | | | | | set. [ruby-dev:27281] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (configuration): generalized nmake dependent code.nobu2005-09-211-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (default_argv, Arguable#options): defaults stringsnobu2005-09-201-3/+9
| | | | | | | to be parsed to Arguable instance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_scan_scalar): prevent indicators fromwhy2005-09-202-9/+10
| | | | | | | | | | | | | | | | | | | | | | appearing alone or at the end of plain scalars. [ruby-core:5826] * ext/syck/emitter.c (syck_emit_scalar): treat typed scalar nodes as complex keys. * lib/syck.h: version 0.60. * lib/yaml/basenode.rb (YAML::BaseNode#at): transform keys during key searches. * ext/syck/rubyext.c: loading of binary-typed nodes. prevent emission of plain strings that look like symbols, but which aren't. * ext/syck/emitter.c (syck_emit): passing an int* value to the long* parameter causes unaligned access on LP64 systems. [ruby-dev:27161] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb (Fixnum): remove debug print.matz2005-09-192-9/+0
| | | | | | | * lib/rational.rb (Rational): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_close): call rb_io_close() directly if io is a T_FILEmatz2005-09-192-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | object. [ruby-dev:27156] * file.c (file_expand_path): allow pathnames to expand. [ruby-dev:27152] * numeric.c (Init_Numeric): should define Fixnum#div. [ruby-dev:27129] * file.c (rb_thread_flock): wrap flock(2) by TRAP_BEG and TRAP_END. [ruby-dev:27122] * file.c (rb_file_join): call FilePathValue() to all Pathnames to join. [ruby-dev:27127] * file.c (rb_get_path): call StringValueCStr() to ensure no nul bytes in path strings. * gc.c (garbage_collect): need value for return. [ruby-dev:27127] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: method renaming: collect_methods -> collect_method.aamine2005-09-181-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: use module_function instead of single extend.aamine2005-09-181-20/+76
| | | | | | | * test/fileutils/test_fileutils.rb: test existence of singleton methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (remove_entry_secure): does not use chdir(2).aamine2005-09-181-24/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: remove comments that are bungling upwhy2005-09-171-39/+4
| | | | | | | | | | | | | | | | | | the rdoc and ri output. output symbols as plain scalars. * ext/syck/rubyext.c (syck_emitter_reset): emit headless documents always. * ext/syck/emitter.c (syck_scan_scalar): quote scalars with any kind of surrounding line space, tabs or spaces alike. * ext/syck/token.c: accept tabs as whitespace, not for indentation, but strip from plain scalars. * test/yaml/test_yaml.rb: remove outdated tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb (Rational::inspect): should preserve originalmatz2005-09-172-3/+3
| | | | | | | operand. [ruby-core:05806] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/maker/base.rb (RSS::Maker::ItemsBase#normalize): fixedkou2005-09-161-1/+5
| | | | | | | | | | strange RSS::Maker::Item#max_size behavior. Thanks to Kazuhiko <kazuhiko@fdiary.net>. * test/rss/test_maker_1.0.rb (RSS::TestMaker10#test_items): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: supported DIGEST-MD5. Thanks, Mathieu Arnold.shugo2005-09-161-7/+110
| | | | | | | | * lib/net/imap.rb: use fcall instead of send. Thanks, Satoru Takabayashi. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_resolver_transfer): remove C++ stylematz2005-09-162-4/+6
| | | | | | | | | | comment (//). [ruby-core:05793] * lib/net/telnet.rb (Net::Telnet::waitfor): replace sysread with readpartial. [ruby-talk:127641] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to update some files in the previous soap4r-1.5.5 import.nahi2005-09-153-60/+113
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb (WEBrick::CGI::Socket#initialize): should setgotoyuzo2005-09-151-0/+1
| | | | | | | $stdout.binmode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.5.nahi2005-09-1544-583/+798
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #nnn is a ticket number at http://dev.ctor.org/soap4r * SOAP * allow to configure an envelope namespace of SOAP request. (#124) TemporaryNamespace = 'http://www.w3.org/2003/05/soap-envelope' @client.options["soap.envelope.requestnamespace"] = TemporaryNamespace @client.options["soap.envelope.responsenamespace"] = TemporaryNamespace @client.do_proc(...) * let SOAP request XML indent space configuable. see "soap.envelope.no_indent" option. (#130) * let external CES configuable. ex. client["soap.mapping.external_ces"] = 'SJIS'. $KCODE is used by default. (#133) external CES ::= CES used in Ruby object of client and server internal CES ::= CES used in SOAP/OM * add iso-8859-1 external CES support. (#106) * fixed illegal 'qualified' handling of elements. it caused ASP.NET inteoperability problem. (#144) * added 'soap.envelope.use_numeric_character_reference' (boolean) option to let query XML use numeric character reference in XML, not plain UTF-8 character. !GoogleSearch server seems to not allow plain UTF-8 character since 2005-08-15 update. (#147) * SOAP::Header::SimpleHeader (de)serialization throws an exception on !SimpleHeader.on_(in|out)bound when header is a String. so we could not use a simple single element headerItem. fixed. thanks to emil. (#129) * out parameter of rpc operation did not work. (#132) * follow HTTP redirect only if using http-access2. (#125) (#145) * add a workaround for importing an WSDL whose path begins with drive letter. (#115) * WSDL * SOAP Data which is defined as a simpletype was not mapped correctly to Ruby obj when using wsdl2ruby.rb generated classdef file. (#123) * rpc/literal support. (#118) * re-implemented local element qualify/unqualify control. handles elementFormDefault and form in WSDL. (#119) * Array of an element which has simpleType causes a crash. (#128) * prarmeterOrder may not contain return part so it can be shorter than parts size. Thanks to Hugh. (#139) * Samples * added !BasicAuth client sample. (#117) * added Base64 client/server sample. * added Flickr SOAP interface client sample. (#122) * added !SalesForce client sample. (#135) * updated Thawte CA certificate for !GoogleAdWords sample. * updated a client script with the newer version made by Johan. thanks! * shortened long file names. (#120) * fixed typo in authheader sample. (#129) * updated deprecated method usage. (#138) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: add :read_timeout option.akr2005-09-151-0/+11
| | | | | | | [ruby-core:4848] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (Logger): added formatter accessor to logger fornahi2005-09-131-78/+64
| | | | | | | | | | | | | | | | dictating the way in which the logger should format the messages it displays. Thanks to Nicholas Seckar (cf. [ruby-talk:153391]) and Daniel Berger. * lib/logger.rb (Logger): added VERSION constant. * lib/logger.rb: removed document for LogDevice. It is an implementation detail and is not a public interface. * test/logger/test_logger.rb: added tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: wrote docuemntation of HTTPRequest/HTTPResponse classes.aamine2005-09-131-40/+121
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: reworking YAML::Stream to use the newwhy2005-09-138-613/+514
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/trunk@9141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removal of lib/yaml/baseemitter.rb was accidental.why2005-09-131-0/+247
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e