Ross Boucher
c514fd7a08
Fix an issue where window levels weren't kept in sync with dom window layers.
...
Closes #507 .
2010-03-06 00:57:59 -08:00
Ross Boucher
4a43e4fda6
Overhaul of the key/main window status, esp. with respect to assigning new values after a window
...
closes or after a window is minimized, and with app activation/deactivation.
2010-03-02 15:16:10 -08:00
Ross Boucher
a323cfe08c
Allow developers to choose to enable the HTML5 drag and drop support, even though its off by default.
2010-02-13 13:38:56 -08:00
Francisco Ryan Tolmasky I
8284498722
Merge branch 'jake' into loader
...
Conflicts:
AppKit/Platform/DOM/CPPlatformString.j
2010-02-01 20:19:20 -08:00
Ross Boucher
c2223e3942
Closes #429 . This should actually resolve the issue by simply removing the potential race condition entirely.
2010-01-31 23:06:23 -08:00
Ross Boucher
c911dd8aa6
Slight order change. This really should not matter.
2010-01-31 15:37:06 -08:00
Ross Boucher
1c81e0eee0
Closes #429 . Doesn't necessarily address the root cause however.
...
The problem stems from a bug in Safari which is allowing callbacks
to interrupt running code (which should be impossible in JavaScript).
The change essentially makes it so that in the case where this happens,
which is rare, we'll end up accidentally creating an extra iframe.
This isn't ideal, but it also isn't harmful, versus the current
situation where code will simply break.
2010-01-31 15:13:07 -08:00
Ross Boucher
5366713790
Closes #429 . Doesn't necessarily address the root cause however.
...
The problem stems from a bug in Safari which is allowing callbacks
to interrupt running code (which should be impossible in JavaScript).
The change essentially makes it so that in the case where this happens,
which is rare, we'll end up accidentally creating an extra iframe.
This isn't ideal, but it also isn't harmful, versus the current
situation where code will simply break.
2010-01-31 15:07:23 -08:00
Ross Boucher
b4cd9c4c45
Remove HTML5 drag and drop support from browsers.
2010-01-29 00:12:51 -08:00
Ross Boucher
712a991c86
Fix a bug introduced by the new document.body code when opening a second platform window.
2010-01-24 15:48:25 -08:00
Ross Boucher
bc030c42d9
Merge branch 'jake' of git@github.com:280north/cappuccino into jake
2010-01-22 19:43:21 -08:00
Ross Boucher
7ce72a31c5
Rather than throwing out the entire cappuccino body, throw out a specific div if that div is available.
...
("cappuccino-body"). This let's external libraries, esp. flash ones, add things to the body without
Cappuccino getting rid of them as soon as the page loads.
Closes #421 .
2010-01-22 19:40:33 -08:00
Tom Robinson
cf8989938c
Improved sizeOfString IE workaround
2010-01-22 18:38:25 -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
cacaodev and Ross Boucher
4eef234736
Fix a bug where drop was always failing in webkit nighties
2010-01-21 22:04:35 -08:00
Tom Robinson
4e0404fce6
IE sizeOfString temporary fix.
2010-01-20 17:12:46 -08:00
Francisco Ryan Tolmasky I
b675adbbb0
Fix for text being gone in buttons.
...
Reviewed by me.
2010-01-08 04:03:48 -08:00
Francisco Ryan Tolmasky I
7e2fe6d5be
Fix for white flash when loading Cappuccino apps.
...
Reviewed by boucher.
2010-01-07 19:30:17 -08:00
Francisco Ryan Tolmasky I
af03085d5f
Fix for incorrect menu logic.
...
Reviewed by me.
2010-01-05 19:20:47 -08:00
Ross Boucher
ee8e65c80d
Fix for alt+character key events not propagating correctly.
...
Closes #354 .
2009-12-05 16:58:26 -08:00
Ross Boucher
2351f73c76
Make the new cursor stuff work across platform windows
2009-12-04 18:07:53 -08:00
Francisco Ryan Tolmasky I
06b64c6a87
Fix for a few edge cases, and added showsStateColumn support to nib2cib.
...
Reviewed by me.
2009-12-03 19:24:03 -08:00
Ross Boucher
56a739655f
A whole bunch of textfield and key event fixes.
2009-12-02 17:14:47 -08:00
Ross Boucher
558dbdc612
Some documentation. Eventually I will rewrite all of the key event stuff to work like Google Closure using this documentation
2009-11-14 17:04:18 -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
Ross Boucher
a3a03d702c
Remove a few IE bugs.
2009-11-12 15:54:52 -08:00
Ross Boucher
742df0df82
Merge branch 'jake' of git@github.com:280north/cappuccino into jake
2009-11-12 11:24:47 -08:00
Ross Boucher
aaac5e429d
New textfield code that passes keyboard events through the standard mechanisms. Still broken in IE.
2009-11-12 11:24:23 -08:00
Francisco Ryan Tolmasky I
c3ac3ddd3f
A few fixes to drag and drop.
...
Reviewed by me.
2009-11-12 04:15:43 -08:00
Ross Boucher
95c3401640
Fix some old calls to _bridgeMouseEvent: which were not updated
2009-11-04 14:23:30 -08:00
Ross Boucher
93c90274b5
Updates for massaging a few key inputs.
2009-11-02 16:47:07 -08:00
Francisco Ryan Tolmasky I
0561f69c86
Made cancelTracking send a close menu event so that it doesn't behave passively.
...
Reviewed by me.
2009-10-22 19:58:34 -07:00
Francisco Ryan Tolmasky I
0af70c04a0
Fixed a bug where windows would not become visible again after closing their platform windows.
...
Reviewed by me.
2009-10-21 21:01:49 -07:00
Ross Boucher and Francisco Ryan Tolmasky I
1d76ac1b91
Addes initial support for window shadow styles.
...
Reviewed by tolmasky.
2009-09-30 07:03:55 +01:00
Ross Boucher
2e350f6bc5
Fix an accidental global in platformwindow
2009-09-20 10:36:30 -07:00
Michael Porter and Francisco Ryan Tolmasky I
7728d8abfb
Fix window maximise issue in Firefox
2009-09-16 15:23:42 -07:00
Francisco Ryan Tolmasky I
b21b08f899
Improved drag and drop.
...
Reviewd by me.
2009-09-16 00:27:56 -07:00
Francisco Ryan Tolmasky I
1862eacc27
Change frame setting behavior to match immediacy of Cocoa/GNUStep.
...
Reviewed by me.
2009-09-15 14:51:07 -07:00
Francisco Ryan Tolmasky I
1a7a07b51a
Fix for draggedView:endedAt:operation: giving 0,0 locations.
...
Reviewed by me.
2009-09-04 03:54:40 -07:00
Francisco Ryan Tolmasky I
2fbe026215
Further drawing fixes.
...
Reviewed by me.
2009-08-31 14:39:00 -07:00
Francisco Ryan Tolmasky I
2cf5b90183
Fixes for uncommon drawRect: bugs.
...
Reviewed by me.
2009-08-30 20:59:01 -07:00
Francisco Ryan Tolmasky I
35c1221905
Fixed a bug with HTML 5 and platform windows.
...
Reviewed by me.
2009-08-17 14:10:22 -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
0c9f247a82
Slight frame setting modification.
...
Reviewed by me.
2009-08-17 03:50:52 -07:00
Francisco Ryan Tolmasky I
ab8add681e
A number of fixes and improvements to the platform window subsystem.
...
Reviewed by me.
2009-08-17 03:50:51 -07:00
Francisco Ryan Tolmasky I
3f496f1a10
Fixed CPEvent returning a direct reference to its location (as opposed to a copy), and CPPlatformWindow doing geometry gymnastics instead of the well defined conversion methods on CPWindow.
...
Reviewed by me.
2009-08-03 01:47:33 -07:00
Francisco Ryan Tolmasky I
6a9804939e
More removal of "bridge".
...
Reviewed by me.
2009-07-27 22:43:01 -07:00
Francisco Ryan Tolmasky I
59bec06e6e
Removed CPDOMWindowBridge file.
...
Reviewed by me.
2009-07-27 12:06:07 -07:00
Francisco Ryan Tolmasky I
92594a7ef9
Removed references from CPWindow and CPPlatformWindow to CPDOMWindowBridge.
...
Reviewed by me.
2009-07-27 12:06:07 -07:00
Francisco Ryan Tolmasky I
fa5352ad40
Fix for drag and drop with platform windows.
...
Reviewed by me.
2009-07-27 12:06:07 -07:00