Commit graph

4454 commits

Author SHA1 Message Date
Juan Linietsky
d8be671313 -Changed how Dir works so it's more user friendly, closes #4705 2016-06-18 12:11:48 -03:00
Juan Linietsky
e3905a084e -made get_space_left() return values more homogenous, also for script, converted to mb, closes #4617 2016-06-18 11:32:45 -03:00
Ignacio Etcheverry
99612207b7 LineEdit: Fix and improve selection behaviour 2016-06-18 16:14:43 +02:00
Juan Linietsky
61655d6dc2 Fixed make_dir and make_dir_recursive erros, closes #1680 closes #1872 2016-06-18 11:13:03 -03:00
Rémi Verschelde
a7fc04626a Add missing license headers in our source files (#5255)
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Dennis Brakhane
c246931f03 correctly parse floats in scientific notation
GDScript incorrectly parsed float values in scientific notation
when no decimal point was given. "1e-5" was parsed as "15".

Fix this by not requiring a decimal point when we found an exponent
for the number to be considered a float.

Fixes #5267
2016-06-18 13:20:45 +02:00
Rémi Verschelde
916e84d08c Merge pull request #5266 from Geequlim/type_exists
Add @GDScript.type_exists
2016-06-18 10:32:13 +02:00
Geequlim
71245995a4 Add @GDScript.type_exists 2016-06-18 15:07:51 +08:00
jay3d
6b74e43a5b Add "-rigid" postfix import feature to create rigid bodies 2016-06-18 02:40:25 -04:00
Geequlim
06690989f1 Clean up editor theme creation 2016-06-18 13:32:03 +08:00
Juan Linietsky
57c67fb0f7 reverted to ==, if a line is missing a statement, we'll have to make sure to add it 2016-06-17 21:57:46 -03:00
Juan Linietsky
dcd50f8838 changed == for >= since some statements may not store a line (if line is empty)
this is added to #5204
2016-06-17 21:19:09 -03:00
Juan Linietsky
3ddce309f4 Merge pull request #5204 from vnen/fix-completion-crash
Fix crash in code completion
2016-06-17 21:09:18 -03:00
Juan Linietsky
3b5f1afb5c Fixed fractional offset not being reset in ringbuffer resamples, closes #4764
Probably fixes other streamplayer issues too.
2016-06-17 20:38:10 -03:00
Rémi Verschelde
7723579237 Fix type hint for the seed argument
Closes #5260.
2016-06-18 01:18:06 +02:00
Błażej Szczygieł
aebad5de5f Fix Theora video playback without a Vorbis stream
- prevent audio resampler errors when number of channels is 0,
- don't check for 'audio_done' when there is no audio data.

(cherry picked from commit 763b29f34e)
2016-06-18 00:49:55 +02:00
Juan Linietsky
65bcde0a7d TabContainer now reports proper minimum size, closes #4896 2016-06-17 18:38:40 -03:00
Juan Linietsky
95dc15b750 Send body inout notifications after state is applied, fixes #4683 2016-06-17 16:45:10 -03:00
Juan Linietsky
6a68ce9c93 Fix bug in GridContainer not updating minimumsize when columns changes, fixes #4677 2016-06-17 16:40:40 -03:00
Juan Linietsky
55b83157e7 Keep track of when fonts change, so theme or controls that use fonts as overrides get properly updated.
closes #4622 , probably closes many other issues too
2016-06-17 16:01:30 -03:00
Juan Linietsky
ebbd705b63 Merge pull request #5250 from bojidar-bg/add-sha256
Add sha256 to String and File/FileAccess.
2016-06-17 10:57:15 -03:00
Juan Linietsky
9f2f8c9130 fixes compilation error on visual studio, closes #5249 2016-06-17 10:34:44 -03:00
Bojidar Marinov
7073bb0bb2
Add sha256 to String and File/FileAccess.
Probably does #4166
2016-06-17 10:55:16 +03:00
Juan Linietsky
f0d9245ecf -added missing .inc files
-Made it possible to change the editor theme
-Added two options to theme editor plugin to create empty template themes and editor themes
-Make sure that saved themes to .tres keep the null theme fields, to make it easier to keep those when saving/loading the theme
2016-06-17 01:13:23 -03:00
Juan Linietsky
816b3fa94d It is now possible to set a default custom theme, whether you want a hidpi default theme, or just use a custom font for the default theme 2016-06-16 20:05:22 -03:00
Rémi Verschelde
c4c6797fc1 Merge pull request #5239 from J08nY/classref
Classref: Added PacketPeer*
2016-06-16 14:24:15 +02:00
J08nY
541a1226cd
Classref: added PacketPeer* 2016-06-16 14:15:48 +02:00
J08nY
6bbc53ee18
Fixed PacketPeer.get_var() return type in docs 2016-06-16 14:15:44 +02:00
J08nY
bb2cac4515
Sync classref 2016-06-16 14:15:34 +02:00
Rémi Verschelde
dacb620f83 Merge pull request #5233 from UgisBrekis/scene-tree-relationship-lines
Enables parent-children relationship line drawing in scene tree editor
2016-06-16 11:42:10 +02:00
Daniel J. Ramirez
cb013e8703 Visible path editor icons, fixes #5228 2016-06-15 15:26:52 -05:00
Paulb23
a3481ed1c7 Fixed error: set_current_tab print on project open 2016-06-15 18:19:34 +01:00
UgisBrekis
d97e46ffb6 Adds the ability to draw parent-children relationship lines in scene tree editor
Can be turned on/off in editor settings + line color change available as
well
2016-06-15 18:10:19 +01:00
Rémi Verschelde
367aabf030 Merge pull request #5230 from Paulb23/fullscreen_distraction_mode_shortcuts
Added fullscreen and distraction free mode shortcuts
2016-06-15 18:29:17 +02:00
Paulb23
3e50ec71e9 Added fullscreen and distraction free mode shorcuts 2016-06-15 17:25:17 +01:00
Rémi Verschelde
1899f7f28d Merge pull request #5223 from RandomShaper/fix-android-export
Fix Android export
2016-06-15 15:44:35 +02:00
Pedro J. Estébanez
1fcb2a1a00 Handle tmp files properly on Android export 2016-06-15 14:58:01 +02:00
Andreas Haas
0e8b860048 Windows: Support gamepad vibration using XInput. 2016-06-15 14:40:57 +02:00
Rémi Verschelde
5c135bc0b3 Merge pull request #5219 from Geequlim/fix-5215
Fix endless reimporting for LargeTexture close #5215
2016-06-15 13:50:42 +02:00
Rémi Verschelde
41677df7cf Merge pull request #5218 from djrm/new_icons
Some theme icons and better exporter
2016-06-15 13:43:56 +02:00
J08nY
cffdc52482 Classref: Added docs for StreamPeer* (#5216) 2016-06-15 13:32:12 +02:00
Rémi Verschelde
01bb8787c9 Merge pull request #5212 from vnen/fix-emscripten-build
Fix javascript build in Windows
2016-06-15 13:23:00 +02:00
Rémi Verschelde
f38f5c9e16 Merge pull request #5195 from Ovnuniarchos/Shape2DIcons
New Shape2D* icons.
2016-06-15 11:41:06 +02:00
Rémi Verschelde
78b745bb0a Merge pull request #5192 from J08nY/issue-5190
Dictionary: rename param in .has() .has_all() .erase()
2016-06-15 11:13:59 +02:00
Rémi Verschelde
ee105744e0 Merge pull request #5210 from J08nY/issue-5189
String documentation: .ord_at() returns int not String
2016-06-15 11:08:10 +02:00
Rémi Verschelde
2345f7fcae Merge pull request #5163 from Paulb23/script_editor_shortcuts 2016-06-15 08:34:39 +02:00
Rémi Verschelde
1c1f17e72b Merge pull request #5162 from GungnirInd/app_bundle_retina
Make .app bundle high resolution aware
2016-06-15 08:30:02 +02:00
Rémi Verschelde
0f1ae03626 Merge pull request #5149 from m4nu3lf/master
TimeSeek node in AnimationTreePlayer now propagates filters
2016-06-15 08:14:35 +02:00
Dmitriy Salnikov
9cf8b23570 Update russian translation from Weblate (#5140) 2016-06-15 07:56:24 +02:00
Wilhem Barbier
f665200df7 Add joystick vibration support on Linux (#5043) 2016-06-15 07:25:35 +02:00