Commit Graph
100 Commits
Author SHA1 Message Date
isanae 8015e026c1 allow a path for git command 2020-05-26 13:16:29 -04:00
isanae 098e0a95c6 handle bad globs 2020-05-26 13:15:57 -04:00
isanae ca881a2a19 handle non existing prefix 2020-05-26 13:09:32 -04:00
isanae 2c4464774d missing 7z.dll 2020-05-26 13:09:10 -04:00
isanae 27774281d5 incorrect INI order
added enabled
2020-05-25 06:56:07 -04:00
isanae 6c7d6648fe bumped to 4.0 2020-05-25 05:14:56 -04:00
isanae 514706452c disallow -d where mob.exe is 2020-05-25 05:09:42 -04:00
isanae 92596f7bbc support globs for task names everywhere
added -a for list
2020-05-25 05:02:35 -04:00
isanae f423be9982 renamed options to task
added enabled option for tasks so they can just all be built in the same way
2020-05-25 04:14:02 -04:00
isanae d03bb1f783 ignore errors 2020-05-25 03:51:10 -04:00
isanae 17b6aa2fb7 restore the original console font if it changed 2020-05-25 03:50:37 -04:00
isanae b215d980d1 whitespace 2020-05-25 03:27:40 -04:00
isanae 035d33cb6b Merge pull request #25 from Holt59/glob-matching-for-tasks
Allow usage of glob-like string for task names.
2020-05-25 03:23:37 -04:00
isanae f3fd87d889 updated for changes on how INIs are found
updated options
2020-05-25 03:17:44 -04:00
isanae 66b70810e4 be more careful when looking the root directory from the build directory, don't just blindly look up, check for actual names 2020-05-25 03:17:14 -04:00
isanae 099a3368d3 bootstrap.bat now forwards to the powershell script 2020-05-25 02:53:08 -04:00
isanae d8bffc5dfd Merge pull request #6 from AnyOldName3/ps-bootstrap
Add bootstrap.ps1
2020-05-25 02:51:18 -04:00
isanae 255d818f69 Merge pull request #28 from isanae/cleaning-overhaul
Cleaning overhaul
2020-05-25 02:45:14 -04:00
isanae ff84621fe7 fixed cmake::result(), output_ isn't changed any more
fixed gtest arch not being used for msbuild
2020-05-25 02:37:20 -04:00
isanae ac3fa98e51 tasks will now delete their own git folders
git will check for uncommitted changes before deleting
added --ignore-uncommitted-changes
2020-05-25 02:19:39 -04:00
isanae 863d8be99e tasks now handle --reextract themselves 2020-05-25 01:43:16 -04:00
isanae f8b4162742 tasks are now in charge of cleaning downloads themselves
added --clean-task, --fetch-task, --build-task, removed --fetch and --build
2020-05-25 01:24:56 -04:00
isanae 032574c1ec added clean ops to cmake and msbuild
changed do_clean_for_rebuild() to do_clean() with flags for what to clean
added --no-build and --no-fetch
added stdout filter in msbuild to catch errors
2020-05-25 00:31:49 -04:00
isanae 7bdce19758 renamed cmake::projects() to targets() because it could be "clean"
added --reconfigure, only used by MO for now, will refactor cleaning stuff
2020-05-22 15:07:42 -04:00
isanae 3da9e3b434 fixed addsubmodule trying to delete modorganizer_super 2020-05-22 14:29:05 -04:00
isanae ef104d17cc handle MOBINI after cwd
added origin of ini for inis command
2020-05-22 13:58:47 -04:00
isanae 94bd99f38d added git_url_prefix 2020-05-21 06:54:48 -04:00
isanae 616fa82973 added special _override task for command line options
added reversed --pull and --no-revert-ts options
2020-05-21 06:09:02 -04:00
isanae 8d191b8889 matched versions to umbrella 2020-05-21 05:46:03 -04:00
isanae 96c51ea3c8 fixed task names too long 2020-05-21 05:37:03 -04:00
isanae b3b930cd45 made usvfs not shallow 2020-05-21 05:31:41 -04:00
isanae a2f9e2f6b8 added git_shallow 2020-05-21 05:29:40 -04:00
isanae 5da3c175b8 rearranged some dependencies 2020-05-21 05:20:46 -04:00
isanae 083ed82e84 new instrumentable class
fixed replace_all() when replacement has a character being replaced
submodule adder thread
2020-05-21 04:45:49 -04:00
isanae 56822e8f0e don't wait for a broken pipe when a process has finished, stop as soon as the pipe is empty 2020-05-21 01:57:32 -04:00
isanae aab8c21a41 added --revert-ts 2020-05-20 21:27:27 -04:00
isanae 6b1fff73a5 implemented rebuild for MO 2020-05-20 08:38:47 -04:00
isanae 8c6ac17984 instrumentation 2020-05-20 05:41:19 -04:00
isanae 47c4216da5 removed logging of guessed process path, not very useful but very slow
removed exists() check that was actually slower
cow for env
2020-05-19 22:10:48 -04:00
isanae fa8b62be9d optimizations:
- less string copies
 - encoding conversions use a basic_string directly instead of buffers and guess an initial buffer size instead of always calling twice
 - don't get environment variables all the time
 - cache dry as a bool
2020-05-19 20:19:56 -04:00
isanae 4c85474f7c moved all git processes into the git tool
disabled interactions for git
2020-05-19 16:54:10 -04:00
isanae 3463234ebd fixed terminate handler never being called
ripped error message from uibase
2020-05-19 16:21:52 -04:00
isanae 1f3dc93b5e look for root directory based on exe path, not cwd
simplified inis: look for mob.ini in root and cwd, add MOBINI and --ini
added inis command
options command now shows all the options after loading the inis
2020-05-19 15:36:30 -04:00
isanae 4d41d8b85e renamed "remote_username" to "remote_org"
bumped to 3.0
readme
2020-05-17 22:02:30 -04:00
isanae 9107ea45cb added git options in ini
moved all the code from git_command to the git tool
changed task_conf_holder to make the git tool since it's getting pretty complex
fixed task name in options not supporting super
fixed pipes behaving weirdly when copying process objects
2020-05-17 21:23:43 -04:00
isanae 601fae8689 fixed crashes because smatch was referring to a dead string
fixed main help showing instead of command help
cmake command
2020-05-17 19:21:26 -04:00
isanae 80194fe611 log command line 2020-05-17 18:29:42 -04:00
isanae 0e6c55230d log likely binary path when starting process
git command
2020-05-17 18:26:52 -04:00
isanae 12f0368db5 Merge pull request #3 from isanae/conf
Configuration changes
2020-05-17 16:25:55 -04:00
isanae f2806d10dd added --no-pull
new task_conf() to avoid fiddling with names everywhere
changed syntax from tool/section to tool:section, easier to parse
2020-05-17 16:22:04 -04:00
isanae 02135a76d5 options per task 2020-05-17 15:50:15 -04:00
isanae 1b75f88334 multiple inis 2020-05-17 14:56:47 -04:00
isanae 376a3cb574 simplified options:
- stopped returning references, that was just to avoid copying the string before using regex_match(), which happens like twice
 - everything in one map
 - assume the ini contains all the options, don't duplicate them within mob
2020-05-17 14:14:29 -04:00
isanae bcf1c64639 merged tools:: structures into the actual tools
renamed stylesheets versions
2020-05-17 12:47:44 -04:00
isanae 4ed91b4a70 bumped to 2.0 2020-05-16 18:07:27 -04:00
isanae df49f4e9a5 kill msbuild 2020-05-16 18:06:09 -04:00
isanae 5da8642d22 renamed --clean to --new to avoid confusion 2020-05-16 18:03:07 -04:00
isanae 0700140015 removed empty command, must specify build now 2020-05-16 18:00:31 -04:00
isanae 2246d52197 release command 2020-05-16 17:55:39 -04:00
isanae 17d9a19b18 added commands.h/cpp, moved stuff from main
use output mutex for stack trace too
tasks kept trying to run after being interrupted
2020-05-16 13:09:16 -04:00
isanae e6f580dc9f fixed output when redirected 2020-05-14 19:55:43 -04:00
isanae f851f4577b convert sip-module-script.py to acp
dump log lines before continuing even if a process returned 0
2020-05-14 19:42:17 -04:00
isanae 39a22d2650 stack trace dump
removed unhandled exception catches
2020-05-14 16:07:28 -04:00
isanae 8b8b46dbfe Merge pull request #1 from isanae/unicode
Unicode
2020-05-13 16:46:25 -04:00
isanae 69d6a979f6 put back prebuilts 2020-05-13 16:24:37 -04:00
isanae f78f792c5a fixed pip install not using utf8
really fixed patcher and manual patches
removed the custom props file for msbuild: not necessary since unicode isn't supported for the destination directory, and it causes file locking issues
2020-05-13 16:07:52 -04:00
isanae 39db5a4416 fixed patcher not working for manual patches 2020-05-13 15:39:48 -04:00
isanae 5150513658 copy the exe from the batch file, not the project 2020-05-13 15:09:03 -04:00
isanae 91379059f4 utf8 python for sip, not enough, but it's a start 2020-05-13 14:54:46 -04:00
isanae a4da8da6d7 fixed bad regex checks for optional groups 2020-05-13 13:32:52 -04:00
isanae 0f28408e8d msbuilds now writes a custom props file to disable 4566 2020-05-13 12:37:16 -04:00
isanae 953df021c8 added /wd4566 to cmake and openssl, warning about special characters in __FILE__
changed gtest and fmt to use msbuild
process uses a job object to terminate all the jom processes
added nasm tool
2020-05-13 11:51:48 -04:00
isanae 237a07b7af fixed __FILE__ for unicode
fixed utf8 for msbuild and cmake
process now uses encoded_buffer
unicode command line
fixed paths from command line and ini being interpreted as ACP
2020-05-12 14:33:46 -04:00
isanae dbda7c5936 switched to unicode
changed zlib to use vs instead of jom because it doesn't handle non-ascii characters
fixed async_pipe corrupting the stack when io was pending
vcvars uses cmd /U to dump `set` to a utf16 file, or else PATH has trouble with non-ascii characters
fixed no colors on terminal
2020-05-12 12:00:02 -04:00
isanae 9f98d8f614 cleaned up properties 2020-05-11 07:53:20 -04:00
isanae 80bbd78012 switched logs to use fmt
refactored read_pipes()
2020-05-11 07:44:37 -04:00
isanae c41941b948 added fmt
added u8cout and u8cerr so strings can be converted to utf16 because of _O_U16TEXT
2020-05-11 05:25:37 -04:00
isanae 96e079acec top level catch
fixed C: and D: using the cwd instead of just the root
fixed program files being resolved too late
2020-05-07 19:36:37 -04:00
isanae 9caa55270f fixed delayed variable expansion 2020-05-07 19:18:52 -04:00
isanae 76c5ae27a0 fixed files being copied too late 2020-05-07 18:52:02 -04:00
isanae 3519b65d9a added build loop for nmm
fixed sevenz jom now allowing failure in build loop
fixed pyqt prebuilt not copying dlls
2020-05-07 18:19:25 -04:00
isanae a2862939e1 log file 2020-05-07 17:27:29 -04:00
isanae 1565410f24 prebuilt usvfs was missing sources
upgrade pip to avoid warnings
copy openssl dlls to prebuilt python so pip can connect through https
pyqt needs to copy qt dlls in prebuilt too
2020-05-07 15:59:29 -04:00
isanae 4d69403cf2 prebuilt usvfs
fixed url::filename() not handling much
2020-05-07 15:08:25 -04:00
isanae ce7c33db77 prebuilt python
don't clean prebuilt
2020-05-07 14:06:37 -04:00
isanae 9d84303624 prebuilt openssl, pyqt 2020-05-07 13:55:40 -04:00
isanae f4d00a8018 lz4 prebuilt 2020-05-07 12:12:40 -04:00
isanae eaa947e2c6 moved patches to prebuilt/ or sources/
fixed a few version() returning references to temporaries
fixed copy pasted tool names
2020-05-07 11:16:29 -04:00
isanae 4b52a54739 moved versions to individual tasks
merged the various versions and paths into structs per tool
2020-05-07 11:08:33 -04:00
isanae b4654ee476 put back prebuilts, broken because of patches 2020-05-07 08:30:18 -04:00
isanae 71f6b097c5 fixed ? in parallel task names
added GTEST_ROOT to cmake
2020-05-07 07:55:25 -04:00
isanae 0a45d0f61e fixed parallel tasks running alonside all the previous tasks
added a rebuild loop for 7z, fails once in a while
2020-05-06 15:58:49 -04:00
isanae 6d0de25096 parallel tasks
sets are stupid, order is important
put git submodule in a mutex because of parallel tasks
2020-05-06 15:00:36 -04:00
isanae 79ac3e6d1d explorer++ 2020-05-06 14:14:32 -04:00
isanae 57b21c4a16 added boost_di
--list
added missing pythoncore.zip and .pyd files
finished all projects
2020-05-06 14:07:45 -04:00
isanae 7bd8533dd0 added most modorganizer projects
silenced cmake warnings about unused variables
added 'super' task name for everything in modorganizer_super
pyqt didn't copy two dlls
clone first, then add submodules so it can be done in parallel, adding submodules needs to lock
missing boost libraries
process: reduced timeouts, fixed pipes not being completely read when the process terminates
2020-05-06 13:39:47 -04:00
isanae 12b3eff2d5 cmake_common and uibase
fixed process_runner working on a copy of the process
fixed lz4 not copying to bin/
missing shared thread library in boost
2020-05-06 12:29:38 -04:00
isanae 932495f36d fixed a few leaking exceptions
force filenames for stylesheets, some are just version numbers
changed curl downloader to use CreateFile(), was getting access denied errors
fixed curl sometimes getting stuck
sip has to start downloading after python because it uses python.exe
fixed op::check() to be case insensitive
better message when important variables are missing
bootstrap: uses vcvars, multi process
2020-05-06 07:43:15 -04:00
isanae f30fe785d5 added ini 2020-05-06 05:52:04 -04:00
isanae aabc15f450 licenses 2020-05-06 05:34:00 -04:00