On Tuesday, July 17, 2012 10:04:27 PM UTC+3, Nathan wrote:
>
> On Tue, Jul 17, 2012 at 10:23 AM, anatoly techtonik <[email protected]> 
> wrote: 
> > On Tue, Jul 17, 2012 at 7:04 PM, Nathan <[email protected]> 
> wrote: 
> >> On Tue, Jul 17, 2012 at 4:13 AM, anatoly techtonik <[email protected]> 
> wrote: 
> >>> It looks like it is hard to get multiple displays working right in 
> >>> cross-platform manner. Should we remove deprecated API to make things 
> less 
> >>> confusing? 
> >>> 
> >>> http://code.google.com/p/pyglet/issues/detail?id=586 
> >>> 
> >> 
> >> If the API's were deprecated in the 1.1.4 release (2.5 years ago) then 
> >> it seems sensible to drop them in the 1.2 release to me. 
> > 
> > Not really. 1.1.4 release doesn't contain deprecation comments. 
> > 
> http://code.google.com/p/pyglet/source/browse/pyglet/window/__init__.py?name=pyglet-1.1.4
>  
>
> If there are fully functional replacements, then shouldn't someone 
> mark the older classes/functions as deprecated now so that they can be 
> removed _next_ release? 


Is that ok? 

$ hg diff CHANGELOG 
diff -r 8261d434c4e5 CHANGELOG
--- a/CHANGELOG Thu Jul 19 00:25:45 2012 +0300
+++ b/CHANGELOG Thu Jul 19 00:26:35 2012 +0300
@@ -14,6 +14,19 @@
  * renamed Label parameter 'halign' to 'align', fix for issue:460
  * remove unused module 'glext_missing' - everything should already be in
   'glext_arb'
+ * window.get_platform() is deprecated and always returns window.Platform
+          instance (which is deprecated too)
+
+        Deprecated API (might be removed in future releases):
+
+        * app.displays and multiple display support - this unique X11 
feature is
+          still accessible by using canvas.xlib.XlibDisplay class directly
+        * window.get_platform() and window.Platform
+          * Platform.get_display(name) - no equivalent, named displays are 
only
+            supported by X11, so you need to track them manualy
+          * Platform.get_default_display() - use 
pyglet.canvas.get_display()
+        * window.Display - use pyglet.canvas.Display
+        * window.Screen - use pyglet.canvas.Screen
 
  Other changes and fixes:
 

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyglet-users/-/8Mz6sXRtBqYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to