You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(134) |
Sep
(52) |
Oct
(13) |
Nov
(342) |
Dec
(163) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(44) |
Feb
(62) |
Mar
(158) |
Apr
(38) |
May
(70) |
Jun
(58) |
Jul
(104) |
Aug
(207) |
Sep
(83) |
Oct
(122) |
Nov
(23) |
Dec
(49) |
| 2004 |
Jan
(119) |
Feb
(132) |
Mar
(192) |
Apr
(140) |
May
(77) |
Jun
(74) |
Jul
(201) |
Aug
(63) |
Sep
(102) |
Oct
(70) |
Nov
(173) |
Dec
(78) |
| 2005 |
Jan
(174) |
Feb
(197) |
Mar
(105) |
Apr
(59) |
May
(77) |
Jun
(43) |
Jul
(21) |
Aug
(18) |
Sep
(47) |
Oct
(37) |
Nov
(74) |
Dec
(50) |
| 2006 |
Jan
(44) |
Feb
(19) |
Mar
(32) |
Apr
(24) |
May
(31) |
Jun
(55) |
Jul
(138) |
Aug
(28) |
Sep
(12) |
Oct
(41) |
Nov
(58) |
Dec
(24) |
| 2007 |
Jan
(28) |
Feb
(14) |
Mar
(10) |
Apr
(68) |
May
(30) |
Jun
(26) |
Jul
(18) |
Aug
(63) |
Sep
(19) |
Oct
(29) |
Nov
(20) |
Dec
(10) |
| 2008 |
Jan
(38) |
Feb
(7) |
Mar
(37) |
Apr
(120) |
May
(41) |
Jun
(36) |
Jul
(39) |
Aug
(24) |
Sep
(28) |
Oct
(30) |
Nov
(36) |
Dec
(75) |
| 2009 |
Jan
(46) |
Feb
(22) |
Mar
(50) |
Apr
(70) |
May
(134) |
Jun
(105) |
Jul
(75) |
Aug
(34) |
Sep
(38) |
Oct
(34) |
Nov
(19) |
Dec
(20) |
| 2010 |
Jan
(11) |
Feb
(20) |
Mar
(65) |
Apr
(83) |
May
(104) |
Jun
(73) |
Jul
(78) |
Aug
(57) |
Sep
(43) |
Oct
(35) |
Nov
(9) |
Dec
(4) |
| 2011 |
Jan
(21) |
Feb
(11) |
Mar
(18) |
Apr
(10) |
May
(18) |
Jun
(15) |
Jul
(48) |
Aug
(25) |
Sep
(17) |
Oct
(45) |
Nov
(15) |
Dec
(12) |
| 2012 |
Jan
(21) |
Feb
(9) |
Mar
(12) |
Apr
(9) |
May
(9) |
Jun
(5) |
Jul
(1) |
Aug
(10) |
Sep
(12) |
Oct
(1) |
Nov
(28) |
Dec
(5) |
| 2013 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2016 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
|
8
(1) |
9
|
10
|
11
(3) |
12
|
13
|
14
|
|
15
|
16
|
17
|
18
|
19
|
20
(6) |
21
|
|
22
|
23
(8) |
24
(6) |
25
|
26
(10) |
27
(3) |
28
(1) |
|
29
|
30
(2) |
31
(1) |
|
|
|
|
|
From: <eli...@us...> - 2006-10-27 08:15:41
|
Revision: 2616
http://svn.sourceforge.net/java-game-lib/?rev=2616&view=rev
Author: elias_naur
Date: 2006-10-27 01:15:31 -0700 (Fri, 27 Oct 2006)
Log Message:
-----------
Mac OS X: Fixed cursor warping coordinates
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/opengl/MacOSXMouseEventQueue.java
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/MacOSXMouseEventQueue.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/MacOSXMouseEventQueue.java 2006-10-27 06:27:58 UTC (rev 2615)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/MacOSXMouseEventQueue.java 2006-10-27 08:15:31 UTC (rev 2616)
@@ -43,6 +43,7 @@
import java.awt.event.MouseWheelListener;
import java.awt.Component;
import java.awt.Rectangle;
+import java.awt.Point;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
@@ -84,8 +85,9 @@
void warpCursor() {
if (isGrabbed()) {
Rectangle bounds = getComponent().getBounds();
- int x = bounds.x + bounds.width/2;
- int y = bounds.y + bounds.height/2;
+ Point location_on_screen = getComponent().getLocationOnScreen();
+ int x = location_on_screen.x + bounds.width/2;
+ int y = location_on_screen.y + bounds.height/2;
nWarpCursor(x, y);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eli...@us...> - 2006-10-27 06:28:12
|
Revision: 2615
http://svn.sourceforge.net/java-game-lib/?rev=2615&view=rev
Author: elias_naur
Date: 2006-10-26 23:27:58 -0700 (Thu, 26 Oct 2006)
Log Message:
-----------
Fixed potential NPE from Cursor.getCapabilities()
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/input/Cursor.java
trunk/LWJGL/src/java/org/lwjgl/input/Keyboard.java
trunk/LWJGL/src/java/org/lwjgl/input/Mouse.java
Modified: trunk/LWJGL/src/java/org/lwjgl/input/Cursor.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/input/Cursor.java 2006-10-27 06:04:55 UTC (rev 2614)
+++ trunk/LWJGL/src/java/org/lwjgl/input/Cursor.java 2006-10-27 06:27:58 UTC (rev 2615)
@@ -141,7 +141,10 @@
* @return A bit mask with native cursor capabilities.
*/
public static int getCapabilities() {
- return Mouse.getImplementation().getNativeCursorCapabilities();
+ if (Mouse.getImplementation() != null)
+ return Mouse.getImplementation().getNativeCursorCapabilities();
+ else
+ return Mouse.createImplementation().getNativeCursorCapabilities();
}
/**
Modified: trunk/LWJGL/src/java/org/lwjgl/input/Keyboard.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/input/Keyboard.java 2006-10-27 06:04:55 UTC (rev 2614)
+++ trunk/LWJGL/src/java/org/lwjgl/input/Keyboard.java 2006-10-27 06:27:58 UTC (rev 2615)
@@ -307,6 +307,8 @@
* @throws LWJGLException if the keyboard could not be created for any reason
*/
public static void create() throws LWJGLException {
+ if (!Display.isCreated()) throw new IllegalStateException("Display must be created.");
+
create(Mouse.createImplementation());
}
Modified: trunk/LWJGL/src/java/org/lwjgl/input/Mouse.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/input/Mouse.java 2006-10-27 06:04:55 UTC (rev 2614)
+++ trunk/LWJGL/src/java/org/lwjgl/input/Mouse.java 2006-10-27 06:27:58 UTC (rev 2615)
@@ -225,8 +225,6 @@
}
static InputImplementation createImplementation() {
- if (!Display.isCreated()) throw new IllegalStateException("Display must be created.");
-
/* Use reflection since we can't make Display.getImplementation
* public
*/
@@ -278,6 +276,8 @@
* @throws LWJGLException if the mouse could not be created for any reason
*/
public static void create() throws LWJGLException {
+ if (!Display.isCreated()) throw new IllegalStateException("Display must be created.");
+
create(createImplementation());
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eli...@us...> - 2006-10-27 06:05:03
|
Revision: 2614
http://svn.sourceforge.net/java-game-lib/?rev=2614&view=rev
Author: elias_naur
Date: 2006-10-26 23:04:55 -0700 (Thu, 26 Oct 2006)
Log Message:
-----------
Made the AWT setCursorPosition garbage free
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/opengl/AWTUtil.java
trunk/LWJGL/src/java/org/lwjgl/opengl/AbstractAWTInput.java
trunk/LWJGL/src/java/org/lwjgl/opengl/MacOSXDisplay.java
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/AWTUtil.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/AWTUtil.java 2006-10-26 21:39:37 UTC (rev 2613)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/AWTUtil.java 2006-10-27 06:04:55 UTC (rev 2614)
@@ -92,18 +92,25 @@
}
}
- public static void setCursorPosition(final Component component, int x, int y) {
+ public static Robot createRobot(final Component component) {
try {
Robot robot = (Robot)AccessController.doPrivileged(new PrivilegedExceptionAction() {
public Object run() throws Exception {
return new Robot(component.getGraphicsConfiguration().getDevice());
}
});
+ return robot;
+ } catch (PrivilegedActionException e) {
+ LWJGLUtil.log("Got exception while creating robot: " + e.getCause());
+ return null;
+ }
+ }
+
+ public static void setCursorPosition(Component component, Robot robot, int x, int y) {
+ if (robot != null) {
int transformed_x = component.getX() + x;
int transformed_y = component.getY() + component.getHeight() - 1 - y;
robot.mouseMove(transformed_x, transformed_y);
- } catch (PrivilegedActionException e) {
- LWJGLUtil.log("Got exception while setting mouse cursor position: " + e);
}
}
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/AbstractAWTInput.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/AbstractAWTInput.java 2006-10-26 21:39:37 UTC (rev 2613)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/AbstractAWTInput.java 2006-10-27 06:04:55 UTC (rev 2614)
@@ -38,6 +38,7 @@
import org.lwjgl.LWJGLUtil;
import java.awt.Cursor;
+import java.awt.Robot;
/**
*
@@ -47,6 +48,7 @@
*/
abstract class AbstractAWTInput implements AWTCanvasInputImplementation {
private AWTGLCanvas canvas;
+ private Robot robot;
private KeyboardEventQueue keyboard_queue;
private MouseEventQueue mouse_queue;
@@ -54,6 +56,7 @@
protected AbstractAWTInput(AWTGLCanvas canvas) {
this.canvas = canvas;
+ this.robot = AWTUtil.createRobot(canvas);
}
protected synchronized MouseEventQueue getMouseEventQueue() {
@@ -117,7 +120,7 @@
}
public void setCursorPosition(int x, int y) {
- AWTUtil.setCursorPosition(canvas, x, y);
+ AWTUtil.setCursorPosition(canvas, robot, x, y);
}
public void setNativeCursor(Object handle) throws LWJGLException {
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/MacOSXDisplay.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/MacOSXDisplay.java 2006-10-26 21:39:37 UTC (rev 2613)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/MacOSXDisplay.java 2006-10-27 06:04:55 UTC (rev 2614)
@@ -69,6 +69,7 @@
private static final int GAMMA_LENGTH = 256;
private MacOSXFrame frame;
+ private Robot robot;
private MacOSXMouseEventQueue mouse_queue;
private KeyboardEventQueue keyboard_queue;
private java.awt.DisplayMode requested_mode;
@@ -85,6 +86,7 @@
close_requested = false;
try {
frame = new MacOSXFrame(mode, requested_mode, fullscreen, x, y);
+ robot = AWTUtil.createRobot(frame);
} catch (LWJGLException e) {
destroyWindow();
throw e;
@@ -319,7 +321,7 @@
}
public void setCursorPosition(int x, int y) {
- AWTUtil.setCursorPosition(frame, x, y);
+ AWTUtil.setCursorPosition(frame, robot, x, y);
}
public void setNativeCursor(Object handle) throws LWJGLException {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|