Commit Graph
87 Commits
Author SHA1 Message Date
MaXFeeD b54533d562 Artifact structure 2025-06-01 21:02:07 +03:00
MaXFeeD f14c6ae2a5 Added --cli-test, derecurse config searching and hotfix dataclasses stuff 2025-06-01 12:13:40 +03:00
MaXFeeD 66882a57ac Reference template 2025-05-26 20:58:16 +03:00
MaXFeeD d28e2d17bb ProjectManager uses Config.obtain 2025-05-25 20:37:42 +03:00
MaXFeeD c835715585 MakeDataConfig registration by criteria (for now make.json and build.config) 2025-05-25 20:07:05 +03:00
MaXFeeD ec458f67da Restructured WorkspaceComposite and whole tsconfig due to ambiguity 2025-05-25 13:01:36 +03:00
MaXFeeD f23f56cb2a Introducing workspace toolchain config, now toolchain stores data in user directory
- Searching for make.json/build.config without `currentProject`, property now being ignored.
- You can provide project via `--project` property in shell, projects can be reselected on-fly like before via selectProject task.
- MakeDataConfig.current_project reserved for project name, possibly it will be reused to logging in future.
- Reserved feature for toolchain workspace. You will love it.
2025-05-22 20:13:31 +03:00
MaXFeeD daa4dc7cd5 Gradle comparable hotfix (probably semver comparison will be added) 2025-05-22 13:02:33 +03:00
MaXFeeD 27534a8294 Resolving existing gradle distributions, aka built-in wrapper 2025-05-21 20:47:43 +03:00
MaXFeeD 8103d1ec6b Improved locking for both tasks and gradle 2025-05-21 17:57:39 +03:00
MaXFeeD c2b3d6af8b Gradle wrapper basics 2025-05-21 00:17:10 +03:00
MaXFeeD 88ba68fb75 Import no longer required, add to workspace (to be changed later) 2025-05-18 20:56:25 +03:00
MaXFeeD 0f25762ad6 Separated toolchain config from temporary/component directories
- Obtaining get_script_directory, to implement various things like built-ins scripts for fakeso.
- Declarations, classpath, etc. can be overriden completely from toolchain built-in one to replace them in workspace.
2025-05-18 14:23:39 +03:00
MaXFeeD 4f945b5267 Using temporary/config directories as fallback for most operations 2025-05-18 11:49:23 +03:00
MaXFeeD e5fcb2fd10 Make sure circular imports never happen 2025-05-18 10:41:05 +03:00
MaXFeeD f473fc34b0 Implemented get_config/temporary_directory + typo fix 2025-05-18 10:40:26 +03:00
MaXFeeD 51c8c54a7d Implemented get_local_share_directory 2025-05-17 20:46:10 +03:00
MaXFeeD 0a34e91758 Ignoring precompiled scripts 2025-05-17 13:09:07 +03:00
MaXFeeD 026e14f2ea Resource directories, java & native from build.config 2025-05-17 11:00:18 +03:00
MaXFeeD c70ea9ec3f Added libraries to build config and default values for scripts 2025-05-15 00:00:44 +03:00
MaXFeeD 0d4034934c Built-in build.config support (added scripts only) 2025-05-14 20:52:56 +03:00
MaXFeeD 3fceeedd53 Rewritten native to to new build tools (difficult one), with multiconfiguration support 2025-05-14 20:23:11 +03:00
MaXFeeD 36128d0e0c Rewritten java to new build tools, defaults support 2025-05-13 21:08:15 +03:00
MaXFeeD 928932b683 Rewritten build tools (except java and native) to support MakeDataConfig 2025-05-13 20:26:27 +03:00
MaXFeeD a3dfa7050b Moved java, native + so and pack graphics to MakeDataConfig 2025-05-13 13:09:41 +03:00
MaXFeeD 4ae3a46b22 Moved MakeDataConfig with accesors to .language 2025-05-10 20:48:05 +03:00
MaXFeeD b564d54c57 Migrating scripts, resources and assets to MakeConfig 2025-05-10 20:44:13 +03:00
MaXFeeD d51cc104a2 Moved project selection to abstraction, at least for now 2025-05-10 17:00:08 +03:00
MaXFeeD e5dfe104cd Presenting AbstractMakeConfig
- Each config provides its own data, different project type support, etc. in one convinient format.
- MakeModData, MakePackData, MakeScriptData, MakeJavaData, MakeNativeData, MakeSharedObjectData, MakeResourceData, MakeAssetData.
2025-05-10 15:12:54 +03:00
MaXFeeD 4ec40c3b7b Added tsconfig-only mode, includes got ignored and not overwrites original tsconfig.json
- Using .toolchain.tsconfig.json otherwise in that case, please add it to your gitignore.
- Parsing includes data via configs, should be improved in future.
2025-05-09 20:45:53 +03:00
MaXFeeD 8edecc8c19 Migrating to FileConfig, ToolchainConfig is no longer exists, GLOBALS.is_project_available 2025-05-09 18:34:06 +03:00
MaXFeeD 4028b8b040 Replaced ToolchainConfig.get_paths with expand_paths 2025-05-09 17:42:02 +03:00
MaXFeeD 4cff548641 Using FileConfig instead of ToolchainConfig, unique_folder_name separation 2025-05-09 17:06:03 +03:00
MaXFeeD 8b50098638 Moved adb resolve to .device 2025-05-09 14:36:06 +03:00
MaXFeeD aaa10f10b4 Config.merge_config(*, exclusive_lists)
- Filtering obtained config lists, instead of wholesome get_filtered_list stuff.
2025-05-09 12:19:25 +03:00
MaXFeeD ecc22ac34a Config.obtain which requires type and optionally constructor
- Config.obtain_config based on Config.obtain without implacing, added Config.obtain_list.
- Config.get_value supports callable as fallback.
- Rewritten some of existing accessors to Config.obtain's.
2025-05-09 11:12:08 +03:00
MaXFeeD eeb6b6297b Rewritten things to Config and FileConfig, lists kept for now 2025-05-06 20:52:12 +03:00
MaXFeeD dee5614140 Added FileConfig.get_path_to_config 2025-05-06 19:08:42 +03:00
MaXFeeD 5a86d22a1c Added Config.obtain_config, FileConfig.read_from_file raises error by default if file is non-existing 2025-05-06 19:06:24 +03:00
MaXFeeD 76960205b6 Config.replace_value to directly change passed values types, FileConfig.get(_relative)_path 2025-05-05 20:59:07 +03:00
MaXFeeD df0988101f Rewritten BaseConfig to Config and FileConfig to replace cringe types 2025-04-28 21:01:12 +03:00
MaXFeeD 98cc1bc7ed Rewritten pinging, pushing and native installation progresses to new toolkit
- Replaced whole GCC download with new queue_download_request, universal way to cache and redownload broken stuff.
2025-04-23 20:35:17 +03:00
MaXFeeD 158f51e7b3 Properly rerun application in InteractiveSession if needed 2025-04-23 18:21:25 +03:00
MaXFeeD f4f52ae041 Added choose_hint to select prompts, component installation, better styling, Y/N multiselection 2025-04-23 14:47:21 +03:00
MaXFeeD 2f344e5bc9 Rewritten progresses in fetch to session, now they uses 1.0 dimensions instead of 100.0, updated tests 2025-04-22 20:55:30 +03:00
MaXFeeD aaf23791a2 Checkbox is essential part of any review, use it honorably
- Select became more abstract, everything is ruled via create_choice_content, selection highlight fixes.
- Checkboxes have all select parameters, but also: selected_variants instead of single one, allow_to_choose_nothing to ensure in selection and on_checked with preventable event.
2025-04-22 20:22:19 +03:00
MaXFeeD d29fd8c2a7 Added on_checked implementation for Selectable, interact_on_enter for components 2025-04-22 20:06:01 +03:00
MaXFeeD 313f00e5d3 Removed prompt tests (unnecessary) 2025-04-22 14:19:29 +03:00
MaXFeeD 235998fa58 Rewritten both startup and new project creation to reviews, removed tests
- Improved template handling, writing a reason why this template is broken right on selector screen with scheduled updates.
2025-04-22 14:08:42 +03:00
MaXFeeD 20f3cbe42e Increased available feedback handlers count, requiring them
- Feedback.on_pre_request as reused application pre_run, Select.on_focus and implemented preventable acceptor.
- Bells on decline for both inputs and selectors.
- Review.on_receive_feedback, preventable Review.on_request_feedback (can be used to skip anything with fallbacks).
- Review.require_feedback to request specific feedback controls.
2025-04-22 14:06:44 +03:00
MaXFeeD cf8dc1665f request/clear_application + InteractiveSession, displays components in global application + example
- InteractiveSession can be run inside of another session, application will exit only when all components are cleared.
2025-04-19 19:16:55 +03:00
MaXFeeD 8dbf6b3ffe Dynamic explanation in components 2025-04-19 10:32:43 +03:00
MaXFeeD e43183f5c0 Added intermediate to progress with unicode fallbacks and example 2025-04-18 19:02:32 +03:00
MaXFeeD 3278abfd20 Requesting review from valuable guests with example, fallbacks, hotfixes 2025-04-18 16:58:29 +03:00
MaXFeeD fb017da746 Select returns_what support, fallbacks, prompt standartization 2025-04-18 13:01:23 +03:00
MaXFeeD a030b42c25 Rewritten prompt functions to Feedback: Input, Confirm and Select, parts of future Review 2025-04-15 20:52:23 +03:00
MaXFeeD 50930ace98 Removed questionary tasks with questionary itself, renamed tests to match real tasks 2025-04-11 14:38:32 +03:00
MaXFeeD 3f11247c3c pretty_print_success/attention/failure/yield, universal unicode fallbacks 2025-04-11 14:18:17 +03:00
MaXFeeD e7681c6e4c Ability to hide progress component states, passing percentage to constructor 2025-04-11 14:10:42 +03:00
MaXFeeD ee2ba1cc63 startup_stepwise (testSetup3) 2025-04-10 20:50:00 +03:00
MaXFeeD 7f0edfdf79 new_project_stepwise (testCreate3) 2025-04-10 19:45:38 +03:00
MaXFeeD 07c0e95cb9 Passing key_bindings to interactables, select_prompt_internal(selected_variant), input_prompt, confirm_prompt 2025-04-10 19:45:19 +03:00
MaXFeeD b7df677df1 Transferring max available height and tag to debugger, typos 2025-04-10 15:55:49 +03:00
MaXFeeD 36e72f2b98 Added 4 test tasks with new_project_questionary and startup_questionary, questionary itself of course 2025-04-07 20:55:19 +03:00
MaXFeeD 82a5fcb858 Tinting secondhand information, like description or hints 2025-04-07 17:38:07 +03:00
MaXFeeD ec7a2735e3 Rewritten setup task, components temporary cannot be installed/updated completely 2025-04-07 17:15:23 +03:00
MaXFeeD 22f8e0c139 Removed new project title, displaying directory right to create button instead of input 2025-04-07 13:49:44 +03:00
MaXFeeD 791c738f35 Rewritten new project task, added value getters for components, always_indent, project selection display fixes 2025-04-07 12:39:02 +03:00
MaXFeeD 0b69d89de0 Unwrapped shell from pushing, device connection, native installation (removing incapsulation) 2025-04-06 20:53:15 +03:00
MaXFeeD 87ecd871d7 Rewritten interaction to prompt-toolkit, things that uses shell directly (pushing, project creation and component installation) needs to be updated
- Project uses pretty_print widely to always write above interactable things (and support styling without colorama, so yeah, colorama removed too).
- Rewritten project selection, as a whole selection too, added text transformer to prompts.
- Added style and tags (to mark things/identifying stuff) to components directly, moved interactables to shell.
2025-04-06 20:28:49 +03:00
MaXFeeD 1966ee02f7 run_in_terminal replaced with print_formatted_text, outputs same with built-in function 2025-04-06 14:54:19 +03:00
MaXFeeD 1e5db34267 (run_)in_terminal tests, now migration begins 2025-04-06 12:56:47 +03:00
MaXFeeD ff4e8d4feb Separating style from application 2025-04-06 12:14:40 +03:00
MaXFeeD 53409336ec Defining progress text or update it later with percentage
- Styling for checkboxes, editables, progresses and more, dim cannot be used actually, so use bright colors instead everywhere.
2025-04-06 11:24:09 +03:00
MaXFeeD 3a1a6ed26a Rewritten Interactable, Selectable, Editable, Progress and Debugger to prompt-toolkit
- Everything has pretty similiar behavior to our custom shell, same visuals, same interactions.
- All components except Debugger can implement interactions out-of-box, focusable is optional, styling highly customizable.
- Combined with windows to minimum containerify things when implementing application logic.
2025-04-06 02:24:54 +03:00
MaXFeeD f9eeeaf1c4 AbstractInteractable based on FormattedTextControl + Window
- Replaced Label with AbstractInteractable in tests, added focusable for example.
2025-04-03 20:55:08 +03:00
MaXFeeD 39d8550af7 Added Button, CheckboxList, HorizontalLine and ProgressBar for tests 2025-04-03 18:58:43 +03:00
MaXFeeD f34c3ba727 prompt_toolkit tests 2025-04-03 18:14:23 +03:00
MaXFeeD 49f4f6032c Workspace task asserts 2025-04-03 17:32:06 +03:00
MaXFeeD 39b0857de4 Changed maintainers to actual information 2025-04-02 10:15:15 +03:00
MaXFeeD a5a1463adf Added prompt-toolkit, for now targeting slightly dropped 3.7 version (support ended in 2023, so libraries started dropping it, newest version works on 3.8) 2025-04-02 02:02:47 +03:00
MaXFeeD 8eb25ff1d2 PEP-561 2025-04-02 02:02:38 +03:00
MaXFeeD e14a41fcf7 Removed update components function 2025-03-31 20:45:49 +03:00
MaXFeeD 4e9571d5d1 Moving build files to project root, removed update function 2025-03-31 02:00:58 +03:00
MaXFeeD bcae7df76d Added contributing guide 2025-03-31 01:51:56 +03:00
MaXFeeD 43d901c90e Moving __main__ functions to cli for being able to do few sequences in one launch 2025-03-31 01:51:34 +03:00
MaXFeeD 10292c36ed Initial commit 2025-03-30 20:57:45 +03:00