Commit Graph

2476 Commits

Author SHA1 Message Date
samskivert fdc60e29c6 Widening.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2536 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-03-13 22:26:47 +00:00
samskivert 5266497ece Don't default to using inherited properties in Config as no one ever used that
and it's of dubious value anyway. I'd ditch ConfigUtil.loadInheritedProperties
entirely to protect future generations from this madness except we use it in
Nenya for loading inherited sound configuration.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2535 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-03-13 22:25:53 +00:00
samskivert 1fd549ddbb Added getBoolean() (from Dave).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2534 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-03-09 21:09:32 +00:00
samskivert 6013c50a50 Taint cleanup from Dave.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2533 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-03-05 00:23:20 +00:00
samskivert 19a8e22721 Allow the caller to get the raw md5 bytes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2532 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-02-17 18:56:47 +00:00
samskivert 2dde3d2417 Properly configure our optional RunQueue.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2531 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-02-13 18:27:12 +00:00
samskivert 4584b053e2 Make it possible to supply a RunQueue after the fact for callers who have a
RunQueue that might be null.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2530 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-02-13 18:26:48 +00:00
samskivert da5ac674e4 This may break things, but accidentally passing a null runqueue that you think
is not null results in extremely nefarious race condition bugs that are best
nipped in the bud.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2529 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-02-13 18:17:01 +00:00
samskivert 44e6f04ed1 Added convenience method for combining the output of multiple comparison
conditions.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2528 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-02-05 23:21:06 +00:00
par.winzell 1316f48499 Let DatabaseLiaisons know how to drop tables.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2527 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-02-02 16:19:55 +00:00
samskivert 08b327c9bf Beans/frank.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2526 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-02-01 23:43:45 +00:00
samskivert bb53933b74 Note when shutdown has been requested and refuse to accept further units from
that time, rather than from the time that the shutdown is actually processed.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2525 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-02-01 22:51:24 +00:00
samskivert bdd3f45d29 Widening, make _running volatile instead of synchronizing on the thread.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2524 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-02-01 22:49:49 +00:00
ray.j.greenwell 2eccc70c98 Patch from Dave Hoover to improve outlining when used with small text
and antialiasing.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2523 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-01-30 22:34:31 +00:00
andrzej@threerings.net 0a56f4f338 Added reverse method for Object arrays.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2522 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-01-29 01:01:36 +00:00
par.winzell 5f047c124c Make histogram resolution configurable. From Jamie.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2521 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-01-23 18:36:13 +00:00
samskivert fcdc097723 Check that we have our minimum dependencies and tell the builder how to get
them if we don't.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2520 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-01-23 12:20:46 +00:00
par.winzell e262fc29d9 Indexes are not really constraints. Primary key dropping is its own thing, too.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2519 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-01-08 22:48:52 +00:00
samskivert eeaa8be638 Fixed javadoc.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2518 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2009-01-08 22:13:30 +00:00
samskivert 0d0787348e Don't pop a disabled radial menu down when it's clicked. That makes it look
like we're taking the menu's action.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2517 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-29 22:57:56 +00:00
samskivert cc88420aa2 More widening.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2516 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-29 20:08:08 +00:00
samskivert 6b21917b25 Widening.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2515 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-29 20:05:28 +00:00
samskivert 077b3be839 We need to configure antialiasing before getting our FRC.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2514 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-18 19:49:13 +00:00
samskivert 15cbab50b1 No longer need to special case text antialiasing here.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2513 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-18 01:56:20 +00:00
samskivert 409fe74196 Deprecated MultilineLabel.setAntiAliased(), made Label honor
SwingUtil.getDefaultTextAntiAliased(), tidied up some bits related to
SwingUtil.restoreAntiAliasing().


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2512 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-18 01:54:55 +00:00
samskivert 0f359f3f21 Widening.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2511 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-18 01:45:43 +00:00
samskivert edb6f304e4 If text antialiasing is the desired defaul, honor it in LabelSausage.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2510 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-18 01:36:56 +00:00
samskivert e6740260c9 Widening.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2509 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-18 01:34:19 +00:00
samskivert c5504d6857 Added getDefaultTextAntialiasing(), use it to configure the default for
MultilineLabel.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2508 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-18 01:33:26 +00:00
samskivert b7e85472f4 Widening.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2507 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-18 01:29:32 +00:00
samskivert c1f89f9227 Widening, and switch to KEY_TEXT_ANTIALIASING when laying out instead of
KEY_ANTIALIASING, since labels are all about text.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2506 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-18 01:20:31 +00:00
samskivert 31bc42b5aa Activate text antialiasing as well as 2D primitive antialiasing, as requested
by Matt.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2505 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-17 17:48:35 +00:00
samskivert 87a4c07ce5 Provide better class documentation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2504 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-16 00:31:37 +00:00
samskivert 0b560d885b Nixed Google Collections usage, fixed bug in uColSet checking.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2503 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-10 01:12:28 +00:00
par.winzell 48f79b9a26 In the interest of freedom from dependencies, we shall do away with the comforts of Google.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2502 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-09 23:30:11 +00:00
par.winzell 796d870beb HSQL support:
- HSQL largely follows SQL92, thus to preserve case we have to enclose identifiers such as column and table names in quotes.
 - HSQL has a method for auto-generating primary key values, but its syntax is different from MySQL and PostgreSQL -- just when we got to celebrate that those two giants had agreed on a convenient alias.
 - HSQL can't handle uniqueness as a column-level constraint. It can certainly handle unique columns, it just seems to feel that's a table level constraint and thus to be specified as a prologue during table creation. Thus we override createTableIfMissing to strip uniqueness from column definitions and append those instead to the table-level unique constraints. We might want to switch to this approach for all the databases.
 - We override expandDefinition() to magically translate a default value of IDENTITY into a HSQL-specific column mark-up that triggers the primary key value auto-generation. This is for Depot's benefit, and I would not be surprised if this method was soon moved to that project.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2501 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-09 23:15:58 +00:00
par.winzell 4b82d4dee1 I am increasingly dissatisfied with ColumnDefinition's existence. As a step towards its phasing out, make it a mutable datadump for Depot's nefarious benefit.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2500 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-09 23:08:57 +00:00
par.winzell d6c62dde74 We love Google Collections, yes we do.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2499 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-09 23:08:05 +00:00
par.winzell c06098c71d Null should give us unrestricted searches on all databases.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2498 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-09 23:05:53 +00:00
samskivert 7e2eddbe80 Let's check that these actually run.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2497 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-08 23:19:04 +00:00
samskivert 0d05720af9 Added Runnables.NOOP.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2496 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-08 20:18:13 +00:00
samskivert 8146d78a39 Poor man's method references. Might create Callables.asCallable() as well just
for kicks.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2495 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-08 19:51:20 +00:00
samskivert 79f1528e7b Nixed unused imports.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2494 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-12-08 19:50:13 +00:00
samskivert 662e389d11 Let's use the real exception here.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2493 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-11-25 20:25:28 +00:00
samskivert d08f130606 Nixed unused import.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2492 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-11-25 20:12:52 +00:00
samskivert 8a298764e1 The beginnings of support for HSQLDB (a JDBC driver that can be used as a
purely in-memory database which is very handy for unit testing). It's not done
yet and doesn't work, but some day I hope to finish integrating it.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2491 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-11-25 20:12:40 +00:00
samskivert 19dee7226e Don't require a non-blank password.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2490 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-11-25 20:03:45 +00:00
samskivert a8b7908a64 Beans/frank.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2489 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-11-19 23:33:15 +00:00
samskivert 9ca07c08df Fixed some StringBuilder wonkiness.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2488 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-11-19 23:32:59 +00:00
samskivert d7321d2c20 Widening and actually implement Cloneable.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2487 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-11-18 22:14:42 +00:00