summaryrefslogtreecommitdiff
path: root/src/library
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1586 from retronym/ticket/6247Adriaan Moors2012-11-161-0/+10
|\ | | | | Optimize primitive Array(e1, ..., en)
| * Optimize primitive Array(e1, ..., en)Jason Zaugg2012-11-071-0/+10
| | | | | | | | | | | | | | Expands an existing optimization for reference arrays to apply to primitives, as well. Fixes one aspect of SI-6247.
* | Fix Documentation TypoJean-Remi Desjardins2012-11-141-2/+2
|/ | | | | | | There was a typo on the if. I also thought it might be worth rephrasing the paragraph because it seemed a bit contrived. It's a trivial fix, but it would allow us to close a bug in the issue tracker which seems worthwhile to me.
* Merge commit 'refs/pull/1574/head' into merge-210Paul Phillips2012-11-05626-644/+683
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'refs/pull/1574/head': (24 commits) Fixing issue where OSGi bundles weren't getting used for distribution. Fixes example in Type.asSeenFrom Fix for SI-6600, regression with ScalaNumber. SI-6562 Fix crash with class nested in @inline method Brings copyrights in Scaladoc footer and manpage up-to-date, from 2011/12 to 2013 Brings all copyrights (in comments) up-to-date, from 2011/12 to 2013 SI-6606 Drops new icons in, replaces abstract types placeholder icons SI-6132 Revisited, cleaned-up, links fixed, spelling errors fixed, rewordings Labeling scala.reflect and scala.reflect.macros experimental in the API docs Typo-fix in scala.concurrent.Future, thanks to @pavelpavlov Remove implementation details from Position (they are still under reflection.internal). It probably needs more cleanup of the api wrt to ranges etc but let's leave it for later SI-6399 Adds API docs for Any and AnyVal Removing actors-migration from main repository so it can live on elsewhere. Fix for SI-6597, implicit case class crasher. SI-6578 Harden against synthetics being added more than once. SI-6556 no assert for surprising ctor result type Removing actors-migration from main repository so it can live on elsewhere. Fixes SI-6500 by making erasure more regular. Modification to SI-6534 patch. Fixes SI-6559 - StringContext not using passed in escape function. ... Conflicts: src/actors-migration/scala/actors/migration/StashingActor.scala src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala src/compiler/scala/tools/nsc/settings/AestheticSettings.scala src/compiler/scala/tools/nsc/transform/Erasure.scala src/library/scala/Application.scala src/library/scala/collection/immutable/GenIterable.scala.disabled src/library/scala/collection/immutable/GenMap.scala.disabled src/library/scala/collection/immutable/GenSeq.scala.disabled src/library/scala/collection/immutable/GenSet.scala.disabled src/library/scala/collection/immutable/GenTraversable.scala.disabled src/library/scala/collection/mutable/GenIterable.scala.disabled src/library/scala/collection/mutable/GenMap.scala.disabled src/library/scala/collection/mutable/GenSeq.scala.disabled src/library/scala/collection/mutable/GenSet.scala.disabled src/library/scala/collection/mutable/GenTraversable.scala.disabled src/library/scala/collection/parallel/immutable/ParNumericRange.scala.disabled
| * Merge branch '2.10.0-wip' into merge-2.10.0Josh Suereth2012-11-05638-655/+691
| |\
| | * Merge pull request #1559 from heathermiller/copyright-updateJosh Suereth2012-11-04638-643/+643
| | |\ | | | | | | | | Updated copyright dates throughout compiler and stdlib for upcoming release
| | | * Brings all copyrights (in comments) up-to-date, from 2011/12 to 2013Heather Miller2012-11-02638-643/+643
| | | |
| | * | Fix for SI-6600, regression with ScalaNumber.Paul Phillips2012-11-022-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not much in the end; I divided ScalaNumericConversions into two traits such that the ScalaNumericAnyConversions can be used in value classes, and ScalaNumericConversions can override methods in ScalaNumber (since one trait cannot do both those things.) The fact that ScalaNumber is privileged for equality but a) extends java.lang.Number and therefore b) cannot be a value class is something we will want to revisit real soon.
| | * | Typo-fix in scala.concurrent.Future, thanks to @pavelpavlovHeather Miller2012-11-021-1/+1
| | | |
| | * | SI-6399 Adds API docs for Any and AnyValHeather Miller2012-11-021-5/+32
| | |/ | | | | | | | | | | | | - Updates AnyVal docs to address value classes. - Updates Any docs to address universal traits.
| * | Merge pull request #1522 from possiblywrong/2.10.xJosh Suereth2012-10-311-1/+4
| |\ \ | | | | | | | | SI-6488: Fix for race with open I/O fds
| | * | SI-6488: Stop I/O threads prior to Process destructionDeclan Conlon2012-10-261-1/+4
| | | |
| * | | Fixes SI-6559 - StringContext not using passed in escape function.Josh Suereth2012-10-301-1/+1
| |/ / | | | | | | | | | | | | As reported by Curtis Stanford, with indication of what to fix. standardInterpolator was not correctly calling the passed in process function, so raw strings were not really raw.
* | | Removing unused locals and making vars into vals.Paul Phillips2012-11-0320-46/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to "git diff" the difference from master to this commit includes: Minus: 112 vals, 135 vars Plus: 165 vals, 2 vars Assuming all the removed ones were vals, which is true from 10K feet, it suggests I removed 80 unused vals and turned 133 vars into vals. There are a few other -Xlint driven improvements bundled with this, like putting double-parentheses around Some((x, y)) so it doesn't trigger the "adapting argument list" warning.
* | | Remove unused private members.Paul Phillips2012-11-0118-96/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | That's a lot of unused code. Most of this is pure cruft; a small amount is debugging code which somebody might want to keep around, but we should not be using trunk as a repository of our personal snippets of undocumented, unused, unintegrated debugging code. So let's make the easy decision to err in the removing direction. If it isn't built to last, it shouldn't be checked into master.
* | | Implementation of Stream#dropRight.Paul Phillips2012-11-011-6/+26
| | | | | | | | | | | | | | | "There's nothing we can do about dropRight," you say? Oh but there is.
* | | Fix SI-6584, Stream#distinct uses too much memory.Paul Phillips2012-11-011-3/+10
| | | | | | | | | | | | Nesting recursive calls in Stream is always a dicey business.
* | | Merge pull request #1512 from paulp/merge-210Adriaan Moors2012-10-227-74/+100
|\ \ \ | | | | | | | | Merge 2.10.x into master.
| * | | Merge remote-tracking branch 'origin/2.10.x' into merge-210Paul Phillips2012-10-197-74/+100
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/2.10.x: (52 commits) JavaUniverse Moved @contentDiagram in Symbols Adds lots of new documentation for TypeTags, Mirrors, Universes and more runtime.JavaUniverse - put ungrouped members at the top Forgotten annotation in Annotations Diagram tweaking Grouping for reflection and macros fixes a typo scala.reflect.api.Symbols documentation Symbols docs cleanup, mostly moved to guide scala.reflect.api.Position documentation scala.reflect.api.StandardNames documentation scala.reflect.api.Constants documentation removed docs for internal TypeCreator and TreeCreator simplified reflection docs for trees Rearranged some reflection docs, moving things to the guide reflection docs improvements and moves to doc page docs for reflection and macros SI-6509 Correct @template owners SI-6155 Scaladoc @template diagrms ... Conflicts: src/compiler/scala/tools/nsc/doc/model/ModelFactory.scala src/compiler/scala/tools/nsc/typechecker/Typers.scala src/reflect/scala/reflect/api/Trees.scala test/scaladoc/run/links.scala
| | * | Merge remote-tracking branch 'origin/2.10.0-wip' into merge-210-wip-210Paul Phillips2012-10-1611-85/+119
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Eugene Burmako (23) and others # Via Josh Suereth (12) and others * origin/2.10.0-wip: (54 commits) JavaUniverse Moved @contentDiagram in Symbols Adds lots of new documentation for TypeTags, Mirrors, Universes and more runtime.JavaUniverse - put ungrouped members at the top Forgotten annotation in Annotations Diagram tweaking Grouping for reflection and macros fixes a typo scala.reflect.api.Symbols documentation Symbols docs cleanup, mostly moved to guide scala.reflect.api.Position documentation scala.reflect.api.StandardNames documentation scala.reflect.api.Constants documentation removed docs for internal TypeCreator and TreeCreator simplified reflection docs for trees Rearranged some reflection docs, moving things to the guide reflection docs improvements and moves to doc page docs for reflection and macros SI-6509 Correct @template owners SI-6155 Scaladoc @template diagrms ...
| | | * Merge pull request #1492 from scalamacros/pullrequest/reflection-docsv2.10.0-RC1Josh Suereth2012-10-111-10/+25
| | | |\ | | | | | | | | | | Pullrequest/reflection docs
| | | | * Adds lots of new documentation for TypeTags, Mirrors, Universes and moreHeather Miller2012-10-111-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | Additionally includes improvements, formatting fixes, and link additions and fixes.
| | | * | Merge pull request #1489 from heathermiller/issue/6453Josh Suereth2012-10-111-2/+1
| | | |\ \ | | | | |/ | | | |/| SI-6453 Documentation links for @switch are broken
| | | | * SI-6453 Documentation links for @switch are brokenHeather Miller2012-10-101-2/+1
| | | | |
| | | * | Merge pull request #1486 from heathermiller/issue/6099Josh Suereth2012-10-102-56/+69
| | | |\ \ | | | | |/ | | | |/| SI-6099 - Scaladoc for scala.concurrent incomplete
| | | | * SI-6099 - Scaladoc for scala.concurrent incompleteHeather Miller2012-10-102-56/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a rebase and resubmission of @phaller's pull https://github.com/scala/scala/pull/1485 With the reviewers' comments additionally addressed
| | | * | Merge pull request #1488 from dotta/topic/deprecated-instrumentation-apiJosh Suereth2012-10-101-0/+1
| | | |\ \ | | | | |/ | | | |/| Deprecated instrumentation API
| | | | * Deprecated instrumentation APIMirco Dotta2012-10-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The instrumentation logic needed by the Scala IDE Worksheet is currently part of the Scala project, but it doesn't need to be. I already have a PR ready for completely removing the instrumentation logic, but I considered it too risky at this point for 2.10.0 release (an oversight can lead to the impossibility of running the worksheet with Scala 2.10.0). For the moment, I believe it's better to deprecate the whole instrumentation API in 2.10.0, and the PR for removing the instrumentation logic will target 2.10.1 or 2.11.0. Besides deprecating the instrumentation API, this commit also raised visibility of `interruptsEnabled` member in `Global`. This change alone is sufficient for moving the instrumentation logic outside of the compiler, and it is needed because the Presentation Compiler thread should never be interrupted while instrumenting a source. This commit is related to SI-6458
| | | * | SI-6440: Revert change to `TraversableLike.filterNot`Grzegorz Kossakowski2012-10-091-6/+1
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit df9f470f14262b9b1002f022c2620d8c38835805 introduced a change to `TraversableLike.filterNot` which broke Stream implementation that does override `filter` implementation but does not override `filterNot` implementation. This shows clearly that reusing code for strict and non-strict collections is very problematic. Added a test-case covering this problem. Closes SI-6440. Review by @retronym.
| | * | Merge pull request #1426 from Blaisorblade/issue/6422Josh Suereth2012-10-101-0/+3
| | |\ \ | | | | | | | | | | SI-6422: add missing Fractional and Integral alias in scala package
| | | * | SI-6422: add missing Fractional and Integral alias in scala packagePaolo G. Giarrusso2012-09-291-0/+3
| | | | |
* | | | | Merge pull request #1473 from soc/SI-6388-without-predefAdriaan Moors2012-10-199-426/+1
|\ \ \ \ \ | | | | | | | | | | | | SI-6388 Remove deprecated items scheduled for 2.11
| * | | | | SI-6388 Remove ApplicationSimon Ochsenreither2012-10-121-79/+0
| | | | | |
| * | | | | SI-6388 Remove some remaining, minor deprecationsSimon Ochsenreither2012-10-081-8/+0
| | | | | |
| * | | | | SI-6388 Remove first parts of deprecated @serializable annotationSimon Ochsenreither2012-10-081-5/+1
| | | | | |
| * | | | | SI-6388 Remove deprecated items in scala/mathSimon Ochsenreither2012-10-082-12/+0
| | | | | |
| * | | | | SI-6388 Remove deprecated items in scala/collectionSimon Ochsenreither2012-10-084-322/+0
| | | | | |
* | | | | | Removed .disabled files.Paul Phillips2012-10-1813-727/+0
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | These things don't belong in trunk. They poison all my searches with bogus results. I'd say two years was about 1.999 years too long.
* | | | | Fixes SI-6521, overrides Range#head to be fasterDavid Hall2012-10-121-0/+1
| | | | |
* | | | | Merge remote-tracking branch 'origin/2.10.0-wip' into merge-2.10Paul Phillips2012-10-075-11/+22
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/2.10.0-wip: MethodSymbol.params => MethodSymbol.paramss SI-6471 Update jquery from 1.4.2 to 1.8.2 undeprecates manifests for 2.10.0 SI-6451: Rename classes in `unchecked-abstract.scala` test. Put more implementation restrictions on value classes. Fixed problem in SI-6408 Revised restrictions for value classes and unversal traits SI-6436 Handle ambiguous string processors fixes a bug in a weak cache in runtime reflection Conflicts: test/files/neg/classmanifests_new_deprecations.check test/files/neg/unchecked-abstract.check
| * | | undeprecates manifests for 2.10.0Eugene Burmako2012-10-035-11/+22
| |/ / | | | | | | | | | | | | | | | | | | | | | Since scala-reflect.jar is going to be declared experimental for 2.10.0, it doesn't make sense to deprecate manifests in favor of type tags. Class manifests, however, ARE deprecated for class tags, because class tags don't require scala-reflect.jar and are generated independently of type tags.
* | | SI-6478 Fixing JavaTokenParser identJames Roper2012-10-051-3/+4
| | |
* | | Merge pull request #1369 from som-snytt/issue/6406-regextractPaul Phillips2012-10-041-34/+64
|\ \ \ | | | | | | | | Regex.unapplySeq should not take Any (Fixes SI-6406)
| * | | Regex.unapplySeq should not take Any (Fixes SI-6406)Som Snytt2012-09-201-34/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This deprecates unapplySeq(Any) and adds overloaded unapplySeq(CharSequence) and unapplySeq(Match), with the putative advantage that you can't try to extract the unextractable. Regex is massaged so that the underlying Pattern is primary, rather than the String-valued expression. Regex and its unanchored companion (I almost wrote unmoored) share a Pattern object, so that unapplySeq(Match) can easily test whether the Match was generated by this Regex; in that case, the match result is used immediately, instead of reapplying the regex to the matched string. The documentation is massaged to reflect unanchored and also to align with the underlying terminology, e.g., "subgroup" really just means "group."
* | | | SI-6467: Zero element in aggregate now by-nameAleksandar Prokopec2012-10-044-9/+11
| | | |
* | | | Merge pull request #1453 from vigdorchik/links_fixedPaul Phillips2012-10-032-3/+3
|\ \ \ \ | | | | | | | | | | Fix scaladoc links in a couple of places.
| * | | | Fix scaladoc links in a couple of places.Eugene Vigdorchik2012-10-032-3/+3
| | | | |
* | | | | Merge remote-tracking branch 'scala/2.10.x'Grzegorz Kossakowski2012-10-0314-43/+102
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | | | | | Conflicts: build.number src/reflect/scala/reflect/internal/Types.scala
| * | | Improved the `scala.language` documentationVlad Ureche2012-10-022-25/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also corrected the links in the library rootdoc. **Note: We need to fast track this commit so it reaches master in the next 12 hours, before we generate the next nightly docs.** Review by @odersky
| * | | Merge pull request #1435 from paulp/stringcontext-docPaul Phillips2012-10-011-6/+6
| |\ \ \ | | | | | | | | | | Fix StringContext documentation.