Commit Graph

6469 Commits

Author SHA1 Message Date
karroffel fb16f09b15 updated method_ptrcall.h to use 3.0 naming 2017-01-17 11:36:17 +01:00
Rémi Verschelde 6ab023fab5 Merge pull request #7564 from djrm/icons
Icons
2017-01-17 06:39:59 +01:00
Daniel J. Ramirez 26d8ee0308 Added some missing icons and modified others 2017-01-16 23:09:16 -06:00
Daniel J. Ramirez 949d4208ed icon fixes 2017-01-16 20:08:38 -06:00
Rémi Verschelde 23eb355ebb Merge pull request #7562 from RandomShaper/ordered-image-group-files
Make image-groups map in export.cfg ordered
2017-01-16 21:05:16 +01:00
Ferenc Arn 6f4f9aa6de Overloaded basic math funcs (double and float variants). Use real_t rather than float or double in generic functions (core/math) whenever possible.
Also inlined some more math functions.
2017-01-16 13:36:33 -06:00
Pedro J. Estébanez 7576476705 Make image-groups map in export.cfg ordered
This improves the VCS experience because otherwise they change their order everytime producing spurious changes.
2017-01-16 20:22:35 +01:00
Rémi Verschelde d13f2f9e25 Merge pull request #7560 from volzhs/issue-7555
Fix crash when creating new project
2017-01-16 20:10:34 +01:00
Rémi Verschelde 3000c2d967 Merge pull request #7540 from volzhs/default-rot
Change camera default rotation
2017-01-16 20:08:37 +01:00
Rémi Verschelde af871d22e2 Merge pull request #7536 from GodotExplorer/pr-copy-node-path
Add 'Copy Node Path' action to right mouse menu
2017-01-16 20:07:03 +01:00
Rémi Verschelde bf05dab74f Merge pull request #7532 from tagcup/pcg_prng
Replace the existing PRNG (Xorshift31) with (minimal) PCG-32.
2017-01-16 20:06:54 +01:00
volzhs 57350faee4 Fix crash when creating new project 2017-01-17 03:50:42 +09:00
Rémi Verschelde 0a9aee6b1d Merge pull request #7558 from Faless/fix_windows_output
Fix gibberish output for windows/mingw.
2017-01-16 19:28:03 +01:00
Rémi Verschelde 7b059965e8 Adapt platforms to AudioServer refactoring
Fixes compilation on Windows and likely other platforms (at least
as far as AudioServer changes were concerned), though they were
not tested.
2017-01-16 19:19:45 +01:00
Fabio Alessandrelli 3df934acad Fix gibberish output for windows/mingw.
%ls should be used instead of %s or %S to speficy narrow/wide charstring
in wprintf fwprintf

Fixes #6252
2017-01-16 18:56:28 +01:00
volzhs 0ecf7f7ca0 Change camera default rotation 2017-01-17 02:23:23 +09:00
Pedro J. Estébanez 7dbb1c0571 Improve .tscn VCS
Serialize dictionaries adding newlines between key-value pairs
Serialize group lists also with newlines in between
Serialize string properties escaping only " and \ (needed for a good diff experience with built-in scripts and shaders)

Bonus:
Make AnimationPlayer serialize its blend times always sorted so their order is predictable in the .tscn file.

This PR is back-compat; won't break the load of existing files.
2017-01-16 18:03:51 +01:00
Rémi Verschelde 6a3dae5be9 zlib: Update to upstream version 1.2.11 2017-01-16 17:58:34 +01:00
Jerome67000 8c19a6cb85 #7215 try to fix adb bad targeting user on device 2017-01-16 17:53:12 +01:00
Rémi Verschelde ed96a3da8d Merge pull request #7553 from Faless/tcp-win-fix
Fix bug in windows TCP poll function
2017-01-16 16:00:23 +01:00
Fabio Alessandrelli c356ec5e8b Fix bug in windows TCP poll function
Bug introduced when implementing TCP disconnection detection.
(too much yank-paste).
Fixes #7545
2017-01-16 15:50:20 +01:00
Rémi Verschelde 0c80bc2579 Merge pull request #7457 from BastiaanOlij/glew3-ios
Working on compile issues for iOS
2017-01-16 13:47:01 +01:00
BastiaanOlij 3a02df7739 Working on compile issues for iOS 2017-01-16 23:14:13 +11:00
Rémi Verschelde eeea116022 Merge pull request #7548 from BastiaanOlij/audio3-osx
Fix compile errors related to audio on OSX
2017-01-16 11:05:15 +01:00
BastiaanOlij cef0ae5d5d Fix compile errors related to audio on OSX 2017-01-16 20:32:44 +11:00
Rémi Verschelde 2a0ddc1e89 Style: Various fixes to play nice with clang-format 2017-01-16 08:49:52 +01:00
Rémi Verschelde 39114178a0 Style: Prevent clang-format on JS code 2017-01-16 08:49:52 +01:00
Rémi Verschelde f44ee891be Style: Fix statements ending with ';;' 2017-01-16 08:49:52 +01:00
Rémi Verschelde e2a3f06f3d Style: Keep long lines for now
clang-format does not play well with tab-aligned multiline statements...
Some more research will be needed if we want to set a column limit.
2017-01-16 08:48:24 +01:00
Rémi Verschelde 40323407df Style: No break before list brace
clang-format does not handle that well *at all*.

For the reference, found the relevant pieces of code with:
`ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty`
2017-01-16 08:48:24 +01:00
Rémi Verschelde 3890256fc5 Style: Cleanups, added headers, renamed files
Made sure files in core/ and tools/ have a proper Godot license header
when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h}
to rect3.{cpp,h} and class_db.{cpp,h} respectively.

Also added a proper header to core/io/base64.{c,h} after clarifying
the licensing with the original author (public domain).
2017-01-16 08:04:23 +01:00
Ferenc Arn 4c9004671a Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant with 32-bit output, 64-bit state).
PCG is better than many alternatives by many metrics (see www.pcg-random.org) including statistical quality with good speed.
2017-01-15 19:15:16 -06:00
Juan Linietsky b400c69cd4 Oops! Audio engine has vanished :D 2017-01-15 16:07:51 -03:00
Franklin Sobrinho b24b52d56b Add a API to add/remove items to the "Tools" menu 2017-01-15 16:42:24 +01:00
Rémi Verschelde e0faf8a51b Style: Cosmetic fixes to play nice with clang-format 2017-01-15 16:42:17 +01:00
Juan Linietsky 52e2a1e98d fixed to 2D physics, makes it work again 2017-01-15 09:50:27 -03:00
Juan Linietsky a7854d3ae6 2D and 3D viewport are working again :D 2017-01-15 09:50:27 -03:00
Rémi Verschelde 5e13a762ec Add missing map.h include in color defs 2017-01-15 12:51:47 +01:00
Geequlim 65db43d5ae Add 'Copy Node Path' action to right mouse menu 2017-01-15 18:56:37 +08:00
Rémi Verschelde 82d087638d Merge pull request #7534 from RayKoopa/gitignore_vs2015
.gitignore: Added VC++ cache database and temporary storage folder when debugging
[ci skip]
2017-01-15 10:58:12 +01:00
Ray Koopa 3494ff5b39 Added VC++ cache database and temporary storage folder when running 2017-01-15 10:47:50 +01:00
Rémi Verschelde 47365e068e Merge pull request #7533 from GodotExplorer/pr-json-empty-string
Fix error while JSON::parse with empty string
2017-01-15 10:45:41 +01:00
Geequlim c8e9937e21 Fix error while JSON::parse with empty string 2017-01-15 16:59:02 +08:00
Juan Linietsky 5dde810aa5 no more errors related to missing GlobalConfig::Get (or so I hope) 2017-01-14 21:57:22 -03:00
Wilhem Barbier a1d07fd6d6 Allow closing a script tab without saving 2017-01-15 00:35:52 +01:00
Rémi Verschelde 07f65184f3 Merge pull request #7519 from eska014/web-presentation
Improve Web export presentation
2017-01-15 00:30:52 +01:00
Rémi Verschelde fe8459ac3b Merge pull request #7515 from kbake/issue7433
Use Animation's Name as Filename When Saving
2017-01-15 00:29:04 +01:00
Daniel Ramirez 1d7d8e1674 Added missing icons (#7514) 2017-01-15 00:28:12 +01:00
Rémi Verschelde a540e15cd1 Merge pull request #7513 from djrm/compilation_fix
Matrix32 -> Transform2D
2017-01-15 00:27:05 +01:00
Rémi Verschelde a992d3f74f Merge pull request #7510 from Faless/tcp_connect
TCP connect always opens the correct socket type
2017-01-15 00:26:46 +01:00