Commit Graph

2102 Commits

Author SHA1 Message Date
gilch
672c8a1637 Merge pull request #1307 from hylang/windows-tests
Use universal newlines in test_bin.py
2017-06-26 14:27:16 -06:00
Kodi Arfer
a62faf7b8a Merge pull request #1296 from Kodiologist/literal-attr
Don't parse 5.attr or :foo.attr as symbols
2017-06-23 08:42:20 -07:00
Kodi Arfer
26d1b3f72e Don't parse 5.attr or :foo.attr as symbols 2017-06-23 08:30:37 -07:00
Kodi Arfer
c8736ebd0c Use pytest.raises in test_lex 2017-06-23 08:29:55 -07:00
Ryan Gonzalez
e92ef484a0 Merge pull request #1310 from gilch/tagged-literals
Tag macros
2017-06-23 10:13:43 -05:00
gilch
b7a0c2abf0 add tag macro tests 2017-06-22 22:49:00 -06:00
gilch
901cfbda13 add tag macros to NEWS 2017-06-22 22:49:00 -06:00
gilch
6cd3201421 rename sharp macros to tag macros 2017-06-22 22:48:46 -06:00
gilch
20c26a52e4 make sharp macros take arbitrary identifiers
Previously, only a single character was allowed.
2017-06-22 22:46:24 -06:00
Kodi Arfer
8aeaace7cd Merge pull request #1311 from zackmdavis/retHyrement
retHyrement
2017-06-21 14:16:46 -07:00
Zack M. Davis
acf6e0e0fe remove @zackmdavis from core 2017-06-21 14:04:00 -07:00
Kodi Arfer
49fd49e7ee Fix dirty-flag removal in docs/conf.py 2017-06-20 14:26:39 -07:00
gilch
aa08149712 Use universal newlines in test_bin.py
Change run_cmd() implementation in test_bin.py to use universal newlines (text mode) for Windows compatibility.
2017-06-18 16:05:44 -06:00
Tuukka Turto
3a7618806e Merge pull request #1305 from Kodiologist/release-0.13.0
Minor edits for release 0.13.0
2017-06-16 06:37:01 +03:00
Kodi Arfer
415fdfcc11 Punctuate NEWS more consistently 2017-06-15 11:52:00 -07:00
Kodi Arfer
7361b37a75 Add get_version as a data file to setup.py 2017-06-15 11:30:05 -07:00
Kodi Arfer
032830bada Mark support for Python 3.6 in setup.py 2017-06-15 11:11:54 -07:00
Kodi Arfer
d86381ff98 Merge pull request #1300 from Kodiologist/contributing
Overhaul CONTRIBUTING.rst
2017-06-14 14:08:34 -07:00
Kodi Arfer
9441bfb7cf More rewording of CONTRIBUTING.rst 2017-06-14 14:07:18 -07:00
Ryan Gonzalez
febac43239 Misc language fixes/rewording for CONTRIBUTING.rst 2017-06-14 15:28:47 -05:00
Tristram Oaten
fc3dd8ab66 Fix Tuukka print example (#1304)
It was missing quotes around "Tuukka". Output from hy to confirm everything's good:

```clojure
hy unknown using CPython(default) 3.6.1 on Linux
=> (print "Hello there," "Tuukka")
Hello there, Tuukka
```
2017-06-12 08:36:47 -05:00
Kodi Arfer
0baffaa360 Overhaul CONTRIBUTING.rst 2017-06-10 09:08:15 -07:00
Kodi Arfer
111fe7a2b8 Add a copyright notice to the LICENSE 2017-06-10 09:08:15 -07:00
Kodi Arfer
abb75453cc Merge pull request #1303 from neil-lindquist/single-arg-cond
cond accept single-argument branches
2017-06-10 08:32:46 -07:00
neil-lindquist
c87a0fe02f Add Neil Lindquist to AUTHORS 2017-06-10 08:31:01 -07:00
neil-lindquist
d3df17d9d8 Modify cond to support single argument branches 2017-06-10 08:30:53 -07:00
Kodi Arfer
5bf9ecfc5a Forbid (try) and (try BODY) 2017-05-25 20:48:09 -05:00
Kodi Arfer
dffa2811e6 Return from the else clause of a try form
I overhauled the documentation of `try` while I was editing it.
2017-05-25 20:48:09 -05:00
Kodi Arfer
81d89c9d12 Enforce the standard order of try elements 2017-05-25 20:48:09 -05:00
Kodi Arfer
0d2749d5cd Minor cleanup in hy.compiler: try, except 2017-05-25 20:48:09 -05:00
Kodi Arfer
50aa930232 Merge pull request #1293 from hylang/docs-update
Get the documentation building again
2017-05-24 09:49:40 -07:00
Kodi Arfer
584273b9ca Update documentation links
Fixes #1299.
2017-05-24 09:46:11 -07:00
Kodi Arfer
479c1755a9 Show a version number at the top of each docs page 2017-05-23 11:29:48 -07:00
Kodi Arfer
e15992829d Simplify docs/conf.py 2017-05-23 11:28:34 -07:00
Kodi Arfer
dd9774fb6d Remove the documentation's dependency on Hy itself 2017-05-23 11:28:28 -07:00
gilch
b9279183d7 Merge pull request #1286 from Kodiologist/new-license-headers
Use license headers consistently
2017-05-22 13:36:53 -06:00
Yuval Langer
687d750a88 Remove stray use of setf in documentation 2017-05-19 13:36:06 -07:00
Kodi Arfer
0162647bf3 Update the docs copyright footer. 2017-05-15 13:09:34 -04:00
Kodi Arfer
a537d33471 In setup.py, handle backslash-separated paths (#1284)
The obvious way to do this is to apply os.path.split iteratively, and I tried that first, but it seemed like overkill for setup.py.
2017-05-03 18:47:52 -05:00
Kodi Arfer
2eb81864df Make all files comply with license-header policy 2017-04-27 14:16:57 -07:00
Kodi Arfer
90c5dec468 Add new license-header policy to CONTRIBUTING.rst 2017-04-27 14:11:38 -07:00
Kodi Arfer
4fce884d1b Merge pull request #1279 from Kodiologist/pytest
Migrate from Nose to pytest
2017-04-26 14:27:17 -07:00
Kodi Arfer
eeb0be8fb0 Add some xfail tests for known bugs 2017-04-26 14:00:39 -07:00
Kodi Arfer
28e2c2840e Don't use Tox on Travis
It offers no clear advantage over running pytest directly.
2017-04-26 14:00:39 -07:00
Kodi Arfer
d3fa375052 Migrate from Nose to pytest 2017-04-26 14:00:11 -07:00
Kodi Arfer
d085fba5fe Move a quoting test to get rid of a directory 2017-04-26 13:58:09 -07:00
Kodi Arfer
8afd13cb16 Use test functions instead of unittest.TestCase 2017-04-26 13:58:09 -07:00
Kodi Arfer
55c205f87e Test take and drop only in native_tests.core 2017-04-26 13:58:09 -07:00
Kodi Arfer
07e9284100 Correct import syntax in a test 2017-04-25 09:30:13 -07:00
Kodi Arfer
ec0902b649 Set __file__ of bytecode imports 2017-04-25 09:30:13 -07:00