Alexander Ljungberg
f7fc669216
Fix missing 'self' in previous commit.
2011-03-06 11:51:20 -03:00
Alexander Ljungberg
7d6b7fd676
CPCoding fix, remove a log statement.
2011-03-05 22:56:49 -03:00
Alexander Ljungberg
2387cee799
Fixed: web view AppKit scrollbars often did not reflect the true content size of the view.
...
The reason for this is that the size changes as the page progressively loads, and this continues after the 'load' event fired. For now, we use a simple timer to poll the size a few times after loading. These polls are very bad for performance and battery life so we terminate them quickly, meaning that the underlying problem where the contents of the web view can get out of sync with its scrollbars fundamentally remains - this fix merely alleviates the problem.
2011-03-05 22:50:20 -03:00
Alexander Ljungberg
e214d49ea9
Change SOP error to a warning. Warn about problematic testing setup in CPWebViewTest.
2011-03-05 19:52:39 -03:00
Alexander Ljungberg
6f8d2190f5
Closes #1136 . Fixed: for the most part, web view's setScrollMode: message did nothing. New: automatic or explicit scroll mode selection in web views.
...
By default the automatic mode will try to use Cappuccino scrollbars whenever possible, and otherwise fall back on Native scrollbars. Explicit settings are also allowed. The explicit AppKit setting will degrade to Native with a warning if impossible due to implement due to SOP.
2011-03-05 19:45:39 -03:00
Alexander Ljungberg
f2c53c9f52
Documentation tweaks.
2011-01-24 14:00:15 -03:00
Stephen Ierodiaconou
6a942630e4
Fixing spelling mistakes
2011-01-24 11:05:48 +02:00
Randall Luecke
b6119a763e
Docs for CPWebView.
2011-01-23 19:05:02 -05:00
Francisco Ryan Tolmasky I
1cbaea0e3d
Further capp_linting - removing accidental global.
...
Reviewed by me.
2010-12-02 12:11:57 -08: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
Paul Baumgart
01852d8075
Fix a bunch of missing @imports.
...
All classes (excluding the ones prefixed with underscores) in Foundation
and AppKit can now be loaded individually except CPOpenPanel and
CPSavePanel. These two classes have some sort of dependency cycle
that seems impossible to resolve without forward declarations (which
we don't have).
2010-10-05 15:54:25 -07:00
Alexander Ljungberg
c851522536
Fixed: if the CPWebView iframe was destroyed before its HTML loader timer fired, an error would occur.
2010-08-12 23:36:25 -04:00
Francisco Ryan Tolmasky I
ac81ab458c
Fix for same html appearing multiple times in CPWebView when using loadHTMLString: many times in succession.
...
Reviewed by me.
2010-05-12 18:41:14 -07:00
Ross Boucher
23b76874df
A few IE fixes for web view.
2010-05-12 18:23:33 -07:00
Ross Boucher and Randall Luecke
e68d70cf1d
Make mouse wheel events work in CPWebView in Firefox 3+
2010-05-09 21:46:02 -05:00
Ross Boucher
90975c96f9
Updates for scrolling behavior in webview.
2010-05-05 14:05:09 -07:00
Randall Luecke
50c519ec69
Fixed issue with CPWebView where document.body didn't exist when reloaded quickly.
2010-05-03 17:34:12 -04:00
Ross Boucher
44d6139db2
Fix for some resizing issues in CPWebView.
2009-12-03 17:39:44 -08:00
Ross Boucher
850125b8ab
Add documentation groups
2009-05-18 15:43:36 -07:00
Francisco Tolmasky
77c2ab3822
Fix for webview being broken (-window returnign domwindow isntead of cpwindow).
...
Reviewed by me.
2009-05-11 03:20:05 -07:00
Francisco Tolmasky
a25ffe0899
Temporary fix for webview white background.
...
Reviewed by me.
2009-02-23 20:34:13 -08:00
Tom Robinson
0e3ead62fb
CPWebView resize fixes (sorta)
2009-02-21 21:57:53 -08:00
Tom Robinson
49e4e8e2fd
Auto select scrollbar mode in CPWebView
2009-02-21 01:48:48 -08:00
Tom Robinson
8bdd8258be
CPWebView support for CPScrollView scrollbars
2009-02-21 01:23:08 -08:00
Francisco Ryan Tolmasky I
6d27e5d0f8
Added DOM protections to CPControl and CPWebView.
...
Reviewed by me.
2009-01-14 19:22:34 -08:00
Tom Robinson
7a3fab1d6d
Numerous improvements and nib2cib support for CPControl, CPSlider, CPTextField, CPWebView, etc.
...
Fixed broken @accessors preprocessing.
2008-10-27 04:54:43 -07: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
Tom Robinson
6c7ee733fc
Initial commit of CPWebView
2008-09-13 01:07:22 -07:00