Coder Social home page Coder Social logo

cylinder's People

Contributors

bensge avatar frudelir avatar noahd avatar rweichler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cylinder's Issues

Support arm64

Any plans to add 64bit support? It would be great.

Testing scripts

When I'm testing scripts, It seems a bit weird clicking on the name in settings. Maybe either a refresh button in settings, or it auto loads from the file?

Icons are messed up under a bunch of different circumstances

I noticed this problem after uninstalling Barrel on my iTouch (on iOS 5).

Barrel fixes these bugs

  • iOS 5: icon transformations are funky, i.e. scale sets the center at the top-left of the layer sometimes (use Shrink)
  • iOS 5: icon order is usually randomized (use iChomp [code below]) FIXED in ed3d0f0

Barrel doesn't fix these bugs

  • Rearranging the icons messes up the icon order (use iChomp [code below]) FIXED in a9e39fd

The last one is trivial to fix (thank god). However the other two I honestly have no idea how to approach, I think I'm going to reverse engineer the Barrel .dylib to see what he's doing there. (nevermind, too hard)

iChomp code (it's just chomp, but it depends on i instead of icon.y):

return function(page, offset, screen_width, screen_height)
    local percent = offset/page.width

    if percent < 0 then percent = -percent end

    for i, icon in subviews(page) do
        local mult = 1
        if i <= 8 then mult = -1 end
        icon:translate(0, mult*percent*screen_height/2, 0)
    end

end

Bug with cylinder.

I have found a bug with cylinder where it makes your icons all come to one side of the screen, being cluttered and stuff
img_1431

I am not sure what is causing this bug but it seems to be if you are moving your pages really fast. But it happens to me often, all i have to do to fix this is swipe over a few pages or lock the device.

Add ability to combine effects

People in the reddit thread were talking about how cool it is to combine effects from Barrel with Cylinder, so I was thinking you could just tick multiple boxes in cylinder to achieve basically the same effect.

Spotlight search bar doesn't transition like icons

(If I recall correctly) barrel would apply the transition effects to the spotlight search bar (before the keyboard popped up and as the screen was dimming). With cylinder, the bar just slides in from the left. Could this be a thing? This only applies to ios6 where spotlight comes in from the left before the first page.

Formula tab

Kind of a PITA to remember the cool combinations, so maybe a way to name and save the combinations you like

dofile is fucked up

[2014-02-14 22:16:04] /Library/Cylinder/rweichler/Stairs (left down).lua:1: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler/include/stairs.lua: No such file or directory
[2014-02-14 22:16:04] /Library/Cylinder/Error/Error.lua:2: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler//Library/Cylinder/Error/penis: No such file or directory
[2014-02-14 22:17:06] /Library/Cylinder/rweichler/Stairs (left down).lua:1: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler/include/stairs.lua: No such file or directory
[2014-02-14 22:17:06] /Library/Cylinder/Error/Error.lua:2: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler//Library/Cylinder/Error/penis: No such file or directory
[2014-02-14 22:17:06] /Library/Cylinder/rweichler/Cube (inside).lua:1: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler//Library/Cylinder/Error//Library/Cylinder/rweichler/include/cube.lua: No such file or directory
[2014-02-14 22:17:07] /Library/Cylinder/rweichler/Stairs (left down).lua:1: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler/include/stairs.lua: No such file or directory
[2014-02-14 22:17:07] /Library/Cylinder/Error/Error.lua:2: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler//Library/Cylinder/Error/penis: No such file or directory
[2014-02-14 22:17:07] /Library/Cylinder/rweichler/Cube (inside).lua:1: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler//Library/Cylinder/Error//Library/Cylinder/rweichler/include/cube.lua: No such file or directory
[2014-02-14 22:17:07] /Library/Cylinder/rweichler/Cube (outside).lua:1: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler//Library/Cylinder/Error//Library/Cylinder/rweichler//Library/Cylinder/rweichler/include/cube.lua: No such file or directory
[2014-02-14 22:17:08] /Library/Cylinder/rweichler/Stairs (left down).lua:1: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler/include/stairs.lua: No such file or directory
[2014-02-14 22:17:08] /Library/Cylinder/Error/Error.lua:2: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler//Library/Cylinder/Error/penis: No such file or directory
[2014-02-14 22:17:08] /Library/Cylinder/rweichler/Cube (inside).lua:1: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler//Library/Cylinder/Error//Library/Cylinder/rweichler/include/cube.lua: No such file or directory
[2014-02-14 22:17:08] /Library/Cylinder/rweichler/Cube (outside).lua:1: cannot open /Library/Cylinder/rweichler//Library/Cylinder/rweichler//Library/Cylinder/Error//Library/Cylinder/rweichler//Library/Cylinder/rweichler/include/cube.lua: No such file or directory

Tidy up "Included by default" effects

Some of the included effects are redundant (Vertical Scrolling-Vertical scrolling, Vortex-Black Hole, Gather Around-Curl and Roll Away); before the public release, redundant effects should be removed (with the better of the two picked). Removed ones could always later be added as a separate package by the respective developer.

iOS 5 doesn't load the entire page

It loads them column by column, to preserve memory and performance I guess. On my iPod Touch 4 there are only 5 columns visible at a time. So when you get an effect that shows more than 5 columns it looks really weird.

Settings page support email with the ability to email the dev of a certain effect, even if the effect came from a separate debian package

Since this is intended to be extensible, and since people wanting to extend this will probably do so by releasing a separate package containing their scripts, it would become a support nightmare when you start receiving email saying "Hey, this effect doesn't work right!", when that effect wasn't created by you.

You could include a "Report an Issue" button in the settings pane, that when pressed, gave the user an alert (or took them to another page) reading:

Hey, is your issue with Cylinder, or just one of the effects?

letting you choose between "Cylinder" or "An effect". If "An effect" is selected, the user is taken to a page displaying all of the effects, and when one is selected, they are taken to an email composition view, with the effect resolved to the email of the person who developed it. I know how to do this resolution using shell script, here is my code:

FILENAME='absolute_path_of_script_file'  // e.g. /Library/Cylinder/Beta382/Curl and Roll Away.lua
PACKAGE=$(dpkg -S "$FILENAME" | awk '{print gensub(/:$/, "", "g", $1)}')
if [[ "$PACKAGE" != "" ]]; then dpkg -s "$PACKAGE" | awk '{if ($1 == "Author:") {print gensub(/^.*<(.*)>.*$/, "\\1", "g", $0)}}'; fi

Running this on my device using the example filename yields:

All that needs to be done is for this command to be run from your end (Is it possible to run system commands using Obj-C? I honestly don't know, although I am certain that it is).

It handles cases where the script is not in a debian package (i.e. user-made, or taken from a reddit thread) by outputting absolutely nothing, which is rather easy to catch, just say "Sorry, I couldn't automatically determine the author of that effect, please contact the person you got it from". Special casing would need to be done for scripts included by default (get the emails of your contributors)

refactor settings

i copy pasted basically the same uitableviewdelegate in three different classes. i need some proper class hierarchy.

Error handling doesn't catch UIView

When you pass a userdata value to view.rotate, view.translate, view.scale, etc. The application crashes, because there is no really good way of checking if the userdata is a UIView, or a struct.

Unknown Error

Sheringham keeps on getting this error in the log file:
unexpected symbol near '<'

He's getting that for all files, and I can speak for at least mine that the file doesn't contain a '<'

Super-Glitchy Framebuffer Weirdness™

A picture's worth a thousand words:
img_1702

  • Totally looks like Solitaire 😉
  • Only happens sometimes, usually by combining a lot of effects and swiping quickly
    • The easiest way to reproduce it is just selecting a bunch of random effects and seeing what happens, but I swear this happened to me with a small amount of effects too :S
  • Everything's restored to normal when you lift your finger and 'lock' into a page again
  • Reproducible on iPad mini retina and iPhone 5, both on iOS 7.0.4
  • You can't take a screenshot of the glitch: in the screenshot, you only see the last position, and the wallpaper turns black for some reason
  • Looks like that part of the framebuffer isn't being cleared properly. Why does this only happen with Cylinder? No idea.
  • Similarly trippy effects can be contrived with Cycript; that's why I think it's the framebuffer (don't do this if you're epileptic or anything like that):
UIApp.windows.forEach(function(w) { w.transform = CGAffineTransformMakeScale(0.5, 0.5); });
// Now, play with the Spotlight keyboard or the Notification/Control Center

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.