Commit Graph

4136 Commits

Author SHA1 Message Date
ce56743aa1 Improve platform-specific READMEs to add useful links
This also adds READMEs for all platforms.
2022-08-25 17:50:53 +02:00
27b0f18275 Unify bits, arch, and android_arch into env["arch"]
Fully removes the `bits` option and adapts the code that relied on it.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-08-25 11:19:20 +02:00
8c1dc0c7ea Merge pull request #64630 from nathanfranke/ios-opaque
(4.x) iOS: Force app store icon to be opaque, use proper errors
2022-08-25 08:43:39 +02:00
9085409492 Merge pull request #64414 from m4gr3d/fix_get_current_dir_main 2022-08-23 16:15:02 +02:00
8be27dc59e Replace Array return types with TypedArray 2022-08-22 22:42:36 +02:00
7c85c4a27e Merge pull request #64374 from RandomShaper/inheritable_cl_args 2022-08-22 21:48:28 +02:00
1e044da15c Merge pull request #64481 from jamie-pate/master
Improve performance of screen_get_dpi() in Javascript
2022-08-20 13:36:04 +02:00
a356e49803 Fix issue with get_current_dir() returning the wrong path on Android 2022-08-19 20:08:19 -07:00
d769ff184f ios: force app store icon to be opaque, use proper errors 2022-08-19 13:19:13 -05:00
e886d662ec Overhaul CLI argument forwarding to processes started by the editor 2022-08-19 11:15:56 +02:00
8c56a7416b Implement MenuBar control to wrap PopupMenus or native menu, use native menu for editor. 2022-08-18 22:25:44 +03:00
c2e3971013 Improve performance of screen_get_dpi() in Javascript
Replace a bisect with a single multiplication when calling
screen_get_dpi() in Javascript

Tested the value of
window.matchMedia(`(resolution:${(window.devicePixelRatio*96).toFixed(100)}dpi)`).matches
which is true except for values that cause a lot of rounding errors
(e.g. dpr : 0.3  => resolution: 28.799999999999997dpi)

Even in these cases the value matches the result of the previous
`findDPI()` method.

See also:

6cff589b5b (r81273660)
2022-08-15 21:12:19 -07:00
44dc24ec38 Disable threads used to check on plugins to load
The functionality is unavailable on Android (requires export capability) and unnecessarily consumes resources
2022-08-15 02:30:43 -07:00
b3117b6369 Fix issue preventing the Android Editor from displaying the project content
The issue was causing by a bug within the logic for `FileAccessFilesystemJAndroid#eof_reached()` causing that value to remain false after the eof was reached.
This in turn caused an infinite loop in the file scanner preventing the project's content from showing up.
2022-08-15 02:22:10 -07:00
45c7377556 Refactor the export checking logic to improve separation of concerns 2022-08-14 09:12:04 -07:00
8c2a577350 Clean iOS platform config of long gone macro 2022-08-10 21:42:49 +02:00
1b06b668c9 Merge pull request #49829 from naithar/feature/ios-plugins-swift-4.0 2022-08-10 14:09:58 +02:00
c99e8aeac3 [iOS] Extend iOS plugins to support Swift runtime 2022-08-09 20:20:54 +03:00
6510e11ae9 Fix memory leak when accessing/listing system fonts. 2022-08-09 12:57:53 +03:00
557c16bb88 Merge pull request #62885 from madmiraal/fix-59931 2022-08-08 15:53:48 +02:00
5df8eae862 Merge pull request #64014 from RedMser/keep-screen-on-singledef 2022-08-08 12:04:04 +02:00
c939f336d6 Only define keep_screen_on project setting once 2022-08-06 22:10:24 +02:00
2ea4baae0a Merge branch 'master' into bugfix-ios-export 2022-08-05 18:47:20 -05:00
e029e66454 Remove unnecessary string replacement 2022-08-05 18:15:57 -05:00
04a66e1bab Merge pull request #63882 from RedMser/keep-screen-on-windows
Implement `keep_screen_on` for Windows
2022-08-05 23:47:20 +02:00
944779a132 Implement screen_is_kept_on for macOS. 2022-08-05 13:14:13 +03:00
00e788e611 Implement keep_screen_on for Windows 2022-08-05 11:58:50 +02:00
103c0fa6e6 Add support for multiple virtual keyboard types 2022-08-04 10:41:33 -04:00
2f9be29c73 Implement screen_set_keep_on for macOS 2022-08-04 10:38:26 +03:00
9daffa12be Merge pull request #49058 from madmiraal/add-override-fileaccess
Add override keywords to FileAccess and DirAccess derived classes
2022-08-02 20:03:24 +02:00
c06025fa13 Add override keywords to DirAccess derived classes 2022-08-02 16:39:44 +01:00
cafb19e608 Add override keywords to FileAccess derived classes 2022-08-02 16:35:15 +01:00
33258d850c Merge pull request #61315 from lawnjelly/variant_bucket_pools
Variant memory pools
2022-08-02 15:54:18 +02:00
1418f97c70 File: Re-add support to skip CR (\r) in File::get_as_text
This was removed in #63481, and we confirmed that it's better like this,
but we add back the possibility to strip CR as an option, to optionally
restore the previous behavior.

For performance this is done directly in `String::parse_utf8`.

Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR.

Supersedes #63717.
2022-08-01 00:40:35 +02:00
9f55bd971e Extract EditorResourceConversionPlugin into its own source files and clean up editor includes 2022-07-31 21:14:15 +03:00
77b31ea365 Visual Studio Natvis file works for Variant again 2022-07-31 07:59:19 -04:00
3e5ad8213f Merge pull request #63563 from aaronfranke/export-arch 2022-07-30 11:22:25 +02:00
f4f8b18ebe Merge pull request #63647 from bruvzg/exp_msg_imp
Improve some export error messages.
2022-07-30 09:21:11 +02:00
15a02c49be Merge pull request #61647 from KoBeWi/SaverResource 2022-07-29 22:30:51 +02:00
ea00cf7270 Improve some export error messages. 2022-07-29 22:44:59 +03:00
d6a9384a32 [Linux] Fix build with missing DBUS. 2022-07-29 22:16:21 +03:00
c3606cb5f3 Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
7199314eb3 Merge pull request #63595 from reduz/remove-signal-connect-binds
Remove Signal connect binds
2022-07-29 18:10:39 +02:00
17c4cd6412 Update export dialog to handle many architectures 2022-07-29 10:24:58 -05:00
a0072ba39f Make some editor export methods const 2022-07-29 10:24:13 -05:00
d4433ae6d3 Remove Signal connect binds
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
2022-07-29 16:26:13 +02:00
f973069afb [Linux] Load dbus libraries dynamically. 2022-07-29 11:19:19 +03:00
51c5ba9da7 [Linux] Replace fontconfig wrapper with a one generated from the older library version (2.12.6, Ubuntu 18.04 LTS). 2022-07-29 08:55:19 +03:00
0dcf679bdc Merge pull request #63548 from pattlebass/master-html5-vibrate 2022-07-27 22:19:37 +02:00
130e715ab9 HTML5: Add support for Input.vibrate_handheld() 2022-07-27 22:54:41 +03:00