Skip to content

Commit

Permalink
Removed MIT license. Added copyright to all files.
Browse files Browse the repository at this point in the history
  • Loading branch information
tvst committed Nov 2, 2018
1 parent 511c1f6 commit e1af247
Show file tree
Hide file tree
Showing 86 changed files with 304 additions and 31 deletions.
8 changes: 1 addition & 7 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
Copyright 2018 Adrien Treuille

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright 2018 Streamlit Inc. All rights reserved.
5 changes: 5 additions & 0 deletions frontend/public/fonts/fonts.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

/* Mono */

@font-face
Expand Down
1 change: 1 addition & 0 deletions frontend/public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!DOCTYPE html>
<!-- Copyright 2018 Streamlit Inc. All rights reserved -->
<html lang="en">
<head>
<meta charset="utf-8">
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/App.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/ConnectionState.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

export const ConnectionState = {
CONNECTED: 'connected',
DISCONNECTED: 'disconnected',
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/ConnectionStatus.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

#ConnectionStatus {
display: flex;
align-items: center;
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/ConnectionStatus.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Implements a persistent websocket connection.
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*
* @fileoverview Implements a persistent websocket connection.
* Displays itself as an icon indicating the connection type.
*/

Expand Down
5 changes: 5 additions & 0 deletions frontend/src/MainMenu.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

#MainMenuButton {
height: 2.5rem;
width: 2.5rem;
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/MainMenu.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Implements a persistent websocket connection.
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*
* @fileoverview Implements a persistent websocket connection.
* Displays itself as an icon indicating the connection type.
*/

Expand Down
5 changes: 5 additions & 0 deletions frontend/src/PersistentWebsocket.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

#websocket-icon {
fill: #101620;
}
5 changes: 4 additions & 1 deletion frontend/src/PersistentWebsocket.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Implements a persistent websocket connection.
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*
* @fileoverview Implements a persistent websocket connection.
* Displays itself as an icon indicating the connection type.
*/

Expand Down
5 changes: 4 additions & 1 deletion frontend/src/SettingsDialog.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Implements a dialog that is used to configure user settings.
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*
* @fileoverview Implements a dialog that is used to configure user settings.
*/

import React, {PureComponent} from 'react';
Expand Down
9 changes: 6 additions & 3 deletions frontend/src/StaticConnection.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
/**
* This class is the "brother" of WebsocketConnection. The class implements
* loading deltas over an HTTP connection (as opposed to with websockets).
* Like WebsocketConnection it also implements:
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*
* @fileoverview This class is the "brother" of WebsocketConnection. The class
* implements loading deltas over an HTTP connection (as opposed to with
* websockets). Like WebsocketConnection it also implements:
*
* get_status() - returns information to display status in the GUI
* connected_to_proxy() - always returns false
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/StreamlitDialog.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

.streamlit-upload-first-line {
margin-bottom: 0.5rem;
}
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/StreamlitDialog.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

import React from 'react';

import {
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/WebClient.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

/**
* Palette:
* - Black: #101620
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/WebClient.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

/*jshint loopfunc:false */

import React, { PureComponent } from 'react';
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/WebsocketConnection.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Implements a websocket connection over which we can send and receive
* Google protocol buffers. It guarnatees message arrival order.
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

import {ForwardMsg, BackMsg} from './protobuf';
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/baseconsts.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

/**
* Port used to connect to the prod proxy server.
*/
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/dataFrameProto.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

/**
* Utilities to get information out of a protobuf.DataFrame.
*/
Expand Down
Empty file removed frontend/src/elements/Audio.css
Empty file.
5 changes: 5 additions & 0 deletions frontend/src/elements/Audio.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

import React, { PureComponent } from 'react';
import { Alert } from 'reactstrap';

Expand Down
5 changes: 5 additions & 0 deletions frontend/src/elements/Balloons.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

.balloons > .balloon {
position: fixed;
bottom: 0;
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/elements/Balloons.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

import React, { PureComponent } from 'react';
import { Balloons as BalloonsProto } from '../protobuf';
import './Balloons.css';
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/elements/Chart.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

.recharts-wrapper {
font-size: 0.8rem;
}
5 changes: 5 additions & 0 deletions frontend/src/elements/Chart.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

import React, { PureComponent } from 'react';
import { Alert } from 'reactstrap';
import { tableGetRowsAndCols, indexGet, tableGet, INDEX_COLUMN_DESIGNATOR } from '../dataFrameProto';
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/elements/DataFrame.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

.streamlit-container .dataframe {
font-size: 0.8rem;
font-family: 'IBM Plex Mono', monospace;
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/elements/DataFrame.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Component display a Pandas Dataframe.
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*
* @fileoverview Component display a Pandas Dataframe.
*/

import React, { PureComponent } from 'react';
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/elements/DeckGlChart.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

.deckglchart {
position: relative;
}
5 changes: 5 additions & 0 deletions frontend/src/elements/DeckGlChart.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import DeckGL, {
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/elements/DocString.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

.streamlit-container .doc-containter {
background-color: #F0F3F9;
padding: 0.5rem 1rem;
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/elements/DocString.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Represents formatted text.
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*
* @fileoverview Represents formatted text.
*/

import React, { PureComponent} from 'react';
Expand Down
12 changes: 4 additions & 8 deletions frontend/src/elements/ExceptionElement.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
.streamlit-container .exception {
/* height: 400px; */
/* background-color: #F0F3F9;
padding: 0.5rem 1rem;*/
}
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

.streamlit-container .exception .message {
/* padding-bottom: 0.5rem; */
margin-bottom: 0.5rem;
/* border-bottom: 1px solid #E6E9EF; */
/* font-weight: bold; */
}

.streamlit-container .exception .stack-trace {
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/elements/ExceptionElement.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Displays a Python Exception in the Report.
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*
* @fileoverview Displays a Python Exception in the Report.
*/

import React, { PureComponent} from 'react';
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/elements/ImageList.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

.streamlit-container .image-container {
display: inline-block;
margin-right: 10px;
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/elements/ImageList.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

import React, { PureComponent } from 'react';
import { Alert } from 'reactstrap';

Expand Down
5 changes: 4 additions & 1 deletion frontend/src/elements/Map.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Displays a Python Exception in the Report.
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*
* @fileoverview Displays a Python Exception in the Report.
*/

import React, { PureComponent} from 'react';
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/elements/Table.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

.streamlit-container .streamlit-table {
font-size: 0.8rem;
font-family: 'IBM Plex Mono', monospace;
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/elements/Table.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Component display a Pandas Dataframe.
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*
* @fileoverview Component display a Pandas Dataframe.
*/

import React, { PureComponent } from 'react';
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/elements/Text.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

.streamlit-container .fixed-width {
font-family: 'IBM Plex Mono', monospace;
white-space: pre;
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/elements/Text.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* Represents formatted text.
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*
* @fileoverview Represents formatted text.
*/

import React, { PureComponent} from 'react';
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/elements/VegaLiteChart.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

#vg-tooltip-element td {
border: none;
}
5 changes: 5 additions & 0 deletions frontend/src/elements/VegaLiteChart.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @license
* Copyright 2018 Streamlit Inc. All rights reserved.
*/

import React, { Component } from 'react';
import { Alert } from 'reactstrap';
import { tableGetRowsAndCols, indexGet, tableGet } from '../dataFrameProto';
Expand Down
Empty file removed frontend/src/elements/Video.css
Empty file.
Loading

0 comments on commit e1af247

Please sign in to comment.