Skip to content

Commit

Permalink
Transfer license to Zinc Collective LLC (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
zspencer authored Dec 25, 2019
1 parent 3b0c103 commit 2a83c55
Show file tree
Hide file tree
Showing 40 changed files with 771 additions and 656 deletions.
74 changes: 74 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Contributors transfer all ownership rights to Zinc Collective LLC upon submission of their contributions into the primary Zinc Collective LLC repository. Contributor's guarantee that they have the right to transfer ownership of their contributions; and shall indemnify Zinc Collective LLC from any and all repercussions caused by a violation of this guarantee.
2 changes: 1 addition & 1 deletion CrossProcess.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@
attributes = {
CLASSPREFIX = CP;
LastUpgradeCheck = 0720;
ORGANIZATIONNAME = "Copyright Banana Camera Company 2010 - 2012";
ORGANIZATIONNAME = "Zinc Collective LLC";
TargetAttributes = {
F79DB6031438F017004E4CA0 = {
DevelopmentTeam = G8R2KJ59DE;
Expand Down
2 changes: 1 addition & 1 deletion CrossProcess/BCAppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// BCAppDelegate.h
// CrossProcess
//
// Copyright 2012 Banana Camera Company. All rights reserved.
// Copyright 2019 Zinc Collective LLC. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
4 changes: 2 additions & 2 deletions CrossProcess/BCGrowlView.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// BCGrowlView.h
// CrossProcess
//
// Copyright 2010-2013 Banana Camera Company. All rights reserved.
// Copyright 2019 Zinc Collective LLC. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand All @@ -12,7 +12,7 @@
@property(nonatomic, assign) NSTimeInterval notificationDuration;
@property(nonatomic, strong) UILabel* textLabel;

- (void) beginNotificationInViewController: (UIViewController*) vc
- (void) beginNotificationInViewController: (UIViewController*) vc
withNotification: (NSString*) notification;

@end
30 changes: 15 additions & 15 deletions CrossProcess/BCGrowlView.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// BCGrowlView.m
// CrossProcess
//
// Copyright 2010-2013 Banana Camera Company. All rights reserved.
// Copyright 2019 Zinc Collective LLC. All rights reserved.
//

#import "BCGrowlView.h"
Expand All @@ -17,57 +17,57 @@ @implementation BCGrowlView
@synthesize notificationDuration = _notificationDuration;
@synthesize textLabel = _textLabel;

- (id) initWithFrame: (CGRect) frame
- (id) initWithFrame: (CGRect) frame
{
if(self = [super initWithFrame:frame])
{
self.notificationDuration = 2.5;

// set up a rounded border
CALayer* layer = [self layer];

// clear the view's background color so that our background
// fits within the rounded border
self.backgroundColor = [UIColor clearColor];
layer.backgroundColor = [UIColor grayColor].CGColor;

layer.borderWidth = 0.0f;
layer.cornerRadius = 12.0f;

self.textLabel = [[UILabel alloc] initWithFrame: self.layer.frame];
self.textLabel.backgroundColor = [UIColor clearColor];
self.textLabel.textColor = [UIColor whiteColor];
self.textLabel.font = [UIFont systemFontOfSize: 18.0];
self.textLabel.textAlignment = NSTextAlignmentCenter;

[self addSubview: self.textLabel];
}

return self;
}

- (void) beginNotificationInViewController: (UIViewController*) vc
- (void) beginNotificationInViewController: (UIViewController*) vc
withNotification: (NSString*) notification
{
self.textLabel.text = notification;
[self.textLabel sizeToFit];
self.textLabel.frame = CenterRectOverRect(self.textLabel.frame, self.frame);
[self.textLabel setNeedsDisplay];

self.alpha = 0.0;
self.frame = CenterRectOverRect(self.frame, vc.view.frame);
[vc.view addSubview: self];
[UIView animateWithDuration:kRevealAnimationDuration

[UIView animateWithDuration:kRevealAnimationDuration
animations:^()
{
self.alpha = 0.8;
}
completion:^(BOOL finished)
{
[UIView animateWithDuration: kDismissAnimationDuration
delay: self.notificationDuration
options: 0
[UIView animateWithDuration: kDismissAnimationDuration
delay: self.notificationDuration
options: 0
animations:^()
{
self.alpha = 0.0;
Expand Down
8 changes: 4 additions & 4 deletions CrossProcess/BCImage.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// BCImage.h
// Baboon
//
// Copyright 2010-2013 Banana Camera Company. All rights reserved.
// Copyright 2019 Zinc Collective LLC. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand All @@ -19,10 +19,10 @@
uint32_t* _rawBytes; // Raw pixel buffer
uint32_t _bufferSize; // Pixel buffer size in bytes
uint32_t _rowBytes; // Number of bytes per row (16-byte aligned)

CGSize _size; // Geometric size
UIImageOrientation _orientation; // Orientation

unsigned char _reds[256];
unsigned char _greens[256];
unsigned char _blues[256];
Expand Down Expand Up @@ -63,7 +63,7 @@
#define SET_RED_COMPONENT_RGBA(pixel, value) *pixel = (*pixel & 0xFFFFFF00) | (value << 0)

// ARGB use this if CGImageAlphaInfo == kCGImageAlphaPremultipliedFirst

#define BLUE_COMPONENT_ARGB(pixel) (unsigned char)(*pixel >> 24)
#define GREEN_COMPONENT_ARGB(pixel) (unsigned char)(*pixel >> 16)
#define RED_COMPONENT_ARGB(pixel) (unsigned char)(*pixel >> 8)
Expand Down
Loading

0 comments on commit 2a83c55

Please sign in to comment.