summaryrefslogtreecommitdiff
path: root/src/swing
Commit message (Collapse)AuthorAgeFilesLines
* Reducing the sbt launcher footprint by eliminat...Paul Phillips2011-05-011-3/+2
| | | | | | | | | | | | Reducing the sbt launcher footprint by eliminating val references which go through the scala package object, since they lead to otherwise unnecessary classes becoming required at startup. Mostly this means library files with constructors like "Iterator.empty" or "Stream.continually" receive a direct import of that companion. The one slightly less than cosmetic change was moving the strange xml value "$scope" back into Predef, because otherwise I have to touch the xml code generation. No review.
* After having to update the code for someone els...Paul Phillips2011-04-301-1/+1
| | | | | | | After having to update the code for someone else, ran damarau levenshtein on trunk again. Patchwise, I guess correcting spelling errors in comments is about as safe as it gets. No review.
* I wrote a warning when nullary methods return U...Paul Phillips2011-04-286-8/+8
| | | | | | | | | | | | | | | I wrote a warning when nullary methods return Unit. I wimped out of including it in this patch because we had about 200 of them, and that's what is fixed in this patch. I will add the warning to some kind of "-Xlint" feature after 2.9. This is motivated at least partly by the resolution of #4506, which indicates the distinction between "def foo()" and "def foo" will continue to jab its pointy stick into our eyes, so I believe we have a minimal duty of at least following our own advice about what they mean and not making a semirandom choice as to whether a method has parens or not. Review by community.
* Updated a bunch of @deprecated annotations to h...Paul Phillips2011-04-246-13/+13
| | | | | Updated a bunch of @deprecated annotations to have a version, no review.
* Added some null checks in swing.Paul Phillips2011-03-312-5/+5
| | | | | | | the input verifier is null should be "assume it verifies" not "assume it doesn't" but since I don't actually know anything about swing this guess could be wrong. Closes #3783, review by imaier.
* Emptiness check in swing, closes #1578 no review.Paul Phillips2011-03-311-1/+1
|
* And extempore's original plan carries the day: ...Paul Phillips2011-03-061-3/+3
| | | | | | | And extempore's original plan carries the day: null.## no longer throws an NPE. Took advantage of feature to simplify a bunch of sharp-sharp calculations. Closes #4311, no review.
* Updated copyright notices to 2011Antonio Cunei2011-01-2084-84/+84
|
* 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-123-3/+3
| | | | | | | | | | | | | | | | | | | 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.
* I'm wandering around trunk looking for slowness.Paul Phillips2010-12-201-4/+2
| | | | | | | | | | | | | | | | | are constant distractions which I've meant forever to fix anyway, such as the importing of collection.mutable._ (or any other package with lots of reused names.) Why is this relevant to performance? Well, var x = new HashSet[Int] What's that? What does 'x += 1' mean? These are questions we can all live without. There's almost nothing left which references HashSet or HashMap or Stack or other ambiguous classes without a qualifier: I can finish trunk but I can't keep it clean on my own. (Where should I be writing this stuff down, I wonder.) No review.
* Eliminating all possible warnings from trunk.Paul Phillips2010-12-111-4/+4
| | | | | | | one deprecation, one unchecked, and one "other", each of which volunteers no mechanism for suppression. (It would be nice to change this.) No review.
* again: relax access boundry check for overridin...Lukas Rytz2010-12-081-1/+1
| | | | | | again: relax access boundry check for overriding protected java members. review by eugenevigdorchik.
* Reverts previous commit: needs a new starr..Lukas Rytz2010-12-071-1/+1
| | | | | This reverts commit 99652fe553a1a5b0c551950e8178e867943a088f.
* follow up on fix #3946.Lukas Rytz2010-12-071-1/+1
|
* Mopping up after the deprecation of exit and er...Paul Phillips2010-12-052-2/+2
| | | | | | | | | | | | | | 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.
* close #3946.Lukas Rytz2010-12-031-1/+1
|
* Renaming files and inserting dummies to please ...Paul Phillips2010-07-011-15/+15
| | | | | | | | | | Renaming files and inserting dummies to please ant. Note to committers: whenever there is a source file which does not generate a classfile whose name and path exactly match the name and path of the source file, then ant will recompile the file every time it compiles anything. In this batch there were 7 such files, so any 1-char change meant an 8-file recompile. Someday we'll be rid of ant, but until then... no review.
* Altered a bunch of places which call hashCode t...Paul Phillips2010-05-211-1/+1
| | | | | | Altered a bunch of places which call hashCode to call ## instead. No review.
* Removed more than 3400 svn '$Id' keywords and r...Antonio Cunei2010-05-1284-84/+0
| | | | | Removed more than 3400 svn '$Id' keywords and related junk.
* Fixed #3358.Ingo Maier2010-05-0511-47/+62
|
* added missing SuperMixinsIngo Maier2010-04-2321-24/+29
|
* Fixed #3258Ingo Maier2010-04-132-8/+4
|
* Fixed #3257Ingo Maier2010-04-061-2/+2
|
* As a brief diversion from real work, implemente...Paul Phillips2010-04-062-3/+3
| | | | | | | | | 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.
* Fixed #2242. No review.Ingo Maier2010-03-283-12/+12
|
* Fixed #3219. No review.Ingo Maier2010-03-281-1/+1
|
* Fixed #2753. No review.Ingo Maier2010-03-281-5/+7
|
* Fix for #2980. No review.Ingo Maier2010-03-282-3/+12
|
* Fixed #2803.Ingo Maier2010-03-285-7/+15
|
* Fixed #3090Ingo Maier2010-03-282-5/+6
|
* Some minor changes in scala.swing.* which I was...Paul Phillips2010-03-2112-99/+95
| | | | | | | | | | Some minor changes in scala.swing.* which I was glancing through because of #3196. I noticed the Font object was in package scala instead of scala.swing, which looks sure to be a mistake (an easy one to make, and one others have made as well, because we're not entirely used to package objects.) I didn't want to accidentally ship a scala.Font so I moved it into swing. Review by imaier.
* Fix for #3084Ingo Maier2010-02-231-2/+2
|
* Added TextComponent.paste, made some accidentia...Ingo Maier2010-02-235-7/+12
| | | | | | Added TextComponent.paste, made some accidentially public publisher methods protected.
* Some much needed housecleaning regarding system...Paul Phillips2010-02-233-4/+3
| | | | | | | | | Some much needed housecleaning regarding system properties. If you can possibly resist the temptation, it'd be great if people could try to go through the properties classes to get and set them, and also to set property values somewhere fixed rather than using strings directly. Review by community.
* Band-aid for #3081, issue should receive more c...Paul Phillips2010-02-201-1/+1
| | | | | | Band-aid for #3081, issue should receive more comprehensive treatment. Review by imaier.
* Reverted over-zealous replacement of 'PartialFu...Antonio Cunei2010-01-151-1/+1
| | | | | Reverted over-zealous replacement of 'PartialFunction' with '=>?'.
* Took full advantage of the new =>? alias for th...Paul Phillips2009-12-221-1/+1
| | | | | | | Took full advantage of the new =>? alias for the superverbosely named PartialFunction by renaming every usage of the latter except when in comments.
* Closed #2801.Martin Odersky2009-12-181-1/+1
|
* Another round of deprecation warning elimination.Paul Phillips2009-12-153-8/+8
|
* Updated copyright notices to 2010Antonio Cunei2009-12-0784-84/+84
|
* More world-shaking deprecation work.Paul Phillips2009-11-201-1/+1
| | | | | | | object, updating some @deprecated messages to give realistic alternatives, properly resolving the semantic mismatch between List.-- and diff, its once-recommended but inequivalent alternative.
* Reverted r19466, as the decision is now thatAntonio Cunei2009-11-091-2/+2
| | | | | isDefinedAt should /not/ be in Function1
* Adds isDefinedAt to Function1. As a consequence,Antonio Cunei2009-11-091-2/+2
| | | | | | | | code that mixes in PartialFunction now have to define isDefinedAt as override. Fixes #2225.
* use scalacfork for strap build, should make win...Lukas Rytz2009-11-091-0/+0
| | | | | | use scalacfork for strap build, should make windows build work. Rename RichWindow so that ant does not always re-compile it.
* Fixed remove/clear/update issues in BufferWrapp...Ingo Maier2009-11-022-4/+4
| | | | | Fixed remove/clear/update issues in BufferWrapper and layout map.
* Synchronize trunk with local changes:Ingo Maier2009-11-0245-154/+393
| | | | | | | | | | | | | * Fixes for #2452, #2036, #2491 * More comments * Added paint methods * Added convenience methods and constructors * Deprecated UIApplication classes, replaced by SwingApplication classes * Replaced case class inheritance by unapplies * Introduced type aliases for AWT classes in package object * Refactored RichWindow hierarchy * Some minor code cleanup
* Fixed #2494, plus some reorganization of swing ...Martin Odersky2009-10-2715-15/+15
| | | | | Fixed #2494, plus some reorganization of swing imports
* Modifications to the five accumulated ant-paras...Paul Phillips2009-10-263-1/+6
| | | | | | | | | | Modifications to the five accumulated ant-parasite files which are slowly driving me mad by being recompiled on every single run. One file renamed, one moved to the right directory, two given dummy implementations since they're completely commented out, and the actors package object changed to apply to scala.actors rather than _root_.actors.
* renamed Vector to IndexedSeqTiark Rompf2009-10-212-4/+4
|