Commit Graph

1061 Commits

Author SHA1 Message Date
Iain Sproat
ec9898ba92 Some tidying up of the XmlImporter which reduces the number of generic TreeParser tokens to a minimum - and should allow elements such as comments and CDATA to be ignored/skipped.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1422 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-04 15:02:09 +00:00
Iain Sproat
d3f223c196 The JsonImporter now passes all current unit tests.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1421 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-04 10:02:50 +00:00
David Huynh
ba442ec201 Started to implement UI redesign for project.vt page. In the process, converted all of our .css files to .less (we don't convert thirdparties ones).
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1420 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-02 02:06:01 +00:00
Stefano Mazzocchi
083b9ba737 we need to indicate we're actually loading to sandbox
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1419 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-01 19:49:46 +00:00
Iain Sproat
2d47885182 Tests in ProjectManagerTests.java and RefineServletTests.java have had minor fixes to update them to the current code.
doPostRegressionTest() still fails when run in the suite, but passes when run as an isolated test - there appears to be some cross-contamination from tests that I can't figure out atm.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1418 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-01 11:53:27 +00:00
Tom Morris
4c3cdabad2 Add a launch config with some extensions included as a model to follow
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1417 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-30 23:39:17 +00:00
David Huynh
9ac79a50ed Updated change list
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1416 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-30 17:22:59 +00:00
David Huynh
72060575bc Fixed Issue 146: In "Cluster and Edit Column", clicking on entry value to set "Merge?" checkbox does not reflect the final value of operation
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1415 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-30 17:18:19 +00:00
Tom Morris
7aa2c28a48 Put system-dependent MacOS build last
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1412 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-30 06:53:00 +00:00
Stefano Mazzocchi
33a616687a and with this, the 'gridworks->refine' renaming is done. yay!
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1411 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-30 01:54:15 +00:00
Stefano Mazzocchi
2b9b38368f use the new FreeQ 'refine' queue instead of the old 'gridworks' one
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1410 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-30 00:26:02 +00:00
Stefano Mazzocchi
fad9b3415c adding the latest contributors
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1409 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-29 23:21:01 +00:00
Stefano Mazzocchi
b8548c49a4 adding the new icons (on behalf of Heather)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1408 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-29 23:07:56 +00:00
Stefano Mazzocchi
b62e63306a - make the correct version + revision available also to the java side (thru web.xml)
- add @Override metadata to the commands that were missing it
- make the version information appear even when using trunk (Fixes Issue 136)


git-svn-id: http://google-refine.googlecode.com/svn/trunk@1406 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-29 01:50:57 +00:00
David Huynh
cb19cb4f43 Updated change list
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1405 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-29 00:17:03 +00:00
David Huynh
3429595b0d Fixed Issue 138: Numbers should be right-justified
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1404 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-29 00:16:17 +00:00
David Huynh
935355cb50 Comments in XML file caused the record detection code to fail. So we added ignorable element type that we can skip over.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1392 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 19:16:43 +00:00
Iain Sproat
bd3ded0828 Correcting JsonImporter to use the correct parser.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1388 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 14:19:19 +00:00
Iain Sproat
855df20481 XmlImportUtilities no longer relies on XMLStreamConstants, and is now independent of any specific type of tree data (Xml or otherwise).
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1378 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 10:46:33 +00:00
Iain Sproat
b21961be89 Another small step towards making XmlImportUtilities generic for all tree structured data, and less XML centric. Some calls to XMLStreamConstant in XmlImportUtilities are now working with a generic TreeParserToken, with methods to converter between TreeParserToken and XMLStreamConstant/JsonToken in the respective parsers.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1377 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 10:04:56 +00:00
David Huynh
740caedf46 Updated to version 2.0
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1376 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 06:03:07 +00:00
David Huynh
d6e0160295 Updated change list
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1375 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 05:17:20 +00:00
David Huynh
43f16fd2f8 Fixed Issue 135: Hangs when setting cell value to large JSON string
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1374 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 04:41:05 +00:00
David Huynh
e587614c22 Fixed Issue 126: Large integers formatted in scientific notation in formulas
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1373 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 04:21:44 +00:00
Tom Morris
bc6f05f41b Issue 140 - Fix Open Workspace command for non-Mac platforms (requires Java 6)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1372 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 03:54:54 +00:00
Tom Morris
9c6097a065 Fix working directory reference to match project name
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1371 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 03:49:11 +00:00
David Huynh
194fb5e706 Fixed Issue 122: Exporting to Excel on attached project raises server exception
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1370 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 03:44:30 +00:00
David Huynh
f2ce1b7161 Fixed Issue 121: Importing attached file strips backslashes
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1369 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 03:35:42 +00:00
Stefano Mazzocchi
c976091624 new hooks to the Freebase Refinery
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1368 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 02:19:50 +00:00
David Huynh
823fe989a4 Fixed Issue 110: Import of single column text file with Postal Codes shows only 1 row with lots of � chars (?).
(by enforcing a confidence threshold on the encoding guessing)

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1367 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 00:26:53 +00:00
Stefano Mazzocchi
14d046bb7a silence velocity's logs
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1366 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-28 00:01:53 +00:00
Stefano Mazzocchi
c7d421969e ignore test output
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1365 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 23:56:26 +00:00
Stefano Mazzocchi
ad1db143c9 more info on how to run the tests in eclipse
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1364 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 23:45:25 +00:00
Stefano Mazzocchi
c44dd68f92 remove duplication
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1363 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 23:39:10 +00:00
Iain Sproat
c3c23a87b0 The renaming of TreeImporter to TreeImportUtilities didn't seem to get committed last time. Trying again.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1362 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 22:57:26 +00:00
Iain Sproat
d285999da8 New JsonImporter, JsonParser and JsonImporterTests (copy of XmlImporterTests with syntax of the example data altered for Json).
Renaming of TreeImporter to TreeImportUtilities (as per the current convention with the XmlImporter and XmlImportUtilities).

NB the new JsonParser class does not work, and 5 of the new unit tests for JsonImporter currently fail.  To be fixed in due course.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1361 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 22:53:17 +00:00
Stefano Mazzocchi
8cd6476fa4 remove empty dir
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1357 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 22:13:38 +00:00
Stefano Mazzocchi
565e3b6e90 adding default code style info to eclipse projects
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1356 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 22:11:38 +00:00
Stefano Mazzocchi
81c112e315 removing empty dirs
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1355 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 22:06:04 +00:00
Stefano Mazzocchi
86f810a324 hardening the timeline facet
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1353 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 21:59:17 +00:00
Iain Sproat
e5ddfa6fdc All methods in XmlImportUtilities now use the TreeParser interface.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1323 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 17:59:53 +00:00
Iain Sproat
d71c563831 XmlImportUtilities.detectPathFromTag and XmlImportUtilities.detectRecordElement methods now use a generic TreeParser interface. A lightweight wrapper XmlParser wraps XMLStreamReader to provide parsing for xml data.
This is another small step towards a generic importer for tree structured data.  My plan is to refactor more of XmlImportUtilities' methods to use the TreeParser interface so that XmlStreamReader is no longer called directly from XmlImportUtilities.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1322 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 17:40:51 +00:00
Iain Sproat
1bda46d40f Methods which are generic to any tree structured data and don't rely on an XmlParser have been moved to a new TreeImporter class. This is a small step towards supporting importers for other tree structured data.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1321 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 16:09:44 +00:00
Iain Sproat
2df0d1ac3a Eclipse .launch file for tests now correctly points to project 'grefine' rather than incorrect 'refine'.
XmlImport tests now pass - the tests themselves were not testing the current xml being input to them.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1320 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-27 14:47:06 +00:00
Stefano Mazzocchi
6273332cef the sandbox->freebase loading conduit is now named "refinery"
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1313 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-25 01:57:56 +00:00
David Huynh
289d4e4c57 Ignore classes/ sub-dirs.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1303 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-23 00:47:29 +00:00
David Huynh
64727ebd03 Somehow this fell out of a previous checkin.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1302 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-23 00:45:18 +00:00
David Huynh
8b115f67ff Stray renaming
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1301 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-23 00:42:08 +00:00
David Huynh
a112ffa9ab Caught a stray rename miss. Added more generic support for renaming old Java classes so that extensions could remain backward-compatible, too
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1297 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 23:59:57 +00:00
David Huynh
289f46bbf5 Removed yet another old empty Java package dir.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1296 7d457c2a-affb-35e4-300a-418c747d4874
2010-09-22 23:36:34 +00:00