Commit Graph

12977 Commits

Author SHA1 Message Date
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
Jonathan Tinkham 70d281b946 Add and use mono build variables with cloned environment. 2018-02-10 20:48:46 -07: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
Paulb23 4d92c5e1c3 Fixed members overview not scrolling to correct line 2018-02-09 17:35:28 +00: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
Artem Varaksa 3094e89782 Fix #16479 (deselect text when jumping to function) 2018-02-08 21:12:08 +03: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 cfac160f9f 3DEditor: fix selecting node in viewport not update inspector 2018-02-07 13:27:39 +07: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
Ovnuniarchos fe1ca3c6e6 SpinBoxes calculate correctly their width before first redraw. 2018-02-05 22:42:30 +01:00
Hugo Locurcio 5513e4e1f9
Remove debugging prints related to the asset library 2018-02-05 22:39:35 +01:00
Andrew Silver da81d9f843 Fixed KinematicBody move_and_slide documentation naming 2018-02-05 21:44:53 +01:00
Andrea Catania a42765dada Added physics API in order to enable/disable collisions between rigidbody attached to a joint with bullet physics bullet
Fixes #16424
2018-02-05 18:54:07 +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
Federico Frenguelli 9cd3ed4ace Fixed #15082: line edit emits two "text_changed" signals when pasting while text is selected 2018-02-05 16:22:34 +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
Paolo Perkovic 398f5b74e3 Fix timeline track name overlapping keyframe area 2018-02-05 13:25:50 +01:00
Hugo Locurcio 84267915f5
Remove a few debugging prints 2018-02-05 11:30:50 +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
Michael Alexsander Silva Dias 24e87f97c6 Fixed wrong example in JSONParseResult. 2018-02-04 21:00:16 -02:00
Hugo Locurcio 0d7d293889
Draw the Camera gizmo more accurately
The Camera gizmo no longer looks twice as wide as it actually is.
This fixes #16399.
2018-02-04 23:28:04 +01:00
Marcin Zawiejski 8315aa40cc fix buffer write performance on Windows and Unix 2018-02-04 13:23:23 +01:00
binbitten fb8d2420b5 Fix spaces and quotes in external editor flags 2018-02-04 11:18:54 +01:00
ianb96 06965f2770 drop path text at mouse pos 2018-02-03 22:35:44 -05:00
ianb96 4e96e04389 disable scene tree shortcuts when in a textfield 2018-02-03 19:58:51 -05: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
Nathan Warden 0cc4de1f24 [Mono] Basis values now marshalled in the correct order. 2018-02-02 16:45:30 -05:00
Andreas Haas 95cfa9bf74
GDScriptParser: Remove debug prints. 2018-02-02 20:37:59 +01:00
Michael Alexsander Silva Dias b507eeddcc Capitalized "View" menu options. 2018-02-02 17:27:57 -02:00