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
Vassil Vassilev
96b189e8d7
Remove new lines.
2015-12-15 20:24:15 +01:00
Philippe Canal
9a9004c501
Correct the name of bundle function of global initializer.
...
This correctly follow the clang commit afafe70f43dbb614f336ccbede1c4bbb132ec658
See https://root.cern.ch/gitweb?p=clang.git;a=commit;f=lib/CodeGen/CGDeclCXX.cpp;h=afafe70f43dbb614f336ccbede1c4bbb132ec658
and fixes the first attempt (75456cd17689730089526417c0d28ba4ed244f58).
2015-12-15 20:24:15 +01:00
Axel Naumann
30cc58a5c6
Reset diagnostics after parsing arguments: we shall issue an error but survive (ROOT-7619, ROOT-7614 and others).
2015-11-03 00:01:43 +01:00
Pere Mato
1d1a9c185f
Attempt to fix ROOT-7744 by hiding all the LLVM/clang symbols present in libCling.so. The cling symbols are left unhidden.
2015-10-30 17:09:07 +01:00
Philippe Canal
81fef9a7b4
Add support for Parameter packs in type(name) normalization.
...
This fully resolve ROOT-7708.
2015-10-28 19:44:14 +01:00
Philippe Canal
2c9a79514e
White spaces
2015-10-28 19:44:14 +01:00
Philippe Canal
b96301501e
Remove unused variable
2015-10-26 19:14:52 +01:00
Axel Naumann
a3a1e27b2f
Improve doc wording, no functional change.
2015-10-23 21:16:12 +02:00
Philippe Canal
36e5b1eec0
Use isa (instead of dync_cast) for type testing
2015-10-23 18:22:26 +02:00
Philippe Canal
432884aada
Add a callback during Transaction's rollback.
2015-10-22 14:56:16 +02:00
Philippe Canal
d58b99d1ed
Must unload content before removing context from decl chain
2015-10-22 14:56:15 +02:00
Philippe Canal
5474fb5da7
When removing a definition decl, make the other forget about it
2015-10-22 14:56:15 +02:00
Axel Naumann
be55c83f9b
Inline Value move ctor to enable the compiler to skip it.
2015-10-20 01:50:13 +02:00
Philippe Canal
26fdb651b9
PrimaryContext returns non null for forward decl, so we need to also grab the def.
...
This redo d78dac6 that was thought to be superseeded by ca32227
2015-10-15 22:45:06 +02:00
Philippe Canal
32bd423d59
We must pass the primary decl context to Sema's LookupQualifiedName [ROOT-7737].
...
This is guarded by an assert in Sema::LookupQualifiedName.
2015-10-15 21:33:13 +02:00
Philippe Canal
fdbc4b985c
Remove debug characters
2015-10-15 17:09:17 +02:00
Philippe Canal
cb70c9d802
Fix value printing of TCollection objects.
...
The iterator for a TCollection currently return the content
(a TObject*) by value, preventing the usual mechanism from
working:
error: cannot take the address of an rvalue of type 'TObject *'
str += printValue(&(*iter));
^ ~~~~~
so add a special case when this address taking fails.
2015-10-10 20:08:02 +02:00
Philippe Canal
a0005a7484
Fail more elegantly in ValuePrinter
2015-10-09 19:11:05 +02:00