Re: [wxlua-users] wxDir is missing Traverse method in wxlua 2.8.12

2013-03-15 Thread John Labenski
On Fri, Mar 15, 2013 at 11:05 PM, Paul K wrote: > Hi John, > > Thank you for the link to Traverse implementation; I should have > looked there myself. VZ uses GetFirst and GetNext, whereas I actually > use FindFirst and FindNext. I'm not sure what exactly the differences > are, but I'll re-impleme

Re: [wxlua-users] wxDir is missing Traverse method in wxlua 2.8.12

2013-03-15 Thread Paul K
Hi John, Thank you for the link to Traverse implementation; I should have looked there myself. VZ uses GetFirst and GetNext, whereas I actually use FindFirst and FindNext. I'm not sure what exactly the differences are, but I'll re-implement Traverse in Lua and see if it is sufficiently fast for my

Re: [wxlua-users] wxDir is missing Traverse method in wxlua 2.8.12

2013-03-15 Thread Paul K
Hi John, I do that now (I use GetFirst() and GetNext()), but it's a bit slow for my purposes. GetAllFiles is much faster, but my main problem with it is that I can't exclude directories I don't need (for example, .git, .svn and others), and those can be quite slow to scan (due to a large number of

Re: [wxlua-users] wxDir is missing Traverse method in wxlua 2.8.12

2013-03-15 Thread John Labenski
On Fri, Mar 15, 2013 at 8:25 PM, Paul K wrote: > Hi John, > > I noticed that wxlua is missing the Traverse method in wxDir object > (http://docs.wxwidgets.org/2.8/wx_wxdir.html#wxdirtraverse). Please use GetAllFiles() or roll your own GetFirst() GetNext() recursive function instead. http://wxlua.

[wxlua-users] wxDir is missing Traverse method in wxlua 2.8.12

2013-03-15 Thread Paul K
Hi John, I noticed that wxlua is missing the Traverse method in wxDir object (http://docs.wxwidgets.org/2.8/wx_wxdir.html#wxdirtraverse). Is it possible to add it or is there something more fundamental that prevents it? I'd also like to make sure that wxDirTraverser (http://docs.wxwidgets.org/2.8