Commit Graph

10878 Commits

Author SHA1 Message Date
Leon Krause
35adf718cf Change HTML5 start-up API
Rename engine.start() to startGame(), new start() takes string arguments
handed directly to main(). Rename Engine.loadEngine() to load().

Add setLocale(), setResizeCanvasOnStart(), setExecutableName() and
preloadFile().
2017-11-19 15:39:57 +01:00
Leon Krause
9107357c8d
Merge pull request #13003 from eska014/drop-asmjs
Drop HTML5 asm.js support
2017-11-19 15:07:19 +01:00
Poommetee Ketson
0aa4765904
Merge pull request #12989 from capnm/fix_class_makerst
Fix class docs, improve error handling of the rst generator.
2017-11-19 16:25:51 +07:00
Poommetee Ketson
baaafc5829
Merge pull request #12999 from Hinsbart/dnd_import
Editor: Drop files to copy them to project.
2017-11-19 16:22:40 +07:00
Poommetee Ketson
40574c1fc0
Merge pull request #13026 from kbake/line_edit_ignored_expand_to_len_12447
Allow LineEdit's expand_to_len be set via inspector
2017-11-19 11:58:09 +07:00
Poommetee Ketson
b1fefe2245
Merge pull request #13014 from sketchyfun/animation_editor_button_fix
AnimationEditor keys button fix
2017-11-19 11:48:45 +07:00
kbake
a5973f4071 change expand_to_len property to add on nonzero...also rename to
expand_to_text_length and shift window on expand to see all text
2017-11-18 18:57:48 -05:00
BenH
090a9abf84 Fixed issue where some of the animation editor buttons were difficult to click, mainly the add key button. This was due to an error in the offsets 2017-11-18 16:13:11 +00:00
Leon Krause
ddf21ca016 Remove asm.js support from HTML5 platform
Since WebGL 2.0 is required, requiring WebAssembly support as well has
little impact on compatibility.
2017-11-18 05:52:14 +01:00
Rémi Verschelde
63283eca55
Merge pull request #12998 from djrm/pr_fixes
some fixes
2017-11-18 02:24:24 +01:00
Martin Capitanio
ade4f3084c Fix class docs, improve error handling of the rst generator.
The rst-generator gives you now a hint what's going on:
Bad reference: 'method.RegEx.search_all' in file: ../modules/regex/doc_classes/RegExMatch.xml

grep 'method.RegEx.search_all' ../modules/regex/doc_classes/RegExMatch.xml
	Contains the results of a single regex match returned by [method RegEx.search]
	and [method.RegEx.search_all]. It can be used to find the position and range of the match
	and its capturing groups, and it can extract its sub-string for you.
2017-11-18 01:41:32 +01:00
Juan Linietsky
ca19403306 change low cpu delay to 1 usec, should make editor smoother and not really use
a lot more cpu. Fixes #11030
2017-11-17 21:22:37 -03:00
Andreas Haas
3495190497
Editor: Drop files to copy to project. 2017-11-17 21:52:55 +01:00
Daniel J. Ramirez
7154baa010 Avoid spamming the console for editor settings initial sets. 2017-11-17 14:23:44 -06:00
Juan Linietsky
ebbe2bd572
Merge pull request #12930 from vnen/gdscrit-output-print
Make tool scripts print on the editor Output panel
2017-11-17 16:05:44 -03:00
Rémi Verschelde
0968c8d2f6
Merge pull request #12982 from tagcup/aabb_rename
Rename Rect3 to AABB.
2017-11-17 20:04:29 +01:00
Juan Linietsky
1feeb3e1c8
Merge pull request #12924 from vnen/light-shader
Enable light shaders when light variables are used
2017-11-17 16:02:34 -03:00
Juan Linietsky
0e04316214
Merge pull request #12962 from SaracenOne/gui_focus_next_prev
Add manual overrides for focus_next and focus_previous
2017-11-17 15:03:05 -03:00
Juan Linietsky
cb484d75a3
Merge pull request #12980 from Rycerzyk/dithering-11416
Fix alpha dithering in viewports with TransparentBg=false and Usage=2D, issue #11416
2017-11-17 15:02:35 -03:00
Juan Linietsky
f810d369de
Merge pull request #12987 from vnen/plugin-resource-save
Make resources edited by plugins be sent as reference
2017-11-17 14:56:54 -03:00
Ferenc Arn
d28763a4c1 Rename Rect3 to AABB.
Fixes #12973.
2017-11-17 11:01:41 -05:00
George Marques
e90cfa6f82
Make resources edited by plugins be sent as reference
This ensures that a plugin can save a resource using the ResourceSaver.
2017-11-17 13:48:33 -02:00
Rémi Verschelde
64caa4733c
Merge pull request #12977 from YeldhamDev/create_node_relationships
Enabling relationship lines in the Scene Tree enables them in the Create New Node dialog as well
2017-11-17 09:22:23 +01:00
Daniel J. Ramirez
8eb12806b8 Updated some icons. 2017-11-16 20:15:30 -06:00
andrzej.buczynski
4c0e927ccf Fix alpha dithering in viewports with TransparentBg=false and Usage=2D, issue #11416 2017-11-17 01:40:00 +01:00
George Marques
b96ee28acd
Add a print handler for the editor output panel 2017-11-16 21:57:02 -02:00
George Marques
1d12470a78
Add print_error function, akin to print_line 2017-11-16 21:56:57 -02:00
Rémi Verschelde
b44cb4e3b9
Merge pull request #12583 from volzhs/select-multiple-files
Not to be slow when select multiple files
2017-11-17 00:37:01 +01:00
Rémi Verschelde
d629fd9a36
Merge pull request #12606 from rraallvv/window_position
Fix window position on macOS (master)
2017-11-17 00:36:16 +01:00
Rémi Verschelde
139a957802
Merge pull request #12763 from remorse107/Code-Complete
Modified code completion for better tabbing with immediate hints.
2017-11-17 00:33:27 +01:00
Rémi Verschelde
852b9691a6
Merge pull request #12940 from willnationsdev/richtextlabel-docs
[DOCS] Adding internal tag stack information and fleshing out descriptions
2017-11-17 00:32:10 +01:00
Rémi Verschelde
219d735eb2
Merge pull request #12932 from willnationsdev/capitalize-enhancement
Fixes a bug where capitalize didn't work with camelCase names
2017-11-17 00:28:18 +01:00
Rémi Verschelde
49cea443a9
Merge pull request #12870 from Nibodhika/master
Fixing tilemap rotation for non top-left tiles.
2017-11-17 00:05:23 +01:00
Rémi Verschelde
7ae8ba2d47
Merge pull request #12976 from Paulb23/scene_tree_add_undo_issue_6125
Fixed scene tree updating when undo/redo root node creation, issue 6125
2017-11-16 23:37:24 +01:00
Michael Alexsander Silva Dias
496e4e0d2f Enabling relationship lines in the Scene Tree enables them in the Create New Node dialog as well. 2017-11-16 20:24:33 -02:00
Paulb23
ad87dac77e Fixed scene tree updating when undoing root node creation, issue 6125 2017-11-16 22:22:51 +00:00
Rémi Verschelde
ad61ba7a97
Merge pull request #12974 from karroffel/gdnative-wrapper-fix
[GDNative] fix wrapper code generation
2017-11-16 22:40:25 +01:00
Rémi Verschelde
3330c4b4de
Merge pull request #12971 from Chaosus/saveandrunscenefix
Fix current scene run when scene saved
2017-11-16 22:31:38 +01:00
Rémi Verschelde
ab3cd97138
Merge pull request #12969 from akien-mga/refactor-gd-prefix
GDScript: Refactor "GD" class prefix to "GDScript"
2017-11-16 22:12:22 +01:00
Karroffel
b13bfac9e3 [GDNative] fix wrapper code generation 2017-11-16 22:05:47 +01:00
Chaosus
acc45ccf41 Fix current scene run when scene saved 2017-11-16 21:47:10 +03:00
Rémi Verschelde
bb1d1912ea
Merge pull request #12488 from djrm/pr_gridmap_fixes
Several improvements to GridMap.
2017-11-16 19:27:27 +01:00
Rémi Verschelde
763ca3dae1
Merge pull request #12970 from leezh/module_docs
Added modules' doc files to make_doc_header
2017-11-16 19:10:12 +01:00
Zher Huei Lee
fbcb2edeeb Added modules' doc files to make_doc_header
They were somehow never included. This fixes that.
2017-11-17 01:57:28 +08:00
Rémi Verschelde
4cfc29611e GDScript: Refactor "GD" class prefix to "GDScript" 2017-11-16 18:54:56 +01:00
Rémi Verschelde
2070b80fc0
Merge pull request #12966 from SaracenOne/convcol
Added 'convcol' flag for importing meshes as convex collision
2017-11-16 16:38:38 +01:00
Roy Berube
b361f371f1 Cleanup of Visual Studio project generation (#12929)
Visual studio project file creation had some problems. Files with c extension were listed with cpp extension. Some include files that did not exist were added to the project.
This change ensures a file exists before adding it to the project.
2017-11-16 16:37:02 +01:00
Saracen
f8a95499bd Added 'convcol' flag for importing meshes as convex collision and completed code
for parsing collision flags to mesh data.
2017-11-16 13:06:30 +00:00
Juan Linietsky
5fa7cf35b2
Merge pull request #12960 from tagcup/fix_gi_emission_energy
Fix energy not affecting emissive texture in GI baker.
2017-11-16 08:41:59 -03:00
Saracen
e4201734df Add manual overrides for focus_next and focus_previous on controls similar to what can already be done with focus neighbours. 2017-11-16 09:45:52 +00:00