summaryrefslogtreecommitdiffstats
path: root/platform/osx/export/export.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Texture refactorJuan Linietsky2020-02-111-1/+1
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* Remove duplicate ERR_PRINT macro.Marcel Admiraal2020-02-051-1/+1
|
* [macOS/Mono] Filter release/debug and rename Mono data folder on export.bruvzg2020-01-101-0/+18
|
* macOS DMG export: create folder structure for the files extracted from ↵bruvzg2020-01-101-13/+18
| | | | export template ZIP.
* Export: Improve usability of command line interfaceRémi Verschelde2020-01-071-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm barely scratching the surface of the changes needed to make the --export command line interface easy to use, but this should already improve things somewhat. - Streamline `can_export()` templates check in all platforms, checking first for the presence of official templates, then of any defined custom template, and reporting on the absence of any. Shouldn't change the actual return value much which is still true if either release or debug is usable - we might want to change that eventually and better validate against the requested target. - Fix discrepancy between platforms using `custom_package/debug` and `custom_template/debug` (resp. `release`). All now use `custom_template`, which will break compatibility for `export_presets.cfg` with earlier projects (but is easy to fix). - Use `can_export()` when attempting a command line export and report the same errors that would be shown in the editor. - Improve error reporting after a failed export attempt, handling missing template and invalid path more gracefully. - Cleanup of unused stuff in EditorNode around the export workflow. - Improve --export documentation in --help a bit. Fixes #16949 (at least many of the misunderstandings listed there). Fixes #18470.
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* i18n: Sync translations with Weblate + update templateRémi Verschelde2019-12-221-1/+0
| | | | | Also fix a few stray clang-format formatting errors that passed through CI unnoticed.
* Added microphone and camera usage descriptions to macOS builds.Catchawink2019-12-131-0/+9
|
* Add code signing support for Windows exports (using "signtool" on Windows ↵bruvzg2019-10-041-5/+18
| | | | and "osslsigncode" on the other platforms)
* macOS code signing improvements (timestamp and hardened runtime options, ↵bruvzg2019-10-021-16/+19
| | | | entitlements property hint, remove excessive codesign calls, suppress "file not found" error on first export)
* Changed some code found by Clang Tidy and Coverityqarmin2019-09-221-1/+1
|
* Export: Remove temp files from cache after exportRémi Verschelde2019-08-121-4/+17
| | | | | | | | | So far we left most temporary files lying around, so this attempts to fix that. I added a helper method to DirAccess to factor out the boilerplate of creating a DirAccess, checking if the file exists, remove it or print an error on failure.
* Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG2019-06-231-1/+1
|
* Allow project export to be canceledGeorge Marques2019-05-181-5/+13
|
* [macOS] Allow using user provided `.icns` files for exported app icons.bruvzg2019-05-171-6/+16
|
* Merge pull request #27676 from qarmin/small_fixes_2Rémi Verschelde2019-05-011-1/+0
|\ | | | | Small fixes to static analyzer bugs
| * Small fixes to static analyzer bugsqarmin2019-04-041-1/+0
| |
* | Add FileAccess::set_unix_permissions for Unix platformsJuan Linietsky2019-04-071-1/+1
|/
* Fix directory check when exporting projectvolzhs2019-03-061-1/+1
| | | | Fix #26702
* Fixes misleading error message when trying to exportRicardo Lüders2019-03-051-0/+4
| | | | | | | This patch fixes the misleading error message when users try to "export all" into an invalid destination path. Closes #26539
* ExportDialog: Make error messages translatableRémi Verschelde2019-01-211-2/+2
| | | | Also fix missing newlines that caused #24202.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix macOS icon export (add 1024px PNG icon and 32px/16px RLE icons).bruvzg2018-11-261-25/+141
|
* Export for OS X on OS X now lets you select .dmg or .zipMarcelo Fernandez2018-11-011-4/+12
|
* Fix warnings about set but unused variables [-Wunused-but-set-variable]Rémi Verschelde2018-09-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following GCC 5 warnings: ``` drivers/gles2/rasterizer_canvas_gles2.cpp:814:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable] drivers/gles2/rasterizer_scene_gles2.cpp:2270:11: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable] drivers/gles2/rasterizer_scene_gles2.cpp:2673:22: warning: variable 'e' set but not used [-Wunused-but-set-variable] drivers/gles2/rasterizer_scene_gles2.cpp:715:7: warning: variable 'no_cull' set but not used [-Wunused-but-set-variable] drivers/gles2/shader_gles2.cpp:693:14: warning: variable 'cc' set but not used [-Wunused-but-set-variable] drivers/gles3/rasterizer_canvas_gles3.cpp:1226:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable] drivers/gles3/rasterizer_scene_gles3.cpp:3039:10: warning: variable 'contrib' set but not used [-Wunused-but-set-variable] drivers/gles3/rasterizer_scene_gles3.cpp:4504:32: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable] editor/editor_inspector.cpp:272:9: warning: variable 'guide_color' set but not used [-Wunused-but-set-variable] editor/editor_themes.cpp:1067:14: warning: variable 'alpha3' set but not used [-Wunused-but-set-variable] editor/editor_themes.cpp:263:8: warning: variable 'script_bg_color' set but not used [-Wunused-but-set-variable] editor/plugins/collision_shape_2d_editor_plugin.cpp:326:11: warning: variable 'cpoint' set but not used [-Wunused-but-set-variable] editor/plugins/mesh_editor_plugin.cpp:72:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] editor/plugins/shader_editor_plugin.cpp:471:12: warning: variable 'mpos' set but not used [-Wunused-but-set-variable] editor/plugins/shader_editor_plugin.cpp:89:8: warning: variable 'basetype_color' set but not used [-Wunused-but-set-variable] editor/plugins/shader_editor_plugin.cpp:90:8: warning: variable 'type_color' set but not used [-Wunused-but-set-variable] editor/plugins/shader_editor_plugin.cpp:92:8: warning: variable 'string_color' set but not used [-Wunused-but-set-variable] modules/visual_script/visual_script_editor.cpp:2521:7: warning: variable 'seq_connect' set but not used [-Wunused-but-set-variable] platform/android/export/export.cpp:580:12: warning: variable 'styles_count' set but not used [-Wunused-but-set-variable] platform/android/export/export.cpp:584:12: warning: variable 'styles_offset' set but not used [-Wunused-but-set-variable] platform/osx/export/export.cpp:464:9: warning: variable 'zerr' set but not used [-Wunused-but-set-variable] scene/2d/tile_map.cpp:260:10: warning: variable 'tcenter' set but not used [-Wunused-but-set-variable] scene/3d/light.cpp:166:7: warning: variable 'editor_ok' set but not used [-Wunused-but-set-variable] scene/3d/navigation.cpp:566:11: warning: variable 'closest_navmesh' set but not used [-Wunused-but-set-variable] scene/gui/rich_text_label.cpp:869:8: warning: variable 'size' set but not used [-Wunused-but-set-variable] scene/main/viewport.cpp:705:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable] scene/main/viewport.cpp:706:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable] scene/main/viewport.cpp:726:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable] scene/main/viewport.cpp:727:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable] scene/resources/material.cpp:430:7: warning: variable 'using_world' set but not used [-Wunused-but-set-variable] servers/visual/shader_language.cpp:2026:7: warning: variable 'all_const' set but not used [-Wunused-but-set-variable] servers/visual/visual_server_scene.cpp:1383:28: warning: variable 'z_max_cam' set but not used [-Wunused-but-set-variable] ``` Also fixes two [-Wunused-value] warnings: ``` scene/gui/text_edit.cpp:4405:20: warning: statement has no effect [-Wunused-value] servers/visual/visual_server_scene.cpp:905:48: warning: value computed is not used [-Wunused-value] ``` Some of those are bugs and need further work, they are identified with `// FIXME` comments.
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-7/+7
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Make some debug prints verbose-only, remove othersRémi Verschelde2018-08-241-6/+1
|
* Fix file hintsMarcin Zawiejski2018-08-231-3/+3
| | | | Fixes file hints so the file dialog actually displays the files with given extension (e.g. *.apk).
* BPTC supportelasota2018-08-211-0/+3
|
* Add PROPERTY_HINT_PLACEHOLDER_TEXT for String propertiesRémi Verschelde2018-08-201-3/+3
| | | | | | Use it to provide a better example for application identifiers on Android, iOS and macOS, where users thought they *had* to use this as a magic token.
* Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-261-9/+9
| | | | | | | | | | | | | | | | | | | | | | | This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
* Improved error checking at EditorExportPlatformPC::export_projectMarcelo Fernandez2018-03-061-4/+6
|
* Modify OSX can_export logic to match the logic from ↵Marcelo Fernandez2018-03-031-9/+15
| | | | EditorExportPlatformPC::can_export
* OSX: Remove support for 32-bit and fat binariesRémi Verschelde2018-02-191-14/+2
| | | | | | Mac OS X is 64-bit only since 10.7 (Lion), which has reached End-Of-Life in October 2014. Therefore it no longer makes sense to support exporting 32-bit binaries for Mac OS X, and we can now default to 64-bit instead of bigger "fat" binaries.
* Adds dylib export for "dmg" export mode and change dylib path to ↵bruvzg2018-01-041-2/+20
| | | | "/Contents/Frameworks"
* Add support from properly exporting shared objects, needed for GDNative exportJuan Linietsky2018-01-041-1/+24
|
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Updated Linux template extensions to match architecture.Nathan Warden2017-12-121-1/+1
|
* Fix Manage Export Templates linkMattUV2017-12-081-0/+1
| | | | | In some cases, the link to download export templates was missing. Fixes #14391
* Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky2017-11-251-1/+1
| | | | | | wrong function, leading to unnecesary copy on writes and reduced performance.
* Allow configuring iOS exportRuslan Mustakov2017-11-211-0/+1
| | | | | | | | | | | | | | | | | - EditorExportPlugin's _export_begin accepts all the arguments related to the current export (is_debug, path, flags). - EditorExportPlugin API is extended with methods allowing to configure iOS export: add_ios_framework, add_ios_plist_content, add_ios_linker_flags, add_ios_bundle_file. - iOS export template now contains Godot as a static library so that it can be linked with third-party Frameworks and GDNative static libraries. - Adds method to DirAccess for recursive copying of a directory. - Fixes iOS export to work with Xcode 9 (released recently).
* Use new XDG folders to dehardcode pathsRémi Verschelde2017-11-191-3/+3
|
* EditorSettings: Rename settings_path to settings_dirRémi Verschelde2017-11-171-3/+3
| | | | Also to prepare for upcoming refactoring for XDG support.
* Use binary names instead of absolute paths in calls to OS::execute.J08nY2017-10-131-2/+2
| | | | | | Now that #12009 is merged, we should let the system find the binary on the users $PATH and don't assume we know where to look for them in different distributions.
* Merge pull request #11810 from marcelofg55/osx_export_improvRémi Verschelde2017-10-091-274/+182
|\ | | | | OS X export code improvements
| * Improvements on the export code on OS XMarcelo Fernandez2017-10-031-274/+182
| |
* | fixed the OS.has_feature() API, and added support for 32 and 64.Juan Linietsky2017-10-031-0/+10
|/
* Fixed loading package from resource folder, exporting textures to bundle and ↵BastiaanOlij2017-09-081-2/+13
| | | | added a bit of feedback for a debug compile
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-7/+15
| | | | -Added system for feature overrides, it's pretty cool :)