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
bedf4302e4
Avoid unnecessary string allocations.
2016-12-14 09:29:10 +01:00
Frederich Munch
f7e4bb2615
Add default for MetaProcessor::process Value argument.
2016-12-14 09:29:10 +01:00
Axel Naumann
c54f88ce6a
Silence unused param warning, if this is what this should do?
2016-12-08 12:14:16 +01:00
Axel Naumann
763b36c042
HandleResizeSignal() needs fOutputID; initialize it first.
2016-12-08 12:14:16 +01:00
Frederich Munch
9edf676001
Remove call to fsync.
2016-12-08 12:14:01 +01:00
Frederich Munch
feedccb427
Fix tty/console output prompt when piping to a file.
2016-12-08 12:14:01 +01:00
Frederich Munch
d82d144e43
Windows: Fix tty/console when input is piped in.
2016-12-08 12:14:01 +01:00
Bertrand Bellenot
5d0e1af50c
Filter out non-Windows include
2016-12-01 10:24:47 +01:00
Bertrand Bellenot
a855e3b679
Call ASCII Windows functions.
2016-12-01 10:24:47 +01:00
Bertrand Bellenot
aa5b7fe2ce
Do not force non-unicode.
2016-11-30 10:14:12 +01:00
Roman Zulak
8a096ebfb4
Windows: Fix EOF not begin handled when reading from input.
...
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-11-16 09:14:22 +01:00
Brian Bockelman
0cb447a445
Properly reset terminal state for various obscure signals.
2016-11-16 09:14:22 +01:00
Philippe Canal
9cd05070d7
Add missing override keywords
2016-11-16 09:14:22 +01:00
CristinaCristescu
0a895426d2
Code complete only input coming from tty as reported by Reader.
2016-11-16 09:14:22 +01:00
Axel Naumann
e43f5dbaa5
Allow "stealing" unfinished input. Enables resetting as a side-effect.
2016-11-16 09:14:22 +01:00
Bertrand Bellenot
7cffe5e49b
Typo
2016-11-16 09:14:22 +01:00
Vassil Vassilev
eb8957c092
Missing includes.
2016-11-16 09:14:22 +01:00
Boris Perovic
60660df4b7
Comments and refactorings (hidden -> masked) in the TextInput.
2016-11-16 09:14:22 +01:00
Bertrand Bellenot
515944b3ac
Use correct forward declaration (fix unresolved external symbol at link time)
2016-11-16 09:14:22 +01:00
Axel Naumann
b9a2361691
From martell: the proper spelling is _WIN32.
2016-11-16 09:14:22 +01:00
Axel Naumann
3468d790f1
Make tmp prune files process-unique (ROOT-6539).
2016-11-16 09:14:22 +01:00
Bertrand Bellenot
94a6f1fb8e
Small fix for text color in console
2016-11-16 09:14:21 +01:00
Roman Zulak
a55bbe356c
Use llvm to get Home directory, was broken on Windows anyway.
...
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-10-18 17:53:20 +02:00
Axel Naumann
996e8f2130
Fix install dir for cling/textinput; do not install doc.
2016-10-13 18:51:05 +02:00
Axel Naumann
27ccbde374
For cling, install TextInput headers.
...
See https://root.cern.ch/phpBB3/viewtopic.php?f=21&t=22515
2016-10-13 18:14:07 +02:00
Frederich Munch
28ab61a8da
Move CompilationException into Interpreter library.
...
InterpreterException is compiled with RTTI on, so all subclasses need to be as well.
Throwing from llvm_unreachable should be available to all clients of libInterpreter.
2016-09-09 09:29:49 +02:00
Frederich Munch
e4ffea8cd4
Use LLVM_NOEXCEPT and LLVM_CONSTEXPR macros.
2016-09-09 09:29:49 +02:00
Frederich Munch
378b926d72
Match exception specification for InterpreterException.
...
Some compilers are complaining about the mismatching exception specifications
between destructors of InterpreterException and its subclasses.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-17 10:14:33 +02:00
Bertrand Bellenot
0d24d146df
Fix weird compilation errors on Windows (to be reviewed)
2016-07-21 11:44:27 +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
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