summaryrefslogtreecommitdiff
path: root/src/library
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #618 from axel22/issue/5428Adriaan Moors2012-05-251-0/+5
|\ \ | | | | | | Fixes SI-5428.
| * | Fixes SI-5428.Aleksandar Prokopec2012-05-241-0/+5
| |/
* | Merge pull request #617 from phaller/implicit-execution-contextAdriaan Moors2012-05-244-42/+97
|\ \ | | | | | | Move implicit ExecutionContext to be determined by lexical scope
| * | Move implicit ExecutionContext to be determined by lexical scopephaller2012-05-244-42/+97
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Port of a pull request originally submitted by @havocp. - declare the invariant that all app callbacks have an associated ExecutionContext provided at the place the callback is passed to a method on Future - always run callbacks in their associated EC - since all callbacks have their own EC, Promise does not need one - "internal" callbacks don't need to defer execution either since we know the ultimate app callback will do so, therefore we can use an immediate executor for these
* / Fixes SI-5441.Aleksandar Prokopec2012-05-241-2/+2
|/
* Merge pull request #586 from axel22/issue/5804Josh Suereth2012-05-222-15/+13
|\ | | | | Fixes SI-5804.
| * Fixes SI-5804.Aleksandar Prokopec2012-05-182-15/+13
| | | | | | | | | | | | | | | | | | The hash table initialSize method is now within the the hashset and hashmap classes, and not in the companion. Overriding this method now yields hashmaps and hashsets of the proper initial capacity. Review by @phaller.
* | Merge pull request #574 from axel22/issue/4461Josh Suereth2012-05-181-0/+14
|\ \ | | | | | | Fixes SI-4461.
| * | Fixes SI-4461.Aleksandar Prokopec2012-05-181-0/+14
| |/ | | | | | | No review.
* | Merge pull request #569 from phaller/wip-sip14-fixes-newAdriaan Moors2012-05-187-71/+113
|\ \ | | | | | | SIP-14: clean ups and fixes by @viktorklang
| * | SIP-14: clean ups and fixesphaller2012-05-177-71/+113
| | |
* | | Fix 4138Lukas Rytz2012-05-181-3/+6
| |/ |/|
* | Merge pull request #564 from scalamacros/topic/assertinresetattrsJosh Suereth2012-05-172-4/+4
|\ \ | | | | | | fixes resetAttrs
| * | fixes resetAttrsEugene Burmako2012-05-172-4/+4
| | |
* | | Added infrastructure to enable easy enrichment of GenTraversables.Miles Sabin2012-05-173-0/+71
|/ /
* | Missed a stashHeather Miller2012-05-171-1/+1
| |
* | Merge branch 'master' of git://github.com/scala/scala into issue/5623Heather Miller2012-05-1615-28/+47
|\|
| * Merge pull request #555 from srp/masterJosh Suereth2012-05-161-0/+22
| |\ | | | | | | mutable.MapLike: override $mapNote to reflect actual require mutable api
| | * mutable.MapLike: override $mapNote to reflect actual require mutable apiScott R. Parish2012-05-151-0/+22
| | | | | | | | | | | | | | | | | | | | | The api needed to define a mutable.Map is different then the one needed to define an immutable.Map. Prior to this patch the mutable one reflected the api needed for the immutable one causing confusion about what really needed to be defined.
| * | Merge pull request #553 from heathermiller/doc/linksJosh Suereth2012-05-1614-28/+25
| |\ \ | | | | | | | | Small documentation fixes & small fix to Scaladoc @see formatting
| | * | Corrects links in API documentationHeather Miller2012-05-1611-18/+16
| | | |
| | * | Missed a straggling doc comment.Heather Miller2012-05-151-1/+1
| | | |
| | * | Small documentation fixes & small fix to Scaladoc @see formattingHeather Miller2012-05-153-9/+8
| | | |
* | | | Fixes SI-5623 on SyncVar and deprecates set & unset.Heather Miller2012-05-161-7/+43
|/ / /
* | / Removing more unneeded code.Paul Phillips2012-05-156-344/+0
| |/ |/|
* | Removing extraneous files.Paul Phillips2012-05-151-1/+0
| | | | | | | | Culling accumulated unnecessary code.
* | Enumeration#maxId: fix documentation to reflect realityScott R. Parish2012-05-151-2/+2
|/ | | | | | | | | | | | | | | | | | | | | maxId is not really the "maximum id", but rather one past the max: scala> object Foo extends Enumeration { | val x = Value | val y = Value | } defined module Foo scala> Foo.maxId res0: Int = 2 scala> Foo(2) java.util.NoSuchElementException: key not found: 2 at scala.collection.MapLike$class.default(MapLike.scala:225) ... scala> Foo(1) res2: Foo.Value = y
* Debugging output tweaks.Paul Phillips2012-05-141-1/+0
| | | | And undeprecated Positional.
* Address doc comment rot in the standard library.Jason Zaugg2012-05-1394-370/+204
| | | | | | | | | | | | | | | | | | | | | - Match @param/@tparam names to the actual parameter name - Use @tparam for type parameters - Whitespace is required between `*` and `@` - Fix incorrect references to @define macros. - Use of monospace `` and {{{}}} (much more needed) - Remove `@param p1 ...` stubs, which appear in the generated docss. - But, retainsed `@param p1` stubs, assuming they will be filtered from the generated docs by SI-5795. - Avoid use of the shorthand `@param doc for the solitary param` (which works, but isn't recognized by the code inspection in IntelliJ I used to sweep through the problems) The remaining warnings from `ant docs` seem spurious, I suspect they are an unintended consequence of documenting extension methods. [scaladoc] /Users/jason/code/scala/src/library/scala/collection/TraversableOnce.scala:181: warning: Variable coll undefined in comment for method reduceOption in class Tuple2Zipped [scaladoc] def reduceOption[A1 >: A](op: (A1, A1) => A1): Option[A1] = reduceLeftOption(op) [scaladoc] ^
* Deprecated some classes.Paul Phillips2012-05-1218-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | All this stuff. I believe most of this is uncontroversial. scala/util/Marshal.scala scala/util/automata/BaseBerrySethi.scala scala/util/automata/DetWordAutom.scala scala/util/automata/Inclusion.scala scala/util/automata/NondetWordAutom.scala scala/util/automata/SubsetConstruction.scala scala/util/automata/WordBerrySethi.scala scala/util/grammar/HedgeRHS.scala scala/util/grammar/TreeRHS.scala scala/util/parsing/ast/AbstractSyntax.scala scala/util/parsing/ast/Binders.scala scala/util/parsing/combinator/testing/RegexTest.scala scala/util/parsing/combinator/testing/Tester.scala scala/util/parsing/input/Positional.scala scala/util/regexp/Base.scala scala/util/regexp/PointedHedgeExp.scala scala/util/regexp/SyntaxError.scala scala/util/regexp/WordExp.scala I'd have deprecated much of it long ago if the compiler didn't still depend on it due to xml/dtd/something. And it still does, but it's time to deprecate them anyway.
* Merge commit 'refs/pull/530/head'; commit 'refs/pull/531/head'; commit ↵Paul Phillips2012-05-116-42/+28
|\ | | | | | | 'refs/pull/532/head'; commit 'refs/pull/533/head'; commit 'refs/pull/534/head' into develop
| * Move resolver and resolveEither to impl.Promisephaller2012-05-106-42/+28
| |
| * Revert "Fix for ## inconsistency."Paul Phillips2012-05-101-7/+4
| | | | | | | | | | | | This reverts commit 58bb2d1bd2000ac3aa2c64b6c5dc56c91e911860. I guess this must be what's failing the nightly.
* | Fixes SI-5640Dominik Gruntz2012-05-102-8/+8
|/
* Custom hashCode methods for case classes.Paul Phillips2012-05-091-0/+89
| | | | No boxing, no MODULE$ indirection.
* Revert recent commits.Paul Phillips2012-05-092-28/+63
| | | | | This reverts commit 9b6f51d3ae6ddc6571d3101ea715e25a05aa8adb. This reverts commit b5919100e785df58bde35bb24abe9d60b4da08a2.
*---. Merge commit 'refs/pull/517/head'; commit 'refs/pull/518/head'; commit ↵Paul Phillips2012-05-093-68/+37
|\ \ \ | | | | | | | | | | | | 'refs/pull/519/head'; commit 'refs/pull/520/head' into develop
| | | * fixed typoDominik Gruntz2012-05-091-1/+1
| | | |
| | | * removes redundant hash implementation from BoxesRunTime.javaDominik Gruntz2012-05-092-63/+28
| | | |
| | | * Fix for ## inconsistency.Paul Phillips2012-05-081-4/+7
| | | | | | | | | | | | | | | | Hopefully without slowing things down overmuch. Closes SI-5640.
| * | | Fixes SI-5328. Iterator.patched failed when from=0.Josh Suereth2012-05-081-1/+2
| | |/ | |/| | | | | | | | | | | | | It turns out iterator.patched forgot to drop replacement values if they were at the beginning. This is because the index was advancing before checking to see if replaced elements should be dropped. Moved this behavior to the beginning of next.
* / | Fixes SI-5201. Adds flatten to TraversableViewLike.Josh Suereth2012-05-081-0/+2
|/ / | | | | | | | | | | | | | | | | Note: This commit exposes a pretty rich type on flatten in views. HOWEVER, because we don't capture the higher kinded type of the underlying collection, it makes returning a more minimal type pretty dang hard. I can imagine a very breaking and painful change of capturing the underling collection as a higher-kinded type as well as the current view type in a *ViewLike.scala. I hope this kind of issue, along with others, drives a rethink of our view API design.
| |
| \
| \
| \
*---. \ Merge commit 'refs/pull/504/head'; commit 'refs/pull/505/head'; commit ↵Paul Phillips2012-05-08155-815/+1073
|\ \ \ \ | | |_|/ | |/| | | | | | 'refs/pull/506/head'; commit 'refs/pull/507/head'; commit 'refs/pull/508/head' into develop
| | | * Changes scala.math.signum to return negative zeros.Dominik Gruntz2012-05-081-14/+3
| | |/ | |/|
| | * Part I of the Lazy Vals Saga: Bitmaps are no longer inherited.Hubert Plociniczak2012-05-032-2/+0
| | |
| | |
| | \
| *-. \ Merge commit 'refs/pull/486/head'; commit 'refs/pull/487/head'; commit ↵Paul Phillips2012-05-071-3/+29
| |\ \ \ | | | | | | | | | | | | | | | 'refs/pull/488/head'; commit 'refs/pull/489/head'; commit 'refs/pull/490/head' into develop
| | * | | Fixes SI-5199 through improved API docsHeather Miller2012-05-071-3/+29
| | |/ /
| * | | Merge commit 'refs/pull/479/head'; commit 'refs/pull/480/head'; commit ↵Paul Phillips2012-05-064-10/+60
| |\ \ \ | | |/ / | |/| | | | | | 'refs/pull/481/head'; commit 'refs/pull/482/head'; commit 'refs/pull/483/head'; commit 'refs/pull/484/head'; commit 'refs/pull/485/head' into develop
| | * | Add missing methods to GenTraversableLike.Aleksandar2012-05-064-10/+60
| | | |
| | | |
| | \ \
| *-. \ \ Merge commit 'refs/pull/477/head'; commit 'refs/pull/478/head' into developPaul Phillips2012-05-051-7/+9
| |\ \ \ \