Skip to content

Commit

Permalink
import Tk 804.025_beta8 from CPAN
Browse files Browse the repository at this point in the history
git-cpan-module:   Tk
git-cpan-version:  804.025_beta8
git-cpan-authorid: NI-S
git-cpan-file:     authors/id/N/NI/NI-S/Tk-804.025_beta8.tar.gz
  • Loading branch information
Nick Ing-Simmons authored and eserte committed May 29, 2010
1 parent ccd0af2 commit 8bd45ae
Show file tree
Hide file tree
Showing 25 changed files with 813 additions and 107 deletions.
48 changes: 48 additions & 0 deletions Change.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
Change 3019 on 2003/12/06 by nick@camel

MinGW libpng makefile was not checked in or in MANIFEST

Change 3017 on 2003/12/06 by nick@camel

Win32 hangs if you display dialog which is transient
to a withdrawn window?

Change 3016 on 2003/12/06 by nick@camel

dTHXs stuff fow Windows builds with PERL_NO_GET_CONTEXT

Change 3015 on 2003/12/06 by nick@llama

"Loose some debug prints in Win32 Drag/Drop

Change 3014 on 2003/12/06 by nick@llama

"Jack" <[email protected]> - latest version of
Balloon.pm tweaks

Change 3013 on 2003/12/06 by nick@llama

Patch for timestamp for WM_TAKE_FOCUS events.
from Scott Smedley <[email protected]>
There is a bug in Perl/Tk that neglects to pass the timestamp associated
with a WM_TAKE_FOCUS event. This leads to focussing race conditions in
aplications that use a globally active focussing policy.
The correct functionality is documented in:
http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.7

Change 3012 on 2003/12/06 by nick@llama

Demos patch from Steve

Change 3011 on 2003/12/06 by nick@llama

A number of patches from Slaven.

Change 3010 on 2003/12/06 by nick@llama

Removed debug as suggested by Jim Winters <[email protected]>

Change 3009 on 2003/12/02 by nick@llama

Change.log update for beta7

Change 3008 on 2003/12/02 by nick@llama

Avoid 'nsv' as a variable after scare with encGlue.c in perl5.9
Expand Down
6 changes: 3 additions & 3 deletions DragDrop/Win32Site/Win32Site.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Tk::DragDrop::Win32Site;

use vars qw($VERSION);
$VERSION = '4.004'; # $Id: //depot/Tkutf8/DragDrop/Win32Site/Win32Site.pm#4 $
$VERSION = '4.004'; # $Id: //depot/Tkutf8/DragDrop/Win32Site/Win32Site.pm#5 $

use Tk qw($XS_VERSION);
require DynaLoader;
Expand All @@ -28,15 +28,15 @@ sub InitSite

sub Win32Drop
{
print join(',',@_),"\n";
# print join(',',@_),"\n";
my ($w,$site,$msg,$wParam,$lParam) = @_;
my ($x,$y,@files) = DropInfo($wParam);
my $cb = $site->{'-dropcommand'};
if ($cb)
{
foreach my $file (@files)
{
print "$file @ $x,$y\n";
# print "$file @ $x,$y\n";
$w->clipboardClear;
$w->clipboardAppend('--',$file);
$cb->Call('CLIPBOARD',$x,$y);
Expand Down
3 changes: 3 additions & 0 deletions Event/Event.xs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ Tcl_DumpActiveMemory (CONST char *fileName)
char *
Tcl_Realloc(char *p, unsigned int size)
{
dTHXs;
if ((int) size < 0)
abort();
p = PerlMemShared_realloc(p,size*sizeof(char));
Expand All @@ -301,6 +302,7 @@ Tcl_Realloc(char *p, unsigned int size)
char *
Tcl_Alloc(unsigned int size)
{
dTHXs;
char *p;
if ((int) size < 0)
abort();
Expand All @@ -311,6 +313,7 @@ Tcl_Alloc(unsigned int size)
void
Tcl_Free(char *p)
{
dTHXs;
PerlMemShared_free(p);
}

Expand Down
1 change: 1 addition & 0 deletions Event/pTkCallback.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ LangCallback *
LangCopyCallback(sv)
SV *sv;
{
dTHXs;
if (sv)
SvREFCNT_inc(sv);
return sv;
Expand Down
3 changes: 0 additions & 3 deletions IO/IO.xs
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ int mask;
#if defined(__WIN32__) && !defined(__CYGWIN__)
static int
make_nonblock (pTHX_ PerlIO *f,int *mode,int *newmode)
PerlIO *f;
int *mode;
int *newmode;
{
croak("Cannot make nonblocking on Win32 yet");
return -1;
Expand Down
Loading

0 comments on commit 8bd45ae

Please sign in to comment.