Compare commits

..
15 Commits
Author SHA1 Message Date
Brian Munro d869d99785 Version bump. 2017-01-13 09:15:43 +02:00
Brian Munro bfeda873c4 Merge remote-tracking branch 'ZackHaber-upstream/new_vfs_library' into new_vfs_library 2017-01-13 08:16:23 +02:00
Brian Munro c9766b6e1a Fixes the error code 5/6 issues 2017-01-11 15:47:09 +02:00
Brian Munro 03328e9f55 Update selfupdater.cpp
Reverted Tabs to spaces
2017-01-03 19:36:15 +02:00
Brian Munro c48d1c36b7 Update mainwindow.ui
Reverted Tabs to spaces
2017-01-03 19:34:56 +02:00
ZachHaber 866a004438 Fixed pluginListPath to allow spaces
lootcli was failing on FO4 b/c it was passing in a space.
2016-12-28 03:37:14 -06:00
Zanoth 8b8ddc8163 Got rid of some unnecesarry code
Removed some parameters that were being sent to lootcli.exe that aren't
relevant anymore, commented out the report viewing, and set the
masterlist update boolean to switch only when there was no error.
2016-12-27 22:18:49 -06:00
ZachHaber 5dc1ee3da6 Adding *.bak to .gitignore
*.bak is winmerge's backup files, no point in adding that to git by
accident again.
2016-12-27 22:14:06 -06:00
ZachHaber dd653c3752 Remove excess file
Shouldn't have been committed.
2016-12-27 16:55:55 -06:00
ZachHaber a8556eacb6 Added preliminary support for changes to lootcli project
Hopefully re-enabled lootcli report. Added new argument for lootcli.exe:
pluginListPath, so it can determine what to read and thus change.
Need to figure out how to determine the current language in a format
that's easily understood.
2016-12-27 16:41:12 -06:00
ZachHaber f0810bfa43 Merge pull request #1 from LePresidente/new_vfs_library
Updating from LePresidente's changes
2016-12-27 14:53:03 -06:00
Brian Munro 7432f7870b Reverted Change
Reverted silly edit.
2016-12-21 13:11:23 +02:00
Brian Munro 71f9c4f69d Update organizercore.cpp
Shoud be an "or" query instead of "and",
2016-12-21 11:46:10 +02:00
TanninOne a3671a5557 Merge pull request #1031 from LePresidente/new_vfs_library
New vfs library
2016-12-12 19:58:29 +01:00
TanninOne 5ae681e6d5 Merge pull request #1023 from LePresidente/new_vfs_library
Updated icu libs to 54 in release build.
2016-11-30 20:53:52 +01:00
6 changed files with 19 additions and 18 deletions
+1
View File
@@ -4,6 +4,7 @@ src/moc_*.cpp
src/ui_*.h
src/*.qrc.depends
src/Modorganizer.*
src/*.bak
CMakeLists.txt.user
edit
stderr.log
+9 -9
View File
@@ -4229,6 +4229,9 @@ void MainWindow::on_bossButton_clicked()
std::string errorMessages;
m_OrganizerCore.currentProfile()->writeModlistNow();
//Create a backup of the load orders w/ LOOT in name
//to make sure that any sorting is easily undo-able.
//Need to figure out how I want to do that.
bool success = false;
@@ -4241,19 +4244,15 @@ void MainWindow::on_bossButton_clicked()
dialog.show();
QString outPath = QDir::temp().absoluteFilePath("lootreport.json");
QStringList parameters;
parameters << "--unattended"
<< "--stdout"
<< "--noreport"
<< "--game" << m_OrganizerCore.managedGame()->gameShortName()
parameters << "--game" << m_OrganizerCore.managedGame()->gameShortName()
<< "--gamePath" << QString("\"%1\"").arg(m_OrganizerCore.managedGame()->gameDirectory().absolutePath())
<< "--pluginListPath" << QString("\"%1/loadorder.txt\"").arg(m_OrganizerCore.profilePath())
<< "--out" << outPath;
if (m_DidUpdateMasterList) {
parameters << "--skipUpdateMasterlist";
} else {
m_DidUpdateMasterList = true;
}
HANDLE stdOutWrite = INVALID_HANDLE_VALUE;
HANDLE stdOutRead = INVALID_HANDLE_VALUE;
@@ -4369,7 +4368,8 @@ void MainWindow::on_bossButton_clicked()
}
if (success) {
if (reportURL.length() > 0) {
m_DidUpdateMasterList = true;
/*if (reportURL.length() > 0) {
m_IntegratedBrowser.setWindowTitle("LOOT Report");
QString report(reportURL.c_str());
QStringList temp = report.split("?");
@@ -4378,7 +4378,7 @@ void MainWindow::on_bossButton_clicked()
url.setQuery(temp.at(1).toUtf8());
}
m_IntegratedBrowser.openUrl(url);
}
}*/
// if the game specifies load order by file time, our own load order file needs to be removed because it's outdated.
// refreshESPList will then use the file time as the load order.
+3 -3
View File
@@ -732,9 +732,9 @@ p, li { white-space: pre-wrap; }
<property name="text">
<string>Sort</string>
</property>
<property name="visible">
<bool>false</bool>
</property>
<property name="visible">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/MO/gui/sort</normaloff>:/MO/gui/sort</iconset>
+3 -3
View File
@@ -1243,7 +1243,7 @@ bool OrganizerCore::waitForProcessCompletion(HANDLE handle, LPDWORD exitCode)
while (
res = ::MsgWaitForMultipleObjects(1, &handle, false, 500,
QS_KEY | QS_MOUSE),
((res != WAIT_FAILED) && (res != WAIT_OBJECT_0)) &&
((res != WAIT_FAILED) || (res != WAIT_OBJECT_0)) &&
((m_UserInterface == nullptr) || !m_UserInterface->unlockClicked())) {
if (!::GetVFSProcessList(&numProcesses, processes)) {
@@ -1256,9 +1256,9 @@ bool OrganizerCore::waitForProcessCompletion(HANDLE handle, LPDWORD exitCode)
for (size_t i = 0; i < count; ++i) {
std::wstring processName = getProcessName(processes[i]);
if (!boost::starts_with(processName, L"ModOrganizer.exe")) {
currentProcess = processes[i];
currentProcess = processes[i];
m_UserInterface->setProcessName(QString::fromStdWString(processName));
processHandle = ::OpenProcess(SYNCHRONIZE, FALSE, currentProcess);
processHandle = ::OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, FALSE, currentProcess);
found = true;
}
}
+1 -1
View File
@@ -106,7 +106,7 @@ SelfUpdater::SelfUpdater(NexusInterface *nexusInterface)
m_MOVersion = VersionInfo(version.dwFileVersionMS >> 16,
version.dwFileVersionMS & 0xFFFF,
version.dwFileVersionLS >> 16,
version.dwFileVersionLS & 0xFFFF);
version.dwFileVersionLS & 0xFFFF);
}
+2 -2
View File
@@ -1,7 +1,7 @@
#include "Winver.h"
#define VER_FILEVERSION 2,0,8,1
#define VER_FILEVERSION_STR "2.0.8.1beta\0"
#define VER_FILEVERSION 2,0,8,2
#define VER_FILEVERSION_STR "2.0.8.2beta\0"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION