shedskin:mainline.git
5 years agoupdate .gitignore 0.9.3
Mark Dufour [Wed, 9 Jan 2013 06:37:42 +0000 (07:37 +0100)]
update .gitignore

5 years agotests/e2: avoid printing on both sides, windows messes up streams
Mark Dufour [Sun, 6 Jan 2013 13:51:18 +0000 (14:51 +0100)]
tests/e2: avoid printing on both sides, windows messes up streams

5 years agotimsort: larger testcase, update copyright statement
Mark Dufour [Sun, 6 Jan 2013 13:14:10 +0000 (14:14 +0100)]
timsort: larger testcase, update copyright statement

5 years agodefault but unused func arg
Mark Dufour [Sun, 6 Jan 2013 10:54:36 +0000 (11:54 +0100)]
default but unused func arg

5 years agotarsalzp: improve shedskin compatibility (piotr tarsa)
Mark Dufour [Sun, 6 Jan 2013 10:28:42 +0000 (11:28 +0100)]
tarsalzp: improve shedskin compatibility (piotr tarsa)

5 years agowarning for 64-bit python on windows and extension modules
Mark Dufour [Sun, 6 Jan 2013 00:09:23 +0000 (01:09 +0100)]
warning for 64-bit python on windows and extension modules

5 years agocopy-pasto
Mark Dufour [Sat, 5 Jan 2013 23:16:12 +0000 (00:16 +0100)]
copy-pasto

5 years agoscripts/tx: turn logging back on
Mark Dufour [Sat, 5 Jan 2013 20:27:21 +0000 (21:27 +0100)]
scripts/tx: turn logging back on

5 years agomore warnings for broken python code
Mark Dufour [Sat, 5 Jan 2013 20:27:01 +0000 (21:27 +0100)]
more warnings for broken python code

5 years agoscripts/tx: bump number of tests
Mark Dufour [Sat, 5 Jan 2013 17:58:16 +0000 (18:58 +0100)]
scripts/tx: bump number of tests

5 years agoremove some dead class-level code
Mark Dufour [Sat, 5 Jan 2013 17:57:44 +0000 (18:57 +0100)]
remove some dead class-level code

5 years agoadd a few more related test cases
Mark Dufour [Sat, 5 Jan 2013 17:10:29 +0000 (18:10 +0100)]
add a few more related test cases

5 years agofix for issue 125
Mark Dufour [Sat, 5 Jan 2013 17:01:23 +0000 (18:01 +0100)]
fix for issue 125

5 years agodisco: revert to 0.3 release
Mark Dufour [Sat, 5 Jan 2013 16:42:49 +0000 (17:42 +0100)]
disco: revert to 0.3 release

5 years agorandom.expovariate behaviour changed with 2.7
Mark Dufour [Sat, 5 Jan 2013 16:15:22 +0000 (17:15 +0100)]
random.expovariate behaviour changed with 2.7

5 years agoadd test for issue 125
Mark Dufour [Sat, 5 Jan 2013 00:34:20 +0000 (01:34 +0100)]
add test for issue 125

5 years agotest: problem found compiling timsort example
Mark Dufour [Fri, 4 Jan 2013 23:26:49 +0000 (00:26 +0100)]
test: problem found compiling timsort example

5 years agonew example: timsort!
Mark Dufour [Fri, 4 Jan 2013 23:07:07 +0000 (00:07 +0100)]
new example: timsort!

5 years agostop after first libdir match, so -L overrides builtin lib/
Mark Dufour [Fri, 4 Jan 2013 20:56:16 +0000 (21:56 +0100)]
stop after first libdir match, so -L overrides builtin lib/

5 years agoavoid shedskin -a TarsaLZP crash
Mark Dufour [Fri, 4 Jan 2013 20:48:21 +0000 (21:48 +0100)]
avoid shedskin -a TarsaLZP crash

5 years agosilence GCC warning for examples/lib/serial.cpp
Mark Dufour [Fri, 4 Jan 2013 20:28:20 +0000 (21:28 +0100)]
silence GCC warning for examples/lib/serial.cpp

5 years agoadd include required by recent GCC
Mark Dufour [Fri, 4 Jan 2013 20:17:03 +0000 (21:17 +0100)]
add include required by recent GCC

5 years agopygasus: copyright statement
Mark Dufour [Fri, 4 Jan 2013 16:30:34 +0000 (17:30 +0100)]
pygasus: copyright statement

5 years agopygasus: avoid/fix corrupt column of tiles on the right
Mark Dufour [Fri, 4 Jan 2013 15:06:24 +0000 (16:06 +0100)]
pygasus: avoid/fix corrupt column of tiles on the right

5 years agotypo
Mark Dufour [Fri, 4 Jan 2013 12:22:30 +0000 (13:22 +0100)]
typo

5 years agopygasus: avoid relying on IndexError, so we can safely use -b
Mark Dufour [Thu, 3 Jan 2013 22:00:15 +0000 (23:00 +0100)]
pygasus: avoid relying on IndexError, so we can safely use -b

5 years agopygasus: fix crash 1
Mark Dufour [Wed, 2 Jan 2013 23:17:07 +0000 (00:17 +0100)]
pygasus: fix crash 1

5 years agonew example: 8 bit NES emulator
Mark Dufour [Wed, 2 Jan 2013 22:59:48 +0000 (23:59 +0100)]
new example: 8 bit NES emulator

5 years agowarn for getattr on typeless expression
Mark Dufour [Wed, 2 Jan 2013 01:26:32 +0000 (02:26 +0100)]
warn for getattr on typeless expression

5 years agoadd name to header there
Mark Dufour [Tue, 1 Jan 2013 23:55:48 +0000 (00:55 +0100)]
add name to header there

5 years agonew example: conflict-driven satisfiability solver
Mark Dufour [Tue, 1 Jan 2013 23:53:34 +0000 (00:53 +0100)]
new example: conflict-driven satisfiability solver

5 years agoforgot to replace those
Mark Dufour [Thu, 20 Dec 2012 19:02:03 +0000 (20:02 +0100)]
forgot to replace those

5 years agotwo new example programs: data compression, uncompressed PNG encoder
Mark Dufour [Thu, 20 Dec 2012 15:27:37 +0000 (16:27 +0100)]
two new example programs: data compression, uncompressed PNG encoder

5 years agobump version to 0.9.3
Mark Dufour [Thu, 20 Dec 2012 14:17:58 +0000 (15:17 +0100)]
bump version to 0.9.3

5 years agoallow 'arbitrary' code at the class level (triggered by Piotr Tarsa)
Mark Dufour [Thu, 20 Dec 2012 14:08:26 +0000 (15:08 +0100)]
allow 'arbitrary' code at the class level (triggered by Piotr Tarsa)

5 years agofix class attr warning for inheritance (triggered by piotr tarsa)
Mark Dufour [Thu, 20 Dec 2012 13:08:00 +0000 (14:08 +0100)]
fix class attr warning for inheritance (triggered by piotr tarsa)

5 years agotests/run.py -x: show checks
Mark Dufour [Thu, 20 Dec 2012 13:07:33 +0000 (14:07 +0100)]
tests/run.py -x: show checks

5 years agofix the problem, forgot to register node for inheritance
Mark Dufour [Wed, 19 Dec 2012 17:19:41 +0000 (18:19 +0100)]
fix the problem, forgot to register node for inheritance

5 years agoinheritance and generator expression problem (triggered by piotr tarsa)
Mark Dufour [Wed, 19 Dec 2012 16:26:01 +0000 (17:26 +0100)]
inheritance and generator expression problem (triggered by piotr tarsa)

5 years agostring formatting arguments with null-chars (reported by jorik blaas)
Mark Dufour [Tue, 18 Dec 2012 20:41:33 +0000 (21:41 +0100)]
string formatting arguments with null-chars (reported by jorik blaas)

5 years agolet's make this work for 0.9.3
Mark Dufour [Sat, 15 Dec 2012 15:50:05 +0000 (16:50 +0100)]
let's make this work for 0.9.3

5 years agokeep on trucking
Mark Dufour [Sat, 15 Dec 2012 15:49:14 +0000 (16:49 +0100)]
keep on trucking

5 years agooptimize array.extend (triggered by Piotr Tarsa)
Mark Dufour [Sun, 9 Dec 2012 12:33:48 +0000 (13:33 +0100)]
optimize array.extend (triggered by Piotr Tarsa)

5 years agoMerge branch 'master' of gitorious.org:shedskin/mainline
Mark Dufour [Sat, 13 Oct 2012 09:50:27 +0000 (11:50 +0200)]
Merge branch 'master' of gitorious.org:shedskin/mainline

5 years agoexamples/go_main.py: minor improvements
Mark Dufour [Sat, 13 Oct 2012 09:49:19 +0000 (11:49 +0200)]
examples/go_main.py: minor improvements

5 years agofix time crashes for default args (reported by mark perry miller)
Administrator [Sat, 22 Sep 2012 02:53:00 +0000 (10:53 +0800)]
fix time crashes for default args (reported by mark perry miller)

5 years agoimplement select.select
Danny Milosavljevic [Wed, 25 Jul 2012 10:32:37 +0000 (12:32 +0200)]
implement select.select

6 years agogo.py: seems to be working, but how well?
Mark Dufour [Thu, 7 Jun 2012 23:33:06 +0000 (01:33 +0200)]
go.py: seems to be working, but how well?

6 years agogo.py: more
Mark Dufour [Thu, 7 Jun 2012 23:03:16 +0000 (01:03 +0200)]
go.py: more

6 years agogo.py: further
Mark Dufour [Thu, 7 Jun 2012 23:01:42 +0000 (01:01 +0200)]
go.py: further

6 years agogo.py: first version working in parallel..
Mark Dufour [Thu, 7 Jun 2012 22:55:40 +0000 (00:55 +0200)]
go.py: first version working in parallel..

6 years agogo.py: further towards multiple processes
Mark Dufour [Thu, 7 Jun 2012 22:20:08 +0000 (00:20 +0200)]
go.py: further towards multiple processes

6 years agogo example: move full random playouts to extmod
Mark Dufour [Thu, 7 Jun 2012 22:01:15 +0000 (00:01 +0200)]
go example: move full random playouts to extmod

6 years agosplit up go example in two parts, hopefully to parallelize it later
Mark Dufour [Thu, 7 Jun 2012 21:50:34 +0000 (23:50 +0200)]
split up go example in two parts, hopefully to parallelize it later

6 years agogo.py: add some comments, raise GAMES for new processor
Mark Dufour [Tue, 5 Jun 2012 10:09:22 +0000 (12:09 +0200)]
go.py: add some comments, raise GAMES for new processor

6 years agogo.py: print move-format
Mark Dufour [Tue, 5 Jun 2012 09:58:51 +0000 (11:58 +0200)]
go.py: print move-format

6 years agogo.py: remove some cruft, add dead-stone-count switch
Mark Dufour [Tue, 5 Jun 2012 09:51:58 +0000 (11:51 +0200)]
go.py: remove some cruft, add dead-stone-count switch

6 years agogo.py: remove checking code as well
Mark Dufour [Tue, 5 Jun 2012 09:43:06 +0000 (11:43 +0200)]
go.py: remove checking code as well

6 years agorevert go.py to disco-0.3 version, removing experimental changes
Mark Dufour [Tue, 5 Jun 2012 09:39:59 +0000 (11:39 +0200)]
revert go.py to disco-0.3 version, removing experimental changes

6 years agoimprove include file ordering (triggered by danny)
Mark Dufour [Sun, 3 Jun 2012 18:58:22 +0000 (20:58 +0200)]
improve include file ordering (triggered by danny)

6 years agoremove further special casing for main module
Mark Dufour [Sat, 2 Jun 2012 22:48:51 +0000 (00:48 +0200)]
remove further special casing for main module

6 years agomain module was not added to cache (reported by badamomike)
Mark Dufour [Fri, 1 Jun 2012 16:09:44 +0000 (18:09 +0200)]
main module was not added to cache (reported by badamomike)

6 years agobetter yet, make it trigger a shedskin warning and add a test
Mark Dufour [Tue, 29 May 2012 21:29:30 +0000 (23:29 +0200)]
better yet, make it trigger a shedskin warning and add a test

6 years agoinstance variable may not exist at all if no type flows to it (reported by danny)
Mark Dufour [Tue, 29 May 2012 21:05:53 +0000 (23:05 +0200)]
instance variable may not exist at all if no type flows to it (reported by danny)

6 years agosome more GCC 4.7 fixes. all tests pass now
Mark Dufour [Fri, 11 May 2012 21:04:50 +0000 (23:04 +0200)]
some more GCC 4.7 fixes. all tests pass now

6 years agoinclude unistd.h for defining ftruncate (thomas spura)
Thomas Spura [Fri, 11 May 2012 21:04:08 +0000 (23:04 +0200)]
include unistd.h for defining ftruncate (thomas spura)

6 years agoupdate README, testprogs.py for rubik2
Mark Dufour [Sun, 6 May 2012 17:16:19 +0000 (19:16 +0200)]
update README, testprogs.py for rubik2

6 years agorubik2: exactly 100 lines
Mark Dufour [Sun, 6 May 2012 17:14:31 +0000 (19:14 +0200)]
rubik2: exactly 100 lines

6 years agorubik2: split applicable moves for readability
Mark Dufour [Sun, 6 May 2012 17:02:46 +0000 (19:02 +0200)]
rubik2: split applicable moves for readability

6 years agonew -g option, to disable GC warnings
Mark Dufour [Sun, 6 May 2012 16:54:13 +0000 (18:54 +0200)]
new -g option, to disable GC warnings

6 years agorubik2: move stuff into cube_state class
Mark Dufour [Sun, 6 May 2012 15:32:26 +0000 (17:32 +0200)]
rubik2: move stuff into cube_state class

6 years agorubik2: first clean up, attribution
Mark Dufour [Sun, 6 May 2012 15:26:13 +0000 (17:26 +0200)]
rubik2: first clean up, attribution

6 years agorubik2: remove visualization. seems to work well for different shuffles now
Mark Dufour [Sun, 6 May 2012 14:15:13 +0000 (16:15 +0200)]
rubik2: remove visualization. seems to work well for different shuffles now

6 years agorubik2: improve intermediate output
Mark Dufour [Sun, 6 May 2012 01:09:13 +0000 (03:09 +0200)]
rubik2: improve intermediate output

6 years agorubik2: fix mapping
Mark Dufour [Sun, 6 May 2012 00:30:59 +0000 (02:30 +0200)]
rubik2: fix mapping

6 years agorubik2: improve output a bit
Mark Dufour [Sat, 5 May 2012 23:16:38 +0000 (01:16 +0200)]
rubik2: improve output a bit

6 years agorubik2: and a complete solution.. let's see if it's correct
Mark Dufour [Sat, 5 May 2012 23:00:43 +0000 (01:00 +0200)]
rubik2: and a complete solution.. let's see if it's correct

6 years agorubik2: found possible solution for phase 2
Mark Dufour [Sat, 5 May 2012 22:25:58 +0000 (00:25 +0200)]
rubik2: found possible solution for phase 2

6 years agorubik2: randomization, orient edges phase
Mark Dufour [Sat, 5 May 2012 21:27:48 +0000 (23:27 +0200)]
rubik2: randomization, orient edges phase

6 years agostart of more optimal rubik solver (facelet permutations, visualization)
Mark Dufour [Sat, 5 May 2012 18:29:04 +0000 (20:29 +0200)]
start of more optimal rubik solver (facelet permutations, visualization)

6 years agofix circle example, change in pygame perhaps 0.9.2
Mark Dufour [Sat, 5 May 2012 17:16:23 +0000 (19:16 +0200)]
fix circle example, change in pygame perhaps

6 years agoman page update
Mark Dufour [Sat, 5 May 2012 14:04:04 +0000 (16:04 +0200)]
man page update

6 years agobump version to 0.9.2
Mark Dufour [Sat, 5 May 2012 11:35:00 +0000 (13:35 +0200)]
bump version to 0.9.2

6 years agohopefully fix another problem with GCC 4.7 and __divs (reported by mos4567)
Mark Dufour [Sat, 5 May 2012 11:29:30 +0000 (13:29 +0200)]
hopefully fix another problem with GCC 4.7 and __divs (reported by mos4567)

6 years agoshift some code to make ___min declared before using it (reported by mos4567)
Mark Dufour [Sat, 5 May 2012 11:16:20 +0000 (13:16 +0200)]
shift some code to make ___min declared before using it (reported by mos4567)

6 years agoprobable fix for GCC 4.7 (reported by mos4567)
Mark Dufour [Sat, 5 May 2012 10:56:58 +0000 (12:56 +0200)]
probable fix for GCC 4.7 (reported by mos4567)

6 years agonew example: rubik cube solver (author unknown)
Mark Dufour [Thu, 3 May 2012 20:28:34 +0000 (22:28 +0200)]
new example: rubik cube solver (author unknown)

6 years agoadd stereo example to testprogs.py
Mark Dufour [Mon, 30 Apr 2012 14:31:55 +0000 (16:31 +0200)]
add stereo example to testprogs.py

6 years agooptimize bool(list) a bit (triggered by ecir hana)
Mark Dufour [Thu, 26 Apr 2012 14:34:57 +0000 (16:34 +0200)]
optimize bool(list) a bit (triggered by ecir hana)

6 years agooptimize list.pop without args (triggered by ecir hana)
Mark Dufour [Thu, 26 Apr 2012 13:59:12 +0000 (15:59 +0200)]
optimize list.pop without args (triggered by ecir hana)

6 years agopopen2 actually accepts an iterable
Mark Dufour [Wed, 11 Apr 2012 22:26:50 +0000 (00:26 +0200)]
popen2 actually accepts an iterable

6 years agopopen2 accepts other sequence types, so use pyseq
Mark Dufour [Wed, 11 Apr 2012 20:33:47 +0000 (22:33 +0200)]
popen2 accepts other sequence types, so use pyseq

6 years agofix for os.popen2 (danny milosavljevic)
Danny Milosavljevic [Wed, 11 Apr 2012 20:26:16 +0000 (22:26 +0200)]
fix for os.popen2 (danny milosavljevic)

6 years agoupdate README for that
Mark Dufour [Wed, 28 Mar 2012 11:10:13 +0000 (13:10 +0200)]
update README for that

6 years agonew example: stereo computer vision (james coughlan)
Mark Dufour [Wed, 28 Mar 2012 11:07:47 +0000 (13:07 +0200)]
new example: stereo computer vision (james coughlan)

6 years agoignore test 172 for now
Mark Dufour [Wed, 28 Mar 2012 10:27:17 +0000 (12:27 +0200)]
ignore test 172 for now

6 years agosort class names in warning, useful for automated testing
Mark Dufour [Wed, 28 Mar 2012 10:26:55 +0000 (12:26 +0200)]
sort class names in warning, useful for automated testing

6 years agotest 'unsupported struct.unpack usage' warnings
Mark Dufour [Wed, 28 Mar 2012 09:56:58 +0000 (11:56 +0200)]
test 'unsupported struct.unpack usage' warnings

6 years agomerge Discard visiting code
Mark Dufour [Tue, 27 Mar 2012 23:52:44 +0000 (01:52 +0200)]
merge Discard visiting code

6 years agogetmv() already points to inherited context..
Mark Dufour [Tue, 27 Mar 2012 23:29:42 +0000 (01:29 +0200)]
getmv() already points to inherited context..