Commit graph

12774 commits

Author SHA1 Message Date
Rémi Verschelde c3cfc951c7
Merge pull request #15499 from YeldhamDev/recent_scripts_fix
Changes for the "Recent Scripts" menu
2018-02-12 08:01:08 +01:00
Rémi Verschelde 5b58040d11
Merge pull request #16328 from bcr3ative/issue_16278
Fix UX with project settings search functionality
2018-02-12 07:59:27 +01:00
Thomas Herzog c8b2122b33
Merge pull request #16558 from tilpner/gdnative-variant-new-bool
gdnative_api.json: Change argument name to r_dest
2018-02-11 18:25:25 +01:00
tilpner a75a7e594e
gdnative_api.json: Change argument name to r_dest
This reflects its usage as an output argument,
consistent with the other godot_variant_new functions
2018-02-11 17:19:17 +01:00
Thomas Herzog 31dd21a8d9
Merge pull request #16539 from eska014/gdnative-macwarn
Fix GDNATIVE_API_INIT() warning about sign mismatch
2018-02-10 17:36:57 +01:00
Leon Krause 8e39cdd5d5 Fix GDNATIVE_API_INIT() warning about sign mismatch 2018-02-10 17:19:16 +01:00
Thomas Herzog 68f277477b
Merge pull request #16514 from karroffel/nativescript-extension-1
add NativeScript extension 1
2018-02-09 16:33:12 +01:00
karroffel 0b2afa24b8 add initial NativeScript 1.1 extension
This commit adds new functionality to NativeScript, namely:

 - ability to set and get documentation for classes, methods,
   signals and properties

 - ability to set names and type information to method arguments

 - ability to set and get type tags for nativescripts

 - ability to register instance binding data management functions

 - ability to use instance binding data
2018-02-09 15:04:41 +01:00
karroffel 2fb66df669 generate proper API structs for GDNative extension extensions
The GDNative C API gets passed to libraries in a struct of function
pointers. To provide stable binary compatibility, each extension not
part of the core API is separated into its own sub-struct.

These structs aren't meant to be changed in order to keep binary
compatibility.

In case of an API extension, the structs include a `next` pointer
which can point to a new struct with additional function pointers.

Godot's build system generates the API structs automatically at
build time, but so far there has no support for the mentioned `next`
pointers.

This commit changes the API struct generation in such a way that code
that used previous headers will compile without problem with the new
headers.

The new extension-extensions (weird name, but that's what it is) get
generated recursively and include the version in the struct-name.
2018-02-09 11:44:54 +01:00
Rémi Verschelde cbdd410a6f
Merge pull request #15899 from karroffel/stringbuffer-template-arg
add template argument for size in StringBuffer
2018-02-07 11:37:10 +01:00
Poommetee Ketson 776568fc9e
Merge pull request #16460 from ronroniv/patch-1
Update an outdated method name in error message
2018-02-07 11:04:21 +07:00
ronroniv 5e8f7c9782
Update an outdated method name in error message
set_enable_monitoring -> set_monitoring
2018-02-07 12:32:05 +09:00
Rémi Verschelde b0a73077cb
Merge pull request #14888 from Faless/websocket
Websocket module
2018-02-07 01:05:04 +01:00
Fabio Alessandrelli f3abd4a065 Travis builds use builtin_openssl for X11
1.0.2 is now the minimum version of openssl to build against
2018-02-06 14:10:13 +01:00
Fabio Alessandrelli 658d71c3b9 Relicense module to the wondeful Godot community! 2018-02-06 14:10:13 +01:00
Fabio Alessandrelli 6a644d3ee1 Add websocket module.
Webassembly is client-only for obvious reasons.
Other platforms support both client and server using libwebsockets.
2018-02-06 14:10:13 +01:00
Poommetee Ketson 3cb1b2227f
Merge pull request #16434 from Silvea12/kinematic-docs
Fixed KinematicBody move_and_slide documentation naming

[ci skip]
2018-02-06 13:54:19 +07:00
Andrew Silver da81d9f843 Fixed KinematicBody move_and_slide documentation naming 2018-02-05 21:44:53 +01:00
Hein-Pieter van Braam 5c9ecc174b
Merge pull request #16419 from nical/issue-16395
Fix polygon triangulation failure.
2018-02-05 17:59:17 +01:00
Fabio Alessandrelli fa33e0f62d Add libwebsockets as thirdparty library.
License is LGPLv2.1 + static linking exception, version is 2.4.1
2018-02-05 16:11:41 +01:00
Nicolas Silva 91215e1919 Fix polygon triangulation failure.
The ear clipping algorithm used to triangulate polygons has a slightly too conservative point-in-triangle test which can, in some configurations prevent it from finding a possible tessellation. Relaxing the test by considering that points exactly on edges don't belong the triangle fixes the issue. Changing the semantic of the test is safe because no other code makes use of it. A more detailed explanation can be found in issue #16395.

Fixes #16395.
2018-02-05 16:01:24 +01:00
Hein-Pieter van Braam e836a7d88d Kill an old debugging message
When running the engine with -d we get a message on the command-line for
each control being clicked. After discussing with @reduz it seems that
this is old and should be removed. Commented out as requested.
2018-02-05 11:18:49 +01:00
George Marques ea99b90a77
Merge pull request #16361 from philj56/master
Fix minor spelling mistake in texture import menu
2018-02-03 18:12:56 -02:00
George Marques ba6a0a3e3d
Merge pull request #16362 from clktmr/master
Fix broken variant call of Vector3.snapped
2018-02-03 18:10:11 -02:00
Timur Celik c16f61190c Fix broken variant call of Vector3.snapped 2018-02-03 19:57:12 +01:00
Phil Jones d1a471f909 Fix texture import spelling 2018-02-03 18:38:39 +00:00
Poommetee Ketson 047cb97ff7
Merge pull request #16354 from Noshyaar/gradient
Gradient: fix wrong property type
2018-02-03 23:03:58 +07:00
Poommetee Ketson 4f9ef96b54 Gradient: fix wrong property type 2018-02-03 22:38:54 +07:00
Poommetee Ketson 4ab522799d
Merge pull request #16347 from Chaosus/gradientpreviewfix
Fix gradient texture preview
2018-02-03 16:55:52 +07:00
Poommetee Ketson 5f891eae6b
Merge pull request #16346 from binbitten/issue_16345
Fix wrong property type for fixed icon size in ItemList
2018-02-03 16:54:22 +07:00
Chaosus 3ba43ac975 Fix gradient texture preview 2018-02-03 12:10:44 +03:00
binbitten 331cfc1d18 Fix wrong property type for fixed icon size in ItemList 2018-02-03 10:02:27 +01:00
Juan Linietsky 82df614457 Add a proper error when safe save fails. 2018-02-02 23:50:41 -03:00
Andreas Haas 95cfa9bf74
GDScriptParser: Remove debug prints. 2018-02-02 20:37:59 +01:00
Michael Alexsander Silva Dias 140340978b Changes for the "Recent Scripts" menu. 2018-02-02 15:34:36 -02:00
Paolo Perkovic e7b98119df Fix UX with project settings search functionality 2018-02-02 17:38:45 +01:00
Rémi Verschelde f13d034485 Update DONORS list
[ci skip]
2018-02-02 10:04:45 +01:00
Rémi Verschelde abf82057f3
Merge pull request #16296 from YeldhamDev/control_doc
[DOCS] Small fixes for the Control description
2018-02-01 23:49:13 +01:00
Michael Alexsander Silva Dias 5e0821e867 Small fixes for the Control description in the docs. 2018-02-01 19:43:44 -02:00
Rémi Verschelde 0033e72a0f
Merge pull request #16276 from bcr3ative/issue_15668
Fix inconsistencies and typos in argument names
2018-02-01 17:26:13 +01:00
Rémi Verschelde 4cb64feae8
Merge pull request #15910 from robfram/fix-audio-signal-issue-15895
Fix issue #15895, audio streams don't signalling finished after the first one
2018-02-01 16:54:31 +01:00
Rémi Verschelde 51d3dee9c2
Merge pull request #15946 from MarianoGnu/issue_15870
Attemp to fix #15870
2018-02-01 16:49:35 +01:00
Paolo Perkovic 08d4bfacaf Fix inconsistencies and typos in argument names 2018-02-01 16:47:20 +01:00
Rémi Verschelde 2459eebc1d
Merge pull request #16258 from NathanWarden/fix_mono_decimals_method
[Mono] Fix an infinite recursion in the Mathf.Decimals method when using floats.
2018-02-01 15:39:51 +01:00
Rémi Verschelde 0d255df93a
Merge pull request #16252 from ProfesorTartelett/patch-1
Errata fix on Image get_format() description
2018-02-01 15:34:53 +01:00
Rémi Verschelde 9247f2de37
Merge pull request #16249 from binbitten/fix-highlight-ofs
Fix TextEdit current line highlight horizontal offset
2018-02-01 15:25:02 +01:00
Rémi Verschelde c460e38bf3
Merge pull request #16205 from neikeq/issue-15053
Mono: Remove automatic script multilevel calls
2018-02-01 14:51:12 +01:00
Rémi Verschelde 906ac2fc9d
Merge pull request #16002 from bruvzg/mono_loading_form_res
[Mono] Allow loading assemblies (including mscorlib) from resources.
2018-02-01 14:36:05 +01:00
Rémi Verschelde ff287d8341
Merge pull request #15254 from mrcdk/pitch_scale
Added pitch scale property to AudioStreamPlayer, AudioStreamPlayer2D and AudioStreamPlayer3D
2018-02-01 14:26:27 +01:00
Rémi Verschelde 6449af9f74
Merge pull request #16175 from NathanWarden/add_async_and_await
Added async and await as C# keywords.
2018-02-01 14:19:48 +01:00