Commit graph

12806 commits

Author SHA1 Message Date
Rémi Verschelde
2099f7bc41
Merge pull request #16474 from robfram/fix-compile-freebsd-websocket
Fix compilation errors with FreeBSD and libwebsocket
2018-02-13 19:37:07 +01:00
robfram
59baf3da92 Add FreeBSD and OpenBSD #defines to skip LWS_HAVE_SYS_PRCTL_H
compiling libwebsocket, as it would fail otherwise. Fix #16472.
2018-02-13 18:12:39 +01:00
Rémi Verschelde
a8edad2128
Merge pull request #16463 from Noshyaar/pr1
3DEditor: fix selecting node in viewport not update inspector
2018-02-13 17:06:49 +01:00
Rémi Verschelde
8cfe798877
Merge pull request #16433 from Calinou/remove-assetlib-debugging-prints
Remove debugging prints related to the asset library
2018-02-13 15:47:47 +01:00
Rémi Verschelde
8d75b27405
Merge pull request #16432 from Ovnuniarchos/master
SpinBoxes calculate correctly their width before first redraw.
2018-02-13 15:46:39 +01:00
Rémi Verschelde
eefb58a892
Merge pull request #16424 from AndreaCatania/phyj
Added physics API in order to enable/disable collisions between rigidbody attached to a joint with bullet physics bullet
2018-02-13 15:26:04 +01:00
Rémi Verschelde
fd871b4d4f
Merge pull request #16383 from binbitten/issue_16335
Fix spaces and quotes in external editor flags
2018-02-13 15:21:37 +01:00
Rémi Verschelde
427077a5f6
Merge pull request #16410 from bcr3ative/issue_16406
Fix timeline track name overlapping keyframe area
2018-02-13 14:11:52 +01:00
Rémi Verschelde
448076edb6
Merge pull request #16402 from Calinou/fix-camera-gizmo
Draw the Camera gizmo more accurately
2018-02-13 13:10:33 +01:00
Rémi Verschelde
d0a3bd82c1
Merge pull request #16401 from YeldhamDev/json_example_fix
Fixed wrong example in JSONParseResult
2018-02-13 12:00:09 +01:00
Rémi Verschelde
dff0c41fe8
Merge pull request #16374 from ianb96/drop_at_mouse
Drop path text at mouse pos
2018-02-13 11:25:55 +01:00
Rémi Verschelde
81dee310e0
Merge pull request #16373 from ianb96/scene_shortcut_disable
Disable scene tree shortcuts when in a text field
2018-02-13 11:23:58 +01:00
Rémi Verschelde
6179770700
Merge pull request #16321 from JFonS/master
Fix gizmo solid box mesh being added twice
2018-02-13 11:01:10 +01:00
Poommetee Ketson
45ab9cdfb5
Merge pull request #16499 from sudoio/master
Deselect text when jumping to function
2018-02-12 23:09:19 +07:00
Rémi Verschelde
f961ba004b
Merge pull request #16332 from YeldhamDev/capitalize_view_menu
Capitalized "View" menu options
2018-02-12 09:00:36 +01:00
Rémi Verschelde
889b9b6dce
Merge pull request #16306 from mhilbrunner/mhilbrunner-docs-json-keyorder
[DOCS] parse_json: Objects do not keep key order
2018-02-12 08:03:53 +01:00
Rémi Verschelde
6e4106ace6
Merge pull request #15525 from YeldhamDev/recent_scenes_changes
Small changes to the "Recent Scenes" menu
2018-02-12 08:02:06 +01:00
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
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
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
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
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