Commit Graph

2735 Commits

Author SHA1 Message Date
Stefano Mazzocchi
ed0778f18d fixed a problem I introduced earlier with a jsunit scope fix
git-svn-id: http://google-refine.googlecode.com/svn/trunk@441 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-10 08:16:40 +00:00
Stefano Mazzocchi
a286b805d5 no reason to process the contextual rows while clustering
git-svn-id: http://google-refine.googlecode.com/svn/trunk@440 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-10 08:11:31 +00:00
Stefano Mazzocchi
924f520fbf turns out we have been distributing the mac version of gridoworks with the default JVM max_heap settings... no wonder why so many people were getting OutOfMemory errors
git-svn-id: http://google-refine.googlecode.com/svn/trunk@439 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-10 01:36:35 +00:00
David Huynh
70449cf7c8 Better error catching in toNumber function.
Watch out for the string "Infinity" while importing data sets: don't parse it into a double.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@438 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-09 21:59:50 +00:00
David Huynh
8950e87e02 When re-loading existing projects from disk, cache recon objects by their IDs to lower memory consumption.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@437 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-09 19:32:50 +00:00
David Huynh
dff870519e Made numeric range index handle value.log() properly when value is 0 or negative.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@436 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-09 05:24:46 +00:00
David Huynh
a0d8c385f9 Do a bit more checking when retrieving project metadata just in case project metadata is null.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@435 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-09 04:52:32 +00:00
Stefano Mazzocchi
4a139842d4 more jslint cleanups
git-svn-id: http://google-refine.googlecode.com/svn/trunk@434 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-09 01:48:50 +00:00
Stefano Mazzocchi
cc2209074b more jslint goodness
git-svn-id: http://google-refine.googlecode.com/svn/trunk@433 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-09 01:14:33 +00:00
Stefano Mazzocchi
16a2600a49 now it's jslint time to be happier: (!= null) -> (!== null)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@432 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-09 01:00:44 +00:00
Stefano Mazzocchi
f0ba42f355 make sure to check the tests as well
git-svn-id: http://google-refine.googlecode.com/svn/trunk@431 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-09 00:23:14 +00:00
Stefano Mazzocchi
d3d40d608a bunch of PMD-induced fixes
(now the PMD report is clean)


git-svn-id: http://google-refine.googlecode.com/svn/trunk@430 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-09 00:14:11 +00:00
David Huynh
759824e1b4 Bug fix: editing one facet choice while some other choices are selected resulted in no change.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@429 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-08 22:16:12 +00:00
David Huynh
c4460fdfdd Made history panel expand on click rather than on hover.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@428 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-08 21:32:36 +00:00
Stefano Mazzocchi
7526c4e582 cleanups (no functional changes)
this makes pmd and javac on linux happier


git-svn-id: http://google-refine.googlecode.com/svn/trunk@427 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-08 20:46:02 +00:00
Stefano Mazzocchi
be084ff0da more de-bash-ing
git-svn-id: http://google-refine.googlecode.com/svn/trunk@426 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-08 20:45:02 +00:00
Will Moffat
fff6eb0aa2 JSLint: legimate comparisions to 0 and null should be made using ===
git-svn-id: http://google-refine.googlecode.com/svn/trunk@425 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-08 20:18:38 +00:00
Will Moffat
41a52f135d JSLint: foo == 0, foo == null --> !foo
git-svn-id: http://google-refine.googlecode.com/svn/trunk@424 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-08 20:16:08 +00:00
Will Moffat
94aa2e0168 JSLint: semicolons
git-svn-id: http://google-refine.googlecode.com/svn/trunk@423 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-08 19:52:23 +00:00
Stefano Mazzocchi
2c221a5bf6 caved to the compulsion and fixed the bash-isms
git-svn-id: http://google-refine.googlecode.com/svn/trunk@422 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-08 18:23:14 +00:00
Will Moffat
fbc1d04efb JSLint fixes
git-svn-id: http://google-refine.googlecode.com/svn/trunk@421 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-08 18:21:28 +00:00
Stefano Mazzocchi
b0d23a4a10 another linux issue: openjdk6 comes in 'headless' mode as well, which throws if we attempt to contact the Desktop class, so make sure to warn the user nicely and avoid a nasty stacktrace printout
git-svn-id: http://google-refine.googlecode.com/svn/trunk@420 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-08 03:43:26 +00:00
Stefano Mazzocchi
2da0ec986d turns out that because sh -> bash on macosx, but sh != bash on linux, we have to force this to be bash or it will crap out
(since I have no idea what kind of involuntary bash-ism I ended up using here, I'll let the power of the community fix this once it gets out... if they care, that is)


git-svn-id: http://google-refine.googlecode.com/svn/trunk@419 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-08 03:24:48 +00:00
Stefano Mazzocchi
135f870061 - adding interactive test mode so one can use the Windmill IDE to make tests
(use ./gridworks test interactive)
- split the windmill tests between python and js
(the js one is just a silly test, waiting for Jeff to fill it up with more meaty stuff)


git-svn-id: http://google-refine.googlecode.com/svn/trunk@418 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 22:56:46 +00:00
Stefano Mazzocchi
73454cfa05 use virtualenv to prepare python and install windmill
(this should be much more portable and much more user friendly since it doesn't change the local python installation and doesn't require any administration credentials)


git-svn-id: http://google-refine.googlecode.com/svn/trunk@417 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 21:45:39 +00:00
David Huynh
bd24e5c7ff Set ajax_in_progress attribute on <body> during ajax operations in order to facilitate testing.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@416 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 21:31:50 +00:00
Stefano Mazzocchi
aa2211221f more contributors
git-svn-id: http://google-refine.googlecode.com/svn/trunk@415 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 21:10:34 +00:00
Will Moffat
efb9a43b73 Added: toDate() now supports formats.
My dataset has the same dates written in two styles: Nov-09 and 11/09
You can now parse this using: value.toDate2('MM/yy','MMM-yy').toString('yyyy-MM')



git-svn-id: http://google-refine.googlecode.com/svn/trunk@414 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 19:12:08 +00:00
Stefano Mazzocchi
4171db6540 adding jslint support
git-svn-id: http://google-refine.googlecode.com/svn/trunk@413 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 19:05:04 +00:00
Stefano Mazzocchi
7690f932b7 more fixes
git-svn-id: http://google-refine.googlecode.com/svn/trunk@412 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 18:51:16 +00:00
Stefano Mazzocchi
f816a288af this command might fail in leopard (it's needed for snow-leopard) so avoid existing if that happens
git-svn-id: http://google-refine.googlecode.com/svn/trunk@411 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 18:40:50 +00:00
Stefano Mazzocchi
4626f88836 fixing untar issue
git-svn-id: http://google-refine.googlecode.com/svn/trunk@410 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 18:34:10 +00:00
David Huynh
302c27687c "type" in freebase suggest results got dropped so we need to fetch the result's types ourselves.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@409 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 18:23:07 +00:00
Stefano Mazzocchi
c921fb703f syntax problems
git-svn-id: http://google-refine.googlecode.com/svn/trunk@408 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 17:40:55 +00:00
Stefano Mazzocchi
6674b69773 adding PMD and CPD support
git-svn-id: http://google-refine.googlecode.com/svn/trunk@407 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 17:31:25 +00:00
Stefano Mazzocchi
6dbe794658 enabled windmill-based UI testing (type ./gridworks test to try)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@406 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 08:28:53 +00:00
Stefano Mazzocchi
6114530723 make sure the junit tests still work
git-svn-id: http://google-refine.googlecode.com/svn/trunk@405 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 01:17:14 +00:00
Jeff Fry
341a8d3f8f Initial Windmill tests for Gridworks: text facet, split values, numeric facet. Some asserts but likely want more.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@404 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 00:48:00 +00:00
Stefano Mazzocchi
8f5c35799b making room for windmill tests
git-svn-id: http://google-refine.googlecode.com/svn/trunk@403 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 00:35:59 +00:00
Stefano Mazzocchi
0e6718388e a little more solid
git-svn-id: http://google-refine.googlecode.com/svn/trunk@401 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 00:18:26 +00:00
Stefano Mazzocchi
0978a8ec1d make things more solid for snow-leopard
git-svn-id: http://google-refine.googlecode.com/svn/trunk@400 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-07 00:12:40 +00:00
Stefano Mazzocchi
9e90e6f05c this time is for real
git-svn-id: http://google-refine.googlecode.com/svn/trunk@399 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-06 23:42:57 +00:00
Stefano Mazzocchi
008cc32d0d - fixing the curl redirect issue
- reduced cut/paste
- starting to load windmill


git-svn-id: http://google-refine.googlecode.com/svn/trunk@398 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-06 23:28:52 +00:00
Stefano Mazzocchi
1ad122ee47 fixes issues in case wget is not found in path
git-svn-id: http://google-refine.googlecode.com/svn/trunk@397 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-06 23:13:09 +00:00
Stefano Mazzocchi
5afd2e8c00 hmm, let's see if this fixes the problem that David is seeing but I can't repro
git-svn-id: http://google-refine.googlecode.com/svn/trunk@396 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-06 23:05:45 +00:00
Stefano Mazzocchi
687eae475d make sure to have the tools dir
git-svn-id: http://google-refine.googlecode.com/svn/trunk@395 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-06 22:41:33 +00:00
David Huynh
0996b9e1dd Gzip project export tar files.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@394 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-06 22:28:30 +00:00
David Huynh
309d682fcb Added data set for testing inter-project joins.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@393 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-06 18:16:17 +00:00
David Huynh
5320cc6587 Make duplicated column names unique during import by appending indices to them.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@392 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-06 17:55:36 +00:00
David Huynh
9d9329ca96 Implemented row remove command.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@391 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-06 07:47:44 +00:00