Commit graph

18382 commits

Author SHA1 Message Date
Hein-Pieter van Braam
4240e3d668 Optimizations for trivial types
Relying on various compiler primitives we can reduce the work done
in our memory allocators and CowData. For types with trivial ctors or
dtors we can skip looping over all elements when creating, resizing,
and destroying lists of objects.

These primitives are supported by clang, msvc, and GCC. However, once
we've moved to C++11 we can rely on several std:: primitives that do
the same thing and are standardized.

In my testing the extra conditionals introduced here get removed from
the generated program entirely as the results for these primitives is
known at compile time.
2019-01-03 08:47:34 +01:00
Rémi Verschelde
d930c909f2
Merge pull request #24715 from dragmz/patch-4
Fix negative size rectangle drawing in GLES2
2019-01-02 19:42:10 +01:00
Rémi Verschelde
03b8168c2e
Merge pull request #24691 from BlackCatter/line2d-fix
Fix line 2D intersection behavior
2019-01-02 19:39:31 +01:00
Rémi Verschelde
1ff502c5f4
Merge pull request #24712 from Chaosus/script
Improved script attachment/removal buttons behavior a bit
2019-01-02 15:52:36 +01:00
Chaosus
be2bc4dab8 Improved script attachment/removal a bit 2019-01-02 16:56:11 +03:00
Marcin Zawiejski
4e73274837
Fix negative size rectangle drawing
Fixes rectangle being drawn as it was a non-negative size in case it actually is. This can be observed e.g. when drawing a negative size selection rectangle (i.e. press mouse button and move cursor up and left).
2019-01-02 14:47:28 +01:00
Artem Burjachenko
6ff26b105a Fix line 2D intersection behavior 2019-01-02 17:34:58 +04:00
Rémi Verschelde
09d090921c
Merge pull request #24703 from akien-mga/appveyor-scons-3.0.1
AppVeyor: Force installing SCons 3.0.1
2019-01-02 00:36:31 +01:00
Rémi Verschelde
fb47d8f554 AppVeyor: Force installing SCons 3.0.1
3.0.2 was released today and when installed via pip, it seems to be
missing from the PATH.
2019-01-01 23:31:08 +01:00
Hein-Pieter van Braam
b60939be88
Merge pull request #24700 from hpvb/fix-32bit-linux-build
Disable support for VIA Padlock
2019-01-01 20:00:57 +01:00
Hein-Pieter van Braam
e9ee1273de Disable support for VIA Padlock
This code defines a symbol 'unsupported' which is also in a newer
version of libwebsockets. To fix 32bit linux builds just disable
padlock support. Processors that support this are rare and old.
2019-01-01 19:24:21 +01:00
Rémi Verschelde
f1d1ecb383
Merge pull request #24686 from YeldhamDev/autotile_grid_separation_fix
Fix incorrect grid snapping in TileSet editor with separation
2019-01-01 19:04:04 +01:00
Rémi Verschelde
c7c87a0624
Merge pull request #24687 from DavidSichma/draw-rect-rot
fix draw_rect rotation
2019-01-01 19:01:18 +01:00
Rémi Verschelde
b16c309f82 Update copyright statements to 2019
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde
d1f3b622f0 Fix missing/malformed license headers 2019-01-01 12:46:36 +01:00
David Sichma
9ba6849cf4 fix draw_rect rotation 2018-12-31 20:56:10 +01:00
Michael Alexsander Silva Dias
07fdd2c702 Fix incorrect grid snapping in TileSet editor with separation 2018-12-31 13:36:51 -02:00
Rémi Verschelde
89560c2138
Merge pull request #24679 from Chaosus/fix_not_found1
Fix "Method not found" error message when script is removed from object
2018-12-31 11:14:39 +01:00
Chaosus
b26d2ac190 Fix "method not found" error when script is removed from object 2018-12-31 12:09:08 +03:00
Rémi Verschelde
6d05ace735
Merge pull request #24670 from SoIAS/property_resource_warning_24562
Fixed a property warning when loading a correct resource type
2018-12-30 19:48:41 +01:00
Dawid Wdowiak
131001a4fb Fixed a property warning when loading a correct resource type
Fixed warning when loading a correct resource type to a property that could take more than one resource type.
2018-12-30 19:04:49 +01:00
Rémi Verschelde
fb9085ab54
Merge pull request #24482 from organicpencil/mouse_capture_fix
Fix missed captured mouse events on x11
2018-12-30 16:18:08 +01:00
Rémi Verschelde
ac46862097
Merge pull request #24506 from JFonS/expose_gizmos
Expose the new gizmo plugin system to scripting
2018-12-30 15:42:30 +01:00
Rémi Verschelde
dcc7f2b54b
Merge pull request #24545 from akien-mga/osxcross-mono
SCons: Allow building Mono module with OSXCross
2018-12-30 15:07:18 +01:00
Rémi Verschelde
534044e8f8
Merge pull request #24667 from akien-mga/fix-exr-alpha
Fix loading EXR with alpha channel
2018-12-30 14:45:41 +01:00
Rémi Verschelde
08f71baca5 Fix loading EXR with alpha channel
Fixes #24659.
2018-12-30 14:35:15 +01:00
Rémi Verschelde
1d7b69ebbc
Merge pull request #24664 from SoIAS/graph_node_headers_statemachine-24458
Removed graph node headers from state machine nodes
2018-12-30 14:06:58 +01:00
Rémi Verschelde
c64b07b264
Merge pull request #24645 from YeldhamDev/tileset_editor_undo
Add undo-redo to the TileSet editor, and other improvements
2018-12-30 14:05:52 +01:00
Michael Alexsander Silva Dias
4a91f94c13 Add undo-redo to the TileSet editor, and other improvements 2018-12-30 10:54:03 -02:00
Rémi Verschelde
6a07d7f83f
Merge pull request #24661 from humblers/fix-unshaded-gles2
Fix unshaded light mode on GLES2
2018-12-30 13:48:01 +01:00
Rémi Verschelde
8b7028e7b1
Merge pull request #24634 from BastiaanOlij/fix_e_notation_in_shaders
Always treat exponent as float
2018-12-30 13:36:38 +01:00
Bastiaan Olij
c1a53d8b06 Always treat exponent as float 2018-12-30 13:10:58 +01:00
Rémi Verschelde
6c67ca3f5b
Merge pull request #24653 from avril-gh/fixes-syntax-error-in-scene-glsl
fixes glsl syntax error
2018-12-30 13:07:12 +01:00
Rémi Verschelde
ede4f9712d
Merge pull request #24651 from BastiaanOlij/fix_texture_get_data
Fix texture type not being initialised
2018-12-30 12:33:08 +01:00
Dawid Wdowiak
58ae20f239 Removed graph node headers from state machine nodes 2018-12-30 09:25:13 +01:00
Daeil Kim
8c99b6fb2f Change unshaded logic to match with GLES3 2018-12-30 02:02:37 +09:00
Avril
971c05dc5e fixes glsl syntax error 2018-12-29 15:37:50 +01:00
Bastiaan Olij
9055386de9 Fix texture type not being initialised 2018-12-29 23:44:28 +11:00
Rémi Verschelde
ee6f1fa3f8 doc: Fix references to setters and misc formatting 2018-12-29 00:17:09 +01:00
Rémi Verschelde
04c8a43741
Merge pull request #24629 from hedin-hiervard/master
fixes crash when Body2DSW doesn't have space
2018-12-28 07:47:35 +01:00
Juan Linietsky
a366d45856 -Implented 2D Mesh support for GLES2
-Implemented 2D Skeleton deform for GLES2
-Implement Multimesh support for GLES2, closes #20524, closes #21839
2018-12-27 20:41:04 -03:00
hedin
1dfdd6834e fixes crash when Body2DSW doesn't have space 2018-12-27 19:29:47 +02:00
Rémi Verschelde
9c135ad263
Merge pull request #24625 from akien-mga/ios-sim-x86_64
SCons: Drop ios_sim option forcing x86, simulator needs x86_64
2018-12-27 17:26:51 +01:00
Rémi Verschelde
95e96947f6 SCons: Drop ios_sim option forcing x86, simulator needs x86_64 2018-12-27 14:11:13 +01:00
Rémi Verschelde
daa50b28f2
Merge pull request #24607 from PJB3005/18-12-26-makerst-cleanup
Clean up & improve makerst.py
2018-12-27 14:08:16 +01:00
Pieter-Jan Briers
15a3d16d08 Clean up & improve makerst.py
Man this file even had some semicolons in it.

I cleaned up the entire file, while it's still pretty ugly it's much better now.
I also added type checks so it passes mypy --strict.
make_type now throws a warning on unresolved type references, which there are a bunch of. I'm not responsible for fixing those though.
Also some more hardening against crashes. For example XML tags without content won't cause crashes now.
Functionality has not been modified as far as I can tell.

Update Makefile for Python 3

Fix ordering issues related to enums & constants
2018-12-27 13:57:08 +01:00
Rémi Verschelde
e3e36c963f
Merge pull request #24588 from volzhs/tree-relationship-line
Draw relationship lines when its value is higher than 0
2018-12-27 11:19:20 +01:00
Rémi Verschelde
2e39e38c10 doc: Sync classref with current source
Fix various code formatting issues and argument names.
2018-12-27 11:10:18 +01:00
Rémi Verschelde
be4b7da518
Merge pull request #24623 from akien-mga/obj-mtl-not-found
Make error more explicit when OBJ/MTL files are missing
2018-12-27 11:06:51 +01:00
Rémi Verschelde
9c7ca687b2 Make error more explicit when OBJ/MTL files are missing
Fixes #24595.
2018-12-27 10:39:43 +01:00