Aparajita Fishman
4f377bcebe
Objj2 compiler fixes
...
Compiled all files individually:
- Added missing imports.
- Added @class/@global declarations to break circular dependencies.
- Misc. code cleanup.
Conflicts:
AppKit/CPWindow/_CPWindow.j
AppKit/Platform/DOM/CPPlatformWindow+DOM.j
2013-01-23 15:48:55 +07:00
Martin Carlberg
458fa9d02e
Fixed a lot of small bugs found by new warning message from compiler
2013-01-18 14:24:37 +01:00
Antoine Mercadal
a2b6585c0d
CPSound support play while loading
...
This patch allow to send 'play' message before
the sound is actually loaded (by remembering the play request
and playing the sound when loaded if needed)
this allow to do:
```objj
var sound = [[CPSound alloc] initWithContentsOfURL:aSoundURL byReference:NO];
[sound play];
```
2011-08-20 18:48:11 +02:00
Randall Luecke
b087757a72
Pump runloop for async callbacks.
2011-03-10 17:39:39 -05:00
Randall Luecke
d926ad6221
Merge branch 'fix-cpsound-firefox' of https://github.com/primalmotion/cappuccino into primalmotion-fix-cpsound-firefox
2011-03-10 17:11:19 -05:00
Antoine Mercadal
3a6f2c4d5b
make CPSound handling error + More Cocoa compliant
2011-01-26 11:06:10 +01:00
Antoine Mercadal
f39441e101
avoid error in FF
2011-01-25 21:24:36 +01:00
Stephen Ierodiaconou
6a942630e4
Fixing spelling mistakes
2011-01-24 11:05:48 +02:00
Alexander Ljungberg
67e87c7367
Add missing semicolons, clean up.
2010-11-18 11:23:13 -03:00
Antoine Mercadal
c0b1322c77
remove stupid test
2010-11-18 12:14:19 +01:00
Antoine Mercadal
f6147850b9
use document.createElement('audio') instead of new Audio(). work better
2010-11-08 22:16:21 +01:00
Antoine Mercadal
ea924fbb26
some small glitch fix
2010-11-06 18:59:02 +01:00
Antoine Mercadal
da23a89910
update header
2010-11-06 18:38:52 +01:00
Antoine Mercadal
e4b47090ba
added CPSound, an HTML5 wrapper for NSSound
2010-11-06 18:37:17 +01:00