Fons Rademakers [Sun, 5 May 2013 16:09:00 +0000 (18:09 +0200)]
Add default .gitattributes.
Fons Rademakers [Sun, 5 May 2013 16:08:45 +0000 (18:08 +0200)]
Convert svn:ignore properties to .gitignore.
Philippe Canal [Tue, 7 Oct 2008 20:18:42 +0000 (20:18 +0000)]
Warn users that the CINT svn trunk has moved
Philippe Canal [Fri, 7 Mar 2008 12:42:56 +0000 (12:42 +0000)]
Avoid loading a CINT dictionary if a Reflex/Cintex dictionary has already been registered
Philippe Canal [Thu, 28 Feb 2008 15:39:06 +0000 (15:39 +0000)]
add missing white space
Philippe Canal [Tue, 26 Feb 2008 15:04:52 +0000 (15:04 +0000)]
update ref files
Axel Naumann [Mon, 25 Feb 2008 16:05:00 +0000 (16:05 +0000)]
Merge in changes from root.cern.ch/svn/root/trunk/cint, most importantly Rene's const char* changes.
We'll use this rev to ensure that CINT stand-alone still builds.
Philippe Canal [Wed, 20 Feb 2008 05:19:09 +0000 (05:19 +0000)]
set reftype.reftype when changing the type of G__value to a pointer
Paul Russo [Tue, 12 Feb 2008 22:47:24 +0000 (22:47 +0000)]
dd classinfo.cxx to the test suite, which checks that
G__ClassInfo::GetMethod() with a textual argument types
list correctly distinguishes between int and an enum type
when in exact match mode.
-- Paul Russo
Axel Naumann [Tue, 29 Jan 2008 08:59:28 +0000 (08:59 +0000)]
Sync with ROOT's reflex (r21898) before removing this repository.
Axel Naumann [Tue, 22 Jan 2008 13:41:57 +0000 (13:41 +0000)]
Also suppress MSVC warning 4345 (default initialized PODs)
Axel Naumann [Tue, 22 Jan 2008 10:25:44 +0000 (10:25 +0000)]
Add a tag (dummy) header file that will be updated whenever CINT's dictionaries need to be regenerated.
Axel Naumann [Mon, 21 Jan 2008 11:52:41 +0000 (11:52 +0000)]
svn:ignore more files
Axel Naumann [Mon, 21 Jan 2008 11:51:50 +0000 (11:51 +0000)]
Sync with ROOT's reflex (r21790)
Axel Naumann [Mon, 21 Jan 2008 11:50:54 +0000 (11:50 +0000)]
Add a test file by Hady Zalek for demangling (not yet used - the test, that is)
Add module doc file for ROOT's THtml.
Axel Naumann [Mon, 21 Jan 2008 11:42:51 +0000 (11:42 +0000)]
Remove files that are generated by mkincld as part of the build.
They got into SVN by accident during the CVS->SVN conversion.
Paul Russo [Wed, 16 Jan 2008 04:13:53 +0000 (04:13 +0000)]
Change the behavior of G__get_methodhandle() when passed
withConversion == 0.
The old behavior was to call G__get_ifunchandle_base() with a
match parameter of G__EXACT, and if that failed then try to
instantiate a function template, with exact match, and if that
failed then loop calling G__get_ifuncandle_base() with
parameters from G__EXACT up to and including G__STDCONV. This
meant that we could match a function that did not exactly
match the passed prototype (and we called with G__EXACT
twice!).
The new behavior is to return in failure if the function
template instantiation attempt fails to find a match, the loop
trying the integral promotions and standard conversions is not
done.
So we must match the passed prototype exactly (unless the
template instantiation codes does something weird we do not
know about).
This fixes:
http://root.cern.ch/phpBB2/viewtopic.php?p=24563
-- Paul Russo
Philippe Canal [Sat, 12 Jan 2008 09:09:40 +0000 (09:09 +0000)]
cint: From Scott Snyder, remove a memory leak in G__make_ifunctable
See http://savannah.cern.ch/bugs/?32609 from details
Paul Russo [Wed, 9 Jan 2008 20:35:20 +0000 (20:35 +0000)]
Initialize the G__prevcase flag to zero on entry to G__exec_case()
so that bytecode compilation of a second switch statement is not
corrupted by the results of compiling the first one. This fixes
the problem with the switch statement not working under -O4 in the
root/tutorial/gui/guitest.C test.
Save and restore G__prevcase, G__switch, and G__switch_searching
on entry and exit from G__exec_case() to allow nested switch
statements to be parsed and bytecode compiled correctly.
-- Paul Russo
Paul Russo [Wed, 9 Jan 2008 01:29:20 +0000 (01:29 +0000)]
When scanning a parameter in G__define_var() to see if it
starts with a type, and so could actually be part of a function
declaration, scan past '(' so that a function-style cast to
class type (which looks like a call to the constructor) does
not mistakenly cause us to parse as a function declaration.
For example, in:
class A {
int _x;
int _y;
public:
A(int v1, int v2) : _x(v1), _y(v2) {}
};
Class B {
private:
A _a;
int _z;
public:
B(A v1, int v2) : _a(v1), _z(v2) {}
};
B b(A(1, 2), 3);
The final line should parse as a declaration of a variable of
type B, initialized by calling the two argument B constructor
with a first argument of type A, with a value constructed using
the two argument A constructor, and a second argument of type int,
with value 3.
-- Paul Russo
Philippe Canal [Wed, 9 Jan 2008 00:27:18 +0000 (00:27 +0000)]
draft of part of test for function declaration vs constructor call
Philippe Canal [Wed, 9 Jan 2008 00:26:00 +0000 (00:26 +0000)]
draft of part of test for function declaration vs constructor call
Philippe Canal [Tue, 8 Jan 2008 23:14:14 +0000 (23:14 +0000)]
Prepare 5.16.29/6.1.29
Philippe Canal [Tue, 8 Jan 2008 22:42:08 +0000 (22:42 +0000)]
resolve dereferencing type-punned pointer warning
Paul Russo [Tue, 8 Jan 2008 22:38:14 +0000 (22:38 +0000)]
Fix use of uninitialized variable in processing a static variable
declaration, reg needs to be explicitly set to G__null before
calling G__letvariable().
Fix parsing of function-style initializer when the argument
begins with a parenthesis. This fixes:
int n((0));
Previously the processing terminated before the whole argument
had been scanned, so the parenthesis count was wrong. This
bug has been around since we before we started using CVS!
-- Paul Russo
Axel Naumann [Tue, 8 Jan 2008 11:25:15 +0000 (11:25 +0000)]
Implement empty if statement. Fixes problem with re-using artificial source files.
Axel Naumann [Mon, 7 Jan 2008 15:15:52 +0000 (15:15 +0000)]
* part 1: add G__get_class_autoloading_table() returning the library
name for a class name; used by TCint to determine whether the enclosing
class's auto-load entry should be set.
* part 2: fix <https://savannah.cern.ch/bugs/?32403> and "operator
std::string()" by skipping "std::" and setting G__vartype for conversion
functions.
* part 3: do not generate dictionary for complex<T> instantiations of
unsigned types; generates warnings on windows and is pretty useless anyway.
Philippe Canal [Fri, 4 Jan 2008 17:50:54 +0000 (17:50 +0000)]
avoid null pointer deref
Axel Naumann [Fri, 21 Dec 2007 10:03:56 +0000 (10:03 +0000)]
floor work-around also for MSVC2008 (2nd part)
Axel Naumann [Thu, 20 Dec 2007 11:37:30 +0000 (11:37 +0000)]
Don't invoke "sh" is "sh" is silly dash but bash
Axel Naumann [Thu, 20 Dec 2007 09:50:24 +0000 (09:50 +0000)]
...and the package is usually called _lib_readline-dev
Axel Naumann [Thu, 20 Dec 2007 09:49:38 +0000 (09:49 +0000)]
Print message if readline-dev doesn't exist
Philippe Canal [Tue, 18 Dec 2007 23:57:11 +0000 (23:57 +0000)]
Add new constructor to allow backward compatibility of Cint 7 (which requires an opaque G__value)
Paul Russo [Mon, 17 Dec 2007 19:13:22 +0000 (19:13 +0000)]
Fix debug output crasher (%s used in printf, when %x is what was intended).
Philippe Canal [Sat, 15 Dec 2007 17:00:45 +0000 (17:00 +0000)]
add selfreference
Philippe Canal [Sat, 15 Dec 2007 16:59:53 +0000 (16:59 +0000)]
add selfreference
Philippe Canal [Sat, 15 Dec 2007 16:58:14 +0000 (16:58 +0000)]
add selfreference
Philippe Canal [Fri, 14 Dec 2007 22:17:45 +0000 (22:17 +0000)]
Fix infinite recursion in the case of indirect self reference. Add corresponding test.
Philippe Canal [Thu, 13 Dec 2007 07:18:41 +0000 (07:18 +0000)]
Correct the constness in the case: Object * const &front() const; (i.e Object*const vs Object const*).
Philippe Canal [Tue, 11 Dec 2007 16:48:24 +0000 (16:48 +0000)]
Fix handling of case(1): [The issue was the missing space between case and (]
Axel Naumann [Mon, 10 Dec 2007 18:25:57 +0000 (18:25 +0000)]
sync with ROOT r21302:
Next try to find a solution for option quotes to work on both windows cmd.exe and bash, after python has mangled them. The problem only exists because -DA="two words" needs to be supported - and the quotes need to be kept!
Solution: if '=' is followed by '"' and the option ends on '"' then escape the double quotes.
genreflex ... "-DSTRING=\"a string\""
works now on both windows and linux.
Also print the gccxml invocation command if debug is set.
Philippe Canal [Mon, 10 Dec 2007 18:13:12 +0000 (18:13 +0000)]
dos2unix
Philippe Canal [Mon, 10 Dec 2007 17:59:36 +0000 (17:59 +0000)]
Fix for passing the result of post increment directly to a function taking a parameter by reference (for example cout << c++;
Philippe Canal [Mon, 10 Dec 2007 17:58:46 +0000 (17:58 +0000)]
Add test for passing the result of post increment directly to a function taking a parameter by reference (for example cout << c++;
Axel Naumann [Tue, 4 Dec 2007 18:23:05 +0000 (18:23 +0000)]
Remove quotes for gccxml parameters; they makes gccxml fail on windows when invoked from cmd. Instead, path names with spaces are not supported. We can fix that once someone needs it.
Axel Naumann [Tue, 4 Dec 2007 18:15:57 +0000 (18:15 +0000)]
Better sanity check for ifunc's allifunc vs. maxifunc; fixes autoload problem with libPhysics
Philippe Canal [Tue, 4 Dec 2007 16:10:47 +0000 (16:10 +0000)]
add t1284 to ref files
Axel Naumann [Tue, 4 Dec 2007 14:17:19 +0000 (14:17 +0000)]
Add interface to set a G__ifile context: G__setfilecontext(filename, ifile). Sets G__ifile to filename (can be an artificial tag) and stores the previous one in ifile
Philippe Canal [Mon, 3 Dec 2007 10:32:59 +0000 (10:32 +0000)]
Support const T& operator()(const Key& key) const;
Philippe Canal [Fri, 30 Nov 2007 01:18:03 +0000 (01:18 +0000)]
support obj*&operator()(int)
Philippe Canal [Wed, 28 Nov 2007 22:55:50 +0000 (22:55 +0000)]
properly handle pragma link of operator in namespace
Philippe Canal [Wed, 28 Nov 2007 18:08:08 +0000 (18:08 +0000)]
Prevent the autoloader from destroying entries for templated classes that are defining in a namespace and/or class
Philippe Canal [Wed, 28 Nov 2007 15:07:48 +0000 (15:07 +0000)]
fix for icc
Axel Naumann [Mon, 26 Nov 2007 17:57:40 +0000 (17:57 +0000)]
The definition of ROOT::Reflex::longlong is now removed.
It is not needed by the Reflex API, and it interfers
with user code defining its own longlong, because
the dictionaries pull it in via "using namespace ROOT::Reflex".
Leave an "#if 0" in there, so it's easier to trace.
Only Kernel.cxx needs the typedef.
So move typedef (u)longlong from Kernel.h to Kernel.cxx; make it local.
Axel Naumann [Thu, 22 Nov 2007 11:13:47 +0000 (11:13 +0000)]
Prepare 5.16.28/6.1.28
Paul Russo [Wed, 21 Nov 2007 21:18:28 +0000 (21:18 +0000)]
Disable G__get_pvar() usage for now.
-- Paul Russo
Paul Russo [Wed, 21 Nov 2007 21:11:35 +0000 (21:11 +0000)]
Fix type "int" --> "inline".
-- Paul Russo
Paul Russo [Wed, 21 Nov 2007 21:02:47 +0000 (21:02 +0000)]
Remove definition of G__ASM_DBG.
-- Paul Russo
Paul Russo [Wed, 21 Nov 2007 20:57:52 +0000 (20:57 +0000)]
Make the helper templates inline.
-- Paul Russo
Paul Russo [Wed, 21 Nov 2007 20:46:44 +0000 (20:46 +0000)]
Add template function G__get_pvar() to replace the G__GET_PVAR
macro, this allows us to see the code and set breakpoints in
the debugger. Backported from cint v7.1 so that we can do
parallel debugging.
Also match up whitespace again with cint v7.1 so that diffs
are easier to read and line numbers match between the two versions.
-- Paul Russo
Paul Russo [Wed, 21 Nov 2007 20:40:42 +0000 (20:40 +0000)]
Enhance the debugging output during bytecode execution
to print out the type and value of the parameters of
bytecode instructions that have them.
This same change was made to cint v7.1 so that we can
compare the execution results of bytecode for debugging
purposes.
-- Paul Russo
Axel Naumann [Wed, 21 Nov 2007 18:19:52 +0000 (18:19 +0000)]
Add ::op==(const string::iter&,const string::iter&)
and ::op!=(const string::iter&,const string::iter&)
for GCC>=3001
Fons Rademakers [Wed, 21 Nov 2007 15:06:24 +0000 (15:06 +0000)]
fix for macosx64.
Axel Naumann [Tue, 20 Nov 2007 18:59:46 +0000 (18:59 +0000)]
Import a forgotten change from ROOT: require !G__prerun for virtual offset determination (or object might be invalid)
Axel Naumann [Tue, 20 Nov 2007 18:56:00 +0000 (18:56 +0000)]
sync with ROOT: no spaces at EOL, add a few newlines here and there:
nothing but whitespace.
Axel Naumann [Tue, 20 Nov 2007 18:39:35 +0000 (18:39 +0000)]
Really delete the insetup lists, don't just clear them. Fixes a CINT mem leak.
Axel Naumann [Tue, 20 Nov 2007 18:32:15 +0000 (18:32 +0000)]
When looking up the scope of a typedef remove "const " in front of it.
Fixes savannah #31381
Axel Naumann [Tue, 20 Nov 2007 17:37:35 +0000 (17:37 +0000)]
From Fons: cleaner clean for ROOT's Module.mk (ROOT's rev20885)
Axel Naumann [Tue, 20 Nov 2007 16:57:49 +0000 (16:57 +0000)]
Fons says: need to link vs dylibs on new MacOS. So link against dylibs always.
Works for linux64, macos 10.4 - now lets see the rest...
Axel Naumann [Tue, 20 Nov 2007 16:56:52 +0000 (16:56 +0000)]
removed unused parameter names
Fons Rademakers [Mon, 19 Nov 2007 12:16:23 +0000 (12:16 +0000)]
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.
Axel Naumann [Thu, 15 Nov 2007 16:25:40 +0000 (16:25 +0000)]
$(ARCH) changed from macgcc to macos
Axel Naumann [Wed, 14 Nov 2007 19:14:51 +0000 (19:14 +0000)]
Support MSVC2008: revertse_iterator::_Myt is now a private typedef, so use the underlying type.
Don't check MSC_VER==1400 but >=.
Axel Naumann [Wed, 14 Nov 2007 17:51:06 +0000 (17:51 +0000)]
Add configure option --pedantic; currently works only for GCC.
Remove a few unused vars / functions
Remove a few stray ';'
Axel Naumann [Wed, 14 Nov 2007 17:49:01 +0000 (17:49 +0000)]
CXX needs CXXFLAGS, not CFLAGS.
Axel Naumann [Wed, 14 Nov 2007 14:00:42 +0000 (14:00 +0000)]
Yikes. Add a "then".
Axel Naumann [Wed, 14 Nov 2007 13:47:50 +0000 (13:47 +0000)]
Rename macgcc to macos arch.
Add macosx64 arch.
Supply -D__DARWIN_UNIX03=1 flag for 32bit MacOSX 10.5
Axel Naumann [Tue, 13 Nov 2007 17:09:53 +0000 (17:09 +0000)]
Add std::string::(const_)reverse_iterator also for GCC > 3.
Philippe Canal [Mon, 12 Nov 2007 17:30:42 +0000 (17:30 +0000)]
fix initialization order (vs jump label)
Philippe Canal [Mon, 12 Nov 2007 17:08:16 +0000 (17:08 +0000)]
If an autoload entry is still marked as autoload after
the execution of the autoloader and it is a templated
class and a lookup of the class (by name) finds a
different entry, then remove this autoloade entry.
This happens in the case where a template class was
entered in the autloader with some typedef in its
name/argument. For example, if mytemplate<Long64_t>
is entered in the autoloader map, its type status
will never be reset because the CINT dictionary is
actually updating the entry with all typedef resolved:
mytemplate<long long>
Axel Naumann [Mon, 12 Nov 2007 16:38:28 +0000 (16:38 +0000)]
More merges with ROOT's trunk: don't put test lib into $ROOTSYS/lib
Properly record inheritance path.
Axel Naumann [Mon, 12 Nov 2007 16:31:57 +0000 (16:31 +0000)]
sync with trunk (of ROOT repo)
Axel Naumann [Mon, 12 Nov 2007 14:56:40 +0000 (14:56 +0000)]
From Christian Holm:
- new MIPS and HPPA linux architectures supported
Paul Russo [Fri, 9 Nov 2007 22:54:53 +0000 (22:54 +0000)]
Oops, correct typo in previous commit.
-- Paul Russo
Paul Russo [Fri, 9 Nov 2007 22:52:25 +0000 (22:52 +0000)]
r1956 | russo | 2007-11-09 16:47:54 -0600 (Fri, 09 Nov 2007) | 6 lines
Match whitespace and debugging output to revision 1956 on merge_reflex
branch. That revision was adapting cint 7.1 to the change in the
length of the LD_FUNC bytecode instruction from five bytes to six bytes
in cint5.
-- Paul Russo
Philippe Canal [Fri, 9 Nov 2007 21:16:44 +0000 (21:16 +0000)]
From Fons:
fix compilation warning on Mac OS X.
Paul Russo [Thu, 8 Nov 2007 22:09:07 +0000 (22:09 +0000)]
Fix a couple of typos which broke t705.cxx and t992.cxx,
the same fixes needed to be made in the merge_reflex
branch.
-- Paul Russo
Paul Russo [Thu, 8 Nov 2007 03:10:39 +0000 (03:10 +0000)]
Match up with merge from cint5 to cint7, this allows
the cint5 and cint7 files to be compared side-by-side
which makes it much easier to get the semantics of
the data structure conversion right because you can
see things matching up line by line.
There is no change in behavior.
-- Paul Russo
Philippe Canal [Wed, 7 Nov 2007 15:59:26 +0000 (15:59 +0000)]
prevent reading before the start of string
Paul Russo [Wed, 7 Nov 2007 00:48:50 +0000 (00:48 +0000)]
Fix t992.cxx test error.
While parsing a placement new expression in G__exec_statement(),
we were getting the body of the statement after the () for the
placement with G__fgetstream(), which failed when we tried to
instantiate a template class.
For example:
new (p) vector<vector<int> >();
was turned into:
new (p) vector<vector<int>>();
by G__fgetstream().
We use G__fgetstream_template() now, so the space is preserved
between the two '>' characters in the template name.
-- Paul Russo
Axel Naumann [Thu, 25 Oct 2007 17:40:36 +0000 (17:40 +0000)]
Don't call conversion "A::op T()" "A::op ::T()" or conversions will break in CINT.
Instead, write out dictionary for "A::op ::T()".
ifunc always contains the fully qualified typename for conversion operators.
Axel Naumann [Thu, 25 Oct 2007 14:56:14 +0000 (14:56 +0000)]
Make v5.16.27
Axel Naumann [Wed, 24 Oct 2007 15:05:22 +0000 (15:05 +0000)]
For conversion operators:
* add template args to the conversion type
* fix parsing of conversion type containing "::"
* prepend conversion type by "::" so there is no mismatch between local / global type
Remove unused label in expr.
Philippe Canal [Tue, 23 Oct 2007 15:10:07 +0000 (15:10 +0000)]
set proper signature of SetCriticalSectionEnv
Axel Naumann [Mon, 22 Oct 2007 09:47:39 +0000 (09:47 +0000)]
Always include RConfigure.h when G__ROOT is set, following a change in ROOT.
Axel Naumann [Mon, 22 Oct 2007 09:19:47 +0000 (09:19 +0000)]
Fix spelling of G__SetCriticalSectionEnv()
Philippe Canal [Thu, 18 Oct 2007 18:44:12 +0000 (18:44 +0000)]
correct white space
Philippe Canal [Thu, 18 Oct 2007 17:34:46 +0000 (17:34 +0000)]
correct white space
Philippe Canal [Thu, 18 Oct 2007 17:00:53 +0000 (17:00 +0000)]
add switch.cxx
Philippe Canal [Tue, 16 Oct 2007 19:43:29 +0000 (19:43 +0000)]
Avoid stripping the space after const in class name like:
std::vector<const ns::myclass*>
when operator new and operator delete are called via G__calc