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
(4) |
2
(1) |
3
(2) |
4
|
5
(1) |
6
(1) |
|
7
(1) |
8
|
9
|
10
|
11
|
12
|
13
(1) |
|
14
(6) |
15
(2) |
16
(3) |
17
|
18
(2) |
19
|
20
|
|
21
|
22
|
23
|
24
|
25
(1) |
26
(1) |
27
|
|
28
|
29
(3) |
30
(2) |
31
|
|
|
|
|
From: <eli...@us...> - 2006-05-18 12:11:54
|
Revision: 2339 Author: elias_naur Date: 2006-05-18 05:11:37 -0700 (Thu, 18 May 2006) ViewCVS: http://svn.sourceforge.net/java-game-lib/?rev=2339&view=rev Log Message: ----------- Win32: Updated various native string handling to use the new _s "secure" variants. Modified Paths: -------------- trunk/LWJGL/src/native/common/common_tools.c trunk/LWJGL/src/native/win32/display.c trunk/LWJGL/src/native/win32/org_lwjgl_Sys.c Modified: trunk/LWJGL/src/native/common/common_tools.c =================================================================== --- trunk/LWJGL/src/native/common/common_tools.c 2006-05-18 11:43:52 UTC (rev 2338) +++ trunk/LWJGL/src/native/common/common_tools.c 2006-05-18 12:11:37 UTC (rev 2339) @@ -83,7 +83,7 @@ char buffer[BUFFER_SIZE]; jstring str; #ifdef WIN32 - _vsnprintf(buffer, BUFFER_SIZE, format, ap); + vsnprintf_s(buffer, BUFFER_SIZE, _TRUNCATE, format, ap); #else vsnprintf(buffer, BUFFER_SIZE, format, ap); #endif Modified: trunk/LWJGL/src/native/win32/display.c =================================================================== --- trunk/LWJGL/src/native/win32/display.c 2006-05-18 11:43:52 UTC (rev 2338) +++ trunk/LWJGL/src/native/win32/display.c 2006-05-18 12:11:37 UTC (rev 2339) @@ -263,9 +263,11 @@ jstring getVersion(JNIEnv * env, char *driver) { +#define BUFFER_SIZE 1024 jstring ret = NULL; - TCHAR driverDLL[256] = "\0"; + const char *dll_ext = ".dll"; + TCHAR driverDLL[BUFFER_SIZE] = "\0"; DWORD var = 0; DWORD dwInfoSize; LPVOID lpInfoBuff; @@ -274,8 +276,8 @@ if (driver == NULL) { return NULL; } - strcat(driverDLL, driver); - strcat(driverDLL, ".dll"); + strncat_s(driverDLL, BUFFER_SIZE, driver, strlen(driver)); + strncat_s(driverDLL, BUFFER_SIZE, dll_ext, strlen(dll_ext)); dwInfoSize = GetFileVersionInfoSize(driverDLL, &var); lpInfoBuff = malloc(dwInfoSize); bRetval = GetFileVersionInfo(driverDLL, 0, dwInfoSize, lpInfoBuff); @@ -286,11 +288,11 @@ UINT uiLen = 0; bRetval = VerQueryValue(lpInfoBuff, TEXT("\\"), (void **) &fxdFileInfo, &uiLen); if (bRetval != 0) { - TCHAR version[256]; - TCHAR ms[10], ls[10]; - sprintf(ms, "%d.%d\0", fxdFileInfo->dwProductVersionMS >> 16, fxdFileInfo->dwProductVersionMS & 0xFFFF); - sprintf(ls, "%d.%d\0", fxdFileInfo->dwProductVersionLS >> 16, fxdFileInfo->dwProductVersionLS & 0xFFFF); - sprintf(version, "%s.%s\0", ms, ls); + TCHAR version[BUFFER_SIZE]; + TCHAR ms[BUFFER_SIZE], ls[BUFFER_SIZE]; + _snprintf_s(ms, BUFFER_SIZE, _TRUNCATE, "%d.%d\0", fxdFileInfo->dwProductVersionMS >> 16, fxdFileInfo->dwProductVersionMS & 0xFFFF); + _snprintf_s(ls, BUFFER_SIZE, _TRUNCATE, "%d.%d\0", fxdFileInfo->dwProductVersionLS >> 16, fxdFileInfo->dwProductVersionLS & 0xFFFF); + _snprintf_s(version, BUFFER_SIZE, _TRUNCATE, "%s.%s\0", ms, ls); ret = NewStringNative(env, version); } } Modified: trunk/LWJGL/src/native/win32/org_lwjgl_Sys.c =================================================================== --- trunk/LWJGL/src/native/win32/org_lwjgl_Sys.c 2006-05-18 11:43:52 UTC (rev 2338) +++ trunk/LWJGL/src/native/win32/org_lwjgl_Sys.c 2006-05-18 12:11:37 UTC (rev 2339) @@ -101,15 +101,17 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_NativeSysImplementation_openURL (JNIEnv * env, jobject ignored, jstring url) { +#define BUFFER_SIZE 1024 + const char *std_args = "rundll32 url.dll,FileProtocolHandler "; STARTUPINFO si; PROCESS_INFORMATION pi; char * urlString = GetStringNativeChars(env, url); - char command[256]; - strcpy(command, ""); - strcat(command, "rundll32 url.dll,FileProtocolHandler "); - strncat(command, urlString, 200); // Prevent buffer overflow + char command[BUFFER_SIZE]; + strncpy_s(command, BUFFER_SIZE, "", 1); + strncat_s(command, BUFFER_SIZE, std_args, _TRUNCATE); + strncat_s(command, BUFFER_SIZE, urlString, _TRUNCATE); free(urlString); ZeroMemory( &si, sizeof(si) ); @@ -140,8 +142,6 @@ return JNI_TRUE; } - - const void * getClipboard(int type) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <eli...@us...> - 2006-05-18 11:44:35
|
Revision: 2338 Author: elias_naur Date: 2006-05-18 04:43:52 -0700 (Thu, 18 May 2006) ViewCVS: http://svn.sourceforge.net/java-game-lib/?rev=2338&view=rev Log Message: ----------- Win32: Update build.bat to use the free Visual Studio Express 2005 compiler. We can use the /delayload switch for the default build now. Modified Paths: -------------- trunk/LWJGL/platform_build/win32_ms_cmdline/build.bat Modified: trunk/LWJGL/platform_build/win32_ms_cmdline/build.bat =================================================================== --- trunk/LWJGL/platform_build/win32_ms_cmdline/build.bat 2006-05-16 18:51:27 UTC (rev 2337) +++ trunk/LWJGL/platform_build/win32_ms_cmdline/build.bat 2006-05-18 11:43:52 UTC (rev 2338) @@ -6,23 +6,9 @@ if "%ALHOME%" == "" goto erroralhome if "%DXHOME%" == "" goto errordxhome set COPTIONS=/Wp64 /I"%CHOME%\include" /I"%PLTSDKHOME%\include" /I"%DXHOME%\include" /I"%JAVA_HOME%\include" /I"%JAVA_HOME%\include\win32" /I"%ALHOME%\include" /I"..\..\src\native\common" /Ox /Ob2 /Oi /Ot /Oy /FD /EHsc /MT /Gy /W2 /nologo /c /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "LWJGL_EXPORTS" /D "_WINDLL" -rem ************************************************* -rem ** Build using free compiler requires jawt.dll ** -rem ** and awt.dll in current dir. /delayload ** -rem ** fixes this, but is not available in free ** -rem ** toolkit. Alternatively, remove AWT support ** -rem ** all together (only works on win32) ** -rem ************************************************* -set LINKEROPTS=/link /LIBPATH:"%JAVA_HOME%\lib" /LIBPATH:"%ALHOME%\libs" /LIBPATH:"%DXHOME%\Lib\x86" /LIBPATH:"%PLTSDKHOME%\Lib" /LIBPATH:"%CHOME%\Lib" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /MACHINE:X86 /NOLOGO /DLL -set LIBS=dinput.lib dxguid.lib OpenGL32.Lib Version.lib user32.lib Gdi32.lib Advapi32.lib jawt.lib winmm.lib -rem ************************************************* -rem ** Use the following lines below to build ** -rem ** using the commercial toolkit which allows ** -rem ** delayload option. \xEDe. Release build. ** -rem ************************************************* -rem set LINKEROPTS=/link /LIBPATH:"%JAVA_HOME%\lib" /LIBPATH:"%ALHOME%\libs" /LIBPATH:"%DXHOME%\Lib" /LIBPATH:"%PLTSDKHOME%\Lib" /LIBPATH:"%CHOME%\Lib" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /MACHINE:X86 /NOLOGO /DLL /DELAYLOAD:jawt.dll -rem set LIBS=Kernel32.lib dinput.lib dxguid.lib OpenGL32.Lib Version.lib user32.lib Gdi32.lib Advapi32.lib jawt.lib delayimp.lib winmm.lib +set LINKEROPTS=/link /LIBPATH:"%JAVA_HOME%\lib" /LIBPATH:"%ALHOME%\libs" /LIBPATH:"%DXHOME%\Lib\x86" /LIBPATH:"%PLTSDKHOME%\Lib" /LIBPATH:"%CHOME%\Lib" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /MACHINE:X86 /NOLOGO /DLL /DELAYLOAD:jawt.dll +set LIBS=Kernel32.lib dinput.lib dxguid.lib OpenGL32.Lib Version.lib user32.lib Gdi32.lib Advapi32.lib jawt.lib delayimp.lib winmm.lib for %%x in (..\..\src\native\win32\*.c) do cl %COPTIONS% %%x for %%x in (..\..\src\native\common\*.c) do cl %COPTIONS% %%x This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |