Commit Graph

1069 Commits

Author SHA1 Message Date
Stefano Mazzocchi
1313c2798a missing stuff
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@913 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-30 17:18:11 +00:00
Stefano Mazzocchi
301dd4deb3 adding eclipse project files and changing the build system
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@912 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-30 17:13:37 +00:00
Stefano Mazzocchi
01ea2043f8 moving the IDE stuff in the right place
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@911 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-30 17:07:20 +00:00
Stefano Mazzocchi
7f68a781d7 no longer used
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@910 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-30 17:03:43 +00:00
Stefano Mazzocchi
8e748fdc7a second batch of libraries
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@909 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-30 17:01:39 +00:00
Stefano Mazzocchi
726d90d871 moving first batch of libraries
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@908 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-30 17:00:35 +00:00
Stefano Mazzocchi
8369961b9e renaming tests
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@907 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-30 16:56:53 +00:00
Stefano Mazzocchi
aa4de48f95 some renaming, moving tests into main
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@906 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-30 16:55:53 +00:00
Stefano Mazzocchi
365868564f create 'main' and 'server'
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@905 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-30 16:52:50 +00:00
Stefano Mazzocchi
dd8699614e first batch of moves
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@904 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-30 16:49:05 +00:00
Stefano Mazzocchi
488f900dab creating the 'split-refactor' branch from the 1.1 tag line
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@903 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-30 16:44:43 +00:00
Iain Sproat
ecca18f5ae XmlImporter and XmlImporterUtilities have further unit tests. 1 test (for Issue 61) still broken.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@902 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-29 19:39:07 +00:00
Iain Sproat
c21c472434 Correcting error introduced - column headers are now printed on exporting to CSV.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@901 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-29 04:56:27 +00:00
Stefano Mazzocchi
27a8e8db6e more reasonable starting point although this code is screwed and needs serious work
git-svn-id: http://google-refine.googlecode.com/svn/trunk@900 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-29 04:52:37 +00:00
Stefano Mazzocchi
07b1665749 avoid removing log4j that's not there anymore
git-svn-id: http://google-refine.googlecode.com/svn/trunk@899 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-29 04:52:24 +00:00
Stefano Mazzocchi
ded5981357 no idea what happened here but this folder disappeared, so I'm adding it again
git-svn-id: http://google-refine.googlecode.com/svn/trunk@889 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-29 00:03:09 +00:00
Stefano Mazzocchi
73da25732f adding ignores and moving .settings into the right place
git-svn-id: http://google-refine.googlecode.com/svn/trunk@888 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-28 23:59:34 +00:00
Stefano Mazzocchi
9b3848380d removing more classes
git-svn-id: http://google-refine.googlecode.com/svn/trunk@887 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-28 23:52:16 +00:00
Stefano Mazzocchi
0a8e42aee0 removing classes
git-svn-id: http://google-refine.googlecode.com/svn/trunk@886 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-28 23:51:27 +00:00
Stefano Mazzocchi
38cfe84337 remove empty dirs left over
git-svn-id: http://google-refine.googlecode.com/svn/trunk@885 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-28 23:50:40 +00:00
Stefano Mazzocchi
310d08fd91 hard rename
git-svn-id: http://google-refine.googlecode.com/svn/trunk@884 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-28 23:48:08 +00:00
Stefano Mazzocchi
2c8595098c Major refactor to separate the webapp part from the embedded servlet engine part
git-svn-id: http://google-refine.googlecode.com/svn/trunk@883 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-28 23:19:08 +00:00
David Huynh
d7aef8a5a5 Release 1.1.
git-svn-id: http://google-refine.googlecode.com/svn/tags/1.1@878 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-27 23:36:14 +00:00
David Huynh
ce570016d7 Updating CHANGES.txt for 1.1 release.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@877 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-27 23:31:51 +00:00
David Huynh
0f78b6a793 Bump dmg size up.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@876 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-27 23:29:32 +00:00
David Huynh
2f398cfeb3 Tabs to spaces.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@874 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-27 21:22:27 +00:00
Iain Sproat
6409f1531c Re-adding guessValueType feature which was mistakenly removed in r797.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@873 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-27 21:18:27 +00:00
David Huynh
b4c4c4308c Minor fix.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@872 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-27 21:08:56 +00:00
David Huynh
f9a0c51285 Added stemmed=1 to relevance calls.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@870 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-27 18:40:18 +00:00
David Huynh
98e1873272 - Fix: Protograph link UI was showing 2 different popups when the link was clicked.
- Fix: Protograph link UI's suggested compound properties were only rendered with the first segments. Now both segments are shown, and their names are shown, with their IDs as tooltips.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@867 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-27 05:14:40 +00:00
David Huynh
bf1fb5ebcd Schema skeleton dialog preview was broken by some previous checkin.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@866 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-27 05:06:47 +00:00
David Huynh
b026c90399 Fixed issue 62: It'd be nice if URIs were hyperlinked in the data cells
git-svn-id: http://google-refine.googlecode.com/svn/trunk@865 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-27 04:48:48 +00:00
Stefano Mazzocchi
b721401261 adding git ignore for those using git-svn
git-svn-id: http://google-refine.googlecode.com/svn/trunk@864 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-27 03:59:44 +00:00
David Huynh
89d26b3d8e Fixed Issue 30: Transform dialog should remember preferred language.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@863 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-27 01:13:11 +00:00
Iain Sproat
34cb1c4d07 XmlImporter is partially unit tested. One broken test for case where Record Elements contain varying numbers of nested elements. (This is for Issue 61 which is, at the time of this commit, an open issue)
XmlImportUtilities produces log for case when no RecordElementCandidate are found.  (too few similar Xml elements).

git-svn-id: http://google-refine.googlecode.com/svn/trunk@862 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-26 19:22:38 +00:00
Iain Sproat
1c47ff476b Refactor of CreateProjectCommand.java and Importers
The code for determining if an importer is suitable to import a file is now in each respective importer rather than in CreateProjectCommand.  There is an additional method, canImportData, on the Importer interface to support this.

CreateProjectCommand registers Importers from a Hashtable (this is a copy of Tom's code for registering commands in Gridworks Servlet).  Plugging in new importers should be simpler.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@861 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-26 13:18:48 +00:00
David Huynh
017a825600 Initial implementation of a templating exporter.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@860 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-26 05:42:31 +00:00
Iain Sproat
76cb65bfb8 Removed unnecessary files following refactor of TsvExporter and TsvCsvImporter.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@859 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-25 16:50:44 +00:00
Iain Sproat
2f3980f969 CsvExporter allows the separator character in its output to be modified.
ExportRowsCommand has replaced TsvExporter with CsvExporter with a tab character as the separator.
TsvExporterTests now tests CsvExporter with a tab character as the separator parameter.  All unit tests now work.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@858 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-25 16:39:25 +00:00
Iain Sproat
6779707399 CsvExporter uses columnIndex when accessing cells. Feature added to omit column header from first line of exported CSV. CsvExporterTests tests for this new feature.
The same unit test is available in TsvExporterTests.  Test is broken, and marked as such.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@857 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-25 16:00:03 +00:00
David Huynh
ffd6e265a9 Fixed issue 49: Add Edit Cells / Set Null.
Added support for "null" literal.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@855 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-24 23:49:18 +00:00
David Huynh
638eb4ac24 Added mqlwrite exporter.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@854 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-24 23:36:42 +00:00
David Huynh
d7f7d50e16 Fixed Issue 14: Limiting Freebase load to starred records
git-svn-id: http://google-refine.googlecode.com/svn/trunk@853 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-24 23:01:34 +00:00
Iain Sproat
3ac3feb01f opencsv-2.2.jar patched so that CsvWriter only selectively applies quotation marks around values when escape, line break, nested quotation marks or separator characters are encountered. Patch submitted to opencsv project as https://sourceforge.net/tracker/?func=detail&aid=3006635&group_id=148905&atid=773543
CsvExporter makes use of patched opencsv-2.2.jar. Quotation marks are only applied selectively.

CsvExporterTests fixed to correctly assign cellIndex when creating columns.

TsvExporterTests fixed to correctly assign cellIndex when creating columns.  Two broken tests now work.  Three tests are still marked as broken.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@851 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-24 22:01:37 +00:00
David Huynh
c6827fe242 Fixed issue 58: Meta facet
git-svn-id: http://google-refine.googlecode.com/svn/trunk@848 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-24 19:04:55 +00:00
Iain Sproat
433a047fb6 Added tests for TsvExporter - all are broken (may be the tests themselves, as they are copied from CsvExporterTests).
CsvExporter now closes writer.  CsvExporterTests includes test for a string with a comma.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@847 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-24 18:37:52 +00:00
David Huynh
38d5b3dbde Small refactoring: introduced RowEvaluable interface to abstract out the evaluation of an expression on a row.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@846 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-24 17:14:54 +00:00
Iain Sproat
015b5a92ae CsvExporter is linked to the UI, and should fully work. Unit Tests now assert that null cells can be handled by CsvExporter. CHANGES.txt is now updated to reflect Issue 59.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@845 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-24 12:36:35 +00:00
Iain Sproat
53e20da8f4 Issue 59 (part) - added CsvExporter and unit test to server side code. Not linked to UI.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@844 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-24 12:15:45 +00:00
David Huynh
ae1ce4ce79 Fixed issue 53: Moving the cursor inside the Text Filter box by clicking.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@843 7d457c2a-affb-35e4-300a-418c747d4874
2010-05-23 17:33:37 +00:00