Alexander Ljungberg
0781a4153e
Fixed: popoverDidShow in Firefox. New: popover animation support in Firefox, Opera and IE10.
...
Before this fix, popoverDidShow: would not be sent to popover delegates when the app ran in Firefox due to Firefox now recognising the -webkit-transition property, but not the webkitTransitionEnd event.
Also, before this fix popover animation was only implemented for Webkit based browsers.
This fix resolves that issue and in addition adds full support for animated popovers in all browsers that support CSS transitions. The fix also improves Cappuccino's general support for CSS3 animations.
2012-12-13 14:04:36 +00:00
Alexander Ljungberg
ff93262873
Work around rendering bugs in WebKit when moving canvas backed views.
...
This bug would cause errors such as the subviews of a CPBox not drawing properly as the box moved (e.g. due to animation).
2012-08-28 14:31:35 +01:00
Alexander Ljungberg
1514e8e981
Fixed: don't crash in unit tests if using Rhino.
...
Apparently Rhino doesn't have `<input element>.setAttribute` and an error would be thrown in `CPCompatibility.j`: `Cannot find function setAttribute in object [object Object].`
2012-08-19 17:16:09 +01:00
Alexander Ljungberg
7abaa30526
Refs #1001 . Fixed: text field cut/paste by context menu would not trigger a change notification.
...
Also just regular copy and paste could fail to trigger notifications.
2012-08-16 19:03:18 +01:00
Alexander Ljungberg
54d5f4b0a4
Fixed: horizontal text jump when editing text fields in some browsers.
...
We were compensating for a bug in Safari, older versions of Chrome and Firefox in our input placement. But new Chrome and neither IE 8 nor IE 9 needed it which resulted in the text being off in those browsers.
2012-08-15 18:31:20 +01:00
Alexander Ljungberg
ca3a4f9b9c
Fixed: text field font size while editing was wrong in Internet Explorer.
...
Tested in Internet Explorer 8 and 9.
2012-08-15 18:12:53 +01:00
Alexander Ljungberg
43f4ecc1b4
More consistent CPCompatibility constant naming.
2011-03-23 23:54:56 -04:00
Alexander Ljungberg
b9d2927368
Fixed: web views with CPWebViewScrollAuto would reload after determining which scrollbars to use. The new solution makes a best effort attempt to determine this ahead of loading, avoiding reloads.
...
The problem in particular is that we can't change from AppKit to Native scrollbars or vice versa once an iframe has been loaded. Until we find a way to do so, this less flexible solution will have to do. Note that if the loaded URL passes the SOP, but the content contains links to URLs which do not pass the SOP which can be brought up in the web view, CPWebViewScrollAuto will not work correctly and CPWebViewScrollNative should be used instead.
2011-03-24 00:14:06 -04:00
Alexander Ljungberg
090fcab8c6
More globals fixing.
2011-01-24 13:43:55 -03:00
Francisco Ryan Tolmasky I
52f7844aee
Made it so .h files are automatically included in AppKit (avoiding needing to manually include Platform.h, etc.).
...
Also changed a bunch of <AppKit/*> imports to "*" imports.
Reviewed by me.
2010-11-01 11:10:01 -07:00
Alexander Ljungberg
a821614939
Clean up code.
2010-10-15 12:36:57 -03:00
Paul Baumgart and Ross Boucher
12deb6859e
Make CPCompatibility a little more CommonJS friendly.
2010-10-13 18:48:37 -07:00
Ross Boucher
16590e0603
Closes #590 .
...
Closes #594 .
2010-04-09 14:17:11 -07:00
Ross Boucher
d473c251e6
Update undo/redo key equivalents to match the new menu code from a while ago.
2010-03-07 14:10:18 -08:00
Ross Boucher
c2880ec8e4
Remove support for HTML5 drag and drop from Chrome, because it doesn't work.
...
We should eventually try and figure out a more specific test for this.
2010-01-21 23:02:12 -08:00
Ross Boucher
56a739655f
A whole bunch of textfield and key event fixes.
2009-12-02 17:14:47 -08:00
Ross Boucher
1944f51f97
Hack for desktop Capp key events
2009-11-14 17:04:02 -08:00
Francisco Ryan Tolmasky I
9dfdde674f
Fix for off by one error in HTML 5 Safari drag and drop, as well as error when building with Rhino Narwhal.
...
Reviewed by me.
2009-11-13 17:39:16 -08:00
Francisco Ryan Tolmasky I
14ad8f6d6d
Cleaned up key equivalent handling and added support for key equivalents
...
to nib2cib.
Reviewed by me.
2009-10-31 18:32:58 -07:00
Ross Boucher
fc85ae16a5
Fix for the keypress bug introduced in Safari 4.
...
Closes #280 .
2009-10-08 23:10:58 -07:00
Francisco Ryan Tolmasky I
e8dd56bda7
Added HTML 5 drag and drop support for WebKit/Safari.
...
Reviewed by me.
2009-08-17 03:50:52 -07:00
Francisco Ryan Tolmasky I
bfcb94a844
Various key input fixes.
...
Reviewed by me.
2009-06-13 18:27:31 -07:00
Francisco Ryan Tolmasky I
44dc4f6595
Fix for scroll wheel not working in Firefox 3 and up.
...
Closes #102 .
Reviewed by me.
2009-05-24 12:45:51 -07:00
Ross Boucher
0533ddcc3e
Some fixes for secure text fields in IE
2009-05-08 17:05:22 -07:00
Ross Boucher
5eb7be054e
Merge branch 'master' of git@github.com:280north/cappuccino
2008-12-15 18:46:44 -08:00
Ross Boucher
70e1fe5a4b
Fix for misplaced ; in CPCompatibility
2008-12-15 18:46:20 -08:00
Francisco Ryan Tolmasky I
b584f8bc46
Fix for _currentMousePosition errors.
...
[#163 state:resolved].
Reviewed by me.
2008-12-14 10:50:51 -08:00
Francisco Ryan Tolmasky I
a92243314a
Fix for using transform() instead of in code calculation when available.
...
[#148 state:resolved]
Reviewed by me.
2008-11-24 19:42:00 -08:00
Francisco Ryan Tolmasky I
5144a5a579
Added @accessor support, @import, and fixed spacing bug with @selector.
...
Reviewed by ross.
2008-10-26 00:48:49 -07:00
Ross Boucher
0997042dcd
Performance improvement in CPView setAlphaValue:
2008-10-13 19:49:53 -07:00
Ross Boucher
7f942e54f0
Add browser engine check method. Pray it isn't abused.
2008-09-29 12:29:19 -07:00
Ross Boucher
398b284910
Better key support for plainview, chrome, and older versions of Safari.
2008-09-11 00:57:07 -07:00
Francisco Ryan Tolmasky I
a97bb72800
Initial commit.
...
Reviewed by francisco, ross and tom.
2008-09-04 03:52:20 -07:00