Age | Commit message (Collapse) | Author |
|
Updated Linux template extensions to match architecture.
|
|
|
|
|
|
|
|
|
|
Add target helper functions and refactor (master)
|
|
|
|
|
|
Remove contrived JavaScript.eval() return types
|
|
|
|
wrong function,
leading to unnecesary copy on writes and reduced performance.
|
|
And make it configurable, too.
|
|
- 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).
|
|
Export boot splash image and add option for custom HTML shell file in HTML5 export
|
|
Add support for XDG Base Directory spec
|
|
|
|
|
|
Change HTML5 start-up API
|
|
Facilitate documenting platform-exclusive classes
|
|
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().
|
|
Since WebGL 2.0 is required, requiring WebAssembly support as well has
little impact on compatibility.
|
|
This makes the interfaces available, without implementation, in other
platforms and the editor, which facilitates documenting platform-exclusive
classes.
Platform-exclusive APIs must be set up in platform/<platform>/api/api.cpp.
Provide noop method-implementations where necessary.
Also setup and document the HTML5 platform's JavaScript singleton.
|
|
Also to prepare for upcoming refactoring for XDG support.
|
|
Will be needed to avoid confusion with system data path (XDG_DATA_HOME)
and editor data dir in upcoming refactoring.
|
|
|
|
|
|
|
|
Implement HTTPClient in HTML5 platform
|
|
Limitations:
- Subject to same-origin policy
- No persistent connection (but simulated for compatibility)
- No blocking mode
- No StreamPeer access
- No chunked responses
- Cannot disable host verification
|
|
|
|
Fix WebAudio and HTML5 build
|
|
|
|
Physics server plug
|
|
Moved init_physics
Implemented physics 2D plug
Fix clang
Fix clang
Fix static check
Fix clang
Fix static check
Moved physics server initialization
Moved physics server settings initialization
|
|
|
|
|
|
Improve JavaScript calls, allow passing byte arrays to GDScript
|
|
- Allow returning ArrayBuffer and views as PoolByteArray
- Return real_t for integral numbers
- Read all color channels as 0.0 - 1.0 floating point numbers
|
|
Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
|
|
Extract logging logic
|
|
Allows starting HTML5 export when IndexedDB is not available.
|
|
Previously WebAssembly.compile was used along with the secondary
WebAssembly.instantiate overload. Using only the primary overload is
recommended to get best performance.
|
|
|
|
|
|
|
|
Previously logging logic was scattered over OS class implementations
with plenty of duplication. Major changes in this commit:
- Extracted logging logic into a separate Logger hierarchy. It allows
easy configuration of logging mechanism depending on compile-time or
run-time configuration.
- Implemented RotatedFileLogger which is usually used with StdLogger,
providing persistency of logs. It is often important to be able to
obtain logs of the game even in production to be able to understand
what happened prior to some problem. On mobile there previously was
no way to obtain the logs aside from having the device connected to
your machine.
- flush() is not performed in release mode for every logged line. It
is only performed for errors.
|
|
Regression from 844c5e12e664e3212feacc9ee3200e116556fbc7
|
|
Fix crash when no audio driver is available
|
|
|
|
Add missed bindings for enums
Move some enums to class to have correct output of api.json
|