Commit Graph
100 Commits
Author SHA1 Message Date
isanae f19bf1327d Merge pull request #82 from isanae/qt-translations
Builtin Qt translations
2021-02-24 05:51:48 -05:00
isanae ee92185124 error handling for missing translations directory
copy builtin qt translations
2021-02-24 04:17:23 -05:00
isanae 4373b67e2f Merge pull request #80 from isanae/master
Fix log files not being created
2021-02-07 12:26:42 -05:00
isanae 9df82c84be fixed log files not being created 2021-02-07 12:26:02 -05:00
isanae e5978b70af Merge pull request #78 from isanae/master
release official fixes
2021-02-06 21:04:41 -05:00
isanae 8d95ee0f22 exit on assertions
print non-existing task name with `build`
`release official`:
 - don't fail the clean dir check for the log or ini files
 - close the log file before deleting to avoid a file in use error
 - use ask_yes_no(), that's what it's for
2021-02-06 17:11:22 -05:00
isanae 52e3173974 Merge pull request #77 from isanae/master
Add BOOST_PATH to the environment for usvfs
2021-01-30 12:30:29 -05:00
isanae 7c6de87310 add BOOST_PATH to the environment for usvfs 2021-01-30 09:14:23 -05:00
isanae 4af36083cc Merge pull request #74 from isanae/master
Added trosski's morrowind style
2020-12-20 23:13:32 -05:00
isanae f407b41f6a added trosski's morrowind style
had to change a few things because of the lack of 'v' in front of version
repo->user, name->repo
2020-12-20 22:58:32 -05:00
isanae 59e4dc1e4e Merge pull request #73 from isanae/master
Resolve cwd before creating directory
2020-12-13 04:45:24 -05:00
isanae fae4b61534 resolve cwd before creating directory 2020-12-13 04:44:49 -05:00
isanae 1d91047006 Merge pull request #72 from isanae/master
Suppress cmake deprecation warnings for zlib and gtest
2020-12-08 20:44:49 -05:00
isanae 4e38acc72b suppress cmake deprecation warnings for zlib and gtest 2020-12-08 20:43:46 -05:00
isanae 42ea4336e3 Merge pull request #71 from isanae/master
Don't log private stuff
2020-12-04 04:52:20 -05:00
isanae 9386f84bd9 don't log private stuff 2020-12-04 04:51:44 -05:00
isanae 09e313315b Merge pull request #70 from isanae/master
Interrupting tasks and extracting sip
2020-12-04 04:43:16 -05:00
isanae b6236c500b stop running tasks when interrupted
sip: don't skip extraction because the download exists
2020-12-04 04:42:20 -05:00
isanae 684c6452df Merge pull request #69 from isanae/master
Spaces in paths
2020-12-04 04:24:25 -05:00
isanae 826ed245e3 quotes for spaces in paths for variable definitions in cmake 2020-12-04 04:21:01 -05:00
isanae bf4147b23e Merge pull request #68 from isanae/refactor
Refactor
2020-12-03 17:53:26 -05:00
isanae 3c0b590d8b comments, some refactoring in translations 2020-12-03 17:45:36 -05:00
isanae 9516b8d9dc some refactoring for sip, wasn't cleaning/downloading in the proper places
comments, more comments, where do they all come from, there's no end to them
2020-12-03 17:45:36 -05:00
isanae f7289949b9 refactored loops to call build_loop()
fixed bypassing tasks logging with [?]
fixed sip using PyQt5.zip instead of .sip, doesn't change anything though, the module name in that header was unused
python: don't copy openssl dlls, the openssl project already does it
python: don't upgrade the solution, not needed
python: don't need a bypass file for the zip file, just check if the zip exists
2020-12-03 17:45:36 -05:00
isanae 9cbcfcf38e git_wrap::delete_directory(): don't check stuff if it's not actually controlled by git
simplified the modorganizer task, comments
use a map for per-thread context objects
fix parallel_tasks not actually creating context objects for tasks that it runs
lz4: stop upgrading the solution, not necessary
2020-12-03 17:45:36 -05:00
isanae 2a420c406b fixed back checks of find() 2020-12-03 17:45:36 -05:00
isanae 8aba320723 commenting tasks
removing private static functions, useless
2020-12-03 17:45:36 -05:00
isanae 779192e84a never ending refactoring and comments 2020-12-03 17:45:36 -05:00
isanae 8272db8233 made threaded_run() private, everything should use parallel()
comments
2020-12-03 17:45:35 -05:00
isanae 01797282c4 made super an alias
removed alternate name modorganizer-Installer so it's not considered a super task
2020-12-03 17:45:35 -05:00
isanae c89c5268e1 merged 'Revert "Moving things around"' pr 2020-12-03 17:45:35 -05:00
isanae 5e64f08418 moved glob_match into task, was only used there
some optimizations for matching task names, regex is so slow
fixed deadlock in git_submodule_adder, removing instrumentation also removed a critical scope for the lock object
simplified parallel_tasks, doesn't need all that stuff
moved translations to its own step for now, parallel_tasks doesn't support having both super and non-super tasks
moved add_tasks() inside try/catch, can bail out
2020-12-03 17:45:35 -05:00
isanae c991239088 merged task_conf_holder into conf_task, redundant
moved make_git() and make_git_url() into task for now
2020-12-03 17:45:35 -05:00
isanae 50d5c649f8 refactored task_manager, comments
moved glob matching to task::name_matches()
2020-12-03 17:45:35 -05:00
isanae e49735d4ff task_manager 2020-12-03 17:45:35 -05:00
isanae 1872fc90f6 renamed to g_top_level_tasks
removed is_super_task(), not needed
2020-12-03 17:45:34 -05:00
isanae 6797af26c7 removed super flag for parallel_tasks, uses the first child 2020-12-03 17:45:34 -05:00
isanae 6f40196f3f rebase 2020-12-03 17:45:34 -05:00
isanae a8561e57bc removed instrumentation 2020-12-03 17:45:34 -05:00
isanae 9ca0fd52a2 comments, some refactoring in patcher and msbuild 2020-12-03 17:45:34 -05:00
isanae 51a7852aba comments
refactored do_download() into use_existing() and try_download()
2020-12-03 17:45:34 -05:00
isanae 7d692430be simplified basic_process_runner yet again
doesn't need to copy the process at all
changed execute_and_join() to take the process instead of a two step with set_process
more comments
2020-12-03 17:45:34 -05:00
isanae d6db197a6d split python tool, comments
simplified process_runner
renamed git_tool to git_wrap, it's just too confusing to have git that's a tool and a git_tool that's not a tool
2020-12-03 17:45:33 -05:00
isanae 36fbf69a10 git <-> git_tool 2020-12-03 17:45:33 -05:00
isanae 0d69bb4b72 fixed set_remote() trying to get the git file after renaming
fixed basic_process_runner copying the process
fixed nulls in log, string was moved
don't log process' stderr twice
SO with bad format strings
can't check path prefix for master, doesn't exist yet
2020-12-03 17:45:33 -05:00
isanae 8f2047b055 refactored git into git and git_tool 2020-12-03 17:45:33 -05:00
isanae 2e8d6ce146 moved all git process creation to free functions 2020-12-03 17:45:33 -05:00
isanae 33f9cca263 split cmake.h, msbuild.h 2020-12-03 17:45:33 -05:00
isanae abf8bb94cc split git.h 2020-12-03 17:45:33 -05:00
isanae d94ce21204 removed conf::dry
refactor, comments
2020-12-03 17:45:33 -05:00
isanae f2e81f5335 removed use_prebuilt(), not useful
fixed inis found in both env and cwd being processed twice
refactored conf, now using two maps
2020-12-03 17:45:32 -05:00
isanae e9acdb3c0b paths refactoring, comments 2020-12-03 17:45:32 -05:00
isanae 54c4fb313d split paths 2020-12-03 17:45:32 -05:00
isanae ca1cd358bb ini parsing doesn't set options anymore, it returns a structure
moved a lot of stuff back to conf, didn't belong in ini
2020-12-03 17:45:32 -05:00
isanae aa8efaa515 split ini 2020-12-03 17:45:32 -05:00
isanae f54b879698 conf_task 2020-12-03 17:45:32 -05:00
isanae 1a5fc17678 conf_tool 2020-12-03 17:45:32 -05:00
isanae 72000ac691 renamed conf::paths() to conf::path()
conf_version
2020-12-03 17:45:31 -05:00
isanae 26b6e2aa78 moved more global stuff to conf_global 2020-12-03 17:45:31 -05:00
isanae fb9cca0d1a moved log levels and dry to conf_global 2020-12-03 17:45:31 -05:00
isanae de4ad45f5b removed path_by_name()
added missing vs and qt paths
2020-12-03 17:45:31 -05:00
isanae 616524422d conf_paths 2020-12-03 17:45:31 -05:00
isanae e0c455fc1d added conf_prebuilt and conf_transifex
replaced a few std::string by std::string_view, old habits die hard
2020-12-03 17:44:53 -05:00
isanae 05d46a4d73 refactored context, comments 2020-12-03 17:44:53 -05:00
isanae fd627f7a05 removed remnants of old global logging 2020-12-03 17:44:53 -05:00
isanae 7b28df2939 fix git_submodule_adder not catching bailed exceptions 2020-12-03 17:44:53 -05:00
isanae d87b662119 fixed process, the pipes can be empty now if they're not required
comments
2020-12-03 17:44:53 -05:00
isanae dbbee9a1d9 comments
moved unsafe flag check to check()
2020-12-03 17:44:52 -05:00
isanae b9d4c9e4ab moved stuff around 2020-12-03 17:44:52 -05:00
isanae 5b67d037d6 refactored do_run(), comments 2020-12-03 17:44:52 -05:00
isanae 7141859cb2 removed stdin_handle, not necessary
documentation
2020-12-03 17:44:52 -05:00
isanae 2f4cd56276 moved tasks to tasks namespace
added python tool
2020-12-03 17:44:52 -05:00
isanae faaeacedb1 moved download to sip tool 2020-12-03 17:44:52 -05:00
isanae 98682a1da3 renamed pip_install tool to just pip, move all the pip stuff to it
filter out annoying ensurepip messages
2020-12-03 17:44:52 -05:00
isanae f02815461c moving process creation to tools: added archiver and vswhere 2020-12-03 17:44:52 -05:00
isanae b54652a617 stopped including process.h in tools.h, it's included everywhere
replaced by unique_ptr, added get_process() and set_process()
2020-12-03 17:44:51 -05:00
isanae 083a4fb8d8 moved a bunch of member variables into structs 2020-12-03 17:44:51 -05:00
isanae 6c3baddf9b added git branch 2020-12-03 17:44:51 -05:00
isanae 3b99b50d76 renamed stdout_/stdin_ to pipe_ 2020-12-03 17:44:51 -05:00
isanae 61204778bf don't close the stdin pipe automatically, make the caller call close()
documentation
2020-12-03 17:44:51 -05:00
isanae 21da94a871 stopped duplicating the pipe handle, it's not necessary
no need to inherit the pipe handle itself, just the write end of it
refactoring, documentation
2020-12-03 17:44:51 -05:00
isanae 131c82b5c1 encoded_buffer documentation
split async_pipe into stdout and stdin, there's nothing in common
2020-12-03 17:44:51 -05:00
isanae 72a31c1842 moved encoded_buffer to string.h 2020-12-03 17:44:51 -05:00
isanae ef332f0330 split pipe 2020-12-03 17:44:50 -05:00
isanae 5780cce87c Merge pull request #66 from ModOrganizer2/revert-54-master
Revert "Moving things around"
2020-11-27 07:47:34 -05:00
isanae 986f9b7ba4 Revert "Moving things around" 2020-11-27 07:38:50 -05:00
isanae e77bfe8e63 Merge pull request #64 from Holt59/fix-build-for-nugets
Add flags for plugins using nuget package
2020-11-27 06:14:24 -05:00
isanae 52807e7912 Merge pull request #65 from Holt59/add-installer-wizard
Add installer_wizard task.
2020-11-27 06:14:15 -05:00
isanae bedd4e79c0 Update readme.md 2020-11-19 19:31:13 -05:00
isanae fa39aca410 Update readme.md 2020-11-19 19:30:32 -05:00
isanae 695aac556c Merge pull request #63 from isanae/master
Missing PRs from search
2020-11-16 14:51:29 -05:00
isanae a5ea7d74d5 added per_page for pr search, was limited to 30 2020-11-16 14:50:27 -05:00
isanae aaca69d52b Merge pull request #54 from Qudix/master
Moving things around
2020-11-14 06:55:10 -05:00
isanae b235120c0d Merge pull request #62 from isanae/pr
pr command
2020-11-13 23:23:57 -05:00
isanae 1221556de7 removed debug files stuff
added github_key to ini
2020-11-13 22:09:14 -05:00
isanae 7614e3a17b pr: documentation, revert 2020-11-13 21:39:58 -05:00
isanae 9f045f7329 refactored 2020-11-13 21:30:44 -05:00
isanae 2a4f4bd8fa finished implementing pr 2020-11-13 21:23:10 -05:00
isanae 362af83c86 pr: removed all the crap, a pr can be fetched with just pull/pr/head 2020-11-13 19:24:23 -05:00
isanae cd811419cb added git fetch and checkout
fixed has_remote trying to fetch stuff
pr: implemented remote method
2020-11-13 18:32:28 -05:00