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
Anirudha Bose
81b84c9a74
Add script to detect host platform and Operating System
2014-06-04 09:20:11 +02:00
Anirudha Bose
6c2a281a5c
Patch "Fix wrong path of VERSION in Makefile" has been merged upstream
...
Commit: 7658828d0d
2014-06-04 09:20:11 +02:00
Anirudha Bose
3b8e1f74be
Make script capable of compiling Cling from source
2014-06-04 09:20:10 +02:00
Anirudha Bose
dc17d22467
Adapt script to use the new version system of Cling
2014-06-04 09:20:10 +02:00
Anirudha Bose
2f69c1be09
Fix globbing issues and use an improved method to check tarball in argument
2014-06-04 09:20:10 +02:00
Anirudha Bose
be4c32345e
Fix bug for the disappearing ${shlibs:Depends} and ${misc:Depends}
2014-06-04 09:20:10 +02:00
Anirudha Bose
1052a4a27c
Also double quote Parameter Expansion to prevent globbing and word splitting
2014-06-04 09:20:10 +02:00
Anirudha Bose
c0eae0781d
Use Parameter Expansion instead of sed
2014-06-04 09:20:10 +02:00