[macruby-changes] [3318] MacRuby/branches/0.5
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jan 21 12:23:26 PST 2010
Revision: 3318
http://trac.macosforge.org/projects/ruby/changeset/3318
Author: ernest.prabhakar at gmail.com
Date: 2010-01-21 12:23:25 -0800 (Thu, 21 Jan 2010)
Log Message:
-----------
Updated copyrights for 2010
Modified Paths:
--------------
MacRuby/branches/0.5/TODO
MacRuby/branches/0.5/array.c
MacRuby/branches/0.5/bin/rb_nibtool
MacRuby/branches/0.5/bin/ruby_deploy
MacRuby/branches/0.5/bin/rubyc
MacRuby/branches/0.5/bridgesupport.cpp
MacRuby/branches/0.5/bridgesupport.h
MacRuby/branches/0.5/bs.c
MacRuby/branches/0.5/bs.h
MacRuby/branches/0.5/class.c
MacRuby/branches/0.5/compiler.cpp
MacRuby/branches/0.5/compiler.h
MacRuby/branches/0.5/dispatcher.cpp
MacRuby/branches/0.5/encoding.c
MacRuby/branches/0.5/eval.c
MacRuby/branches/0.5/ext/libyaml/rubyext.c
MacRuby/branches/0.5/ext/zlib/zlib.c
MacRuby/branches/0.5/gc-stub.m
MacRuby/branches/0.5/gc.c
MacRuby/branches/0.5/gcd.c
MacRuby/branches/0.5/hash.c
MacRuby/branches/0.5/io.c
MacRuby/branches/0.5/lib/iconv.rb
MacRuby/branches/0.5/lib/stringio.rb
MacRuby/branches/0.5/lib/strscan.rb
MacRuby/branches/0.5/load.c
MacRuby/branches/0.5/main.cpp
MacRuby/branches/0.5/markgc.c
MacRuby/branches/0.5/objc.h
MacRuby/branches/0.5/objc.m
MacRuby/branches/0.5/object.c
MacRuby/branches/0.5/proc.c
MacRuby/branches/0.5/sprintf.cpp
MacRuby/branches/0.5/string.c
MacRuby/branches/0.5/thread.c
MacRuby/branches/0.5/variable.c
MacRuby/branches/0.5/vm.cpp
MacRuby/branches/0.5/vm.h
Added Paths:
-----------
MacRuby/branches/0.5/tool/update_copyrights.ruby
Modified: MacRuby/branches/0.5/TODO
===================================================================
--- MacRuby/branches/0.5/TODO 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/TODO 2010-01-21 20:23:25 UTC (rev 3318)
@@ -9,7 +9,7 @@
[X] non-ASCII regexp
[/] 32-bit should be back
[X] macruby should support #require calls when assembling a binary
-[ ] change copyright headers for 2010
+[X] change copyright headers for 2010
For 0.5 (must do):
Modified: MacRuby/branches/0.5/array.c
===================================================================
--- MacRuby/branches/0.5/array.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/array.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 1993-2007 Yukihiro Matsumoto
* Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
* Copyright (C) 2000 Information-technology Promotion Agency, Japan
Modified: MacRuby/branches/0.5/bin/rb_nibtool
===================================================================
--- MacRuby/branches/0.5/bin/rb_nibtool 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/bin/rb_nibtool 2010-01-21 20:23:25 UTC (rev 3318)
@@ -4,7 +4,7 @@
#
# This file is covered by the Ruby license.
#
-# Copyright (C) 2008-2009, Apple Inc
+# Copyright (C) 2008-2010, Apple Inc
require 'optparse'
require 'ripper/filter'
Modified: MacRuby/branches/0.5/bin/ruby_deploy
===================================================================
--- MacRuby/branches/0.5/bin/ruby_deploy 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/bin/ruby_deploy 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
#
# This file is covered by the Ruby license.
#
-# Copyright (C) 2009, Apple Inc
+# Copyright (C) 2009-2010, Apple Inc
require 'optparse'
require 'rbconfig'
Modified: MacRuby/branches/0.5/bin/rubyc
===================================================================
--- MacRuby/branches/0.5/bin/rubyc 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/bin/rubyc 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
#
# This file is covered by the Ruby license.
#
-# Copyright (C) 2009, Apple Inc
+# Copyright (C) 2009-2010, Apple Inc
require 'optparse'
require 'rbconfig'
Modified: MacRuby/branches/0.5/bridgesupport.cpp
===================================================================
--- MacRuby/branches/0.5/bridgesupport.cpp 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/bridgesupport.cpp 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
*/
#include <llvm/Module.h>
Modified: MacRuby/branches/0.5/bridgesupport.h
===================================================================
--- MacRuby/branches/0.5/bridgesupport.h 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/bridgesupport.h 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
*/
#ifndef __BRIDGESUPPORT_H_
Modified: MacRuby/branches/0.5/bs.c
===================================================================
--- MacRuby/branches/0.5/bs.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/bs.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008-2009, Apple Inc. All rights reserved.
+ * Copyright (c) 2008-2010, Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
Modified: MacRuby/branches/0.5/bs.h
===================================================================
--- MacRuby/branches/0.5/bs.h 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/bs.h 2010-01-21 20:23:25 UTC (rev 3318)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008-2009, Apple Inc. All rights reserved.
+ * Copyright (c) 2008-2010, Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
Modified: MacRuby/branches/0.5/class.c
===================================================================
--- MacRuby/branches/0.5/class.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/class.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 1993-2007 Yukihiro Matsumoto
* Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
* Copyright (C) 2000 Information-technology Promotion Agency, Japan
Modified: MacRuby/branches/0.5/compiler.cpp
===================================================================
--- MacRuby/branches/0.5/compiler.cpp 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/compiler.cpp 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2008-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2008-2010, Apple Inc. All rights reserved.
*/
#define ROXOR_COMPILER_DEBUG 0
Modified: MacRuby/branches/0.5/compiler.h
===================================================================
--- MacRuby/branches/0.5/compiler.h 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/compiler.h 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2008-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2008-2010, Apple Inc. All rights reserved.
*/
#ifndef __COMPILER_H_
Modified: MacRuby/branches/0.5/dispatcher.cpp
===================================================================
--- MacRuby/branches/0.5/dispatcher.cpp 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/dispatcher.cpp 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2008-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2008-2010, Apple Inc. All rights reserved.
*/
#include "llvm.h"
Modified: MacRuby/branches/0.5/encoding.c
===================================================================
--- MacRuby/branches/0.5/encoding.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/encoding.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 1993-2007 Yukihiro Matsumoto
* Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
* Copyright (C) 2000 Information-technology Promotion Agency, Japan
Modified: MacRuby/branches/0.5/eval.c
===================================================================
--- MacRuby/branches/0.5/eval.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/eval.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 1993-2007 Yukihiro Matsumoto
* Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
* Copyright (C) 2000 Information-technology Promotion Agency, Japan
Modified: MacRuby/branches/0.5/ext/libyaml/rubyext.c
===================================================================
--- MacRuby/branches/0.5/ext/libyaml/rubyext.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/ext/libyaml/rubyext.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2009-2010, Apple Inc. All rights reserved.
*/
#include "ruby/ruby.h"
Modified: MacRuby/branches/0.5/ext/zlib/zlib.c
===================================================================
--- MacRuby/branches/0.5/ext/zlib/zlib.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/ext/zlib/zlib.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) UENO Katsuhiro 2000-2003
*/
Modified: MacRuby/branches/0.5/gc-stub.m
===================================================================
--- MacRuby/branches/0.5/gc-stub.m 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/gc-stub.m 2010-01-21 20:23:25 UTC (rev 3318)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008-2009, Apple Inc. All rights reserved.
+ * Copyright (c) 2008-2010, Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
Modified: MacRuby/branches/0.5/gc.c
===================================================================
--- MacRuby/branches/0.5/gc.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/gc.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 1993-2007 Yukihiro Matsumoto
* Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
* Copyright (C) 2000 Information-technology Promotion Agency, Japan
Modified: MacRuby/branches/0.5/gcd.c
===================================================================
--- MacRuby/branches/0.5/gcd.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/gcd.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2009-2010, Apple Inc. All rights reserved.
*/
#include "ruby.h"
Modified: MacRuby/branches/0.5/hash.c
===================================================================
--- MacRuby/branches/0.5/hash.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/hash.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 1993-2007 Yukihiro Matsumoto
* Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
* Copyright (C) 2000 Information-technology Promotion Agency, Japan
Modified: MacRuby/branches/0.5/io.c
===================================================================
--- MacRuby/branches/0.5/io.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/io.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 1993-2007 Yukihiro Matsumoto
* Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
* Copyright (C) 2000 Information-technology Promotion Agency, Japan
Modified: MacRuby/branches/0.5/lib/iconv.rb
===================================================================
--- MacRuby/branches/0.5/lib/iconv.rb 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/lib/iconv.rb 2010-01-21 20:23:25 UTC (rev 3318)
@@ -2,7 +2,7 @@
#
# This file is covered by the Ruby license. See COPYING for more details.
#
-# Copyright (C) 2009, Apple Inc. All rights reserved.
+# Copyright (C) 2009-2010, Apple Inc. All rights reserved.
framework 'Foundation'
Modified: MacRuby/branches/0.5/lib/stringio.rb
===================================================================
--- MacRuby/branches/0.5/lib/stringio.rb 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/lib/stringio.rb 2010-01-21 20:23:25 UTC (rev 3318)
@@ -2,7 +2,7 @@
#
# This file is covered by the Ruby license. See COPYING for more details.
#
-# Copyright (C) 2009, Apple Inc. All rights reserved.
+# Copyright (C) 2009-2010, Apple Inc. All rights reserved.
class StringIO
Modified: MacRuby/branches/0.5/lib/strscan.rb
===================================================================
--- MacRuby/branches/0.5/lib/strscan.rb 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/lib/strscan.rb 2010-01-21 20:23:25 UTC (rev 3318)
@@ -2,7 +2,7 @@
#
# This file is covered by the Ruby license. See COPYING for more details.
#
-# Copyright (C) 2009, Apple Inc. All rights reserved.
+# Copyright (C) 2009-2010, Apple Inc. All rights reserved.
class ScanError < StandardError; end
Modified: MacRuby/branches/0.5/load.c
===================================================================
--- MacRuby/branches/0.5/load.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/load.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2009-2010, Apple Inc. All rights reserved.
*/
#include <sys/stat.h>
Modified: MacRuby/branches/0.5/main.cpp
===================================================================
--- MacRuby/branches/0.5/main.cpp 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/main.cpp 2010-01-21 20:23:25 UTC (rev 3318)
@@ -1,7 +1,7 @@
/*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 1993-2007 Yukihiro Matsumoto
*/
Modified: MacRuby/branches/0.5/markgc.c
===================================================================
--- MacRuby/branches/0.5/markgc.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/markgc.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007-2009, Apple Inc. All Rights Reserved.
+ * Copyright (c) 2007-2010, Apple Inc. All Rights Reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
Modified: MacRuby/branches/0.5/objc.h
===================================================================
--- MacRuby/branches/0.5/objc.h 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/objc.h 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
*/
#ifndef __OBJC_H_
Modified: MacRuby/branches/0.5/objc.m
===================================================================
--- MacRuby/branches/0.5/objc.m 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/objc.m 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
*/
#include <Foundation/Foundation.h>
Modified: MacRuby/branches/0.5/object.c
===================================================================
--- MacRuby/branches/0.5/object.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/object.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 1993-2007 Yukihiro Matsumoto
* Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
* Copyright (C) 2000 Information-technology Promotion Agency, Japan
Modified: MacRuby/branches/0.5/proc.c
===================================================================
--- MacRuby/branches/0.5/proc.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/proc.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 2004-2007 Koichi Sasada
*/
Modified: MacRuby/branches/0.5/sprintf.cpp
===================================================================
--- MacRuby/branches/0.5/sprintf.cpp 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/sprintf.cpp 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 1993-2007 Yukihiro Matsumoto
* Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
* Copyright (C) 2000 Information-technology Promotion Agency, Japan
Modified: MacRuby/branches/0.5/string.c
===================================================================
--- MacRuby/branches/0.5/string.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/string.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 1993-2007 Yukihiro Matsumoto
* Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
* Copyright (C) 2000 Information-technology Promotion Agency, Japan
Modified: MacRuby/branches/0.5/thread.c
===================================================================
--- MacRuby/branches/0.5/thread.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/thread.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2009-2010, Apple Inc. All rights reserved.
* Copyright (C) 2004-2007 Koichi Sasada
*/
Added: MacRuby/branches/0.5/tool/update_copyrights.ruby
===================================================================
--- MacRuby/branches/0.5/tool/update_copyrights.ruby (rev 0)
+++ MacRuby/branches/0.5/tool/update_copyrights.ruby 2010-01-21 20:23:25 UTC (rev 3318)
@@ -0,0 +1,21 @@
+#!/usr/bin/env ruby
+require 'pp'
+LAST_YEAR=2009
+NEXT_YEAR=2010
+GREP="grep -il 'Copyright.*#{LAST_YEAR}.*Apple'"
+REPLACE="-e '/Copyright/ s^\-2009, Apple^\-2010, Apple^' -e '/Copyright/ s^2009, Apple^2009\-2010, Apple^'"
+BACKUP = "sedsave"
+
+files = []
+%w(rb c cpp h m).each do |ext|
+ files += `find . -name "*.#{ext}" -print0 | xargs -0 #{GREP}`.split "\n"
+end
+files += `#{GREP} bin/*`.split "\n"
+pp files
+p "Found #{files.size} copyrights to update"
+files.each do |file|
+ p "Updating copyright of #{file}"
+ `sed -i #{BACKUP} #{REPLACE} #{file}`
+end
+p "Removing backups"
+`find . -name "*#{BACKUP}" -delete`
Modified: MacRuby/branches/0.5/variable.c
===================================================================
--- MacRuby/branches/0.5/variable.c 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/variable.c 2010-01-21 20:23:25 UTC (rev 3318)
@@ -1,6 +1,6 @@
/* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2007-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2007-2010, Apple Inc. All rights reserved.
* Copyright (C) 1993-2007 Yukihiro Matsumoto
* Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
* Copyright (C) 2000 Information-technology Promotion Agency, Japan
Modified: MacRuby/branches/0.5/vm.cpp
===================================================================
--- MacRuby/branches/0.5/vm.cpp 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/vm.cpp 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2008-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2008-2010, Apple Inc. All rights reserved.
*/
#define ROXOR_VM_DEBUG 0
Modified: MacRuby/branches/0.5/vm.h
===================================================================
--- MacRuby/branches/0.5/vm.h 2010-01-21 05:15:49 UTC (rev 3317)
+++ MacRuby/branches/0.5/vm.h 2010-01-21 20:23:25 UTC (rev 3318)
@@ -3,7 +3,7 @@
*
* This file is covered by the Ruby license. See COPYING for more details.
*
- * Copyright (C) 2008-2009, Apple Inc. All rights reserved.
+ * Copyright (C) 2008-2010, Apple Inc. All rights reserved.
*/
#ifndef __VM_H_
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100121/664ed390/attachment-0001.html>
More information about the macruby-changes
mailing list