Commit graph

13617 commits

Author SHA1 Message Date
Marcelo Fernandez a4e64c5454 Added File.get_path and File.get_path_absolute functions 2018-03-13 12:07:37 -03:00
Max Hilbrunner ec3f5218e8
[DOCS] Net.MultiplayerEnet: List returned errors 2018-03-13 15:55:52 +01:00
Alexander Holland 73146af740 expose Itemlist.move_item and optimize functionality 2018-03-13 15:19:43 +01:00
Gary Oberbrunner d1318ee12c Enable SCons to autodetect Windows MSVC compiler
SCons has good compiler detection logic for MSVC compilers. Up to now,
Godot hasn't used it; it depends on passed-in OS environment vars from
a specific Visual Studio cmd.exe windows. This makes it harder to
build from a msys or cygwin shell.

This change allows SCons to autodetect Visual Studio unless it sees
VCINSTALLDIR in the os.environ. It also adds a 'msvc_version' arg for
manual specification of compiler version, and uses the existing 'bits'
arg to specify the target architecture. More detail could be added as
desired. It also adds 'use_mingw' to always use mingw, even if Visual
Studio is installed. That uses the existing mingw setup logic.

If people are used to building Godot in a Visual Studio cmd window,
this should not change the behavior in that case, since VCINSTALLDIR
will be set in those windows. (However, note that you could now unset
that var and build with any other MSVC version or target arch, even in
that window.)

I refactored much of platform/windows/detect.py during this, to
simplify and clarify the logic. I also cleaned up a bunch of env var
settings in windows/detect.py and SConstruct to use modern SCons
idioms and simplify things.

I suspect this will also enable using the Intel compiler on Windows,
though that hasn't been tested.
2018-03-13 09:51:05 -04:00
Rémi Verschelde a5476f8562
Merge pull request #16895 from Noshyaar/bmk
Fix get_drive (bookmarks) in linux not working
2018-03-13 14:01:21 +01:00
Rémi Verschelde c81356153e
Merge pull request #16971 from Noshyaar/tilemap
TileMap: add fix_invalid_tiles
2018-03-13 13:57:58 +01:00
Rémi Verschelde 65dc4abca3
Merge pull request #16978 from Noshyaar/tmsc
Add icon to TileMapEditor popupmenu
2018-03-13 13:57:10 +01:00
Rémi Verschelde 535205196f
Merge pull request #17013 from Noshyaar/theme
Update icons when theme changed
2018-03-13 13:48:37 +01:00
Rémi Verschelde b1ae5ea407
Merge pull request #17040 from AndreaCatania/patch-2
Deprecated Godot 3D physics engine
2018-03-13 13:46:08 +01:00
Rémi Verschelde ab03574e4a
Merge pull request #17079 from Noshyaar/leak2
GridMapEditorPlgn: fix a leak
2018-03-13 13:44:48 +01:00
Rémi Verschelde 96bda9c463
Merge pull request #17094 from Calinou/add-dynamicfont-hinting-options
Add an hinting mode setting to DynamicFonts
2018-03-13 13:38:35 +01:00
Rémi Verschelde 8b31b98036
Merge pull request #17104 from Faless/assetlib_more_threads
More threading in AssetLib
2018-03-13 13:35:28 +01:00
Rémi Verschelde 931f669b30
Merge pull request #17114 from poke1024/fix15719
Fix line thickness for CollisionPolygon2D.
2018-03-13 13:34:32 +01:00
Rémi Verschelde 401a39f57e
Merge pull request #17116 from poke1024/fix16734
Fix round preview getting square on "run scene" (issue 16734)
2018-03-13 13:33:51 +01:00
Rémi Verschelde bd82fc19e9
Merge pull request #17138 from simedis/import_md5
Make md5's not be in the same file as the import settings
2018-03-13 13:06:18 +01:00
Rémi Verschelde 92180b4639
Merge pull request #17141 from marcelofg55/uneven_channels
Support for uneven amount of channels on PulseAudio
2018-03-13 13:05:43 +01:00
Rémi Verschelde a3915d8597
Merge pull request #17154 from Hinsbart/fix_text_editor_settings
ScriptEditor: Use EditorSettings instead of hardcoded values in constructor.
2018-03-13 12:54:43 +01:00
Rémi Verschelde 8b629bbcbe
Merge pull request #17166 from Noshyaar/tilemap2
TileSet&TextureRegion: fix error when getting nonexistent tile
2018-03-13 12:53:51 +01:00
Rémi Verschelde fcd81c9627
Merge pull request #17172 from StateOff/add_show_axis_options
Add "Show Origin" and "Show Viewport" options to 2D Editor Viewport
2018-03-13 12:53:11 +01:00
Rémi Verschelde de1e2b4497
Merge pull request #17176 from Noshyaar/audiobus
EditorAudioBus: expand effects list
2018-03-13 12:51:54 +01:00
Rémi Verschelde 4835488716
Merge pull request #17184 from Noshyaar/tilemap3x
TileSetEditorPlgn: use EditorHandle icon as handle
2018-03-13 12:51:01 +01:00
Rémi Verschelde b4da44981a
Merge pull request #17254 from Chaosus/updatewrap
Update wrap functions
2018-03-13 12:33:57 +01:00
Rémi Verschelde d3e788a6b8
Merge pull request #17255 from x1212/preload_enum_export_fix
fix enum from preloaded script in export
2018-03-13 12:31:14 +01:00
Rémi Verschelde ced5b57a60
Merge pull request #17257 from and3rson/master
Fix garbage in string padding.
2018-03-13 12:30:42 +01:00
Rémi Verschelde 18d543d7ab
Merge pull request #17311 from marcelofg55/export_err_checks
Improved error checking at EditorExportPlatformPC::export_project
2018-03-13 12:17:53 +01:00
Rémi Verschelde 88c1430613
Merge pull request #17314 from robfram/complete-path-15813
Fix bad autocomplete of partially written node paths when using syntactic sugar notation ($)
2018-03-13 12:16:51 +01:00
Rémi Verschelde 6d97fbdfc1
Merge pull request #17359 from AlexHolly/completion-edge-jump
Auto completion edge jump
2018-03-13 12:01:14 +01:00
Rémi Verschelde 6d59bc67a0
Merge pull request #17379 from poke1024/fix-anim-popups
AnimationPlayer: fix popups close on double click
2018-03-13 11:55:17 +01:00
Rémi Verschelde 319167a67a
Merge pull request #17380 from robfram/fix-change-node-type
Fix overwriting all common properties when using `Change Type` tool
2018-03-13 11:54:10 +01:00
Rémi Verschelde b49746f3cd
Merge pull request #17381 from poke1024/fix-anim-scrub
AnimationPlayer: fix scrubbing after play backwards
2018-03-13 11:51:30 +01:00
Rémi Verschelde 4287c7822b
Merge pull request #17440 from viktor-ferenczi/issue-5042
Properly closing all files in Python build code
2018-03-13 11:49:58 +01:00
Rémi Verschelde 6e491ff283
Merge pull request #17383 from poke1024/colorpicker-tweaks
Better tab support for color picker
2018-03-13 11:42:51 +01:00
Rémi Verschelde a64f30536e
Merge pull request #17390 from poke1024/fix-anim-text-overlap
Fixes overlapping text labels in animation editor timeline
2018-03-13 11:40:31 +01:00
Rémi Verschelde 9cadef3ffb
Merge pull request #17404 from poke1024/fix-anim-player-pan
Fix wrong pan direction in animation player ui
2018-03-13 11:34:25 +01:00
Rémi Verschelde f92acfe119
Merge pull request #17406 from poke1024/fix-anim-key-ui
Fix broken hover/select coloring of keys in animation editor
2018-03-13 11:31:17 +01:00
Rémi Verschelde 40aa97d2c8
Merge pull request #17413 from ShyRed/previewfix
Update preview on filesystem change
2018-03-13 11:27:43 +01:00
Rémi Verschelde ada1357dfd
Merge pull request #17422 from robfram/fix-radial-textureprogress
Implement line clipping for `TextureProgress` to avoid bad rendering
2018-03-13 11:25:49 +01:00
Rémi Verschelde ed1fb87429
Merge pull request #17435 from poke1024/output-error-icon
Show error icon at "Output" in case of errors
2018-03-13 11:22:28 +01:00
Rémi Verschelde 71cc0df311
Merge pull request #17441 from poke1024/fix-autoload-column-width
Fix column width on AutoLoad table on hidpi displays
2018-03-13 11:18:37 +01:00
Rémi Verschelde 7463928d0e
Merge pull request #17454 from jvdnbus/hdr-import
Fixes importing hdr files with extra header info
2018-03-13 11:13:13 +01:00
Rémi Verschelde 08415d0f53
Merge pull request #17319 from eska014/polyclipper-toolsonly
Build polygon clipper only in tools builds
2018-03-13 11:01:28 +01:00
Rémi Verschelde 66877d6273
Merge pull request #17482 from yleduc/fix_ios_build_es2
fix iOS build - error due to GLES2 missing include
2018-03-13 10:50:29 +01:00
Yannick Le Duc b5c7e6bac9 fix iOS build - error due to GLES2 missing include (with the advice from bruvzg[m] on irc) 2018-03-13 10:42:23 +01:00
Rémi Verschelde b1c9a7c757
Merge pull request #17410 from groud/fix_grid_container
Fixes infinite loop in GridContainer
2018-03-13 10:34:31 +01:00
Rémi Verschelde c446231a6e
Merge pull request #17191 from garyo/fix_grid_cont
Fix infinite loop in GridContainer layout
2018-03-13 10:34:20 +01:00
Rémi Verschelde 965feb9521
Merge pull request #17455 from Noshyaar/capitalize
ScriptTextEditor: fix capitalize offset
2018-03-13 09:55:15 +01:00
Rémi Verschelde 15626fa2d0
Merge pull request #17442 from Noshyaar/esr
EditorNode: fix clicking ok keeps trying to save
2018-03-13 09:36:55 +01:00
Rémi Verschelde 7e246a0cb7
Merge pull request #17432 from ShyRed/tilemapupdate
Update TileMap when its TileSet changes
2018-03-13 09:30:38 +01:00
Rémi Verschelde 67a5a39dee
Merge pull request #17426 from AlexHolly/expose-itemlist-is_anything_selected
expose Itemlist.is_anything_selected
2018-03-13 09:23:31 +01:00
Rémi Verschelde 03816e284b
Merge pull request #17416 from viktor-ferenczi/issue-17414
Avoid confusing traceback on attempting build without platform option
2018-03-13 08:51:11 +01:00