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) |
2
(1) |
3
|
4
|
5
|
|
6
(1) |
7
|
8
(1) |
9
|
10
|
11
|
12
|
|
13
(3) |
14
|
15
|
16
|
17
|
18
(1) |
19
(4) |
|
20
(3) |
21
(1) |
22
(1) |
23
|
24
|
25
|
26
(1) |
|
27
(5) |
28
|
29
|
30
(1) |
31
(5) |
|
|
|
From: <eli...@us...> - 2007-05-31 22:09:52
|
Revision: 2838
http://svn.sourceforge.net/java-game-lib/?rev=2838&view=rev
Author: elias_naur
Date: 2007-05-31 15:09:46 -0700 (Thu, 31 May 2007)
Log Message:
-----------
Mac OS X: When grabbing the mouse, skip the next event to avoid bogus deltas
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 2007-05-31 21:11:34 UTC (rev 2837)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/MacOSXMouseEventQueue.java 2007-05-31 22:09:46 UTC (rev 2838)
@@ -53,6 +53,7 @@
final class MacOSXMouseEventQueue extends MouseEventQueue {
private final IntBuffer delta_buffer = BufferUtils.createIntBuffer(2);
+ private boolean skip_event;
private static boolean is_grabbed;
MacOSXMouseEventQueue(Component component) {
@@ -84,6 +85,10 @@
getMouseDeltas(delta_buffer);
int dx = delta_buffer.get(0);
int dy = -delta_buffer.get(1);
+ if (skip_event) {
+ skip_event = false;
+ return;
+ }
if ( dx != 0 || dy != 0 ) {
putMouseEventWithCoords((byte)-1, (byte)0, dx, dy, 0, nanos);
addDelta(dx, dy);
@@ -92,6 +97,10 @@
}
void warpCursor() {
+ synchronized (this) {
+ // If we're going to warp the cursor position, we'll skip the next event to avoid bogus delta values
+ skip_event = isGrabbed();
+ }
if (isGrabbed()) {
Rectangle bounds = getComponent().getBounds();
Point location_on_screen = getComponent().getLocationOnScreen();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eli...@us...> - 2007-05-31 21:11:34
|
Revision: 2837
http://svn.sourceforge.net/java-game-lib/?rev=2837&view=rev
Author: elias_naur
Date: 2007-05-31 14:11:34 -0700 (Thu, 31 May 2007)
Log Message:
-----------
Mac OS X: Synchronized access to grabbed state
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 2007-05-31 21:04:52 UTC (rev 2836)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/MacOSXMouseEventQueue.java 2007-05-31 21:11:34 UTC (rev 2837)
@@ -62,12 +62,16 @@
public void setGrabbed(boolean grab) {
super.setGrabbed(grab);
warpCursor();
+ grabMouse(grab);
+ }
+
+ private static synchronized void grabMouse(boolean grab) {
if (is_grabbed != grab) {
is_grabbed = grab;
nGrabMouse(grab);
}
}
-
+
protected void resetCursorToCenter() {
super.resetCursorToCenter();
/* Clear accumulated deltas */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eli...@us...> - 2007-05-31 21:04:53
|
Revision: 2836
http://svn.sourceforge.net/java-game-lib/?rev=2836&view=rev
Author: elias_naur
Date: 2007-05-31 14:04:52 -0700 (Thu, 31 May 2007)
Log Message:
-----------
Mac OS X: Track grabbed state in MacOSXMouseEventQueue
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 2007-05-31 21:00:13 UTC (rev 2835)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/MacOSXMouseEventQueue.java 2007-05-31 21:04:52 UTC (rev 2836)
@@ -53,6 +53,8 @@
final class MacOSXMouseEventQueue extends MouseEventQueue {
private final IntBuffer delta_buffer = BufferUtils.createIntBuffer(2);
+ private static boolean is_grabbed;
+
MacOSXMouseEventQueue(Component component) {
super(component);
}
@@ -60,7 +62,10 @@
public void setGrabbed(boolean grab) {
super.setGrabbed(grab);
warpCursor();
- nGrabMouse(grab);
+ if (is_grabbed != grab) {
+ is_grabbed = grab;
+ nGrabMouse(grab);
+ }
}
protected void resetCursorToCenter() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eli...@us...> - 2007-05-31 21:00:14
|
Revision: 2835
http://svn.sourceforge.net/java-game-lib/?rev=2835&view=rev
Author: elias_naur
Date: 2007-05-31 14:00:13 -0700 (Thu, 31 May 2007)
Log Message:
-----------
Mac OS X: Don't use global is_grabbed variable in MacOSXMouseEventQueue.nWarpCursor
Modified Paths:
--------------
trunk/LWJGL/src/native/macosx/org_lwjgl_input_Mouse.c
Modified: trunk/LWJGL/src/native/macosx/org_lwjgl_input_Mouse.c
===================================================================
--- trunk/LWJGL/src/native/macosx/org_lwjgl_input_Mouse.c 2007-05-31 08:52:55 UTC (rev 2834)
+++ trunk/LWJGL/src/native/macosx/org_lwjgl_input_Mouse.c 2007-05-31 21:00:13 UTC (rev 2835)
@@ -44,18 +44,12 @@
#include "org_lwjgl_opengl_MacOSXMouseEventQueue.h"
#include "common_tools.h"
-static bool is_grabbed;
-
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXMouseEventQueue_nGrabMouse(JNIEnv *env, jclass unused, jboolean grab) {
- bool new_grabbed = grab == JNI_TRUE;
- if (is_grabbed != new_grabbed) {
- is_grabbed = new_grabbed;
- CGAssociateMouseAndMouseCursorPosition(is_grabbed ? FALSE : TRUE);
- if (is_grabbed)
- CGDisplayHideCursor(kCGDirectMainDisplay);
- else
- CGDisplayShowCursor(kCGDirectMainDisplay);
- }
+ CGAssociateMouseAndMouseCursorPosition(grab == JNI_TRUE ? FALSE : TRUE);
+ if (grab)
+ CGDisplayHideCursor(kCGDirectMainDisplay);
+ else
+ CGDisplayShowCursor(kCGDirectMainDisplay);
}
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXMouseEventQueue_nWarpCursor(JNIEnv *env, jclass unused, jint x, jint y) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eli...@us...> - 2007-05-31 08:52:56
|
Revision: 2834
http://svn.sourceforge.net/java-game-lib/?rev=2834&view=rev
Author: elias_naur
Date: 2007-05-31 01:52:55 -0700 (Thu, 31 May 2007)
Log Message:
-----------
Windows: Fix repeated character codes
Modified Paths:
--------------
trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsDisplay.java
trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsKeyboard.java
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsDisplay.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsDisplay.java 2007-05-30 20:33:40 UTC (rev 2833)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsDisplay.java 2007-05-31 08:52:55 UTC (rev 2834)
@@ -599,10 +599,9 @@
private void handleChar(long wParam, long lParam, long millis) {
byte previous_state = (byte)((lParam >>> 30) & 0x1);
byte state = (byte)(1 - ((lParam >>> 31) & 0x1));
- if (state == previous_state)
- return; // Auto-repeat message
+ boolean repeat = state == previous_state;
if (keyboard != null)
- keyboard.handleChar((int)(wParam & 0xFF), millis);
+ keyboard.handleChar((int)(wParam & 0xFF), millis, repeat);
}
private void handleKeyButton(long wParam, long lParam, long millis) {
Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsKeyboard.java
===================================================================
--- trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsKeyboard.java 2007-05-30 20:33:40 UTC (rev 2833)
+++ trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsKeyboard.java 2007-05-31 08:52:55 UTC (rev 2834)
@@ -161,12 +161,13 @@
retained_millis = millis;
retained_char = 0;
retained_repeat = repeat;
-// translate(virt_key, event_state, millis*1000000);
}
- public void handleChar(int event_char, long millis) {
+ public void handleChar(int event_char, long millis, boolean repeat) {
+ if (has_retained_event && retained_char != 0)
+ flushRetained();
if (!has_retained_event) {
- putEvent(0, (byte)0, event_char, millis, false);
+ putEvent(0, (byte)0, event_char, millis, repeat);
} else
retained_char = event_char;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|