diff --git a/.travis.yml b/.travis.yml index b5531af7f..62b6624ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,3 +19,5 @@ script: - bundle exec jekyll build 2> error.log - cat >&2 error.log - ( ! grep -qie Error error.log ) +- find ./_site \( -type d \( -name events -o -name training \) -prune -false \) -o \( -type f ! -name error.log -empty \) +- find ./_site \( -type d \( -name events -o -name training \) -prune -false \) -o \( -type f ! -name error.log -empty \) | ( ! read ) diff --git a/_config.yml b/_config.yml index c83a03326..1a8043b20 100644 --- a/_config.yml +++ b/_config.yml @@ -4,5 +4,13 @@ scalaversion: "2.12.0" baseurl: "" markdown: kramdown -exclude: [bundle-vendor] +exclude: + - bundle-vendor/ + - blog/README.md + - training/README.md + - README.md + - news/README.md + - events/README.md + - Gemfile + - Gemfile.lock future: true diff --git a/_includes/footer.html b/_includes/footer.html index 96f4f6e90..61ed5ebc2 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -53,7 +53,6 @@ - diff --git a/_layouts/alldownloadspage.html b/_layouts/alldownloadspage.html deleted file mode 100644 index c242bc9aa..000000000 --- a/_layouts/alldownloadspage.html +++ /dev/null @@ -1,43 +0,0 @@ ---- -layout: page ---- - - - - -

-This page contains a comprehensive archive of previous Scala releases. -

- -{% for top in (0..3) reversed %} -{% for major in (0..20) reversed %} - -{% assign possibleVersionShort = top | append:'.' | append:major %} -{% assign sz = possibleVersionShort | size %} -{% if 3 == sz %} - {% assign possibleVersion = possibleVersionShort | append:'.' %} -{% else %} - {% assign possibleVersion = possibleVersionShort %} -{% endif %} - -{% for page in site.categories.download %} - -{% assign releaseVersion = page.release_version | truncate:4, '' %} - -{% if releaseVersion == possibleVersion %} - -
- {{ page.title }} -
- -{% endif %} - -{% endfor %} - -{% endfor %} -{% endfor %} - diff --git a/_layouts/page-full-width.html b/_layouts/base.html similarity index 69% rename from _layouts/page-full-width.html rename to _layouts/base.html index f974574a0..d4642c7a9 100644 --- a/_layouts/page-full-width.html +++ b/_layouts/base.html @@ -1,6 +1,4 @@ --- -layout: default -toc: true --- {% include headertop.html %} @@ -29,16 +27,7 @@

{{ page.title }}

-
-
-
- {% if page.by %} -
Written By: {{ page.by }}
- {% endif %} - {{ content }} -
-
-
+ {{ content }}
diff --git a/_layouts/blog.html b/_layouts/blog.html index ab2303260..b5c9c1475 100644 --- a/_layouts/blog.html +++ b/_layouts/blog.html @@ -1,53 +1,18 @@ --- -layout: default -toc: true +layout: base --- -{% include headertop.html %} -{% include headerbottom.html %} - -
- -
-
- -
-
- -
-
-

{{ page.title }}

-
+
+ + {% if page.by %} +
Written By: {{ page.by }}
+ {% endif %} + {{ content }} + {% if page.disqus == true %}{% include disqus.txt %}{% endif %}
- -
-
- - -
- - {% if page.by %} -
Written By: {{ page.by }}
- {% endif %} - {{ content }} - {% if page.disqus == true %}{% include disqus.txt %}{% endif %} -
- -
- - + - -{% include footer.html %} +
diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index e02a27c0d..000000000 --- a/_layouts/default.html +++ /dev/null @@ -1 +0,0 @@ -{{ content }} \ No newline at end of file diff --git a/_layouts/frontpage.html b/_layouts/frontpage.html index 54ad65e2f..76744417c 100644 --- a/_layouts/frontpage.html +++ b/_layouts/frontpage.html @@ -1,5 +1,4 @@ --- -layout: default --- {% include headertop.html %} @@ -12,8 +11,6 @@
{% include navbar.html %}
@@ -150,17 +147,6 @@

Higher-Order Functions

{% include bullet-pattern-matching.html %}
{% include bullet-higher-order-functions.html %}
- -
@@ -169,10 +155,6 @@

Upcoming Events

- - - -
@@ -188,10 +170,8 @@

Upcoming Events

Upcoming Training

@@ -219,7 +199,9 @@

Scala on Twitter

-
+
 
See more tweets, or
Follow Scala on Twitter diff --git a/_layouts/maindownloadpage.html b/_layouts/maindownloadpage.html deleted file mode 100644 index bb08bd415..000000000 --- a/_layouts/maindownloadpage.html +++ /dev/null @@ -1,19 +0,0 @@ ---- -layout: downloadpage ---- - - -

Additional information

- -You can find the links to prior versions or the latest development version below. -To see a detailed list of changes for each version of Scala please refer to the changelog. -Note that different major releases of Scala (e.g. Scala 2.11.x and Scala 2.12.x) are not binary compatible with each other. - - diff --git a/_layouts/page-no-toc.html b/_layouts/page-no-toc.html deleted file mode 100644 index fe8b6f04c..000000000 --- a/_layouts/page-no-toc.html +++ /dev/null @@ -1,49 +0,0 @@ ---- -layout: default ---- - -{% include headertop.html %} -{% include headerbottom.html %} - -
- -
-
- -
-
- -
-
-

{{ page.title }}

-
-
- -
-
- - -
- {% if page.by %} -
Written By: {{ page.by }}
- {% endif %} - {{ content }} -
- -
- - -
-
- -{% include footer.html %} diff --git a/_layouts/page.html b/_layouts/page.html index a3ddd7067..91761ed76 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -1,56 +1,22 @@ --- -layout: default +layout: base --- -{% include headertop.html %} -{% include headerbottom.html %} - -
- -
-
- -
-
- -
-
-

{{ page.title }}

-
+
+ {% if page.by %} +
Written By: {{ page.by }}
+ {% endif %} + {{ content }}
- -
-
- - -
- {% if page.by %} -
Written By: {{ page.by }}
- {% endif %} - {{ content }} -
- -
- - + - -{% include footer.html %} +
diff --git a/_layouts/scratch.txt b/_layouts/scratch.txt deleted file mode 100644 index b72032b0a..000000000 --- a/_layouts/scratch.txt +++ /dev/null @@ -1,28 +0,0 @@ -// Scratch stuff, wish to save - - -
-
- - - {% include navbar.html %} -
- - -
- - - // formerly splash-headline: - margin-top: 20px; - font-size: 75px; - text-transform: uppercase; - line-height: 65px; - font-weight: 700; - /*text-align: center;*/ - font-family: proxima-nova, sans-serif; - color: #fff; - text-shadow: 0 3px 0 #000; - /*background: rgba(193,215,46,0.77);*/ - /*height: 60px;*/ - /*padding: 0 12px;*/ - padding: 14px 20px 6px 20px; diff --git a/_tools/redirections.txt b/_tools/redirections.txt deleted file mode 100644 index 67785279f..000000000 --- a/_tools/redirections.txt +++ /dev/null @@ -1,22 +0,0 @@ -http://www.scala-lang.org/downloads/license.html -> license.html -http://www.scala-lang.org/node/146 -> license.html -http://www.scala-lang.org/node/273 -> what-is-scala.html -http://www.scala-lang.org/node/1305 -> documentation/ -http://www.scala-lang.org/node/1707 -> community/ -http://www.scala-lang.org/node/199 -> community/ -http://www.scala-lang.org/downloads -> download/ -http://www.scala-lang.org/node/43 -> download/changelog.html -http://www.scala-lang.org/archive -> news/ -http://www.scala-lang.org/2.10.2 -> news/2013/06/06/release-notes-v2.10.2.html -http://www.scala-lang.org/2.10.2-RC2 -> news/2013/05/31/release-notes-v2.10.2-RC2.html -http://www.scala-lang.org/2.11.0-M3 ->news/2013/05/29/release-notes-v2.11.0-M3.html -http://www.scala-lang.org/2.10.2-RC1 -> news/2013/05/23/release-notes-v2.10.2-RC1.html -http://www.scala-lang.org/node/40876 -> news/2013/05/21/scala-workshop-13.html -http://www.scala-lang.org/node/34365 -> news/2013/04/11/student-talks-sw13.html -http://www.scala-lang.org/node/34361 -> news/2013/04/11/philip-wadler-sw13.html -http://www.scala-lang.org/gsoc2013 -> news/2013/03/20/gsoc13.html -http://www.scala-lang.org/2.10.1 -> news/2013/03/13/release-notes-v2.10.1.html -http://www.scala-lang.org/node/31485 -> news/2013/03/12/scala-days-4.html -http://www.scala-lang.org/node/30977 -> news/2013/03/06/release-notes-v2.10.1-RC3.html -http://www.scala-lang.org/2.10.1-RC3 -> news/2013/02/28/release-notes-v2.10.1-RC2.html -http://www.scala-lang.org/2.9.3 -> news/2013/02/28/release-notes-v2.9.3.html diff --git a/_tools/validation/Gemfile b/_tools/validation/Gemfile deleted file mode 100644 index 6cb4f8ebb..000000000 --- a/_tools/validation/Gemfile +++ /dev/null @@ -1,5 +0,0 @@ -source 'https://rubygems.org' - -gem 'httparty' -gem 'json' -gem 'paint' diff --git a/_tools/validation/Gemfile.lock b/_tools/validation/Gemfile.lock deleted file mode 100644 index e87a156b8..000000000 --- a/_tools/validation/Gemfile.lock +++ /dev/null @@ -1,18 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - httparty (0.11.0) - multi_json (~> 1.0) - multi_xml (>= 0.5.2) - json (1.8.0) - multi_json (1.7.7) - multi_xml (0.5.4) - paint (0.8.6) - -PLATFORMS - ruby - -DEPENDENCIES - httparty - json - paint diff --git a/_tools/validation/validation.rb b/_tools/validation/validation.rb deleted file mode 100755 index 9ab043763..000000000 --- a/_tools/validation/validation.rb +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env ruby -# by Ricky Elrod (gh: @CodeBlock) -# Licensed under the same license as the same license as -# the scala/scala-lang repository from which this script originates. - -require 'httparty' -require 'json' -require 'paint' - -files = Dir.glob("#{File.dirname(__FILE__)}/../../_site/**/*.html") -files.each do |page| - begin - options = { - :body => File.open(page).read.to_s, - :headers => {'Content-Type' => 'text/html'} - } - r = HTTParty.post('http://validator.nu?out=json&parser=html5&laxtype=yes&level=error', options) - j = JSON.parse(r.response.body) - - if j['messages'].length > 0 - puts Paint["INVALID: #{page}", :red] - else - puts Paint["VALID: #{page}", :green] - end - rescue Exception => e - puts e - end -end diff --git a/blog/_posts/2016-01-02-new-year-resolutions.md b/blog/_posts/2016-01-02-new-year-resolutions.md index 6efa20693..419cd79e8 100644 --- a/blog/_posts/2016-01-02-new-year-resolutions.md +++ b/blog/_posts/2016-01-02-new-year-resolutions.md @@ -31,7 +31,7 @@ contributors get familiar with the code base. My second resolution is to take a larger effort to promote simplicity in Scala. I believe the recent [blog post by Jim -Plush](http://jimplush.com/talk/2015/12/19/moving-a-team-from-scala-to-golang/) should be a wakeup call for our +Plush](https://web.archive.org/web/20160612120018/http://jimplush.com/talk/2015/12/19/moving-a-team-from-scala-to-golang/) should be a wakeup call for our community. Scala is a very powerful and un-opinionated language. This means we have a large spectrum of choice how to write a Scala application or library. It's very important for all of us to use this @@ -59,7 +59,3 @@ simpler: The language, its foundations, its libraries. I hope you will join me in that venture. With that thought, I wish you a happy new year 2016. - - - - diff --git a/blog/_posts/2016-08-15-sip-meeting-august-results.md b/blog/_posts/2016-08-15-sip-meeting-august-results.md index 9b964d58b..fc7027ddb 100644 --- a/blog/_posts/2016-08-15-sip-meeting-august-results.md +++ b/blog/_posts/2016-08-15-sip-meeting-august-results.md @@ -23,7 +23,7 @@ The rejected proposals were: beautiful, the Committee agreed that would give more problems than benefits. Seth Tisue, the appointed reviewer, fully explains the Committee's reaction [here](https://github.com/scala/scala.github.com/issues/555). -- [SIP-16: Self-cleaning macros](http://docs.scala-lang.org/sips/pending/self-cleaning-macros.html). +- [SIP-16: Self-cleaning macros](http://docs.scala-lang.org/sips/rejected/self-cleaning-macros.html). Originally proposed in 2012. Macros add a whole new dimension to the Scala language. Their experimental implementation was adopted by a lot of Scala libraries and were immensely useful for the creation @@ -40,7 +40,7 @@ The rejected proposals were: The two proposals that made it to the next iteration are [SIP-23: Literal-based singleton types](http://docs.scala-lang.org/sips/pending/42.type.html) (reviewer: Adriaan Moors) and [SIP-27: Trailing -Commas](https://github.com/scala/scala.github.com/pull/533%23issuecomment-239422098) (reviewer: +Commas](https://github.com/scala/scala.github.com/pull/533#issuecomment-239422098) (reviewer: Eugene Burmako). The reviewers and committee members provided more feedback to iterate on. Both proposals already have provisional implementations and will continue to be discussed for diff --git a/blog/_posts/2016-10-14-dotty-errors.md b/blog/_posts/2016-10-14-dotty-errors.md index e99c284e8..46df95fd1 100644 --- a/blog/_posts/2016-10-14-dotty-errors.md +++ b/blog/_posts/2016-10-14-dotty-errors.md @@ -6,7 +6,7 @@ title: "Awesome Error Messages for Dotty" --- One thing that really excites me about being part of the core group of -developers working on [Dotty](http://lampepfl.github.io/dotty) is my chance to +developers working on [Dotty](http://dotty.epfl.ch/) is my chance to impact usability. A lot of thought has gone into designing Dotty to be as fast and structurally sound as possible. Now comes the next step - adding a new level of usability for the compiler and the surrounding tools. diff --git a/blog/_posts/2016-10-24-scalafix.md b/blog/_posts/2016-10-24-scalafix.md index 78c34e4f3..90d434c34 100644 --- a/blog/_posts/2016-10-24-scalafix.md +++ b/blog/_posts/2016-10-24-scalafix.md @@ -214,7 +214,7 @@ early release is still somewhat rough around the edges. Nevertheless, [scalafmt](https://olafurpg.github.io/scalafmt/) is already using these new macro annotations in production for more than a month now. If you are interested in learning more, the best place to get started is -[my recent Scala World workshop](http://olafurpg.github.io/scala.meta-workshop). +[the Whirlwind Tour of scala.meta](http://scalameta.org/tutorial/). Much like scalafix, new-style macros crucially rely on the infrastructure provided by scala.meta. Concretely, the converter and the diff --git a/contribute/tools.md b/contribute/tools.md index 877297636..008a1425a 100644 --- a/contribute/tools.md +++ b/contribute/tools.md @@ -12,12 +12,12 @@ Typically, issues for these projects will be reported and kept in the github pro Many of these projects have a gitter channel (usually listed in the README or CONTRIBUTING documents) which is a great place to discuss proposed work before commencing. There are some projects in this section that are in -[particular need](#projects_in_particular_need) so please check those out +[particular need](#projects-in-particular-need) so please check those out if you would like to help revive them. ### Broken Links? -Stuff changes. Found a broken link or something that needs updating on this page? Please, consider [submitting a documentation pull request](./documentation.html#updating_scalalangorg) to fix it. +Stuff changes. Found a broken link or something that needs updating on this page? Please, consider [submitting a documentation pull request](./documentation.html#updating-scala-langorg) to fix it. ### Projects diff --git a/documentation/books.md b/documentation/books.md index 5cb8ddcc3..00f640b35 100644 --- a/documentation/books.md +++ b/documentation/books.md @@ -45,7 +45,7 @@ for Technical Books – **Available Now** by Cay S. Horstmann -Published by [Addison-Wesley](http://www.pearsoned.co.uk/Imprints/Addison-Wesley/): +Published by [Addison-Wesley](https://heuk.pearson.com/about-us.html/Addison-Wesley/):
@@ -223,4 +223,3 @@ So there are few things more intriguing or important than code that we think we Scala Puzzlers is a collection of such examples in Scala. It is not only an entertaining and instructive way of understanding this highly expressive language better. It will also help you recognize many counter-intuitive traps and pitfalls and prevent them from inflicting further production bug hunt stress on Scala developers."
- diff --git a/documentation/index.md b/documentation/index.md index 362da076c..73472e334 100644 --- a/documentation/index.md +++ b/documentation/index.md @@ -1,5 +1,5 @@ --- -layout: page-full-width +layout: page title: Documentation --- @@ -13,10 +13,6 @@ title: Documentation

Overviews/Guides

Access detailed documentation on important language features.

-
-

Tutorials

-

Digest bite-size pieces of the essentials.

-
@@ -28,10 +24,6 @@ title: Documentation

Specification

Get an in-depth overview of the language.

-
-

Glossary

-

Understand Scala's vocabulary.

-
@@ -43,20 +35,21 @@ title: Documentation

Style Guide

Learn how to code elegantly.

+ +
+ +
+
+

Tutorials

+

Digest bite-size pieces of the essentials.

+
-

Common Scala Questions

-

Dispel your doubts about common Scala features.

+

Glossary

+

Understand Scala's vocabulary.

-
- - - + ## Online Learning @@ -92,10 +85,3 @@ the language : * [Scala By Example](http://www.scala-lang.org/docu/files/ScalaByExample.pdf): takes you through the Scala features with many examples. It does assume that you are already familiar with the basic Scala syntax and a basic understanding of functional programming. It is an excellent way to expand your knowledge and skill. * [Scala Overview](http://www.scala-lang.org/docu/files/ScalaOverview.pdf): this is a paper summarizing the features of the Scala Language in a formal and concise way. An excellent reference for language researchers or advanced programmers. * [Java to Scala with the Help of Experts](http://www.scala-lang.org/node/960): a collection of some of the almost endless supply of tips available for Java programmers new to Scala. There are also mini-blog series designed to take you through many of the important features of the Scala language in a friendly way. - - diff --git a/download/all.md b/download/all.md index 331fc91ec..1054a5dd7 100644 --- a/download/all.md +++ b/download/all.md @@ -1,8 +1,26 @@ --- -layout: alldownloadspage -title: Download Previous Versions -development_version: 2.11.0-M5 +layout: page +title: All Available Versions --- - +

This page contains a comprehensive archive of previous Scala releases.

+{% for top in (0..3) reversed %} + {% for major in (0..20) reversed %} + {% assign possibleVersionShort = top | append:'.' | append:major %} + {% assign sz = possibleVersionShort | size %} + {% if 3 == sz %} + {% assign possibleVersion = possibleVersionShort | append:'.' %} + {% else %} + {% assign possibleVersion = possibleVersionShort %} + {% endif %} + {% for page in site.categories.download %} + {% assign releaseVersion = page.release_version | truncate:4, '' %} + {% if releaseVersion == possibleVersion %} +
+ {{ page.title }} +
+ {% endif %} + {% endfor %} + {% endfor %} +{% endfor %} diff --git a/download/changelog.md b/download/changelog.md index 0226afe9a..7fa27f80c 100644 --- a/download/changelog.md +++ b/download/changelog.md @@ -282,7 +282,7 @@ The compiler now runs as optimised code. In addition, a number of improvements a #### Scaladoc 2 -A new look-and-feel, automatic comments expansion and wiki-like syntax, as well as compile-time error checking. Read more about changes on the [Scaladoc 2 mini-site](http://lampsvn.epfl.ch/trac/scala/wiki/Scaladoc/). +A new look-and-feel, automatic comments expansion and wiki-like syntax, as well as compile-time error checking. #### Sbaz 2 diff --git a/download/index.md b/download/index.md index 9c10a37bc..3aa067750 100644 --- a/download/index.md +++ b/download/index.md @@ -1,5 +1,5 @@ --- -layout: maindownloadpage +layout: downloadpage title: Download release_version: 2.12.0 release_date: "November 3, 2016" @@ -22,3 +22,18 @@ resources: [ ["-non-main-sys", "scala-sources-2.12.0.tar.gz", "https://github.com/scala/scala/archive/v2.12.0.tar.gz", "Sources", ""] ] --- + +

Additional information

+ +You can find the links to prior versions or the latest development version below. +To see a detailed list of changes for each version of Scala please refer to the changelog. +Note that different major releases of Scala (e.g. Scala 2.11.x and Scala 2.12.x) are not binary compatible with each other. + + diff --git a/events/2016-04-09-lxscala.md b/events/_posts/2016-04-09-lxscala.md similarity index 100% rename from events/2016-04-09-lxscala.md rename to events/_posts/2016-04-09-lxscala.md diff --git a/events/index.md b/events/index.md index 1ea8976a7..208439cda 100644 --- a/events/index.md +++ b/events/index.md @@ -1,5 +1,5 @@ --- -layout: page-no-toc +layout: page title: Upcoming events --- diff --git a/example.md b/example.md deleted file mode 100644 index a305251bb..000000000 --- a/example.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -layout: page -title: Example Page ---- - -# Header 1 - -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. - -## Header 2 - -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. - -### Header 3 - -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. - -#### Header 4 - -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. - -##### Header 5 - -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. - -###### Header 6 - -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. -Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. diff --git a/gsoc/2014.md b/gsoc/2014.md index f55ad8ea2..361a0b18a 100644 --- a/gsoc/2014.md +++ b/gsoc/2014.md @@ -453,7 +453,7 @@ should introduce themselves on the [group's mailing list][br2]. [br10]: http://github.com/scalanlp/breeze-viz [br11]: http://matplotlib.org/ [br12]: http://ggplot2.org/ -[br13]: http://dcjones.github.io/Gadfly.jl/ +[br13]: http://gadflyjl.org/stable/ ## Requirements and Guidelines @@ -473,7 +473,7 @@ number of applications. First, be aware of the following: make sure that the development is going according to the plan and students don't get stuck for weeks at a time (3 months may seem long, but in reality it is very easy to run out of time). -* The [official SoC timetable](http://www.google-melange.com/gsoc/events/google/gsoc2014) +* The [official SoC timetable](https://www.google-melange.com/archive/gsoc/2014) mentions May 19th as the official start of coding, but if you have time you are encouraged to research your proposals even before that (and definitely learn the basics of Scala, if you diff --git a/gsoc/2015.md b/gsoc/2015.md index a414198d6..f34d2a22a 100644 --- a/gsoc/2015.md +++ b/gsoc/2015.md @@ -162,7 +162,7 @@ Supervised by @axel22 ### TASTY support for Scala -Proposed in [the scala.meta project](https://www.parleys.com/talk/53a7d2c6e4b0543940d9e54b/chapter0/about), the idea of AST persistence recently gained traction in the Scala ecosystem. Last fall, [the Dotty team has adopted](https://groups.google.com/forum/#!topic/scala-internals/hshvEUF3JUk) TASTY, a typed AST pickling format, as its primary interchange format, and its implementation is already [making its way](https://github.com/lampepfl/dotty/pull/365) into the Dotty compiler. +Proposed in [the scala.meta project](http://scalameta.org/), the idea of AST persistence recently gained traction in the Scala ecosystem. Last fall, [the Dotty team has adopted](https://groups.google.com/forum/#!topic/scala-internals/hshvEUF3JUk) TASTY, a typed AST pickling format, as its primary interchange format, and its implementation is already [making its way](https://github.com/lampepfl/dotty/pull/365) into the Dotty compiler. The goal of this project is to implement serialization and deserialization of Scala compiler trees into TASTY to help us establish the new metaprogramming platform for the Scala ecosystem. This will facilitate interoperability between Scala and Dotty, will enable advanced metaprogramming techniques with scala.meta and provide the potential to improve code optimization facilities for Scala. @@ -193,7 +193,7 @@ number of applications. First, be aware of the following: make sure that the development is going according to the plan and students don't get stuck for weeks at a time (3 months may seem long, but in reality it is very easy to run out of time). -* The [official SoC timetable](http://www.google-melange.com/gsoc/events/google/gsoc2015) +* The [official SoC timetable](https://www.google-melange.com/archive/gsoc/2015) mentions May 19th as the official start of coding, but if you have time you are encouraged to research your proposals even before that (and definitely learn the basics of Scala, if you diff --git a/gsoc/2016.md b/gsoc/2016.md index 3ed7046d9..07fddae71 100644 --- a/gsoc/2016.md +++ b/gsoc/2016.md @@ -137,7 +137,7 @@ empirically evaluating the model across different sorts of applications. _(Note, there is already a waiting list for this project.)_ -Supervised by [@heathercmiller](https://github.com/heathercmiller/) +Supervised by [@heathermiller](https://github.com/heathermiller/) ### DottyDoc: A Documentation Generator for Dotty @@ -151,7 +151,7 @@ documentation generation tool (à la Scaladoc) for the Dotty compiler. _(Note, there is already a waiting list for this project.)_ -Supervised by [@heathercmiller](https://github.com/heathercmiller/) +Supervised by [@heathermiller](https://github.com/heathermiller/) ### DottyREPL: A Better REPL for Dotty @@ -252,10 +252,6 @@ and Scala.js) implementation of XML library based on fastparse parser combinator - Refine the AST model - Implement quasiquotes based on the parser and AST model -Original prototype is available at: - -[https://github.com/densh/scala-nxml](https://github.com/densh/scala-nxml) - Supervised by [@densh](https://github.com/densh) ## ENSIME project ideas @@ -266,7 +262,7 @@ This brings IDE features to your favourite text editor. A number of project ideas around ENSIME project are listed on the following page: -[http://ensime.github.io/contributing/ideas/](http://ensime.github.io/contributing/ideas/) +[http://ensime.github.io/contributing/](http://ensime.github.io/contributing/) Mentored by [@fommil](https://github.com/fommil) and/or [@a_dev_musing](https://twitter.com/a_dev_musing). diff --git a/license.md b/license.md index 4bdaabeb8..0c6eaa255 100644 --- a/license.md +++ b/license.md @@ -1,5 +1,5 @@ --- -layout: page-no-toc +layout: page title: Scala License --- diff --git a/news/_posts/2013-02-28-release-notes-v2.10.1-RC2.md b/news/_posts/2013-02-28-release-notes-v2.10.1-RC2.md index 6e61d02d3..d02c3e11a 100644 --- a/news/_posts/2013-02-28-release-notes-v2.10.1-RC2.md +++ b/news/_posts/2013-02-28-release-notes-v2.10.1-RC2.md @@ -21,8 +21,8 @@ Before reporting a bug, please have a look at these known issues scheduled [for ### Scala IDE for Eclipse The Scala IDE with Scala 2.10.1-RC2 built right in is available through one of the following update-sites: -* [for Eclipse 3.7 (Indigo)](http://download.scala-ide.org/sdk/e37/scala210/dev/site/) -* [for Eclipse 3.8/4.2 (Juno)](http://download.scala-ide.org/sdk/e38/scala210/dev/site/) (Support for this version is experimental.) +* for Eclipse 3.7 (Indigo) +* for Eclipse 3.8/4.2 (Juno) (Support for this version is experimental.) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. diff --git a/news/_posts/2013-02-28-release-notes-v2.9.3.md b/news/_posts/2013-02-28-release-notes-v2.9.3.md index 7dfd5f3be..8b0ff4431 100644 --- a/news/_posts/2013-02-28-release-notes-v2.9.3.md +++ b/news/_posts/2013-02-28-release-notes-v2.9.3.md @@ -18,8 +18,8 @@ This release includes the following improvements: You may install the Scala IDE 3.0-RC1 for Scala 2.9.3 through one of the following update-sites: - * [for Eclipse 3.7 (Indigo)](http://download.scala-ide.org/sdk/e37/scala29/dev/site/) - * [for Eclipse 3.8/4.2 (Juno)](http://download.scala-ide.org/sdk/e38/scala29/dev/site/) + * for Eclipse 3.7 (Indigo) + * for Eclipse 3.8/4.2 (Juno) #### A big thank you to all the contributors! diff --git a/news/_posts/2013-03-06-release-notes-v2.10.1-RC3.md b/news/_posts/2013-03-06-release-notes-v2.10.1-RC3.md index 0eaf26c06..f82c4e76f 100644 --- a/news/_posts/2013-03-06-release-notes-v2.10.1-RC3.md +++ b/news/_posts/2013-03-06-release-notes-v2.10.1-RC3.md @@ -21,8 +21,8 @@ Before reporting a bug, please have a look at these known issues scheduled [for ### Scala IDE for Eclipse The Scala IDE with Scala 2.10.1-RC3 built right in is available through one of the following update-sites: -* [for Eclipse 3.7 (Indigo)](http://download.scala-ide.org/sdk/e37/scala210/dev/site/) -* [for Eclipse 3.8/4.2 (Juno)](http://download.scala-ide.org/sdk/e38/scala210/dev/site/) (Support for this version is experimental.) +* for Eclipse 3.7 (Indigo) +* for Eclipse 3.8/4.2 (Juno) (Support for this version is experimental.) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. diff --git a/news/_posts/2013-03-13-release-notes-v2.10.1.md b/news/_posts/2013-03-13-release-notes-v2.10.1.md index dde1044ab..8253a1072 100644 --- a/news/_posts/2013-03-13-release-notes-v2.10.1.md +++ b/news/_posts/2013-03-13-release-notes-v2.10.1.md @@ -17,8 +17,8 @@ Before reporting a bug, please have a look at these [known issues](https://issue ### Scala IDE for Eclipse The Scala IDE with Scala 2.10.1-RC3 built right in is available through one of the following update-sites: -* [for Eclipse 3.7 (Indigo)](http://download.scala-ide.org/sdk/e37/scala210/dev/site/) -* [for Eclipse 3.8/4.2 (Juno)](http://download.scala-ide.org/sdk/e38/scala210/dev/site/) (Support for this version is experimental.) +* for Eclipse 3.7 (Indigo) +* for Eclipse 3.8/4.2 (Juno) (Support for this version is experimental.) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. diff --git a/news/_posts/2013-03-20-gsoc13.md b/news/_posts/2013-03-20-gsoc13.md index 2ce29f9e6..0d08947e3 100644 --- a/news/_posts/2013-03-20-gsoc13.md +++ b/news/_posts/2013-03-20-gsoc13.md @@ -358,9 +358,9 @@ Contact details for the plugin project This is the second time the Scala project has applied to the Summer of Code, and from last years experience, increased popularity of the language and stories of other mentor organizations we expect a high number of applications. First, be aware of the following: -* Make sure that you understand, fulfill and agree to the general [Google Summer of Code rules](http://google-melange.appspot.com/document/show/gsoc_program/google/gsoc2013/faqs) +* Make sure that you understand, fulfill and agree to the general [Google Summer of Code rules](https://www.google-melange.com/archive/gsoc/2013) * The work done during GSoC requires some discipline from the students as they have to plan their day-to-day activities by themselves. Nevertheless we expect regular contact with the mentors by the usual forms of communication (mail, chat, phone) to make sure that the development is going according to the plan and students don't get stuck for weeks at a time (3 months may seem long, but in reality it is very easy to run out of time). -* The [official SoC timetable](http://www.google-melange.com/gsoc/events/google/gsoc2013) mentions June 17th as the official start of coding, but if you have time you are encouraged to research your proposals even before that (and definitely learn the basics of Scala, if you haven't done that already). Note that the official time for coding has now shifted more towards summer and autumn (rather than spring and summer). +* The [official SoC timetable](https://www.google-melange.com/archive/gsoc/2013) mentions June 17th as the official start of coding, but if you have time you are encouraged to research your proposals even before that (and definitely learn the basics of Scala, if you haven't done that already). Note that the official time for coding has now shifted more towards summer and autumn (rather than spring and summer). ## Student Application Guidelines @@ -385,4 +385,4 @@ Your proposal should contain at least the following information, but feel free t * Any relevant skills that will help you to achieve the goal (programming languages, frameworks)? * Any previous open-source projects (or even previous GSoC) you have contributed to? * Do you plan to have any other commitments during SoC that may affect you work? Any vacations/holidays planned? Please be specific as much as you can. -* Contact details (**very important!**) \ No newline at end of file +* Contact details (**very important!**) diff --git a/news/_posts/2013-05-23-release-notes-v2.10.2-RC1.md b/news/_posts/2013-05-23-release-notes-v2.10.2-RC1.md index ae0aa3fa4..f24ce524c 100644 --- a/news/_posts/2013-05-23-release-notes-v2.10.2-RC1.md +++ b/news/_posts/2013-05-23-release-notes-v2.10.2-RC1.md @@ -17,8 +17,8 @@ Before reporting a bug, please have a look at these [known issues](https://issue ### Scala IDE for Eclipse The Scala IDE with Scala 2.10.2-RC1 built right in is available through one of the following update-sites: -* [for Eclipse 3.7 (Indigo)](http://download.scala-ide.org/sdk/e37/scala210/dev/site/) -* [for Eclipse 3.8/4.2 (Juno)](http://download.scala-ide.org/sdk/e38/scala210/dev/site/) (Support for this version is experimental.) +* for Eclipse 3.7 (Indigo) +* for Eclipse 3.8/4.2 (Juno) (Support for this version is experimental.) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. @@ -338,7 +338,7 @@ sha | Title [7250312](https://github.com/scala/scala/commit/7250312) | SI-6386 typed existential type tree's original now have tpe set [6a61e17](https://github.com/scala/scala/commit/6a61e17) | SI-7289 Less strict type application for TypeVar. [34a6fa9](https://github.com/scala/scala/commit/34a6fa9) | SI-6937 core type tags are no longer referentially unique -[dc3fa0a](https://github.com/scala/scala/commit/dc3fa0a) | if starr.use.released fetch Scala ${starr.version} for STARR +dc3fa0a | if starr.use.released fetch Scala ${starr.version} for STARR [3fe2e86](https://github.com/scala/scala/commit/3fe2e86) | assume build.release when maven.version.suffix is set [7184bd3](https://github.com/scala/scala/commit/7184bd3) | make quick.done depend on quick.bin again [0affa94](https://github.com/scala/scala/commit/0affa94) | SI-7321 Memory leak in specialize on multiple compiler runs. @@ -437,9 +437,9 @@ sha | Title [b2c2493](https://github.com/scala/scala/commit/b2c2493) | reflection no longer uses atPhase and friends [a9dca51](https://github.com/scala/scala/commit/a9dca51) | synchronizes symbols [0262941](https://github.com/scala/scala/commit/0262941) | removes the crazy extraneous log -[21d5d38](https://github.com/scala/scala/commit/21d5d38) | moves Symbol#SymbolKind to Symbols +21d5d38 | moves Symbol#SymbolKind to Symbols [3e7db2d](https://github.com/scala/scala/commit/3e7db2d) | adds some comments to resetAttrs -[e2a17d9](https://github.com/scala/scala/commit/e2a17d9) | resetAttrs now always erases This.tpe +e2a17d9 | resetAttrs now always erases This.tpe [4f1bfec](https://github.com/scala/scala/commit/4f1bfec) | Fix SI-7107: scala now thinks every exception is polymorphic [8187deb](https://github.com/scala/scala/commit/8187deb) | SI-7074 Fix xml attribute sorting [89be691](https://github.com/scala/scala/commit/89be691) | fixes the test for SI-7112 diff --git a/news/_posts/2013-05-29-release-notes-v2.11.0-M3.md b/news/_posts/2013-05-29-release-notes-v2.11.0-M3.md index 680981e7e..b2873e7fc 100644 --- a/news/_posts/2013-05-29-release-notes-v2.11.0-M3.md +++ b/news/_posts/2013-05-29-release-notes-v2.11.0-M3.md @@ -26,7 +26,7 @@ This will be fixed in the next milestone. ### Scala IDE for Eclipse The Scala IDE with Scala 2.11.0-M3 built right in is available through one of the following update-sites: -* [for Eclipse 3.7 (Indigo)](http://download.scala-ide.org/ecosystem/e37/scala211/dev/site/) +* for Eclipse 3.7 (Indigo) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. @@ -258,7 +258,7 @@ Issue(s) | Commit | Message [SI-7319](https://issues.scala-lang.org/browse/SI-7319), [SI-7319](https://issues.scala-lang.org/browse/SI-7319) | [ef04619](https://github.com/scala/scala/commit/ef04619) | SI-7319 Clear error buffer during Typer reset. [SI-7329](https://issues.scala-lang.org/browse/SI-7329) | [aa6723c](https://github.com/scala/scala/commit/aa6723c) | SI-7329 duplicate default getters for specialized parameters. [SI-7314](https://issues.scala-lang.org/browse/SI-7314) | [01edd04](https://github.com/scala/scala/commit/01edd04) | SI-7314 Partest locates tools.jar and javac -[SI-7312](https://issues.scala-lang.org/browse/SI-7312), [SI-7315](https://issues.scala-lang.org/browse/SI-7315) | [660c8fd](https://github.com/scala/scala/commit/660c8fd) | SI-7315 Test @deprecatedInheritance / @specialized interplay +[SI-7312](https://issues.scala-lang.org/browse/SI-7312), [SI-7315](https://issues.scala-lang.org/browse/SI-7315) | 660c8fd | SI-7315 Test @deprecatedInheritance / @specialized interplay [SI-7312](https://issues.scala-lang.org/browse/SI-7312) | [54d11fe](https://github.com/scala/scala/commit/54d11fe) | SI-7312 @deprecatedInheritance now ignores same-file subclasses [SI-7335](https://issues.scala-lang.org/browse/SI-7335) | [6690455](https://github.com/scala/scala/commit/6690455) | SI-7335 Remove special case for import of Predef._ in Predef.scala [SI-7335](https://issues.scala-lang.org/browse/SI-7335) | [b0fceeb](https://github.com/scala/scala/commit/b0fceeb) | SI-7335 Sharpen up comment about implicit prioritization. @@ -722,7 +722,7 @@ sha | Title [b47ca5b](https://github.com/scala/scala/commit/b47ca5b) | Update ScalaCheck to 1.10.1. [b4d54be](https://github.com/scala/scala/commit/b4d54be) | Partest testnum field width is sensitive to total tests [e4f62c0](https://github.com/scala/scala/commit/e4f62c0) | SI-7358 Partest fails on scalacheck failure -[c905b95](https://github.com/scala/scala/commit/c905b95) | no need to manually clear perRunCaches in GenASM +c905b95 | no need to manually clear perRunCaches in GenASM [176a1ba](https://github.com/scala/scala/commit/176a1ba) | maps in GenASM guaranteed mem-leak-free by perRunCaches [d516f38](https://github.com/scala/scala/commit/d516f38) | SI-7422 GenASM populates and clears its maps within a Run [7158142](https://github.com/scala/scala/commit/7158142) | SI-7291: Remove error kinds. @@ -805,7 +805,7 @@ sha | Title [e1af973](https://github.com/scala/scala/commit/e1af973) | Remove scaladoc deprecated option. [01edd04](https://github.com/scala/scala/commit/01edd04) | SI-7314 Partest locates tools.jar and javac [4e2459e](https://github.com/scala/scala/commit/4e2459e) | Reifier -> AST Node test. -[660c8fd](https://github.com/scala/scala/commit/660c8fd) | SI-7315 Test @deprecatedInheritance / @specialized interplay +660c8fd | SI-7315 Test @deprecatedInheritance / @specialized interplay [54d11fe](https://github.com/scala/scala/commit/54d11fe) | SI-7312 @deprecatedInheritance now ignores same-file subclasses [6690455](https://github.com/scala/scala/commit/6690455) | SI-7335 Remove special case for import of Predef._ in Predef.scala [b0fceeb](https://github.com/scala/scala/commit/b0fceeb) | SI-7335 Sharpen up comment about implicit prioritization. @@ -822,7 +822,7 @@ sha | Title [246eceb](https://github.com/scala/scala/commit/246eceb) | Optimization: avoid isDirectory call in DirectoryClassPath traversal [0cb6324](https://github.com/scala/scala/commit/0cb6324) | Add counters to File#{exists, isFile, isDirectory}. [f986d6d](https://github.com/scala/scala/commit/f986d6d) | Reduce visibility of implicit class tags. -[dc3fa0a](https://github.com/scala/scala/commit/dc3fa0a) | if starr.use.released fetch Scala ${starr.version} for STARR +dc3fa0a | if starr.use.released fetch Scala ${starr.version} for STARR [3fe2e86](https://github.com/scala/scala/commit/3fe2e86) | assume build.release when maven.version.suffix is set [7184bd3](https://github.com/scala/scala/commit/7184bd3) | make quick.done depend on quick.bin again [0affa94](https://github.com/scala/scala/commit/0affa94) | SI-7321 Memory leak in specialize on multiple compiler runs. @@ -948,7 +948,7 @@ sha | Title [69109c0](https://github.com/scala/scala/commit/69109c0) | Analyze constants to remove unnecessary branches [81a4f4d](https://github.com/scala/scala/commit/81a4f4d) | Restore sketchy dependency to quick.bin. [6ef63e4](https://github.com/scala/scala/commit/6ef63e4) | Fix it-never-happened performance regression. -[9c5ea96](https://github.com/scala/scala/commit/9c5ea96) | Moved some numeric subtyping logic closer to center. +9c5ea96 | Moved some numeric subtyping logic closer to center. [cb02c96](https://github.com/scala/scala/commit/cb02c96) | Simplified the widening logic. [2fa2db7](https://github.com/scala/scala/commit/2fa2db7) | SI-7228, bug in weak subtyping. [745c36a](https://github.com/scala/scala/commit/745c36a) | SI-7328 Bail out of names/defaults if args are error typed @@ -1013,7 +1013,7 @@ sha | Title [b2c2493](https://github.com/scala/scala/commit/b2c2493) | reflection no longer uses atPhase and friends [a9dca51](https://github.com/scala/scala/commit/a9dca51) | synchronizes symbols [0262941](https://github.com/scala/scala/commit/0262941) | removes the crazy extraneous log -[21d5d38](https://github.com/scala/scala/commit/21d5d38) | moves Symbol#SymbolKind to Symbols +21d5d38 | moves Symbol#SymbolKind to Symbols [3f0224c](https://github.com/scala/scala/commit/3f0224c) | Add option to disable optimization [c8fbba0](https://github.com/scala/scala/commit/c8fbba0) | Check named-args-for-clarity incur no extra bytecode [9179c88](https://github.com/scala/scala/commit/9179c88) | Name boolean arguments in src/library. @@ -1042,7 +1042,7 @@ sha | Title [bb067d3](https://github.com/scala/scala/commit/bb067d3) | SI-7146 - Fixing checkinit bug in ExecutionContextImpl and adding test [348ff4b](https://github.com/scala/scala/commit/348ff4b) | SI-7128 Fix regression in copyToArray for empty arrays [3e7db2d](https://github.com/scala/scala/commit/3e7db2d) | adds some comments to resetAttrs -[e2a17d9](https://github.com/scala/scala/commit/e2a17d9) | resetAttrs now always erases This.tpe +e2a17d9 | resetAttrs now always erases This.tpe [4f1bfec](https://github.com/scala/scala/commit/4f1bfec) | Fix SI-7107: scala now thinks every exception is polymorphic [8187deb](https://github.com/scala/scala/commit/8187deb) | SI-7074 Fix xml attribute sorting [89be691](https://github.com/scala/scala/commit/89be691) | fixes the test for SI-7112 @@ -1395,7 +1395,7 @@ sha | Title [78bc17b](https://github.com/scala/scala/commit/78bc17b) | Remove EqualsPatternClass. [143cd7a](https://github.com/scala/scala/commit/143cd7a) | macroExpandAll is now triggered by typed [fe60284](https://github.com/scala/scala/commit/fe60284) | SI-5923 adapt macros when they are deferred -[30e2e3a](https://github.com/scala/scala/commit/30e2e3a) | generalizes macroExpand +30e2e3a | generalizes macroExpand [94de3c8](https://github.com/scala/scala/commit/94de3c8) | typedPrimaryConstrBody now returns supercall [3d397aa](https://github.com/scala/scala/commit/3d397aa) | more precise errors for macros [055b07e](https://github.com/scala/scala/commit/055b07e) | parentTypes => typedParentTypes diff --git a/news/_posts/2013-05-31-release-notes-v2.10.2-RC2.md b/news/_posts/2013-05-31-release-notes-v2.10.2-RC2.md index c3d469355..72ed31a81 100644 --- a/news/_posts/2013-05-31-release-notes-v2.10.2-RC2.md +++ b/news/_posts/2013-05-31-release-notes-v2.10.2-RC2.md @@ -17,8 +17,8 @@ Before reporting a bug, please have a look at these [known issues](https://issue ### Scala IDE for Eclipse The Scala IDE with Scala 2.10.2-RC2 built right in is available through one of the following update-sites: -* [for Eclipse 3.7 (Indigo)](http://download.scala-ide.org/sdk/e37/scala210/dev/site/) -* [for Eclipse 3.8/4.2 (Juno)](http://download.scala-ide.org/sdk/e38/scala210/dev/site/) (Support for this version is experimental.) +* for Eclipse 3.7 (Indigo) +* for Eclipse 3.8/4.2 (Juno) (Support for this version is experimental.) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. @@ -348,7 +348,7 @@ sha | Title [7250312](https://github.com/scala/scala/commit/7250312) | SI-6386 typed existential type tree's original now have tpe set [6a61e17](https://github.com/scala/scala/commit/6a61e17) | SI-7289 Less strict type application for TypeVar. [34a6fa9](https://github.com/scala/scala/commit/34a6fa9) | SI-6937 core type tags are no longer referentially unique -[dc3fa0a](https://github.com/scala/scala/commit/dc3fa0a) | if starr.use.released fetch Scala ${starr.version} for STARR +dc3fa0a | if starr.use.released fetch Scala ${starr.version} for STARR [3fe2e86](https://github.com/scala/scala/commit/3fe2e86) | assume build.release when maven.version.suffix is set [7184bd3](https://github.com/scala/scala/commit/7184bd3) | make quick.done depend on quick.bin again [0affa94](https://github.com/scala/scala/commit/0affa94) | SI-7321 Memory leak in specialize on multiple compiler runs. @@ -447,9 +447,9 @@ sha | Title [b2c2493](https://github.com/scala/scala/commit/b2c2493) | reflection no longer uses atPhase and friends [a9dca51](https://github.com/scala/scala/commit/a9dca51) | synchronizes symbols [0262941](https://github.com/scala/scala/commit/0262941) | removes the crazy extraneous log -[21d5d38](https://github.com/scala/scala/commit/21d5d38) | moves Symbol#SymbolKind to Symbols +21d5d38 | moves Symbol#SymbolKind to Symbols [3e7db2d](https://github.com/scala/scala/commit/3e7db2d) | adds some comments to resetAttrs -[e2a17d9](https://github.com/scala/scala/commit/e2a17d9) | resetAttrs now always erases This.tpe +e2a17d9 | resetAttrs now always erases This.tpe [4f1bfec](https://github.com/scala/scala/commit/4f1bfec) | Fix SI-7107: scala now thinks every exception is polymorphic [8187deb](https://github.com/scala/scala/commit/8187deb) | SI-7074 Fix xml attribute sorting [89be691](https://github.com/scala/scala/commit/89be691) | fixes the test for SI-7112 diff --git a/news/_posts/2013-06-06-release-notes-v2.10.2.md b/news/_posts/2013-06-06-release-notes-v2.10.2.md index ad645104e..12490ab50 100644 --- a/news/_posts/2013-06-06-release-notes-v2.10.2.md +++ b/news/_posts/2013-06-06-release-notes-v2.10.2.md @@ -18,8 +18,8 @@ Before reporting a bug, please have a look at these [known issues](https://issue ### Scala IDE for Eclipse The Scala IDE with Scala 2.10.2 built right in is available through one of the following update-sites: -* [for Eclipse 3.7 (Indigo)](http://download.scala-ide.org/sdk/e37/scala210/dev/site/) -* [for Eclipse 3.8/4.2 (Juno)](http://download.scala-ide.org/sdk/e38/scala210/dev/site/) (Support for this version is experimental.) +* for Eclipse 3.7 (Indigo) +* for Eclipse 3.8/4.2 (Juno) (Support for this version is experimental.) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. @@ -316,7 +316,7 @@ sha | Title [7250312](https://github.com/scala/scala/commit/7250312) | SI-6386 typed existential type tree's original now have tpe set [6a61e17](https://github.com/scala/scala/commit/6a61e17) | SI-7289 Less strict type application for TypeVar. [34a6fa9](https://github.com/scala/scala/commit/34a6fa9) | SI-6937 core type tags are no longer referentially unique -[dc3fa0a](https://github.com/scala/scala/commit/dc3fa0a) | if starr.use.released fetch Scala ${starr.version} for STARR +dc3fa0a | if starr.use.released fetch Scala ${starr.version} for STARR [3fe2e86](https://github.com/scala/scala/commit/3fe2e86) | assume build.release when maven.version.suffix is set [7184bd3](https://github.com/scala/scala/commit/7184bd3) | make quick.done depend on quick.bin again [0affa94](https://github.com/scala/scala/commit/0affa94) | SI-7321 Memory leak in specialize on multiple compiler runs. @@ -415,9 +415,9 @@ sha | Title [b2c2493](https://github.com/scala/scala/commit/b2c2493) | reflection no longer uses atPhase and friends [a9dca51](https://github.com/scala/scala/commit/a9dca51) | synchronizes symbols [0262941](https://github.com/scala/scala/commit/0262941) | removes the crazy extraneous log -[21d5d38](https://github.com/scala/scala/commit/21d5d38) | moves Symbol#SymbolKind to Symbols +21d5d38 | moves Symbol#SymbolKind to Symbols [3e7db2d](https://github.com/scala/scala/commit/3e7db2d) | adds some comments to resetAttrs -[e2a17d9](https://github.com/scala/scala/commit/e2a17d9) | resetAttrs now always erases This.tpe +e2a17d9 | resetAttrs now always erases This.tpe [4f1bfec](https://github.com/scala/scala/commit/4f1bfec) | Fix SI-7107: scala now thinks every exception is polymorphic [8187deb](https://github.com/scala/scala/commit/8187deb) | SI-7074 Fix xml attribute sorting [89be691](https://github.com/scala/scala/commit/89be691) | fixes the test for SI-7112 diff --git a/news/_posts/2013-07-11-release-notes-v2.11.0-M4.md b/news/_posts/2013-07-11-release-notes-v2.11.0-M4.md index 603b4d280..acf9667d7 100644 --- a/news/_posts/2013-07-11-release-notes-v2.11.0-M4.md +++ b/news/_posts/2013-07-11-release-notes-v2.11.0-M4.md @@ -34,10 +34,10 @@ We'd [love to hear](https://issues.scala-lang.org/) about any regressions since When reporting a bug, please set the 'Affects Version' field to 2.11.0-M4 and add the `regression` label where appropriate. ### Scala IDE Lithium (4.0) for Eclipse -Please point your Eclipse 4.2/4.3 at http://download.scala-ide.org/sdk/e38/scala211/dev/site/ to update to the latest version that includes this milestone! +Please point your Eclipse 4.2/4.3 at http://scala-ide.org/ to update to the latest version that includes this milestone! For more info, please see [the getting started guide](http://scala-ide.org/docs/user/gettingstarted.html). ### Binary compatibility Note that this release is not binary compatible with the 2.10.x series, so you will need to obtain a fresh build of your dependencies against this version. -[@cunei](https://github.com/cunei) is working on [a tool](http://typesafehub.github.io/distributed-build/0.6.0/index.html) to solve this problem. The current version already builds [akka, genjavadoc, sbinary, sbt, sbt-full-library, sbt-republish, scala, scala-arm, scala-stm, scalabuff, scalacheck, scalatest, scalaz, shapeless, specs2, sperformance, zeromq-scala-binding, zinc](https://jenkins-dbuild.typesafe.com:8499/job/Community8/1/consoleFull). +[@cunei](https://github.com/cunei) is working on a tool to solve this problem. The current version already builds akka, genjavadoc, sbinary, sbt, sbt-full-library, sbt-republish, scala, scala-arm, scala-stm, scalabuff, scalacheck, scalatest, scalaz, shapeless, specs2, sperformance, zeromq-scala-binding, zinc. diff --git a/news/_posts/2013-09-18-release-notes-v2.10.3-RC2.md b/news/_posts/2013-09-18-release-notes-v2.10.3-RC2.md index 1273e0102..c5610bffb 100644 --- a/news/_posts/2013-09-18-release-notes-v2.10.3-RC2.md +++ b/news/_posts/2013-09-18-release-notes-v2.10.3-RC2.md @@ -17,7 +17,7 @@ Before reporting a bug, please have a look at these [known issues](https://issue ### Scala IDE for Eclipse The Scala IDE with Scala 2.10.3-RC2 built right in is available through the following update-site: -* [for Eclipse 4.2/4.3 (Juno/Kepler)](http://download.scala-ide.org/sdk/e38/scala210/dev/site/) +* for Eclipse 4.2/4.3 (Juno/Kepler) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. @@ -294,4 +294,4 @@ sha | Title [73d494d](https://github.com/scala/scala/commit/73d494d) | Reimplementing much of the DefaultPromise methods Optimizations: 1) Avoiding to - \ No newline at end of file + diff --git a/news/_posts/2013-09-24-release-notes-v2.10.3-RC3.md b/news/_posts/2013-09-24-release-notes-v2.10.3-RC3.md index e22ef2056..48f1e1e3f 100644 --- a/news/_posts/2013-09-24-release-notes-v2.10.3-RC3.md +++ b/news/_posts/2013-09-24-release-notes-v2.10.3-RC3.md @@ -23,7 +23,7 @@ Before reporting a bug, please have a look at these [known issues](https://issue ### Scala IDE for Eclipse The Scala IDE with Scala 2.10.3-RC3 built right in is available through the following update-site: -* [for Eclipse 4.2/4.3 (Juno/Kepler)](http://download.scala-ide.org/sdk/e38/scala210/dev/site/) +* for Eclipse 4.2/4.3 (Juno/Kepler) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. diff --git a/news/_posts/2013-09-28-release-notes-v2.11.0-M5.md b/news/_posts/2013-09-28-release-notes-v2.11.0-M5.md index 6422c8ad5..02b45e218 100644 --- a/news/_posts/2013-09-28-release-notes-v2.11.0-M5.md +++ b/news/_posts/2013-09-28-release-notes-v2.11.0-M5.md @@ -29,7 +29,7 @@ We'd [love to hear](https://issues.scala-lang.org/) about any regressions since When reporting a bug, please set the 'Affects Version' field to 2.11.0-M5 and add the `regression` label where appropriate. ## Scala IDE Lithium (4.0) for Eclipse -Please point your Eclipse 4.2/4.3 at http://download.scala-ide.org/sdk/e38/scala211/dev/site/ to update to the latest version that includes this milestone! +Please point your Eclipse 4.2/4.3 at http://scala-ide.org/ to update to the latest version that includes this milestone! For more info, please see [the getting started guide](http://scala-ide.org/docs/user/gettingstarted.html). ## Binary compatibility diff --git a/news/_posts/2013-10-01-release-notes-v2.10.3.md b/news/_posts/2013-10-01-release-notes-v2.10.3.md index 280ce61f5..8f34301d0 100644 --- a/news/_posts/2013-10-01-release-notes-v2.10.3.md +++ b/news/_posts/2013-10-01-release-notes-v2.10.3.md @@ -23,7 +23,7 @@ Before reporting a bug, please have a look at these [known issues](https://issue ### Scala IDE for Eclipse The Scala IDE with this release built right in is available through the following update-site: -* [for Eclipse 4.2/4.3 (Juno/Kepler)](http://download.scala-ide.org/sdk/e38/scala210/dev/site/) +* for Eclipse 4.2/4.3 (Juno/Kepler) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. @@ -305,4 +305,4 @@ sha | Title [73d494d](https://github.com/scala/scala/commit/73d494d) | Reimplementing much of the DefaultPromise methods Optimizations: 1) Avoiding to - \ No newline at end of file + diff --git a/news/_posts/2013-11-27-release-notes-v2.11.0-M7.md b/news/_posts/2013-11-27-release-notes-v2.11.0-M7.md index 183aa0f41..c281b050c 100644 --- a/news/_posts/2013-11-27-release-notes-v2.11.0-M7.md +++ b/news/_posts/2013-11-27-release-notes-v2.11.0-M7.md @@ -40,7 +40,7 @@ We'd [love to hear](https://issues.scala-lang.org/) about any regressions since When reporting a bug, please set the 'Affects Version' field to 2.11.0-M7 and add the `regression` label where appropriate. ## Scala IDE Lithium (4.0) for Eclipse -Please point your Eclipse 4.2/4.3 at http://download.scala-ide.org/sdk/e38/scala211/dev/site/ to update to the latest version that includes this milestone! +Please point your Eclipse 4.2/4.3 at http://scala-ide.org/ to update to the latest version that includes this milestone! For more info, please see [the getting started guide](http://scala-ide.org/docs/user/gettingstarted.html). ## Binary compatibility diff --git a/news/_posts/2013-12-20-release-notes-v2.10.4-RC1.md b/news/_posts/2013-12-20-release-notes-v2.10.4-RC1.md index 77e9660c9..ec4e683af 100644 --- a/news/_posts/2013-12-20-release-notes-v2.10.4-RC1.md +++ b/news/_posts/2013-12-20-release-notes-v2.10.4-RC1.md @@ -23,7 +23,7 @@ Before reporting a bug, please have a look at these [known issues](https://issue ### Scala IDE for Eclipse The Scala IDE with this release built right in is available through the following update-site: -* [for Eclipse 4.2/4.3 (Juno/Kepler)](http://download.scala-ide.org/sdk/helium/e38/scala210/dev/site) +* for Eclipse 4.2/4.3 (Juno/Kepler) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. @@ -237,5 +237,3 @@ sha | Title [2ccbfa5778](https://github.com/scala/scala/commit/2ccbfa5778) | SI-7783 Don't issue deprecation warnings for inferred TypeTrees [ee9138e99e](https://github.com/scala/scala/commit/ee9138e99e) | Bump version to 2.10.4 for nightlies [733b3220c9](https://github.com/scala/scala/commit/733b3220c9) | SI-7815 Dealias before deeming method type as dependent - - diff --git a/news/_posts/2014-01-28-release-notes-2.11.0-M8.md b/news/_posts/2014-01-28-release-notes-2.11.0-M8.md index dcabe3803..ba924fd7a 100644 --- a/news/_posts/2014-01-28-release-notes-2.11.0-M8.md +++ b/news/_posts/2014-01-28-release-notes-2.11.0-M8.md @@ -15,7 +15,7 @@ We are working with the community to ensure availability of the core artifacts o This release is *not* binary compatible with the 2.10.x series, so that we can keep improving the Scala standard library. Scala 2.11.0-M8 is available for download from [scala-lang.org](http://scala-lang.org/download/2.11.0-M8.html) -or from [Maven Central](http://search.maven.org/%23search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.11.0-M8%22). +or from [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.11.0-M8%22). The Scala team and contributors [fixed 119 issues](https://issues.scala-lang.org/issues/?jql=project+%3D+SI+AND+fixVersion+%3D+%22Scala+2.11.0-M8%22+AND+status+%3D+CLOSED+ORDER+BY+priority+DESC) via [174 merged pull requests](https://github.com/scala/scala/issues?milestone=26&page=1&state=closed)! @@ -27,7 +27,7 @@ Before reporting a bug, please have a look at these [known issues](https://issue ### Scala IDE for Eclipse The Scala IDE with this release built in will soon be available at the usual update-site: -* [for Eclipse 4.2/4.3 (Juno/Kepler)](http://download.scala-ide.org/sdk/e38/scala211/dev/site/) +* for Eclipse 4.2/4.3 (Juno/Kepler) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. diff --git a/news/_posts/2014-02-04-release-notes-2.10.4-RC2.md b/news/_posts/2014-02-04-release-notes-2.10.4-RC2.md index e7944c6c1..4fb155fe0 100644 --- a/news/_posts/2014-02-04-release-notes-2.10.4-RC2.md +++ b/news/_posts/2014-02-04-release-notes-2.10.4-RC2.md @@ -22,7 +22,7 @@ Before reporting a bug, please have a look at these [known issues](https://issue ### Scala IDE for Eclipse The Scala IDE with this release built right in is available through the following update-site: -* [for Eclipse 4.2/4.3 (Juno/Kepler)](http://download.scala-ide.org/sdk/e38/scala210/dev/site/) +* for Eclipse 4.2/4.3 (Juno/Kepler) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. @@ -254,4 +254,4 @@ sha | Title [733b322](https://github.com/scala/scala/commit/733b322) | SI-7815 Dealias before deeming method type as dependent - \ No newline at end of file + diff --git a/news/_posts/2014-02-25-release-notes-2.10.4-RC3.md b/news/_posts/2014-02-25-release-notes-2.10.4-RC3.md index cb06005d0..4105abe31 100644 --- a/news/_posts/2014-02-25-release-notes-2.10.4-RC3.md +++ b/news/_posts/2014-02-25-release-notes-2.10.4-RC3.md @@ -22,7 +22,7 @@ Before reporting a bug, please have a look at these [known issues](https://issue ### Scala IDE for Eclipse The Scala IDE with this release built right in is available through the following update-site: -* [for Eclipse 4.2/4.3 (Juno/Kepler)](http://download.scala-ide.org/sdk/e38/scala210/dev/site/) +* for Eclipse 4.2/4.3 (Juno/Kepler) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. @@ -153,7 +153,7 @@ Issue(s) | Commit | Message [SI-8126](https://issues.scala-lang.org/browse/SI-8126), [SI-6566](https://issues.scala-lang.org/browse/SI-6566) | [806b6e4](https://github.com/scala/scala/commit/806b6e4) | Backports library changes related to SI-6566 from a419799 [SI-8146](https://issues.scala-lang.org/browse/SI-8146), [SI-8146](https://issues.scala-lang.org/browse/SI-8146), [SI-8146](https://issues.scala-lang.org/browse/SI-8146), [SI-8146](https://issues.scala-lang.org/browse/SI-8146) | [ff13742](https://github.com/scala/scala/commit/ff13742) | [nomaster] SI-8146 Fix non-deterministic <:< for deeply nested types [SI-6443](https://issues.scala-lang.org/browse/SI-6443), [SI-8143](https://issues.scala-lang.org/browse/SI-8143) | [1baf11a](https://github.com/scala/scala/commit/1baf11a) | SI-8143 Fix bug with super-accessors / dependent types -[SI-8152](https://issues.scala-lang.org/browse/SI-8152) | [9df2dcc](https://github.com/scala/scala/commit/9df2dcc) | [nomaster] SI-8152 Backport variance validator performance fix +[SI-8152](https://issues.scala-lang.org/browse/SI-8152) | 9df2dcc | [nomaster] SI-8152 Backport variance validator performance fix [SI-8111](https://issues.scala-lang.org/browse/SI-8111) | [c91d373](https://github.com/scala/scala/commit/c91d373) | SI-8111 Expand the comment with a more detailed TODO [SI-8111](https://issues.scala-lang.org/browse/SI-8111) | [2c770ae](https://github.com/scala/scala/commit/2c770ae) | SI-8111 Repair symbol owners after abandoned named-/default-args [SI-7120](https://issues.scala-lang.org/browse/SI-7120), [SI-8114](https://issues.scala-lang.org/browse/SI-8114), [SI-7120](https://issues.scala-lang.org/browse/SI-7120) | [5876e8c](https://github.com/scala/scala/commit/5876e8c) | [nomaster] SI-8114 Binary compat. workaround for erasure bug SI-7120 @@ -201,12 +201,12 @@ sha | Title ---: | --- [5f4011e](https://github.com/scala/scala/commit/5f4011e) | [backport] SI-7902 Fix spurious kind error due to an unitialized symbol [8ee165c](https://github.com/scala/scala/commit/8ee165c) | SI-8205 [nomaster] backport test pos.lineContent -[d167f14](https://github.com/scala/scala/commit/d167f14) | [nomaster] corrects an error in reify’s documentation +d167f14 | [nomaster] corrects an error in reify’s documentation [806b6e4](https://github.com/scala/scala/commit/806b6e4) | Backports library changes related to SI-6566 from a419799 [ff13742](https://github.com/scala/scala/commit/ff13742) | [nomaster] SI-8146 Fix non-deterministic <:< for deeply nested types [cbb88ac](https://github.com/scala/scala/commit/cbb88ac) | [nomaster] Update MiMa and use new wildcard filter [1baf11a](https://github.com/scala/scala/commit/1baf11a) | SI-8143 Fix bug with super-accessors / dependent types -[9df2dcc](https://github.com/scala/scala/commit/9df2dcc) | [nomaster] SI-8152 Backport variance validator performance fix +9df2dcc | [nomaster] SI-8152 Backport variance validator performance fix [c91d373](https://github.com/scala/scala/commit/c91d373) | SI-8111 Expand the comment with a more detailed TODO [2c770ae](https://github.com/scala/scala/commit/2c770ae) | SI-8111 Repair symbol owners after abandoned named-/default-args [5876e8c](https://github.com/scala/scala/commit/5876e8c) | [nomaster] SI-8114 Binary compat. workaround for erasure bug SI-7120 @@ -268,4 +268,4 @@ sha | Title [733b322](https://github.com/scala/scala/commit/733b322) | SI-7815 Dealias before deeming method type as dependent - \ No newline at end of file + diff --git a/news/_posts/2014-03-06-release-notes-2.11.0-RC1.md b/news/_posts/2014-03-06-release-notes-2.11.0-RC1.md index 9b7a1c880..18cf2efd4 100644 --- a/news/_posts/2014-03-06-release-notes-2.11.0-RC1.md +++ b/news/_posts/2014-03-06-release-notes-2.11.0-RC1.md @@ -4,7 +4,7 @@ post-type: announcement title: "Scala 2.11.0-RC1 is now available!" --- -We are very pleased to announce the first release candidate of Scala 2.11.0! Download it now from [scala-lang.org](http://scala-lang.org/download/2.11.0-RC1.html) or via [Maven Central](http://search.maven.org/%23search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.11.0-RC1%22). +We are very pleased to announce the first release candidate of Scala 2.11.0! Download it now from [scala-lang.org](http://scala-lang.org/download/2.11.0-RC1.html) or via [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.11.0-RC1%22). Please do try out this release candidate to help us find any serious regressions before the final release. The next release candidate will be cut on Monday March 17, if there are no unresolved blocker bugs at noon (PST). Subsequent RCs will be released on a weekly schedule, with Monday at noon (PST) being the cut-off for blocker bug reports. Our goal is to have no more than three RCs for this release -- please help us achieve this by testing your project soon! @@ -28,7 +28,7 @@ Our gratitude goes to [@paulp](https://github.com/paulp), [@som-snytt](https://g With special thanks to the team at EPFL: [@xeno-by](https://github.com/xeno-by), [@densh](https://github.com/densh), [@magarciaEPFL](https://github.com/magarciaEPFL), [@VladimirNik](https://github.com/VladimirNik), [@lrytz](https://github.com/lrytz), [@VladUreche](https://github.com/VladUreche), [@heathermiller](https://github.com/heathermiller), [@sjrd](https://github.com/sjrd), [@hubertp](https://github.com/hubertp), [@OlivierBlanvillain](https://github.com/OlivierBlanvillain), [@namin](https://github.com/namin), [@cvogt](https://github.com/cvogt), [@vjovanov](https://github.com/vjovanov). -If you find any errors or omissions in these relates notes, [please submit a PR](https://github.com/scala/make-release-notes/blob/master/hand-written.md)! +If you find any errors or omissions in these relates notes, [please submit a PR](https://github.com/scala/make-release-notes/blob/2.11.x/hand-written.md)! ### Reporting Bugs / Known Issues Please [file any bugs you encounter](https://issues.scala-lang.org/secure/CreateIssueDetails!init.jspa?pid=10005&issuetype=1&versions=11311). If you're unsure whether something is a bug, please contact the [scala-user](https://groups.google.com/forum/?fromgroups#!forum/scala-user) mailing list. @@ -36,10 +36,10 @@ Please [file any bugs you encounter](https://issues.scala-lang.org/secure/Create Before reporting a bug, please have a look at these [known issues](https://issues.scala-lang.org/issues/?jql=project%20%3D%20SI%20AND%20fixVersion%20%21%3D%20%22Scala%202.11.0-RC1%22%20AND%20affectedVersion%20%3D%20%22Scala%202.11.0-RC1%22%20%20and%20resolution%20%3D%20unresolved%20ORDER%20BY%20priority%20DESC). ### Scala IDE for Eclipse -The Scala IDE with this release built in is [available from this update site](http://download.scala-ide.org/sdk/helium/e38/scala211/dev/site/) for [Eclipse 4.2/4.3 (Juno/Kepler)](http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/keplersr2). Please have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. +The Scala IDE with this release built in is available from this update site for [Eclipse 4.2/4.3 (Juno/Kepler)](http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/keplersr2). Please have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. ### Available projects -The following Scala projects have already been released against 2.11.0-RC1! We'd love to include yours in this list as soon as it's available -- please submit a PR to update [these release notes](https://github.com/scala/make-release-notes/blob/master/hand-written.md). +The following Scala projects have already been released against 2.11.0-RC1! We'd love to include yours in this list as soon as it's available -- please submit a PR to update [these release notes](https://github.com/scala/make-release-notes/blob/2.11.x/hand-written.md). "org.scalacheck" %% "scalacheck" % "1.11.3" "org.scalafx" %% "scalafx" % "1.0.0-R8" @@ -72,7 +72,7 @@ Here's how we recommend handling this in sbt 0.13. For the full build, see [[@gk } ### Important changes -For most cases, code that compiled under 2.10.x without deprecation warnings should not be affected. We've verified this by [compiling](https://jenkins-dbuild.typesafe.com:8499/job/Community-2.11.x) a [sizeable number of open source projects](https://github.com/typesafehub/community-builds/blob/master/community-2.11.x.dbuild#L26). +For most cases, code that compiled under 2.10.x without deprecation warnings should not be affected. We've verified this by [compiling](https://jenkins-dbuild.typesafe.com:8499/job/Community-2.11.x) a [sizeable number of open source projects](https://github.com/scala/community-builds/blob/2.11.x/community.dbuild). Changes to the reflection API may cause breakages, but these breakages can be easily fixed in a manner that is source-compatible with Scala 2.10.x. Follow our reflection/macro changelog for [detailed instructions](http://docs.scala-lang.org/overviews/macros/changelog211.html#how_to_make_your_210x_macros_work_in_2110). diff --git a/news/_posts/2014-03-20-release-notes-2.11.0-RC3.md b/news/_posts/2014-03-20-release-notes-2.11.0-RC3.md index 2a2370e92..fb15bf703 100644 --- a/news/_posts/2014-03-20-release-notes-2.11.0-RC3.md +++ b/news/_posts/2014-03-20-release-notes-2.11.0-RC3.md @@ -4,7 +4,7 @@ post-type: announcement title: "Scala 2.11.0-RC3 is now available!" --- -We are very pleased to announce Scala 2.11.0-RC3, the second (sic) release candidate of Scala 2.11.0! Download it now from [scala-lang.org](http://scala-lang.org/download/2.11.0-RC3.html) or via [Maven Central](http://search.maven.org/%23search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.11.0-RC3%22). +We are very pleased to announce Scala 2.11.0-RC3, the second (sic) release candidate of Scala 2.11.0! Download it now from [scala-lang.org](http://scala-lang.org/download/2.11.0-RC3.html) or via [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.11.0-RC3%22). There won't be an RC2 release because we missed a [blocker issue](https://issues.scala-lang.org/browse/SI-8341) (thanks for the reminder, Chee Seng!). Unfortunately, the mistake wasn't caught until after the tag was pushed. Jason quickly [fixed](https://github.com/scala/scala/pull/3639) the bug, which is the only [difference between RC3 and RC2](https://github.com/scala/scala/compare/v2.11.0-RC2...v2.11.0-RC3). @@ -28,7 +28,7 @@ Concretely, according to `git log --no-merges --oneline master --not 2.10.x --fo Thank you all very much. -If you find any errors or omissions in these relates notes, [please submit a PR](https://github.com/scala/make-release-notes/blob/master/hand-written.md)! +If you find any errors or omissions in these relates notes, [please submit a PR](https://github.com/scala/make-release-notes/blob/2.11.x/hand-written.md)! ### Reporting Bugs / Known Issues Please [file any bugs you encounter](https://issues.scala-lang.org/secure/CreateIssueDetails!init.jspa?pid=10005&issuetype=1&versions=11311). If you're unsure whether something is a bug, please contact the [scala-user](https://groups.google.com/forum/?fromgroups#!forum/scala-user) mailing list. @@ -36,10 +36,10 @@ Please [file any bugs you encounter](https://issues.scala-lang.org/secure/Create Before reporting a bug, please have a look at these [known issues](https://issues.scala-lang.org/issues/?jql=project%20%3D%20SI%20AND%20fixVersion%20%21%3D%20%22Scala%202.11.0-RC3%22%20AND%20affectedVersion%20%3D%20%22Scala%202.11.0-RC3%22%20%20and%20resolution%20%3D%20unresolved%20ORDER%20BY%20priority%20DESC). ### Scala IDE for Eclipse -The Scala IDE with this release built in is [available from this update site](http://download.scala-ide.org/sdk/helium/e38/scala211/dev/site/) for [Eclipse 4.2/4.3 (Juno/Kepler)](http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/keplersr2). Please have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. +The Scala IDE with this release built in is available from this update site for [Eclipse 4.2/4.3 (Juno/Kepler)](http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/keplersr2). Please have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. ### Available projects -The following Scala projects have already been released against 2.11.0-RC3! We'd love to include yours in this list as soon as it's available -- please submit a PR to update [these release notes](https://github.com/scala/make-release-notes/blob/master/hand-written.md). +The following Scala projects have already been released against 2.11.0-RC3! We'd love to include yours in this list as soon as it's available -- please submit a PR to update [these release notes](https://github.com/scala/make-release-notes/blob/2.11.x/hand-written.md). "org.scalacheck" %% "scalacheck" % "1.11.3" "org.scalafx" %% "scalafx" % "1.0.0-R8" @@ -81,7 +81,7 @@ Here's how we recommend handling this in sbt 0.13. For the full build and Maven } ### Important changes -For most cases, code that compiled under 2.10.x without deprecation warnings should not be affected. We've verified this by [compiling](https://jenkins-dbuild.typesafe.com:8499/job/Community-2.11.x) a [sizeable number of open source projects](https://github.com/typesafehub/community-builds/blob/master/common-2.11.x.conf#L43). +For most cases, code that compiled under 2.10.x without deprecation warnings should not be affected. We've verified this by [compiling](https://jenkins-dbuild.typesafe.com:8499/job/Community-2.11.x) a [sizeable number of open source projects](https://github.com/scala/community-builds/blob/2.11.x/common.conf). Changes to the reflection API may cause breakages, but these breakages can be easily fixed in a manner that is source-compatible with Scala 2.10.x. Follow our reflection/macro changelog for [detailed instructions](http://docs.scala-lang.org/overviews/macros/changelog211.html#how_to_make_your_210x_macros_work_in_2110). diff --git a/news/_posts/2014-03-24-release-notes-2.10.4.md b/news/_posts/2014-03-24-release-notes-2.10.4.md index 72498f07c..f12c94cb6 100644 --- a/news/_posts/2014-03-24-release-notes-2.10.4.md +++ b/news/_posts/2014-03-24-release-notes-2.10.4.md @@ -19,8 +19,8 @@ Before reporting a bug, please have a look at these [known issues](https://issue ### Scala IDE for Eclipse The Scala IDE with this release built right in is available through the following update-site for Eclipse 4.2/4.3 (Juno/Kepler): -* [Development version](http://download.scala-ide.org/sdk/helium/e38/scala210/dev/site) (Scala IDE 3.0.3-rc3 on Scala 2.10.4) -* [Stable version](http://download.scala-ide.org/sdk/helium/e38/scala210/stable/site) (will have 2.10.4 as soon as Scala IDE 3.0.3-vfinal is released) +* Development version (Scala IDE 3.0.3-rc3 on Scala 2.10.4) +* Stable version (will have 2.10.4 as soon as Scala IDE 3.0.3-vfinal is released) Have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. diff --git a/news/_posts/2014-04-08-release-notes-2.11.0-RC4.md b/news/_posts/2014-04-08-release-notes-2.11.0-RC4.md index 81c3e7d8f..3b1bf0e62 100644 --- a/news/_posts/2014-04-08-release-notes-2.11.0-RC4.md +++ b/news/_posts/2014-04-08-release-notes-2.11.0-RC4.md @@ -4,7 +4,7 @@ post-type: announcement title: "Scala 2.11.0-RC4 is now available!" --- -We are very pleased to announce Scala 2.11.0-RC4, the next release candidate of Scala 2.11.0! Download it now from [scala-lang.org](http://scala-lang.org/download/2.11.0-RC4.html) or via [Maven Central](http://search.maven.org/%23search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.11.0-RC4%22). +We are very pleased to announce Scala 2.11.0-RC4, the next release candidate of Scala 2.11.0! Download it now from [scala-lang.org](http://scala-lang.org/download/2.11.0-RC4.html) or via [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.11.0-RC4%22). Since RC3, we've fixed two blocker bugs, and admitted some final polish for macros and quasiquotes. Here's the [difference between RC4 and RC3](https://github.com/scala/scala/compare/v2.11.0-RC3...v2.11.0-RC4). @@ -28,7 +28,7 @@ Concretely, according to `git log --no-merges --oneline master --not 2.10.x --fo Thank you all very much. -If you find any errors or omissions in these relates notes, [please submit a PR](https://github.com/scala/make-release-notes/blob/master/hand-written.md)! +If you find any errors or omissions in these relates notes, [please submit a PR](https://github.com/scala/make-release-notes/blob/2.11.x/hand-written.md)! ### Reporting Bugs / Known Issues Please [file any bugs you encounter](https://issues.scala-lang.org/secure/CreateIssueDetails!init.jspa?pid=10005&issuetype=1&versions=11311). If you're unsure whether something is a bug, please contact the [scala-user](https://groups.google.com/forum/?fromgroups#!forum/scala-user) mailing list. @@ -36,10 +36,10 @@ Please [file any bugs you encounter](https://issues.scala-lang.org/secure/Create Before reporting a bug, please have a look at these [known issues](https://issues.scala-lang.org/issues/?jql=project%20%3D%20SI%20AND%20fixVersion%20%21%3D%20%22Scala%202.11.0-RC3%22%20AND%20affectedVersion%20%3D%20%22Scala%202.11.0-RC4%22%20%20and%20resolution%20%3D%20unresolved%20ORDER%20BY%20priority%20DESC). ### Scala IDE for Eclipse -The Scala IDE with this release built in is [available from this update site](http://download.scala-ide.org/sdk/helium/e38/scala211/dev/site/) for [Eclipse 4.2/4.3 (Juno/Kepler)](http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/keplersr2). Please have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. +The Scala IDE with this release built in is available from this update site for [Eclipse 4.2/4.3 (Juno/Kepler)](http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/keplersr2). Please have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. ### Available projects -The following Scala projects have already been released against 2.11.0-RC4! We'd love to include yours in this list as soon as it's available -- please submit a PR to update [these release notes](https://github.com/scala/make-release-notes/blob/master/hand-written.md). +The following Scala projects have already been released against 2.11.0-RC4! We'd love to include yours in this list as soon as it's available -- please submit a PR to update [these release notes](https://github.com/scala/make-release-notes/blob/2.11.x/hand-written.md). "org.scalacheck" %% "scalacheck" % "1.11.3" "com.typesafe.akka" %% "akka-actor" % "2.3.0" @@ -85,7 +85,7 @@ Here's how we recommend handling this in sbt 0.13. For the full build and Maven } ### Important changes -For most cases, code that compiled under 2.10.x without deprecation warnings should not be affected. We've verified this by [compiling](https://jenkins-dbuild.typesafe.com:8499/job/Community-2.11.x) a [sizeable number of open source projects](https://github.com/typesafehub/community-builds/blob/master/common-2.11.x.conf#L43). +For most cases, code that compiled under 2.10.x without deprecation warnings should not be affected. We've verified this by compiling a [sizeable number of open source projects](https://github.com/scala/community-builds/blob/2.11.x/common.conf). Changes to the reflection API may cause breakages, but these breakages can be easily fixed in a manner that is source-compatible with Scala 2.10.x. Follow our reflection/macro changelog for [detailed instructions](http://docs.scala-lang.org/overviews/macros/changelog211.html#how_to_make_your_210x_macros_work_in_2110). @@ -405,7 +405,7 @@ sha | Title [a16e003](https://github.com/scala/scala/commit/a16e003) | Bump version to 2.10.5 for nightly builds. [5f4011e](https://github.com/scala/scala/commit/5f4011e) | [backport] SI-7902 Fix spurious kind error due to an unitialized symbol [8ee165c](https://github.com/scala/scala/commit/8ee165c) | SI-8205 [nomaster] backport test pos.lineContent -[d167f14](https://github.com/scala/scala/commit/d167f14) | [nomaster] corrects an error in reify’s documentation +d167f14 | [nomaster] corrects an error in reify’s documentation [806b6e4](https://github.com/scala/scala/commit/806b6e4) | Backports library changes related to SI-6566 from a419799 [ff13742](https://github.com/scala/scala/commit/ff13742) | [nomaster] SI-8146 Fix non-deterministic <:< for deeply nested types [cbb88ac](https://github.com/scala/scala/commit/cbb88ac) | [nomaster] Update MiMa and use new wildcard filter @@ -415,4 +415,4 @@ sha | Title [ff02fda](https://github.com/scala/scala/commit/ff02fda) | Bump versions for 2.11.0-RC3 - \ No newline at end of file + diff --git a/news/_posts/2014-04-21-release-notes-2.11.0.md b/news/_posts/2014-04-21-release-notes-2.11.0.md index bac163ba5..525c6e8a5 100644 --- a/news/_posts/2014-04-21-release-notes-2.11.0.md +++ b/news/_posts/2014-04-21-release-notes-2.11.0.md @@ -75,7 +75,7 @@ Please [file any bugs you encounter](https://issues.scala-lang.org/secure/Create Before reporting a bug, please have a look at these [known issues](https://issues.scala-lang.org/issues/?jql=project%20%3D%20SI%20AND%20fixVersion%20%21%3D%20%22Scala%202.11.0-RC3%22%20AND%20affectedVersion%20%3D%20%22Scala%202.11.0%22%20%20and%20resolution%20%3D%20unresolved%20ORDER%20BY%20priority%20DESC). ### Scala IDE for Eclipse -The Scala IDE with this release built in is [available from this update site](http://download.scala-ide.org/sdk/helium/e38/scala211/stable/site/) for [Eclipse 4.2/4.3 (Juno/Kepler)](http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/keplersr2). Please have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. +The Scala IDE with this release built in is available from this update site for Eclipse 4.2/4.3 (Juno/Kepler). Please have a look at the [getting started guide](http://scala-ide.org/docs/user/gettingstarted.html) for more info. ### Available projects The following Scala projects have already been released against 2.11.0! We'd love to include yours in this list as soon as it's available -- please submit a PR to update [these release notes](https://github.com/scala/make-release-notes/blob/master/hand-written.md). diff --git a/news/_posts/2015-12-09-schedule-update.md b/news/_posts/2015-12-09-schedule-update.md index 829e8e027..f4a7b90c7 100644 --- a/news/_posts/2015-12-09-schedule-update.md +++ b/news/_posts/2015-12-09-schedule-update.md @@ -30,14 +30,14 @@ Areas where participation is welcome include: - Library authors: if (the latest version of) your library isn't included in the 2.12 community build, we have [documented](https://github.com/scala/community-builds/wiki) how to add it. We’ll be happy to help, as the community build is helping us catch more regressions than ever. As always, we're counting on your help with testing - before we go into RC mode! (The [2.12 community build config](https://github.com/scala/community-builds/blob/2.12.x/common.conf)  + before we go into RC mode! (The [2.12 community build config](https://github.com/scala/community-builds/blob/2.12.x/project-refs.conf)  lists which version of each built project, and whether its test suite is being exercised.) - Reviewing [pull requests in the Scala repository](https://github.com/scala/scala/pulls), where 2.12.x is now the default branch. Strong motivation will be needed before we merge anything but important bug fixes to the 2.11.x branch. - Documentation updates and reviewing help are much appreciated at the [scala-lang](https://github.com/scala/scala-lang/pulls)  and [docs.scala-lang](https://github.com/scala/scala.github.com/pulls) repos. -You can talk to us about 2.12 on the [scala-internals mailing list](https://groups.google.com/forum/%23!forum/scala-internals)  +You can talk to us about 2.12 on the [scala-internals mailing list](https://groups.google.com/forum/#!forum/scala-internals)  and the [scala/contributors Gitter room](https://gitter.im/scala/contributors). (An [expanded community page](http://www.scala-lang.org/community/) on the Scala site lists these and other forums and resources.) @@ -91,4 +91,3 @@ make the last push to complete 2.12.0-RC1 according to this schedule. | 2.10.4 | *Mar 18, 2014* | | | 2.10.5 | *Mar 4, 2015* | EOL two years after 2.10.1 | | 2.10.6 | *Sep 18, 2015* | resolve license incompatibility | - diff --git a/resources/js/main.js b/resources/js/main.js index 1b00532fd..05c0e804f 100755 --- a/resources/js/main.js +++ b/resources/js/main.js @@ -129,40 +129,6 @@ $(document).ready(function(){ $(".shadow").css('display','block'); } - // tweets - $(function(){ - $("#tweets").tweetMachine('', { - backendScript: '/webscripts/ajax/getFromTwitter.php?callback=?', - endpoint: 'statuses/user_timeline', - user_name: 'scala_lang', - include_retweets: true, - exclude_replies: false, - limit: 4, - autoRefresh: false, - tweetFormat: '\ -
\ -
\ -

\ -
\ -
\ -
\ -
\ -
\ -
\ -
\ -
\ -
\ - \ -
\ - \ - \ - \ -
\ -
\ - ' - }); - }); - }); diff --git a/resources/js/vendor/tweetMachine.js b/resources/js/vendor/tweetMachine.js deleted file mode 100644 index b4e1d3560..000000000 --- a/resources/js/vendor/tweetMachine.js +++ /dev/null @@ -1,382 +0,0 @@ -/* - * jQuery TweetMachine v0.2.1b - * GitHub: https://github.com/ryangiglio/jquery-tweetMachine - * Copyright (c) 2013 Ryan Giglio (@ryangiglio) - */ -(function ($) { - // Plugin body - $.fn.tweetMachine = function (query, options, callback) { - // For each instance of the plugin - $(this).each(function () { - var settings, tweetMachine; - // If this.tweetMachine is already initialized, just change the settings - if (this.tweetMachine) { - // Overwrite the initialized/default settings - settings = $.extend(this.tweetMachine.settings, options); - this.tweetMachine.settings = settings; - - // If a new query has been passed - if (query) { - // Replace the old query - this.tweetMachine.query = query; - } - // If a tweet interval is already set up - if (this.tweetMachine.interval) { - // Refresh now so the new settings can kick in - this.tweetMachine.refresh(); - } - // If a new callback was passed - if (callback) { - // Replace the old callback - this.tweetMachine.callback = callback; - } - } else { // It's not initialized, so let's do that - settings = $.extend({ - backendScript: 'ajax/getFromTwitter.php', // Path to your backend script that holds your Twitter credentials and calls the API - endpoint: 'search/tweets', // Twitter API endpoint to call. Currently only search/tweets is supported - user_name: 'jason_alvis', // Set your username - include_retweets: true, // Set to true or false if you want to include retweets - exclude_replies: false, // Set to true or false if you want to exclude replies - rate: 5000, // Rate in ms to refresh the tweets. Any higher than 5000 for search/tweets will get you rate limited - limit: 5, // Number of tweets to display at a time - autoRefresh: true, // CURRENTLY REQUIRED. Auto-refresh the tweets - animateOut: false, // NOT YET SUPPORTED. Animate out old tweets. - animateIn: true, // Fade in new tweets. - tweetFormat: "
  • ", // Format for each tweet - localization: { // Verbiage to use for timestamps - seconds: 'seconds ago', - minute: 'a minute ago', - minutes: 'minutes ago', - hour: 'an hour ago', - hours: 'hours ago', - day: 'a day ago', - days: 'days ago' - }, - filter: false // Function to filter tweet results. - }, options); - this.tweetMachine = { - settings: settings, // Set the settings object - query: query, // Set the query to search for - interval: false, // This will hold the refresh interval when it is created - container: this, // Set the object that contains the tweets - lastTweetID: null, // This will hold the ID of the last tweet displayed - callback: callback, // This callback will run after each refresh - - /* - * Function to generate a relative timestamp from Twitter's time string - */ - relativeTime: function (timeString) { - var delta, parsedDate, r; - - // Create a Date object - parsedDate = Date.parse(timeString); - - // Get the number of seconds ago that the tweet was created - delta = (Date.parse(Date()) - parsedDate) / 1000; - - // String to hold the relative time - r = ''; - - // If it was less than a minute ago - if (delta < 60) { - r = delta + " " + settings.localization.seconds; - // If it was less than 2 minutes ago - } else if (delta < 120) { - r = settings.localization.minute; - // If it was less than 45 minutes ago - } else if (delta < (45 * 60)) { - r = (parseInt(delta / 60, 10)).toString() + " " + settings.localization.minutes; - // If it was less than 90 minutes ago - } else if (delta < (90 * 60)) { - r = settings.localization.hour; - // If it was less than a day ago - } else if (delta < (24 * 60 * 60)) { - r = '' + (parseInt(delta / 3600, 10)).toString() + " " + settings.localization.hours; - // If it was less than 2 days ago - } else if (delta < (48 * 60 * 60)) { - r = settings.localization.day; - } else { - r = (parseInt(delta / 86400, 10)).toString() + " " + settings.localization.days; - } - return r; - }, - - /* - * Function to update the timestamps of each tweet - */ - updateTimestamps: function () { - var tweetMachine; - tweetMachine = this; - // Loop over each timestamp - $(tweetMachine.container).find('.time').each(function () { - var originalTime, timeElement; - - // Save a reference to the time element - timeElement = $(this); - - // Get the original time from the data stored on the timestamp - originalTime = timeElement.data('timestamp'); - - // Generate and show a new time based on the original time - timeElement.html(tweetMachine.relativeTime(originalTime)); - }); - }, - - /* - * Function to parse the text of a tweet and and add links to links, hashtags, and usernames - */ - parseText: function (text) { - // Links - text = text.replace(/[A-Za-z]+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+/g, function (m) { - return '' + m + ''; - }); - // Usernames - text = text.replace(/@[A-Za-z0-9_]+/g, function (u) { - return '' + u + ''; - }); - // Hashtags - text = text.replace(/#[A-Za-z0-9_\-]+/g, function (u) { - return '' + u + ''; - }); - return text; - }, - - /* - * Function to build the tweet as a jQuery object - */ - buildTweet: function (tweet) { - var tweetMachine, tweetObj; - tweetMachine = this; - - // Create the tweet from the tweetFormat setting - tweetObj = $(tweetMachine.settings.tweetFormat); - - // Set the avatar. NOTE: reasonably_small is Twitter's suffix for the largest square avatar that they store - tweetObj.find('.avatar') - .attr('src', tweet.user.profile_image_url.replace("normal", "reasonably_small")); - - // Set the username - tweetObj.find('.username') - .attr('href', "http://twitter.com/" + tweet.user.screen_name) - .attr('target', '_blank') - .html("" + tweet.user.screen_name); - - // Set the timestamp - tweetObj.find('.time') - .attr('href', "http://twitter.com/" + tweet.user.screen_name + "/status/" + tweet.id_str) - .attr('target', '_blank') - .html(tweetMachine.relativeTime(tweet.created_at)) - // Save the created_at time as jQuery data so we can update it later - .data('timestamp', tweet.created_at); - - // Set the text - tweetObj.find('.content') - .html(tweetMachine.parseText(tweet.text)); - - // If we are animating in the new tweets - if (tweetMachine.settings.animateIn) { - // Set the opacity to 0 so it can fade in - tweetObj.css('opacity', '0'); - } - - return tweetObj; - }, - - /* - * Function to handle the reloading of tweets - */ - refresh: function (firstLoad) { - var queryParams, tweetMachine; - tweetMachine = this; - - // If it is the first load or we're refreshing automatically - if (firstLoad || tweetMachine.settings.autoRefresh) { - // Set the query parameters that the endpoint needs - - /* - * Twitter feed for search through tweets only - * API Reference: https://dev.twitter.com/docs/api/1.1/get/search/tweets - */ - if (tweetMachine.settings.endpoint === "search/tweets") { - queryParams = { - q: tweetMachine.query, - count: (this.settings.requestLimit) ? this.settings.requestLimit: this.settings.limit, - since_id: tweetMachine.lastTweetID - }; - } - - /* - * Twitter feed for username only - * API Reference: https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline - */ - if (tweetMachine.settings.endpoint === "statuses/user_timeline") { - queryParams = { - screen_name: settings.user_name, - count: (this.settings.requestLimit) ? this.settings.requestLimit: this.settings.limit, - include_rts: settings.include_retweets, - exclude_replies: settings.exclude_replies - }; - } - - // Call your backend script to get JSON back from Twitter - $.getJSON(tweetMachine.settings.backendScript, { - endpoint: tweetMachine.settings.endpoint, - queryParams: queryParams - }, function (tweets) { - var tweetsDisplayed; - - // If we got a response from Twitter - if ( tweets[0] ) { - // If there is an error message - if ( tweets[0].message ) { - // If there is already an error displayed - if ( $('.twitter-error').length ) { - // Update the error message - $('.twitter-error').html('

    Error ' + tweets[0].code + ': ' + tweets[0].message + '

    '); - } - else { // There isn't an error displayed yet - // Display an error message above the container - $(tweetMachine.container).before('

    Error ' + tweets[0].code + ': ' + tweets[0].message + '

    '); - } - } - // There are tweets - else { - // If there was an error before - if ( $('.twitter-error').length ) { - // Remove it - $('.twitter-error').remove(); - } - - // Reverse them so they are added in the correct order - tweets.reverse(); - - // Count the number of tweets displayed - tweetsDisplayed = 0; - - // Loop through each tweet - $.each(tweets, function () { - var tweet, tweetObj; - tweet = this; - - // If there is no filter, or this tweet passes the filter - if (!tweetMachine.settings.filter || tweetMachine.settings.filter(this)) { - // Build the tweet as a jQuery object - tweetObj = tweetMachine.buildTweet(tweet); - - // If there are already tweets on the screen - if (!firstLoad) { - - // If we are animating out the old tweets - if (tweetMachine.settings.animateOut) { - /* - * TODO Support this feature - */ - } else { // We are not animating the old tweets - // Remove them - $(tweetMachine.container).children(':last-child').remove(); - } - } - - // Prepend the new tweet - $(tweetMachine.container).prepend(tweetObj); - - // If we are animating in the new tweets - if (tweetMachine.settings.animateIn) { - // Fade in the new tweet - /* - * TODO Figure out why .fadeIn() doesn't work - */ - $(tweetMachine.container).children(':first-child').animate({ - opacity: 1 - }); - } - - // Increment the tweets diplayed - tweetsDisplayed++; - - // Save this tweet ID so we only get newer noes - tweetMachine.lastTweetID = tweet.id_str; - - // If we've reached the limit of tweets to display - if (tweetsDisplayed > tweetMachine.settings.limit) { - // Quit the loop - return false; - } - } - }); - } - } - //Callback function - if (typeof tweetMachine.callback === "function") { - if(typeof tweets === 'undefined' || typeof tweetsDisplayed === 'undefined' ) { - tweets = null; - tweetsDisplayed = 0; - } - tweetMachine.callback(tweets, tweetsDisplayed); - } - }); - } - /* TODO: Implement an "x new Tweets, click to refresh" link if auto refresh is turned off - else { - } - */ - }, - - // Start refreshing - start: function () { - var tweetMachine; - tweetMachine = this; - - // If there's no interval yet - if (!this.interval) { - // Create an interval to refresh after the rate has passed - this.interval = setInterval(function () { - tweetMachine.refresh(); - }, tweetMachine.settings.rate); - // Start refreshing with the firstLoad flag = true - this.refresh(true); - } - }, - - // Stop refreshing - stop: function () { - var tweetMachine; - tweetMachine = this; - - // If there is an interval - if (tweetMachine.interval) { - // Clear it - clearInterval(tweetMachine.interval); - - // Remove the reference to it - tweetMachine.interval = false; - } - }, - - // Clear all tweets - clear: function () { - var tweetMachine; - tweetMachine = this; - - // Remove all tweets - $(tweetMachine.container).find('.tweet').remove(); - - // Set the lastTweetID to null so we start clean next time - tweetMachine.lastTweetID = null; - } - }; - - // Save a global tweetMachine object - tweetMachine = this.tweetMachine; - - // Create an interval to update the timestamps - this.timeInterval = setInterval(function () { - tweetMachine.updateTimestamps(); - }, tweetMachine.settings.rate); - - // Start the Machine! - this.tweetMachine.start(); - } - }); - }; -})(jQuery); \ No newline at end of file diff --git a/resources/js/vendor/tweetMachine.min.js b/resources/js/vendor/tweetMachine.min.js deleted file mode 100644 index 45dc62f88..000000000 --- a/resources/js/vendor/tweetMachine.min.js +++ /dev/null @@ -1,5 +0,0 @@ -/* - * jQuery TweetMachine v0.2.1b - * GitHub: https://github.com/ryangiglio/jquery-tweetMachine - * Copyright (c) 2013 Ryan Giglio (@ryangiglio) - */(function(e){e.fn.tweetMachine=function(t,n,r){e(this).each(function(){var i,s;if(this.tweetMachine){i=e.extend(this.tweetMachine.settings,n);this.tweetMachine.settings=i;t&&(this.tweetMachine.query=t);this.tweetMachine.interval&&this.tweetMachine.refresh();r&&(this.tweetMachine.callback=r)}else{i=e.extend({backendScript:"ajax/getFromTwitter.php",endpoint:"search/tweets",user_name:"jason_alvis",include_retweets:!0,exclude_replies:!1,rate:5e3,limit:5,autoRefresh:!0,animateOut:!1,animateIn:!0,tweetFormat:"
  • ",localization:{seconds:"seconds ago",minute:"a minute ago",minutes:"minutes ago",hour:"an hour ago",hours:"hours ago",day:"a day ago",days:"days ago"},filter:!1},n);this.tweetMachine={settings:i,query:t,interval:!1,container:this,lastTweetID:null,callback:r,relativeTime:function(e){var t,n,r;n=Date.parse(e);t=(Date.parse(Date())-n)/1e3;r="";t<60?r=t+" "+i.localization.seconds:t<120?r=i.localization.minute:t<2700?r=parseInt(t/60,10).toString()+" "+i.localization.minutes:t<5400?r=i.localization.hour:t<86400?r=""+parseInt(t/3600,10).toString()+" "+i.localization.hours:t<172800?r=i.localization.day:r=parseInt(t/86400,10).toString()+" "+i.localization.days;return r},updateTimestamps:function(){var t;t=this;e(t.container).find(".time").each(function(){var n,r;r=e(this);n=r.data("timestamp");r.html(t.relativeTime(n))})},parseText:function(e){e=e.replace(/[A-Za-z]+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+/g,function(e){return''+e+""});e=e.replace(/@[A-Za-z0-9_]+/g,function(e){return''+e+""});e=e.replace(/#[A-Za-z0-9_\-]+/g,function(e){return''+e+""});return e},buildTweet:function(t){var n,r;n=this;r=e(n.settings.tweetFormat);r.find(".avatar").attr("src",t.user.profile_image_url.replace("normal","reasonably_small"));r.find(".username").attr("href","http://twitter.com/"+t.user.screen_name).attr("target","_blank").html(""+t.user.screen_name);r.find(".time").attr("href","http://twitter.com/"+t.user.screen_name+"/status/"+t.id_str).attr("target","_blank").html(n.relativeTime(t.created_at)).data("timestamp",t.created_at);r.find(".content").html(n.parseText(t.text));n.settings.animateIn&&r.css("opacity","0");return r},refresh:function(t){var n,r;r=this;if(t||r.settings.autoRefresh){r.settings.endpoint==="search/tweets"&&(n={q:r.query,count:this.settings.requestLimit?this.settings.requestLimit:this.settings.limit,since_id:r.lastTweetID});r.settings.endpoint==="statuses/user_timeline"&&(n={screen_name:i.user_name,count:this.settings.requestLimit?this.settings.requestLimit:this.settings.limit,include_rts:i.include_retweets,exclude_replies:i.exclude_replies});e.getJSON(r.settings.backendScript,{endpoint:r.settings.endpoint,queryParams:n},function(n){var i;if(n[0])if(n[0].message)e(".twitter-error").length?e(".twitter-error").html('

    Error '+n[0].code+": "+n[0].message+"

    "):e(r.container).before('

    Error '+n[0].code+": "+n[0].message+"

    ");else{e(".twitter-error").length&&e(".twitter-error").remove();n.reverse();i=0;e.each(n,function(){var n,s;n=this;if(!r.settings.filter||r.settings.filter(this)){s=r.buildTweet(n);t||r.settings.animateOut||e(r.container).children(":last-child").remove();e(r.container).prepend(s);r.settings.animateIn&&e(r.container).children(":first-child").animate({opacity:1});i++;r.lastTweetID=n.id_str;if(i>r.settings.limit)return!1}})}if(typeof r.callback=="function"){if(typeof n=="undefined"||typeof i=="undefined"){n=null;i=0}r.callback(n,i)}})}},start:function(){var e;e=this;if(!this.interval){this.interval=setInterval(function(){e.refresh()},e.settings.rate);this.refresh(!0)}},stop:function(){var e;e=this;if(e.interval){clearInterval(e.interval);e.interval=!1}},clear:function(){var t;t=this;e(t.container).find(".tweet").remove();t.lastTweetID=null}};s=this.tweetMachine;this.timeInterval=setInterval(function(){s.updateTimestamps()},s.settings.rate);this.tweetMachine.start()}})}})(jQuery); \ No newline at end of file diff --git a/test.md b/test.md deleted file mode 100644 index 9f33bbeb8..000000000 --- a/test.md +++ /dev/null @@ -1,93 +0,0 @@ ---- -layout: page -title: Test Page ---- - -## Test Header 2 - -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! - - - -### Test Header 3 - -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! - - -#### Test Header 4 - -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! - -##### Test Header 5 - -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! - -###### Test Header 6 - -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! - -> this is a quote dear watson! - -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! - - def kitty(catnip: Catnip) = { - val goNuts = 42 - while (goNuts = 42) { - jumpOnBed - } - } - -I'm a paragraph!! I'm `monospace` **within** a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! -I'm a paragraph!! I'm a paragraph!! I'm a paragraph!! - - -I bring you... a _bulleted list!_: - -- Red -- Green -- Blue - -And now... _an ordered list!_: - -1. item 1 -2. item 2 -3. item 3 -4. item 4 - diff --git a/training/index.md b/training/index.md index b8eb3a6a1..c2876249b 100644 --- a/training/index.md +++ b/training/index.md @@ -1,5 +1,5 @@ --- -layout: page-no-toc +layout: page title: Training ---