Commit graph

5967 commits

Author SHA1 Message Date
George Marques
a692b7a1c1 Merge pull request #7149 from Kazuo256/array-last
Add Array.front() and Array.back()
2016-11-22 08:08:59 -02:00
Rémi Verschelde
830ab4ea8d Merge pull request #7172 from Faless/fix_localize_path
Properly localize absolute path that starts with the resource folder.
2016-11-22 10:16:41 +01:00
Fabio Alessandrelli
cdc97ca453 Properly localize absolute path.
Calling localize_path will return a localized path in res:// if the
path starts with the resource file-system/folder, and will return
the unchanged absolute path otherwise.

Closes #6979 and #7161.
2016-11-22 09:09:39 +01:00
Rémi Verschelde
9e2d09f580 Merge pull request #7145 from avril-gh/fixes-6464-lost-icons
fixes #6464 lost icons in dock and file dialog, also #6443 , #6302
2016-11-21 12:01:23 +01:00
romeojulietthotel
f8d523b68b Correct description for the return values from get_status. (#7137) 2016-11-21 11:55:57 +01:00
Rémi Verschelde
d5a9102a88 Merge pull request #7125 from Hinsbart/x11_maximize
X11: Fix maximized boot splash
2016-11-21 11:54:49 +01:00
Rémi Verschelde
e3c09ed90d Merge pull request #7124 from volzhs/select_match
Select exactly matched file automatically in FileDialog
2016-11-21 11:54:33 +01:00
Rémi Verschelde
9df47f2c69 Merge pull request #7123 from zaps166/webm_iphone_x86
WebM: Fix iPhone x86 compilation
2016-11-21 11:54:12 +01:00
Rémi Verschelde
6b2db2f1b6 Merge pull request #7122 from zaps166/webm_msvc2013
Fix compilation with MSVC 2013
2016-11-21 11:53:32 +01:00
Rémi Verschelde
4965ddfaa1 png: Allow building shared freetype with bundled libpng
This was the behaviour when building Godot 2.1, which allows to build against
Ubuntu 12.04 and its freetype that links old libpng12, while still bundling
libpng16.
2016-11-19 14:09:01 +01:00
Rémi Verschelde
c32766a482 Revert "libpng: Fix erroneously linking against libpng12 on old distros"
This reverts commits 5fa1bb331a
and ec4be71fad.

Looks like Debian/Ubuntu are not even shipping libpng16 nowadays in their
stable releases, we'll have to go back to statically linking our own
libpng16 to wait for them to stop being 5 years behind everybody.
2016-11-19 13:39:03 +01:00
Rémi Verschelde
ec4be71fad libpng: Same fix as previous commit for server platform 2016-11-19 13:25:17 +01:00
Rémi Verschelde
5fa1bb331a libpng: Fix erroneously linking against libpng12 on old distros
This bit us for 2.1.1 binaries built on Ubuntu 12.04 LTS where
libpng.pc apparently prioritizes libpng12.
2016-11-19 12:59:48 +01:00
Ariel Manzur
159650fe6f memory ops implemented as OS functions by default
(cherry picked from commit 67f65f6639)
2016-11-18 21:55:30 +01:00
Ariel Manzur
b3616089fa adding get_stored_values method
changed order name

(cherry picked from commit dbca4ee3fe)
2016-11-18 21:55:21 +01:00
Kazuo256
bf4fda64fd Add Array.front() and Array.back() 2016-11-18 18:45:51 -02:00
Avril
958dbc1173 fixes #6464 lost icons in dock and file dialog, also #6443 , #6302
Fixes lost icons in docks, file manager, sample library, settings and
various other places.
2016-11-18 06:13:36 +01:00
volzhs
ff4f04e878 Select exactly matched file automatically in FileDialog 2016-11-17 03:39:30 +09:00
Błażej Szczygieł
a7f76e1b13 WebM: Fix iPhone x86 compilation 2016-11-16 14:06:02 +01:00
Rémi Verschelde
959683c3d8 Add missing commit title in the log example 2016-11-16 13:08:28 +01:00
Rémi Verschelde
15cdb5219c Add instructions about git commit log formatting 2016-11-16 13:01:01 +01:00
Andreas Haas
8d3efe2b7d
X11: Fix maximized boot splash
When instructing the window manager to (un)maximize a window, the resulting resolution
is recieved via an XEvent of type "ConfigureNotify".

The problem here was that these events were only handled in the `OS_X11::process_xevents()` method,
which is initially called on the first iteration of the main loop.
Because of this, the VideoMode still hadn't been updated yet when doing the boot splash setup.
2016-11-16 02:04:39 +01:00
Błażej Szczygieł
570a8e6b40 Fix compilation with MSVC 2013 2016-11-15 12:10:05 +01:00
Rémi Verschelde
ea87f0f9d9 Blimey! Ye Pirate locale be anchor' a'port! 2016-11-15 09:01:51 +01:00
Rémi Verschelde
4c698f825d i18n: Sync template and translations with current code 2016-11-15 08:58:29 +01:00
Rémi Verschelde
3b42e0a336 i18n: Sync translations with Weblate
Adds initial translations for Hungarian and Pirate (yaaaar!)
2016-11-15 08:57:54 +01:00
Rémi Verschelde
635db806c4 Merge pull request #7115 from sketchyfun/path3D_handle_snap
Added snapping to 3D path handles
2016-11-15 08:17:55 +01:00
Rémi Verschelde
394d48a5fc Merge pull request #7113 from volzhs/check-project-path
Check entered and trimmed path when create, import, install project
2016-11-15 08:17:21 +01:00
Rémi Verschelde
77f5b683c4 Merge pull request #7112 from khairul169/hidehttpreqdebug
Disable debug properties of HTTP Request
2016-11-15 08:17:04 +01:00
George Marques
e167c664c8 Merge pull request #7109 from volzhs/emit-signal-from-set
Emit "*_changed" signal in set_*
2016-11-14 13:46:28 -02:00
Ben Hickling
4d1acab79b Added snapping to 3D path handles to bring it in line with its 2D counterpart 2016-11-14 14:46:08 +00:00
volzhs
2d9e89ea2a Check entered and trimmed path when create, import, install project 2016-11-14 21:46:10 +09:00
Rémi Verschelde
bbc71083c1 Merge pull request #7111 from volzhs/crash-import-scene
Fix crash when select target path on import 3d scene window
2016-11-14 08:28:20 +01:00
Rémi Verschelde
d314c24d72 Merge pull request #7110 from RandomShaper/patch-2
Update/fix Android build
2016-11-14 08:27:44 +01:00
Rémi Verschelde
715ab48a54 Merge pull request #7107 from eska014/wasm
Some WebAssembly stuff
2016-11-14 08:26:24 +01:00
Rémi Verschelde
add2cf65a6 Merge pull request #7101 from volzhs/fix-box-selection
Prevent to select children if selection lock or instanced scene
2016-11-14 08:25:10 +01:00
khairul169
6a7aebdf6c Uncomment debug properties of HTTP Request 2016-11-14 09:27:10 +07:00
volzhs
b0cf201ea3 Fix crash when select target path on import 3d scene window 2016-11-14 08:36:01 +09:00
Pedro J. Estébanez
5a26459c06 Update/fix Android build
Fix wrong path for 32-bit Windows, which fixes #7084
Exclude 32-bit Windows from multi-threaded linking because it's not supported by the NDK
Remove 32-bit Linux as there is no NDK variant for it
2016-11-13 23:54:06 +01:00
volzhs
384625aa31 Emit "*_changed" signal in set_* 2016-11-14 04:21:29 +09:00
eska
d87b1d1338 Remove explicit BINARYEN_METHOD for WebAssembly build
This option is the default since Binaryen version 21.
2016-11-13 15:38:12 +01:00
eska
82addf2ffe Enable memory growth in WebAssembly builds
This allows setting TOTAL_MEMORY during runtime at the cost of reserving
a bit more memory.
2016-11-13 15:29:03 +01:00
eska
31f929caa2 Clarify a NULL comparison
'TreeItem::get_children()' does not return the child count, but rather
a pointer to the children.

This comparison caused an error during WebAssembly builds using the
LLVM backend path.
2016-11-13 15:27:17 +01:00
volzhs
c3f4d676c0 Prevent to select children if selection lock or instanced scene
Fix #7086
2016-11-12 22:43:31 +09:00
Ignacio Etcheverry
c93c2a6be8 Merge pull request #6968 from neikeq/pr-register-trnglmesh
Core: Register TriangleMesh type
2016-11-12 14:01:59 +01:00
Rémi Verschelde
43e288973e Merge pull request #7100 from vnen/visualscript-positive
Add "Positive" operator to VisualScript
2016-11-12 12:35:43 +01:00
George Marques
fa327f886e
Add "Positive" operator to VisualScript 2016-11-11 23:46:32 -02:00
Rémi Verschelde
02e616b4ef Merge pull request #6998 from volzhs/fix-editor-settings
Fix resetting to default value in EditorSettings
2016-11-11 14:17:53 +01:00
Rémi Verschelde
7751a933a9 Merge pull request #6802 from henriquelalves/master
Added small modification on gdscript parser to allow users insert '+' before variables
2016-11-11 10:55:26 +01:00
Rémi Verschelde
d0d81a2470 Merge pull request #7082 from volzhs/attach-script
Can create or load script on Attach script dialog
2016-11-11 10:55:16 +01:00