Frederich Munch
b3834b1dcf
Add Interpreter::getDiagnostics method.
2017-02-09 16:59:38 +01:00
Frederich Munch
6054022ca3
Fix stdout being reopened without line buffering if redirection occurs before output has been written.
2017-02-08 15:29:11 +01:00
Frederich Munch
625ed58bba
Add ‘asttree’ predicate to stats command, courtesy of vkhristenko.
2017-02-01 15:59:07 +01:00
Frederich Munch
e709fd898b
Add 'decl’ and ‘undo’ as predicates to .stats command. Add Interpreter::dump method.
2017-02-01 15:59:07 +01:00
Axel Naumann
63482c499d
Do not wait for a "*" if there is any other token after the "/" (ROOT-8529).
2017-01-13 11:59:10 +01:00
Axel Naumann
cfbf9ee8c8
Return whether there was a (non-punct) token between now and next (ROOT-8529).
2017-01-13 11:59:10 +01:00
Frederich Munch
f846990f8d
Windows: Fix InterpreterException not being caught and terminating.
2016-12-20 12:59:08 +01:00
Axel Naumann
43fe0be0a0
From Roman Zulak: Flush stdout less (cling).
2016-12-19 13:59:11 +01:00
Frederich Munch
075f4ffa83
Add cling output streams to cling/Utils/Output.h
2016-12-19 13:59:11 +01:00
Axel Naumann
b6114f10e1
Fix logic precedence, as in sort of: if not assert-test then message.
2016-12-14 18:29:07 +01:00
Danilo Piparo
7d9d012893
Remove warning
2016-12-14 17:14:21 +01:00
Frederich Munch
4427d1a5c2
Have .> cmd expand env-vars. Fixes OutputRedirect test on Windows.
2016-12-14 09:29:10 +01:00
Frederich Munch
1bf0e16d7f
Redirect to file properly when no space between > and filename.
2016-12-14 09:29:10 +01:00
Frederich Munch
e0ddb56b20
Fixes for output redirection.
...
Decouple redirection state from MetaProcessor and MaybeRedirectOutputRAII.
Only suspend redirection when writing to the prompt.
Allow user to redirect to files named 1, 2, &1, &2.
Allow stderr and stdout to be redirected to one another.
Don't create _IO_2_1_stdout_ file.
2016-12-14 09:29:10 +01:00
Frederich Munch
0fce2df9ed
Only initialize redirection state if used.
2016-12-14 09:29:10 +01:00
Frederich Munch
73b7f6d911
MetaProcessor::process requires single line input.
2016-12-12 12:29:38 +01:00
Frederich Munch
9becb2a25c
Remove unused members of MetaProcessor in Release.
2016-12-12 12:29:38 +01:00
Frederich Munch
b7bdd91739
Add error handling to MetaProcessor::readInputFromFile.
2016-12-12 12:29:38 +01:00
Frederich Munch
178c33e251
Optimize InputValidator to avoid unnecessary copy when retrieving the input directly before a reset, and to release memory when reset.
2016-12-12 12:29:38 +01:00
Frederich Munch
91c925632c
Add template keyword support to InputValidator.
2016-12-12 12:29:38 +01:00
Frederich Munch
723bed09d5
Add preprocessor #if conditional support to InputValidator.
2016-12-12 12:29:38 +01:00
Frederich Munch
72c3eac1e1
Add block comment support to InputValidator.
2016-12-12 12:29:38 +01:00
Frederich Munch
a2fd30a8d5
Don't reallocate MetaLexer on the heap for every line. Its a waste of time for 24 bytes that will be needed for every line anyway. Remove bufferEnd field as it was entirely unused.
2016-12-12 12:29:38 +01:00
Axel Naumann
ef8d80dc57
Make .x file name mangling partial again; explain why.
2016-11-29 08:29:17 +01:00
Philippe Canal
7a682ff1d7
remove stray semi-colon
2016-11-28 17:59:50 +01:00
Philippe Canal
5fc745247f
Reduce code duplication by using fall through
2016-11-28 17:44:16 +01:00
Philippe Canal
1d0c1e0156
Mangle all funny file names for .x function (ROOT-8467).
2016-11-28 17:44:15 +01:00
Axel Naumann
9be463964e
Mangle funny file names for .x function (ROOT-8467).
2016-11-28 14:59:17 +01:00
Axel Naumann
781927af49
Spacing in error messages.
2016-10-17 12:13:14 +02:00
Axel Naumann
f4d0d51d47
Add missing newline.
2016-10-17 12:13:14 +02:00
Pere Mato
bd5d32f9e5
Fix for ROOT-8392 - CMake missing dependency
2016-10-12 12:59:44 +02:00
Frederich Munch
b47f842898
Fix MetaSema::actOnXCommand requiring posix paths.
2016-09-30 10:14:28 +02:00
Axel Naumann
48025d08ce
Remove unused data member. Thanks, Coverity + CLion!
2016-09-12 22:31:57 +02:00
Axel Naumann
0c2c555bbc
Fix Coverity CID48538 - clash with parameter name.
2016-09-12 22:31:57 +02:00
Axel Naumann
93edfaeec2
Move shouldWrap / isUnnamedMacro; use Lexer. Prerequisite for improving wrapInput().
2016-07-28 11:09:24 +02:00
Frederich Munch
eb1f75891b
Fix Token::startToken not initializing length member.
2016-07-22 12:44:12 +02:00
Frederich Munch
63b1f5d4c9
Fix gcc5 complaining about pow10 being redeclared.
2016-07-22 12:44:12 +02:00
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
Axel Naumann
2e08275916
Build libcling.so based on OBJECT "library" in CMake.
2016-07-19 10:59:32 +02:00
Axel Naumann
399dbc5248
Do not leak duped file handles (Coverity 54845).
2016-07-18 11:29:36 +02:00
Axel Naumann
7e9a74f3e4
Remove remnants of llvm configure/make build system.
2016-07-13 17:16:13 +02:00
Axel Naumann
6d97a5c2fa
Improve detection of unnamed macro, from Nigel Victor Warr!
2016-07-06 15:29:05 +02:00
Axel Naumann
c3fb3857ea
Try to fix dependency clingMetaProcessor -> LLVMCore.
2016-06-15 14:14:33 +02:00
Axel Naumann
b1d025d12f
llvm upgrade.
2016-06-15 14:14:33 +02:00
Axel Naumann
8543e1cedb
llvm upgrade.
2016-06-15 14:14:33 +02:00
Axel Naumann
7aa512757c
DenseMap<const Transaction*,...> now needs definition of cling::Transaction.
2016-06-15 14:14:32 +02:00
Axel Naumann
205a978506
Update to new llvm interfaces.
2016-06-15 14:14:32 +02:00
Philippe Canal
972c28b439
Remove unused function (in unnamed namespace)
2016-05-04 19:44:07 +02:00
Axel Naumann
2023eac193
Put LINK_LIBS back, they are used by ROOT.
2015-12-16 20:29:22 +01:00