Commit graph

8104 commits

Author SHA1 Message Date
Rémi Verschelde
6f63a01302 Merge pull request #8943 from RandomShaper/fix-error-handling
Implement well-defined handling of unrecoverable errors
2017-07-05 10:55:11 +02:00
Rémi Verschelde
5a48b428fd Merge pull request #9476 from marcelofg55/master
Implemented borderless fullscreen code on OSX.
2017-07-05 10:51:55 +02:00
Rémi Verschelde
c81fd8c687 Merge pull request #9492 from kubecz3k/subscene-click-fix
fix for redundant RMB options for toplevel node
2017-07-05 10:51:31 +02:00
Pedro J. Estébanez
779693a79b Implement byte-tagging of memory
Using a magic value for memory allocated but uninitialized and another one for memory about-to-be-released. Helps in debugging unitialized members, dangling pointerts, etc.

Disabled by default. Can be enabled for debug builds by defining `DEBUG_MEMORY_TAGGING`.
2017-07-05 10:31:13 +02:00
Pedro J. Estébanez
490a2ff0b9 Improve reliability of memory stats
The allocation count is managed atomically and where it actually should
change (for instance, not counting an allocation before its success has
been checked).

Bonus: Improve readability of the pre-pad checks.
2017-07-05 10:26:55 +02:00
Rémi Verschelde
f4ff452a58 Merge pull request #9496 from Noshyaar/pr-itemlist
ItemList: expose methods, in-editor items editing support
2017-07-05 10:20:44 +02:00
Rémi Verschelde
444354b51f Merge pull request #9498 from Noshyaar/pr-license
About: Add License info
2017-07-05 10:16:52 +02:00
Rémi Verschelde
9e460020de Merge pull request #9502 from anakimluke/remove_outdated_comment
Removed outdated comment.
2017-07-05 10:15:50 +02:00
Pedro J. Estébanez
211c451890 Implement well-defined handling of unrecoverable errors
Plus the addition of some convenience CRASH_* error macros.
Plus transient avoidance of the flood of warnings emitted by Clang when checking 'this' for NULL.
Plus explanation about the do-while(0) loop in some error macros.
2017-07-05 09:31:44 +02:00
Juan Linietsky
7263137dba Implemented environment arrays for skybox reflection and roughness, quality increase is enormous. 2017-07-04 23:53:08 -03:00
anakimluke
c1699d807f Removed outdated comment.
closes #78
2017-07-04 21:36:06 -03:00
Rémi Verschelde
d84ed525a9 Add project names as Comment fields in copyright file
This is compliant with the specification [0] and should allow us
to generate human-readable output from the machine-readable file.

[0] https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#files-paragraph
2017-07-04 19:14:19 +02:00
Poommetee Ketson
272cfdc0c8 About: Add License info 2017-07-04 22:07:43 +07:00
Poommetee Ketson
3aff102fc3 ItemList: expose methods, in-editor items editing support 2017-07-04 20:12:33 +07:00
Jakub Grzesik
5f13b42513 fix for redundant RMB options for toplevel node 2017-07-04 12:50:20 +02:00
Rémi Verschelde
a2586a2119 Merge pull request #9396 from sowfelicity/x11-ime-echo
Workaround for IME and echo events on Linux (fixes #29 #7106 #9381):
2017-07-03 23:48:57 +02:00
Rémi Verschelde
8a23313177 Merge pull request #9447 from Noshyaar/pr
EditorNode: mark opened deleted scenes as unsaved
2017-07-03 23:46:54 +02:00
Rémi Verschelde
e54c7d5715 Merge pull request #9457 from TwistedTwigleg/Fixed_Vector3_snap
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
2017-07-03 23:43:33 +02:00
Rémi Verschelde
2036273f94 Merge pull request #9462 from Noshyaar/pr2
SceneTab: MMB or double LMB to create new scene
2017-07-03 23:32:29 +02:00
Rémi Verschelde
1a2ea9ba1b Merge pull request #9465 from Zylann/curve_preview
Added Curve preview thumbnail
2017-07-03 23:28:23 +02:00
Rémi Verschelde
5c1995ef49 Merge pull request #9468 from BastiaanOlij/osx_export_dmg
On OSX export to DMG and optionally code sign the app bundle
2017-07-03 23:25:43 +02:00
Rémi Verschelde
e4b42a5da0 Merge pull request #9473 from Noshyaar/pr-author
Authors/About: support for multiple sections
2017-07-03 22:59:34 +02:00
Rémi Verschelde
b8ae605603 Merge pull request #9481 from BastiaanOlij/prim_capsule_flat
Re-orient capsule to collision shape
2017-07-03 22:47:26 +02:00
Rémi Verschelde
1ec7f2caee Merge pull request #9484 from kubecz3k/subscene-single-click
Clicking on subscene icon will open it
2017-07-03 22:35:54 +02:00
TwistedTwigleg
44ecfb028d Fixed syntax inconsistency in Vector3.snap and Vector3.snapped 2017-07-03 16:29:03 -04:00
Rémi Verschelde
686e81fcd8 Merge pull request #9486 from TwistedTwigleg/Node2D_set_global_scale_fix
Fixed set_global_scale in Node2D.
2017-07-03 22:11:40 +02:00
TwistedTwigleg
a6feb0943a Fixed set_global_scale in Node2D. 2017-07-03 13:28:26 -04:00
Jakub Grzesik
80716a8bf4 Clicking on subscene icon will open it
All options are moved into RMB menu
2017-07-03 16:53:46 +02:00
BastiaanOlij
f02ccffca3 Re-orient capsule to colission shape 2017-07-03 23:53:06 +10:00
Juan Linietsky
e63c64e256 Clean up normalmapping, make sure tangents are imported correctly. 2017-07-03 10:45:34 -03:00
Rémi Verschelde
afbb5261e6 Merge pull request #9471 from volzhs/visibility-changes
Update visibility icon properly
2017-07-03 10:03:00 +02:00
Poommetee Ketson
21f6cc75a1 Authors/About: support for multiple sections 2017-07-03 09:40:56 +07:00
Marcelo Fernandez
a9c5895c16 Implemented borderless fullscreen code on OSX. 2017-07-02 23:40:44 -03:00
volzhs
6ed2b0eabc Update visibility icon properly 2017-07-03 00:27:27 +09:00
BastiaanOlij
7ddf3d6cc4 On OSX export to DMG and optionally code sign the app bundle 2017-07-02 21:23:33 +10:00
Rémi Verschelde
bb6e73f9c1 EditorNameDialog: Remove unnecessary move_child
Fixes #9377.
2017-07-02 12:50:27 +02:00
Rémi Verschelde
71f6c96288 Script editor help: Prevent loading empty instances from layout 2017-07-02 12:31:34 +02:00
Marc Gilleron
c4564233a8 Added Curve preview thumbnail 2017-07-02 01:52:47 +02:00
Rémi Verschelde
0ffb70f0bb Merge pull request #9463 from bojidar-bg/9461-fix-backcompat
Readd tilemap's shape_transform and bugfixes
2017-07-01 21:34:19 +02:00
Andreas Haas
bb9daaccff
Animation Editor: Fix trying to stop playback without player.
Fixes #9280
2017-07-01 20:26:41 +02:00
Bojidar Marinov
88ae942029
Readd shape_offset as an editor-only and backcompat property 2017-07-01 20:58:35 +03:00
Bojidar Marinov
4d2642b666 Readd tilemap's shape_transform and bugfixes
This reverts commit a808f53020.
2017-07-01 20:56:51 +03:00
Poommetee Ketson
003a49eb66 SceneTab: MMB or double LMB to create new scene 2017-07-01 23:23:16 +07:00
Juan Linietsky
2ee86c773a Merge pull request #9461 from godotengine/revert-9454-9409-fix-collisionshape2d-return
Revert "Fix Tileset/tilemap issues related to my adding of one-way collisions to them"
2017-07-01 13:02:36 -03:00
Juan Linietsky
a808f53020 Revert "Fix Tileset/tilemap issues related to my adding of one-way collisions to them" 2017-07-01 13:02:04 -03:00
Andreas Haas
8e8e4b30e5
Script create diag: Show extensions for currently selected language only. 2017-07-01 15:19:34 +02:00
Rémi Verschelde
3d4aa94cf1 Merge pull request #9455 from akien-mga/buildsystem-fixes
Buildsystem: Improve detect.py readability and fix issues
2017-07-01 08:45:34 +02:00
Rémi Verschelde
e91a267a7c Buildsystem: Improve detect.py readability and fix issues
Tried to organize the configure(env) calls in sections, using the same order
for all platforms whenever possible.

Apart from cosmetic changes, the following issues were fixed:
- Android: cleanup linkage, remove GLESv1_CM and GLESv2
- iPhone: Remove obsolete "ios_gles22_override" option
- OSX:
  * Fix bits detection (default to 64) and remove obsolete "force_64_bits" option
    (closes #9449)
  * Make "fat" bits argument explicit
- Server: sync with X11
- Windows: clean up old DirectX 9 stuff
- X11:
  * Do not require system OpenSSL for building (closes #9443)
  * Fix typo'ed use_leak_sanitizer option
  * Fix .llvm suffix overriding custom extra_suffix
2017-07-01 08:20:51 +02:00
Juan Linietsky
2a3e00c8c7 -Many fixes to VisualScript, fixed property names, etc.
-Added ability to set/get a field in GetSet, as well as assignment ops
-Added a Select node
-Fixed update bugs related to variable list and exported properties, closes #9458
2017-06-30 21:35:05 -03:00
Rémi Verschelde
e2e73ec906 Merge pull request #9448 from Noshyaar/pr1
EditorNode: request attention when quit while minimized
2017-06-30 19:15:04 +02:00