Commits

pygame  committed cbb2973

ready for 0.9

  • Participants
  • Parent commits 867bbaf

Comments (0)

Files changed (34)

-surfarray module
-	still some problems on big endian architectures (non-intel)
+The current release is surprisingly tested and stable.
+Not claiming there aren't any bugs, but most of the code
+is a wrapper over different libraries, so things should
+work pretty straightforward.
 
 
-Keep your eye out for more! :]
+Keep your eye out for any nasties! :]
 
 
 Pete Shinners       -       pete@shinners.org
 pygame credits
 Thanks to everyone who made this possible, including:
 
+- David Clark for packaging and help with releases
+
 - Jan Ekhol, Ray Kelm, and Peter Nicolai for initial design advise
 
-- David Clark for packaging and help with releases
-
 - Python and the team behind it, headed by Guido van Rossum
   http://www.python.org
 
-Version: 0.5
-January 6th, 2000
+Version: 0.9
+February 12th, 2001
 
 Quick installation instructions can be found in the file "install.txt"
 in this directory. Look in the docs directory for "fullinstall.txt"
 with further details.
 
-With the 0.5 release things are looking really good. We've reached
-the point where full python games are approachable with pygame.
-Thanks to all that have helped push things along this far. 
-We plan on moving up to version 1.0 within a couple months.
+Note that basic installation requires at least Python 2.0 and SDL-1.1.7 to
+be installed. The latest version of each is recommended. Support for extra
+SDL daughter libraries is optional, but also recommended.
+
+
+With the 0.9 release things are looking really good. We've reached
+the point where full python games are ready with pygame.
+This is the final release before 1.0, and is intended to iron
+out any last hiding bugs or problems. Pygame 1.0 will be released
+shortly after SDL-1.2 is available. There is no plan for new features
+between this release and 1.0.
 
 
 pygame is a cross-platfrom library designed to make it easy to write
 The core modules of pygame are becoming pretty solid. With this
-0.5 release things are quickly approaching the 1.0 mark. After
-this I'm planning to release pygame 0.9 when SDL reaches version
-1.2. (this should happen around end of January). Pygame 0.9 will
-be a release candidate quickly followed by the real 1.0 release.
+0.9 release things areready for the 1.0 mark. After this I'm
+planning to release pygame 0.9 when SDL reaches version 1.2.
+(this should happen around end of January). Pygame 0.9 will be
+a release candidate quickly followed by the real 1.0 release.
 
 At the point it will help to look at pygame as if it were a 1.0
 release and see where it falls short. There's not too much more
-functionality going in before we move along to 1.0. The cursors
-module will get a bit of attention though.
+functionality going in before we move along to 1.0. 
 
 
 At some point it would be nice to add support for more external
-python libraries, here are some ideas
+python libraries, here are some ideas;
 
  * Support for OpenGL (initial testing not so good)
- * Support for Piddle (drawing lines, shapes, text)
+ * more drawing primitives in the draw module
  * Interface with PIL images
  * GUI library. There's a few out there
  * Simple image transforms; flip, rotate-90, double
 # BUG   = fixed a bug that was crashing
 
 Feb 12, 2001
+	added NOFRAME to pygame.constants
+
+Feb 11, 2001
 	workaround python parsing error for pygame.time.delay(-1)
 
 Feb 9, 2001

File examples/vgrade.py

 time, 30% goes to each creating the gradient and blitting the
 array. The final 40% goes to flipping/updating the display surface
 
+If using an SDL version at least 1.1.8 the window will have
+no border decorations.
+
 The code also demonstrates use of the timer events."""
 
 
 def main():
     pygame.init()
     size = 640, 480
-    screen = pygame.display.set_mode(size)
+    screen = pygame.display.set_mode(size, NOFRAME, 0)
 
     pygame.event.set_blocked(MOUSEMOTION) #keep our queue cleaner
     pygame.time.set_timer(USEREVENT, 500)
 More complete installation instructions are available in the docs directory.
 
-Note that basic installation requires at least Python 2.0 and SDL-1.1.5 to
+Note that basic installation requires at least Python 2.0 and SDL-1.1.7 to
 be installed. The latest version of each is recommended. Support for extra
 SDL daughter libraries is optional, but also recommended.
 

File lib/UserRect.py

 ##    pygame - Python Game Library
-##    Copyright (C) 2000  Pete Shinners
+##    Copyright (C) 2000-2001  Pete Shinners
 ##
 ##    This library is free software; you can redistribute it and/or
 ##    modify it under the terms of the GNU Library General Public

File lib/__init__.py

 ##    pygame - Python Game Library
-##    Copyright (C) 2000  Pete Shinners
+##    Copyright (C) 2000-2001  Pete Shinners
 ##
 ##    This library is free software; you can redistribute it and/or
 ##    modify it under the terms of the GNU Library General Public

File lib/cursors.py

 ##    pygame - Python Game Library
-##    Copyright (C) 2000  Pete Shinners
+##    Copyright (C) 2000-2001  Pete Shinners
 ##
 ##    This library is free software; you can redistribute it and/or
 ##    modify it under the terms of the GNU Library General Public

File lib/locals.py

 ##    pygame - Python Game Library
-##    Copyright (C) 2000  Pete Shinners
+##    Copyright (C) 2000-2001  Pete Shinners
 ##
 ##    This library is free software; you can redistribute it and/or
 ##    modify it under the terms of the GNU Library General Public

File lib/version.py

 ##    pygame - Python Game Library
-##    Copyright (C) 2000  Pete Shinners
+##    Copyright (C) 2000-2001  Pete Shinners
 ##
 ##    This library is free software; you can redistribute it and/or
 ##    modify it under the terms of the GNU Library General Public
 releases. (hmm, until we get to versions > 10)
 """
 
-ver = '0.5'
+ver = '0.9'
 
 def __hiddendummyfunc():
     """pygame.version.ver 
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public

File src/constants.c

 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 	DEC_CONST(RLEACCEL);
 	DEC_CONST(SRCALPHA);
 	DEC_CONST(PREALLOC);
+#if SDL_VERSIONNUM(1, 1, 8) <= SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL) 
+	DEC_CONST(NOFRAME);
+#else
+	PyModule_AddIntConstant(module, "NOFRAME", 0);
+#endif
 
 	DEC_CONST(GL_RED_SIZE);
 	DEC_CONST(GL_GREEN_SIZE);

File src/display.c

 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public

File src/joystick.c

 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 		Mix_FreeMusic(current_music);
 		current_music = NULL;
 	}
-
 	Py_BEGIN_ALLOW_THREADS
+printf("Mix_loadMUS:call\n");
 	current_music = Mix_LoadMUS(filename);
+printf("Mix_loadMUS:ok %p\n", current_music);
 	Py_END_ALLOW_THREADS
 	
 	if(!current_music)

File src/pygame.h

 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public

File src/rwobject.c

 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public

File src/surface.c

 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public

File src/surfarray.c

 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public

File src/surflock.c

 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
 /*
     pygame - Python Game Library
-    Copyright (C) 2000  Pete Shinners
+    Copyright (C) 2000-2001  Pete Shinners
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public