aboutsummaryrefslogtreecommitdiffhomepage
path: root/build_tools
Commit message (Collapse)AuthorAge
* Make IWYU output in lint.cpp less messyGravatar Aaron Gyes2016-06-23
| | | | And re-run IWYU, adjust #includes.
* Lossless recompress of images with pngcrush+zopfliGravatar Aaron Gyes2016-06-18
| | | | And tweak RTF.
* implement custom cppcheck rulesGravatar Kurtis Rader2016-06-17
| | | | | | I recently noticed there were several invocations of `wcwidth()` that should have been `fish_wcwidth()`. This adds custom cppcheck rules to detect that mistake.
* Don't cppcheck the pcre sourcesGravatar ridiculousfish2016-06-11
|
* Avoid using chmod --reference in style.fishGravatar ridiculousfish2016-06-11
| | | | | | chmod --reference is not available on OS X Instead, we copy the source file into the temporary path, so that mode bits are preserved
* fix random lint issuesGravatar Kurtis Rader2016-05-29
| | | | | | | | This only eliminates errors reported by `make lint`. It shouldn't cause any functional changes. This change does remove several functions that are unused. It also removes the `desc_arr` variable which is both unused and out of date with reality.
* make_pkg: allow output to an environment-controlled pathGravatar David Adam2016-05-25
|
* make_pkg: use a temporary directory rather than just /tmpGravatar David Adam2016-05-25
|
* make_tarball: use a temporary directory rather than just /tmpGravatar David Adam2016-05-25
|
* make_tarball: search for a tar that supports the options we needGravatar David Adam2016-05-25
|
* make_tarball: allow output to an environment-controlled pathGravatar David Adam2016-05-25
|
* make_tarball: minor cleanupGravatar David Adam2016-05-25
|
* make_tarball: generate SHA-256 hashes, not SHA-1Gravatar David Adam2016-05-23
| | | | Closes #3048.
* build_tools: drop make_deb and description-pakGravatar David Adam2016-05-22
| | | | [ci skip]
* lint, style: use git plumbing commandsGravatar David Adam2016-05-18
| | | | | Rather than using porcelain commands, try using plumbing for a more stable interface with less string munging.
* enhance the key_reader programGravatar Kurtis Rader2016-05-10
| | | | | | | | | | The original `key_reader` program was useful but didn't do much that `xxd` or `od -tx1z` didn't do. Furthermore, it wasn't built and installed by default. This change adds features that make it superior to those programs for decoding interactive key presses and makes it a first-class citizen like the `fish_indent` program that is always available. Fixes #2991
* only deal with files that existGravatar Kurtis Rader2016-05-08
| | | | | I noticed while working on an unrelated change that deleting a file caused `make lint` to behave in an unexpected manner.
* limit `make style-all` to fish scripts in shareGravatar Kurtis Rader2016-05-03
| | | | | | | | | I noticed that if I've previous done `make test` that a subsequent `make style-all` attempts to restyle all the fish scripts in the *test* directory. Those files are transient and not part of the git repository. Limit restyling all fish scripts just to those in the *share* directory tree. There are a couple elsewhere in the repo (e.g., *build_tools*) but they can be handled on an individual basis.
* restyle builtin modules to match project styleGravatar Kurtis Rader2016-04-26
| | | | | | | | | | | Now that the IWYU cleanup has been merged compile all, not just a couple, of the builtin modules independent of builtin.cpp. That is, no longer `#include builtin_NAME.cpp` in builtin.cpp. This is more consistent, more in line with what developers expect, and is likely to reduce mistakes. Reduces lint errors from 384 to 336 (-13%). Line count from 6307 to 4988 (-21%). Another step in resolving issue #2902.
* add better support for IWYU and fix thingsGravatar Kurtis Rader2016-04-26
| | | | | | | | | Remove the "make iwyu" build target. Move the functionality into the recently introduced lint.fish script. Fix a lot, but not all, of the include-what-you-use errors. Specifically, it fixes all of the IWYU errors on my OS X server but only removes some of them on my Ubuntu 14.04 server. Fixes #2957
* build_tools/make_pkg: fixups for versioning and Xcode preferencesGravatar David Adam2016-04-20
| | | | [ci skip]
* Merge branch 'Integration_2.3.0'Gravatar David Adam2016-04-19
|\ | | | | | | | | | | Merge the pcre2 10.20 to 10.21 update. Closes #2943.
| * Update to pcre2 10.21Gravatar Aaron Gyes2016-04-19
| | | | | | | | Point build tools at 10.21
* | improve the style.fish scriptGravatar Kurtis Rader2016-04-12
| | | | | | | | | | | | | | | | | | | | If there are uncommitted changes use `git-clang-format` to limit the style fixups to the lines being modified. Refuse to do a `make style-all` if there are uncommitted changes. Include a fix for the parsing of `git status` output that was recently incorporated into the lint.fish script.
* | fix bug in lint.fish helper scriptGravatar Kurtis Rader2016-04-12
|/ | | | | | | I just noticed that depending on the state of your working tree there can be one or more spaces after the modification token and the file name. If there is more than one space that causes the `string split` to produce unexpected output.
* fix git command in lint.fish scriptGravatar Kurtis Rader2016-04-07
|
* augment the guide for contributingGravatar Kurtis Rader2016-04-05
| | | | | | | | | | Include information about how to deal with lint warnings and suppress `clang-format` reformatting of blocks of code. Move information only relevant to developers from the README.md to the CONTRIBUTING.md document. Closes #2901
* support making fish code match the style guideGravatar Kurtis Rader2016-04-04
| | | | | | | | This changes implements two new make targets: `style` and `style-all`. These make it easy to ensure that a change conforms to the project style guides for C++ and fish code. Fixes #571
* fixes for cppcheck lint warningsGravatar Kurtis Rader2016-04-04
| | | | | | Refine the linting behavior. Fix several of the, mostly trivial, lint errors.
* add make targets to lint the codeGravatar Kurtis Rader2016-04-01
| | | | Fixes #2818
* remove "doc" make target and rename "user_doc"Gravatar Kurtis Rader2016-03-30
| | | | Fixes #2874
* Generate version numbers for Xcode buildsGravatar Ian Ray2015-09-29
| | | | | | | | | | | | Teach Xcode to run new script xcode_version_gen.sh before building the fish_shell and fish_indent targets. The script generates file fish-build-version.h for inclusion by fish_version.cpp. Note that Xcode always runs the script because of the phony target named force-fish-build-version.h, but fish-build-version.h is only touched if the contents of FISH-BUILD-VERSION-FILE change. Fixes #890
* Makefile: add target for Include What You Use (iwyu)Gravatar David Adam2015-07-29
| | | | | | Requires http://include-what-you-use.org/ and Clang to operate. Doesn't quite work for the builtin_* collection; that has to be done by hand.
* Add cppcheck.sh driver script for running cppcheckGravatar ridiculousfish2015-07-25
|
* Don't require .git before running git-describeGravatar Kevin Ballard2014-10-27
| | | | | | When calculating the version, we don't need to test for the presence of .git before running `git describe`. This lets us work properly in a detached work tree if GIT_DIR is set.
* Mark unknown versions as unknown.Gravatar Konrad Borowski2014-10-12
|
* Merge branch 'master' into documentation-updateGravatar Mark Griffiths2014-09-07
|
* Updated build_doc…sh to run cleanly in Xcode buildGravatar Mark Griffiths2014-09-03
| | | | | If the lexicon input filter isn't specified (as is the case in the current Xcode project, the script quietly continues without it.
* Revert 60b9f8d..e4d6eafGravatar Mark Griffiths2014-09-03
| | | | This rolls back to commit 60b9f8db18b8889c3db864e443ee113d897bfe72.
* Update autoconf and README for Doxygen 1.8Gravatar Mark Griffiths2014-09-03
|
* Add lexicon filter to manpages.Gravatar Mark Griffiths2014-09-03
| | | | | Fixed manpage 'NAME'. Under Doxygen 1.8, the output format has changed, so the old sed script was leaving man pages with two titles.
* Pass --always to git describe to ensure we always get a versionGravatar ridiculousfish2014-02-05
| | | | number. Hopefully fixes travis-ci. See #1287
* use annotated tags only for version checkingGravatar David Adam2014-01-24
| | | | | | Note: if you have previously cloned the repository, the tags for previous versions have been edited. Use `git fetch --tags` to synchronise your local copy.
* add correct version number to manpage outputGravatar David Adam2013-12-01
|
* Update OS X make_pkg script to also produce fish.appGravatar ridiculousfish2013-10-05
|
* Update make_tarball.sh to work on DarwinGravatar ridiculousfish2013-10-05
|
* tarball generation: include config.h.in, set mode and ownershipGravatar David Adam (zanchey)2013-09-13
| | | | | | | | | | | | Include config.h.in as well as configure. Also sets correct owner, group and mode for all appended files. Update the mtime of all appended files so that configure and config.h.in are always newer than configure.ac. (Fixes many problems introduced by 5023ade7, and makes the commit message actually true.)
* test documentation: update wording, generate test manual page (closes #734)Gravatar David Adam (zanchey)2013-09-13
|
* tarball generation should build configure scriptGravatar David Adam (zanchey)2013-09-06
| | | | | | For the next release, this means that `autoconf` is no longer required if building from the tarball. The website and documentation should be updated accordingly at that time.
* git version generation fixesGravatar David Adam (zanchey)2013-09-02
| | | | | - Remove the `version` file created for the tarball after the tarball is finished - Use the builtin type instead of which.