WINAMP.COM | Forums > Developer Center > NSIS Discussion > NSISList: Simple List Plugin |
Last Thread
Next Thread
|
| Author |
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
Hello |
||
|
|
|
pospec Senior Member
Registered: Jun 2007 |
Why do we need another plugin as there is NSISArray? __________________ |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
As far I can say, this appears pretty different than nsis array, but even if there's not noticeable difference I prefer to have more than one options. __________________ |
||
|
|
|
dbach Member
Registered: Apr 2006 |
@LoRd_MuldeR __________________ |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
Okay, I have added support for multiple lists. You can now create as many lists as you like. Each list is created with a (unique) name and you can use this name to access the list later. Also the missing "Insert" operation has been added, so you can insert items at a specified position now... |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
That's an absolutely interesting plugin my Lord __________________ |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
Thanks for your reply |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
Added "Load" and "Save" to load/save a list directly from a plain text file. |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
Right another update: I re-enabled single instance support. So if you don't want to mess around with several lists, you can simply use the "default" list now. This list is identified with an empty string "", it doesn't need to be created and it cannot be destroyed. The default list will be created implicitly when then plugin is loaded and it will be destroyed automatically when the plugin is unloaded. Last edited by LoRd_MuldeR on 07-10-2008 at 10:46 PM |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
I think it should be feature complete now: Added "Set" (change value of existing item), "Exch" (exchange two items by their indexes) and "Move" (move item by it's index). Also some code clean-up was done. In case no major bugs are discovered, I'd call that one finished. Writing some docs now... |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
First attempt to create some docs
|
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
Final version has been released on the Wiki page: __________________ |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
Nice job LoRd_MuldeR, and the docs too. Would be somehow possible to decrease the dll size? __________________ |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
|
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
Uhm, Lazarus fails at one of the NSIS API functions code: Any idea how I could fix this? This is not my own code, it's from the NSIS plugin example code for Delphi... __________________ |
||
|
|
|
Red Wine Forum King
Registered: Mar 2006 |
Okay! __________________ |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
I just tinkered with the code and I actually made it compile with Lazarus. The resulting DLL was more than 1 MB in size! Either my Lazarus compiler settings are completely wrong or it creates even bigger binaries than Delphi. Also the DLL crashed with my example installer. That most probably is because I modified the API code wrongly... __________________ |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
Removed the compiled examples from the download, now it's 61 KB in size __________________ |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
NSISList Plugin (2008-07-16) __________________ |
||
|
|
|
pospec Senior Member
Registered: Jun 2007 |
Just curious - why do you use Lazarus? Isn't Delphi more "windows native"? __________________ |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
__________________ Last edited by LoRd_MuldeR on 07-16-2008 at 12:39 PM |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
Okay, if I strip the Lazarus DLL then it's only 150 KB in size __________________ |
||
|
|
|
pospec Senior Member
Registered: Jun 2007 |
Hi LoRd_MuldeR again! __________________ |
||
|
|
|
pospec Senior Member
Registered: Jun 2007 |
Another question - documentation reads following: __________________ |
||
|
|
|
mattm591 Junior Member
Registered: May 2009 |
Thanks for this plugin, the map support is very useful. |
||
|
|
|
LoRd_MuldeR Senior Member
Registered: Sep 2005 |
__________________ |
||
|
|
|
Last Thread Next Thread
|
WINAMP.COM | Forums > Developer Center > NSIS Discussion > NSISList: Simple List Plugin |
Forum Rules:
|