All,
When the code below is run, it leaks User objects in the task manager. This
is with the latest codeline running under XP.
Both -dropdown and -dropdownlist options highlight the leak. I've have a
quick glance through the code but can't seem to find anything that could
cause this - a windows bug perhaps?
It's only a minor problem, and again only an issue if dynamic controls are
repeatedly created/destroyed. Saying that, there is only a 10K limit on
objects before things go boom - and win32-gui does seem to create a lot of
objects - my app - before it's done anything has 650+, so it might be
highlighting some other problem.
Cheers,
jez.
use strict;
use warnings;
$|=1;
use Win32::GUI();
my $main = new Win32::GUI::Window (
-size => [400,400],
);
for (1..100) {
my $box=$main->AddCombobox(
-name => 'combo',
#-dropdownlist => 1,
-dropdown => 1,
-left => 100,
-top =>4,
-width => 100,
-height => 100,
);
print "$box \n";
sleep(1);
}

Reini Urban wrote:
> 2006/7/16, Robert May <rmay@...>:
>> Reini Urban wrote:
>>> Note that Include/SciLexer.dll must have the executable +x flag in the
>>> filesystem, otehrwise LoadLibrary in cygwin will fail.
>>>
>>> I did cvs up, so it's wrong in cvs at sf.net. But not that important.
>>> Just be sure that the final .tar.gz will have the +x bit set for this file.
>> I don't know how to fix this is CVS,
>
> The only way to fix wrong file perms in CVS is to remove the file and resubmit
> with the correct perms. Or ask the cvs admin to fix in the filesystem.
> A nuisance. It's not that important.
I've made a note, and will ask the SF techs to change this next time I
have reason to ask them to tinker with our repository.
Regards,
Rob.

Jeremy White wrote:
>> I have a small amount of documentation that I want to complete, then
>> I'll build a 1.03_XX beta PPM for testing purposes.
>>
>> I'd appreciate confirmation that I haven't broken anything (especially
>> Scintilla).
>
> She built fine, and basic testing showed no problems.
>
> Will be doing more testing during the day.
Jez - Many thanks.
Reini - any chance of a confirmation that the changes I made fixed the
Scintilla issue that you submitted a patch for?
Rob.

>I have a small amount of documentation that I want to complete, then
>I'll build a 1.03_XX beta PPM for testing purposes.
>
>I'd appreciate confirmation that I haven't broken anything (especially
>Scintilla).
She built fine, and basic testing showed no problems.
Will be doing more testing during the day.
Cheers,
jez.

2006/7/16, Robert May <rmay@...>:
> Reini Urban wrote:
> > Note that Include/SciLexer.dll must have the executable +x flag in the
> > filesystem, otehrwise LoadLibrary in cygwin will fail.
> >
> > I did cvs up, so it's wrong in cvs at sf.net. But not that important.
> > Just be sure that the final .tar.gz will have the +x bit set for this file.
>
> I don't know how to fix this is CVS,
The only way to fix wrong file perms in CVS is to remove the file and resubmit
with the correct perms. Or ask the cvs admin to fix in the filesystem.
A nuisance. It's not that important.
I just wanted to tell you to watch perms before cvs add a new file.
> but I can confirm that if I do
> nmake tardist
> and then extract the resulting tar.gz file in my cygwin environment that
> the execute bit is correctly set on SciLexer.dll
Thanks.

Robert May wrote:
> I'll be dealing with the documentation next: specifically doHTMLdocs.pl
> needs some work, and some other bits and pieces will need re-organising
> to accommodate the new modules.
Committed earlier today.
> I also intend to introduce a new package of documentation:
> Win32::GUI::ReleaseNotes, which will contain detailed release notes for
> each release we make. (it is my hope that we can update this, along with
> the CHANGELOG, whenever we commit to save this being a single large task
> for each release)
Committed earlier today.
> Once I have completed this (in the next few days I hope)
days ... weeks ... oops.
> I will make a
> beta PPM (probably for perl 5.8 only), and open it up to the users list
> for some sanity testing.
I have a small amount of documentation that I want to complete, then
I'll build a 1.03_XX beta PPM for testing purposes.
I'd appreciate confirmation that I haven't broken anything (especially
Scintilla).
Thanks,
Rob.
--
Robert May
Win32::GUI, a perl extension for native Win32 applications
http://perl-win32-gui.sourceforge.net/

Reini Urban wrote:
> Attached are some minor cygwin path fixes for Scintilla.
Thanks for the pointers. I didn't like the call to the external
process, or having to remove the taint check from the test, so I've just
committed a different fix for this problem.
Win32::GUI::LoadLibrary() has been enhanced to:
(1) Convert '/' to '\' - as (on win98 at least) LoadLibrary doesn't like
Unix separators.
(2) call cygwin_convert_to_win32_path() under Cygwin (this is pretty
much what cygpath does with the -w option)
(3) now returns undef (rather than 0) on error
> Note that Include/SciLexer.dll must have the executable +x flag in the
> filesystem, otehrwise LoadLibrary in cygwin will fail.
>
> I did cvs up, so it's wrong in cvs at sf.net. But not that important.
> Just be sure that the final .tar.gz will have the +x bit set for this file.
I don't know how to fix this is CVS, but I can confirm that if I do
nmake tardist
and then extract the resulting tar.gz file in my cygwin environment that
the execute bit is correctly set on SciLexer.dll
Regards,
Rob.
--
Robert May
Win32::GUI, a perl extension for native Win32 applications
http://perl-win32-gui.sourceforge.net/

Attached are some minor cygwin path fixes for Scintilla.
Note that Include/SciLexer.dll must have the executable +x flag in the
filesystem, otehrwise LoadLibrary in cygwin will fail.
I did cvs up, so it's wrong in cvs at sf.net. But not that important.
Just be sure that the final .tar.gz will have the +x bit set for this file.
--
Reini Urban
http://phpwiki.org/http://murbreak.at/http://helsinki.at/http://spacemovie.mur.at/