0139e1e | Philippe Canal | 01 February 2014, 00:45:59 UTC | Introduce Transform::Config::DropDefaultArg Currently only implemented for the STL collection. This could eventually be used to allow customization of which default argument to strip and which class template. For now, it is only used to prevent the addition of template default template argument to the STL collection ... which we would any strip. This fixes the secondary issue in ROOT-6020 (one class template instance having more than one corresponding TClass due to the inconsistency in the normalization (not adding vs not stripping) | 01 February 2014, 00:45:59 UTC |
d466df3 | Philippe Canal | 01 February 2014, 00:25:38 UTC | Always go through a TClass to search for base class. To solve ROOT-6020, use TClass::GetClass to resolve the string being passed so that we completely and properly resolve the classname (and reduce the cost of the search). | 01 February 2014, 00:25:38 UTC |
29c5c43 | Philippe Canal | 01 February 2014, 00:23:32 UTC | Move IsStdClass to cling::utils::Analyze | 01 February 2014, 00:23:32 UTC |
158d808 | Wim Lavrijsen | 31 January 2014, 21:43:27 UTC | fixes for ROOT-5836 | 31 January 2014, 21:43:27 UTC |
4c5465e | Philippe Canal | 31 January 2014, 18:46:24 UTC | Use typedef for array types | 31 January 2014, 18:46:24 UTC |
36cc1f4 | Philippe Canal | 31 January 2014, 17:20:43 UTC | Dont't strip the part after std::string. This fix the 2nd part of ROOT-6023 (where the array part was forgotten) | 31 January 2014, 17:20:43 UTC |
e4f4793 | Fons Rademakers | 31 January 2014, 14:58:10 UTC | Fix for broken TSAXParserCallback::{Error,Warning,FatalError}. ROOT-6027. By Oliver Freyermuth. | 31 January 2014, 14:58:10 UTC |
81bfa44 | Timur Pocheptsov | 31 January 2014, 14:22:59 UTC | Remove old and useless "test". | 31 January 2014, 14:22:59 UTC |
b408d13 | Philippe Canal | 31 January 2014, 11:52:31 UTC | Be even more careful to avoid (unintended) initiation. This should fix ROOT-6025. | 31 January 2014, 11:52:31 UTC |
43ef4b6 | Philippe Canal | 31 January 2014, 11:31:11 UTC | Mark std::string as non-split. This is necessary on libcxx (MacOS 10.9) | 31 January 2014, 11:31:25 UTC |
db1b50d | Pere Mato | 31 January 2014, 09:47:25 UTC | Move tutorials when running tests in build directory | 31 January 2014, 09:47:25 UTC |
80d3eea | Bertrand Bellenot | 31 January 2014, 09:18:12 UTC | Merge branch 'master' of https://root.cern.ch/git/root | 31 January 2014, 09:18:12 UTC |
9b00aa5 | Bertrand Bellenot | 31 January 2014, 09:17:06 UTC | Skip the "file:" protocol (if any) at the beginning of the path name in TWinNTSystem::ExpandPathName | 31 January 2014, 09:17:06 UTC |
1989927 | Pere Mato | 31 January 2014, 08:37:59 UTC | The C compiler variable is CMAKE_C_COMPILER | 31 January 2014, 08:37:59 UTC |
42c461a | Timur Pocheptsov | 31 January 2014, 07:57:11 UTC | Found a macro depending on this function. | 31 January 2014, 07:57:11 UTC |
880fe6d | Danilo Piparo | 30 January 2014, 20:56:33 UTC | Fix the CMake build now the library names in the rootmaps are sane. In addition, the creation of the tmva and genvector dicts was simplified. | 31 January 2014, 05:39:20 UTC |
f490ac9 | Philippe Canal | 31 January 2014, 03:47:48 UTC | Revert "In TClass::New() first try the collection proxy, then ClassInfo." This reverts commit f27d31234ae8579f7c05e957bb92262e3f854650. as it seems to destroy the python test :( | 31 January 2014, 03:47:48 UTC |
7e94652 | Philippe Canal | 31 January 2014, 03:31:26 UTC | Handle case of interpreted class with emulated STL inside. If a class is interpreted and contains STL collection (embedded or as a pointer) we issue a warning and do *not* do the I/O. This was already the behavior in case of compiled classes. | 31 January 2014, 03:32:03 UTC |
f27d312 | Axel Naumann | 06 September 2013, 09:58:18 UTC | In TClass::New() first try the collection proxy, then ClassInfo. Additional note by Philippe: Even if we have a ClassInfo, the collection proxy might be emulated, if it is the case then it will use the object incorrectly (resulting in random behavior). This still leaves the possibility that the collection might be allocated as part of a containing interpreted object (i.e. class Event { std::vector<Track> fValues; }), this should lead to an inconsistency warning at TStreamerInfo::Build time. The proper long term solution is to have the CollectionProxy created and compiled at run-time and to have a proper solution for the case where the CollectionProxy can not be generated (because the content does not provide all the features needed for the CollectionProxy operation (for example missing defautl constructor)). | 31 January 2014, 03:32:03 UTC |
3057be2 | Wim Lavrijsen | 30 January 2014, 23:52:03 UTC | better workaround :/ | 30 January 2014, 23:52:03 UTC |
fc13cc1 | Wim Lavrijsen | 30 January 2014, 23:43:58 UTC | ROOT/meta workaround for ROOT-6020 | 30 January 2014, 23:43:58 UTC |
4cc4eda | Philippe Canal | 30 January 2014, 17:32:30 UTC | Add more details to fatal error | 30 January 2014, 17:32:56 UTC |
0779a2b | Pere Mato | 30 January 2014, 17:13:15 UTC | Minor problem with the logic | 30 January 2014, 17:13:15 UTC |
622e5d3 | Axel Naumann | 30 January 2014, 16:55:09 UTC | Work around ROOT-6022 by leaking the dl handle. | 30 January 2014, 16:55:15 UTC |
b4cae7b | Timur Pocheptsov | 30 January 2014, 16:38:29 UTC | Fix redefinitions. | 30 January 2014, 16:38:43 UTC |
8fbbcbd | Lorenzo Moneta | 30 January 2014, 16:37:28 UTC | Apply fixes for Windows, thanks to Bertrand | 30 January 2014, 16:38:10 UTC |
fbf21d7 | Timur Pocheptsov | 30 January 2014, 16:12:12 UTC | Fix a syntax error. | 30 January 2014, 16:12:26 UTC |
0306a42 | Pere Mato | 30 January 2014, 15:34:33 UTC | Add the possibility to change the expected return code in CTest tests (needed for macro execution) | 30 January 2014, 15:34:33 UTC |
d896e04 | Timur Pocheptsov | 30 January 2014, 15:13:56 UTC | Type cast. | 30 January 2014, 15:13:56 UTC |
8fb1718 | Timur Pocheptsov | 30 January 2014, 14:46:18 UTC | Type cast | 30 January 2014, 14:46:18 UTC |
a2a7e6a | Pere Mato | 30 January 2014, 13:07:56 UTC | Hardwire the root executable because is not found before is built | 30 January 2014, 13:07:56 UTC |
4e21977 | Timur Pocheptsov | 30 January 2014, 10:26:02 UTC | Remove/add include. | 30 January 2014, 10:26:02 UTC |
cab39df | Timur Pocheptsov | 30 January 2014, 10:23:29 UTC | Now as I have to duplicate the same ~70 lines of code for TNtupleD, I'd better make this function a template and move it to the TreeUtils. | 30 January 2014, 10:25:00 UTC |
313dd6a | Bertrand Bellenot | 30 January 2014, 09:59:42 UTC | Use tryAutoloadInternal() to avoid duplicating code (thanks Vassil for the suggestion and the help) | 30 January 2014, 09:59:42 UTC |
c7f0d25 | Bertrand Bellenot | 30 January 2014, 09:55:08 UTC | Fixes for ROOT 6 | 30 January 2014, 09:55:08 UTC |
980c2ae | Philippe Canal | 30 January 2014, 01:23:16 UTC | remove unused variable | 30 January 2014, 01:23:38 UTC |
1dc4ee4 | Timur Pocheptsov | 29 January 2014, 19:08:33 UTC | Ok, ReadStream re-implemented. | 29 January 2014, 19:08:33 UTC |
284e200 | Timur Pocheptsov | 29 January 2014, 18:25:52 UTC | move a comemnt | 29 January 2014, 18:25:52 UTC |
d1cd558 | Timur Pocheptsov | 29 January 2014, 18:24:38 UTC | Fix a comment. | 29 January 2014, 18:24:38 UTC |
c12cdf7 | Timur Pocheptsov | 29 January 2014, 18:23:35 UTC | include | 29 January 2014, 18:23:35 UTC |
ac98c10 | Timur Pocheptsov | 29 January 2014, 18:22:32 UTC | Aux. functions to fix TNtuple::ReadStream (better handle empty lines and errors). | 29 January 2014, 18:22:32 UTC |
150db91 | Timur Pocheptsov | 29 January 2014, 13:28:17 UTC | Remove an obsolete and deprecated header. | 29 January 2014, 15:43:17 UTC |
a56b03f | Philippe Canal | 29 January 2014, 15:46:46 UTC | Fix macos startup. Reverse order of test (gROOT and gInterpreter) to avoid premature initialization attempt. | 29 January 2014, 15:46:46 UTC |
12c4a98 | Philippe Canal | 29 January 2014, 14:35:18 UTC | Merge branch improving handling of TClass state | 29 January 2014, 14:35:18 UTC |
8ec914a | Philippe Canal | 28 January 2014, 22:20:37 UTC | In TClassTable::Add register class/dict that must be run. Whenever TClassTable::Add notices that there is already a TClass and that this class has a ClassInfo (i.e. it will not be a new decl as far as the interpreter is concerned), we register the TClass and its dictionary function to be processed at the end of RegisterModule. Add TInterpreter::RegisterTClassUpdate. Note: This mechanism can not be a full replacement for the UpdateClassInfo mechanism as some of the new decl loaded might not have a TClass initialization (user include the header file but did not request the TClass initialization). | 29 January 2014, 14:35:07 UTC |
3274b6e | Philippe Canal | 28 January 2014, 21:58:19 UTC | Add the notion of State to TClass. This let us be more precise (and simplify the code asking the question) about the current state of the TClass object. enum EState { kNoInfo, // The state has not yet been initialized, i.e. the TClass // was just created and/or there is no trace of it in the interpreter. kForwardDeclared, // The interpreted knows the entity is a class but that's it. kEmulated, // The information about the class only comes from a TStreamerInfo kInterpreted, // The class is described completely/only in the interpreter database. kHasTClassInit, // The class has a TClass proper bootstrap coming from a run // through rootcling/genreflex/TMetaUtils and the library // containing this dictionary has been loaded in memory. kLoaded = kHasTClassInit }; This introduces in particular the state handled by kForwardDeclared, while the state kEmulated/kInterpreted/kHasTClassInit could be calculated from combination of IsLoaded and GetClassInfo. This deprecates the use of the bit kIsEmulation. Introduce a new constructor TClass(const char *name, Version_t cversion, Bool_t silent = kFALSE); to be used from creating TClass object when not having much information. The transition to and from kNoInfo,kForwardDeclared and kEmulated is now handled by TClass::RegisterStreamerInfo and TClass::RemoveStreamerInfo. Transition to kInterpreted is handled by TInterpreter::SetClassInfo. Transition to kHasTClassInit is handled by the full fledge constructor. We rely on the state kHasTClassInit to avoid generating the emulated collection proxy when we know we will get compiled one a little bit later. | 29 January 2014, 14:35:07 UTC |
205475d | Philippe Canal | 28 January 2014, 21:38:10 UTC | White space | 29 January 2014, 14:35:07 UTC |
34917d0 | Philippe Canal | 28 January 2014, 19:25:32 UTC | Encapsulate modification of the list of StreamerInfo. Make TClass::GetListOfStreamerInfo return a const pointer (hence improving const correctness). Add the function TClass::RegisterStreamerInfo and TClass::RemoveStreamerInfo. [Note more work need to be done to remove the need for const_cast of TClass*] | 29 January 2014, 14:35:07 UTC |
3600a7c | Philippe Canal | 28 January 2014, 13:35:17 UTC | Remove redundant call. Since we remove the calls to TInterpreter::InitializeDictionaries() in ca7545dba55ac, calling SetClassInfo a second time has no (new) side-effect. | 29 January 2014, 14:35:06 UTC |
0def0c7 | Philippe Canal | 28 January 2014, 05:33:06 UTC | Use Version_t to define TBranchElement::fClassVersion. Int_t is larger than needed, having the correct type helps avoid confusion when calling the TClass constructor. | 29 January 2014, 14:35:06 UTC |
2636ce9 | Philippe Canal | 27 January 2014, 21:07:21 UTC | Add missing lock in TClass::GetClass | 29 January 2014, 14:35:06 UTC |
53fd1dd | Philippe Canal | 24 January 2014, 15:57:20 UTC | Rename TClass::kEmulated into TClass::kEmulatedStreamer This part of the internal/private enum TClass::EStreamerType | 29 January 2014, 14:35:06 UTC |
e44cd7c | Philippe Canal | 23 January 2014, 13:32:42 UTC | Fix ROOT-186 | 29 January 2014, 14:35:06 UTC |
efaca47 | Danilo Piparo | 29 January 2014, 13:19:17 UTC | Take into account trunk versions of clang for example which output with clang --version something like Ubuntu clang version 3.5-1~exp1 (trunk) (based on LLVM 3.5) Target: x86_64-pc-linux-gnu Thread model: posix | 29 January 2014, 13:32:07 UTC |
45f5737 | Timur Pocheptsov | 29 January 2014, 13:26:46 UTC | Hm, not so funny actually :) | 29 January 2014, 13:26:46 UTC |
dbdb5d7 | Timur Pocheptsov | 29 January 2014, 13:24:49 UTC | Quite a funny way to suppress a warning. | 29 January 2014, 13:25:08 UTC |
b4fb7c7 | Axel Naumann | 29 January 2014, 13:19:12 UTC | TInterpreter::DeleteVariable() is not available for now. | 29 January 2014, 13:19:16 UTC |
54060be | Timur Pocheptsov | 29 January 2014, 12:38:23 UTC | Fix a deprecated type conversion + ... add another explicit cast (interface is slightly inconsistent:) ) | 29 January 2014, 12:38:23 UTC |
49f7b0e | Timur Pocheptsov | 29 January 2014, 12:10:00 UTC | Even better - add an enclosing 'ROOT' (to make it consistent with cocoa tutorials!!! ;-) ) | 29 January 2014, 12:10:00 UTC |
eee3ffe | Timur Pocheptsov | 29 January 2014, 12:05:51 UTC | Class name is hidden by a function declaration (which is the 'main' function for this macro). Using class keyword will not help in case the macro is ACLiCk'ed (since the name still be hidden), so add a namespace. | 29 January 2014, 12:07:10 UTC |
0f37665 | agheata | 29 January 2014, 09:47:25 UTC | fixed tutorial macros (cherry picked from commit b9de4fa167857101cb7914324325bfdabbab9474) | 29 January 2014, 09:55:29 UTC |
fabe182 | Bertrand Bellenot | 29 January 2014, 09:44:57 UTC | TFITSHDU::ReadAsImage returns a TImage*, not a TASImage* | 29 January 2014, 09:44:57 UTC |
52a4cb2 | Danilo Piparo | 29 January 2014, 09:32:22 UTC | Force LLVM and CLING to have the same compiler of ROOT in all cases | 29 January 2014, 09:33:27 UTC |
8295ca0 | Bertrand Bellenot | 29 January 2014, 09:22:52 UTC | Add required #include statement (to trigger autoloading) | 29 January 2014, 09:22:52 UTC |
9e63185 | Timur Pocheptsov | 29 January 2014, 09:00:55 UTC | Funny, it was never implemented and I noticed only when glpad was fixed. Nobody really cares except a canvas. | 29 January 2014, 09:02:01 UTC |
22e6703 | Pere Mato | 29 January 2014, 09:00:09 UTC | Added the changes in RootConfig from 5.34 branch. Added a test to execute a macro. | 29 January 2014, 09:00:09 UTC |
b54c69b | Axel Naumann | 29 January 2014, 08:34:09 UTC | Define the type of the object for which to calculate the offset. | 29 January 2014, 08:34:09 UTC |
5b99d2b | Timur Pocheptsov | 28 January 2014, 18:59:52 UTC | Rage has almost burned out my brain - WHY ABSOLUTE coordinates when re-painting pad in its own pixmap???? | 28 January 2014, 19:01:28 UTC |
0e3b884 | Philippe Canal | 28 January 2014, 18:25:35 UTC | Add TVirtualCollectionProxy::Insert This gives access to the same functionality as the feed_func provided by TCollectionProxyInfo (and previously by Reflex CollFuncTable) This has *not* yet been implemented for the Emulated Collection Proxy. | 28 January 2014, 18:25:57 UTC |
d9bf73d | Axel Naumann | 28 January 2014, 17:54:35 UTC | Fix const char * regexp. | 28 January 2014, 17:54:35 UTC |
8d5d201 | Axel Naumann | 28 January 2014, 17:21:37 UTC | Prevent iteration past end() for empty SysPath. | 28 January 2014, 17:21:42 UTC |
5ff3b75 | Pere Mato | 28 January 2014, 17:15:53 UTC | Fix the output location of the rootmap files and pch files (CMake) Third attempt | 28 January 2014, 17:15:53 UTC |
3ac74c2 | Axel Naumann | 28 January 2014, 17:12:07 UTC | Add libc++ name for std::string. | 28 January 2014, 17:13:05 UTC |
954e038 | Axel Naumann | 28 January 2014, 17:06:15 UTC | libc++ fixes, e.g. c_str() returns const_pointer. | 28 January 2014, 17:13:05 UTC |
e45eacf | Pere Mato | 28 January 2014, 17:06:02 UTC | Keep temporary cppflags.txt in case of CMake | 28 January 2014, 17:06:02 UTC |
7856f04 | Danilo Piparo | 28 January 2014, 16:32:37 UTC | Renable warning for variadic templates and enum args | 28 January 2014, 16:35:54 UTC |
5949f8b | Bertrand Bellenot | 28 January 2014, 16:27:16 UTC | Fix several geometry tutorials to be compatible with ROOT 6 | 28 January 2014, 16:27:16 UTC |
fcff95b | Danilo Piparo | 28 January 2014, 14:10:39 UTC | Remove erroneous header inclusion | 28 January 2014, 15:29:24 UTC |
6f67438 | Danilo Piparo | 28 January 2014, 14:09:53 UTC | Fix ROOT-5951: put typedefs names in rootmaps so to enable autoloading starting from those. | 28 January 2014, 15:29:24 UTC |
2290aa6 | Pere Mato | 28 January 2014, 15:25:19 UTC | Fix the output location of the rootmap files and pch files (CMake) Second attempt | 28 January 2014, 15:25:19 UTC |
eb43f5a | Axel Naumann | 28 January 2014, 14:37:16 UTC | Fix non-MacOS platform.mac_ver(). | 28 January 2014, 14:37:16 UTC |
d40eac0 | Fons Rademakers | 28 January 2014, 14:22:54 UTC | avoid compiler warning. | 28 January 2014, 14:22:54 UTC |
ddc3c3e | Fons Rademakers | 28 January 2014, 14:22:47 UTC | formatting. | 28 January 2014, 14:22:47 UTC |
44ee232 | Bertrand Bellenot | 28 January 2014, 13:52:22 UTC | Implement Interpreter's InclusionDirective() callback InclusionDirective() callback tells us that an inclusion directive has been processed, allowing us to try to autoload classes using their header file name. For example try to autoload TGClient (libGui) when seeing #include "TGClient.h" This should prevent potential crash when executing macros using globals (e.g. gClient), with the following error: ExecutionContext: use of undefined symbol 'gClient'! | 28 January 2014, 14:02:25 UTC |
3e22022 | Axel Naumann | 28 January 2014, 14:01:42 UTC | Remove temporary cppflags.txt. | 28 January 2014, 14:01:46 UTC |
355c45b | Axel Naumann | 28 January 2014, 13:31:03 UTC | On MacOS 10.9 our clang will not find the stdlib. Use the XCode's clang instead. | 28 January 2014, 13:57:59 UTC |
54457b1 | Axel Naumann | 28 January 2014, 13:30:55 UTC | Add test targets. | 28 January 2014, 13:57:59 UTC |
6c8bf28 | CristinaCristescu | 27 January 2014, 15:21:01 UTC | Remove extra transaction iteration. | 28 January 2014, 13:47:47 UTC |
ee3b1cb | CristinaCristescu | 27 January 2014, 15:19:57 UTC | Correct doxygen doc. | 28 January 2014, 13:47:47 UTC |
f36651d | Axel Naumann | 28 January 2014, 13:42:45 UTC | Tell Offset() that the address is that of a base object (ROOT-5840). | 28 January 2014, 13:43:32 UTC |
219b6dd | Timur Pocheptsov | 28 January 2014, 13:36:22 UTC | root with '-l' (and '-b') never creates a splash-screen (thus a call to InitCocoa is skipped and root hangs on exit). Thanks to Olivier for finding this bug. | 28 January 2014, 13:38:08 UTC |
73e6298 | Axel Naumann | 28 January 2014, 13:11:59 UTC | Silence "set but not used" warnings. | 28 January 2014, 13:11:59 UTC |
cdf9a0c | CristinaCristescu | 24 January 2014, 15:25:06 UTC | Clarification of offset direction, object type (ROOT-5597 and ROOT-5840). For veritual inhertiance, the type of the object was ambiguous; it can be either derived (as commonly used for ROOT and thus default) or base. The latter is used by PyROOT's automatic upcast. The offset functions now allow to specify the type (derived / base) of the object that is passed in. "Derived" and "base" do not clarify the direction of the offset; they have been replaced by "fromDerived" and "toBase" to signal the offset's sign. | 28 January 2014, 12:48:13 UTC |
db14368 | Pere Mato | 28 January 2014, 10:21:59 UTC | Undo the change of location of PCM (it does not work) | 28 January 2014, 10:21:59 UTC |
12ff870 | Timur Pocheptsov | 27 January 2014, 17:45:29 UTC | Fix a bug found in debug mode (== very slow startup) - no need in scrolling animation at all - it must only work if 'About' was chosen. | 27 January 2014, 17:46:32 UTC |
46f5258 | Pere Mato | 27 January 2014, 17:31:15 UTC | Fix the output location of the rootmap files and pch files (CMake) | 27 January 2014, 17:31:15 UTC |
67d0836 | Danilo Piparo | 27 January 2014, 16:50:25 UTC | Adopt coding convention for include guards (thanks Fons) and profit to add some documentation in the code. | 27 January 2014, 17:01:05 UTC |
21c1f27 | Danilo Piparo | 27 January 2014, 12:20:41 UTC | Fill TDataMember attribute map starting from an XML selection file. The mechanism followed is the previous one: 1) Add metadata to the selection rule (of the class or of the field) 2) Add it to the ast in rootcling in form of attribute 3) Read it in TMetaUtils and fill the proper TDictAttributeMap | 27 January 2014, 17:01:05 UTC |
d9c3f07 | Timur Pocheptsov | 27 January 2014, 16:51:49 UTC | Add a flag in the system.rootrc - if lines/polygons should be anti-aliased - with anti-aliasing on non-retina displays lines look thick and semi-transparent. Give a choice - if user wants them to look more "X11-like" (version with XQuartz). | 27 January 2014, 16:53:39 UTC |
8d60229 | Fons Rademakers | 27 January 2014, 15:19:33 UTC | use libDavix by default if found by ./configure. | 27 January 2014, 15:20:43 UTC |