Skip to content

Commit

Permalink
Merge branch 'nom' of github.com:rakudo/rakudo into froggs_multibyte
Browse files Browse the repository at this point in the history
  • Loading branch information
FROGGS committed Jan 18, 2013
2 parents cefd18e + 3a8d48a commit 86f3726
Show file tree
Hide file tree
Showing 5 changed files with 166 additions and 93 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
2012.12
2013.01
75 changes: 75 additions & 0 deletions docs/announce/2013.01
@@ -0,0 +1,75 @@
Announce: Rakudo Perl 6 compiler development release #60 ("Sonoma")

On behalf of the Rakudo development team, I'm proud to announce the
January 2013 release of Rakudo Perl #60 "Sonoma". Rakudo is an
implementation of Perl 6 on the Parrot Virtual Machine (see
<http://www.parrot.org>). The tarball for this release
is available from <http://rakudo.org/downloads/rakudo/>.

Please note: This announcement is not for the Rakudo Star
distribution[*] -- it's announcing a new release of the compiler only.
For the latest Rakudo Star release, see
<http://rakudo.org/downloads/star/>.

The Rakudo Perl compiler follows a monthly release cycle, with each release
named after a Perl Mongers group. The January 2013 release is code-named
after Sonoma.pm, home of Geoff Broadwell (japhb), whose contributions to
Rakudo and the Perl 6 ecosystem during 2012/2013 have been significant.

Some of the changes in this release are outlined below:

+ sink context; for-loops are now lazy by default
+ first mentioning a variable from outer scope and then redeclaring it
in the same scope (my $a; { $a; my $a }) is now an error.
+ the long-deprecated "SAFE" setting has been removed
+ 'require' now works with indirect module names
+ restored socket read semantics to returning the requested number of bytes
+ $obj.Some::Role::meth() now passes the correct $obj
+ try/CATCH now returns Nil when the CATCH is triggered, rather than the
exception; this brings it in line with try without a CATCH
+ whatever-star cases of splice now implemented
+ sequences with Junction endpoints now work
+ corrected precedence of various set operators
+ fixed binding of non-Any things into hashes and arrays
+ can now import multis with the same name from different modules,
provided all dispatchers are onlystar

This is only a small subset of the changes in this release. For a more
detailed list, see "docs/ChangeLog".

The development team thanks all of our contributors and sponsors for
making Rakudo Perl possible, as well as those people who worked on
Parrot, the Perl 6 test suite and the specification.

The following people contributed to this release:

Jonathan Worthington, Moritz Lenz, Carl Masak, Tobias Leich, Shrivatsan
Sampathkumar

If you would like to contribute, see <http://rakudo.org/how-to-help>,
ask on the perl6-compiler@perl.org mailing list, or ask on IRC #perl6
on freenode.

The next release of Rakudo (#61), is scheduled for February 21, 2013.
A list of the other planned release dates and code names for future releases
is available in the "docs/release_guide.pod" file. In general, Rakudo development
releases are scheduled to occur soon after each Parrot monthly release.
Parrot releases the third Tuesday of each month.

On behalf of the development team, I encourage you to try the new release,
to live life to its fullest, to cherish each moment, and to have fun.
(And, have a good laugh at conspiracy theorists for their doomed end-of-world predictions!)

[*] What's the difference between the Rakudo compiler and the Rakudo
Star distribution?

The Rakudo compiler is a compiler for the Perl 6 language.
Nothing else.

The Rakudo Star distribution is the Rakudo compiler plus a selection
of useful Perl 6 modules, the most recent incarnation of the "Using
Perl 6" book, and other software that can be used with the Rakudo
compiler to enhance its utility. Rakudo Star is meant for early
adopters who wish to explore what's possible with Rakudo Perl 6 and
provide feedback on what works, what doesn't, and what else they
would like to see included in the distribution.
4 changes: 1 addition & 3 deletions docs/release_guide.pod
Expand Up @@ -61,21 +61,19 @@ part of monthly Parrot releases.
2012-10-18 Rakudo #57 "Tokyo" (duff)
2012-11-22 Rakudo #58 "Walnut" (FROGGS)
2012-12-20 Rakudo #59 "Warszawa" (masak)
2013-01-17 Rakudo #60 "Sonoma" (isBEKaml)

=head2 Planned 2012 and 2013 releases

Dates are based on Parrot's expected release schedule.

2013-01-17 Rakudo #60 isBEKaml
2013-02-21 Rakudo #61 tadzik
2013-03-21 Rakudo #62
2013-04-18 Rakudo #63
2013-05-23 Rakudo #64

=head2 Suggested .pm group names for future releases

Sonoma.pm japhb's local .pm group

More names can be gotten from L<http://www.pm.org> if you
can't think of one with any particular significance to Perl
6 or Rakudo.
Expand Down
176 changes: 88 additions & 88 deletions src/core/tai-utc.pm
@@ -1,88 +1,88 @@
# This file keeps track of the differences between TAI and UTC
# for internal use. The "BEGIN" and "END" comments are for
# tools/update-tai-utc.pl.

# Some handy tables:
# http://tf.nist.gov/pubs/bulletin/leapsecond.htm
# http://hpiers.obspm.fr/eop-pc/earthor/utc/TAI-UTC_tab.html

my module tai-utc {

#our $initial-offset = 10;
our sub initial-offset() { 10 }
# TAI - UTC at the Unix epoch (1970-01-01T00:00:00Z).

# our @leap-second-dates = <
our sub leap-second-dates() {
#BEGIN leap-second-dates
<
1972-06-30
1972-12-31
1973-12-31
1974-12-31
1975-12-31
1976-12-31
1977-12-31
1978-12-31
1979-12-31
1981-06-30
1982-06-30
1983-06-30
1985-06-30
1987-12-31
1989-12-31
1990-12-31
1992-06-30
1993-06-30
1994-06-30
1995-12-31
1997-06-30
1998-12-31
2005-12-31
2008-12-31
2012-06-30
>
#END leap-second-dates
};

# our %leap-seconds =
# @leap-second-dates Z=> $initial-offset + 1 .. *;

# So for any date $d in @leap-second-dates, $d 23:59:00 UTC
# is the leap second that made (or will make) UTC
# %leap-seconds{$d} seconds behind TAI.

# Ambiguous POSIX times.
our sub leap-second-posix() {
#BEGIN leap-second-posix
<
78796800
94694400
126230400
157766400
189302400
220924800
252460800
283996800
315532800
362793600
394329600
425865600
489024000
567993600
631152000
662688000
709948800
741484800
773020800
820454400
867715200
915148800
1136073600
1230768000
1341100800
>
#END leap-second-posix
};

};
# This file keeps track of the differences between TAI and UTC
# for internal use. The "BEGIN" and "END" comments are for
# tools/update-tai-utc.pl.

# Some handy tables:
# http://tf.nist.gov/pubs/bulletin/leapsecond.htm
# http://hpiers.obspm.fr/eop-pc/earthor/utc/TAI-UTC_tab.html

my module tai-utc {

#our $initial-offset = 10;
our sub initial-offset() { 10 }
# TAI - UTC at the Unix epoch (1970-01-01T00:00:00Z).

# our @leap-second-dates = <
our sub leap-second-dates() {
#BEGIN leap-second-dates
<
1972-06-30
1972-12-31
1973-12-31
1974-12-31
1975-12-31
1976-12-31
1977-12-31
1978-12-31
1979-12-31
1981-06-30
1982-06-30
1983-06-30
1985-06-30
1987-12-31
1989-12-31
1990-12-31
1992-06-30
1993-06-30
1994-06-30
1995-12-31
1997-06-30
1998-12-31
2005-12-31
2008-12-31
2012-06-30
>
#END leap-second-dates
};

# our %leap-seconds =
# @leap-second-dates Z=> $initial-offset + 1 .. *;

# So for any date $d in @leap-second-dates, $d 23:59:00 UTC
# is the leap second that made (or will make) UTC
# %leap-seconds{$d} seconds behind TAI.

# Ambiguous POSIX times.
our sub leap-second-posix() {
#BEGIN leap-second-posix
<
78796800
94694400
126230400
157766400
189302400
220924800
252460800
283996800
315532800
362793600
394329600
425865600
489024000
567993600
631152000
662688000
709948800
741484800
773020800
820454400
867715200
915148800
1136073600
1230768000
1341100800
>
#END leap-second-posix
};

};
2 changes: 1 addition & 1 deletion tools/build/NQP_REVISION
@@ -1 +1 @@
2012.12-22-gd5c0011
2013.01

0 comments on commit 86f3726

Please sign in to comment.