Commit Graph

438 Commits

Author SHA1 Message Date
David Huynh
6fb2b05739 Fixed issue 294: "Exporting date type column to TSV/CSV shows java debugging information instead of value" with help from Gabriel Sjoberg.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1967 7d457c2a-affb-35e4-300a-418c747d4874
2010-12-28 15:54:24 +00:00
David Huynh
53442c5ef2 Handle the case where an excel cell has a formula but the cached result of that formula is an error.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1962 7d457c2a-affb-35e4-300a-418c747d4874
2010-12-25 21:41:21 +00:00
David Huynh
687e9064df A shorter fix for toString() to handle Date than the last commit.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1961 7d457c2a-affb-35e4-300a-418c747d4874
2010-12-25 21:36:51 +00:00
David Huynh
0ff40eabbd toString() should handle Date, too, rather than just Calendar.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1960 7d457c2a-affb-35e4-300a-418c747d4874
2010-12-25 21:33:59 +00:00
Tom Morris
209f157656 RESOLVED - task 202: Sort text with accents
http://code.google.com/p/google-refine/issues/detail?id=202

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1951 7d457c2a-affb-35e4-300a-418c747d4874
2010-12-12 18:16:29 +00:00
Tom Morris
dda74792bc Add jsoup library so project will compile
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1950 7d457c2a-affb-35e4-300a-418c747d4874
2010-12-08 05:35:07 +00:00
Iain Sproat
f55f11cd0d Adding classes to now make it possible to parse Html in GREL. Uses small subset of methods from the JSoup library, licensed under the MIT license.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1948 7d457c2a-affb-35e4-300a-418c747d4874
2010-12-06 23:15:24 +00:00
Tom Morris
9aaa1c9919 Replace tabs with spaces. No functional change.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1947 7d457c2a-affb-35e4-300a-418c747d4874
2010-12-05 20:50:03 +00:00
Tom Morris
a560cb56df Replace tabs with spaces. No functional changes.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1942 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-29 06:27:06 +00:00
Tom Morris
3a8f9306bd Add some toString() methods to help with debugging
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1941 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-29 06:24:50 +00:00
Tom Morris
af20157532 Fix indentation so indent levels match logical block levels. No code changes.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1940 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-28 17:46:57 +00:00
Tom Morris
748b5699b9 Issue 61 - Turn on text coalescing and XML entity reference replacement
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1939 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-27 22:07:15 +00:00
Tom Morris
e19148c375 Make sure we at least log an error if the import fails
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1938 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-27 22:05:45 +00:00
Tom Morris
824f445530 Unused import
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1937 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-27 17:54:16 +00:00
Tom Morris
b9fa100d31 Don't try to save a null encoding
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1936 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-27 17:54:01 +00:00
Tom Morris
850c43d6f3 Issue 107 - set encoding on response
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1935 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-27 02:46:10 +00:00
Tom Morris
3d6458a0e5 Replace tabs with spaces
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1934 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-27 01:38:32 +00:00
Tom Morris
bc8637f638 Issue 257 - Don't return a String where a Date is required (using generics in Criterion API would prevent this kind of problem, but that's incompatible with the use of the Eval_Error class)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1933 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-27 01:18:36 +00:00
Tom Morris
c7b0f4d024 Issue 184 - use default locale date formatting if no format string is specified
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1932 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-26 23:47:09 +00:00
Tom Morris
080ec5332e Issue 237 - Make sure project's character encoding is always set. Lower minimum confidence threshold for guesser.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1931 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-26 22:23:31 +00:00
David Huynh
1e2af79851 Let's handle .tar files as well rather than requiring .tar.gz.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1919 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-21 03:00:43 +00:00
David Huynh
c496f1e941 Helped toward fixing issue 228: ButterflyServlet already tracks the ServletConfig, so there's no need for RefineServlet to do that, too.
Importing archive files has another big problem at the moment: namely, even if the many files in a single archive file share several columns, they still cause columns with the same names to be over and over again as each file gets imported. This is because individual importer was written with the assumption that it imports into an empty project with no column.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1918 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-21 02:58:15 +00:00
Iain Sproat
09fa36198c Additions to GREL:
* Factorial function allowing variable steps
* GreatestCommonDenominator function
* LeastCommonMultiple function
* Multinomial function
* Quotient function

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1910 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-20 18:04:11 +00:00
Iain Sproat
43d0de2d8a Fixed registered name of GREL combination function
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1909 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-20 12:15:31 +00:00
Iain Sproat
f1643565b8 Additions to GREL:
* modulo operator, %
* cos, sin and tan functions
* acos, asin, atan and atan2 functions
* cosh, sinh and tanh functions
* fact and combin functions
* degrees and radians functions
* odd and even functions

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1908 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-20 12:11:37 +00:00
Iain Sproat
1ec7cb9f7b PI constant added to GREL
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1904 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-18 23:53:07 +00:00
Tom Morris
675714d03d Add toString() methods to help with debugging
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1894 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-18 08:19:05 +00:00
Iain Sproat
dd333d5b43 Abs function now available in GREL
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1890 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-17 09:38:51 +00:00
Iain Sproat
74e9288229 Additional error dialog for Issue 188
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1858 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-11 14:25:46 +00:00
Iain Sproat
2f564589f5 Adding a Fixed Width data importer (Issue 85) and associated tests.
Although this importer is 'wired up', it requires a property "fixed-column-widths" which is not (yet) implemented in the UI.  But the ImporterRegister.guessImporter method will probably select the CsvTsvImporter before the FixedWidthImporter anyway.  I suggest an improvement to the project creation UI and/or the guessImporter method will be required.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1857 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-11 13:15:41 +00:00
Iain Sproat
4f9dc38066 TsvCsvImporter now uses the CSV test methods to also test the TSV importer. Separate tests for the two importers are no longer required.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1856 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-11 13:06:39 +00:00
Iain Sproat
37a6f938c3 The TestNG DataProvider for the Tsv/Csv importer tests was previously providing just one test case with two parameters, rather than the two test cases of one parameter each which is required. This is now fixed, and the tests pass.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1855 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-11 10:52:18 +00:00
David Huynh
703d2dbd19 IsTest should catch errors and wrap them.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1833 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-08 21:19:25 +00:00
David Huynh
5d915be096 Numeric comparisons == and != should be special-cased, too.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1780 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-05 19:17:57 +00:00
David Huynh
fe08a43e0c FunctionCall and ControlCall should catch exceptions and wrap them as EvalError's.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1777 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-05 04:26:10 +00:00
James Home
b282952448 clean up top right nav
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1775 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-04 01:03:50 +00:00
Iain Sproat
e33c00f388 GoogleRefineTests.launch now looks in the correct directories for the tests
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1773 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-03 19:38:54 +00:00
David Huynh
232d97f832 Prevent really long expressions from stretching the expression preview dialogs.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1772 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-03 19:15:48 +00:00
David Huynh
faaca5beea Fixed the GREL round function.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1749 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-01 20:28:42 +00:00
David Huynh
1f12bfb409 Fixed bug in HasFieldsListImpl where list members weren't tested for being null.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1735 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-01 18:13:53 +00:00
David Huynh
1eebe2e4a3 Fixed transpose-rows-into-columns command, which previously duplicated columns that precede the column being transposed.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1734 7d457c2a-affb-35e4-300a-418c747d4874
2010-11-01 17:59:58 +00:00
David Huynh
258637c343 Minor bug introduced recently when trying to be smart to clean up operation json
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1728 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-28 23:37:50 +00:00
David Huynh
c1ec3efdad More styling tweaks. Added link to sample data sets. Set project name whenever an upload file is picked
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1702 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-27 05:20:48 +00:00
David Huynh
687515a669 Made each bar in histogram a minimum of 2 pixels tall
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1701 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-27 04:14:33 +00:00
David Huynh
764558c48a In numeric bin index, count infinity values as errors
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1700 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-26 22:49:59 +00:00
David Huynh
8d422e2e54 Fixed Calendar vs. Date bug in time range facet
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1699 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-26 21:06:16 +00:00
David Huynh
dfa9c538c7 Minor style tweaks to facets
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1697 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-26 07:24:02 +00:00
David Huynh
8ccf9d1bf8 The judgment facet created after a recon operation is done should also show (blank) and (unreconciled) choices
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1696 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-26 04:57:02 +00:00
David Huynh
2a77e7bd8a Fixed bug in recon dialog: previously, manually specified type didn't get its id transmitted properly to the server
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1695 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-26 04:05:04 +00:00
David Huynh
8030595254 Broke the history extract dialog in last night check in
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1694 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-26 01:18:01 +00:00
David Huynh
d4969e02ee Fixed: Issue 167 in google-refine: 'No syntax error' is alarming
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1659 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 17:27:38 +00:00
David Huynh
a193f9acf7 Added Thad to Special Thanks section. Various minor styling and url tweaks.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1636 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 05:59:00 +00:00
David Huynh
88ff48d89a Fixed external docs URLs
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1635 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 05:36:48 +00:00
David Huynh
ad2a03a106 Styling tweaks to history extract dialog. Apply some heuristics to pasted operation json to fix common json problems, such as missing commas or extra commas
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1631 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 04:31:28 +00:00
David Huynh
e601ad8d40 bug: autoMatch flag wasn't actually used before
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1627 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 01:41:07 +00:00
David Huynh
d6b1455fb2 Added help documentation links
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1626 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 01:35:00 +00:00
David Huynh
2d9e7c87f6 Increased recon batch size to 10 again. Various style tweaks. Polished up freebase extension's dialogs to be a bit more helpful
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1625 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-25 01:07:25 +00:00
James Home
424501ba0e UI tweaks to menu text
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1624 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-23 01:21:13 +00:00
James Home
cbb73b17be more facet tweaks, menu case tweaks
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1622 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-22 23:32:37 +00:00
David Huynh
bc4de76ec5 Minor styling tweaks to cells judged as new topics.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1619 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-22 07:35:27 +00:00
David Huynh
345c1c62ac Added new recon commands:
- clear recon data for all matching rows
- clear recon data for one cell
- clear recon data for similar cells
- copy recon judgments across columns

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1618 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-22 07:25:27 +00:00
James Home
91797339e0 UI improvements to facetting, star and flags
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1617 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-22 01:43:56 +00:00
David Huynh
47381ce485 Unified capitalization scheme for menu items' labels
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1615 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-21 18:02:12 +00:00
James Home
3fbefac8e1 UI fixes to table controls, matching dialogs and edit dialogs
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1614 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-20 23:43:37 +00:00
David Huynh
5a17acfd70 Prepended license text to java source
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1613 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-20 20:45:52 +00:00
David Huynh
9a96d2b8f0 Added license text to .js, .css, .less, and main .vt and .html pages
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1612 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-20 18:11:15 +00:00
David Huynh
9b8206da29 Fixed new bug for query-based reconciliation introduced by factoring out the freebase extension
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1611 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-20 04:52:35 +00:00
David Huynh
0e0c3ccea2 Added bottom padding to history so it clears the status bar of Chrome
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1610 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-20 04:52:05 +00:00
James Home
19878490f1 improved/simplified notifications, improved undo/redo
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1609 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-19 05:46:48 +00:00
David Huynh
69b7d34e09 Reduce filtered out history items' heights rather than hiding them entirely
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1606 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 20:05:58 +00:00
David Huynh
83e94d240c Changed history panel's design to mimic Adobe Photoshop's history
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1605 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 19:47:36 +00:00
David Huynh
a28b6fe21e Made sure suggest widgets automatically clean up their stuff when they get removed.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1604 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 17:44:42 +00:00
Tom Morris
05d8180016 Disable failing test until it can be debugged
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1602 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 05:52:11 +00:00
Tom Morris
7dcd0c073d Revert bad commit r1600
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1601 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 05:19:05 +00:00
Tom Morris
79c00bab36 Incomplete - task 157: Integrate Google Spreadsheet import/export plugin
http://code.google.com/p/google-refine/issues/detail?id=157

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1600 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 04:59:39 +00:00
David Huynh
e7184ec9ab Deleted old empty protograph dirs. Use a default assign version even if running from trunk; this is so that we have at least some clue about an imported project file.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1598 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 04:18:09 +00:00
David Huynh
8b8e9f1c1b Made some dialogs shorter to fit smaller screens
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1594 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 02:33:52 +00:00
David Huynh
2fc0374f79 Made data table view's All menu extensible. Added more common transforms. Touched up on a few menus.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1593 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 01:53:23 +00:00
David Huynh
a5c6a3af34 Support ESC key to dismiss menus and dialogs (which required jquery eventstack plugin).
Updated binding names in project.vt so that the bound HTML elements are distinguished from the JS objects that manage them (e.g., summarBarDiv vs summaryBar).

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1591 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 01:07:35 +00:00
David Huynh
5c54984c96 Css tweaks to make tabs' top corners squared in Firefox
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1590 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-18 00:04:01 +00:00
David Huynh
02857122c0 Added 'Create project' message to history panel as another hint for understanding the history.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1589 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-17 23:55:17 +00:00
David Huynh
c8dcc10ab8 Be sure to use UTF-8 when saving data.txt, pool.txt, and change files.
Fix issue 163: Refine doesn't retain the characters for flat or sharp.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1588 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-17 23:43:02 +00:00
David Huynh
a9a3944cbf Upgraded to suggest 1.2.1.
Fixed issue 160: Cancel button on Search for Match dialog sometimes not working.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1587 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-17 20:49:54 +00:00
David Huynh
7a6d53783b Factored out some HTML from history-panel.js.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1586 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-17 06:54:27 +00:00
David Huynh
ac04675f5e Renamed HistoryWidget to HistoryPanel, ProcessWidget to ProcessPanel, SummaryWidget to SummaryBar, and renamed and moved their files accordingly.
Added quick filter support to history panel.


git-svn-id: http://google-refine.googlecode.com/svn/trunk@1585 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-17 06:23:58 +00:00
David Huynh
7f48b3a692 Added padding to "working" popup.
Use background colors to explain undo/redo better, hopefully.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1584 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-17 05:30:03 +00:00
David Huynh
d99abaa52b Added 'browse workspace directory' link to index.vt.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1582 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 19:12:26 +00:00
David Huynh
3b57c84175 Removed borders from tab panel bodies in schema alignment skeleton. Render operation index in history widget so user can refer to each operation.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1581 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 18:36:35 +00:00
David Huynh
6da68b37ef Added class 'button' to buttons.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1580 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 06:43:01 +00:00
David Huynh
c451b2ded5 Re-laid out 'cell search for match' dialog so buttons wouldn't be obscured by suggest dropdown. Also added 'new' button. Made sure history widget is always scrolled to the 'done upto here' bar.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1579 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 06:21:00 +00:00
David Huynh
a62638e88d For each recon group, try at least 3 times if the service keeps failing. Log errors more for debugging purposes.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1578 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 00:19:31 +00:00
Stefano Mazzocchi
f50880905e fixed warnings
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1577 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-16 00:01:42 +00:00
Tom Morris
80c1e5ac97 Convert mixed Java/Javascript projects to faceted form so we can support both languages in Eclipse
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1576 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 21:42:49 +00:00
David Huynh
f504a59eb1 Removed left, right, bottom borders to sidebar tab panels to streamline them a bit.
Moved extract, apply links of history widget to the top and made them into buttons. And always show them even if there's no operation.
Minor tweaks to history entries' visual.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1571 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 18:43:17 +00:00
Tom Morris
c8bb6a3475 Fix failing template exporter test. Disable HTML exporter no column headers test (unimplemented)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1570 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 18:07:17 +00:00
Tom Morris
47dd5f8da6 Make sure the stream/writer is flushed in case the exporter forgets to do it
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1569 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 17:10:37 +00:00
Tom Morris
aba75a9b4a Add a couple more tests
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1568 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 17:10:07 +00:00
Tom Morris
87b6d940b7 Some very basic tests for exporters with no test coverage
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1567 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 15:50:25 +00:00
Tom Morris
0041863a13 Placeholder (failing) tests for exporters with no test coverage
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1566 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 13:27:44 +00:00
Tom Morris
bbebb4d2dc Add @Overrides so we get warned about API changes
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1565 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 13:26:25 +00:00
David Huynh
4859b7eb4e Firefox doesn't understand a pixel offset and a positional keyword used together to position a background image. So we use a separate element to position the logo on the home page.
Prevent last modified dates for projects from wrapping.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1563 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 07:54:14 +00:00
James Home
6686a48804 various improvements to data table and reconciliation indicators
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1561 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 06:42:24 +00:00
David Huynh
c5ba025bad Removing facets individually should also show the help message if there is no more facet.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1560 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 06:40:23 +00:00
David Huynh
7e9df21b70 Exporters need to implement either WriterExporter or StreamExporter.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1558 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 06:18:20 +00:00
David Huynh
73042712ed Made csv/tsv importer not trim whitespace even if "guess cells' types" is checked (for cells that are strings).
Updated csv tests to expect un-trimmed cells.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1557 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 05:30:15 +00:00
David Huynh
35def004ac Made expression bars inside facets highlight on hover to suggest they are editable.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1556 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 05:17:07 +00:00
David Huynh
1066169c05 When a new facet is added, make sure to switch to the Filter / Facet tab in the sidebar.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1555 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 05:10:05 +00:00
David Huynh
855dec26e5 Adjusted sidebar's and view panel's resizing code to pixel-precision.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1554 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 04:53:05 +00:00
David Huynh
15e715dce4 When "change" is clicked in a facet, and the expression bar is opened, then it should automatically open the dialog box to edit the expression.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1553 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 04:23:46 +00:00
James Home
fdc6fee052 dialog styles, first round of improvements to facets, data table, menus
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1552 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 02:23:22 +00:00
David Huynh
9e35ea3775 Better error message for numeric range facet if there's no numeric value.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1551 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-15 01:00:51 +00:00
James Home
f254740b11 refactor css, sidebar help UX, data table UX
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1549 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 23:31:27 +00:00
Tom Morris
083abd4329 Refactor exporter interface along same lines as importer
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1547 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 21:33:50 +00:00
Tom Morris
9858849198 Reexport some libs that are useful for extensions. Should really be independent, but fewer duplicate libs this way.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1546 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 21:32:06 +00:00
Tom Morris
495b3b6ec3 Rename gdata and sample extensions to drop the -extension suffix
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1544 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 21:12:44 +00:00
James Home
5719309a22 tightened project list type, deleted unused images
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1543 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 20:37:33 +00:00
James Home
5ab02f5a77 ui improvements: data-table-view header
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1540 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 20:24:05 +00:00
David Huynh
9542c1f254 Converted list facet's "sorted by name/count" from radio buttons to links.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1537 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 19:23:21 +00:00
David Huynh
f7222f70f7 Converted "Show as rows/records" from radio buttons to links.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1534 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 18:31:34 +00:00
James Home
d6015f783c first round of UI improvements:
- new front page
- new header
- improved about and preference pages
- new project tabs and header
- new buttons
- new logos



git-svn-id: http://google-refine.googlecode.com/svn/trunk@1533 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 17:39:41 +00:00
David Huynh
4ccdbc8716 Fixed bug in which a newly created and unedited project would never get saved because it had the same modified time and last save time.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1530 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-14 01:43:26 +00:00
David Huynh
dc49047092 We have previously changed the standard-reconcile acre app to return mids, but we still need to make sure its metadata says that its identifier space is mid, not id. And we need Refine to test for the mid identifier space as well.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1479 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-13 18:33:27 +00:00
Tom Morris
6e71e1ba76 Fix redirect & owner website. Obsoleted by David's commit, but just in case...
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1476 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-13 14:46:51 +00:00
David Huynh
a16df8f2d6 For unrecoverable projects, rename them with a suffix so the next time we won't try to recover them again.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1472 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-13 07:05:34 +00:00
David Huynh
91ffe71d17 Lowering recon batch size from 7 to 3 to avoid timeout problem. This is a temporary fix only for
Issue 156: Reconcile is not picking up alias hints or even type hints correctly

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1470 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-13 05:03:49 +00:00
David Huynh
208152b55c Added .vt template for reporting errors with stacktraces.
Fixed Issue 155: Blank browser shown when non-GZIP format is detected during import

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1469 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-13 04:51:01 +00:00
David Huynh
7cd5a47fbf We haven't been using non-split row parser, so we need to fix the trimming problem in the tsv/csv importer instead.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1467 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-12 23:24:16 +00:00
Stefano Mazzocchi
facecaa35d use png 24 to reduce the grainyness of the 16px favicon (by Heather)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1466 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-12 23:15:18 +00:00
David Huynh
2d276fa1e6 Non split row parser shouldn't trim lines because whitespaces are significant
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1465 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-12 22:45:30 +00:00
David Huynh
69c338c728 Text filter was throwing an exception if the column went away (which happened when the column got split).
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1464 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-11 23:15:13 +00:00
David Huynh
336a773069 Only try to create the workspace dir if it doesn't exist.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1463 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-11 23:04:06 +00:00
Tom Morris
c42c78dc0a Log errors if things don't go as expected
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1462 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-11 22:28:22 +00:00
Iain Sproat
142591a090 Added a mention of the new JsonImporter to CHANGES.txt
Corrected the logger name in JsonImporter.java

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1455 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-08 07:58:59 +00:00
David Huynh
ad0d227ab3 Remove remaining Freebase related functionalities.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1453 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-08 02:04:47 +00:00
David Huynh
6ddd945a80 The Freebase functionalities have been extracted out in the last commit. We're removing them from the core module now. This is not a complete checkin. SVN is having some trouble with some directories.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1452 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-08 01:54:00 +00:00
Tom Morris
5040b06d9f Make exceptions more specific for load errors. Still no error returned to user though (just hangs)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1450 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-07 14:20:28 +00:00
Tom Morris
ea28784e8b Don't save null project if load failed
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1449 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-07 14:19:42 +00:00
Stefano Mazzocchi
215165ed97 spell out tweezer parameters
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1444 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-07 08:20:46 +00:00
David Huynh
9ea477c80d Allowed a single operation class to be registered under several names, so that we can rename operations (to better names) while maintaining backward compatibility.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1443 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-07 05:42:01 +00:00
David Huynh
1de5e7c00e Renamed package gel to grel.
Replaced gel with grel in other places in the code base while maintaining backward compatibility.
Changed layout in expression preview dialog to accommodate long GREL name.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1442 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-07 05:19:35 +00:00
Stefano Mazzocchi
527067a9a3 trailing slash breaks everything
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1441 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-07 00:14:43 +00:00
Stefano Mazzocchi
4ba1538366 removing gridworks watermark from the front page and fixed a broken link
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1440 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-06 23:24:28 +00:00
David Huynh
90d1111ebc Added "project" argument to OverlayModel methods, as suggested by Fadi Maali.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1439 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-06 20:47:11 +00:00
David Huynh
76115a4edd Added summary widget to show the row or record counts.
Moved browsing mode toggles from browsing panel to view panel.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1435 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-06 19:15:29 +00:00
Stefano Mazzocchi
bf3335a0ba favicon as well
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1428 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-04 23:39:58 +00:00
David Huynh
3ba8e63249 Register Json importer.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1426 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-04 18:53:41 +00:00
Iain Sproat
d977f42f51 Changed behaviour of the XmlImporter to make it more permissive, and allow arrays within mixed elements to be used as candidates for importing to Refine.
This change has also allowed the JsonImporter to pass all its unit tests without any further modification.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1425 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-04 18:33:59 +00:00
Iain Sproat
ec0581e3a9 Added two additional unit tests for ensuring the XmlImporter is behaving correctly.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1424 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-04 17:32:27 +00:00
Iain Sproat
8d51223610 An additional unit test for the JsonImporter, which it unfortunately fails.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1423 7d457c2a-affb-35e4-300a-418c747d4874
2010-10-04 15:19:29 +00:00
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