summaryrefslogtreecommitdiff
path: root/src/actors
Commit message (Collapse)AuthorAgeFilesLines
...
* Updated copyright notices to 2011Antonio Cunei2011-01-2043-43/+43
|
* Who knew system was such a popular sentence end...Paul Phillips2011-01-181-1/+1
| | | | | | Who knew system was such a popular sentence ending choice. Fixes some doc comments caught up in the s/// net, no review.
* Imported sbt.Process into trunk, in the guise o...Paul Phillips2011-01-125-8/+8
| | | | | | | | | | | | | | | | | | | Imported sbt.Process into trunk, in the guise of package scala.sys.process. It is largely indistinguishable from the version in sbt, at least from the outside. Also, I renamed package system to sys. I wanted to do that from the beginning and the desire has only grown since then. Sometimes a short identifier is just critical to usability: with a function like error("") called from hundreds of places, the difference between system.error and sys.error is too big. sys.error and sys.exit have good vibes (at least as good as the vibes can be for functions which error and exit.) Note: this is just the first cut. I need to check this in to finish fixing partest. I will be going over it with a comb and writing documentation which will leave you enchanted, as well as removing other bits which are now redundant or inferior. No review.
* Override checks and self-types still needed som...Paul Phillips2011-01-083-2/+4
| | | | | | | | | Override checks and self-types still needed some work (ticket #2808.) I believe this is the right change. The modifications in parallel and actors were a result of the files failing to compile after the change to allOverriddenSymbols. (I am taking the position that that aspect is a feature.) Review by malayeri, odersky.
* Added uniqueness annotations. Review by rytz.Philipp Haller2010-12-072-7/+11
|
* Mopping up after the deprecation of exit and er...Paul Phillips2010-12-055-10/+10
| | | | | | | | | | | | | | Mopping up after the deprecation of exit and error. It is decidedly non-trivial (at least for the IDE-impaired) to be completely sure of which error function was being called when there were about twenty with the same signature in trunk and they are being variously inherited, imported, shadowed, etc. So although I was careful, the possibility exists that something is now calling a different "error" function than before. Caveat programmer. (And let's all make it our policy not to name anything "error" or "exit" from here on out....) No review.
* Deprecated the @serializable annotation, introd...Lukas Rytz2010-11-303-14/+10
| | | | | | | | | | | | | | | | | | | Deprecated the @serializable annotation, introduce a new trait "scala.Serializable" which has to be extended instead (cross-platform). Known issues: - Companion objects of serializable classes (including case classes) are automatically made serializable. However, they don't extend "Serializable" statically because of the known difficulty (should be done before typing, but hard). - Writing "case class C() extends Serializable" gives "error: trait Serializable is inherited twice" - Functions are serializable, but don't extend Serializable dynamically (could be fixed by making FunctionN Serializable - shouldn't we?) Note that @SerialVersionUID continues to be an annotation; it generates a static field, which is not possible otherwise in scala. Review by dragos, extempore. Question to dragos: in JavaPlatform.isMaybeBoxed, why is there a test for "JavaSerializableClass"? Is that correct?
* Closes #3920. Review by prokopec.Philipp Haller2010-10-261-1/+3
|
* removed generics warnings in actorsmichelou2010-07-128-19/+23
|
* Updated LinkedBlockingQueue to latest jsr166 ve...Philipp Haller2010-07-122-323/+417
| | | | | | | | Updated LinkedBlockingQueue to latest jsr166 version. Verified bug fix using test case in [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6806875 JDK bug report 6806875]. Closes #3629.
* Added doc comment to Actor trait explaining the...Philipp Haller2010-06-281-2/+39
| | | | | | Added doc comment to Actor trait explaining the use of thread-blocking methods.
* Addresses see #3470 by adding a method Reactor....Philipp Haller2010-05-252-24/+37
| | | | | Addresses see #3470 by adding a method Reactor.restart. Review by rompf.
* Fixed -Xcheckinit build. No review.Philipp Haller2010-05-171-1/+1
|
* Removed more than 3400 svn '$Id' keywords and r...Antonio Cunei2010-05-1236-36/+0
| | | | | Removed more than 3400 svn '$Id' keywords and related junk.
* Closes #3407. Closes #3412. Review by plocinic.Philipp Haller2010-05-094-82/+105
|
* Deprecated two members of RemoteActor which cle...Philipp Haller2010-04-294-11/+20
| | | | | | | Deprecated two members of RemoteActor which clearly should not be in the public API. Removed unnecessary casts. Some more complete doc comments. No review.
* UncaughtException is now a case class (see #2017).Philipp Haller2010-04-292-10/+11
|
* Closes #3369. Review by plocinic.Philipp Haller2010-04-291-0/+39
|
* Closes #3365.Philipp Haller2010-04-286-11/+35
|
* Closes #3364. No review.Philipp Haller2010-04-281-1/+1
|
* Fixed scaladoc output for several types and mem...Philipp Haller2010-04-273-41/+33
| | | | | Fixed scaladoc output for several types and members. No review.
* Closes #3356.Philipp Haller2010-04-253-107/+42
|
* Reverted change of Reactor.exceptionHandler's t...Philipp Haller2010-04-222-4/+3
| | | | | | Reverted change of Reactor.exceptionHandler's type of see r21650. Review by plocinic.
* Reactor.exceptionHandler is defined on Throwabl...Philipp Haller2010-04-224-25/+30
| | | | | | | Reactor.exceptionHandler is defined on Throwable instead of Exception. Fixes potential problem with visibility of changes to a field. Review by plocinic.
* Fixed deadlocking behavior in actors.Iulian Dragos2010-04-131-1/+1
| | | | | | | | | | Specialization removed a 'private' modifier on Actor.resumeActor. Mixin did not mix this method in actor implementations, believing it was private. At runtime, an AbstractMethodError was thrown, but swallowed by forkjoin (probably), resulting in an apparent deadlock. It would have been much faster to find and fix if the stacktrace was printed, as it is in Java 1.5. No review.
* Reverted r21523. No review.Philipp Haller2010-04-134-25/+11
|
* Removed obsolete AbstractReactor trait. No review.Philipp Haller2010-04-132-27/+1
|
* Improved handling of uncaught exceptions in act...Philipp Haller2010-04-134-11/+25
| | | | | | Improved handling of uncaught exceptions in actors. See #711. Review by community.
* Improved deprecation warnings in actors package...Philipp Haller2010-04-121-4/+4
| | | | | Improved deprecation warnings in actors package object. No review.
* actors.UncaughtException stores most recent sen...Philipp Haller2010-04-124-25/+29
| | | | | | | actors.UncaughtException stores most recent sender. Default output for unhandled exceptions can be disabled using actors.Debug. Review by plocinic.
* Made use of random number generator in ForkJoin...Philipp Haller2010-04-111-4/+10
| | | | | | Made use of random number generator in ForkJoinScheduler's fair mode thread safe. Review by plocinic.
* Scaladoc clean-ups for various actor and channe...Philipp Haller2010-04-119-162/+30
| | | | | | Scaladoc clean-ups for various actor and channel types. Actor now extends InputChannel. Channel now extends CanReply. Review by plocinic.
* Completed scaladoc for Reactor and Combinators.Philipp Haller2010-04-114-34/+35
|
* Removing a class cast exception.Paul Phillips2010-04-041-2/+8
|
* Renamed Replyable* source files to the types th...Philipp Haller2010-03-253-0/+0
| | | | | Renamed Replyable* source files to the types they define. No review.
* Renamed Replyable* types to *CanReply. No review.Philipp Haller2010-03-254-10/+8
|
* Removed obsolete version numbers. No review.Philipp Haller2010-03-256-8/+0
|
* Addresses see #2017.Philipp Haller2010-03-248-35/+93
|
* Closes #3185. Review by plocinic.Philipp Haller2010-03-171-0/+2
|
* Leveraged -Xmigration to burn off some warts wh...Paul Phillips2010-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Leveraged -Xmigration to burn off some warts which arose in the new collections. Warnings put in place for behavioral changes, allowing the following. 1) Buffers: create new collections on ++ and -- like all the other collections. 2) Maps: eliminated never-shipped redundant method valuesIterable and supplied these return types: def keys: Iterable[A] def keysIterator: Iterator[A] def values: Iterable[B] def valuesIterator: Iterator[B] def keySet: Set[A] I concluded that keys should return Iterable because keySet also exists on Map, and is not solely in the province of Maps even if we wanted to change it: it's defined on Sorted and also appears in some Sets. So it seems sensible to have keySet return a Set and keys return the more general type. Closes #3089, #3145. Review by odersky.
* Closes #3102.Philipp Haller2010-03-081-8/+14
|
* Reactor now has type parameter.Philipp Haller2010-03-0818-240/+308
|
* Removed obsolete SimpleExecutorScheduler, Threa...Philipp Haller2010-03-047-254/+13
| | | | | | | Removed obsolete SimpleExecutorScheduler, ThreadPoolScheduler, DefaultThreadPoolScheduler, and SchedulerService. Made ThreadPoolConfig private. No review necessary.
* Fixed actors.enableForkJoin property.Philipp Haller2010-03-042-9/+10
|
* Clean-ups in scheduler hierarchy.Philipp Haller2010-03-049-27/+91
|
* A few yards short of the goal posts attempt at ...Paul Phillips2010-03-0410-36/+36
| | | | | | | | | | | A few yards short of the goal posts attempt at making our usage of Throwable subclasses more consistent. This patch eliminates a lot of ad hoc Exception/Error/etc. creation and various arbitrary choices are rendered slightly less arbitrary. From now on let's try not to use the word "Exception" or "Error" in the names of Throwable subclasses unless they actually derive (and make sense to derive) from Exception or Error. Review by community.
* Undid my awful code which had broken the thread...Paul Phillips2010-02-261-1/+2
| | | | | | | Undid my awful code which had broken the thread scheduler selection. Further unbroke it beyond that unbreaking hopefully to the point where java 1.6 on OSX is recognized as such. Review by haller.
* Made doc comment consistent. No review.Philipp Haller2010-02-251-2/+2
|
* Physically moved ActorGC to scheduler directory.Philipp Haller2010-02-251-0/+0
|
* Fixed problem with daemon actor termination.Philipp Haller2010-02-241-5/+1
|