ESX selector and stuff

Involved development of the OpenMW construction set.
graffy
Posts: 142
Joined: 06 Feb 2013, 19:30

Re: ESX selector and stuff

Post by graffy » 07 Oct 2013, 03:11

Ok, so I've got the sorting issue almost worked out. Right now, the model automatically sorts based on dependency (ensures no dependency appears in the model later than a file which depends upon it). The date sort, however, leaves me a bit confused. I presume it is intended to resolve a particular edge case in ensuring dependency order?

graffy
Posts: 142
Joined: 06 Feb 2013, 19:30

Re: ESX selector and stuff

Post by graffy » 07 Oct 2013, 04:12

Latest push to my esxSelector branch has the launcher and filedialog both functional...

User avatar
Zini
Posts: 5134
Joined: 06 Aug 2011, 15:16

Re: ESX selector and stuff

Post by Zini » 11 Oct 2013, 18:23

The date sort, however, leaves me a bit confused. I presume it is intended to resolve a particular edge case in ensuring dependency order?
With later plugins loaded later we may have a small chance to avoid conflicts between unrelated branches of the dependency tree.

graffy
Posts: 142
Joined: 06 Feb 2013, 19:30

Re: ESX selector and stuff

Post by graffy » 11 Oct 2013, 23:13

Ok, so if I have an addon which has two independent dependencies (is that an oxymoron?), the one that has a later date should be loaded afterward?

To restate that, if I have two dependencies which are unrelated to one another, the one with the later date should be loaded second...

User avatar
Zini
Posts: 5134
Joined: 06 Aug 2011, 15:16

Re: ESX selector and stuff

Post by Zini » 12 Oct 2013, 11:47

That's the general idea. Its not guaranteed to fix anything, but at least there is a chance. Also, when we try to maintain date stamp order throughout the entire content file list, this will allow us to detect possible problems by looking for out of order files (caused by dependencies). But that is something we can deal with another time.

graffy
Posts: 142
Joined: 06 Feb 2013, 19:30

Re: ESX selector and stuff

Post by graffy » 12 Oct 2013, 14:32

Ok. I will try to figure that out here soon. Otherwise, I have done everything I think needs to be addressed with the lanucher / filedialog code (sans some minor refctoring w.r.t class names / namespaces).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest