]>
git.vpit.fr Git - perl/modules/Sub-Nary.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Vincent Pit [Thu, 21 Aug 2008 10:52:25 +0000 (12:52 +0200)]
scale() shouldn't fill {}
Vincent Pit [Thu, 21 Aug 2008 10:49:25 +0000 (12:49 +0200)]
More eval() tests
Vincent Pit [Thu, 21 Aug 2008 10:48:32 +0000 (12:48 +0200)]
When exiting a try block, the die weight must go into the list part instead of return
Vincent Pit [Thu, 21 Aug 2008 10:16:11 +0000 (12:16 +0200)]
Add support for die()
Vincent Pit [Wed, 20 Aug 2008 21:06:51 +0000 (23:06 +0200)]
POD beautification
Vincent Pit [Wed, 20 Aug 2008 21:03:58 +0000 (23:03 +0200)]
Add support for exit(). Simplify combine() so that it can handle exit/list interaction
Vincent Pit [Wed, 20 Aug 2008 19:01:20 +0000 (21:01 +0200)]
Make the sample script use B::RecDeparse when available
Vincent Pit [Wed, 20 Aug 2008 13:18:33 +0000 (15:18 +0200)]
More combine()-specific tests
Vincent Pit [Wed, 20 Aug 2008 13:10:10 +0000 (15:10 +0200)]
With cheating a bit, we get 100% XS code coverage
Vincent Pit [Wed, 20 Aug 2008 13:04:11 +0000 (15:04 +0200)]
Fix edge case in cumulate() when the coefficient is 1
Vincent Pit [Wed, 20 Aug 2008 12:58:48 +0000 (14:58 +0200)]
More XS tests
Vincent Pit [Wed, 20 Aug 2008 12:40:15 +0000 (14:40 +0200)]
Fix discrepancy between add('list',1) and add({list=>1},1) in favor of the latter
Vincent Pit [Wed, 20 Aug 2008 11:36:10 +0000 (13:36 +0200)]
An entersub has always at least a pushmark and a rv2cv
Vincent Pit [Wed, 20 Aug 2008 10:33:56 +0000 (12:33 +0200)]
add() always return a reference
Vincent Pit [Wed, 20 Aug 2008 10:22:58 +0000 (12:22 +0200)]
Get rid of Debian_CPANTS.txt
Vincent Pit [Wed, 20 Aug 2008 10:22:17 +0000 (12:22 +0200)]
Wrap hv_store{,_ent} so that we don't make the error test everywhere
Vincent Pit [Wed, 20 Aug 2008 10:01:09 +0000 (12:01 +0200)]
Correct mailing list
Vincent Pit [Sat, 16 Aug 2008 10:23:40 +0000 (12:23 +0200)]
Add tests for ||, && and //
Vincent Pit [Sat, 9 Aug 2008 10:24:31 +0000 (12:24 +0200)]
Allow returning from a scalar assignment
Vincent Pit [Fri, 8 Aug 2008 22:38:36 +0000 (00:38 +0200)]
This is 0.03
Vincent Pit [Fri, 8 Aug 2008 22:23:56 +0000 (00:23 +0200)]
Simplify pp_entersub argument list logic and improve coverage with a test
Vincent Pit [Fri, 8 Aug 2008 22:07:53 +0000 (00:07 +0200)]
Move misc XS tests to t/15-misc-xs.t, including scalops tests. Simplify pp_rv2av
Vincent Pit [Fri, 8 Aug 2008 21:30:58 +0000 (23:30 +0200)]
One more test to exaust for cases. Remove debugging cruft
Vincent Pit [Fri, 8 Aug 2008 21:20:49 +0000 (23:20 +0200)]
Test for definedness of returned values because 0 is really { 0 => 1 } in our context
Vincent Pit [Fri, 8 Aug 2008 21:18:41 +0000 (23:18 +0200)]
for/while (...) { return if } should be interpreted as 'list'
Vincent Pit [Fri, 8 Aug 2008 19:54:50 +0000 (21:54 +0200)]
Put grep/map tests into their own test file
Vincent Pit [Fri, 8 Aug 2008 19:47:52 +0000 (21:47 +0200)]
The right method to get the number of keys from a B::HV is ->KEYS
Vincent Pit [Fri, 8 Aug 2008 19:43:41 +0000 (21:43 +0200)]
Fix handling of partial returns in lists
Vincent Pit [Fri, 8 Aug 2008 19:08:32 +0000 (21:08 +0200)]
Fix a bug the handling of if (do { return if ; }) { ... }
Vincent Pit [Fri, 8 Aug 2008 18:47:29 +0000 (20:47 +0200)]
Remove the now unused list function
Vincent Pit [Fri, 8 Aug 2008 18:46:52 +0000 (20:46 +0200)]
Fix map/grep handling of returns in block with a new cumulate function
Vincent Pit [Fri, 8 Aug 2008 14:55:16 +0000 (16:55 +0200)]
Rewrite add in XS. List::Util is no longer a prerequisite
Vincent Pit [Fri, 8 Aug 2008 14:18:08 +0000 (16:18 +0200)]
Rewrite scale in XS
Vincent Pit [Fri, 8 Aug 2008 14:11:27 +0000 (16:11 +0200)]
Rewrite combine in XS
Vincent Pit [Fri, 8 Aug 2008 10:22:27 +0000 (12:22 +0200)]
Rewrite normalize in XS
Vincent Pit [Fri, 8 Aug 2008 10:05:46 +0000 (12:05 +0200)]
Rewrite list in XS
Vincent Pit [Fri, 8 Aug 2008 10:01:54 +0000 (12:01 +0200)]
Rewrite zero in XS
Vincent Pit [Fri, 8 Aug 2008 09:52:03 +0000 (11:52 +0200)]
Rewrite count in XS. List::Util::sum isn't required anymore
Vincent Pit [Thu, 7 Aug 2008 20:52:03 +0000 (22:52 +0200)]
Complete rewrite. Make the inspect process return both the ret state and the last list at each step. This lets us add map/grep support, as well as fixing lots of possible bugs with ill-placed returns
Vincent Pit [Wed, 6 Aug 2008 09:13:59 +0000 (11:13 +0200)]
Add support for grep and while. Inline expect_list into expect_any so that the pp's and the ops const hash are tried before the logop logic. Take all the kids handling out in expect_kids
Vincent Pit [Tue, 5 Aug 2008 21:55:30 +0000 (23:55 +0200)]
Add tests for delete
Vincent Pit [Tue, 5 Aug 2008 14:17:55 +0000 (16:17 +0200)]
This is 0.02
Vincent Pit [Tue, 5 Aug 2008 14:16:31 +0000 (16:16 +0200)]
Explain how we treat core functions in regard to probabilities of return
Vincent Pit [Tue, 5 Aug 2008 14:02:08 +0000 (16:02 +0200)]
Get the good count in aassign. Fixes successive arrays assignments and goatse operator. Add tests for that and more
Vincent Pit [Tue, 5 Aug 2008 13:26:19 +0000 (15:26 +0200)]
const ops are always SVOPs, so we can simplify the logic in pp_const
Vincent Pit [Tue, 5 Aug 2008 13:14:35 +0000 (15:14 +0200)]
Add support for constant ranges, and tests for kinds all ranges
Vincent Pit [Tue, 5 Aug 2008 12:38:17 +0000 (14:38 +0200)]
Add tests for end*() functions
Vincent Pit [Tue, 5 Aug 2008 12:22:14 +0000 (14:22 +0200)]
Add support and tests for the get{pw,gr,host,net,proto,serv}* functions. Move ops tests in a new t/24-ops.t file
Vincent Pit [Tue, 5 Aug 2008 10:30:57 +0000 (12:30 +0200)]
keys/values return a 'list', each return zero or two scalars
Vincent Pit [Tue, 5 Aug 2008 10:27:06 +0000 (12:27 +0200)]
stat() can also return no arguments if the file can't be found. Hopefully, our %ops hash can also hold probabilities of return. Make sure that it's duplicated when returned
Vincent Pit [Tue, 5 Aug 2008 09:54:22 +0000 (11:54 +0200)]
Add support for gmtime
Vincent Pit [Mon, 4 Aug 2008 23:11:56 +0000 (01:11 +0200)]
Test some filestat operators
Vincent Pit [Mon, 4 Aug 2008 23:08:44 +0000 (01:08 +0200)]
Also add support for stat
Vincent Pit [Mon, 4 Aug 2008 23:04:31 +0000 (01:04 +0200)]
Add support for localtime and caller
Vincent Pit [Mon, 4 Aug 2008 22:53:16 +0000 (00:53 +0200)]
POD nits
Vincent Pit [Mon, 4 Aug 2008 22:47:10 +0000 (00:47 +0200)]
readline/<> should be seen as returning a list
Vincent Pit [Mon, 4 Aug 2008 22:23:23 +0000 (00:23 +0200)]
Add a test in t/23-branch.t for the glob strange case
Vincent Pit [Mon, 4 Aug 2008 22:04:26 +0000 (00:04 +0200)]
eval '...' should be interpreted as returning a list
Vincent Pit [Mon, 4 Aug 2008 21:56:55 +0000 (23:56 +0200)]
Add support and tests for eval { }
Vincent Pit [Mon, 4 Aug 2008 21:33:37 +0000 (23:33 +0200)]
Return 'list' when we can't enter the coderef (such as calling non-overriden core functions with the CORE::GLOBAL:: prefix)
Vincent Pit [Mon, 4 Aug 2008 21:11:07 +0000 (23:11 +0200)]
We stole from B::Deparse, not Sub::Deparse
Vincent Pit [Mon, 4 Aug 2008 21:10:41 +0000 (23:10 +0200)]
We can't guess how many elements a match will return
Vincent Pit [Mon, 4 Aug 2008 21:06:35 +0000 (23:06 +0200)]
Importing Sub-Nary-0.01.tar.gz