Commit Graph
36 Commits
Author SHA1 Message Date
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 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 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 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 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 4d69403cf2 prebuilt usvfs
fixed url::filename() not handling much
2020-05-07 15:08:25 -04:00
isanae f4d00a8018 lz4 prebuilt 2020-05-07 12:12:40 -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 facf4c32f3 rework of conf, ini, vswhere
things are broken
2020-05-05 07:41:09 -04:00
isanae 8db8946698 bypass_file
fixed bad nul handle for stdin, removed workaround for cmake
revisited pyqt
fixed async_pipe busting the stack
2020-05-04 08:02:43 -04:00
isanae adb97bac04 fixed broken stdin in processes
more logging
2020-05-04 03:27:22 -04:00
isanae 748b0e4838 fixed timestamp not being padded
pass context to processes
name from binary
boost clean
2020-05-04 03:02:33 -04:00
isanae 0d6155e608 boost logs bootstrap.log on error
refactored process::join()
fixed bail_out() not actually bailing out
2020-05-04 02:34:27 -04:00
isanae 984dfb3491 decoupled log level and reason 2020-05-04 01:13:11 -04:00
isanae c84a0a7743 terminate_on_interrupt
process output filter
logging for jom
2020-05-03 07:24:07 -04:00
isanae 5f181e0221 log stdout and stderr
using context everywhere
logging: task, extractor, process
timestamp
console colors
2020-05-03 05:42:56 -04:00
isanae 41bf31357d async_pipe, not used yet
added context for logging
curl logging
2020-05-03 03:32:40 -04:00
isanae 748735d1e8 op::optional for op::delete
--redownload, --redecompress, --clean, --dry and --verbose
implemented clean for 7z
2020-05-02 04:03:20 -04:00
isanae a5d0a89dee changed namespace to mob 2020-05-02 03:12:34 -04:00