Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ccgus
/
CocoaScript
Public
Notifications
You must be signed in to change notification settings
Fork
59
Star
618
Code
Issues
15
Pull requests
3
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Additional fixes.
- #39
#39
Closed
samdeane
wants to merge 83 commits into
ccgus:master
ccgus/CocoaScript:master
from
sketch-hq:feature/7496-latest-sketch-beta-crashes
sketch-hq/CocoaScript:feature/7496-latest-sketch-beta-crashes
Copy head branch name to clipboard
Conversation
Commits
83
(83)
Checks
Files changed
Closed
Additional fixes.
#39
samdeane
wants to merge 83 commits into
ccgus:master
ccgus/CocoaScript:master
from
sketch-hq:feature/7496-latest-sketch-beta-crashes
sketch-hq/CocoaScript:feature/7496-latest-sketch-beta-crashes
Copy head branch name to clipboard
Commits
Commits on Apr 30, 2014
Changed NSLog to debug to avoid spamming the console in release builds.
samdeane
committed
5f4cc21
View commit details
Copy full SHA for 5f4cc21
Browse repository at this point
Commits on May 23, 2014
Changed NSLog to debug to avoid spamming the console in release builds.
samdeane
committed
cd558e5
View commit details
Copy full SHA for cd558e5
Browse repository at this point
Merge branch 'warning-fixes'
samdeane
committed
f27f92b
View commit details
Copy full SHA for f27f92b
Browse repository at this point
Commits on Jun 13, 2014
XC6 update
samdeane
committed
cd69cba
View commit details
Copy full SHA for cd69cba
Browse repository at this point
Merge branch 'master' of github.com:BohemianCoding/CocoaScript
samdeane
committed
ea788e1
View commit details
Copy full SHA for ea788e1
Browse repository at this point
Merge commit 'b8e60ecff73c3907dc80b573fb000d63fa50f956' into HEAD
samdeane
committed
d265a7d
View commit details
Copy full SHA for d265a7d
Browse repository at this point
Merge commit 'd265a7d'
samdeane
committed
70ded2f
View commit details
Copy full SHA for 70ded2f
Browse repository at this point
Commits on Jun 23, 2014
Merge branch 'master' of github.com:ccgus/CocoaScript
samdeane
committed
044d191
View commit details
Copy full SHA for 044d191
Browse repository at this point
Merge branch 'debug-callback'
samdeane
committed
f69245f
View commit details
Copy full SHA for f69245f
Browse repository at this point
Fixed debug macro.
samdeane
committed
aa9d5db
View commit details
Copy full SHA for aa9d5db
Browse repository at this point
Use a name for the debug method which doesn't clash with the debug macro (doh).
samdeane
committed
9e912f8
View commit details
Copy full SHA for 9e912f8
Browse repository at this point
Commits on Jun 25, 2014
Merge branch 'debug-callback'
samdeane
committed
679b882
View commit details
Copy full SHA for 679b882
Browse repository at this point
Merge branch 'javascript-debugging-support'
samdeane
committed
b159e66
View commit details
Copy full SHA for b159e66
Browse repository at this point
Merge branch 'javascript-debugging-support'
samdeane
committed
936f6f1
View commit details
Copy full SHA for 936f6f1
Browse repository at this point
Merge branch 'javascript-debugging-support'
samdeane
committed
852774c
View commit details
Copy full SHA for 852774c
Browse repository at this point
Commits on Aug 15, 2014
Fixed use of deprecated API
samdeane
committed
d186c17
View commit details
Copy full SHA for d186c17
Browse repository at this point
Turned #pragma messages into comments
Show description for f037716
samdeane
committed
f037716
View commit details
Copy full SHA for f037716
Browse repository at this point
Commits on Sep 1, 2014
Minor (and slightly ugly) tweak to avoid a warning in release build.
samdeane
committed
c202ef5
View commit details
Copy full SHA for c202ef5
Browse repository at this point
Turn on SKIP_INSTALL to avoid a warning when archiving
samdeane
committed
78c081d
View commit details
Copy full SHA for 78c081d
Browse repository at this point
Commits on Nov 18, 2014
XC6.1 update
samdeane
committed
ae7c0bb
View commit details
Copy full SHA for ae7c0bb
Browse repository at this point
XC6.1 update - specify the signature for objc_msgSend to prevent a warning
samdeane
committed
aa1dbc0
View commit details
Copy full SHA for aa1dbc0
Browse repository at this point
Commits on Dec 12, 2014
Import: Add support for absolute and ~ paths
Show description for d857274
randomsequence
committed
d857274
View commit details
Copy full SHA for d857274
Browse repository at this point
import: reinstate warning for empty base in non-absolute URLs
randomsequence
committed
3ba543d
View commit details
Copy full SHA for 3ba543d
Browse repository at this point
Merge pull request #2 from BohemianCoding/feature/3319
Show description for 669c4b0
randomsequence
committed
669c4b0
View commit details
Copy full SHA for 669c4b0
Browse repository at this point
Commits on Dec 16, 2014
Add support for nested @import statements
Show description for 67e609f
randomsequence
committed
67e609f
View commit details
Copy full SHA for 67e609f
Browse repository at this point
Merge pull request #3 from BohemianCoding/feature/3319
Show description for 33b28c7
randomsequence
committed
33b28c7
View commit details
Copy full SHA for 33b28c7
Browse repository at this point
Commits on Dec 18, 2014
Fix a bug which ignored first line of @import-ed scripts
randomsequence
committed
fd78d57
View commit details
Copy full SHA for fd78d57
Browse repository at this point
Merge pull request #4 from BohemianCoding/feature/3319
Show description for f125568
randomsequence
committed
f125568
View commit details
Copy full SHA for f125568
Browse repository at this point
Commits on Feb 11, 2015
Added a test script that exhibits the crash
samdeane
committed
31b4e73
View commit details
Copy full SHA for 31b4e73
Browse repository at this point
Toned down the debug output for the command line tool whilst debugging the crash.
samdeane
committed
fa6871d
View commit details
Copy full SHA for fa6871d
Browse repository at this point
reduced loop as script should crash
samdeane
committed
e505ce8
View commit details
Copy full SHA for e505ce8
Browse repository at this point
Slight tweaks to MOBox - tracking down crash
samdeane
committed
a812a1b
View commit details
Copy full SHA for a812a1b
Browse repository at this point
Added Andrey's temporary workaround to the crash
samdeane
committed
3bd263e
View commit details
Copy full SHA for 3bd263e
Browse repository at this point
Perform cleanup before exiting - easier to test if it's working...
samdeane
committed
0aac538
View commit details
Copy full SHA for 0aac538
Browse repository at this point
Can't call unprotect from finalize - it wouldn't make much difference here anyway...
samdeane
committed
d5ee507
View commit details
Copy full SHA for d5ee507
Browse repository at this point
Commits on May 27, 2015
Latest changes from Gus:
Show description for 20f99eb
samdeane
committed
20f99eb
View commit details
Copy full SHA for 20f99eb
Browse repository at this point
Fixed leak of CGColorSpaceRef
samdeane
committed
0e3c556
View commit details
Copy full SHA for 0e3c556
Browse repository at this point
Keep the analyzer happy with a check for a nil encoding.
samdeane
committed
821b49d
View commit details
Copy full SHA for 821b49d
Browse repository at this point
Fix for a nice leak.
samdeane
committed
e3d2d6d
View commit details
Copy full SHA for e3d2d6d
Browse repository at this point
Disabled the analyzer for a particularly bonkers piece of code.
samdeane
committed
7724039
View commit details
Copy full SHA for 7724039
Browse repository at this point
Another analyzer fix.
Show description for d48dd44
samdeane
committed
d48dd44
View commit details
Copy full SHA for d48dd44
Browse repository at this point
Disabled the analzyer for some particularly gnarly code.
samdeane
committed
f460972
View commit details
Copy full SHA for f460972
Browse repository at this point
Fixed leak of CGColorSpaceRef
samdeane
committed
0df6e10
View commit details
Copy full SHA for 0df6e10
Browse repository at this point
Fixed leak of CGColorSpaceRef.
Show description for bd27007
samdeane
committed
bd27007
View commit details
Copy full SHA for bd27007
Browse repository at this point
Fixed warning.
samdeane
committed
945aab1
View commit details
Copy full SHA for 945aab1
Browse repository at this point
Changed #pragma to comment to stop it generating a message.
samdeane
committed
dd6e529
View commit details
Copy full SHA for dd6e529
Browse repository at this point
Merge branch 'analyzer-fixes' into develop
Show description for d2b9e4b
samdeane
committed
d2b9e4b
View commit details
Copy full SHA for d2b9e4b
Browse repository at this point
Commits on Jun 10, 2015
XC7 updates.
samdeane
committed
166c0d4
View commit details
Copy full SHA for 166c0d4
Browse repository at this point
Commits on Jun 30, 2015
Don't use nullable on old versions of Xcode that don't know about it...
samdeane
committed
ef25dae
View commit details
Copy full SHA for ef25dae
Browse repository at this point
and another that XC6.2 doesn't know about
samdeane
committed
7f42d6e
View commit details
Copy full SHA for 7f42d6e
Browse repository at this point
Slightly cleaner XC6.2 fix.
samdeane
committed
b993aea
View commit details
Copy full SHA for b993aea
Browse repository at this point
Commits on Aug 20, 2015
Replace NSMapTable with NSDictionary & associated objects
Show description for 34fd6d9
randomsequence
committed
34fd6d9
View commit details
Copy full SHA for 34fd6d9
Browse repository at this point
Associate the unboxer with the object, not the box.
randomsequence
committed
7b5a81c
View commit details
Copy full SHA for 7b5a81c
Browse repository at this point
Remove objects to box map in favour of directly associated objects
randomsequence
committed
bfda639
View commit details
Copy full SHA for bfda639
Browse repository at this point
Commits on Aug 21, 2015
Refactor object to box mapping into MOBox
Show description for 28d54ff
randomsequence
committed
28d54ff
View commit details
Copy full SHA for 28d54ff
Browse repository at this point
Commits on Sep 1, 2015
Merge pull request #6 from BohemianCoding/feature/5799
Show description for d64d9f8
randomsequence
committed
d64d9f8
View commit details
Copy full SHA for d64d9f8
Browse repository at this point
Commits on Oct 28, 2015
Revert to 34fd6d9
Show description for 5b8085d
randomsequence
committed
5b8085d
View commit details
Copy full SHA for 5b8085d
Browse repository at this point
Remove MochaUnboxer, which wouldn't have unboxed anything anyway
Show description for 5fb80ef
randomsequence
committed
5fb80ef
View commit details
Copy full SHA for 5fb80ef
Browse repository at this point
Commits on Nov 10, 2015
Fixed an analyser issue
opsGavin
committed
f817640
View commit details
Copy full SHA for f817640
Browse repository at this point
Commits on Dec 16, 2015
Added MOBoxManager class to clean up access to boxes a bit.
Show description for 56bb64a
samdeane
committed
56bb64a
View commit details
Copy full SHA for 56bb64a
Browse repository at this point
Cleaned up boxing a bit, removed the JSProtect hack.
samdeane
committed
26e5127
View commit details
Copy full SHA for 26e5127
Browse repository at this point
Protect function/selector arguments around calls.
Show description for b29a1a1
samdeane
committed
b29a1a1
View commit details
Copy full SHA for b29a1a1
Browse repository at this point
Protect all the JS objects representing members of the struct. These get created but aren't referenced from JS anywhere at the point the struct is made, so I suspect that they might be destroyed ag…
Show description for 58b3f83
samdeane
committed
58b3f83
View commit details
Copy full SHA for 58b3f83
Browse repository at this point
Commits on Dec 17, 2015
Make MOStruct unprotect values when it's shut down.
samdeane
committed
a48761d
View commit details
Copy full SHA for a48761d
Browse repository at this point
Use strong map again instead of dictionary.
Show description for a673e30
samdeane
committed
a673e30
View commit details
Copy full SHA for a673e30
Browse repository at this point
Simplified slightly.
samdeane
committed
5246cd5
View commit details
Copy full SHA for 5246cd5
Browse repository at this point
Commented MOBoxManager
samdeane
committed
f0e69e8
View commit details
Copy full SHA for f0e69e8
Browse repository at this point
Cleaned up and remove some obsolete stuff.
samdeane
committed
12b81e5
View commit details
Copy full SHA for 12b81e5
Browse repository at this point
Clean out runtime when shutting down COScript, to break retain cycle and ensure everything gets disposed of.
samdeane
committed
9d028f1
View commit details
Copy full SHA for 9d028f1
Browse repository at this point
Strengthened assertion.
samdeane
committed
ebc6f2a
View commit details
Copy full SHA for ebc6f2a
Browse repository at this point
Brought up to date with Gus' master branch.
Show description for d7ef038
samdeane
committed
d7ef038
View commit details
Copy full SHA for d7ef038
Browse repository at this point
A bit more cleanup.
samdeane
committed
27b6784
View commit details
Copy full SHA for 27b6784
Browse repository at this point
Added some more assertions.
samdeane
committed
d3273a3
View commit details
Copy full SHA for d3273a3
Browse repository at this point
Commits on Jan 14, 2016
Only add box to the index if the JS initialiser actually gets called.
samdeane
committed
5920725
View commit details
Copy full SHA for 5920725
Browse repository at this point
More debugging.
samdeane
committed
67508c8
View commit details
Copy full SHA for 67508c8
Browse repository at this point
Don't make a box at all until the JS object has been initialized.
Show description for f5a781f
samdeane
committed
f5a781f
View commit details
Copy full SHA for f5a781f
Browse repository at this point
improved comments and removed some more debug
samdeane
committed
093e56c
View commit details
Copy full SHA for 093e56c
Browse repository at this point
Cleaner implementation of the box creation - pass parameters in a custom class instead of a dictionary.
samdeane
committed
4c565c0
View commit details
Copy full SHA for 4c565c0
Browse repository at this point
Fixed out of date comment.
samdeane
committed
c73b5fa
View commit details
Copy full SHA for c73b5fa
Browse repository at this point
Disabled some additional debugging.
samdeane
committed
d214f18
View commit details
Copy full SHA for d214f18
Browse repository at this point
Commits on Jan 15, 2016
improved comment
samdeane
committed
81e15f9
View commit details
Copy full SHA for 81e15f9
Browse repository at this point
Commits on Jan 18, 2016
Disable assertions in release builds.
samdeane
committed
363a1eb
View commit details
Copy full SHA for 363a1eb
Browse repository at this point
Commits on Jan 19, 2016
Downgraded an assertion to logging instead.
samdeane
committed
897f31b
View commit details
Copy full SHA for 897f31b
Browse repository at this point
You can’t perform that action at this time.