Skip to content

Commit d84ef26

Browse files
Merge pull request #156 from redbearsam/feature/parameter_names
Feature/parameter names
2 parents ec08bd5 + 2773b18 commit d84ef26

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+796
-547
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ matrix:
1717

1818
- python: "3.6"
1919
language: python
20-
env: TEST=PYTHON
20+
env: TEST=PYTHON_TABLE
2121
cache: pip
2222
services: docker
2323

@@ -44,8 +44,8 @@ script:
4444
- if [ "$TEST" = "WASM" ]; then PSP_DOCKER=1 yarn test --quiet; fi
4545
- if [ "$TEST" = "CPP" ]; then PSP_DOCKER=1 yarn build_cpp; fi
4646
- if [ "$TEST" = "CPP" ]; then PSP_DOCKER=1 yarn test_cpp; fi
47-
- if [ "$TEST" = "PYTHON" ]; then PSP_DOCKER=1 yarn build_python; fi
48-
- if [ "$TEST" = "PYTHON" ]; then PSP_DOCKER=1 yarn lint_python; fi
49-
- if [ "$TEST" = "PYTHON" ]; then PSP_DOCKER=1 yarn test_python; fi
47+
- if [ "$TEST" = "PYTHON_TABLE" ]; then PSP_DOCKER=1 yarn build_python:table; fi
48+
- if [ "$TEST" = "PYTHON_TABLE" ]; then PSP_DOCKER=1 yarn lint_python:table; fi
49+
- if [ "$TEST" = "PYTHON_TABLE" ]; then PSP_DOCKER=1 yarn test_python:table; fi
5050
- if [ "$TEST" = "CPP_OSX" ]; then yarn build_cpp; fi
5151
- if [ "$TEST" = "CPP_OSX" ]; then yarn test_cpp; fi

CHANGELOG.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,39 @@
11
# Changelog
22

3+
# [0.2.21] - 2019-04-03
4+
### Added
5+
* [#488](https://github.com/jpmorganchase/perspective/pull/488) Candlestick and OHLC charts for `perspective-viewer-d3fc`.
6+
* [#479](https://github.com/jpmorganchase/perspective/pull/479) Added zooming, label rotation and new scatter types to `perspective-viewer-d3fc`.
7+
* [#498](https://github.com/jpmorganchase/perspective/pull/498) Bollinger bands, moving averages, draggable legends for `perspective-viewer-d3fc`.
8+
* [#489](https://github.com/jpmorganchase/perspective/pull/489) Header sort indicator for `perspective-viewer-hypergrid`.
9+
* [#506](https://github.com/jpmorganchase/perspective/pull/506) Header click-to-sort for `perspective-viewer-hypergrid`, improved scroll performance.
10+
* [#516](https://github.com/jpmorganchase/perspective/pull/516) New `perspective-cli` package for convenient Perspective operations from the command line.
11+
* [#483](https://github.com/jpmorganchase/perspective/pull/483) Performance improvement for `perspective.to_*` methods.
12+
* [#485](https://github.com/jpmorganchase/perspective/pull/485) Added window support to `to_arrow()` method.
13+
* [#486](https://github.com/jpmorganchase/perspective/pull/486) Disabled delta calculation for `on_update` method by default, improving update performance.
14+
* [#503](https://github.com/jpmorganchase/perspective/pull/503) Added `get_config()` API to `perspective.table`.
15+
* [#512](https://github.com/jpmorganchase/perspective/pull/512) Column context labels are now configurable via the plugin API.
16+
17+
### Fixes
18+
* [#478](https://github.com/jpmorganchase/perspective/pull/478) Fixed broken filtering on `date` type columns.
19+
* [#486](https://github.com/jpmorganchase/perspective/pull/486) Fixed un-pivoted `view.to_schema()` method to only show visible columns.
20+
* [#490](https://github.com/jpmorganchase/perspective/pull/490) Fixed bug which removed filter columns when dragged from active columns list.
21+
* [#491](https://github.com/jpmorganchase/perspective/pull/491) Fixed `perspective-webpack-plugin` load_path issue when `perspective-*` modules are not at the top-level of `node_modules`.
22+
* [#493](https://github.com/jpmorganchase/perspective/pull/493) Fixed `sum abs` aggregate type.
23+
* [#501](https://github.com/jpmorganchase/perspective/pull/501) Fixed pivot on categories containing nulls bug.
24+
* [#502](https://github.com/jpmorganchase/perspective/pull/502) Fixed expand/collapse on 2-sided contexts bug.
25+
26+
### Internal
27+
* [#497](https://github.com/jpmorganchase/perspective/pull/497) Added local puppeteer mode for testing.
28+
329
## [0.2.20] - 2019-03-07
430
### Added
531
* [#463](https://github.com/jpmorganchase/perspective/pull/463) D3FC plugin features Area and Heatmap charts, hierarchial axes have been added to all chart types, as well as a host of additioanl improvements.
632
* [#473](https://github.com/jpmorganchase/perspective/pull/473) Performance improvement to `to_*()` output methods.
733
* [#469](https://github.com/jpmorganchase/perspective/pull/469) `open()` in the node.js API now takes a `table()` argument so it may be retained in the invoking code.
834
* [#475](https://github.com/jpmorganchase/perspective/pull/475) Added `not in` filter type to `<perspective-viewer>`.
935

10-
### Fixed
36+
### Fixes
1137
* [#470](https://github.com/jpmorganchase/perspective/pull/470) Fixed Jupyterlab extension dist
1238
* [#471](https://github.com/jpmorganchase/perspective/pull/471) Fixed CSV parse issue when converting `integer` to `string` via schema.
1339

cpp/perspective/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ elseif(PSP_CPP_BUILD OR PSP_PYTHON_BUILD)
235235
# PYTHON BINDINGS BUILD #
236236
#########################
237237
include_directories("/usr/local/include/python3.7m") # FIXME
238-
include_directories("${CMAKE_SOURCE_DIR}/../../python/perspective/include")
238+
include_directories("${CMAKE_SOURCE_DIR}/../../python/table/perspective/include")
239239
find_package( PythonInterp 3.7 REQUIRED )
240240
find_package( PythonLibs 3.7 REQUIRED )
241241
include_directories( ${PYTHON_INCLUDE_DIRS} )
@@ -382,14 +382,14 @@ elseif(PSP_CPP_BUILD OR PSP_PYTHON_BUILD)
382382
########################
383383
# Python extra targets #
384384
########################
385-
add_library(psp SHARED ${SOURCE_FILES} ${CMAKE_SOURCE_DIR}/../../python/perspective/src/numpy.cpp ${HEADER_FILES})
385+
add_library(psp SHARED ${SOURCE_FILES} ${CMAKE_SOURCE_DIR}/../../python/table/perspective/src/numpy.cpp ${HEADER_FILES})
386386
target_compile_definitions(psp PRIVATE PSP_ENABLE_PYTHON=1)
387387
target_link_libraries(psp ${BOOST_PYTHON})
388388
target_link_libraries(psp ${BOOST_NUMPY})
389389
target_link_libraries(psp ${Boost_LIBRARIES} ${PYTHON_LIBRARIES})
390390
set(CMAKE_SHARED_LIBRARY_SUFFIX .so)
391391

392-
add_library(binding SHARED ${CMAKE_SOURCE_DIR}/../../python/perspective/src/python.cpp)
392+
add_library(binding SHARED ${CMAKE_SOURCE_DIR}/../../python/table/perspective/src/python.cpp)
393393
target_compile_definitions(binding PRIVATE PSP_ENABLE_PYTHON=1)
394394
target_link_libraries(binding psp)
395395
target_link_libraries(binding tbb)

cpp/perspective/src/cpp/emscripten.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,8 +1999,6 @@ using namespace perspective::binding;
19991999
*/
20002000
int
20012001
main(int argc, char** argv) {
2002-
std::cout << "Perspective initialized successfully" << std::endl;
2003-
20042002
// clang-format off
20052003
EM_ASM({
20062004

examples/cli/README.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

examples/cli/index.css

Lines changed: 0 additions & 31 deletions
This file was deleted.

examples/cli/package.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

examples/cli/server.js

Lines changed: 0 additions & 62 deletions
This file was deleted.

examples/git_history/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"name": "git-history",
33
"private": true,
4-
"version": "0.2.20",
4+
"version": "0.2.21",
55
"description": "An example of Perspective's own GIT history rendered in Perspective.",
66
"scripts": {
77
"start": "node server.js"
88
},
99
"keywords": [],
1010
"license": "Apache-2.0",
1111
"dependencies": {
12-
"@jpmorganchase/perspective": "^0.2.20",
13-
"@jpmorganchase/perspective-viewer": "^0.2.20",
14-
"@jpmorganchase/perspective-viewer-highcharts": "^0.2.20",
15-
"@jpmorganchase/perspective-viewer-hypergrid": "^0.2.20"
12+
"@jpmorganchase/perspective": "^0.2.21",
13+
"@jpmorganchase/perspective-viewer": "^0.2.21",
14+
"@jpmorganchase/perspective-viewer-highcharts": "^0.2.21",
15+
"@jpmorganchase/perspective-viewer-hypergrid": "^0.2.21"
1616
}
1717
}

examples/simple/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"name": "simple",
33
"private": true,
4-
"version": "0.2.20",
4+
"version": "0.2.21",
55
"description": "A collection of simple client-side Perspective examples.",
66
"scripts": {
77
"start": "node server.js"
88
},
99
"keywords": [],
1010
"license": "Apache-2.0",
1111
"dependencies": {
12-
"@jpmorganchase/perspective": "^0.2.20",
13-
"@jpmorganchase/perspective-viewer": "^0.2.20",
14-
"@jpmorganchase/perspective-viewer-highcharts": "^0.2.20",
15-
"@jpmorganchase/perspective-viewer-hypergrid": "^0.2.20"
12+
"@jpmorganchase/perspective": "^0.2.21",
13+
"@jpmorganchase/perspective-viewer": "^0.2.21",
14+
"@jpmorganchase/perspective-viewer-highcharts": "^0.2.21",
15+
"@jpmorganchase/perspective-viewer-hypergrid": "^0.2.21"
1616
}
1717
}

0 commit comments

Comments
 (0)