Axel Naumann
40020a91ae
Remove unused config
2015-12-16 20:29:21 +01:00
Axel Naumann
afa4a2784b
Use libclingJupyter.
2015-12-16 20:29:21 +01:00
Min RK
7774e9bbfd
capture stderr as well
2015-12-16 20:29:21 +01:00
Min RK
5cc49be53c
require ipykernel
2015-12-16 20:29:21 +01:00
Min RK
01a82f38fd
prepare for ctypes-cling API
2015-12-16 20:29:21 +01:00
Min RK
7f0088e7ba
use Python script to get correct executable
...
rely on distutils shebang magic and PATH
2015-12-16 20:29:21 +01:00
Min RK
bcd56f23a0
require pexpect 3.3 for replwrap
2015-12-16 20:29:21 +01:00
Axel Naumann
b4f6d99948
Add proper header.
2015-12-16 20:29:21 +01:00
aonghus
ae7ad2c7c1
fix for c++ syntax highlighting
2015-12-16 20:29:21 +01:00
Axel Naumann
bf1c31fe37
We need process(): code can be decls or exprs.
2015-12-16 20:29:21 +01:00
Axel Naumann
be38d6071d
Use evaluate(); process prints the value.
2015-12-16 20:29:21 +01:00
Min RK
ecac1351a9
Python 2 compatibility
...
closes #8
2015-12-16 20:29:21 +01:00
Min RK
0e5bc4dda9
IPython 3 compatibility
2015-12-16 20:29:21 +01:00
Axel Naumann
ac67953d30
Fix linker invocatin.
2015-12-16 20:29:21 +01:00
Min RK
b7134dd5cc
dependencies
2015-12-16 20:29:21 +01:00
Axel Naumann
f405ea4ed2
Typos.
2015-12-16 20:29:21 +01:00
Min RK
986f7938dd
ignore checkpoints
2015-12-16 20:29:21 +01:00
Axel Naumann
1045a89663
Also pass the MIME type length.
2015-12-16 20:29:20 +01:00
Axel Naumann
1552fe65b1
Stringify eval result; use pipe fd.
2015-12-16 20:29:20 +01:00
John Foster
b610b3a156
Make change from language name to codemirror name
2015-12-16 20:29:20 +01:00
Axel Naumann
6b35aef2f3
Code completion interfaces (though no real implementation yet).
2015-12-16 20:29:20 +01:00
John Foster
8e40c649f5
Change Codemirror mode to "clike"
...
Having the mode set to "c++" did not provide the proper code highlighting, but
"clike" does. This was suggested to me by @Carreau.
2015-12-16 20:29:20 +01:00
Min RK
b2ffcc4076
install note
2015-12-16 20:29:20 +01:00
Axel Naumann
2352b5e745
Implement pushing of MIME data to Jupyter.
2015-12-16 20:29:20 +01:00
Jonathan Coe
8e8fb11831
fix module definition for setup.py
2015-12-16 20:29:20 +01:00
Axel Naumann
b21455cbd8
Remove more debug output.
2015-12-16 20:29:20 +01:00
Min RK
7a09b6c18b
example notebook
2015-12-16 20:29:20 +01:00
Axel Naumann
b0a464eaec
Add destruction of Interpreter.
2015-12-16 20:29:20 +01:00
Min RK
565e56cc7e
allow specifying CLING_EXE env
2015-12-16 20:29:20 +01:00
Axel Naumann
5eb4756052
Remove debug output.
2015-12-16 20:29:20 +01:00
Min RK
8898522462
init cling kernel
2015-12-16 20:29:20 +01:00
Axel Naumann
a76fe309dd
Debug: print interpreter address. Provide temporary dummy eval.
2015-12-16 20:29:20 +01:00
Axel Naumann
d0cb5639ec
Jupyter kernel support dylib.
2015-12-16 20:29:20 +01:00
Min RK
b0ed753a0e
Initial commit
2015-12-16 20:29:20 +01:00
Axel Naumann
ca23c88748
Determine OptLevel for TargetMachine from CodeGenOpts.
2015-12-15 20:24:16 +01:00
Axel Naumann
9c0d626cda
Use -O as set through arguments.
2015-12-15 20:24:16 +01:00
Axel Naumann
3f650b08c5
Revert "Set optimization level from -O argument when creating TargetMachine."
...
This reverts commit 73b3a1dbf9ef8760b9e6f335b7bbafbc21247555.
We'll use clang's parsing of -O... instead.
2015-12-15 20:24:16 +01:00
CristinaCristescu
fb8bc80796
Fix max 80 columns in cling files.
2015-12-15 20:24:16 +01:00
Yves Le Maout
62d51e5f8a
Set optimization level from -O argument when creating TargetMachine.
2015-12-15 20:24:16 +01:00
Yves Le Maout
890e4b2e2a
If -nostdinc++ was provided, do not determine standard library include paths.
2015-12-15 20:24:16 +01:00
Axel Naumann
9575ece7df
Uniform member init.
2015-12-15 20:24:16 +01:00
Axel Naumann
2ebdea084b
Fix CPP indentation.
2015-12-15 20:24:16 +01:00
CristinaCristescu
95e3dcf8ef
Check for invalid pointer address access.
2015-12-15 20:24:16 +01:00
CristinaCristescu
b44cf929ba
Cache the lookup of the runtime functions in the synthesizers of the transformers.
2015-12-15 20:24:16 +01:00
CristinaCristescu
7556d3814d
NullDeref check changed from injection of if(stmt) to a runtime call.
2015-12-15 20:24:16 +01:00
Axel Naumann
25bbe0c617
Cache Dtor wrappers (used by ~Value); reduce calls to dlsym (ROOT-7840).
...
This fixes a PyROOT performance regression between 6.02 and 6.04, seen by ATLAS.
(cherry picked from commit ba4b0df02a91be4102e62fc76038711d188f07f3)
Conflicts:
interpreter/cling/lib/Interpreter/Value.cpp
2015-12-15 20:24:16 +01:00
CristinaCristescu
982a3ae38b
Enable the NullDeref Cling test for MethodCalls.
2015-12-15 20:24:16 +01:00
Axel Naumann
923b4ce39b
Also strip the "runtime" part of the Interpreter exception here.
2015-12-15 20:24:16 +01:00
CristinaCristescu
1d46fe88d8
Remove runtime namespace from NullDerefException and rename RuntimeException.h to Exception.h.
...
(cherry picked from commit 234da8bfedce8661c2b8bc50f72632c240c4dfd8)
2015-12-15 20:24:16 +01:00
CristinaCristescu
8ab37ec3d6
Enable Baozeng Ding's NullDeref protection for ROOT; use exceptions.
...
The function HandleInterpreterException catches the NullDerefException.
Remove pre-exception longjmp code.
2015-12-15 20:24:15 +01:00