Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-16697] Titanium Project cleanup #6269

Merged
merged 44 commits into from
Oct 24, 2014
Merged

[TIMOB-16697] Titanium Project cleanup #6269

merged 44 commits into from
Oct 24, 2014

Conversation

vishalduggal
Copy link
Contributor

This PR bumps the deployment target on Titanium projects from 5.0 to 7.0
It enforces our min-ios-ver support of 7.0 (3.4.0 and 3.4.1 can still be built with min-ios-ver 6.0)
It also enforces minSDK of 8.0. Right now you can build apps with minSDK of 7.0

Major code changes include the following

  1. AudioRecorderProxy moved from AQRecorder to AVFoundation/AVAudioRecorder
  2. Deprecation of status bar styles, color constants
  3. AdView refactor

As part of this we have also enabled most of the compiler flags suggested by XCODE
The following warnings are still generated

  1. Missing Launch Image - Ignore this for now. We take care of proper launch images in our build script
  2. Validate Project Settings (Details below)

2a. Enable undeclared selector warning - We will probably not enable this flag anytime soon due to the amount of code refactor required
2b. Enable Unreachable Code warning - We will defer enabling this flag till we factor out the SCListener and MGSplitViewController libraries
2c. Enable Implicit conversion to 32 bit - This will generate warning in the a few third party library. We can choose to keep this disabled but should update titanium code to not generate this warning if enabled.
2d. Automatically select architectures - This will done as part of 64bit support

Regression path - KitchenSink

}, YES);
return blob;
DEPRECATED_REPLACED_REMOVED(@"Media.VideoPlayer.thumbnailImageAtTime",@"3.4.2",@"3.5.0",@"Media.VideoPlayer.requestThumbnailImagesAtTimes")
return nil;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation

@ingo
Copy link
Contributor

ingo commented Oct 24, 2014

I would like to revert the removal of deprecated properties in this PR so that it can be merged into 3.4.2. We can then officially remove them in 3.5.0

if (minFontSize > 4) {
CGFloat ratio = minFontSize/label.font.pointSize;
[label setMinimumScaleFactor:ratio];
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation

@vishalduggal
Copy link
Contributor Author

This PR does not remove them. Just marks them as deprecated and candidates for removal in 3.5.0

@jonalter
Copy link
Contributor

CR & FT pass

jonalter added a commit that referenced this pull request Oct 24, 2014
[TIMOB-16697] Titanium Project cleanup
@jonalter jonalter merged commit e31e65c into tidev:master Oct 24, 2014
@vishalduggal vishalduggal deleted the timob-16697 branch October 27, 2014 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants