Changeset 190038 in webkit
- Timestamp:
- Sep 20, 2015 8:24:36 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r190036 r190038 1 2015-09-20 Chris Dumez <cdumez@apple.com> 2 3 Unreviewed attempt to fix the GTK build after r190017. 4 5 * bindings/scripts/CodeGeneratorGObject.pm: 6 (SkipFunction): 7 1 8 2015-09-20 Chris Dumez <cdumez@apple.com> 2 9 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm
r189855 r190038 286 286 my $isCustomFunction = $function->signature->extendedAttributes->{"Custom"} || $function->signature->extendedAttributes->{"CustomBinding"}; 287 287 my $callWith = $function->signature->extendedAttributes->{"CallWith"}; 288 my $isUnsupportedCallWith = $codeGenerator->ExtendedAttributeContains($callWith, "ScriptArguments") || $codeGenerator->ExtendedAttributeContains($callWith, "CallStack") ;288 my $isUnsupportedCallWith = $codeGenerator->ExtendedAttributeContains($callWith, "ScriptArguments") || $codeGenerator->ExtendedAttributeContains($callWith, "CallStack") || $codeGenerator->ExtendedAttributeContains($callWith, "FirstWindow") || $codeGenerator->ExtendedAttributeContains($callWith, "ActiveWindow"); 289 289 290 290 # Static methods are unsupported … … 1449 1449 # attributes now, but we should somehow. 1450 1450 my $custom = $attribute->signature->extendedAttributes->{"CustomSetter"}; 1451 if ($attribute->isReadOnly || $attribute->signature->extendedAttributes->{"Replaceable"} || $custom) { 1451 if ($attribute->isReadOnly || $attribute->signature->extendedAttributes->{"Replaceable"} 1452 || $attribute->signature->extendedAttributes->{"CallWith"} 1453 || $attribute->signature->extendedAttributes->{"SetterCallWith"} || $custom) { 1452 1454 next TOP; 1453 1455 } -
trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp
r190030 r190038 2093 2093 } 2094 2094 2095 void webkit_dom_test_obj_set_with_script_state_attribute(WebKitDOMTestObj* self, glong value)2096 {2097 WebCore::JSMainThreadNullState state;2098 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));2099 WebCore::TestObj* item = WebKit::core(self);2100 item->setWithScriptStateAttribute(value);2101 }2102 2103 2095 glong webkit_dom_test_obj_get_with_call_with_and_setter_call_with_attribute(WebKitDOMTestObj* self) 2104 2096 { … … 2108 2100 glong result = item->withCallWithAndSetterCallWithAttribute(); 2109 2101 return result; 2110 }2111 2112 void webkit_dom_test_obj_set_with_call_with_and_setter_call_with_attribute(WebKitDOMTestObj* self, glong value)2113 {2114 WebCore::JSMainThreadNullState state;2115 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));2116 WebCore::TestObj* item = WebKit::core(self);2117 item->setWithCallWithAndSetterCallWithAttribute(value);2118 2102 } 2119 2103 … … 2125 2109 RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptExecutionContextAttribute()); 2126 2110 return WebKit::kit(gobjectResult.get()); 2127 }2128 2129 void webkit_dom_test_obj_set_with_script_execution_context_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value)2130 {2131 WebCore::JSMainThreadNullState state;2132 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));2133 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));2134 WebCore::TestObj* item = WebKit::core(self);2135 WebCore::TestObj* convertedValue = WebKit::core(value);2136 item->setWithScriptExecutionContextAttribute(convertedValue);2137 2111 } 2138 2112 … … 2152 2126 } 2153 2127 2154 void webkit_dom_test_obj_set_with_script_state_attribute_raises(WebKitDOMTestObj* self, WebKitDOMTestObj* value)2155 {2156 WebCore::JSMainThreadNullState state;2157 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));2158 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));2159 WebCore::TestObj* item = WebKit::core(self);2160 WebCore::TestObj* convertedValue = WebKit::core(value);2161 item->setWithScriptStateAttributeRaises(convertedValue);2162 }2163 2164 2128 WebKitDOMTestObj* webkit_dom_test_obj_get_with_script_execution_context_attribute_raises(WebKitDOMTestObj* self, GError** error) 2165 2129 { … … 2177 2141 } 2178 2142 2179 void webkit_dom_test_obj_set_with_script_execution_context_attribute_raises(WebKitDOMTestObj* self, WebKitDOMTestObj* value)2180 {2181 WebCore::JSMainThreadNullState state;2182 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));2183 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));2184 WebCore::TestObj* item = WebKit::core(self);2185 WebCore::TestObj* convertedValue = WebKit::core(value);2186 item->setWithScriptExecutionContextAttributeRaises(convertedValue);2187 }2188 2189 2143 WebKitDOMTestObj* webkit_dom_test_obj_get_with_script_execution_context_and_script_state_attribute(WebKitDOMTestObj* self) 2190 2144 { … … 2194 2148 RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptExecutionContextAndScriptStateAttribute()); 2195 2149 return WebKit::kit(gobjectResult.get()); 2196 }2197 2198 void webkit_dom_test_obj_set_with_script_execution_context_and_script_state_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value)2199 {2200 WebCore::JSMainThreadNullState state;2201 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));2202 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));2203 WebCore::TestObj* item = WebKit::core(self);2204 WebCore::TestObj* convertedValue = WebKit::core(value);2205 item->setWithScriptExecutionContextAndScriptStateAttribute(convertedValue);2206 2150 } 2207 2151 … … 2221 2165 } 2222 2166 2223 void webkit_dom_test_obj_set_with_script_execution_context_and_script_state_attribute_raises(WebKitDOMTestObj* self, WebKitDOMTestObj* value)2224 {2225 WebCore::JSMainThreadNullState state;2226 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));2227 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));2228 WebCore::TestObj* item = WebKit::core(self);2229 WebCore::TestObj* convertedValue = WebKit::core(value);2230 item->setWithScriptExecutionContextAndScriptStateAttributeRaises(convertedValue);2231 }2232 2233 2167 WebKitDOMTestObj* webkit_dom_test_obj_get_with_script_execution_context_and_script_state_with_spaces_attribute(WebKitDOMTestObj* self) 2234 2168 { … … 2238 2172 RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->withScriptExecutionContextAndScriptStateWithSpacesAttribute()); 2239 2173 return WebKit::kit(gobjectResult.get()); 2240 }2241 2242 void webkit_dom_test_obj_set_with_script_execution_context_and_script_state_with_spaces_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value)2243 {2244 WebCore::JSMainThreadNullState state;2245 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));2246 g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));2247 WebCore::TestObj* item = WebKit::core(self);2248 WebCore::TestObj* convertedValue = WebKit::core(value);2249 item->setWithScriptExecutionContextAndScriptStateWithSpacesAttribute(convertedValue);2250 2174 } 2251 2175 -
trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h
r190030 r190038 1214 1214 1215 1215 /** 1216 * webkit_dom_test_obj_set_with_script_state_attribute:1217 * @self: A #WebKitDOMTestObj1218 * @value: A #glong1219 *1220 * Stability: Unstable1221 **/1222 WEBKIT_API void1223 webkit_dom_test_obj_set_with_script_state_attribute(WebKitDOMTestObj* self, glong value);1224 1225 /**1226 1216 * webkit_dom_test_obj_get_with_call_with_and_setter_call_with_attribute: 1227 1217 * @self: A #WebKitDOMTestObj … … 1233 1223 WEBKIT_API glong 1234 1224 webkit_dom_test_obj_get_with_call_with_and_setter_call_with_attribute(WebKitDOMTestObj* self); 1235 1236 /**1237 * webkit_dom_test_obj_set_with_call_with_and_setter_call_with_attribute:1238 * @self: A #WebKitDOMTestObj1239 * @value: A #glong1240 *1241 * Stability: Unstable1242 **/1243 WEBKIT_API void1244 webkit_dom_test_obj_set_with_call_with_and_setter_call_with_attribute(WebKitDOMTestObj* self, glong value);1245 1225 1246 1226 /** … … 1256 1236 1257 1237 /** 1258 * webkit_dom_test_obj_set_with_script_execution_context_attribute:1259 * @self: A #WebKitDOMTestObj1260 * @value: A #WebKitDOMTestObj1261 *1262 * Stability: Unstable1263 **/1264 WEBKIT_API void1265 webkit_dom_test_obj_set_with_script_execution_context_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value);1266 1267 /**1268 1238 * webkit_dom_test_obj_get_with_script_state_attribute_raises: 1269 1239 * @self: A #WebKitDOMTestObj … … 1278 1248 1279 1249 /** 1280 * webkit_dom_test_obj_set_with_script_state_attribute_raises:1281 * @self: A #WebKitDOMTestObj1282 * @value: A #WebKitDOMTestObj1283 *1284 * Stability: Unstable1285 **/1286 WEBKIT_API void1287 webkit_dom_test_obj_set_with_script_state_attribute_raises(WebKitDOMTestObj* self, WebKitDOMTestObj* value);1288 1289 /**1290 1250 * webkit_dom_test_obj_get_with_script_execution_context_attribute_raises: 1291 1251 * @self: A #WebKitDOMTestObj … … 1300 1260 1301 1261 /** 1302 * webkit_dom_test_obj_set_with_script_execution_context_attribute_raises:1303 * @self: A #WebKitDOMTestObj1304 * @value: A #WebKitDOMTestObj1305 *1306 * Stability: Unstable1307 **/1308 WEBKIT_API void1309 webkit_dom_test_obj_set_with_script_execution_context_attribute_raises(WebKitDOMTestObj* self, WebKitDOMTestObj* value);1310 1311 /**1312 1262 * webkit_dom_test_obj_get_with_script_execution_context_and_script_state_attribute: 1313 1263 * @self: A #WebKitDOMTestObj … … 1321 1271 1322 1272 /** 1323 * webkit_dom_test_obj_set_with_script_execution_context_and_script_state_attribute:1324 * @self: A #WebKitDOMTestObj1325 * @value: A #WebKitDOMTestObj1326 *1327 * Stability: Unstable1328 **/1329 WEBKIT_API void1330 webkit_dom_test_obj_set_with_script_execution_context_and_script_state_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value);1331 1332 /**1333 1273 * webkit_dom_test_obj_get_with_script_execution_context_and_script_state_attribute_raises: 1334 1274 * @self: A #WebKitDOMTestObj … … 1343 1283 1344 1284 /** 1345 * webkit_dom_test_obj_set_with_script_execution_context_and_script_state_attribute_raises:1346 * @self: A #WebKitDOMTestObj1347 * @value: A #WebKitDOMTestObj1348 *1349 * Stability: Unstable1350 **/1351 WEBKIT_API void1352 webkit_dom_test_obj_set_with_script_execution_context_and_script_state_attribute_raises(WebKitDOMTestObj* self, WebKitDOMTestObj* value);1353 1354 /**1355 1285 * webkit_dom_test_obj_get_with_script_execution_context_and_script_state_with_spaces_attribute: 1356 1286 * @self: A #WebKitDOMTestObj … … 1364 1294 1365 1295 /** 1366 * webkit_dom_test_obj_set_with_script_execution_context_and_script_state_with_spaces_attribute:1367 * @self: A #WebKitDOMTestObj1368 * @value: A #WebKitDOMTestObj1369 *1370 * Stability: Unstable1371 **/1372 WEBKIT_API void1373 webkit_dom_test_obj_set_with_script_execution_context_and_script_state_with_spaces_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value);1374 1375 /**1376 1296 * webkit_dom_test_obj_get_conditional_attr1: 1377 1297 * @self: A #WebKitDOMTestObj
Note: See TracChangeset
for help on using the changeset viewer.