Massimiliano Ghilardi
fb0313dade
do not crash on a := [...]int{1,2,3}; len(a)
2018-08-15 23:36:32 +02:00
Massimiliano Ghilardi
274a914384
Merge pull request #138 from kortschak/findingself
...
gomacro: point to vendored copy
2018-08-13 23:01:41 +02:00
Sebastien Binet
d0abe894e6
all: revert LICENSE to MIT
...
Fixes #126 .
2018-08-11 10:29:05 +02:00
Dan Kortschak
896d481d96
gomacro: point to vendored copy
2018-08-10 08:20:47 +09:30
Massimiliano Ghilardi
0539269237
fix #135 make append() work on named slice types
2018-07-26 23:00:09 +02:00
Massimiliano Ghilardi
0efed2dfcc
update GoPkg in vendor/github.com/cosmos72/gomacro/base/util.go to point to vendored copy of gomacro sources
2018-07-16 22:46:50 +02:00
Massimiliano Ghilardi
88d4c00d50
update vendored gomacro to fix #132 (copy of https://github.com/cosmos72/gomacro/issues/32 ) and https://github.com/cosmos72/gomacro/issues/34
2018-07-16 22:43:13 +02:00
Massimiliano Ghilardi
16d8e2c8c6
fix #131 : "continue" statement inside for-range must jump to next iteration, not to function beginning
2018-07-12 22:51:38 +02:00
Spencer Park
43573a69ff
Merge pull request #127 from SpencerPark/fix-dockerfiles
...
Fix dockerfiles
2018-07-11 16:23:13 -04:00
Massimiliano Ghilardi
6474b0bfba
fix #129 : function NewV4() in vendored satori/go.uuid may not completely fill
...
returned uuid with random bytes if underlying crypto/rand.Reader.Read()
returns a short read (i.e. fewer bytes than requested)
2018-07-11 22:04:00 +02:00
SpencerPark
e7cf7fac10
docker: import vecf32 and vecf64 from gorgonia.org
2018-07-09 14:42:38 -04:00
SpencerPark
3d2a679257
vecf32 and vecf64 moved to gorgonia
2018-07-09 14:37:22 -04:00
SpencerPark
82426f8453
Dockerfile python lib is now version 3.6 not 3.5
2018-07-09 13:09:18 -04:00
SpencerPark
d7999e6de8
Pin package repository and versions in Dockerfiles
2018-07-09 12:58:20 -04:00
Sebastien Binet
d3368eec5e
doc: add travis badge
2018-07-04 20:56:18 +02:00
Sebastien Binet
249ed1f3f1
travis: add travis-ci
2018-07-04 20:56:18 +02:00
Massimiliano Ghilardi
d76e9fbb20
update vendored gomacro to fix bug [gomacro#28]( https://github.com/cosmos72/gomacro/issues/28 ):
...
in 'import "path"' without an explicit name, use the name declared inside the package being imported, not paths.FileName(path)
2018-07-02 23:11:39 +02:00
Massimiliano Ghilardi
b632224d66
fix #120 : detect methods with pointer receiver as (*sync.WaitGroup).Done when loading methods of named types
2018-06-28 22:44:20 +02:00
Massimiliano Ghilardi
26765843a9
fix #119 : make interfaces insensitive to their methods declaration order
2018-06-28 21:32:55 +02:00
Massimiliano Ghilardi
123f3ee895
document Mac OS X requirement of Go 1.10.2+ to import third party libraries at runtime
2018-06-18 22:52:44 +02:00
Massimiliano Ghilardi
c996f2f7bb
update examples/Display.ipynb
2018-06-14 22:06:12 +02:00
Massimiliano Ghilardi
43d3181740
add file examples/Display.ipynb and link it in README.md
2018-06-14 22:01:36 +02:00
Massimiliano Ghilardi
7c4271c356
Merge branch 'cosmos72-display_image'
2018-06-14 21:08:31 +02:00
Massimiliano Ghilardi
d6c102d3b9
Merge branch 'display_image' of https://github.com/cosmos72/gophernotes into cosmos72-display_image
2018-06-14 20:51:22 +02:00
Massimiliano Ghilardi
9a9ff36f0a
fix #118 : error on fmt.Printf("foo") and calls to other variadic functions
...
with only one mandatory parameter, invoked with a single argument.
update gomacro to commit 92e2f0cb815a532c9614d7b3d4e5c4b1d1e5154d
2018-06-13 23:10:15 +02:00
Massimiliano Ghilardi
62da084a73
update vendored github.com/mattn/go-runewidth
2018-06-11 23:05:11 +02:00
Massimiliano Ghilardi
35d3f43545
update CONTRIBUTORS
2018-06-11 22:56:55 +02:00
Massimiliano Ghilardi
6232c2c5e7
Merge branch 'QuLogic-uuid'
2018-06-11 22:47:37 +02:00
Massimiliano Ghilardi
7a99153605
Merge branch 'uuid' of https://github.com/QuLogic/gophernotes into QuLogic-uuid
2018-06-11 22:40:58 +02:00
Massimiliano Ghilardi
48b1ccc7d1
fix #113 : improve and simplify support for recursive struct types, for example 'type Node struct { Next *Node }'
...
and for recursive function types, for example 'type F func(F)':
update vendored gomacro to commit d77296496ae009eb08b42418a9282459c2c25a3d
2018-06-11 22:30:13 +02:00
Massimiliano Ghilardi
9e18fedcb8
if the only non-nil result returned by REPL is an image.Image or display.Data, publish it with "execute_result" Jupyter message, not with "display_data"
2018-06-11 01:51:40 +02:00
Massimiliano Ghilardi
bd0dab5624
take updated README.md from gopherdata/gophernotes master branch
2018-06-10 23:13:11 +02:00
Massimiliano Ghilardi
568d6d7e60
automatically display image.Image or display.Data returned by REPL only if it's the only non-nil result
2018-06-10 23:09:07 +02:00
Massimiliano Ghilardi
a0b6c36e4e
update Limitations in README.md
2018-06-09 12:42:26 +02:00
Massimiliano Ghilardi
36bd3b7f0d
Merge branch 'master' of https://github.com/gopherdata/gophernotes
2018-06-08 21:41:43 +02:00
Massimiliano Ghilardi
1f59c7f877
move vendored github.com/mattn/go-runewidth to correct folder
2018-06-08 21:39:51 +02:00
Massimiliano Ghilardi
886f25fc96
Merge branch 'cosmos72-autocomplete'
2018-06-08 21:36:53 +02:00
Massimiliano Ghilardi
88c885d7f1
Merge branch 'autocomplete' of https://github.com/cosmos72/gophernotes into cosmos72-autocomplete
2018-06-08 21:35:42 +02:00
Massimiliano Ghilardi
1844609c5c
Merge pull request #116 from cosmos72/stable
...
update vendored gomacro - merge 'stable' branch
2018-06-08 21:32:48 +02:00
Massimiliano Ghilardi
b3993613fb
Merge branch 'cosmos72-stable'
2018-06-08 19:13:46 +02:00
Massimiliano Ghilardi
2ad243b439
pull 'stable' branch of vendored gomacro
2018-06-08 18:52:52 +02:00
Elliott Sales de Andrade
a8e266465c
Switch from nu7hatch/gouuid to satori/go.uuid.
...
The former is unmaintained and does not follow the UUID spec.
2018-06-06 19:18:38 -04:00
Massimiliano Ghilardi
bfa25f88c4
As per @SpencerPark recommendation, split the 'func Display(data DisplayData) error' function that sends multimedia to Jupyter for displaying
...
from the various factory functions 'func display.*(...) DisplayData' that create and return DisplayData values.
Also remove the global variable globalReceipt and use a closure instead.
2018-06-04 21:55:35 +02:00
Massimiliano Ghilardi
aa98a87ea9
gomacro code completion: ignore spaces before and after identifiers
2018-06-02 22:23:02 +02:00
Massimiliano Ghilardi
5825f06bbc
implement code autocompletion by adapting @jpark-dev https://github.com/jpark-dev/gophernotes/tree/feature/autocomplete_new_gomacro
...
to use gomacro/fast/Inter.CompleteWords()
2018-06-02 21:31:33 +02:00
Massimiliano Ghilardi
be43b70e79
merge @SpencerPark commit 710233fed6
...
From SpencerPark <spinnr95@gmail.com>:
Lock writes to the sockets to fix a bug with interleaved publishes.
2018-06-02 18:50:13 +02:00
Massimiliano Ghilardi
633fa1687d
add .gitignore
2018-06-02 18:49:00 +02:00
Massimiliano Ghilardi
c75e6bc5ee
simplify @SpencerPark branch https://github.com/SpencerPark/gophernotes/tree/mime-rendering to implement rendering of HTML, JSON, JPEG, PNG, SVG, LaTeX...
...
New functions: display.PNG([]byte), display.JPEG([]byte), display.HTML(string), display.SVG(string) ...
2018-06-02 17:55:12 +02:00
Massimiliano Ghilardi
3c56c86024
Merge branch 'master' into display_image
2018-06-02 16:07:12 +02:00
Massimiliano Ghilardi
720be35622
update vendored copy of gomacro; update kernel.go for API change in gomacro/fast/Interp.RunExpr()
2018-06-02 16:04:58 +02:00