Commit Graph

104 Commits

Author SHA1 Message Date
michelou f1fbe5e026 updated some code examples
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@26062 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-11-23 18:26:50 +00:00
extempore 7f55e422fa Fix bug in example sort.
Embarrassing bug causes sort to explode if there are any
duplicated elements.  Closes SI-4961, no review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25909 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-10-29 19:34:21 +00:00
michelou 675c681a26 removed legacy library code (package scala.mobile)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24850 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-04-29 19:41:12 +00:00
cunei 7a2cbcd567 Removed code from commit r23656.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24122 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-01-27 17:29:24 +00:00
cunei eb642f6633 Updated copyright notices to 2011
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24032 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-01-20 15:32:51 +00:00
michelou f3007cd824 added Ebay example (JAX-WS)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23656 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-12-02 12:33:33 +00:00
michelou b192503851 updates Scala examples, added detach plugin
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23531 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-11-17 12:26:13 +00:00
michelou d3749ab618 updated CompilerCommand invocation in main
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22028 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-05-25 11:56:58 +00:00
extempore 29962d62f1 As a brief diversion from real work, implemented Damerau–Levenshtein
and ran it on trunk to elicit obvious misspellings.  Unfortunately
they're mostly in places like compiler comments which real people never
see, but I fixed them anyway.  All those English Lit majors who peruse
our sources are sure to be pleased.  No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21343 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-04-06 01:26:31 +00:00
michelou 22ca6271a7 corrected @usecase and imports in plugin example
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20139 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-12-15 16:19:47 +00:00
extempore 19aaa66f37 Tweaked plugin template not to reference /Users/luc.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20110 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-12-11 19:21:44 +00:00
ilyas 5476ef7585 plugin example update to be compiled via scala 2.8
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20041 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-12-07 17:25:15 +00:00
cunei 03072c33cb Updated copyright notices to 2010
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20028 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-12-07 11:49:19 +00:00
phaller fb8922192d Reverting unwanted parts of last commit.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19295 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-26 21:07:22 +00:00
phaller 809b8f4f16 Second half of fix and tests for #1518.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19293 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-26 21:01:12 +00:00
dubochet 8c91a77ed6 Removed dead code, some useless Id tags removed.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18774 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-24 14:32:08 +00:00
dubochet 7f0b1d145a [no content change] Fixed all SVN properties: mimes, EOL, executable. Id expansion is consistently enabled for Scala/Java/C# sources in 'src/' and consistently disabled and removed from everywhere else: there should not be any dead Id tags anymore.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18773 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-24 13:09:40 +00:00
phaller d70974341f Fixed boundedbuffer actor example (new arrays).
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18770 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-24 12:16:17 +00:00
phaller f17be85c82 More proper fix for #2379 (single-threaded actors done right!).
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18768 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-24 10:58:10 +00:00
michelou cdf63878e3 added headers, svn keywords, updated pilib examples
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18038 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-06-16 10:49:14 +00:00
extempore 26d42fd7d8 Fixed some deprecation warnings.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18028 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-06-13 14:56:58 +00:00
dubochet 9293a3be71 In "Iterable" and in all its subclasses, "iterator" replaces "elements" (and assorted changes).
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@17856 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-05-27 19:35:02 +00:00
nielsen 9fa68e82c9 annotation removed now - for real
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@17060 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-02-09 11:37:07 +00:00
nielsen 6f6060f8a7 Remove type annotations as part of SIP 00002 and removed function from Global that is not used any more
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@17059 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-02-09 10:42:40 +00:00
nielsen a9fdf4a886 Updated example compiler plugin for SIP 00002
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@17040 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-02-05 14:08:22 +00:00
cunei ae54247192 Updated (all) copyright notices to 2009
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@16893 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-01-13 13:09:22 +00:00
phaller cb0f0afcc7 Removed deprecation warnings in auction.scala and producers.scala. Small clean up of links.scala.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15690 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-08-04 14:54:39 +00:00
rytz 31271c8127 removing the .settings folder from svn
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15447 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-06-27 08:44:16 +00:00
rytz e3cc207f77 - added AnnotationChecker and TraverseComponent
- improved the rest

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15446 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-06-27 08:42:40 +00:00
rytz 264ab472e4 rolling back the faulty checkin
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15298 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-06-09 13:32:38 +00:00
rytz 964f4b3bb5 now actually removing plugin.quick
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15297 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-06-09 13:17:59 +00:00
rytz 7b61b9522d updated plugin template to use Transform and InfoTransform
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15279 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-06-06 08:49:43 +00:00
rytz 56bc1a10b9 Added Scala compiler plugin Template.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15180 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-05-23 16:16:17 +00:00
michelou 8c0c1b66f3 updated code
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14009 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-02-14 16:43:18 +00:00
moors 944bc484f2 updated examples and json parser to use combinator1-style parsing,
have not yet renamed 
combinator -> combinatorold, and 
combinator1 -> combinator
--> doing that using SVN rename, so history is preserved
(thus, the build for this revision will break, but the next one should be okay. sorry)

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13911 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-02-07 12:39:51 +00:00
phaller 42307f1582 Beautified actor sequence example.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13378 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-11-29 18:52:39 +00:00
michelou cb15c45f74 fixed #63
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13356 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-11-27 12:31:59 +00:00
phaller c93118b377 Fixed fringe example
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13279 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-11-16 15:55:43 +00:00
phaller 5de3310d53 Made fringe example more type safe.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12921 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-09-21 18:22:41 +00:00
odersky 9462314375 combinator1 parser changes + examples added
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12879 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-09-16 18:01:02 +00:00
phaller 3990efa76d Fixed termination bug in messages actors example.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12814 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-09-05 15:58:05 +00:00
michelou a428b37140 Iterator -> Iterable
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12445 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-07-27 14:54:11 +00:00
moors 75bed0903b added another example using the combinator parsers, courtesy of Miles Sabin (slightly simplified/adapted to new combinators)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12358 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-07-18 21:55:59 +00:00
michelou 647a63b476 updated example
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12354 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-07-18 15:14:14 +00:00
moors 71b0ece567 updated examples to new combinator library
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12348 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-07-17 20:49:24 +00:00
michelou 0b98fa1763 added Stepan's patch ops/SyncVar
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12271 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-07-11 14:52:34 +00:00
phaller b5f0c98e72 Fixed typed channels example.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12270 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-07-11 14:39:34 +00:00
phaller 56c62aee61 Replaced AllRef with Null in maps example.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12261 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-07-10 13:41:29 +00:00
phaller c2b46a6301 Reverted accidental changes in channels example.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12256 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-07-09 20:33:12 +00:00
phaller e58b1a5421 Added actors example that uses explicit reply destinations.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12254 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-07-09 20:14:56 +00:00