- Oct 26, 2011
-
-
Fons Rademakers authored
on Linux turn-off the -Wl,--no-undefined linker flag when libPythia6 is not provided at configure time. git-svn-id: http://root.cern.ch/svn/root/trunk@41600 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41599 27541ba8-7e3a-0410-8455-c3a389f83636
-
Axel Naumann authored
makeclingpch.sh is a replacement for rootcint_tmp (the replacement happens in meta's ModuleVars.mk)). It generates dict.pcm modules, similar to precompiled headers, for the headers passed as arguments. TCintWithCling now imports all available modules from lib/. Due to a bug in clang's module loading (http://llvm.org/bugs/show_bug.cgi?id=11236) which causes modules with STL to not load, disable the generation of the dict.pcm files for now. One can nevertheless generate test "dictionaries" by running e.g. clang++ -Xclang -emit-module -c -o $ROOTSYS/lib/header_dict.pcm -x c++ header.h which will then automatically be loaded by TCintWithCling: $ root -l -b Info in <UnknownClass::LoadDictionaries>: Loading PCH DictTest_dict.pcm root [0] DictTest o; DictTest object has been created! Still to be done: only import the module when its library is loaded (i.e. hook to TCint::Load()) git-svn-id: http://root.cern.ch/svn/root/trunk@41598 27541ba8-7e3a-0410-8455-c3a389f83636
-
Axel Naumann authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41597 27541ba8-7e3a-0410-8455-c3a389f83636
-
Axel Naumann authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41596 27541ba8-7e3a-0410-8455-c3a389f83636
-
Axel Naumann authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41595 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
Add option 'par' in TFile::MakeProject to pack in a PAR file the generated code. The first argument defines the directory and the name of the package. For example, the following generates a PAR package equivalent to tutorials/proof/event.par : root [] TFile *f = TFile::Open("http://root.cern.ch/files/data/event_1.root") root [] f->MakeProject("packages/myevent.par", "*", "par"); Note that, because a PAR file is a tarball, for the time being, on Windows only the package directory and the files are generated and a warning message is printed. git-svn-id: http://root.cern.ch/svn/root/trunk@41594 27541ba8-7e3a-0410-8455-c3a389f83636
-
Axel Naumann authored
Initialize langopts more closely to what Tools.cpp (Clang::ConstructJob) is doing, to end up with a compatible LangOpt set in cling and PCHs. git-svn-id: http://root.cern.ch/svn/root/trunk@41593 27541ba8-7e3a-0410-8455-c3a389f83636
-
Axel Naumann authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41592 27541ba8-7e3a-0410-8455-c3a389f83636
-
Andrei Gheata authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41588 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
allowing to open ROOT files with UNC path on Windows when double-clicking on them in the explorer. git-svn-id: http://root.cern.ch/svn/root/trunk@41587 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
remove unused line. git-svn-id: http://root.cern.ch/svn/root/trunk@41586 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
Running on Linux has shown a number missing fine tunings. git-svn-id: http://root.cern.ch/svn/root/trunk@41585 27541ba8-7e3a-0410-8455-c3a389f83636
-
Timur Pocheptsov authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41584 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
add --vers-subdir. git-svn-id: http://root.cern.ch/svn/root/trunk@41583 27541ba8-7e3a-0410-8455-c3a389f83636
-
Timur Pocheptsov authored
So I made all markers kDotLarge in a picker's buffer. git-svn-id: http://root.cern.ch/svn/root/trunk@41582 27541ba8-7e3a-0410-8455-c3a389f83636
-
Axel Naumann authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41581 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Oct 25, 2011
-
-
Vassil Vassilev authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41580 27541ba8-7e3a-0410-8455-c3a389f83636
-
Wim Lavrijsen authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41579 27541ba8-7e3a-0410-8455-c3a389f83636
-
Andrei Gheata authored
Change return type of GetScale method to TString. Change of attributes and tags according to gdml schema (e.g. twistTrap -> twistedtrap, twist->Phitwis, ...). Change order of formula and name in creating TGeoElement. git-svn-id: http://root.cern.ch/svn/root/trunk@41578 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
- Fixed the problem that the Fortran could be optional. - Fixed Cling option in core/meta package - Fixed libraries to be linked when 'explicitlink' is enabled in cint/ROOT - Generating ROOTConfig.cmake for use by CMake projects using ROOT. It is placed under ${CMAKE_INSTALL_PREFIX}/cmake directory after installation or at top level of the build directory if using the build area. Project clients just need to add these lines in their CMakeLists.txt file: find_package(ROOT REQUIRED) include(${ROOT_USE_FILE}) - Added new macro ROOT_ADD_TEST(...) to add tests into the project and a new script RootTestDrover.cmake - Added a new option 'testing' to enable CTest tests. - Moved CPack setting to its own file in cmake/modules/RootCPack.make - Moved CTest settings to its own file in cmake/modules/RootCTest.cmake - Simplified the StandaloneBuild.cmake to make use of the new ROOTConfig.cmake - Added the tests available in /test directory git-svn-id: http://root.cern.ch/svn/root/trunk@41577 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41576 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41575 27541ba8-7e3a-0410-8455-c3a389f83636
-
Gerardo Ganis authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41574 27541ba8-7e3a-0410-8455-c3a389f83636
-
Vassil Vassilev authored
Main principle of the error recovery is to revert the AST from the correct input combined with incorrect ones. Eg: [cling] int i; int j; error_here; This is the simplest case in which int i and int j has been eaten by the compiler but the overall input contains an error. In that case cling has to revert the entire transaction. That means that declarations of i and j must be removed from the compiler's AST and lookup tables. This is not trivial for situations like the following redeclaration: [cling] extern int i; [cling] int i = 0; error_here; In that situation we need to remove the definition of int i (line 2) but wire the lookup back to its extern declaration (line 1). Of course this could be more complex: [cling].rawInput 1 [cling]! template<typename T> T TemplatedF(T t); // line 2 [cling]! float OverloadedF(float f){ return f + 100.111f;} // line 3 [cling].rawInput 0 [cling] #include "LotOfOverloadsAndSpecializations.h" //line 5 In that case we need to revert first all the instantiations and specializations (explicit and implicit!) caused by the line 5 and to rewire the lookup to template so that the user could further specialize or instantiate the template definition. In the case of overloads - similarly the same thing. So we have to have error recovery for each declaration kind that could cause "headache". * Improve error recovery: - Add handling of overloaded functions, templated functions and templated function specializations - Add handling of variable declarations and redefinitions - Prepare the infrastructure for the more complex cases * Add test cases for the work that has been done git-svn-id: http://root.cern.ch/svn/root/trunk@41573 27541ba8-7e3a-0410-8455-c3a389f83636
-
Andrei Gheata authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41572 27541ba8-7e3a-0410-8455-c3a389f83636
-
Vassil Vassilev authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41571 27541ba8-7e3a-0410-8455-c3a389f83636
-
Vassil Vassilev authored
* AnonymousDecls test case wasn't correctly done, because definition of class/struct could be done in a function. In the particular case we defined the class in the function and that's why it didn't show up in the lookup. Moreover the extraction of that class defined in a function fails. Thus move it to the pending to resolve issues. git-svn-id: http://root.cern.ch/svn/root/trunk@41570 27541ba8-7e3a-0410-8455-c3a389f83636
-
Timur Pocheptsov authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41569 27541ba8-7e3a-0410-8455-c3a389f83636
-
Timur Pocheptsov authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41568 27541ba8-7e3a-0410-8455-c3a389f83636
-
Timur Pocheptsov authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41567 27541ba8-7e3a-0410-8455-c3a389f83636
-
Timur Pocheptsov authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41566 27541ba8-7e3a-0410-8455-c3a389f83636
-
Timur Pocheptsov authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41565 27541ba8-7e3a-0410-8455-c3a389f83636
-
Gerardo Ganis authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41564 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
additional fixes for external xrootd. git-svn-id: http://root.cern.ch/svn/root/trunk@41563 27541ba8-7e3a-0410-8455-c3a389f83636
-
Timur Pocheptsov authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41562 27541ba8-7e3a-0410-8455-c3a389f83636
-
Gerardo Ganis authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41561 27541ba8-7e3a-0410-8455-c3a389f83636
-
Gerardo Ganis authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41560 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Oct 24, 2011
-
-
Wim Lavrijsen authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41559 27541ba8-7e3a-0410-8455-c3a389f83636
-
Wim Lavrijsen authored
git-svn-id: http://root.cern.ch/svn/root/trunk@41558 27541ba8-7e3a-0410-8455-c3a389f83636
-