Commit graph

7358 commits

Author SHA1 Message Date
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
Pedro J. Estébanez
0b776f9a30 Add atomics for 64-bit integers 2017-06-22 05:29:58 +02:00
Rémi Verschelde
59322d4cc4 Merge pull request #9011 from karroffel/ptrcall-nightmare-fix
fixed PowerState enum cast
2017-06-01 09:42:05 +02:00
Juan Linietsky
bd26fa7bf2 stuff got modified :( 2017-05-31 20:29:56 -03:00
Juan Linietsky
a134f58fb3 rewritten PBR implementation to make it friendlier with Blender 2017-05-31 20:29:56 -03:00
Karroffel
6bda2876f1 fixed PowerState enum cast
Quite a while ago I made a commit (131631b) where I did a weird
thing to fix compilation with PTRCALL_ENABLED. And I couldn't
sleep because of this after all these months. So here is the
proper version.
2017-06-01 00:16:33 +02:00
Thomas Herzog
a802bd91d0 Merge pull request #9010 from sheepandshepherd/gdnative_poolvector_typos
Fix GDNative PoolVector typos
2017-05-31 21:57:54 +00:00
sheepandshepherd
4844013827 Fix GDNative PoolVector typos 2017-05-31 23:44:20 +02:00
Thomas Herzog
d82cc20c2a Merge pull request #9004 from sheepandshepherd/gdnative_copy_ctors
Expose copy constructor for some GDNative types
2017-05-30 23:40:11 +00:00
sheepandshepherd
9f34bb4ebe Wrap copy constructor for some GDNative types 2017-05-31 00:03:50 +02:00
Juan Linietsky
5567e898d1 Several fixes related to PBR and Environment 2017-05-30 08:56:19 -03:00
Rémi Verschelde
0a6faeb4f5 Merge pull request #8996 from groud/contributing-readme
CONTRIBUTING.md : formatting to 80 columns and added a little paragraph about translations

[ci skip]
2017-05-30 11:40:33 +02:00
Gilles Roudiere
4f874e4f8e Formatting CONTRIBUTING.md to 80 colums
Added a little paragraph about how to contribute to Godot's translations
2017-05-30 11:28:58 +02:00
Rémi Verschelde
74a0bed3d2 Merge pull request #8986 from Hinsbart/cursor_warning
X11: Turn warning about not finding cursor theme into verbose output.
2017-05-29 20:47:05 +02:00
Andreas Haas
d6333066fc
X11: Turn warning about not finding cursor theme into verbose output.
Failing to get the cursor theme should not cause any issues since we're then using the default one anyway.
So I removed the warning and made it a verbose-only print instead, as people tend to mistake it for a real error..
(pretty much like `iCCP: known incorrect sRGB profile` :P)
2017-05-29 20:41:18 +02:00
Rémi Verschelde
b3c6d9914a Merge pull request #8978 from noshyaar/pr-sort
NaturalSort: strings start with . treated differently
2017-05-29 08:09:45 +02:00
suptoasty
e0befd2f23 Fixed a typo in a Visual Server var name (#8977) 2017-05-29 08:08:16 +02:00
Poommetee Ketson
ff03d846eb NaturalSort: strings start with . treated differently 2017-05-29 09:59:02 +07:00
Juan Linietsky
bb20f230ad -Added .hdr format support
-Added default environment editor setting
-Added environment created by default in new projects
-Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-28 21:48:05 -03:00
Rémi Verschelde
06fc963796 Merge pull request #8975 from timoschwarzer/new-icons
Use new icons everywhere
2017-05-28 21:50:09 +02:00
Rémi Verschelde
0daa6174be Remove obsolete signal_renames file 2017-05-28 21:35:58 +02:00
Rémi Verschelde
47e0e530a9 opus: Update to upstream version 1.1.5 2017-05-28 21:15:14 +02:00
Timo Schwarzer
1e29d92dfa Use new icons everywhere
Closes #8879
2017-05-28 20:18:30 +02:00
Rémi Verschelde
a100f01870 Merge pull request #8972 from Kristonitas/master
Fixing typo for rect_position in _change_notify call for Control
2017-05-28 17:00:25 +02:00
Kristupas Stumbrys
0251e9eb01 Fixing typo for rect_position in _change_notify call for Control 2017-05-28 16:38:22 +03:00
Rémi Verschelde
c814d65fae Merge pull request #8966 from voithos/path2d-bezier-handle-fix
Fix moving path controls in edit mode.
2017-05-28 10:04:56 +02:00
Rémi Verschelde
8125bbba59 Merge pull request #8968 from noshyaar/pr-bug2
CreateDialog: fix activating recent item creates node selected in search result
2017-05-28 09:29:51 +02:00
Rémi Verschelde
ba5098a123 Merge pull request #8967 from noshyaar/pr-bug
CreateDialog: select root if search exactly match
2017-05-28 09:28:57 +02:00
Poommetee Ketson
db64fcdd5f CreateDialog: fix activating recent item creates node selected in search result 2017-05-28 13:40:08 +07:00
Poommetee Ketson
9fb90d7aea CreateDialog: select root if search exactly match 2017-05-28 12:53:11 +07:00
Zaven Muradyan
f460f82ec1 Fix moving path controls in edit mode.
The previous code would never trigger the subsequent conditionals (for
moving the control points) when in EDIT_MODE because the point
conditionals were nested instead of being a conjunction.
2017-05-27 18:47:45 -07:00
Rémi Verschelde
1525071c28 Merge pull request #8960 from akien-mga/openssl-1.0.2l
OpenSSL: Cleanup and document update process from upstream sources + 1.0.2l
2017-05-27 19:51:04 +02:00
Rémi Verschelde
67305d1b0a openssl: Sync with upstream 1.0.2l 2017-05-27 19:08:07 +02:00
Rémi Verschelde
996f1ae29e openssl: Reapply necessary UWP changes from patch 2017-05-27 19:08:07 +02:00
Rémi Verschelde
c1b0662b40 openssl: Define WIN32_LEAN_AND_MEAN on Windows
This avoids namespace collisions with things such as X509_NAME.
Also force include of necessary definitions in `crypto/o_str.c`
which seem missing on MSVC (but work on MinGW).
2017-05-27 19:08:03 +02:00
Rémi Verschelde
cb0f771aaa openssl: Sync with pristine upstream 1.0.2h
Our necessary custom changes will be reapplied in later commits for clarity,
and saved as patches for future updates.
2017-05-27 15:45:25 +02:00
Rémi Verschelde
022541d917 openssl: Document update process and delete unused files 2017-05-27 15:22:49 +02:00
Rémi Verschelde
ce8bf1592a TinyEXR: Document licensing and copyright 2017-05-27 13:41:18 +02:00
Rémi Verschelde
37f5e1dcd9 Fix MinGW-w64 build of TinyEXR for old toolchains
MinGW-w64 is at version 2.0.1 on our current Travis CI toolchain, and seems
not to like fopen_s.
2017-05-27 13:13:31 +02:00
Geequlim
b93fce1c18 Fix text warp in color blocks with CJK
(cherry picked from commit cd778e00dc)
2017-05-27 11:37:33 +02:00
Sean Bohan
cba62864c8 Fix item list scroll speed.
Remove the extra `set_val` action after the proper one, so the right scroll value won’t get overrided any more.

(cherry picked from commit 064dce7a4c)
2017-05-27 11:37:33 +02:00
Rémi Verschelde
d8381ef28f Merge pull request #8956 from mcanders/mcanders/ProfilerInputFix
Fix incorrect input event reference in editor_profiler.cpp
2017-05-27 11:36:54 +02:00
Rémi Verschelde
9130f0a89f Merge pull request #8955 from mcanders/mcanders/AnimationEditorInputFix
Fix incorrect input event reference in animation_editor.cpp
2017-05-27 11:35:48 +02:00
Rémi Verschelde
6a08833516 Merge pull request #8933 from Hinsbart/is_keyword
GDScript: Use "is" keyword for type checking.
2017-05-27 11:30:30 +02:00
Rémi Verschelde
168d8a57da Merge pull request #8942 from RandomShaper/warn-levels
Rework warning levels
2017-05-27 11:30:14 +02:00
Rémi Verschelde
378ebffb23 Merge pull request #8936 from Hinsbart/fix_action
Fix InputEvent actions.
2017-05-27 11:29:05 +02:00
Rémi Verschelde
96be464952 Merge pull request #8935 from volzhs/get-locale-master
Make OS.get_locale() returns same value
2017-05-27 11:27:39 +02:00
Rémi Verschelde
94edf16272 Merge pull request #8929 from nunodonato/themecolors
Added color presets for easy theme switching
2017-05-27 11:25:43 +02:00
Rémi Verschelde
2b25147450 Merge pull request #8928 from nunodonato/helpmenu
Added an help menu
2017-05-27 11:25:09 +02:00