Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: ddemaree/BubbleWrap
base: 85bacf3ad4
head fork: ddemaree/BubbleWrap
compare: 82db68ddac
Checking mergeability… Don't worry, you can still create the pull request.
This comparison is big! We're only showing the most recent 250 commits
Commits on Jun 17, 2012
@jamesotron jamesotron bubble-wrap/loader can be required any number of times, so let's not …
…allow it to do it's thing unless we know the loader isn't already loaded.
@jamesotron jamesotron We shouldn't be ignoring Gemfile.lock b98ac28
@jamesotron jamesotron Merge 1.1 into master. edee8f7
@jamesotron jamesotron Tidy up build task extension to be clearer in it's intent. aad1673
@jamesotron jamesotron Tidy up lib specs a little and add GCD to the default frameworks in t…
…he specs, since motion/dispatch uses it.
@jamesotron jamesotron Add extra test for BubbleWrap::VERSION. Closes #62. (Finally) 252b200
@supermarin supermarin Cleaned up the spec. Refactored http pull req a bit 2370bff
@supermarin supermarin Added the create_uuid method 0da77ef
@supermarin supermarin Moved the create_uuid in core.rb 79339ae
@mattetti mattetti added App.open_url 95896d3
Commits on Jun 18, 2012
@supermarin supermarin tested App.open_url 8eb8a54
@jamesotron jamesotron Apparently GCD is part of CoreFoundation, so there's no need to ask f…
…or it. Thanks to @seanlilmateus for the heads up.
@jamesotron jamesotron Merge github:master. 0e44211
@supermarin supermarin Fixed the possible bug introduced by a file upload patch 4a91150
@supermarin supermarin Merge branch 'master' of 99ac2b4
@qrush qrush if payload request is already an NSData, don't convert it into a stri…
…ng. also try to cure this insufferable unless-itis
@qrush qrush add upload and download progress callbacks 42d3bac
Commits on Jun 19, 2012
@mattetti mattetti Merge pull request #68 from qrush/master
Beef up HTTP a bit
@mattetti mattetti added parser code, no specs yet f7ec837
@mattetti mattetti fixed a bug with the way items were being parsed 927856c
@mattetti mattetti finished the rss parser internal cleanup and added a loader 319e8ef
@mattetti mattetti fixed the version.rb file 57f3764
@mattetti mattetti added tests and delayed the loading of XML in some cases (RSS Parser) 1232b88
@jamesotron jamesotron Rename dispatch => reactor. 96d0f92
@jamesotron jamesotron Only require core and http by default, provide bubble-wrap/all for th…
…ose who want the kitchen sink.
@jamesotron jamesotron Merge github:master into master. 4efd01a
@jamesotron jamesotron Update readme. 1d169dd
@jamesotron jamesotron DefaultDefferable isn't much use unless it mixes in Deferrable. f7b9043
@jamesotron jamesotron Fix typos in deferrable. 0f2344c
@jamesotron jamesotron Add reactor documentation. d2b92a9
@jamesotron jamesotron Fix extra crud that mistakenly got in when I merged in bw-dispatch. 2d9e597
@supermarin supermarin commented out the test definition so the spec output doesnt complain 7395df5
@supermarin supermarin refactored a lot , moving on df98e87
@supermarin supermarin made the namings more consistant 9b3b394
@supermarin supermarin more refactoring... 77aa05d
@supermarin supermarin moved create_request to private 03dd68a
@supermarin supermarin more refactor. file/payload upload is unstable! testing in progress afd1a8b
@supermarin supermarin Made the file upload spec better. refactored a bit more. f62278c
Commits on Jun 26, 2012
@clayallsopp clayallsopp BW::Camera ac36bb8
@clayallsopp clayallsopp Update README 8ecb4db
@clayallsopp clayallsopp small doc change 9727339
@clayallsopp clayallsopp these base of these constants actually isnt used, so no need to put t…
…hem there.
@mattetti mattetti Merge pull request #70 from clayallsopp/camera
BW::Camera Additions
@clayallsopp clayallsopp create a 'bubble-wrap/ui' requirement for all the UI-related wrappers 2de8b44
Commits on Jun 27, 2012
@jamesotron jamesotron Add a defer_on_main method to Reactor. 5586f9a
@clayallsopp clayallsopp require ui in core for now adf3135
James Harton Merge pull request #71 from clayallsopp/ui
require 'bubble-wrap/ui'
@clayallsopp clayallsopp add .yardopts c52fedc
James Harton Merge pull request #73 from clayallsopp/yardopts
add .yardopts
@jamesotron jamesotron What a difference a CR makes: fix markdown problems on yard. ba82301
@clayallsopp clayallsopp change `error` to be less redundant. 79e0c3b
@clayallsopp clayallsopp BW::Location wrapper for CoreLocation 02091c8
@clayallsopp clayallsopp forgot a `reset` in the tests. 01bf64a
@clayallsopp clayallsopp adding test to make sure significant location change block works b1c66e9
@clayallsopp clayallsopp removing significant `stop` test, redundant. a8f8c7b
@clayallsopp clayallsopp UIImagePicker -> CLLocationManager c31ba2c
@clayallsopp clayallsopp doc changes 06a2531
Commits on Jun 28, 2012
@clayallsopp clayallsopp require 'bubble-wrap/location' 5062154
@clayallsopp clayallsopp update README 8c01048
@clayallsopp clayallsopp require 'bubble-wrap/camera' f36ed0a
@jamesotron jamesotron Move BW=BubbleWrap from core to shortcut. a0d1da9
@jamesotron jamesotron Make every requirement always depend on shortcut.rb abc5d65
@jamesotron jamesotron Make the tests less brittle around requirements. e272bcd
@clayallsopp clayallsopp need to require 'string' as well. 0e2c3cb
@clayallsopp clayallsopp Merge pull request #74 from clayallsopp/location
BW::Location wrapper for CoreLocation
@clayallsopp clayallsopp add sensible defaults for Camera.get 51a9912
@clayallsopp clayallsopp Merge branch 'camera_fix' 48ce1b6
Commits on Jun 30, 2012
@supermarin supermarin made the HEAD request set the params in the URL fe63761
@mattetti mattetti RubyMotion is buggy, but a bit of duplication can save us from some o…
…f the bugs
@supermarin supermarin Merge branch 'master' of ad1b737
Commits on Jul 01, 2012
@supermarin supermarin made the specs passing again, renamed the generate_params cd900ef
@joelmoss joelmoss Adds support for setting the message and passing a block to App.alert 51eaa1b
@supermarin supermarin Made the non-GET params sent using Form/Multipart, tested using Rails…
… 3.2.6
@supermarin supermarin Merge pull request #79 from joelmoss/alert_messages
Adds support for setting the message and passing a block to App.alert
Commits on Jul 03, 2012
@siuying siuying work around motion issue on Proc#call that cannot be called by ObjC, …
…fixes #80
Commits on Jul 04, 2012
@clayallsopp clayallsopp move Camera to Device module (a big indent commit) 8235ba0
@clayallsopp clayallsopp making Camera an object inside Device
- Camera.rear, Camera.front shorthand for getting front/rear cameras
- Camera.none shorthand for using just picture uploads.
@clayallsopp clayallsopp Move camera into device for core loading da81465
@clayallsopp clayallsopp move + fix device and camera tests. b8db760
@clayallsopp clayallsopp Camera#flash? and tests 782be7b
@siuying siuying change the gesture callback to private 241f7da
@siuying siuying Merge pull request #81 from rubymotion/gesture
Pass gesture reconizer to the block in UIGestureRegonizer helpers
@clayallsopp clayallsopp fixing a syntax error 6ce7af2
@clayallsopp clayallsopp better tests. f424d3f
@clayallsopp clayallsopp fix README format 7a777f7
@siuying siuying gesture recognizer helpers should returns gesture recognizer instead …
…of a block
Commits on Jul 05, 2012
@clayallsopp clayallsopp Create CameraWrapper to make a better Device::Camera DSL a882992
@clayallsopp clayallsopp update README 79e5bcb
@clayallsopp clayallsopp Merge branch 'master' of int…
…o camera_device
@clayallsopp clayallsopp Merge branch 'camera_device' of…
…Wrap into camera_device
@clayallsopp clayallsopp typo fix a799905
James Harton Merge pull request #84 from clayallsopp/camera_device
Device::Camera integration
@clayallsopp clayallsopp fix camera_spec e0ebaf6
@jamesotron jamesotron Fix spec_files regression in RubyMotion 1.15. Sigh. 3faed73
@jamesotron jamesotron Merge upstream into master. e787594
Commits on Jul 08, 2012
@scizo scizo Add merge to Persistence
This allows the setting of multiple values at once.
@scizo scizo Fix Persistence.merge to use permanent storage
NSUserDefaults registerDefaults: only stores values in the
NSRegistrationDomain, which is only temporary. Setting each key
individually will use the applications domain, which is persisted.
@supermarin supermarin Merge pull request #89 from scizo/master
Fix Persistence::merge to use permanent storage.
Commits on Jul 09, 2012
@clayallsopp clayallsopp need extra retains on these, else causes memory crashes. e464652
@clayallsopp clayallsopp Merge branch 'master' of 8e02769
Commits on Jul 10, 2012
@scizo scizo color keyword support in String#to_color
Example: 'dark_text'.to_color -> UIColor.darkTextColor
@supermarin supermarin Merge pull request #92 from scizo/master
color keyword support in String#to_color
Commits on Jul 11, 2012
@mattetti mattetti added better debugging to the HTTP wrapper 8e04e14
@mattetti mattetti added a debug flag a072fde
@mattetti mattetti fixed a bad spec 85a4c4c
@mattetti mattetti bumped the version # and updated the doc faad30b
Commits on Jul 12, 2012
@supermarin supermarin a small cleanup 02a312a
@supermarin supermarin Merge branch 'master' of 50c1bf0
Commits on Jul 13, 2012
@dmarkow dmarkow Remove unnecessary CFRelease call ef81fa6
@mattetti mattetti Merge pull request #98 from dmarkow/cfrelease_fix
Remove unnecessary CFRelease call
@janweinkauff janweinkauff changed context name to BubbleWrap::KVO cf08b40
@janweinkauff janweinkauff added support for symbols as selectors to the KVO module f982e64
Commits on Jul 14, 2012
@gavingmiller gavingmiller Added parseErrorOccurred delegate and parseError method.
Created delegate method to handle parseErrorOccurred which also sets
the value for parseError. If parseError isn't set then
when_parser_errors doesn't have any error to access when called, which
is confusing.
@gavingmiller gavingmiller Move state setting to the end of all methods.
When debug is set to true, the delegate when_parser methods get called
before the debug output which results in an unexpected call order and
makes for more difficult debugging.
Commits on Jul 15, 2012
@mattetti mattetti commented out a spec since RubyMotion 1.18 is buggy and can't compile it b5f93cd
@mattetti mattetti fixed a bug with JSON payloads 6252564
@mattetti mattetti bumped the version 9e1ea26
@mattetti mattetti Merge pull request #99 from gavingmiller/master
Added parseErrorOccurred delegate and error retrieval code to RSSParser
@compressed compressed Support Content-Type when headers are provided 87d3654
@mattetti mattetti Merge pull request #100 from compressed/http
Support Content-Type when headers are provided
@mattetti mattetti updated changelog 49d2f95
Commits on Jul 16, 2012
@siuying siuying add change history to all versions in CHANGELOG 027b7f8
@siuying siuying Add a demo project to show how complex gesture helpers works a67a20a
@siuying siuying add screenshot to the demo 6dd6d56
@dmarkow dmarkow Properly strip paths with trailing /lib 61e83bc
Commits on Jul 17, 2012
@smgt smgt Add App to notification center. 4a19e38
@mattetti mattetti Merge pull request #105 from simon/patch-1
Add App to notification center.
@dmarkow dmarkow Restore nested hash support for POST/PUT requests 32091ca
@jamesotron jamesotron Merge dmarkow:lib_path_fix into master. 4f71bd7
@jamesotron jamesotron Mocha has a problem with not loading minitest, locking the version as…
… suggested on freerange/mocha#88.
@dmarkow dmarkow Extract payload hash processing to new method
Since this is now used for both GET/POST requests, it shouldn't be in a
GET-specific method.
@dmarkow dmarkow Remove unnecessary generate_get_params method
Now that all the logic is pulled out to process_payload_hash, the
GET-specific part can just be done in the convert_payload_to_url method.
Commits on Jul 18, 2012
@mattetti mattetti Merge pull request #107 from dmarkow/nested_params
Bring back nested params support for POST requests
@dmarkow dmarkow Add a format option for setting the Content-Type 9b4b07c
@dmarkow dmarkow Set the Content-Type based on the format parameter or payload bb48727
@mattetti mattetti Merge pull request #109 from dmarkow/payload_format
Format option for setting Content-Type
Commits on Jul 19, 2012
@mattetti mattetti fixed a bug with `:format` where the content type doesn't get set for…
… GET, HEAD or requests without a payload.
@mattetti mattetti bumped the version e040c9f
@mattetti mattetti forgot the Gemfile.lock file e76c0f3
@matrixise matrixise fix a bug: the picker instance is missing in the parameters of front_…
@clayallsopp clayallsopp Merge pull request #110 from matrixise/master
bug with front_camera?
Commits on Jul 21, 2012
@colinta colinta => UIApplication.sharedApplication 477d0f8
@colinta colinta spec, and updated README c654f59
Commits on Jul 22, 2012
@colinta colinta Changed to App.shared fcc562d
James Harton Merge pull request #112 from colinta/master
accessing UIApplication.sharedApplication
@clayallsopp clayallsopp fix UIAlertView test behavior
you can't just do a removeFromSuperview, it adds a whole `UIWindow` hierarchy and breaks future functional tests.
@clayallsopp clayallsopp Make window visible during tests
Some functional tests don't work without it
@clayallsopp clayallsopp Add `BubbleWrap::Media` and 'bubble-wrap/media'
Consists of a `Media::Player` class right now,
which is a wrapper over MPMoviePlayerController.
@clayallsopp clayallsopp Merge branch 'master' of int…
…o media
@clayallsopp clayallsopp Include NSNotificationCenter in require 'media'
Also change examples to not use `App.`, which is
only in `bw/core`.
@clayallsopp clayallsopp cleaner README example d0c53e8
@clayallsopp clayallsopp #media_player should always return correct class 7dcfc34
@clayallsopp clayallsopp Fix the MPMoviePlayerController property setters
RubyMotion wasn't playing nice with me calling the
`camelize` setters, so have to do it manually =\
Commits on Jul 23, 2012
@clayallsopp clayallsopp Merge pull request #115 from clayallsopp/media
@supermarin supermarin Turned back the Content-Type setting. It didnt make sense to set it f…
…or GET/HEAD or nil-payload requests.
@mordaroso mordaroso Remove first line beak on multipart posts
fixes 'bad content body' exception for Rails 2.3 applications
@supermarin supermarin Cleaned up the HTTP payload / files appending fc1b319
Commits on Jul 24, 2012
@clayallsopp clayallsopp Remove spec spelunking
RubyMotion fixed this a few version back, should be safe
to remove our hack.
Commits on Jul 27, 2012
@dmarkow dmarkow Remove spec_files override from Rakefile
RubyMotion 1.16 fixed the spec_files regression, and overriding
spec_files was breaking `rake spec files=` usage.

This reverts commit 3faed73.
@dmarkow dmarkow Replace BW::JSON with a JSON string in http specs
In the HTTP spec, we shouldn't be relying on modules other than HTTP.
When we eventually test each module in isolation, the test using
BW::JSON would have failed.
@dmarkow dmarkow HTTP needs module/core.rb for UUIDs. Closes #113 84f8555
@mattetti mattetti limit the amount of redirects to a fixed number and also don't create…
… a new request object since it's already setup for us
Commits on Jul 28, 2012
@dmarkow dmarkow Dup App::Persistence String values. Fixes #118
RubyMotion isn't returning complete String objects for App::Persistence.
String values should return duped copies until this is fixed upstream.
Commits on Jul 30, 2012
@supermarin supermarin Cleaned up the spec 5b242e5
@supermarin supermarin Merge branch 'master' of fb805eb
@supermarin supermarin Added / tested the limit of redirects 7de789d
Commits on Jul 31, 2012
@supermarin supermarin Improved the HTTP spec. Tested all posibilities with blocks. DRYed ou…
…t the Query factory methods.
Commits on Aug 01, 2012
@jamesjn jamesjn Add a bubble-wrap demo to show how to use the location API 8e92c1a
Commits on Aug 04, 2012
@supermarin supermarin Merge pull request #120 from jamesjn/location_sample
Add a bubble-wrap demo to show how to use the location wrapper
@supermarin supermarin Turned back the default Content-Type when Payload is nil. Refactored …
…a bit.
@supermarin supermarin Merge branch 'master' of 8146480
Commits on Aug 05, 2012
@supermarin supermarin Added the URLPrefixError, and validated the url scheme. 58951df
Commits on Aug 09, 2012
@anamba anamba locationManager => location_manager 1d91329
Commits on Aug 14, 2012
@dmarkow dmarkow Delegate to canHandleRequest for validating URLs
Closes #123
@dmarkow dmarkow We validate the whole URL, not just the scheme 958f7c9
Commits on Aug 16, 2012
@clayallsopp clayallsopp Merge branch 'master' of 0cc62e8
@clayallsopp clayallsopp camera sample 62fd80d
Commits on Aug 20, 2012
@mattsgarrison mattsgarrison Corrected pun. 9f02a2a
@siuying siuying Merge pull request #125 from mattsgarrison/master
The Back to the Future reference for the Deferrables example is wrong.
Commits on Aug 23, 2012
@kibiz0r kibiz0r MotionSupport-compatible implementation of camelize. 043ad6f
@kibiz0r kibiz0r String#camelize(:upper/:lower) specs 33311b0
James Harton Merge pull request #126 from kibiz0r/master
BubbleWrap::String#to_color assumes MotionSupport-incompatible implementation of String#camelize
@supermarin supermarin Readme is now more consistent in terms of BubbleWrap:: vs BW:: 82e60e4
Commits on Aug 26, 2012
@supermarin supermarin Handled the nil data ebf13c1
Commits on Aug 27, 2012
@jamesotron jamesotron Bump version d5b7656
Commits on Aug 28, 2012
James Harton Merge pull request #127 from rubymotion/consistent_readme
Readme is now more consistent in terms of BubbleWrap:: vs BW::
Commits on Aug 29, 2012
@dmarkow dmarkow Avoid conflicts with other namespaces/modules 8b5e7f7
@dmarkow dmarkow Two colons, not one 43645bd
@dmarkow dmarkow Use an instance variable for the timer (Fixes #128)
RubyMotion's block scope bug for local variables must have crept back in
around version 1.22
Commits on Aug 30, 2012
@nov nov BubbleWrap::App.version to access CFBundleVersion in Info.plist 0ba7bb0
@supermarin supermarin Merge pull request #133 from nov/master
BubbleWrap::App.version to access CFBundleVersion in Info.plist
@supermarin supermarin Made the specs more consistant 660f758
@supermarin supermarin Merge branch 'master' of 50f426b
@supermarin supermarin forgot to fix the newest pull 3f96fa0
Commits on Sep 03, 2012
@supermarin supermarin Made the camelCase methods snake_case f0f061b
Commits on Sep 05, 2012
@andreas andreas RSSParser should parse asynchronously.
RSSParser now fetches the source data with BW::HTTP instead of using NSXMLParser's initWithContentsOfURL:, which is synchronous.
@dmarkow dmarkow Properly handle multiple targets per event (Closes #124, Closes #132) 5aa044c
Commits on Sep 06, 2012
@supermarin supermarin Added the backward compatibility until we reach 2.0 45b8b42
@supermarin supermarin added a shorthand for this nasty method d5f1b49
@dmarkow dmarkow Merge pull request #134 from rubymotion/refactored_gestures
Made the camelCase methods snake_case
@andreas andreas Fix typo: @parse_error => @parser_error ebb2c85
@andreas andreas Invoking RSSParser#state= should set @state. 621cff6
@andreas andreas Register error if request fails for RSSParser. cb565b0
Commits on Sep 07, 2012
@dmarkow dmarkow Add a description for status codes (Closes #136) f7bfcc6
Commits on Sep 09, 2012
@supermarin supermarin Renamed the method, added the other encodings option 89b46c6
@supermarin supermarin Merge pull request #138 from rubymotion/string_escaping
added a shorthand for this nasty method
Commits on Sep 10, 2012
@supermarin supermarin added #to_encoded_data on String fc0a56e
Commits on Sep 13, 2012
@siuying siuying fix crash when http header contains nil value fe005f8
@supermarin supermarin Merge pull request #140 from siuying/nil_header_fix
fix crash when http header contains nil value
@dmarkow dmarkow Merge pull request #137 from andreas/master
RSSParser should parse asynchronously
@dmarkow dmarkow RSSParser in isolation will still need HTTP b975ac5
@dmarkow dmarkow fetch_source_data should return/call with NSData, not NSString 2874560
@dmarkow dmarkow Test that RSS is actually being parsed 9a58a3f
Commits on Sep 14, 2012
@dmarkow dmarkow Add specs to handle RSS errors 0ee3dc3
Commits on Sep 19, 2012
@Watson1978 Watson1978 Do not use `configs' which is used by RubyMotion internal b158e21
Commits on Sep 20, 2012
@Watson1978 Watson1978 add the `_spec' into App.identifier 3dedaaa
@clayallsopp clayallsopp Fix rear/front bug.
Don't know how this has gone unnoticed
Commits on Sep 21, 2012
@siuying siuying Merge pull request #143 from Watson1978/configs
Do not use `configs' which is used by RubyMotion internal
@supermarin supermarin Merge pull request #146 from Watson1978/spec2
add the `_spec' into App.identifier
@siuying siuying Add checks for minimum supported RubyMotion version (Refer #143) c210f56
@siuying siuying remove typo 7428ae2
Commits on Sep 24, 2012
@siuying siuying add version stub for testing lib 5ce3b9a
Commits on Sep 25, 2012
@supermarin supermarin Refactored http and used metaprogramming 3b6f203
Commits on Sep 26, 2012
@colinta colinta added App#window method 4ddf2a1
James Harton Merge pull request #152 from colinta/master
Adds App.window
@siuying siuying prepare for v1.1.4 release a6795cc
@siuying siuying update changelog for 1.1.4 36d5e15
@alexrothenberg alexrothenberg added #sdk_version to Device df5bc36
@alexrothenberg alexrothenberg added Device.sdk_version to README bb88f3b
@colinta colinta typo - i added this test long ago 41d7de2
@colinta colinta App.window test c37839a
@supermarin supermarin changed the sdk_version to ios_version 6608995
@supermarin supermarin Merge pull request #154 from colinta/master
Added a test
Commits on Sep 30, 2012
@clayallsopp clayallsopp make ::Camera variables ivars
I think this was causing some memory-related crashes.
Commits on Oct 01, 2012
@adelevie adelevie Fixed rdoc typo in reactor.rb
operator => operation. Now the sample code is correct.
James Harton Merge pull request #156 from adelevie/patch-1
Fixed rdoc typo in reactor.rb
Commits on Oct 17, 2012
@siuying siuying add check for widescreen devices e2f5472
Commits on Oct 19, 2012
@royaltm royaltm escape payload values and names fix #160 21f337f
Commits on Oct 23, 2012
@supermarin supermarin Merge pull request #161 from royaltm/master
escape values and keys when creating query string from payload #160
@royaltm royaltm (HTTP) coerce payload components to strings while url-escaping 6151455
@supermarin supermarin Merge pull request #162 from royaltm/master
coerce converted Hash payload keys/values to strings, fixes bug introduced in #161
Commits on Oct 29, 2012
@mattetti mattetti added a smart fallback to Device.screen.orientation We can't always r…
…ely on the accelerometer to determine the real orientation, I added a default fallback that uses the status bar orientation
Commits on Oct 30, 2012
@siuying siuying rename method wide_screen? to long_screen? 83f660a
@siuying siuying Merge pull request #159 from rubymotion/widescreen
add check for widescreen devices
Commits on Nov 01, 2012
@supermarin supermarin Fixed specs that were broken by 29eb7b2 d24c31b
@supermarin supermarin fixed the front camera test, caused by ivar caching c25607f
@supermarin supermarin add some spacing f84735e
Commits on Nov 04, 2012
@n-studio n-studio added credential persistence option in HTTP ba884f5
Commits on Nov 05, 2012
@n-studio n-studio Added tests for Credential Persistence 0eef70a
@supermarin supermarin Merge pull request #166 from n-studio/master
added credential persistence option in HTTP