Commit graph

13999 commits

Author SHA1 Message Date
Ignacio Etcheverry f8ce412560 Mono: Do not spam script class not found error
Print this error only when trying to instantiate the script. This way we prevent errors being printed for source files which are not meant to be used as scripts.
2018-04-24 20:46:57 +02:00
Ignacio Etcheverry 89e84185e8 Mono: Fix crash on script load if the scripts domain isn't loaded 2018-04-24 20:46:53 +02:00
Gilles Roudière a096df5e45
Merge pull request #18385 from flashyincceo/animation-save-bug
Fix AnimationPlayer edited scene bug
2018-04-24 11:37:32 +02:00
Gilles Roudière 2e8dda1f3f
Merge pull request #18391 from endragor/fix-global-position-type
Fix Node2D::global_position to have Vector2 type
2018-04-24 11:33:49 +02:00
Ruslan Mustakov 8619b0d280 Fix Node2D::global_position to have Vector2 type 2018-04-24 10:50:05 +07:00
Peter Folkins 223f085857 Fix AnimationPlayer edited scene bug 2018-04-23 14:06:40 -05:00
groud e8a4c4fa4c Fixes hard to select Node2D 2018-04-23 19:48:15 +02:00
Anish cca7633739 Replaces CTRL with CMD in TileMapEditor for MacOS.
Replacing CTRL with CMD makes sense dure to consistency
with MacOS and avoiding conflict with the accessibility
hotkey (ctrl+lmb = rmb)

Fixes: #18238
2018-04-23 19:39:01 +05:30
Anish a126876cc8 Adds support for CMD+Left and CMD+Right on MacOS
CMD+Left and CMD+Right are hotkeys used on MacOS for
moving cursor to start and end of the text, respectively.
They are now supported, alongside ALT+key.

Fixes: #17631
2018-04-23 16:09:20 +05:30
Hugo Locurcio 1c419531a0 Change ".." punctuation for "..." in editor strings (#16507) 2018-04-22 19:36:01 +02:00
George Marques ca25f1e6ea
Merge pull request #18176 from nikibobi/string-trim
Add string trim_prefix, trim_suffix, lstrip and rstrip methods
2018-04-22 12:29:44 -03:00
GaryO 06c5a9ed5f Add detail to doc for add_surface_from_arrays (#17911)
Includes review comments from #17911 from @cbscribe and @Noshyaar
2018-04-22 15:23:33 +02:00
Max Hilbrunner d0699b34d7
Merge pull request #18336 from PJB3005/18-04-21-command's
Fixes a typo in the VisualServer.canvas_item_add_set_transform docs.
2018-04-22 15:06:39 +02:00
krogank9 6b797574a2 [DOCS] Add note that Pool*Arrays are passed by value (#18340) 2018-04-22 01:23:50 +02:00
Max Hilbrunner b02d0ca6ef
Merge pull request #18343 from homer666/docs-popup-exclusive
[DOCS] Popup.popup_exclusive description
2018-04-21 21:49:21 +02:00
homer666 d4ce53b9b1 [DOCS] Popup.popup_exclusive description 2018-04-22 05:41:15 +10:00
Pieter-Jan Briers 09f79cde69 Fixes a typo in the VisualServer.canvas_item_add_set_transform docs. 2018-04-21 16:10:34 +02:00
Max Hilbrunner 7d6f210ccb
Merge pull request #18316 from Noshyaar/http
[DOCS] add HTTPRequest.request return values
2018-04-20 12:04:44 +02:00
Poommetee Ketson f05e24ed18 [DOCS] add HTTPRequest.request return values 2018-04-20 16:34:30 +07:00
Rémi Verschelde df79cc86a5
Merge pull request #18119 from sheepandshepherd/nativescript_property_list
Fix NativeScript property list order
2018-04-19 21:37:46 +02:00
Craigory V Coppola 0dd526e062 Docs update for several classes
Namely: Dictionary, GraphEdit, Object, TileMap, Script, ScollBar,
ScrollContainer and SplitContainer
2018-04-19 21:09:53 +02:00
Rémi Verschelde 8ae042a895
Merge pull request #18280 from groud/fix_input
Fixes left/up axis not mappable as actions
2018-04-19 21:06:17 +02:00
Rémi Verschelde fab28cc0f3
Merge pull request #18285 from Calinou/enable-dynamicfont-oversampling
Enable DynamicFont oversampling by default
2018-04-19 21:05:32 +02:00
Rémi Verschelde 2730b39a4d
Merge pull request #18295 from endragor/purchase-errors
Provide error details when in-app purchase fails
2018-04-19 21:04:14 +02:00
Ruslan Mustakov 265caa687b Provide error details when in-app purchase fails 2018-04-19 21:04:20 +07:00
Rémi Verschelde 394e6d5ee1
Merge pull request #18281 from akien-mga/coverity-string
Fix some Coverity warnings in String API
2018-04-19 11:26:11 +02:00
Rémi Verschelde f433826621
Merge pull request #18289 from sersoong/master-contextmenu
Fixed context menu TTR bugs
2018-04-19 10:52:38 +02:00
sersoong a1cfc89108 Fixed context menu TTR bugs 2018-04-19 15:31:38 +08:00
Hugo Locurcio 16a3f66420
Enable DynamicFont oversampling by default
This results in a better DynamicFont appearance when scaled, which
is especially noticeable when using the `2d` scaling mode.
2018-04-19 01:25:25 +02:00
Max Hilbrunner a3aa5ad0d0 PCKPacker:pck_start(): Update version 2018-04-19 00:45:22 +02:00
Rémi Verschelde 9a75975042 Fix some Coverity warnings in String API
- StringName::StringName(const StringName &p_name)
  Non-static class member _data is not initialized in this constructor nor in any functions that it calls.

- StringName::_Data()
  Non-static class member idx is not initialized in this constructor nor in any functions that it calls.

- String::num_uint64(...)
  This less-than-zero comparison of an unsigned value is never true. n % base < 0UL.

- String::hex_to_int(...) and String::hex_to_int64(...)
  Execution cannot reach this statement (deadcode)
2018-04-18 22:20:39 +02:00
Gilles Roudiere 7e89dc432c Fixes left/up axis not mappable as actions 2018-04-18 21:38:52 +02:00
Rémi Verschelde 9ce8d8ddda
Merge pull request #18261 from flashyincceo/export-project-default-filename
Set default file name for exported projects
2018-04-18 16:37:57 +02:00
Rémi Verschelde 3b1ea51e40
Merge pull request #18172 from Chaosus/fix_notification
Prevent visibility notification from being called twice in object creation
2018-04-18 16:35:38 +02:00
Rémi Verschelde db70538688
Merge pull request #18168 from Chaosus/fixcrash
Fix possible crash when clicking on Skeleton2D or Sprite editor options
2018-04-18 16:19:10 +02:00
Peter Folkins bff73bdbf1 Set default file name for exported projects 2018-04-18 08:58:13 -05:00
Chaosus 026617b5fb Fix possible crash when clicking on Skeleton2D or Sprite editor options 2018-04-18 16:45:39 +03:00
Rémi Verschelde 3da7263920
Merge pull request #18270 from akien-mga/windows-case-test
Fix case mismatch check on Windows
2018-04-18 15:14:50 +02:00
Rémi Verschelde 67cf812e45
Merge pull request #18161 from flashyincceo/fixing-bug-#18128
Add popup_closed signal for ColorPickerButton
2018-04-18 15:09:57 +02:00
Rémi Verschelde ff8c074480 Fix case mismatch check on Windows
@reduz pushed the old 44989bc957 commit
today which he had forgotten in his local clone, and apparently it does
not compile. Also fixed style.
2018-04-18 14:52:05 +02:00
Juan Linietsky a2f26a96dc Add a macro to deprecate methods 2018-04-18 14:27:26 +02:00
Juan Linietsky 44989bc957 Test and warn of case mismatch on Windows
Will throw a warning when a file is opened with a different case than what is stored on the Windows filesystem.
2018-04-18 14:27:26 +02:00
Rémi Verschelde 3018132244
Merge pull request #18204 from tagcup/quat_scale
Avoid converting Quat to Euler angles when not necessary.
2018-04-18 13:55:35 +02:00
Rémi Verschelde 9a4110a451
Merge pull request #17391 from PJB3005/18-03-09-fix-canvas-light-shaders
Fixes canvas light shaders.
2018-04-18 13:31:28 +02:00
Rémi Verschelde 8e2b29b659
Merge pull request #18227 from bojidar-bg/fix-date-unix-crash
Fix crash resulting from bad month check in core_bind.cpp
2018-04-18 13:30:04 +02:00
Rémi Verschelde a6a0495829
Merge pull request #18230 from volzhs/fix-image-error
Fix index out of size error on Image
2018-04-18 13:26:03 +02:00
Rémi Verschelde 90e462b0c2
Merge pull request #18236 from bncastle/add_call_flags_description
Add descriptions for GroupCall flags
2018-04-18 13:19:32 +02:00
Rémi Verschelde 52601d42c4
Merge pull request #18247 from volzhs/path-color
Ability to change path color with self modulate
2018-04-18 13:18:51 +02:00
Rémi Verschelde 952f7d71aa
Merge pull request #18142 from AndreaCatania/coverity1
Removed useless check
2018-04-18 12:49:47 +02:00
Rémi Verschelde 3aaa5514d0
Merge pull request #18053 from mysticfall/master
#18051: Clean up and reformat C# source files
2018-04-18 12:43:21 +02:00