aboutsummaryrefslogtreecommitdiff
path: root/main/tests/test_python.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-27Release 2.1.4-stableRémi Verschelde1-1/+1
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde1380-1380/+1380
2017-08-27Re-apply clang-format to all filesRémi Verschelde13-128/+125
Some badly formatted code has managed to pass through our CI...
2017-08-27classref: Sync with current sourceRémi Verschelde1-1/+7
2017-08-27Buildsystem: Reduce verbosity of font and translation generationRémi Verschelde1-4/+0
(cherry picked from commit 21e53c42672e46c74bce6246fde16f4200c48163)
2017-08-27Copyright: Various fixesRémi Verschelde2-35/+28
2017-08-27stb: Update to upstream stb_truetype 1.17Rémi Verschelde2-95/+1394
Also fix documented OpenSSL version, it was updated to 1.0.2l in 67305d1b0a6dbcdb032d5a5a0e92122cf8f10b8d. (cherry picked from commit 560fc0f19932a7b51e02e9eda8a64f284f41e6d0)
2017-08-27libpng: Update to upstream version 1.6.32Rémi Verschelde18-88/+234
Fixes security vulnerability in our 1.6.31rc01 snapshot. (cherry picked from commit ee1d0179c5320b8a49a077c1ee09aab3fefa3ab0)
2017-08-27Fix double single quotes in `connect` error printPoommetee Ketson1-1/+1
(cherry picked from commit 4950ef7478315cfcf27e12f0d3c0a034bd66cf92)
2017-08-27Node: Add debug info to add_child reparenting checkRémi Verschelde1-7/+11
(cherry picked from commit 3c5ce736e63c0db6b2f0b5e8fef1119da5529df2)
2017-08-27Free memory when Main::setup returns an errorWilson E. Alvarez2-2/+9
(cherry picked from commit bd257153dc9748bd9ab3f580437c3a28cc5348ab)
2017-08-27Ignore gprof output filesHein-Pieter van Braam1-0/+3
When building a profile build it is easy to accidentally create gmon.out files all over the place. Ignore these so they won't get accidentally pushed. (cherry picked from commit aa91640c7e74fec578ce1e938042ec5a7ea15d8f)
2017-08-27Ignore Eclipse CDT project filesHein-Pieter van Braam1-0/+4
Since we have explicit .gitignore rules for QT creator and several other editor-specific swap/utility files I'd like to add Eclipse CDT projects also as this is my editor of choice. (cherry picked from commit 90ab7162e7745701d09402df8b95b619919f4c65)
2017-08-27Allow building fat binaries with osxcrossFabio Alessandrelli1-2/+6
(cherry picked from commit d7f08ead4e09c106ef9a3c1f9aec9492dfcad683)
2017-08-27TextEdit: Copy whole line if not having selection.Andreas Haas1-3/+0
The functionality was already there but hidden behind a bogus return statement. Fixes #10485 (cherry picked from commit 5d25f6397f74a4a2f91d999196b31e1a878c2507)
2017-08-27Fix color_ramp indexing negative elementsHein-Pieter van Braam1-2/+2
The 'pos' variable passed to get_color() and get_offset() can be negative if the color ramp itself is empty. This causes a lookup in an empty position in the color Vector which leads to a crash. We add a check so we never do a lookup in the color Vector if the gradient is empty. This fixes #10501 (cherry picked from commit 67b9d6eef2df5253657c89725195c58fe01b39f0)
2017-08-27simplify the way window is allowed to steal focus, no longer relying on ↵Juan Linietsky3-7/+10
project.godot. Closes #9459 (cherry picked from commit 533014b88c964044441dc04dce6e757b0776de97)
2017-08-27Move wait_for_flush out of queue lockSipaha2-18/+47
(cherry picked from commit f6ee4cac39fa83a1691f102760b7f008403acdc2)
2017-08-27Fixed not being able to scroll to eofPaulb231-2/+2
(cherry picked from commit a0457341fc0b9e6758423de8df4a75f8e36ea90a)
2017-08-27Rename "Default" window placement mode to "Top Left"Rémi Verschelde2-2/+2
It is no longer the default value ;) (cherry picked from commit 686294e4f2e19598c350008e2268a1e103d6281a)
2017-08-27SceneTreeEditor: Fix node_selected signal emission.Andreas Haas1-2/+4
Fixes #10131 (cherry picked from commit a80371ce0a2e0f5d64e3fa9b6bbf8dba75724164)
2017-08-27minizip: Fix compatibility with Gentoo's unique zlib APIRémi Verschelde2-0/+43
Fixes #10539 in a diplomatic way (as opposed to telling Gentoo users to just change their distro or rebuild zlib from upstream...). (cherry picked from commit 67e6c1b735d86e5c5a1bdd7aa9cd2852d3ee385f)
2017-08-27minizip: Reapply Godot-specific changes for seek supportRémi Verschelde7-15/+454
I have not assessed whether they are still all relevant. (cherry picked from commit 53fffa12f1207ca2870b3da29e5433fda6d2b0d7)
2017-08-27minizip: Sync with pristine contrib/minizip from zlib 1.2.4Rémi Verschelde9-347/+213
Godot-specific changes are undone in this commit, they will be readded and properly documented in the following commit. (cherry picked from commit 5681b7b60a13737847fe59ab7b43ee0884dc6ac5)
2017-08-27TextEdit: Fix line padding.Andreas Haas1-1/+1
off-by-one error in the line count calculation. Fixes #10411 (cherry picked from commit 58b2f441a70493ed561a017328b0ae079639413f)
2017-08-27Workaround missing WM_TOUCH on mingw-w64 < 4.0Rémi Verschelde1-4/+3
Upstream bug report: https://sourceforge.net/p/mingw-w64/bugs/460/ (cherry picked from commit 2ed87f33cf0ba91ecda081be3fd4231071a9c19e)
2017-08-27TextEdit: Moving between words now works across lines.Andreas Haas1-0/+14
Fixes #10403 (cherry picked from commit 3f2d806b02b222b8678783541523d6d3417fee25)
2017-08-27Fixes crash related to animatio editor, closes #8687Juan Linietsky1-2/+2
(cherry picked from commit cf2fdcb63e9b7be6b2aab2e9e0989cbd9aca704b)
2017-08-27spatial selection if subscene geometry is far from originJakub Grzesik1-2/+6
(cherry picked from commit 78e72c8e79a2b7d373190fc6bbe5d8c8c037c6df)
2017-08-27Exposed create_from_mesh in NavmeshTwistedTwigleg1-0/+2
(cherry picked from commit deaf095dcfe405d142b876b359df512e9e1ba2cc)
2017-08-27Buildsystem: Prevent building X11/server with GCC 6+Rémi Verschelde2-0/+20
This is due to a Godot bug which is now fixed in the master branch, but would require too much work for a short-lived branch such as 2.1. Building release binaries with GCC 6+ will trigger segfaults due to UB when dereferencing pointers with Object::cast_to. In theory this check should also be made for Windows cross-compilation with MinGW, but I am more concerned about Linux distros shipping broken binaries than adventurous cross-compilers hitting a wall.
2017-08-27RtAudio: Restore previous (incorrect but safer) buffer sizeRémi Verschelde1-1/+1
See #10683 for a potential better fix, but this close to the 2.1.4 release I am taking the safe route.
2017-08-25WinRT: Remove unneeded includeGeorge Marques1-1/+0
Fix #10642
2017-08-25Bump version to 2.1.4-rcRémi Verschelde1-1/+1
2017-08-25doc: Sync with current sourceRémi Verschelde1-1/+139
2017-08-25more efficient atlas packing algorithmVasiliy Makarov1-37/+53
2017-08-24"On Top" flag for Sprite3Delasota4-5/+11
2017-08-24Fix AtlasTexture + Sprite3D using the wrong UV regionelasota3-28/+46
- Change get_rect_region to return UV region instead of pixel rect - Fixed atlas texture Sprite3D Y offsets being applied in the wrong direction and fixed Flip not adjusting the geometry. - Changed get_rect_region name to get_rect_region_uv_rect
2017-08-24fix dummy rasterizerAlexHolly2-0/+5
2017-08-22Change order of Null check for ParallaxLayerHein-Pieter van Braam1-4/+4
The change in #10524 subtly changes the behavior of set_motion_scale() and set_motion_offset() if the ParallaxLayer does not have a parent node. Previously it would still set the corresponding property, but after this change the property change would be discarded. I'm not entirely sure if this actually matters as there doesn't appear to be any code that picks up this change if the ParallaxLayer gets re-parented later, but it's better to not change behavior regardless.
2017-08-22[2.1] Add null check to ParallaxLayer get_parent() callsHein-Pieter van Braam1-0/+6
This fixes #10515
2017-08-22Fix tokenization of doublesPedro J. Estébanez1-3/+1
(cherry picked from commit 6759a28050885a25803e9bcb7fd53e38ea16ecf3)
2017-08-21Fix y axis for set_window_position on OS XMarcelo Fernandez1-3/+8
2017-08-20Correct hash behavior for floating point numbersHein-Pieter van Braam11-61/+267
This backports the work in #7815 and the subsequent fixes in #8393 The following program now works as expected in this branch in both release_debug and debug mode: ```gdscript print(sqrt(-1)) print(sqrt(-1)) var simple1=asin(10.0) var simple2=acos(10.0) print(simple1) print(simple2) ``` And successfully prints -nan 4 times This fixes #9580 and fixes #8925
2017-08-20Fixed issues with borderless windows on WindowsMarcelo Fernandez2-72/+44
2017-08-19fix build for osxVasiliy Makarov1-5/+0
2017-08-18Add closest_power_of_2 func and implement mix_rate/latency on OS XMarcelo Fernandez25-86/+135
2017-08-18Revert "Child Process Connected (in Editor Debugger) is now friendlier :-)"Rémi Verschelde1-1/+1
This reverts commit 478531d5a890afb56b8d0f5043a83c79e4781e0b. As explained in #10192, this commit changed the color of all errors.
2017-08-16TileMap Editor: Improve tile info setting using signalRémi Verschelde2-9/+15
The event-based approach avoids the need to query editor settings and call show/hide on the Control at every mouse input. Improves #9141.
2017-08-16Fix get_screen_* funcs returning old values after resolution changes on WindowsMarcelo Fernandez2-48/+95