premake/patches/711.patch
author Sam Lantinga
Thu, 01 Sep 2016 01:26:56 -0700
changeset 10304 ee83e0b4a36f
parent 7925 f090a47eb7f7
permissions -rwxr-xr-x
wayland: Add support for relative mouse mode, by Jonas Ã…dahl <jadahl@gmail.com>

Generate the C protocol files from the protocol XML files installed by
wayland-protocols, and use them to implement support for relative pointer
motions and pointer locking.

Note that at the time, the protocol is unstable and may change in the future.
Any future breaking changes will, however, fail gracefully and result in no
regressions compared to before this patch.
icculus@7925
     1
# HG changeset patch
icculus@7925
     2
# User Ben Henning
icculus@7925
     3
# Date 1376453463 25200
icculus@7925
     4
#      Tue Aug 13 21:11:03 2013 -0700
icculus@7925
     5
# Node ID a5f8b4f709722222e02fa481873d76ad25255e09
icculus@7925
     6
# Parent  8b24d45e6a5d717876a7b32b64e99043c95328e5
icculus@7925
     7
Implemented Xcode recognizing bitmap and wave files as resources, plus properly
icculus@7925
     8
set their types recognizable by Xcode itself.
icculus@7925
     9
icculus@7925
    10
diff --git a/src/actions/xcode/xcode_common.lua b/src/actions/xcode/xcode_common.lua
icculus@7925
    11
--- a/src/actions/xcode/xcode_common.lua
icculus@7925
    12
+++ b/src/actions/xcode/xcode_common.lua
icculus@7925
    13
@@ -32,6 +32,8 @@
icculus@7925
    14
 			[".nib"] = "Resources",
icculus@7925
    15
 			[".xib"] = "Resources",
icculus@7925
    16
 			[".icns"] = "Resources",
icculus@7925
    17
+			[".bmp"] = "Resources",
icculus@7925
    18
+			[".wav"] = "Resources",
icculus@7925
    19
 		}
icculus@7925
    20
 		return categories[path.getextension(node.name)]
icculus@7925
    21
 	end
icculus@7925
    22
@@ -85,6 +87,8 @@
icculus@7925
    23
 			[".strings"]   = "text.plist.strings",
icculus@7925
    24
 			[".xib"]       = "file.xib",
icculus@7925
    25
 			[".icns"]      = "image.icns",
icculus@7925
    26
+			[".bmp"]       = "image.bmp",
icculus@7925
    27
+			[".wav"]       = "audio.wav",
icculus@7925
    28
 		}
icculus@7925
    29
 		return types[path.getextension(node.path)] or "text"
icculus@7925
    30
 	end