summaryrefslogtreecommitdiff
path: root/src/library
Commit message (Collapse)AuthorAgeFilesLines
* preparations: removes DynamicProxyEugene Burmako2012-06-081-74/+0
| | | | | This is necessary because toolboxes will no longer be available from the library. Christopher Vogt will take care of the second reincarnation of DynamicRef.
* macros: refactoring of fast track infrastructureEugene Burmako2012-06-085-173/+38
| | | | | | | | | As a result, hardwired macros don't need implementation stubs. This is very important, because in a few commits scala.reflect.makro.Context will move out from scala-library.jar. Also adding fast track entries doesn't require jumping through hoops with PDTs. It's as simple as defining PartialFunction[Tree, Any].
* improves traces and error messagesEugene Burmako2012-06-082-11/+19
|
* Merge pull request #672 from axel22/issue/5857Adriaan Moors2012-06-082-2/+42
|\ | | | | Fixes SI-5857. More efficient min and max in Range and NumericRange
| * Fixes SI-5857.Aleksandar Prokopec2012-06-062-2/+42
| | | | | | | | | | | | | | | | Override `min` and `max` in `Range` and `NumericRange` to check if a default `Ordering` for the numeric type in question is used. If so, bypass traversal and compute the minimum or maximum element.
* | Merge pull request #677 from axel22/feature/util-hashing2Josh Suereth2012-06-0715-55/+133
|\ \ | | | | | | Add the first iteration of the `util.hashing` package.
| * | Add the first iteration of the `util.hashing` package.Aleksandar Prokopec2012-06-0715-55/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move `MurmurHash3` to `util.hashing`. Make the `class` private and retain a public companion `object`, and put the `MurmurHash3.Hashing` implementations for various types in the companion. Add a method which composes `ByteswapHashing` with some other hashing. Rename `hashOf` to `hash`. Fix chi-square test in a test-case. Review by @jsuereth. Moved a failing test that seems to use some other library version to pending.
* | | Generate abstract methods in scala.Byte and friends.Paul Phillips2012-06-0610-759/+794
|/ / | | | | | | | | Rather than stub implementations. This saves over 50K of bytecode. I also added the necessary imports to silence the feature warnings.
* | Merge pull request #669 from dgruntz/masterJosh Suereth2012-06-061-5/+6
|\ \ | | | | | | Fixes typos in scaladoc of Orderes.scala
| * | fixes typos in scaladoc of Orderes.calaDominik Gruntz2012-06-051-5/+6
| |/
* | Merge pull request #673 from axel22/issue/5880Josh Suereth2012-06-061-2/+8
|\ \ | | | | | | Fix SI-5880.
| * | Fix SI-5880.Aleksandar Prokopec2012-06-061-2/+8
| |/ | | | | | | Add a ChiSquare test for the new hash code.
* | Merge pull request #671 from axel22/issue/5867Josh Suereth2012-06-061-0/+2
|\ \ | | | | | | Fix SI-5867.
| * | Fix SI-5867.Aleksandar Prokopec2012-06-061-0/+2
| |/ | | | | | | Override clone for unrolled buffer.
* | Merge pull request #670 from axel22/issue/5879Josh Suereth2012-06-061-15/+52
|\ \ | | | | | | Fix SI-5879.
| * | Fix SI-5879.Aleksandar Prokopec2012-06-061-15/+52
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bug where a key in an immutable hash map have the corresponding value different in the iteration than when doing lookup. This use to happen after calling `merge`. Fix the order in which a key-value pair appears in the collision resolution function - the first argument always comes from the `this` hash map. Deprecate `merge` in favour of `merged`, as this is a pure method. As an added benefit, the syntax for invoking `merge` is now nicer.
* / Add configuration for ExecutionContextphaller2012-06-051-7/+21
|/
* Fix `Hashing`.Aleksandar Prokopec2012-06-013-12/+24
| | | | | | Move `Hashing` to `scala.util.hashing`. Adde `Hashing.Default` to `Hashing` companion object. Change `TrieMap` to autoswitch from `Hashing.Default` to `TrieMap.MangledHashing`.
* Remove Equality in favour of Equiv.Aleksandar Prokopec2012-06-014-46/+9
| | | | Make Equiv serializable.
* Add Hashing and Equality typeclasses.Aleksandar Prokopec2012-06-013-27/+122
| | | | | | Modify TrieMap to use hashing and equality. Modify serialization in TrieMap appropriately.
* fix t5843Lukas Rytz2012-05-281-2/+2
|
* Handled some of our new exhaustiveness warnings.Paul Phillips2012-05-261-0/+2
| | | | Who could have suspected it would actually be right most of the time?
* Merge pull request #621 from axel22/issue/5085bAdriaan Moors2012-05-251-4/+22
|\ | | | | Fixes SI-5085 and SI-4833.
| * Fixes SI-5085 and SI-4833.Aleksandar Prokopec2012-05-251-4/+22
| |
* | 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.