summaryrefslogtreecommitdiff
path: root/src/profile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Removes all references to GameInfo::getGameDirectory apart from one during ↵Thomas Tanner2015-11-251-3/+5
| | | | | | | | startup Did some const correctness improvements Also may have fixed a potential crash as the Profile copy constructor didn't copy the m_GamePlugin membber
* Use IPluginGame::getIniFiles throughout.Thomas Tanner2015-11-241-9/+1
| | | | Also removed the default constructor from Profile class and stopped registering it as a QMetaObject (which it is the only reason it is there).
* Removes igameinfo.h from everywhere apart from (sort of) the pythonrunner ↵Thomas Tanner2015-11-221-1/+0
| | | | | | plugin. Also comment out the filemapping function because it's large and doesn't appear to be used anywhere
* Replace some instances of qApp->property("managed_game") with the saved pointer.Thomas Tanner2015-11-211-11/+10
| | | | Pedantic note: This doesn't help the possibility of supporting multiple executables greatly, we'd have to have a lot of register-for-change events.
* - bugfix: immediately after creating the first profile, the directory structureTannin2015-05-231-1/+5
| | | | didn't correctly assign files to unhandled.
* dropped redundant report.h/report.cppTannin2015-05-091-1/+1
|
* cosmetic changes and increased version numberTannin2015-04-081-1/+1
|
* - some fixes to how file changes are signaled and delayedTannin2015-03-011-40/+11
|
* extended the game-plugin interfaceTannin2015-01-291-96/+28
|
* Merge with branch1.2Tannin2015-01-241-5/+8
|\
| * fixed logging in case of changes and errors in the mod listTannin2015-01-221-4/+7
| |
| * - download servers that haven't been available for over a month are now ↵Tannin2015-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | purged from the known servers list - bugfix: encoding detection for fomod xmls could incorrectly interpret files as utf16 encoded - bugfix: hashing algorithm for bsa files was wrong - bugfix: nxmhandler reported non-issues as errors - bugfix: nxmhandler tried to apply chrome fix on every start - bugfix: "not endorsed" icon displayed for non-nexus mods - bugfix: when drag&dropping within the overwrite dialog the file might still get moved to a mod (and probably not the intended one) - bugfix: dropping files from overwrite on the modlist was refused when not sorting by priority (only in 1.2.15) - bugfix: unmanaged mods couldn't be reordered (only in 1.2.15)
* | - bugfixesTannin2015-01-061-23/+24
| | | | | | | | | | | | | | - moved more functionality to game-plugins - further decoupled management functionality from the UI - created another "tutorial" which is only a single page with relevant parts of the ui highlighted with info as tooltips
* | MergeTannin2015-01-041-10/+12
|\ \
| * | replaced all uses of NULL with nullptrTannin2014-11-281-7/+7
| | | | | | | | | | | | fixed a few placed where NULL was used as a number or boolean
| * | cleanup und bugfixes after refactoringTannin2014-11-281-3/+5
| | |
* | | Merge with branch1.2Tannin2015-01-031-1/+1
|\| | | |/ |/|
| * - moved the hook-recursion-protection to tlsTannin2014-09-291-4/+3
| | | | | | | | | | | | | | | | | | - some code cleanup and consolidation - hook.dll will now report all of its own exceptions - some more logging during startup - changed the way urls are encoded for download requests - now displaying (one of the) process name(s) while waiting for a program to end - bugfix: spawned processes were forced to leave the job
| * - several style fixes suggested by static analysisTannin2014-09-241-1/+3
| | | | | | | | - will now support up to 4 levels of version numbers (major.minor.subminor.subsubminor
| * profiles are now created with an (empty) archives.txtTannin2014-09-101-783/+789
| |
| * - download-list will no longer show a file as having incomplete data if ↵Tannin2014-07-211-10/+11
| | | | | | | | | | | | | | there is no file version - added a new mod column with icons displaying the content of the mod - MO now differentiates between mods using an internal name that disambiguates between foreign and regular mods
| * normalized eol style (all files should now have windows line endings)Tannin2014-07-171-782/+782
| |
* | removed use of ModInfo::internalNameTannin2014-12-091-1/+1
| |
* | bugfix: ini tweaks were not applied in priority orderTannin2014-12-041-2/+3
| |
* | - moved the hook-recursion-protection to tlsTannin2014-09-291-4/+3
| | | | | | | | | | | | | | | | | | - some code cleanup and consolidation - hook.dll will now report all of its own exceptions - some more logging during startup - changed the way urls are encoded for download requests - now displaying (one of the) process name(s) while waiting for a program to end - bugfix: spawned processes were forced to leave the job
* | - several style fixes suggested by static analysisTannin2014-09-241-1/+3
| | | | | | | | - will now support up to 4 levels of version numbers (major.minor.subminor.subsubminor
* | profiles are now created with an (empty) archives.txtTannin2014-09-101-783/+789
| |
* | - download-list will no longer show a file as having incomplete data if ↵Tannin2014-07-211-10/+11
| | | | | | | | | | | | | | there is no file version - added a new mod column with icons displaying the content of the mod - MO now differentiates between mods using an internal name that disambiguates between foreign and regular mods
* | normalized eol style (all files should now have windows line endings)Tannin2014-07-171-782/+782
|/
* - test-plugins accidentally distributed in the 1.2.5 release are now ↵Tannin2014-06-251-7/+6
| | | | | | | | | | | automatically deleted - some fixes to the tutorial (mostly wording but also some actual problems) - bugfix: could disable mods that aren't supposed to be disable-able - bugfix: mod list wasn't saved on some changes - bugfix: when trying to start directly to application, MO didn't start up correctly - bugfix: hook.dll didn't load mod bsas into its directory structure and thus didn't allow bsas to overwrite loose files - bugfix: in some constellations the tutorial files couldn't be found despite being in the right location
* - added pseudo-categories to filter for mo-managed vs. unmanaged modsTannin2014-06-161-1/+0
| | | | | | | | | | - deleted mods are now moved to the recycle bin instead of being deleted permanently - reduced modinfo dialog for foreign mods - foreign mods are now displayed with a pseudo-category - added a signal when a plugin is moved - bugfix: refreshing of directory structure for mods with bsas didn't work correctly when enabling a mod and on changing display of foreign mods - bugfix: one mod in the list was assigned the same priority on the directory structure as the data directory - bugfix: conflicts tab in the mod info dialog offered the hide option for files in bsas
* - loot client now only updates the masterlist once per MO sessionTannin2014-06-081-1/+20
| | | | | | | | | | - new event to notify plugins of changed mod priority - overwrite now shows up in the "checked" category instead of "unchecked" - display of "foreign" mods can now be limited to only official content - bugfix: bsa extraction dialog showed up even if the plugin was disabled - bugfix: after detection of foreign mods the priority of the overwrite folder could get messed up - bugfix: when displaying only the context menu for the mod list as a whole, the menu didn't disappear - bugfix: MO crashed when trying to download via the integrated browser
* - added a new mod type that represents files handled externally (i.e. DLCs) ↵Tannin2014-05-311-6/+12
| | | | | | | | | | | as mods in MO - hashes of file names in bsa files are no longer checked all the time - author and description is now read from esp files - rewrote the code that fixes modlists after a rename, should be a bit more robust - fixes to qt 5 and msvc 2013 compatibility - started to update the tutorial (not done yet!) - bugfix: counter for the problems badge wasn't calculated correctly
* - very effective optimization to findfirstfile-callsTannin2014-05-051-4/+3
| | | | | | | | - several configuration files are now only saved to disk if the content actually changed. This should also get rid of a problem where plugins.txt was re-written immediately after starting the game (causing a conflict with the game) - reduced "noise" from hook.dll - removed some debugging messages
* - improved NCC compatibilityTannin2014-03-261-2/+2
| | | | | | | - crude support for multi-volume archives - updated imageformats plugins - nxmhandler now puts the exe to the top of the list when registering an MO instance, even if it is already in the list - bugfix: WritePrivateProfileString hook attempted to access lpKeyName even when it is null
* - ini file changes that would have to overwrite ini tweaks are now stored in ↵Tannin2014-02-171-0/+6
| | | | | | | | | a separate file and actually get used. - a warning message advices users to clean out that separate file - slightly improved default main window layout - bugfix: newly created ini tweaks were added to the list with incorrect properties
* - boss integrationTannin2014-01-231-25/+9
| | | | | - plugin list can now also display multiple flags for a file (like the mod list) - changed some compiler&linker settings to produce smaller binaries
* - option to ignore/unignore updates is now only shown if there IS an updateTannin2013-10-061-2/+2
| | | | | - window now shouldn't lose focus on win 8 2 seconds after mod information gets invalidated - small bugfix related to new version scheme parsing
* - hook.dll now doesn't inject to certain applications (currently steam, ↵Tannin2013-10-051-1/+2
| | | | | | | | | | chrome and firefox) - versioning system improved. Will now report "downgrades" for mods and support a different versioning system (requires manual switch) - updates can now be ignored until a new version is uploaded - new splash screen - bugfix: a few memory leaks (shouldn't account for much) - bugfix: result of GetModuleHandle wasn't zero-terminated in some cases
* - esp reader now handles invalid files more gracefullyTannin2013-09-211-0/+1
| | | | | | | | | | | | | | | | | - files moved will now also be treated as "deleted" in the old location so a newly created file with that same name is not created in overwrite - introduced a mechanism by which MO can recognize if it crashed before when attempting to load a plugin. That plugin can be blacklisted so it doesn't get loaded again - plugins can now programaticaly change their settings - plugins can now store data persistently without exposing that data as settings - requesting an unset-setting from a plugin is no longer treated as a bug - clarified warning message for when files are in overwrite directory - the proxyPython plugin will now discover if python initialization crashed MO on a previous session and give the user a chance to fix it or disable the plugin - bugfix: GetModuleFileName modified the buffer past the zero termination. While this doesn't violate the API documentation it is different from the regular windows implementation - bugfix: proxy plugins couldn't access the parent widget - bugfix: when moving a file from overwrite to a mod the in-memory file structure wasn't updated - bugfix: name input dialog for profiles allowed names that weren't valid directory names - bugfix: profile dialog wasn't able to delete profiles if the name started or ended in whitespaces - bugfix: The name-cells for plugin settings could be changed (without effect) - removed a few obsolete files from the repository
* - bugfix: testing for missing masters at the wrong time seems to have caused ↵Tannin2013-09-161-32/+54
| | | | | | | | | | crashes - bugfix: mod list is now written to a temporary file first. Only on success is the original file overwritten - bugfix: moving a mod priority to just above the overwrite could cause a crash or error message - bugfix: versions with a release candidate number weren't sorted correctly (woops) - bugfix: staging script didn't include archive.dll and dlls.manifest - installation time on overwrite no longer updates constantly
* - the download manager now registers download speed. Right now this is only usedTannin2013-08-301-2/+1
| | | | | | | | | | | | | to display an average speed on the settings menu - added a python27.dll compiled with vc100. This can now be bundled without introducing more dependencies - bugfix: extracting now stops after an error - bugfix: the way hook.dll caused CREATE_ALWAYS/CREATE_NEW to always write into overwrite could lead to the file being created when the call should have failed (because the file existed and was protected) - bugfix: GetPrivateProfileString does NOT properly report files as missing. This means that the ini-query optimization could optimize away requests that should work - bugfix: fomod installer couldn't display images because they were unpacked to the wrong temporary location - bugfix: When disabling local saves and choosing to delete the saves nothing happened - bugfix: the python plugin couldn't find the pyqt libraries
* MergeTannin2013-05-221-3/+12
|\
| * - added hook for GetModuleFileNameTannin2013-05-191-3/+12
| | | | | | | | | | | | | | | | - downloads are now identifiable by ID - fixed a bug with the multi-select categories list - fixed a problem with the nexus-login code breaking support for certain passwords - fixed a bug where detection of archive invalidation didn't work correctly - fixed ncc plugin trying to handle archives that aren't actually fomods
* | - added NCC to repositoryTannin2013-05-221-3/+3
|/ | | | | | | | - deleting files from download manager now moves them to recycle bin instead of deleting permanentyl - cleanup in installation manager - ini editor (old) can now be configured to open files in external editor - bugfix: .net check in ncc installer was broken - bugfix: mod-overwrite dialog wasn't displayed for complex installers
* - multi-selection in category windowTannin2013-04-121-2/+2
| | | | - profile loading is now slightly more forgiving
* Merge with branch1.0Tannin2013-03-271-16/+19
|\
| * - added hooks for getFileVersion* functionsTannin2013-03-271-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - automatic donwload retry - support for storing multiple download urls - improved "query info" functionality - some cleanup to download manager code - external fomod installer dialog are now brought to front - added shell... functions to have windows handle problematic situations - added visual clue when filters are active - esps are now automatically activated when installing a mod - added option to never endorse a mod - added "previous" and "next" buttons to mod info dialog - improved the way messagedialog text is shortened - coloring in mod info dialog now visible in other color schemes - plugin list is now saved automatically - vanilla bsas are now enabled even if they are not listed in the ini file - bugfix: setting mod to maximum now doesn't try to place the mod below overwrite
* | Merge with defaultTannin2013-03-221-8/+13
|\|
| * - some more safety checks in the ini-limit removal codeTannin2013-03-131-8/+13
| | | | | | | | | | | | | | | | | | | | | | - some code cleanup and minor bug fixes based on results from static code analysis - added naemfilter for the esp list - bsa changes are now stored automatically but delayed by up to 0.5 seconds (for performance reasons) - bugfix: buffer overrun when certain functions are called with empty file names - bugfix: reroute for the ini-limit fix was placed in the data segment - bugfix: mod list got mixed up when the mod directory was changed externally - bugfix: plugins.txt reroute on skyrim didn't work on winXP - bugfix: MO could become unresponsive if the tutorial script couldn't be interpreted