Commit graph

657 commits

Author SHA1 Message Date
Anthony Scopatz
dc528d3b6e Merge pull request #1645 from astronouth7303/events-typotest
Add test to detect event typos
2016-08-28 09:28:51 -04:00
Jamie Bliss
0ad9a2e2ab Add test to detect event typos 2016-08-27 21:44:26 -04:00
Anthony Scopatz
5e68e536e8 Merge pull request #1592 from xonsh/more_syntax_errors
Handle More Syntax Errors
2016-08-27 21:11:58 -04:00
Anthony Scopatz
90769316d2 Merge pull request #1501 from astronouth7303/events
Implementation of Event Subsystem
2016-08-27 10:12:53 -04:00
laerus
bbc965346b cleanup/tests 2016-08-27 13:51:45 +03:00
Jamie Bliss
4635b2dc0e Merge remote-tracking branch 'upstream/master' into events 2016-08-26 17:36:50 -04:00
Anthony Scopatz
9a958f2eba more expand vars 2016-08-25 00:35:02 -04:00
Jamie Bliss
4be3bf8950 Test for naming classes by string, too 2016-08-23 23:58:22 -04:00
Jamie Bliss
4ba21c9b16 Actually test event transmogrification 2016-08-23 23:54:29 -04:00
Jamie Bliss
1c1122b742 Refactor everything.
(Maybe I should have broken this up better?)
2016-08-23 23:44:05 -04:00
Jamie Bliss
2ffafe2ea6 Merge remote-tracking branch 'upstream/master' into events 2016-08-23 22:41:28 -04:00
Gil Forsyth
5c8f0354fa Merge branch 'master' into allnames 2016-08-23 08:46:25 -04:00
Anthony Scopatz
7837563baf check all names 2016-08-21 14:58:07 -04:00
BlahGeek
bf5935c3ae add more more test case 2016-08-21 20:47:13 +08:00
BlahGeek
c2a56b5bc7 fix parsing for bare tuple of tuples 2016-08-21 10:07:18 +08:00
adam j hartz
f9d4c9d3e7 better test organization 2016-08-19 16:07:08 -04:00
adam j hartz
959270c0d2 add tests 2016-08-19 15:43:26 -04:00
Anthony Scopatz
05a69358e6 another blank line 2016-08-19 12:11:37 -04:00
Anthony Scopatz
c8727f17b3 Added function arguments to scope 2016-08-19 01:45:44 -04:00
adam j hartz
71a92b4863 temporary files shouldn't cause the news-related test to break 2016-08-18 18:38:02 -04:00
Jamie Bliss
20bd3aedd7 Merge remote-tracking branch 'upstream/master' into events 2016-08-15 23:24:32 -04:00
Jamie Bliss
5141fadfb4 Do some magic to make event docstrings work 2016-08-15 23:22:19 -04:00
Jamie Bliss
81d066a341 Rename so that __call__() is to register
```
@events.on_spam
def myhandler(eggs):
    ...
```
2016-08-15 23:13:44 -04:00
Jamie Bliss
44333fdcd5 Remove problematic "loopback" event style.
This has limited use because you have to do it in such a way that different
handlers don't step on each other or blow up on input they don't understand.
The worst case is the first use-case: command preprocessing.
2016-08-15 23:03:32 -04:00
Jamie Bliss
9dcd0f9fbf Add validators, plus some clarity and PEP8 fixes 2016-08-15 22:59:30 -04:00
Anthony Scopatz
b3af85f649 Merge pull request #1520 from laerus/hist_ts
history show filter by timestamps
2016-08-12 14:30:25 +10:00
Matthias Bussonnier
3c7753f4be Fix tests, document, and make install_hook() install only once. 2016-08-10 18:20:54 -07:00
Jamie Bliss
35fca07db6 Test loading of xsh-based xontribs 2016-08-10 17:26:20 -07:00
Konstantinos Tsakiltzidis
6a44cf7f25 show timestamps option 2016-08-10 17:20:33 +03:00
Konstantinos Tsakiltzidis
f362165491 ensure_timestamp basic 2016-08-10 16:49:06 +03:00
Konstantinos Tsakiltzidis
733d871770 datetime_format arg 2016-08-09 21:26:08 +03:00
Jamie Bliss
cdd66b4511 Merge remote-tracking branch 'upstream/master' into events 2016-08-04 15:26:21 -04:00
Konstantinos Tsakiltzidis
c390021089 ensure_slice fix for -1 2016-08-04 14:14:22 +03:00
Anthony Scopatz
26ab42232a Merge pull request #1524 from astronouth7303/xontrib-all
Add support for `__all__` in xontribs
2016-08-03 10:22:21 -07:00
Jamie Bliss
5816059c3c Some fixes from the PR 2016-08-03 11:57:20 -04:00
Jamie Bliss
aac8db471a Fixed a flaw in the test setup. Tests pass now. 2016-08-03 00:42:36 -04:00
Jamie Bliss
ef51910d2e Add some tests (which are failing) 2016-08-03 00:33:39 -04:00
Konstantinos Tsakiltzidis
d3793a3f99 catch errors when calling _hist_get 2016-08-02 15:59:11 +03:00
laerus
41750045c2 ensure_timestamp p1 2016-08-01 15:01:17 +03:00
laerus
56da0e784c add timestamp option to arg parsers 2016-08-01 12:09:48 +03:00
laerus
9a233e0c95 docs fix/old test tweak 2016-07-31 02:22:26 +03:00
laerus
c063bff450 Merge branch 'master' into hist_ref 2016-07-31 01:32:40 +03:00
laerus
1a362c600b cleanup, fix for new test case 2016-07-30 23:29:53 +03:00
Jamie Bliss
9d727652c7 Fix #1513
Forgot to copy a mutated value on save. Added a test to prevent
regression.
2016-07-30 03:35:39 -04:00
laerus
14f37adf20 new failing tests for _hist_parse_args 2016-07-29 19:24:08 +03:00
laerus
d2536198ae Merge branch 'master' into hist_ref 2016-07-28 20:18:45 +03:00
Jamie Bliss
eddd11ae86 Add tests for the events system. 2016-07-28 00:42:00 -04:00
Gil Forsyth
fc3956c3fd remove unused os import 2016-07-26 14:05:01 -04:00
Gil Forsyth
afea01aefc better on_conda check that doesn't rely on which 2016-07-26 10:09:09 -04:00
Gil Forsyth
cb8ecdc440 hacky workaround for appveyor (for the moment) 2016-07-25 10:16:32 -04:00