Commit Graph

2053 Commits

Author SHA1 Message Date
Anirudha Bose
ddb14d00ae Adopt the naming convention used in EC 2014-08-04 09:57:07 +02:00
Anirudha Bose
0c7d6ef355 Do not compile with C++11 support in Mac OS X 10.8 2014-08-04 09:57:07 +02:00
Anirudha Bose
9ba3f42700 Set DIST variable to MacOS in Darwin platform 2014-08-04 09:57:07 +02:00
Anirudha Bose
c7b99553a0 Remove dependency on head command in Windows 2014-08-04 09:57:07 +02:00
Anirudha Bose
f409109c7a Initial support for Apple Disk Images 2014-08-04 09:57:07 +02:00
Anirudha Bose
9c6b1e3317 Change TMP_PREFIX to /tmp from /var/tmp to enable auto-clean during bootup 2014-08-04 09:57:07 +02:00
Anirudha Bose
6870da89fd Add an internal switch to support calls from build system 2014-08-04 09:57:06 +02:00
Anirudha Bose
3d88028cc8 Specify about Python version and SSL support
Update README.md of CPT
2014-08-04 09:57:06 +02:00
Anirudha Bose
556983d8e4 Fix missing link in README.md of CPT 2014-08-04 09:57:06 +02:00
Anirudha Bose
48bebfe3d0 Update README.md of CPT to reflect the Python port 2014-08-04 09:57:06 +02:00
Anirudha Bose
eb0598b2a8 Prevent spaces in prefix filenames 2014-08-04 09:57:05 +02:00
Anirudha Bose
01494ec70f Enable --check-requirements for Scientific Linux CERN 2014-08-04 09:57:05 +02:00
Anirudha Bose
2998141ca1 Update changelog of spec file 2014-08-04 09:57:05 +02:00
Anirudha Bose
2ad069ca9d Add new argument --rpm-tag to CPT 2014-08-04 09:57:05 +02:00
Anirudha Bose
d6de0aadd5 Check requirements for Fedora and improve RPM packaging 2014-08-04 09:57:04 +02:00
Vassil Vassilev
a833661f08 Fix failing test. 2014-07-25 13:18:01 +02:00
Vassil Vassilev
90abfb5485 Fix doxygen. 2014-07-23 15:57:01 +02:00
Vassil Vassilev
643074f544 Remove a redundant member. 2014-07-22 15:48:02 +02:00
Vassil Vassilev
e24aca69f6 Implement .T command generating fwd decls. 2014-07-22 15:41:41 +02:00
Vassil Vassilev
8fea4d6f75 Early exit if there is no Transaction. 2014-07-22 15:19:01 +02:00
Vassil Vassilev
f8d56d6833 Remove the assert, the use pattern of the interfaces is different. 2014-07-22 15:19:01 +02:00
manasij7479
662262e3ac Rename SetAutoloadCallback to EnableAutoloading 2014-07-22 14:52:04 +02:00
manasij7479
03e5ef7668 Prevent printing non-fixed enums Remove skipping of system headers Also, do not print default template arguments if they do not have a name. 2014-07-22 14:52:04 +02:00
manasij7479
a2a924a263 Display attribute only when class is fully defined 2014-07-22 14:52:03 +02:00
manasij7479
6e642eeea8 Added options for controlling Macro printing and skipping System Headers And other modifications in ForwardDeclPrinter: HasNestedNameSpecifier function is now disabled. Because it fails for typedefs or classes not having complete definitions. Differentiating between variable initializations and function default arguments. 2014-07-22 14:52:03 +02:00
manasij7479
a812b2cd1d Added a function to attach the AutoloadCallback automatically 2014-07-22 14:52:03 +02:00
manasij7479
083ab88d81 Modified test to include a function with a default arg 2014-07-22 14:52:03 +02:00
manasij7479
6b48ac6804 Default argument stripping for FunctionDecl Also, re-enabled the printing of function default arguments in ForwardDeclPrinter 2014-07-22 14:52:02 +02:00
manasij7479
ab048fa2dd Move Autoloading State information from Interpreter to Callback: Also, use the TransactionCommitted callback instead of a transformation Disable AutoloadingTransform in IncrementalParser for now. 2014-07-22 14:52:02 +02:00
manasij7479
e7a196dcbd Transformation-Callback Pipeline for Decls needing special handling (when defining after being forward declared.)
New state in Interpreter (AutoloadingStateInfo) containing a map.
AutoloadingTransform adapted to push required decls into this map.
AutoloadCallback adapted to be called when a file is included (but before being parsed)
(done by enabling PPCallbacks and overriding InclusionDirective method)
m_PPCallbacks changed from OwningPtr to a normal pointer as an workaround for double free bug.
Default template arguments as a POC example usage of this pileline.

Test:
AutoForwarding.C now passes because of this commit.

Extra:
Re-enabled the printing of class template default arguments when generating fwd declarations.
Forward declprinter now looks up the SourceManager for file name instead of directly printing the Argument.
2014-07-22 14:52:02 +02:00
manasij7479
2e3e929a41 Skip functions and vars with nested types and new failing enum tests 2014-07-22 14:52:02 +02:00
manasij7479
064bc74add Operators skipped by string checking A lot of nested name specifiers were in operator arguments And operator declarations were not needed anyway. Check isOperator function of ForwardDeclPrinter 2014-07-22 14:52:01 +02:00
manasij7479
b71886acf3 Prevent the printing of extra semicolons 2014-07-22 14:52:01 +02:00
manasij7479
fac4708d54 Printing simple Macros enabled 2014-07-22 14:52:01 +02:00
Pere Mato
0b54c79e6d Building LLVM and CLING as CMake sub-directories instead of as ExternalProjects. Ninja is now supported. 2014-07-16 20:57:04 +02:00
Axel Naumann
df678cc870 Unused param names; trailing spaces. 2014-07-15 16:30:58 +02:00
Anirudha Bose
3b5e682c11 Initial support for RPM packaging 2014-07-13 13:03:07 +02:00
Anirudha Bose
92fb76b25c Check te value of g++ -dumpmachine if installed
The flag for c++11 is not supported for g++ versions older than 4.7
2014-07-13 13:03:07 +02:00
Anirudha Bose
74c2c69d4c Check for SSL support in Python 2014-07-13 13:03:07 +02:00
Anirudha Bose
d6bc81cdf4 Fix typo in lstrip() 2014-07-13 13:03:07 +02:00
Anirudha Bose
2cc7abdb38 Change cpt.py to new mode 100755 2014-07-13 13:03:07 +02:00
Anirudha Bose
e08a5ff6d7 Remove old Bash implementation from tree 2014-07-13 13:03:07 +02:00
Anirudha Bose
915625e8c1 Initial Python port of function make_nsis 2014-07-13 13:03:06 +02:00
Anirudha Bose
84af7b5b94 Fix missing argument in changelog 2014-07-13 13:03:06 +02:00
Anirudha Bose
8acb9cc58a Handle case when workdir already exists 2014-07-13 13:03:06 +02:00
Anirudha Bose
b7022a19ef Implement missing features for Windows platform 2014-07-13 13:03:06 +02:00
Anirudha Bose
564ff11049 Initial Python port of --check-requirements 2014-07-13 13:03:06 +02:00
Anirudha Bose
de1b6762da Port get_nsis to Python using the new API 2014-07-13 13:03:06 +02:00
Anirudha Bose
dfdffbe5cc Drop-in replacement of wget for all platforms 2014-07-13 13:03:06 +02:00
Anirudha Bose
c44817d53b Use os.path.join to concatenate pathnames in a portable way 2014-07-13 13:03:06 +02:00