Directory test/yaml/

Directory Created:
2003-10-03 20:51
Total Files:
Deleted Files:
Lines of Code:

Browse with ViewVC


Lines of Code

test/yaml/ Lines of Code


Author Changes Lines of Code Lines per Change
Totals 19 (100.0%) 1334 (100.0%) 70.2
why 7 (36.8%) 1232 (92.4%) 176.0
ocean 3 (15.8%) 47 (3.5%) 15.6
nobu 3 (15.8%) 28 (2.1%) 9.3
akira 2 (10.5%) 23 (1.7%) 11.5
nahi 2 (10.5%) 3 (0.2%) 1.5
matz 1 (5.3%) 1 (0.1%) 1.0
shyouhei 1 (5.3%) 0 (0.0%) 0.0

Most Recent Commits

shyouhei 2007-02-13 00:01

set svn:eol-style

0 lines of code changed in:

ocean 2006-01-16 02:29

* ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item):

should output complex key mark even if map's key is empty seq/map.


19 lines of code changed in:

ocean 2006-01-10 04:50

* lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded in

ruby 1.8.3/1.8.4. [ruby-core:6115]

* lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not

be dumped properly. [ruby-core:7047]

17 lines of code changed in:

ocean 2006-01-10 04:05

* lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quoted

Symbols broken. [ruby-Bugs:2535] (written by Aaron Schrab)

11 lines of code changed in:

why 2005-09-17 18:22

* lib/yaml/rubytypes.rb: remove comments that are bungling up

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.

13 lines of code changed in:

nobu 2004-05-15 05:38

* ext/syck/MANIFEST, ext/syck/depend: new file.

* lib/yaml/rubytypes.rb: range of exponential floats. [ruby-core:02824]

* test/yaml/test_yaml.rb: tests for strings start with colon and some

round trip.

23 lines of code changed in:

why 2004-05-15 04:11

* lib/yaml.rb: removed fallback to pure Ruby parser.

* lib/yaml/baseemitter.rb (node_text): rewriting folded scalars.

* ext/syck/syck.h: reports style of scalars now, be they plain, block

single-, or double-quoted.

* ext/syck/syck.c: ditto.

* ext/syck/gram.c: ditto.

* ext/syck/node.c: ditto.

* ext/syck/token.c: ditto.

* ext/syck/rubyext.c (yaml_org_handler): symbols loaded only

if scalar style is plain.

* test/yaml/test_yaml.rb (test_perl_regexp): updated test to

match new regexp serialization.

2 lines of code changed in:

nahi 2004-02-16 15:41

* lib/csv.rb: document reduction. [ruby-core:02429]

* test/yaml/test_yaml.rb: added 0..1 test with "0".."1" on display.

it should be defined that the specification about what kind of Range

is supported in ruby's custom type in YAML.

2 lines of code changed in:

akira 2004-02-08 08:21

* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):

added tests.

6 lines of code changed in:

akira 2004-02-08 07:43

* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):

added tests. [ruby-core:02306] [ruby-core:02311]

17 lines of code changed in:

nahi 2004-01-29 03:54

* test/rss/test_*: do $: trick while searching a module in the current


* test/xsd/test_xmlschemaparser.rb, test/wsdl/test_emptycomplextype.rb,


test/soap/calc/{test_calc.rb,test_calc2.rb}: do File.expand_path

before using __FILE__.

* test/yaml/test_yaml.rb: assert_equals -> assert_equal.

1 lines of code changed in:

why 2004-01-28 17:59

* ext/syck/rubyext.c: usec round-tripping skew. [ruby-core:2305]

* lib/yaml/rubytypes.rb: character Range now round-trips. [ruby-core:2306]

* test/yaml/test_yaml.rb: add Time and Range tests.

36 lines of code changed in:

nobu 2004-01-13 03:39

* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_spec_type_{int,float}):

fix syntax error.

3 lines of code changed in:

why 2004-01-12 23:55

* ext/syck/bytecode.c: turn off default implicit typing.

* ext/syck/implicit.c: detect base60 integers.

* ext/syck/rubyext.c: handle base60, as well as hex and octal

with commas. implicit typing of ruby symbols.

* test/yaml/test_yaml.rb: add test.

8 lines of code changed in:

why 2003-12-15 19:17

* lib/yaml/rubytypes.rb: comments in strings. [ruby-talk:88012]

* test/yaml/test_yaml.rb: add test.

7 lines of code changed in:

nobu 2003-12-13 01:02

* test/yaml/test_yaml.rb (test_ruby_struct): struct name din not match.

2 lines of code changed in:

why 2003-12-12 19:08

* lib/yaml/rubytypes.rb: anonymous struct fix. [ruby-core:01946]

* test/yaml/test_yaml.rb: add test.

11 lines of code changed in:

matz 2003-11-22 05:00

* gc.c (Init_stack): stack region is far smaller than usual if

pthread is used.

* marshal.c (w_extended): singleton methods should not be checked

when dumping via marshal_dump() or _dump(). [ruby-talk:85909]

* file.c (getcwdofdrv): avoid using getcwd() directly, use

my_getcwd() instead.

* merged NeXT, OpenStep, Rhapsody ports patch from Eric Sunshine

<>. [ruby-core:01596]

* marshal.c (w_object): LINK check earlier than anything else,

i.e. do not dump TYPE_IVAR for already dumped objects.

(ruby-bugs PR#1220)

* eval.c (rb_eval): call "inherited" only when a new class is

generated; not on reopening.

* eval.c (eval): prepend error position in evaluating string to

* revived NextStep, OpenStep, and Rhapsody ports which

had become unbuildable; enhanced --enable-fat-binary option so that

it accepts a list of desired architectures (rather than assuming a

fixed list), or defaults to a platform-appropriate list if user does

not provide an explicit list; made the default list of architectures

for MAB (fat binary) more comprehensive; now uses -fno-common even

when building the interpreter (in addition to using it for

extensions), thus allowing the interpreter to be embedded into a

plugin module of an external project (in addition to allowing

embedding directly into an application); added checks for

<netinet/in_systm.h> (needed by `socket' extension) and getcwd(); now

ensures that -I/usr/local/include is employed when extensions'

extconf.rb scripts invoke have_header() since extension checks on

NextStep and OpenStep will fail without it if the desired resource

resides in the /usr/local tree; fixed formatting of --help message.

* $(LIBRUBY_A) rule now deletes the archive before

invoking $(AR) since `ar' on Apple/NeXT can not "update" MAB archives

(see configure's --enable-fat-binary option); added rule for new


* defines.h: fixed endian handling during MAB build (see configure's

--enable-fat-binary option) to ensure that all portions of the

project see the correct WORDS_BIGENDIAN value (some extension modules

were getting the wrong endian setting); added missing constants

GETPGRP_VOID, WNOHANG, WUNTRACED, X_OK, and type pid_t for NextStep

and OpenStep; removed unnecessary and problematic HAVE_SYS_WAIT_H

define in NeXT section.

* dir.c: do not allow NAMLEN() macro to trust dirent::d_namlen on

NextStep since, on some installations, this value always resolves

uselessly to zero.

* dln.c: added error reporting to NextStep extension loader since the

previous behavior of failing silently was not useful; now ensures

that NSLINKMODULE_OPTION_BINDNOW compatibility constant is defined

for OpenStep and Rhapsody; no longer includes <mach-o/dyld.h> twice

on Rhapsody since this header lacks multiple-include protection,

which resulted in "redefinition" compilation errors.

* main.c: also create hard reference to objc_msgSend() on NeXT

platforms (in addition to Apple platforms).

* lib/mkmf.rb: now exports XCFLAGS from configure script to extension

makefiles so that extensions can be built MAB (see configure's

--enable-fat-binary option); also utilize XCFLAGS in cc_command()

(but not cpp_command() because MAB flags are incompatible with

direct invocation of `cpp').

* ext/curses/extconf.rb: now additionally checks for presence of these

curses functions which are not present on NextStep or Openstep:

bkgd(), bkgdset(), color(), curs(), getbkgd(), init(), scrl(), set(),

setscrreg(), wattroff(), wattron(), wattrset(), wbkgd(), wbkgdset(),

wscrl(), wsetscrreg()

* ext/curses/curses.c: added appropriate #ifdef's for additional set of

curses functions now checked by extconf.rb; fixed curses_bkgd() and

window_bkgd() to correctly return boolean result rather than numeric

result; fixed window_getbkgd() to correctly signal an error by

returning nil rather than -1.

* ext/etc/etc.c: setup_passwd() and setup_group() now check for null

pointers before invoking rb_tainted_str_new2() upon fields extracted

from `struct passwd' and `struct group' since null pointers in some

fields are common on NextStep/OpenStep (especially so for the

`pw_comment' field) and rb_tainted_str_new2() throws an exception

when it receives a null pointer.

* ext/pty/pty.c: include "util.h" for strdup()/ruby_strdup() for

platforms such as NextStep and OpenStep which lack strdup().

* ext/socket/getaddrinfo.c: cast first argument of getservbyname(),

gethostbyaddr(), and gethostbyname() from (const char*) to non-const

(char*) for older platforms such as NextStep and OpenStep.

* ext/socket/socket.c: include "util.h" for strdup()/ruby_strdup() for

platforms such as NextStep and OpenStep which lack strdup(); include

<netinet/in_systm.h> if present for NextStep and OpenStep; cast first

argument of gethostbyaddr() and getservbyname() from (const char*) to

non-const (char*) for older platforms.

* ext/syslog/syslog.c: include "util.h" for strdup()/ruby_strdup() for

platforms such as NextStep and OpenStep which lack strdup().

1 lines of code changed in:

why 2003-10-03 20:51

* ext/syck/rubyext.c: default keys handled.

* ext/syck/syck.h: lowered default buffer size to 16k for increased


* test/yaml: checkin of basic unit tests.

1155 lines of code changed in:

Generated by StatSVN 0.3.2-SNAPSHOT