Rémi Verschelde
2fb5a00305
i18n: Fix string that broke msgmerge
2016-10-09 18:11:55 +02:00
Rémi Verschelde
20773733ca
Merge pull request #6741 from Faless/network_no_spoof
...
Better checks for Multiplayer API, prevent packet source spoofing.
2016-10-09 14:52:35 +02:00
Rémi Verschelde
5f7f73c6ae
Merge pull request #6730 from Faless/fix_export_crash_error
...
Throw an error when exporting a resource class
2016-10-09 14:44:10 +02:00
Rémi Verschelde
fda72354c9
Merge pull request #6702 from Faless/load_error_leading_slash
...
Add error when (pre)loading paths with leading / (#4280 - #3106 )
2016-10-09 14:16:47 +02:00
Rémi Verschelde
c16c621c97
Merge pull request #6657 from Faless/multi_channel_rpc
...
Use 2 different ENet channels for reliable/unreliable packets
2016-10-09 14:05:40 +02:00
Fabio Alessandrelli
b80d72e662
Better checks for Multiplayer API, prevent packet source spoofing.
...
Fixes the following problems.
A malicious client was able to contact another peer faking its identity
(even looking like he was the server).
A malicious client was able to force other client disconnections by sending
bogus system packets to the server.
2016-10-07 16:48:55 +02:00
Fabio Alessandrelli
ee7df2c89a
Throw an error when exporting a resource class
...
"export var tex = Texture"
will now throw an error to avoid crashing the editor:
"Exported constant not a type or resource"
Fixes #6719 . Closes #6729
2016-10-06 20:24:32 +02:00
Fabio Alessandrelli
e59820ac94
Add warning when (pre)loading paths with leading / ( #4280 - #3106 )
2016-10-04 16:07:45 +02:00
Fabio Alessandrelli
c1dc71baee
Fix possible buffer overflow in NetworkedMultiplayerENet
...
NetworkedMultiplayerENet::get_packet was reporting the wrong size for the packet buffer exposing a potential buffer overflow in case of malformed/malicious packets
2016-09-30 03:51:46 +02:00
Fabio Alessandrelli
8b9e5453a5
Use 2 different ENet channels for reliable/unreliable packets
...
This avoids stalling other sequenced but unreliable packets
(i.e. UNRELIABLE_ORDERED) when sending RELIABLE packets.
2016-09-30 02:48:25 +02:00
George Marques
5ef64aae58
Fix build for templates
2016-09-12 22:40:46 -03:00
Juan Linietsky
37f1e86108
Do ctrl-click on any code identifier to go to definiton or help page.
2016-09-12 10:53:31 -03:00
Juan Linietsky
78f92dbcb9
Merge pull request #6281 from bojidar-bg/gdscript-ternary-operator
...
Ternary operator in GDScript (a if x else b)
2016-09-11 18:40:46 -03:00
Juan Linietsky
b83350f4b2
Added constants from types in code completion, somehow this was never added.
...
Stuff like Label.ALIGN_CENTER or Mesh.PRIMITIVE_TRIANGLES did not complete..
2016-09-11 12:20:28 -03:00
Juan Linietsky
1bf684cea2
-Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
...
-Fixed a bug related to theme propagation, may be able to solve #6443 , #6302 and others. Please test.
2016-09-11 10:05:46 -03:00
Juan Linietsky
fc61eb37ce
Merge pull request #5920 from 29jm/fix-warnings
...
Fix some more warnings
2016-09-10 12:21:02 -03:00
Juan Linietsky
e6dc95e499
Merge pull request #6292 from bojidar-bg/gdscript-add-enums
...
Adds enums to GDScript
2016-09-10 11:59:51 -03:00
Juan Linietsky
7a27d5d9e7
Merge pull request #6363 from vnen/winrt
...
Fix the support for WinRT/UWP
2016-09-10 11:47:42 -03:00
Rémi Verschelde
8af99ef1c6
Merge pull request #6436 from djrm/icons
...
Tweaked some icons, including xform one
2016-09-09 07:46:42 +02:00
Daniel J. Ramirez
56f9adac3b
Tweaked some icons, including xform one
2016-09-08 19:22:30 -05:00
Juan Linietsky
828e1c092f
Renamed the bind_native functions to bind_vararg, should make it show the documentation more clearly and also make it easier to bind to C#
2016-09-07 19:39:57 -03:00
Juan Linietsky
405f6af79c
-Added diectly editable expressions on node to VSEditor, closes #6392
...
-Added ability for LineEdit to expand to fit text
2016-09-06 20:34:24 -03:00
Juan Linietsky
23ababdcd5
Changed Vector3.snap from fmod to stepify, which makes more sense, fixes #6399
2016-09-06 19:14:47 -03:00
ISylvox
4aab004674
Should Fix Compiling Export Templates
...
- Works on Windows, Linux x11, Linux Server, Android, HTML5
- Not tested on Mac/iOS (don't have Apple's devices yet)
2016-09-06 04:50:30 +07:00
Răzvan Cosmin Rădulescu
00e743b76a
Clean up GDScript template
2016-09-05 19:58:04 +02:00
Juan Linietsky
24bd472a4a
Removed script_variables/ prefix to VS properties, made them easier to access from GD and Expression nodes
2016-09-04 10:38:41 -03:00
Juan Linietsky
9167cd45bb
Added expression nodes to visual script, please test.
2016-09-04 10:34:40 -03:00
George Marques
5f5db46e8d
Patch thirdy-party libraries to build for WinRT
...
- Patch enet code.
- Patch OpenSSL code and add shims for unavailable API.
- Add extra definition header for Freetype.
2016-09-03 19:46:26 -03:00
Juan Linietsky
77cb836fc4
small fix
2016-09-03 14:59:44 -03:00
Juan Linietsky
5028d7510d
Connection hints when connecting to empty space.
2016-09-03 14:58:23 -03:00
Juan Linietsky
ee37c2f433
Made basic call nodes unsequenced, since they are like gdscript and most return const.
2016-09-03 00:31:39 -03:00
Juan Linietsky
89702d545b
Basic type constants for visual script
2016-09-02 02:13:12 -03:00
Juan Linietsky
65ae4976eb
made visual script switch more flexible
2016-09-01 20:04:17 -03:00
Juan Linietsky
5b96c3a552
-Modified Input and added is_action_just_pressed() as well as is_action_just_released()
2016-09-01 18:59:46 -03:00
Juan Linietsky
fc70824f7c
More improvements to visual script..
...
fixed a bug of not saving when sub-nodes changed.
2016-08-31 17:58:51 -03:00
Juan Linietsky
5567350e1b
-Reworked constant nodes better
...
-Added simple switch node, removed InputEventFilter
2016-08-31 12:50:46 -03:00
Juan Linietsky
fb4d6d1db0
More visual script improvements
...
-Added anti-aliasing on lines
-Improved draw performance enormously
-Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-30 23:46:41 -03:00
J08nY
a56e5c74f5
VisualScript: Fixed VariableGet vs VariableSet node names, fixes #6325
2016-08-30 16:42:39 +02:00
Daniel J. Ramirez
0d692e6a8c
Fixed compilation
2016-08-29 12:26:53 -05:00
Rémi Verschelde
b06fd4cfda
Merge pull request #6303 from Marqin/enet_bind_ip_rebased
...
add NetworkedMultiplayerENet::set_bind_ip
2016-08-29 19:05:45 +02:00
Rémi Verschelde
79068e348f
Merge pull request #6223 from RandomShaper/improve-gridmap-edit
...
Improve/fix GridMap editor
2016-08-29 19:05:00 +02:00
Juan Linietsky
12dc7a2e6a
Merge branch 'master' of https://github.com/godotengine/godot
2016-08-29 08:35:10 -03:00
Daniel J. Ramirez
9465ce46c6
Colors for VS sockets and icons
2016-08-28 19:57:16 -05:00
Juan Linietsky
748836e0b3
Several all around fixes to visual scripting (in the process of creating demos)
2016-08-28 20:59:01 -03:00
Rémi Verschelde
b6e206e995
Merge pull request #6108 from djrm/vs_type_icons_2
...
Icons for VScript types
2016-08-27 21:45:06 +02:00
Bojidar Marinov
88430f0962
Add enum naming, by assinging a given enum's values to a Dict
2016-08-27 15:56:51 +03:00
Bojidar Marinov
4ee82a2c38
Adds enums to GDScript
...
Fixes #2966
2016-08-27 15:27:02 +03:00
Hubert Jarosz
8a4e636df6
add NetworkedMultiplayerENet::set_bind_ip
...
which allows ENet to bind on custom IP.
2016-08-27 13:41:34 +02:00
Juan Linietsky
ec49f41e19
Even more work on visual script editor:
...
-Added constructor nodes, specialized and conversion ones.
-Cleaned up how unconnected input default values are shown and edited (much cleaner)
-Dragging scene nodes into graph makes a call dialog appear by deault
-Dragging properties into graph is set by default, not get
-fixed dragging internal functions into graph
2016-08-26 17:38:25 -03:00
Juan Linietsky
9c6175db11
More visual script work
...
-Block switches to 2d/3d editor if editing visual script
-Added cast node in flow control
-Added ability to do RPC in visual script
-Comment nodes
-Fix bug with inverted cable in connecting backwards
-Copy and paste nodes, including from different scripts
2016-08-25 17:45:20 -03:00