Commit Graph

82 Commits

Author SHA1 Message Date
Axel Naumann
39dd90e183 Use LLVM_LINK_COMPONENTS; add_dependencies superseded by cling/CMakeLists.txt depending on tablegen-ed files. Cleanup linked libs. 2016-07-19 17:59:14 +02:00
Frederich Munch
a054b253d8 Fix CMake projects to link to proper libraries when built as shared library. 2016-07-19 17:59:14 +02:00
CristinaCristescu
ae0c82121d Cling UITabCompletion. 2016-07-19 12:10:58 +02:00
CristinaCristescu
1d13fe7548 Remove Extra included file in cling/UserInterface. 2016-07-18 20:44:10 +02:00
CristinaCristescu
12ac538a5c Refactor 2016-07-18 14:29:14 +02:00
CristinaCristescu
528b16faf6 Refactoring ROOT & Cling code completion. 2016-07-18 14:29:14 +02:00
CristinaCristescu
0381b517c1 Glue the cling tab completion to ROOT. 2016-07-18 14:29:13 +02:00
CristinaCristescu
cc5da51f21 Cling patch for code completion. 2016-07-18 14:29:13 +02:00
Axel Naumann
7e9a74f3e4 Remove remnants of llvm configure/make build system. 2016-07-13 17:16:13 +02:00
Axel Naumann
a70623e7e3 Add dependency needed for DiagnosticCommonKinds.inc. 2015-12-18 10:15:18 +01:00
CristinaCristescu
95e3dcf8ef Check for invalid pointer address access. 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
Bertrand Bellenot
ff885342b2 Fix CMake error with stand-alone cling
Use absolute PATH when checking the existance of the textinput directory. This prevent this error:

CMake Error at cmake/modules/AddLLVM.cmake:312 (add_library):
  Cannot find source file:

    C:/build/workspace/cling-test/src/core/textinput/src/textinput/Editor.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx
Call Stack (most recent call first):
  tools/cling/CMakeLists.txt:142 (llvm_add_library)
  tools/cling/lib/UserInterface/CMakeLists.txt:17 (add_cling_library)
2015-04-01 09:55:10 +02:00
Pere Mato
8a75957803 Fix for waning in ROOT-7184 2015-03-19 17:50:44 +01:00
Pere Mato
20e2f24106 Fix for ROOT-7184 - CMake config issue when enabling cling tests 2015-03-13 18:31:50 +01:00
Axel Naumann
faf2b44a0d Tell which language is enabled (ROOT-7090). 2015-02-21 23:15:27 +01:00
Vassil Vassilev
22f891e9be llvm::OwningPtr to std::unique_ptr. 2014-08-14 14:56:38 +02:00
Philippe Canal
576ca3ca96 Remove trailing spaces 2014-08-13 16:08:36 +02:00
Axel Naumann
0f77b4ff1b Less mem leaks. 2014-07-01 16:10:07 +02:00
Axel Naumann
93970e8c35 Replace StoredValueRef by Value. 2014-04-01 18:31:58 +02:00
Axel Naumann
f30e498afd Try again: fix standalone cling; now verified on Win. 2014-03-10 13:43:01 +01:00
Axel Naumann
5634799c7b Typo. 2014-03-09 21:17:01 +01:00
Axel Naumann
f24006695a Try again with CMake-ism: handle empty COMPILE_FLAGS. 2014-03-09 13:34:00 +01:00
Axel Naumann
1ecfebabdb Apparently COMPILE_FLAGS can be empty. 2014-03-09 12:52:59 +01:00
Axel Naumann
d7ca5b7759 Use new libdep syntax; parameterize target libs to link. 2014-03-08 18:47:09 +01:00
Bertrand Bellenot
2927b40462 Add /EHsc exception handling compiler flag for MSVC 2014-02-19 14:32:57 +01:00
Axel Naumann
2324d15772 Fix typo in arry idx (ROOT-6056). 2014-02-10 09:52:28 +01:00
Bertrand Bellenot
571e739524 Fix a potential crash when there is a line longer than the terminal width (taking two or more lines to display) in the history (using up arrow key) in a ROOT session while the terminal's buffer is full 2014-02-10 09:52:28 +01:00
Axel Naumann
c36da12a79 Disable history if envvar CLING_NOHISTORY is set - for fixed memory address. 2014-02-06 17:40:54 +01:00
Axel Naumann
15de5b66e9 Fix -fexceptions for CMake. 2014-01-15 15:52:58 +01:00
CristinaCristescu
6296b84ab3 Changes to redirection. 2014-01-15 12:02:03 +01:00
CristinaCristescu
0ec0ba48b6 Change redirection from Interpreter to MetaProcessor. 2014-01-15 12:02:03 +01:00
Axel Naumann
8aedeca69c Refer to license in CMake files. 2014-01-07 12:02:58 +01:00
Axel Naumann
44481ace1e Fix license; remove $Id$ version. 2014-01-07 11:14:04 +01:00
Axel Naumann
5da6e646a5 Correct licenses in Makefiles. 2014-01-07 11:13:56 +01:00
Vassil Vassilev
5c24b7cfd6 From Peter Kummel. Compile with -fexceptions on. 2013-10-20 23:00:59 +02:00
Vassil Vassilev
96a013d91a Reduce/update patches. 2013-10-20 15:22:03 +02:00
Axel Naumann
5706d4bdef Workaround broken JIT exceptions, use longjmp instead. 2013-10-03 09:54:00 +02:00
Axel Naumann
95c14596f0 Fix small string / $HOME mess. 2013-09-26 17:54:18 +02:00
Axel Naumann
6c0e0a2103 Reimplement GetUserHomeDirectory(). 2013-09-26 17:54:16 +02:00
Axel Naumann
37e58b7dba Typo 2013-09-11 10:11:04 +02:00
Axel Naumann
3a8534d285 Improve exception reporting. 2013-09-11 09:41:52 +02:00
Axel Naumann
0782d4d515 Make CompilationException public, (also) use new cling runtime exception as base. 2013-09-09 18:02:53 +02:00
Axel Naumann
0a9be4bfd1 Install fatal error handler throwing an exception. Yes that is dangerous. 2013-09-09 18:02:53 +02:00
Vassil Vassilev
5873981203 File was renamed. 2013-09-09 17:31:53 +02:00
Vassil Vassilev
0c4a39f10f Handle better the exceptions. 2013-09-07 10:46:54 +02:00
Vassil Vassilev
34d2c33c18 Handle the default interpreter's runtime exception. 2013-09-06 23:47:55 +02:00