Commit Graph
56 Commits
Author SHA1 Message Date
MAJigsaw77andAbnormal fddf0e92cb Fix hang caused by git status. 2025-10-08 04:24:24 -05:00
Hyper_andHundrec c7367ae33d fix: Also take '[' bracket into account when sanitizing JSON 2025-09-29 17:42:33 +08:00
EliteMasterEricandHundrec 4a6c81b136 Require the .env file include ad keys for release builds.
REMEMBER: You can build with `-debug` or with `-DNO_FEATURE_MOBILE_ADVERTISEMENTS` to skip this check.
2025-09-26 13:47:59 +08:00
EliteMasterEricandHundrec 4f671f1e5b Add some utility functions for working with constants from macros. 2025-09-26 13:47:59 +08:00
Karim AkraandHundrec f0f3e65bb0 fixed an oopsie in RegistryMacro 2025-09-26 03:44:22 +08:00
Karim AkraandHundrec 2398fabffb Fixed the build cache failing for iOS 2025-09-26 03:44:22 +08:00
MoonDroid 8522deab64 Adjust warning message 2025-09-18 14:55:52 +07:00
MoonDroid 7e93521666 Add custom context warnings for environment errors
woo!! im proud of this !!
2025-09-18 14:55:52 +07:00
MAJigsaw77andMoonDroid b5db93726a Rewrite Environment macro. 2025-09-18 14:55:52 +07:00
KoloandHundrec 80d7ace714 remove the stupid chud gibberish 2025-09-15 03:06:44 +08:00
MAJigsaw77andMoonDroid 6a564905c0 Small adjustments to prints. 2025-08-20 17:04:05 +07:00
Cameron TaylorandEric 520f7fbe68 create ConsoleMacro to allow easy initialization of classes into flixels console 2025-08-19 16:05:08 -04:00
Cameron TaylorandKade b108c0fd95 render feature flags in the compile debug into cute table 2025-08-13 19:50:33 -07:00
65349f4714 Trim env lines to fix issues with CRLF line endings
Co-authored-by: Hyper_ <40342021+NotHyper-474@users.noreply.github.com>
Co-authored-by: MoonDroid <81515012+moondroidcoder@users.noreply.github.com>
2025-08-08 01:04:58 +07:00
MAJigsaw77andMoonDroid 7e01e7332b Fix html5 compile. 2025-08-03 12:48:54 +07:00
MAJigsaw77andMoonDroid a92567886c Relocate the external folder outside of mobile package. 2025-08-03 12:48:54 +07:00
312b5c8812 Flair adjustments to the build process
Co-authored-by: MoonDroid <81515012+moondroidcoder@users.noreply.github.com>
2025-08-01 12:05:21 +07:00
Karim AkraandMihai Alexandru 79478080f6 oops 2025-07-28 10:41:31 +03:00
Karim AkraandMihai Alexandru 4ac851c387 add support for target specific environment values
and renamed `GLOBAL_ADMOB_PUBLISHER` to `MOBILE_GLOBAL_ADMOB_PUBLISHER` !!
2025-07-28 10:41:31 +03:00
MAJigsaw77 139ce3847c Fix for env vars that contain = as one of thier characters. 2025-07-26 11:55:36 +03:00
eb80a52841 fix null safety for CompiledClassList.get
Co-Authored-By: Hyper_ <40342021+NotHyper-474@users.noreply.github.com>
2025-06-26 16:48:31 +08:00
88ed66affa chore: Add null safety to various utility and plugin classes
And add a bit of error handling to CharSelectGF & CharSelectSubState

Co-Authored-By: Linus Torvalds <torvalds@linux-foundation.org>
2025-06-23 14:13:35 -04:00
EliteMasterEric 8de74c361c Additional cleanup 2025-05-01 19:55:44 -04:00
EliteMasterEric 7e62782fa1 Merge branch 'rewrite/master' into funkin-mobile/main 2025-04-28 13:49:40 -04:00
EliteMasterEricandKade adefa902e7 Fix several issues preventing builds on HTML5 2025-04-25 12:14:28 -07:00
KarimAkra 3d52aab7a3 Use correct path for the .env file for iOS 2025-04-19 12:26:39 +03:00
MoonDroid 804984b8c1 Add conditional path for DATA_FILE_BASE_PATH for iOS. 2025-04-19 16:08:30 +07:00
KarimAkra a7ef5580a4 Merge branch 'rewrite/master' of github.com:FunkinCrew/Funkin-secret into funkin-mobile/main 2025-04-18 14:41:20 +03:00
KarimAkra b6e31e581a Fixed building errors 2025-04-17 14:51:33 +03:00
KarimAkra 5dd26101f2 Added environment config for getting android keystore & admob IDs 2025-04-17 14:22:45 +03:00
EliteMasterEricandCameron Taylor 963e2ecd63 Edit RegistryMacro to automatically populate baseGameEntryIds list. 2025-04-15 20:25:18 -04:00
lemz1andCameron Taylor 14975212a9 macro
registry macro

Merge branch 'lemz1/registry-entry-data' into lemz1/registry-macro-stufff
2025-04-15 20:25:18 -04:00
944141292d Move part of the code from the old repository
Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
Co-Authored-By: mcagabe19 <egzozu.be.bas@gmail.com>
Co-Authored-By: Mihai Alexandru <77043862+majigsaw77@users.noreply.github.com>
Co-Authored-By: MoonDroid <81515012+moondroidcoder@users.noreply.github.com>
Co-Authored-By: luckydog7 <59097731+luckydog7@users.noreply.github.com>
2025-04-15 21:32:39 +03:00
Cameron Taylor 0a911ae607 remove a buncho unused imports 2025-02-17 19:25:33 -05:00
Cameron Taylor 472d41a893 close sys.io.Process stuff when we're done with them 2024-09-18 16:15:10 -04:00
EliteMasterEric 6d3b58cecd Fix some additional compiling issues. 2024-05-21 04:02:53 -04:00
EliteMasterEric bbccdfe3fb Fix issue when git status returns empty string. 2024-05-01 13:40:46 -04:00
EliteMasterEric 73baabfa82 Detect if your local Git has been modified and display it. 2024-05-01 13:29:54 -04:00
EliteMasterEric 776747c2d9 Git Commit macro now available in all builds. 2024-05-01 11:40:23 -04:00
Mike Welsh 91ab1cb520 Remove hmm dependency to fix HTML5 target
Remove the `hmm` haxelib dependency from the build.

Linking to `hmm` caused `utest` to be transitively linked, which
eventually caused OpenFL to act strangely and instatiate the
application twice on the HTML5 target.

`hmm` was only used for `HaxelibVersions.getLibraryVersions` macro
call. Instead, manually parse the `hmm.json` ourselves to avoid
the dependency. This fixes the HTML5 target.

`hmm` is still used for package management, but no longer linked
in to the build itself.
2024-02-15 00:23:24 -08:00
EliteMasterEric 59999aa8fd Fix an issue with release builds 2024-01-10 00:16:51 -05:00
Cameron Taylor 554c7bb31d null + macro things? 2023-12-07 14:29:45 -05:00
Cameron Taylor afcb677fac index on rewrite/bugfix/pause-and-results-fixes: 9b8fc872 song diff menu sort 2023-10-17 00:38:28 -04:00
279277b18c Unit Tests: Coverage Reporting and Github Actions Integration (#131)
* Initial test suite

* Fix some build warnings

* Implemented working unit tests with coverage

* Reduced some warnings

* Fix a mac-specific issue

* Add 2 additional unit test classes.

* Multiple new unit tests

* Some fixins

* Remove auto-generated file

* WIP on hiding ignored tests

* Added list of debug hotkeys

* Remove old website

* Remove empty file

* Add more unit tests

* Fix bug where arrows would nudge BF

* Fix bug where ctrl/alt would flash capsules

* Fixed bug where bf-old easter egg broke

* Remove duplicate lines

* More test-related stuff

* Some code cleanup

* Add mocking and a test assets folder

* More TESTS!

* Update Hmm...

* Update artist on Monster

* More minor fixes to individual functions

* 1.38% unit test coverage!

* Even more tests? :O

* More unit test work

* Rework migration for BaseRegistry

* gameover fix

* Fix an issue with Lime

* Fix issues with version parsing on data files

* 100 total unit tests!

* Added even MORE unit tests!

* Additional test tweaks :3

* Fixed tests on windows by updating libraries.

* A bunch of smaller syntax tweaks.

* New crash handler catches and logs critical errors!

* Chart editor now has null safety enabled.

* Null safety on all tests

* New Level data test

* Generate proper code coverage reports!

* Disable null safety on ChartEditorState for unit testing

* Update openfl to use latest fixes for crash reporting

* Added unit test to Github Workflow

* Updated unit tests to compile with null safety enabled by inlining assertions.

* Added coverage gutters as a recommended extension

* Impreovements to tests involving exceptions

* Disable a few incomplete tests.

* Add scripts for building unit coverage reports on linux

---------

Co-authored-by: Cameron Taylor <cameron.taylor.ninja@gmail.com>
2023-08-30 18:31:59 -04:00
EricandGitHub 21f44edf1d New crash handler + Additional null safety for ChartEditorState (#130)
* A bunch of smaller syntax tweaks.

* New crash handler catches and logs critical errors!

* Chart editor now has null safety enabled.

* Fix -W build issue.

* Actually update hmm.json to use the crash handling branch

* Fix issues causing crash handler to trigger
2023-08-28 15:03:29 -04:00
EliteMasterEric e68f9ca9a1 Validated formatting of 203 HX files. 2023-06-08 16:30:45 -04:00
EliteMasterEric 634258535c Applied new code style to source/ and assets/data/ 2023-01-22 22:25:45 -05:00
EliteMasterEric 6d7913786e Working events in chart editor 2023-01-22 19:55:30 -05:00
Eric Myllyoja 36a49affee Chart editor basic difficulty switching 2022-10-07 00:37:21 -04:00
Eric Myllyoja 51a7282d40 Merge remote-tracking branch 'origin/note-redux' into feature/chart-editor 2022-09-14 22:28:04 -04:00