Commit Graph

4619 Commits

Author SHA1 Message Date
Juan Linietsky 1c541a2bee corrently parse utf8 from zip_io open, closes #1708
this probably failed when exporting or opening android apk files too, should fix that too.
2016-06-18 17:29:41 -03:00
Juan Linietsky b4b80625d1 Change hash grid in 2D physics to contemplate large objects as separate cases, to avoid huge memory and performance penalty. Fixes #4662 2016-06-18 17:21:53 -03:00
J08nY b587a13293 Classref: Mutex, Semaphore, Thread, *Array (#5278) 2016-06-18 21:21:29 +02:00
Juan Linietsky 5e7f1fc79b update EditorDirDialog on external change, closes #4629 2016-06-18 16:03:35 -03:00
Rémi Verschelde 81a10795dc Merge pull request #5275 from akien-mga/pr-empty-files
Drop empty or commented out files and classes that are not in use
2016-06-18 20:56:56 +02:00
Ignacio Etcheverry 4928cc34eb LineEdit: Word jumping and OSX hotkeys 2016-06-18 20:53:46 +02:00
Juan Linietsky 9b9580f568 -fix bug in scene tree dragndrop reparenting, closes #4712, closes #4633, closes #4628
-avoid editor scrollable areas to scroll if touchscreen ui hint is turned on
2016-06-18 15:30:44 -03:00
Rémi Verschelde bb3362fd12 Drop useless 3rd party files from nedmalloc and png
Part of #5272
2016-06-18 20:27:58 +02:00
Rémi Verschelde c3bf11d4d4 Drop fully commented-out files
Part of #5272
2016-06-18 20:23:49 +02:00
Rémi Verschelde 80727b6896 Drop empty .cpp files for header-only classes
Part of #5272
2016-06-18 20:00:08 +02:00
Rémi Verschelde b7dbf9207a Drop empty files that are not used anywhere
Part of #5272
2016-06-18 19:46:30 +02:00
Ignacio Etcheverry bc9f9b1c6a TextEdit: Change font size with Ctrl+Mouse Wheel Up/Down 2016-06-18 18:47:11 +02:00
Juan Linietsky adc13e9027 Make ".." always appear even if dir is unlistable (likely lacking permissions), closes #1938 2016-06-18 12:51:27 -03:00
George Marques e048d1e0a2
Fix make_dir for long paths on Windows 2016-06-18 12:28:11 -03:00
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
volzhs e6bbe91994 fix errors while exporting android 2016-06-16 05:00:21 +09: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