shedskin:macuserss-mainline.git
6 years agoreplace rm pygame* by rm hashlib* 0.7.1
mark dufour [Sat, 19 Feb 2011 13:55:30 +0000 (14:55 +0100)]
replace rm pygame* by rm hashlib*

6 years agocompile first, then import..
mark dufour [Sat, 19 Feb 2011 12:03:15 +0000 (13:03 +0100)]
compile first, then import..

6 years agobump version number to 0.7.1
mark dufour [Sat, 19 Feb 2011 10:33:12 +0000 (11:33 +0100)]
bump version number to 0.7.1

6 years agorun with PyPy; add -p option to generate PyPy-friendly extension module (Victor Garcia)
mark dufour [Wed, 26 Jan 2011 13:01:16 +0000 (14:01 +0100)]
run with PyPy; add -p option to generate PyPy-friendly extension module (Victor Garcia)

6 years agoPy_DECREF intermediate objects in dict/set conversion
mark dufour [Wed, 26 Jan 2011 11:43:26 +0000 (12:43 +0100)]
Py_DECREF intermediate objects in dict/set conversion

6 years agotest list(double) just in case
mark dufour [Wed, 26 Jan 2011 11:37:48 +0000 (12:37 +0100)]
test list(double) just in case

6 years agoincrease leakage test coverage - found another leak
mark dufour [Wed, 26 Jan 2011 11:10:33 +0000 (12:10 +0100)]
increase leakage test coverage - found another leak

6 years agomove leakage test to own dir
mark dufour [Wed, 26 Jan 2011 11:05:38 +0000 (12:05 +0100)]
move leakage test to own dir

6 years agomore general fix: increase refcount when obtaining object through proxy
mark dufour [Wed, 26 Jan 2011 10:57:33 +0000 (11:57 +0100)]
more general fix: increase refcount when obtaining object through proxy

6 years agoadd some more tests to that
mark dufour [Wed, 26 Jan 2011 10:24:02 +0000 (11:24 +0100)]
add some more tests to that

6 years agonew gc/refcount/leakage extmod test
mark dufour [Wed, 26 Jan 2011 10:20:38 +0000 (11:20 +0100)]
new gc/refcount/leakage extmod test

6 years agofix memory leak for fysphun example, test others later
mark dufour [Mon, 24 Jan 2011 20:17:11 +0000 (21:17 +0100)]
fix memory leak for fysphun example, test others later

6 years agoai, apparently this broke after the dict rewrite
mark dufour [Sun, 23 Jan 2011 18:07:37 +0000 (19:07 +0100)]
ai, apparently this broke after the dict rewrite

6 years ago"everything not tested is broken" :-/
mark dufour [Sun, 23 Jan 2011 17:37:28 +0000 (18:37 +0100)]
"everything not tested is broken" :-/

6 years agoremove byte string literal, seems not needed
Mark Dufour [Sat, 15 Jan 2011 11:44:08 +0000 (12:44 +0100)]
remove byte string literal, seems not needed

6 years agofinally add warning for tuples > 2 and different types of elems
Mark Dufour [Sat, 15 Jan 2011 10:25:25 +0000 (11:25 +0100)]
finally add warning for tuples > 2 and different types of elems

6 years agofinish off this series with 'reduce'
Mark Dufour [Sun, 9 Jan 2011 20:17:07 +0000 (21:17 +0100)]
finish off this series with 'reduce'

6 years agoc64 example: avoid calling overlays.values() all the time
Mark Dufour [Sun, 9 Jan 2011 16:28:31 +0000 (17:28 +0100)]
c64 example: avoid calling overlays.values() all the time

6 years agomodernize/optimize map and filter
Mark Dufour [Sun, 9 Jan 2011 15:27:25 +0000 (16:27 +0100)]
modernize/optimize map and filter

6 years agoreorganize zip(a,b) a bit, and copy approach for zip(a,b,c)
Mark Dufour [Sun, 9 Jan 2011 13:49:24 +0000 (14:49 +0100)]
reorganize zip(a,b) a bit, and copy approach for zip(a,b,c)

6 years agoavoid some tests with -n option, as sys.exit gets in the way
Mark Dufour [Sat, 8 Jan 2011 20:10:02 +0000 (21:10 +0100)]
avoid some tests with -n option, as sys.exit gets in the way

6 years agoadd -u option to scripts, to test shedskin -e for all tests
Mark Dufour [Sat, 8 Jan 2011 19:21:36 +0000 (20:21 +0100)]
add -u option to scripts, to test shedskin -e for all tests

6 years ago"fix" final few tests that fail with -e
Mark Dufour [Sat, 8 Jan 2011 18:56:29 +0000 (19:56 +0100)]
"fix" final few tests that fail with -e

6 years agoforgot to use clname() for number-types
Mark Dufour [Sat, 8 Jan 2011 16:44:38 +0000 (17:44 +0100)]
forgot to use clname() for number-types

6 years agomake class names globally unique in extmods, and remove unneeded cl.cpp_name
Mark Dufour [Sat, 8 Jan 2011 16:26:24 +0000 (17:26 +0100)]
make class names globally unique in extmods, and remove unneeded cl.cpp_name

6 years agolist binaries and *.ss.py in .gitignore
Mark Dufour [Sat, 8 Jan 2011 13:50:54 +0000 (14:50 +0100)]
list binaries and *.ss.py in .gitignore

6 years agoc64 example: pull fix for cursor
Mark Dufour [Sat, 8 Jan 2011 13:34:31 +0000 (14:34 +0100)]
c64 example: pull fix for cursor

6 years agoc64 example: remove some references to removed timer module
Mark Dufour [Sat, 8 Jan 2011 09:49:36 +0000 (10:49 +0100)]
c64 example: remove some references to removed timer module

6 years agoc64 example: timer module unused
Mark Dufour [Fri, 7 Jan 2011 21:23:11 +0000 (22:23 +0100)]
c64 example: timer module unused

6 years agoc64 example: fixed number of iterations for timing purposes
Mark Dufour [Fri, 7 Jan 2011 21:16:44 +0000 (22:16 +0100)]
c64 example: fixed number of iterations for timing purposes

6 years agoc64 example: now works again with shedskin
Mark Dufour [Fri, 7 Jan 2011 21:05:40 +0000 (22:05 +0100)]
c64 example: now works again with shedskin

6 years agoc64 example: simplify pausing, uh, I think
Mark Dufour [Fri, 7 Jan 2011 20:45:14 +0000 (21:45 +0100)]
c64 example: simplify pausing, uh, I think

6 years agoc64 example: close button doesn't work, remove it
Mark Dufour [Fri, 7 Jan 2011 20:40:01 +0000 (21:40 +0100)]
c64 example: close button doesn't work, remove it

6 years agoc64 example: avoid buttons stealing focus
Mark Dufour [Fri, 7 Jan 2011 20:38:26 +0000 (21:38 +0100)]
c64 example: avoid buttons stealing focus

6 years agoc64 example: better support controls
Mark Dufour [Fri, 7 Jan 2011 20:29:46 +0000 (21:29 +0100)]
c64 example: better support controls

6 years agobetter export exception descendants
Mark Dufour [Fri, 7 Jan 2011 20:29:10 +0000 (21:29 +0100)]
better export exception descendants

6 years agoc64 example: sync with author's version
Mark Dufour [Fri, 7 Jan 2011 20:15:28 +0000 (21:15 +0100)]
c64 example: sync with author's version

6 years agoavoid problem with -a option
Mark Dufour [Wed, 5 Jan 2011 14:59:42 +0000 (15:59 +0100)]
avoid problem with -a option

6 years agomsp_ss: don't import, know problem with exporting exceptions
Mark Dufour [Tue, 4 Jan 2011 21:36:21 +0000 (22:36 +0100)]
msp_ss: don't import, know problem with exporting exceptions

6 years agofile.tell returns __ss_int
Mark Dufour [Tue, 4 Jan 2011 18:50:38 +0000 (19:50 +0100)]
file.tell returns __ss_int

6 years agoadd pylot and c64 examples to testprogs.py
Mark Dufour [Tue, 4 Jan 2011 18:50:06 +0000 (19:50 +0100)]
add pylot and c64 examples to testprogs.py

6 years agore-optimize zip with new type of pyseq check
Mark Dufour [Tue, 4 Jan 2011 17:45:26 +0000 (18:45 +0100)]
re-optimize zip with new type of pyseq check

6 years agoadd rsync to scripts/testprogs.py
Mark Dufour [Tue, 4 Jan 2011 12:35:10 +0000 (13:35 +0100)]
add rsync to scripts/testprogs.py

6 years agomove patch files to testdata/ for rsync example
Mark Dufour [Tue, 4 Jan 2011 12:34:22 +0000 (13:34 +0100)]
move patch files to testdata/ for rsync example

6 years agohashlib.md5 implementation via openssl/md5 for rsync example
Mark Dufour [Tue, 4 Jan 2011 12:31:28 +0000 (13:31 +0100)]
hashlib.md5 implementation via openssl/md5 for rsync example

6 years agoadd link to rsync example
Mark Dufour [Tue, 4 Jan 2011 12:04:05 +0000 (13:04 +0100)]
add link to rsync example

6 years agonew (simple) example: rsync algorithm
Mark Dufour [Tue, 4 Jan 2011 12:00:41 +0000 (13:00 +0100)]
new (simple) example: rsync algorithm

6 years agoreplace calls tuple2.append in serial.cpp
Mark Dufour [Mon, 3 Jan 2011 17:35:49 +0000 (18:35 +0100)]
replace calls tuple2.append in serial.cpp

6 years agodon't bork on functions in analyze_virtuals
Mark Dufour [Mon, 3 Jan 2011 16:41:57 +0000 (17:41 +0100)]
don't bork on functions in analyze_virtuals

6 years agotuple2 has no 'append' method anymore
srepmub [Sat, 1 Jan 2011 17:51:18 +0000 (18:51 +0100)]
tuple2 has no 'append' method anymore

6 years agoMerge branch 'master' of gitorious.org:shedskin/mainline
Mark Dufour [Thu, 30 Dec 2010 14:05:17 +0000 (15:05 +0100)]
Merge branch 'master' of gitorious.org:shedskin/mainline

6 years agoremove (seemingly obsolete) check for 'next' variable in generator
Mark Dufour [Thu, 30 Dec 2010 14:04:02 +0000 (15:04 +0100)]
remove (seemingly obsolete) check for 'next' variable in generator

6 years agowith FOR_IN gone, we can simplify a few things
srepmub [Sat, 25 Dec 2010 17:06:50 +0000 (18:06 +0100)]
with FOR_IN gone, we can simplify a few things

6 years agoremove last usage of FOR_IN, and FOR_IN define
srepmub [Sat, 25 Dec 2010 15:41:18 +0000 (16:41 +0100)]
remove last usage of FOR_IN, and FOR_IN define

6 years agoand a few more of those
Mark Dufour [Thu, 23 Dec 2010 22:06:41 +0000 (23:06 +0100)]
and a few more of those

6 years agoreplace some more usage of FOR_IN(_SEQ)
Mark Dufour [Thu, 23 Dec 2010 20:11:09 +0000 (21:11 +0100)]
replace some more usage of FOR_IN(_SEQ)

6 years ago__contains__ fallback to __iter__
Mark Dufour [Wed, 22 Dec 2010 23:24:44 +0000 (00:24 +0100)]
__contains__ fallback to __iter__

6 years agoreplace some uses of the deprecated FOR_IN macro
Mark Dufour [Wed, 22 Dec 2010 22:58:40 +0000 (23:58 +0100)]
replace some uses of the deprecated FOR_IN macro

6 years agopush down 'units' from pyseq, and tuple2<A, B> should probably not be a sequence
Mark Dufour [Wed, 22 Dec 2010 17:37:43 +0000 (18:37 +0100)]
push down 'units' from pyseq, and tuple2<A, B> should probably not be a sequence

6 years agomake seqiter behave, so striter can go
Mark Dufour [Wed, 22 Dec 2010 16:17:18 +0000 (17:17 +0100)]
make seqiter behave, so striter can go

6 years agoadd pycall base classes, test usage for max key arg
Mark Dufour [Wed, 22 Dec 2010 15:35:49 +0000 (16:35 +0100)]
add pycall base classes, test usage for max key arg

6 years agoreset test.py, hm
Mark Dufour [Wed, 22 Dec 2010 15:19:02 +0000 (16:19 +0100)]
reset test.py, hm

6 years agomove more implementation details out of pyseq
Mark Dufour [Wed, 22 Dec 2010 12:53:02 +0000 (13:53 +0100)]
move more implementation details out of pyseq

6 years agosome steps towards a cleaner sequence 'protocol'
Mark Dufour [Wed, 22 Dec 2010 12:13:11 +0000 (13:13 +0100)]
some steps towards a cleaner sequence 'protocol'

6 years agodict.__init__(iterable(iterable)) .. :-)
Mark Dufour [Wed, 22 Dec 2010 11:08:53 +0000 (12:08 +0100)]
dict.__init__(iterable(iterable)) .. :-)

6 years agofile.writelines takes iterable
Mark Dufour [Wed, 22 Dec 2010 10:21:49 +0000 (11:21 +0100)]
file.writelines takes iterable

6 years agomodernize min, max implementation
Mark Dufour [Wed, 22 Dec 2010 10:14:09 +0000 (11:14 +0100)]
modernize min, max implementation

6 years agomodernize zip implementation, re-optimize for sequences later
Mark Dufour [Tue, 21 Dec 2010 17:51:36 +0000 (18:51 +0100)]
modernize zip implementation, re-optimize for sequences later

6 years agoallow basic __iter__ overloading, to investigate iterable interface
Mark Dufour [Tue, 21 Dec 2010 14:54:12 +0000 (15:54 +0100)]
allow basic __iter__ overloading, to investigate iterable interface

6 years agoadd *.vim to .gitignore, not sure where it went
Mark Dufour [Tue, 21 Dec 2010 13:36:27 +0000 (14:36 +0100)]
add *.vim to .gitignore, not sure where it went

6 years agoallow basic __call__ overloading, to investigate callable interface
Mark Dufour [Tue, 21 Dec 2010 13:33:14 +0000 (14:33 +0100)]
allow basic __call__ overloading, to investigate callable interface

6 years agoalways pass 'merged' state from cpp module, and use it in is_anon_func
Mark Dufour [Tue, 21 Dec 2010 13:02:13 +0000 (14:02 +0100)]
always pass 'merged' state from cpp module, and use it in is_anon_func

6 years agore-module check should be against filenames, not cppfiles
Mark Dufour [Mon, 20 Dec 2010 21:08:00 +0000 (22:08 +0100)]
re-module check should be against filenames, not cppfiles

7 years agoMaking each file in the Makefile on its own line
Fahrzin Hemmati [Sat, 18 Dec 2010 15:52:09 +0000 (16:52 +0100)]
Making each file in the Makefile on its own line

7 years agofix them for correctness first, optimize later
Mark Dufour [Sat, 18 Dec 2010 15:43:29 +0000 (16:43 +0100)]
fix them for correctness first, optimize later

7 years agoadd some fun with insert as well
Mark Dufour [Sat, 18 Dec 2010 15:25:15 +0000 (16:25 +0100)]
add some fun with insert as well

7 years agoembarrassing fixes..
Mark Dufour [Sat, 18 Dec 2010 14:55:24 +0000 (15:55 +0100)]
embarrassing fixes..

7 years agoDRYing out some Makefile code
Fahrzin Hemmati [Fri, 17 Dec 2010 10:29:35 +0000 (02:29 -0800)]
DRYing out some Makefile code

7 years agoAdding SHEDSKIN_LIBDIR var in Makefile generation
Fahrzin Hemmati [Fri, 17 Dec 2010 10:28:16 +0000 (02:28 -0800)]
Adding SHEDSKIN_LIBDIR var in Makefile generation

7 years agooptimize pow for large or non-constant exponents (triggered by thomas spura)
Mark Dufour [Mon, 13 Dec 2010 20:09:29 +0000 (21:09 +0100)]
optimize pow for large or non-constant exponents (triggered by thomas spura)

7 years agopartial struct model
Mark Dufour [Sat, 11 Dec 2010 15:32:34 +0000 (16:32 +0100)]
partial struct model

7 years agoadd 'illegal' to dist.py
Mark Dufour [Sat, 11 Dec 2010 10:30:23 +0000 (11:30 +0100)]
add 'illegal' to dist.py

7 years agoextension .pyd under win 0.7
Mark Dufour [Fri, 10 Dec 2010 17:50:30 +0000 (18:50 +0100)]
extension .pyd under win

7 years agowindows doesn't like spacing after inf/nan
Mark Dufour [Fri, 10 Dec 2010 10:10:16 +0000 (11:10 +0100)]
windows doesn't like spacing after inf/nan

7 years agostrtod accepts inf/nan strings under mingw, I think
Mark Dufour [Fri, 10 Dec 2010 09:54:20 +0000 (10:54 +0100)]
strtod accepts inf/nan strings under mingw, I think

7 years agofloat('inf/nan') tests
Mark Dufour [Thu, 9 Dec 2010 20:34:16 +0000 (21:34 +0100)]
float('inf/nan') tests

7 years agosame thing for cp.exe
Mark Dufour [Thu, 9 Dec 2010 19:35:06 +0000 (20:35 +0100)]
same thing for cp.exe

7 years agodon't use 'del', but add rm.exe to mingw/bin
Mark Dufour [Thu, 9 Dec 2010 19:30:01 +0000 (20:30 +0100)]
don't use 'del', but add rm.exe to mingw/bin

7 years agoavoid 2 minor incompatibilities under windows
Mark Dufour [Thu, 9 Dec 2010 19:14:11 +0000 (20:14 +0100)]
avoid 2 minor incompatibilities under windows

7 years agofix time.hpp as well
Mark Dufour [Wed, 8 Dec 2010 19:49:48 +0000 (20:49 +0100)]
fix time.hpp as well

7 years agofix for gettimeofday under windows
Mark Dufour [Wed, 8 Dec 2010 19:43:54 +0000 (20:43 +0100)]
fix for gettimeofday under windows

7 years agofix signal module under windows
Mark Dufour [Wed, 8 Dec 2010 19:33:09 +0000 (20:33 +0100)]
fix signal module under windows

7 years agofix socket.makefile under windows
Mark Dufour [Wed, 8 Dec 2010 19:26:28 +0000 (20:26 +0100)]
fix socket.makefile under windows

7 years agofix test 173 on windows, by omitting minor detail
Mark Dufour [Wed, 8 Dec 2010 19:24:13 +0000 (20:24 +0100)]
fix test 173 on windows, by omitting minor detail

7 years agofix for 'make clean' under windows
Mark Dufour [Tue, 7 Dec 2010 19:17:11 +0000 (20:17 +0100)]
fix for 'make clean' under windows

7 years agoplus ::
Mark Dufour [Tue, 7 Dec 2010 19:12:48 +0000 (20:12 +0100)]
plus ::

7 years agowin fix, localtime_r doesn't exist
Mark Dufour [Tue, 7 Dec 2010 19:10:43 +0000 (20:10 +0100)]
win fix, localtime_r doesn't exist

7 years agoupdate copyright statement path_tracing.py
Mark Dufour [Tue, 7 Dec 2010 17:15:33 +0000 (18:15 +0100)]
update copyright statement path_tracing.py

7 years agomake run removed
Mark Dufour [Tue, 7 Dec 2010 15:58:56 +0000 (16:58 +0100)]
make run removed

7 years agoupdate parallel processing section for multiprocessing module
Mark Dufour [Tue, 7 Dec 2010 14:37:35 +0000 (15:37 +0100)]
update parallel processing section for multiprocessing module