Permalink
Browse files

Merge git://github.com/280north/narwhal

Conflicts:
	catalog.json
	lib/promise.js
  • Loading branch information...
2 parents 136429d + b1dce3f commit 8c27dbeb29a43628a0a9640a29aff3e772eae000 @kriszyp kriszyp committed Mar 2, 2010
Showing with 2,917 additions and 733 deletions.
  1. +0 −4 .gitignore
  2. +0 −15 DISTRIBUTION.yml
  3. +24 −1 README.md
  4. +0 −350 Rakefile
  5. +0 −7 VERSION.yml
  6. +3 −2 bin/sea
  7. +1,024 −149 catalog-2.json
  8. +68 −3 catalog.json
  9. +57 −47 docs/lib/os/popen.md
  10. +5 −0 engines/rhino/bootstrap.js
  11. +2 −1 engines/rhino/lib/file-engine.js
  12. +927 −0 engines/rhino/lib/fs-base.js
  13. +55 −0 engines/rhino/lib/interpreter.js
  14. +18 −12 engines/rhino/lib/os-engine.js
  15. +10 −0 engines/rhino/lib/system.js
  16. +7 −1 engines/rhino/lib/uuid.js
  17. +0 −44 extconf.rb
  18. +0 −5 gem_bin/narwhal
  19. +0 −4 gem_bin/sea
  20. +0 −4 gem_bin/tusk
  21. +13 −7 lib/args.js
  22. +1 −1 lib/assert.js
  23. +1 −1 lib/file-bootstrap.js
  24. +179 −0 lib/fs-bootstrap.js
  25. +2 −2 lib/loader/multi.js
  26. +6 −2 lib/narwhal.js
  27. +52 −21 lib/narwhal/tusk/commands/install.js
  28. +5 −2 lib/narwhal/tusk/update.js
  29. +36 −1 lib/os.js
  30. +20 −15 lib/packages.js
  31. +1 −1 lib/promise.js
  32. +12 −0 lib/sandbox.js
  33. +1 −1 lib/uri.js
  34. +13 −1 lib/util.js
  35. +7 −2 narwhal.js
  36. +14 −3 package.json
  37. +111 −12 sources.json
  38. +1 −0 tests/all-tests.js
  39. +1 −0 tests/args.js
  40. +21 −0 tests/args/choices.js
  41. +8 −8 tests/args/domain.js
  42. +15 −0 tests/commonjs/assert.js
  43. +23 −0 tests/commonjs/fs-base.js
  44. +81 −0 tests/interpreter.js
  45. +54 −0 tests/os/parse-fuzzer.js
  46. +35 −0 tests/os/popen.js
  47. +0 −1 tests/package/_files/test-sea/packages/test-package-1/lib
  48. +1 −0 tests/package/_files/test-sea/packages/test-package-1/lib
  49. +1 −0 tests/package/_files/test-sea/packages/test-package-2/lib
  50. +0 −1 tests/package/_files/test-sea/packages/test-package-2/lib
  51. +0 −1 tests/package/_files/test-sea/using/domain.com/path/to/catalog/package2/lib
  52. +1 −0 tests/package/_files/test-sea/using/domain.com/path/to/catalog/package2/lib
  53. +0 −1 tests/package/_files/test-sea/using/domain.com/path/to/package1/lib
  54. +1 −0 tests/package/_files/test-sea/using/domain.com/path/to/package1/lib
View
4 .gitignore
@@ -8,8 +8,4 @@ zips
/build
/.tmp
gh-pages
-.hashinfo.yml
Makefile
-engines/jsc
-pkg
-sproutit-narwhal.gemspec
View
15 DISTRIBUTION.yml
@@ -1,15 +0,0 @@
-# This file lists all subprojects that need to be installed in the directory
-# for release. The Rakefile will track Git hash codes for each project in
-# the VERSION.yml file
-#
-# Each entry should have the following format:
-#
-# path/to/item:
-# repo: GIT/SVN URL
-# scm: git|svn <- type of source control system. defaults to git
-#
-
-engines/jsc:
- repo: git://github.com/tlrobinson/narwhal-jsc.git
-
-
View
25 README.md
@@ -1,3 +1,23 @@
+<script>
+function addEvent(obj, evType, fn) {
+ if (obj.addEventListener){
+ obj.addEventListener(evType, fn, false);
+ return true;
+ } else if (obj.attachEvent){
+ var r = obj.attachEvent("on"+evType, fn);
+ return r;
+ } else {
+ return false;
+ }
+}
+
+addEvent(window, 'load',
+ function() {
+ document.getElementById('github_notice').style.display='none';
+ }
+);
+</script>
+
Narwhal
=======
@@ -31,6 +51,9 @@ Combined with [Jack](http://jackjs.org/), a [Rack](http://rack.rubyforge.org/)-l
Documentation
-------------
+<div id="github_notice">
+<strong>Note:</strong> If you are viewing this on GitHub, the links below will not work. Find the pages listed below in the <strong>docs/</strong> directory of this repository.
+</div>
* [Quick Start](quick-start.html)
* [Packages](packages.html)
* [How to Install Packages](packages.html)
@@ -46,7 +69,7 @@ Contributors
* [Tom Robinson](http://tlrobinson.net/)
* [Kris Kowal](http://askawizard.blogspot.com/)
-* [George Moschovitis](http://blog.gmosx.com/)
+* [George Moschovitis](http://www.gmosx.com/)
* [Kevin Dangoor](http://www.blueskyonmars.com/)
* Hannes Wallnöfer
* Sébastien Pierre
View
350 Rakefile
@@ -1,350 +0,0 @@
-# ===========================================================================
-# Project: Narwhal Rakefile
-# Copyright: ©2009 Apple Inc. and contributors
-# ===========================================================================
-
-# Rakefile used to build the Narwhal Gem. Requires Jeweler to function.
-
-ROOT_PATH = File.dirname(__FILE__)
-PKG_NAME = 'narwhal'
-
-# files to ignore changes in
-IGNORE_CHANGES = %w[.gitignore .gitmodules .DS_Store .gemspec VERSION.yml ^pkg ^tmp]
-
-# Get the DISTRIBUTION info
-require 'yaml'
-DIST = YAML.load File.read(File.expand_path(File.join(ROOT_PATH, 'DISTRIBUTION.yml')))
-
-# Make empty to not use sudo
-SUDO = 'sudo'
-
-################################################
-## LOAD DEPENDENCIES
-##
-begin
- require 'rubygems'
- require 'jeweler'
- require 'extlib'
- require 'fileutils'
- require 'spec/rake/spectask'
-
- $:.unshift(ROOT_PATH / 'lib')
- require 'sproutcore'
-
-rescue LoadError => e
- $stderr.puts "WARN: some required gems are not installed (try rake init to setup)"
- $stderr.puts e
-end
-
-
-################################################
-## PROJECT DESCRIPTION
-##
-
-Jeweler::Tasks.new do |gemspec|
- gemspec.name = 'sproutit-narwhal'
- gemspec.authors = 'Developed by Tom Robinson and contributors. Gem publish by Charles Jolley'
- gemspec.email = 'contact@sproutcore.com'
- gemspec.homepage = 'http://www.narwhaljs.org'
- gemspec.summary = "CommonJS Command Line"
-
- gemspec.add_development_dependency 'extlib', ">= 0.9.9"
- gemspec.add_development_dependency 'gemcutter', ">= 0.1.0"
- gemspec.add_development_dependency 'jeweler', ">= 1.0.0"
-
- gemspec.rubyforge_project = "sproutit-narwhal"
-
- gemspec.files.include *%w[engines/jsc/**/* extconf.rb]
- gemspec.files.exclude *%w[.gitignore .gitmodules .DS_Store tmp .hashinfo .svn .git narwhal.conf ./Makefile]
- gemspec.files.exclude *%w[engines/jsc/**/*.dylib engines/jsc/**/*.dylib.dSYM engines/jsc/**/*.so engines/jsc/**/*.dll engines/jsc/**/*.o engines/jsc/**/*.s engines/jsc/**/*.ii engines/jsc/bin/*]
-
- gemspec.description = File.read(ROOT_PATH / 'README.md')
-
- # name specifically b/c some of the ones in the bin dir aren't useful as gem
- gemspec.executables = %w(narwhal sea tusk)
- gemspec.extensions = ['extconf.rb']
- gemspec.bindir = 'gem_bin'
-
-end
-
-Jeweler::RubyforgeTasks.new do |rubyforge|
- rubyforge.doc_task = 'rdoc'
-end
-
-Jeweler::GemcutterTasks.new
-
-
-def git(path, cmd, log=true)
- $stdout.puts("#{path.sub(ROOT_PATH, '')}: git #{cmd}") if log
- git_path = path / '.git'
- git_index = git_path / 'index'
-
- # The env can become polluted; breaking git. This will avoid that.
- %x[GIT_DIR=#{git_path}; GIT_WORK_TREE=#{path}; GIT_INDEX_FILE=#{git_index}; git #{cmd}]
-end
-
-################################################
-## CORE TASKS
-##
-
-desc "performs an initial setup on the tools. Installs gems, checkout"
-task :init => [:install_gems, 'dist:init', 'dist:update']
-
-task :install_gems do
- $stdout.puts "Installing gems (may ask for password)"
- system %[#{SUDO} gem install jeweler gemcutter extlib] # dev req
-end
-
-namespace :dist do
-
- desc "checkout any frameworks in the distribution"
- task :init do
- $stdout.puts "Setup distribution"
-
- DIST.each do |rel_path, opts|
- path = ROOT_PATH / rel_path
- repo_url = opts['repo']
-
- if !File.exists?(path / ".git")
- $stdout.puts " Creating repo for #{rel_path}"
- FileUtils.mkdir_p File.dirname(path)
-
- $stdout.puts "\n> git clone #{repo_url} #{path}"
- system "GIT_WORK_TREE=#{path}; cd #{File.dirname(path)}; git clone #{repo_url} #{File.basename(path)}"
-
- else
- $stdout.puts "Found #{rel_path}"
- end
- end
- end
-
- desc "make the version of each distribution item match the one in VERSION"
- task :update => 'dist:init' do
- $stdout.puts "Setup distribution"
-
- # Use this to get the commit hash
- version_file = ROOT_PATH / 'VERSION.yml'
- if File.exist?(version_file)
- versions = YAML.load File.read(version_file)
- versions = (versions['dist'] || versions[:dist]) if versions
- versions ||= {}
- end
-
- DIST.each do |rel_path, opts|
- path = ROOT_PATH / rel_path
-
- if File.exists?(path / ".git") && versions[rel_path]
- sha = versions[rel_path]
-
- $stdout.puts "\n> git fetch"
- $stdout.puts git(path, 'fetch')
-
- $stdout.puts "\n> git checkout #{sha}"
- $stdout.puts git(path, 'checkout #{sha}')
- else
- $stdout.puts "WARN: cannot fix version for #{rel_path}"
- end
-
- end
- end
-
-end
-
-namespace :release do
-
- desc "tags the current repository and any distribution repositories. if you can push to distribution, then push tag as well"
- task :tag => :update_version do
- tag_name = "REL-#{RELEASE_VERSION}"
- DIST.keys.push(PKG_NAME).each do |rel_path|
- full_path = rel_path==PKG_NAME ? ROOT_PATH : (ROOT_PATH / rel_path)
- git(full_path, "tag -f #{tag_name}")
- end
- end
-
- task :push_tags => :tag do
- tag_name = "REL-#{RELEASE_VERSION}"
- DIST.keys.push(PKG_NAME).each do |rel_path|
- full_path = rel_path==PKG_NAME ? ROOT_PATH : (ROOT_PATH / rel_path)
- git(full_path, "push origin #{tag_name}")
- end
- end
-
-
- desc "prepare release. verify clean, update version, tag"
- task :prepare => ['git:verify_clean', :update_version, :tag, :push_tags]
-
- desc "release to rubyforge for old skool folks"
- task :rubyforge => [:prepare, 'rubyforge:release']
-
- desc "release to gemcutter for new skool kids"
- task :gemcutter => [:prepare, 'gemcutter:release']
-
- desc "one release to rule them all"
- task :all => [:prepare, 'release:gemcutter'] #gemcutter only for now
- #task :all => [:prepare, 'release:gemcutter', 'release:rubyforge']
-
-end
-
-desc "computes the current hash of the code. used to autodetect build changes"
-task :hash_content do
-
- require 'yaml'
- require 'digest/md5'
-
- ignore = IGNORE_CHANGES.map do |x|
- if x =~ /^\^/
- /^#{Regexp.escape(ROOT_PATH / x[1..-1])}/
- else
- /#{Regexp.escape(x)}/
- end
- end
-
- # First, get the hashinfo if it exists. use this to decide if we need to
- # rehash
- hashinfo_path = ROOT_PATH / '.hashinfo.yml'
- hash_date = 0
- hash_digest = nil
-
- if File.exist?(hashinfo_path)
- yaml = YAML.load_file(hashinfo_path)
- hash_date = yaml['date'] || yaml[:date] || hash_date
- hash_digest = yaml['digest'] || yaml[:digest] || hash_digest
- end
-
- # paths to search
- paths = Dir.glob(File.join(ROOT_PATH, '**', '*')).reject do |path|
- File.directory?(path) || (ignore.find { |i| path =~ i })
- end
-
- cur_date = 0
- paths.each do |path|
- mtime = File.mtime(path)
- mtime = mtime.nil? ? 0 : mtime.to_i
- $stdout.puts "detected file change: #{path.gsub(ROOT_PATH,'')}" if mtime > hash_date
- cur_date = mtime if mtime > cur_date
- end
-
- if hash_digest.nil? || (cur_date != hash_date)
- digests = paths.map do |path|
- Digest::SHA1.hexdigest(File.read(path))
- end
- digests.compact!
- hash_digest = Digest::SHA1.hexdigest(digests.join)
- end
- hash_date = cur_date
-
- # write cache
- File.open(hashinfo_path, 'w+') do |f|
- YAML.dump({ :date => hash_date, :digest => hash_digest }, f)
- end
-
- # finally set the hash
- CONTENT_HASH = hash_digest
- $stdout.puts "CONTENT_HASH = #{CONTENT_HASH}"
-end
-
-desc "updates the VERSION file, bumbing the build rev if the current commit has changed"
-task :update_version => 'hash_content' do
-
- path = ROOT_PATH / 'VERSION.yml'
-
- require 'yaml'
-
- # first, load the current yaml if possible
- major = 1
- minor = 0
- build = 99
- rev = '-0-'
- dist = {}
-
- if File.exist?(path)
- yaml = YAML.load_file(path)
- major = yaml['major'] || yaml[:major] || major
- minor = yaml['minor'] || yaml[:minor] || minor
- build = yaml['patch'] || yaml[:patch] || build
- rev = yaml['digest'] || yaml[:digest] || rev
- end
-
- build += 1 if rev != CONTENT_HASH #increment if needed
- rev = CONTENT_HASH
-
- # Update distribution versions
- DIST.each do |rel_path, ignored|
- dist_path = ROOT_PATH / rel_path
- if File.exists?(dist_path)
- dist_rev = git(dist_path, "log HEAD^..HEAD")
- dist_rev = dist_rev.split("\n").first.scan(/commit ([^\s]+)/)
- dist_rev = ((dist_rev || []).first || []).first
-
- if dist_rev.nil?
- $stdout.puts " WARN: cannot find revision for #{rel_path}"
- else
- dist[rel_path] = dist_rev
- end
- end
- end
-
- $stdout.puts "write version #{[major, minor, build].join('.')} => #{path}"
- File.open(path, 'w+') do |f|
- YAML.dump({
- :major => major,
- :minor => minor,
- :patch => build,
- :digest => rev,
- :dist => dist
- }, f)
- end
-
- RELEASE_VERSION = "#{major}.#{minor}.#{build}"
-
-end
-
-desc "cleanup the pkg dir"
-task :clean do
- path = ROOT_PATH / 'pkg'
- FileUtils.rm_r(path) if File.directory?(path)
- `rm #{ROOT_PATH / '*.gem'}`
-end
-
-namespace :git do
-
- desc "verifies there are no pending changes to commit to git"
- task :verify_clean do
- DIST.keys.push(PKG_NAME).each do |repo_name|
- full_path = repo_name==PKG_NAME ? ROOT_PATH : (ROOT_PATH / repo_name)
-
- result = git(full_path, 'status')
-
- if !(result =~ /nothing to commit \(working directory clean\)/)
- if (repo_name != PKG_NAME) ||
- (!(result =~ /#\n#\tmodified: VERSION.yml\n#\n/))
- $stderr.puts "\nFATAL: Cannot complete task: changes are still pending in the '#{repo_name}' repository."
- $stderr.puts " Commit your changes to git to continue.\n\n"
- exit(1)
- end
- end
- end
- end
-
- desc "Collects the current SHA1 commit hash into COMMIT_ID"
- task :collect_commit do
- log = `git log HEAD^..HEAD`
- COMMIT_ID = log.split("\n").first.match(/commit ([\w]+)/).to_a[1]
- if COMMIT_ID.empty?
- $stderr.puts "\nFATAL: Cannot discover current commit id"
- exit(1)
- else
- $stdout.puts "COMMIT_ID = #{COMMIT_ID}"
- end
- end
-
-end
-
-# Write a new version everytime we generate
-task 'gemspec:generate' => :update_version
-task 'rubyforge:setup' => :update_version
-
-Spec::Rake::SpecTask.new
-
-
-# EOF
View
7 VERSION.yml
@@ -1,7 +0,0 @@
----
-:minor: 2
-:patch: 106
-:digest: 1fb1e1ec39f87eddb09a18304402b7c09f366bbe
-:dist:
- engines/jsc: 89097446434f3ff6763ad41b02b0ea7b9d5794eb
-:major: 0
View
5 bin/sea
@@ -34,9 +34,10 @@ if [ "$#" -lt 1 ]; then
echo PATH="$PATH" >&2
echo SEA="$SEA" >&2
echo SEALVL="$SEALVL" >&2
- "$SHELL" --noprofile --norc
+ # __SHELL_CUSTOMIZATIONS__
+ "$SHELL"
else
- "$SHELL" --noprofile --norc -c "$(enquote_all "$@")"
+ "$SHELL" -c "$(enquote_all "$@")"
fi
if [ "$OLDSEA" != "" ]; then
echo SEA="$OLDSEA" >&2
View
1,173 catalog-2.json
@@ -4,6 +4,11 @@
"packages": {
"narwhal": {
"name": "narwhal",
+ "version": [
+ "0",
+ "2",
+ "1"
+ ],
"description": "A general purpose JavaScript platform",
"keywords": [
"javascript",
@@ -12,13 +17,14 @@
],
"author": {
"name": "Tom Robinson",
- "url": "http://tlrobinson.net/"
+ "url": "http://tlrobinson.net/",
+ "email": "tom@280north.com"
},
"contributors": [
{
"name": "Tom Robinson",
"url": "http://tlrobinson.net/",
- "email": "tlrobinson@280north.com"
+ "email": "tom@280north.com"
},
{
"name": "Kris Kowal",
@@ -81,23 +87,29 @@
"lib": [
"lib"
],
- "lean": [
- "lib",
- "engines"
- ],
- "descriptorUrl": "http://github.com/tlrobinson/narwhal/raw/master/package.json",
- "packageUrl": "http://github.com/tlrobinson/narwhal/zipball/master",
+ "lean": {
+ "include": [
+ "engines/default/**/*",
+ "engines/rhino/bootstrap.js",
+ "engines/rhino/lib/**/*",
+ "engines/rhino/package.json",
+ "lib/**/*",
+ "narwhal.js",
+ "package.json"
+ ]
+ },
+ "descriptorUrl": "http://github.com/280north/narwhal/raw/master/package.json",
+ "packageUrl": "http://github.com/280north/narwhal/zipball/master",
"packageArchive": "zip",
"source": {
"type": "github",
- "user": "tlrobinson",
+ "user": "280north",
"packageName": "narwhal",
- "descriptorUrl": "http://github.com/tlrobinson/narwhal/raw/master/package.json",
- "url": "http://github.com/tlrobinson/narwhal/zipball/master",
+ "descriptorUrl": "http://github.com/280north/narwhal/raw/master/package.json",
+ "url": "http://github.com/280north/narwhal/zipball/master",
"archive": "zip"
},
- "dependencies": [],
- "version": []
+ "dependencies": []
},
"narwhal-jsc": {
"name": "narwhal-jsc",
@@ -117,24 +129,28 @@
"javascriptcore",
"webkit"
],
- "descriptorUrl": "http://github.com/tlrobinson/narwhal-jsc/raw/master/package.json",
- "packageUrl": "http://github.com/tlrobinson/narwhal-jsc/zipball/master",
+ "version": [
+ "0",
+ "1",
+ "1"
+ ],
+ "descriptorUrl": "http://github.com/280north/narwhal-jsc/raw/master/package.json",
+ "packageUrl": "http://github.com/280north/narwhal-jsc/zipball/master",
"packageArchive": "zip",
"source": {
"type": "github",
- "user": "tlrobinson",
+ "user": "280north",
"packageName": "narwhal-jsc",
- "descriptorUrl": "http://github.com/tlrobinson/narwhal-jsc/raw/master/package.json",
- "url": "http://github.com/tlrobinson/narwhal-jsc/zipball/master",
+ "descriptorUrl": "http://github.com/280north/narwhal-jsc/raw/master/package.json",
+ "url": "http://github.com/280north/narwhal-jsc/zipball/master",
"archive": "zip"
},
"contributors": [
{
"name": "Tom Robinson",
"url": "http://tlrobinson.net/"
}
- ],
- "version": []
+ ]
},
"narwhal-v8": {
"name": "narwhal-v8",
@@ -212,22 +228,80 @@
},
"narwhal-xulrunner": {
"name": "narwhal-xulrunner",
+ "description": "XULRunner engine support for Narwhal",
"engine": "xulrunner",
- "dependencies": [
- "narwhal"
+ "version": [
+ "0",
+ "1",
+ "0"
],
- "author": {
- "name": "Irakli Gozalishvili",
- "url": "http://rfobic.wordpress.com/"
- },
- "description": "XULRunner engine support for Narwhal",
"keywords": [
"narwhal",
"engine",
"xulrunner",
"mozilla",
"extension"
],
+ "maintainers": [
+ {
+ "name": "Irakli Gozalishvili",
+ "email": "rfobic@gmail.com",
+ "web": "http://rfobic.wordpress.com/"
+ }
+ ],
+ "contributors": [
+ {
+ "name": "Irakli Gozalishvili",
+ "email": "rfobic@gmail.com"
+ },
+ {
+ "name": "Christoph Dorn"
+ },
+ {
+ "name": "Kris Kowal",
+ "email": "kris.kowal@cixar.com"
+ },
+ {
+ "name": "Zach Carter"
+ }
+ ],
+ "bugs": {
+ "web": "http://github.com/Gozala/narwhal-xulrunner/issues/"
+ },
+ "licenses": [
+ {
+ "type": "MPL"
+ },
+ {
+ "type": "GPL 2.0"
+ },
+ {
+ "type": "LGPL 2.1"
+ },
+ {
+ "type": "MIT"
+ }
+ ],
+ "repositories": [
+ {
+ "type": "git",
+ "url": "git://github.com/Gozala/narwhal-xulrunner.git"
+ }
+ ],
+ "os": [
+ "linux",
+ "macos",
+ "win"
+ ],
+ "cpu": [
+ "x86",
+ "ppc",
+ "x86_64"
+ ],
+ "directories": {
+ "lib": "lib",
+ "bin": "bin"
+ },
"descriptorUrl": "http://github.com/Gozala/narwhal-xulrunner/raw/master/package.json",
"packageUrl": "http://github.com/Gozala/narwhal-xulrunner/zipball/master",
"packageArchive": "zip",
@@ -239,13 +313,7 @@
"url": "http://github.com/Gozala/narwhal-xulrunner/zipball/master",
"archive": "zip"
},
- "contributors": [
- {
- "name": "Irakli Gozalishvili",
- "url": "http://rfobic.wordpress.com/"
- }
- ],
- "version": []
+ "dependencies": []
},
"narwhal-jaxer": {
"name": "narwhal-jaxer",
@@ -304,16 +372,6 @@
},
"jack": {
"name": "jack",
- "dependencies": [
- "narwhal"
- ],
- "jars": [
- "jars/simple-4.1.10.jar"
- ],
- "author": {
- "name": "Tom Robinson",
- "url": "http://tlrobinson.net/"
- },
"description": "A library of JSGI middleware, handlers, and utilities, based on Rack",
"keywords": [
"web server",
@@ -322,28 +380,76 @@
"rack",
"wsgi"
],
+ "author": {
+ "name": "Tom Robinson",
+ "url": "http://tlrobinson.net/"
+ },
+ "contributors": [
+ {
+ "name": "Tom Robinson",
+ "url": "http://tlrobinson.net/",
+ "email": "tom@280north.com"
+ },
+ {
+ "name": "George Moschovitis",
+ "url": "http://blog.gmosx.com/"
+ },
+ {
+ "name": "Kris Kowal",
+ "url": "http://askawizard.blogspot.com/",
+ "email": "kris.kowal@cixar.com"
+ },
+ {
+ "name": "Neville Burnell"
+ },
+ {
+ "name": "Isaac Z. Schlueter",
+ "url": "http://blog.izs.me/"
+ },
+ {
+ "name": "Jan Varwig"
+ },
+ {
+ "name": "Irakli Gozalishvili",
+ "url": "http://rfobic.wordpress.com/"
+ },
+ {
+ "name": "Kris Zyp",
+ "url": "http://www.sitepen.com/blog/author/kzyp/"
+ },
+ {
+ "name": "Kevin Dangoor",
+ "url": "http://www.blueskyonmars.com/"
+ },
+ {
+ "name": "Antti Holvikari"
+ },
+ {
+ "name": "Tim Schaub"
+ }
+ ],
+ "dependencies": [
+ "narwhal"
+ ],
+ "jars": [
+ "jars/simple-4.1.10.jar"
+ ],
"version": [
"0",
"1",
"2"
],
- "descriptorUrl": "http://github.com/tlrobinson/jack/raw/master/package.json",
- "packageUrl": "http://github.com/tlrobinson/jack/zipball/master",
+ "descriptorUrl": "http://github.com/280north/jack/raw/master/package.json",
+ "packageUrl": "http://github.com/280north/jack/zipball/master",
"packageArchive": "zip",
"source": {
"type": "github",
- "user": "tlrobinson",
+ "user": "280north",
"packageName": "jack",
- "descriptorUrl": "http://github.com/tlrobinson/jack/raw/master/package.json",
- "url": "http://github.com/tlrobinson/jack/zipball/master",
+ "descriptorUrl": "http://github.com/280north/jack/raw/master/package.json",
+ "url": "http://github.com/280north/jack/zipball/master",
"archive": "zip"
- },
- "contributors": [
- {
- "name": "Tom Robinson",
- "url": "http://tlrobinson.net/"
- }
- ]
+ }
},
"nitro": {
"name": "nitro",
@@ -358,8 +464,7 @@
},
"email": "george.moschovitis@gmail.com",
"dependencies": [
- "jack",
- "template"
+ "jack"
],
"contributors": [
{
@@ -509,6 +614,7 @@
"name": "browserjs",
"version": [
"0",
+ "1",
"1"
],
"dependencies": [
@@ -525,15 +631,15 @@
"dom",
"xmlhttprequest"
],
- "descriptorUrl": "http://github.com/tlrobinson/browserjs/raw/master/package.json",
- "packageUrl": "http://github.com/tlrobinson/browserjs/zipball/master",
+ "descriptorUrl": "http://github.com/280north/browserjs/raw/master/package.json",
+ "packageUrl": "http://github.com/280north/browserjs/zipball/master",
"packageArchive": "zip",
"source": {
"type": "github",
- "user": "tlrobinson",
+ "user": "280north",
"packageName": "browserjs",
- "descriptorUrl": "http://github.com/tlrobinson/browserjs/raw/master/package.json",
- "url": "http://github.com/tlrobinson/browserjs/zipball/master",
+ "descriptorUrl": "http://github.com/280north/browserjs/raw/master/package.json",
+ "url": "http://github.com/280north/browserjs/zipball/master",
"archive": "zip"
},
"contributors": [
@@ -606,20 +712,28 @@
},
"appengine": {
"name": "appengine",
- "description": "A port of the Python AppEngine API to JavaScript",
+ "description": "A port of the Python Google App Engine SDK to JavaScript",
"keywords": [
"google",
"appengine",
"cloud",
"datastore"
],
- "author": {
- "name": "George Moschovitis"
- },
- "email": "george.moschovitis@gmail.com",
+ "maintainers": [
+ {
+ "name": "George Moschovitis",
+ "email": "george.moschovitis@gmail.com",
+ "web": "http://www.gmosx.com"
+ }
+ ],
"contributors": [
{
- "name": "George Moschovitis"
+ "name": "George Moschovitis",
+ "email": "george.moschovitis@gmail.com"
+ },
+ {
+ "name": "Christoph Dorn",
+ "email": "christoph@christophdorn.com"
}
],
"lib": "lib",
@@ -654,6 +768,14 @@
"servlet",
"jsgi"
],
+ "lean": {
+ "include": [
+ "build.xml",
+ "src/**/*",
+ "war/WEB-INF/appengine-web.xml",
+ "war/WEB-INF/web.xml"
+ ]
+ },
"descriptorUrl": "http://github.com/tlrobinson/jack-servlet/raw/master/package.json",
"packageUrl": "http://github.com/tlrobinson/jack-servlet/zipball/master",
"packageArchive": "zip",
@@ -682,8 +804,8 @@
},
"version": [
"1",
- "2",
- "2"
+ "3",
+ "0"
],
"dependencies": [
"jack-servlet",
@@ -885,40 +1007,57 @@
},
"jsdocs": {
"name": "jsdocs",
- "description": "Tool for generating template-formatted, multi-page HTML (or XML, JSON, or any other text-based) documentation from commented JavaScript source code.",
+ "description": "JavaScript documentation generator. Tool for generating template-formatted, multi-page HTML (or XML, JSON, or any other text-based) documentation from commented JavaScript source code.",
+ "version": [
+ "0",
+ "1",
+ "0"
+ ],
"keywords": [
"jsdoc",
"documentation"
],
- "author": {
- "name": "Irakli Gozalishvili",
- "url": "http://rfobic.wordpress.com/"
- },
- "email": "rfobic@gmail.com",
- "lib": [
- "lib"
+ "maintainers": [
+ {
+ "name": "Irakli Gozalishvili",
+ "email": "rfobic@gmail.com",
+ "web": "http://rfobic.wordpress.com/"
+ }
],
- "lean": [
- "lib",
- "engines"
+ "contributors": [
+ {
+ "name": "Irakli Gozalishvili",
+ "email": "rfobic@gmail.com"
+ }
],
- "version": {
- "label": "0.1",
- "numeric": [
- 0,
- 1
- ],
- "status": "development"
+ "bugs": {
+ "web": "http://github.com/Gozala/jsdocs/issues/"
},
- "license": [
- "MPL 1.1",
- "GPL 2.0",
- "LGPL 2.1"
+ "licenses": [
+ {
+ "type": "MIT"
+ }
],
- "dependencies": [
- "syntax-stroop",
- "seethrough"
+ "repositories": [
+ {
+ "type": "git",
+ "url": "git://github.com/Gozala/jsdocs.git"
+ }
+ ],
+ "os": [
+ "linux",
+ "macos",
+ "win"
+ ],
+ "cpu": [
+ "x86",
+ "ppc",
+ "x86_64"
],
+ "directories": {
+ "lib": "lib",
+ "bin": "bin"
+ },
"descriptorUrl": "http://github.com/Gozala/jsdocs/raw/master/package.json",
"packageUrl": "http://github.com/Gozala/jsdocs/zipball/master",
"packageArchive": "zip",
@@ -930,12 +1069,7 @@
"url": "http://github.com/Gozala/jsdocs/zipball/master",
"archive": "zip"
},
- "contributors": [
- {
- "name": "Irakli Gozalishvili",
- "url": "http://rfobic.wordpress.com/"
- }
- ]
+ "dependencies": []
},
"syntax-stroop": {
"name": "syntax-stroop",
@@ -1166,7 +1300,7 @@
"version": [
"0",
"1",
- "1"
+ "2"
],
"descriptorUrl": "http://github.com/280north/jake/raw/master/package.json",
"packageUrl": "http://github.com/280north/jake/zipball/master",
@@ -1500,7 +1634,7 @@
"email": "sergi.mansilla@gmail.com"
},
"jars": [
- "jars/mongo-0.11.jar"
+ "mongo-1.2.jar"
],
"email": "sergi.mansilla@gmail.com",
"dependencies": [],
@@ -1735,9 +1869,7 @@
"ojunit": {
"name": "ojunit",
"dependencies": [
- "narwhal",
- "objective-j",
- "cappuccino"
+ "narwhal"
],
"author": {
"name": "Tom Robinson",
@@ -1753,6 +1885,15 @@
},
{
"name": "Martin Hacker"
+ },
+ {
+ "name": "Derek Hammer"
+ },
+ {
+ "name": "Francisco Tolmasky"
+ },
+ {
+ "name": "Andrew Burkhalter"
}
],
"description": "A simple Objective-J unit test framework.",
@@ -1765,6 +1906,11 @@
"objj-frameworks": [
"Framework"
],
+ "version": [
+ "0",
+ "1",
+ "0"
+ ],
"descriptorUrl": "http://github.com/280north/ojunit/raw/master/package.json",
"packageUrl": "http://github.com/280north/ojunit/zipball/master",
"packageArchive": "zip",
@@ -1775,8 +1921,7 @@
"descriptorUrl": "http://github.com/280north/ojunit/raw/master/package.json",
"url": "http://github.com/280north/ojunit/zipball/master",
"archive": "zip"
- },
- "version": []
+ }
},
"qxoo": {
"name": "qxoo",
@@ -1842,48 +1987,14 @@
],
"version": []
},
- "observable": {
- "name": "observable",
- "description": "JavaScript framework for Observable mixins with plugin support",
- "keywords": [
- "observable",
- "mixin",
- "event",
- "plugin"
+ "ojmoq": {
+ "name": "ojmoq",
+ "dependencies": [
+ "narwhal",
+ "objective-j"
],
"author": {
- "name": "Nathan Stott"
- },
- "email": "nathan.stott@whiteboard-it.com",
- "dependencies": [],
- "lib": "lib",
- "descriptorUrl": "http://github.com/nrstott/observable-js/raw/master/package.json",
- "packageUrl": "http://github.com/nrstott/observable-js/zipball/master",
- "packageArchive": "zip",
- "source": {
- "type": "github",
- "user": "nrstott",
- "name": "observable-js",
- "packageName": "observable",
- "descriptorUrl": "http://github.com/nrstott/observable-js/raw/master/package.json",
- "url": "http://github.com/nrstott/observable-js/zipball/master",
- "archive": "zip"
- },
- "contributors": [
- {
- "name": "Nathan Stott"
- }
- ],
- "version": []
- },
- "ojmoq": {
- "name": "ojmoq",
- "dependencies": [
- "narwhal",
- "objective-j"
- ],
- "author": {
- "name": "Derek Hammer"
+ "name": "Derek Hammer"
},
"description": "A mocking library for Objective-J that is inspired by the Moq project.",
"keywords": [
@@ -1953,6 +2064,770 @@
{}
],
"version": []
+ },
+ "observable": {
+ "name": "observable",
+ "description": "JavaScript framework for Observable mixins with plugin support",
+ "keywords": [
+ "observable",
+ "mixin",
+ "event",
+ "plugin"
+ ],
+ "author": {
+ "name": "Nathan Stott"
+ },
+ "email": "nathan.stott@whiteboard-it.com",
+ "dependencies": [],
+ "lib": "lib",
+ "descriptorUrl": "http://github.com/nrstott/observable-js/raw/master/package.json",
+ "packageUrl": "http://github.com/nrstott/observable-js/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "nrstott",
+ "name": "observable-js",
+ "packageName": "observable",
+ "descriptorUrl": "http://github.com/nrstott/observable-js/raw/master/package.json",
+ "url": "http://github.com/nrstott/observable-js/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "Nathan Stott"
+ }
+ ],
+ "version": []
+ },
+ "commonjs-utils": {
+ "name": "commonjs-utils",
+ "author": {
+ "name": "Kris Zyp"
+ },
+ "dependencies": [],
+ "contributors": [
+ {
+ "name": "Kris Zyp"
+ }
+ ],
+ "keywords": [
+ "json",
+ "schema",
+ "query"
+ ],
+ "githubName": "commonjs-utils",
+ "type": "zip",
+ "location": "http://github.com/kriszyp/commonjs-utils/zipball/master",
+ "descriptorUrl": "http://github.com/kriszyp/commonjs-utils/raw/master/package.json",
+ "packageUrl": "http://github.com/kriszyp/commonjs-utils/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "kriszyp",
+ "name": "commonjs-utils",
+ "packageName": "commonjs-utils",
+ "descriptorUrl": "http://github.com/kriszyp/commonjs-utils/raw/master/package.json",
+ "url": "http://github.com/kriszyp/commonjs-utils/zipball/master",
+ "archive": "zip"
+ },
+ "version": []
+ },
+ "cappruby": {
+ "name": "cappruby",
+ "dependencies": [
+ "objective-j",
+ "cappuccino"
+ ],
+ "preload": [
+ "cappruby/loader"
+ ],
+ "objj-frameworks": [
+ "Frameworks"
+ ],
+ "description": "Experimental Ruby implementation on top of the Objective-J runtime / JavaScript",
+ "keywords": [
+ "cappruby",
+ "ruby",
+ "objective-j",
+ "objj",
+ "objective j",
+ "cappuccino"
+ ],
+ "author": {
+ "name": "Tom Robinson",
+ "url": "http://tlrobinson.net/"
+ },
+ "version": [
+ "0",
+ "0",
+ "1"
+ ],
+ "descriptorUrl": "http://github.com/tlrobinson/cappruby/raw/master/package.json",
+ "packageUrl": "http://github.com/tlrobinson/cappruby/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "tlrobinson",
+ "packageName": "cappruby",
+ "descriptorUrl": "http://github.com/tlrobinson/cappruby/raw/master/package.json",
+ "url": "http://github.com/tlrobinson/cappruby/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "Tom Robinson",
+ "url": "http://tlrobinson.net/"
+ }
+ ]
+ },
+ "coffee-script": {
+ "name": "coffee-script",
+ "lib": "lib/coffee_script/narwhal/lib",
+ "preload": [
+ "coffee-script/loader"
+ ],
+ "description": "Unfancy JavaScript",
+ "keywords": [
+ "javascript",
+ "language"
+ ],
+ "author": {
+ "name": "Jeremy Ashkenas"
+ },
+ "version": [
+ "0",
+ "2",
+ "6"
+ ],
+ "descriptorUrl": "http://github.com/tlrobinson/coffee-script/raw/master/package.json",
+ "packageUrl": "http://github.com/tlrobinson/coffee-script/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "tlrobinson",
+ "packageName": "coffee-script",
+ "descriptorUrl": "http://github.com/tlrobinson/coffee-script/raw/master/package.json",
+ "url": "http://github.com/tlrobinson/coffee-script/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "Jeremy Ashkenas"
+ }
+ ],
+ "dependencies": []
+ },
+ "parenscript": {
+ "name": "parenscript",
+ "preload": [
+ "parenscript/loader"
+ ],
+ "description": "Parenscript is a small Lispy language that compiles to JavaScript. This is the Narwhal module that integrates ParenScript with Narwhal.",
+ "keywords": [
+ "javascript",
+ "language",
+ "lisp",
+ "macros",
+ "macro"
+ ],
+ "author": {
+ "name": "Nick Fitzgerald",
+ "url": "http://fitzgeraldnick.com",
+ "email": "fitzgen@gmail.com"
+ },
+ "license": "MIT",
+ "descriptorUrl": "http://github.com/fitzgen/parenscript-narwhal/raw/master/package.json",
+ "packageUrl": "http://github.com/fitzgen/parenscript-narwhal/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "fitzgen",
+ "name": "parenscript-narwhal",
+ "packageName": "parenscript",
+ "descriptorUrl": "http://github.com/fitzgen/parenscript-narwhal/raw/master/package.json",
+ "url": "http://github.com/fitzgen/parenscript-narwhal/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "Nick Fitzgerald",
+ "url": "http://fitzgeraldnick.com",
+ "email": "fitzgen@gmail.com"
+ }
+ ],
+ "dependencies": [],
+ "version": []
+ },
+ "jaml": {
+ "name": "jaml",
+ "description": "A library of JSGI middleware, handlers, and utilities, based on Rack",
+ "keywords": [
+ "haml",
+ "template"
+ ],
+ "author": {
+ "name": "Ed Spencer",
+ "url": "http://edspencer.net/"
+ },
+ "version": [
+ "0",
+ "0",
+ "1"
+ ],
+ "descriptorUrl": "http://github.com/tlrobinson/jaml/raw/master/package.json",
+ "packageUrl": "http://github.com/tlrobinson/jaml/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "tlrobinson",
+ "packageName": "jaml",
+ "descriptorUrl": "http://github.com/tlrobinson/jaml/raw/master/package.json",
+ "url": "http://github.com/tlrobinson/jaml/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "Ed Spencer",
+ "url": "http://edspencer.net/"
+ }
+ ],
+ "dependencies": []
+ },
+ "jscrypto": {
+ "name": "jscrypto",
+ "homepage": "http://crypto.stanford.edu/sjcl/",
+ "description": "Fast symmetric cryptography in Javascript",
+ "keywords": [
+ "crypto",
+ "cryptography"
+ ],
+ "contributors": [
+ {
+ "name": "Emily Stark"
+ },
+ {
+ "name": "Mike Hamburg"
+ },
+ {
+ "name": "Dan Boneh"
+ }
+ ],
+ "licenses": [
+ {
+ "type": "public domain"
+ }
+ ],
+ "version": [
+ "0",
+ "1"
+ ],
+ "descriptorUrl": "http://github.com/tlrobinson/jscrypto/raw/master/package.json",
+ "packageUrl": "http://github.com/tlrobinson/jscrypto/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "tlrobinson",
+ "packageName": "jscrypto",
+ "descriptorUrl": "http://github.com/tlrobinson/jscrypto/raw/master/package.json",
+ "url": "http://github.com/tlrobinson/jscrypto/zipball/master",
+ "archive": "zip"
+ },
+ "dependencies": []
+ },
+ "narwhal-v8cgi": {
+ "name": "narwhal-v8cgi",
+ "dependencies": [
+ "narwhal"
+ ],
+ "engine": "v8cgi",
+ "author": {
+ "name": "Sergey Berezhnoy",
+ "url": "http://http://github.com/veged/"
+ },
+ "description": "v8cgi engine support for Narwhal",
+ "keywords": [
+ "narwhal",
+ "engine",
+ "v8cgi",
+ "v8"
+ ],
+ "descriptorUrl": "http://github.com/veged/narwhal-v8cgi/raw/master/package.json",
+ "packageUrl": "http://github.com/veged/narwhal-v8cgi/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "veged",
+ "packageName": "narwhal-v8cgi",
+ "descriptorUrl": "http://github.com/veged/narwhal-v8cgi/raw/master/package.json",
+ "url": "http://github.com/veged/narwhal-v8cgi/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "Sergey Berezhnoy",
+ "url": "http://http://github.com/veged/"
+ }
+ ],
+ "version": []
+ },
+ "CappuccinoResource": {
+ "name": "CappuccinoResource",
+ "dependencies": [
+ "narwhal",
+ "objective-j",
+ "cappuccino"
+ ],
+ "author": {
+ "name": "Jerod Santo"
+ },
+ "description": "Cappuccino on Rails",
+ "keywords": [
+ "objective-j",
+ "cappuccino",
+ "rails",
+ "resource"
+ ],
+ "objj-frameworks": [
+ "Framework"
+ ],
+ "descriptorUrl": "http://github.com/sant0sk1/CappuccinoResource/raw/master/package.json",
+ "packageUrl": "http://github.com/sant0sk1/CappuccinoResource/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "sant0sk1",
+ "packageName": "CappuccinoResource",
+ "descriptorUrl": "http://github.com/sant0sk1/CappuccinoResource/raw/master/package.json",
+ "url": "http://github.com/sant0sk1/CappuccinoResource/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "Jerod Santo"
+ }
+ ],
+ "version": []
+ },
+ "yuicompressor": {
+ "name": "yuicompressor",
+ "description": "YUI Compressor",
+ "keywords": [
+ "minify",
+ "compress"
+ ],
+ "version": [
+ "2",
+ "4",
+ "2"
+ ],
+ "descriptorUrl": "http://github.com/280north/commonjs-yuicompressor/raw/master/package.json",
+ "packageUrl": "http://github.com/280north/commonjs-yuicompressor/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "280north",
+ "name": "commonjs-yuicompressor",
+ "packageName": "yuicompressor",
+ "descriptorUrl": "http://github.com/280north/commonjs-yuicompressor/raw/master/package.json",
+ "url": "http://github.com/280north/commonjs-yuicompressor/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [],
+ "dependencies": []
+ },
+ "shmakowiki": {
+ "name": "shmakowiki",
+ "author": {
+ "name": "Sergey Berezhnoy",
+ "url": "http://github.com/veged/"
+ },
+ "description": "Yet another wiki dialect, inspired by WackoWiki and WikiCreole",
+ "keywords": [
+ "wiki",
+ "creole",
+ "wikicreole",
+ "wackowiki"
+ ],
+ "version": [
+ "0",
+ "1",
+ "1"
+ ],
+ "descriptorUrl": "http://github.com/veged/shmakowiki/raw/narwhal/package.json",
+ "packageUrl": "http://github.com/veged/shmakowiki/zipball/narwhal",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "veged",
+ "ref": "narwhal",
+ "packageName": "shmakowiki",
+ "descriptorUrl": "http://github.com/veged/shmakowiki/raw/narwhal/package.json",
+ "url": "http://github.com/veged/shmakowiki/zipball/narwhal",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "Sergey Berezhnoy",
+ "url": "http://github.com/veged/"
+ }
+ ],
+ "dependencies": [
+ "ometajs",
+ "ometa-highlighter"
+ ]
+ },
+ "ometajs": {
+ "name": "ometajs",
+ "author": {
+ "name": "Alessandro Warth",
+ "url": "http://awarth.blogspot.com/"
+ },
+ "description": "A object-oriented language for pattern matching",
+ "keywords": [
+ "ometa",
+ "parser",
+ "peg"
+ ],
+ "version": [
+ "0",
+ "1",
+ "1"
+ ],
+ "descriptorUrl": "http://github.com/veged/ometa-js/raw/narwhal/package.json",
+ "packageUrl": "http://github.com/veged/ometa-js/zipball/narwhal",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "veged",
+ "name": "ometa-js",
+ "ref": "narwhal",
+ "packageName": "ometajs",
+ "descriptorUrl": "http://github.com/veged/ometa-js/raw/narwhal/package.json",
+ "url": "http://github.com/veged/ometa-js/zipball/narwhal",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "Alessandro Warth",
+ "url": "http://awarth.blogspot.com/"
+ },
+ {
+ "name": "Sergey Berezhnoy",
+ "url": "http://github.com/veged/"
+ }
+ ],
+ "dependencies": []
+ },
+ "ometa-highlighter": {
+ "name": "ometa-highlighter",
+ "author": {
+ "name": "Sergey Berezhnoy",
+ "url": "http://github.com/veged/"
+ },
+ "description": "Code highlighter based on Ometa/JS (little inspired by Pygments)",
+ "keywords": [
+ "highlighter",
+ "code",
+ "pygments"
+ ],
+ "version": [
+ "0",
+ "1",
+ "1"
+ ],
+ "descriptorUrl": "http://github.com/veged/ometa-highlighter/raw/narwhal/package.json",
+ "packageUrl": "http://github.com/veged/ometa-highlighter/zipball/narwhal",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "veged",
+ "ref": "narwhal",
+ "packageName": "ometa-highlighter",
+ "descriptorUrl": "http://github.com/veged/ometa-highlighter/raw/narwhal/package.json",
+ "url": "http://github.com/veged/ometa-highlighter/zipball/narwhal",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "Sergey Berezhnoy",
+ "url": "http://github.com/veged/"
+ }
+ ],
+ "dependencies": [
+ "ometajs"
+ ]
+ },
+ "closure-compiler": {
+ "name": "closure-compiler",
+ "description": "Closure Compiler",
+ "keywords": [
+ "minify",
+ "compress"
+ ],
+ "version": [
+ "0",
+ "0",
+ "1"
+ ],
+ "descriptorUrl": "http://github.com/280north/commonjs-closure-compiler/raw/master/package.json",
+ "packageUrl": "http://github.com/280north/commonjs-closure-compiler/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "280north",
+ "name": "commonjs-closure-compiler",
+ "packageName": "closure-compiler",
+ "descriptorUrl": "http://github.com/280north/commonjs-closure-compiler/raw/master/package.json",
+ "url": "http://github.com/280north/commonjs-closure-compiler/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [],
+ "dependencies": []
+ },
+ "shrinksafe": {
+ "name": "shrinksafe",
+ "description": "ShrinkSafe",
+ "keywords": [
+ "minify",
+ "compress"
+ ],
+ "version": [
+ "0",
+ "2"
+ ],
+ "descriptorUrl": "http://github.com/280north/commonjs-shrinksafe/raw/master/package.json",
+ "packageUrl": "http://github.com/280north/commonjs-shrinksafe/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "280north",
+ "name": "commonjs-shrinksafe",
+ "packageName": "shrinksafe",
+ "descriptorUrl": "http://github.com/280north/commonjs-shrinksafe/raw/master/package.json",
+ "url": "http://github.com/280north/commonjs-shrinksafe/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [],
+ "dependencies": []
+ },
+ "haml-js": {
+ "name": "haml-js",
+ "description": "Haml ported to server-side Javascript. This is a traditional server-side templating language.",
+ "keywords": [
+ "haml",
+ "template",
+ "nodejs"
+ ],
+ "author": {
+ "name": "Tim Caswell"
+ },
+ "version": [
+ "0",
+ "1",
+ "2"
+ ],
+ "descriptorUrl": "http://github.com/creationix/haml-js/raw/master/package.json",
+ "packageUrl": "http://github.com/creationix/haml-js/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "creationix",
+ "packageName": "haml-js",
+ "descriptorUrl": "http://github.com/creationix/haml-js/raw/master/package.json",
+ "url": "http://github.com/creationix/haml-js/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "Tim Caswell"
+ }
+ ],
+ "dependencies": []
+ },
+ "mustache": {
+ "name": "mustache",
+ "author": {
+ "name": "Jan Lehnardt"
+ },
+ "description": "{{mustaches}} in JavaScript — shameless port from @defunkt",
+ "keywords": [
+ "template"
+ ],
+ "version": [
+ "0",
+ "2",
+ "1"
+ ],
+ "descriptorUrl": "http://github.com/tlrobinson/mustache.js/raw/master/package.json",
+ "packageUrl": "http://github.com/tlrobinson/mustache.js/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "tlrobinson",
+ "name": "mustache.js",
+ "packageName": "mustache",
+ "descriptorUrl": "http://github.com/tlrobinson/mustache.js/raw/master/package.json",
+ "url": "http://github.com/tlrobinson/mustache.js/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "Jan Lehnardt"
+ }
+ ],
+ "dependencies": []
+ },
+ "htmlparser": {
+ "name": "htmlparser",
+ "description": "An HTML parser",
+ "keywords": [
+ "html",
+ "parser",
+ "dom"
+ ],
+ "author": {
+ "name": "George Moschovitis",
+ "url": "http://www.gmosx.com/"
+ },
+ "contributors": [
+ {
+ "name": "George Moschovitis",
+ "url": "http://www.gmosx.com/"
+ }
+ ],
+ "lib": [
+ "lib"
+ ],
+ "jars": [
+ "engines/rhino/jars/htmlparser-1.2.1.jar"
+ ],
+ "lean": [
+ "lib",
+ "engines"
+ ],
+ "descriptorUrl": "http://github.com/gmosx/htmlparser/raw/master/package.json",
+ "packageUrl": "http://github.com/gmosx/htmlparser/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "gmosx",
+ "name": "htmlparser",
+ "packageName": "htmlparser",
+ "descriptorUrl": "http://github.com/gmosx/htmlparser/raw/master/package.json",
+ "url": "http://github.com/gmosx/htmlparser/zipball/master",
+ "archive": "zip"
+ },
+ "dependencies": [],
+ "version": []
+ },
+ "normal-template": {
+ "name": "normal-template",
+ "description": "A simple, powerful and safe templating engine",
+ "keywords": [
+ "template",
+ "text",
+ "json"
+ ],
+ "author": {
+ "name": "George Moschovitis"
+ },
+ "email": "george.moschovitis@gmail.com",
+ "dependencies": [],
+ "lib": "lib",
+ "descriptorUrl": "http://github.com/gmosx/normal-template/raw/master/package.json",
+ "packageUrl": "http://github.com/gmosx/normal-template/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "gmosx",
+ "name": "normal-template",
+ "packageName": "normal-template",
+ "descriptorUrl": "http://github.com/gmosx/normal-template/raw/master/package.json",
+ "url": "http://github.com/gmosx/normal-template/zipball/master",
+ "archive": "zip"
+ },
+ "contributors": [
+ {
+ "name": "George Moschovitis"
+ }
+ ],
+ "version": []
+ },
+ "jdbc": {
+ "name": "jdbc",
+ "contributors": [
+ {
+ "name": "Tom Robinson",
+ "url": "http://tlrobinson.net/",
+ "email": "tlrobinson@280north.com"
+ }
+ ],
+ "descriptorUrl": "http://github.com/tlrobinson/commonjs-jdbc/raw/master/package.json",
+ "packageUrl": "http://github.com/tlrobinson/commonjs-jdbc/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "tlrobinson",
+ "name": "commonjs-jdbc",
+ "packageName": "jdbc",
+ "descriptorUrl": "http://github.com/tlrobinson/commonjs-jdbc/raw/master/package.json",
+ "url": "http://github.com/tlrobinson/commonjs-jdbc/zipball/master",
+ "archive": "zip"
+ },
+ "dependencies": [],
+ "version": []
+ },
+ "mysql-jdbc": {
+ "name": "mysql-jdbc",
+ "dependencies": [
+ "jdbc"
+ ],
+ "contributors": [
+ {
+ "name": "Tom Robinson",
+ "url": "http://tlrobinson.net/",
+ "email": "tlrobinson@280north.com"
+ }
+ ],
+ "descriptorUrl": "http://github.com/tlrobinson/commonjs-mysql-jdbc/raw/master/package.json",
+ "packageUrl": "http://github.com/tlrobinson/commonjs-mysql-jdbc/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "tlrobinson",
+ "name": "commonjs-mysql-jdbc",
+ "packageName": "mysql-jdbc",
+ "descriptorUrl": "http://github.com/tlrobinson/commonjs-mysql-jdbc/raw/master/package.json",
+ "url": "http://github.com/tlrobinson/commonjs-mysql-jdbc/zipball/master",
+ "archive": "zip"
+ },
+ "version": []
+ },
+ "sqlite-jdbc": {
+ "name": "sqlite-jdbc",
+ "dependencies": [
+ "jdbc"
+ ],
+ "contributors": [
+ {
+ "name": "Tom Robinson",
+ "url": "http://tlrobinson.net/",
+ "email": "tlrobinson@280north.com"
+ }
+ ],
+ "descriptorUrl": "http://github.com/tlrobinson/commonjs-sqlite-jdbc/raw/master/package.json",
+ "packageUrl": "http://github.com/tlrobinson/commonjs-sqlite-jdbc/zipball/master",
+ "packageArchive": "zip",
+ "source": {
+ "type": "github",
+ "user": "tlrobinson",
+ "name": "commonjs-sqlite-jdbc",
+ "packageName": "sqlite-jdbc",
+ "descriptorUrl": "http://github.com/tlrobinson/commonjs-sqlite-jdbc/raw/master/package.json",
+ "url": "http://github.com/tlrobinson/commonjs-sqlite-jdbc/zipball/master",
+ "archive": "zip"
+ },
+ "version": []
}
}
}
View
71 catalog.json
@@ -159,9 +159,10 @@
"rack",
"wsgi"
],
+ "version": "0.1.2",
"githubName": "jack",
"type": "zip",
- "location": "http://github.com/kriszyp/jack/zipball/master"
+ "location": "http://github.com/tlrobinson/jack/zipball/master"
},
"nitro": {
"name": "nitro",
@@ -217,7 +218,8 @@
"parser"
],
"contributors": [
- "Kris Kowal <kris@cixar.com>"
+ "Kris Kowal <kris@cixar.com>",
+ "Andy Chu <andy@chubot.org>"
],
"license": "MPL 1.1/GPL 2.0/LGPL 2.1",
"githubName": "narcissus",
@@ -1043,6 +1045,69 @@
"type": "zip",
"location": "http://github.com/kriszyp/pintura/zipball/master",
"license":"AFL/BSD"
- }
+ },
+ "cappruby": {
+ "name": "cappruby",
+ "dependencies": [
+ "objective-j",
+ "cappuccino"
+ ],
+ "preload": [
+ "cappruby/loader"
+ ],
+ "objj-frameworks": [
+ "Frameworks"
+ ],
+ "description": "Experimental Ruby implementation on top of the Objective-J runtime / JavaScript",
+ "keywords": [
+ "cappruby",
+ "ruby",
+ "objective-j",
+ "objj",
+ "objective j",
+ "cappuccino"
+ ],
+ "author": "Tom Robinson (http://tlrobinson.net/)",
+ "version": "0.0.1",
+ "githubName": "cappruby",
+ "type": "zip",
+ "location": "http://github.com/tlrobinson/cappruby/zipball/master"
+ },
+ "coffee-script": {
+ "name": "coffee-script",
+ "lib": "lib-js",
+ "preload": [
+ "coffee-script/loader"
+ ],
+ "description": "Unfancy JavaScript",
+ "keywords": [
+ "javascript",
+ "language"
+ ],
+ "author": "Jeremy Ashkenas",
+ "version": "0.1.2",
+ "githubName": "coffee-script",
+ "type": "zip",
+ "location": "http://github.com/tlrobinson/coffee-script/zipball/master"
+ },
+ "parenscript": {
+ "name": "parenscript",
+ "preload": [
+ "parenscript/loader"
+ ],
+ "description": "Parenscript is a small Lispy language that compiles to JavaScript. This is the Narwhal module that integrates ParenScript with Narwhal.",
+ "keywords": [
+ "javascript",
+ "language",
+ "lisp",
+ "macros",
+ "macro"
+ ],
+ "author": "Nick Fitzgerald (http://fitzgeraldnick.com) <fitzgen@gmail.com>",
+ "license": "MIT",
+ "githubName": "parenscript-narwhal",
+ "type": "zip",
+ "location": "http://github.com/fitzgen/parenscript-narwhal/zipball/master"
+ }
}
}
View
104 docs/lib/os/popen.md
@@ -1,70 +1,80 @@
-; popen(process):Popen
-: process may be a String or Array of args. If it is a String, popen uses "/bin/sh", "-e" to execute your program.
+ popen(process):Popen
+
+process may be a String or Array of args. If it is a String, popen uses "/bin/sh", "-e" to execute your program.
Popen
-----
-; stdin
-: a text writer IO object attached to the stdin of subprocess.
-; stdout
-: a text reader IO object attached to the stdout of the supbrocess.
-; stderr
-: a text reader IO object attached to the stderr of the subprocess.
-
-; wait() -> code:Number
-: blocks execution until the subprocess has exited.
+Returns an object with the following properties:
-; communicate([stdin[, stdout[, stderr]]]):Communicate
-: communicates with the process on stdin, stdout, and stderr concurrently with the attached streams. the given stdin may be a stream, string, or stringio stream. stdout and stderr may be streams or stringio objects, and default to stringio. communicate returns the pipes used to communicate with stdin, stdout, and stderr, by default providing stdout and stderr as stringio objects that have accumulated the entire output and errput of the subprocess.
+* `stdin IO` - a text writer IO object attached to the stdin of subprocess.
+* `stdout IO` - a text reader IO object attached to the stdout of the
+ supbrocess.
+* `stderr IO` - a text reader IO object attached to the stderr of the
+ subprocess.
+* `wait() Number` - blocks on the subprocess until it exits and returns the
+ exit status code.
+* `communicate(stdin_opt, stdout_opt, stderr_opt) Communicate` - communicates
+ with the process on `stdin`, `stdout`, and `stderr` concurrently with the
+ attached streams. The given `stdin` may be an IO stream, String, or StringIO
+ stream. `stdout` and `stderr` may be streams or `StringIO` objects, and
+ default to `StringIO`. `communicate` returns the streams used to communicate
+ with `stdin`, `stdout`, and `stderr`, by default providing `stdout` and
+ `stderr` as `StringIO` objects that have accumulated the entire output and
+ errput of the subprocess.
Communicate
-----------
-; stdin
-: the text reader object used to communicate with the subprocess. if no stdin was provided as an argument to communicate, stdin will be an empty stringio. if a string was provided, stdin will be a stringio with whatever input was not consumed by the subprocess. if any other stream was provided, stdin will be that stream.
-; stdout
-: the text writer object that the subprocess wrote to on stdout. if no stdout was provided as an argument to communicate, stdout will be a stringio containing all of the accumulated output of the subprocess.
-; stderr
-: the text writer object that the subprocess wrote to on stderr. if no stderr was provided as an argument to communicate, stderr will be a stringio containing all of the accumulated errput of the subprocess.
-; code
-: the exit code of the subprocess
+* `stdin` - the text reader object used to communicate with the subprocess. If
+ no `stdin` was provided as an argument to `communicate`, `stdin` will be an
+ empty `StringIO`. If a String was provided, `stdin` will be a `StringIO`
+ with whatever input was not consumed by the subprocess. If any other stream
+ was provided, `stdin` will be that stream.
+* `stdout` - the text writer object that the subprocess wrote to on `stdout`.