~ubuntu-branches/ubuntu/gutsy/pygame/gutsy

« back to all changes in this revision

Viewing changes to WHATSNEW

  • Committer: Bazaar Package Importer
  • Author(s): Ed Boraas
  • Date: 2002-02-20 06:39:24 UTC
  • Revision ID: james.westby@ubuntu.com-20020220063924-amlzj7tqkeods4eq
Tags: upstream-1.4
ImportĀ upstreamĀ versionĀ 1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This is a list of changes in pygame's history.
 
2
#
 
3
# CVS tag names are placed before the date
 
4
# BREAK = change breaks existing code
 
5
# BUG   = fixed a bug that was (or could have been) crashing
 
6
 
 
7
pygame-14
 
8
January 29, 2002
 
9
        everything bumped for the 1.4 release
 
10
 
 
11
January 28, 2002
 
12
        update SDL_rotozoom to 2.0.3
 
13
 
 
14
January 26, 2002
 
15
        special cases for 90 degree transform.rotate()
 
16
        OSX cleanups for commandline (thanks Bob)
 
17
        added sprite.spritecollideany()
 
18
 
 
19
January 23, 2002
 
20
        transform.rotate() does alpha if image has alphaplane
 
21
        transform.rotate() no longer "off by one" in the x axis
 
22
        added CD.get_all() to get information for all tracks
 
23
        CD.play() can now take an option start and end time
 
24
 
 
25
January 17, 2002
 
26
        smarter importing code
 
27
        default pygame icon for window
 
28
 
 
29
January 16, 2002
 
30
        started implementing basic unit tests
 
31
        several bug cleanups with Rects (thx unit tests)
 
32
 
 
33
January 14, 2002
 
34
        display.update() boundaries fixed
 
35
 
 
36
January 11, 2002
 
37
        Surface.set_clip() can take None to clear the clipping
 
38
 
 
39
January 7, 2002
 
40
        fixed sprite.Group.has
 
41
 
 
42
January 6, 2002
 
43
        Merge with bob's inital MacOSX changes
 
44
 
 
45
January 5, 2002
 
46
        new and upgraded importing [BREAK?]
 
47
        fixed numberhandling in set_alpha and set_colorkey
 
48
 
 
49
January 2, 2002
 
50
        Group add/remove methods work
 
51
 
 
52
December 31, 2001
 
53
        pygame parachute does tracebacks with python2.2
 
54
 
 
55
December 20, 2001
 
56
        Surface.set_alpha() and set_colorkey() accept None
 
57
        event.set_allowed() and set_blocked() accept None
 
58
 
 
59
pygame-13
 
60
December 17, 2001
 
61
        small preps for the full 1.3 release
 
62
 
 
63
December 15, 2001
 
64
        small changes to sprite before release
 
65
 
 
66
December 2, 2001
 
67
        small protection for display Surfaces after display.quit()
 
68
 
 
69
December 1, 2001
 
70
        made time.delay() more accurate [BREAK]
 
71
        created time.wait() to work like old delay()
 
72
        added time.Clock objects for framerate tracking
 
73
 
 
74
November 26, 2001
 
75
        Surface.convert() doesn't segfault before pygame.init()
 
76
 
 
77
November 20, 2001
 
78
        added pygame.sprite.Group.update()
 
79
        Surface.blit() protection for alpha->8bit relaxed
 
80
 
 
81
November 19, 2001
 
82
        fixed image.fromstring() for "RGBA" mode
 
83
 
 
84
November 18, 2001
 
85
        can stream python file-like objects to SDL threads
 
86
 
 
87
November 15, 2001
 
88
        cleanups for transform.rotate
 
89
 
 
90
November 13, 2001
 
91
        added sprite module
 
92
 
 
93
November 12, 2001
 
94
        image.tostring() "RGBA" works with colorkey
 
95
 
 
96
November 3, 2001
 
97
        filled shape drawing now clips properly [BUG]
 
98
        Rect object correctly compare (==,<,>)
 
99
 
 
100
November 2, 2001
 
101
        pygame.time.get_ticks() returns 0 before pygame.init()
 
102
 
 
103
October 22, 2001
 
104
        small fix for filled ellipses/circles
 
105
 
 
106
September 27, 2001
 
107
        drawing filled circles returns bounding rect
 
108
        ellipses and circles drawn inside given area
 
109
        mixer init can take chunksize
 
110
        fix in clipped horizontal line drawing [BUG]
 
111
 
 
112
September 26, 2001
 
113
        key.set_repeat() raises exception on error, smarter args
 
114
 
 
115
September 22, 2001
 
116
        added Rect.clamp_ip, for inplace clamping
 
117
        display.update(None) will update full screen
 
118
 
 
119
September 21, 2001
 
120
        Surface.convert() respects the SRCALPHA flag when passing depth
 
121
 
 
122
 
 
123
pygame-12
 
124
September 1, 2001
 
125
        fixed typo in pygame.cursor
 
126
 
 
127
Aug 30, 2001
 
128
        added VIDEOEXPOSE event
 
129
 
 
130
Aug 29, 2001
 
131
        changed initializations, to allow easier embedding
 
132
 
 
133
Aug 28, 2001
 
134
        added circle and rect convenciences to pygame.draw
 
135
        removed debug printing from draw.polygon
 
136
 
 
137
Aug 25, 2001
 
138
        added looping, scaling, and audio to for Movies
 
139
 
 
140
Aug 15, 2001
 
141
        added pygame.movie module with MPEG video playback
 
142
 
 
143
July 31, 2001
 
144
        fixed mixer.music refcount
 
145
 
 
146
July 26, 2001
 
147
         custom events work with event.peek() and event.get()
 
148
         added event.get_blocked() function to query blocked types
 
149
 
 
150
July 23, 2001
 
151
        music specifically halted when quitting (should not matter?)
 
152
        mixer.get_init() now returns the initialized playback format
 
153
 
 
154
July 21, 2001
 
155
        all events can be posted, not just USEREVENT
 
156
        subsurfaces inherit colorkey and alpha settings
 
157
 
 
158
Jul 20, 2001
 
159
        default font "finding" is smarter
 
160
 
 
161
Jul 17, 2001
 
162
        added polygon() and ellipse() to pygame.draw
 
163
        lines with width>2 are now correct (was one too small)
 
164
 
 
165
Jul 16, 2001
 
166
        can work with software surfaces before pygame.init()
 
167
        Surface.convert() now can take arguments like pygame.Surface()
 
168
        pygame.display.set_icon() sets the windowmanager icon
 
169
 
 
170
Jul 15, 2001
 
171
        fixed bad internal display reference counting [BUG]
 
172
 
 
173
Jul 14, 2001
 
174
        still makes clean-ish exit if segfault in exit handling
 
175
 
 
176
Jul 10, 2001
 
177
        image.tostring makes alpha from colorkey, if asking for RGBA
 
178
 
 
179
Jul 6, 2001
 
180
        added python 1.5.2 compatability
 
181
 
 
182
June 25, 2001
 
183
        horizontal transform.flip() was reading pixels off by one [BUG]
 
184
 
 
185
June 24, 2001
 
186
        calling set_mode will change all references to the display surface
 
187
 
 
188
 
 
189
pygame-11
 
190
Jun 23, 2001
 
191
        removed smooth underline font render protection
 
192
 
 
193
Jun 19, 2001
 
194
        fixed botched image.save() function
 
195
 
 
196
Jun 15, 2001
 
197
        new inplace Rect calls: move_ip, union_ip, etc
 
198
 
 
199
Jun 11, 2001
 
200
        smarter locking with subsurfaces
 
201
        added transform.rotozoom(), which uses builtin SDL_rotozoom
 
202
 
 
203
May 31, 2001
 
204
        correctly handle unicode filenames
 
205
 
 
206
May 29, 2001
 
207
        set display physical palette with display.set_palette()
 
208
        added transform module (with rotate and scale)
 
209
 
 
210
May 26, 2001
 
211
        code compiles with macos now
 
212
 
 
213
May 23, 2001
 
214
        fixed line drawing of width 1
 
215
        draw.lines() was broken with sections outside clip
 
216
 
 
217
May 22, 2001
 
218
        added midleft, midright, midtop, and midbottom to Rect
 
219
        added Rect.unionall() function to union a list of Rects
 
220
        fixed problem in 16bit surfarrays
 
221
        new image.tostring() and image.fromstring()
 
222
 
 
223
May 20, 2001
 
224
        applied dave wallace's patch to fix memory freeing
 
225
 
 
226
May 17, 2001
 
227
        a few small compile time warning cleanups
 
228
 
 
229
May 16, 2001
 
230
        line drawing functions now use an optional width
 
231
 
 
232
May 15, 2001
 
233
        image module is now builtin, but formats are optional
 
234
        enhanced save function in image (handles opengl)
 
235
        Surface.save is now depracated
 
236
 
 
237
May 14, 2001
 
238
        smarter internal module handling
 
239
        fixed blit() (broken on May 9th change)
 
240
 
 
241
May 10, 2001
 
242
        USEREVENT events now pass through the queue
 
243
        Event() may be called with keyword args and/or a dict
 
244
        Font.render() won't render underlines while smoothing [BUG]
 
245
 
 
246
May 9, 2001
 
247
        8bit subsurfaces inherit their parents colormap
 
248
        blit keeps SDL from crashing with alpha onto 8bit
 
249
 
 
250
Apr 30, 2001
 
251
        loading Sounds from python objects now works [BUG]
 
252
        loading from python objects now thread safe [BUG]
 
253
 
 
254
Apr 19, 2001
 
255
        applied Niki Spahiev's memory leak patch in event.c
 
256
        removed minor memleak from each module's init
 
257
 
 
258
Apr 18, 2001
 
259
        added opengl support (with example)
 
260
        fixed display.get_init()
 
261
        current music is free'd when mixer is quit
 
262
        better thread sharing in various video calls
 
263
        fixed GCC compiler error in constants.c
 
264
 
 
265
Apr 10, 2001
 
266
        mixer now uses the requested sample format/size
 
267
 
 
268
Apr 08, 2001
 
269
        properly free SDL objects on malloc errors
 
270
        fixed rectangle cropping in pygame.display.update()
 
271
 
 
272
 
 
273
pygame-10
 
274
Apr 05, 2001
 
275
        Everything set for the 1.0 release
 
276
 
 
277
Apr 04, 2001
 
278
        cursors.load_xbm work on images without hotspots
 
279
 
 
280
Apr 03, 2001
 
281
        swapped endian-ness for pixels_alpha()
 
282
 
 
283
Mar 29, 2001
 
284
        fixed key.set_mods() (thanks rubysdl)
 
285
        rework setup scripts for 1.0 release
 
286
        relaxed sdl version checking
 
287
 
 
288
Mar 21, 2001
 
289
        initial support for compiling on mac
 
290
        fixed odd case with locking subsurfaces
 
291
 
 
292
Mar 20, 2001
 
293
        font and mixer now properly auto quit()
 
294
 
 
295
Mar 19, 2001
 
296
        Surfaces won't crash after display module is quit [BUG]
 
297
 
 
298
Mar 18, 2001
 
299
        friendlier type casting in surfarray (for some compilers)
 
300
        removed non-ANSI C code
 
301
 
 
302
Mar 17, 2001
 
303
        pygame.Surface is smarter with SRCALPHA flag
 
304
        fixed several small bugs in surfarray [BUG]
 
305
        new surfarray example and tutorial
 
306
 
 
307
Mar 16, 2001
 
308
        Fixed memory leak in Rect constructor
 
309
        Fixed improper exception in display.update(with_4_args)
 
310
 
 
311
Feb 15, 2001
 
312
        calling Sound.play() will make sure the channel
 
313
                that gets selected has volume set to full
 
314
 
 
315
Feb 14, 2001
 
316
        fixed Surface.set_colorkey() with no args [BUG]
 
317
 
 
318
Feb 13, 2001
 
319
        fixed return rect from line drawing routines
 
320
        small fix when drawing horizontal lines
 
321
 
 
322
 
 
323
pygame-09
 
324
Feb 12, 2001
 
325
        added NOFRAME to pygame.constants
 
326
 
 
327
Feb 11, 2001
 
328
        workaround python parsing error for pygame.time.delay(-1)
 
329
 
 
330
Feb 9, 2001
 
331
        setting rectangle width/height/size changes the
 
332
                right/bottom edges (instead of top/right) [BREAK]
 
333
 
 
334
Feb 6, 2001
 
335
        fixed the music unpause() function
 
336
 
 
337
Jan 31, 2001
 
338
        functions taking RGBA colors can also accept mapped ints
 
339
 
 
340
Jan 30, 2001
 
341
        added draw.lines()
 
342
 
 
343
Jan 29, 2001
 
344
        extremely revamped surface locking mechnisms
 
345
        new Surface.subsurface for shared surfaces
 
346
 
 
347
Jan 25, 2001
 
348
        added the draw module, with clipped line function
 
349
        added alpha routines in surfarray module
 
350
        more locking checks for surfarray
 
351
        make extra sure all of SDL is shutdown properly
 
352
 
 
353
Jan 24, 2001
 
354
        funcs that need locked surfaces will temporarily lock them
 
355
           (Surface.set_at, Surface.get_at, surfarray.arrayXd)
 
356
 
 
357
Jan 23, 2001
 
358
        display.update() no longer effects input Rects [BREAK]
 
359
        Surface.fill() no longer effects input Rect [BREAK]
 
360
        small memory leak in display.update() fixed
 
361
 
 
362
Jan 18, 2001
 
363
        cursor.read_xbm() renamed to cursor.load_xbm() [BREAK]
 
364
 
 
365
Jan 17, 2001
 
366
        documentation updated to include python modules too
 
367
 
 
368
Jan 16, 2001
 
369
        cursors module beefed up
 
370
 
 
371
Jan 15, 2001
 
372
        fix Surface.get_at() for 24bit surfaces
 
373
        endian cleanups for surfarray
 
374
 
 
375
Jan 8, 2001
 
376
        more warning cleanups
 
377
        music-finished callback fixed
 
378
        replaces SDL's parachute with smarter python version
 
379
 
 
380
Jan 6, 2001
 
381
        added pygame.version module
 
382
 
 
383
 
 
384
pygame-05
 
385
Jan 6, 2001
 
386
        Final cleanups for the new release
 
387
 
 
388
Jan 4, 2001
 
389
        Surface.blit() allows for rects as dest position
 
390
        surfarray cleanups and improvements
 
391
 
 
392
Dec 22, 2000
 
393
        timer threads properly shutdown
 
394
 
 
395
Dec 14, 2000
 
396
        display.set_mode pretending shorts are ints [BUG]
 
397
 
 
398
 
 
399
pygame-04
 
400
Dec 14, 2000
 
401
        music module had incorrect names for volume functions
 
402
        chimp example and full tutorial added
 
403
 
 
404
Dec 13, 2000
 
405
        display.update() is entirely better in many ways [BUG]
 
406
 
 
407
Dec 3, 2000
 
408
        fixed timing issues. negative time.delay() will become 0
 
409
 
 
410
Nov 30, 2000
 
411
        UserRect module added
 
412
        all objects now have a matching type; SurfaceType, etc
 
413
 
 
414
Nov 29, 2000
 
415
        joystick module rewrite finished [BREAK]
 
416
        cdrom module rewrite finished [BREAK]
 
417
        all constructors using capitalized function names [BREAK]
 
418
                (Rect, pygame.Surface, pygame.font.Font, etc)
 
419
 
 
420
Nov 28, 2000
 
421
        Surface.convert() better handles surface flags
 
422
        All color arguments (and returns) are RGBA format [BREAK]
 
423
        Removed Surface.map_rgba and unmap_rgba [BREAK]
 
424
        Added a default font, used by passing None as font file
 
425
 
 
426
 
 
427
pygame-03
 
428
Nov 20, 2000
 
429
        Added Surface.save() to create BMPs.
 
430
 
 
431
Nov 16, 2000
 
432
        Surface.set_clip() fixed when passing no args [BUG]
 
433
 
 
434
Nov 15, 2000
 
435
        time.set_timer() now handles multiple timers
 
436
        rect(), surface(), event() renamed to \
 
437
                new_rect, new_surface(), new_event() [BREAK]
 
438
        all new_XX() functions were added to pygame.locals
 
439
        Moved pygame.music to a member of pygame.mixer [BREAK]
 
440
        Surface.blit takes a source rectangle instead of pos, size [BREAK]
 
441
        pygame.display.set_clip() correctly accepts rectstyle arg [BUG]
 
442
        Added Surface.get_flags() and Surface.get_pitch()
 
443
        Added set_cursor and get_cursor to pygame.mouse
 
444
        New module, pygame.cursors, contains sample cursors
 
445
 
 
446
Nov 14, 2000
 
447
        Release the Python Global Interpreter Lock on delays and IO
 
448
        Added timer events to pygame.time (check vgrade example)
 
449
        New music playback finished events
 
450
        surfarray.blit_array() supports all bit depths
 
451
 
 
452
Nov 11, 2000
 
453
        pygame.display.set_mode() uses int, not short, for size [BUG]
 
454
 
 
455
Nov 10, 2000
 
456
        Committed to CVS
 
457
        Added pygame.display.get_driver()
 
458
 
 
459
 
 
460