shedskin:mainline.git
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..

6 years agooptimize array slicing (reported by Francesco Frassinelli)
Mark Dufour [Sun, 25 Mar 2012 19:08:35 +0000 (21:08 +0200)]
optimize array slicing (reported by Francesco Frassinelli)

6 years agofix that; merge Discard-visiting code later!
Mark Dufour [Sat, 10 Mar 2012 11:54:40 +0000 (12:54 +0100)]
fix that; merge Discard-visiting code later!

6 years agoadd two more problems to test 199 (reported by francesco frassinelli)
Mark Dufour [Sat, 10 Mar 2012 11:11:57 +0000 (12:11 +0100)]
add two more problems to test 199 (reported by francesco frassinelli)

6 years agoavoid abstract 'object' type and hidden warnings (triggered by wilkin ng)
Mark Dufour [Fri, 9 Mar 2012 22:59:30 +0000 (23:59 +0100)]
avoid abstract 'object' type and hidden warnings (triggered by wilkin ng)

6 years agobump tx.py to 200, change comment in test 199
Mark Dufour [Fri, 9 Mar 2012 18:48:24 +0000 (19:48 +0100)]
bump tx.py to 200, change comment in test 199

6 years agouse template<> inline in header file to avoid multiple definitions (triggered by...
Mark Dufour [Fri, 9 Mar 2012 11:35:49 +0000 (12:35 +0100)]
use template<> inline in header file to avoid multiple definitions (triggered by wilkin ng)

6 years agodetermine correct context for lookupclass (reported by wilkin ng). find similar cases...
Mark Dufour [Fri, 9 Mar 2012 11:19:20 +0000 (12:19 +0100)]
determine correct context for lookupclass (reported by wilkin ng). find similar cases later!

6 years agonew test: Line() seems unrecognized in inherited context (triggered by wilkin ng)
Mark Dufour [Thu, 8 Mar 2012 17:06:47 +0000 (18:06 +0100)]
new test: Line() seems unrecognized in inherited context (triggered by wilkin ng)

6 years agodon't change test.py
Mark Dufour [Tue, 21 Feb 2012 12:39:09 +0000 (13:39 +0100)]
don't change test.py

6 years agoavoid crashes in virtual.py (reported by danny milosavljevic)
Mark Dufour [Tue, 21 Feb 2012 12:37:52 +0000 (13:37 +0100)]
avoid crashes in virtual.py (reported by danny milosavljevic)

6 years agoalso model __eq__ for list.{index, count, remove}
Mark Dufour [Tue, 7 Feb 2012 17:08:58 +0000 (18:08 +0100)]
also model __eq__ for list.{index, count, remove}

6 years ago__contains__ should model __eq__.. (reported by tony)
Mark Dufour [Sun, 5 Feb 2012 13:20:56 +0000 (14:20 +0100)]
__contains__ should model __eq__.. (reported by tony)

6 years agofloat.is_integer (triggered by tony veijalainen)
Mark Dufour [Fri, 3 Feb 2012 10:58:20 +0000 (11:58 +0100)]
float.is_integer (triggered by tony veijalainen)

6 years agoforgot to add test
Mark Dufour [Fri, 3 Feb 2012 10:15:47 +0000 (11:15 +0100)]
forgot to add test

6 years agouse long long in pow() internally (reported by tony veijalainen)
Mark Dufour [Fri, 3 Feb 2012 10:08:14 +0000 (11:08 +0100)]
use long long in pow() internally (reported by tony veijalainen)

6 years agofix set.__isub__ as well
Mark Dufour [Tue, 31 Jan 2012 14:03:32 +0000 (15:03 +0100)]
fix set.__isub__ as well

6 years agoset.__ior__ etc. modeling fix (triggered by william edwards)
Mark Dufour [Tue, 31 Jan 2012 11:16:49 +0000 (12:16 +0100)]
set.__ior__ etc. modeling fix (triggered by william edwards)

6 years agonow improve array.__getitem__ itself.. ;-) (again triggered by raphael)
Mark Dufour [Sat, 21 Jan 2012 21:52:51 +0000 (22:52 +0100)]
now improve array.__getitem__ itself.. ;-) (again triggered by raphael)

6 years agoimprove inlining for array.__getitem__ (triggered by raphael)
Mark Dufour [Fri, 20 Jan 2012 11:00:11 +0000 (12:00 +0100)]
improve inlining for array.__getitem__ (triggered by raphael)

6 years agoman page bump version
Mark Dufour [Sat, 14 Jan 2012 21:55:35 +0000 (22:55 +0100)]
man page bump version

6 years agonow a wiki page
Mark Dufour [Sat, 14 Jan 2012 21:55:02 +0000 (22:55 +0100)]
now a wiki page

6 years agobump version in setup.py
Mark Dufour [Sat, 14 Jan 2012 21:53:46 +0000 (22:53 +0100)]
bump version in setup.py

6 years agoignore 0.9.1
Mark Dufour [Sat, 14 Jan 2012 19:52:08 +0000 (20:52 +0100)]
ignore

6 years agobump version to 0.9.1
Mark Dufour [Sat, 14 Jan 2012 19:28:49 +0000 (20:28 +0100)]
bump version to 0.9.1

6 years agoforgot to add it here
Mark Dufour [Sat, 14 Jan 2012 19:27:15 +0000 (20:27 +0100)]
forgot to add it here

6 years agomake things measurable
Mark Dufour [Sat, 14 Jan 2012 19:26:39 +0000 (20:26 +0100)]
make things measurable

6 years agoprint which file is scaled
Mark Dufour [Sat, 14 Jan 2012 19:17:27 +0000 (20:17 +0100)]
print which file is scaled

6 years agonew example: hq2x pixel art scaling
Mark Dufour [Sat, 14 Jan 2012 19:10:15 +0000 (20:10 +0100)]
new example: hq2x pixel art scaling

6 years agosome sys.exit fixes, plus tests (problem reported by rodseth)
Mark Dufour [Wed, 4 Jan 2012 20:33:09 +0000 (21:33 +0100)]
some sys.exit fixes, plus tests (problem reported by rodseth)

6 years agosame trick for productiter<T,U>
Mark Dufour [Sun, 18 Dec 2011 15:13:09 +0000 (16:13 +0100)]
same trick for productiter<T,U>

6 years agoapparently we need -lcrypto these days
Mark Dufour [Fri, 16 Dec 2011 22:23:35 +0000 (23:23 +0100)]
apparently we need -lcrypto these days

6 years agoand fix that
Mark Dufour [Fri, 16 Dec 2011 20:26:58 +0000 (21:26 +0100)]
and fix that

6 years agonew test case from c64 example svn
Mark Dufour [Fri, 16 Dec 2011 19:58:02 +0000 (20:58 +0100)]
new test case from c64 example svn

6 years agoprint elapsed time after errors
Mark Dufour [Thu, 15 Dec 2011 21:38:57 +0000 (22:38 +0100)]
print elapsed time after errors

6 years agooptimize itertools.product<T,T> by allocating tuples in batches
Mark Dufour [Wed, 14 Dec 2011 15:51:25 +0000 (16:51 +0100)]
optimize itertools.product<T,T> by allocating tuples in batches

6 years agospeed up tuple filling in itertools.product
Mark Dufour [Wed, 14 Dec 2011 15:07:17 +0000 (16:07 +0100)]
speed up tuple filling in itertools.product

6 years agoimprove extmod 'cannot export' warnings (triggered by paul boddie)
Mark Dufour [Wed, 14 Dec 2011 13:47:37 +0000 (14:47 +0100)]
improve extmod 'cannot export' warnings (triggered by paul boddie)

6 years agoavoid __join_cache.__getitem__
Mark Dufour [Sat, 10 Dec 2011 12:01:49 +0000 (13:01 +0100)]
avoid __join_cache.__getitem__

6 years agomerge join cruft into single template method, in preparation of some optizations
Mark Dufour [Sat, 10 Dec 2011 11:44:45 +0000 (12:44 +0100)]
merge join cruft into single template method, in preparation of some optizations

6 years agooptimize __ne(str *, str*) - how about a 'final' keyword or completely avoiding inher...
Mark Dufour [Sat, 10 Dec 2011 10:23:38 +0000 (11:23 +0100)]
optimize __ne(str *, str*) - how about a 'final' keyword or completely avoiding inheritance from pyobj?

6 years agoplus test
Mark Dufour [Thu, 8 Dec 2011 19:52:12 +0000 (20:52 +0100)]
plus test

6 years agoMerge commit 'refs/merge-requests/1' of git://gitorious.org/shedskin/mainline into...
Mark Dufour [Thu, 8 Dec 2011 19:46:34 +0000 (20:46 +0100)]
Merge commit 'refs/merge-requests/1' of git://gitorious.org/shedskin/mainline into merge-requests/1

6 years agoadd a test for that
Mark Dufour [Thu, 8 Dec 2011 19:34:58 +0000 (20:34 +0100)]
add a test for that

6 years agoBuiltin os.listdir: fixed the unchecked result of the call to opendir(3).
Pierre-Marie de Rodat [Thu, 8 Dec 2011 10:31:01 +0000 (11:31 +0100)]
Builtin os.listdir: fixed the unchecked result of the call to opendir(3).

opendir can sometimes return 0 (if it cannot read the directory, because of
permissions or if the directory does not exist). When this happens, readdir(3)
must not be called, but an OSError must immediately be thrown.

6 years agomissing izip constructor for when iterables have the same type 1
Jérémie Roquet [Thu, 8 Dec 2011 14:33:02 +0000 (15:33 +0100)]
missing izip constructor for when iterables have the same type

6 years agocleanup man page (triggered by paul boddie)
Mark Dufour [Mon, 28 Nov 2011 20:07:26 +0000 (21:07 +0100)]
cleanup man page (triggered by paul boddie)

6 years agoremove gc, random seed cruft (triggered by paul boddie)
Mark Dufour [Mon, 28 Nov 2011 19:35:13 +0000 (20:35 +0100)]
remove gc, random seed cruft (triggered by paul boddie)

6 years agosupport /etc/shedskin/FLAGS and /usr/share/shedskin/lib (triggered by paul boddie)
Mark Dufour [Mon, 28 Nov 2011 19:33:54 +0000 (20:33 +0100)]
support /etc/shedskin/FLAGS and /usr/share/shedskin/lib (triggered by paul boddie)

6 years agoMerge branch 'master' of gitorious.org:shedskin/mainline
Mark Dufour [Tue, 1 Nov 2011 15:31:09 +0000 (16:31 +0100)]
Merge branch 'master' of gitorious.org:shedskin/mainline

6 years agomsvc doesn't like ssize_t, and it's not needed even (triggered by liu zhenhai)
Mark Dufour [Tue, 1 Nov 2011 15:30:09 +0000 (16:30 +0100)]
msvc doesn't like ssize_t, and it's not needed even (triggered by liu zhenhai)

6 years agofix copy-paste (liu zhenhai)
Mark Dufour [Mon, 24 Oct 2011 15:46:26 +0000 (17:46 +0200)]
fix copy-paste (liu zhenhai)

6 years agoimprove makefile.py for msvc (liuzhenhai)
Mark Dufour [Mon, 24 Oct 2011 09:28:24 +0000 (11:28 +0200)]
improve makefile.py for msvc (liuzhenhai)

6 years agoimprove FLAGS.msvc (note two env vars need to be set) (liuzhenhai)
Mark Dufour [Mon, 24 Oct 2011 08:56:32 +0000 (10:56 +0200)]
improve FLAGS.msvc (note two env vars need to be set) (liuzhenhai)

6 years agoignore tests/198
Mark Dufour [Mon, 24 Oct 2011 08:44:10 +0000 (10:44 +0200)]
ignore tests/198

6 years agoos.popen2(list(str),..) (issue 158)
Mark Dufour [Tue, 11 Oct 2011 16:17:46 +0000 (18:17 +0200)]
os.popen2(list(str),..) (issue 158)

6 years agofix ConfigParser return value models (issue 157)
Mark Dufour [Tue, 11 Oct 2011 16:00:30 +0000 (18:00 +0200)]
fix ConfigParser return value models (issue 157)

6 years agogenerate error when using 'exec' (issue 156)
Mark Dufour [Tue, 11 Oct 2011 15:07:27 +0000 (17:07 +0200)]
generate error when using 'exec' (issue 156)

6 years agolast character of file could disappear in annotation (will varfar)
Mark Dufour [Tue, 11 Oct 2011 14:32:24 +0000 (16:32 +0200)]
last character of file could disappear in annotation (will varfar)

6 years agoextmod fix for MSVC (liu zhenhai)
Mark Dufour [Tue, 11 Oct 2011 14:17:02 +0000 (16:17 +0200)]
extmod fix for MSVC (liu zhenhai)

6 years agoenumerate 'start' argument (new in 2.6)
Mark Dufour [Mon, 26 Sep 2011 20:18:59 +0000 (22:18 +0200)]
enumerate 'start' argument (new in 2.6)

6 years agoupdate man page
Mark Dufour [Sat, 24 Sep 2011 20:19:02 +0000 (22:19 +0200)]
update man page

6 years agoadd test case for that to tests/198.py
Mark Dufour [Sat, 24 Sep 2011 19:41:41 +0000 (21:41 +0200)]
add test case for that to tests/198.py

6 years agosafe __NOT() macro expansion. Triggered by LiuZhenhai
=François Boutines [Sat, 24 Sep 2011 14:07:24 +0000 (16:07 +0200)]
safe __NOT() macro expansion. Triggered by LiuZhenhai

7 years ago-L option to add custom library directories (Artem Egorkine)
Artem Egorkine [Tue, 13 Sep 2011 19:00:51 +0000 (21:00 +0200)]
-L option to add custom library directories (Artem Egorkine)

7 years agowindows fix
Mark Dufour [Sat, 10 Sep 2011 09:49:11 +0000 (11:49 +0200)]
windows fix

7 years ago"MIT license" is ambiguous -> we were actually using "Expat license" 0.9
Mark Dufour [Sat, 10 Sep 2011 08:41:27 +0000 (10:41 +0200)]
"MIT license" is ambiguous -> we were actually using "Expat license"

7 years agoterminate after hitting max nr of iterations 3 times
Mark Dufour [Sat, 10 Sep 2011 08:16:04 +0000 (10:16 +0200)]
terminate after hitting max nr of iterations 3 times

7 years agodatetime: win32 fix
Mark Dufour [Fri, 9 Sep 2011 12:04:06 +0000 (14:04 +0200)]
datetime: win32 fix

7 years agommap: win32 needs default_2
Mark Dufour [Fri, 9 Sep 2011 10:58:20 +0000 (12:58 +0200)]
mmap: win32 needs default_2

7 years agouse var.cpp_name in copy_
Mark Dufour [Wed, 7 Sep 2011 15:57:20 +0000 (17:57 +0200)]
use var.cpp_name in copy_

7 years agobreak out special case from cpp_name
Mark Dufour [Wed, 7 Sep 2011 14:44:41 +0000 (16:44 +0200)]
break out special case from cpp_name

7 years agomore of that
Mark Dufour [Wed, 7 Sep 2011 13:22:43 +0000 (15:22 +0200)]
more of that

7 years agosome more cpp_name cleanage
Mark Dufour [Wed, 7 Sep 2011 13:04:57 +0000 (15:04 +0200)]
some more cpp_name cleanage

7 years agoimprove and use variable.cpp_name more
Mark Dufour [Mon, 5 Sep 2011 18:57:23 +0000 (20:57 +0200)]
improve and use variable.cpp_name more

7 years agocleanup: add class_.cpp_name method
Mark Dufour [Sun, 4 Sep 2011 20:35:44 +0000 (22:35 +0200)]
cleanup: add class_.cpp_name method

7 years agocleanup: replace if-elif construction with dict
Mark Dufour [Sun, 4 Sep 2011 20:13:14 +0000 (22:13 +0200)]
cleanup: replace if-elif construction with dict

7 years agoremove senseless comment
Mark Dufour [Sun, 4 Sep 2011 16:33:48 +0000 (18:33 +0200)]
remove senseless comment

7 years agoa bit more of that
Mark Dufour [Sat, 3 Sep 2011 18:06:19 +0000 (20:06 +0200)]
a bit more of that

7 years agonow that FOR_IN_DICT uses dict::next, we need to use __ss_int for 'pos'
Mark Dufour [Sat, 3 Sep 2011 16:56:40 +0000 (18:56 +0200)]
now that FOR_IN_DICT uses dict::next, we need to use __ss_int for 'pos'

7 years agoupdate tx.py
Mark Dufour [Sat, 3 Sep 2011 12:02:08 +0000 (14:02 +0200)]
update tx.py