Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename String plus_file to path_join #65066

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

aaronfranke
Copy link
Member

See the discussion here: #54161 (comment)

I propose renaming it to path_join since it joins two paths together. This method can be used for more than just files, so plus_file isn't a very good name. It even works for URLs:

func _ready():
	OS.shell_open("https://godotengine.org".path_join("download"))

@aaronfranke aaronfranke removed request for a team August 30, 2022 02:20
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. I think that's a better name and my preferred one from the ones discussed in the tracker.

@akien-mga akien-mga merged commit 432b25d into godotengine:master Aug 30, 2022
@akien-mga
Copy link
Member

Thanks!

@aaronfranke aaronfranke deleted the str-path-join branch September 16, 2022 23:17
chippmann added a commit to utopia-rise/godot-kotlin-jvm that referenced this pull request Nov 15, 2022
chippmann added a commit to utopia-rise/godot-kotlin-jvm that referenced this pull request Nov 16, 2022
chippmann added a commit to utopia-rise/godot-kotlin-jvm that referenced this pull request Nov 22, 2022
* Fix compilation errors in export plugin

* Comment rpc stuff fixes in #369

* Replace `plus_file` with `path_join`. See: godotengine/godot#65066

* Replace `call` with `callp` and `call_deferred` witch `call_deferredp`. See: godotengine/godot@d4433ae

* Replace `Main::is_project_manager()` with `Engine::get_singleton()->is_project_manager_hint()`. See: godotengine/godot#52742

* Fix `save` overridden method structure

* Add overrides for new pure virtual functions

* Add overrides for missing pure virtual functions

* Fix bottom panel

* Fix import and tooltip

* Implement missing function

* Make `KotlinEditorExportPlugin` header only to make it compile. See: `GDExtensionExportPlugin`

* Fix godot actions input

* Fix wrong arch input

* Rename osx to macos for platform input

* Rename job matrix name for macos targets

* Remove remaining `tools` inputs

* Add setup vulkan sdk

* Fix target

* Replace all occurrences of osx with macos

* Replace `OSX_ENABLED` with `MACOS_ENABLED`

* Rename directory

* Fix x86_64 binary name

* Fix android export template builds

* Replace `tools` with `editor`

* Fix download binary name

* Fix kotlin compilation errors (except rpc stuff from entry gen)

* Fix template release target after rebase

* Fix reference typos

* Fix reference typos

* fix: bring back kotlin_editor_export_plugin.cpp

* Fix imports

* Improve import path to match other occurrences

* Fix wrong alignment

Co-authored-by: Pierre-Thomas Meisels <meisels27@yahoo.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Approved
Development

Successfully merging this pull request may close these issues.

None yet

3 participants