Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notebook API #99

Merged
merged 125 commits into from
Feb 9, 2021
Merged
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
efdd09a
Create common module for build and main project, add new README stubs
ileasile Aug 26, 2020
f2571d6
Add first version of notebook API
ileasile Sep 2, 2020
fbb387d
Fix klaxon version and preprocessed code in API
ileasile Sep 3, 2020
2322f89
Add cell/notebook displays handling
ileasile Sep 3, 2020
149ae7f
Make small refactorings
ileasile Sep 4, 2020
a523362
Add Kotlin version to a README generation
ileasile Sep 8, 2020
40ee910
Fix post-rebase errors
ileasile Sep 18, 2020
da88c0c
Regenerate README
ileasile Oct 28, 2020
8ab48ff
Rename API methods according to review comments
ileasile Nov 2, 2020
554050f
Fix library processing
ileasile Nov 2, 2020
038ed62
Add ktlint integration for all subprojects
ileasile Nov 2, 2020
76de26d
Move compilation configuration to a separate artifact
ileasile Nov 4, 2020
fc27f14
Refactor build configuration
ileasile Nov 4, 2020
3d3d532
Refactor build script
ileasile Nov 4, 2020
cf8267e
Remove UnstableAPIUsage suppression
ileasile Nov 4, 2020
f5ff877
Add convenient class for providing library declarations
ileasile Nov 5, 2020
d1d21b3
Fix README mistakes
ileasile Nov 5, 2020
b2ad74b
Fix compilation warning
ileasile Nov 5, 2020
3970562
Migrate from Klaxon to kotlinx-serialization
ileasile Nov 11, 2020
7a51d03
Add aggregate upload tasks
ileasile Nov 19, 2020
571ee89
Expose scripting-common to notebook-api API
ileasile Nov 19, 2020
c0da893
Change file extension for snippets
ileasile Nov 22, 2020
75edb97
Do micro-refactoring
ileasile Nov 23, 2020
0767282
Do more enhancements and fixes
ileasile Nov 26, 2020
073910e
Add publishing plugin to avoid copy&paste
ileasile Dec 2, 2020
d1a1d26
Fix bintray upload
ileasile Dec 2, 2020
46ace24
Add workaround for dokka issue
ileasile Dec 2, 2020
02bdc5d
Fix typo in package name
ileasile Dec 2, 2020
aefb26a
Reduce packages size
ileasile Dec 2, 2020
ccf35ea
Add new test and fix warnings about temp files creation
ileasile Dec 2, 2020
741fbb2
Add generated maven artifacts to Teamcity artifacts
ileasile Dec 2, 2020
6ac4183
Add parsing of cell marker
ileasile Dec 3, 2020
11a9ead
Provide additional capabilities for plugin
ileasile Dec 3, 2020
a1b1c61
Refactor code preprocessing classes structure
ileasile Dec 3, 2020
6a6d3a7
Provide version in compiler artifact
ileasile Dec 3, 2020
7db031f
Publish jupyter-lib as a separate artifact
ileasile Dec 7, 2020
0179a73
Publish compiler artifact without embedded dependencies
ileasile Dec 8, 2020
e77a753
Apply ktlint experimental rules
ileasile Dec 9, 2020
4f5c80a
Remove compiler dependencies from compiler artifact which are incompa…
ileasile Dec 10, 2020
1108952
Fix ktlint check and refactor enums in the project
ileasile Dec 10, 2020
b6fb2b1
Fix variable name (minor)
ileasile Dec 10, 2020
2ef9857
Fix some minor interface things
ileasile Dec 10, 2020
352d7c9
Add support of multiple execute tests and counter test
ileasile Dec 10, 2020
59ead9b
Move DependsOn and Repository annotations to lib artifact
ileasile Dec 11, 2020
71d7b21
Fix style
ileasile Dec 11, 2020
ff25738
Update Kotlin version
ileasile Dec 12, 2020
0b98088
Add new lib to local publishing
ileasile Dec 15, 2020
cdce439
Refactor packages publishing
ileasile Dec 16, 2020
99db8d4
Add more info about published packages
ileasile Dec 16, 2020
44a6f85
Rename package and group id: org.jetbrains.kotlin -> org.jetbrains.ko…
ileasile Dec 17, 2020
9a0aa48
Process libraries from resolved classpath
ileasile Dec 21, 2020
ce610da
Add gradle plugin for libraries writers
ileasile Dec 22, 2020
b18d14c
Get rid of :api dependency and usage of Kotlin 1.4
ileasile Dec 22, 2020
d82a12c
Update dependency version for test
ileasile Dec 23, 2020
f84806e
Add type renderer accepting subtypes
ileasile Dec 23, 2020
9152fd4
Add a piece of API documentation
ileasile Dec 23, 2020
c092645
Add another piece of API documentation
ileasile Dec 24, 2020
9480e01
Precompile subtype renderer
ileasile Dec 25, 2020
a0cf3c6
Add another piece of API documentation
ileasile Dec 25, 2020
7cf9628
Fix javadoc publication
ileasile Dec 25, 2020
d34a370
Remove redundant logging
ileasile Dec 28, 2020
398253f
Add tests for API Gradle plugin
ileasile Dec 28, 2020
fdf4daa
Update lets-plot-dataframe.json
nikitinas Jan 4, 2021
362acdd
Add JupyterIntegration class with DSL for library integration
nikitinas Jan 4, 2021
c8bfc49
Regenerate README
ileasile Jan 4, 2021
3b00a1c
Fix formatting
ileasile Jan 4, 2021
9c47fb2
Merge code snippets generated for processed annotations into single s…
nikitinas Jan 5, 2021
d0458f4
Add basic implementation of JS resources processing
ileasile Jan 5, 2021
fcc6992
Update dataframe.json
nikitinas Jan 6, 2021
e91c33c
Use callbacks for handling new annotated class declarations via Jupyt…
nikitinas Jan 6, 2021
6288c82
Fix formatting
nikitinas Jan 6, 2021
41521c2
Fix bug in AnnotationsProcessorImpl
nikitinas Jan 6, 2021
9f2e509
Update dataframe.json
nikitinas Jan 6, 2021
e2ee3c8
Fix library resources support
ileasile Jan 11, 2021
1942788
Fix formatting
ileasile Jan 11, 2021
57d5d81
Isolate execution contexts for a chain of dependent executions.
nikitinas Jan 12, 2021
87334e2
Fix library processing after testing
ileasile Jan 12, 2021
d76def2
Add CSS resources processing
ileasile Jan 13, 2021
5d1f082
Fix and enable notebook-api-test test
ileasile Jan 13, 2021
bd513a7
Fix library resources bugs and add URL embedding
ileasile Jan 13, 2021
131bb16
Field declaration handling (former TypeProviders) in API
nikitinas Jan 13, 2021
5740b4d
Script template: Add overload for USE method with library definition …
nikitinas Jan 13, 2021
0fec0c6
Rename 'FieldName' to 'VariableName' type alias
nikitinas Jan 13, 2021
cc308a8
Add fallbacks support to resources processing
ileasile Jan 14, 2021
bd21401
Fix library resolution bug
ileasile Jan 14, 2021
57fdcd5
Remove LibraryFactory class
ileasile Jan 14, 2021
4da339e
Allow to use library local storage
ileasile Jan 15, 2021
48e0b74
Make small fixes in docs
ileasile Jan 15, 2021
c27ea0c
Do minor fix in subtype checking
ileasile Jan 16, 2021
0039945
Optimize imports in tests
ileasile Jan 16, 2021
5c1e4d5
Fix test
ileasile Jan 16, 2021
126308d
Add docs publishing
ileasile Jan 17, 2021
20c3efe
Add docs about library integration
ileasile Jan 18, 2021
8da8155
Update Gradle version to 6.8
ileasile Jan 18, 2021
7d48f9d
Update dataframe dependency and add test
ileasile Jan 18, 2021
6255aa4
Add 'buildSrc' folder to .gitignore
nikitinas Jan 19, 2021
8b0fb7a
Add compiler args configuration via annotations
ileasile Jan 20, 2021
2e7937a
Add post-install hook module
ileasile Jan 22, 2021
c4d11c1
Add annotations processing to libraries scanning logic
ileasile Jan 22, 2021
89a81af
Rename 'JupyterIntegration' to 'KotlinReplIntegration'
nikitinas Jan 22, 2021
2344d15
Rename 'KotlinReplIntegration' back to 'JupyterIntegration'
nikitinas Jan 22, 2021
3450252
Update dataframe version
nikitinas Jan 22, 2021
004ba8b
Update lets-plot-dataframe integration
nikitinas Jan 22, 2021
9b40232
Improve annotations processing and add verification
ileasile Jan 23, 2021
4c84785
Support file annotation handlers in library integration API.
nikitinas Jan 27, 2021
3f3b188
Add 'afterCellExecution' hook into JupyterIntegration API
nikitinas Jan 28, 2021
80e9b67
Update kotlin version
nikitinas Jan 28, 2021
d1d5daf
Extract registration callback in JupyterIntegration from constructor …
nikitinas Jan 28, 2021
498e2f9
Update lets-plot-dataframe
nikitinas Jan 28, 2021
d4fbe29
Integration API: support multiple paths in 'import', 'dependencies' a…
nikitinas Jan 28, 2021
8102107
Log errors when instantiation of library integration class fails
nikitinas Jan 29, 2021
ee70951
Update dataframe.json
nikitinas Jan 29, 2021
39b087a
Add file annotations processing for libraries
ileasile Feb 2, 2021
01c5891
Remove type parameter from Notebook class
ileasile Feb 2, 2021
da7897b
Split LibraryDefinition and LibraryDescriptor types
ileasile Feb 3, 2021
18a277d
Replace Execution interface with simple callbacks
ileasile Feb 3, 2021
78790e2
Fix Notebook interface properties
ileasile Feb 4, 2021
91c157e
Add publishing to plugin portal
ileasile Feb 5, 2021
251ed4c
Fix allow_stdin=false after rebase
ileasile Feb 5, 2021
000c6f2
Regenerate README
ileasile Feb 5, 2021
e981ff8
Update krangl.json and dataframe.json
nikitinas Feb 8, 2021
096d392
Enable dataframe test
ileasile Feb 8, 2021
01dd5ed
Fix testMaxBufferLifeTime test
ileasile Feb 8, 2021
13e62d1
Add publishing to Sonatype
ileasile Feb 8, 2021
c047191
Release to Maven Central for every build
ileasile Feb 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -13,8 +13,9 @@

# Folders with build files
out/
**/build/
artifacts/
/build/
/*jupyter*/build/
/*jupyter*/*/build/

# Gradle caches and internal files
.gradle/
@@ -26,5 +27,9 @@ artifacts/
# Jupyter notebooks checkpoints
**/.ipynb_checkpoints

# Jupyter log files
samples/debug.log

# MacOS attributes files
*.DS_Store
/buildSrc/
9 changes: 9 additions & 0 deletions .idea/dictionaries/ProjectDictionary.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions .run/Generate README.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Generate README" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="generateReadme" />
</list>
</option>
<option name="vmOptions" value="" />
</ExternalSystemSettings>
<GradleScriptDebugEnabled>true</GradleScriptDebugEnabled>
<method v="2" />
</configuration>
</component>
16 changes: 16 additions & 0 deletions .run/Remote debug.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Remote debug" type="Remote">
<module name="kotlin-jupyter" />
<option name="USE_SOCKET_TRANSPORT" value="true" />
<option name="SERVER_MODE" value="false" />
<option name="SHMEM_ADDRESS" />
<option name="HOST" value="localhost" />
<option name="PORT" value="1044" />
<option name="AUTO_RESTART" value="false" />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="1044" />
<option name="LOCAL" value="false" />
</RunnerSettings>
<method v="2" />
</configuration>
</component>
Loading