Archive for April, 2006

Comment spam 8

Sorry, couldn’t work much on ChocoFlop these days, however I get reminded of it about 50 times a day when some crappy spambots post a message that I have to (un)validate in the comments. As a result only registered users will be able to post from now on.

Once again, they win… we have to change our nice friendly world because of them. The fault as usual goes to you, utterly small-dicked, depressive, drug-addict who buys their lovely merchandise (otherwise they’d have stopped spamming a while ago).

Sigh.

Release alpha 0.21 quick fix and new layer creation variants 6

This is just a quick late night fix. There were problems when loading documents with several layers caused by redrawing while loading wasn’t over. Also, while I was at it I implemented three missing functions from the ‘New Layers…’ submenu. You can create a new layer from current sélection and also clone quickmask or layer mask. These are quite useful for me for development but might also come in handy at some point for end users.

This fixes ‘blur selection’ not working anymore as well as display problems when cancelling filter in quickmask mode.

On the detail side, you can now see the version (0.21) from the about box. Yes I know the Quartz Compo still says 1.0. Also I moved the slider for number of steps in brush to the preferences windows. Usually you don’t want to modify this.

PS: I uploaded the version a bit too early so if you really downloaded this at the time of this post and ‘blur selection’ still doesn’t work you might want to redownload the app to get the good version (or wait for the next update).

Release alpha 0.20 Still locking up like hell but new features however 6

While implementing the “dual accumulator” workaround did stop the 10.4.6 lock up from happening immediately it still does happen _very_ often. So bear with it. I am releasing this because in the next few days I might not have a chance to work on this much and I know some people like to play with unstable software anyway. I really hope 10.4.7 fixes this because otherwise I’d really have to rewrite much of the app to avoid this. Now that the app was getting some cool features this bug really makes it unusable. It will lock up every 10 seconds if you like painting on things. Kinda frustrating. If you are lucky enough to be still running 10.4.5 then there should be no problems. Please report if you experience any lock up with anything older than 10.4.6!

What’s new:
- Support for filters that require and additional input map, yes, you hear it TripDragon, that includes Displacement maps! Each layer can now have an additional image mask called a ‘FilterMap’. You can paint on it directly and see the results with a click.
- You can rename layers (double click layers to change it in the properties)
- Color picker, with ability to pick on layer or whole document with various sample sizes
- Perspective Transform/Tile filters has decent defaults so you can now actually use it by dragging the handles in the corners.
- Rewrote code for painting to make it smoother and a cleaner implementation also
- QuickMask, LayerMask and FilterMap can now be edited in various modes: black and white, color overlay or blind (applied on image)
- Filters centerPoint now default to center of image or selection, much more intuitive.
- And quite a lot of other changes/bugfixes, see the changelog if you dare to!
- No there’s no magic wand, I just addded the icon :-)

So update the app, have fun if you can… lockup aside.

Still some 10.4.6 lockups 2

The dreaded 10.4.6 lockup bug is giving me headaches… Unfortunately it seems the fixes in the previous version weren’t enough. Definitely everywhere where a CIIAccumulator is used as a source for a CIFilter and this same filter’s result pasted in the source accumulator this seems to happen. The painting / undo storing/restoring is particularly prone to the deadly lockup. At the same time I am rewriting/cleaning some of the brush paint code to make it smoother.

Also coming soon, new tools. I have added icons for a color picker and magic brush. Now, I just need to get the implementation done correctly :-)

Release Alpha 19, runs on 10.4.6 0

Ok, so this release works on OSX 10.4.6. For some reason I have to recreate two accumulators the size of the document before each stroke, this is probably sub-optimal, but I’ll optimize later. At least this works, as opposed to completely locking up the app on anything newer than 10.4.5.

Also some fixes to undo features were done and you can now undo filter parameters modifications. There are new display sync problems in this release. Sometimes you have to Press F6 (rerenders all) to see the correct image after painting some strokes.

Use the autoupdate feature to get this one, especially if you have updated to 10.4.6.

Deadlock workaround 0

I found a workaround for the deadlock caused by the update to OSX 10.4.6. It seems that if I alternate between two CIImageAccumualtors I don’t get the immediate lockup. However I still seeem to be getting lockups after painting around for a while. Unless I find a better fix I am going to upload this in this state. If this is indeed a problem in the operating system then this should be enough to keep testing ChocoFlop with the new features. I can keep on adding new features /bugfixes even if this bug is still here.

Deadlock in alpha 18 with 10.4.6 0

DO NOT update to 10.4.6 if you wish to keep using ChocoFlop (for now).

Hm, for some reason there is a deadly deadlock when painting in the version released yesterday. I thought it was because of the new release but it seems that 10.4.6 update is the cause. I just redownloaded old builds and it seems now every paint stroke results in a deadlock. Dammit …

Update: Only builds prior to 2006 still work on 10.4.6. Those builds were painting directly without an intermediate buffer (so you can apply blending mode in an uniform way). A colleague of mine has 10.4.5 and it still works on her PowerBook. Not sure if she should update.

Confirmed: After installing 10.4.6 on my colleague’s powerbook ChocoFlop also stopped working :-(

Oops, it seems, LiveQuartz has the same damn problem.

Release Alpha 18, Undo and lots of fixes 1

And here is a big release with lots of thing you might have cared about, had you been reading this. Do you? This new release fixes some very annoying bugs such as problems using ‘Revert to saved’, slow painting on big images, blurry display when loading image at 1:1 due to some stupdi rounding issue. Flip X/Y now applies to selection only and creates a new layer if needed. Same will happen for rotate/rescale.
Also I have taken some time to externalize all dynamic texts (messages, undo labels) so they can easily be translated in the (distant) future.

But most of all ChocoFlop now has support for undo through most of the key operations. This includes painting, erasing, adding/deleting layers, adding filters, painting, moving layers, modifiying masks, layer properties.

Well nearly everything can be undone except:
- actions that modify the size of the current bitmap (rotate, resize)
- adding removing/ layer masks
- modifications of live layer parameters

It is possible (and likely) to end up in weird situations if you do modifications that can not be undone and then undo some previous modification that can. Anyway, we’re still in alpha aren’t we.

That said, even in an uncomplete state, the fact that we now have working unlimited undo gives a feeling of much greater usefulness to the app (as long as you don’t mess with things that still cannot be undone, that is ). You no longer have to reload your document on the first wrong brush stroke :-)