Compare commits

...
3447 Commits
Author SHA1 Message Date
pre-commit-ci[bot] efe2a02d5d [pre-commit.ci] Pre-commit autoupdate. (#2421)
updates:
- [github.com/pre-commit/mirrors-clang-format: v22.1.2 → v22.1.5](https://github.com/pre-commit/mirrors-clang-format/compare/v22.1.2...v22.1.5)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-07-08 15:58:05 +02:00
Mikaël Capelle a931277b2b Update VCPKG registries to use 7z 26.01. (#2413) 2026-06-22 20:20:18 +02:00
Mikaël Capelle 4907704797 Send local saves to recycle bin when switching from global to local saves instead of deleting them directly. (#2401) 2026-06-06 09:28:12 +02:00
Jonathan Feenstra c097670b09 Update about dialog (#2400) 2026-05-23 10:28:27 -05:00
Jeremy Rimpo a329ce59ac Translation file updates 2026-05-21 23:53:44 -05:00
Jeremy Rimpo 7a4bb3652e Restore tutorials 2026-05-17 02:29:21 -05:00
Jonathan Feenstra ab38cf0e05 Improve code for reading text files line-by-line 2026-05-17 02:28:30 -05:00
Jeremy Rimpo 0c95bf22e6 Add app.manifest to set longPathAware 2026-05-17 02:25:59 -05:00
Jonathan Feenstra 55de581ee9 Add setting to show notifications when downloads complete or fail (#2338) 2026-05-15 02:23:09 -05:00
Jeremy Rimpo 6748953d35 Use new Nexus Tools location for MO2 2026-05-15 02:00:05 -05:00
Jonathan Feenstra 22b1695701 Install manager metadata updates
* Fix missing author and uploader when installing mods
* Refactor doInstall parameters into a struct
2026-05-14 01:43:46 -05:00
3efaf7c946 Migrating to OAuth Authentication (#2374)
Co-authored-by: aglowinthefield <146008217+aglowinthefield@users.noreply.github.com>
Co-authored-by: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com>
2026-05-12 13:50:45 -05:00
Jeremy Rimpo 41ffb25c03 Use filesystem paths with BSATK input / output (#2391) 2026-05-07 15:46:47 -05:00
9c6f48a440 Stable DownloadId refactor (#2375)
* Encapsulate the downloads directory watcher in DirWatcherManager

QFileSystemWatcher suppression currently relies on public static start/end
methods and a static counter. Seven call sites pair them raw, one of them
outside the class. Any exception between a pair permanently disables the
watcher, and the static counter implies a singleton DownloadManager.

A new DirWatcherManager owns the watcher, the counter (now an instance
member), and the filtering. The only way to suspend is an RAII Guard
obtained via a scopedGuard() factory. All raw pairs migrate to guards. A
TODO flags the existing processEvents() in the dtor as a known reentrancy
hazard worth replacing later.

* Replace aboutToUpdate/update(int) with ModelResetGuard

Replace the fragile two-signal protocol with a refcounted RAII
ModelResetGuard. Split update(int) into aboutToResetModel/modelReset
(guard only) and rowChanged(int); notifyRowChanged() is suppressed while
a reset is active.

Fixes "beginResetModel without endResetModel" warnings from three sites
in downloadFinished/removeDownload that were pairing reset with a row
update. removePending only opens a guard when an actual match is removed.

* Centralize row notifications in setState and fix missed emits

setState emits notifyRowChanged itself, uses indexByInfo (-1 when
untracked), and re-looks up the row at each use so reply->abort() and
plugin callbacks that re-enter and erase info don't produce stale
signals.

Remove the trailing emit loop from createMetaFile and the now-redundant
notifyRowChanged calls scattered after setState. Add the two missing
emits in restoreDownload (after m_Hidden) and metaDataChanged (after
rename). Guard downloadFinished with a top-level DirWatcherGuard to
prevent filesystem events from its writes racing with model updates.

* Fix comma operator in addNXMDownload pending-dedup check

The game-name comparison result was discarded by the comma operator,
so the dedup only matched modId/fileId across all games.

* Fix lost finished() signal on fast downloads

Hoist the file-exists prompt out of startDownload so setup is straight-line.
Connect finished() last and dispatch manually if the reply already finished.

* Fix memory leak in DownloadInfo::createFromMeta

Move the allocation past the early-return checks so path-mismatch and
hidden-skip paths no longer leak a fresh DownloadInfo.

* Sanitize suffix path in getDownloadFileName

The collision-avoidance branch was using the raw baseName, so invalid
characters sanitized out of the initial path leaked into the suffixed one.

* [pre-commit.ci] Auto fixes from pre-commit.com hooks.

* Remove unused alphabetical translation vector

m_AlphabeticalTranslation was written but never read; drop it along with
refreshAlphabeticalTranslation, ByName, and the LessThanWrapper helper.

* Address PR feedback: fix redundant check and move refresh outside try catch.

* Coalesce the removeDownload reset with the following refreshList

Moves the ModelResetGuard out of the try-catch so it also wraps the
refreshList() call below. Without this, one reset fires when the guard
destructs at the end of the try block and another fires from
refreshList's own guard, producing two resets where one is sufficient.

* Guard the .meta creation in openMetaFile against the directory watcher

openMetaFile creates the .meta file via QSettings when one does not
exist; the disk write fires directoryChanged and triggers a spurious
refreshList. Wrap it in a DirWatcherManager::Guard like the other
meta-file editing paths.

* Extract getValidGameShortName method in download manager (#2380)

* Add stable download id index and PendingDownload struct

Replace the (game, mod, file) tuple backing m_PendingDownloads with a
named struct, and add m_ByID as an O(1) m_DownloadID-to-info index kept
in sync with every m_ActiveDownloads mutation. Encapsulate the id
counter behind DownloadInfo::newDownloadID(), the only supported way to
consume from s_NextDownloadID.

Infrastructure only; external behaviour is unchanged.

* Return stable ids from the plugin-facing download API

startDownloadURLs / startDownloadNexusFile / addNXMDownload now reserve
and return m_DownloadID instead of a stale index. Plugin callbacks fire
with m_DownloadID; downloadPath looks up via m_ByID. nxmDownloadURLsAvailable
threads the reserved id into the materializing DownloadInfo, and Nexus
API failures wake waiting plugins via notifyPendingDownloadFailed.

Incidental: startDownload now returns bool and frees newDownload on
output-open failure; createMetaFile is deferred past that check so
failed starts no longer leave an orphan .meta.

* Split downloadFinished into onReplyFinished slot and finishDownload

The old dual-use downloadFinished(int = 0) took either an explicit index
or relied on sender() when called as a slot. Split into a sender-resolved
slot and an id-based direct call, removing the ambiguous index-zero path.

* Introduce DownloadID alias and row/id accessors

Add a DownloadID type alias for the stable per-download handle and two
public accessors (downloadIDAtRow, rowForDownloadID) so callers can
translate between the view's row vocabulary and the model's id
vocabulary without reaching into the manager's internals. DownloadList
now embeds the DownloadID in QModelIndex::internalId() so any code
holding an index can identify the download directly.

* Convert cancel/pause/resume action methods to take DownloadID

The four methods (cancel, pause, resume, resumeDownloadInt) now accept
a DownloadID, resolve through m_ByID, and no longer care about row
positions. Internal callers iterate DownloadInfo* or look up via id;
DownloadsTab translates row -> id at the connect boundary so the
view's int-shaped signals keep working unchanged.

Also switches the remaining unsigned int signatures that refer to the
download id (finishDownload, downloadInfoByID, PendingDownload::reservedID,
m_ByID, newDownloadID, s_NextDownloadID) to the DownloadID alias.

Drive-by fix: finishDownload's retry branch could read info->m_Tries
after info had been deleted in the CANCELED/retries-exhausted branch
above; now re-resolves via m_ByID.value(id) before touching any fields.

* [pre-commit.ci] Auto fixes from pre-commit.com hooks.

* fix warnings about unused variables and size_t types

* cleanup dead code

* avoid calling processEvents when releasing the DirWatcherGuard

* [pre-commit.ci] Auto fixes from pre-commit.com hooks.

* use QEventLoop instead of manual ProcessEvents

* don't call processEvents in download started and defer handling finish state in event loop

* Cleanup pending download in case of failure.

* Add missing notifyPendingDownloadFailed if user cancels

* [pre-commit.ci] Auto fixes from pre-commit.com hooks.

* Refactor pending download failure handling and cover rename failures

* fix rebase bug, addNXMDownload not returning the correct type

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com>
2026-05-07 17:38:51 +02:00
Jonathan Feenstra 3070a60ab7 Don't apply LOOT-sorted load order until user clicks "Apply" (#2382)
* Add sorted plugin list to LOOT dialog (markdown and button)
* Prefix plugins with checkboxes to show whether they're enabled
2026-05-06 12:51:17 -05:00
Jeremy Rimpo 6d02ef2b75 Defer second nxmhandler call (#2390)
- Calls run in parallel leading to extraneous setup dialogs
- This only calls the nxm schema registration after modl is done
2026-05-06 11:08:57 -05:00
Jeremy Rimpo f5d89ad625 Download command: Add game instance check (#2388)
* Add game instance check
- Should be ignored if not passed to command
- Functions much like NXM game check
2026-05-04 16:40:32 -05:00
Al ca7a149874 Improve mod update check accuracy (#2385)
* Index API response into lookup maps

* extract new findLatestActiveSuccessor method from update check function

* extract method to check if a file is active

* use new isActiveFileStatus in modInfoRegular

* fix bug when merging during mod install

* remember ordering of installed nexus file ids

* refactor update check logic to prioritize Nexus file IDs over filenames

* refactor nxmUpdatesAvailable to simplify update checking logic

* refactor update check logic to find Nexus file IDs by filename and streamline successor retrieval

* refactor update checking to streamline version resolution and improve successor retrieval
2026-05-03 21:47:20 -05:00
Jeremy Rimpo ef7499aade Extended MODL / direct download handling (#2384)
* Extended MODL / direct download handling
- name, modname, version, and source options added to download command
- nxmhandler init adds schemas and MODL entry with default launch args
- Add MODL register button to general tab
- On window display, call meta function to trigger both registrations
2026-05-03 03:04:49 -05:00
Jeremy Rimpo 2e393aa3cc Handle Nexus collections links (#2383)
- Pops up dialog when the NXM link is a collection
- Collection link data available, though still unsupported
2026-05-02 10:45:09 -05:00
Mick dc420a258a Change IconDelegate::paintIcons to only execute when iconWidth > 0 (#2362) 2026-04-27 08:58:17 +02:00
Jonathan Feenstra 49da80c2a4 Make command-line arguments -i "" launch the portable instance (#2341) 2026-04-27 08:57:00 +02:00
Al f80ad0435c fix crash when CWD is not set to app directory (#2379) 2026-04-26 21:43:16 -05:00
Jeremy Rimpo 925bade315 Disabling tutorials (#2366) 2026-04-17 10:17:59 +02:00
Jonathan Feenstra 9deaf71362 Add more contributors to the about dialog (#2369) 2026-04-17 10:17:11 +02:00
Jeremy Rimpo 3a5140bb8f Starfield: Updated blueprint / blueprint prefix support (#2368)
* Add blueprint handling with blueprintships

* Blueprint changes
- Add tooltips
- Add warnings
- Handle blueprint prefixes properly

* Make sure we're assigning the property
2026-04-16 10:20:50 -05:00
Jeremy Rimpo 05593c0347 Update libloot dll name in sanity check (#2370) 2026-04-16 10:17:13 -05:00
Jeremy Rimpo ca4e81ca86 Removing references to openssl (#2367) 2026-04-16 14:09:53 +02:00
Jeremy Rimpo 6bd8bcc239 Update vcpkg targets (#2365) 2026-04-15 09:59:11 +02:00
Mick 7528d023c4 fix header guard typos (#2364) 2026-04-15 09:27:38 +02:00
pre-commit-ci[bot] 662f033295 [pre-commit.ci] Pre-commit autoupdate. (#2357)
* [pre-commit.ci] Pre-commit autoupdate.

updates:
- [github.com/pre-commit/mirrors-clang-format: v21.1.8 → v22.1.2](https://github.com/pre-commit/mirrors-clang-format/compare/v21.1.8...v22.1.2)

* [pre-commit.ci] Auto fixes from pre-commit.com hooks.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-04-09 13:16:16 +02:00
Jonathan Feenstra 2043d9931c Remove "Categories: " tooltips when there are no categories (#2339) 2026-02-18 19:48:12 +01:00
Jonathan Feenstra 4da0bffeee Add instance manager to plugin API (#2335) 2026-02-08 10:08:10 +01:00
Jonathan Feenstra a394f02e97 Add executables list to plugin API (#2327) 2026-01-31 16:49:46 +01:00
Jonathan Feenstra aa44561e86 Change IOrganizer::profile return type to a shared_ptr (#2322) 2026-01-11 17:31:26 +01:00
Jonathan Feenstra 717b5ac389 Add instanceName and profiles methods to plugin API (#2321) 2026-01-11 12:36:07 +01:00
pre-commit-ci[bot] 1505519ecd [pre-commit.ci] Pre-commit autoupdate. (#2320)
updates:
- [github.com/pre-commit/mirrors-clang-format: v21.1.2 → v21.1.8](https://github.com/pre-commit/mirrors-clang-format/compare/v21.1.2...v21.1.8)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-01-05 19:38:47 +01:00
Jonathan Feenstra e5ac1cc82d Add executable setting to minimize MO2 to the system tray while running (#2313) 2026-01-03 15:48:06 +01:00
Mikaël Capelle d5bd9603c6 Add missing Qt dependencies in CI. (#2317) 2026-01-03 14:49:24 +01:00
pre-commit-ci[bot] cc78137eb5 [pre-commit.ci] Pre-commit autoupdate. (#2295)
updates:
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0)
- [github.com/pre-commit/mirrors-clang-format: v20.1.7 → v21.1.2](https://github.com/pre-commit/mirrors-clang-format/compare/v20.1.7...v21.1.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-07 15:01:47 +02:00
itch 8016e77723 fix(qt): remove obsolete call to AA_EnableHighDpiScaling (#2283) 2025-09-15 09:40:50 +02:00
Mikaël Capelle b77b2722b7 Fix an issue with implementation of CombinedModDataContent. (#2278) 2025-09-03 10:13:06 +02:00
Jonathan Feenstra d52fcccb83 Add author and uploader columns to mod list (#2269) 2025-08-18 07:55:52 +02:00
Mikaël Capelle 6c64236e2e Allow non-cache build in CI when Azure variables are not available. (#2270) 2025-08-17 12:32:23 +02:00
pre-commit-ci[bot] 95b9ab2e45 [pre-commit.ci] Pre-commit autoupdate. (#2258)
updates:
- [github.com/pre-commit/mirrors-clang-format: v19.1.5 → v20.1.7](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.5...v20.1.7)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-08 07:50:31 +02:00
Mikaël Capelle 28e712c8a3 Add version of MO2 plugin loaded in logs. (#2252) 2025-06-06 15:06:11 +02:00
Mikaël Capelle 87d0f2eeb6 Fix registry for 2.5.3-beta.2. (#2250) 2025-05-29 14:24:52 +02:00
Mikaël Capelle 455b5075f1 Update registry for 2.5.3-beta.2. (#2249) 2025-05-29 13:06:12 +02:00
Mikaël Capelle 39210af3e5 Move to VCPKG (#2068)
* Remove SConscript related files.
* Force-load translations from uibase and gamebryo/creation.
* Bring githubpp here and add a standalone preset.
* Switch VersionInfo -> Version for ModOrganizer2. (#2063)
* Add pre-commit hook.
* Use 7zip build from VCPKG registry.
* Use archive.dll from the bin folder instead of dlls.
2025-05-29 11:04:36 +02:00
Jeremy RimpoandMikaël Capelle 3a8ea3ccce Oblivion Remastered Meta PR (#2241)
* Allow for mod directory maps
- Set main data files based on game
- Mapped mod directories to VFS
- Update overwrite setup

* Skip if mod contains no 'data' dir

* More mod directory compatibility fixes

* Workaround for Obl:Rem save location
- SLocalSavePath does nothing yet MO2 wants to use it to override the default save location
- This only applies to BGS games anyway, we should move this logic

* First pass for overwrite mod directory support

* More overwrite move / delete restrictions

* Fix issue with moving directories that are not required

* Formatting pass

* More modDataDirectory updates

* Formatting

---------

Co-authored-by: Mikaël Capelle <capelle.mikael@gmail.com>
2025-05-23 14:08:01 -05:00
5d766e94a7 Mass Metadata Parsing: Prevent re-querying and manual prompts to enter missing data (#2135)
* Add a button to "Query Info" of every download in the list

---------

Co-authored-by: Deewens <dudonadrien@gmail.com>
Co-authored-by: KenJyn76 <liambonilla@gmail.com>
Co-authored-by: Al <26797547+Al12rs@users.noreply.github.com>
2025-05-23 09:24:23 +02:00
Jonathan Feenstra a823d2aa88 Ignore conflicts between hidden files (#2148)
* Ignore conflicts between hidden files
* Optimize checks for .mohidden extension
2025-05-23 09:23:36 +02:00
RJandRJ b531bbff39 Update following SafeWriteFile changes (#2218)
Co-authored-by: RJ <Liderate@users.noreply.github.com>
2025-05-23 09:18:03 +02:00
RJandRJ 3ef0db4cca Speedup refresh when archive parsing is enabled and updateBSAList (#2239)
* Precompute load order for ModThreads
* Precompute file infos for plugin association check

---------

Co-authored-by: RJ <Liderate@users.noreply.github.com>
2025-05-23 09:15:43 +02:00
Jeremy Rimpo 15f3d2ba05 Fix an error when filters hide highlighted rows (#2245)
- Crash caused by dataChanged triggering selectionChanged in loop
- Repaint accomplishes what we need
2025-05-22 14:35:48 -05:00
Jeremy Rimpo 48f1f600de Update copyrights (#2246) 2025-05-22 20:51:49 +02:00
Mikaël Capelle a41028fafc Update following USVFS move to VCPKG. (#2244) 2025-05-22 19:35:44 +02:00
Jeremy Rimpo eddc30a47f Dependency Updates Meta PR (#2242)
* Update dll manifests
* Fixes for emit / model refresh issues
2025-05-22 10:38:39 +02:00
RJandRJ 52b37a760c Store integer instead of QString in categories table ID columns (#2230)
Co-authored-by: RJ <Liderate@users.noreply.github.com>
2025-04-12 14:46:03 +02:00
RJandRJ bff386d277 Do not sort categories table while adding rows (#2229)
Co-authored-by: RJ <Liderate@users.noreply.github.com>
2025-04-01 13:33:52 +02:00
Jonathan Feenstra d2832ec9c3 Add new contributors to the about dialog (#2175) 2025-03-01 11:49:18 +01:00
Chris Djali 62ccbb1d02 Write BOM if original file used one (#2213)
Important for UTF-16 as lots of things can't detect or read UTF-16 without a BOM
2025-02-28 19:52:49 +01:00
Jonathan Feenstra 6299be28e1 Add form and header versions to plugin list tool tips and plugin API and add more columns (#2200) 2025-01-31 20:07:41 +01:00
Jonathan Feenstra 9049e65c5e Add startDownloadNexusFileForGame (#2181) 2025-01-02 14:10:53 +01:00
Jonathan Feenstra f8340e1620 Highlight mods that contain selected files in data tab (#2179) 2025-01-02 08:52:38 +01:00
Jonathan Feenstra 110014bf5e Update readme (#2180) 2024-12-25 11:22:19 +01:00
Jonathan Feenstra 91912f5fef (Un-)endorse & (un-)track mods from the same source (#2141) 2024-10-30 16:20:39 +01:00
Jonathan Feenstra f42a9f1cef Fix error message showing even though instance is already selected (#2154) 2024-10-30 15:20:04 +01:00
Jonathan Feenstra 61ef16d08d Hide hidden folders if "show hidden files" is unchecked in data tab (#2146) 2024-10-16 08:36:12 +02:00
Jonathan Feenstra c44ee31e9f Prevent crash when opening NXM link before selecting instance (#2144) 2024-10-15 11:02:56 +02:00
Jonathan Feenstra 08fc25d641 Show blueprint master count in plugin counter tooltip and hide unsupported plugin types (#2143) 2024-10-13 13:24:43 +02:00
Jonathan Feenstra f305502c5d Match capitilization of "Hidden files" in data tab with downloads tab (#2142) 2024-10-13 12:42:01 +02:00
Jonathan Feenstra b6de58f2d3 Highlight masters of selected plugins (#2140) 2024-10-12 13:37:58 +02:00
Jonathan Feenstra 75e24cd926 Rename Optional ESPs tab to Optional Plugins and improve wording (#2134) 2024-10-10 13:50:24 +02:00
Jonathan Feenstra bafc058b7f Add filter checkbox to data tab to show/hide hidden files (#2136) 2024-10-10 13:49:31 +02:00
Jonathan Feenstra 71434efaa9 Include notes in search when filtering mods if the column is enabled (#2139) 2024-10-10 13:45:40 +02:00
Jonathan Feenstra 8f1dbe9f35 Resize columns to contents in notifications window (#2128) 2024-10-03 09:48:50 +02:00
Jeremy RimpoandJonathan Feenstra 19fae10b2b Starfield Updates: Shattered Space & Blueprint Support (#2131)
---------

Co-authored-by: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com>
2024-10-03 09:46:53 +02:00
Jonathan Feenstra 7ed06a77c1 Add author and description methods to IPluginList (#2118) 2024-09-28 19:58:29 +02:00
Mikaël Capelle 9c130cbf2f Bump version to 2.5.2. (#2090) 2024-08-04 09:58:53 +02:00
Mikaël Capelle ea38fdc6ce Replace chopped by mid in download list. (#2089) 2024-08-03 13:37:39 +02:00
Mikaël Capelle 89f39ef200 Bump version to 2.5.2rc2. (#2084) 2024-08-01 10:58:31 +02:00
Mikaël Capelle acd201157d Move slot connections to avoid issue when starting MO2 to download a NXM link. (#2082)
* Move slot connections to avoid issue when starting MO2 to download a NXM link.
2024-08-01 10:40:44 +02:00
Mikaël Capelle f11925ab88 Fix FIXABLE status for ModDataChecker. (#2080)
* Fix FIXABLE status for ModDataChecker.
* Fix issue with registerFeature() without games.
2024-07-28 14:39:20 +02:00
Mikaël Capelle 2395c13c25 Bump version to 2.5.2rc1. (#2078) 2024-07-21 16:49:38 +02:00
Mikaël Capelle cc92f6cf88 Set default style to 'windowsvista' and allow stylesheet to modify base style (#2072)
* Set 'windowsvista' as the default style.
* Allow stylesheet to modify base style.
2024-07-19 09:49:53 +02:00
Jeremy Rimpo 193442e773 Archive preview support (#2056)
* Support for archive file previews
- Should account for alternates
- Extracts files and requests preview from plugins that claim support
2024-07-11 16:46:29 +02:00
Jeremy Rimpo a4f6298111 Parse unmanaged file location when creating ModInfoForeign (#2053)
* Parse unmanaged file location when creating ModInfoForeign
- Fixes issues with secondaryDataDirectories
* Revert SF memory address changes
- CCC implementation prevents the need to determine core plugin LO by dependency chains
* The light flag wins over the medium flag
- I had expected the opposite, but apparently the light flag still wins if both are set. This shouldn't really happen but it's possible, even with the CK
* Update display to account for multi-flagged plugins
- Show both icons, warn if both set
2024-06-22 08:31:26 +02:00
Twinki d3b647ab2b Use new Skip File & Skip Directory in usvfs (#2033)
* Use new Skip File & Skip Directory in usvfs.

# Motivations
https://github.com/ModOrganizer2/usvfs/pull/61 Highlights some reasons why the ability to skip files & directories would be beneficial

# Modifications
- Add two new settings, `skip_file_suffixes` and `skip_directories`
- Wire the two new settings up to usvfs
- Add two new buttons to the `Workarounds` dialog, one to adjust Skip File Suffixes and another for Skip Directories, both buttons act nearly identical to the Executable Blacklist button
- Add a new grouping in the `Workarounds` dialog box that contains the usvfs buttons to keep the dialog a tad organized
2024-06-15 18:51:47 +02:00
Jeremy Rimpo 6d08d434a8 Add medium plugin support (Starfield) (#2048)
* Add medium plugin support (Starfield)
- Coopt the overlay support for the new 'medium' / ESH plugin flag
- Update various displays to include ESH info
* Rework address display for SF weirdness
* Fix core ESH display
2024-06-13 17:51:09 +02:00
Mikaël Capelle 3d8bfdd1d4 Fix manifest for debug mode. (#2047) 2024-06-10 20:46:00 +02:00
RJ fff03d34e2 PluginList::refresh speedup (#2046)
* Move loadOrderMechanism out of loop
* PluginList::refresh reduce number of loops
2024-06-10 15:55:32 +02:00
Mikaël Capelle 88c386d74d Refactoring of game features for better management. (#2043) 2024-06-09 12:18:17 +02:00
Mikaël Capelle c43535f5bc Update for new USVFS function scheme. (#2044)
* Update for new USVFS function scheme.
* Fix call to usvfsVersionString().
* Move USVFS to mo2 dependencies instead of third party in CI.
2024-06-09 11:00:13 +02:00
Jeroen Ruigrok van der Werven 3d18f0cd38 Only list instance directory with a MO INI file (#1965) 2024-06-08 07:56:25 +02:00
Mikaël Capelle a11617ff65 Use MO2 formatting action. (#2032) 2024-05-26 12:20:02 +02:00
Mikaël CapelleandTwinki 1871f32a8d Use lootGameName() and displayGameName() in initial places. (#2030)
* Use `displayGameName()` in create instance dialogs & the main window, this doesn't cover all places `gameName()` was being used for purely display reasons, but it covers the bulk.
* Use `lootGameName()` instead of `gameShortName()` for LOOT cli initiation.
* Use game display name in status bar.

---------

Co-authored-by: Twinki <Twinki@users.noreply.github.com>
2024-05-26 11:12:08 +02:00
Mikaël Capelle fa82d1cca1 Switch from fmtlib to std::format. (#2031)
* Switch from fmtlib to std::format.
* Remove libffi from dependencies in Github action.
2024-05-25 13:14:46 +02:00
Jeremy Rimpo 9ee4c5afe1 Disable ESLs when no ESL support (#2026)
* Show ESL plugins but disable and warn if unsupported
2024-05-19 09:40:47 +02:00
RJandLiderate a1d199134d Fixes for stylesheets that use transparent backgrounds (#2029)
* Remove uneeded "Fix" text

* Don't set Qt::WA_OpaquePaintEvent when imagesThumbnails has transparent base

---------

Co-authored-by: Liderate <Liderate@users.noreply.github.com>
2024-05-19 09:40:17 +02:00
RJandLiderate 16423b2682 Directly open logs and crashDumps folders from diagnostics settings (#2028)
Co-authored-by: Liderate <Liderate@users.noreply.github.com>
2024-05-19 09:15:50 +02:00
Mikaël Capelle 5adb1ec43d Merge pull request #1962 from ashemedai/ignore_cache_instance
Ignore Qt-created 'cache' directory in list of instances.
2024-01-01 12:47:18 +01:00
Jeroen Ruigrok van der Werven 4472df8656 Ignore Qt-created 'cache' directory 2023-12-31 13:35:26 +01:00
Jeremy Rimpo 45c017de2f Merge pull request #1959 from ModOrganizer2/category_alternate_source
Use primary game source for categories if defined
2023-12-28 15:03:35 -06:00
Jeremy Rimpo b350afee9e Use primary game source for categories if defined 2023-12-28 03:26:39 -06:00
Jeremy Rimpo b3d27472cf Merge pull request #1949 from ModOrganizer2/251rc1
Update version to 2.5.1 RC 1
2023-12-16 16:47:18 -06:00
Jeremy Rimpo e1932b34ea Update version to 2.5.1 RC 1 2023-12-16 16:46:39 -06:00
Jeremy Rimpo 70a41a9b27 Merge pull request #1941 from ModOrganizer2/dummy-display-tweak
Change recordless plugin display to flag icon
2023-12-16 16:30:32 -06:00
Jeremy Rimpo 20aa98b511 Change recordless plugin display to flag icon 2023-12-05 19:23:09 -06:00
Mikaël Capelle 783c05478f Merge pull request #1937 from ModOrganizer2/null-category-fix
Null category fix
2023-12-03 09:04:41 +01:00
Jeremy Rimpo 0315a88bd8 Rename sort button to match UI 2023-12-02 15:53:29 -06:00
Jeremy Rimpo 026fec4468 Fix crash if no Nexus category is assigned 2023-12-02 15:52:25 -06:00
Jeremy Rimpo 04eff9750f Merge pull request #1926 from ModOrganizer2/2_5_x
Version 2.5.0
2023-11-29 00:05:32 -06:00
Jeremy Rimpo 22714e5cdc Version 2.5.0 2023-11-24 20:48:23 -06:00
Jeremy Rimpo 8dd1637d1d Merge pull request #1924 from ModOrganizer2/style_updates
Style updates
2023-11-20 12:07:21 -06:00
Jeremy Rimpo 2eade4c638 Style updates
- Remove Transparent Style directory (pulled in by MOB)
- Update Night Eyes to 1.2
2023-11-19 19:21:24 -06:00
Jeremy Rimpo 828c9c8157 Merge pull request #1921 from ModOrganizer2/rc_fixes
A few fixes for RC 1
2023-11-17 03:36:55 -06:00
Jeremy Rimpo 773e3acd58 A few fixes for RC 1
* Convert the priority index to a string as Windows appears to be converting these to localized numerals
* Skip separators when assigning categories
* Update the context menu requirements for displaying the auto-assign option
* Bump to RC 2
2023-11-16 23:57:16 -06:00
Mikaël Capelle 1b4ed39747 Merge pull request #1917 from ModOrganizer2/translation_bump
Bump version and update translations
2023-11-07 10:56:39 +01:00
Jeremy Rimpo efef62f49d Bump version and update translations 2023-11-07 03:58:07 -05:00
Jeremy Rimpo 8c562fe8a9 Merge pull request #1915 from ModOrganizer2/download_issues
Download issue fixes
2023-11-05 12:55:19 -06:00
Jeremy Rimpo 8f77fff215 Merge pull request #1911 from ModOrganizer2/plugin_display
Display changes for plugins
2023-11-05 12:49:39 -06:00
Jeremy Rimpo c48b7d8803 Download issue fixes
- Add scoped watcher disabler
- Disable during mod install
- Update interprocess message handler to fix 'unable to communicate' issues
2023-11-05 12:37:16 -06:00
Mikaël Capelle af5e04208a Merge pull request #1904 from Liderate/master
Replace spaces with ? wildcard when looking for game executable, fix #1605.
2023-11-05 09:17:23 +01:00
Jeremy Rimpo 037e17e816 Display changes for plugins
- Only bold master plugins
- Only italicize light plugins
2023-10-31 23:09:27 -05:00
Jeremy Rimpo 3c0cd1c888 Merge pull request #1907 from ModOrganizer2/plugin_updates
Plugins updates
2023-10-27 21:19:30 -05:00
Jeremy Rimpo f8954806c3 Explain overlay comments 2023-10-27 20:53:53 -05:00
Liderate f6af8ed275 Replace spaces with ? wildcard for #1605 2023-10-21 04:25:12 -04:00
Jeremy Rimpo 8f6ba13fbc Use hasNoRecords 2023-10-18 23:08:49 -05:00
Jeremy Rimpo 2f5cca5c60 Plugins updates
- Temporarily remove some overlay info
- Add isDummy and dummy info
- Display refinements for plugin info
2023-10-18 22:57:48 -05:00
Jeremy Rimpo d57d8bdd5a Merge pull request #1906 from ModOrganizer2/geometries_directory
Add new content images to resources
2023-10-17 14:17:46 -05:00
Jeremy Rimpo 1adb8b9ada Add new content images to resources 2023-10-17 00:56:04 -05:00
Mikaël Capelle cd4ba84219 Merge pull request #1903 from Liderate/master
Improve invalid name handling for profiles.
2023-10-13 18:58:17 +02:00
Liderate 067ae9c89d Improve invalid name handling for profiles 2023-10-13 01:08:20 -04:00
Jeremy Rimpo f8d02faf71 Merge pull request #1901 from ModOrganizer2/translation_bump
Update translations and version
2023-10-09 02:51:44 -05:00
Jeremy Rimpo c92285bb20 Update translations and version 2023-10-09 02:26:42 -05:00
Jeremy Rimpo 16977b5159 Merge pull request #1899 from ModOrganizer2/overlay_support
Additional overlay plugin support
2023-10-08 13:05:11 -05:00
Jeremy Rimpo 028c8eafa9 Additional overlay plugin support
* Add isOverlayFlagged to IPluginList
* Further notate plugin list
* Rename to match xEdit / Wrye / LOOT
* Update counter
2023-10-08 04:17:07 -05:00
Jeremy Rimpo 48e8fdff0d Merge pull request #1897 from ModOrganizer2/tutorial_translation_fixes
Tutorial translation updates
2023-10-05 09:17:40 -05:00
Jeremy Rimpo 09b8baac5a Tutorial translation updates 2023-10-04 13:57:44 -05:00
Jeremy Rimpo e9a5e5b274 Merge pull request #1895 from ModOrganizer2/discord_link
Discord link updates
2023-10-04 03:06:10 -05:00
Jeremy Rimpo 7e50a26c6a Merge pull request #1896 from ModOrganizer2/override_index_fix
Skip index for override plugins
2023-10-04 02:45:21 -05:00
Jeremy Rimpo 81082d70e2 Skip index for override plugins 2023-10-04 00:55:16 -05:00
Jeremy Rimpo 57e9b7e258 Discord link updates 2023-10-03 23:33:28 -05:00
Jeremy Rimpo f8a3d5b86e Merge pull request #1894 from ModOrganizer2/loot_0_22
WIP: Plugin sorting updates
2023-10-03 23:15:42 -05:00
Jeremy Rimpo b5ba8522d8 Merge pull request #1893 from ModOrganizer2/fix/directory-refreshed-qtimer
Fix QTimer being created on incorrect thread after refresh.
2023-10-02 20:21:11 -05:00
Jeremy Rimpo a705938ffd Allow moving force enabled plugins
- Mirrors LOOT functionality
- Rename 'forceEnabled' to 'forceLoaded' to better reflect the difference
2023-10-02 18:30:03 -05:00
Jeremy Rimpo 62e8ddc9ca Updates to refresh sort button after various events 2023-10-02 18:28:35 -05:00
Jeremy Rimpo c19fbb6818 Plugin sorting updates
- Add enabledPlugins for core plugins which are enabled but NOT auto-loaded (may need to be written to plugins.txt or have an ambiguous load order position)
- General Starfield updates
  - Add enabledPlugins for "BlueprintShips-Starfield.esm"
  - Disable plugin management if sTestFile is in use (also applies to FO4)
  - Write the enabledPlugins to plugins.txt to enforce base game load order
  - Allow for LOOT sorting (dynamic based on settings)
- Incorporate enabledPlugins into force enabled plugins in plugin list
- Update various interface layers

TODO: Fix sort button to dynamically update if status changes
TODO: Auto refresh lists if the INI Editor is closed
2023-10-02 15:27:14 -05:00
Mikaël Capelle 0d5f023f76 Fix QTimer being created on incorrect thread after refresh. 2023-10-02 22:23:37 +02:00
Jeremy Rimpo 34ad5d85ed Merge pull request #1892 from ModOrganizer2/settings_refresh
Refresh the esp/bsa lists after closing settings
2023-10-02 09:46:10 -05:00
Jeremy Rimpo ee8dbed66c Refresh the esp/bsa lists after closing settings
- Should resolve issues with certain settings not 'applying' immediately
- For example: Starfield 'enable plugin management' setting
2023-10-01 20:13:36 -05:00
Mikaël Capelle ff0eb2fb70 Refresh Callback (+ Extra for AboutToRun) (#1884)
* Add working directory and arguments to onAboutToRun (optional).

* Add onRefreshCallback functionality.
2023-09-29 08:23:52 +02:00
Jeremy Rimpo 63f663ac8a Translation updates 2023-09-28 22:15:36 -05:00
Jeremy Rimpo 11d106ec0b Merge pull request #1887 from ModOrganizer2/race_fix
Attempt to fix possible race condition
2023-09-28 13:27:15 -05:00
Jeremy Rimpo 590801329d Attempt to fix possible race condition 2023-09-28 03:32:36 -05:00
Jeremy Rimpo e7ee47b6e2 Merge pull request #1883 from ModOrganizer2/tutorial_updates
Tutorial updates
2023-09-27 15:28:04 -05:00
Jeremy Rimpo 79d457f598 Merge pull request #1880 from ModOrganizer2/qt6-category
WIP: Category Revamp
2023-09-25 17:39:41 -05:00
Jeremy Rimpo 523ea046a9 Tutorial updates
- Add ability to exit tutorial early
- Update and clarify many of the tutorials
2023-09-25 17:34:41 -05:00
Jeremy Rimpo 74668b9363 Fixes for table
* row increment needs to be before the logic but after the ID check/continue
* avoid running context menu logic on null rows
2023-09-24 19:03:08 -05:00
Jeremy Rimpo cdc16dfbb2 Use c++11 for loop 2023-09-24 14:36:52 -05:00
Jeremy Rimpo c30b5183ae Convert for loops, move nexusCats 2023-09-24 05:54:27 -05:00
Jeremy Rimpo 11522cf700 Remove unnecessary plugincontainer from settings 2023-09-23 22:24:09 -05:00
Jeremy Rimpo 4bd860a0d2 Remove download refresh scoped blocker
- Accidentally added to this branch
2023-09-23 21:51:41 -05:00
Jeremy Rimpo 5f14c57555 Unnecessary class definition 2023-09-23 21:35:29 -05:00
Jeremy Rimpo 5d67b8dd21 Remove extraneous function 2023-09-23 21:02:52 -05:00
Jeremy Rimpo efdff42d5f Make category struct attributes private 2023-09-23 20:59:40 -05:00
Jeremy Rimpo b7d4d20bf1 Revert TS 2023-09-23 19:04:01 -05:00
Jeremy Rimpo a67a919e54 Revert version.rc
I think VS did this when I tried to use the GUI
2023-09-23 19:03:07 -05:00
Jeremy Rimpo e22331fa03 Restructure category refresh action
- Remove plugins class
- Route signals to run Nexus API call from MainWindow
- Pass Dialog instance to route response data
- Revert CategoryFactory::instance to return reference
2023-09-23 19:00:41 -05:00
Jeremy Rimpo 31a85a3db5 Reassign filter group for category classes 2023-09-22 13:50:31 -05:00
Jeremy Rimpo aff3e09873 Add UI file 2023-09-22 02:41:32 -05:00
Jeremy Rimpo 7c900bb1c8 Add new dialog for category import
- Merge or replace strategies
- Nexus mappings are optional
- If mappings are applied, remapping is optional
2023-09-21 21:04:45 -05:00
Jeremy Rimpo d2e48ed72e Fix rebase issues 2023-09-21 17:43:29 -05:00
Jeremy Rimpo 133c072eb7 Rework download category parsing
- Bypasses issue where hidden downloads are not accessible
- getCategoryID no longer necessary
2023-09-21 17:35:08 -05:00
Jeremy Rimpo 639fc787bf Update new instance / migration dialogs 2023-09-21 17:35:08 -05:00
Jeremy Rimpo e18452ee76 Category dialog tweaks for clarity 2023-09-21 17:35:08 -05:00
Jeremy Rimpo 049a7e2efd Dialogs and bugfixes 2023-09-21 17:35:08 -05:00
Jeremy Rimpo f8b015220d Cleanup 2023-09-21 17:35:08 -05:00
Jeremy Rimpo 59bc9e3167 Make the category table sortable 2023-09-21 17:35:08 -05:00
Jeremy Rimpo c50ad58843 Add nexus category ID to mod info
- We will check the mod info first then fall back to the download file
- Add category field in the info dialog nexus tab
2023-09-21 17:35:08 -05:00
Jeremy Rimpo f6bb73deb2 Clang cleanup 2023-09-21 17:35:05 -05:00
Jeremy Rimpo 4342fe3ce1 Several updates
* No longer cause an error when deleting a category that's being used
* Add a dialog when installing a mod with no Nexus mapping (if not disabled)
* Allow disabling Nexus category mapping in Settings (Nexus tab)
* Add context option to remove nexus mappings in the category editor
* Some clang style fixes
2023-09-21 17:32:37 -05:00
Jeremy Rimpo 6dfe55f444 Fix archive parsing and BSA invalidation 2023-09-21 17:31:32 -05:00
Jeremy Rimpo 41c4d09229 Fix merge issues 2023-09-21 17:30:35 -05:00
Jeremy Rimpo fba3d52f56 Preserve old category if Nexus category can't be mapped 2023-09-21 17:29:40 -05:00
Jeremy Rimpo 05edcc8ab4 C++20 fixes 2023-09-21 17:29:38 -05:00
Jeremy Rimpo eeddc993a7 Add reminder dialog for old instances 2023-09-21 17:27:49 -05:00
Jeremy Rimpo 9a801f6501 Don't overwrite existing Nexus category mappings 2023-09-21 17:27:33 -05:00
Jeremy Rimpo 8f31a1ceec Category setup dialog for new instances 2023-09-21 17:27:17 -05:00
Jeremy Rimpo 3243101eed Fix issues with category reset and NX save 2023-09-21 17:25:46 -05:00
Jeremy Rimpo b9f05672b9 Allow remapping category from context menu 2023-09-21 17:24:57 -05:00
Jeremy Rimpo 535623693e Add menu item to auto-assign categories based on nexus assignments 2023-09-21 17:23:34 -05:00
Jeremy Rimpo 69f953a3fb Refactoring for upstream merge 2023-09-21 17:22:03 -05:00
Jeremy Rimpo 6016b04ef0 Fix rebase issue 2023-09-21 17:14:55 -05:00
Silarn 375b8e613e Implement drag & drop nexus cat assignment 2023-09-21 17:12:17 -05:00
Silarn 2f7478f8fc WIP: Fix data storage and fix loading 2023-09-21 17:11:59 -05:00
Silarn f764271b1f WIP: Refactor cat dialog and implement nex cat updates 2023-09-21 17:10:39 -05:00
Silarn 127db7799e WIP: Category QObj refactor 2023-09-21 17:03:43 -05:00
Silarn 4fd45b937c WIP: Initial changes to fetch nexus categories 2023-09-21 16:54:49 -05:00
Silarn 0b6afd6a9a Add new API connection to retrieve game info 2023-09-21 16:46:52 -05:00
Jeremy Rimpo 83f9af3d3e First pass for Qt6 compatibility 2023-09-21 16:30:41 -05:00
Jeremy Rimpo 7050927540 Default profile settings (#1869)
* Fix archive parsing and BSA invalidation
2023-09-19 18:19:39 +02:00
Eddoursul 59b5b1cfca Download files from direct URLs via a command line parameter (#1873)
* Download files via a command line parameter
* Use a GET parameter to predetermine Content-Disposition header in S3-compatible temporary URLs
2023-09-18 19:48:13 +02:00
Jeremy Rimpo a6879e2c63 Merge pull request #1863 from ModOrganizer2/starfield
Starfield Support
2023-09-17 16:13:26 -05:00
Jeremy Rimpo f2a784ed70 Allow unforced plugins to be checkable again 2023-09-16 03:21:18 -05:00
Jeremy Rimpo dff79a6cc0 Bumping version since betas are pulling ahead 2023-09-15 21:31:17 -05:00
Jeremy Rimpo 800c2ea084 Context menu fix
Prevent changing the status of force disabled or enabled plugins via the context menu
2023-09-15 21:30:07 -05:00
Mikaël Capelle 1387f6aefe Merge pull request #1870 from LePresidente/master
Update readme.md with new discord links
2023-09-15 14:38:09 +02:00
Brian Munro 6e9e4482c1 Update readme.md with new discord links 2023-09-13 10:46:21 +02:00
Jeremy Rimpo d15a87b0e6 Fix lint issues 2023-09-13 03:23:47 -05:00
Jeremy Rimpo b1f3c7ea51 Fix merge issues and small plugin display corrections 2023-09-12 16:53:45 -05:00
Jeremy Rimpo 3dc00922ed Changes for None-type plugin sorting
* Display checkboxes for all plugins
* Disable checkboxes for force enabled/disabled plugins
* Display tooltip data for all plugins regardless of force status
2023-09-12 15:08:21 -05:00
Jeremy Rimpo d586bb23e9 Code cleanup 2023-09-09 05:13:48 -05:00
Jeremy Rimpo 94455c2dab Add 'None' LoadOrderMechanism which disables managed plugins
- Primary plugins are still marked as loaded
2023-09-09 04:37:03 -05:00
Jeremy Rimpo 58cc25f322 Implement 'override' plugin support 2023-09-05 13:25:01 -05:00
Jeremy Rimpo e0d6bb12bf Update translation files 2023-09-05 00:09:41 -05:00
Jeremy Rimpo 6b0b7a1cec beta 2 2023-09-05 00:08:10 -05:00
Jeremy Rimpo 5bb4a2aae7 Merge remote-tracking branch 'origin/qt6' 2023-09-04 22:28:46 -05:00
Jeremy Rimpo fdc4ebd18c Map multiple data directories to USVFS 2023-09-04 22:20:25 -05:00
Jeremy Rimpo 3f33571a18 Add VDF reader to licenses and update openssl 2023-09-04 20:08:21 -05:00
Jeremy Rimpo 69e73933b9 Version bump 2023-09-04 19:43:07 -05:00
Jeremy Rimpo 978b4b234b Parse secondary data directories into the directory structure 2023-09-04 19:40:09 -05:00
Mikaël Capelle c8e247f900 Merge pull request #1842 from Holt59/dev/mob-github-action
Switch to generic mob Github action.
2023-07-10 19:49:58 +02:00
Mikaël Capelle 92689d124a Switch to generic mob action. 2023-07-10 19:04:09 +02:00
Mikaël Capelle 0dd04fbdb6 Merge pull request #1841 from ModOrganizer2/fix/fix-pch-include-order
Fix order of includes in pch.h.
2023-07-09 21:32:48 +02:00
Mikaël Capelle 9ddde468ea Fix order of includes in pch.h. 2023-07-09 21:32:30 +02:00
Mikaël Capelle 26d32db436 Merge pull request #1840 from ModOrganizer2/ci/fix-build-on-pr
Fix build on PR
2023-07-09 18:18:49 +02:00
Mikaël Capelle 6c0d1ccb5a Fix build CI. 2023-07-09 18:17:54 +02:00
Mikaël Capelle 27cf8372aa Merge branch 'master' of github.com:ModOrganizer2/modorganizer 2023-07-09 17:36:09 +02:00
Mikaël Capelle ef94aee284 Merge pull request #1839 from Holt59/ci/initial-gh-action-for-build
Clang-Format + Github Workflow
2023-07-09 17:36:03 +02:00
Mikaël Capelle 3de050e9c0 Create test action to build. 2023-07-09 17:25:28 +02:00
Mikaël Capelle fc8bdd073f Create test action to build. 2023-07-09 17:23:16 +02:00
Mikaël Capelle 78b0c89203 Add .git-blame-ignore-revs. 2023-07-09 17:22:39 +02:00
Mikaël Capelle d13f6bb870 Apply clang-format. 2023-07-09 17:20:40 +02:00
Mikaël Capelle 86bb01ba9e Convert everything to CRLF. 2023-07-09 17:17:53 +02:00
Mikaël Capelle 7d6cb8528d Merge pull request #1837 from Holt59/fix/install-notify-plugins-after-structure-ready
Notify mod installation to plugins after directory structure is ready.
2023-07-05 19:39:18 +02:00
Mikaël Capelle 05059793b8 Notify mod installation to plugins after directory structure is ready. 2023-07-03 20:32:58 +02:00
Mikaël Capelle a95d3fa248 Merge pull request #1703 from ModOrganizer2/fix-progressbar-style
Fix progressbar style
2022-05-14 20:45:16 +02:00
Mikaël Capelle 45b648ba21 Fix QProgressBar margin in style. 2022-05-14 20:44:54 +02:00
Mikaël Capelle e8c65d7779 Merge pull request #1701 from ModOrganizer2/rollback-stylesheets
Rollback stylesheets change for Qt6 to fix highlighting.
2022-05-10 21:13:48 +02:00
Mikaël Capelle 37c9e13c60 Rollback stylesheets change for Qt6 to fix highlighting. 2022-05-10 21:13:22 +02:00
Mikaël Capelle c5a203f448 Bump to 2.5.0-alpha3. 2022-05-08 14:24:43 +02:00
Jeremy Rimpo 21bca0ca8d Merge pull request #1698 from ModOrganizer2/download_speed_fix
Extend download speed datatypes to qint64/long long to avoid overflow
2022-05-04 10:56:33 -05:00
Jeremy Rimpo 25e2e59888 Extend download speed datatypes to qint64/long long to avoid overflow 2022-05-04 09:14:12 -05:00
Mikaël Capelle 318b8a5671 Merge pull request #1697 from ModOrganizer2/fix-vs15-dark
Fix V15 dark themes
2022-05-03 21:34:08 +02:00
Mikaël Capelle 65eaeb848f Fix and clean VS15 Dark themes. 2022-05-03 21:29:09 +02:00
Mikaël Capelle a55fcd64d3 Bump to 2.5.0-alpha2. 2022-05-02 22:37:09 +02:00
Mikaël Capelle 060ca725bf Merge pull request #1696 from ModOrganizer2/python-rework
Plugin updates (python rework)
2022-05-02 20:32:00 +02:00
Mikaël Capelle abe926dc15 Allow Qt plugins in subfolder. 2022-05-02 17:04:04 +02:00
Mikaël Capelle 14c6ee4d27 Ties plugin to the PluginContainer. 2022-05-02 17:04:04 +02:00
Mikaël Capelle 7a4cdc8f81 Merge pull request #1636 from LostDragonist/supporturl
Add wiki linkage for games
2022-05-02 17:02:48 +02:00
Mikaël Capelle 8e0970235b Set OUTPUT_NAME before configuring. 2022-04-28 19:24:07 +02:00
Mikaël Capelle d998f9f493 Minor fixes. Add gamebryo translations. 2022-04-20 00:33:39 +02:00
Mikaël Capelle 712fbb4aff Update following cmake_common changes.
# Conflicts:
#	CMakeLists.txt
#	src/CMakeLists.txt
#	src/organizer_en.ts
2022-04-19 15:24:09 +02:00
Jeremy Rimpo ab76e5212f C++20 fixes 2022-04-19 15:17:44 +02:00
Chris Bessent 5a41b73e41 Update version to 2.4.5alpha1 2022-04-19 15:17:44 +02:00
Jeremy Rimpo d51b5bf060 Update to alpha 1 2022-04-19 15:17:44 +02:00
Jeremy Rimpo 5897ce138b Decrease rolling window size for download speed 2022-04-19 15:17:44 +02:00
Jeremy Rimpo adee725bb3 Restore HTTP/2 and set configuration
> Window size values reflect those used in Firefox and Chrome
2022-04-19 15:17:44 +02:00
Jeremy Rimpo ec4a98c662 Add 'right' tag to bbcode parser 2022-04-19 15:17:44 +02:00
Jeremy Rimpo 2fabe99830 Patch for slow download speeds
- Disable HTTP/2 protocol
- Not ideal, might be able to adjust QHttp2Configuration settings
2022-04-19 15:17:44 +02:00
Jeremy Rimpo 05d01e39fa Download status improvements
- Better speed calculation
- Add download time estimate
2022-04-19 15:17:43 +02:00
Jeremy Rimpo 2017700eed Translation fixes 2022-04-19 15:17:43 +02:00
Jeremy Rimpo af0337d5b4 Better nexus network errors 2022-04-19 15:17:43 +02:00
Jeremy Rimpo 35ca9ce0ba Fix webkit obsolete tag error 2022-04-19 15:17:43 +02:00
Mikaël Capelle 034ef8dfa6 Update version RC
# Conflicts:
#	src/version.rc
2022-04-19 15:17:39 +02:00
Jeremy Rimpo 20b3f2d705 Fix tutorial error message 2022-04-19 15:17:23 +02:00
Jeremy Rimpo f6c690e31f Fix BBCode parsing 2022-04-19 15:17:23 +02:00
Jeremy Rimpo a99d0930c7 Remove incompatible QDDS plugin 2022-04-19 15:17:23 +02:00
Jeremy Rimpo 02667f8fde Fix BBCodes 2022-04-19 15:17:23 +02:00
Jeremy Rimpo abe3f6b191 TLS debugging 2022-04-19 15:17:23 +02:00
Jeremy Rimpo fb4cd4375c Remove dependency on Core5Compat 2022-04-19 15:17:23 +02:00
Jeremy Rimpo c4b2be45d2 First pass for Qt6 compatibility 2022-04-19 15:17:23 +02:00
Chris Bessent ec01532ecb Bump version to 2.4.5 alpha 3 2022-03-27 00:58:26 -07:00
Chris Bessent 3b5aeebb72 Merge pull request #1661 from LostDragonist/censor
Hopefully restrict username censoring to directories
2022-03-27 00:57:12 -07:00
Al 1929e5e57b Merge pull request #1676 from LostDragonist/master
Make fixes to ESM plugin priorities
2022-03-20 10:56:21 +01:00
Chris Bessent cfe03a8561 Make fixes to ESM plugin priorities
Before now, MO2 only looked at the ESM flag of a plugin and didn't
look for an .esm extension. This is incorrect and an .esm file
should be treated as implicitly having the ESM flag.

This also removes some apparently unused functions.
2022-03-19 22:21:54 -07:00
Chris Bessent 164c6af962 Merge pull request #1670 from Qudix/isX
Add/Change IPluginList `hasXExtension` and `isXFlagged` methods
2022-03-19 21:10:24 -07:00
Chris Bessent c6874c1771 Merge pull request #1671 from MarkKoz/bug/1589/category-id-conflict
Fix tattoo's category ID conflicting with voice's ID
2022-03-19 21:06:56 -07:00
Qudix 8fb36b0b28 Change isXFile to hasXExtension 2022-03-19 20:00:43 -05:00
MarkKoz 8159a476cf Fix tattoo's category ID conflicting with voice's ID
Fix #1589
2022-02-28 17:01:31 -08:00
Qudix 0b9c96e845 Rename isX to isXFile, and deprecate isMaster
Also made sure to not change existing behaviour
2022-02-24 19:54:31 -06:00
Qudix 6d73f9a18a Add isMasterFlagged to pluginCount 2022-02-24 18:36:02 -06:00
Qudix 5b855f2e19 Add isMasterFlagged isLight isLightFlagged
Note: The behavior of isMaster has been changed to match isLightFlagged
2022-02-24 18:34:10 -06:00
Chris Bessent 21487ad8ee Hopefully restrict username censoring to directories 2022-02-04 17:30:50 -07:00
Chris Bessent e78f46cc9e Update version to 2.4.5alpha2 2022-01-23 21:59:52 -07:00
Chris Bessent 25cdbe3918 Merge pull request #1654 from LostDragonist/loadorder
Loadorder
2022-01-23 11:33:01 -07:00
Chris Bessent da4a013590 Update version to 2.4.5alpha1 2022-01-23 11:29:53 -07:00
Chris Bessent 0b14cc4753 Enforce the priority rules on every refresh 2022-01-23 11:11:22 -07:00
Chris Bessent cee8d5ed72 Enforce relationships between plugins
Masters must be above their children and children must
be below their masters.  Currently only applies when trying
to move plugins.
2022-01-23 11:11:22 -07:00
Chris Bessent 0783eb373b Fix possible NPE when booting up 2022-01-23 11:11:22 -07:00
Chris Bessent feb411fb2a Force priority of primary plugins
This fixes a problem with new instances where the primary plugins
would be ordered alphabetically instead of in the correct order.
2022-01-23 08:25:58 -07:00
Chris Bessent 3b1ee9d43b Merge pull request #1652 from LostDragonist/trosski
Remove Trosski stylesheets (now pulled in by build system)
2022-01-15 12:13:24 -07:00
Chris Bessent 3f9020ea4b Remove Trosski stylesheets (now pulled in by build system) 2022-01-15 11:34:54 -07:00
Chris Bessent b4bbb09cb5 Merge pull request #1643 from ModOrganizer2/update_fix
Fix update checking for files not installed from the downloads
2022-01-05 12:12:03 -07:00
Chris Bessent 9fdf3b759d Fix update checking for files not installed from the downloads
This is the difference between "D:\Downloads\USSEP.7z" and
"USSEP.7z".
2022-01-02 04:54:22 -07:00
Chris Bessent 1df1ea5e11 Bump version to 2.4.4 2021-12-27 02:03:08 -07:00
Chris Bessent dfcbf45e1d Fix discord invite 2021-12-27 01:58:50 -07:00
Chris Bessent eb7f5bb5d1 Add first start dialog and help menu entry 2021-12-27 00:34:45 -07:00
Chris Bessent 656b4fae4d Fix discord invite 2021-12-26 23:59:31 -07:00
Chris Bessent 1e5c019767 Bump version to 2.4.3 2021-12-25 14:54:32 -07:00
Chris Bessent d41fbfd7e1 Bump version to 2.4.3rc3 2021-12-23 13:29:21 -07:00
Chris Bessent 2626649cc6 Bump version to 2.4.3 RC 2 2021-12-19 12:19:29 -07:00
Chris Bessent 8d08d7f6ba Update about dialog 2021-12-17 19:46:42 -07:00
Chris Bessent d30a095b3e Bump version to 2.4.3rc1 2021-12-17 05:57:40 -07:00
Chris Bessent b5efa60db9 Fix optional access on profiles dialog 2021-12-07 06:46:28 -07:00
Chris Bessent d82f196aa5 Bump version to 2.4.3alpha4 2021-11-26 13:39:28 -07:00
Chris Bessent 9f8827e3a5 Fix parsing plugins with dots in name 2021-11-26 13:37:28 -07:00
Chris Bessent d58f773c76 Don't blacklist empty usernames and passwords 2021-11-25 13:00:15 -07:00
Chris Bessent 01ad45c7aa Update translations 2021-11-23 20:58:03 -07:00
Chris Bessent 13bdf538a8 Bump version to 2.4.3alpha3 2021-11-23 20:12:03 -07:00
Chris Bessent fc40619fd9 Merge pull request #1621 from LostDragonist/misc_fixes
Misc fixes
2021-11-23 20:05:29 -07:00
Chris Bessent 565f2fddf4 Blacklist %USERNAME% from the log in case it contains PII 2021-11-23 17:48:40 -07:00
Chris Bessent 1d80c547d7 Blacklist Steam username and password from the log 2021-11-23 17:19:00 -07:00
Chris Bessent 1755f526c9 Fix extension parsing for the plugin list
The old code was just looking at the last three letters of the filename instead of looking for any kind of proper extension. This led to something like "alice.__esp" being considered a plugin which is just wrong.
2021-11-23 11:49:44 -07:00
Chris Bessent a1e953f409 Don't add invalid games to the "visit Nexus" list 2021-11-22 21:05:49 -07:00
Chris Bessent b1db3019f4 Fix selecting a new profile
This fixes clicking the "select" button in the profiles dialog when a newly created profile is selected. This was broken as the profile was being selected before the profile was added to the list of selections.

Fixes #1489
2021-11-22 17:12:51 -07:00
Chris Bessent cf137606fd Add Brave to the default blacklist
Fixes #1592
2021-11-22 17:12:51 -07:00
Chris Bessent 9644fef8bd Update Windows detection
Windows 11 reports itself as Windows 10 using the methods normally employed.  Microsoft seems to want people to use the BuildId to identify the version of Windows but I'm going to refuse to do that because it's stupid.

This change also prefers DisplayVersion over ReleaseId as somehow I have both and DisplayVersion is more correct (21H2 vs 2009).  /shrug.

Fixes #1607
2021-11-22 17:12:51 -07:00
Chris Bessent 1077a5bad0 Allow portable instances to set custom paths
Fixes #1610
2021-11-22 17:12:51 -07:00
Chris Bessent 57acd4949b Fix tab order of create instance dialog 2021-11-22 17:12:50 -07:00
Al 6ab88d5de1 Merge pull request #1616 from rux616/template-update
Update old Discord server link
2021-11-19 18:13:30 +01:00
Dan Cassidy 4a687cbfcc Update old Discord server link 2021-11-19 14:14:09 +13:00
Al 6df197579f Merge pull request #1599 from Qudix/disable_cache
Disable qml cache
2021-10-16 16:18:46 +02:00
Qudix 1d20b993d7 Remove from instance ignore list 2021-10-15 21:23:42 -05:00
Qudix 468a8b9383 Disable qml cache 2021-10-15 20:52:51 -05:00
Al 081fa3ec93 Merge pull request #1588 from Qudix/menubar_alt
Add a toggle for the Alt key showing the menubar
2021-10-13 13:12:21 +02:00
Qudix b261f3a1e5 Revert row changes 2021-09-16 15:49:28 -05:00
Qudix acf1730093 Add a toggle for the Alt key showing the menubar 2021-09-11 20:42:20 -05:00
Chris Bessent b5800435aa Bump to version 2.4.3alpha2 2021-08-27 16:53:32 -07:00
Chris Bessent 0e9da8d4f5 Fix checking for updates when no installedFile 2021-08-26 17:57:08 -07:00
Chris Bessent ee745353d9 Merge pull request #1578 from LostDragonist/forcedlib
Enable forced libraries by default
2021-08-23 10:13:23 -07:00
Chris Bessent ae311dd4dc Escape ampersands in game names in instance window
These are technically buttons so Qt tries to make shortcuts.
2021-08-22 13:10:47 -07:00
Chris Bessent 1b2f85a371 Enable forced libraries by default 2021-08-22 11:48:27 -07:00
Al a279745aa2 Merge pull request #1558 from ModOrganizer2/facegen
Added Facegen content icon
2021-07-16 14:40:28 +02:00
AL ac8b67dd63 Added Facegen content icon (found and edited by Atlntssplayer, original creator: Exuin) 2021-07-16 14:37:30 +02:00
Al 9256739e3a Merge pull request #1555 from ModOrganizer2/nexus-archived-support
Nexus archived support
2021-07-16 12:31:29 +02:00
AL d413f673e8 Added ARCHIVED support for nexus update check and download query.
Use FileStatus enum instead of scattered int literals.
Re-wrote the update check code
2021-07-12 02:33:05 +02:00
AL 4bdb4aff50 Added enum for nexus mod file status (main, update, etc). 2021-07-12 00:07:55 +02:00
Al 58e5058a2b Merge pull request #1553 from ModOrganizer2/download-sorting
Sort filetimes from newer to older while sorting by status in downloadlist
2021-07-10 20:59:47 +02:00
AL 197f619335 Sort filetimes from newer to older while sorting by status in downloadlist 2021-07-10 20:48:24 +02:00
Al 4e3d7d0180 Merge pull request #1552 from ModOrganizer2/fix-no-compile
Fix compiler error due to using same name for new dialog (VS v16.10.3)
2021-07-10 20:40:41 +02:00
AL b5cb1a2311 Fix compiler error due to using same name for new dialog (VS v16.10.3) 2021-07-10 20:36:36 +02:00
Al b5d04eff4f Update readme.md 2021-06-08 17:55:02 +02:00
Mikaël Capelle b2353278aa Merge pull request #1528 from Holt59/remove-boost-uibase
Update after removal of boost in uibase.
2021-05-27 15:43:26 +02:00
Mikaël Capelle 0bdfd4813f Update after removal of boost in uibase. 2021-05-26 20:03:08 +02:00
Mikaël Capelle e7f15ff4fd Merge pull request #1518 from LostDragonist/shortcut
Sanitize shortcut names as they result in files
2021-05-20 20:22:30 +02:00
Mikaël Capelle e8149a4b42 Merge pull request #1523 from Holt59/ignore-meta-filetree
Add option to ignore root meta.ini when creating IFileTree for QDir.
2021-05-20 20:21:17 +02:00
Mikaël Capelle d531245dea Merge pull request #1524 from Holt59/iorganizer-virtualfiletree
Add IOrganizer::virtualFileTree().
2021-05-20 20:20:45 +02:00
Mikaël Capelle ac38371648 Add IOrganizer::virtualFileTree(). 2021-05-14 14:40:15 +02:00
Mikaël Capelle c44b1cb3a3 Add option to ignore root meta.ini when creating IFileTree for QDir. 2021-05-12 20:41:41 +02:00
Chris Bessent 2a5dd6c7cf Bump to version 2.4.2 2021-05-11 06:25:20 -07:00
Chris Bessent ef5b9228da Sanitize shortcut names as they result in files 2021-05-06 03:44:40 -07:00
Chris Bessent ce2450885c Bump version to 2.4.2rc1.1 2021-05-01 19:38:14 -07:00
Chris Bessent d78cb58593 Update translation file 2021-05-01 17:53:37 -07:00
Chris Bessent 2c54d128b4 Add some more Microsoft Store errors 2021-05-01 17:10:27 -07:00
Chris Bessent f71288db16 Bump to 2.4.2 RC 1 2021-05-01 15:23:16 -07:00
Chris Bessent 8bac17c2c5 Merge pull request #1508 from LostDragonist/gamepass
Add log for Microsoft Store / Gamepass installs
2021-05-01 15:21:45 -07:00
Chris Bessent 4509911a8e Add log for Microsoft Store / Gamepass installs 2021-05-01 15:18:15 -07:00
Chris Bessent f098491306 Merge pull request #1503 from LostDragonist/filename
Sanitize download file names
2021-05-01 14:38:17 -07:00
Chris Bessent bcaceb9637 Merge pull request #1504 from LostDragonist/skipcwd
Ignore "." and ".." in archives
2021-05-01 14:38:10 -07:00
Chris Bessent b7e8e69f47 Merge pull request #1507 from LostDragonist/tutorials
Fix up tutorials
2021-05-01 14:37:59 -07:00
Chris Bessent a8bcbf6555 Fix up tutorials 2021-04-30 08:41:29 -07:00
Chris Bessent aafd523736 Merge pull request #1505 from LostDragonist/foresto
Add foresto as a contributor
2021-04-29 02:02:19 -07:00
Chris Bessent 4a9da205cd Merge pull request #1485 from foresto/patch-1
Reduce log level of harmless failures
2021-04-29 02:02:05 -07:00
Chris Bessent 68e7820154 Add foresto as a contributor 2021-04-29 02:01:38 -07:00
Chris Bessent 3c6190d713 Merge pull request #1470 from isanae/filtered-nav-crash
Crash for next/previous in mod info dialog
2021-04-29 01:59:05 -07:00
Chris Bessent 1197b562f6 Merge pull request #1496 from LostDragonist/nexus_links
Change the "Visit Nexus" button to support alternate sources
2021-04-29 01:57:13 -07:00
Chris Bessent 7df5329ea0 Merge pull request #1497 from LostDragonist/profile_fix
Fix selecting the profile in the dialog
2021-04-29 01:56:52 -07:00
Chris Bessent dc3dcd9500 Fix fixDirectoryName includes 2021-04-29 01:50:23 -07:00
Chris Bessent cc8fb9bd23 Ignore "." and ".." in archives 2021-04-29 01:29:38 -07:00
Chris Bessent 9638a797d1 Sanitize download file names
Also switch instance name sanitizer to MOBase version
2021-04-29 00:50:11 -07:00
Chris Bessent 8308dfcbff Fix selecting the profile in the dialog
Previously, when clicking the "select" button in the profiles
dialog (when the dialog was launched in the menu or toolbar),
everything would be refreshed without checking the selected
profile in the dialog.

Now, the selected profile is set with some signal blocking to
help prevent redundant refreshes from occurring.
2021-04-25 05:09:58 -07:00
Chris Bessent dfbaed0ade Add a separator after the primary game and sort the secondary games 2021-04-25 04:45:35 -07:00
Chris Bessent e475893ff4 Change the "Visit Nexus" button to support alternate sources
If a game plugin supports more than one Nexus site for downloads,
the "Visit Nexus" button will be turned into a drop-down that
lets you select each site.
2021-04-25 04:13:12 -07:00
Al 40a4bf1e3a Update issue templates 2021-04-08 16:51:11 +02:00
Forest 3ee2598533 Reduce log level of harmless failures
These two messages (along with their glaring red X icons) are cluttering up the log on linux/wine systems, misleading people who are trying to diagnose real problems. Let's reduce their log priority to make it clear that they're harmless.

As mentioned here:
https://github.com/ModOrganizer2/modorganizer/issues/372#issuecomment-575231673
2021-04-05 23:10:54 -07:00
isanae 234ee923fe model() can return null for invalid indexes
happens when looking at the mod info for a mod filtered out of the mod list
2021-03-20 14:51:44 -04:00
Mikaël Capelle 88ee41ae85 Bump to 2.4.1. 2021-03-20 17:03:36 +01:00
Mikaël Capelle 8a29bc5110 Bump to 2.4.1 RC2. 2021-03-14 20:08:58 +01:00
Mikaël Capelle 77dbd7ff31 Merge pull request #1465 from Holt59/fix-saves-tab-header
Stretch last section in the Saves tab.
2021-03-14 20:08:30 +01:00
Mikaël Capelle 7fab050adb Stretch last section in the Saves tab. 2021-03-14 20:07:09 +01:00
Mikaël Capelle b547045203 Bump to 2.4.1rc1.1. 2021-03-14 20:00:00 +01:00
Mikaël Capelle fcd2e1473f Merge pull request #1462 from Holt59/fix-stylesheets-qscrollarea
Remove border on QScrollArea from stylesheets.
2021-03-13 16:06:18 +01:00
Mikaël Capelle 287dd6d805 Remove border on QScrollArea from stylesheets. 2021-03-13 16:05:43 +01:00
Mikaël Capelle 717c2ca9cf Bump to 2.4.1rc1 and update translations. 2021-03-12 20:51:46 +01:00
Mikaël Capelle abd1a11768 Merge pull request #1449 from isanae/uilocker-disabled
Disabled uilocker for child dialogs
2021-03-03 18:52:55 +01:00
Mikaël Capelle 34636301ea Merge pull request #1447 from LostDragonist/settings_resize
Add scrollbars to some settings tabs to reduce minimum size
2021-03-03 18:52:46 +01:00
Mikaël Capelle f298ea0ae3 Merge pull request #1443 from Holt59/fix-savegame-name
Display savegame name and filepath in saves tab.
2021-03-03 18:52:28 +01:00
Chris Bessent eee1b4b3f1 Put stylesheet stuff into .ui file instead 2021-03-02 21:20:23 -07:00
isanae 00120605fb don't disable dialogs that are children of other dialogs 2021-03-02 14:41:23 -05:00
Mikaël Capelle 32088b47f1 Merge pull request #1446 from LostDragonist/disabled_plugins
Allow plugins to disable themselves by default
2021-03-02 19:27:24 +01:00
Chris Bessent 726b381ea7 Add scrollbars to some settings tabs to reduce minimum size
The previous minimum size was around 450 x 560px.  At a DPI scaling
of 200%, this means 900 x 1120px which extends off the typical 1080p
screen.  Why is someone using 200% scaling on a 1080p screen?  I have
no clue.

Now, the minimum size is around 450 x 410px for 900 x 820 px at 200%
scaling.  Which works for anything short of a 1376 x 768 screen at
200% scaling which I just don't really care about.
2021-03-02 04:07:46 -07:00
Chris Bessent 071550f7fb Allow plugins to disable themselves by default 2021-03-02 02:41:16 -07:00
Mikaël Capelle f8a50edd0f Merge pull request #1444 from LostDragonist/lockedorder
Fix load order when using locked plugins
2021-03-01 19:21:24 +01:00
Mikaël Capelle 08c7113ecb Merge pull request #1439 from Holt59/fix-downloadlist
Fix download list sorting.
2021-03-01 19:21:15 +01:00
Mikaël Capelle d436fe8cb3 Merge pull request #1442 from Holt59/fix-createempty-mod
Fix priority for 'Create Empty Mod'.
2021-03-01 19:21:06 +01:00
Chris Bessent d5183ebe6b Fix load order when using locked plugins 2021-02-27 18:50:45 -07:00
Mikaël Capelle c72326ee4b Display savegame name and filepath in saves tab. 2021-02-27 12:42:37 +01:00
Mikaël Capelle 75e90f2f3f Fix priority for 'Create Empty Mod'. 2021-02-27 10:36:17 +01:00
Mikaël Capelle be012715f3 Fix download list sorting. 2021-02-26 21:32:39 +01:00
Mikaël Capelle 2b86a14c86 Merge pull request #1437 from Holt59/fix-sendtoseparator
Fix 'Send to separator... ' in descending priority.
2021-02-26 21:12:04 +01:00
Mikaël Capelle c96c01f40e Fix 'Send to separator... ' in descending priority. 2021-02-24 20:07:55 +01:00
Mikaël Capelle d6edc5d6b7 Merge pull request #1433 from Holt59/fix-bycategory-sorting
Fix sorting by priority when grouping by priority.
2021-02-24 18:35:18 +01:00
isanae 4040dc12b7 Merge pull request #1436 from isanae/tutorial-fix
Fix tutorial stuck on mod info dialog
2021-02-24 05:46:48 -05:00
isanae d4fc7c3de1 emit modInfoDisplayed, it's required by the tutorial 2021-02-24 04:57:54 -05:00
Mikaël Capelle 27c4861907 Fix sorting by priority when grouping by priority. 2021-02-23 19:16:18 +01:00
Mikaël Capelle 8decb9df68 Merge pull request #1431 from Holt59/fix-update-filter
Switch back to invalidating filter when receiving mod updates.
2021-02-23 17:23:08 +01:00
Mikaël Capelle 8365f26d83 Merge pull request #1424 from isanae/dl-share
Network shares for envfs
2021-02-23 17:19:53 +01:00
Mikaël Capelle 0ca21d9a5e Merge pull request #1429 from Holt59/fix-stylesheets
Fix stylesheets for 2.4.
2021-02-23 17:19:43 +01:00
Mikaël Capelle f60d0e5ec6 Fix stylesheets for 2.4. 2021-02-23 09:38:52 +01:00
isanae d22d77d921 handle network shares for NtOpenFile()
changed error messages to use formatNtMessage(), which handles NTSTATUS errors
2021-02-22 18:28:07 -05:00
Mikaël Capelle 7084021067 Merge pull request #1418 from Holt59/master
Bump version to 2.4.0 and update translation.
2021-02-21 18:01:12 +01:00
Mikaël Capelle 1dd2acf07f Bump version to 2.4.0 and update translation. 2021-02-21 17:56:44 +01:00
isanae 3fad475013 Merge pull request #1416 from isanae/plugin-blacklist
Broken plugins blacklist
2021-02-21 11:50:32 -05:00
Mikaël Capelle 010a5d80d6 Switch back to invalidating filter when receiving mod updates. 2021-02-21 11:12:16 +01:00
isanae 2bd755743c clarified comment 2021-02-20 12:49:08 -05:00
isanae 9eb1dd0ec0 clearPlugins() must be called to load the blacklist or it will be empty when loadPlugins() runs 2021-02-20 05:03:17 -05:00
isanae e473caf14a Merge pull request #1415 from isanae/master
2.4rc3
2021-02-19 18:23:01 -05:00
isanae 1c87f1d8d4 rc3 2021-02-19 18:21:53 -05:00
Mikaël Capelle bb6cde175a Bump version to 2.4.0. 2021-02-19 20:08:47 +01:00
Mikaël Capelle bd93864ed2 Merge pull request #1409 from isanae/portable-loop
Portable instance loop.
2021-02-13 18:25:39 +01:00
isanae 406d6f28c0 force instance selection when the current instance cannot be used
the problem is that an empty instance name means the portable instance, but MO clears the name when it needs instance selection, which can create a loop if the portable instance can't be used
2021-02-13 07:54:05 -05:00
Mikaël Capelle ee4c364ccc Bump version to 2.4.0rc2 and update translations. 2021-02-12 18:18:19 +01:00
Mikaël Capelle 607fafa364 Merge pull request #1408 from isanae/portable-shortcuts
Fixes for portable shortcuts
2021-02-12 18:09:15 +01:00
Mikaël Capelle 7dc28b10d9 Merge pull request #1407 from isanae/processes-in-job
Fixes for processesInJob()
2021-02-12 18:09:05 +01:00
Mikaël Capelle 9f0c8c31a6 Merge pull request #1405 from LostDragonist/update_fixes
Fixes for the update dialog window
2021-02-12 18:08:54 +01:00
Mikaël Capelle 2fe627c261 Merge pull request #1404 from Al12rs/fix_update_filter
Hopefully fix update filter not showing new mod updates.
2021-02-12 18:08:41 +01:00
Mikaël Capelle 879c37984e Merge pull request #1403 from Holt59/fix-steamappid-env-error
Do not return previous value in env::set and env::setPath.
2021-02-12 18:08:25 +01:00
Mikaël Capelle 1cf8a2bfee Merge pull request #1401 from ModOrganizer2/Al12rs-appveyorFix
Appveyor: artifact only the exe
2021-02-12 18:08:07 +01:00
Mikaël Capelle 7531a860cf Merge pull request #1400 from Holt59/fix-markers-conflicts-refresh
Better refresh of override markers and conflicts.
2021-02-12 18:07:56 +01:00
Chris Bessent 31c8415e88 Use release name for changelogs 2021-02-12 01:31:41 -07:00
isanae 48274f3357 - renamed instance::name() to displayName() to reduce confusion with portable instances
- better errors when running incorrect shortcuts
- fixed shortcuts being created with moshortcut://Portable:exe instead of an empty instance name for portable instances
2021-02-12 03:22:52 -05:00
Chris Bessent f486e6fa4e Updates to text, title and buttons 2021-02-11 18:39:06 -07:00
Chris Bessent 9e5a64b545 Update CMakeLists.txt 2021-02-11 18:09:19 -07:00
Chris Bessent 3dd05ff869 Create a new dialog for the update window
The idea here is to be able to resize the window and better handle
markdown formatting.  Everything was stolen from the LOOT dialog.
2021-02-11 17:58:10 -07:00
AL eba98e8469 Remove unused variable 2021-02-11 16:34:43 +01:00
AL 73418ec616 Hopefully fix update filter not showing new mod updates.
Notify all the mods that have had their info checked, not just the ones that have been found with an update. This is because Mo2 also shows mods that have had their files deleted or moved to Old as updateAvailable, in which case there is no update but the filter still needs to be notified to include the mod.
2021-02-11 16:29:32 +01:00
Mikaël Capelle 7283e6c3ba Do not return previous value in env::set and env::setPath (avoid error log when not previously set). 2021-02-10 19:17:21 +01:00
isanae d179ad01c8 maxIds was local to the loop, not doubled
handle ERROR_MORE_DATA, it seems to sometimes happen, not sure why
added more logging, a user actually got that error
2021-02-10 10:01:39 -05:00
Al 04d80bb567 Appveyor: artifact only the exe
The entire build is too big and we get over the limit too fast
2021-02-09 22:01:24 +01:00
Mikaël Capelle 595f6eccf6 Better refresh of override markers and conflicts. 2021-02-09 20:23:42 +01:00
Chris Bessent f058125e66 Fix concatenating update logs 2021-02-08 06:09:06 -07:00
Mikaël Capelle 7d36bc20d0 Bump version to 2.4.0rc1.1. 2021-02-07 18:47:00 +01:00
Mikaël Capelle a9e3c4e2b5 Bump version to 2.4.0rc1. 2021-02-06 22:03:34 +01:00
Mikaël Capelle 86db5da217 Merge pull request #1395 from Holt59/remove-datatab-tree-updates
Remove update of data-tab tree and check for problems when modifying the mod list.
2021-02-06 17:25:29 +01:00
Mikaël Capelle a701d66cce Remove update of data-tab tree and check for problems when modifying the mod list. 2021-02-05 19:47:47 +01:00
Mikaël Capelle d5380ef6d3 Update translation file. 2021-02-02 20:39:14 +01:00
Mikaël Capelle 4256d8b40b Merge pull request #1392 from Holt59/fix-download-metainfo
Fix download of meta-information in download tab.
2021-01-31 19:00:33 +01:00
Mikaël Capelle ab0e050c46 Fix download of meta-information in download tab. 2021-01-31 18:59:52 +01:00
Mikaël Capelle 4ea7f7bf54 Merge pull request #1391 from Holt59/pluginlist-case-insensitive
Use case-insensitive data structure in plugin list.
2021-01-31 18:52:51 +01:00
Mikaël Capelle 36855f96f3 Use case-insensitive data structure in plugin list. 2021-01-31 18:47:08 +01:00
Mikaël Capelle e15cc6dd3a Merge pull request #1390 from Holt59/fix-datatab-refresh
Fix update of data tab after refresh.
2021-01-31 18:45:01 +01:00
Mikaël Capelle 4f71834250 Fix update of data tab after refresh. 2021-01-31 11:00:16 +01:00
Mikaël Capelle 881d67d318 Merge pull request #1388 from Holt59/default-collapsible-separators-desc
Enable collapsible separators in reverse order by default.
2021-01-30 18:52:57 +01:00
Mikaël Capelle ca4d56f789 Enable collapsible separators in reverse order by default. 2021-01-30 18:50:02 +01:00
Mikaël Capelle 4e8ff4f389 Merge pull request #1387 from Holt59/update-settings-dialog
Add migration code to remove old settings from ModOrganizer.ini.
2021-01-30 18:43:13 +01:00
Mikaël Capelle 029f1b1a62 Add migration code to remove old settings from ModOrganizer.ini. 2021-01-30 18:42:31 +01:00
Mikaël Capelle 792a71a3f5 Bump dev-build version. 2021-01-30 18:31:00 +01:00
Mikaël Capelle 3b360162e1 Merge pull request #1386 from Holt59/update-settings-dialog
Update settings dialog.
2021-01-30 18:21:56 +01:00
Mikaël Capelle 76989e2b8f Remove LoadMechanism completely. 2021-01-29 20:09:14 +01:00
Mikaël Capelle 7610e31394 Reorganize settingsdialog classes to match UI. 2021-01-29 20:03:47 +01:00
Mikaël Capelle d0796b4ab2 Move settings around. Remove unused settings. 2021-01-29 19:43:24 +01:00
Mikaël Capelle f53e5406d4 Merge pull request #1378 from Holt59/fix-priority-management
Increase robustness of mods priority in profile.
2021-01-29 19:29:21 +01:00
Mikaël Capelle 48fae18ac6 Fix refresh of data tab. 2021-01-29 19:27:10 +01:00
Mikaël Capelle 8606bf70c7 Merge pull request #1384 from Holt59/add-pick-argument
Implement --pick argument.
2021-01-29 08:48:01 +01:00
Mikaël Capelle 136dc17e01 Merge pull request #1385 from Holt59/fix-mo2-on-top
Do not bring MO2 to front when passing a Nexus link to the CL.
2021-01-29 08:47:46 +01:00
Mikaël Capelle 007824dde8 Do not bring MO2 to front when passing a Nexus link to the CL. 2021-01-28 19:32:07 +01:00
Mikaël Capelle a88d3436cc Implementation --pick argument. 2021-01-28 19:05:05 +01:00
Chris Bessent 41159e4eea Merge pull request #1382 from LostDragonist/fix_forced_load
Fix initial launch of forced load dialog
2021-01-24 04:44:04 -07:00
Mikaël Capelle ab820c1b0a Fix enable/disable all message. 2021-01-24 11:09:12 +01:00
Mikaël Capelle b9c8554ee3 Merge pull request #1380 from Holt59/fix-pluginlist-contextmenu
Fix error when right-clicking on an empty space in the pluginlist.
2021-01-24 10:40:40 +01:00
Chris Bessent 5c3d715cfd Fix forced load libraries
This fixes a couple issues.  First, the default libraries forced by
the game plugins were not being loaded.  Second, when the checkbox
was disabled, the forced load settings would be wiped out.

Both were fixed by always loading and saving the state of the
forced loads regardless of the global enabled state.
2021-01-23 13:26:14 -07:00
Mikaël Capelle 14536009c0 Merge pull request #1379 from Holt59/fix-loglist-startup
Fix empty loglist after startup.
2021-01-23 18:14:11 +01:00
Mikaël Capelle 54744c04b2 Use proper naming convention for constants. 2021-01-22 21:19:35 +01:00
Mikaël Capelle 7864fc0950 Use constant for minimum/maximum priorities. 2021-01-22 21:18:54 +01:00
Mikaël Capelle d94b7c444d Move update of directory structure after mod priority change to organizer core. 2021-01-21 21:56:26 +01:00
Mikaël Capelle b1795f83cd Refresh data tab when mods are enabled or moved. 2021-01-21 21:56:08 +01:00
Mikaël Capelle d81fb09f33 Replace isFixedPriority by hasAutomaticPriority. 2021-01-21 21:20:01 +01:00
Mikaël Capelle 34c87a0efa Prevent backups from being enabled. 2021-01-21 21:12:46 +01:00
Mikaël Capelle e1106ad42c Use priority from profile (+1) in directory structure to be consistent. 2021-01-21 21:02:25 +01:00
Mikaël Capelle 569ce21959 Remove unused mapping. 2021-01-21 21:02:10 +01:00
Mikaël Capelle 0a06970990 Expose proper priority in ModList and sort in the sort proxy. 2021-01-21 20:21:57 +01:00
Mikaël Capelle 51eeefa49d Fix error when right-clicking on an empty space in the pluginlist. 2021-01-21 20:10:30 +01:00
Mikaël Capelle 60085ae4b6 Use actual priority of overwrite instead of INT_MAX, and remove useless checks. 2021-01-21 20:01:43 +01:00
Mikaël Capelle 49461f0086 Remove unused variables. 2021-01-21 20:01:27 +01:00
Mikaël Capelle 1747dcf563 INT_MAX -> std::numeric_limits, plus minor clean. 2021-01-21 19:42:41 +01:00
Mikaël Capelle f8943ee477 Use range-loop instead of old-style iterators. 2021-01-21 19:38:53 +01:00
Mikaël Capelle 62a9d13948 Remove unused priority-related functions from Profile. 2021-01-21 19:31:05 +01:00
Mikaël Capelle 36489c7d8f Add const-qualifier to for loop variable. 2021-01-21 19:21:27 +01:00
Mikaël Capelle ffb820c701 Use isFixedPriority() when appropriate. 2021-01-21 19:21:07 +01:00
Mikaël Capelle 0803920486 Add method to retrieve priority of mods in ModList. 2021-01-21 19:20:45 +01:00
Mikaël Capelle 2ed3d4696b Add comment to explain the reset() on the log list. 2021-01-21 19:11:37 +01:00
Mikaël Capelle e28e316f6f Fix empty loglist after startup. 2021-01-20 22:11:40 +01:00
Mikaël Capelle 7c9d3777c2 Remove unused/undefined ModList functions. 2021-01-20 21:04:49 +01:00
Mikaël Capelle 0e7fed0e32 Move backup and overwrite priority to ModList. 2021-01-20 21:01:49 +01:00
Mikaël Capelle 946d7fc192 Add comment for m_NumRegularMods and remove unused methods. 2021-01-20 18:33:54 +01:00
Mikaël Capelle 58b6e0eb48 Increase robustness of mods priority in profile. 2021-01-20 18:16:20 +01:00
Mikaël Capelle 20a87c9cb9 Merge pull request #1376 from Holt59/fix-filter-modcount
Refresh mod counter when filtering.
2021-01-20 09:20:06 +01:00
Mikaël Capelle 7caa9806bc Merge pull request #1375 from Holt59/fix-collapsible-separators-reverse
Fix refresh on by-priority proxy when changing sort order.
2021-01-20 09:19:53 +01:00
Al 7b1f1f29da Merge pull request #1377 from ModOrganizer2/fix_install_after_query
Don't look for mods with -1 as mod ID when suggesting names
2021-01-19 22:04:05 +01:00
AL 4a6f8aa625 Don't look for mods with -1 as mod ID when suggesting names 2021-01-19 20:40:47 +01:00
Mikaël Capelle 907588b9c9 Refresh mod counter when filtering. 2021-01-19 20:29:12 +01:00
Mikaël Capelle 932a562d9d Fix refresh on by-priority proxy when changing sort order. 2021-01-19 18:08:05 +01:00
Chris Bessent 838415aa71 Merge pull request #1374 from LostDragonist/mod_casing
Improve error message about an extra overwrite mod
2021-01-19 08:41:57 -07:00
Chris Bessent aea96365c6 Improve error message about an extra overwrite mod 2021-01-19 04:15:55 -07:00
Mikaël Capelle 9997412a39 Merge pull request #1373 from Holt59/fix-change-priority
Fix change priority
2021-01-18 23:13:55 +01:00
Mikaël Capelle 8a49f2232e Clamp priority to the correct value, taking backups into account. 2021-01-18 23:02:15 +01:00
Mikaël Capelle 58e72e89c3 Fix editing priority. 2021-01-18 23:01:24 +01:00
AL 13bf05cfde Bump dev build version 2021-01-18 22:09:36 +01:00
Mikaël Capelle 0a683c0a5a Merge pull request #1372 from Holt59/install-mod-at
Modify 'Install mod... ' in context menu to install above current mod.
2021-01-18 21:17:46 +01:00
Mikaël Capelle 1f9a1da7f4 Merge pull request #1371 from Holt59/by-priority-proxy-improvements
Collapsible separators improvements
2021-01-18 21:17:35 +01:00
Mikaël Capelle 79b67559d8 Merge pull request #1370 from LostDragonist/preview_extensions
Remove case sensitivity regarding preview file extensions
2021-01-18 21:17:26 +01:00
Mikaël Capelle df9576a946 Merge pull request #1367 from LostDragonist/lockedorder
Add error checking to lockedorder.txt processing
2021-01-18 21:17:13 +01:00
Mikaël Capelle 339457f79d Merge pull request #1366 from LostDragonist/mod_casing
Make modlist.txt less case sensitive
2021-01-18 21:16:55 +01:00
Mikaël Capelle ee44a38c98 Merge pull request #1354 from isanae/startup-rework
Startup rework
2021-01-18 21:16:40 +01:00
Mikaël Capelle 3c0201a799 Update documentation for installMod / createEmptyMod. 2021-01-18 20:43:27 +01:00
Mikaël Capelle c3f73fe8ed Comment and remove extra blank lines. 2021-01-18 20:25:02 +01:00
Mikaël Capelle 5bc8256dc8 Make installMod behave similarly to createEmptyMod for the new mod priority. 2021-01-18 20:23:41 +01:00
Mikaël Capelle 792a402782 Modify 'Install mod... ' in context menu to install above current mod. 2021-01-18 20:05:13 +01:00
Mikaël Capelle 5679a12fd0 Remove log. 2021-01-18 19:53:08 +01:00
Mikaël Capelle 08110553d4 Fix scrolling when moving mods with keyboard. 2021-01-18 19:50:39 +01:00
Mikaël Capelle a19bfaa489 Better handling of layoutChanged in by-priority proxy to avoid resetting. 2021-01-18 19:44:29 +01:00
Chris Bessent 1428b350d1 Simplify getting extension 2021-01-18 08:55:59 -07:00
Chris Bessent c70e53897d Remove case sensitivity regarding preview file extensions
That means ".dds" and ".DDS" should be treated the same.
2021-01-18 08:49:23 -07:00
Chris Bessent 9d32731136 Remove TODO 2021-01-18 08:14:52 -07:00
Chris Bessent a307cc1c6a Get rid of static on lambdas 2021-01-18 07:56:54 -07:00
Chris Bessent 4c64448947 Add a warning about overwrite mods being disabled 2021-01-18 07:55:02 -07:00
Chris Bessent 527795243c Rewrite readLockedOrderFrom
This also removes the "The file containing locked plugin indices is broken" dialog.  The broken part of the lockedorder.txt will just spit out an error log now and be ignored.
2021-01-18 07:39:02 -07:00
Chris Bessent 9f96a88989 Use existing comparator from MOBase 2021-01-18 06:43:02 -07:00
isanae 6feab2ea8f moved criticalOnTop() to uibase
changed all calls to reportError(), which now uses the main window if it exists as a parent, or calls criticalOnTop()
added errors when running something from the command line for a different instance/profile
removed unused crap
2021-01-18 08:21:42 -05:00
isanae 0d641f3977 make plugins wait until after the refresh is completed when they request a refresh
this is a change in behaviour, but it makes sure plugins don't have a stale view of the mods after running something
2021-01-18 08:21:41 -05:00
isanae 181acfe832 renamed Refresh to TriggerRefresh, added WaitForRefresh
removed duplicate refreshDirectoryStructure() call that could never work
added --logs to output logs to stdout, added final "mod organizer done" log
added -i with no arguments to output the current instance name
`run -e` now does an additional, case insensitive check for names
fixed error being output along with --help
2021-01-18 08:21:41 -05:00
isanae 1c4d09d9e1 comments 2021-01-18 08:20:08 -05:00
isanae 16ba428e44 fixed runPostMultiProcess() not being called
comments
2021-01-18 08:20:08 -05:00
isanae 06109a568b put more stuff in Meta to simplify 2021-01-18 08:20:08 -05:00
isanae 65a9e51e0e added refresh command
added more help for run
2021-01-18 08:20:08 -05:00
isanae 09eb507dda moved externalMessage() to MOApplication
commands can forward to the primary instance
added reload-plugin command
MessageDialog now tries to find the main window when the reference is null, which actually used to happen often because activeWindow() is typically used, but that's null when the main window doesn't have focus (like when downloading from nexus, for example)
2021-01-18 08:20:08 -05:00
isanae 7e80184812 merged exe and run commands, added -e flag instead
added dialog when selected profile doesn't exist, this can happen with -p on the command line
2021-01-18 08:20:08 -05:00
isanae aa7a552654 implemented exe command
better error when cwd doesn't exist
2021-01-18 08:20:07 -05:00
isanae e4ae41e3a2 fixed all commands being legacy
split running command into pre and post organizer
2021-01-18 08:20:07 -05:00
isanae 3bca0e7615 split run() into setup() and run()
this is so command line processing can happen outside of MOApplication
many important objects were local to run(), so they're not members of MOApplication instead
2021-01-18 08:20:07 -05:00
Mikaël Capelle 59f055ba93 Merge pull request #1368 from Holt59/new-settings
Add settings to not check update on mod install and to auto-collapse on hover.
2021-01-18 08:21:41 +01:00
Mikaël Capelle 1644d30e59 Fix typo. 2021-01-18 08:16:38 +01:00
Mikaël Capelle 2b08f3f72c Add option to enable auto-collapse on hover after delay. 2021-01-17 13:09:10 +01:00
Mikaël Capelle 704490e315 Add setting to not check for updates after installing mods. 2021-01-17 13:00:01 +01:00
Chris Bessent e69cb90dbe Improve performance by changing the map to be case insensitive 2021-01-16 20:09:12 -07:00
Chris Bessent 1010b5958b Add error checking to lockedorder.txt processing
Errors now checked:
1. Plugin listed in lockedorder.txt does not exist
2. Priority in lockedorder.txt is negative
3. Priority in lockedorder.txt is greater than the total number of plugins

Note that lockedorder.txt is not rewritten after these errors occur as
that seems most likely to be the desired behavior...?  That is, preserving
the state of lockedorder.txt is more important than anything making sense.
Though negative priorities don't make sense and never will so just get rid
of that if the lockedorder.txt is written to at some point.
2021-01-16 19:20:51 -07:00
Chris Bessent 3dbee68726 Make modlist.txt less case sensitive
This should make it so case doesn't matter when it comes to the
folder names of mods and what's in modlist.txt.  If a mismatch
in case is detected, modlist.txt will be flagged dirty to fix
it at some point.

This handles the foillowing cases:
 * modlist.txt was modified outside MO
 * the mod folder was renamed outside MO
2021-01-16 18:02:16 -07:00
Al 2b1f01cba2 Merge pull request #1363 from Holt59/modlist-improvements
Send to last conflict
2021-01-16 23:06:04 +01:00
Al 19556bc968 Merge pull request #1362 from Holt59/downloadlistview-cleaning
DownloadListView improvements
2021-01-16 23:03:05 +01:00
Al c48791a8a1 Merge pull request #1361 from Holt59/ui-fixes-and-others
UI fixes and others.
2021-01-16 23:02:42 +01:00
isanae 8ee1f94b0f Merge pull request #1365 from isanae/master
Fix crash on bad bsa
2021-01-16 16:56:35 -05:00
isanae 9092c096d5 fix crash on bad bsa 2021-01-16 16:53:50 -05:00
Mikaël Capelle f46962686a Fix drag&drop in manual installer after drag&drop of download/external archive in mod list. 2021-01-16 22:06:20 +01:00
Mikaël Capelle e6d1f5500b Only maintain selection after drag&drop of mods. 2021-01-16 21:52:52 +01:00
Mikaël Capelle d73d930703 Maintain selection when changing priority manually. 2021-01-16 16:21:59 +01:00
Mikaël Capelle 54f7df9fbd Maintain selection after drag&drop. Fix update of conflicts (visual) after priority change. 2021-01-16 16:14:46 +01:00
Mikaël Capelle 89a735d6e1 Maintain selection after 'Send to... ' and add send to first conflict. 2021-01-16 15:55:56 +01:00
Mikaël Capelle 56d0392747 Only consider loose files vs. loose files conflicts for 'Send to last conflict' entry. 2021-01-16 15:01:33 +01:00
Mikaël Capelle a2ed9b9ba9 Fix archive overwritten marker. 2021-01-16 14:57:15 +01:00
Mikaël Capelle 253b5e9f3f Fix entry names. 2021-01-16 13:36:12 +01:00
Mikaël Capelle 65c9c69568 Fix priority foreground color on colored separators. 2021-01-16 13:29:55 +01:00
Mikaël Capelle 8fafcce33f Add send to last conflict action for modlist. 2021-01-16 13:29:36 +01:00
Mikaël Capelle f28b501b30 Handle enter and delete on download list. 2021-01-15 20:23:23 +01:00
Mikaël Capelle 417dbff2de New slot styles for context menus actions. 2021-01-15 20:14:45 +01:00
Mikaël Capelle ff3f24ff9e Rename DownloadListWidget -> DownloadListView. Clean context menu. 2021-01-15 20:12:19 +01:00
Mikaël Capelle 9f8ba0ea51 Add setting to automatically hide download after installation. 2021-01-14 22:08:58 +01:00
Mikaël Capelle 186e96c878 Fix disabling of collapsible separators settings. 2021-01-14 21:40:36 +01:00
Mikaël Capelle aa1ffe65a7 Update README. 2021-01-14 21:21:08 +01:00
Mikaël Capelle 03f7c0ef4f Move Holt59 to lead developers. Add Luca|EzioTheDeadPoet and Patchier to contributors. 2021-01-14 21:18:07 +01:00
Mikaël Capelle 7d027a446d Add settings to enable/disable icons on collapsed separators. 2021-01-14 21:16:56 +01:00
Mikaël Capelle 38129e6e77 Disable highlighting from/to separators separately. 2021-01-14 20:30:06 +01:00
Mikaël Capelle 662a1eb3d7 Contextual menu entry for enable/disable all visible. 2021-01-14 20:11:02 +01:00
Mikaël Capelle 2c9a3c7de8 Better context menu entries for mod/separator creation. 2021-01-14 19:54:13 +01:00
Mikaël Capelle 899308b31d Merge pull request #1360 from Holt59/organizercore-cleaning
OrganizerCore cleaning.
2021-01-14 09:11:52 +01:00
Mikaël Capelle 34f7ae2450 Merge pull request #1357 from Holt59/collapsible-separators
Collapsible separators in descending priority.
2021-01-14 09:11:37 +01:00
Mikaël Capelle c3334e7b4d Merge pull request #1351 from Holt59/fix-set-gamepath
Fix setting game path for games with executable in subfolder.
2021-01-13 23:04:20 +01:00
Mikaël Capelle bc9cb37942 Add comment for cdUp(). 2021-01-13 20:36:11 +01:00
Mikaël Capelle 853db4a60a Use isBackup() and isOverwrite() instead of testing flags. 2021-01-13 13:27:36 +01:00
Mikaël Capelle ce95d8b1bd Minor cleaning for boost signal declarations in OrganizerCore. 2021-01-13 13:01:11 +01:00
Mikaël Capelle c93cf33c83 Remove OrganizerCore::modsSortedByProfilePriority. 2021-01-13 13:00:54 +01:00
Mikaël Capelle 163b33f228 Remove unused close() signal from OrganizerCore. Remove declarations without definitions. 2021-01-13 13:00:34 +01:00
Mikaël Capelle 4a5ff2f232 Remove archive parsing attribute from core and use the one from settings directly. 2021-01-13 12:59:57 +01:00
Mikaël Capelle 242125fdef Merge pull request #1359 from Holt59/fix-pluginlist-edit
Write plugin list after edit.
2021-01-13 12:31:53 +01:00
Mikaël Capelle 8338ea6ff4 Merge pull request #1358 from Holt59/loglist-copy
Allow extended selection in log list and implement copy.
2021-01-13 12:10:53 +01:00
Mikaël Capelle 33a49ef51c Write plugin list after edit. 2021-01-13 11:58:18 +01:00
Mikaël Capelle f32e74c2a7 Allow extended selection in log list and implement copy. 2021-01-13 09:17:05 +01:00
Mikaël Capelle 18f70a2dff Add documentation for row computation. 2021-01-11 21:07:25 +01:00
Mikaël Capelle 748b7e6918 Combine nested if clauses. 2021-01-11 20:58:53 +01:00
Mikaël Capelle 16b825bc5d Fix drop in first item of separators. 2021-01-11 20:57:32 +01:00
Mikaël Capelle 49c2c8f333 Add setting to enable/disable collapsible priority depending on the sort order. 2021-01-11 19:44:43 +01:00
Mikaël Capelle 08520822eb Fix drop in separator and create mod in separator in descending priority. 2021-01-11 19:15:39 +01:00
Mikaël Capelle e53905329a Allow collapsible separator in descending priority. 2021-01-11 18:55:15 +01:00
Mikaël Capelle 9e663691b0 Merge pull request #1356 from Holt59/collapsible-separators
Remove dead code.
2021-01-11 18:54:31 +01:00
Mikaël Capelle a7e6f9a5a8 Remove dead code. 2021-01-11 18:15:38 +01:00
Mikaël Capelle 97ac1ce999 Warn users that game path is invalid after choosing it rather than when applying setting. 2021-01-11 13:14:24 +01:00
Mikaël Capelle 1dc2b22548 Merge pull request #1350 from Holt59/collapsible-separators
Collapsible separators - Fix & Improvements.
2021-01-11 12:49:42 +01:00
Mikaël Capelle 05efc74e40 Fix text for new option. 2021-01-11 12:43:28 +01:00
Mikaël Capelle 566441a706 Add comment to mousePressEvent(). 2021-01-11 09:36:35 +01:00
isanae a680dfa3e9 Merge pull request #1353 from isanae/master
Task dialog for deleting downloads
2021-01-11 02:09:09 -05:00
isanae 2f16f07f6e task dialog for deleting downloads
also shows filename
2021-01-10 20:41:59 -05:00
Mikaël Capelle a0cb500ff0 Fix setting game path for games with executable in subfolder. 2021-01-10 20:44:59 +01:00
Mikaël Capelle a5059cbe32 Select separator after creation. 2021-01-10 20:11:46 +01:00
Mikaël Capelle a952f51ef7 Change 'Create empty mod' depending on the currently selected mod. 2021-01-10 20:08:48 +01:00
Mikaël Capelle 8115335c55 Request window focus when dropping external archive. 2021-01-10 19:31:29 +01:00
Mikaël Capelle 32e441897f Request window focus when dropping external folder and scroll to new mod. 2021-01-10 19:29:41 +01:00
Mikaël Capelle 5bb48d5e52 Small clean. 2021-01-10 19:29:18 +01:00
Mikaël Capelle 5a7bd3db67 Re-add 'Create empty mod' and 'Create separator' to global mod list context menu. 2021-01-10 10:27:31 +01:00
Mikaël Capelle 342d529dd6 Do not notifyChange if the new name is identical to the old name. 2021-01-10 10:27:31 +01:00
Mikaël Capelle 883ca5d376 Left-align warning icon if there is no update icon in the column version. 2021-01-10 10:27:31 +01:00
Mikaël Capelle 2606b10c7e Display upgrade/warning for versions on collapsed separators. 2021-01-10 10:27:30 +01:00
Mikaël Capelle 3e5d71923f Rename ModListStyledItemDelegated -> ModListStyledItemDelegate. 2021-01-10 10:27:30 +01:00
Mikaël Capelle 5fb590efe3 Fix vertical alignment of icons. 2021-01-10 10:27:30 +01:00
Mikaël Capelle 7b684f4d15 Tentative fix for automatic text color when markers or separator colors are used. 2021-01-10 10:27:30 +01:00
Mikaël Capelle d923730452 Allow double-click to accept choice in ListDialog. 2021-01-10 10:27:30 +01:00
Mikaël Capelle 2d9fbc7421 Remove dropSeparators() method from proxy. 2021-01-10 10:27:30 +01:00
Mikaël Capelle abd82f88db Fix Alt+Click for selecting children of separators. 2021-01-10 10:27:30 +01:00
Mikaël Capelle c06d28e3a3 Tentative fix for drop indicator appearance at the top of the mod list. 2021-01-10 10:27:30 +01:00
Mikaël Capelle 7d9fa5e4f9 Fix drop below collapsed separator. 2021-01-10 10:27:30 +01:00
Mikaël Capelle fc60ea5b7a Add option to have different separator collapsed/expanded states between profiles. 2021-01-10 10:27:30 +01:00
Mikaël Capelle 80371ae2cc Update markers and plugins highligths when separator is expanded/collapsed. 2021-01-10 10:27:30 +01:00
Mikaël Capelle f919e09173 Show conflicts and highligth plugins from collapsed separators. 2021-01-10 10:27:30 +01:00
Mikaël Capelle 5765439c7c Alt+Click select/deselect the rows below from a separator. 2021-01-10 10:27:30 +01:00
Mikaël Capelle 183440d694 Display mod flags on collapsed separators. 2021-01-10 10:27:30 +01:00
Mikaël Capelle 1ac3f4d8e8 Display children contents in collapsed separator. 2021-01-10 10:27:22 +01:00
Mikaël Capelle 76796796be Re-organize settings. Add setting to remember filters when restarting MO. 2021-01-10 10:26:11 +01:00
Mikaël Capelle 80e44a9e3a Merge pull request #1338 from Holt59/collapsible-separators
Collapsible separators (and refactoring).
2021-01-10 10:25:37 +01:00
Mikaël Capelle 4a0ce804ea Menu separator before collapse entries in separator context menu. 2021-01-10 10:20:46 +01:00
Mikaël Capelle 1ed3fcaa9b NameRole -> GameNameRole. 2021-01-10 10:19:40 +01:00
isanae eaec140f7c Merge pull request #1349 from isanae/master
Handle category cycles by putting parent ids in a set
2021-01-09 15:12:56 -05:00
isanae 6781451ab2 handle cycles by putting parent ids in a set 2021-01-09 15:07:20 -05:00
isanae 135d23c20a Merge pull request #1347 from isanae/master
Fix game selection not appearing on startup
2021-01-09 14:01:25 -05:00
isanae ea76c33710 fix skipping pages in single page mode
in single page mode, ready() can return false for some pages like the instance type if the selected page is past it, so skip() has to be checked too
2021-01-09 13:56:21 -05:00
Mikaël Capelle bec0974c95 Prevent creating separator or empty mod 'on' backups. 2021-01-06 17:55:11 +01:00
Mikaël Capelle 9703c45741 Remove incorrect command and small clean for mainwindow.h. 2021-01-06 11:25:56 +01:00
Mikaël Capelle 4ac3ee4291 Do not return value from copySelection(). 2021-01-06 10:05:35 +01:00
Mikaël Capelle 86fb0dc9bd Merge remote-tracking branch 'origin/master' into collapsible-separators 2021-01-06 09:29:15 +01:00
Mikaël Capelle fc4b069a87 Remove manual setDrag/setDrop in download tab. 2021-01-06 09:27:20 +01:00
Mikaël Capelle bcdf38f5cf Avoid switching proxy model when not necessary. 2021-01-05 13:14:06 +01:00
isanae e3e54bc8d3 Merge pull request #1342 from isanae/shortcut-nolock
Fix running shortcuts with locking disabled
2021-01-05 07:06:50 -05:00
isanae 24a6749157 fix running shortcuts with locking disabled
when a ProcessRunner gets ForceWait|PreventExit and locking is disabled, wait for the process normally but without showing the ui
changed references to UILocker::Session to pointers because they can now be null
2021-01-04 20:49:05 -05:00
isanae 09f07ddae9 Merge pull request #1341 from isanae/profile-crash
Fixes for the profiles dialog
2021-01-04 20:46:43 -05:00
Mikaël Capelle 8685fcda31 Documentation + Refresh expanded state on model reset. 2021-01-04 19:46:29 +01:00
Mikaël Capelle faa4ae3426 Remove useless QObject:: accessor. 2021-01-04 19:41:47 +01:00
Mikaël Capelle b242394c0f Keep track of expanded items in the view instead of the models. 2021-01-04 19:37:20 +01:00
Mikaël Capelle 85cd337157 Disable proxies when they are not used. 2021-01-04 19:06:43 +01:00
isanae 7c0479b098 fixes for the profiles dialog:
- don't refresh before showing the dialog, this happened because setCurrentIndex() was called to reselect the old item after <manage> was selected
 - can't use previousIndex after the dialog has been shown, the ordering might have changed if profiles were created/removed
 - don't call activateSelectedProfile() manually when 'select' is clicked from the dialog, just call setCurrentText() and let it fire the event again, then return immediately so it's not done twice
2021-01-04 09:40:52 -05:00
Mikaël Capelle 7d53976ecc Reduce auto-expand delay to 750ms. 2021-01-03 16:58:26 +01:00
Mikaël Capelle fbd7e777d7 Add option to enable/disable displaying conflicts on collapsed separators. 2021-01-03 16:30:35 +01:00
Mikaël Capelle f7647b985b Fix ModListView::visualRect(). 2021-01-03 13:39:22 +01:00
Mikaël Capelle 3366d9f192 Create CopyEventFilter. Add Ctrl+C to the plugin list. 2021-01-03 12:51:54 +01:00
Mikaël Capelle c36d1126df Remove log. 2021-01-03 12:28:29 +01:00
Mikaël Capelle b708bcc097 Show conflict icons from children when separator is collapsed. 2021-01-03 12:24:27 +01:00
Mikaël Capelle 3d176cf01e Reorganizer ModList filters. 2021-01-03 11:59:27 +01:00
Mikaël Capelle 098ea31a1d Update documentation for drawBranches. 2021-01-03 01:50:45 +01:00
Mikaël Capelle e96a1f3ced Fix indentation of indicators branches when using collapsible separators. 2021-01-03 01:44:39 +01:00
Mikaël Capelle c8eb3f6e05 Fix empty separator name in copy/paste. 2021-01-03 00:03:33 +01:00
Mikaël Capelle e713e49934 Move plugin list index-view conversion to private. 2021-01-02 23:33:42 +01:00
Mikaël Capelle 94b3674d08 Move highlighting of mods containing selected plugins to mod view. 2021-01-02 20:35:39 +01:00
Mikaël Capelle 085ccd973d Remove log from filter list. 2021-01-02 20:34:30 +01:00
Mikaël Capelle 8de7b79a2b Move markers management for overwrite/overwritten to ModListView. 2021-01-02 20:26:39 +01:00
Mikaël Capelle d96dcf02b1 Refactoring of ModInfo to give access to the core. Remove ModInfo::remove() completely. 2021-01-02 19:07:50 +01:00
Mikaël Capelle c7abae79b3 Minor cleaning of PluginList. 2021-01-02 18:27:16 +01:00
Mikaël Capelle 45628951b6 Remove useless layoutChanged() in PluginList. 2021-01-02 18:24:53 +01:00
Mikaël Capelle 12148488a6 Remove unused signal. 2021-01-02 18:24:37 +01:00
Mikaël Capelle 071974c243 Save/restore filter list state between run. 2021-01-02 17:18:31 +01:00
Mikaël Capelle 22810ccbba Add Ctrl+C to copy the current selection of mod in the mod list. 2021-01-02 16:29:10 +01:00
Mikaël Capelle 740c383f63 Add index attribute to ModInfo. 2021-01-02 16:28:55 +01:00
Mikaël Capelle 9ac6e37575 Minor cleaning and fix in ModList.
- Proper display of separator name for removal.
- Replace usage of flags with isXXX.
2021-01-02 15:40:12 +01:00
Mikaël Capelle 253fbb6964 Move option to use collapsible separators. 2021-01-02 15:40:12 +01:00
Mikaël Capelle 42586639a8 Move connection from organizer to mainwindow. 2021-01-02 15:40:12 +01:00
Mikaël Capelle d86dec5382 Minor refactoring. 2021-01-02 15:40:12 +01:00
Mikaël Capelle 65577c71f3 Fix notification for removed mods. 2021-01-02 15:40:10 +01:00
Mikaël Capelle e6769bacdd Add Page Up/Down shortcut in ModInfoDialog. 2021-01-02 15:38:19 +01:00
Mikaël Capelle c0ac46d5c0 Fix create empty mod/separator position. 2021-01-02 15:38:19 +01:00
Mikaël Capelle bd76c67730 Disable 'filter separators' combo box when using collapsible separators. 2021-01-02 15:38:19 +01:00
Mikaël Capelle c135920b16 Fix highligth of collapsed separator. Move foreground color fix to delegate. 2021-01-02 15:38:19 +01:00
Mikaël Capelle 8a789d303b Remove duplicated code. 2021-01-02 15:38:19 +01:00
Mikaël Capelle 011e4d522e Fix setting the primary category of multiple mods at once. 2021-01-02 15:38:19 +01:00
Mikaël Capelle 21ab4ad78b Minor cleaning in ModList. 2021-01-02 15:38:19 +01:00
Mikaël Capelle d708287c9e Clean code and reorganize. 2021-01-02 15:38:19 +01:00
Mikaël Capelle 3bb189a427 Add method to retrieve the grouping mode. 2021-01-02 15:38:19 +01:00
Mikaël Capelle 3560093f1b Override separator color instead of mixing it. 2021-01-02 15:38:19 +01:00
Mikaël Capelle e5f43788e8 Visual fixes for the modlist.
- Fix invalid positions of markers in the scrollbar.
- Use color from children for collapsed elements (background and markers).
2021-01-02 15:38:19 +01:00
Mikaël Capelle f36c683320 Save the state of the mod list properly. 2021-01-02 15:38:19 +01:00
Mikaël Capelle 73490b3fdd Remove unused stuff from MainWindow. 2021-01-02 15:38:18 +01:00
Mikaël Capelle e02ba3b26d Some cleaning. Avoid using Qt::UserRole. 2021-01-02 15:38:18 +01:00
Mikaël Capelle 73b4a590ca Use topLevelWidget() instead of custom parent in mod list actions. 2021-01-02 15:38:18 +01:00
Mikaël Capelle 33860662c1 Move sort plugins handler to PluginListView. 2021-01-02 15:38:18 +01:00
Mikaël Capelle 87dac464d9 Fix position of markers in scrollbar for non-flat models. 2021-01-02 15:38:18 +01:00
Mikaël Capelle fff41be845 Remove selection-related stuff from plugin/mod lists. 2021-01-02 15:38:18 +01:00
Mikaël Capelle 399ff3fcf7 Minor clean for plugin list. 2021-01-02 15:38:18 +01:00
Mikaël Capelle 91081315cf Remove unused methods. 2021-01-02 15:38:18 +01:00
Mikaël Capelle 5d82e9cfec Add shift+enter shortcut to expand rows in mod list. 2021-01-02 15:38:18 +01:00
Mikaël Capelle b5ce6eb8e7 Move open-explorer key combination to views. 2021-01-02 15:38:18 +01:00
Mikaël Capelle bd34b53223 Move plugin list context menu to its own class and to PluginListView. 2021-01-02 15:38:18 +01:00
Mikaël Capelle 25a2123e5f Move keyboard event to PluginListView. 2021-01-02 15:38:18 +01:00
Mikaël Capelle f2d8469ed6 Start moving stuff from MainWindow to PluginListView. 2021-01-02 15:38:18 +01:00
Mikaël Capelle 8dffe65032 Documentation for ModListView. 2021-01-02 15:38:18 +01:00
Mikaël Capelle e420b8fc26 ProxyStyle documentation. 2021-01-02 15:38:18 +01:00
Mikaël Capelle cc4dcf617f Move modlistview proxy style to moapplication. 2021-01-02 15:38:18 +01:00
Mikaël Capelle ac6373edf6 Fix drop indicator style in mod list. 2021-01-02 15:38:18 +01:00
Mikaël Capelle ca5beac251 Remove cancelModListEditor (unused). 2021-01-02 15:38:18 +01:00
Mikaël Capelle 142ba74acf Use proper parent object in modlistviewactions. 2021-01-02 15:38:18 +01:00
Mikaël Capelle f4fff85d6d Fix parent of ModInfoDialog. 2021-01-02 15:38:18 +01:00
Mikaël Capelle 0abf0d8c8e Remove useless using declaration. 2021-01-02 15:38:18 +01:00
Mikaël Capelle ee7097b0a7 Make some methods protected in ModListView. 2021-01-02 15:38:18 +01:00
Mikaël Capelle 524145405b Minor refactoring. 2021-01-02 15:38:18 +01:00
Mikaël Capelle acdea88541 Maintain selection while filtering (again). 2021-01-02 15:38:17 +01:00
Mikaël Capelle a19ede5b6f Move filter list to ModListView. 2021-01-02 15:38:17 +01:00
Mikaël Capelle a105e4c8c8 Move more stuff from MainWindow. Minor improvements for prev/next button in ModInfoDialog. 2021-01-02 15:38:17 +01:00
Mikaël Capelle fcf0aff98b Replace hasFlag by isX. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 48d92fbd9f Fix originModified signal handling. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 2ed9db7aab Move creations of actions to ModListView. 2021-01-02 15:38:17 +01:00
Mikaël Capelle a27656dc7b Move click event to ModListView. Remove unused slots from MainWindow. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 4f89665056 Move the regular context menu. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 51281ac304 Clean visitOnX methods. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 6e4b1790ae Move the separator context menu. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 4ee929b68a Move the backup context menu. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 7f0c9b8d82 Move the overwrite context menu. 2021-01-02 15:38:17 +01:00
Mikaël Capelle fb52a129b3 More stuff moved to mod list context. 2021-01-02 15:38:17 +01:00
Mikaël Capelle e8c2d9cd29 More context menu stuff moved. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 8a88421fd9 Start moving modlist context menu actions to separate structures. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 07c2badd17 Fix rebase from 54736a6. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 89ff59da46 Add message for invalid drag. Split & clean code. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 313589cf10 Fix canDrop in sort proxy. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 6443fa4c0e Fix category management. 2021-01-02 15:38:17 +01:00
Mikaël Capelle eabf64fbc0 Clean drag&drop code and add drop of external folder/archives. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 50a0c95a82 Remove unused method. 2021-01-02 15:38:17 +01:00
Mikaël Capelle 229033f2d6 Remove debug for not-checkable row in grouping proxy (happens with backups for instance). 2021-01-02 15:38:16 +01:00
Mikaël Capelle 8eb59316f9 Do not invalidate the sort proxy when not required (keep selection). 2021-01-02 15:38:16 +01:00
Mikaël Capelle 1efa793290 Expand separator after drop. 2021-01-02 15:38:16 +01:00
Mikaël Capelle 53d6460558 Attempt to fix the style of the drop indicator. 2021-01-02 15:38:16 +01:00
Mikaël Capelle f906229a91 Fix indent when grouping by category/nexus id. 2021-01-02 15:38:16 +01:00
Mikaël Capelle 41467d8e21 Conditional collapse/expand all item in 'all mods' menu. 2021-01-02 15:38:16 +01:00
Mikaël Capelle 373b659dcb Fix and move stuff around.
- Move selection-related code from ModList to ModListView.
- Fix move-selection for multi-selection.
- Fix refresh of mod list on toggle selection.
2021-01-02 15:38:16 +01:00
Mikaël Capelle 095348c16f Add option to disable collapsible separators. 2021-01-02 15:38:16 +01:00
Mikaël Capelle 44e846cf18 Remove context attribute from MainWindow. 2021-01-02 15:38:16 +01:00
Mikaël Capelle 6e803a3522 Fix prev/next button in mod info dialog. 2021-01-02 15:38:16 +01:00
Mikaël Capelle 7e2c521339 Refactoring and fixes.
- Move codes from MainWindow to ModListView.
- Fix enable/disable all visible.
- Fix changing style of the mod list.
2021-01-02 15:38:16 +01:00
Mikaël Capelle 68c9ae8592 Fix controls without indentation. 2021-01-02 15:38:16 +01:00
Mikaël Capelle a67fca4760 Tentative fix for the indentation. 2021-01-02 15:38:16 +01:00
Mikaël Capelle de87a105b0 Fix indentation and drop indicator. 2021-01-02 15:38:16 +01:00
Mikaël Capelle 4ee3d2848e Prevent dropping mods into their current separator. 2021-01-02 15:38:16 +01:00
Mikaël Capelle 7c073f74c2 Toggle expanded state on double-click. 2021-01-02 15:38:16 +01:00
Mikaël Capelle f923de39e0 Maintain selection while filtering. 2021-01-02 15:38:16 +01:00
Mikaël Capelle 25d852f075 Fix filtering for separators. 2021-01-02 15:38:16 +01:00
Mikaël Capelle 9ea4e6bb09 Increase auto-expand delay to 1s. 2021-01-02 15:38:16 +01:00
Mikaël Capelle 9b13b467cf Revert "Revert to Qt default behavior for auto-collapse on hovering."
This reverts commit b74f08a57ba659e2da232e253844aff8a169f9e0.
2021-01-02 15:38:16 +01:00
Mikaël Capelle e5744941ae Fix dropping below/above separators. 2021-01-02 15:38:16 +01:00
Mikaël Capelle 48fc724a0d Remove non-necessary refresh() of the proxy on mod installed. 2021-01-02 15:38:16 +01:00
Mikaël Capelle d979e60aed Fix automatic refresh of the collapsible separator proxy. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 7a65cc6488 Disable drag&drop of mods in backups. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 6e802d7327 Do not move installed mod after merge/replace. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 54ea4445b0 Fix sorting of backups when using collapsible separators. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 64f771bc1f Refresh by-priority proxy after install and focus on the newly installed mod. 2021-01-02 15:38:15 +01:00
Mikaël Capelle e1ef7132ad Revert to Qt default behavior for auto-collapse on hovering. 2021-01-02 15:38:15 +01:00
Mikaël Capelle a7131a761e Prevent dropping separators onto separators. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 6d75ad0962 Allow drag&drop a separator to itself. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 8b89f9f49d Better drag handling. 2021-01-02 15:38:15 +01:00
Mikaël Capelle b340c564cf Fix keyboard move selection. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 9d8c64dccb Do not set Qt::ItemIsDropEnabled all the time. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 9db6a9d793 Save collapse state of separator. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 4636d7bd5d Small refactoring to avoid duplicated code. 2021-01-02 15:38:15 +01:00
Mikaël Capelle addb38645b Clean drag&drop of URLs and mods/archives. 2021-01-02 15:38:15 +01:00
Mikaël Capelle cc5f0c8555 Drag and drop from download view to install + Expand and scroll to mod on install. 2021-01-02 15:38:15 +01:00
Mikaël Capelle c46432cc2e Move common code to method. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 14bdef9ea6 Add collapse/expand all actions. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 1e2297604b Restrict collapsible separators to sort-by-priority in ascending order. 2021-01-02 15:38:15 +01:00
Mikaël Capelle e4473d8fd5 Restrict collapsible separators to sort-by-priority. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 6444dd7f5c Fix drag-and-drop of separators. 2021-01-02 15:38:15 +01:00
Mikaël Capelle 6e34765866 Allow drop before first separator. 2021-01-02 15:38:15 +01:00
Mikaël Capelle c778f01c89 Only expand if model is correct. 2021-01-02 15:38:14 +01:00
Mikaël Capelle 604da06bd8 Fix expansion of items when building tree. 2021-01-02 15:38:14 +01:00
Mikaël Capelle d4e0589470 Fix drag and drop of regular mods. 2021-01-02 15:38:14 +01:00
Mikaël Capelle 44103ef737 Disable auto-collapsing after delay. 2021-01-02 15:38:14 +01:00
Mikaël Capelle 064caa6ef4 Add auto-expand. 2021-01-02 15:38:14 +01:00
Mikaël Capelle d0512da758 Use an intermediate structure to store the separator tree. 2021-01-02 15:38:14 +01:00
Mikaël Capelle be0d6aef00 Start working on collapsible separators. 2021-01-02 15:38:14 +01:00
Mikaël Capelle 71055e373d Merge pull request #1340 from Holt59/update-imodinterface
Remove setName and remove from mod interface.
2021-01-02 15:25:40 +01:00
Mikaël Capelle 3a92ff96ba Remove setName and remove from mod interface. 2021-01-02 15:08:29 +01:00
Al 386cfc511a Merge pull request #1336 from Holt59/fix-crash-during-extraction
Tentative fix for crash during large extraction.
2021-01-01 14:49:46 +01:00
Mikaël Capelle 469cfcef55 Tentative fix for crash during large extraction. 2020-12-31 11:52:16 +01:00
AL edee6af38e Bump version to alpha4 2020-12-30 22:17:46 +01:00
Mikaël Capelle 4fdb8ee8e6 Merge pull request #1334 from Holt59/dot-in-filefindinfos
Allow '.' for the path in findFileInfos.
2020-12-30 21:05:57 +01:00
Mikaël Capelle d7fce1a2d6 Allow '.' for the path in findFileInfos. 2020-12-30 20:46:22 +01:00
Al 54736a6e24 Merge pull request #1329 from Holt59/imodinterface-isX
Add method to get the type of IModInterface.
2020-12-30 15:25:26 +01:00
isanae 1b101bda36 Merge pull request #1333 from isanae/more-stuff-2
More stuff 2
2020-12-29 07:29:53 -05:00
isanae 33a177f1ed profiles dialog:
- added select button
  - select new profile in the list after creating
2020-12-29 02:42:07 -05:00
isanae cc997c3704 editable combobox for output mod name 2020-12-29 02:10:33 -05:00
isanae 91e1cc9cca update mod counts for creating/restoring backups 2020-12-28 06:59:39 -05:00
isanae f01fe9ce7c refresh action, added in toolbar and menu 2020-12-28 06:37:50 -05:00
isanae e43f6e6f37 disallow renaming the active profile 2020-12-28 06:24:26 -05:00
isanae 4b059fa71f Merge pull request #1332 from isanae/more-stuff
More stuff
2020-12-28 06:23:44 -05:00
isanae 9b3e91b53e renamed DownloadList::lessThan to lessThanPredicate and added a comment that it's used with the filter widget 2020-12-28 06:01:43 -05:00
isanae c2c0f7c98d added open in explorer in save game context menu 2020-12-28 05:44:51 -05:00
isanae f46a14f3bf delete shortcut for save games 2020-12-28 05:37:14 -05:00
isanae a8f6f0d7a0 split saves tab, no changes 2020-12-28 05:28:37 -05:00
isanae 462ea08c34 fixed warning about ini files with utf8 bom
fixed main thread name still getting clobbered by QWebEngine
2020-12-28 04:17:16 -05:00
isanae 3c62a048da fixed crash for ignore data/mark converted on multiple mods
also fixes only half the selected items being handled at a time
the selection must be copied first because it's live and will get invalidated when filters are being used
there was some weird connect() calls for every item, not sure why
2020-12-28 03:37:20 -05:00
isanae 1be2006359 offline mode:
- don't try to login on startup
- don't try to update loot when sorting and display a warning that the master list might be stale
2020-12-28 03:12:15 -05:00
isanae 51db1f99f0 custom browser command
changed some places that used QDesktopServices to use shell::Open() from uibase instead
2020-12-28 01:25:33 -05:00
isanae 106ed49bae removed setUpdateDelay(false) calls, it's the default
FilterWidget for downloads tab
2020-12-26 20:58:06 -05:00
isanae 3eb64c32e8 split downloads tab 2020-12-26 19:51:47 -05:00
isanae 2b2bb69351 don't update mods after installing in offline mode 2020-12-26 19:14:34 -05:00
isanae 2e86e36a8e allow selecting another instance when the game/variant isn't found 2020-12-26 19:09:59 -05:00
Mikaël Capelle f1156e169b Add method to get the type of IModInterface. 2020-12-26 16:53:07 +01:00
isanae 89bbdf22cd Merge pull request #1328 from isanae/stuff
Stuff
2020-12-24 23:06:53 -05:00
isanae 9441d49c6d added citrix to checks 2020-12-24 12:37:19 -05:00
isanae 1b700785bb don't log modules in winroot
dashes to dots
2020-12-24 11:22:24 -05:00
isanae da0771853a added BlueAmulet to contributors (conflict icons)
sorted names
2020-12-24 10:59:46 -05:00
isanae 5183b2f47a optimizations for download manager:
- use envfs for walking directory
 - minimize string copies, disk access
 - use set of filenames to check for duplicates
 - use file size from envfs
2020-12-24 10:55:55 -05:00
isanae c8cff6166d added version to dmp filename
replaced QApplication calls so createVersionInfo() can be called without one, happens with dump_running_process.bat
2020-12-24 10:02:56 -05:00
isanae 28d24b3caa don't count overwrite, m_Overwrite is dead code 2020-12-24 09:50:43 -05:00
isanae 444f12c7c4 replaced "validator" logs with "nexus", clearer for users 2020-12-24 09:45:26 -05:00
isanae b20b458299 also log primary handler 2020-12-24 09:42:23 -05:00
isanae b2af1e340f dump nxmhandler.ini 2020-12-24 09:36:04 -05:00
isanae c676247f99 ignore steam username when dumping settings 2020-12-24 09:13:11 -05:00
isanae 4bff983527 regex for osds
added gigabyte 3d osd, more nahimic
2020-12-24 09:12:16 -05:00
isanae 06ca11edfb Merge pull request #1327 from isanae/instance-icons
Fixed incorrect instance icons
2020-12-22 15:00:49 -05:00
isanae d08ed01438 fixed instanceIcon() so it works when game plugins fail auto detection but the instance has a custom path
had to change PluginContainer to non const in a few places
2020-12-22 14:40:51 -05:00
isanae b7486d9157 typo 2020-12-21 09:49:00 -05:00
isanae 5560931ad9 Merge pull request #1324 from isanae/master
Added 6788 and trosski to the about diaog
2020-12-20 23:13:40 -05:00
isanae f1ea330df0 added 6788 and trosski to the about diaog 2020-12-20 23:13:07 -05:00
isanae 97dab75c75 Merge pull request #1323 from isanae/master
Added timing for vfs mapping
2020-12-20 23:08:53 -05:00
isanae 598a99e420 added timing for vfs mapping 2020-12-20 23:08:14 -05:00
Mikaël Capelle 904264e231 Merge pull request #1313 from Holt59/load-plugin-without-restart
Implement loading/unloading of plugins without restarting
2020-12-07 08:40:23 +01:00
Mikaël Capelle 3264d7899e Remove unused member in proxy. 2020-12-04 19:58:47 +01:00
Mikaël Capelle d644eecbb7 Remove log for disconnectSignals(). 2020-12-04 19:56:26 +01:00
Mikaël Capelle 8b02a5a796 Fix crash when starting MO2 without instance. 2020-12-04 19:32:11 +01:00
Mikaël Capelle a1ab717e9e Minor cleaning (comments, names). 2020-12-04 13:41:06 +01:00
Mikaël Capelle 7a3bc0cd23 Throw exception when trying to unload the current game plugin. 2020-12-04 13:33:14 +01:00
Mikaël Capelle 4118aef2a2 Remove disconnectPlugins() from OrganizerCore. 2020-12-04 13:32:47 +01:00
isanae 0a6a5eb786 Merge pull request #1316 from isanae/master
Spaces in paths
2020-12-04 04:24:37 -05:00
isanae 50dde6c94e quotes for spaces in paths 2020-12-04 04:23:55 -05:00
Mikaël Capelle a30d49f4fc Avoid duplicating code to simulate startup. 2020-12-04 08:50:31 +01:00
Mikaël Capelle f229dbaaa7 Do not store the list of preview plugins in PreviewGenerator. 2020-12-04 08:03:40 +01:00
Mikaël Capelle a6654eaec8 Centralize loading Qt plugin in loadQtPlugin. 2020-12-04 07:58:58 +01:00
Mikaël Capelle 1a486a0942 Add MainWindow::onPluginRegistrationChanged. 2020-12-04 07:52:24 +01:00
Mikaël Capelle 47626d654f Clarify comment. 2020-12-04 07:45:56 +01:00
isanae b2ec5fa70a Merge pull request #1315 from isanae/download-crash
Handle null plugin when adding a download
2020-12-03 20:04:21 -05:00
isanae 43f20f511c handle null plugin when adding a download
happens when some plugins refer to other plugins that are missing
2020-12-03 20:03:35 -05:00
Al 258a9e0f5a Merge pull request #1312 from BlueAmulet/master
Better blue conflict icons
2020-12-02 13:19:41 -08:00
Mikaël Capelle 4240f10260 Fix callbacks for pluginlist, modlist and download manager. 2020-12-02 21:09:42 +01:00
Mikaël Capelle cb453a9ba7 Fix callbacks for IOrganizer when plugin are unloaded/loaded. 2020-12-02 21:08:22 +01:00
Mikaël Capelle 4f7f378d8d Add methods to load/reload/unload plugins. 2020-12-02 21:07:04 +01:00
Mikaël Capelle 89190af4b2 Add signals (not used yet) for registering/unregistering plugins. 2020-12-02 21:05:54 +01:00
Mikaël Capelle facb4e7fe4 Do not store installers in InstallationManager, use the ones from PluginContainer. 2020-12-02 21:04:18 +01:00
Mikaël Capelle 90154e621a Add Settings::unregisterPlugin(). 2020-12-02 21:03:10 +01:00
BlueAmulet 44eb0946a7 Better blue conflict icons 2020-12-02 11:15:00 -07:00
Mikaël Capelle c3a9571696 Merge pull request #1311 from Holt59/ipluginproxy-unload
Add IPluginProxy::unload() and rename instantiate() to load().
2020-12-02 16:26:59 +01:00
Mikaël Capelle b8bc0f7ab3 Merge pull request #1310 from Holt59/fix-mod-extensions-check-for-install
Compute supported extensions dynamically in installation and download managers.
2020-12-02 09:09:38 +01:00
Al 5ff024b77c Merge pull request #1300 from Qudix/ignore_alt
Ignore ALT-key event when ui is locked
2020-12-01 14:06:15 -08:00
Seth Riley ce7345bde2 The Golden Comment 2020-12-01 16:05:23 -06:00
Seth Riley 852d8745a1 Merge https://github.com/ModOrganizer2/modorganizer into ignore_alt 2020-12-01 15:55:50 -06:00
Mikaël Capelle 4818eb6cfe Add IPluginProxy::unload() and rename instantiate() to load(). 2020-12-01 21:21:26 +01:00
Mikaël Capelle ad17210d7a Compute supported extensions dynamically in installation and download manager. 2020-12-01 21:07:54 +01:00
Al 1ec3ab2b8a Merge pull request #1304 from ModOrganizer2/Al12rs-refresh-waitForApplication
Refresh after waiting for application (vfs)
2020-11-28 10:55:25 -08:00
AL 3db08caaf2 Allow optional refresh for waitForApplication() 2020-11-28 17:28:49 +01:00
AL d99e576db8 Merge branch 'master' into Al12rs-refresh-waitForApplication 2020-11-28 17:21:33 +01:00
Al 2c115e48cc Merge pull request #1301 from ModOrganizer2/iplugingame-saves
IPluginGame::listSaves
2020-11-28 06:32:09 -08:00
Mikaël Capelle ef11888116 Fix conflicts with master. 2020-11-27 19:20:41 +01:00
isanae dffec4fd9d Merge pull request #1305 from ModOrganizer2/revert-1277-master
Revert "Changing the location of several directories"
2020-11-27 07:47:19 -05:00
isanae 5dd9bbe33a Revert "Changing the location of several directories" 2020-11-27 07:34:00 -05:00
Al a0229380ce Refresh after waiting for application (vfs) 2020-11-26 15:33:49 +01:00
Mikaël Capelle d855daf103 Revert translation file. 2020-11-25 21:18:37 +01:00
Mikaël Capelle f3f0036a05 Fix PluginContainer::setUserInterface(). 2020-11-23 15:30:21 +01:00
Mikaël Capelle 0a912afe72 Add timer to the save list watcher to avoid error during refresh. 2020-11-21 12:13:20 +01:00
Mikaël Capelle 32072ca19e Return shared_ptr in IPlugin::requirements(). 2020-11-19 21:21:38 +01:00
Mikaël Capelle 951ccdc823 Update following removal of IPlugin::isActive(). 2020-11-18 19:26:59 +01:00
Mikaël Capelle e76e7e034d Move MemoizedLock to uibase. 2020-11-18 19:22:13 +01:00
Mikaël Capelle e39de4dd2a Update following addition of IPluginGame::listSaves(). 2020-11-18 19:22:05 +01:00
Mikaël Capelle ddba54382a Merge pull request #1292 from Holt59/iplugin-isactive-refactoring
IPlugin::isActive refactoring
2020-11-18 10:01:27 +01:00
Qudix 60688ecf5b Ignore ALT-key event when ui is locked 2020-11-18 02:13:25 -06:00
Mikaël Capelle 61554d3df7 Better vertical alignment for plugin descriptions. 2020-11-17 18:27:21 +01:00
Mikaël Capelle 1d6d01dec8 Disable checkbox when plugin cannot be enabled. 2020-11-17 18:24:10 +01:00
Mikaël Capelle 8886674379 Better dialog for warning when disabling proxy plugin. 2020-11-17 14:28:43 +01:00
Mikaël Capelle bed3475362 Fix crash for proxied plugins on first startup. 2020-11-17 14:28:00 +01:00
Mikaël Capelle e9a4f91fac Display inactive checkbox for core plugins (not for games). 2020-11-17 13:24:57 +01:00
Mikaël Capelle 1e67c3e68d Add core plugins and better messages. 2020-11-17 12:30:59 +01:00
Mikaël Capelle 9fd2a757fa Fix had -> add. 2020-11-17 10:50:36 +01:00
Mikaël Capelle c62da01478 Replace : by . in comments. 2020-11-17 10:49:29 +01:00
Mikaël Capelle e0b73a7d7d Fix selection in Plugins settings. 2020-11-17 10:45:29 +01:00
Mikaël Capelle 037ca381a4 Fix filter for child plugins. 2020-11-17 10:27:52 +01:00
Mikaël Capelle 0668640338 Merge pull request #1298 from Holt59/fix-findfiles
Allow '.' in findFiles and filter on file name, not full paths.
2020-11-17 09:17:21 +01:00
Mikaël Capelle 3de7e93a95 Merge pull request #1291 from Qudix/tracking_integration
Add a toggle for tracking
2020-11-16 12:43:47 +01:00
Mikaël Capelle 4c822e6563 Allow '.' in findFiles and filter on file name, not full paths. 2020-11-15 20:41:26 +01:00
isanae 5f7e2988cd Merge pull request #1297 from isanae/master
Fix crash when clicking ... in path page
2020-11-15 04:07:40 -05:00
isanae 18106aa945 fixed crash when clicking ...
lambda was taking a local variable by reference
2020-11-15 04:06:56 -05:00
Qudix 67188a39cb Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into tracking_integration 2020-11-14 19:45:23 -06:00
isanae 4833e494d5 Merge pull request #1277 from Qudix/master
Changing the location of several directories
2020-11-14 06:54:51 -05:00
Qudix 24991bf5fb Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master 2020-11-14 00:36:57 -06:00
isanae 579f94b5b6 Merge pull request #1296 from isanae/master
Adding Qudix to contributors
2020-11-13 23:54:47 -05:00
isanae 6a6cf8b0e7 added Qudix to contributors 2020-11-13 23:54:08 -05:00
Mikaël Capelle 88d2d7b918 Merge pull request #1295 from Holt59/fix-order-of-saves
Fix order of saves.
2020-11-13 18:29:53 +01:00
Mikaël Capelle e99b05f20d Fix order of saves. 2020-11-13 18:27:33 +01:00
Mikaël Capelle 34e9fb0015 Check for disabled mod page plugins. 2020-11-13 18:26:49 +01:00
Mikaël Capelle 1facda1943 Merge branch 'master' of github.com:ModOrganizer2/modorganizer into iplugin-isactive-refactoring 2020-11-13 16:14:31 +01:00
Mikaël Capelle 4d94ba8dbb Proper handling of mod pages. 2020-11-13 13:18:05 +01:00
Mikaël Capelle fe6654f892 Better 'Browse Mod Page' menu. 2020-11-13 13:04:22 +01:00
Mikaël Capelle 5384fb1cf6 Feeling like Shakespeare. 2020-11-12 22:30:22 +01:00
Mikaël Capelle 0d6bdf5721 Do not initialize proxied plugins twice. 2020-11-12 22:08:55 +01:00
Mikaël Capelle a4acfc1f99 Add callbacks for plugin enabled/disabled. 2020-11-12 21:49:57 +01:00
Mikaël Capelle 56dcdd33a2 It's 2020. 2020-11-12 21:23:35 +01:00
Mikaël Capelle 15059907c9 Proper handling of proxied plugins that implement multiple interfaces. 2020-11-12 20:47:20 +01:00
isanae 85f515da2d Merge pull request #1294 from isanae/master
Bunch of instance and command line stuff
2020-11-12 03:16:44 -05:00
isanae 6ae27224b0 fixed a bunch of instance and command line stuff
- clear instance manager overrides when restarting, or switching instances after starting MO with moshortcut://instance: won't do anything
- clear overrides when the last selected instance can't be opened; MO would keep trying to open shortcuts even after selecting a different instance
- command line was cleared too early, before the first run, so shortcuts were broken
- the instance manager dialog can be opened without an instance loaded if the last selected instance doesn't exist, createNew() would throw because it tried to access the global Settings
- fixed some problems with parts of MO wanting to restart and others expecting flow to continue
- fixed create instance dialog using settings pointer to decide whether to restart; it restarts when it's the first created instance, which is not always the case even if the settings are null, so just check whether there are instances
2020-11-12 03:15:14 -05:00
Qudix 125fc7a82e Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer 2020-11-11 23:30:03 -06:00
isanae f7de861812 Merge pull request #1293 from isanae/master
Crash when highlighting plugins from the Data directory
2020-11-12 00:18:41 -05:00
isanae a0c2651702 highlighting plugins from the data directory would crash
the mod name is "data" and getByName() crashes with a mod name that doesn't exist
2020-11-12 00:17:36 -05:00
Qudix f43b2284dd QtWebEngine does not respect built-in qt.conf 2020-11-11 20:58:38 -06:00
Mikaël Capelle 4fa44fe37e Remove duplicate dependencies. 2020-11-11 22:54:45 +01:00
Mikaël Capelle 90beed8c7b Handle proxy dependencies differently. 2020-11-11 22:45:33 +01:00
Mikaël Capelle 7ec0128eb5 Remove incorrect warning. 2020-11-11 21:42:05 +01:00
Mikaël Capelle c0ace25a87 Use IPlugin::master() when present. 2020-11-11 21:01:17 +01:00
Mikaël Capelle d3bd237c22 Fix rebase. 2020-11-11 20:34:28 +01:00
Mikaël Capelle a449098db9 Cleaner IPluginRequirement. 2020-11-11 20:30:34 +01:00
Mikaël Capelle e528d8b0ad Fix display of tools in the MainWindow menu. 2020-11-11 20:30:34 +01:00
Mikaël Capelle 0dddc5eb7b Fix handling of previous 'enabled' settings. 2020-11-11 20:30:34 +01:00
Mikaël Capelle f53d04a84d Hide Tool action instead of not adding them. 2020-11-11 20:30:34 +01:00
Mikaël Capelle 7a4f6d5344 Improve requirements handling. 2020-11-11 20:30:34 +01:00
Mikaël Capelle eb1d340f2d PluginRequirement -> IPluginRequirement and minor fixes. 2020-11-11 20:29:58 +01:00
Mikaël Capelle 6ee74831f7 Insert 'enabled' plugin if not present. 2020-11-11 20:29:58 +01:00
Mikaël Capelle 74ec078976 Replace usage of IPlugin::isActive(). 2020-11-11 20:29:58 +01:00
Qudix b9ec979b4c tabstop 2020-11-11 02:13:54 -06:00
Qudix 02c2329857 Add a toggle for tracking 2020-11-11 02:03:17 -06:00
Qudix b6f36b03a5 Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master 2020-11-10 20:07:09 -06:00
isanae e1dceec67a Merge pull request #1290 from isanae/master
Local saves don't work
2020-11-10 21:01:57 -05:00
isanae ca54d5c55b Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer 2020-11-10 21:00:54 -05:00
isanae be2456e815 detectGame() must be called before init() 2020-11-10 20:59:47 -05:00
Qudix 62caad3cdb Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master 2020-11-10 12:11:20 -06:00
isanae 9c21d1e4f6 Merge pull request #1289 from isanae/master
Don't delete user directories by default
2020-11-10 12:53:02 -05:00
isanae 849a8bd6b9 uncheck directories changed by the user by default to match the old behaviour of deleting an instance 2020-11-10 12:45:16 -05:00
isanae 49f208c5a2 Merge pull request #1287 from isanae/master
Stuff doesn't run
2020-11-10 11:52:34 -05:00
isanae 5fa4df5525 whitespace 2020-11-10 10:20:10 -05:00
isanae 92773706b9 don't attempt to parse the command line for launch, it fails in all sorts of ways
don't try to time stuff before logging is initialized, an exception before initLogging() will crash because ~TimeThis() tries to log
2020-11-09 17:17:04 -05:00
Qudix b9bc1a2d56 Using AppConfig 2020-11-09 14:10:50 -06:00
Qudix 0a3bdad8af Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master 2020-11-09 13:02:01 -06:00
isanae fef8543a58 Merge pull request #1286 from isanae/master
Nexus state not updated in settings
2020-11-09 08:55:50 -05:00
isanae 713e053d2c fixed nexus state not being updated 2020-11-09 08:55:09 -05:00
isanae 84e53f3ab3 Merge pull request #1284 from isanae/command-line-cleanup
Command line cleanup
2020-11-09 04:27:12 -05:00
isanae efdda8e738 removed excess padding in plugins tab
put blacklist into a group box
2020-11-09 00:01:07 -05:00
isanae 3cc568a852 keyboard nav for create instance dialog
change the skip intro setting on click instead of on completion
ctrl+f in game page
2020-11-08 23:55:17 -05:00
isanae d7ae42d377 renamed singleinstance.h/cpp to multiprocess.h/cpp 2020-11-08 22:09:42 -05:00
isanae a5469ae4e0 renamed SingleInstance to MOMultiProcess
rewrote some comments to avoid using "instance"
2020-11-08 22:07:15 -05:00
isanae 54bf7e1fa2 timings 2020-11-08 21:58:02 -05:00
Mikaël Capelle d23b38b4df Merge pull request #1285 from Holt59/remember-tabwidget-index
Remember currently open tab in right panel.
2020-11-08 13:39:24 +01:00
Mikaël Capelle 10634245ce Remember currently open tab in right panel. 2020-11-08 13:30:59 +01:00
isanae 346a6babdf renamed "change game" button to "manage instances" 2020-11-07 21:51:47 -05:00
isanae a104f5751d changed wiki link to Instances 2020-11-07 21:48:04 -05:00
isanae 2f817f36ef task dialog for plugin loadcheck
added option to skip plugin for this session only
2020-11-07 20:55:01 -05:00
isanae f9feb5fc5b show a confirmation before switching instances 2020-11-07 20:16:28 -05:00
isanae a28aeb2b18 implemented browse buttons 2020-11-07 20:16:28 -05:00
isanae 0b8fbfdc57 larger initial size for the instance dialog
save geometry if settings are available
2020-11-07 20:16:28 -05:00
isanae dd5367f488 fixed AppConfig::logFileName so it can be used
refactored MOApplication so everything is in doOneRun()
2020-11-07 20:16:28 -05:00
isanae 08c952e53a stopped using core dump stuff from usvfs, mo has its own
set exception handler at the start, it can handle not having qt or data paths
hopefully fixed infinite crash dumps
2020-11-07 20:16:27 -05:00
isanae b4f6275c3e split getCurrentInstance() 2020-11-07 20:16:27 -05:00
isanae 98b782caff reordered functions, removed unused headers 2020-11-07 20:16:27 -05:00
isanae 1b7384f7cb moved most of the stuff from main.cpp into MOApplication 2020-11-07 20:16:27 -05:00
isanae 079fd33cf1 added sanitychecks.h, moved to namespace sanity
added a set SetThisThreadName() after creating the main window, Qt resets it
2020-11-07 20:16:27 -05:00
isanae ba7d24faef moved handleCommandLine() to CommandLine::setupCore() 2020-11-07 20:16:27 -05:00
isanae 1bf24c7daa refactored setupInstance(), comments
ok -> okay
2020-11-07 20:16:27 -05:00
isanae d288587b00 moved instance setup/selection to instancemanager.cpp
comments
2020-11-07 20:16:26 -05:00
isanae a8187e7dc4 moved dlls stuff to MOApplication 2020-11-07 20:16:26 -05:00
isanae 90ea45328d moved splash stuff to MOSplash
comments
2020-11-07 20:16:26 -05:00
isanae 6ca1ebc349 comments
interpret a first argument starting with -- as an error instead of an exe name/binary
2020-11-07 20:16:26 -05:00
isanae 7614a14749 documentation 2020-11-07 20:16:26 -05:00
isanae baa5c3abee documentation
use an okay flag in PathsPage to avoid calling checkPaths() in ready() and make stuff mutable
moved a few things around
2020-11-07 20:16:26 -05:00
isanae b962d80816 moved DirectoryCreator up, moved fix functions as lambdas 2020-11-07 20:16:26 -05:00
isanae bc157095a5 moved getInstanceName() up
removed individual getters in CreateInstanceDialog, they were duplicating the work in creationInfo()
only VariantsPage needs access to the game plugin during creationInfo(), so pass it instead
selecting an undetected game, choosing a valid path and going back to the games page would not display the selected path in the list
2020-11-07 20:16:25 -05:00
isanae dc2ada2a42 added ... to the "Delete Instance" button to make it less scary
merged InstanceInfo into Instance, most of it was redundant
added logging before deleting instance
added Instance::readFromIni(), contains stuff that used to be in setup(), used by instance dialog
replaced QDir with QString in a few places, I hate QDir
2020-11-07 20:16:25 -05:00
isanae b7cb63ddb1 removed some redundant functions in InstanceManager, made them all non-static
documentation
2020-11-07 20:16:25 -05:00
Seth Riley b7b843d42b Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master 2020-11-06 13:21:07 -06:00
Mikaël Capelle 93e8488a63 Merge pull request #1283 from Holt59/iplugingame-detectgame
Add IPluginGame::detectGame()
2020-11-06 20:17:48 +01:00
Mikaël Capelle ffeae1a632 Call detectGame() after checking for conversion. 2020-11-06 20:10:52 +01:00
Seth Riley 92f3694acd Fixed bad merge 2020-11-06 12:16:37 -06:00
Seth Riley ed1085d567 Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master 2020-11-06 12:02:43 -06:00
Mikaël Capelle 1074825ca6 Replace IPlugin::registered() by IPluginGame::detectGame(). 2020-11-06 18:56:00 +01:00
isanae b909677c3f Merge pull request #1280 from isanae/command-line
Command line and instance dialogs
2020-11-06 10:51:03 -05:00
isanae ad8e9d99b3 renamed InstanceManager::instance() to singleton() to avoid confusion 2020-11-06 09:27:15 -05:00
isanae be9c39a3b4 pass null IOrganizer to proxy plugins instead of one with a null OrganizerCore
removed now useless null checks in OrganizerProxy
call setPluginDataPath() early so plugins can have it, since it's now a static function in IOrganizer
2020-11-06 09:05:45 -05:00
Mikaël Capelle a63a27840b Merge pull request #1281 from Holt59/imodinterface-filetree
Add IModInterface::fileTree().
2020-11-05 10:43:58 +01:00
isanae dc9de36965 call init() on proxy plugins
OrganizerProxy now handles a null OrganizerCore, used for proxy plugins
changed appVersion() and pluginDataPath() so they don't need OrganizerCore
2020-11-04 22:50:51 -05:00
isanae e6a87a1798 added IPlugin::registered()
removed useless dummy interfaces because init() isn't called anymore
python plugins currently broken because init() isn't called on them
fixed create instance dialog being shown on startup even if portable instance existed
display a message when the last instance can't be found
fixed instance manager dialog failing to open the portable instance
2020-11-04 20:57:50 -05:00
Mikaël Capelle 780cc2a352 Add IModInterface::fileTree(). 2020-11-04 21:46:39 +01:00
Seth Riley 34e1d05c28 Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master 2020-11-03 18:38:45 -06:00
Seth Riley 68750575d2 Implement suggestions 2020-11-03 18:12:23 -06:00
isanae f7b097e6ba stop using deprecated map() 2020-11-03 13:38:08 -05:00
isanae 38d2f87b31 replaced #pragma once by ifdefs
changed pointer to ref to NexusInterface
on_actionChange_Game_triggered() now creates the dialog itself instead of calling test code
fixed broken command line options, they'd be reset before they were used
removed useless explicit
2020-11-03 13:35:02 -05:00
isanae a4747a1ecc show create instance dialog on startup if there are no instances 2020-11-03 12:10:41 -05:00
isanae 7b1e30b464 larged delete instance dialog 2020-11-03 11:41:54 -05:00
isanae fb2cddd92a replace "create instance" title by "setting up instance"
fixed bad game location for custom paths
2020-11-03 11:41:54 -05:00
isanae 1d97d914f1 InstanceManager now returns new Instance struct instead of instance name
moved most of the figuring out of instance parameters from InstanceManager to Instance, separated all the ui from it and put it in main.cpp
added ways to show single pages in the create instance dialog so they can be used when info is missing
2020-11-03 11:41:54 -05:00
isanae b10436d60f game icons in the instance list 2020-11-03 11:41:54 -05:00
isanae 356d17b2ea fixes after rebasing 2020-11-03 11:41:53 -05:00
isanae 4c5e3da233 moved nexus api stuff to GlobalSettings
pass a pointer to Settings around for things that can be called without settings, when creating the first instance
added dummy plugin list, mod list and iorganizer to initialize plugins without an instance
moved PluginContainer into the core filter, had nothing to do with the plugins list
NexusInterface is now created manually instead of being a static singleton because it needs to know if the settings are available
2020-11-03 11:39:08 -05:00
isanae ee53312652 moved naturalCompare() to uibase
don't try to delete paths that don't exist
natsort for instance names and games
2020-11-03 11:39:07 -05:00
isanae a9772873d6 open ini button
update when renaming instance
update and select when creating instance
2020-11-03 11:39:07 -05:00
isanae 14d15070c8 added checkboxes for deleting instances
disabled instance conversion buttons again, not implemented
2020-11-03 11:39:07 -05:00
isanae 003ef66d2f - changed PathSettings::base() to use the ini's parent directory instead of the global "dataPath" property; this is always the same thing, unless another Settings object is created for a different instance than the active one, which happens in the instance manager dialog
- instance manager dialog:
   - select the active instance when opening
   - instance deletion now handles custom paths from the ini
   - started on instance conversions, not functional
2020-11-03 11:39:07 -05:00
isanae f7e9724eb1 delete instance 2020-11-03 11:39:07 -05:00
isanae f67dc91aa1 fixed boost bind warnings 2020-11-03 11:39:07 -05:00
isanae 5fc6b0cd14 renamed cancel to close
add portable instance to the list, handle some of the buttons
2020-11-03 11:39:07 -05:00
isanae ea4485857c filter, explore buttons, instance rename 2020-11-03 11:39:07 -05:00
isanae 6f21f3a19f disable portable instance button if one exists 2020-11-03 11:39:06 -05:00
isanae 44d9ebaf07 implemented nexus page 2020-11-03 11:39:06 -05:00
isanae c4df6b8ec9 split nexus connection stuff into NexusConnectionUI so it can be reused in the instance creation dialog
removed the PluginContainer* parameter from NexusInterface::instance()
 - it's a singleton, so it only needs to be given once, not every time
 - it doesn't even matter because the first time instance() is called, it creates the singleton, but the plugin container is always null
 - and setPluginContainer() is called much later from OrganizerCore with the correct value
added non functional nexus page to instance creation dialog
2020-11-03 11:39:06 -05:00
isanae c699aeb6d8 moved list of supported games to details
having too many plugins made the dialog too tall
2020-11-03 11:39:06 -05:00
isanae 58479e4b00 filter for games
replaced the button box with a regular widget with vertical layout
it was doing weird things to buttons with focus when removing and adding buttons on the fly because of filtering
2020-11-03 11:39:06 -05:00
isanae a97638249d moved switch to instance to InstanceManager
double-click an instance to switch to it (disabled for now, not sure I want that)
2020-11-03 11:39:06 -05:00
isanae b1e681e129 hide tutorial question option 2020-11-03 11:39:05 -05:00
isanae 8987693dcf added hide option for intro page in create instance dialog 2020-11-03 11:39:05 -05:00
isanae 0f0313874a new GlobalSettings class to manage the registry
close the create instance dialog when launch is unchecked
2020-11-03 11:39:05 -05:00
isanae dfbcf8ec4c restart when finished, added launch instance checkbox 2020-11-03 11:39:05 -05:00
isanae 0389688f3b move to next page when clicking a game
add game name in the label in the paths page
can't use canonicalPath(), path might not exist
2020-11-03 11:39:05 -05:00
isanae cfdfa9d40e PathChecker is unnecessary, refactored its guts into NamePage and PathsPage
made existing paths just a warning, don't check for portable instances
2020-11-03 11:39:05 -05:00
isanae 048e3ac0d9 split create instance dialog pages 2020-11-03 11:39:05 -05:00
isanae 4ac8ab9856 don't skip paths for portable instance, what am I doing
implemented actual creation
removed mentions of %BASE_DIR% everywhere, use constant and functions from PathSettings
2020-11-03 11:39:05 -05:00
isanae 7b02c77a39 review page 2020-11-03 11:39:04 -05:00
isanae 2cb5c21b8e fixed settings doing weird stuff with multiple instances
sort games by name
added intro and confirmation pages
2020-11-03 11:39:04 -05:00
isanae ebbc8ed60c paths page 2020-11-03 11:39:04 -05:00
isanae 46d81056d1 editions page 2020-11-03 11:39:04 -05:00
isanae b10bcf4cb7 instance name page 2020-11-03 11:39:04 -05:00
isanae e0ed1c2153 select custom game directory 2020-11-03 11:39:04 -05:00
isanae 717be0c048 game page 2020-11-03 11:39:04 -05:00
isanae 60b59ddf09 started create instance dialog
allow for multiple instances of Settings
fill in information in instance manager
2020-11-03 11:39:04 -05:00
isanae 5513b273c6 added empty instance manager dialog 2020-11-03 11:39:03 -05:00
isanae e29f41565f fixed splash not trying the default one 2020-11-03 11:39:03 -05:00
isanae 555b2508a5 rewrote the delete instance dialog text 2020-11-03 11:39:03 -05:00
isanae 3761ac84b5 deleteLocalInstance() now uses TaskDialog 2020-11-03 11:39:03 -05:00
isanae 3c791b0920 moved registry key from "Tannin" to "Mod Organizer Team" 2020-11-03 11:39:03 -05:00
isanae 5b13704275 moved profile, current game and game edition checks to InstanceManager
trying to centralize all of this stuff
2020-11-03 11:39:03 -05:00
isanae 2c915429d8 refactored stuff into determineGameEdition() and handleCommandLine() 2020-11-03 11:39:03 -05:00
isanae ae118153fb more refactoring:
- moved splash stuff together
 - moved stuff in the main loop into doOneRun()
2020-11-03 11:39:02 -05:00
isanae 9435202034 removed flags from SingleInstance because there's only one left
refactoring in main.cpp:
 - moved stuff to loglist.cpp and moapplication.cpp
 - split main() into a few functions
2020-11-03 11:39:02 -05:00
isanae f97e40f127 moved initLogging() to loglist.cpp 2020-11-03 11:39:02 -05:00
isanae 3d1d9f1110 removed unused HaveWriteAccess()
stop useless preloading of ssl dlls
2020-11-03 11:39:02 -05:00
isanae 93d1c97fda cleaned up includes 2020-11-03 11:39:02 -05:00
isanae cf289d7f95 command usage lines, exe options 2020-11-03 11:39:02 -05:00
isanae a8b6f22730 formatting for command list
added empty exe and run commands
2020-11-03 11:39:02 -05:00
isanae f4ca82f798 fixed handling of profile names with different casing than on the filesystem
added --instance
2020-11-03 11:39:02 -05:00
isanae ccab9eae8d add warning when profile given with -p doesn't exist
implemented moshortcut, nxm links and executable names as command line options
2020-11-03 11:39:01 -05:00
isanae 75cc2ffead removed unused update parameter
moved --multiple to CommandLine
2020-11-03 11:39:01 -05:00
isanae f121d92602 implemented launch as a command 2020-11-03 11:39:01 -05:00
isanae 5e528fb4cf new CommandLine class
implemented crashdump as a command, fixed dump_running_process.bat to use it
attach to console if present instead of always create one
2020-11-03 11:39:01 -05:00
isanae b103f29775 added --multiple to allow launching multiple instances 2020-11-03 11:39:01 -05:00
Al a7d4f2a0c4 Merge pull request #1276 from ModOrganizer2/alternatives_vector_refactor
Refactor of alternatives vector to use classes for readability.
2020-11-03 05:48:51 -08:00
Seth Riley 7cc76f7cea Fix for deprecated implicit function definition 2020-11-02 19:40:13 -06:00
Seth Riley 5bad8f9032 Fixed tutorials 2020-11-02 19:13:04 -06:00
AL c5e3fb423f Change some for loops to use refs, prefer range loop where possible. 2020-11-02 23:20:43 +01:00
AL 4814ba626e Convert FileAlternative and DataArchiveOrigin to classes 2020-11-02 21:45:32 +01:00
AL b7935aedec Change Alternatives vector to use a struct 2020-11-02 20:35:05 +01:00
Seth Riley f7d7661d58 Changing the location of several directories 2020-11-02 13:20:05 -06:00
AL 88475677d2 Print the name, not the origin object 2020-10-31 20:58:07 +01:00
Al f507305ffb Merge pull request #1274 from ModOrganizer2/conflicts_conter_tooltip
Add advanced counters as tooltip to general conflicts tab.
2020-10-31 11:53:23 -07:00
AL 529dbb2cd5 handle case of find_if failing 2020-10-31 18:31:42 +01:00
AL b53a5b6a2a prefer if over ternary op 2020-10-31 18:08:53 +01:00
AL d330a9d74b Cleanup clear() 2020-10-31 17:54:56 +01:00
isanae a57cb6bb71 Merge pull request #1275 from isanae/conflicts-sort
Conflict lists sorting not using natsort
2020-10-31 12:37:25 -04:00
isanae 71fc5d0af5 stack overflow when searching text files/ini lists because they reported children to infinity and beyond
removed update delays for filters in mod info dialog
fixed conflict lists not using source sorting so they wouldn't use the case insensitive natsort
2020-10-31 12:27:44 -04:00
AL ad4e8897ff Remove random extra whitespace 2020-10-31 16:38:49 +01:00
Al 5ee734c189 Merge pull request #1272 from ModOrganizer2/advanced_conflict_tab_archives
Fix advanced conflicts tab archive support
2020-10-31 08:35:46 -07:00
AL 89d3311aca Prefer early return in case of error. 2020-10-31 16:24:43 +01:00
AL 6f77c47907 Fix typos in comments 2020-10-31 16:21:37 +01:00
AL db3f257d07 use alternatives.back() instead of iterator shenanigans. 2020-10-31 16:20:12 +01:00
AL 2833f8d61b Make advanced conflicts tab use italic if current mod file is from archive, instead of using the status of the winning version. 2020-10-30 02:15:34 +01:00
AL a6edf645eb Add advanced counters as tooltip to general conflicts tab.
Loose, archive, totals, percentages.
2020-10-30 01:52:27 +01:00
AL 0c485304c1 Fix advanced conflicts tab archive orders.
Use the the existing sorting of the alternatives vector instead of relying on priority (archives don't follow priority).
2020-10-28 20:18:47 +01:00
Al 9615767e17 Merge pull request #1271 from ModOrganizer2/update_archivelist_on_refresh
Write back the updated list of archives during bsaListRefresh.
2020-10-28 05:45:41 -07:00
AL 194b1c9053 Write back the updated list of archives during bsaListRefresh.
This will make it so that refreshing actually updates the list of internal enabled archives, but two refreshes are still needed to observe an actual change in archive conflicts.
2020-10-27 23:57:50 +01:00
Mikaël Capelle 57e67eeb39 Merge pull request #1269 from Holt59/imodlist-updates
IModList updates
2020-10-26 21:39:25 +01:00
Mikaël Capelle 61308ae2a6 Merge branch 'master' into imodlist-updates 2020-10-26 21:39:13 +01:00
Mikaël Capelle d42399e419 Merge pull request #1267 from Holt59/iorganizer-profile-callbacks
Add IOrganizer::onProfileXXX callbacks.
2020-10-26 21:36:55 +01:00
Mikaël Capelle 0ca5d2843e Use static_cast instead of dynamic_cast. 2020-10-25 19:29:08 +01:00
Mikaël Capelle 551e8353e0 Move IOrganizer::getMod() to IModList::getMod(). 2020-10-25 17:46:29 +01:00
Mikaël Capelle a216177b87 Move IOrganizer::removeMod() to IModList::removeMod(). 2020-10-25 17:16:17 +01:00
Mikaël Capelle 4b8c2b4a3b Add missing notifyModRemoved(). 2020-10-25 17:16:04 +01:00
Mikaël Capelle d804a5e186 Move IOrganizer::modsSortedByProfilePriority() to IModList::allModsByProfilePriority(). 2020-10-25 16:53:31 +01:00
Mikaël Capelle cca709baae Rename IOrganizer::refreshModList -> refresh. 2020-10-25 16:18:19 +01:00
Mikaël Capelle 4e11faf1c8 Move IOrganizer::onModInstalled() to IModList. Add IModList::onModRemoved(). 2020-10-25 15:52:53 +01:00
Mikaël Capelle 87a53eabd5 Wrap profile in Profile::Ptr when creating. 2020-10-24 21:03:35 +02:00
Mikaël Capelle 8e591143a5 Add IOrganizer::onProfileXXX callbacks. 2020-10-24 20:54:22 +02:00
Mikaël Capelle 52cfb8e8a7 Merge pull request #1260 from Holt59/iplugin-setactive-fix
Fix usage of isActive
2020-10-21 20:08:01 +02:00
Mikaël Capelle 3c1f206d7d Always call onPluginSettingChanged and onUserInterfaceInitialized callbacks. 2020-10-18 10:13:59 +02:00
Mikaël Capelle 7762c1f53a Check for problems when closing the settings dialog. 2020-10-14 19:38:10 +02:00
Mikaël Capelle ef82ddd36a Merge pull request #1259 from Holt59/imodinterface-seturl
Add IModInterface::setUrl and remove IInstallationManager::setURL.
2020-10-14 18:44:35 +02:00
Mikaël Capelle 6652e9c3be Do not use inactive preview plugin. 2020-10-11 22:04:40 +02:00
Mikaël Capelle b43fdc3b4c Add glob_matching.h to the utility group. 2020-10-11 21:24:09 +02:00
Mikaël Capelle 3932371cd1 Use proxy for ModList, PluginList and DownloadManager. Do not use registered callbacks when plugin is inactive. 2020-10-11 21:17:34 +02:00
Mikaël Capelle 0363b73adb Do not call installer callbacks for non-active plugins. 2020-10-11 21:16:29 +02:00
Mikaël Capelle 149328dcb2 Switch from Qt signals to boost::signals for DownloadManager. 2020-10-11 21:15:12 +02:00
Mikaël Capelle 9d7d55918c Add IModInterface::setUrl and remove IInstallationManager::setURL. 2020-10-09 20:32:26 +02:00
Al 35b4aa1024 Merge pull request #1254 from ModOrganizer2/Al12rs-2.4.0alpha2
Bump version to 2.4.0alpha2 for dev release
2020-10-05 08:49:35 -07:00
Al fac6f2c349 Bump version to 2.4.0alpha2 for dev release 2020-10-05 13:46:03 +02:00
Mikaël Capelle 4167e6768e Merge pull request #1248 from Holt59/iplugin-interface-improvements
Better display of MO2 plugins
2020-10-01 18:52:35 +02:00
Mikaël Capelle cd3f496a5b Merge pull request #1245 from Holt59/save-game-recursive
Allow MO2 to find game saves into subdirectories / Hide 'Enable Mods... ' when SaveGameInfo does not exist.
2020-10-01 18:52:24 +02:00
Mikaël Capelle 475fc0b813 Fix default tab index of settings dialog. 2020-10-01 18:42:17 +02:00
Mikaël Capelle fac9d4caf6 Merge pull request #1249 from Holt59/fix-create-separator-refresh
Fix refresh of modlist when creating mods.
2020-09-30 21:43:22 +02:00
Mikaël Capelle ebabd6fd4a Fix refresh of modlist when creating mods. 2020-09-30 21:41:32 +02:00
Mikaël Capelle fb3d22a04d Only hide QTreeWidgetItem in plugin list when filtering. 2020-09-30 20:10:34 +02:00
Mikaël Capelle 7786a75fee Make filter work and reorganize layout with QSplitters. 2020-09-30 19:57:54 +02:00
Mikaël Capelle 04c8409bf5 Add filter for plugin list. 2020-09-30 18:58:01 +02:00
Jeremy Rimpo 0de18a3410 Merge remote-tracking branch 'origin/qt-5_15-compat' 2020-09-29 18:32:14 -05:00
Mikaël Capelle 4b1a89648f Display plugins in a tree instead of a list in the settings dialog. 2020-09-29 22:47:38 +02:00
Mikaël Capelle e9be288f7c Add topImplementedInterface(). Minor cleaning. 2020-09-29 21:55:44 +02:00
Mikaël Capelle cf828cd77b Use bf::for_each instead of custom templates. 2020-09-29 21:20:10 +02:00
Mikaël Capelle 69625912b8 Add a method to retrieve the localized names of the implemented plugin interfaces. 2020-09-28 22:56:12 +02:00
Mikaël Capelle eb72caa7c1 Use localizedName() instead of name() for the list of plugins in the UI. 2020-09-28 22:55:55 +02:00
Mikaël Capelle 92585af197 Do not show 'Enable Mods... ' action for game without SaveGameInfo feature. 2020-09-28 21:51:59 +02:00
Mikaël Capelle e261fffa8d Fix transfer saves for recursive saves. 2020-09-28 20:30:19 +02:00
Mikaël Capelle 34ce22bfd3 Allow MO2 to find game saves into subdirectories. 2020-09-28 20:22:07 +02:00
Al 154d83e479 Merge pull request #1243 from Holt59/absolute-path-ini-files
Allow absolute path for ini files.
2020-09-27 17:05:13 -07:00
Mikaël Capelle 718e71854e Use IProfile::absoluteIniFilePath(). 2020-09-27 21:28:14 +02:00
Mikaël Capelle 37b42df112 Allow absolute path for ini files. 2020-09-27 21:24:00 +02:00
Mikaël Capelle 9dbf4d7820 Merge pull request #1244 from Holt59/add-iprofile-inifilepath
Add IProfile::iniFilePath().
2020-09-27 21:22:21 +02:00
Mikaël Capelle 39b7f4abe9 Fix gameDirectory() -> documentsDirectory(). Use QFileInfo more properly. 2020-09-27 20:59:54 +02:00
Mikaël Capelle 7c651f6d86 Rename iniFilePath() -> absoluteIniFilePath(). 2020-09-27 20:56:55 +02:00
Mikaël Capelle b53dc1e200 Add IProfile::iniFilePath(). 2020-09-27 20:31:51 +02:00
isanae 12524354a8 Merge pull request #1242 from ModOrganizer2/Al12rs-patch-1
Remove potential early return in forEachEntry()
2020-09-27 10:15:30 -04:00
Mikaël Capelle c67f37a41f Merge pull request #1226 from Holt59/fix-ipluginlist-callbacks
Change for onPluginStateChanged to take a list of plugins.
2020-09-27 14:55:50 +02:00
Al 789e12a9f8 Remove incorrect early break in forEachEntry
This caused mo2 to skip some mod files for a user, potentially others as well.
2020-09-27 13:28:20 +02:00
Al 7f4e83ea11 TEST rem potential early return in forEachEntry()
Test to see if this fixes a bug on discord.
2020-09-27 00:54:06 +02:00
Jeremy Rimpo 8e43dee79c [skip ci] Use PR branch for umbrella repo (if it exists) 2020-09-25 00:34:23 -05:00
Mikaël Capelle a1c2d78c94 Merge pull request #1240 from Holt59/no-localsaves-if-impossible
Disable profile-specific game saves if not available from game plugin.
2020-09-24 11:44:35 +02:00
Mikaël Capelle 05ea4f2e38 Disable profile-specific game saves if not available from game plugin. 2020-09-23 20:39:59 +02:00
Mikaël Capelle bf351ff80b Merge pull request #1238 from Holt59/plugin-installer-callbacks
Add IPluginInstaller onInstallationStart and onInstallationEnd callbacks
2020-09-23 18:40:20 +02:00
Mikaël Capelle 865ae1d802 Merge pull request #1236 from Holt59/expose-modinterface-meta
Add getters for most meta-information in mod.
2020-09-23 18:34:15 +02:00
Mikaël Capelle 8980153a2c Add 'reinstallation' parameter to onInstallationStart(). 2020-09-22 22:03:16 +02:00
Mikaël Capelle d9cc013813 Change modId() to nexusId(). 2020-09-22 21:21:45 +02:00
Al 77576f626d Merge pull request #1239 from Holt59/imodinterface-clearpluginsettings
Add IModInterface::clearPluginSettings().
2020-09-21 14:42:37 -07:00
Mikaël Capelle 92c5b933cc Add IModInterface::clearPluginSettings(). 2020-09-21 23:38:51 +02:00
Mikaël Capelle c18d8c5dff Clean modinfo.h. 2020-09-21 23:24:59 +02:00
Mikaël Capelle d9a8e67598 Add IPluginInstaller onInstallationStart and onInstallationEnd callbacks. 2020-09-21 21:36:09 +02:00
Jeremy Rimpo 7563e4a517 [skip ci] Force exit PS with last exit code after umbrella build error 2020-09-21 06:25:13 -05:00
Jeremy Rimpo fc80d2f913 Needs quotes 2020-09-21 05:39:40 -05:00
Jeremy Rimpo 87e1618f1f [skip ci] Pull data from all branches 2020-09-21 05:39:13 -05:00
Jeremy Rimpo 2ec3025374 Missed CMD variable changed to PS syntax 2020-09-21 01:48:20 -05:00
Jeremy Rimpo a8f61b39c2 Change REM to PS comment 2020-09-21 00:39:36 -05:00
Jeremy Rimpo c664f26e57 Finalize appveyor script update 2020-09-20 22:34:38 -05:00
Jeremy Rimpo 9d27fb3c21 Convert scripts to PowerShell 2020-09-20 20:00:43 -05:00
Jeremy Rimpo dbe27903f4 Merge remote-tracking branch 'origin/master' into master 2020-09-20 19:06:10 -05:00
Jeremy Rimpo 4d6f43926b Update to checkout current branch in umbrella if it exists 2020-09-20 19:02:39 -05:00
Al 35500736ab Merge pull request #1237 from Holt59/mod-specific-plugin-settings
Add pluginSetting[s]() and setPluginSetting() to IModInterface.
2020-09-20 12:53:00 -07:00
Al 80ea74c70c Merge pull request #1235 from Holt59/fix-current-saves-dir
Fix issue with global saves directory when setting files are availble for non-Bethesda games.
2020-09-20 06:55:24 -07:00
Mikaël Capelle 89c93c3d32 Add pluginSetting[s]() and setPluginSetting() to IModInterface. 2020-09-20 15:13:56 +02:00
Mikaël Capelle 3211f518ce Add validated() and converted(). 2020-09-20 13:32:45 +02:00
Mikaël Capelle dce1993aef Fix issue with global saves directory when setting files are availble for non-Bethesda games. 2020-09-20 12:30:41 +02:00
Mikaël Capelle 4ed297750f Add getters for most meta-information in mod. 2020-09-20 12:29:56 +02:00
Al 4d9456dcf9 Bump appveyor version to 2.4 2020-09-10 14:46:23 +02:00
Jeremy Rimpo 5f3d4770d8 Update script 2020-09-10 02:47:40 -05:00
Jeremy Rimpo f0b7546fa8 Failures should be failures 2020-09-10 02:03:59 -05:00
Jeremy Rimpo 7fff2d85c9 Add handling for nightly builds 2020-09-10 01:45:11 -05:00
Jeremy Rimpo a5c2e516ed Merge branch 'bulk-update-fix' into master 2020-09-09 14:16:23 -05:00
Jeremy Rimpo 95b1c13dc6 Don't always increment 2020-09-09 14:15:22 -05:00
Jeremy Rimpo 3711cc0144 Merge pull request #1230 from ModOrganizer2/bulk-update-fix
Fixes for bulk update check
2020-09-09 13:34:54 -05:00
Jeremy Rimpo d30d966500 Standardizing 2020-09-09 13:33:36 -05:00
Jeremy Rimpo 10234e436a Traslate lines, use QPair 2020-09-09 12:37:34 -05:00
Jeremy Rimpo 81036b0149 Fixes for bulk update check
* Check game source for validity
* Display name of source when no updates found
2020-09-09 11:25:19 -05:00
Jeremy Rimpo 9938ded589 Compatibility fix for Qt 5.15.x 2020-09-09 11:23:54 -05:00
Chris Bessent 504683776c Merge pull request #1227 from LostDragonist/master
Do not report a canceled install as failed
2020-09-07 17:56:37 -07:00
Chris Bessent 23eab916ae Do not report a canceled install as failed
When a mod install reached the point of checking for overwrites with
existing mods (i.e., new mod has the same name as an old mod), there
was no way to distinguish between a failure and a user cancellation.
Now, an explicit status is passed up the stack so the cancellation
can be safely ignored by error checking code.
2020-09-06 06:57:05 -07:00
Mikaël Capelle b95373cb12 Change for onPluginStateChanged to take a list of plugins. 2020-09-05 13:49:55 +02:00
AL 2ad41ee2cd Bump dev build number 2020-09-01 13:37:59 +02:00
Al 460a068b38 Merge pull request #1222 from Holt59/ipluginlist-setpriority
Add IPluginList::setPriority implementation.
2020-09-01 04:00:04 -07:00
Al fa6136c671 Merge pull request #1220 from Holt59/modlist-setactive-bulk
Add a bulk-version of ModList::setActive.
2020-09-01 03:59:22 -07:00
Mikaël Capelle 6c86a0321b Add IPluginList::setPriority implementation. 2020-08-30 14:03:49 +02:00
Mikaël Capelle 3729f18af1 Update for change to onModStateChanged. 2020-08-29 19:35:41 +02:00
Mikaël Capelle fd86000f1e Fix typo in notifyModStateChanged documentation. 2020-08-29 16:10:23 +02:00
Mikaël Capelle 97e9e7cf2b Refactor the way m_ModStateChanged works. 2020-08-29 15:20:46 +02:00
Mikaël Capelle e421837ba0 Remove check for alwaysEnabled() and log missing mods in ModList::setActive(). 2020-08-29 13:35:58 +02:00
Mikaël Capelle 600a4b3b14 Add a bulk-version of ModList::setActive. 2020-08-29 12:48:17 +02:00
Al f0e94c26ae Merge pull request #1212 from Al12rs/mod_reinstall_modinfo_fix
Fix missing installed file info after reinstalling a mod.
2020-08-26 11:23:42 -07:00
Al abc714c624 Merge pull request #1214 from Al12rs/mark_uninstalled_when_replacing
Mark downloads of replaced mods as uninstalled
2020-08-26 11:23:28 -07:00
Al df26f75880 Merge pull request #1218 from Al12rs/backup_remove_no_uninstall
Don't mark a file as uninstalled when removing a backup.
2020-08-26 11:23:03 -07:00
Al 6e0919ab2c Merge pull request #1217 from Al12rs/conflicts_tab_labels
Improve modinfodialog conflicts tab labels and tooltips.
2020-08-26 11:22:50 -07:00
Al ac0f5a286c Merge pull request #1216 from ModOrganizer2/Al12rs-patch-1
Bump version to prealpha 2.4.0alpha1
2020-08-26 11:22:34 -07:00
Al f4aa0d4132 Merge pull request #1213 from Al12rs/adjustForVirtualized_fix
Use trailing slashes to make accurate comparisons in adjustForVirtualized
2020-08-26 11:22:17 -07:00
AL 743b03ceba Don't mark a file as uninstalled when removing a backup. 2020-08-26 14:15:11 +02:00
AL 3c778ef7c0 Improve modinfodialog conflicts tab labels and tooltips. 2020-08-26 13:53:11 +02:00
Al 27f9849992 Bump version to prealpha 2.4.0alpha1 2020-08-26 12:58:07 +02:00
AL c23ee0b1dc Mark downloads of replaced mods as uninstalled 2020-08-26 02:15:37 +02:00
AL ba1ff53c1b Use trailing slashes to make accurate comparisons in adjustForVirtualized. 2020-08-26 01:09:26 +02:00
AL 93b32b3658 Add the installed file to the list even from InstallMod, not just InstallDownload.
InstallMod is used for Reinstalling.
2020-08-25 20:46:23 +02:00
isanae 6f232d566e Merge pull request #1210 from Holt59/improve-mo2-update-details
Show details for all releases from Github when updating.
2020-08-24 13:12:46 -04:00
Mikaël Capelle e9787953d9 Better separation of changelogs in details. 2020-08-23 19:52:10 +02:00
Mikaël Capelle 172dda1bce Show details for all releases from Github when updating. 2020-08-23 19:44:55 +02:00
isanae a4043bab8c Merge pull request #1201 from erri120/open-meta
Open Meta file from downloads list
2020-08-21 01:27:50 -04:00
erri120 321b1facdc Updating error logging 2020-08-20 19:37:45 +00:00
erri120 9a9a2c5c6e Removed error log localization 2020-08-20 21:19:59 +02:00
Al 9e3793c194 Merge pull request #1202 from AnyOldName3/patch-3
Add FOMOD C# installer link
2020-08-20 11:05:09 -07:00
Chris Djali 0361707358 Add FOMOD C# installer link
Maybe we should add a CI step to check we've got links to all the MO2 repos (except the few that are deliberately not there).
2020-08-20 19:01:13 +01:00
erri120 5a857be1e4 Create meta file if it does not exist when trying to open it 2020-08-20 17:56:57 +02:00
erri120 586b3cd04e Added Open Meta File context action to downloads 2020-08-20 17:40:46 +02:00
isanae 41249036e5 Merge pull request #1194 from isanae/die-after-dump
Die after dumping
2020-08-13 14:42:19 -04:00
isanae d69289e081 always call the previous terminate handler, which should abort
without it, execution just resumes and dumps are created endlessly
2020-08-13 14:40:35 -04:00
isanae 0adf8a9f1b Merge pull request #1182 from AnyOldName3/dont-speak-ill-of-the-dead
Don't use reference as class member
2020-08-07 22:45:51 -04:00
AnyOldName3 05d03eec68 Don't use reference as class member
This particular QString was only ever constructed from a temporary,
so it was literally never going to work. We only hadn't noticed this
earlier as no one had tried using the mod repository bridge from a
plugin before (which is fairly bad given that three people have
theoretically tested it while working on its Python bindings in the
past).
2020-08-08 00:17:14 +01:00
isanae 592fa73104 Merge pull request #1176 from isanae/2.3.1-fixes
2.3.1 fixes
2020-08-01 11:11:41 -04:00
isanae 64ba6cae1e revert font scaling:
- users report low quality splash screen
 - sticking with qt's default is better in the long run
 - can still use the environment variable

revert network timer:
 - users report error in log every second
 - was a blind fix anyway, can't reliably reproduce it
2020-08-01 11:03:09 -04:00
isanae f71accc1ad bump to 2.3.1 2020-07-31 11:09:20 -04:00
isanae 44332c778d possible fix for "Network access is disabled"
start a timer and change NotAccessible back to UnknownAccessibility
2020-07-31 11:08:32 -04:00
isanae 6a1d57fe0c fixed bad font scaling 2020-07-31 10:01:00 -04:00
isanae 777229f28f added startSafeThread() to get core dumps for threads other than the main thread
added terminate handler
2020-07-31 09:56:19 -04:00
isanae 2eeaa0e31a fixed warning when trying to get the file type of files without extensions 2020-07-31 09:17:22 -04:00
Al 9d3281fd58 Update game-support-request.md 2020-07-29 16:59:32 +02:00
Al 1a468d66db Update game-support-request.md 2020-07-29 16:58:18 +02:00
Al 19fe01b60d Update issue templates 2020-07-29 16:57:31 +02:00
Al b6fac68b32 Update game-support-request.md 2020-07-29 16:53:57 +02:00
Al 50d883079e Update game-support-request.md 2020-07-29 16:53:22 +02:00
Al e379610805 Update game-support-request.md 2020-07-29 16:52:27 +02:00
Al 6dc736ca37 Update game-support-request.md 2020-07-29 16:50:00 +02:00
Al 7791ea0bd5 Create game-support-request.md 2020-07-29 16:47:43 +02:00
isanae e34a9e7315 Merge pull request #1172 from isanae/remove-prerelease
Chang release type to 0
2020-07-28 20:15:42 -04:00
isanae 4d546ea262 changed release type to 0 2020-07-28 20:15:12 -04:00
isanae 2ca7c1c9ea Merge pull request #1171 from isanae/bump-2.3
Bump to 2.3
2020-07-28 18:35:38 -04:00
isanae 4b0ba5c579 bumped to 2.3 2020-07-28 18:33:55 -04:00
isanae 7a10a74766 Merge pull request #1162 from isanae/bump-2.3rc2
Bump to 2.3rc2
2020-07-21 19:08:56 -04:00
isanae 7db0841a22 bumped to 2.3rc2
updated translations
2020-07-21 19:07:26 -04:00
isanae 2c082d6a3b Merge pull request #1161 from isanae/2.3rc2-fixes
2.3rc2 fixes (wip)
2020-07-21 18:13:42 -04:00
isanae a965a9dc41 added confirmation for sorting, some users click it by mistake 2020-07-20 20:05:15 -04:00
isanae 82cc488a18 conflict model didn't change persistent indexes when sorting 2020-07-20 20:01:46 -04:00
isanae 4adfeac9b7 shift+ and ctrl+double-click in mod list will now only open one mod instead of the whole selection
since these modifiers are also used for selecting, this is too error prone and users have reported opening a crapload of tabs in their browser or explorer windows
2020-07-20 19:26:33 -04:00
isanae c7a90f9506 added turkish translator 2020-07-20 19:09:12 -04:00
isanae 80645bacc1 Merge pull request #1160 from isanae/filetree-bugs
Filetree bugs and improvements
2020-07-20 19:07:58 -04:00
isanae 0c7265be4f only sort once at the end when fully loading for search
temporarily disable filtering completely when fully loading instead of just disabling recursive filtering, this could close already expanded nodes if their parent directories didn't match
2020-07-20 19:02:14 -04:00
isanae 6c4e237d4b fixed crash because items were sorted while being expanded
when expanding all or updating the tree, only sort once at the end
cache file types
2020-07-19 16:48:31 -04:00
isanae d32250597a Merge pull request #1154 from isanae/bump-2.3rc1
Bump to 2.3 rc1
2020-07-14 14:52:29 -04:00
isanae bd113a9502 bumped to 2.3 rc1 2020-07-14 14:50:56 -04:00
isanae 4fc61c7cd4 Merge pull request #1152 from isanae/small-fixes
Small fixes
2020-07-10 15:55:13 -04:00
isanae 315776799f don't translate new names 2020-07-10 15:51:06 -04:00
isanae 287e285afa added a bunch more osd checks
added warnings for paths in documents and downloads
2020-07-10 15:47:44 -04:00
isanae 285d0bfc79 loot exit code in hex 2020-07-10 15:33:00 -04:00
isanae 55451956c4 added VT_UI1 for productState 2020-07-10 15:31:08 -04:00
isanae cf01fa955c resize data tab columns when migrating from < 2.3 so the new columns are visible 2020-07-10 15:20:01 -04:00
isanae e0db7177b4 added hidden validation_timeouts setting 2020-07-10 15:04:54 -04:00
isanae 97dd16a87a don't log old nexus username and password
they're not supposed to be in the INI anymore, but the migration code looks broken and some users still have them
2020-07-10 14:54:02 -04:00
isanae b0fb203742 typo 2020-07-10 14:50:56 -04:00
isanae a2c630af24 added names to the about dialog 2020-07-10 14:50:46 -04:00
isanae 69b86b206b Merge pull request #1151 from isanae/data-tab-filter-slow
Slow search in data tab
2020-07-10 14:03:37 -04:00
isanae 16c7cc5605 fixed ensureFullyLoaded() taking forever because it was queuing all the sorts unnecessarily 2020-07-10 13:58:58 -04:00
isanae c8e1d62af0 Merge pull request #1150 from isanae/ts
updated translations
2020-07-10 12:21:44 -04:00
isanae 4a18791c2e updated translations 2020-07-10 12:12:31 -04:00
AL 732be7d38d Show .toml files in the "Text Files" modInfoDialog tab. 2020-06-24 15:52:20 +02:00
AL e4372b4570 Add a dash between the managed game and "Mod Organizer" to distinguish app name. 2020-06-24 15:50:55 +02:00
isanae 4ae95e21ad Merge pull request #1135 from Holt59/new-iorganizer-callbacks
Update for new organizer callbacks.
2020-06-16 15:39:59 -04:00
Mikaël Capelle 8c410aff33 Clean notification of userInterfaceInitialized between MainWindow and OrganizerCore. 2020-06-16 21:30:24 +02:00
Al 7d553557a6 Update issue-report.md 2020-06-16 15:20:15 +02:00
Al 72a992da68 Update issue-report.md 2020-06-16 15:19:49 +02:00
Mikaël Capelle 331fcad9f3 Remove unecessary default constructor call. 2020-06-16 12:47:50 +02:00
Mikaël Capelle f8bb349b3e Move userInterfaceInitialized notification at the end of the first show event. 2020-06-16 12:47:36 +02:00
Mikaël Capelle f66cf4ad99 Update for new organizer callbacks. 2020-06-15 22:47:21 +02:00
Al 4b92ba40be Merge pull request #1132 from Holt59/fix-getloadorder
Update following change to getLoadOrder() in game_features.
2020-06-14 15:59:35 -07:00
Mikaël Capelle eb1ca18ed8 Update following change to getLoadOrder() in game_features. 2020-06-14 15:33:16 +02:00
Al 92639dae7a Merge pull request #1131 from Holt59/allow-plugins-to-fix-filetree
Update following ModDataChecker change.
2020-06-14 05:48:49 -07:00
Mikaël Capelle 0ad3bbbdfa Update following ModDataChecker change. 2020-06-13 23:48:52 +02:00
AL 517749901d Version bump 2020-06-13 21:37:35 +02:00
Al 4606162eb4 Merge pull request #1127 from Holt59/fix-crash-archive-extraction
Fix archive extraction due to infinite QProgressDialog::setValue recursion
2020-06-12 10:59:08 -07:00
Al 628b56144d Merge pull request #1124 from Holt59/fix-unloading-of-plugins
Manually unload plugins to avoid issue with automatic unloading.
2020-06-11 11:54:07 -07:00
Mikaël Capelle a64ff3c7bb Add Qt bug report in comment and use while() instead of do { } while();. 2020-06-11 20:25:22 +02:00
Mikaël Capelle a769bc0061 Add comment explaining the usage of the QEventLoop. 2020-06-11 20:12:39 +02:00
Mikaël Capelle 93b1cea0d3 Rollback to using QProcessEvents but use WaitForMoreEvents. 2020-06-11 20:09:00 +02:00
Mikaël Capelle 26c7cd4f22 Disconnect signal after extraction to avoid calling them on destroyed widgets. 2020-06-11 18:33:44 +02:00
Al 297cb8320f Merge pull request #1123 from Holt59/fix-right-tabs-refresh
Fix refresh events of tabs in the right panel when some tabs are hidden.
2020-06-11 04:29:23 -07:00
Mikaël Capelle 5d0b6b0eab Manually unload plugins to avoid issue with automatic unloading. 2020-06-11 13:23:03 +02:00
Mikaël Capelle bb2dc9bd01 Avoid using indexOf everywhere. 2020-06-11 12:55:59 +02:00
Mikaël Capelle d0d795d12d Fix refresh events of tabs in the right panel when some tabs are hidden. 2020-06-11 12:46:09 +02:00
AL 2285ed32af Version bump to 2.3.0alpha10 2020-06-10 15:41:23 +02:00
Al 054af144fc Merge pull request #1120 from Holt59/hide-unused-tabs
Hide plugins and archives tabs when features are missing.
2020-06-09 13:16:42 -07:00
Mikaël Capelle af723f4297 Hide plugins and archives tabs when features are missing. 2020-06-09 22:08:03 +02:00
Al da66cb4917 Merge pull request #1118 from Al12rs/nexus_requests_leak
Fix consecutive mod update checks checking some mods again
2020-06-09 07:34:45 -07:00
AL a565472b82 Mark mods with orphaned nexus ids as checked to avoid repeated requests. 2020-06-09 15:54:36 +02:00
AL d164c17958 Fix consecutive mod update checks checking some mods again..
by correctly setting the last nexus update timestamp on a missed case.
2020-06-09 15:53:26 +02:00
Al b548fd37e4 Merge pull request #1117 from Holt59/iinstallmanager-silent-extraction
Add silent parameter to extraction methods of IInstallationManager.
2020-06-09 05:52:48 -07:00
Mikaël Capelle dfdf396149 Add silent parameter to extraction methods of IInstallationManager. 2020-06-09 13:43:02 +02:00
Al e13ca4bead Merge pull request #1115 from Al12rs/fix_problems_button
Fix problems button not updating on startup in some cases.
2020-06-08 14:37:31 -07:00
AL 210cd42395 Fix problems button not updating on startup in some cases.
Mainwindow wasn't guaranteed to exist after first directory structure refresh was complete so there was no mainwindow slot triggered to check for problems.
Added a proper problems check in the mainwindow constructor.
2020-06-08 23:26:02 +02:00
Al 29893868dc Merge pull request #1114 from Holt59/iorganizer-findfiles-glob
Add findFiles overload with glob patterns.
2020-06-08 12:04:54 -07:00
Mikaël Capelle 1aedff5c60 Add documentation for the support globbing features. 2020-06-08 20:53:05 +02:00
Mikaël Capelle 0d873719eb Replace QString::fromStdWString by ToQString. 2020-06-08 20:51:11 +02:00
Mikaël Capelle 56f6e5504b Fix & placement. 2020-06-08 20:34:32 +02:00
Mikaël Capelle 13d79f3cbe Add findFiles overload with glob patterns. 2020-06-08 18:37:05 +02:00
Al 4e0d47868a Merge pull request #1113 from Al12rs/bettr_wait_on_events
Use QEventLoop instead of manually calling ProcessEvents
2020-06-08 06:58:16 -07:00
AL 67ae37d614 Use QEventLoop instead of manually spinning calling ProcessEvents in a while with a sleep. 2020-06-07 22:01:30 +02:00
Al ec5a78cefa Merge pull request #1112 from Al12rs/updateProblemsButton
Move Problems Checks on a thread and avoid redundant calls
2020-06-07 12:21:41 -07:00
AL 6d7c086685 Change time measurement to not include lock wait time. 2020-06-07 21:06:33 +02:00
AL d845fe9a74 Make checks that occur at the same time not return immediately to avoid issues with stuff that might need to rely on check completion. 2020-06-07 18:51:02 +02:00
AL d1c42e69c1 Make even the last direct call to checkForProblemsImpl use the async version. 2020-06-07 17:44:06 +02:00
AL 0dc66e7ff4 Avoid executing Problems checks concurrently.
Reduce timer to 500ms.
Make other calls also scheduled.
2020-06-07 16:42:18 +02:00
AL 2b4c0288b4 Make a couple more calls async since there is no good reason not to. 2020-06-07 14:32:54 +02:00
AL 66690bd176 Fix comment on checkForProblems() 2020-06-07 14:32:08 +02:00
AL 30605e8381 Make m_NumberOfProblems atomic 2020-06-07 14:31:32 +02:00
Al 8b667fe69a Merge pull request #1109 from Holt59/set-plugin-setting-signal
Add IOrganizer signal when a plugin setting is changed.
2020-06-07 03:45:42 -07:00
Al bf055e8048 Merge pull request #1101 from Holt59/archive-lib-modification
Archive lib refactoring
2020-06-07 03:44:05 -07:00
AL a30ec0018b * Change the diagnoseUpdate() signals to collapse into a single async call in case of multiple signals in short time span.
* Make mainwindow constructor and show() use updateProblemsButton() to just update the problems icon without performing checks.

* Make directory refreshed schedule a problems check since it can overlap with other invocations.

* Make changing translation not trigger checks at all.

* Make changing style only update the icon instead of also performing the check.

* Make MainWindow ctor, MainWindow::show()and MainWindow::resetActionIcons() just update the icon without actually performing a check.

* Make clearing overwrite checkForProblems synchronously. Same before opening the notifications window and after closing it.
2020-06-06 23:13:14 +02:00
AL 1497685ea5 Make checkForProblems update local variable with the problem count,
Make updateProblemsButton just update the ui using that variable (no heavy operation)
Add checkForProblemsAsync to perform the heavy checks in another thread.
2020-06-06 18:08:30 +02:00
Mikaël Capelle 0ad56591fd Fix order of operations to avoid deadlock with event loop. 2020-06-06 13:40:38 +02:00
Mikaël Capelle e49ce3ed21 Use QEventLoop to process events when extracting instead of manual loop with processEvents. 2020-06-05 20:36:35 +02:00
Mikaël Capelle 8fa905cde6 Update to follow changes in FileData from archive. 2020-06-05 17:50:26 +02:00
Mikaël Capelle 093fddda37 Add IOrganizer signal when a plugin setting is changed. 2020-06-05 16:47:49 +02:00
Mikaël Capelle b7a559c75c Update following archive callback changes. 2020-06-02 23:30:03 +02:00
Mikaël Capelle b8a1365dac Update after change to CreateArchive. Remove unused archive handler from self-updater. 2020-06-02 12:40:46 +02:00
Al 226b2b1843 Merge pull request #1098 from Holt59/install-manager-improvements
Installation manager improvements
2020-06-01 13:56:26 -07:00
Mikaël Capelle 30361186c1 Update installation manager after namespace changes in archive. 2020-06-01 21:48:52 +02:00
Mikaël Capelle 2c20a4115d Fix opening and extraction of archives with passwords and/or encrypted filenames. 2020-06-01 21:06:52 +02:00
Mikaël Capelle af0c0dc33e Correct handling of 7z errors. 2020-06-01 17:40:15 +02:00
Mikaël Capelle 046af63dd5 Remove non-used declarations. Move queryPassword to lambda. 2020-06-01 17:14:30 +02:00
Mikaël Capelle 4b1b897a14 Use a single extractFiles() method and avoir member variables when not needed. 2020-06-01 17:12:20 +02:00
Mikaël Capelle 70fe708474 Remove usage of QString in FileData following archive change. 2020-06-01 14:55:19 +02:00
Mikaël Capelle f442f5da51 Modification following 'archive' update. 2020-06-01 13:58:46 +02:00
Mikaël Capelle 926267faa0 Fix issue with progress dialog disapearing too soon during installation. 2020-05-31 00:31:29 +02:00
Mikaël Capelle 0b3e3ab590 Set the parent widget properly in installation manager. 2020-05-30 21:44:40 +02:00
Mikaël Capelle 1dc98e3af2 Small update to installation manager following uibase changes. 2020-05-30 21:32:04 +02:00
Mikaël Capelle e9595ec91a Fix comment in installation manager. 2020-05-30 17:49:46 +02:00
Mikaël Capelle 3f768ae53a Implement createFile() for the installation manager. 2020-05-30 15:00:10 +02:00
Mikaël Capelle 21296a6459 Allow creation of file using addFile() in ArchiveFileTree. 2020-05-30 14:59:38 +02:00
Chris Djali a92fdeb400 Add correct link to CMake Common to readme 2020-05-29 16:16:56 +01:00
Chris Djali 25b6f5dd8d Add CMake Common link to readme 2020-05-29 16:15:34 +01:00
isanae da35955d6c Merge pull request #1092 from Holt59/mod-data-content
Use ModDataContent feature from GamePlugin
2020-05-28 23:42:53 -04:00
Mikaël Capelle 0a5790b333 Add icon for FO4 material (courtesy of @twizz0r). 2020-05-28 21:58:59 +02:00
Mikaël Capelle 78143598db Remove space. 2020-05-28 19:51:20 +02:00
Mikaël Capelle 7f42698f4c Change auto& to const auto&. 2020-05-28 19:50:39 +02:00
Mikaël Capelle d2b7a1a321 Expose ModDataContentHolder from OrganizerCore instead of vector of Content. 2020-05-28 19:48:21 +02:00
Mikaël Capelle 4791569790 Ignore filter-only content when sorting. 2020-05-27 22:46:03 +02:00
Mikaël Capelle 700c5fb16c Store contents as a set instead of a vector. 2020-05-27 22:45:42 +02:00
Mikaël Capelle 6f22a77cda Do not show Content with isOnlyForFilter() in the column. 2020-05-27 22:01:36 +02:00
Mikaël Capelle 9c3ddb53c9 Fix sorting for the Content column. 2020-05-27 21:29:17 +02:00
Mikaël Capelle 70f1e8bdf6 Make ModInfo::getContents() pure virtual. 2020-05-27 14:58:32 +02:00
Mikaël Capelle c31c79c61d Add temporary icon for material content. 2020-05-27 14:56:49 +02:00
Mikaël Capelle 7c7631d409 Replace usage of MakeVector with initializer lists. 2020-05-26 20:20:47 +02:00
AL 652d3ab054 Fix modlist scrolling to wrong location after filter refresh in some cases.
If the currently selected column wasn't the Name column it would scroll to the first modnamee that matched the currently selected column contents (like scrolling to a mod called Audio overhaul after assigning Audio category to another mod).
2020-05-26 15:36:40 +02:00
Mikaël Capelle 36b81b4a7c Use ModDataContent to display the tooltip in the header. 2020-05-25 20:17:21 +02:00
Mikaël Capelle cf1bbdd13e Switch to using the ModDataContent feature from the game plugin. 2020-05-25 19:54:15 +02:00
isanae a721347fd1 Merge pull request #1079 from Holt59/moinfo-improvements
ModInfo improvements
2020-05-25 13:48:45 -04:00
Mikaël Capelle 9212a7d2e9 Use hasSuffix() where needed. 2020-05-25 18:27:49 +02:00
Mikaël Capelle 09e75d14e5 Fix comment for prefetch(). 2020-05-25 17:59:07 +02:00
Mikaël Capelle c5bbf7360c Fix suffix comparison for SKSE DLLs. 2020-05-25 17:58:58 +02:00
Mikaël Capelle 03fc2b0dc2 Update ModInfo classes following MemoizedLocked changes. 2020-05-25 17:57:07 +02:00
Mikaël Capelle 86f516953d Update MemoizedLock to allow more flexible callable. 2020-05-25 17:56:45 +02:00
Mikaël Capelle e7afedaebe Remove useless calls to diskContentModified(). 2020-05-25 17:50:49 +02:00
Mikaël Capelle 238e233c18 Use memoization for file tree, contents and validity of ModInfo. 2020-05-24 23:33:21 +02:00
Mikaël Capelle 0aac4f3291 Add MemoizedLocked. 2020-05-24 23:32:47 +02:00
Mikaël Capelle b352aa53e0 Add thread_utils to CMakeList.txt. 2020-05-24 23:31:34 +02:00
Mikaël Capelle 4d8b5aaae8 Remove old comment. 2020-05-24 15:35:35 +02:00
Mikaël Capelle a67a99acb7 Force lower case comparison for extensions in getContents(). 2020-05-24 15:35:09 +02:00
Mikaël Capelle a62bf7aa12 Fix typo in getContents(). 2020-05-24 15:21:08 +02:00
Mikaël Capelle 4bcb92fc47 Use a more generic 'prefetch' method instead of isValid(). 2020-05-24 14:49:51 +02:00
Mikaël Capelle 001e44fec4 Minor cleaning. 2020-05-24 14:40:44 +02:00
Mikaël Capelle ff4fbbdc5f Switch from ThreadPool to a simpler thread map for containers. 2020-05-24 14:39:39 +02:00
Mikaël Capelle 73248d9e40 Use the refresh_thread_count setting for ModInfo::updateFromDisc. 2020-05-24 13:36:16 +02:00
Mikaël Capelle a284c64dc1 Update file tree in parallel when loading from disk. 2020-05-24 13:28:00 +02:00
Mikaël Capelle 9fb639a00e Update ModInfo to use a single file tree for all content-related operations. 2020-05-24 13:27:40 +02:00
Al 08ae9db2fd Merge pull request #1076 from Holt59/moddatachecker
Use the ModDataChecker feature to check mod validity
2020-05-23 14:19:54 -07:00
Mikaël Capelle 6374845a28 Bump to 2.3.0a9 and update copyright to 2020. 2020-05-23 23:09:20 +02:00
isanae 20649ec027 Fix issues with very slow refresh time for large root data directories. 2020-05-23 23:08:33 +02:00
Mikaël Capelle fceca422db Add comment about lazy-populating the QDirFileTree. 2020-05-23 22:21:38 +02:00
Mikaël Capelle 5f794fec2c Remove time() method from FileTreeEntry. 2020-05-23 21:45:57 +02:00
Mikaël Capelle 2652ed1209 Update QDirFileTree to hide implementation and allow querying time through QFileInfo. 2020-05-23 18:40:21 +02:00
Mikaël Capelle 7b973d5f10 Remove header that has been removed from uibase. 2020-05-23 17:33:16 +02:00
Mikaël Capelle 064ef4cfeb Update IFileTree implementations following uibase changes. 2020-05-23 17:33:01 +02:00
Mikaël Capelle ee995b8df5 Remove include that has been removed from uibase. 2020-05-23 17:09:20 +02:00
Mikaël Capelle ee7438827e Switch to ModDataChecker for testing mod validity. 2020-05-22 15:50:50 +02:00
Mikaël Capelle 5fc66d8793 Move m_GamePlugin up into ModInfoWithConflictInfo. 2020-05-22 15:27:19 +02:00
Mikaël Capelle c0035ada02 Add QDirFileTree implementation. 2020-05-22 13:49:51 +02:00
Al e618afa5d1 Merge pull request #1075 from Holt59/bump-to-2.3.0a8
Bump version to 2.3.0 alpha 8.
2020-05-22 01:27:16 +02:00
Mikaël Capelle 736fc28b12 Bump version to 2.3.0 alpha 8. 2020-05-22 00:00:41 +02:00
Al 5f00213b8a Merge pull request #1074 from IsmayilMirzali/add_open_logs
Add option to open logs folder
2020-05-20 23:48:19 +02:00
IsmayilMirzali f31a74a6a8 Add option to open logs folder 2020-05-21 00:44:34 +03:00
Al b7110cba2d Merge pull request #1066 from Holt59/new-filetree
Update for the new file tree implementation and minor fixes
2020-05-20 13:05:02 +02:00
isanae c214b67ae7 Merge pull request #1073 from Holt59/fix-missing-junction-plugins
Fix issue with plugins in junction mods not being activated.
2020-05-20 06:55:01 -04:00
Mikaël Capelle 89db02eb94 Fix issue with plugins in junction mods not being activated. 2020-05-20 12:53:36 +02:00
Mikaël Capelle c391c2b584 Rollback to setGameName instead of setGamePlugin for mod interface. 2020-05-19 18:00:12 +02:00
Mikaël Capelle 04698417a9 Add implementation of clone() and doClone() for the archive filetree. 2020-05-16 14:00:24 +02:00
Mikaël Capelle 0a3dade905 Update after const_cast removal in uibase. 2020-05-12 19:32:31 +02:00
Mikaël Capelle 572fa7050f Minor comment updates. 2020-05-08 21:43:27 +02:00
Mikaël Capelle b2bd13e3db Fix another issue with some archives not being loading properly. 2020-05-07 22:09:40 +02:00
Mikaël Capelle 411b73e0aa Fix issue with some archives not being extracted correctly. 2020-05-07 19:18:58 +02:00
Mikaël Capelle f405a51bf6 Override astree() in ArchiveFileTreeImpl to avoid VS warnings. 2020-05-07 16:22:07 +02:00
Mikaël Capelle ff990c7743 Fix issue with getColor() not being overriden properly. 2020-05-07 12:17:27 +02:00
Mikaël Capelle 5a90eecc21 Fix issue with mods not being checked properly and overwrite not having the right priority. 2020-05-07 12:16:33 +02:00
Mikaël Capelle 068e12bbb2 Move to the new filetree for the installation manager. 2020-05-07 12:16:33 +02:00
Mikaël Capelle 40c433580f Update ModInfo classes to handle plugin game and clean some declarations. 2020-05-07 12:16:33 +02:00
Mikaël Capelle cd2b7683b7 Avoid using GamePlugins when not provided by the game plugin. 2020-05-07 12:16:32 +02:00
AL 14d1ea87f9 Fix separator colors not working right due to missing brackets. 2020-05-07 01:57:58 +02:00
isanae 2860447dce Merge pull request #1064 from isanae/cmakefile-appveyor-fix
Appveyor fix for new cmake files
2020-04-30 18:43:05 -04:00
isanae 8ef7db6a4c appveyor does not build modorganizer in its standard location, so use DEPENDENCIES_DIR to find cmake_common 2020-04-30 18:42:02 -04:00
Al 4b265a5cd3 Merge pull request #1063 from Al12rs/mod_colors
Mod colors
2020-04-30 15:57:42 +02:00
AL bdd1e97d4f Add modinfodialog Notes Tab color selector. 2020-04-29 22:13:09 +02:00
AL 4d67365600 Only show color context menu for mods when right clicking on Notes column. 2020-04-29 17:04:25 +02:00
AL 312af10f4f Allow coloring notes field. 2020-04-29 16:49:12 +02:00
isanae 9945beabf1 Merge pull request #1061 from isanae/new-cmakefiles
New cmakefiles
2020-04-26 02:54:00 -04:00
isanae ca9c953d6a moved a few projects to requires_project() 2020-04-25 00:19:25 -04:00
isanae bbfec30539 now using new common cmakefiles
fixed includes because shared/ isn't in the path anymore
removed unused modeltest files
2020-04-23 21:00:00 -04:00
AL 530bade5f7 Allow resizing and maximizing the Loot sort report dialog. 2020-04-18 21:25:00 +02:00
isanae a2f550ee33 Merge pull request #1057 from isanae/warning-fixes
Fixed warnings about Q_OBJECT and thousand separators
2020-04-18 04:54:10 -04:00
isanae b91dbba734 fixed warnings about Q_OBJECT and thousand separators
had to move some classes to header files
2020-04-18 04:53:14 -04:00
isanae c47ab23f95 Merge pull request #1055 from isanae/sysdir-opt
Fix for getOptionalKnownFolder()
2020-04-17 11:08:14 -04:00
isanae 2c1331e3e5 getOptionalKnownFolder() returns a string now 2020-04-17 11:06:08 -04:00
isanae 855650215f Merge pull request #1054 from isanae/bunch-of-fixes
Bunch of fixes
2020-04-17 10:31:47 -04:00
isanae 21166f820b bumped to alpha 7 2020-04-17 10:25:42 -04:00
isanae 47867d427f fixed crash when switching to an instance with a lower refresh thread count
fixed rare race condition when waking up handle closer threads
2020-04-17 10:23:10 -04:00
isanae f43c11497d added game, instance and profile to status bar 2020-04-17 10:01:33 -04:00
isanae 014df88aa8 typo 2020-04-17 09:44:28 -04:00
isanae 960afe9ea5 log command line 2020-04-17 09:43:58 -04:00
isanae e11ca50a57 update available log is now info instead of debug
added AV warning when a game plugin is no longer available
2020-04-17 09:31:59 -04:00
isanae d49f038d5d silenced a few annoying logs 2020-04-17 09:30:16 -04:00
isanae 77d292727b sanity checks: added nahimicmsiosd.dll, specialk64.dll and mactype64.dll 2020-04-17 09:27:17 -04:00
isanae 52c7a6a181 added directory checks for desktop and onedrive 2020-04-17 09:14:24 -04:00
isanae 3b0fbebc6a dump a bunch of counts for mods when selecting a profile 2020-04-17 09:06:41 -04:00
Al ff912b5f61 Merge pull request #1053 from Al12rs/fix_no_inis
Fix crash when game plugin does not provide any ini files.
2020-04-17 14:30:41 +02:00
isanae d7ceadeae1 hook ctrl+f and escape directly on widgets instead of on the main window to allow other widgets to use the same shortcuts, like the FilterWidget 2020-04-17 08:19:22 -04:00
AL 89ee58de38 Fix crash when game plugin does not provide any ini files. 2020-04-17 13:49:26 +02:00
isanae 15e04d4fe8 fixed typo 2020-04-17 07:24:12 -04:00
isanae 4275cadf13 changed first validation timeout back to 10s, a lot of people report that 5s is too short 2020-04-17 07:24:02 -04:00
isanae 333a0c3c16 removed some debug logging 2020-04-17 07:23:28 -04:00
isanae 4621c27164 Merge pull request #1052 from isanae/filetree-crash-fixes
File tree crashes
2020-04-17 07:06:38 -04:00
isanae 0faa5d6995 fixed crashes and empty items in the file tree
sorting and removing items have to be queued since they corrupt various internal structures in Qt when done during layout
2020-04-17 06:58:21 -04:00
AL 502e752b0a Fix inconsistent Explore menu option naming. Used Visual Studio standard. 2020-04-02 14:29:40 +02:00
AL a4ed20295f Fix "Failed to setup data paths" loop by showing the choose instance dialog for next startup.
This could sometimes happen if users changed a drive letter or removed a drive with one of the Mo2 paths on it making Mo2 error on startup. Only fix was to manually edit the modorganizer.ini file or manually deleting the instance. This allows users to create or use other instances even if that particular instance still needs manual fixing.
2020-03-30 22:10:15 +02:00
AL aab5a120ff Imrpoved mod already exist dialog when installing. 2020-03-19 20:43:53 +01:00
AL 57be0f0db6 Fix and improve NexusID detection during installation for Install Mod button. 2020-03-13 22:48:02 +01:00
Al 7683dc205d Fix timestamp formatting for appveyor 2020-03-01 13:53:53 +01:00
AL 979889edfe Made all lists uniform row heights for performance and alternate row color 2020-02-29 15:02:15 +01:00
AL 99ac2c0e9a Fixed comboboxes and tooltip lagginess due to bad animations. 2020-02-29 15:01:26 +01:00
AL 5e83ecf8c4 New appveyor complete build configuration. 2020-02-29 14:23:14 +01:00
Chris Bessent 6f11e3d741 Revert "Hacky fix to installation progress dialog flashing"
This reverts commit 42e5c33a32.
2020-02-28 12:12:54 -07:00
Al a44100ada1 Merge pull request #1021 from Al12rs/log_changes
Various UI changes:
2020-02-27 11:02:34 +01:00
AL c2e2be8ff7 Cleanup previous filterList code 2020-02-26 19:34:33 +01:00
AL c4b95bad65 Removed "State" header from filterlist.
Allow lower vertical sizes for loglist.
Fixed alignments and size of various elements.
2020-02-26 19:24:15 +01:00
AL c1554d1c3f Added checkbox icons for filterlist state 2020-02-26 19:22:15 +01:00
AL 60437644e4 Enabled icons for all log level line.
Added new icon for Debug level.
Moved icons after timestamp.
2020-02-26 19:20:56 +01:00
AL 0a6c7dce97 Allow log to be reduced in size to a greater extent. 2020-02-26 14:50:19 +01:00
Al 756056fcc3 Merge pull request #1019 from Al12rs/context_menu_delay_fix
Fix context menu rendering delay and and general crappiness.
2020-02-26 14:47:33 +01:00
AL 87fcb7cf9e Fix context menu rendering delay and and general crappiness.
This affected users that had the windows "Fade or slide menus into view" option enabled. Qt's implementation of these effects sucks
2020-02-25 17:13:03 +01:00
AL 8bf4cd3b27 Fix random <br> in Alternate Game icon tooltip 2020-02-25 17:07:14 +01:00
Al a6d3ab75c0 Merge pull request #1018 from Al12rs/remove_flashing_widgets
Fixed widgets flashing during Mo2 startup,
2020-02-25 17:05:33 +01:00
AL 85f4ca3870 Fixed widgets flashing during Mo2 startup,
they were caused by some code I can't even make sense of that I left over. My bad...
2020-02-25 14:06:53 +01:00
Al f02aa15fc5 Merge pull request #1017 from Al12rs/filterwidget_updates
Filterwidget updates
2020-02-25 14:02:49 +01:00
AL 22f8698e0b Moved filters back to the bottom 2020-02-23 22:11:18 +01:00
AL 5208bf5251 Set filterwidget delay for the data tab to avoid typing stutter 2020-02-23 14:22:46 +01:00
AL e6cd3d026d Add option to filterwidget to keep selection in view 2020-02-23 02:32:51 +01:00
AL e5688ecea3 Fix crashing on Nexus descriptions that are missing BBCode closing brackets. 2020-02-22 14:48:59 +01:00
Chris Bessent 6107883829 Merge pull request #1006 from LostDragonist/master
Hacky fix to installation progress dialog flashing
2020-02-21 02:13:06 -07:00
Chris Bessent 42e5c33a32 Hacky fix to installation progress dialog flashing 2020-02-21 01:59:49 -07:00
isanae 21904f6214 Merge pull request #1005 from isanae/missing-categories
Missing categories
2020-02-19 03:40:26 -05:00
isanae 13a622e6cd categories were loaded too late 2020-02-18 21:06:04 -05:00
isanae d41d57fe07 Merge pull request #1004 from isanae/timings
More timings
2020-02-18 18:15:35 -05:00
isanae f9ad6d9709 timing for refreshBSAList and updateProblemsButton 2020-02-18 18:13:23 -05:00
isanae 75cd8b3bab added more timings
missed fileregisterfwd.h in cmake list
2020-02-18 18:09:03 -05:00
isanae e749b20726 Merge pull request #1003 from isanae/file-list-improvements
Refresh optimizations
2020-02-18 17:32:11 -05:00
isanae a28bd45c0b changed FileRegister to a deque instead 2020-02-18 17:25:06 -05:00
isanae d7ad9dcc19 removed copy/pasted qt copyright 2020-02-18 17:25:06 -05:00
isanae f7d7c4465b bumped to alpha 6 2020-02-18 17:25:05 -05:00
isanae d3fe9ff1fa moved TimeThis to uibase
fixed progress bar
2020-02-18 17:25:05 -05:00
isanae 528fa988b5 error handling for last modified time 2020-02-18 17:25:05 -05:00
isanae 5e569d0107 re-enabled archive parsing 2020-02-18 17:25:05 -05:00
isanae dbb3f5117a removed directoryrefresher.h from organizercore.h 2020-02-18 17:25:05 -05:00
isanae 777d822f13 cleanup, typedefs 2020-02-18 17:25:05 -05:00
isanae bbd9bb1fd9 hide version.aps 2020-02-18 17:25:05 -05:00
isanae b1cf498924 split directoryentry
made classes noncopyable, fixed a few unintended copies
2020-02-18 17:25:04 -05:00
isanae 88ef053000 error checking in dump()
removed a bunch of "{} saved" in the logs
2020-02-18 17:25:04 -05:00
isanae 9eeaa88cf5 fixed sorting 2020-02-18 17:25:04 -05:00
isanae 82106134cb added natvis 2020-02-18 17:25:04 -05:00
isanae 4a74102736 moved dump() to DirectoryEntry
static functions instead of lambdas
2020-02-18 17:25:04 -05:00
isanae 75359bc9c2 fixed crash when disabling mod 2020-02-18 17:25:04 -05:00
isanae fb3fbd3421 removed lastAccessed from FileEntry, not used
FileRegister keeps a vector instead of a map
2020-02-18 17:25:03 -05:00
isanae 567fe019ac removed some unnecessary counters
delete old structure in thread
2020-02-18 17:25:03 -05:00
isanae c8fc7abade thread-safe OriginConnection
ThreadPool now keeps threads running
keep ModThreads around so avoid reallocating buffers
2020-02-18 17:25:03 -05:00
isanae 763a5d6c08 more instrumentation
tighter mutexes, required thread-safe FileEntry
2020-02-18 17:25:03 -05:00
isanae 29244f3328 thread-safe directory entry 2020-02-18 17:25:03 -05:00
isanae d082a91ad6 faster getSubDirectory() for env::Directory, added lcname
instrumentation
2020-02-18 17:25:03 -05:00
isanae 7860e927a7 removed dead insertFile()
avoided a few string copies
lowercase filename in thread
2020-02-18 17:25:03 -05:00
isanae 3423b0a593 threaded refresher 2020-02-18 17:25:02 -05:00
isanae 6ee4285588 close handles in thread 2020-02-18 17:23:48 -05:00
isanae c1cf760337 don't lowercase twice 2020-02-18 17:23:48 -05:00
isanae 3a65665d36 wstring_view when possible
first implementation of NtQueryDirectoryFile
2020-02-18 17:23:48 -05:00
isanae 3db95eb404 customizable columns for mod and plugin lists 2020-02-18 17:23:48 -05:00
isanae 0c62a26e09 customizable columns for file tree 2020-02-18 17:23:47 -05:00
isanae 177dc6b320 shift+right-click selects items 2020-02-18 17:23:47 -05:00
isanae 7eae9b5dd4 localized warning when file doesn't exist for shell menu 2020-02-18 17:23:47 -05:00
isanae 7c2952b83c fixed stylesheets for "valid-filter" property 2020-02-18 17:23:47 -05:00
isanae f9f31c57dc added support for FilterWidget regexes 2020-02-18 17:23:47 -05:00
isanae b5c0b2b0a2 updated stylesheets for new "filtered" property on lists with FilterWidget 2020-02-18 17:23:47 -05:00
isanae 8c2814c9dc Merge pull request #1000 from Al12rs/startup_performance
Startup performance
2020-02-18 17:22:29 -05:00
Al cfb05d72be Merge pull request #998 from Al12rs/warnings
Change Qtime to QElapsedtimer in some palaces to remove the warnings.
2020-02-17 13:22:13 +01:00
AL 8e3ab9fb66 Cleanup commented code 2020-02-17 11:00:27 +01:00
AL 5043a930ce Add setting to disable splash since it can cause load time increase
use_spash=true by default. It's not exposed to the ui for now.
2020-02-17 03:26:47 +01:00
AL 112f91357e Reduce overhead introduced by splashscreen
by not letting it wait on the mainwindow and instead immediately close
2020-02-17 02:34:56 +01:00
AL 29b331817c Remove duplicated updateFromDisc() call during refresh
comment mentioned that it was needed but it was very old and testing would suggest this is no longer the case.
2020-02-17 02:11:42 +01:00
AL edc7f3d5b2 Avoid refreshing when setting downloads supported extensions as it only happens during init. 2020-02-16 15:54:41 +01:00
AL c02fbe89c7 Allow not refreshing downloads when setting their folder, for example during init. 2020-02-16 15:54:40 +01:00
AL e33d0f9d35 Avoid updating the downloadView when it hasn't even been initialized. 2020-02-16 15:54:40 +01:00
AL c4059f0dfe Avoid refreshing the profile again when initializing the pforilebox 2020-02-16 15:54:40 +01:00
AL 60c86e7cee Move modInfo loadFromDisc to it's own function 2020-02-16 15:53:24 +01:00
AL 423db56781 Change Qtime to QElapsedtimer in some palaces to remove the warnings. 2020-02-15 23:02:49 +01:00
Al 86c5b64ab5 Merge pull request #997 from Al12rs/custom_url_overwrite_fix
Avoid overwriting existing URL values when replacing a mod if new val…
2020-02-14 14:01:58 +01:00
AL 460e015e96 Avoid overwriting existing URL values when replacing a mod if new value is empty. 2020-02-14 13:43:22 +01:00
Al 2af0698484 Merge pull request #991 from Al12rs/remember_last_modinfo_tab
Always remember last opened ModInfoDialog tab.
2020-02-14 13:35:20 +01:00
Al d2af089a14 Merge pull request #992 from Al12rs/version_check_for_optional_files
Avoid getting the general mod version for optional and miscellaneous …
2020-02-14 13:35:08 +01:00
isanae 1f1f99f253 Merge pull request #994 from isanae/generic-file-list
New file tree
2020-02-09 08:52:03 -05:00
isanae 3a80685189 don't sort items when they're not expanded 2020-02-08 21:38:01 -05:00
isanae d0c16e60d7 just disable recursive filtering when fully loading
switching models clears persistent indexes and collapses everything
2020-02-07 14:02:00 -05:00
isanae 2b0a720863 fixed sorting not emitting layout events and fixing persistent indexes 2020-02-07 13:39:35 -05:00
isanae 1c8c1bb89b fixed data tab not refreshing after "restarting" MO
larger default size for filename column
fixed sorting in descending order by default
2020-02-07 11:40:26 -05:00
isanae 9c2fc69405 sort on demand 2020-02-07 11:26:11 -05:00
isanae 41e6189be4 disconnect any proxies when fully loading
disable model when resetting, enable it back after the directory refresh so the tree doesn't appear in a weird state in between
2020-02-07 10:52:49 -05:00
isanae 49a1e234ef item activation
removed a bunch of unnecessary QObject qualifiers
2020-02-07 09:24:54 -05:00
isanae 6b97e2185f bump to alpha5 2020-02-07 08:28:59 -05:00
isanae fe76e6518b Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into generic-file-list 2020-02-07 08:06:08 -05:00
AL a120a36e11 Avoid getting the general mod version for optional and miscellaneous files,
as those usually have their own version unbound to the main one.
2020-02-06 16:24:47 +01:00
isanae e6fe832b4f don't refresh the data tab every time the index changes 2020-02-05 22:00:47 -05:00
isanae 593ed64f86 filter on filename column only because loading the meta for every file takes forever
some small optimizations when enabling mods
2020-02-05 21:55:52 -05:00
isanae b7e51b65e8 removed bad minimum column width in the data tab
fixed crash in log when restart MO
2020-02-05 20:37:18 -05:00
isanae 03ee407c34 fixed LogModel not being thread safe
optimizations:
- create BrowserDialog on demand
- scroll to bottom of log in a timer, coalesces fast logging
- disabled md5 of dlls
2020-02-05 20:23:53 -05:00
isanae ea0429342a harmonized widgets in the tabs, fixed styles 2020-02-05 19:11:49 -05:00
isanae 34b022a229 fixed warning when comparing empty strings
filter in data tab
fixed some bad iterators when removing rows
fixed empty directories not being marked as such when refreshing
always sort directories first even when reversing the sort order
fixed children not being sorted
fixed errors about file sizes for directories
remember state of checkboxes in data tab
2020-02-05 16:21:41 -05:00
Al 718c2a56f9 Merge pull request #990 from Al12rs/shift_visit_website
Allow Shift-double click on modlist to open Nexus or custom URL as fa…
2020-02-05 16:28:14 +01:00
Al 6ab940892f Merge pull request #989 from Al12rs/more_text_types
Add support for other text file types to Text Files modinfo tab
2020-02-05 16:28:01 +01:00
AL 3079f84954 Always remember last opened ModInfoDialog tab.
Don't reopen saved tab if mainwindow requested specific tab.
2020-02-05 16:26:44 +01:00
AL ebd71dd053 Remove .cfg from INI Files tab as it's in Text Files tab now. 2020-02-04 15:04:37 +01:00
isanae 6f10702349 case insensitive checks for mohidden extension (lost in rebase) 2020-02-04 03:36:34 -05:00
isanae 2f3b9f9a9e skip files from archives for the shell menu 2020-02-04 03:33:23 -05:00
isanae d14488d2f7 update tree items when origins change 2020-02-04 03:33:23 -05:00
isanae 47d1826f55 hidden unique_ptr into FileTreeItem
refactored pruning
don't show shell menu for directories
added collapse all in context menu
2020-02-04 03:33:23 -05:00
isanae 97b91b5fe5 prune empty directories 2020-02-04 03:33:23 -05:00
isanae 34bc2191e6 don't get meta for fields that are not used
show compressed file size if available
remember file sizes for files in archives
2020-02-04 03:33:22 -05:00
isanae 85a9f810a0 moved refresh and checkboxes to the top 2020-02-04 03:33:22 -05:00
isanae c6c01f86c6 sort 2020-02-04 03:33:22 -05:00
isanae 7c98635edc filetype and last modified columns 2020-02-04 03:33:22 -05:00
isanae a55a69e6ac file size column 2020-02-04 03:33:22 -05:00
isanae 412165fcfb show file counts when there are discrepancies 2020-02-04 03:33:22 -05:00
isanae 2a0e78e3cf fixed bad path for alternate origins
finished ShellMenuCollection, had to split a bunch of things
2020-02-04 03:33:22 -05:00
isanae 6005da6187 ShellMenuCollection, events not processed yet 2020-02-04 03:33:21 -05:00
isanae a7a406e553 preparing for multiple origins shell menus
split exec() from createMenu()
2020-02-04 03:33:21 -05:00
isanae 0f6205bea5 dummy menu for files in multiple directories 2020-02-04 03:33:21 -05:00
isanae d0be8a0d3b ShellMenu class 2020-02-04 03:33:21 -05:00
isanae e3211683fd shell menu for multiple files 2020-02-04 03:33:21 -05:00
isanae abdf98bbfe status bar messages 2020-02-04 03:33:21 -05:00
isanae dd4bd5b17d shift+right click for shell menu 2020-02-04 03:33:21 -05:00
isanae 2d4216a4f0 icons 2020-02-04 03:33:20 -05:00
isanae 0f3c01425d font, tooltip and foreground 2020-02-04 03:33:20 -05:00
isanae 3bc1a4a067 createDirectoryItem() and createFileItem() 2020-02-04 03:33:20 -05:00
isanae f49643075a moved a bunch of duplicate stuff in a new class Range 2020-02-04 03:33:20 -05:00
isanae 7c4d3c6fb9 refactored removeDisappearingFiles() to just check for directories in the main loop 2020-02-04 03:33:20 -05:00
isanae 9c9de680c6 faster parent() and indexFromItem() with index guess
implemented files
2020-02-04 03:33:20 -05:00
isanae 8e3a360cd4 implemented fetchMore() and update for subdirectories
don't refresh tree on active, it's taken care of by fetchMore()
2020-02-04 03:33:20 -05:00
isanae bb9a4600bb rewriting FileTreeModel, implemented add/remove folders in root 2020-02-04 03:33:19 -05:00
isanae 08188830a3 removed LEAK_TRACE stuff
refactored DirectoryEntry for lookup maps
filetreemodel: made ensureLoaded() a no-op while refreshing, faster processing for removing rows
2020-02-04 03:33:19 -05:00
isanae aa63bffd35 missing toStdString() from merge 2020-02-04 03:33:19 -05:00
isanae ee03c23290 refactoring: moved member functions in the same order as the header 2020-02-04 03:33:19 -05:00
isanae 1c07f8ddda refactoring: whitespace, newlines, auto, removed commented out code 2020-02-04 03:33:19 -05:00
isanae 6da813a633 refactoring: whitespace and newlines 2020-02-04 03:33:19 -05:00
isanae 2be531470d renamed ToLower() to avoid confusion with in-place vs copy
pre-hashed file lookup in DirectoryEntry
2020-02-04 03:33:19 -05:00
isanae 0a908c4962 added a map for directories in DirectoryEntry
more optimizations for filetree
2020-02-04 03:33:18 -05:00
isanae 72394faa75 some optimizations to avoid case conversions and memory allocations 2020-02-04 03:33:18 -05:00
isanae 2d276cad0b put expensive logging in an optional function 2020-02-04 03:33:18 -05:00
isanae a7051df5da split item and model 2020-02-04 03:33:18 -05:00
isanae e0c605be1d initial implementation for updating file tree, buggy 2020-02-04 03:33:18 -05:00
isanae 219bd59a21 removed dead stuff 2020-02-04 03:33:18 -05:00
isanae f27a73b123 implemented dump to file
fixed duplicate module notifications not being skipped
2020-02-04 03:33:18 -05:00
isanae 2f07eb51c1 implemented explore origin, open mod info, hide and unhide 2020-02-04 03:33:17 -05:00
isanae 8bcf8cde3c hide spacers on statusbar when the progress bar is not visible
always show menu items, added status tips
2020-02-04 03:33:17 -05:00
isanae 87868e1b22 added a few missing consts
removed incorrect assert about an empty game edition
added FileTree to wrap a QTreeView and a FileTreeModel, moved some context menu actions over
2020-02-04 03:33:17 -05:00
isanae b6e91484ba split IconFetcher 2020-02-04 03:33:17 -05:00
isanae c5f98f9756 now prunes empty directories
handles archives and conflicts checkboxes
2020-02-04 03:33:17 -05:00
isanae d3e9abddaf tooltips, archive names 2020-02-04 03:33:17 -05:00
isanae de29b6a5a8 IconFetcher 2020-02-04 03:33:17 -05:00
isanae efdc3eb14f load items on demand 2020-02-04 03:33:17 -05:00
isanae a4624f239f split FileTreeModel, initial implementation, some stuff is broken 2020-02-04 03:33:16 -05:00
isanae e8027bfeaa moved main window classes to their own filter 2020-02-04 03:33:16 -05:00
isanae 7e748d15c9 split data tab
removed a bunch of undefined functions in MainWindow
2020-02-04 03:33:16 -05:00
AL 46319decd1 Allow Shift-double click on modlist to open Nexus or custom URL as fall-back. 2020-02-04 03:36:51 +01:00
AL d6d613f071 Add support for other text file types to Text Files modinfo tab 2020-02-04 02:43:29 +01:00
AL e9da5b4fad Version bump and update translations 2020-02-02 01:55:52 +01:00
Al c058721056 Merge pull request #988 from Al12rs/move_filter_widget
Moved filterWidget and eventFilter to ui base
2020-02-01 23:33:52 +01:00
AL 17cfba60a7 Fix Mobase namespace for filterwidget 2020-02-01 22:36:33 +01:00
AL 326c9130c4 Moved filterWidget and eventFilter to ui base 2020-02-01 21:28:14 +01:00
AL 9c8412a051 Change tooltip of Category column to say "Primary" 2020-01-31 23:04:34 +01:00
Al 0bc2a50440 Merge pull request #987 from IsmayilMirzali/master
Add more context menu options for mod backups
2020-01-28 23:08:24 +01:00
IsmayilMirzali 11f3a8caf5 Add seperators for mod backup context menu 2020-01-28 22:20:23 +02:00
IsmayilMirzali 28d449c026 Add more context menu options for mod backups 2020-01-28 00:51:44 +02:00
Chris Bessent 4963c278fe Don't allow foreign mods or overwrite for overriding overwrite 2020-01-26 18:26:03 -07:00
AL 6214cf3923 Fix CSV exporting of primary category.
#450
2020-01-26 20:19:15 +01:00
AL 6019e12ea5 Fixed file structure not being kept when drag and dropping files.
Fix #981
2020-01-23 17:17:03 +01:00
AL ade9cfb603 Bump bersion for dev build 3 2020-01-22 23:45:57 +01:00
Al 6305f6e2e9 Merge pull request #980 from Al12rs/context-menu-fix
Fixed missing context menu on general conflicts tab.
2020-01-22 23:09:57 +01:00
Al eacbe101f1 Merge pull request #979 from Al12rs/hidden-files-flag
Add Restore hidden files option and clean up hidden files code
2020-01-22 23:09:45 +01:00
Al 5af018d18a Renamed underscores function name to pascal case 2020-01-21 01:54:44 +01:00
Al 2217d9c575 Removed missed line 2020-01-21 01:49:22 +01:00
Al 123f9f408b Fixed missing context menu on general conflicts tab.
Was due to the new FilterWidget adding a QSortProxy and the selection had to be translated to the underlying model.
Normalized use of FilderWidget on the Advanced Conflicts tab.
2020-01-21 01:24:29 +01:00
Al 7c55ae3a22 Add "Restore hidden files" context menu option to modlist.
Recursively restores all hidden files in the mod or mods if more than one is selected.
2020-01-20 19:46:03 +01:00
Al 61b64d9431 Make hidden files extension checks case insensitive 2020-01-20 19:41:09 +01:00
Al 3e98a6e5bf Use ModInfo::s_HideExt instead of ".mohidden" directly 2020-01-20 19:38:08 +01:00
Al 84678a3a28 Merge pull request #978 from Al12rs/hidden-files-flag
Also check for .mohidden directories for HiddenFiles flag.
2020-01-19 20:34:02 +01:00
Al 304ca8066f Also check for .mohidden directories for HiddenFiles flag. 2020-01-19 16:32:32 +01:00
Al 7d11492ac2 Revert "Fix "Explore virtual folder" not being translatable"
This reverts commit de1bae9d92.
2020-01-19 12:52:22 +01:00
Al de1bae9d92 Fix "Explore virtual folder" not being translatable 2020-01-19 12:33:00 +01:00
Al a41c74bc5c Merge pull request #973 from Al12rs/hidden-files-flag
Added text filters for general conflicts lists
2020-01-16 21:30:26 +01:00
Al 58f3596028 Added text filters for general conflicts lists 2020-01-15 20:01:23 +01:00
Al a12e56f977 Bump version for 2.3.0 alpha 2 2020-01-15 12:04:25 +01:00
Al 5aad5eb8a2 Merge pull request #970 from Al12rs/hidden-files-flag
Hidden files flag
2020-01-15 11:59:13 +01:00
Silarn 0c2289b6f9 modsSortedByProfilePriority should return the internal name of the mod 2020-01-14 20:19:42 -06:00
Al f65121b8bc Fix some more tabs 2020-01-14 22:18:03 +01:00
Al 7579e42577 Fix incorrect tabs 2020-01-14 22:02:52 +01:00
Al 6b75741139 Add has hidden files filter for modlist. 2020-01-14 21:12:21 +01:00
Al a5d0cb8b5d Add icon for hidden files flag 2020-01-14 20:56:15 +01:00
Al 39f36ca27a Added ModInfo::FLAG_HIDDEN_FILES and check in modinfowithconflictinfo 2020-01-14 20:55:34 +01:00
Chris Bessent 3fb21b74a9 Merge pull request #969 from ModOrganizer2/2_2_2
Pull in 2.2.2.1 changes
2020-01-13 22:41:40 -07:00
Chris Bessent 6c6734fcf4 Set version for new instances 2020-01-12 14:35:40 -07:00
Chris Bessent 9fc7a1bf85 Fix downloading files that have no file name
Somehow some mods on the Nexus have no file name in certain API
responses.  Previously, MO assumed the last part of the URL is
the file name.  This worked until the Nexus started adding URL
query stuff to the URL (?md5=xxx).

Now, strip out all the URL query stuff to get a valid file name.
2020-01-11 09:24:23 -07:00
Chris Bessent 3cfa7bbe74 Don't ask for the game when there's only one game 2020-01-10 17:18:45 -07:00
Chris Bessent 08410deece Use the old query info logic when MD5 query is ambiguous
An author accidentally uploaded a mod's files to a different mod.
This resulted in querying info finding the wrong mod/file.
2020-01-10 17:18:45 -07:00
Chris Bessent 07e5ce1e0e Merge pull request #967 from Al12rs/master
Fixed log timestamp size for bigger font.
2020-01-10 08:41:10 -07:00
AL c5b809b486 Fixed log timestamp size for bigger font. 2020-01-10 16:07:58 +01:00
Chris Bessent ae22b41f96 Update version to 2.2.2.1 2020-01-09 19:01:42 -07:00
AL 85bb3dfbde Updated translations
(cherry picked from commit 62a6b1ce5e)
2020-01-09 18:43:12 -07:00
AL da441e2b71 Add headers with tooltips to Filter view.
(cherry picked from commit 3c6804c502)
2020-01-09 18:43:11 -07:00
AL 340b2e766f List all categories flatly in filters view as nestled ones would otherwise not be accessible.
(cherry picked from commit 734bd0ed20)
2020-01-09 18:43:11 -07:00
Al b9ff5cc7dc Merge pull request #961 from Al12rs/filter-fix
Nestled categories in filters missing fix
2020-01-09 12:34:42 +01:00
AL 62a6b1ce5e Updated translations 2020-01-09 02:09:28 +01:00
AL 3c6804c502 Add headers with tooltips to Filter view. 2020-01-09 02:02:24 +01:00
AL 734bd0ed20 List all categories flatly in filters view as nestled ones would otherwise not be accessible. 2020-01-09 02:00:50 +01:00
Jeremy Rimpo f37ec77b26 Merge pull request #959 from ModOrganizer2/qt-5-14
Qt 5 14
2020-01-07 11:55:13 -06:00
Chris Bessent dfa600996c Merge pull request #954 from ModOrganizer2/Develop
Stage for release 2.2.2
2020-01-06 05:17:01 -07:00
Chris Bessent d1a788dfad Merge branch 'master' into Develop 2020-01-06 05:16:02 -07:00
isanae 076d11292f Merge pull request #958 from isanae/dracula-background-color
Dracula theme fix for redrawing the images tab
2020-01-06 04:37:37 -05:00
isanae 72e99f7c5c changed widget background color to opaque, fixes redrawing problems in the images tab 2020-01-06 04:34:43 -05:00
LostDragonist 19a20159a5 Fix the API counter not being translated 2020-01-01 21:38:18 -07:00
Chris Bessent 4d6cee82f4 Update version to 2.2.2rc7 2020-01-01 12:05:26 -07:00
Silarn 81abbacd67 Update manifest for 5.14 dlls 2019-12-31 02:53:58 -06:00
Silarn d259a0e1fa Migrate obsoleted qVariantFromValue 2019-12-31 02:49:15 -06:00
isanae 57b049b6d7 Merge pull request #953 from isanae/rc6-fixes
rc6 fixes
2019-12-29 07:30:07 -05:00
isanae 52cc3a41c7 refresh after manually unlocking the ui
fixed nexus connect button staying as "cancel" in case of errors
fixed logging of duplicate dll loading
bumped to rc6
2019-12-29 07:16:09 -05:00
Silarn dc6653e100 Fix conflict filter 2019-12-19 10:52:45 -06:00
isanae e797640a00 Merge pull request #945 from isanae/w7-wait-fix
Windows 7 wait fix
2019-12-18 17:25:05 -05:00
isanae 31cd5531d0 windows 7 doesn't play well with job objects, so just wait on individual handles
fixed getProcessTreeFromProcess() not behaving like getProcessTreeFromJob()
2019-12-18 17:21:52 -05:00
isanae c2d23bb34a Merge pull request #943 from isanae/bump-rc5
Bumped to rc5
2019-12-17 15:15:27 -05:00
isanae 932d321956 bumped to rc5
added reedts to contributors
2019-12-17 15:14:23 -05:00
isanae a4a0e59d8c Merge pull request #942 from isanae/lock-fixes
Lock fixes
2019-12-17 07:47:29 -05:00
isanae 2c7e0e7cb4 Merge pull request #941 from isanae/loot-errors
Loot errors
2019-12-17 06:35:10 -05:00
isanae ca6f9990c6 added text in when running loot
stop indeterminate progress bar on errors
add errors and warnings to report
2019-12-17 06:32:08 -05:00
isanae 05231eab45 temporary fix to keep MO locked for all processes when closing
save main window settings in closeEvent()
2019-12-15 22:35:02 -05:00
isanae f3c5cebb6e fixed exiting before QThread joins when pressing the X twice 2019-12-15 21:56:50 -05:00
isanae dcf88361d4 don't display the overlay on dialog boxes
handle non-modal windows too
fixed crash when closing an overlayed dialog
2019-12-15 21:54:27 -05:00
Silarn c9d33dad46 Allow content tooltip to translate 2019-12-14 19:05:42 -06:00
Chris Djali 9f54f554f5 Add Script Extender Plugin Checker to main readme 2019-12-15 00:52:36 +00:00
Silarn 51e3e078be Fix problem with translated unmanaged mods and origin names
- (Also adds translatable strings to directoryentry.cpp)
2019-12-14 18:11:57 -06:00
Silarn fde5fa2797 Streamline manual install fix, bump RC 2019-12-14 14:12:00 -06:00
isanae a912be4c6b Merge pull request #939 from isanae/data-root-activate
Double-click on root item in the Data tab
2019-12-14 13:52:08 -05:00
isanae 7af0e164f7 don't activate the root data item 2019-12-14 13:49:26 -05:00
LostDragonist 4c7b626e77 Fix requesting a manual install 2019-12-14 06:52:34 -07:00
Silarn db59ebdba0 Fix tutorial targets 2019-12-14 02:23:40 -06:00
Al 99fe545ff4 Merge pull request #937 from ModOrganizer2/filetree_doubleclick_fix
Filetree double-click fix
2019-12-13 13:43:37 +01:00
Al 909e8254f7 Avoid opening folders in explorer when double-clicking on them in the filetree.
As a side effect Enter and Return no longer do anything on folders either.
2019-12-13 13:36:12 +01:00
isanae 8cf24923bb Merge pull request #936 from isanae/rc3-fixes
rc3 fixes
2019-12-12 22:50:01 -05:00
isanae 0f67ee4fcd bumped to rc3 2019-12-12 15:07:02 -05:00
isanae 26158687a8 added SS3DevProps.dll to checks 2019-12-12 14:51:42 -05:00
isanae c3c1183308 fixed alt colors in saves list for dark.qss
translated some sanity checks warnings
fixed filter list not refreshing selection correctly
2019-12-12 14:47:35 -05:00
Silarn 1d0b202ee6 Check the enum 2019-12-11 14:28:42 -06:00
Silarn 19bb86a870 Update installer status handling 2019-12-11 14:02:33 -06:00
Silarn 5a266b8e26 When cancelling a fomod extraction, don't generate an error. 2019-12-11 12:06:36 -06:00
Silarn 2001f26757 Rework filter labels to separate bracket from translation 2019-12-10 15:25:31 -06:00
Silarn 923e514b0f Change the modinfo image preview button to a toolbutton 2019-12-10 14:56:56 -06:00
isanae 29d16f879d Merge pull request #935 from isanae/default-window-size
Set default window size to 1300x800
2019-12-09 13:28:38 -05:00
isanae 930087ea92 set default window size to 1300x800 2019-12-09 13:25:04 -05:00
isanae 1769d3c1a5 Merge pull request #934 from isanae/revert-conflicts-column
Revert conflicts column compatibility code
2019-12-09 13:13:16 -05:00
isanae 8d9a62a87d moved the conflicts column back to its proper position in the enum
removed unnecessary compat code
2019-12-09 13:08:58 -05:00
isanae b9fd1092c6 Merge pull request #933 from isanae/conflicts-position-on-reset
Move the conflicts column when resetting geometries
2019-12-09 12:53:29 -05:00
Al 292cee7f6a Update readme.md 2019-12-09 18:35:51 +01:00
isanae ea6c793ce6 move the conflicts column when resetting geometries 2019-12-09 12:32:17 -05:00
isanae 2cf33e59eb Merge pull request #932 from isanae/mod-list-columns-reset
Incorrect column sizes in mod list when resetting geometries
2019-12-09 11:47:40 -05:00
isanae e1d6f6380d use paintEvent() to allow interactive resize because showEvent() is too early
bumped to rc2
2019-12-09 11:40:54 -05:00
isanae 8cf3c4a367 Merge pull request #931 from isanae/double-click-unhooked
Double click unhooked
2019-12-09 10:12:12 -05:00
isanae 37891f29ca removed dead setDefaultActivationActionForFile() 2019-12-09 10:10:41 -05:00
isanae 2bc544509c disable run hooked in filetree when mod is disabled 2019-12-09 10:07:11 -05:00
isanae 5521b12fb3 data tab: run exes unhooked by default 2019-12-09 09:52:29 -05:00
isanae 852afd1263 filetree tab: run exes unhooked by default 2019-12-09 09:34:18 -05:00
Silarn 44084bfa41 Rework column insertion to move to the intended position post-facto 2019-12-08 20:48:14 -06:00
Al a4db0db94f Add alternatingRowColors to saves and data tab. 2019-12-09 01:17:27 +01:00
Al 27c05cebd5 Change compact size for the conflicts column to be shorter since there are less flags here. 2019-12-09 00:56:10 +01:00
Silarn df54f972ff Rework logic to parse by visual index 2019-12-08 16:16:10 -06:00
Al 8c3a3e8257 Changed default behavior for "Open Previews on double click" to true
since it's probably the most desirable option.
2019-12-08 21:05:58 +01:00
isanae c9049bb072 conflicts tab: run exes unhooked by default 2019-12-08 11:33:03 -05:00
Silarn 2c59d13be6 Update transifex location 2019-12-07 19:31:20 -06:00
LostDragonist f18e4db4fb Add Xahtax as a German translator 2019-12-07 14:30:35 -07:00
isanae 31fe42a1da Merge pull request #928 from isanae/bump-rc1
Bumped to RC1
2019-12-07 04:51:28 -05:00
isanae 9d8861d92b bumped to rc1 2019-12-07 04:47:28 -05:00
LostDragonist fbe0e8008a Do not translate isa's name 2019-12-07 02:12:39 -07:00
LostDragonist eb55bea357 Move isa to lead developers 2019-12-07 02:08:57 -07:00
isanae 931fd78284 Merge pull request #927 from isanae/clickBlank
Remove unused on_clickBlankButton_clicked()
2019-12-07 02:30:17 -05:00
isanae 267985a62d removed unused on_clickBlankButton_clicked() 2019-12-07 02:29:39 -05:00
Silarn d13ea08be8 Fix mistakenly added modinfo tab ID 2019-12-06 23:18:37 -06:00
Silarn b3331ef2c0 Separate conflict flags and render them in separate columns 2019-12-06 23:12:18 -06:00
LostDragonist d42bca5bc0 Merge pull request #925 from LostDragonist/Develop
Add source game column to the download list
2019-12-06 15:49:27 -07:00
LostDragonist 2c5603092a Add source game column to the download list 2019-12-06 12:40:41 -07:00
isanae 5327974825 Merge pull request #922 from isanae/open-folders-order
Move logs back to the bottom of the list
2019-12-04 21:54:48 -05:00
isanae 317730054d moved logs back to the bottom of the list, they're not game related 2019-12-04 21:53:41 -05:00
isanae d3be45e79e Merge pull request #921 from isanae/6788-stylesheets
Deleted 6788 stylesheets, they're now dependencies in umbrella
2019-12-04 16:32:28 -05:00
isanae dd28b85ad0 deleted 6788 stylesheets, they're now dependencies in umbrella 2019-12-04 15:42:13 -05:00
isanae 9b8488fad3 Merge pull request #920 from isanae/double-click-previews
Double click previews
2019-12-04 13:30:46 -05:00
isanae 91b95d00a6 implemented previews on double-click for the data and conflicts tabs 2019-12-04 13:24:31 -05:00
isanae a0fa896e68 added open previews on double-click option
implemented for filetree
2019-12-04 13:23:02 -05:00
isanae b209a8e47f Merge pull request #919 from isanae/explore-stylesheets
Explore stylesheets
2019-12-04 13:22:29 -05:00
isanae dd6f0fed10 added explore button in the settings to open stylesheets folder
added stylesheets folder to the open folders button
moved "Open MO2 Logs folder" up to be with instance folders, removed "MO2" in the name
2019-12-04 12:00:54 -05:00
isanae 00adf2b551 Merge pull request #918 from isanae/filters-keyboard-nav
Keyboard nav for filter list, alternating row colors
2019-12-04 11:46:13 -05:00
isanae e263d3049a keyboard nav for filter list, alternating row colors 2019-12-04 11:43:36 -05:00
isanae 472aa02068 Merge pull request #917 from isanae/download-crash
Crash when starting multiple downloads with dialog boxes opened
2019-12-02 17:11:23 -05:00
isanae 8fb970faa3 fixed crash when starting multiple downloads with dialog boxes opened
fixed download manager dialog boxes not having a parent
2019-12-02 16:59:30 -05:00
isanae 3d434856ae Merge pull request #916 from isanae/tracked-filter
added "tracked on nexus" filter
2019-12-02 15:35:01 -05:00
isanae 2de015815c added "tracked on nexus" filter 2019-12-02 15:34:29 -05:00
isanae d5a4077a43 Merge pull request #915 from isanae/lock-hook-shell
Lock, hook, shell
2019-12-02 15:29:23 -05:00
isanae 3b78e436db double-click now opens files for the data tab, filetree and conflict lists 2019-12-02 15:18:55 -05:00
isanae 48fd9fd080 added "open with vfs" to the data tab
uniform order for file context menus
2019-12-02 14:50:01 -05:00
isanae 47b767ef2f added "open with vfs" to filetree 2019-12-02 14:36:09 -05:00
isanae d4172dc5f8 added "open with vfs" option to conflicts tab 2019-12-02 13:51:46 -05:00
isanae 2b4d792976 don't show the lock overlay for processes that are not hooked
starting exe from filetree is now hooked
usvfs progress dialog now on top of dialogs
2019-12-02 11:06:10 -05:00
isanae eabca00c35 Merge pull request #913 from isanae/negative-filters
Negative filters
2019-12-02 10:43:52 -05:00
isanae 3c25117fe1 three modes for separators, save state
renamed enumerators
2019-12-02 10:41:52 -05:00
isanae d2073ef2bd made all categories positive
fixed context menu sometimes appearing
2019-11-30 05:37:34 -05:00
isanae 7f4fce35f9 fixed separators option being used even without filters
changed filter list to use tristate items without selection
2019-11-30 05:23:22 -05:00
isanae 38d56ef831 fixed setting selection when checking for updates 2019-11-30 04:04:40 -05:00
isanae f080e2e25d always enable clear filter button, made it so it also removes not flags
removed "deselect filters" context menu, redundant
disable not flag menu items without selection
2019-11-30 03:39:12 -05:00
isanae 507d29a0fc fixed bad label for content categories 2019-11-30 03:29:54 -05:00
isanae a38d1723bf removed redundant categories now that there's a not filter
disabled collapsing for filter, there's already a button to hide it
2019-11-30 03:21:23 -05:00
isanae f463c54943 added context menu items so set/unset inverted flag 2019-11-30 03:02:11 -05:00
isanae ed14d5510d implemented not flag
moved stuff to CriteriaItem
fixed jumbled names in getSpecialCategoryName()
2019-11-30 02:20:18 -05:00
isanae e99dfe153c renamed filters to criteria
merged categories and content, they can be distinguished using the type
added a not flag for criteria, not used yet
2019-11-30 01:53:09 -05:00
isanae 93318a1474 moved all remaining filter stuff to FilterList
renamed some widgets
2019-11-29 23:50:33 -05:00
isanae 4bbdbb000f split filter list 2019-11-27 19:14:37 -05:00
isanae 8ea346183f renamed "Categories" frame to "Filters" 2019-11-27 17:53:26 -05:00
isanae 06bb9870dd fixed tooltips 2019-11-27 17:45:52 -05:00
isanae 9134ae6111 implemented not filter 2019-11-27 17:41:04 -05:00
isanae 17452071c9 added separators filter
changed notendorsed filter to include anything else than true
2019-11-27 17:30:30 -05:00
isanae ecaf75c453 refactored matching into one function instead of repeating them for OR and AND 2019-11-27 17:14:44 -05:00
isanae d5e38fca6b added not filter, not functional yet
fixed no mods being displayed for OR with no conditions
2019-11-27 17:05:20 -05:00
isanae fb3c15094f Merge pull request #911 from isanae/relative-path-in-exe
Allow relative paths for binaries in the executables settings
2019-11-27 16:39:27 -05:00
isanae d47fc5c973 allow relative paths for binaries in the executables settings
added SSAudioOSD.dll to checks
2019-11-27 16:37:58 -05:00
isanae aab91226b8 Merge pull request #910 from isanae/system-dir-checks
Added checks on startup for directories in program files
2019-11-27 16:06:03 -05:00
isanae 05759c4abc added checks on startup for directories in program files 2019-11-27 16:03:42 -05:00
isanae 23bfe4e9ff Merge pull request #909 from isanae/change-category-crash
Fix crash when changing categories on mods while a filter is selected
2019-11-27 15:16:58 -05:00
isanae 7f2d0e6722 fix crash when changing categories on mods when the "no categories" filter is selected 2019-11-27 15:15:27 -05:00
isanae 454c550b15 Merge pull request #908 from isanae/translate-link
Added transifex link in the settings
2019-11-27 14:24:14 -05:00
isanae 376f835edd added transifex link in the settings 2019-11-27 14:23:11 -05:00
isanae e18afba893 Merge pull request #907 from isanae/link-colors
Link colors
2019-11-27 14:19:20 -05:00
isanae 70e66802a2 changed labels that have links to new LinkLabel, removed hardcoded colors
changed the link colors on dark themes to something saner
2019-11-27 14:10:50 -05:00
isanae 892a19bfc6 Merge pull request #906 from isanae/various-fixes
Collection of small fixes
2019-11-27 12:45:55 -05:00
isanae 21cddd0ad3 changed mod name of unmanaged files from "data" to "<Unmanaged>" in the data tab and for the root item in the archives tab
log error when trying to open mod info for a managed file but the mod isn't found
2019-11-27 12:05:11 -05:00
isanae a5bd29f111 only default sort file trees if no setting was saved 2019-11-27 11:25:53 -05:00
isanae 146360542d Merge pull request #905 from isanae/cwd-fix
Fix zedit not starting
2019-11-27 10:30:02 -05:00
isanae a87874497a cwd was MO instead of binary if non was specified in the exe settings 2019-11-26 16:04:21 -05:00
isanae 9519bd6219 added open mod info to data tab context menu 2019-11-26 10:31:26 -05:00
isanae b8e1a45840 sortable filetree, remember settings 2019-11-26 10:05:48 -05:00
isanae f85478a5b4 fix sort in overwrite, remember settings
remove useless header in archives list
2019-11-26 10:00:37 -05:00
isanae 4db719a3bb don't log EPT_S_NOT_REGISTERED errors, treat it as firewall disabled 2019-11-26 09:19:36 -05:00
isanae c65fbcdb37 ignore some instance folders like "cache" and "qtwebengine" 2019-11-26 09:07:43 -05:00
isanae cde6137ca5 added loot to missing files check 2019-11-26 08:59:15 -05:00
isanae 9194bfa16b added option to hide confirmation when switching instances 2019-11-26 08:59:04 -05:00
isanae c3068ce50a added rivatuner to sanity checks
now also checks modules loaded after startup
fixed crash on w7 when checking some modules
2019-11-26 08:39:22 -05:00
isanae 2c2c47c215 log new modules being loaded after startup 2019-11-26 07:06:20 -05:00
isanae 08bf03854d removed useless logging about servers 2019-11-26 06:27:56 -05:00
isanae 637188a58b don't log md5 for any system file 2019-11-26 06:21:16 -05:00
isanae 7e1403dd28 simplified security products: don't log guids, remove duplicate entries 2019-11-26 06:18:13 -05:00
isanae e67381b4b8 log timezone 2019-11-26 06:14:13 -05:00
isanae 255f96ce7e only log crash dumps message on startup 2019-11-26 05:47:11 -05:00
isanae e845126e09 Merge pull request #904 from isanae/lock-job
Use a Job to capture all child processes
2019-11-26 04:57:20 -05:00
isanae 5fb785acee bumped to 2.2.2-alpha8 2019-11-26 04:05:11 -05:00
isanae 42fb0c6bfc ignore loot reports about disabled plugins 2019-11-26 03:50:15 -05:00
isanae a99dd1d6eb fixed timing crash when trying to update the lock ui after it was closed 2019-11-26 03:36:24 -05:00
isanae 2527d6aa87 switched to using a job object to monitor for processes so child processes can also be captured 2019-11-26 03:30:44 -05:00
isanae 36c6dfd5b8 Merge pull request #903 from isanae/loot-w7-fix
Fixes for windows 7
2019-11-25 09:28:09 -05:00
isanae bec1120693 removed calls to GetOverlappedResultEx() and SetThreadDescription(), not available on windows 7
bumped to alpha7.1
2019-11-25 09:26:46 -05:00
isanae 7380747ca9 Merge pull request #902 from isanae/loot-broom
Use the broom icon for dirty plugins
2019-11-25 05:35:37 -05:00
isanae 78ee23220f bumped to 2.2.2alpha7
use the broom icon for dirty plugins
better handling of failing to spawn loot
2019-11-25 05:31:28 -05:00
isanae 765c9667de Merge pull request #901 from isanae/loot-rework
Loot rework
2019-11-25 04:01:32 -05:00
isanae f1b621d0ba save/restore state for loot dialog 2019-11-25 03:34:51 -05:00
isanae bd191f3a71 now passes --language to lootcli 2019-11-25 03:28:27 -05:00
isanae 23e917df45 switched to overlapped io so lootcli can still be terminated even if it's not writing anything to stdout 2019-11-25 03:08:27 -05:00
isanae 0c69619dbe switched to named pipes 2019-11-25 02:10:59 -05:00
isanae 0e45044dbd fixed cancel button
debug logs, some cleanup
2019-11-25 00:47:45 -05:00
isanae 48fcf9521f removed max-width, larger dialog
removed messages in output now that there's a full report
2019-11-24 23:47:59 -05:00
isanae 64304a6368 tweaked css, finished markdown report
copy markdown.html to resources/
2019-11-24 23:23:15 -05:00
isanae 70ee786102 changed loot report to webengine with markdown support 2019-11-24 22:19:23 -05:00
isanae cd876a0f9f split loot dialog, added ui file 2019-11-24 20:11:50 -05:00
isanae f5476531ae basic html loot report 2019-11-24 19:39:26 -05:00
isanae 54b18e8815 added loot info to tooltip 2019-11-23 23:54:19 -05:00
isanae 3728db1527 removed m_ prefix from struct members
some refactoring, whitespace
2019-11-23 22:56:17 -05:00
isanae 3a085212c9 added loot report to the plugin list, not used yet
split PluginList::data() into individual functions
disabled loot message processing, will use report instead
2019-11-23 22:35:08 -05:00
isanae 5c9de17b63 rewrite of json report parsing
added json.h with some utilities
2019-11-23 22:08:53 -05:00
LostDragonist 5f165b80e8 Merge pull request #897 from LostDragonist/Develop
Sort the files when presenting them during querying info
2019-11-23 17:56:15 -07:00
LostDragonist d649a86195 Sort the files when presenting them during querying info 2019-11-23 17:53:31 -07:00
isanae 237825f5b6 emit logs for general messages
handle new json output file
2019-11-22 09:14:02 -05:00
isanae 0faf628e92 open json report button 2019-11-22 08:26:29 -05:00
isanae d05df3bb7c cancel/close button 2019-11-22 08:01:07 -05:00
isanae 8fcaea9de3 added loot log level option 2019-11-22 07:44:09 -05:00
Silarn 981c1b7739 Move all Qt deployment to main MO project 2019-11-19 14:42:50 -06:00
isanae 2b5747c19d handles changes in lootcli for a more formal communication protocol 2019-11-18 17:04:01 -05:00
isanae 27dadd0164 <li> in tooltip for information messages
rewrote json output file handling to check for errors
2019-11-18 13:32:33 -05:00
isanae 1b6dc5e0a0 moved things around 2019-11-18 11:15:09 -05:00
isanae d686a61a7a removed unused job stuff
don't emit error when the process terminates because it's cancelled
2019-11-16 23:05:24 -05:00
isanae b8eab5d248 threaded loot 2019-11-16 22:25:55 -05:00
isanae 9688f37bbe added loot output 2019-11-16 20:47:30 -05:00
isanae 272cb51483 added LootDialog, more flexible than QProgressDialog 2019-11-16 20:34:55 -05:00
isanae 838446e262 split loot stuff to loot.h/cpp, no changes in functionality 2019-11-16 19:41:17 -05:00
isanae d6c3bad01a Merge pull request #887 from isanae/spawning-and-waiting
Spawning, waiting and locking
2019-11-11 14:14:01 -05:00
isanae decd5c1828 renamed lockwidget files to uilocker 2019-11-06 07:45:04 -05:00
isanae 4f84565085 renamed LockWidget to UILocker
lock interface up to two processes
2019-11-06 07:45:03 -05:00
isanae 8f40ec0bdc threaded wait for process 2019-11-06 07:45:03 -05:00
isanae 96cc662b18 lock widget now moves between dialogs and the main window when closing dialogs 2019-11-06 07:45:03 -05:00
isanae 642ddacab8 moved LockWidget back to OrganizerCore to support having multiple locks active
moved the ui out of LockWidget into LockInterface
added LockWidget::Session to manage multi locks
2019-11-06 07:45:02 -05:00
isanae 3d0197fa5e comments 2019-11-06 07:45:02 -05:00
isanae ada2ac0cb5 removed redundant checkBinary(), which used to check for non existing binaries, that's handled when spawning
removed useless checkEnvironment(), which checked for EventLog
removed CREATE_BREAKAWAY_FROM_JOB from CreateProcess() calls, didn't do anything
fixed setFromFileOrExecutable() when running just a filename that's not an executable name
split run()
fixed lock widget being disabled when running without a ui
2019-11-06 07:45:02 -05:00
isanae 72dd230cdc removed unused files
fixed handle leak when starting steam
2019-11-06 07:45:01 -05:00
isanae 719a2f20b4 refresh ui after running an exe from 1) an external message, and 2) the data tab 2019-11-06 07:45:01 -05:00
isanae 7db5f93884 removed unused SpawnedProcess
lock widget now interprets closing the dialog as a forced unlock
2019-11-06 07:45:00 -05:00
isanae 7ebd4debee added a ForceWait flag to bypass disabled locking
merged a bunch of unnecessary functions in ProcessRunner
2019-11-06 07:45:00 -05:00
isanae 9ff8a471aa added waitForAllUSVFSProcesses() wrapper in OrganizerCore, the fact that it's in ProcessRunner is a bit of a hack 2019-11-06 07:45:00 -05:00
isanae d72e94a92f added attachToProcess(), made waitForApplication() private
changed OrganizerProxy::startApplication() so it _doesn't_ wait for completion, which is its original behaviour
2019-11-06 07:44:59 -05:00
isanae a88f9dd9a7 removed runExecutableOrExecutableFile()
log the actual spawning and requests to start as well as wait from plugins
raise the lock widget when it's a dialog
2019-11-06 07:44:59 -05:00
isanae b855754c97 removed runShortcut()
changed lock widget text when running without a ui
2019-11-06 07:44:58 -05:00
isanae 2c3079c1dc removed runExecutable() 2019-11-06 07:44:58 -05:00
isanae c8e101e19e removed runExecutableFile()
turns out on_startButton_clicked() had redundant code
2019-11-06 07:44:58 -05:00
isanae 0cea4833eb explicit refresh parameter for setWaitForCompletion(), some parts of the ui will crash if things refresh unexpectedly
removed runFile()
fixed crash when unlocking if some widgets were destroyed in the meantime
lock widget will now pick the active window and disable all top levels
2019-11-06 07:44:57 -05:00
isanae db0b92776b added lockwidget to replace all the other dialogs
rewrote ProcessRunner to have a bunch of setters and then a run()
fixed bad exit code when waiting on a process that's already completed
removed lock()/unlock() from main window, ProcessRunner is in charge of that now
2019-11-06 07:44:57 -05:00
isanae 2aa70de49e return failure if the user has unlocked in waitForApplication() 2019-11-06 07:44:56 -05:00
isanae f2cc71779f always wait until completion in waitForApplication(), regardless of lock setting 2019-11-06 07:44:56 -05:00
isanae b5a5ea1b4d recheck the process tree if the current process is not that interesting 2019-11-06 07:44:56 -05:00
isanae b05cbeed90 refactored waiting into waitForProcesses() 2019-11-06 07:44:55 -05:00
isanae 4d269c2e1a split to processrunner
added IUserInterface::qtWidget()
put back IUserInterface in OrganizerCore now that there's a way to get the widget
2019-11-06 07:44:55 -05:00
isanae 8c72077feb replaced uilock by a progress callback in spawn
waiting for process now gets the whole process tree to find an interesting process
2019-11-06 07:44:54 -05:00
isanae 18b438cf27 split to getRunningUSVFSProcesses()
simplified waitForAllUSVFSProcesses() to always get the list of running processes after one process completes
2019-11-06 07:44:54 -05:00
isanae bff5a22f48 spawning an executable now only waits for that particular process
added waitForAllUSVFSProcesses() to OrganizerCore, used when closing MO
2019-11-06 07:44:54 -05:00
isanae 8f24f6298f wait for executable when opening files 2019-11-06 07:44:53 -05:00
isanae 4e8dcc5157 moved findJavaInstallation() and getFileExecutionContext() to spawn
fixed env::get() returning garbage after value
2019-11-06 07:44:53 -05:00
isanae b60f2aa786 renamed startApplication() to runExecutableOrExecutableFile() 2019-11-06 07:42:57 -05:00
isanae e43500eaf5 renamed runExecutable() to runExecutablefile()
added runExecutable() for Executable class, also used by runShortcut()
2019-11-06 07:42:57 -05:00
isanae 4fb79cae45 renamed executeFileVirtualized() to runFile()
renamed spawnBinary() to runExecutable()
renamed spawnBinaryDirect() to spawnAndWait()
2019-11-06 07:42:56 -05:00
isanae 74631ae88e merged spawnBinaryDirect() and spawnBinaryProcess() 2019-11-06 07:42:56 -05:00
isanae d91580cc26 initial Spawner and SpawnedProcess
added steam app id to spawn parameters
removed threadHandle, unused
moved most of the stuff from OrganizerCore::spawnBinaryProcess() to Spawner
replaced m_UserInterface by m_MainWindow
2019-11-06 07:42:56 -05:00
isanae 7b3c5dcbb3 Merge pull request #885 from isanae/usvfs-parameters-mutex
Crash dump path and toString()
2019-11-06 06:36:11 -05:00
isanae 33f5b59bee added crash dump path to parameters, if a mechanism to customize it is ever created
moved toString() for log level and dump type to usvfs, which needs them for logging
2019-11-01 10:14:17 -04:00
isanae aa582ab376 Merge pull request #884 from isanae/failed-to-receive-fix
Fix for "failed to receive data from secondary instance"
2019-10-31 09:09:00 -04:00
isanae a523a0b21b make sure all the data is sent before disconnecting
don't fail if waitForReadyRead() returns false but there's data available
2019-10-31 09:06:09 -04:00
LostDragonist 70b966dc0e Improve automatic naming of new executables
When using the "Add from file..." option, the extension will be removed.
E.g., "zEdit 1.2.3.exe" will be shortened to "zEdit 1.2.3".

When using the "Add empty" option and subsequently browsing for a binary,
the complete base name will be used instead of just the base name.  E.g.,
"zEdit 1.2.3.exe" will be shorted to "zEdit 1.2.3" instead of "zEdit 1".

When using the "Add as Executable" option of the data tab, the complete
base name will be used instead of just the base name.  E.g.,
"zEdit 1.2.3.exe" will be shorted to "zEdit 1.2.3" instead of "zEdit 1".
2019-10-22 23:32:28 -05:00
LostDragonist 741893c735 Update version to 2.2.2alpha5 2019-10-19 20:46:22 -05:00
Silarn 77a9c64fda Add button in modinfo image preview to use preview plugin dialog
- Disabled if no compatible preview is found
- Now renders an image for unsupported formats instructing the user
2019-10-19 02:35:33 -05:00
LostDragonist d255be54a0 Merge pull request #878 from LostDragonist/Develop
Remove mention of 32-bit Java
2019-10-18 19:07:06 -05:00
LostDragonist 09450f744b Remove mention of 32-bit Java
MO doesn't really care about which version of Java is installed.
Saying that 32-bit Java is required is misleading.
2019-10-18 19:06:11 -05:00
LostDragonist 133dc3b7a3 Merge pull request #876 from LostDragonist/Develop
Improve selection of mod ID when querying info
2019-10-18 19:00:48 -05:00
LostDragonist e3629c193a Improve selection of mod ID when querying info
The mod ID selection was fairly unreliable when the mod author decided
to use certain values in the mod name or filename.  A filename of
"K-9 - Armor-1-2-3" would automatically set the mod ID to 9 with no
chance for the user to correct it.  Other filenames would only present
2 choices of mod ID to the user, neither being correct.

The primary intent of this change is to present the user with all the
numbers found in the filename as options for the mod ID.  This should
allow the correct mod ID to be easily chosen in all cases.
2019-10-18 14:55:33 -05:00
LostDragonist a8d329a510 Merge pull request #872 from LostDragonist/Develop
Only flag plugins as light if the game supports light plugins
2019-10-15 16:26:53 -05:00
LostDragonist c0afb8c673 Only flag plugins as light if the game supports light plugins 2019-10-15 16:24:10 -05:00
isanae ca7aba129e Merge pull request #870 from isanae/clone-fix
Fixed exe cloning
2019-10-14 08:57:07 -04:00
isanae 20c7b2f498 title wasn't always trimmed, did all sorts of weird things 2019-10-14 04:45:46 -04:00
isanae 6c881c8502 Merge pull request #869 from isanae/loot-fix
Fixed loot not being hooked, bumped to alpha 4.1
2019-10-12 19:12:56 -04:00
isanae 0b480089c3 fixed loot not being hooked
bumped to alpha 4.1
2019-10-12 19:11:46 -04:00
isanae 56ae2bc24d Merge pull request #866 from isanae/new-usvfs-parameters
Uses new usvfsParameters, also updates spawn delay
2019-10-11 09:30:46 -04:00
isanae b7d83a30de Merge pull request #867 from isanae/missing-boss-button
Fixed missing sort button
2019-10-10 11:57:25 -04:00
isanae 1aa3e1f96c visible property was false 2019-10-10 11:48:41 -04:00
isanae 324fa12a2d uses new usvfsParameters, also updates spawn delay 2019-10-10 10:25:46 -04:00
isanae 168fc950f9 Merge pull request #863 from isanae/executables-fixes
Executables fixes
2019-10-10 06:12:07 -04:00
isanae 0f5ecb8b78 Merge pull request #864 from isanae/show-usvfs-version
Added usvfs version in log and about dialog
2019-10-10 06:10:19 -04:00
isanae dfb3020f89 added usvfs version in log and about dialog 2019-10-09 01:38:53 -04:00
isanae c01e80a651 Merge pull request #858 from isanae/proper-exit
Proper exit procedure
2019-10-08 23:24:53 -04:00
isanae 4d3495b3fb theme fixes for QToolButton with a menu 2019-10-08 23:17:48 -04:00
isanae 21f55da7d3 added hide flag to executables 2019-10-08 23:03:45 -04:00
isanae de48d430ec fixed tab order
fixed list items being selected, but not focused, which broke keyboard nav
2019-10-08 19:55:44 -04:00
isanae 0ea975248b remove separators and backups from mod list in the edit executables dialog 2019-10-08 19:38:56 -04:00
isanae 52db7e8c7d initial selection in the edit executables dialog from main window 2019-10-08 19:20:08 -04:00
isanae 8bc84a1513 remove whitespace from executable names
add from binary, clone
2019-10-08 19:08:55 -04:00
isanae b4f5c17898 disallow empty titles 2019-10-07 07:41:13 -04:00
isanae 94b40b328b Merge pull request #859 from isanae/usvfs-delay-parameter
Added spawn delay setting, not exposed
2019-10-07 07:13:27 -04:00
isanae a082c029b2 added spawn delay setting, not exposed 2019-10-07 07:04:56 -04:00
isanae 3d97b0efd0 added ExitModOrganizer(), used instead of qApp->exit()
reset geometry uses TaskDialog
moved restart code for the settings dialog to MainWindow
fixed settings sometimes not being saved when restarting
don't log "crash dumps present" every time the settings dialog is closed
2019-10-07 04:27:53 -04:00
isanae 4dbd541286 Merge pull request #857 from isanae/auth-warnings
Some warnings on authentication
2019-10-07 03:28:36 -04:00
isanae f10e91528b remaining requests can be 0 if not logged in, would show incorrect throttling message
validation dialog could pop even if logged in
typos in comments
2019-10-07 03:26:20 -04:00
isanae 96c3193256 Merge pull request #856 from isanae/profile-settings-fix
Removed some ambiguous overloads for settings
2019-10-07 02:32:56 -04:00
isanae 85f1635d2d Merge pull request #855 from isanae/context-menu-log-toggle
Log toggle in context menu
2019-10-07 02:31:42 -04:00
isanae 7fae2fb9f1 Merge pull request #854 from isanae/categories-collapse-fix
Categories panel collapsing
2019-10-07 02:31:07 -04:00
isanae 97d58a17bd Merge pull request #853 from isanae/validation-progress-dialog-fixes
Validation progress dialog fixes
2019-10-07 02:28:34 -04:00
isanae c9e8e71b93 removed some ambiguous overloads for settings 2019-10-07 02:23:28 -04:00
isanae ef993a693c stop reusing the view menu, just create a new context menu with the right stuff in it 2019-10-05 14:36:07 -04:00
isanae c28d435ed4 showEvent() is called for stuff like minimizing and restoring the window, don't re-read settings for that 2019-10-05 14:17:04 -04:00
isanae 925dbcba87 at least put one message in the list when opening the dialog to avoid having an empty widget 2019-10-05 13:52:04 -04:00
isanae e7cc4774e1 don't show the progress dialog on startup until after the first failure 2019-10-05 13:47:11 -04:00
isanae 8269ac1b48 rework of the nexus key validator to allow multiple attempts before failing 2019-10-05 13:36:27 -04:00
isanae fc909d4b2e implemented cancel button on progress dialog
fixed crash when exiting MO because the dialog is destroyed in atexit(), way after Qt is gone
2019-10-05 10:41:23 -04:00
isanae 3fe54c8431 now using ui file for validation progress dialog
moved elapsed timer to NexusKeyValidator, progress dialog now just shows what the validator is doing, which allows for hiding and showing it at any time
recreate the dialog when the parent changes, avoids theme errors
2019-10-05 10:11:55 -04:00
isanae 73556ad084 Merge pull request #852 from isanae/symlinks-log-only
Symlinks warning
2019-10-05 08:55:25 -04:00
isanae 76df854483 only log a warning for symlinks instead of exiting MO
added logs: when dmp files are present, for portable instances, and the ini path
clear the log widget when switching instances
2019-10-05 08:53:31 -04:00
isanae 605b669bed Merge pull request #851 from isanae/api-visible-at-startup
Check the api setting on startup to hide it if needed
2019-10-05 08:33:07 -04:00
isanae 4921d2a0dd Merge pull request #850 from isanae/blocked-files
Blocked files
2019-10-05 08:33:01 -04:00
isanae c4d96ed8cf check the api setting on startup to hide it if needed 2019-10-05 08:30:58 -04:00
isanae 93423f6351 don't log "(no guid"), happens all the time for the windows firewall 2019-10-05 08:21:59 -04:00
isanae 1467cb9955 sanity checks: comments, more debug logging 2019-10-05 08:11:12 -04:00
isanae 897d315359 fixes for VS preview: missing namespace, missing setting() with two parameters 2019-10-05 07:38:14 -04:00
isanae 1dc3962199 changed some of blocked files logging 2019-10-05 07:05:47 -04:00
isanae 633ef81972 moved checks to sanitychecks.cpp
added check for blocked files, only logs
2019-10-05 07:05:47 -04:00
Al 8aa298b606 Merge pull request #849 from Al12rs/more-filters
Added "No valid game data" and "No Nexus ID" filters as per #295
2019-10-04 22:17:01 +02:00
Al e427dbae55 Merge pull request #847 from isanae/file-renamer-errors
FileRenamer error messages
2019-10-04 22:16:39 +02:00
Al 73541c9bb4 Merge pull request #846 from isanae/tr-archive-errors
Made extraction errors translatable
2019-10-04 22:16:17 +02:00
Al 0ff1da60b1 Merge pull request #845 from isanae/plugin-tooltips
Tooltips in plugin list
2019-10-04 22:15:49 +02:00
Al 49e19c8185 Added "No valid game data" and "No Nexus ID" filters as per #295 2019-10-04 17:18:06 +02:00
isanae daa0b4b339 forgot one tr() 2019-10-04 10:47:42 -04:00
isanae c4dd23abb7 added error messages to FileRenamer and a few more
fixes for shell functions changing names
2019-10-04 09:40:37 -04:00
isanae 88ff7bb372 made extraction errors translatable 2019-10-04 07:45:59 -04:00
isanae c17b0829dc emblemes -> emblems 2019-10-04 07:14:30 -04:00
isanae 27aec50c25 added tooltip for flags, reworded those copy/pasted from the mod list 2019-10-04 07:11:50 -04:00
isanae 2fe50f2ff3 Merge pull request #842 from isanae/dialog-settings
Dialog settings
2019-10-04 06:30:15 -04:00
isanae 239cfbe685 explicit tab order, seems to fix hang when switching tabs 2019-10-04 06:29:23 -04:00
Al e6a47bf8b7 Preemptively bump version to alpha build 3 so I don't forget next time. 2019-10-03 01:20:38 +02:00
isanae 75941afd34 fixed checkboxes not being set when opening the settings dialog 2019-10-02 18:28:31 -04:00
Al 17ebbc30c5 Set Plugins tab as default tab again after last commit. 2019-10-02 23:35:51 +02:00
Al b389161077 Made categories section (filters) resizable via a splitter. Correctly handled hiding and unhiding as well as saving the state between sessions. 2019-10-02 23:06:35 +02:00
Jeremy Rimpo ae55d08041 Capitalize the org name 2019-10-01 14:32:46 -05:00
Chris Djali de8b2883ed Add link to new DDS preview plugin 2019-10-01 12:58:40 +01:00
LostDragonist 8e3af100f9 Fix help text for optional ESP deactivate button 2019-09-28 17:01:42 -05:00
LostDragonist a7afc1664c Merge pull request #844 from LostDragonist/Develop
Fix md5 hashing for large download files
2019-09-28 08:13:42 -05:00
LostDragonist 4fe267b6b4 Fix md5 hashing for large download files
Previously, the md5 hashing was broken for download files larger
than about 2GB.  This was due to the maximum size of a QByteArray.
The hashing was broken up into 10MB chunks to correct this issue.

Additionally, a progress bar was added as hashing large files would
lock up the GUI.
2019-09-28 08:11:29 -05:00
isanae ec48a6d796 a few comments for ColorTable 2019-09-27 15:26:00 -04:00
isanae 51d664d76c moved color stuff to ColorTable, now shows sample text and icons 2019-09-27 15:20:02 -04:00
isanae 5d74bd3789 refactored addLanguages() a bit
changed some of the tooltips
2019-09-25 19:32:53 -04:00
isanae 8237a1c47f use QStyleFactory to get default styles instead of hardcoding them
don't display extensions in style combobox
2019-09-25 18:39:37 -04:00
isanae 01b2a8201d replaced color buttons by a QTableWidget 2019-09-25 18:24:08 -04:00
isanae 088f27fe48 changed the layout of the general settings tab
added option to disable checking for updates
removed online check, just try it and see
2019-09-23 19:10:19 -04:00
isanae 200b5283eb added center dialogs option
moved download list options to their own group box
renamed confusing "Download Meta Information" to "Show Meta Information"
2019-09-23 18:21:39 -04:00
isanae 829124d8b8 ensure windows are on screen 2019-09-23 17:52:46 -04:00
Al d0099f577e Changed label of executable dialog to be more clear about application icons. 2019-09-23 17:40:09 +02:00
isanae 5044a6cd2c Merge pull request #839 from isanae/even-more-logging
Even more logging
2019-09-22 15:14:53 -04:00
isanae c1a5f2ef73 refactored getSecurityProductsFromWMI() to stop using a lambda
security products now only need a guid, handles failures better
2019-09-21 21:27:45 -04:00
isanae 2feaed68b4 missing period 2019-09-20 01:19:01 -04:00
isanae b455659114 registry details when steam fails to start
typos
2019-09-20 00:45:22 -04:00
isanae 54871e7b56 added details to blacklist dialog 2019-09-19 17:14:09 -04:00
isanae 94b0c46342 TaskDialog for blacklisted, with button to change the blacklist 2019-09-19 17:10:30 -04:00
isanae cbfd3692ce TaskDialog for event log not running 2019-09-19 16:41:36 -04:00
isanae f92e2c376d TaskDialog for restarting as admin for steam
added a parent widget parameter to a bunch of places
fixed paths still getting changed even if folders can't be created
made private the member variables that were temporarily public during rework
2019-09-19 16:27:41 -04:00
isanae 9bac57e3e8 steam confirmation now using TaskDialog
fixed dialog choices not remembering files
2019-09-19 15:03:03 -04:00
isanae a5db7ed864 added Settings::isExecutableBlacklisted()
moved blacklisted confirmation to dialogs
2019-09-19 11:23:21 -04:00
isanae 8bc67a86d6 moved event log warning to dialogs 2019-09-19 11:17:52 -04:00
isanae c1ab18b614 moved the content of checkService() to env::getService(), refactored it 2019-09-19 11:14:14 -04:00
isanae c50722100c removed helper.h and helper.cpp, merged into spawn 2019-09-19 10:11:56 -04:00
isanae c603681115 moved helper stuff to spawn so it can reuse error handling
removed unused helper::init()
removed logging when deleting a credential that doesn't exist, happens all the time
2019-09-19 10:07:52 -04:00
LostDragonist f69559fe0b Update version to 2.2.2alpha1 2019-09-18 15:31:43 -05:00
LostDragonist 7f857711ce Merge pull request #837 from LostDragonist/Develop
Add translation to "New Executable"
2019-09-17 00:21:48 -05:00
LostDragonist ea20335240 Add translation to "New Executable" 2019-09-17 00:19:12 -05:00
LostDragonist 795d47e6ab Merge pull request #836 from LostDragonist/Develop
Automatically fill in the name of new executables
2019-09-17 00:08:58 -05:00
LostDragonist 1fec9da2d3 Automatically fill in the name of new executables
When the binary browse button is used to select a binary, this
will use the binary name to fill in the executable name if the
previous executable name stated with "New Executable".
2019-09-17 00:08:11 -05:00
LostDragonist 11bf4499c0 Merge pull request #835 from LostDragonist/Develop
Add placeholder text to notification dialog
2019-09-16 18:12:50 -05:00
LostDragonist 0ecac8f4c4 Add placeholder text to notification dialog
A lot of new users miss the fact you can click on a notification
to get more details about that notification.  This directs them
to click on stuff.
2019-09-16 16:45:11 -05:00
LostDragonist 0d6eb8bd4c Merge pull request #831 from LostDragonist/portable_lock
Add portable lock feature
2019-09-16 16:32:37 -05:00
isanae 09b95e3943 moved all spawn dialogs into a namespace
starting steam with spawn() instead of QProcess
dialogs for bad steam registry key and failure
refactored credentials code, added logging
add environment variables to env
2019-09-13 15:15:18 -04:00
isanae b867b0bccd refactored steam handling 2019-09-12 03:49:17 -04:00
isanae ac6bc5fd01 testForSteam() now uses env to get processes
moved processes from env.cpp to envmodule.cpp, merged what crash dumps did with what was in testForSteam()
2019-09-12 02:45:03 -04:00
isanae bf3d752780 made SpawnParameters public, changed to Qt types
removed 'suspended', not used
2019-09-12 01:48:48 -04:00
isanae 971cecf343 split spawnBinaryProcess() into spawn, no changes 2019-09-12 01:09:40 -04:00
isanae 0015a12cf8 rewritten spawn() to use std::wstring instead of manual buffers
error dialogs now use TaskDialog with more user-friendly text
2019-09-11 23:36:13 -04:00
isanae 06218502ed fixes for ExpanderWidget
removed dead code in MainWindow
2019-09-11 23:34:54 -04:00
isanae 09f98576e8 added env::getFileSecurity()
Environment gets stuff on demand
2019-09-11 23:33:23 -04:00
isanae 9c59c739d4 moved ExpanderWidget to uibase 2019-09-11 23:32:32 -04:00
LostDragonist 4d9c1db885 Add portable lock feature
If the file "portable.txt" is present in the application directory,
MO will force itself to be launched as a portable instance.  The
change game button and menu item are hidden to prevent the user
from changing out of the portable instance.
2019-09-11 11:45:32 -05:00
isanae 61956802b1 now logs in utc, added year to avoid confusion 2019-09-09 04:24:12 -04:00
isanae 635c0b7a06 log line and line number when there's an error with the locked order file 2019-09-09 03:24:09 -04:00
isanae 12e1a91e4f log desktop geometry
log more info on game plugin
2019-09-09 01:32:12 -04:00
isanae e08e605c85 added missing include guards
log free space on drives involved in paths
2019-09-09 01:32:12 -04:00
isanae 99fdbb2539 Merge pull request #830 from isanae/settings-interface
Settings interface
2019-09-09 01:25:01 -04:00
isanae d863e62c6e really remove ask_for_nexuspw, the 2.2.0 update code was using the wrong section 2019-09-08 08:09:38 -04:00
isanae da212968ca change the old servers map while processing updates instead of on-demand
statusbar_visible is not used anymore
2019-09-08 03:10:43 -04:00
isanae 4df40baea6 clean up old settings when updating 2019-09-08 01:23:17 -04:00
isanae c9397c3909 more documentation for settings
removed unused automaticLoginEnabled()
2019-09-08 00:53:10 -04:00
isanae 2a2af36a38 documentation for settings
renamed some PluginSettings members and moved them around
2019-09-08 00:27:45 -04:00
isanae 7f0fa1069f don't log widget and geometry setting changes
fixed mod info dialog tab order using different settings for read and write
mod info dialog now doesn't complain when no tab order exists in the settings
only remove section when the array is larger, prevents logging changes when nothing actually changed
2019-09-02 16:09:31 -04:00
isanae 209c27c7a2 only remove section when the array is larger, prevents logging changes when nothing actually changed
changed back section names that were originally lowercase, arrays end up in two different sections
2019-09-02 15:47:21 -04:00
isanae 3757aa3f53 split into settingsutilities 2019-09-02 15:07:35 -04:00
isanae e9dba260cb split settings into a bunch of classes
removed "get" from the getters that had it
2019-09-02 14:52:02 -04:00
isanae ec3fb7b350 removed duplicate useProxy()
use dedicated functions to set, get or remove settings, allows for logging
2019-09-02 12:56:50 -04:00
isanae 57bef2ab8d removed directinterface 2019-09-02 09:38:21 -04:00
isanae ca2a7da3f6 moved workarounds to settings 2019-09-02 09:35:11 -04:00
isanae a174d4a2aa moved plugins to settings 2019-09-02 09:22:45 -04:00
isanae 8708265f69 moved setting paths to Settings 2019-08-26 04:52:15 -04:00
isanae 2eee72da68 moved code for byte sizes and speed to uibase
added scoped classes for QSettings groups and arrays
servers logged on startup
2019-08-26 04:21:06 -04:00
isanae c42e5fb2fe changed total speed and count to a list of the last 5 downloads
existing servers now merged when retrieving the download links
download manager doesn't store the servers any more, queries the settings every time
2019-08-26 03:01:55 -04:00
isanae 896d80d02c server settings converted to array instead of byte array map
moved cleanup to ServerList
2019-08-26 01:31:56 -04:00
isanae aff3ee8fcf moved preferred servers into ServerList 2019-08-26 01:07:03 -04:00
isanae 36dbb4bad7 ServerList instead of a QList of ServerInfo
changed preferred to an int
moved all server settings to Settings
2019-08-26 00:48:25 -04:00
isanae 7395fbb754 made ServerInfo a class
moved server functions together in Settings
2019-08-26 00:21:41 -04:00
isanae b1687380c5 moved more nexus stuff to settings
settings tab remembered
2019-08-26 00:01:07 -04:00
isanae 4f1b15f0a1 changed crash dump type to use enum instead of int
added ColorSettings
settings dialog general and diag tabs don't use qsettings anymore
removed logging of setting changes, will be added back to Settings class
2019-08-24 16:07:07 -04:00
isanae baa32b99f5 finished moving mod info dialog directinterface to settings 2019-08-24 13:10:50 -04:00
isanae 0f712305c8 added settings for QTabWidget, checkable QAbstractButton and ExpanderWidget
removed directInterface() from mod info conflicts
2019-08-24 13:04:10 -04:00
isanae 2ffad7edf2 made member variables in SettingsTab private, added accessors
SettingsDialog now uses GeometrySaver
2019-08-17 13:20:53 -04:00
isanae dfa15218f3 passes callbacks to QuestionBoxMemory so it doesn't access the ini directly
fixed selected executable being empty after closing the edit dialog
put backup_install inside Settings
2019-08-17 12:42:27 -04:00
isanae 7cc5f22052 put tutorials in the settings
finished moving endorsement to settings
2019-08-17 08:27:13 -04:00
isanae d9cb15f1d1 put endorsement state and first start in settings 2019-08-17 07:42:37 -04:00
isanae 965eccb328 merged DockFixer into GeometrySettings
added combobox index to settings
2019-08-16 10:29:42 -04:00
isanae 0374291a34 StatusBar now inherits from QStatusBar to handle hide/show events
merged settings into saveVisibility() and restoreVisibility()
call MainWindow::storeSettings() earlier so widget visibility is still valid
2019-08-16 09:00:31 -04:00
isanae a5cb39aaf4 moved all geometry save, restore and reset to GeometrySettings
changed reset button in settings to restart immediately
2019-08-16 08:02:14 -04:00
isanae 3f487a5a6c merged toolbars into restoreToolbars() and saveToolbars()
added centerOnMainWindowMonitor(), now also used by validation dialog
added overloads for splitter, used by main splitter
fixed saveState() for QMainWindow calling the wrong function
2019-08-16 07:03:52 -04:00
isanae 799ddb1b24 added GeometrySaver
removed widget-specific functions in GeometrySettings, now using generic functions in Settings
removed some unused member variables in MainWindow
2019-08-16 06:03:05 -04:00
isanae 73626b2979 Merge pull request #817 from erri120/patch-1
Updated string of the hideAPICounterBox
2019-08-15 03:52:37 -04:00
erri120 3ca0a9fe1e Updated string of the hideAPICounterBox
The api counter box is in the bottom right corner since the last update. This change reflects that.
2019-08-14 15:38:31 +00:00
isanae 4d4f25d177 moved getting and setting executables to Settings 2019-08-05 13:10:21 -04:00
isanae ab14a8bac3 moved recent directories to Settings
use global cache variable instead of an instance inside a function
2019-08-04 07:51:12 -04:00
isanae 89415ca5c3 moved geometry handling to PreviewDialog
fixed dialogs not having a parent
2019-08-04 07:32:12 -04:00
isanae 4c6ccb3845 geo already saved by ListDialog 2019-08-04 07:20:30 -04:00
isanae ea3840a39d removed registerWidgetState(), was used just for header list headers, now saved and restored directly 2019-08-04 07:14:06 -04:00
isanae f387a670d1 moved mod list stuff to setupModList(), no changes 2019-08-04 06:58:15 -04:00
isanae 3d86f150ca moved geometry handling to ProblemsDialog and CategoriesDialog 2019-08-04 06:30:37 -04:00
isanae 61ad96cb54 moved geometry handling to ListDialog 2019-08-04 06:09:48 -04:00
isanae 37502f3884 removed convertVariant(), turns out value() does it
separator colors to settings
2019-08-04 06:09:48 -04:00
isanae cc3a16c6e9 moved geometry handling to mod info and overwrite dialogs 2019-08-04 06:09:48 -04:00
isanae 7eed0450e8 moved geometry handling to ProfilesDialog 2019-08-04 06:09:48 -04:00
isanae e40245abf4 moved geometry handling to EditExecutablesDialog itself 2019-08-04 06:09:48 -04:00
isanae e4418b95fa moved settings updates to Settings::processUpdates() 2019-08-04 06:09:48 -04:00
isanae 07f1ac7a96 split into GeometrySettings
removed most of storeSettings() from OrganizerCore: QSettings handles saving by itself, no need for that
removed topLevelSplitter from ui, unused since the log widget is in a dock
removed QSettings from MainWindow::readSettings()
replaced return values for some of the new getters in Settings to std::optional
2019-08-04 06:09:48 -04:00
isanae b6b01a52db removed mentions of QSettings from main.cpp
added necessary member functions in Settings
2019-08-04 06:09:47 -04:00
isanae a7df11a31d Merge pull request #808 from isanae/settings-rework
Settings rework
2019-08-03 09:31:19 -04:00
Jeremy Rimpo 80dd9222f3 Merge pull request #809 from isanae/logging-fixes
Logging fixes
2019-08-02 13:36:32 -05:00
isanae 5e98855847 create log directory sooner to handle creating new instances
reset the log file in case MO is restarted and the previously selected instance is deleted
switched back to single `mo_interface.log` file
2019-08-02 07:01:06 -04:00
isanae 712c8687c2 changed old whatsthis for prerelease
apparently, QFontMetrics::width() is deprecated
2019-08-02 05:33:57 -04:00
isanae 4099efcb5b rebased to new logging 2019-08-02 03:06:59 -04:00
isanae ee43c40598 removed obsolete load mechanisms 2019-08-02 03:06:59 -04:00
isanae a05862aaa1 cleaned up includes
removed commented out code
reordered member functions in Settings
2019-08-02 03:06:59 -04:00
isanae 107b396902 moved tabs to SettingsDialog
removed Settings::query(), main window now deals with SettingsDialog directly
2019-08-02 03:06:59 -04:00
isanae e8d7930eda split diagnostics tab
fixed log and crash dump directory links in label not working
2019-08-02 03:06:59 -04:00
isanae e4dcdb01ac split workarounds tab 2019-08-02 03:06:59 -04:00
isanae 55eafd62dd split plugins tab 2019-08-02 03:06:58 -04:00
isanae d91d0caba5 removed incorrect warning that steam password is unencrypted
split steam tab
2019-08-02 03:06:58 -04:00
isanae af95b3b863 renamed tab classes, clashing with mod info dialog
split nexus tab
2019-08-02 03:06:58 -04:00
isanae 0a5ce34b1a split paths tab 2019-08-02 03:06:58 -04:00
isanae 6b5c9675ae moved SettingsTab out of Settings
split general tab
2019-08-02 03:06:58 -04:00
Jeremy Rimpo cff526415d Merge pull request #807 from isanae/logging-rework
Logging rework
2019-08-02 01:49:33 -05:00
Jeremy Rimpo bdf45aea69 Merge pull request #806 from ModOrganizer2/qt-5.13
Qt 5.13
2019-08-02 00:33:02 -05:00
isanae e4cf2c314d missing bracket 2019-08-01 22:50:42 -04:00
isanae 9aa7a5a366 renamed log actions 2019-07-22 07:39:53 -04:00
isanae 6f1a8f5b7a added clear option to log list 2019-07-22 07:39:53 -04:00
isanae 3c7712a32d moved setLogLevel() to OrganizerCore
moved context menu to LogList
2019-07-22 07:39:53 -04:00
isanae 5304d52f93 removed some useless logging
initializing usvfs logging now logs strings for log level and crash dump type
2019-07-22 07:39:53 -04:00
isanae f49efd6d44 replaced formatSystemMessageQ() with formatSystemMessage()
replaced windowsErrorString() with formatSystemMessage()
2019-07-22 07:39:52 -04:00
isanae b3d0ddb0b7 changed qDebug() to log::debug()
removed some commented out logging
2019-07-22 07:39:52 -04:00
isanae e071dfdfaa changed qCritical() to log::error()
removed now unused vlog()
2019-07-22 07:36:38 -04:00
isanae aae6d6a5aa replaced qWarning() 2019-07-22 07:34:53 -04:00
isanae f13f5e21c4 replaced qInfo() with log::info() 2019-07-22 07:33:38 -04:00
isanae d8760ed8ad refactored Metrics and Display, no change in functionality 2019-07-22 07:33:38 -04:00
isanae b2a1e1391f split env 2019-07-22 07:33:38 -04:00
isanae f95479b981 log guid for security products 2019-07-22 07:33:38 -04:00
isanae c84240b759 only display "inactive" for security products 2019-07-22 07:33:38 -04:00
isanae 20ac714bf8 fixed bad compare for nahimic
log displays on startup
2019-07-22 07:33:38 -04:00
isanae 2ef32d1230 moved environment dump to member function
added check for nahimic
2019-07-22 07:33:38 -04:00
isanae 35ae099d3f check for files likely to be eaten by an AV on startup 2019-07-22 07:33:38 -04:00
isanae eb190380e3 dump executables on startup 2019-07-22 07:33:38 -04:00
isanae 28c46eed91 reversed log level menu actions to fit settings combobox
replaced qWarnings() and qCritical()
2019-07-22 07:33:38 -04:00
isanae 3bf7717c0a moved Settings out of OrganizerCore so it can be created by itself to access settings early
set log level on startup
replaced more qDebug()
2019-07-22 07:33:38 -04:00
isanae 4dfaa363c0 logging initialized early, log file set later
replaced a few qDebug()
2019-07-22 07:33:38 -04:00
isanae ad77e315f5 moved Console to util 2019-07-22 07:33:38 -04:00
isanae bca6283311 use log::Levels instead of ints
create log level combobox in code, set selected index based on value instead
added log level to context menu in log list
2019-07-22 07:33:37 -04:00
isanae d1b4dec8ad moved setup to new LogList class 2019-07-22 07:33:37 -04:00
isanae 6217f910f0 renamed logbuffer files to loglist 2019-07-22 07:33:37 -04:00
isanae 54d98e2917 removed unused or redundant stuff in error_report.h
renamed log() to vlog() for now
extracted console creation to Console class
rewrote LogBuffer to work with logging from uibase, renamed to LogModel
added fmt dependency
2019-07-22 07:33:37 -04:00
isanae bc9f286bce moved the log to a dock widget
added a menu item in the view menu for it
2019-07-22 07:32:56 -04:00
Jeremy Rimpo 1f1b838c2b Merge pull request #796 from isanae/login-progress-dialog
Nexus login progress dialog and Nexus settings
2019-07-22 01:02:21 -05:00
Jeremy Rimpo e69078e239 Merge pull request #793 from ModOrganizer2/Develop
Stage for release 2.2.1
2019-07-22 01:01:40 -05:00
Silarn dcd6d62467 Merge branch 'Develop' 2019-07-22 01:00:42 -05:00
Jeremy Rimpo 613aa037cf Merge pull request #798 from Al12rs/Develop-2
Improved Nexus Description display and BBCode support.
2019-07-22 00:57:17 -05:00
isanae 2d78957c3d changed message when opening browser 2019-07-14 17:20:53 -04:00
Al 21b9d90d00 Changed youtube links in nexus description to use full version instead of shortened one. 2019-07-14 17:15:43 +02:00
Al b997e97472 Fixed Youtube links in Nexus Description view. 2019-07-14 02:46:57 +02:00
Al a2aa4270e9 Added full Spoiler support to the nexus Description viewer. 2019-07-14 01:55:08 +02:00
Al 23b71ca21f Add full support for quotes in nexus descriptions and avoid url horizontal overflow by forcing world break word wrap. 2019-07-14 01:09:36 +02:00
isanae b69b3e5e47 removed already commented out code:
don't resend the guid and token, nexus never answers with the api key, just create a new request every time
2019-07-12 03:24:05 -04:00
isanae 45daaec7aa removed useless flags, they were only used by settings 2019-07-12 03:09:03 -04:00
isanae 45f0a9e78a nexus info and stats in settings
cleaned up double logging for github
reset validation progress dialog parent just before the main window dies
removed unused APIStats from APIUserAccount, added isValid()
2019-07-12 02:46:31 -04:00
isanae be1ee2a97c refactored state messages 2019-07-11 05:49:12 -04:00
isanae 226372dba2 api key validator in settings 2019-07-11 05:33:35 -04:00
isanae c0a52bc1ca extracted api key validator from NXMAccessManager
api key now part of ApiUserAccount
2019-07-11 05:06:42 -04:00
isanae ad29525e98 moved NexusSSOLogin to nxmaccessmanager
added logs for manual key validation, will need to rewrite a few things
2019-07-11 02:31:59 -04:00
isanae 5e5681709a reworked the nexus connection panel
moved most of the stuff into a new NexusSSOLogin class
2019-07-11 01:55:31 -04:00
isanae f44663d795 handle context menu on pending downloads 2019-07-10 21:43:31 -04:00
isanae fa66028161 dialog should be on the heap, gets deleted by the main window 2019-07-10 20:45:37 -04:00
isanae d9003f9e54 made ValidationProgressDialog a QDialog to handle close events
allow hiding dialog and make it appear again if needed
don't use an event loop in validated(), it causes all sorts of problems because it can be reentrant if another logged in action is done while the dialog is visible
2019-07-10 20:45:37 -04:00
isanae 89d0528a00 progress dialog now shows elapsed time in progress bar 2019-07-10 20:45:37 -04:00
isanae ea7ad772bb moved progress dialog to its own class 2019-07-10 20:45:37 -04:00
isanae c38e864c92 set the progress dialog's parent to main window as soon as it's available 2019-07-10 20:45:37 -04:00
isanae 724945ab33 removed useless validationFailed() callback in MainWindow
moved the log that was in it to organizer core
2019-07-10 20:45:37 -04:00
Al c486a88348 Show timestamp seconds of log entries in logList view. 2019-07-10 21:41:15 +02:00
Al a833bc5a3e Improved Nexus description css to be easier on the eyes and handle images better. 2019-07-10 20:52:43 +02:00
Silarn e73c309f08 Update description for month instead of 30 days 2019-07-09 22:31:34 -05:00
Al f7a4ff9f5a Avoid refreshing Data tab each time directoryStructure is refreshed if the tab is not active. 2019-07-10 02:36:30 +02:00
Silarn 63f835628b 2.2.1 RC Version 2019-07-09 11:34:32 -05:00
Silarn df6cb649bd 2.2.1 RC Translation Updates 2019-07-09 11:33:13 -05:00
Jeremy Rimpo 0b2f12f90e Merge pull request #792 from isanae/small-fixes
Small fixes
2019-07-09 00:05:53 -05:00
Silarn 2b213fe7ce Merge branch 'Develop' into qt-5.13 2019-07-08 13:22:25 -05:00
Silarn 4bfb1a0d76 Fix missing spaces in tutorial message 2019-07-08 13:20:41 -05:00
Silarn 37aa5e07f4 Add some basic checks for symlinks 2019-07-08 13:19:52 -05:00
Jeremy Rimpo e4bacba282 Merge pull request #791 from isanae/shortcut-refactor
New Shortcut class to manage desktop/start menu shortcuts
2019-07-07 18:16:03 -05:00
isanae f0c5f6f672 fixed "not logged in" in the statusbar not respecting theme 2019-07-06 20:15:04 -04:00
isanae 9c00d7b7f6 fixed context menu being offset vertically in the overwrite dialog 2019-07-06 20:05:27 -04:00
isanae 6378a80ad0 fixed duplicate mnemonic for status bar 2019-07-06 20:03:01 -04:00
isanae b5019f586e FileDialogMemory didn't actually use the cached directory 2019-07-06 20:02:16 -04:00
isanae f7c844fcf7 put the error message in the ShellLinkException instead
added more debug logging when creating and deleting shortcuts
2019-07-06 19:23:52 -04:00
isanae 9166bd9c5b added new Shortcut class, moved stuff that was in MainWindow into it
added more error handling and logging, some was missing
removed some redundancy of setting the menu icons for add/remove, they're all set when clicking the button anyway
2019-07-06 18:50:28 -04:00
Silarn d2a8890e74 Merge branch 'Develop' into qt-5.13 2019-07-05 18:40:03 -05:00
Silarn e8d14d1ea5 Fix the help button tutorial step and a typo 2019-07-05 18:39:42 -05:00
Silarn 5feff2f997 Merge remote-tracking branch 'origin/Develop' into qt-5.13 2019-07-05 16:28:33 -05:00
Silarn 7e760c700a Update translations 2019-07-05 16:28:01 -05:00
Silarn 9f4a9c913f Rework methods to detect the current tab to use the object name 2019-07-05 16:26:20 -05:00
Al 6b81058831 Added "Downloads" since ex NMM users though it mean the installed Mods.
It also gives more difference with "Hide" so that it's less likely to use one instead of the other.
2019-07-05 16:28:59 +02:00
Silarn 1a280f37a7 Various translation updates and additions 2019-07-04 23:25:14 -05:00
Silarn 9a795c3ce9 Merge remote-tracking branch 'origin/Develop' into qt-5.13 2019-07-04 23:14:39 -05:00
Silarn 0596a71990 Various fixes and updates to the tutorial system
* Fix problem with main tutorial advancing past mod activation
* Add various missing overlays for new and updated features
* Restore BSA tab
* Fix problem with positioning action button overlays (requires uibase)
2019-07-04 23:14:15 -05:00
Silarn 7879ea2c62 Fix issue if widget isn't on a window 2019-07-04 15:09:49 -05:00
Silarn ccc0653ca1 Merge branch 'Develop' into qt-5.13 2019-07-03 21:29:22 -05:00
Silarn dfd34bf9c0 Update openssl library names 2019-07-03 19:12:54 -05:00
isanae 0e617f5a3a Merge pull request #788 from isanae/Develop
fixed tab order not being saved
2019-07-03 19:09:54 -04:00
isanae 5a0b6a7cf6 fixed tab order not being saved 2019-07-03 19:08:57 -04:00
isanae 431b35dcf8 Merge pull request #787 from isanae/fix-preloading
fix openssl preloading
2019-07-03 17:30:09 -04:00
isanae 41c9dd9b72 preloadDll() would always think dlls were already loaded 2019-07-03 17:26:08 -04:00
Silarn 7926205ff2 About dialog updates 2019-07-03 15:00:06 -05:00
Silarn fe67855907 Month update check should calculate by day of month instead of 30 days 2019-07-03 14:21:31 -05:00
Silarn 474e3d1e15 Force instance selection window on top 2019-07-03 14:15:27 -05:00
Silarn aeca2a7782 Restore UI files to VS project and remove unused files 2019-07-03 14:14:10 -05:00
Silarn 3a2f056e8a More refactoring 2019-07-03 14:12:38 -05:00
Silarn aa9a1fc07f Refactor obsolete methods 2019-07-03 13:04:27 -05:00
Jeremy Rimpo efec72a85a Merge pull request #782 from isanae/modinfodialog-rework
Mod info dialog rework
2019-07-03 10:24:14 -05:00
isanae 7fe637ce44 display error when loading an image fails 2019-07-02 14:57:33 -04:00
isanae 971f890826 some refactoring
updateTabs() creates a list of tabs to update instead of checking for each file
comments
2019-07-02 14:36:59 -04:00
isanae d9a7ef636b reordering tabs, then switching to a mod with a different tab set would discard the changes
comments, moving some stuff around
2019-07-02 13:21:48 -04:00
isanae 4aa59cdc7d added modinfodialogfwd.h, mostly for the enum that's used in various places
renamed ETabs to ModInfoTabIDs and changed all ints to use the enum instead
added ModInfoPtr to avoid having to include modinfo.h just to get ModInfo::Ptr
2019-07-02 12:35:33 -04:00
isanae 82d985064e added a ModInfoDialogTabContext to avoid passing too many things to tab constructors
mod is passed to ctors to make sure they can never be empty
only call deleteRequest() to selected mod
comments
2019-07-02 12:02:07 -04:00
isanae c6e80f1a5e focus tabs when they need a confirmation to close
dialog did not handle closeEvent() at all, it only checked the close button
bunch of comments
2019-07-02 11:05:31 -04:00
isanae 16b6e772a7 fixed conflict lists not expanding vertically properly 2019-07-02 10:10:20 -04:00
isanae ee71f40ce9 convert fs::path to utf-16 instead of ansi 2019-07-02 10:10:20 -04:00
isanae 41292e02bd changed how the mod url works:
- it is now independent from the nexus mod url
 - it can be set in addition to having a valid mod id
 - both urls can be displayed in the context menu
re-arranged some of the widgets on the nexus tab
added a track button
added a custom url checkbox and open in browser button
added a max-width to the browser
2019-07-02 10:10:20 -04:00
isanae b4c26c5164 fix inactive esps being marked as active because path separators changed from / to \ since the change to std::filesystem 2019-07-02 10:10:20 -04:00
isanae 093eb5650b fixed problems with re-ordering tabs, realPos was never updated properly and it wasn't actually used everywhere 2019-07-02 10:10:20 -04:00
isanae 9ec0feba43 fixed crash when opening separators 2019-07-02 10:10:19 -04:00
isanae 6547197e5f remember state of various widgets
remove obsolete settings
2019-07-02 10:10:19 -04:00
isanae e1990df0a2 fixed tab re-ordering not being used if the old setting was present 2019-07-02 10:10:19 -04:00
isanae a818954ee5 added explore menu item to conflict lists and filetree
changed filetree context menu to always show all items
added mnemonics to conflicts context menu
2019-07-02 10:10:19 -04:00
isanae 4b958d9efe added visibility flags
reduced paging size by one, feels much more natural
2019-07-02 10:10:19 -04:00
isanae c90a822444 added path to editor toolbar
moved url to top in nexus tab and made it readonly
2019-07-02 10:10:19 -04:00
isanae 162fa30c3e add image dimension to toolbar and tooltip
don't scroll when selecting an image with the mouse
2019-07-02 10:10:19 -04:00
isanae 1c0024b2fe moved all images classes into a namespace with shorter names
split theme and metrics into their own class
added filename to thumbs
2019-07-02 10:10:19 -04:00
isanae 933a2c7d10 added keyboard navigation for page down/up, end/home
changed to draw the full image background only behind the image
2019-07-02 10:10:19 -04:00
isanae c2df11298b refactored stuff into PaintContext and Files
keep selection when switching back to no filtering
up/down keyboard navigation
2019-07-02 10:10:19 -04:00
isanae 48607afc65 changed thumbnails to use margin around border
selected thumbnail now has a background color
2019-07-02 10:10:19 -04:00
isanae 0fc928fd81 rework of the images tab:
- uses a custom widget with a scrollbar instead of a QScrollArea
- scrolling by image instead of pixel
- refactored all the geometry stuff in ImagesGeometry
2019-07-02 10:10:19 -04:00
isanae 9cce32f19f dds toggle for images 2019-07-02 10:10:19 -04:00
isanae cac0fb710c added explore button to editors
fixed save button on editor being enabled with empty documents
added ctrl+s
always show vertical scrollbar in thumbnails, fixes nonstop relayouts when the height is just right and the scrollbar flickers on and off
2019-07-02 10:10:19 -04:00
isanae cb56bf76fd fixed text editors not clearing when switching mods
ported typo fixes that applied to the mod info dialog
2019-07-02 10:10:19 -04:00
isanae fc3ed80d0d tooltip on images 2019-07-02 10:10:19 -04:00
isanae fa20f81b46 replaced reportError() calls by qCritical() because they can come from a thread, which hangs the ui
categories and notes will update the tab color when changing
fixed rare crash when reordering tabs while loading a mod
2019-07-02 10:10:19 -04:00
isanae 65b3eb24fc filterable images 2019-07-02 10:10:19 -04:00
isanae 19a19ead40 filterwidget now support automatically installing a proxy on lists
filters on txt and ini tabs
2019-07-02 10:10:19 -04:00
isanae 00d4921e47 only load nexus website on activation
fixed refresh not working, will now always clear the browser so the refresh is obvious
2019-07-02 10:10:19 -04:00
isanae fb93d9ff2d nexus tab: fixed to only make one request, changed css to match nexus more closely
bbcode now supports [img width=x,height=x]
images tab: don't reload the original image
2019-07-02 10:10:19 -04:00
isanae 2b57172eb8 added path and explore button to images tab 2019-07-02 10:10:19 -04:00
isanae 139c33ccc4 various optimizations and caching
fixed conflict list not sorting when changing parameters
switched from QDirIterator to std::filesystem, much faster
FilterWidget precompiles the list
2019-07-02 10:10:18 -04:00
isanae 86e4f65eb6 changed vsdark styles to remove left and right padding from list items 2019-07-02 10:10:18 -04:00
isanae b6d8f4e479 custom models for esp lists 2019-07-02 10:10:18 -04:00
isanae 9e3214a73a refactored calculations 2019-07-02 10:10:18 -04:00
isanae 24b9f050c1 check supported extensions instead of using QImageReader, less accurate but much faster 2019-07-02 10:10:18 -04:00
isanae 1ef0620f6e rework of the images tab to avoid using widgets at all, painting is done manually 2019-07-02 10:10:18 -04:00
isanae 1e54b4b576 switched all conflict lists to QTreeView with custom model 2019-07-02 10:10:18 -04:00
isanae 4ee9f29cdc performance optimizations: text/ini tabs and advanced conflict list use views and custom models
call update() after feedFiles() to allow some tabs to have post-processing after feedFiles()
2019-07-02 10:10:18 -04:00
isanae f14f2bad3b don't update invisible tabs
update tabs when origin changes
change setting name because 2.2.0 can't handle the text list
2019-07-02 10:10:18 -04:00
isanae 581cfacbbd changed "tab index" to "tab id", this was confusing the order in the widget and the id from the enum
fixed reordering
2019-07-02 10:10:18 -04:00
isanae ad4a90692b fixed crash in conflict tabs 2019-07-02 10:10:18 -04:00
isanae eb8140afad grey out tab names when they have no data
remove tabs if they're can't handle the selected mod
next/previous now load mods in place without reopening the dialog
tab reordering is broken
2019-07-02 10:10:18 -04:00
isanae 949e451379 added missing icons
now passing tab index to allow enabling/disabling depending on mod type
modinfodialog cleanup
2019-07-02 10:10:18 -04:00
isanae 3edad12463 finished splitting filetree tab
forward delete shortcut to tabs
2019-07-02 10:10:18 -04:00
isanae 895883571b splitting filetree tab
moved mod info dialog classes to a sub filter
2019-07-02 10:10:18 -04:00
isanae cbdc4cc328 split notes tab
added new HTMLEditor that triggers an editingFinished() on focus our, used by notes tab
2019-07-02 10:10:18 -04:00
isanae 8d1c121f64 split nexus tab
added OrganizerCore::loggedInAction() to execute a function only when logged in, replaces a bunch of copy/pasted stuff in mainwindow
moved common variables in ModInfoDialogTab
moved DescriptionPage to modinfodialognexus.h, renamed to NexusTabWebpage, deleted now empty descriptionpage.h
2019-07-02 10:10:18 -04:00
isanae a72573b385 split categories tab 2019-07-02 10:10:17 -04:00
isanae a2e5f7d382 split ModInfoDialogTab 2019-07-02 10:10:17 -04:00
isanae 90280399aa renamed widgets to their proper name 2019-07-02 10:10:17 -04:00
isanae b5c47eb161 pass parent widget to tabs for dialogs
finished moving over conflict tab to its own set of files
2019-07-02 10:10:17 -04:00
isanae c98115e2f6 in the process of moving stuff to modinfodialogconflicts.h/cpp 2019-07-02 10:10:17 -04:00
isanae f8a037a409 changed layout of esps tab, moved to modinfodialogesps.cpp/h
slightly offset next/previous images so they look better when shown next to each other vertically
2019-07-02 10:10:17 -04:00
isanae a130676025 images list now vertical on the left
reworked scaling to respect aspect ratio and not exceed original size
2019-07-02 10:10:17 -04:00
isanae 9f1520c69e split images tab stuff in ImagesTab
text editor: fixed modified flag not being set to false when loading an empty file
2019-07-02 10:10:17 -04:00
isanae 81815d202b split ini tab stuff to IniFilesTab
refactored TextFilesTab into GenericFiles so it can be used by IniFilesTab
2019-07-02 10:10:17 -04:00
isanae b96f154625 removed unused ini tweaks widgets
splitter in ini tab
2019-07-02 10:10:17 -04:00
isanae 10f9fd041c disable editor without selection 2019-07-02 10:10:17 -04:00
isanae 6e2ae2444c split text file tab into its own class 2019-07-02 10:10:17 -04:00
isanae ab7f42dd97 split ExpanderWidget into its own set of files 2019-07-02 10:10:17 -04:00
isanae 491b96c052 made TextEditorToolbar a widget
added save and word wrap icons
2019-07-02 10:10:17 -04:00
isanae 0084ca6c4c text editor default style
changed colour properties to use an actual QColor
stylable highlight background color
padding for line numbers
2019-07-02 10:10:17 -04:00
isanae a2b68c3a2e text and background color, simple syntax highlighter that doesn't do anything
highlight current line
2019-07-02 10:10:17 -04:00
isanae c79cf72d22 line numbers, which required inheriting from QPlainTextEdit instead 2019-07-02 10:10:17 -04:00
isanae fc8d5c1708 checkable wordwrap on toolbar 2019-07-02 10:10:17 -04:00
isanae 9f509f9aa2 TextEditor now has a dynamic toolbar 2019-07-02 10:10:17 -04:00
isanae 6bd5bed29f added initial toolbar, splitter
moved most of the text editor stuff to a new TextEditor class
2019-07-02 10:10:16 -04:00
isanae 59e0c4aa34 moved filerenamer to its own .cpp/.h pair 2019-07-02 10:10:16 -04:00
isanae 67bc0d8327 clean up the list widgets and thumnails as well as recheck the tabs when refreshing after a change 2019-07-02 10:10:16 -04:00
Jeremy Rimpo 1822c1dc65 Merge pull request #781 from isanae/more-logging
More logging
2019-07-01 18:26:11 -05:00
isanae ffebd4c101 a few more comments 2019-07-01 14:51:08 -04:00
isanae 7c1ce768ef now handles windows firewall, which apparently doens't report itself to wmi
some more error checking
2019-07-01 12:38:35 -04:00
isanae 553a4d12a7 show supported games in error dialog when browsing for a binary 2019-07-01 09:55:42 -04:00
isanae 5e27a96a27 a few comments 2019-07-01 08:55:24 -04:00
isanae dfe8093c1a added --crashdump to generate dumps of a running MO process
added dump_running_process.bat to start another instance of MO with that flag
2019-07-01 08:42:58 -04:00
isanae 5a74b02442 security products 2019-07-01 03:41:32 -04:00
isanae 1aa174f143 comments, some refactoring
switched to qDebug()
2019-06-29 20:02:10 -04:00
isanae 813ab32a2d added a warning when running in compatibility mode 2019-06-29 18:58:15 -04:00
isanae fb6512b72e log windows version 2019-06-29 18:16:00 -04:00
isanae 7152b8e97b lower case paths, sorted list, md5 for some files 2019-06-29 16:13:55 -04:00
isanae eab0ec298b refactored preloadSsl() into preloadDll()
removed old HGID check
moved formatSystemMessage() to uibase
added Environment class, lists loaded modules, logged at startup
2019-06-29 15:26:04 -04:00
isanae 38b9c7c060 Merge branch 'Develop' of https://github.com/ModOrganizer2/modorganizer into Develop 2019-06-27 12:07:54 -04:00
isanae 27cffcb3aa Merge branch 'Develop' of github_isa:isanae/modorganizer into Develop 2019-06-27 12:07:43 -04:00
Al a82b5de34a Merge pull request #772 from Nubbie/Develop
Correcting minor spelling mistakes in the UI + add contributor
2019-06-25 22:52:22 +02:00
Al d683ee652c Merge pull request #773 from isanae/formatmessage-logging
Refactored FormatMessage() calls into formatSystemMessage()
2019-06-25 22:50:57 +02:00
Al 56839c9659 Modified Menu Bar:
* Removed Edit and Copy Log as it was useless.
* Moved Visit Nexus to Files.
* Moved Profiles to Tools.
* Renamed Tools submenu to "Tool Plugins".
2019-06-23 04:38:34 -04:00
Al ee89a8e23b * Changed export to CSV to sort by priority.
* Made status a default choice.
* Changed status column to +/- instead of Enabled/Disabled.
2019-06-23 04:38:33 -04:00
isanae c3b57c90d1 refactored FormatMessage() into formatSystemMessage()
fixes trying to load a wchar_t* with qCritical(), which merely prints the address
2019-06-23 04:35:00 -04:00
Matte A 724fad7cb6 Correcting minor spelling mistakes in the UI + add contributor 2019-06-23 04:38:36 +02:00
Al c216442eb4 Modified Menu Bar:
* Removed Edit and Copy Log as it was useless.
* Moved Visit Nexus to Files.
* Moved Profiles to Tools.
* Renamed Tools submenu to "Tool Plugins".
2019-06-20 00:44:19 +02:00
Al 5276c3c244 * Changed export to CSV to sort by priority.
* Made status a default choice.
* Changed status column to +/- instead of Enabled/Disabled.
2019-06-20 00:40:01 +02:00
Al 45ddf061c4 Disabled toolbar executable shortcut action after click to avoid starting it twice with a doubleclick. 2019-06-19 16:43:31 +02:00
Al 6cef9e5a7e Removed old debugline. 2019-06-19 16:16:10 +02:00
Al f74c341954 * Made the loadingbar a little bigger and more centered in the statusbar.
* Changed themes to remove the ugly separator line between widgets on the statusbar.
2019-06-19 15:31:52 +02:00
Al f883a14823 Improved downloads tab deletion and hiding warnings. 2019-06-19 01:57:16 +02:00
Jeremy Rimpo 27815282f7 Merge pull request #764 from isanae/executables-dialog-rework
Executables dialog rework
2019-06-16 16:13:56 -05:00
isanae bae2ee7a29 Merge pull request #765 from isanae/Develop 2019-06-15 15:10:09 -04:00
isanae 58fbdc1c22 removed 'L' from the language code:
- it's incorrect, since language codes are unsigned shorts, and
 - it actually breaks the translation section and makes retrieving it through standard Windows API fail
2019-06-15 15:08:45 -04:00
isanae 30ce0ba5ef rebase to statusbar 2019-06-15 14:48:59 -04:00
isanae d7dc13e3b9 fixes plugin executables having empty fields when upgrading from 2.2.0 2019-06-15 14:40:40 -04:00
isanae 5ca4ea5004 merged CustomOverwrites and ForcedLibraries, they were mostly identical
some comments
2019-06-15 14:40:40 -04:00
isanae 7671725436 removed concept of custom executables, everything is modifiable
added apply button to dialog
added reset button that re-adds plugin executables and renames existing ones if needed
moved executables files to their filter in visual studio
2019-06-15 14:40:40 -04:00
isanae 82975a6a38 reduced spacing between buttons, removed chatty logging 2019-06-15 14:40:40 -04:00
isanae b04782877e reduced margins around edit widgets, increased splitter handle width to separate the top buttons from the edit widgets a bit more 2019-06-15 14:40:40 -04:00
isanae c8e1b4ab3a changed the down/up pngs to be slightly offset vertically from what they were, they did not look aligned when next to each other
added status/tooltip/whatsthis strings to new buttons
change enabled status of up/down dynamically
simplified move() to just move by one
2019-06-15 14:40:40 -04:00
isanae 5fa7fd7fb9 moved add/remove to the top, changed them to tool buttons with icons, added up/down buttons 2019-06-15 14:40:40 -04:00
isanae cbe6dd93b1 made the default size of the dialog a bit larger 2019-06-15 14:40:40 -04:00
isanae 98d5602c99 adjusted the position of the "(*) Profile Specific" label
comments
2019-06-15 14:40:40 -04:00
isanae 5e65325772 fixed plugin executables not overriding if the custom attribute was inadvertently set 2019-06-15 14:40:40 -04:00
isanae e86224ee7f moved commiting changes to EditExecutablesDialog itself instead of doing it from the main window
use a separate enabled state for custom overwrites and forced libraries, this remembers the values even when unchecking the checkbox, as long as the dialog stays opened
pass the whole OrganizerCore to EditExecutablesDialog, simplifies a bunch of things
2019-06-15 14:40:40 -04:00
isanae d6d05dcae8 handles changing the title to one that already exists by just ignoring it 2019-06-15 14:40:40 -04:00
isanae 6260455111 removed old, unused stuff
have mainwindow save all the new settings once the dialog closes
2019-06-15 14:40:40 -04:00
isanae 57c7b15685 moved functionality to CustomOverwrites and ForcedLibraries helper classes 2019-06-15 14:40:40 -04:00
isanae f60431f92f remove executable 2019-06-15 14:40:40 -04:00
isanae 6e937f7d09 add executable 2019-06-15 14:40:40 -04:00
isanae 1897d60134 pulled java installation detection out of getFileExecutionContext() and into findJavaInstallation() because it was copy/pasted into EditExecutablesDialog
fixed FileDialogMemory::getOpenFileName() to also use the given directory correctly
handle browse binary button
2019-06-15 14:40:40 -04:00
isanae 7026aeaec8 fixed FileDialogMemory::getOpenFileName() not using given directory
disable all widgets when there's no selection
now saves application icon
browse working directory uses current value in file dialog
2019-06-15 14:40:40 -04:00
isanae f22b64bff7 save forced libraries internally 2019-06-15 14:40:40 -04:00
isanae cd2fefca19 save steam app id, custom overwrite and application icon
custom overwrite directories now set locally, will be written to profile when closing the dialog
2019-06-15 14:40:40 -04:00
isanae b8199f0c47 renamed most of the widgets to shorter or more descriptive names (newFilesModCheckBox?)
modifying widgets calls save()
2019-06-15 14:40:40 -04:00
isanae d125036903 stop changing add button to modify, disable remove for plugin executables
general clean up of member variable names, whitespace
2019-06-15 14:40:40 -04:00
isanae 39d953c838 load plugin executables after settings, allows for changing the order
added warning that an executable is provided by a plugin, disable widgets that can't be changed
refactoring EditExecutablesDialog
2019-06-15 14:40:40 -04:00
isanae 5556e2b152 replaced close with ok/cancel
moved add/remove below the list
2019-06-15 14:40:40 -04:00
isanae 840dba26ba rework of the executables dialog to have a horizontal splitter and use a standard QDialogButtonBox 2019-06-15 14:40:40 -04:00
isanae fafdb14600 fixed EditExecutablesDialog being opened without a parent
removed Executable's constructor with values, replaced with default ctor + setters, all these strings were much too error-prone
added Executable ctor overload to convert from ExecutableInfo
plugin executables now override most of the custom changes
renamed browseButton to browseBinaryButton to avoid confusion with the other browseDirButton
fixed both browse dialogs not handling cancel
EditExecutablesDialog's list used to change the text color for custom executables, replaced with italics
2019-06-15 14:40:39 -04:00
isanae 65ad374d97 removed temporary setters in Executable, unnecessary now that it has mergeFrom() 2019-06-15 14:40:39 -04:00
isanae 617a600545 ExecutablesList:
- merged addExecutable(), updateExecutable() and addExecutableInternal() into a new setExecutable()
 - setExecutable() adds the executable to the list if not found, or forwards to Executable::mergeFrom()
 - mergeFrom() handles merging from/to plugin executables
2019-06-15 14:40:39 -04:00
isanae 26786da96d moved store/load to ExecutablesList 2019-06-15 14:40:39 -04:00
isanae 4f01b94f01 replaced ExecutablesList::getExecutables() by a standard container interface
renamed ExecutablesList::init() to addFromPlugin()
renamed ExecutablesList::find() to get() and added a find() that returns an iterator
changed some calls from get() to find() so they can handle failure because they didn't seem to handle std::runtime_error at all
2019-06-15 14:40:39 -04:00
isanae 5fb26b2dcb made Executable members private, added member function to get and set them 2019-06-15 14:40:27 -04:00
isanae 14c9da1939 Merge pull request #762 from isanae/statusbar 2019-06-15 13:56:34 -04:00
Al 52aa6ff681 Merge pull request #763 from Nubbie/patch-1
Correcting minor spelling mistakes in the UI + add contributor
2019-06-15 16:23:06 +02:00
Matte A 2a2b7c0f10 Correcting minor spelling mistakes in the UI + add contributor
When translating, I found some minor mistakes. Therefor I ran through the file in a proofreader and corrected some mistakes. There is also some mistakes corrected for consistency e.g. spaces and dashes
2019-06-15 16:09:13 +02:00
isanae eed0f1503d re-added the api label tooltip
comments
2019-06-14 02:05:06 -04:00
isanae d527d62b2b changed the notifications action back to being disabled when there aren't any, having a coloured and clickable icon was confusing 2019-06-14 01:53:31 -04:00
isanae a75f54e522 show executable path in status bar 2019-06-14 01:44:53 -04:00
isanae a7c48a05f8 fixed text color of api label when not logged in 2019-06-14 01:41:17 -04:00
isanae 616925ebbb moved api user account classes to their own files
api label in status bar:
 - now shows when not logged in
 - changed some of the colour thresholds to correspond to real throttling numbers
make sure the api key is also cleared from the access manager when clearing from the settings
removed unused bool m_ValidateAttempted in NXMAccessManager
update the window title and status bar api label with correct values on startup, which fixes incorrect values when "restarting" MO after changing nexus settings
2019-06-14 01:38:07 -04:00
isanae a7757e8ba6 added option to hide the status bar
centralized menu visibility into a showMenuBar() function
2019-06-13 23:43:51 -04:00
isanae ba0b2c2a29 switched to stylesheet for api colors, palette doesn't seem to survive hiding/unhiding very well 2019-06-13 23:26:46 -04:00
isanae 4a7a77480b changed StatusBarNotifications to a generic StatusBarAction
added update notification to statusbar
2019-06-12 19:12:34 -04:00
isanae 16d6a4c528 added a StatusBarNotifications class to handle icon, text and double click 2019-06-12 18:04:42 -04:00
isanae dc08c12fe8 fixed progress bar not updating 2019-06-12 17:08:09 -04:00
isanae a418d028b2 max width for progress bar
notification icon in status bar
2019-06-12 16:16:17 -04:00
isanae dc8256bae1 added notifications label, unused 2019-06-12 15:47:36 -04:00
isanae ebbc900755 added a few helper classes for user accounts and stats
moved the api label to the status bar
refactored a bunch of copy/pasted code in NexusInterface to use shouldThrottle() and throttledWarning()
2019-06-12 15:47:36 -04:00
isanae 853c95b921 added new statusbar class, moved refresh progress bar to it 2019-06-12 15:47:36 -04:00
Al 54f3188a06 Merge pull request #759 from isanae/unstyled-icons-fix
Fixing the icons on the toolbar and menus
2019-06-11 23:54:18 +02:00
isanae 89aa616a61 clarified some comments 2019-06-09 09:59:16 -04:00
isanae c31f8b7e31 fixed notification icon not respecting the stylesheet on startup 2019-06-09 09:42:22 -04:00
isanae 4f240ddb7f fixes toolbar and menu icons not respecting the stylesheet 2019-06-09 09:14:35 -04:00
Al a9ad126566 Merge pull request #754 from isanae/conflict-lists-sort
Natural sort for conflict lists
2019-06-05 08:09:55 +02:00
Al f4b33ac478 Merge pull request #753 from isanae/explore-data-file
Added "Open Origin in Explorer" to the data tab
2019-06-05 08:04:17 +02:00
Al 37c4dc5848 Merge pull request #752 from isanae/toolbar-revert
Reverted changes to the toolbar
2019-06-05 07:58:34 +02:00
isanae 75f59b68a5 natural sort for conflict items 2019-06-04 23:42:20 -04:00
isanae aedddb10f8 refactored conflict list items:
- use new ConflictItem class derived from QTreeWidgetItem
 - that class has all the various conflict*() member functions that were previously in the dialog
 - moved some of the can*() member functions out to namespace level so they can be used by ConflictItem, no real need to have them as members anyway
2019-06-04 23:31:29 -04:00
isanae 63d62a40c2 added "Open Origin in Explorer" to the data tab
renamed openOriginExplorer_clicked() to openPluginOriginExplorer_clicked() to make it clearer
exec() for context menu in lists should be relative to the viewport to account for the header size
2019-06-04 22:44:46 -04:00
LostDragonist e6f5e471a7 Merge pull request #749 from isanae/manual-nexus-api-key
New dialog to manually enter Nexus API key
2019-06-04 20:25:13 -05:00
isanae c31303c6af fixed title on the manual key dialog
disabled disconnect and manual key buttons while fetching the api key
2019-06-04 21:15:54 -04:00
isanae 2db29cffda renamed "revoke nexus authorization" to "disconnect from nexus" because "revoking" is ambiguous
reworked manual key dialog to look more like MO1
moved all the UI stuff from callbacks in Settings back to SettingsDialog in a central updateNexusButtons(), which also enables/disables buttons as needed
2019-06-04 20:58:30 -04:00
isanae 479150a619 show the main menu when releasing alt instead of pressing, less annoying to take screenshots with alt+printscreen without having the menu pop up 2019-06-04 18:33:23 -04:00
isanae 369408eed0 reverted changes to the toolbar:
- swapped back "add profile" and "install mod" icons
 - removed links toolbar, icons are added to the main one
 - locked the toolbar because there's only one now
 - right align everything after the last separator and executable shortcuts
2019-06-04 18:25:31 -04:00
Al 2fb33d891f Merge pull request #750 from isanae/more-menu-toolbar
Menu bar can be hidden, also shows executable shortcuts
2019-06-04 23:49:13 +02:00
Al c41cda79b8 Merge pull request #751 from isanae/close-flag-on-cancel-redux
Reset m_closing to false when the user cancels closing
2019-06-04 08:41:23 +02:00
isanae f9906825e7 fixed exit menu item not working 2019-06-03 19:26:03 -04:00
isanae ae021586a5 reset m_closing to false when the user cancels closing 2019-06-03 19:18:09 -04:00
isanae ea3f8826f1 more comments 2019-06-03 19:09:10 -04:00
isanae 254304217d renamed some of the menus to remove underscores
added Run menu with shortcuts, only visible when there are shortcuts to show
fixed menubar visibility not being remembered
2019-06-03 19:00:44 -04:00
isanae 97026b4da0 added menubar toggle in the context menu
removed two unused actions: actionToolbar_Size and actionToolbar_style
added ways to make the menu reappear if you hide everything:
 - show the toolbar popup when right-clicking around the border of the main window
 - intercept the Alt key and make the main menu visible
2019-06-03 18:30:23 -04:00
isanae 933f460ee6 added new dialog to enter api key manually
added button in nexus settings to open the dialog
added a force flag to apiCheck() to do a check with the new key even if the login was successful before
2019-06-03 17:20:31 -04:00
Al 355a2fbbee Merge pull request #747 from isanae/splash-monitor
Display the splash screen on the same monitor as the main window
2019-06-03 22:27:22 +02:00
Al 0ecd812035 Merge pull request #744 from isanae/standard-menu-and-toolbar
Standard menu and toolbars
2019-06-03 22:26:55 +02:00
isanae 24aee49792 remember the monitor number
use it to display the splash screen on the same monitor as the main window instead of where the mouse cursor is
2019-06-03 14:51:12 -04:00
isanae 1fcd8f0e09 missed some mnemonics in the main menu 2019-06-02 22:37:36 -04:00
isanae 471d76832a reduced the padding of toolbar icons in the vs15 themes 2019-06-02 22:01:40 -04:00
isanae 3c69f1e54a update styles to handle the new menu bar
also formatted the Transparent styles, all the css was on one line
added a separator before the settings menu item
fixed medium icon item not being checkable
2019-06-02 21:50:52 -04:00
isanae 71a9f08513 added medium toolbar icon size 2019-06-02 16:45:58 -04:00
isanae e6706c7a5b the toolbar menu is now in the ui file instead of being created by hand
it's also shared between the main menu and the context menu
2019-06-02 16:28:09 -04:00
isanae fab357ef4d toolbar size and button style are now configurable and remembered 2019-06-02 15:57:52 -04:00
isanae 41ef9813dd moved links to a new dedicated toolbar 2019-06-02 15:22:11 -04:00
isanae 746e9c08e6 moved notification menu item to tools, was the only thing in view
fixed endorse action to also work with the menu
fixed changing endorsement integration setting not changing visibility of actions
2019-06-02 14:22:24 -04:00
isanae 860eb49b45 removed actionToToolButton(), which was replacing QAction's in the toolbar with QToolButton's, making it very difficult to have an equivalent in the main menu. QAction's can have a menu, so use that instead.
the only place this doesn't work is with the nexus button, which can be replaced by a menu if there are IPluginModPage plugins adding items to it; registerModPage() works fine with the toolbar, but doesn't handle the main menu yet
2019-06-02 13:14:21 -04:00
isanae 3c7b232361 - always show statusbar, used by the menu and toolbar to display status tips
- reduced margins around central widgets to align it with status bar text, removed bottom margins completely because the statusbar is enough
- notifications: now always enabled, dialog shows a special item when empty, just change the tooltip and leave the text alone
- added all toolbar actions to menu
- non functional in menu for now: tools, help and endorse because they're menus
- changed some of the action strings to be the same on both toolbar and menu, added missing status tips
2019-06-02 11:55:13 -04:00
Al f00314442b Merge pull request #740 from isanae/new-conflict-list
New conflict list, new "go to" conflict menu item
2019-06-01 09:54:09 +02:00
isanae d2eb890f2b refresh files in the constructor because the ui is used to determine the tab states 2019-05-31 17:28:59 -04:00
isanae fa7e34e84a conflict lists:
- the file index is now stored in the row data
 - the alternate origins are now added to the context menu in a "go to" submenu
 - context menu items are now visually disabled instead of omitted from the menu
2019-05-31 15:15:47 -04:00
isanae a6dbb1d766 advanced conflict list tooltips 2019-05-31 14:09:36 -04:00
isanae 7421aaa33b conflict lists
- sorting on advanced list
 - save state of all four lists
 - call refreshLists() just before showing because the state has to be loaded first, which happens after the ctor
2019-05-31 13:59:08 -04:00
isanae 0da1c2591f don't show open menu item if the files are from an archive 2019-05-31 13:09:17 -04:00
isanae 0f6f0c2394 replaced all the manual UserRole stuff with a few constants and helper functions
setConflictItem() is now used by all conflict lists to setup the data (filename, archive, etc.) and visuals (italic for archives)
merged openDataFile() and previewDataFile() into their caller as they weren't used anywhere else
previewDataFile() used to do a fromNativeSeparators() before previewing, moved that to previewFileWithAlternatives() instead
brought overwrittenTree double click in line with overwriteTree, there's no difference between apply() and close() because there's only a close button
2019-05-31 12:49:25 -04:00
isanae 65428e89ad put back changes from another PR lost because of a bad rebase 2019-05-31 11:59:19 -04:00
isanae b7580c5ad7 restore conflicts selected tab and checkboxes 2019-05-31 11:54:32 -04:00
isanae 8efab8bf12 FilterWidget takes a predicate to match strings
copied the logic from modlistsortproxy so the basic boolean syntax in filters works
2019-05-31 11:54:31 -04:00
isanae 98b3be3e9b removed buddy from FilterWidget, the intention was to hook a ctrl+f shortcut to it, but that won't work as a general solution, it would need to be on tabs for the modinfo dialog
added a simple matches() that just searches for the string
FilterWidget can cleanly unhook itself
2019-05-31 11:54:31 -04:00
isanae 4d90e50226 added new filterwidget, will eventually get the operators functionality from the mod/pluging lists 2019-05-31 11:54:31 -04:00
isanae 64604c966a elide first two columns of the advanced list 2019-05-31 11:54:31 -04:00
isanae a202170aab comments, switched some of the ifs for clarity 2019-05-31 11:54:31 -04:00
isanae 260462fe6d added show all/nearest mods radio buttons 2019-05-31 11:54:30 -04:00
isanae ab385347af allow for refreshing individual conflict tabs
advanced conflict list now has items
2019-05-31 11:54:30 -04:00
isanae d168b5db08 added AlternativesVector typedef to FileEntry
split item creation from refreshConflictLists()
2019-05-31 11:54:30 -04:00
isanae 3666995ce1 changed iterator loops to ranged for
added some autos here and there
added some whitespace
2019-05-31 11:54:30 -04:00
isanae 157168e73a split refreshLists() in two 2019-05-31 11:54:30 -04:00
isanae 2687fa8231 added new tabs in the conflict tab 2019-05-31 11:54:30 -04:00
isanae f9e9d79a7d moved all widgets in the conflict tab into a parent widget instead of directly being in the tab, allows for future additions to the tab 2019-05-31 11:54:29 -04:00
Al 41f8da011d Merge pull request #739 from isanae/hide-conflict-items
Share context menu between conflict lists
2019-05-29 14:34:24 +02:00
isanae ee92fa9fc8 reverted change that showed the conflicted file first in the preview dialog
I'm not sure how I got to the conclusion that this was a better idea: preview was always an option for those files, and it has always shown the winning file, so I changed some long-standing behaviour for no reason. I reverted that change, although I'm leaving the functionality in previewFileWithAlternatives() to specify the selected origin because it works and could be useful in the future
2019-05-28 10:53:55 -04:00
isanae d3c244c834 also reversed 'hide' parameter to 'visible' for changeFiletreeVisibility() 2019-05-28 10:30:26 -04:00
isanae 1ec2260db5 reversed 'hide' parameter to 'visible' for changeConflictItemsVisibility()
when I pass true to it, I expect it to be visible, not "yes, this should be hidden"
I had actually started this earlier and ended up in a broken, in-between state, which should be fixed now
2019-05-28 10:26:42 -04:00
isanae adb5ace799 added selectedOrigin to previewFileWithAlternatives()
this is so that an origin other than the primary can be shown first and is used from previewDataFile() in ModInfoDialog since showing a preview for a conflicting file could initially show the file from the wrong mod
removed unused, uninitialized and dangerous ModInfoDialog::m_OriginID
2019-05-28 10:14:15 -04:00
Al 1e3a10c8b2 Merge pull request #732 from isanae/cmake-changes
Adds filters, precompiled headers and quietness to the Visual Studio projects
2019-05-28 09:44:17 +02:00
Al 6db22ef388 Merge pull request #734 from isanae/permissive-flag
Permissive flag
2019-05-28 09:42:06 +02:00
Al 28b117b1a6 Merge pull request #738 from isanae/crash-plugin-highlight
fixes a crash when highlighting plugins
2019-05-28 09:41:20 +02:00
isanae 3732d24e0d findFile() seems to return null in some cases and crash on the line below
this is a quick fix for this particular crash, there's probably something deeper to fix
2019-05-27 20:03:40 -04:00
isanae 2d52299743 multiple selection for noconflict and overwritten lists
set uniformRowHeights for all three lists for faster rendering, all items are text only
all three lists use the same code for the context menu:
 - createConflictMenuActions() returns a struct with the QActions that are valid for the selection
 - showConflictMenu() plugs in the handlers and shows the menu
2019-05-27 12:07:10 -04:00
Al 622908ee20 Merge pull request #735 from isanae/hover-activate-700
don't activate the window when hovering save files
2019-05-26 15:03:53 +02:00
isanae d0f087be8f don't activate the window when hovering save files
don't popup the widget if the window doesn't have focus
2019-05-26 08:50:13 -04:00
isanae 5716676e08 fixes for /permissive-:
- no implicit conversions for enum classes
- can't bind rvalue to non-const ref
- string literals are const
2019-05-26 08:14:21 -04:00
isanae e821768f79 added /permissive- 2019-05-26 08:07:10 -04:00
Al 1c87bdab35 Merge pull request #733 from isanae/shell-functions-to-uibase
moved shell functions to uibase
2019-05-26 13:24:36 +02:00
isanae fce3c9f8c3 moved shell functions to uibase 2019-05-26 06:52:45 -04:00
Al 2caa688e55 Merge pull request #731 from isanae/filetree-dds-preview-630
Add preview to filetree, some refactoring
2019-05-26 12:24:02 +02:00
isanae 21185182c6 moved getFileExecutionContext() and its enum into OrganizerCore 2019-05-26 06:18:11 -04:00
isanae 0439e18fe4 changed enum case to follow convention 2019-05-26 05:31:02 -04:00
isanae 42159d28ec Merge branch 'cmake-changes' of github_isa:isanae/modorganizer into cmake-changes 2019-05-26 04:27:52 -04:00
isanae 4183e5837f set use_folders, puts all cmake generated projects into a folder 2019-05-26 04:27:16 -04:00
isanae c82c7af678 changed rest of ShellExecuteW() calls to use shell::Execute(), shell::OpenLink() or shell::OpenFile() 2019-05-26 04:00:54 -04:00
isanae 76708b9694 put explore and open functions in namespace shell
previewDataFile() was duplicated in both MainWindow and ModInfoDialog, moved to OrganizerCore
added preview menu item to filetree
better logging when shell operations fail
2019-05-25 08:34:52 -04:00
isanae 54a743faea reordered action variables to match the order in the context menu, added a few missing initializations 2019-05-25 03:23:08 -04:00
isanae ebb855dc14 ExploreFile() will select the file in explorer when the path is a file
replaced more ShellExecute() calls with ExploreFile()
2019-05-25 03:10:37 -04:00
isanae 9a014db4b3 moved GetFileExecutionContext() out of OrganizerCore, no reason for it to be there
added ExploreFile(), changed all mentions of ShellExecute() in MainWindow to use it
2019-05-25 02:12:11 -04:00
isanae f5330efd0d a copy of getBinaryExecuteInfo() and openDataFile() was in both mainwindow and modinfodialog, it's now moved to organizercore and renamed getFileExecutionContext() and executefile()
getFileExecutionContext() is also changed to return an enum instead of a 0-1-2 int
2019-05-25 01:05:15 -04:00
isanae f4b85d0264 Update pch.h
removed headers that were redundant or actually from MO
2019-05-24 06:33:50 -04:00
isanae f8d319cfba added precompiled headers 2019-05-24 06:25:58 -04:00
isanae 350e4fa97f using builtin properties for autogen source groups, everything is now in the autogen filter 2019-05-24 04:37:43 -04:00
isanae 953ab4e6f6 turned autorcc on so no need for qt5_add_resources() anymore
qt5_wrap_ui() is redundant since autouic is already on
generate INSTALL.vcxproj.user to have the proper debugging settings so ModOrganizer.exe is started from install/bin
2019-05-24 04:37:43 -04:00
isanae dfdea05029 greatly decreased the verbosity of builds
always include the INSTALL project in the solution build
2019-05-24 04:37:42 -04:00
isanae e349af70b7 put source files in specific groups so they're organized in the visual studio project 2019-05-24 04:37:42 -04:00
Silarn 2d58ad346c Add support for new Nexus API game codes to NXM link handling 2019-05-23 22:24:57 -05:00
Al a0500fef6c Merge pull request #728 from isanae/Develop
Adds three columns in download list: mod name, version and nexus id
2019-05-23 15:39:21 +02:00
isanae d9cdc24461 Merge remote-tracking branch 'remotes/upstream/Develop' into Develop 2019-05-22 23:18:25 -04:00
isanae 3ef7c401d5 download list: made all column left-aligned except for size 2019-05-22 23:08:07 -04:00
isanae 77678b3765 download list: added columns for mod name, version and nexus id 2019-05-22 22:43:23 -04:00
Jeremy Rimpo 2f0cfa2930 CI: Update to provisioned final VS 2019 image 2019-05-22 13:20:04 -05:00
Silarn 1abecdd517 Set optimization for release builds 2019-05-22 02:04:32 -05:00
Silarn 1d09e85c08 Add logs to build artifacts on CI fail, commit translation changes 2019-05-21 23:46:12 -05:00
Jeremy Rimpo 2a09e17cf4 CI: FileName is for the target not the source 2019-05-21 17:54:43 -05:00
Jeremy Rimpo 86ed2c7c4e CI: Push log files from the main build folder 2019-05-21 17:16:06 -05:00
Jeremy Rimpo 494951210d Add logs to build artifacts on failure 2019-05-21 16:37:20 -05:00
Al 0e5adf171f Merge pull request #727 from isanae/Develop
fix crash when changing file visibility from the filetree
2019-05-21 22:43:11 +02:00
isanae 056ecb4677 fix crash when changing file visibility from the filetree of an installed but inactive mode 2019-05-21 16:09:41 -04:00
Al 0078fd12d0 Merge pull request #726 from isanae/Develop
adds a no-conflict list in the conflicts tab, makes all three lists collapsible
2019-05-21 11:23:08 +02:00
Silarn f966e7db93 Switch to local build files as appveyor can't use installed files 2019-05-21 02:28:05 -05:00
Silarn c2ed511ff0 With old mods, only queue the old ones in case of API overflow 2019-05-21 01:41:12 -05:00
Silarn 44f6d833a9 Unify artifacts source path to install path 2019-05-21 01:37:26 -05:00
isanae 0088ee963b documented ExpanderWidget, removed checkable stuff because the state is kept internally 2019-05-20 18:44:41 -04:00
isanae 513eaaa355 added const version of Settings::directInterface() for restoring states
added top-level saveState() and restoreState() to ModInfoDialog that are called from MainWindow, because it now also has to handle expander states in the conflict tab
added internal opened state to expander widget instead of using widget visibility so it can be saved even after the dialog is closed
2019-05-20 18:33:50 -04:00
isanae c5f6173385 made expander use the full width
context menu for noconflict tree
2019-05-20 17:58:00 -04:00
isanae 00f8cbff05 expandable sections in the conflict tab 2019-05-20 17:38:17 -04:00
isanae a2b1f6a360 added third tree with non-conflicting files 2019-05-20 16:11:10 -04:00
LostDragonist e10fa6e1f3 Fix horizontal scrollbar width for dracula theme 2019-05-19 11:02:35 -05:00
Al b22ee0dc56 Merge pull request #717 from isanae/Develop
enable multiple selection in the conflict tree and file tree
2019-05-19 16:58:08 +02:00
isanae eb203e4c2a if the number of selected items is low, check them to accurately show the hide/unhide items 2019-05-19 09:06:09 -04:00
isanae a1f1656c36 re-enabled unhide menu item in the conflict tree since hidden items can actually appear 2019-05-19 08:53:59 -04:00
isanae 2c30d2d0e9 fixed filetree context menu for multiple selection 2019-05-19 08:38:05 -04:00
isanae 2920a707c7 added filename to file replace confirmation dialog text
hooked up filetree to FileRenamer
fixed filetree context menu positioning being offset vertically
2019-05-19 08:19:57 -04:00
isanae b0c5cf146c added new FileRenamer class to handle user confirmations when hiding/unhiding files
conflict tree hooked up
filetree shows the new dialogs, but doesn't handle buttons correctly yet
2019-05-19 07:21:41 -04:00
isanae 0232435e0a disabled unhide menu item in the conflict tree because hidden items are never shown 2019-05-18 06:26:13 -04:00
isanae 6c470aff82 changed the top conflict treeview to support multiple selection
this required making some changes to both trees because they were sharing m_ConflictsContextItem that was set on right clicks; both trees are now independent
hide/unhide is always shown on multiple selection to avoid scanning all the selected items
2019-05-18 03:53:20 -04:00
Al c1db638d92 Merge pull request #715 from isanae/Develop
limit the number of items in the remove mods dialog
2019-05-17 09:18:46 +02:00
isanae 47cca19109 when removing mods, limit the number of items in the list so the dialog stays at a sane height 2019-05-16 23:47:02 -04:00
Silarn 50fc72ca8d Fix missing translations 2019-05-09 12:23:33 -05:00
Silarn ed4eb2aae8 Update NXM link handling to support premium link and validate user info 2019-05-09 12:04:03 -05:00
Silarn 3d2616ea98 Enable parallel building 2019-05-09 02:10:43 -05:00
Silarn ed31aeb97e Set appveyor image to VS 2019 Preview 2019-05-08 23:10:39 -05:00
Silarn c7ca9653e9 Modify LZ4 paths to support building from source 2019-05-08 23:02:51 -05:00
LostDragonist 179a738571 Merge pull request #695 from ModOrganizer2/Develop
Stage for Release 2.2.0
2019-05-03 21:32:33 -05:00
LostDragonist 907c546842 Update version to 2.2.0 2019-05-03 21:08:20 -05:00
LostDragonist 7fbdbd8950 Update version to 2.2.0rc3 2019-05-02 06:01:11 -05:00
LostDragonist 5f0dc90ceb Fix installing qdds.dll 2019-05-02 05:57:34 -05:00
LostDragonist 65c137bf59 Update translation file 2019-04-30 05:24:46 -05:00
LostDragonist e9b5f78883 Update version to 2.2.0rc2 2019-04-30 04:51:59 -05:00
LostDragonist 3061a15822 Restart MO if the API key is changed or the reset geometries button was clicked 2019-04-30 04:51:32 -05:00
LostDragonist 8c47ba2252 Update translation file 2019-04-29 14:29:00 -05:00
LostDragonist 2d75be6ad7 Update version to 2.2.0-rc1 2019-04-29 13:28:30 -05:00
LePresidente c3d633ab7e dp windeployqt.exe last since we require everything to be installed before running. 2019-04-20 16:39:13 +02:00
LostDragonist 149c38d54d Add protection against non-existent working directory for executables 2019-04-15 05:25:22 -05:00
Jeremy Rimpo 0f13d9a4c0 Merge pull request #691 from jakemaguy/Develop
Added Missing URL for Nexus Info Tab in ModInfoDialog Window
2019-04-14 01:37:17 -05:00
Jake 94cd6f5349 Added the missing URL to setURL function to support the call to getURL() 2019-04-14 02:08:36 -04:00
LostDragonist b932416249 Update translation file 2019-04-13 22:16:08 -05:00
LostDragonist 509def79c6 Improve ignoring of missing English translations
Why does the language code keep changing?!
2019-04-13 21:17:27 -05:00
LostDragonist 379c60375c Update version to 2.2.0beta9 2019-04-13 20:21:47 -05:00
LostDragonist 405dfebe4d Don't log warnings when files can't be found (moves responsibility to caller) 2019-04-13 20:21:47 -05:00
LostDragonist 3c488a69ed Fix typo in missing INI dialog 2019-04-13 20:21:46 -05:00
Silarn 5ea25f03ce Rework logic - we want updates that are newer than the last update - 1hr 2019-04-12 21:28:47 -05:00
LostDragonist 81b9784615 Update tooltip on Nexus settings 2019-04-01 11:57:51 -05:00
LostDragonist c362199ac0 Fix performance when selecting many mods 2019-03-30 22:27:26 -05:00
LostDragonist 22d3f0cd3c Fix getFileOrigins 2019-03-26 14:32:20 -05:00
LostDragonist eb9ac6ca24 Add more protection against missing game plugins 2019-03-25 04:42:02 -05:00
LostDragonist 043a5fa941 Update version to 2.2.0beta8 2019-03-24 21:34:51 -05:00
LostDragonist b1af3eed10 Add parameters to startApplication to allow control of custom overwrite 2019-03-24 21:30:58 -05:00
LostDragonist a4679b6fac Don't query for the file description if it's present but blank 2019-03-24 18:12:23 -05:00
LostDragonist d541f982a5 Add another query to get the missing file description 2019-03-24 17:41:58 -05:00
LostDragonist 93028df242 Handle multiple replies to MD5 search 2019-03-24 17:12:19 -05:00
LostDragonist e69c84d40e Expand mo_interface.log from 1K lines to 1M lines 2019-03-24 10:50:41 -05:00
LostDragonist 3d56e17dd8 Make sure the configured temp folder exists 2019-03-23 23:02:12 -05:00
LostDragonist 1f3133059e Prevent diagnose plugins that return false for isActive from reporting notifications 2019-03-23 21:21:51 -05:00
LostDragonist ff7fd68c0b Connect diagnosisUpdate and updateProblemsButton so the notification button is updated properly 2019-03-23 19:26:16 -05:00
LostDragonist 5f8c95e78e Allow the user to go back to the instance manager if using an instance and the instance's game plugin disappears or stops functioning 2019-03-23 18:09:27 -05:00
LostDragonist 6a19ac3de5 Only let the user select game installations that match what the instance is configured for 2019-03-23 17:47:55 -05:00
LostDragonist bca9f0ec56 Do not change the game type of an instance without getting explicit instructions from the user 2019-03-23 17:10:28 -05:00
LostDragonist a337972ffb Revert "Use MD5 info search for new downloads"
This reverts commit 5ba369680d.
2019-03-23 15:03:44 -05:00
LostDragonist 6dd246363e Fix origin determination for the case of a lower priority, loose files mod being added after a higher priority, archived files mod. 2019-03-22 21:26:50 -05:00
LostDragonist 1f50d61ecb Fix update filter check 2019-03-22 18:00:13 -05:00
LostDragonist c3ff652ff8 Only change to the update filter if mods are being checked for update or mods have updates available 2019-03-22 17:33:10 -05:00
LostDragonist d141258357 Add support for info log messages 2019-03-22 17:16:08 -05:00
LostDragonist 5ba369680d Use MD5 info search for new downloads 2019-03-22 17:03:58 -05:00
LostDragonist b6be2863f2 Set the remaining API requests on a 429 reply 2019-03-22 01:10:01 -05:00
LostDragonist 5b6f16f06a Fix reported number of mods checking for update when multiple mods are selected 2019-03-22 00:52:14 -05:00
LostDragonist 4144684d8d Don't display Nexus ID of zero 2019-03-22 00:44:16 -05:00
LostDragonist 84be4c5440 Don't delete the Nexus ID on invalid update requests 2019-03-22 00:43:49 -05:00
LostDragonist 968cc4b495 Allow moving overwrite files to mods to replace files 2019-03-18 13:53:30 -05:00
LostDragonist be93ce0690 Update translation file 2019-03-18 06:10:06 -05:00
LostDragonist 7819a1aa27 Update version to 2.2.0beta7 2019-03-18 05:16:27 -05:00
Al 105a112f3c Add "Explore Virtual Folder" (name subject to change) as a default executable. 2019-03-10 17:46:36 +01:00
LostDragonist df142f8310 Refresh mod list after clearing overwrite folder 2019-03-09 22:12:10 -06:00
LostDragonist c49fce871a Allow selecting overwrite to trigger selected plugin highlight 2019-03-09 21:41:38 -06:00
LostDragonist e8e7f70ded Allow selecting overwrite to trigger mod conflict highlights 2019-03-09 21:41:20 -06:00
LostDragonist abfbf68469 Improve updating mod highlights when no mod is selected 2019-03-09 21:40:10 -06:00
LostDragonist d26c4e8ea2 Fix conflict detection concerning overwrite 2019-03-09 20:47:10 -06:00
LostDragonist c1210714f8 Update tutorials and stylesheets for problems->notifications change 2019-03-09 01:43:02 -06:00
LostDragonist 57c14681f2 Disable the login timeout timer when something happens 2019-03-09 00:46:45 -06:00
LostDragonist c28750d0fb Improve timeout behavior when logging in to Nexus 2019-03-08 23:14:52 -06:00
LostDragonist 035cf9e767 Update what's this description of profiles 2019-03-08 21:34:43 -06:00
LostDragonist 78954b0b9f Improve function and error reporting of dropping files on mod list 2019-03-08 21:26:47 -06:00
LostDragonist a6c32d0c3d Update translation file 2019-03-07 18:21:33 -06:00
LostDragonist aaeb0e8570 Convert file description from BBCode 2019-03-07 17:52:17 -06:00
LostDragonist 77bcfdfdb3 Update version to 2.2.0beta6 2019-03-07 17:32:27 -06:00
LostDragonist d5ba880283 Suppress expected network errors during MD5 searches 2019-03-07 16:55:42 -06:00
LostDragonist 70bcd97bd2 Use MD5 when querying info before bothering the user 2019-03-07 16:32:17 -06:00
LostDragonist 2eecead236 Rework tracking pin to be green 2019-03-07 11:59:07 -06:00
LostDragonist 6c0f5202ce Support log messages with newlines 2019-03-07 11:21:47 -06:00
LostDragonist d5332c5080 Add support for displaying tracked mods and setting tracked status 2019-03-07 11:21:47 -06:00
LostDragonist 09a68079bb Assume an empty release list from GitHub means some kind of error occurred 2019-03-06 18:46:15 -06:00
LostDragonist 0174423841 Improve failed login checks on start up 2019-03-06 18:02:03 -06:00
LostDragonist dfc992f467 Add setting to hide the API counter 2019-03-06 17:20:53 -06:00
LostDragonist fa44740193 Clear palette of mod list and plugin list to better support themes 2019-03-05 01:58:25 -06:00
LostDragonist 249745c6b1 Don't show unrelated paths when browsing for game 2019-02-25 08:54:51 -06:00
LostDragonist 667ef70cc8 Do not add inactive tool plugins to the tools menu 2019-02-24 21:18:52 -06:00
LostDragonist 899fa6e78d Call toggleMO2EndorseState for consistency 2019-02-24 02:31:15 -06:00
LostDragonist bcca611176 Store endorsement state of MO when a reply is received 2019-02-23 21:25:32 -06:00
LostDragonist ceb0ea65ed Update version to 2.2.0beta5 2019-02-23 18:19:01 -06:00
LostDragonist ba8ce395cf Add function to get configured mods directory 2019-02-23 07:11:57 -06:00
LostDragonist 208f389300 Change setGameName parameters to match MOBase changes 2019-02-22 22:18:05 -06:00
LostDragonist 77d6b71395 Fix call to requestModInfo 2019-02-22 22:17:45 -06:00
LostDragonist 570dc369b7 Fix call to requestDownloadURL 2019-02-22 19:53:10 -06:00
LostDragonist ef80a8baca Remove the spoofed NMM version
The new API does not require this and it serves no purpose to keep it.
2019-02-22 04:33:21 -06:00
LostDragonist 0798e102ba Force an update check after installing a mod 2019-02-22 03:45:54 -06:00
LostDragonist 01203bb467 Allow force-check updates to bypass update timeouts 2019-02-21 21:56:09 -06:00
LostDragonist 5812ad3d46 Don't count updates as ignored when the ignored version is invalid 2019-02-21 21:38:52 -06:00
LostDragonist 8f0f41f08c Invalidate mod list sort proxy when mods find updates 2019-02-21 21:36:09 -06:00
LostDragonist 6984711a01 Don't populate newestVersion from mod description
This leaves the newestVersion unpopulated until the user checks the mod for an update.
2019-02-21 20:50:17 -06:00
LostDragonist 3a290b8a5a Fix warning about multiple consts 2019-02-21 19:36:00 -06:00
LostDragonist 8027fea667 Grab the description for downloads instead of the change log 2019-02-21 19:35:15 -06:00
LostDragonist 9dbac137ef Limit the download file description to 4096 characters
The description is limited to 255 characters on the Nexus so this is mostly protecting against invalid data.
2019-02-21 19:32:32 -06:00
LostDragonist 277e0ffded Update translation file 2019-02-21 04:12:51 -06:00
LostDragonist 78be0744f9 Merge pull request #661 from przester/double-install-fix
Fix state breakage when terminating installation via exceptions
2019-02-21 03:30:24 -06:00
LostDragonist 330ff910d1 Add space 2019-02-21 03:16:52 -06:00
Krzysztof Starecki 067d605a58 Fix state breakage when terminating installation via exceptions 2019-02-20 15:20:20 +01:00
LePresidente 51c02718b1 Merge branch 'Develop' of https://github.com/ModOrganizer2/modorganizer into Develop 2019-02-20 09:25:15 +02:00
LePresidente b62dff5fd6 [Appveyor] make sure we are in the appveyor build folder before sending the discord notification, to avoid errors 2019-02-20 09:24:50 +02:00
LostDragonist 8d5cfc2470 Remove more old Nexus settings 2019-02-19 09:01:04 -06:00
LePresidente 1a123d2dfa Updated AppVeyor build to include artifacts, to allow testers to grab new exe's as they are built 2019-02-19 16:21:17 +02:00
LostDragonist 9ec158dcee Fix for Steam being run as administrator
Previously, when Steam was run as administrator, MO couldn't
access the process therefore couldn't detect it.  Now, an
alternative method for listing processes is now being used
in order to determine if Steam is running.

Additionally, MO will detect if Steam is admin and MO is not
and prompt the user if they want to restart MO as admin.
2019-02-19 03:26:08 -06:00
Brian Munro 046a72346c Merge pull request #656 from ModOrganizer2/Appveyor
Appveyor test build process, current project only
2019-02-19 06:30:30 +02:00
Silarn f9ac64c65d Cleanup and version bump 2019-02-18 21:37:34 -06:00
LostDragonist 9634549f92 Rework messages about downloads already queued or started 2019-02-18 21:33:48 -06:00
Silarn d2120a9c55 Extend the update date back one hour to help prevent time mismatches
- Server time and local time may not align perfectly for bulk API
2019-02-18 21:31:22 -06:00
Silarn 70a9cf9429 Coalesce code for identifying game short name from nexus name 2019-02-18 21:31:22 -06:00
LostDragonist 61842daf93 Fix up messages for already pending/started downloads 2019-02-18 21:31:21 -06:00
LostDragonist b43ab45493 Fix display of file names when querying info 2019-02-18 21:31:21 -06:00
Silarn ec0a0a2beb Fix seconds calculation 2019-02-18 21:31:21 -06:00
Silarn 42ae919c96 Fix issue with downloads not being remove on failure
Also adds helpful message when API key is not valid or present
2019-02-18 21:31:21 -06:00
Silarn f7d1ce1fae Small updates, cleanup, update code, cache settings, tooltips 2019-02-18 21:31:21 -06:00
Silarn 2b9d2f32fb Endorsement and efficiency updates
* Reduce update timeout to 5 minutes
* Introduce bulk endorsement check replacing global mod info check
* Fine tune performance of bulk update info query
* Thread the update processing to prevent lockups
2019-02-18 21:31:21 -06:00
Silarn 5a7d0243c6 Implement bulk update check layer 2019-02-18 21:31:20 -06:00
Silarn b59c44aaa1 Some fixes to parse the preferred server list and download speed feature 2019-02-18 21:31:20 -06:00
Silarn 3f86a94ff7 Freeing the credential object when there's no result causes overruns 2019-02-18 21:31:20 -06:00
Silarn 8bc9db23d9 Add settings option to switch between fixed and dynamic cache timeouts 2019-02-18 21:31:20 -06:00
Silarn eb575e2f92 Implement Windows Credential Manager 2019-02-18 21:31:20 -06:00
Silarn ae74c7ff2b Re-simplify ModInfo interface 2019-02-18 21:31:20 -06:00
Silarn d86d2f704a Implement staggered timeouts bases on age.
* < 1 mo = 2 hours
* < 3 mo = 4 hours
* < 6 mo = 6 hours
* < 1 yr = 12 hours
* > 1 yr = 24 hours
2019-02-18 21:31:19 -06:00
Silarn a873c7be23 Simple updates API headers requested by Nexus 2019-02-18 21:31:19 -06:00
Silarn 177f5c0446 Fix issues with duplicate requests, expand parallel requests to 6 2019-02-18 21:31:19 -06:00
Silarn 91e909bc45 Request pools are not combined, we need to use the max of both pools. 2019-02-18 21:31:19 -06:00
LostDragonist 17b36957ff Add Qt5WebSockets to DLL manifest 2019-02-18 21:31:19 -06:00
Silarn 34a374fce8 Several api improvements:
* Don't check time for force updates
* Implement API restrictions for <200 remaining requests
* Fix bug causing duplicate mod checks for differing short name capitalization
2019-02-18 21:31:19 -06:00
Silarn f7220cdd22 Prevent runaway requests and fix info dialog description update display 2019-02-18 21:31:19 -06:00
Silarn 2b5862ef01 Multiple updates:
* Remove periodic auto-update
* Add context menu force-update for mod list
* Fix some bugs with update parsing
  - Ignore update files that are deleted
  - Fix remaining issue with failing to get all mods due to capitalization
* Remove queue retry when out of requests
* Clear all requests when out of requests
* More potential improvements to login/validation process
2019-02-18 21:31:16 -06:00
Silarn 78ae7072c9 Write the file category ID to the mod data when installing/updating 2019-02-18 21:29:27 -06:00
Silarn 7f56407b91 Use NXM link key and expiration in file list API call when available 2019-02-18 21:29:27 -06:00
Silarn d08b836265 Fix various issues when not having a stored API key 2019-02-18 21:29:27 -06:00
Silarn b7d2a608d8 Fixe API Key storage and actually validate the response 2019-02-18 21:29:27 -06:00
Silarn f04c437960 Rework the data and cleanup a bit 2019-02-18 21:29:27 -06:00
Silarn 42d8bba5d4 Stop blindly following examples and use better code 2019-02-18 21:29:27 -06:00
Silarn b751b070e5 Implement using the DPAPI to encrypt credentials 2019-02-18 21:29:27 -06:00
Silarn 2454690813 Make mod search case insensitive, reintroduce timed update batches 2019-02-18 21:29:26 -06:00
Silarn bbed7c0a32 Rework SSO for new protocol and utilize MO2 application ID 2019-02-18 21:29:26 -06:00
Silarn 6b9e94473a Various fixes and updates
* Add second api type for mod info to segment updates from basic desc
* Add saved nexus file type and factor it into the update display
* Fix some issues with how we were checking for 'latest update' files
2019-02-18 21:29:26 -06:00
Silarn 5aed35d2b6 Ensure mainwindow slot doesn't override data we've just set 2019-02-18 21:29:26 -06:00
Silarn 04c6c6da5c Fix missing nexus update setters 2019-02-18 21:29:26 -06:00
Silarn c7c4a8b08e Update outdated UI descriptions for API monitor 2019-02-18 21:29:25 -06:00
Silarn 6030a1d1fc Sorting logic fix and show last updated date 2019-02-18 21:29:25 -06:00
Silarn f07f6b8904 Update Process Improvements
* 5 minute batch auto-update of up to 10 mods
  - Still able to force an update of all 'unchecked' mods
  - Prioritizes mods with oldest update 'age'
* Implemented 1-hour wait between update checks per mod
* Fixed issues with update progress display
* Only enable update filter automatically if 'force update'
* Improved display of version update status in mod list
  - Italic text when ready to perform update check
  - Tooltip indicates when next update is available
* Fixed remaining issues with update fallback check
* Only trigger one update API request for duplicate sources
2019-02-18 21:29:23 -06:00
Silarn ef286a938d Multiple fixes:
* Uses current daily/hourly rate limits
* Fixed issue with translating API game string to mod game string
** Corrects issues with update checks and downloads
2019-02-18 21:28:27 -06:00
Silarn a305ea2270 Translate nexus game name to short name to fix fetching updates 2019-02-18 21:28:26 -06:00
Silarn 370e010a1a Fix a typo 2019-02-18 21:28:26 -06:00
Silarn 4932c52136 Add counter for API requests 2019-02-18 21:28:24 -06:00
Silarn 23ff0bea74 Always emit the failed signal so we trigger another request 2019-02-18 21:28:07 -06:00
Silarn 72de94ee89 Add a retry for rate limited requests and requeue requests with 429 err 2019-02-18 21:28:07 -06:00
Silarn 56f9ba159b Detect throttling with error code 429 2019-02-18 21:28:07 -06:00
Silarn f6dcc77158 Filter deleted downloads from the download query dialog 2019-02-18 21:28:07 -06:00
Silarn b4a9dd410c Fix issue with endorsement response parsing 2019-02-18 21:28:07 -06:00
Silarn b6805f2730 Add some comments and always use latest update file as the version 2019-02-18 21:28:06 -06:00
Silarn b6498abaf3 Implement an API rate limiter 2019-02-18 21:28:06 -06:00
Silarn fbbff08fb8 Fix up mismatched signals and slots 2019-02-18 21:28:06 -06:00
Silarn 4bea346b26 Reworking update checks to use the file update info with a fallback 2019-02-18 21:28:04 -06:00
Silarn 7de78b6697 Several Nexus API-related changes
* Added 30-second ping so Nexus doesn't close our connection
* Set an overall 5 minute timeout before we give up listening for auth
* Fixed some old signal and slot connections
* Added a button to revoke the current API authorization
* Updated bulk endorsement function with new API changes
2019-02-18 21:27:32 -06:00
Silarn 9fe2f6126d Initial Nexus API changes:
- Switch to SSO with WebSocket
- Update endpoints (all but version checking)
2019-02-18 21:26:44 -06:00
LostDragonist bd9cc6254c Update version to 2.2.0beta3 2019-02-18 18:00:11 -06:00
LePresidente f0f672f9b7 appveyor really wants those blank lines between commands. 2019-02-18 16:27:45 +02:00
LePresidente 63134bc94a Use same branch on umbrella as the project. 2019-02-18 16:24:03 +02:00
LePresidente 24ef8c56d2 Added blank lines between commands, due to appveyor sees it as a single command 2019-02-18 14:30:26 +02:00
LePresidente fa9427d22a Added appveyor build badge to readme.md
Added appveyor.yml which will control the appveyor build in the future (currently extremely basic)
2019-02-18 13:50:48 +02:00
LePresidente 3a1a381b9b Minor change to CMakeLists.txt to use the DEPENDENCY_DIR variable from umbrella, instead of relative paths, this is required to support appveyor. 2019-02-18 13:23:21 +02:00
LostDragonist 57fd35fc47 Visit Nexus page for first primary source if game does not have its own Nexus page 2019-02-17 23:16:49 -06:00
Al ee266e5220 Merge pull request #655 from przester/double-install-fix
Reject new mod installations if another one is already running
2019-02-16 20:41:27 +01:00
Krzysztof Starecki d0a6321a39 Update translation file 2019-02-16 13:37:46 +01:00
Krzysztof Starecki b1f91d28fb Merge branch 'Develop' into double-install-fix 2019-02-16 13:34:20 +01:00
Al c19ba15337 Merge pull request #653 from przester/instance-fix
Fix instance errors when downloading the same file multiple times
2019-02-16 13:02:52 +01:00
Al 4b98a3f5b6 Merge pull request #654 from przester/contextmenu-fix
Change mod list context menu to stack allocation
2019-02-15 23:00:07 +01:00
Krzysztof Starecki 55249ba3a6 Reject new mod installations if another one is already running 2019-02-15 22:01:36 +01:00
Krzysztof Starecki 600b0786eb Change mod list context menu to stack allocation 2019-02-15 17:34:44 +01:00
Krzysztof Starecki 02c5b083dc Fix instance errors when downloading the same file multiple times 2019-02-15 17:07:43 +01:00
Al 4d8920cec1 Fix openOriginInfo and openOriginFolder for base files like skyrim.esm 2019-02-15 15:59:33 +01:00
Al 2106f29224 Write currentProfile to Ini file on profile change. Exclusively for outside detection of profile change. 2019-02-15 15:06:44 +01:00
LostDragonist ad7d740a0b Update version to 2.2.0beta2 2019-02-15 06:01:40 -06:00
LostDragonist 1c02ae101b Improve game selection when multiple games are possible 2019-02-15 00:36:56 -06:00
Al 280a32597f Merge pull request #651 from przester/Develop
Fix mod context menu memleak (issue #379)
2019-02-14 16:39:05 +01:00
Al 749ceff04f Merge pull request #652 from przester/bugfix-446
Fix modId behavior on 'Query Info' cancel (issue #446)
2019-02-14 16:31:06 +01:00
Krzysztof Starecki 448a37e6bc Fix mod context menu rendering issue 2019-02-14 16:30:18 +01:00
Krzysztof Starecki d4a066dbd9 Fix modId behavior on 'Query Info' cancel (issue #446) 2019-02-14 15:55:53 +01:00
Krzysztof Starecki a803baa900 Fix mod context menu memleak (issue #379) 2019-02-14 15:24:02 +01:00
LostDragonist 777ebdd922 Update translation file 2019-02-13 21:16:30 -06:00
LostDragonist a7350a1940 Update version to 2.2.0beta1 2019-02-13 20:50:46 -06:00
Al 67cb214d47 Added enderal to instance selection name 2019-02-13 02:25:49 +01:00
Al dc1b1dd829 UpdateProblemsButton when it's pressed, should clear notifications if there was a lingering one.
Sadly does not work when it's disabled
2019-02-13 01:04:15 +01:00
Al b38a26c2bc Performance improvements:
* Avoid accessing disk for finding archives if archive parsing is disabled.
* Avoid very expensive createFile() call in removeOrigin(), after disabling a mod or closing modinfodialog.
2019-02-12 23:56:09 +01:00
Al 5eb686ac48 Use case insensitive check for flagging primary prugins.
Fixes some plugins not getting force enabled on TTW.
2019-02-12 18:54:56 +01:00
LostDragonist c98f00f77e Clear palette of message dialog to improve readability 2019-02-11 00:07:19 -06:00
LostDragonist de2274e175 Make notifications geometry implementation match other dialogs 2019-02-10 15:39:20 -06:00
Al 75d16660fd Made Archive Conflicts option less appealing to random users. 2019-02-10 18:13:10 +01:00
Al 1d55e1f6f9 Avoid calling addModBSAToStructure() altogether if archive conflicts is disasbled. 2019-02-10 18:08:09 +01:00
Al 5767e27925 Fixed crash when "Update" filter is selected and multiple mods are ignored for update. 2019-02-10 00:44:02 +01:00
LostDragonist 98683eca6f Enable compact mode for mod list flags when column is smaller than 6 icons 2019-02-07 21:42:14 -06:00
LostDragonist 10336caf9e Add Discord, GOG Galaxy, and Spotify to default blacklist 2019-02-05 19:39:10 -06:00
LostDragonist 3444b9a46e Fix some logs 2019-01-31 16:14:25 -06:00
LostDragonist 2201a5b0dd Make gameShortName comparisons case insensitive 2019-01-31 11:31:22 -06:00
Al 02433c486b Fixed a Failed to refresh list of esps: invalid vector<T> subscript error
caused when locking multiple mods where some of them where disabled. Skipped the disabled ones.
2019-01-31 17:57:18 +01:00
LostDragonist bd0efe4d60 Update translation file 2019-01-30 22:44:02 -06:00
LostDragonist 0cac03cdf6 Always display at least 3 segments of version info for MO itself 2019-01-30 22:16:38 -06:00
LostDragonist 46e2eac1ca Update version to 2.2.0alpha10 2019-01-30 21:55:37 -06:00
LostDragonist 1369c8d571 Make logs more consistent in format and content 2019-01-30 20:53:48 -06:00
LostDragonist 4b522f40e8 Make logs more consistent in format and content 2019-01-30 20:32:48 -06:00
LostDragonist 6d45350546 Remember geometry of problems dialog 2019-01-30 19:57:01 -06:00
LostDragonist cfc0b3c055 Rename problems to notifications 2019-01-30 19:34:36 -06:00
LostDragonist d3f1006a51 Don't report errors when "write to file..." in data tab is canceled 2019-01-30 12:55:26 -06:00
LostDragonist 583bc5b6c6 Auto-populate executable name when browsing for a file 2019-01-30 12:53:00 -06:00
LostDragonist 34640c4d08 Don't add empty icons for flags that don't have icons 2019-01-30 03:23:24 -06:00
LostDragonist 6e3d40a230 Change modsSortedByProfilePriority to not return overwrite or backup mods 2019-01-28 15:13:46 -06:00
Al 4b87be4d3d Update issue templates 2019-01-26 12:12:31 +01:00
Al 3f2a41979e Delete Issue template to use specific ones instead 2019-01-25 23:30:40 +01:00
Al 26d5313cba Added new Issue variegated templates 2019-01-25 23:28:00 +01:00
Al 0740b2b22f Update ISSUE_TEMPLATE.md 2019-01-25 23:11:30 +01:00
Al 2053efac29 Update ISSUE_TEMPLATE.md 2019-01-25 23:06:43 +01:00
LostDragonist a853b07953 Change archive parsing to experimental and default to disabled 2019-01-25 10:35:58 -06:00
LostDragonist 08c298c964 Update copyright to 2019 2019-01-25 10:22:56 -06:00
LostDragonist 3372230ca9 Update version to 2.2.0alpha9 2019-01-25 10:21:32 -06:00
LostDragonist a68a027feb Merge remote-tracking branch 'remotes/origin/archive_conflicts_2' into Develop 2019-01-25 10:19:44 -06:00
Al 63511cd390 Fixed ListDialog geometry not saving in Move to mod feature. 2019-01-24 19:24:28 +01:00
Al 75d29f7e03 Show windows overwrite dialog when moving and add result message. 2019-01-24 14:41:52 +01:00
Al ae794dba32 Merge pull request #631 from Thex-PiedDroit/OverwriteToMod
Added ability to move files from the overwrite folder to an existing mod
2019-01-24 08:14:51 -05:00
Al c0c754728c Fixed display of notes tool-tip and improved Alternative Game source tooltip. 2019-01-24 13:23:44 +01:00
LostDragonist 0ab87850c4 Merge remote-tracking branch 'remotes/origin/Develop' into archive_conflicts_2 2019-01-22 17:57:46 -06:00
LostDragonist 5800f2b7b3 Use the optimized function that was created 2019-01-22 15:26:51 -06:00
LostDragonist 7fd81029ce Reduce file I/O operations when enabling/disabling multiple mods 2019-01-22 14:59:07 -06:00
Thex a349ec24df Added ability to move files from the overwrite folder to an existing mod 2019-01-22 21:39:08 +01:00
Al a40613f885 Cache list of archives contained in a mod instead of accessing disk each time 2019-01-22 17:58:34 +01:00
Al 917c08cd5f Fixed a crash with "Disable Selected" while in "checked" filter and similar cases 2019-01-22 13:26:52 +01:00
Al 11b2e0fe34 Improved performance of pluginlist refresh by removing regex 2019-01-22 13:25:31 +01:00
Al fe04cb47e1 Improved Choose Instance name dialog to avoid confusion 2019-01-20 22:27:43 +01:00
Al 8719248fcf Add some horizontal padding to downloads tab for eyecare 2019-01-20 00:15:20 +01:00
Al 23e81f7109 Open conflicts tab when double clicking on flags
not perfect as flags could be for something else but will provide fast access to that tab.
2019-01-19 23:36:52 +01:00
LostDragonist 6d36f1d959 Fix forced libraries when using shortcuts 2019-01-19 15:15:48 -06:00
LostDragonist 952a9c2ded Fix forced libraries when using shortcuts 2019-01-19 15:15:31 -06:00
LostDragonist e6e8ce1d68 Cancel the installation progress bar when done to prevent it showing up again 2019-01-18 17:55:53 -06:00
LostDragonist a63d12bd0f Cancel the installation progress bar when done to prevent it showing up again 2019-01-18 17:46:56 -06:00
LostDragonist 5b8b2ddac7 Edit tooltip and what's this of archive parsing option 2019-01-18 15:47:14 -06:00
LostDragonist 2ee3aec6b5 Fix location of archive parsing setting 2019-01-18 15:34:08 -06:00
Silarn 077a050e59 Merge remote-tracking branch 'origin/Develop' into archive_conflicts_2 2019-01-18 01:56:16 -06:00
Al 0d04ba1873 Added OR and AND based search to modlist and pluginlist.
A space now means AND and "OR ; | ||" mean OR. OR always wins.
2019-01-18 01:34:18 +01:00
LostDragonist 9c364c0dff Redirect documentation link in help menu to github.io 2019-01-14 18:53:32 -06:00
LostDragonist 643d2a7725 Add link to discord server in help menu 2019-01-14 18:53:07 -06:00
Al 5efba39f86 Fixed invalid vector access on modInfoDialog closing. 2019-01-13 13:42:56 +01:00
Al 821ca74166 Avoid refreshes unless it's specifically the update filter. 2019-01-12 20:24:10 +01:00
Al 864cab8c8a Fixed "check all for updates" not updating for the newly added mods. 2019-01-12 19:58:56 +01:00
Al ea3df2e9bd Some more drag and drop related changes, still no fix though. 2019-01-12 14:35:09 +01:00
Al 37e1009d94 Added missing Parchment theme file 2019-01-12 12:12:04 +01:00
Al 029da32412 Added Parchment theme by TheBobAbides. 2019-01-12 11:48:36 +01:00
LostDragonist d24519501f Delete the settings array before writing a new one 2019-01-11 18:00:54 -06:00
LostDragonist 64a242d922 Remove profile-specific executable settings when removing the executable 2019-01-11 16:21:43 -06:00
LostDragonist b41c99b742 Remove window title of widget 2019-01-11 10:32:17 -06:00
LostDragonist e9c35cad2e Update translation file 2019-01-11 09:02:06 -06:00
LostDragonist 9c721c08eb Update Paper Dark and Paper Light themes to 5.0 2019-01-11 08:11:13 -06:00
LostDragonist aa934e5fb3 Update Paper Automata theme to A2-2.0 2019-01-11 08:10:53 -06:00
LostDragonist f1572a2fc4 Fix regex warning 2019-01-11 07:56:28 -06:00
Al 04a4346dc8 Save version even after downgrading.
Otherwise the downgrade warning will appear forever.
2019-01-11 14:02:19 +01:00
Al cc7c3adcad Fix or ignore a number of compiler warnings. 2019-01-11 13:56:58 +01:00
LostDragonist 2d78ac26c8 Change version to 2.1.7alpha6 2019-01-11 03:15:21 -06:00
LostDragonist 96b6677ed9 Fixes to library load widget 2019-01-11 03:14:41 -06:00
LostDragonist 347ac2b8b5 Support for force loading libraries 2019-01-11 01:51:11 -06:00
Al 183069a85d Make Visit on Nexus and Open web page do the other as well for multiple items. 2019-01-11 00:23:39 +01:00
Al ff49e2a43c Added Web Page URL field in modinfodialog.
It's used only if nexusID is invalid.
2019-01-11 00:04:09 +01:00
Al d0445685bf Fix #523 by resetting m_URL after install. 2019-01-10 23:51:53 +01:00
Al 14b117d74a Save rich text of notes tab across restart. 2019-01-10 21:16:01 +01:00
LostDragonist 301c1156f8 Don't try to resume downloads that aren't paused 2019-01-08 01:34:06 -06:00
Al fa8e40adcb Update valid mod status when moving files from overwrite. 2019-01-07 14:28:28 +01:00
Al d32695843d Fix drop to downloads tab.
Fix DownloadView to be QtreeView in QCreator.
2019-01-07 13:28:46 +01:00
Al f2ea231f92 Made Delete INIs and Saves dialogs remember selection. 2019-01-06 21:54:11 +01:00
Al 2a010e5cdb Fixed version notification messages. 2019-01-06 20:57:17 +01:00
LostDragonist eb6ee86da4 Change version to 2.1.7alpha5 2019-01-05 21:50:52 -06:00
Silarn e35cdd6c89 Merge remote-tracking branch 'origin/Develop' into archive_conflicts_2 2019-01-05 20:00:16 -06:00
LostDragonist f2c145b2fc Change qPrintable to qUtf8Printable to better support non-ASCII text 2019-01-05 19:11:22 -06:00
Al cc7d1ed721 Improve spacing for plugincounter. 2019-01-06 00:29:37 +01:00
Al 08477d6524 Fix compact/normal download sizes on all themes.
Fix hover/select padding changes.
Fix non uniform height due to warning icon.
2019-01-05 23:43:10 +01:00
Al 23426d920e Added Tannin to thanks 2019-01-05 23:39:50 +01:00
Al e97f073570 Improve ToLower() performance significally. 2019-01-05 20:59:00 +01:00
Al 299a769a83 Improve performance of refresh (regex and code distribution) 2019-01-05 18:44:15 +01:00
LostDragonist 14782a374c Improve performance by removing redundant actions when changing mod states 2019-01-05 02:57:01 -06:00
LostDragonist 070a9a4d47 Update mod and plugin counters when a mod is removed 2019-01-05 02:18:18 -06:00
LostDragonist 3d24650095 Fix counting light-flagged plugins 2019-01-05 02:17:37 -06:00
LostDragonist a6e526210f Remove redundant "active" labels on plugin counter 2019-01-05 01:33:46 -06:00
LostDragonist 3839de53f0 Don't call ASCII function with unicode 2019-01-03 04:39:34 -06:00
Al 474fdca394 Merge pull request #610 from przester/download-tab
Tweak download tab column resizing
2019-01-03 01:35:13 +01:00
Krzysztof Starecki c54bc7edfa Merge branch 'Develop' of https://github.com/Modorganizer2/modorganizer into download-tab 2019-01-03 01:20:15 +01:00
Krzysztof Starecki c57d7567c4 Tweak download tab column resizing 2019-01-03 01:09:08 +01:00
LostDragonist 683d17784b Improve missing INI dialog when switching profiles 2019-01-02 14:30:46 -06:00
Al 0d0e9ee175 Added Note columns to Export to CSV feature 2019-01-02 19:50:33 +01:00
LostDragonist 15e4711417 Merge remote-tracking branch 'remotes/origin/Develop' into archive_conflicts_2 2019-01-01 17:07:52 -06:00
Al 5ad411cd47 Updated version to 2.1.7alpha4 2019-01-01 23:31:16 +01:00
Al 9a2b9224ca Sort Separators by priority in Send To dialog. 2019-01-01 22:57:00 +01:00
Al 35995a4989 Merge pull request #607 from przester/download-tab
Fix download entry padding issue
2019-01-01 22:37:47 +01:00
Krzysztof Starecki 76fb954b3d Fix download entry padding issues (again) 2019-01-01 22:34:42 +01:00
Al 523cb203ce Merge pull request #606 from przester/download-tab
Revamp the downloads tab, fix some UI bugs
2019-01-01 22:10:56 +01:00
Krzysztof Starecki 6fa416fc52 Add default download row sizes for generic styles, sanitize mainwindow.ui 2019-01-01 21:52:10 +01:00
Al 619a0887d8 Fix About dialog open tab. 2019-01-01 19:39:57 +01:00
Al 9c1cbed8db Updated About dialog. 2019-01-01 19:33:44 +01:00
Krzysztof Starecki ad752182bc Fix download entry padding issues 2019-01-01 18:31:17 +01:00
Krzysztof Starecki 63b2189416 Remove unused import, fix accidental indent 2019-01-01 15:29:50 +01:00
Krzysztof Starecki 79ccbccb1b Fix toolbar buttons not setting their icons on startup 2019-01-01 14:27:51 +01:00
Al d8396bfa2c Fixed refresh not clearing overwrite highlighting. 2019-01-01 12:39:35 +01:00
LostDragonist 858930cb46 Change find_if to remove_if 2019-01-01 01:18:40 -06:00
Krzysztof Starecki 44d42cb26d Change redownload dialog to display the filename 2019-01-01 01:10:46 +01:00
Krzysztof Starecki 263a3f7d24 Make download tab columns hideable by user 2018-12-31 23:24:19 +01:00
Krzysztof Starecki 79a2f8477b Fix bug with hiding installed downloads 2018-12-31 22:45:04 +01:00
Krzysztof Starecki 954785f83e Fix some compiler warnings 2018-12-31 21:01:15 +01:00
Krzysztof Starecki 895556f257 Add filetime column to download tab 2018-12-31 20:53:35 +01:00
Krzysztof Starecki e7c59b26e1 Fix nullptr bug with download meta info 2018-12-31 20:45:12 +01:00
Krzysztof Starecki fd6345cd4e Add 'download meta information' support to download tab 2018-12-31 20:29:03 +01:00
Krzysztof Starecki f3ee7a0566 Port the 'Night Eyes' theme 2018-12-31 19:35:52 +01:00
Krzysztof Starecki 527b310ef3 Merge remote-tracking branch 'upstream/Develop' into download-tab 2018-12-31 18:58:11 +01:00
Krzysztof Starecki b8babae78a Fix download layout bug, port most of remaining themes 2018-12-31 18:48:53 +01:00
LostDragonist 776bc8efdf Update version to 2.1.7alpha3 2018-12-31 10:52:02 -06:00
Krzysztof Starecki 412a062082 Tweak styling options for downloads tab, port Paper Light theme for reference 2018-12-31 16:12:25 +01:00
LostDragonist ba57657b4f Correct logic of mod conflict color selection 2018-12-31 07:40:44 -06:00
LostDragonist 398cc0112e Merge branch 'Develop' into archive_conflicts_2 2018-12-30 20:34:29 -06:00
LostDragonist 4809c30132 Apply alpha color settings to the settings dialog 2018-12-30 20:19:23 -06:00
LostDragonist 7cdaecc5bd Merge pull request #604 from Project579/Develop
Added Alpha channel to color pickers
2018-12-30 19:20:52 -06:00
Krzysztof Starecki 03823a433a Add qss styling options for progress bar and compact mode widgets 2018-12-31 02:15:47 +01:00
LostDragonist 580f45429f Fix conflict colors and make archive conflict colors configurable 2018-12-30 18:52:15 -06:00
Project579 22643edb21 Added Alpha channel to color pickers 2018-12-31 01:18:01 +01:00
LostDragonist e9fe45eb89 Merge branch 'Develop' into archive_conflicts_2 2018-12-30 16:30:41 -06:00
LostDragonist b2ca83366a Merge pull request #601 from Project579/archive_conflicts_2
Archive conflicts Updating to Lastest Develop
2018-12-30 16:27:43 -06:00
Krzysztof Starecki c11ff7e2db Add icon for incomplete download info, add download progress delegate 2018-12-30 22:13:15 +01:00
Krzysztof Starecki cfb941082e Add downloadlist styling tweaks 2018-12-30 19:41:05 +01:00
Krzysztof Starecki 463abedee7 Remove old downloads tab code leftovers 2018-12-30 16:35:39 +01:00
Krzysztof Starecki 4d40e8d18c Fix adding new downloads, add missing download progress states 2018-12-30 16:22:35 +01:00
Krzysztof Starecki c3ad0349d4 Tweak downloadlist status sorting behavior 2018-12-30 15:27:25 +01:00
Krzysztof Starecki 7a71a9eb9e Fix a bug where downloadlist context actions run multiple times 2018-12-30 15:16:06 +01:00
Krzysztof Starecki ec8dbcbf28 Port context menus to new downloadlist 2018-12-30 14:57:05 +01:00
Krzysztof Starecki 5920dc2cd1 Disable downloadlist widget delegates, port partial functionality to QTreeView 2018-12-30 12:26:34 +01:00
Project579 71091f679d Updated translation 2018-12-30 11:22:08 +01:00
Project579 302f9b99d8 Updated version to reflect changes 2018-12-30 11:22:08 +01:00
Project579 b842eb1ca3 Fix for download list refreshing, courtesy of bshd 2018-12-30 11:22:08 +01:00
Project579 b525ee392f Updated translation file 2018-12-30 11:07:56 +01:00
Al 7f0844bdd4 Changed name limit to 60 instead of 100 since it was too long 2018-12-29 23:52:18 +01:00
LostDragonist 87c6b019bc Fix for download list refreshing, courtesy of bshd 2018-12-29 14:56:43 -06:00
LostDragonist 5fc107cdb2 Change version to 2.1.7alpha2 2018-12-29 14:23:36 -06:00
Project579 d6f9e6d900 Merge branch 'Develop' into archive_conflicts_2
Updating to 2.1.7alpha1
2018-12-29 11:56:42 +01:00
LostDragonist eb50d0b447 Update counters when changing profiles 2018-12-28 20:13:31 -06:00
LostDragonist f6884fe3d6 Allow some functions to pass in empty paths to check the root folder 2018-12-28 16:33:51 -06:00
Al 93a60177ee Changed "Loads BSA" flag to finds loaded archives in the entire virtual folder. 2018-12-28 21:26:59 +01:00
LostDragonist b82677fab1 Fix warning about missing signal 2018-12-28 01:10:16 -06:00
LostDragonist 66bf2ab537 Stop warning about missing English translations 2018-12-28 01:05:11 -06:00
LostDragonist 2d9cf25657 Fix typo 2018-12-27 18:49:19 -06:00
LostDragonist dea754ad91 Update translation file 2018-12-27 15:02:26 -06:00
LostDragonist b84e938726 Update version to 2.1.7alpha1 2018-12-27 14:29:25 -06:00
LostDragonist b397e0bc5d Simplify code for visible counter changes 2018-12-27 04:37:23 -06:00
LostDragonist 4cc371ab84 Modify active counters based on filters 2018-12-27 02:50:04 -06:00
Al bbed72c6a3 *Made clear Filters button clear also the nameEdit filter 2018-12-27 01:07:08 +01:00
LostDragonist a3110731ca Use WriteRegistryValue function to handle read-only files 2018-12-26 17:23:12 -06:00
LostDragonist 6a4e52f9dc Display counter tooltips when clicked 2018-12-26 10:59:18 -06:00
LostDragonist 66d0ae4317 Add a small gutter around the active mod/plugin counters 2018-12-26 09:19:44 -06:00
Al fecb66f66b Added "Visible" counters for modlist.
Improved counters tool tip view.
2018-12-26 15:49:00 +01:00
LostDragonist 85eb57eebb Relaunch MO as admin when elevation is required
Previously, a new process of MO would be created as administrator when elevation was required.  This had some unwanted side effects.  The GUI lock would not function.  The virtual file system would likely break as the non-admin process could not access data from the new admin instance.
2018-12-25 03:51:32 -06:00
LostDragonist 22f40072cf Allow user to "won't endorse" MO itself 2018-12-24 22:37:53 -06:00
LostDragonist 40a3e93c46 Add an option to disable endorsements 2018-12-24 22:37:53 -06:00
LostDragonist d021011cfa Allow "endorse", "unendorse", and "won't endorse" for multiple mods 2018-12-24 22:37:52 -06:00
LostDragonist 5f06da756e Allow "visit on Nexus" for multiple mods 2018-12-24 20:52:56 -06:00
LostDragonist 7fa230411e Improvements to the plugin and mod counters
* Fix style
* Add whatsThis
* Add tooltips with additional statistics
* Don't count mods like overwrite, unmanaged, DLC, etc.
2018-12-24 19:46:31 -06:00
Al 23cf8e60fd Changed ui of active mod counters 2018-12-24 21:22:48 +01:00
Al d28ddcfbb5 Added Active Plugins and Active Mods counters 2018-12-24 17:29:16 +01:00
Al 6211a23c5f Made compact download view show longer names 2018-12-24 13:26:51 +01:00
LostDragonist ce02da497a Prevent missing INI dialog from popping up when creating a new instance with archive invalidation 2018-12-24 00:59:54 -06:00
LostDragonist fcff329c1e Add sorting for the notes column 2018-12-23 00:57:28 -06:00
Al12rs 2d79e37e59 Fixed typo in previous commit. 2018-12-22 17:06:06 +01:00
Al12rs 77e4cb5c6e Improved tooltip for Alternate Game Source flag. 2018-12-22 17:02:55 +01:00
Al12rs 69ff53f443 Some logging for drop events on modlist. 2018-12-22 16:41:05 +01:00
Al12rs 127fbda849 Fixed unignreUpdate option from not showing up. 2018-12-22 14:54:45 +01:00
LePresidente d8e988d372 encase path in quotations to support spaces in Install Location. 2018-12-22 15:46:02 +02:00
Silarn da3a95ed66 Translation updates 2018-12-22 03:25:08 -06:00
Al12rs 101d656709 Removed pixel limit on downloads tab, inclreased character limit to 120. 2018-12-22 01:55:52 +01:00
LostDragonist 549db7d331 Escape quotes in arguments when elevating MO 2018-12-21 17:38:07 -06:00
LostDragonist 9bc15eb6f7 Add hotkeys for download filter and allow ESC to clear filter more often 2018-12-20 20:57:09 -06:00
LostDragonist 70ddfaadbf Expand mod list search edit to work on categories, nexus IDs, and notes 2018-12-20 20:57:09 -06:00
LostDragonist afdd21440a Catch and report exceptions in the MainWindow deconstructor 2018-12-20 20:56:31 -06:00
Al12rs a899823fff Fixed Description not loading when InfoDialog opens on Nexus tab. 2018-12-21 02:15:02 +01:00
Al12rs 3161bdb9a5 Made doubleclick open relevant info tab 2018-12-21 01:05:30 +01:00
LostDragonist e2b799bd6b Update translation file 2018-12-20 15:56:54 -06:00
LostDragonist 185eb8e5ef Merge branch 'Develop' 2018-12-20 15:34:11 -06:00
LostDragonist 63efd21a6a Fix version reporting to allow non-alpha builds 2018-12-20 15:33:01 -06:00
LostDragonist ed67ac2113 Merge pull request #586 from ModOrganizer2/Develop
Release 2.1.6
2018-12-20 14:33:08 -06:00
Al12rs 9a33dc1480 *Added "Open INIs Folder" option.
*Changed "Open Instance Folder" to open the Appdata or MO2 install instead of the baseDirectory.
2018-12-20 19:12:11 +01:00
LostDragonist 1b0c437788 Update translation file 2018-12-19 14:33:04 -06:00
LostDragonist 5e530becc2 Don't mention save games when dealing with INI files 2018-12-19 13:02:15 -06:00
LostDragonist d9835cc4ae Update translation file 2018-12-19 12:47:33 -06:00
LostDragonist 18ea79c2d0 Update translation file 2018-12-19 11:53:53 -06:00
LostDragonist 37a6989ba8 Make language about profile-specific settings and save games consistent 2018-12-19 11:53:29 -06:00
LostDragonist 830b63c4e2 Re-initialize the profile configuration if INI files are missing 2018-12-19 11:43:15 -06:00
LostDragonist 662772c2fc Optionally delete and restore profile-specific game INI files when changing the setting 2018-12-19 11:19:03 -06:00
LostDragonist 027edcf688 Enable per-profile game INI files by default again 2018-12-19 11:03:24 -06:00
Al12rs ff51aa10c2 Fixed performance issue of Data tab. 2018-12-18 00:12:28 +01:00
LostDragonist cbc9d00584 Update translation file 2018-12-15 16:23:20 -06:00
Al12rs e15f768a15 Fixed opening multiple modinfodialog from Open Origin info. 2018-12-13 21:18:35 +01:00
LostDragonist e63eba2ca1 Improve cleanup of temporary files when installing 2018-12-13 13:30:04 -06:00
LostDragonist 4436d376a8 Clean up and fix merge issues 2018-12-12 20:35:23 -06:00
Al12rs 40c82fc190 Fixed mainwindow.cpp so that Qt Creator does not break it anymore.
We should be able to normally use Creator now without having to worry about breaking the build.

Partial fix for conflict information getting messd up after opening infodialog or disabling a mod.
Icons still get messed up but conflict tab remains consistent at first inspection.

Reverted main tab to plugins

Changed version of Archive conflicts branch to 2.2.0 pre-alpha.
2018-12-12 20:17:07 -06:00
Project579 57178f8988 Added button to disable Archives in Data Tree and entirely. 2018-12-12 20:16:54 -06:00
Al12rs 49159de5d7 Improved refresh performance by replacing std::transform() with CharLowerBuffer().
Fixed padding to four spaces and removed references to FLAG_ARCHIVE_LOOSE_CONFLICTS_MIXED that isn't used.
2018-12-12 20:16:50 -06:00
Silarn 75a663941d Add flag padding for all conflict icons 2018-12-12 20:16:40 -06:00
Al12rs b05f56c808 Added red archive conflict icon and made the conflicts tab change font for files that come from an archive. 2018-12-12 20:16:39 -06:00
Silarn f9f70b224e Add loose file/archive conflict icons 2018-12-12 20:16:07 -06:00
Al12rs 01e1232cf8 Added new "loose files overwrite archive" icon and all the flags.
The logic to show it is still missing until the other issues are fixed.
2018-12-12 20:15:55 -06:00
Silarn 8d6c715672 Initial archive conflict parsing
Squashed commit:
  Basic archive conflict parsing - pass 1
  Merge fixes for archive parsing
  Basic archive conflict parsing - pass 1
  Merge fixes for archive parsing
  Should fix conflict detection for archive files
2018-12-12 20:15:55 -06:00
LostDragonist 20008e17b7 Fix highlighting plugins when selecting mods with no visible priority 2018-12-12 17:43:43 -06:00
LostDragonist c24200bc04 Remove a weird vertical spacer from the diagnostics settings tab 2018-12-12 13:22:17 -06:00
LostDragonist 25a9290cd5 Reset previousSeparatorColor when a separator color is reset 2018-12-12 09:40:25 -06:00
Al12rs efe657c23e Removed old styles 2018-12-12 16:30:04 +01:00
LePresidente 571347d2de Pass DIR parameter to install exe, so installation directory matches current directory. 2018-12-12 16:01:50 +02:00
Al12rs 346bc630f8 Create new Separators in last used color. 2018-12-12 10:37:10 +01:00
LostDragonist 013890f644 Remember the last separator color used 2018-12-12 03:04:23 -06:00
LostDragonist 3559364473 Update translation file 2018-12-12 02:46:51 -06:00
LostDragonist 92cdf41243 Update Skyrim theme by chintsu_kun to v2.1.0 2018-12-11 20:48:16 -06:00
LostDragonist 789e95ca58 Update VS2015 Themes by chintsu_kun to v2.0.2 2018-12-11 20:47:29 -06:00
LostDragonist 9b9a1f435e Add v1.1 Paper Automata theme by 6788 2018-12-11 20:37:59 -06:00
LostDragonist 7f82ffa664 Add v4.3 Paper Light and Paper Dark themes by 6788 2018-12-11 20:37:36 -06:00
LostDragonist 68a1afed49 Implement separator text color in a way that doesn't break everything else 2018-12-11 20:31:17 -06:00
LostDragonist 7b1ece5f28 Further extend the version field to 32 characters 2018-12-11 18:31:09 -06:00
LostDragonist 2306e006dc Remove the requirement for a game launcher to be present 2018-12-11 15:45:29 -06:00
LostDragonist f6cd53e932 Change color of separator text based on the configured color of the separator 2018-12-11 15:24:25 -06:00
LostDragonist 5335188e63 Add option to remove column colors for mod list separators 2018-12-11 14:47:50 -06:00
LostDragonist dac716bb86 Allow tool plugins to define a submenu with the display name
Setting the display name to "<submenu>/<displayname>" will group plugins under the submenu.
2018-12-11 14:15:37 -06:00
Al12rs c486220d20 Updated translations and removed an excessive separator from previous commit. 2018-12-11 16:33:39 +01:00
Al12rs 0af33ccddf Added "Open Origin in Explorer" and "Open Origin Info..." options to ESPList context menu. 2018-12-11 16:26:41 +01:00
Al12rs 413c045383 * Fixed order of data tab to be Folders first.
* Remember expanded folders across refreshes.
2018-12-11 14:57:03 +01:00
LostDragonist 1266e13921 Add the ability to change the managed game directory 2018-12-11 01:52:53 -06:00
LostDragonist f4af3264f0 Sort tools menu to provide consistent results 2018-12-11 00:25:18 -06:00
Al12rs f61236e4cf Added UI locking while loadbar is active (for refresh of modlist). 2018-12-10 20:53:45 +01:00
LostDragonist d7e6fd1dd6 Don't disable ESMs when disabling mods if alternatives are available 2018-12-08 20:23:45 -06:00
LostDragonist 9d9dbd9f7e Add shortcut to select name filters on mod list and plugin list 2018-12-08 14:46:42 -06:00
LostDragonist 93763a9364 Add workaround setting to prevent the GUI from locking when running an executable 2018-12-08 11:15:16 -06:00
LostDragonist a94977988b Move the mod info separator flag to the end as it's hidden 2018-12-08 10:44:46 -06:00
LostDragonist c501b5cca0 Add notes column to mod list 2018-12-08 10:44:46 -06:00
Al12rs c87d97de8c Added missing games to the suggested names list.
Imroved dialog description.
2018-12-08 15:01:01 +01:00
LostDragonist 4914fd172d Add workarounds button to reset window geometries 2018-12-08 01:19:37 -06:00
LostDragonist 02fe0d3384 Improve refresh of data when changing profile settings 2018-12-07 23:44:31 -06:00
LostDragonist e76891b926 Update translation file 2018-12-06 03:06:46 -06:00
LostDragonist b53be165fd Savagemes -> Savegames 2018-12-06 02:59:41 -06:00
LostDragonist 849d00521a Transition profile settings to settings.ini 2018-12-05 19:17:16 -06:00
Al12rs deb3c5ca21 Fixed tooltip and "What's this" to better explain INI options. 2018-12-05 22:57:52 +01:00
Al12rs 25448ef076 * Changed "Local game settings" to "Use profile-specific Game INI files".
* Added tooltip to the option explaining what it does since it was missing.
* Improved Local Savegames text and tooltip as well.
2018-12-05 22:50:03 +01:00
LostDragonist 40919c1520 Create empty mods above the selected mod 2018-12-04 18:08:39 -06:00
LostDragonist 79c451bb17 Improvements to "send to separator..." dialog
* Scale contents with dialog size
* Save and restore dialog geometry
* Add a better window title
2018-12-03 06:04:16 -06:00
LostDragonist 87292ca30f Add filter to "send to separator..." dialog 2018-12-02 22:07:58 -06:00
LostDragonist c0b55690bc Add "send to separator..." option for mods 2018-12-02 20:26:26 -06:00
Al12rs f1384cdfa7 Fixed context menu for Data tab showing the File version for empty folders. 2018-12-02 12:48:16 +01:00
Al12rs c9658e1a65 * Added Folders and Files icons to Data tab.
* Fixed empty folders not showing up in Data tab.
2018-12-01 23:23:28 +01:00
LostDragonist 9431597e66 Correct comparison logic for blacklist warning 2018-11-29 15:33:47 -06:00
LostDragonist 4566b51093 Set general settings tab as the default again 2018-11-29 15:23:25 -06:00
LostDragonist 2212ad6f1c Add executable blacklisting 2018-11-29 14:11:09 -06:00
LostDragonist 6142872620 Prevent the user from renaming unmanaged and DLC mods 2018-11-26 07:51:45 -06:00
LostDragonist 4cae1397e7 Prevent the user from setting a negative mod priority 2018-11-26 07:44:26 -06:00
LostDragonist 7fbfc12118 Sort the plugin list 2018-11-26 07:23:11 -06:00
LostDragonist 4eaa0d16bb Resize plugin settings to make keys visible 2018-11-26 07:23:03 -06:00
LostDragonist a219d03444 Add cancel button to "Start Steam?" dialog to not start binary 2018-11-26 03:13:33 -06:00
LostDragonist ad01e1d608 Less strict implementation of path normalization 2018-11-10 22:04:12 -06:00
LostDragonist aaa1523db9 Normalize path settings to prevent extra characters 2018-11-10 16:24:45 -06:00
LostDragonist effd05df06 Tweak text color selection to prevent white text on bright green background 2018-11-09 19:05:06 -06:00
LostDragonist 545b7b4eb7 Fix button colors in the settings dialog with the default theme 2018-11-09 18:14:01 -06:00
Al12rs 71830a65d4 Added three new Transparent Styles by Gernash:
Transparent Style 101 Green
Transparent Style BOS
Transparent Style Skyrim
2018-11-09 21:50:46 +01:00
Al12rs bde2e5fca1 Improved Skyrim.qss theme performance. 2018-11-09 17:15:04 +01:00
Al12rs 15bbfdfa6f Added Nigh Eyes theme by ciathyza. 2018-11-08 20:41:40 +01:00
LostDragonist a85a6e635e Update translation file 2018-11-06 19:00:06 -06:00
LostDragonist 9abb3ca162 Prevent user from clicking the run button more than once 2018-11-05 21:43:50 -06:00
LostDragonist 5588b8b756 Change "mods" to "plugins" in "send to priority..." option for plugins 2018-11-04 13:47:39 -06:00
LostDragonist d48392c89f Don't change priority of new separators when not sorting by priority 2018-11-04 13:45:42 -06:00
LostDragonist 21d61e617b Hide "send to" context menu options when not sorting by priority 2018-11-04 13:39:22 -06:00
LostDragonist a48a20f13f Add context menu option to send to a specific priority 2018-11-04 13:10:41 -06:00
LostDragonist 2e09e633bd Fix creating separators when right-clicking overwrite 2018-11-04 12:33:37 -06:00
Al12rs 1189b8cc33 Made the "checked" filter show separators. 2018-11-04 16:19:54 +01:00
LostDragonist 17f1cf0aab Allow switching instances when MO is launched with moshortcut://<instance>: 2018-11-02 21:02:30 -05:00
Al12rs 78cd0110d3 Updated Skyrim and VS15 theme to fix highlighting on ESPlist. 2018-11-02 19:29:50 +01:00
LostDragonist 2c57899cf6 Fix matching highlights for mod and plugin selections
The selectionChanged event used before requires subtractive/additive logic to work correctly.  A separate event is fired for each row and each column for each row that is selected or deselected.  The previous logic assumed all of the selection was passed in at once.

The logic has been changed to recalculate all highlights each time the event is fired.  This is poorly optimized in regards to performance but makes the function work.
2018-11-01 17:58:49 -05:00
LostDragonist 3dbfba91e1 Add separators according to context location of context menu 2018-11-01 16:55:58 -05:00
Al12rs 2c53f9d934 Cleaned up leftover from color customizzation. 2018-11-01 16:35:02 +01:00
Al12rs 6323a348da Fixed missing category selection for separators. 2018-11-01 16:29:38 +01:00
Al12rs 73842ee245 Added ability to change color of conflict and plugin highlighting from the settings. 2018-11-01 16:20:53 +01:00
LostDragonist 122744454c Improve changing mod and plugin priorities 2018-11-01 06:40:55 -05:00
LostDragonist 5de173ba1a Add send to top/bottom options for the plugin list 2018-10-31 17:05:05 -05:00
LostDragonist eb26120332 Add send to top/bottom options for the mod list 2018-10-31 14:53:24 -05:00
LostDragonist 6056202ead Fix crash when 7-zip fails to extract a file
A thread is spun off to handle the extraction while the main thread handles the progress bar updates.  Previously, a dialog was spawned in the thread when an error in 7-zip occurred.  Now, the thread will terminate and pass the error message back to the main thread who will spawn the dialog.
2018-10-31 00:52:32 -05:00
LostDragonist c1d90b131b Add modinfoseparator to CMakeLists.txt 2018-10-30 21:38:16 -05:00
Al12rs 63a66c8754 Added VS2015 and Skyrim Stylesheets, courtesy of chintsu! 2018-10-28 19:11:44 +01:00
Al12rs ab95f78689 Added Reset color option for separators and changed the bahavior of "cancel" of the color selector dialog to keep previous color. 2018-10-28 17:27:34 +01:00
Al12rs 9e66799abf Fixed Separators not getting deleted while deleting multiple selected items. 2018-10-28 16:15:27 +01:00
Al12rs dce6507dad Added Color costumization for Separators. 2018-10-28 15:04:50 +01:00
Al12rs 42d2344f0b Added modlist Separators feature:
*New modType separator.
*Bold, italic and centralized name without _separator at the end.
*Added "create separator" option to context menu.
*Added "rename separator" option.
*Fixed rename separator issue with priority resetting.
2018-10-28 02:16:20 +02:00
Al12rs 18e49b71b5 Added uniformRowHeight = true property to the modlist, data tab, filters view and Log area. It should make Qt perform better when showing a large number of items. 2018-10-27 18:37:51 +02:00
Al12rs fcb29afe83 Increase filterview size to not cut off filternames 2018-10-13 14:44:16 +02:00
Al12rs cf52aa335a Fix Creator setting Boss button to invisible each time 2018-10-13 11:47:10 +02:00
Al12rs 9c35443780 Fixed UI file to not break each time it's opened in creator. 2018-10-13 10:42:12 +02:00
Silarn 9c6c01df56 Update path to gamebryo/creation engine sources 2018-10-01 00:14:03 -05:00
LostDragonist b83807e4d5 Set the web viewer widget in the mod info dialog to expand vertically 2018-09-30 16:04:28 -05:00
LostDragonist 2d50b17243 Fix pointer truncation to remove warning 2018-09-30 16:03:28 -05:00
LostDragonist 5a1d4e8783 Rename spacer to get remove warning 2018-09-30 16:03:27 -05:00
Al 478aeeb28c Merge pull request #536 from AnyOldName3/patch-1
Add link to upcoming FNISTool repo
2018-09-30 12:27:27 +02:00
Al 07fc9d3546 Merge pull request #537 from AnyOldName3/patch-2
Add link to Skyrim VR repo
2018-09-30 12:27:14 +02:00
Al12rs 15ab8d5c5e Changed "ignore missing game data" to not create an empty Texture folder and instead save the choice in meta.ini 2018-09-29 15:07:24 +02:00
Al12rs 192f14b001 Updated translations file 2018-09-29 12:10:41 +02:00
Al12rs 3ccceb19e1 Added .editorconfig to main repo to help keep some consistency of whitespace. 2018-09-29 09:38:03 +02:00
AnyOldName3 2d9a2a0432 Add link to Skyrim VR repo 2018-09-26 16:40:57 +01:00
AnyOldName3 ac650ae078 Add link to upcoming FNISTool repo
DO NOT MERGE UNTIL https://github.com/ModOrganizer2/modorganizer-umbrella/pull/31 IS HANDLED
2018-09-26 16:16:43 +01:00
LostDragonist 1a91174757 Merge pull request #534 from Gaerzi/patch-1
Extend version field to 12 characters
2018-09-25 14:28:46 -05:00
Gaerzi e2ec6632ec Extend version field to 12 characters
This is needed because some mods out there have version strings longer than 10 characters. For example, the current version string of [SSE Engine Fixes (skse64 plugin)](https://www.nexusmods.com/skyrimspecialedition/mods/17230) is "2.12.1.5.50" -- 11 characters in total.

12 should hopefully be enough.
2018-09-25 17:37:24 +02:00
LostDragonist b1a3bdd6e8 Automatically set CDN as a preferred server
This also removes the (free) and (premium) labels from the servers as they aren't useful anymore.  Premium users get premium speeds on all servers.  Added (automatic) tag to the CDN server to indicate it will automatically pick servers based on geography.
2018-09-17 00:01:12 -05:00
Al12rs 22a004be2e Reverted default setting tab to General 2018-09-15 19:18:29 +02:00
Al12rs a3cb400152 Store and load major dialogs geometry information. 2018-09-15 14:12:24 +02:00
Silarn 3e29d31231 Allow installs to pass Mod ID through (fixes NCC installs losing ID) 2018-09-09 04:12:23 -05:00
Al edf48bca6f Update readme.md 2018-09-08 13:08:06 +02:00
Al12rs 33e11e2056 Added debug line to check actual processed parameters passed to CreateProcessHooked() to see if we can discover somethig more on Parameter is incorrect error. 2018-09-08 12:32:45 +02:00
Al12rs 67fb7e56d3 Add option to create a Mod backup from the modlist context menu. 2018-09-07 22:04:03 +02:00
Al12rs 979206228d Added Mod Backups filter for modlist. 2018-09-07 20:53:42 +02:00
Al12rs ba162804cd Added Contains Script Extender Files filter. 2018-09-07 20:19:20 +02:00
Al12rs c6751b690a Improved Skript Extender Plugin filter to actually look for plugins and not only the SKSE folder. 2018-09-07 18:56:28 +02:00
Al12rs 138154aca0 Added "Refresh" button to downloads tab. 2018-08-31 22:16:13 +02:00
LostDragonist c576f1ff40 Refresh save game list when local game settings may have changed 2018-08-26 18:39:30 -05:00
Al12rs c4636d891f Added ModGroups contents icon and flag. 2018-08-25 14:30:27 +02:00
LostDragonist 8ea8444dc8 Update the version to 2.1.6 2018-08-24 19:50:46 -05:00
Brian Munro 2232bdfc77 Merge pull request #497 from Modorganizer2/Develop
Fix possible crash during write to disk error
2018-08-22 06:38:34 +02:00
LostDragonist 258bddb6b7 Fix possible crash during write to disk error 2018-08-21 15:59:22 -05:00
Brian Munro 364289db72 Merge pull request #495 from Modorganizer2/Develop
Release 2.1.5
2018-08-21 12:23:47 +02:00
LostDragonist ef771fd8ca Fix disabled menu item styling in Paper Dark theme 2018-08-20 00:55:18 -05:00
LostDragonist 2060df1585 Detect errors when writing downloads to disk and cancel download 2018-08-19 16:33:34 -05:00
LostDragonist 9a973ccf5f Center profile deletion dialog on parent 2018-08-19 13:02:54 -05:00
LostDragonist a2eb3e0266 Prevent user from deleting currently active profile 2018-08-19 13:02:30 -05:00
LostDragonist d65031c814 Allow user to cancel VFS mapping 2018-08-16 22:40:17 -05:00
LostDragonist c27e718fbd Add "enable/disable selected" to mod list context menu 2018-08-16 14:32:28 -05:00
LostDragonist 43b2df9077 Add "enable/disable selected" to plugin list context menu 2018-08-16 13:58:44 -05:00
LostDragonist 79b2e52a58 Fix another instance of "Open in Explorer" 2018-08-16 08:35:19 -05:00
LostDragonist 16a7ef78d3 Change version to 2.1.5 2018-08-16 08:19:05 -05:00
LostDragonist 74202cc743 Dracula theme: Make disabled widgets darker than enabled widgets
Fix by Kob, author of the Paper themes.
2018-08-16 01:29:01 -05:00
LostDragonist 8f86130759 Correct file category when manually querying info
The Nexus API appears to have been changed back in July 2018 to match what MO was expecting without the conversion.
2018-08-15 11:53:33 -05:00
LostDragonist 17e4ec7b13 Fix selecting the active profile when opening the profiles dialog 2018-08-12 19:59:54 -05:00
LostDragonist 9a426a2474 Revert "Improve robustness of endorsement checks"
This reverts commit fc8a6b358f.
2018-08-12 12:33:22 -05:00
LostDragonist 80594d6e1a Set toolbar widget names later to catch the problems and update widgets 2018-08-12 12:13:47 -05:00
Al12rs 56473e0ec8 Updated "Thanks". 2018-08-07 19:57:23 +02:00
LostDragonist 71988e386c Modify dark and dracula stylesheets to allow text colors on download widgets 2018-08-06 21:40:59 -05:00
LostDragonist 5e7c0fddf0 Update Paper themes by 6788-00 to version 3.0.1 2018-08-06 21:37:05 -05:00
Al12rs b0c15c9cfb Added Open File option to downloads tab. 2018-08-06 20:17:57 +02:00
Al12rs f92027bea6 Merge PR 2018-08-06 19:54:45 +02:00
Al a31b5495b8 Merge pull request #469 from Freso/minor-fixups
A couple of minor fixes
2018-08-06 16:13:18 +02:00
Frederik “Freso” S. Olesen fc19486f53 Fix capitalisation of "Explorer"
1. Explorer is a specific program, so it should be treated as a proper
   noun, and thus capitalised.
2. Other menu items in the same menu are Title Cases, so it looks out of
   place that this item is not.
2018-08-06 15:17:23 +02:00
Frederik “Freso” S. Olesen 232bbfb23b Fix DownloadManager::openInDownloadsFolder error message 2018-08-06 13:23:28 +02:00
Frederik “Freso” S. Olesen 2af99f2170 Clean up DownloadManager::openFile 2018-08-06 13:21:08 +02:00
Frederik “Freso” S. Olesen 796224d733 Add new "Open File" right-click dialog for Downloads
This enables the user to directly open the downloaded archived/file
which can be useful for e.g., inspection of what's inside or if they
need to copy files from inside the archive to somewhere else. Saves a
step compared to "Show in Folder" and then opening the file.
2018-08-06 12:21:02 +02:00
LostDragonist 1e4b5d2436 Set the names of the toolbar widgets to allow styling
QToolButton#foo where foo is one of:
  actionChange_Game
  actionInstallMod
  actionNexus
  actionAdd_Profile
  actionModify_Executables
  actionTool
  actionSettings
  seperator
  actionEndorseMO
  actionProblems
  actionUpdate
  actionHelp
2018-08-05 15:56:39 -05:00
LostDragonist 94ef8dffbc List load order backups from most recent to oldest 2018-08-04 22:16:39 -05:00
LePresidente 7b1821a518 Reverted bad commit, should of removed VS_FF_PRERELEASE 2018-08-04 11:24:49 +02:00
LePresidente fb0d4d5e5a use VER_FILEVERSION_STR instead of VER_FILEVERSION so pre-alpha is not shown 2018-08-04 10:35:56 +02:00
Brian Munro 9a3a15b1f6 Merge pull request #454 from Modorganizer2/Develop
Release 2.1.4
2018-08-02 09:15:12 +02:00
Al12rs 1ea43586d8 Merge branch 'Develop' of https://github.com/Modorganizer2/modorganizer into Develop 2018-08-01 20:12:32 +02:00
Al12rs fd51434e5e Enabled Ctrl+C to copy selected stuff instead of the entire log. No one used it before and now it's much more practical. 2018-08-01 20:04:59 +02:00
LostDragonist 7eb4b33214 Tweak shading of mods and plugins to better support dark themes 2018-08-01 12:55:36 -05:00
Al12rs e1e367c7ea Added CTRL+Doubleclick on plugin list as well 2018-08-01 17:55:07 +02:00
Al12rs 696bb3bc47 Added CTRL+Double Click on Modlist to open in Explorer 2018-08-01 17:18:07 +02:00
Al12rs 10be66a62a Revert "Temporarely disable the BSA list refresh if it is hidden from view. this will need to be reversted once the Bsa changes are added I presume."
This reverts commit 8f28e0af36.
2018-08-01 17:07:35 +02:00
LostDragonist a02b920b19 Force nxmhandler.exe registration when the associate button is clicked
This allows the register dialog to appear when the user had previously selected "No, don't ask again".  If a user is clicking this button, there's a good chance they want MO to be the primary nxm handler.
2018-07-27 12:34:28 -05:00
LostDragonist 2f8e5b4f69 Update translation file 2018-07-24 14:00:26 -05:00
LostDragonist 385765ecdd Truncate strings longer than 1024 characters in the plugin list tooltip 2018-07-23 14:13:12 -05:00
LostDragonist 447a2169fe Allow more characters in instance names and add an error message
Previously allowed:  "A-Za-z0-9 "
Now allowed:         "A-Za-z0-9 !@#$%^()_+-=[]{};'."
2018-07-22 19:44:39 -05:00
LostDragonist fc8a6b358f Improve robustness of endorsement checks
At times, the voted_by_user item is returned as Invalid.  toBool() causes this to be false, meaning the item is seen as not endorsed.  Now, the endorsement state is not checked if the data is invalid.
2018-07-22 14:28:38 -05:00
Al12rs edf608ab23 Allow normal QAbstractItemModel event handling for mainwindow. Somehow before it wouldn't work. 2018-07-22 15:49:40 +02:00
Al12rs d02df7e4b4 Avoided downloads defaulting to "File Time" sorting at each startup.
Improved downloads tab header sizes and resize policy.
2018-07-21 23:43:04 +02:00
Al12rs cc63717060 Added "Open Mods folder" to "Open Folder" context menu. 2018-07-21 20:09:25 +02:00
Al12rs 8f28e0af36 Temporarely disable the BSA list refresh if it is hidden from view. this will need to be reversted once the Bsa changes are added I presume. 2018-07-21 20:01:40 +02:00
Al12rs e80bb3a837 Check if there is actually something in overwrite to delete before asking confirmation. 2018-07-18 16:14:16 +02:00
Al12rs f6ecb93d46 Set delete Key to recursively clear overwrite with confirmation message. 2018-07-18 16:00:19 +02:00
Al12rs 4f14598cfc Changed size rappresentation in downloads compact view. 2018-07-18 12:06:35 +02:00
Al12rs ce2494ba20 Don't show info dialog for unmanaged pluugins. 2018-07-18 12:03:02 +02:00
Al12rs d5f3bee642 Changed unit check. 2018-07-18 12:01:50 +02:00
Al12rs b38957d853 Small visual fix for size positioning in compact downloads. 2018-07-18 12:00:55 +02:00
Al12rs f824d255a2 Added clarification to loads archives tooltip. 2018-07-17 19:51:30 +02:00
Al12rs 344b83957e Revert "Fix download index in downloadFinished"
This reverts commit 942e656a71.
2018-07-17 18:35:32 +02:00
Al12rs 023cacab7f Added ability to open mod information window by double cliking on plugins. 2018-07-17 16:26:17 +02:00
Al12rs 35bbe0001e Added a flag to the plugin list indicating if a certain plugin has one or more archives attached.
Changed the tooltip to list the loaded archives.
Fixed tool tip to have titles for subsections.
2018-07-17 14:37:50 +02:00
Al12rs 75478f68a1 Avoid asking users if they are sure they want to close of all downlaods are paused. 2018-07-17 13:32:53 +02:00
Al12rs 5a0b8b431c Added Contains INI files content filter and checking. 2018-07-17 13:10:08 +02:00
Al12rs 61b33a8351 Added feather and scroll content icon to rappresent ini files. Icon curtesy of WolfHeartAurora. 2018-07-17 13:09:57 +02:00
Al 103e3f3098 Merge pull request #438 from LostDragonist/Develop
Added support for selecting multiple mod for multiple modlist options.
Added check for Windows Event Service before spawning new hooked processes.
2018-07-17 02:08:17 +02:00
Al12rs 872c33fe55 Added new "Hide Uninstalled" and "Delete Uninstalled" options to downloads tab. 2018-07-17 00:49:41 +02:00
Al12rs 9ddb26ea51 Added size label to compact download view. 2018-07-17 00:10:30 +02:00
Al12rs 1867c20f02 Added sortable "Size" column to the downlaods tab. 2018-07-17 00:10:03 +02:00
LostDragonist 6552054e58 Detect if the Windows Event Log service is not running 2018-07-16 15:46:44 -05:00
LostDragonist a830f3e09e Allow "unignore update" to work with multiple mods 2018-07-16 15:46:44 -05:00
LostDragonist eaf3655492 Allow "ignore update" to work with multiple mods 2018-07-16 15:46:44 -05:00
LostDragonist 952f1fe8cd Allow "open in explorer" to work with multiple mods 2018-07-16 15:46:44 -05:00
LostDragonist b4530eb843 Allow "mark as converted" to work with multiple mods 2018-07-16 15:46:43 -05:00
LostDragonist f20a1f6a84 Allow "ignore missing data" to work with multiple mods 2018-07-16 15:46:43 -05:00
LostDragonist 942e656a71 Fix download index in downloadFinished
An index of 0 is valid as this is a bog standard array.  This resolves an instance of the warning "no download index 0".
2018-07-16 15:46:43 -05:00
LostDragonist 7f3dc586b0 Redirect endorsements of MO2 to the Skyrim SE nexus 2018-07-16 15:46:43 -05:00
Al12rs 2524d65441 Added "Open in Folder" option to downloads tab. 2018-07-16 20:56:47 +02:00
Al12rs 5efddbd515 Chnged download speed to be a little more consistant in display, to avoid the progrss bar jumping around all the time. Chnaged the kb->MB jumps to happen at 1000 instead of 1024 to avoid going in the 4 digits, but still divide by 1024 to keep units acuurate. 2018-07-16 14:18:25 +02:00
Silarn 181de232f4 Potential fix for corrupted downloads 2018-06-25 20:50:49 -05:00
Al12rs 1f9103c24e Added the path of the managed game in the settings menu under the path tab, it's read only for now as allowing the user to change it would probably require a lot more work. 2018-06-22 02:47:58 +02:00
Al12rs 2d49ba2bef Add open in explorer button to Overwrite dialog. 2018-06-21 18:54:20 +02:00
Al12rs e41c97b64f Merge branch 'Develop' of https://github.com/Modorganizer2/modorganizer into Develop1 2018-06-20 21:33:27 +02:00
Al12rs b7d6bbb451 Fix for downloads getting stuck after pausing them.
Disabled timer check as it appeared to terminate some downloads early.
2018-06-20 19:33:56 +02:00
Al 4a765cc152 Merge pull request #410 from LostDragonist/Develop
Extend mod backups and load order backups to a maximum of 10
2018-06-20 16:17:29 +02:00
LostDragonist 30f170c10d Extend mod backups and load order backups to a maximum of 10 2018-06-20 08:45:05 -05:00
Al12rs b6aa12b323 Fix for downloads getting insta-completed if there isn't enough bandwidth for them to procede. Now they will instead remain in the download state and continue once the bandwidth is available.
There is much room for improvement here but for now I guess this will avoid MO simply stopping the download.
2018-06-19 23:13:06 +02:00
Al 19d80cc23d Merge pull request #400 from LostDragonist/Develop
Sort by game and fix for instance names
2018-06-10 09:55:41 +02:00
LostDragonist 0c4b1e9a92 Prevent instances from ending in a space
Windows directories are not allowed to end in a space.  Allowing
this creates a broken directory that is difficult for the user
to remove.
2018-06-09 10:44:23 -07:00
Lost Dragonist cacf7e0542 Allow sorting by "source game" column 2018-06-08 22:48:53 -05:00
Silarn f09ec53fcf Updated strings 2018-06-08 18:05:01 -05:00
Al12rs ddb40b712e *Avoided some unnecessary refreshes while removing mods.
*Added "Visit on Nexus" menu entry in the downloads tab.

*Added confirmation message when deleting a single download.

*Changed text of messages to more easily distinguish deleting from hiding.
2018-05-25 15:33:53 +02:00
Al12rs 186f26b71e Added un-hide all option to downlods tab.
Improved performace when hiding/unhiding. There is still room for improvement for hiding but it requires refactoring the function
2018-05-21 01:27:13 +02:00
Al12rs 6d6444c126 Made downlods file sizes human readable instead of just being KB 2018-05-20 23:53:57 +02:00
Al12rs 4b66c6c1ef Added "Open Plugins folder" option to Open folder menu. 2018-05-20 23:02:50 +02:00
Al 08f35d6519 Merge pull request #369 from iaz3/Develop
Fix a memory leak in updateToolBar
2018-05-18 14:02:02 +02:00
Diana 6617be8ef9 Fix a memory leak in updateToolBar
updateToolBar was creating new QActions and QWidgets every call, without cleaning them up.

The spacer, help widgets, and toolbuttons only need to be created once.
Those have been moved out into the MainWindow constructor

updateToolBar is called in various places, importantly when adding/removing executable shortcuts.

Also adds a deleteLater() call to clean up executable shortcut actions.
2018-05-18 07:45:13 -04:00
Al 5a5bfee712 Merge pull request #362 from Al12rs/dirWatcher
Downloads tab: fix for freezes and greatly improved performance and responsiveness
2018-05-17 19:59:06 +02:00
Silarn 2fc55ccc86 Updated strings for downloads 2018-05-16 23:54:50 -05:00
Al12rs 8731159bfb Huge performace improvements for downloads tab by disabling the dirWatcher triggered refreshes.
Avoid app freezes caused by stacked refresh calls.
Added chack to see if a download is alerady hidden before trying to hide it.
Made sure to refresh Download tab where it was othwerwise relying in the dirwatcher to refresh.
2018-05-17 00:03:10 +02:00
Al12rs 1c6543454e Initial work on avoiding the spamming of the Downlods tab refresh caused by the fileSystemWatcher picking up changes made by MO itself and triggering multiple refreshes 2018-05-17 00:02:34 +02:00
Silarn 941c50bff9 Add UA to resume and fix edge case for hung download check 2018-05-16 14:58:43 -05:00
Silarn 1e6e055f39 Add the MO user agent string to the download requests (fixes EU#1) 2018-05-16 11:14:44 -05:00
Jeremy Rimpo 81e329fb39 Merge pull request #361 from AnyOldName3/even-better-version-parsing
Move improved version parsing to util.h and use it everywhere.
2018-05-16 09:32:13 -05:00
AnyOldName3 15db1b76f7 Move improved version parsing to util.h and use it everywhere. 2018-05-16 00:42:31 +01:00
Jeremy Rimpo 75e6c72ae4 Merge pull request #360 from AnyOldName3/better-version-parsing
Better version parsing
2018-05-15 17:55:02 -05:00
AnyOldName3 9c1806cc74 Remove sneaky test qDebug instance. 2018-05-15 23:45:15 +01:00
AnyOldName3 8f905e1d49 Change how the VersionInfo object is created from version.rc such that non-release builds are possible and get labelled as such 2018-05-15 23:43:35 +01:00
Silarn 2ee5f0e96d Push version update for 2.1.4 dev 2018-05-15 12:46:49 -05:00
Silarn 0d220b6b41 Fixes for download errors and retrying with alternate mirrors 2018-05-15 11:13:16 -05:00
Silarn decbbb611e Download resume fixes for restarting MO, hung downloads 2018-05-13 18:32:59 -05:00
Silarn aeb0b42cde Refresh the sort proxy when the data is changed 2018-05-10 11:21:27 -05:00
Silarn 38391b10e9 Fix plugin lock slot typo 2018-05-10 09:21:02 -05:00
Jeremy Rimpo 886fb10288 Merge pull request #343 from Modorganizer2/Develop
Better error message when archives can't be extracted
2018-05-08 19:33:47 -05:00
Silarn 693f3c40ee Better error message when archives can't be extracted 2018-05-08 19:33:25 -05:00
Jeremy Rimpo 26b946a905 Merge pull request #342 from Modorganizer2/Develop
Fix an issue with resuming a completed download
2018-05-08 19:24:02 -05:00
Silarn 11aa955d73 Fix issue with resuming a download that was already complete. 2018-05-08 19:22:07 -05:00
Silarn 2486c554a0 Small compat fix for Qt 5.11 2018-05-08 18:47:45 -05:00
Jeremy Rimpo 5e6bb0a16e Merge pull request #341 from Modorganizer2/Develop
Reset the progress bar data after completing the extraction
2018-05-08 11:35:45 -05:00
Silarn 632474ef97 Reset the progress bar data after completing the extraction 2018-05-08 11:31:05 -05:00
Brian Munro 0da6af17b2 Merge pull request #336 from Modorganizer2/Develop
Release 2.1.3
2018-05-08 12:47:54 +02:00
Silarn 44111d12c1 Remove a pointless error when the game doesn't have a script extender 2018-05-07 17:20:33 -05:00
Silarn 02d3f81829 Changes to allow installer_NCC to use the game source set in the DL meta 2018-05-07 01:29:00 -05:00
Silarn fc74aa90d1 Updating about dialog with additional supporters 2018-05-06 17:31:06 -05:00
Silarn 7d9514d497 Translation updates 2018-05-06 17:22:06 -05:00
Silarn 6359d7d23f Fixes for downloads and installs 2018-05-06 17:21:35 -05:00
Silarn 5f8bbaae2a Make sure project_path is set before trying to use it 2018-05-06 10:18:23 -05:00
Silarn fe33d7af43 Rework the existing file download dialog to pause the download while waiting
- Also fixes direct calls to downloadFinished
2018-05-05 01:28:09 -05:00
Silarn 9ae442810b Make sure to update the index when data is changed 2018-05-04 19:00:55 -05:00
Silarn 9998727dba Vastly improved plugin index generation and sorting 2018-05-04 18:26:57 -05:00
Silarn a76d987647 Update the about dialog 2018-05-04 17:28:58 -05:00
Silarn a29192f9b2 Incorporate uibase translations into organizer 2018-05-04 16:16:32 -05:00
Silarn a77433f881 Use queued connections and do while loops to finish event processing 2018-05-04 14:28:19 -05:00
Silarn 54e2197592 Allow update processor to include the managed game if nexus info matches 2018-05-04 11:35:44 -05:00
Silarn 0d7460996a Further offload setValue to avoid threading issues 2018-05-04 11:34:49 -05:00
Silarn d9b1cfdb4b invokeMethod was getting called too late and is unneeded now 2018-05-04 02:30:10 -05:00
Silarn 98b659f0da Updating gitignore 2018-05-04 00:28:43 -05:00
Silarn 979c09b334 Update translation file 2018-05-04 00:15:48 -05:00
Silarn cf5833437d Bump to version 2.1.3 2018-05-03 19:36:39 -05:00
Silarn 0eaa1c6791 Add version check and update processor 2018-05-03 19:36:14 -05:00
Silarn fa193ddabb Initial icons for alternate games 2018-05-03 18:25:27 -05:00
Silarn cc32c8c06b Use a five second delta to calculate speed for more responsive display 2018-05-03 17:14:05 -05:00
Silarn 9872c1e462 Allow for primary game sources and marking mods as converted/working 2018-05-03 16:17:40 -05:00
Silarn e3989fe8f9 Merge branch 'Develop' of https://github.com/Modorganizer2/modorganizer into Develop 2018-05-02 17:04:50 -05:00
Silarn f7c9b8c333 Thread extraction process and properly offload function calls from threads 2018-05-02 17:04:28 -05:00
Jeremy Rimpo 5555a58f84 Merge pull request #335 from AnyOldName3/proxy-multiple-inheritance-support
Proxy multiple inheritance support
2018-05-02 14:01:50 -05:00
Silarn 6588a81b7f Only check for the mod organizer endorsement if the ID is set 2018-05-02 13:48:31 -05:00
Silarn 2091330af2 Clean up handling of managed game instance in NexusInterface 2018-05-02 13:47:59 -05:00
Silarn 168da18aa5 Fix MO endorsement check and add game to ModInfo s_ModsByModID 2018-05-02 12:38:23 -05:00
AnyOldName3 4245036f52 Remove unused function which made things confusing 2018-05-02 17:12:34 +01:00
AnyOldName3 238c252b4c Coalesce plugins with the same name in the settings dialogue (as they already share setting values) 2018-05-02 17:11:54 +01:00
AnyOldName3 938d3ce91b Take a list of proxied plugins for each name to work around multiple inheritance issues 2018-05-02 17:10:38 +01:00
Silarn d62ec9c867 Allow downloads to display speed and complete % 2018-05-01 21:50:20 -05:00
Silarn 3bb7a44610 Update translation files 2018-05-01 17:02:05 -05:00
Silarn 4bf7b4e103 Update the NMM version 2018-05-01 13:18:39 -05:00
Silarn d3c207193f Add all supported games to the nxmhandler config 2018-05-01 13:01:44 -05:00
Silarn 584c6049f9 Remove redundant code causing multiple installs 2018-05-01 12:37:07 -05:00
Silarn 2b7274380e Release memory 2018-05-01 12:36:47 -05:00
Silarn 275afb730f A couple download header-based fixes
* If an unknown content error, only fail if the filesize is off
* If a text content type, output a warning but do not retry the download
2018-04-30 13:56:27 -05:00
Silarn 0306b0fc42 Change Nexus API URL 2018-04-28 23:32:39 -05:00
Silarn 86c97c7c06 4096 was the correct number 2018-04-27 20:24:20 -05:00
Silarn 3114bcbd8d Fix ESL index display and sorting by index 2018-04-27 20:21:42 -05:00
Silarn 41a479bddf Cache the current game as populating the dropdown triggers the save 2018-04-27 20:00:51 -05:00
Silarn e02614ee14 Add alternative game flag and check 2018-04-27 01:57:59 -05:00
Al12rs cfbe399bba Fixed mod rename to allow just changing letters to uppercase or lowercase.
(Previously it would not allow it as it detected an existing mod having the same name (check is caseInsensitive)).
2018-04-25 23:48:18 +02:00
Silarn 10b8d12152 Update to https for other nexus links For Security 2018-04-24 09:28:08 -07:00
Silarn b3ef185866 Update Nexus protocol to https 2018-04-24 09:22:51 -07:00
Silarn 18328587b5 Merge branch 'Develop' of https://github.com/Modorganizer2/modorganizer into Develop 2018-04-23 22:13:03 -07:00
Silarn 31bf15f3b4 Need to check if the file is in the download directory for creating meta 2018-04-23 22:12:46 -07:00
Al12rs 001fddb069 Changed the shortcut to open in explorer a mod to CTRL+Enter to avoid consuming the Enter key press so that people can still use it to finish renaming a mod. 2018-04-22 16:39:26 +02:00
Silarn 141ac311d2 Don't create meta files if they don't exist 2018-04-21 22:32:17 -05:00
Silarn fbb93eaf86 Remove remnants of QtScript and fix some CMake issues 2018-04-19 01:43:57 -05:00
Silarn 7e04542762 Some tweaks to make MO the top window when loading or changing games 2018-04-18 11:46:42 -05:00
Silarn 08b56ee783 Improve and fix handling of external links 2018-04-18 03:41:53 -05:00
Silarn 85faed5de1 Fix issues with download query 2018-04-17 19:14:17 -05:00
Al12rs 189445191d Added Delete shourcut to both modinfodialog and Overwriteinfodilaog. Added confirm messages since delete can't be undone. 2018-04-18 00:08:05 +02:00
Al 618fd543a6 Merge pull request #315 from Al12rs/Develop
Ui and shortcut changes.
2018-04-17 22:43:24 +02:00
Al12rs f276203517 Changed mod Information dialog "Next" and "Previous" buttons to remember the currently viewed tab. 2018-04-17 21:51:22 +02:00
Al12rs b64fd1ed4d Enter shourcut will now open the mod containing the selected plugin if the ESPList has the focus.
Added F5 shourcut to refresh the profile.
Removed a redundant variable I saw by chance.
2018-04-17 21:51:01 +02:00
Al12rs b1329c18cd Added Enter shortcut support for ovewrite as well to open the Explorer window. 2018-04-17 21:50:41 +02:00
Al12rs 62dc387de6 Added key shourtcuts to open in explorer a selected mo by pressing Enter or Return. Needs support for overwrte 2018-04-17 21:50:12 +02:00
Al12rs fc46a6a782 Disabled Hide inactive plugins checkbox in settings as it didn't work. 2018-04-17 21:49:34 +02:00
Al12rs a2d7ce67aa Merged the new open in explorer button with Silarn's code. 2018-04-17 21:49:15 +02:00
Al12rs a14ed8fcd1 Changed the modifodialog to open the first enabled left most tab, if no particular tab was specified by the function caller.
This will allow the users to choose what tab should be opened when opening the mod informations since the order of the tabs can be changed and is saved.
2018-04-17 21:23:40 +02:00
Al12rs c669fed48a Fixed inconsistency in line endings. 2018-04-17 21:22:46 +02:00
Silarn 634825e1b8 Adjust mod info dialog, add tooltips, update old 2018-04-17 03:04:59 -05:00
Silarn 7688175c68 Add source game setter in mod info dialog 2018-04-17 02:47:07 -05:00
Silarn b4eae6e5d1 Fix signal/slot connector for available server parser 2018-04-17 00:33:15 -05:00
Silarn b1c477f8ec Fix for virtualized executable path 2018-04-16 15:31:45 -05:00
Jeremy Rimpo 8b3a83ed8d Merge pull request #311 from AnyOldName3/load-qtbase-qm
Load qtbase qm
2018-04-16 14:18:04 -05:00
Silarn 332cdc155a Merge branch 'Develop' of https://github.com/Modorganizer2/modorganizer into Develop 2018-04-16 12:48:52 -05:00
Silarn 30c177cb37 Support for multi-game downloads 2018-04-16 12:47:17 -05:00
AnyOldName3 ae4e4f9df8 Load qtbase_<language>.qm when possible 2018-04-15 12:59:04 +01:00
AnyOldName3 dd24b60895 Update .gitignore with missing msbuild stuff. 2018-04-15 12:58:27 +01:00
Al12rs fa104b342f Moved the Changelog to the detailed text to avoid the msgbox going below the scree. The readability is not graeat as QMessageBox does not allow resizing for some petty reason. 2018-04-15 02:54:58 +02:00
Al12rs cc2c4cc918 Fix for programs set to start from inside the top level of a mod folder not launching. 2018-04-15 02:54:47 +02:00
Jeremy Rimpo 978d71bb43 Merge pull request #304 from AnyOldName3/proxy-translation-support
Proxy translation support
2018-04-13 12:42:54 -05:00
AnyOldName3 25b6fe1471 Reload plugin translation databases when changing language. 2018-04-13 14:49:59 +01:00
AnyOldName3 6b5680f6e4 Make pluginFileNames() include those of proxied plugins, too. 2018-04-13 14:46:04 +01:00
Brian Munro bc75009169 Merge pull request #294 from Modorganizer2/Develop
Release 2.1.2
2018-04-13 11:56:36 +02:00
Jeremy Rimpo 8be73d2e3b Remove extraneous search code 2018-04-13 00:38:23 -05:00
Silarn 358e2c4e74 Merge branch 'Develop' of https://github.com/Modorganizer2/modorganizer into Develop 2018-04-11 15:13:33 -05:00
Silarn be2d39b035 Add flag and description text to ESL-flagged ESPs 2018-04-11 15:12:31 -05:00
Jeremy Rimpo 8f0b42d466 Merge branch 'master' into Develop 2018-04-11 13:14:41 -05:00
Silarn 37b1bdd9e6 Bump version to 2.1.2 and update meta info 2018-04-11 12:58:46 -05:00
Silarn e037caf58e Fix both remove and reinstall updating hidden downloads 2018-04-11 10:58:22 -05:00
Silarn e33da8402c Allow multi-extract via archive origin entry in the BSA tab 2018-04-11 00:55:52 -05:00
Silarn c4bfee0089 Prep for Qt 5.11 (backward-compatible) 2018-04-10 23:28:33 -05:00
Silarn 5a24d2b60c Minor improvements to download hiding 2018-04-10 01:53:59 -05:00
Silarn 9465966b2c Created threaded process for writing mod meta files to prevent hangs 2018-04-09 12:18:22 -05:00
Silarn 47dc5cded7 Add DXTex header licenses for new BSATK handling of FO4 texture BA2s 2018-04-09 12:17:15 -05:00
Silarn bf9d187036 Merge branch 'Develop' of https://github.com/Modorganizer2/modorganizer into Develop 2018-04-08 14:58:23 -05:00
Silarn 208eaccbf7 Updates to allow a full plugin data refresh in certain circumstances 2018-04-08 14:56:46 -05:00
Al12rs fb1c376533 Added "Open/Execute" context menu entry to the conflicts tab in the modinfodialog. 2018-04-08 14:41:03 +02:00
Silarn 0f8852f487 Also mark hidden downloads as uninstalled; refresh plugins after files 2018-04-08 03:58:08 -05:00
Silarn 7eba6837dd Prevent redownloading a mod if the download is still in progress 2018-04-07 23:54:22 -05:00
Silarn cc2bd15256 Fix for re-downloading a mod already downloading 2018-04-07 22:18:45 -05:00
Silarn b409a0bef9 Install the translation file (we need at least one) 2018-04-07 20:09:41 -05:00
Silarn d62669e1b4 Fix overwritten file preview 2018-04-07 18:58:12 -05:00
Silarn a1d92fb673 Fix up CMAKE to use /MP and allow building through umbrella 2018-04-07 17:12:22 -05:00
Al12rs fd9eb032b6 Added file preview in conflicts tab in the mod information dialog. The preview is not working for the lower file list for some reason but I left the setup of the context menu and all in case somebody else can figure out what I'm missing. 2018-04-07 19:53:41 +02:00
Al12rs 5c39a762e6 Allow MO2 shortcuts that open the indicated MO2 instance in the argument if the executable name is omitted.
This should be added after the MO2 exe path: '  "moshortcut://myInstanceName:" '. If there are caracters after the ":" then MO2 will assume that is an execuatble and will try to run it.
2018-04-07 14:10:16 +02:00
Silarn a905ce130d Update About dialog with new contributors (and don't translate names) 2018-04-06 18:25:11 -05:00
Silarn fed89352d1 Changes to allow plugin loading in the mod info dialog (and rename SE) 2018-04-06 00:56:58 -05:00
Silarn 74dd2bb914 Return extraction context menu to archive list 2018-04-05 23:57:24 -05:00
Silarn dcbcb29ec7 Update to allow linking to updated bsatk 2018-04-03 14:59:04 -05:00
Jeremy Rimpo 92e3fa2fdd Merge branch 'Develop' of https://github.com/Modorganizer2/modorganizer into Develop 2018-03-23 11:56:23 -05:00
Jeremy Rimpo 5a98d69dcd Fix tab index now that the archive tab is back 2018-03-23 11:35:27 -05:00
Al 5dd0e3b77e Merge pull request #287 from SuperSandro2000/imgbot
[ImgBot] optimizes images
2018-03-23 15:30:39 +01:00
Al 4baba035dd Merge pull request #286 from SuperSandro2000/fix-ocd
Proper variable naming
2018-03-23 15:12:49 +01:00
ImgBotApp 5eb03a687c [ImgBot] optimizes images
*Total -- 173.23kb -> 19.45kb (88.77%)

/src/resources/multiply-red.png -- 15.64kb -> 0.65kb (95.84%)
/src/resources/archive-conflict-neutral.png -- 17.63kb -> 0.83kb (95.31%)
/src/resources/archive-conflict-loser.png -- 17.63kb -> 0.87kb (95.09%)
/src/resources/archive-conflict-winner.png -- 17.63kb -> 0.92kb (94.8%)
/src/resources/archive-conflict-mixed.png -- 17.63kb -> 0.95kb (94.63%)
/src/resources/switch-instance-icon.png -- 56.17kb -> 4.23kb (92.47%)
/src/resources/open-Folder-Icon.png -- 16.53kb -> 1.40kb (91.53%)
/src/resources/contents/conversation.png -- 1.47kb -> 0.81kb (44.75%)
/src/resources/contents/breastplate.png -- 1.39kb -> 0.77kb (44.47%)
/src/resources/contents/locked-chest.png -- 1.41kb -> 0.78kb (44.38%)
/src/resources/contents/lyre.png -- 1.36kb -> 0.76kb (43.59%)
/src/resources/contents/usable.png -- 1.31kb -> 0.81kb (37.99%)
/src/resources/contents/hand-of-god.png -- 1.08kb -> 0.67kb (37.6%)
/src/resources/contents/double-quaver.png -- 0.99kb -> 0.63kb (36.57%)
/src/resources/contents/jigsaw-piece.png -- 0.93kb -> 0.66kb (28.78%)
/src/resources/contents/tinker.png -- 1.01kb -> 0.72kb (28.52%)
/src/resources/contents/empty-chessboard.png -- 0.69kb -> 0.52kb (23.94%)
/src/resources/contents/checkbox-tree.png -- 0.64kb -> 0.52kb (19.15%)
/src/resources/check.png -- 0.44kb -> 0.39kb (13.19%)
/src/resources/contents/config.png -- 0.54kb -> 0.47kb (13.04%)
/src/resources/document-save.png -- 1.12kb -> 1.09kb (2.87%)
2018-03-23 14:09:58 +00:00
Brian Munro dd288fe152 Merge pull request #284 from LePresidente/Develop
Updater and Issue reports now point to Modorganizer2/modorganizer
2018-03-22 09:46:09 +02:00
LePresidente ba0a1bd501 Updater and Issue reports now point to Modorganizer2/modorganizer 2018-03-22 09:41:35 +02:00
Jeremy Rimpo 2d2a2b8b74 Merge pull request #281 from SuperSandro2000/patch-1
Added new repos
2018-03-21 10:17:54 -05:00
Sandro Jäckel 0e0c72422c Added new repos 2018-03-21 10:05:37 +01:00
Sandro Jäckel 82d4742e28 Proper variable naming
and fixed Sandros OCD
2018-03-21 08:23:03 +01:00
Jeremy Rimpo 3cceb6502c Merge pull request #280 from Al12rs/Develop
Fixed preview "file not found" error if the mod folder containing the…
2018-03-20 21:41:37 -05:00
Al12rs 92a8a3dce8 Fixed preview "file not found" error if the mod folder containing the file was on a different drive. 2018-03-21 00:12:39 +01:00
Jeremy Rimpo bcc4c8d6aa Update BY SA v3 license file to match others 2018-03-20 17:18:57 -05:00
Jeremy Rimpo 149ce846b5 Installer license not needed for application 2018-03-20 17:12:25 -05:00
Jeremy Rimpo 192b0bafa5 Update about dialogue and licenses 2018-03-20 17:11:00 -05:00
Jeremy Rimpo 0c792d548f Fix lootcli destroying loadorder on newer games 2018-03-20 17:10:35 -05:00
Jeremy Rimpo 336216ba9a Various save game improvements related to script extender files
* Improve handling of SE save transfers and deletes with main save
* Add indicator in save popup dialog if SE save file is present
2018-03-20 01:29:31 -05:00
Al b71d472e08 Merge pull request #276 from Al12rs/Develop
Disabled iniTweaks, added resources, a few ui fixes and text changes.
2018-03-18 10:06:04 +01:00
Al12rs bbce6506cd Fixed another typo in the same resource 2018-03-17 14:41:43 +01:00
Al12rs 2def87a143 Fixed a typo of the added resource. 2018-03-17 12:42:15 +01:00
Al12rs 90165b02ab Disabled iniTweaks part of modinfodialog until it is not fixed. 2018-03-17 01:08:02 +01:00
Al12rs 8095be550f Added archive-conflict icons to resources. 2018-03-17 00:58:55 +01:00
Al12rs 2fa1b04cd4 Various text and ui changes:
Added description to CSV export.
Added line to delete instance error message.
Changed delete instance icon for the list of instances.
Added red X in the resources, thanks to twizz0r.
2018-03-16 18:02:57 +01:00
Al a4b0524c70 Merge pull request #274 from Al12rs/Develop
Fixed default size and positioning of some ui elements to accomodate …
2018-03-15 19:28:27 +01:00
Al12rs 8dee1d108b Fixed default size and positioning of some ui elements to accomodate the new ones.
Fixed incorrect settings for the layout stretching.
2018-03-15 15:21:37 +01:00
Jeremy Rimpo e0f003a9a6 Merge pull request #273 from Al12rs/Develop
Fixed file preview bug, wrong nexus urls in csv export and reverted some ui changes from Creator
2018-03-12 17:36:01 -05:00
Al12rs ccb5ad53e2 Fixed wrong Nexus page url in CSV export. 2018-03-12 23:18:03 +01:00
Jeremy Rimpo 9c596ceb79 Merge pull request #271 from AnyOldName3/qtdds-dll-deployment
Deploy the qtdds.dll as part of the MO install
2018-03-12 14:58:04 -05:00
Al12rs 8305d92157 Reverted some changes added by Qt configurator that caused some wird stretching of the mainwindow. I suspect this is caused by the fact that the archive tab was not disabled in a way that Configurator liked and it is messing with it. 2018-03-12 20:54:30 +01:00
Al12rs 9f61ef5c9e Added a check to the preview function to handle tha case of the file beeing from the actual data folder instead of a mod. 2018-03-12 20:53:33 +01:00
Brian Munro 887d464f2c Merge pull request #272 from SuperSandro2000/patch-1
Updated Repository links
2018-03-12 18:28:45 +02:00
Sandro Jäckel 0d4a59fd91 Missed one 2018-03-12 17:10:49 +01:00
Sandro Jäckel 8f8beea427 Updated Repository links 2018-03-12 16:30:45 +01:00
AnyOldName3 0983c88c17 Deploy the qtdds.dll as part of the MO install 2018-03-11 23:15:07 +00:00
LePresidente 9ee2831c59 Fix library include for zlibstatic 2018-03-11 16:24:12 +02:00
LePresidente d6aab781ee Fix library include for zlibstatic 2018-03-11 16:21:06 +02:00
Sandro Jäckel a7f17c6429 Don't set zlib_root 2018-03-11 14:23:52 +02:00
Jeremy Rimpo 12161d68fb Merge pull request #270 from Modorganizer2/master
Pull master changes into develop
2018-03-10 18:35:05 -06:00
Jeremy Rimpo 090d660831 Merge pull request #268 from AnyOldName3/qt-deploy-fix
Improve Qt deployment so all DLLs are staged properly
2018-03-10 17:50:24 -06:00
AnyOldName3 b7b12bb789 Separate windeployqt calls into their own EXECUTE_PROCESS calls so that they run sequentially 2018-03-10 15:35:22 +00:00
Jeremy Rimpo 30a9f61d6d Merge pull request #266 from SuperSandro2000/Develop
Don't set zlib_root
2018-03-09 18:12:58 -06:00
Sandro Jäckel f7ab05767c Update readme.md 2018-03-09 18:32:07 +01:00
Sandro Jäckel d7e6adb3de Don't set zlib_root 2018-03-09 18:25:48 +01:00
Jeremy Rimpo 00d8c517ec Merge pull request #263 from SuperSandro2000/master
Added qdds.dll as Qt no longer contains it
2018-03-08 16:46:38 -06:00
Jeremy Rimpo c7f660e061 Remove outdated namespacing and correct the PATH setting to appends dlls 2018-03-08 15:55:24 -06:00
Sandro Jäckel d59b28847c Added qdds.dll as Qt no longer contains it 2018-03-08 22:33:23 +01:00
Al 5b565b5634 Merge pull request #259 from Al12rs/Dev
Added check for mod rename and a number of small ui changes.
2018-03-08 22:27:20 +01:00
Al12rs 673a5034f0 Added check for mod rename to ensure the new name is not already used by another mod. 2018-03-07 14:41:48 +01:00
Al12rs 7c87e9a645 Edited "Add/Remove category" menu entry text to "Change Category". 2018-03-07 14:41:26 +01:00
Al12rs 52501e73c9 Updated Open Folder icon as it was not very distinguishable. 2018-03-07 14:40:53 +01:00
Al12rs 513c062932 Inverted position of reinstall and remove mod, as per user request. 2018-03-07 14:39:25 +01:00
Al12rs 7cf0c1a29b Changed tooltip of Open Folder menu. 2018-03-07 14:38:59 +01:00
Al12rs a873f7cfe2 Removed "Repace category" menu option from the modlist as it was redundant and cluttering the menu. 2018-03-07 14:38:30 +01:00
Al12rs 1b85cda626 Added open logs folder to open folder toolbar dropdown. 2018-03-07 14:37:12 +01:00
Brian Munro c7e1d9738f Merge pull request #252 from LePresidente/new_vfs_library
Update master to latest stable code.
2018-03-05 11:35:58 +02:00
Brian Munro a540a542a4 Merge branch 'master' into new_vfs_library 2018-03-05 11:35:47 +02:00
Jeremy Rimpo 3eee61c67b Merge branch 'new_vfs_library' of github.com:LePresidente/modorganizer into new_vfs_library 2018-03-05 00:14:16 -06:00
Jeremy Rimpo 3556d4f58f Light flagged master support and other minor changes 2018-03-05 00:13:09 -06:00
Al 8e97f3f84c Merge pull request #251 from SuperSandro2000/readme
Added GPLv3 license to repo
2018-03-03 21:30:16 +01:00
Sandro Jäckel e6f999ffbb Added license 2018-03-03 14:23:12 +01:00
Al 5fcd51aad8 Merge pull request #247 from Al12rs/new_vfs_library
- Added "Open Folders" drop-down menu over modlist.
2018-02-28 21:00:11 +01:00
Al12rs c1421d0734 - Added Open Folders drop-down menu over the modlist (using new custom icon) and moved there all previuolsy added "open <> folder" menu options.
- Added "Open MO install folder" option.
2018-02-28 20:57:08 +01:00
Al 4a45e1a2a7 Merge pull request #239 from SuperSandro2000/readme
Update readme.md
2018-02-26 21:45:38 +01:00
Al 50c244d7e1 Merge pull request #244 from Al12rs/new_vfs_library
Added new stylesheets and changed border of clear filter button.
2018-02-26 21:44:09 +01:00
Al12rs b82f9f1006 Added two custom stylesheets created by AlcoholSwabs on nexus that he very kindly gave permissions to include in MO2 releases. 2018-02-26 21:35:37 +01:00
Al12rs 8ebd79ee71 Reduced Clear filter red border to one pixel instead of two. 2018-02-26 21:34:14 +01:00
Sandro Jäckel e70ee1e895 Update readme.md 2018-02-23 12:40:49 +01:00
Brian Munro 0a4fa10ca4 Merge pull request #237 from SuperSandro2000/new_vfs_library
Revert "Applied clang-format on source"
2018-02-23 06:38:12 +02:00
Sandro Jäckel ea6292168a Revert "Applied clang-format on source"
This reverts commit 5e5c9c0729.
2018-02-23 01:45:58 +01:00
Brian Munro 28714f0eb8 Merge pull request #236 from SuperSandro2000/new_vfs_library
Update reame.md
2018-02-22 18:02:02 +02:00
Sandro Jäckel 5e5c9c0729 Applied clang-format on source 2018-02-22 16:54:34 +01:00
Sandro 5ad912e193 Update CMakeLists.txt
project name was different than I thought
2018-02-22 16:46:43 +01:00
Sandro Jäckel 0fa6f7feff Merge remote-tracking branch 'upstream/new_vfs_library' into new_vfs_library 2018-02-22 16:38:30 +01:00
Sandro Jäckel (SuperSandro2000) ee7d801b86 Added truly all Repos to readme.md and changed a few bits 2018-02-22 16:31:11 +01:00
Sandro 1cdfb7105d Update CMakeLists.txt
project name was different than I thought
2018-02-22 16:27:53 +01:00
Brian Munro 0bcd752b27 Merge pull request #235 from SuperSandro2000/patch-2
Make sure that we get all files for sure
2018-02-22 15:05:49 +02:00
Sandro 1f34f7d8c1 Make sure that we get all files for sure 2018-02-22 13:28:02 +01:00
Brian Munro c2cc2a82c8 Merge pull request #234 from SuperSandro2000/patch-2
Update CMakeLists.txt
2018-02-22 12:32:56 +02:00
Sandro 7e2b83c922 Update CMakeLists.txt
project name was different than I thought
2018-02-22 11:32:15 +01:00
Brian Munro 9624d86b46 Merge pull request #233 from SuperSandro2000/patch-1
set MO as StartUp Project
2018-02-21 10:58:06 +02:00
Sandro 9fd3f6c4e4 set MO as StartUp Project
Sets MordOrganizer as StartUp Project in VisualStudio.
Reference: https://stackoverflow.com/a/37994396/4446318
2018-02-20 12:14:24 +01:00
Al 4804903f3a Merge pull request #231 from Al12rs/new_vfs_library
Changed switch instance icon and tooltip
2018-02-18 18:47:51 +01:00
Al12rs 61898074fe Changed switch instance icon and tooltip 2018-02-18 16:43:16 +01:00
Al ea7c391c33 Updated description and links 2018-02-16 10:29:20 +01:00
Al 7dfe0c9a8f Merge pull request #229 from SuperSandro2000/patch-1
Updated repo links in Readme to LePresidente ones
2018-02-16 10:10:53 +01:00
Sandro 0241d71da3 Updated repo links in Readme to LePresidente ones
Info: https://github.com/TanninOne/modorganizer-tool_nmmimport has not been forked by LePresidente
2018-02-16 09:11:00 +01:00
Al 5be7c9a0b5 Merge pull request #228 from Al12rs/new_vfs_library
Export to csv feature changes and added clear filter button.
2018-02-15 12:23:33 +01:00
Al12rs f7374a8525 - Added "Clear all Filters" button with red outline that only shows up if one or more filters are selected.
- Fixed a bug that would not allow the already present "Clear" button under the filters tab to clear "contains" type of filters.
- Fixed a bug that enabled the "Clear" button at the start even if there were no filters selected.
2018-02-15 01:56:40 +01:00
Al12rs dd8f73178c Small changes to make the modlist context menu more organized. 2018-02-14 20:08:31 +01:00
Al12rs 3f5f56397b - Complete overhaul of export to csv feature with custom column selection and added entries.
Basically I added a new dialog to ask the user if he wants all/enabled/visible mods and what columns to include via checkboxes.
Also added Mod_Status column.
2018-02-14 20:07:53 +01:00
Al12rs e85285934e - Added mod priority, primary category, install date and nexus url columns to Export to csv feature.
- Changed priority and install date format to be sortable in csv columns.
2018-02-13 23:49:18 +01:00
Al12rs e1fc0d22b6 - Fixed a bug that would keep re-activating the "Create files in mod instead of Overwrite" setting in the executable dialog after the user activated it for the first time.
Basically it looked in the stored settings to see if there was an entry for that executable to decide if the checkbox was to be enebled but never deleted that entry if the checkbox was then deselected.
2018-02-13 21:02:56 +01:00
Al12rs 9ddbf25809 Added support for High DPI Scaling for higher resolution monitors. 2018-02-12 17:19:07 +01:00
Al12rs ed08faa4a8 - Changed "Remove Installed" and "Delete Installed" Downloads menu options to not consider the Downloads of Mods that were uninstalled.
- Changed Downloads menu options to say "Hide all..." instead of "Remove all...".
2018-02-12 17:18:18 +01:00
Al12rs 0c4cdb89ad Changed the data tab to remember the current expanded folders when hiding or un-hiding a file. Using the refresh button will close alll the expanded nodes an return to the initial state as it did before. 2018-02-08 22:59:35 +01:00
Jeremy Rimpo 28b0411cca Merge pull request #219 from Al12rs/new_vfs_library
Fixed customOverwrite, reverted nxm handler commit, added a few menu options.
2018-02-07 14:08:17 -06:00
Al12rs d6b645413c Revert "Fixed nexus link handling to use gameNexusName() instead of gameShortName()."
This reverts commit ca54760c13.
2018-01-27 12:28:56 +01:00
Al12rs 3a17614bed Added "open downloads folder", "open profile folder", "open game fodler" and "open MyGames fodler" to the menu entries options of the mainwindow.
Changed the menu entry "open in explorer" of overwrite to show even if overwrite is empty.
2018-01-26 18:24:36 +01:00
Al12rs ba0cd0e10d Fixed customOverwrite setting for executables.
The setting was not being passed to spawnBinary() and was left empty. Just added a couple lines to pass that too. If the setting is disabled cutomOverwrite should be empty and the normal overwrite folder will be used instead.
2018-01-24 13:43:53 +01:00
Jeremy Rimpo 8c34131bb8 Merge pull request #209 from Al12rs/new_vfs_library
Added a delete Instances dialog and various other things.
2018-01-22 14:06:36 -06:00
Al12rs 3fdb00e0c9 Added "Open instance folder" entry to the small options list menĂą. 2018-01-19 12:46:07 +01:00
Al12rs 95b258c0df Updated InstanceSelection dialog to be slighly more clear. 2018-01-19 11:53:47 +01:00
Al12rs 45b3614fbc fixed a typo in the label text 2018-01-19 01:13:45 +01:00
Al12rs 7dbb4cedda Added message when creating a new instance with an already existing name,
Aldded manageInstances dialog to allow users to delete local instances,
Added a number of confirmation messageboxes.
2018-01-18 19:57:52 +01:00
Brian Munro 5d5a7b8511 Merge pull request #203 from erasmux/dev
Add warning when MO1 hook.dll is left in game folder
2018-01-13 11:27:09 +02:00
Brian Munro 0413bf27a5 Merge pull request #199 from matzman666/new_vfs_library
Fixed handling of nexus links for FO4VR.
2018-01-13 11:27:01 +02:00
Eran Mizrahi d267b8aaf3 Add warning when MO1 hook.dll is left in game folder 2018-01-13 00:34:07 +02:00
matzman666 ca54760c13 Fixed nexus link handling to use gameNexusName() instead of gameShortName(). 2018-01-06 21:36:21 +01:00
Jeremy Rimpo d2c5ed352d Merge pull request #195 from erasmux/dev
Cleaner openssl deployment and add diagnostics for openssl loading
2018-01-05 23:15:07 -06:00
Eran Mizrahi 71995f0343 preload openssl dlls (probably unnecessary but can help troubleshooting openssl issues) 2018-01-06 06:43:00 +02:00
Eran Mizrahi 5579db7f90 remove opensll dll from manifest 2018-01-06 06:43:00 +02:00
Jeremy Rimpo d2f90e6a76 Merge pull request #193 from erasmux/dev
Log MO version + remove downloads auto scrolling
2018-01-05 10:16:34 -06:00
Eran Mizrahi 785852cf21 Don't auto scroll down the downloads list (even when a file was downloaded) 2018-01-04 23:41:44 +02:00
Eran Mizrahi 14b06dd2e8 Don't auto scroll down the downloads list 2018-01-04 21:01:30 +02:00
Eran Mizrahi 58ec83f8c8 Log the MO version for diagnostic purposes 2018-01-04 21:01:30 +02:00
Jeremy Rimpo d06972729d Merge pull request #180 from erasmux/dev
Prefer hiding the MO proxy when waiting for spawned processes
2018-01-01 21:16:06 -06:00
Eran Mizrahi 39efb9a7c2 Prefer hiding the MO proxy when waiting for spawned processes 2017-12-29 15:32:25 +02:00
LePresidente c1a56f77ea Version bump to 2.1.1 2017-12-27 17:48:02 +02:00
Brian Munro 91bd9b1eb6 Merge pull request #168 from erasmux/dev
Various fixes
2017-12-27 10:40:59 +02:00
Eran Mizrahi 548744d746 Don't log username and password 2017-12-27 04:18:46 +02:00
Eran Mizrahi 57e65abf75 Clean up proxy spawning a process (cleaner args forwarding and QProcess had some problems even without arguments) 2017-12-27 02:43:33 +02:00
Eran Mizrahi d41cd8d877 Virtualize spawning of executable also if working directory is under mods folder 2017-12-27 02:41:43 +02:00
Eran Mizrahi 9c82a1102e Enable open in explorer option also for overwrite 2017-12-27 02:41:42 +02:00
Eran Mizrahi e623c13400 Add clear overwrite option 2017-12-27 02:41:42 +02:00
Eran Mizrahi 9c9a43ec8d print settings loading and changes to log for diagnostic purposes 2017-12-27 02:41:42 +02:00
Eran Mizrahi eb3cfe2594 Default to sorting newest download first 2017-12-26 21:01:57 +02:00
Eran Mizrahi 482f3d1f6d Show the newly added mod when creating an empty mod 2017-12-26 19:38:37 +02:00
Eran Mizrahi fed4ea257a Fix mods priorities getting messed up when renaming a mod 2017-12-26 19:07:55 +02:00
LePresidente 35e0bc2285 Disable BSA Conflict Checking.
Version Bump to 2.1.0.1 (Once off using the 4th point do to change being so minor) Next version will be 2.1.1
2017-12-26 11:53:29 +02:00
LePresidente 2ea23c4129 Disable the bsa tab for release
Version bump to 2.1.0
Updated about window
2017-12-25 07:04:55 +02:00
Brian Munro 100f57dea1 Merge pull request #161 from erasmux/deactivate_bug_fix
Fix rare crash when deactiving mods
2017-12-24 17:37:54 +02:00
Eran Mizrahi 708928e643 Fix rare crash when deactiving mods 2017-12-24 17:24:46 +02:00
Brian Munro db1e63dc72 Merge pull request #160 from erasmux/dev
Deploy also styles/qwindowsvistastyle.dll
2017-12-24 09:06:54 +02:00
Eran Mizrahi 74e88b00c8 Deploy also styles/qwindowsvistastyle.dll 2017-12-22 11:37:06 +02:00
Brian Munro 28a68cf51b Merge pull request #156 from erasmux/vs_usvfs_plus_various_fixes
Vs usvfs plus various fixes
2017-12-21 08:31:25 +02:00
Eran Mizrahi a24a1cbf25 Hide boost compiler version warnings 2017-12-20 02:14:14 +02:00
Eran Mizrahi 0c75ff1836 Fix modorganizer staging 2017-12-20 02:00:56 +02:00
Eran Mizrahi 5c192fb8c5 Use Qt deploy also for Qt plugins (cherry picking only the ones we need) 2017-12-19 15:44:28 +02:00
Eran Mizrahi 80fc713273 fix usvfs includes (following usvfs VS project) 2017-12-19 15:44:28 +02:00
Eran Mizrahi cb1c9f5e83 Tie moshortcuts to a specific instance 2017-12-19 15:44:27 +02:00
Eran Mizrahi 7dad8bcb28 avoid splash screen when running a shortcut 2017-12-18 20:04:45 +02:00
Eran Mizrahi 302a9b744d Ensure clearing currentInstance reg key when selecting portable install 2017-12-18 20:04:45 +02:00
Eran Mizrahi ff31ce636b Fix mod rename with custom profiles path 2017-12-18 20:04:44 +02:00
Eran Mizrahi 90421277e7 Ensure all mostlist writing is done through the DelayedFileWriter 2017-12-18 20:04:44 +02:00
Eran Mizrahi 4656ba9447 Increase mo_interface log to help diagnose problems 2017-12-18 20:03:05 +02:00
Jeremy Rimpo b157ebb28c Merge pull request #154 from Silarn/mainline_dev
Implementing archive parsing some prioritization
2017-12-17 21:36:57 -06:00
Jeremy Rimpo 385a888c0b Implement file priority for loose files > archives 2017-12-17 21:33:04 -06:00
Jeremy Rimpo 7b45d807d6 Restore archive tab and partial functionality 2017-12-15 15:01:39 -06:00
Jeremy Rimpo f0597eb243 Merge remote-tracking branch 'up/new_vfs_library' into mainline_dev 2017-12-15 14:39:29 -06:00
Eran Mizrahi 8839e11636 Improve responsiveness of unlock button 2017-12-13 16:53:20 -06:00
Eran Mizrahi 240cbd6a27 Wait for injected processes on MO close 2017-12-13 16:53:20 -06:00
Eran Mizrahi 81344771dd Locked dialog fixes (fix mainwindow modalness; use normal window to fix parentless scenario) 2017-12-13 16:53:20 -06:00
Eran Mizrahi 2c28107ae8 fix waitForProcessCompletion bug 2017-12-13 16:53:20 -06:00
Eran Mizrahi da35cd3ea0 Allow silent closing during instance selection 2017-12-13 16:53:20 -06:00
Eran Mizrahi bd48d2f8bc Remove auto-generated files from source control 2017-12-13 16:53:20 -06:00
Jeremy Rimpo 554b468475 Merge pull request #148 from erasmux/lockeddialog_fixes
Lockeddialog fixes
2017-12-13 15:58:43 -06:00
Eran Mizrahi 604d86ed07 Improve responsiveness of unlock button 2017-12-13 22:27:11 +02:00
Eran Mizrahi a5bb70f53b Wait for injected processes on MO close 2017-12-13 22:27:11 +02:00
Eran Mizrahi 0586b2856b Locked dialog fixes (fix mainwindow modalness; use normal window to fix parentless scenario) 2017-12-13 22:27:11 +02:00
Eran Mizrahi 184b6d3907 fix waitForProcessCompletion bug 2017-12-13 22:27:11 +02:00
Eran Mizrahi 4d54b962aa Allow silent closing during instance selection 2017-12-13 22:27:11 +02:00
Eran Mizrahi 6773e14fc5 Remove auto-generated files from source control 2017-12-13 22:27:11 +02:00
Jeremy Rimpo e4b952278d Merge pull request #147 from Silarn/mainline_dev
Insert the game rather than replacing the current entry
2017-12-13 13:39:24 -06:00
Jeremy Rimpo dda5272dc9 Insert the game rather than replacing the current entry 2017-12-13 13:38:33 -06:00
Jeremy Rimpo 062e0cce2d Merge pull request #145 from Silarn/mainline_dev
A number of fixes and improvements
2017-12-13 13:10:09 -06:00
Jeremy Rimpo 027f941bb1 Properly shut down QtWebEngine 2017-12-13 12:29:23 -06:00
Jeremy Rimpo 083d107875 A number of improvements and fixes
* Move diagnostics tab to un-break tutorials targeting tab 3
* Restrict order locking for force-enabled plugins
* Cascade locked positions in the case of a conflict
* Should remove existing invalid locks
* Add some info to primary plugins in plugin list
* Differentiate plugin names for DLC and CC content
2017-12-13 03:11:03 -06:00
Jeremy Rimpo 2226a483d1 Merge pull request #144 from erasmux/crash_fixes
Crash dumps fixes
2017-12-12 15:43:21 -06:00
Eran Mizrahi 240900de39 Move crash dumps to instance-dependant data folder 2017-12-12 23:22:04 +02:00
Eran Mizrahi 2c69f9c407 call previous unhandled exception filter 2017-12-11 20:23:42 +02:00
Eran Mizrahi ebb30e0c37 Revert "Collect crash dumps also for vectored exceptions"
This reverts commit b75e3c1231.
2017-12-11 20:13:35 +02:00
Jeremy Rimpo 361e59e40d Merge pull request #140 from erasmux/shortcut_fixes
Shortcut fixes
2017-12-11 09:53:28 -06:00
Eran Mizrahi ad702537bd Use single instance also for MO shortcuts 2017-12-11 00:11:17 +02:00
Eran Mizrahi ebf378cda0 Turn on application icon for executables by default 2017-12-10 23:45:20 +02:00
Eran Mizrahi d43f35f56b Run shortcuts using moshortcut:// to avoid command line problems 2017-12-10 23:33:01 +02:00
Eran Mizrahi db973f7422 Allow copying an executable without changing details 2017-12-10 23:32:29 +02:00
Eran Mizrahi 7ab98cb451 move crash dumps to their own folder 2017-12-10 21:34:19 +02:00
Brian Munro a4e43b68cd Create ISSUE_TEMPLATE.md
Added issue template for future issues to stick to a standard
2017-12-10 15:52:59 +02:00
LePresidente bf02d13ed4 Added issue template for future issues to stick to a standard 2017-12-10 15:50:15 +02:00
Jeremy Rimpo b2d7181ca7 Merge pull request #139 from erasmux/better_diagnostics_and_shortcuts_fix
Better diagnostics and shortcuts fix
2017-12-09 23:44:21 -06:00
Eran Mizrahi 689248619a rewrite waitForProcessCompletion more robustly 2017-12-10 02:53:20 +02:00
Eran Mizrahi 66b17eea8a Wait for processes run using command line shortcuts 2017-12-10 02:53:19 +02:00
Eran Mizrahi 89b1f1d48d add logging of process spawn 2017-12-10 02:53:19 +02:00
Eran Mizrahi b75e3c1231 Collect crash dumps also for vectored exceptions 2017-12-10 02:53:19 +02:00
Eran Mizrahi 1b4b6dbeb4 cycle crash dumps 2017-12-10 02:53:19 +02:00
Eran Mizrahi 4adb13c943 generate dumps using new diagnostics settings 2017-12-10 02:53:09 +02:00
Eran Mizrahi 54fd26fee1 new diagnostics settings dialog tab 2017-12-10 02:53:08 +02:00
Brian Munro 0aaece55d8 Merge pull request #138 from Silarn/mainline_dev
Fixes for local saves and configuration handling
2017-12-08 19:41:04 +02:00
Jeremy Rimpo ef21bd6193 Scan for and include script extender save files when transferring saves 2017-12-08 02:42:34 -06:00
Jeremy Rimpo b45b6f3342 Don't set save path or mygamesdirectory in initweaks 2017-12-07 21:53:31 -06:00
Jeremy Rimpo d7a1955f18 Use settings to get correct overwrite path for relative location calc.
(Fixes drag & drop from overwrite to mods.)
2017-12-07 14:04:45 -06:00
Jeremy Rimpo 7c80181e01 Merge pull request #137 from Silarn/mainline_dev
Minor correction of HTML structure
2017-12-07 10:58:40 -06:00
Eran Mizrahi 88e218d83e Fix lootcli sorting when temp dir contains a space (i.e. user name has a space) 2017-12-07 10:56:41 -06:00
Eran Mizrahi 720e4dd516 update gitignore 2017-12-07 10:56:41 -06:00
Jeremy Rimpo 2497d4e151 Merge pull request #136 from erasmux/dev
Small fix when running lootcli and temp dir contains a space (i.e. user name has a space)
2017-12-07 10:50:05 -06:00
Eran Mizrahi 9a2a1a4301 Fix lootcli sorting when temp dir contains a space (i.e. user name has a space) 2017-12-07 18:22:37 +02:00
Eran Mizrahi b3898c5d66 update gitignore 2017-12-07 18:20:51 +02:00
Jeremy Rimpo 6794713165 Minor change to correct broken HTML tags 2017-12-06 20:41:03 -06:00
Brian Munro fa598e86db Merge pull request #135 from LePresidente/QT5.7
All changes done for 2.1.0
2017-12-05 06:34:47 +02:00
Jeremy Rimpo ffdc5ca7cc Merge pull request #133 from Silarn/mainline_dev
Final highlighting changes
2017-12-02 13:38:26 -06:00
Jeremy Rimpo e19597ee4e Final highlighting changes 2017-12-02 13:36:33 -06:00
Jeremy Rimpo c55a923bb8 Merge pull request #132 from Silarn/mainline_dev
Numerous updates
2017-11-30 20:55:00 -06:00
Jeremy Rimpo 797a007eab Add unmanaged mods and fix plugin identification 2017-11-30 17:34:28 -06:00
Jeremy Rimpo d7bc542b3d Implement mod/plugin highlighting when pair is selected 2017-11-30 16:37:14 -06:00
Jeremy Rimpo 977d562976 Set the default WebEngineProfile settings to webcache 2017-11-30 00:36:10 -06:00
Jeremy Rimpo af16521a2d Merge remote-tracking branch 'up/QT5.7' into mainline_dev 2017-11-15 18:34:00 -06:00
Jeremy Rimpo 581a8871c6 Category fixes 2017-11-15 18:33:54 -06:00
Jeremy Rimpo 53a54230eb Add resource image for MCM detection 2017-11-13 08:47:44 -06:00
Brian Munro 7ec0b79eb4 Merge pull request #126 from Al12rs/QT5.7
Fix for MO finding the wrong game to manage.
2017-11-11 21:00:28 +02:00
Al12rs 3974ddced4 Fix for MO finding the wrong game to manage.
Commented out code that tried to deduce game and found wrong one. Now, if not already set in INI, file MO will ask the user which one to manage.
2017-11-10 21:00:24 +01:00
Jeremy Rimpo d0099a9dbb Merge remote-tracking branch 'up/QT5.7' into mainline_dev 2017-11-10 14:00:11 -06:00
Jeremy Rimpo 3cf3de700e Add MCM detection (but doesn't fix loading issues :() 2017-11-08 19:30:20 -06:00
Jeremy Rimpo 9ec913945a Add missing Nexus categories 2017-11-08 19:29:10 -06:00
Jeremy Rimpo 092596f57a Don't truncate, bypass the issue by fixing the progress window size 2017-11-07 23:31:07 -06:00
Jeremy Rimpo 8d5c67296f Forcing the progress window to resize seems to hang the extraction process 2017-11-07 22:18:55 -06:00
Jeremy Rimpo 58e17777de Merge pull request #125 from Helidoc65/QT5.7
Fixed to get rid of WindowsWindow::setGeometry: Unable to set geometry bug.
2017-11-07 11:49:06 -06:00
Helidoc65 836e550dd0 Add files via upload
Fixed to get rid of WindowsWindow::setGeometry: Unable to set geometry bug.
2017-11-07 10:42:43 -07:00
Jeremy Rimpo 4cd09a2f3b Wait for mousebutton to reduce MO cpu use while waiting 2017-11-05 14:03:02 -06:00
Jeremy Rimpo a92fc98246 Remove cruft and reapply input event listening on subprocess delay 2017-11-05 13:47:00 -06:00
Jeremy Rimpo 9a3cf3bc1c Merge pull request #121 from Silarn/mainline_dev
Rework waitForProcessCompletion - reduce handle use and add delay
2017-11-05 03:52:22 -06:00
Jeremy Rimpo 853c42081d Rework waitForProcessCompletion - reduce handle use and add delay 2017-11-05 01:45:57 -06:00
LePresidente 901bf0059d processes should be deleted at end of waitForProcessCompletion 2017-11-04 09:54:47 +02:00
Jeremy Rimpo b2d0abe0e4 Merge pull request #120 from Silarn/mainline_dev
Fix remaining handle leaks
2017-11-02 16:05:09 -05:00
Jeremy Rimpo 00af56f7c7 Fix remaining handle leaks 2017-11-02 16:01:55 -05:00
Jeremy Rimpo 55a65b16cc Merge pull request #119 from Silarn/mainline_dev
Process completion fixes
2017-11-02 01:55:13 -05:00
Jeremy Rimpo 51ad72c74d Process completion fixes
* Closes all old handles
* Hides 'unknown' processes
* Correctly detects process chains
2017-11-02 01:41:11 -05:00
Brian Munro 080cfeea41 Merge pull request #117 from Al12rs/QT5.7
Added !found condition to for loop to avoid possible leak.
2017-11-01 06:38:14 +02:00
Jeremy Rimpo ef699514c9 Merge pull request #118 from Silarn/mainline_dev
Do not attempt to add or delete if arch not found
2017-10-31 21:32:19 -05:00
Jeremy Rimpo 087f3841f3 If architecture is not detected, skip handling 2017-10-31 21:29:12 -05:00
Jeremy Rimpo 627660ebb7 Merge remote-tracking branch 'up/QT5.7' into mainline_dev 2017-10-31 17:20:18 -05:00
Al12rs 0825cd0f20 Added !found condition to for loop to ensure that a valid processHandle can't be overwritten to avoid handle leaks. 2017-10-31 23:20:06 +01:00
LePresidente 66e04f636e Merge branch 'QT5.7' of https://github.com/LePresidente/modorganizer into QT5.7 2017-10-31 16:06:38 +02:00
LePresidente 6c54ef5ec2 More fixes to waitForProcessCompletion 2017-10-31 16:00:58 +02:00
Brian Munro 9cc196ae3a Merge pull request #114 from Al12rs/QT5.7
Changed segment of while condition in waitForProcessCompletion()
2017-10-31 15:24:40 +02:00
Al12rs c8118ea0fa Merge pull request #1 from LePresidente/QT5.7
merge pull request: multiple fixes to waitForProcessCompletion.
2017-10-31 12:05:57 +01:00
LePresidente 2f1d270c08 multiple fixes to waitForProcessCompletion. 2017-10-31 12:13:25 +02:00
Jeremy Rimpo 5cb0d1cb3d Merge pull request #2 from Al12rs/QT5.7
Merge upstream + potential while fix
2017-10-30 17:45:03 -05:00
Al12rs d53591c6c9 Changed segment of while condition in waitForProcessCompletion() from OR to AND as it alwais evaluated true. 2017-10-30 19:56:23 +01:00
LePresidente 701e6e4927 Close the handle that is created by FindFirstFileW correctly. 2017-10-30 15:30:28 +02:00
Brian Munro d15262b903 Merge pull request #113 from Silarn/mainline_dev
Updates for script extender usvfs loading
2017-10-30 12:41:05 +02:00
Jeremy Rimpo 88452e5d76 Reimplement ScriptExtender handling by detecting USVFS arch 2017-10-29 19:34:35 -05:00
LePresidente cabffa23a9 Use ScriptExtender PluginPath instead of appending "/plugin" to the old script extender name variable. 2017-10-29 11:38:06 +02:00
Jeremy Rimpo 7e2811cb46 Merge remote-tracking branch 'up/QT5.7' into mainline_dev 2017-10-28 21:58:41 -05:00
LePresidente ebe6011174 Fixes the handle leak in the OrganizerCore::waitForProcessCompletion 2017-10-28 08:30:23 +02:00
Jeremy Rimpo d659ad7294 Update master parsing and detect ESLs by extension 2017-10-26 16:28:15 -05:00
LePresidente 139ee36a3f Fixes
https://github.com/LePresidente/modorganizer/issues/108
2017-10-26 15:50:35 +02:00
LePresidente 4124bc3976 Merge branch 'QT5.7' of https://github.com/LePresidente/modorganizer into QT5.7 2017-10-24 13:56:45 +02:00
LePresidente 643477de2f Updated dll manifest. 2017-10-24 13:56:06 +02:00
Brian Munro bf505d2d5f Merge pull request #107 from Silarn/mainline_dev
Hopefully final ESL corrections
2017-10-24 08:48:11 +02:00
Jeremy Rimpo 2866a494d4 Merge remote-tracking branch 'upstream/QT5.7' into mainline_dev 2017-10-24 01:45:59 -05:00
Jeremy Rimpo 56a3dd4624 Fix minor ESL issues and set a useful URL for issue reporting 2017-10-24 01:45:29 -05:00
Brian Munro 126f8deb55 Merge pull request #106 from Silarn/mainline_dev
Updates for tutorials and nexus description links
2017-10-24 06:18:00 +02:00
Jeremy Rimpo f0f2112c15 Merge remote-tracking branch 'upstream/QT5.7' into mainline_dev 2017-10-23 16:12:15 -05:00
Jeremy Rimpo 0c6f983148 Fix up tutorial scripts
* Patches for QtQuick 2.x
* Fix up tab refs, names, and other out-of-date info
2017-10-23 16:11:38 -05:00
Jeremy Rimpo ac3953030d Fix the nexus description link handler 2017-10-23 16:10:11 -05:00
LePresidente 03608230ac added a catch all for the remote version check when checking for updates. Should stop a hard crash but should probably be reviewed at a date. 2017-10-23 18:33:42 +02:00
Jeremy Rimpo fe44deb765 Update QtQuick import to 2.7 (for Qt 5.7) - works with 5.9
Requires update to uibase
2017-10-23 02:31:22 -05:00
LePresidente b09f8ce7b4 Updated version to 2.1.0beta
Added QtQuick to cmake to try address tutorial issue [Untested]
2017-10-22 21:05:06 +02:00
Brian Munro 2d4b463338 Merge pull request #104 from Silarn/mainline_dev
Updates for ESL support
2017-10-22 08:00:13 +02:00
Jeremy Rimpo e4d431fe21 Display the index of the ESL in the mod index space to differentiate ESLs 2017-10-21 23:00:32 -05:00
Jeremy Rimpo eaeb48d745 Correctly render the modindex for ESLs 2017-10-21 22:43:45 -05:00
Jeremy Rimpo b16a0ab3d9 Add ESL flag type detection
* ESL files can be sorted like ESMs
* ESL files are displayed italicized but not bold
2017-10-20 23:16:04 -05:00
Jeremy Rimpo a611c355ce Basic ESL updates 2017-10-20 20:27:06 -05:00
LePresidente 4689db7624 Fixed cmake to use the QTROOT Parameter instead of hard coding the directory, 2017-10-19 11:24:20 +02:00
LePresidente 8bea685640 windeployqt doesn't automatically detect the requirement for qtwebenginewidgets, so we force it. 2017-05-05 08:39:51 +02:00
LePresidente 91eaba8b44 Updated manifest to use new dll's. 2017-05-01 20:23:53 +02:00
Brian Munro 822534e16a Merge pull request #69 from LePresidente/new_vfs_library
Bring in line with main branch
2017-03-29 02:44:31 -07:00
LePresidente c64e12a289 Version Bump. 2.0.8.3b 2017-02-06 22:21:31 -08:00
Brian Munro 9438098cf1 Merge pull request #51 from ZachHaber/new_vfs_library
Fixed an issue with sort button
2017-01-25 23:53:10 -08:00
ZachHaber 4269e82c80 Fixed an issue with sort button
Sort button will now correctly create the new loadorder.txt.
2017-01-25 20:51:23 -06:00
Brian Munro d63c164a74 Merge pull request #49 from ZachHaber/new_vfs_library
Loot Button & Overwrite
2017-01-17 20:21:58 -08:00
ZachHaber 45cc67da05 Re-enabled the boss button
Properly this time =P
2017-01-17 17:14:38 -06:00
ZachHaber 0da2060da4 Revert "Loot Button"
This reverts commit f2b33d75cb.
2017-01-17 17:11:06 -06:00
ZachHaber 4149ce4cdb Fixing overwrite problems
Changes the organizerproxy to pull from the settings rather than try and
figure it out on its own.
2017-01-17 16:30:42 -06:00
ZachHaber f2b33d75cb Loot Button
Re-enabled the button
2017-01-16 19:34:02 -06:00
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
LePresidente 99156abc6e First attempt to update to QT5.7 2017-01-04 14:23:53 +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
LePresidente 71b4911c8c Build Number Version Bump. 2016-12-21 00:55:51 -08:00
LePresidente d1ed7ae5d7 Migrate to version numbers with buildnumber.
Added Comment for removal of ModBase::isOneof
2016-12-21 00:54:41 -08:00
LePresidente 1cf368c126 Reverted use of MOBase::isOneOf was causing the lock to fail. 2016-12-20 03:18:43 -08:00
Brian Munro cdf588e7c4 Added download location for furture releases,
Added download location for furture releases,
2016-12-13 07:26:25 +02:00
TanninOne a3671a5557 Merge pull request #1031 from LePresidente/new_vfs_library
New vfs library
2016-12-12 19:58:29 +01:00
LePresidente afa0cb9446 Version Bump,
Basic SkyrimSE changes
2016-12-12 05:12:20 -08:00
lepresidente 0657774e2e Use my repo for the updates for now. 2016-12-12 08:26:19 +02:00
lepresidente 695593968b updated email for dump reports. 2016-12-04 18:15:59 +02:00
lepresidente 61edeb12f1 gameShortName has been replaced by gameNexusName due to syrimse on nexus using skyrimspecialediton. 2016-12-04 17:56:07 +02: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
lepresidente db6b536fb1 Updated icu libs to 54 in release build. 2016-11-30 20:38:24 +02:00
Tannin 64590a10d7 Merge branch 'master' into new_vfs_library 2016-06-30 22:15:50 +02:00
TanninOne 4a582e524d Merge pull request #837 from ThosRTanner/issue/309
Changes for TanninOne/modorganizer#309 (3 of 3)
2016-06-30 19:03:45 +02:00
Tannin a00cda607c updated to changed usvfs api 2016-06-30 18:56:41 +02:00
Thomas Tanner 42407866e9 Some include-what-you-use suggested changes 2016-06-27 21:21:54 +01:00
Thomas Tanner c3a8a0b9eb Moved QuestionBoxMemory clearance from settings into QuestionBoxMemory 2016-06-26 20:27:50 +01:00
Thomas Tanner 607b2a10aa Restore commented out code 2016-06-26 20:27:13 +01:00
Thomas Tanner 6b60d54853 Extra question box functionality 2016-06-25 14:03:37 +01:00
Thomas Tanner c7101be7d8 Some refactoring of the spawn code and to make waitForApplication get the right error code (usually)
A note: It is possible for the executed program to completely exit before MO attempts to get hold of the pid from the job handle,
in which case strangeness will happen (this has always been an issue)
2016-06-25 11:47:15 +01:00
Thomas Tanner d80a77a4cb Fix a small bug in listing forward references 2016-06-25 09:47:28 +01:00
Tannin 33b544112c fixed categories list didn't get updated on switching instance 2016-06-23 21:38:54 +02:00
Tannin 8a3af93b39 fixed creation of data paths after changing paths in settings and update of profile list after change 2016-06-23 21:00:46 +02:00
Thomas Tanner a625acd17b Merge remote-tracking branch 'refs/remotes/TanninOne/master' 2016-05-15 12:23:55 +01:00
Thomas Tanner f5a815185f Updates for QT5.5 2016-05-15 11:03:43 +01:00
575 changed files with 121264 additions and 57694 deletions
+41
View File
@@ -0,0 +1,41 @@
---
# We'll use defaults from the LLVM style, but with 4 columns indentation.
BasedOnStyle: LLVM
IndentWidth: 2
---
Language: Cpp
DeriveLineEnding: false
UseCRLF: true
DerivePointerAlignment: false
PointerAlignment: Left
AlignConsecutiveAssignments: true
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: Yes
AccessModifierOffset: -2
AlignTrailingComments: true
SpacesBeforeTrailingComments: 2
NamespaceIndentation: Inner
MaxEmptyLinesToKeep: 1
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: false
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: true
ColumnLimit: 88
ForEachMacros: ['Q_FOREACH', 'foreach']
+16
View File
@@ -0,0 +1,16 @@
root = true
[*.cpp]
indent_style = space
indent_size = 2
insert_final_newline = true
[*.h]
indent_style = space
indent_size = 2
insert_final_newline = true
[*.ui]
indent_style = space
indent_size = 2
insert_final_newline = true
+2
View File
@@ -0,0 +1,2 @@
d13f6bb870cdda71257f665367be8ef9fca86255
86bb01ba9eac879d3685c439ac9da0028bc4bc80
+7
View File
@@ -0,0 +1,7 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.cpp text eol=crlf
*.h text eol=crlf
+10
View File
@@ -0,0 +1,10 @@
---
name: Dev Ticket
about: Reserved for development tasks and management.
title: ''
labels: Dev Ticket
assignees: ''
---
Task:
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: Feature Request
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
@@ -0,0 +1,27 @@
---
name: Game support Request
about: Request support for a new game
title: Add support for game [GAME NAME]
labels: 'Feature Request, additional games support, area: mo2 game plugins'
assignees: ''
---
**This template is useful to add basic support using https://github.com/ModOrganizer2/modorganizer-basic_games.**
**If you are vaguely familiar with programming you can try following the instructions on that link to get something working yourself. If you have trouble with that please fill in this template.**
**Please provide the following information for the game (remove the optional lines you do not use):**
- **Name:** Name of the game
- **Short name:** Name of the game in Nexus URL (e.g. skyrimse for Skyrim SE).
- **Nexus ID [optional]:** ID of the game on Nexus (you can usually find this in Nexus URL).
- **Executable:** Name of the main executable for the game (relative to the game folder).
- **Launcher [optional]:** Name of the game launcher (relative to the game folder).
- **Data path:** Path to the data folder of the game (relative to the game folder). Please note that the Virtual Files System often does not work for top level dlls or exe files.
- **Documents path:** Path to folder containing INI files, etc., for the game (usually under "My Games", or the game folder itself).
- **Saves directory [optional]:** Path to the folder containing save games (this default to the path above).
- **Save extension [optional]:** Extension of the saves
- **Steam ID [optional]:** ID of the game on Steam (if the game is on Steam).
**Provide additional details regarding the game that could be required for the plugin.**
+42
View File
@@ -0,0 +1,42 @@
---
name: Issue Report
about: Create an issue report.
title: ''
labels: issue report
assignees: ''
---
## The problem:
Briefly describe the issue you are experiencing. Tell us what you were trying to do and what happened instead. Remember, this is _not_ a place to ask questions. For that, go to our [Discord server](https://discord.gg/ewUVAqyrQX).
## To Reproduce:
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
## Environment:
* Mod Organizer Version that exhibits the issue:
* Last Mod Organizer Version that did not exhibit the issue (if applicable):
* Desktop OS/version used to run Mod Organizer:
## Details:
If necessary, describe the problem you have been experiencing with more details and pictures.
## Link to Mod Organizer logs:
Right click on the log window at the bottom of MO2, set log level to debug, restart Mo2 and reproduce the problem.
To access the log files you can press the Open folder icon over the modlist and select "Open MO2 Logs folder".
### USVFS:
Create a [GIST](https://gist.github.com) which is a paste of your latest USVFS log, and link them here.
Do _NOT_ paste your full USVFS logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, _always_ include the USVFS logs!
### MO Interface:
Create a [GIST](https://gist.github.com) which is a paste of your mo_interface logs, and link them here.
Do _NOT_ paste your full mo_interface logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, _always_ include the mo_interface logs!
+33
View File
@@ -0,0 +1,33 @@
name: Build ModOrganizer 2
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
env:
VCPKG_BINARY_SOURCES: ${{ vars.AZ_BLOB_VCPKG_URL != '' && format('clear;x-azblob,{0},{1},readwrite', vars.AZ_BLOB_VCPKG_URL, secrets.AZ_BLOB_SAS) || '' }}
jobs:
build:
runs-on: windows-2022
steps:
- name: Build ModOrganizer
id: build-modorganizer
uses: ModOrganizer2/build-with-mob-action@master
with:
qt-modules: qtpositioning qtwebchannel qtwebengine qtwebsockets qtnetworkauth
mo2-dependencies: usvfs uibase bsatk esptk archive lootcli
- name: Install ModOrganizer
shell: pwsh
run: |
cmake --install vsbuild --config RelWithDebInfo
working-directory: ./build/${{ github.event.repository.name }}
- name: Package ModOrganizer
uses: actions/upload-artifact@master
with:
name: modorganizer
path: ./install/bin
+17
View File
@@ -0,0 +1,17 @@
name: Lint ModOrganizer 2
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check format
uses: ModOrganizer2/check-formatting-action@master
with:
check-path: "."
exclude-regex: "third-party"
+11 -4
View File
@@ -4,9 +4,16 @@ src/moc_*.cpp
src/ui_*.h
src/*.qrc.depends
src/Modorganizer.*
src/*.bak
CMakeLists.txt.user
edit
stderr.log
stdout.log
build
.idea
/CMakeFiles
.idea/*
!.idea/filetypes/
!.idea/filetypes/qt-translations.xml
/msbuild.log
/*std*.log
/*build
/src/version.aps
.idea/
-46
View File
@@ -1,46 +0,0 @@
syntax: glob
scons_configure.py
scons-ModOrganizer-*
ModOrganizer-build-desktop*
outputd/*
output/*
build-ModOrganizer-*
source/NCC/*/bin
source/NCC/*/obj
source/NCC/bin
*.orig
source/plugins/proxyPython/build
staging/*
source - Copy/*
ModOrganizer-build-*
pdbs/*
source/NCC/BossDummy.x/*
*.ts
staging_prepare/*
staging_trans/*
tools/python_zip/*
Makefile
html
*.vcxproj
*.pdb
*.dll
*.exp
*.tlog
*.user
*.obj
*.suo
*.sln
*.log
*.filters
*.lib
source/organizer/resources/contents/icons
source/plugins/build-*
*/GeneratedFiles/*
translations/*
source/LocalPaths.pri
source/*/Win32/Debug/*
source/plugins/*/Win32/Debug/*
*~
syntax: regexp
Makefile\.(Debug|Release)
source/.*/debug/.*
+20
View File
@@ -0,0 +1,20 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-case-conflict
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v22.1.5
hooks:
- id: clang-format
'types_or': [c++, c]
ci:
autofix_commit_msg: "[pre-commit.ci] Auto fixes from pre-commit.com hooks."
autofix_prs: true
autoupdate_commit_msg: "[pre-commit.ci] Pre-commit autoupdate."
autoupdate_schedule: quarterly
submodules: false
+16 -9
View File
@@ -1,14 +1,21 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
cmake_minimum_required(VERSION 3.16)
PROJECT(organizer)
# TODO: clean include directives
set(MO2_CMAKE_DEPRECATED_UIBASE_INCLUDE ON)
project(organizer)
SET(DEPENDENCIES_DIR CACHE PATH "")
# hint to find qt in dependencies path
LIST(APPEND CMAKE_PREFIX_PATH ${DEPENDENCIES_DIR}/qt5/lib/cmake)
FILE(GLOB_RECURSE BOOST_ROOT ${DEPENDENCIES_DIR}/boost*/project-config.jam)
GET_FILENAME_COMPONENT(BOOST_ROOT ${BOOST_ROOT} DIRECTORY)
# if MO2_INSTALL_IS_BIN is set, this means that we should install directly into the
# installation prefix, without the bin/ subfolder, typically for a standalone build
# to update an existing install
if (MO2_INSTALL_IS_BIN)
set(_bin ".")
else()
set(_bin bin)
endif()
SET(ZLIB_ROOT ${DEPENDENCIES_DIR}/zlib)
add_subdirectory(src)
ADD_SUBDIRECTORY(src)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT organizer)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dump_running_process.bat DESTINATION ${_bin})
+71
View File
@@ -0,0 +1,71 @@
{
"configurePresets": [
{
"errors": {
"deprecated": true
},
"hidden": true,
"name": "cmake-dev",
"warnings": {
"deprecated": true,
"dev": true
}
},
{
"cacheVariables": {
"VCPKG_MANIFEST_NO_DEFAULT_FEATURES": {
"type": "BOOL",
"value": "ON"
}
},
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"hidden": true,
"name": "vcpkg"
},
{
"binaryDir": "${sourceDir}/vsbuild",
"architecture": {
"strategy": "set",
"value": "x64"
},
"cacheVariables": {
"CMAKE_CXX_FLAGS": "/EHsc /MP /W4",
"VCPKG_TARGET_TRIPLET": {
"type": "STRING",
"value": "x64-windows-static-md"
}
},
"generator": "Visual Studio 17 2022",
"inherits": ["cmake-dev", "vcpkg"],
"name": "vs2022-windows",
"toolset": "v143"
},
{
"cacheVariables": {
"VCPKG_MANIFEST_FEATURES": {
"type": "STRING",
"value": "standalone"
},
"MO2_INSTALL_IS_BIN": {
"type": "BOOL",
"value": "ON"
}
},
"inherits": "vs2022-windows",
"name": "vs2022-windows-standalone"
}
],
"buildPresets": [
{
"name": "vs2022-windows",
"resolvePackageReferences": "on",
"configurePreset": "vs2022-windows"
},
{
"name": "vs2022-windows-standalone",
"resolvePackageReferences": "on",
"configurePreset": "vs2022-windows-standalone"
}
],
"version": 4
}
+674
View File
File diff suppressed because it is too large Load Diff
-711
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -0,0 +1,2 @@
pushd "%~dp0"
start ModOrganizer.exe crashdump
-30
View File
@@ -1,30 +0,0 @@
[
# for boost???
# These are probably correct but might need a revisit as if you look at the boost documentation pages, it
# can give you huge lists of alternate includes...
{ symbol: [ "BOOST_FOREACH", "private", "<boost/foreach.hpp>", "public" ] },
{ include: [ "@\"boost/bind/.*\"", "private", "<boost/bind.hpp>", "public" ] },
{ include: [ "@\"boost/algorithm/string/.*\"", "private", "<boost/algorithm/string.hpp>", "public" ] },
{ include: [ "@\"boost/assign/.*\"", "private", "<boost/assign.hpp>", "public" ] },
{ include: [ "@\"boost/filesystem/.*\"", "private", "<boost/filesystem.hpp>", "public" ] },
{ include: [ "@\"boost/format/.*\"", "private", "<boost/format.hpp>", "public" ] },
{ include: [ "@\"boost/function/.*\"", "private", "<boost/function.hpp>", "public" ] },
{ include: [ "@\"boost/local/.*\"", "private", "<boost/locale.hpp>", "public" ] },
{ include: [ "@\"boost/python/.*\"", "private", "<boost/python.hpp>", "public" ] },
{ include: [ "@\"boost/signals2/.*\"", "private", "<boost/signals2.hpp>", "public" ] },
{ include: [ "\"boost/smart_ptr/scoped_array.hpp\"", "private", "<boost/scoped_array.hpp>", "public" ] },
{ include: [ "\"boost/smart_ptr/shared_ptr.hpp\"", "private", "<boost/shared_ptr.hpp>", "public" ] },
# this appears to be excessive
#{ include: [ "@\"boost/thread/.*\"", "private", "<boost/thread.hpp>", "public" ] },
# And this is specific to us
{ include: [ "\"appconfig.inc\"", "private", "\"appconfig.h\"", "public" ] },
]
# Ones I don't yet know how to deal with
#include "boost/fusion/container/vector/vector10_fwd.hpp" // for fusion
#include "boost/iterator/iterator_facade.hpp" // for operator!=
#include "boost/iterator/iterator_facade.hpp"
+13 -10
View File
@@ -35,7 +35,7 @@ removing = None
includes = dict()
adding = None
added = dict()
added = defaultdict(list)
lcadded = dict()
foundline = None
@@ -70,10 +70,10 @@ def process_next_line(line, outfile):
elif adding:
m = re.match(r'.*class (.*);', line)
if m:
added[m.group(1)] = (adding, line)
added[m.group(1)].append((adding, line))
lcadded[m.group(1).lower() + '.h'] = m.group(1)
else:
added[line] = (adding, line)
added[line].append((adding, line))
elif removing:
# Really we should stash these so that if we get a 'class xxx' in
# the add lines we can print it here. also we could do the case
@@ -88,10 +88,12 @@ def process_next_line(line, outfile):
if clname in lcadded:
clname = lcadded[clname]
if clname in added:
messages[removing].append(
'%s(%s) : warning I0004: Replace include of %s with '
'forward reference %s' % (
removing, m.group(2), m.group(1), added[clname][1]))
for item in added[clname]:
if removing == item[0]:
messages[removing].append(
'%s(%s) : warning I0004: Replace include of %s'
' with forward reference %s' % (
removing, m.group(2), m.group(1), item[1]))
del added[clname]
else:
messages[removing].append(
@@ -140,9 +142,10 @@ if foundline is None:
foundline = '1'
for add in added:
messages[added[add][0]].append(
'%s(%s) : warning I0003: Need to include %s' % (
added[add][0], foundline, added[add][1]))
for item in added[add]:
messages[item[0]].append(
'%s(%s) : warning I0003: Need to include %s' % (
item[0], foundline, item[1]))
for file in sorted(messages.keys(), reverse = True):
for line in messages[file]:

Some files were not shown because too many files have changed in this diff Show More