Anirudha Bose
97739fa19d
Replace cURL with wget to enable recursive downloading
2014-06-10 21:56:00 +02:00
Anirudha Bose
a051817247
Implement live check for latest version of NSIS
2014-06-10 21:56:00 +02:00
Anirudha Bose
fdec3a5a1d
Add new options to generate an NSIS installer
2014-06-10 21:56:00 +02:00
Anirudha Bose
40da1cba1d
Add entries of docs and share for Cling in dist-files.mk
2014-06-10 21:56:00 +02:00
Anirudha Bose
00e9ba7877
Disable installing LLVM/Clang libraries in all other cases
2014-06-10 21:56:00 +02:00
Anirudha Bose
e47f68fcff
Automatically resolve missing dependencies in Ubuntu
...
This may not be so straight in case of Cygwin.
2014-06-10 21:56:00 +02:00
Anirudha Bose
8111c0f1ad
Also check Cygwin when --check-requirements is passed (to keep users happy)
...
This may also be useful (in future) if some user launches CPT using MSYS
Also remove some extra instructions. We can provide a link to the
documentation when it is complete.
2014-06-10 21:56:00 +02:00
Anirudha Bose
9649d8ac8e
Use cat command and EOT to print large messages instead of echo
2014-06-10 21:56:00 +02:00
Anirudha Bose
f1e392f9c0
Use RFC 2822 format in timestamp for cross-platform compatibility
2014-06-10 21:56:00 +02:00
Anirudha Bose
1c2eac4225
Use absolute paths to locate packaging scripts
2014-06-10 21:56:00 +02:00
manasij7479
f9f829c48e
autoloading visitor
2014-06-10 15:24:01 +02:00
manasij7479
ae5a3ce221
fwd tool: generates forward declarations from given file
2014-06-10 15:24:01 +02:00
manasij7479
297d005617
other fixes
2014-06-10 15:24:01 +02:00
manasij7479
024b16df11
Init TagsExtension Module, for extending cling to provide interactive hints
...
AutoloadCallback: Implementing InterpreterCallbacks to attach the module to cling
The main focus is on overriding LookupObject so that the information about
lookup failures are obtained from clang.
The type of the name is not taken into consideration for now.
TagManager: To manage and lookup information from various sorts of tag files.
Currently a TagManager object is owned by the callback system.
This may change in future.
Wrapper: As a base class for handling particular types of tagfiles.
The TagManager maintains a container of Wrappers.
CtagsFileWrapper: Implementing a wrapper for ctags.
This class is responsible for generating a tagfile from a given path or list of files.
It also performs lookups in the file generated by it.
And a few simple file system utils to complement llvm::sys::fs and path utilities
2014-06-04 09:20:14 +02:00
Anirudha Bose
2875e4d3e4
Exclude unnecessary libraries of LLVM and Clang from Cling's build
...
Use dist-files.mk to keep track of files to be distributed with Cling.
2014-06-04 09:20:14 +02:00
Anirudha Bose
5e4fcade73
Enable running of Cling test suite post compilation
2014-06-04 09:20:14 +02:00
Anirudha Bose
3e69e4eb0a
Fix spacer issues on Cygwin
2014-06-04 09:20:14 +02:00
Anirudha Bose
6e9dc31dae
Add function to clean up redundant files and folders
2014-06-04 09:20:14 +02:00
Anirudha Bose
1828ae8d1d
Prettify text printing with box drawings like in the Debian build logs
2014-06-04 09:20:14 +02:00
Anirudha Bose
b7f72ce212
Prevent skipping of the signing of Debian package when VERSION is 0.1
2014-06-04 09:20:14 +02:00
Anirudha Bose
16d6dbd1cc
Wrap long commit messages to 75 columns wide following Debian Policy
...
Old changelogs (prior to tag v0.1) do not need wrapping. Debian Policy Manual
suggests changelog entries should not exceed 80 columns. The "fmt" tool
provided by GNU Coreutils wraps text to 75 columns by default. This can be
modified by: fmt --split-only --width=80
2014-06-04 09:20:14 +02:00
Anirudha Bose
5c2eda383a
Automatically generate changelogs separated according to versions or Git tags
2014-06-04 09:20:13 +02:00
Anirudha Bose
3c5a310ddf
Create file debian/postinst to call ldconfig on libclang.so
...
Fixes Lintian Tag: postinst-must-call-ldconfig
2014-06-04 09:20:13 +02:00
Anirudha Bose
1141fe5bbe
Override Lintian tag: source-is-missing
2014-06-04 09:20:13 +02:00
Anirudha Bose
fe12304cde
Use cygpath to get cmd.exe friendly path to prefix
2014-06-04 09:20:13 +02:00
Anirudha Bose
0a36eaebe9
Use different naming of prefix for Cygwin
2014-06-04 09:20:13 +02:00
Anirudha Bose
e8463df8c6
Set DIST variable for Windows
2014-06-04 09:20:13 +02:00
Anirudha Bose
8f55ec767c
Conditionally compile Cling for Windows
2014-06-04 09:20:13 +02:00
Anirudha Bose
61c1941be5
Enable compilation of Cling in Cygwin with CMake
2014-06-04 09:20:13 +02:00
Anirudha Bose
d3af1cd0a3
Use "Cygwin" as name of OS in Windows
2014-06-04 09:20:13 +02:00
Anirudha Bose
d6e6e239e7
Add checking of requirements in Cygwin
2014-06-04 09:20:13 +02:00
Anirudha Bose
4ab55e890f
Dynamically determine name and email from GnuPG fingerprint
2014-06-04 09:20:13 +02:00
Anirudha Bose
88c22d1c27
Also clean up temporary builddir
2014-06-04 09:20:12 +02:00
Anirudha Bose
b06749b980
Merge get_platform.sh to be a part of indep.sh
2014-06-04 09:20:12 +02:00
Anirudha Bose
9aa2485723
Reorganize platform independent functions into a single script
2014-06-04 09:20:12 +02:00
Anirudha Bose
9ebac9b476
Cleanup redundant directory after creating tarball
2014-06-04 09:20:12 +02:00
Anirudha Bose
a898a002de
Use actual URL for LICENSE.TXT
2014-06-04 09:20:12 +02:00
Anirudha Bose
0eb2bdf637
Combine --last-stable-deb and --last-stable-tar to --last-stable={tar,deb}
2014-06-04 09:20:12 +02:00
Anirudha Bose
2b6f55376b
Generalize --current-dev-tarball to --current-dev={tar, deb}
2014-06-04 09:20:12 +02:00
Anirudha Bose
5c4ba39cea
Make --check-requirements conditional, and some code cleanups
2014-06-04 09:20:12 +02:00
Anirudha Bose
d4ba5c61aa
Refactor and split common code into multiple helper scripts
2014-06-04 09:20:12 +02:00
Anirudha Bose
536d386876
Use correct OS name in GNU/Linux and Cygwin
2014-06-04 09:20:12 +02:00
Anirudha Bose
0c5cab41ad
Add TODOs in the script
2014-06-04 09:20:12 +02:00
Anirudha Bose
65ca47e2bf
Generate debian/changelog according to the checked out repo of Cling
2014-06-04 09:20:11 +02:00
Anirudha Bose
13e1c42a7a
Also check python during --check-requirements
2014-06-04 09:20:11 +02:00
Anirudha Bose
cdaaaa6490
Do not use ${var} style variable in AWK statement
2014-06-04 09:20:11 +02:00
Anirudha Bose
d97c2d47cc
source get_platform.sh must be executed after Cling is cloned
2014-06-04 09:20:11 +02:00
Anirudha Bose
eb3565e282
Limit commit hash to 7 characters like Git
2014-06-04 09:20:11 +02:00
Anirudha Bose
0651bbec97
Do not allow more than one switch at a time
2014-06-04 09:20:11 +02:00
Anirudha Bose
91c6267ba6
Modularize code and add switches
2014-06-04 09:20:11 +02:00