Ilya Kulakov 3886f27acd Fix crash if an observer is set between willChange…/didChange…
When you add an observer to an object first time, its class is
implicitly changed to a KVO_originalClassName (subclass of original
class). This subclass adds willChange…/didChange… methods for
observable properties.
If you send willChange… before you add an observer, it does nothing.
But if you send didChange… just after, the app will crash, because
new KVO_originalClassName nerver receives willChange…

The idea is to maintain counter of all received willChange… messages
(per key) and decrease it in didChange…
When KVO_originalClassName is created and didChange… is received
(without opening willChange… to new class), exception is not thrown
immediately, but the counter is checked first.
If it's greater than 0, then didChange… just closes
an unboserved willChange… Otherwise exception is thrown, as expected.
2012-07-14 19:32:25 +07:00
2012-07-09 11:11:37 +01:00
2012-07-12 17:20:30 -07:00
2011-10-10 14:49:06 +02:00
2011-09-19 21:42:59 -07:00
2008-09-04 03:52:20 -07:00
2009-12-19 04:31:11 -08:00
2012-03-26 19:55:17 +01:00
2012-03-26 19:55:17 +01:00

Welcome to Cappuccino!

Introduction

Cappuccino is an open source framework that makes it easy to build desktop-caliber applications that run in a web browser.

Cappuccino is built on top of standard web technologies like JavaScript, and it implements most of the familiar APIs from GNUstep and Apple's Cocoa frameworks. When you program in Cappuccino, you don't need to concern yourself with the complexities of traditional web technologies like HTML, CSS, or even the DOM. The unpleasantries of building complex cross browser applications are abstracted away for you.

For more information, see http://cappuccino.org.

System Requirements

To run Cappuccino applications, all you need is a web browser that understands JavaScript.

To build Cappuccino itself, please read below. More information is available here: Getting and Building the Source.

If you're using Windows, you'll also need Cygwin.

Finally, if you want to easily stay up to date with the latest developments and contribute your work back to the Cappuccino community, you'll want to install Git.

Getting Started

To get started, download and install the current release version of Cappuccino:

$ curl https://raw.github.com/cappuccino/cappuccino/v0.9.6-RC1/bootstrap.sh >/tmp/cappuccino_bootstrap.sh && bash /tmp/cappuccino_bootstrap.sh

If you'd just like to get started using Cappuccino for your web apps, you are done.

The rest of these instructions are for building a development copy of Cappuccino. To build Cappuccino from source, check out the most recent stable version from GitHub:

$ git clone git://github.com/cappuccino/cappuccino.git (git)

or download the zipball of the most recent source code:

http://github.com/cappuccino/cappuccino/zipball/master (zip)

Then, simply type jake from within the root of the Cappuccino directory. If you get an error like jake: command not found, you forgot to run the bootstrap script as described above.

Jake will build a "release" copy of the frameworks. Typing jake debug will build a debug version.

jake install will build Cappuccino and associated tools and install them for general use.

Editors

The Cappuccino TextMate Bundle: http://github.com/malkomalko/Cappuccino.tmbundle.

The Cappuccino Xcode Plugin: http://github.com/rbartolome/xcode-cappuccino.

Getting Help

If you need help with Cappuccino, you can get help from the following sources:

If you discover any bugs, please file a ticket at:

http://github.com/cappuccino/cappuccino/issues

License

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

S
Description
No description provided
Readme LGPL-2.1
101 MiB
Languages
Objective-J 66.5%
HTML 19.6%
JavaScript 10.2%
Objective-C 1.8%
Python 1%
Other 0.7%