summaryrefslogtreecommitdiff
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* .gitignore: Explain why `/obj/` is ignoredgitignore-readd-tmpMazdak Farrokhzad2019-08-101-0/+1
|
* Explain why `/tmp/` is ignoredMazdak Farrokhzad2019-08-101-0/+1
|
* .gitignore: Readd `/tmp/`Mazdak Farrokhzad2019-08-101-0/+1
| | | It is produced during `./x.py test`
* more alphabeticalRalf Jung2019-08-081-1/+1
|
* tweak ignoresRalf Jung2019-08-081-3/+4
|
* fix typo in .gitignoreRalf Jung2019-08-081-1/+1
| | | Co-Authored-By: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
* Cargo.toml is at the root these daysRalf Jung2019-08-081-4/+0
|
* gitignore: remove some things that look ancientRalf Jung2019-08-081-16/+0
|
* explain what we want and what not in .gitignoreRalf Jung2019-08-081-0/+4
|
* don't ignore mir_dump folderRalf Jung2019-08-051-1/+0
|
* Rollup merge of #60081 - pawroman:cleanup_unicode_script, r=varkorMazdak Farrokhzad2019-07-061-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor unicode.py script Hi, I noticed that the `unicode.py` script used some deprecated escapes in regular expressions. E.g. `\d`, `\w`, `\.` will be illegal in the future without "raw strings". This is now fixed. I have also cleaned up the script quite a bit. ## Escape deprecation OK (note the `r`): `re.compile(r"\d")` Deprecated (from Python 3.6 onwards, see [here][link1] and [here][link2]): `re.compile("\d")`. [link1]: https://docs.python.org/3.6/whatsnew/3.6.html#deprecated-python-behavior [link2]: https://bugs.python.org/issue27364 This was evident running the script using Python 3.7 like so: ``` $ python3 -Wall unicode.py unicode.py:227: DeprecationWarning: invalid escape sequence \w re1 = re.compile("^ *([0-9A-F]+) *; *(\w+)") unicode.py:228: DeprecationWarning: invalid escape sequence \. re2 = re.compile("^ *([0-9A-F]+)\.\.([0-9A-F]+) *; *(\w+)") unicode.py:453: DeprecationWarning: invalid escape sequence \d pattern = "for Version (\d+)\.(\d+)\.(\d+) of the Unicode" ``` The documentation states that > A backslash-character pair that is not a valid escape sequence now generates a DeprecationWarning. Although this will eventually become a SyntaxError, that will not be for several Python releases. ## Testing To test my changes, I had to add support for choosing the Unicode version to use. The script will default to latest release (which is 12.0.0 at the moment, repo has 11.0.0 checked in). The script generates the exact same output for version 11.0.0 with Python 2.7 and 3.7 and no longer generates any deprecation warnings: ``` $ python3 -Wall unicode.py -v 11.0.0 Using Unicode version: 11.0.0 Regenerated tables.rs. $ git diff tables.rs $ python2 -Wall unicode.py -v 11.0.0 Using Unicode version: 11.0.0 Regenerated tables.rs. $ git diff tables.rs $ python2 --version Python 2.7.16 $ python3 --version Python 3.7.3 ``` ## Extra functionality Furthermore, the script will check and download the latest Unicode version by default (without the `-v` argument). The `--help` is below: ``` $ ./unicode.py --help usage: unicode.py [-h] [-v VERSION] Regenerate Unicode tables (tables.rs). optional arguments: -h, --help show this help message and exit -v VERSION, --version VERSION Unicode version to use (if not specified, defaults to latest available final release). ``` ## Cleanups I have cleaned up the code quite a bit, with Python best practices and code style in mind. I'm happy to provide more details and rationale for all my changes if the reviewers so desire. One externally visible change is that the Unicode data will now be downloaded into `src/libcore/unicode/downloaded` directory suffixed by Unicode version: ``` $ pwd .../rust/src/libcore/unicode $ exa -T downloaded/ downloaded ├── 11.0.0 │ ├── DerivedCoreProperties.txt │ ├── DerivedNormalizationProps.txt │ ├── PropList.txt │ ├── ReadMe.txt │ ├── Scripts.txt │ ├── SpecialCasing.txt │ └── UnicodeData.txt └── 12.0.0 ├── DerivedCoreProperties.txt ├── DerivedNormalizationProps.txt ├── PropList.txt ├── ReadMe.txt ├── Scripts.txt ├── SpecialCasing.txt └── UnicodeData.txt ```
| * Clean up unicode.py scriptPaweł Romanowski2019-04-181-0/+1
| |
* | Ignore .vscode even if it is a symlinkOliver Scherer2019-05-251-1/+1
|/
* Ignore some IDE-local filesOliver Scherer2019-01-081-0/+1
|
* move file-extension based .gitignore down to src/Ralf Jung2018-08-281-46/+0
|
* Added new lines to .gitignore.David Wood2018-07-221-2/+5
|
* Update .gitignore for libstd_unicodevarkor2018-05-211-7/+7
|
* Implement inferring outlives requirements for references, structs, enum, ↵toidiu2018-04-121-0/+1
| | | | union, and projection types. added a feature gate and tests for these scenarios.
* rustc_llvm: remove stale referencesTamir Duberstein2017-11-281-1/+0
| | | | ...that were removed in 77c3bfa7429abf87b76ba84108df018d9e9d90e2.
* Allow writing metadata without llvmbjorn32017-09-231-0/+3
|
* Ignore *.iml filesStepan Koltsov2017-06-301-0/+1
| | | | ... which are IntelliJ IDEA module files. (`.idea` is IDEA project files.)
* Ignore some folders.kennytm2017-06-021-0/+1
| | | | | - /src/target -- created when trying to directly `cargo build` on a single package.
* include everything in the vendor directorySteve Klabnik2017-02-131-0/+1
|
* Reduce the size of static data in std_unicode::tables.Simon Sapin2017-01-031-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `BoolTrie` works well for sets of code points spread out through most of Unicode’s range, but is uses a lot of space for sets with few, mostly low, code points. This switches a few of its instances to a similar but simpler trie data structure. ## Before `size_of::<BoolTrie>()` is 1552, which is added to `table.r3.len() * 8 + t.r5.len() + t.r6.len() * 8`: * `Cc_table`: 1632 * `White_Space_table`: 1656 * `Pattern_White_Space_table`: 1640 * Total: 4928 bytes ## After `size_of::<SmallBoolTrie>()` is 32, which is added to `t.r1.len() + t.r2.len() * 8`: * `Cc_table`: 51 * `White_Space_table`: 273 * `Pattern_White_Space_table`: 193 * Total: 517 bytes ## Difference Every Rust program with `std` statically linked should be about 4 KB smaller.
* rustbuild: Tweak for vendored dependenciesAlex Crichton2016-11-081-0/+1
| | | | | | | | | | | | | | | | A few changes are included here: * The `winapi` and `url` dependencies were dropped. The source code for these projects is pretty weighty, and we're about to vendor them, so let's not commit to that intake just yet. If necessary we can vendor them later but for now it shouldn't be necessary. * The `--frozen` flag is now always passed to Cargo, obviating the need for tidy's `cargo_lock` check. * Tidy was updated to not check the vendor directory Closes #34687
* Ignore VS Code settings directoryVadim Chugunov2016-08-051-0/+1
|
* Auto merge of #33617 - sanmai-NL:gitignore_IntelliJ, r=nikomatsakisbors2016-05-171-8/+8
|\ | | | | | | IntelliJ support, ordering, cleanup
| * IntelliJ support, ordering, cleanupSander Maijers2016-05-131-8/+8
| |
* | rustbuild: Ignore user config.toml file.Scott Olson2016-05-141-0/+1
|/
* Add /obj/ to .gitignoreAlex Crichton2016-04-131-0/+1
| | | | | | | | | This is the build directory our buildbots use, and right now the bots are running `git clean -f -f -d` to remove all untracked files between runs and this is accidentally deleting `obj`, so we're building LLVM a lot. Hopefully this keeps the bots caching `obj` so we can clean it out manually and leave LLVM around.
* Add *.pdb to .gitignoreRobin Kruppe2016-02-131-0/+1
|
* Add a Cargo-based build systemAlex Crichton2016-02-111-0/+1
| | | | | | | | | | | | This commit is the start of a series of commits which start to replace the makefiles with a Cargo-based build system. The aim is not to remove the makefiles entirely just yet but rather just replace the portions that invoke the compiler to do the bootstrap. This commit specifically adds enough support to perform the bootstrap (and all the cross compilation within) along with generating documentation. More commits will follow up in this series to actually wire up the makefiles to call this build system, so stay tuned!
* Ignore KDevelop 4 (and 5 pre-release) project filesCruz Julian Bishop2015-06-251-0/+1
|
* gitignore: Add the autogenerated/downloaded unicode data files.Huon Wilson2014-08-031-0/+6
|
* Use globs to ignore target directories.OGINO Masanori2014-08-031-4/+2
| | | | Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
* Sort .gitignore.OGINO Masanori2014-08-031-64/+64
| | | | Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
* Move llvm bindings to their own crateBrian Anderson2014-07-141-1/+1
|
* Ignore /build even if it’s a symlink, but only at top-level.Simon Sapin2014-05-301-1/+1
|
* remove /build from .gitignore since there is build/Heather2014-05-281-1/+0
|
* Add /dist/ to .gitignoreBrian Anderson2014-03-091-0/+1
|
* Ignore /build even if it’s a symlink.Simon Sapin2014-02-161-1/+1
|
* doc: add license information for gen. filesAdrien Tétar2014-02-071-1/+0
|
* Rewrite the doc makefile for doc => src/docAlex Crichton2014-02-021-14/+1
| | | | | | | | This continues to generate all documentation into doc, but it now looks for source files in src/doc Closes #11860 Closes #11970
* extra: move glob to libglobDavid Manescu2014-01-291-0/+1
| | | | | In line with the dissolution of libextra - moves glob to its own library libglob. Changes based on PR #11787. Updates .gitignore to ignore doc/glob.
* extra: move arena to libarenaDavid Manescu2014-01-291-0/+1
| | | | | In line with the dissolution of libextra - #8784 - moves arena to its own library libarena. Changes based on PR #11787. Updates .gitignore to ignore doc/arena.
* Add /doc/{flate,rustdoc} to .gitignoreKevin Ballard2014-01-261-0/+2
|
* doc: build the docs for librustpkgKevin Ballard2014-01-111-0/+1
|
* Add /doc/rustuv to .gitignoreKevin Ballard2014-01-111-0/+1
|
* Remove *.pot files and ignore them now.OGINO Masanori2014-01-101-0/+1
| | | | | | | | | | | The .pot files can be generated automatically and the files contain timestamps in their content. They can cause huge conflicts and take huge space even if you are not a translator. This commit is a part of improvement discussed on https://github.com/mozilla/rust/pull/11383 . Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
* Add /doc/{rustc,syntax} to .gitignoreKevin Ballard2013-12-291-0/+2
|