Skip to content

refactoring, small fix, improved whitespacehandling#2

Merged
sarbian merged 9 commits into
sarbian:masterfrom
dhxgit:master
Nov 27, 2013
Merged

refactoring, small fix, improved whitespacehandling#2
sarbian merged 9 commits into
sarbian:masterfrom
dhxgit:master

Conversation

@dhxgit

@dhxgit dhxgit commented Nov 26, 2013

Copy link
Copy Markdown
Contributor

this re-factors mostly the CheckConditions function and removes the Trim() invocations with a function that removes all white-space out of a given string. Initially I thought this could fix the issue that came up in the KSPforum thread, but as mentioned there, KSP seems to truncate those lines at the first whitespace.

Also: Fixed the issue that MM.dll won an election against itself. :)

And: Moves the Assembly.cs to the place where it should usually be.

As far as I could test this works as it is supposed to. But it might be good to get some additional testing.

Have you thought about re-licencing the source under a proper opensource Licence? GPLv3 seems to be fairly common for KSP-Mods. I guess it would be necessary to contact Ialdabaoth about that.. the original author is mentioned in the GPL as well.

The issue is that Creative Commons should not be used for software:
http://wiki.creativecommons.org/FAQ#Can_I_use_a_Creative_Commons_license_for_software.3F

I am not really sure what the problems are with CC and software, but I thought I mention it at least. :)

@dhxgit

dhxgit commented Nov 27, 2013

Copy link
Copy Markdown
Contributor Author

The % operator worked in all my tests, I changed ! to remove all instances of a given valName, not sure if that is acceptable behavior, before it just removed the one instance.

sarbian added a commit that referenced this pull request Nov 27, 2013
refactoring, small fix, improved whitespacehandling, % on value
@sarbian sarbian merged commit 69199a2 into sarbian:master Nov 27, 2013
sarbian pushed a commit that referenced this pull request Sep 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants