5226 Commits

Author SHA1 Message Date
Adrian Siekierka
fe89946fdc more ArgumentsImpl fixes 2023-06-03 19:33:12 +02:00
Adrian Siekierka
9b44e0a0ec use Guava caches instead of ConcurrentHashMap for fix 2023-06-03 16:51:37 +02:00
Adrian Siekierka
1b070f4e2a fix #3013 2023-06-03 16:38:47 +02:00
Adrian Siekierka
9335ba9a72 update changelog, be even more lenient with number passing in Arguments 2023-06-03 16:15:00 +02:00
Possseidon
3831a8696e Removed all trailing whitespaces from OpenOS. 2023-06-03 15:54:47 +02:00
Possseidon
c053c0f531 Fixed OpenOS diagnostics in the vscode Lua plugin. 2023-06-03 15:54:39 +02:00
Adrian Siekierka
66bd036ed9 somewhat mimic Lua 5.3+ conversion logic for numbers in API arguments, fix #3620 2023-06-03 15:37:49 +02:00
Adrian Siekierka
c71c1479dd Lua 5.3+ fixes 1.7.10-forge/1.8.1 2023-05-30 21:12:53 +02:00
Adrian Siekierka
1c163dd701 un-revert application.conf comment fixes 2023-05-30 20:30:26 +02:00
Adrian Siekierka
555ae0e695 Revert "Migrate Internet Card to Apache HTTPClient, fix #3364"
This reverts commit 9f1d521e4a6f4d75ce7460a7ef4ccd6bd29fbf45.
2023-05-30 20:28:43 +02:00
Adrian Siekierka
4cbe57d250 start work on 1.8.1 2023-05-11 15:28:39 +02:00
Adrian Siekierka
8fb006a666 fix #3596 1.7.10-forge/1.8.0 2023-05-07 11:01:29 +02:00
Adrian Siekierka
dc6a57940f
Merge pull request #3597 from deVDem/master-MC1.7.10
Update ru_RU.lang
2023-05-07 10:12:00 +02:00
Adrian Siekierka
cf07d3e06a
Merge pull request #3585 from 5kuper/patch-3
Add Roboheart from OMORI to robot names
2023-05-07 10:11:56 +02:00
Adrian Siekierka
3e3e64460d add Nano to robot names 2023-05-07 10:07:19 +02:00
Adrian Siekierka
c7c9601475 fix #3603 2023-05-07 10:04:41 +02:00
Adrian Siekierka
d3d887f22f fix #3609 2023-05-07 09:57:02 +02:00
Adrian Siekierka
f8cb77e441 fix #3591, possibly 2023-05-07 09:54:37 +02:00
Adrian Siekierka
25773cc5eb fix #3588 2023-05-07 09:54:37 +02:00
Roman Medvedev
358fb80a30 Update ru_RU.lang
Added some missed translations
2023-01-12 16:10:45 +03:00
Dmitry Polyukhovich
c2f73a0267
Add Roboheart from OMORI to robot names 2022-11-27 00:26:53 +03:00
Adrian Siekierka
1c0dc67182
Merge pull request #3584 from 5kuper/patch-1
Add WX-78 from Don't Starve to robot names
2022-11-26 22:21:40 +01:00
Dmitry Polyukhovich
a3c2b5cac1
Add WX-78 from Don't Starve to robot names 2022-11-27 00:14:21 +03:00
Adrian Siekierka
c07e441613 Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into master-MC1.7.10 2022-11-21 18:46:30 +01:00
Adrian Siekierka
aa1a472494 update changelog 2022-11-21 18:46:14 +01:00
Adrian Siekierka
a1a96ba700 fix #3579 2022-11-21 18:42:11 +01:00
Adrian Siekierka
fc6c8940f4
Merge pull request #3577 from Philippus/patch-1
Fix typo (robot name source comment)
2022-11-17 21:27:04 +01:00
Philippus Baalman
b85122a9f9
Fix typo 2022-11-16 20:18:34 +01:00
Adrian Siekierka
7de3aed91f Merge remote-tracking branch 'repo-alt/feature/TransposerFluids' into master-MC1.7.10 2022-11-11 10:23:00 +01:00
Adrian Siekierka
1cdaf22a7f buildscript (1.7): update ForgeGradle 2022-11-11 10:17:32 +01:00
Adrian Siekierka
dc55abe1c4 Improve .hex font loading code.
- Optimize string logic to reduce unnecessary object churn (~2x faster font load times).
- Add support for multiple font.hex IResources - this allows resource packs to only partially
  override the OpenComputers font without removing existing glyphs, opening the door for
  non-compatibility-breaking glyph addition packs or partial alternate fonts.
2022-11-11 10:13:02 +01:00
Adrian Siekierka
707ffc57a5 chore: unify newlines 2022-10-09 11:40:07 +02:00
Adrian Siekierka
9612829cd9 fix #3568 2022-10-09 11:39:49 +02:00
Adrian Siekierka
f3321f5d5c Add FreeBSD/amd64 natives. 2022-10-02 18:59:18 +02:00
Adrian Siekierka
9f1d521e4a Migrate Internet Card to Apache HTTPClient, fix #3364
Co-authored-by: hohserg <hohserg1@yandex.ru>
2022-10-02 09:32:13 +02:00
Adrian Siekierka
2b40e8a5d0 Remove is64Bit check, replace with more robust pointer width check 2022-09-28 16:05:51 +02:00
Adrian Siekierka
e7df708b32
Merge pull request #3564 from TheCodex6824/native-lib-loading
Make native library config options more flexible
2022-09-28 15:20:01 +02:00
TheCodex6824
b40b330e6f
Make native library config options more flexible
This replaces the forceNativeLibWithName config option with two new ones: forceNativeLibPlatform and forceNativeLibPathFirst. forceNativeLibPlatform allows overriding the normally auto-detected platform string to a custom value, in case the user is on an unsupported platform. forceNativeLibPathFirst allows choosing a directory to check for natives in, instead of always searching in the jar for one. This allows custom natives to be used without packing them into the mod jar first, which should be much easier for end users.
2022-09-24 20:27:44 -04:00
Adrian Siekierka
00c5a9b3dd set OC version to 1.8.0-snapshot, update changelog 1.7.10-forge/1.8.0-snapshot-20220918 1.7.10-forge/1.8.0-snapshot-20220917 1.7.10-forge/v1.8.0-snapshot-20220917 v1.8.0-snapshot-20220917 2022-09-17 23:27:41 +02:00
Adrian Siekierka
0784099596
Merge pull request #3558 from Smok1e/master-MC1.7.10
Fix ls.lua timestamp
2022-09-17 23:19:02 +02:00
Smok1e
7a976b35a0 Fix ls.lua timestamp
filesystem.lastModied returns timestamp as milliseconds but os.date using it as seconds, so files modification date was shown wrong
2022-09-15 15:29:38 +03:00
Adrian Siekierka
9efc6d8872 add profiler logging to OpenComputers screen rendering 2022-09-07 20:48:48 +02:00
Adrian Siekierka
fa30722e6b Remove "n" list field setting, decrease OC-LuaJ size.
Setting "n" inside a numbered list was only fully supported up until Lua 5.0,
and was fully removed by Lua 5.2 (which is the lowest version we support).
To improve performance and memory usage a little, remove setting it across
the OpenComputers Lua world (including in our fork of LuaJ).

In addition, more unused LuaJ code was removed, saving about ~100-130KB after
JAR compression.
2022-09-07 17:18:37 +02:00
Adrian Siekierka
e652fd8df1 crash the game instead of loading defaults if config file present but invalid; close #3068 2022-09-06 19:29:36 +02:00
Adrian Siekierka
dee3bdeab4 Document dimensions needing to be specific as numeric IDs. (#3068) 2022-09-05 21:53:54 +02:00
Adrian Siekierka
bd7c9e72bb Gradle: Create 1.8.0-snapshot mod versions, include build day in filename, do not include Git ref in mod version 2022-09-04 21:25:31 +02:00
Adrian Siekierka
f1323cb5ca Add Lucky Beast to robot name list. 2022-09-04 21:25:01 +02:00
Adrian Siekierka
ac4d93589a Add Lua 5.4 support, update LuaJ, JNLua, fix everything, break everything.
To say that this has been a long time coming would be an understatement.

This commit changes the following:

 * Updates LuaJ to 3.0.2 with many third-party patches applied. Not that
   it doesn't have obvious breaking bugs still - however, it emulates
   Lua 5.2 that little bit better now.
 * Updates JNLua in every conceivable way:
   * Now compiled with actual optimizations - ~2x better performance!
   * Updates Lua 5.2 with gamax92's backported bugfixes.
   * Updates Lua 5.3 from 5.3.2 to 5.3.6.
   * Adds experimental Lua 5.4 support (Lua 5.4.4).
   * Adds proper support for 64-bit integers (longs) in LuaState.
   * Adds official support for AArch64 on Linux and macOS.
   * Drops support for all architectures on FreeBSD and x86 on macOS.
   * Further minor bugfixes here and there.
 * Adds a Lua 5.4 architecture (behind a config option for now).
 * Updates the Lua copyright date.

Thanks to everyone who has been patient enough to wait over four years
for this to finally get upstreamed.

( No joke! https://github.com/MightyPirates/OpenComputers/pull/2898 )

Let's hope this doesn't break the world. (It probably does, though.)
2022-09-04 21:24:50 +02:00
Adrian Siekierka
62887f81a7 add subtle dice-like indentations to Redstone I/O texture 2022-09-04 20:35:11 +02:00
Adrian Siekierka
b9696ab310 tweak Robot block detection code, close #3239 2022-09-04 10:51:19 +02:00