Frederich Munch
f846990f8d
Windows: Fix InterpreterException not being caught and terminating.
2016-12-20 12:59:08 +01:00
Frederich Munch
4d41bd315f
Make InterpreterException::diagnose virtual and return a boolean. Refactor inheritance chain for InterpreterException.
2016-12-20 12:59:08 +01:00
Frederich Munch
0153f63690
Windows: Make sure to export type_info globals.
2016-12-20 12:59:08 +01:00
Axel Naumann
400c6402c9
Use -force_load instead of -all_load.
...
-(no)all_load is not position sensitive, and -noall_load triggers a warning.
2016-12-20 12:44:09 +01:00
Frederich Munch
d68ef916ac
Use LLVM stream wrappers to reduce complexity and line counts.
2016-12-20 12:29:06 +01:00
Axel Naumann
2a7ff1583a
Adjust build systems to new file location and linking.
...
rootcling now links against libRIO, libCore, libCling.
Any symbol from llvm/clang must now be resolved from within libCling.
libCling thus exports only ROOT_rootcling_Driver and CreateInterpreter().
This will allow to fix the symbol visibility inconsistency.
And it reduces link time.
2016-12-20 12:14:09 +01:00
Axel Naumann
88c48f6b06
Help doxygen.
2016-12-19 16:44:05 +01:00
Axel Naumann
c1e79e499d
From Roman Zulak: Flush stdout less (textinput part).
2016-12-19 15:04:23 +01:00
Axel Naumann
43fe0be0a0
From Roman Zulak: Flush stdout less (cling).
2016-12-19 13:59:11 +01:00
Frederich Munch
1aabc2dbe0
Add simple wrappers for buffered LLVM streams. Use them to control Value printing format.
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
Bertrand Bellenot
ddca7a12a2
Speling.
2016-12-19 12:14:26 +01:00
Vassil Vassilev
06704a97fb
Tabs.
2016-12-17 21:14:25 +01:00
Frederich Munch
340f6b897b
Fix setenv declaration for gcc on OS X.
2016-12-15 14:29:09 +01:00
Frederich Munch
2897531390
Windows: Fix crash on aliased globals
2016-12-15 14:29:09 +01:00
Frederich Munch
7ee942f14e
Windows: Avoid mangling Dtor_Comdat
2016-12-15 14:29:09 +01:00
Frederich Munch
8644c890f4
Windows: Fix crash on unloading of Dtor_Comdat destructors.
2016-12-15 14:29:09 +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
Vassil Vassilev
dbd0d510a7
Automatically generate bug chunk of the modulemap.
...
Our two build systems can generate almost entirely a modulemap file laying out
one module per library. Due to some non-modular implementation in ROOT's core we
still need to treat some header files specially.
This patch appends modular header files to the modulemap while skipping the
predefined ones. Configure-make relates all headers that are installed in
$ROOTSYS/include to their library whereas relates only headers which are part of
library's dictionary.
2016-12-14 16:14:10 +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
64b89f34a7
Randomize and speed up OutputRedirect.C.
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
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
Frederich Munch
3a519fe9cd
Windows: Get RunAgainstClangTestSuite.C working.
2016-12-12 12:44:10 +01:00
Frederich Munch
12ebdf3686
Change PCH test to generated C++14.
...
This allows the test to pass on VStudio 2015 and seems like a good thing
to test on other platforms.
2016-12-12 12:44:10 +01:00
Frederich Munch
bf3c8052d8
Windows: Fix various test failures.
2016-12-12 12:44:09 +01:00
Frederich Munch
705e2b2a7e
Windows: Fix test failure because path has backslashes.
2016-12-12 12:44:09 +01:00
Frederich Munch
d4aed2527d
Add CLING_EXPORT macro.
2016-12-12 12:44:09 +01:00
Frederich Munch
52cd30dbef
Lit: Add setenv transformation to use export/set on Unix/Windows.
2016-12-12 12:44:09 +01:00
Frederich Munch
e8cade29c7
Lit: Quote paths for Windows.
2016-12-12 12:44:09 +01:00
Frederich Munch
e265a84fef
Lit: Use proper Windows paths for easier copy/paste.
2016-12-12 12:44:09 +01:00
Frederich Munch
960f6e4be7
Lit: Propagate LIB & LIBPATH env-vars on Windows.
2016-12-12 12:44:09 +01:00
Axel Naumann
20c0d02aaf
Allow combined multiline input (i.e. not line-by-line) by default.
2016-12-12 12:29:38 +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
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