-
Notifications
You must be signed in to change notification settings - Fork 0
Remove popt #1659
Comments
|
Per uploaded file |
|
Zarel commented I am in support of this action. |
|
i-NoD commented The idea is great, but I can't figure how to pass --mod="C:\Program files\WZ2100" because this results in two tokens... |
|
Per uploaded file Thanks for the response. Both issues fixed in new patch. |
|
i-NoD commented Function poptGetNextOpt() was fixed a bit (internal buffer issue and missing spaces, return actual enums instead of count ;) ) so it would parse smth like: Warzone2100.exe --cheat --debug=all --mod=TCMask --configdir="c:\Users\123\Documents\WZ 2100 Trnk" Btw, if its fine for Unix, will it work for Mac too? |
|
Per commented Nice fixups. It should work fine on Mac. I see I forgot to remove a debug printf in there, and should probably remove the usage option before committing. |
|
i-NoD uploaded file We should remove final qoutes from one-word params too. |
|
i-NoD commented Per, could you please commit this feature? I'm keeping 10 shortcuts (new and old style) around and like to purge some :-/ As a note: i've made a non-critical mistake in the last patch and there should be check like in your original code. |
|
Buginator commented Nice. die popt die! :D It will also kill off |
|
i-NoD commented Somehow I knew you would say it! :) I think libiconv-2.dll and libintl-2.dll are still required for internalization, althought it's not strictly necessary for MSVC builds. At least with popt death it will be possible to compile both into static libs. |
|
Per changed status from |
|
Per set resolution to |
|
Per commented (In [10186]) Remove our dependency on popt by writing a custom popt-like parser. Patch by me and i-NoD. Closes #1659 |
|
Git SVN Gateway <gateway@...> commented (In Warzone2100/warzone2100@240bb91) Remove our dependency on popt by writing a custom popt-like parser. Patch by me and i-NoD. Closes #1659 git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10186 4a71c877-e1ca-e34f-864e-861f7616d084 |
|
Git SVN Gateway <gateway@...> commented In Warzone2100/warzone2100@240bb91: |
|
buginator <buginator@...> commented (In Warzone2100/warzone2100@2aca760) Remove our dependency on popt by writing a custom popt-like parser. Patch by me and i-NoD. Closes #1659 git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10186 4a71c877-e1ca-e34f-864e-861f7616d084 Conflicts: |
|
buginator <buginator@...> commented In Warzone2100/warzone2100@2aca760: |
|
cybersphinx changed milestone from |
|
cybersphinx commented Milestone 3.0 deleted |
keyword_popt_argumentsresolution_fixedtype_patch (an actual patch, not a request for one)| by PerThe popt library is a unnecessary dependency. This patch removes it in favour of a very small and very quickly hacked together arguments parser that acts as a drop in replacement for our use of popt.
Issue migrated from trac:1659 at 2022-04-15 21:11:33 -0700
The text was updated successfully, but these errors were encountered: