| | 1 | 2008-08-04 Maxime Britto <britto@apple.com> |
|---|
| | 2 | |
|---|
| | 3 | Reviewed by Eric Seidel. |
|---|
| | 4 | |
|---|
| | 5 | <rdar://problem/6118969> |
|---|
| | 6 | https://bugs.webkit.org/show_bug.cgi?id=19971 |
|---|
| | 7 | Modifiy the cursor interactively when on panning mode (middle click auto scroll) |
|---|
| | 8 | When the panning is in progress the cursor is an arrow representing the direction of the current scroll |
|---|
| | 9 | |
|---|
| | 10 | * page/EventHandler.cpp: |
|---|
| | 11 | (WebCore::EventHandler::autoscrollTimerFired): Before each scroll we actualize the cursor to match the current direction |
|---|
| | 12 | (WebCore::EventHandler::setPanScrollCursor): determines the direction of the upcoming scroll. |
|---|
| | 13 | (WebCore::EventHandler::handleMouseMoveEvent): |
|---|
| | 14 | * page/EventHandler.h: |
|---|
| | 15 | * platform/Cursor.h: Add propotypes for the new cursor functions |
|---|
| | 16 | * platform/gtk/CursorGtk.cpp: to avoid build break |
|---|
| | 17 | (WebCore::middlePanningCursor): |
|---|
| | 18 | (WebCore::eastPanningCursor): |
|---|
| | 19 | (WebCore::northPanningCursor): |
|---|
| | 20 | (WebCore::northEastPanningCursor): |
|---|
| | 21 | (WebCore::northWestPanningCursor): |
|---|
| | 22 | (WebCore::southPanningCursor): |
|---|
| | 23 | (WebCore::southEastPanningCursor): |
|---|
| | 24 | (WebCore::southWestPanningCursor): |
|---|
| | 25 | (WebCore::westPanningCursor): |
|---|
| | 26 | * platform/mac/CursorMac.mm: to avoid build break |
|---|
| | 27 | (WebCore::middlePanningCursor): |
|---|
| | 28 | (WebCore::eastPanningCursor): |
|---|
| | 29 | (WebCore::northPanningCursor): |
|---|
| | 30 | (WebCore::northEastPanningCursor): |
|---|
| | 31 | (WebCore::northWestPanningCursor): |
|---|
| | 32 | (WebCore::southPanningCursor): |
|---|
| | 33 | (WebCore::southEastPanningCursor): |
|---|
| | 34 | (WebCore::southWestPanningCursor): |
|---|
| | 35 | (WebCore::westPanningCursor): |
|---|
| | 36 | * platform/qt/CursorQt.cpp: to avoid build break |
|---|
| | 37 | (WebCore::middlePanningCursor): |
|---|
| | 38 | (WebCore::eastPanningCursor): |
|---|
| | 39 | (WebCore::northPanningCursor): |
|---|
| | 40 | (WebCore::northEastPanningCursor): |
|---|
| | 41 | (WebCore::northWestPanningCursor): |
|---|
| | 42 | (WebCore::southPanningCursor): |
|---|
| | 43 | (WebCore::southEastPanningCursor): |
|---|
| | 44 | (WebCore::southWestPanningCursor): |
|---|
| | 45 | (WebCore::westPanningCursor): |
|---|
| | 46 | * platform/win/CursorWin.cpp: Add specific icons for the panning as windows resizing icons are both sides arrows |
|---|
| | 47 | (WebCore::middlePanningCursor): |
|---|
| | 48 | (WebCore::eastPanningCursor): |
|---|
| | 49 | (WebCore::northPanningCursor): |
|---|
| | 50 | (WebCore::northEastPanningCursor): |
|---|
| | 51 | (WebCore::northWestPanningCursor): |
|---|
| | 52 | (WebCore::southPanningCursor): |
|---|
| | 53 | (WebCore::southEastPanningCursor): |
|---|
| | 54 | (WebCore::southWestPanningCursor): |
|---|
| | 55 | (WebCore::westPanningCursor): |
|---|
| | 56 | * platform/wx/CursorWx.cpp: to avoid build break |
|---|
| | 57 | (WebCore::middlePanningCursor): |
|---|
| | 58 | (WebCore::eastPanningCursor): |
|---|
| | 59 | (WebCore::northPanningCursor): |
|---|
| | 60 | (WebCore::northEastPanningCursor): |
|---|
| | 61 | (WebCore::northWestPanningCursor): |
|---|
| | 62 | (WebCore::southPanningCursor): |
|---|
| | 63 | (WebCore::southEastPanningCursor): |
|---|
| | 64 | (WebCore::southWestPanningCursor): |
|---|
| | 65 | (WebCore::westPanningCursor): |
|---|
| | 66 | |
|---|
| | 67 | 2008-08-02 Kevin Ollivier <kevino@theolliviers.com> |
|---|
| | 68 | |
|---|
| | 69 | Move to using constants in accordance with discussions about wx renderer commit. |
|---|
| | 70 | |
|---|
| | 71 | * platform/wx/RenderThemeWx.cpp: |
|---|
| | 72 | (WebCore::RenderThemeWx::minimumMenuListSize): |
|---|
| | 73 | (WebCore::RenderThemeWx::popupInternalPaddingLeft): |
|---|
| | 74 | (WebCore::RenderThemeWx::popupInternalPaddingRight): |
|---|
| | 75 | (WebCore::RenderThemeWx::popupInternalPaddingTop): |
|---|
| | 76 | (WebCore::RenderThemeWx::popupInternalPaddingBottom): |
|---|
| | 77 | |
|---|
| | 78 | 2008-08-02 Wouter Bolsterlee <wbolster@svn.gnome.org> |
|---|
| | 79 | |
|---|
| | 80 | Reviewed by Eric Seidel. |
|---|
| | 81 | |
|---|
| | 82 | * plugins/gtk/gtk2xtbin.h: |
|---|
| | 83 | |
|---|
| | 84 | https://bugs.webkit.org/show_bug.cgi?id=20034 |
|---|
| | 85 | Fix malformed Vim modeline. |
|---|
| | 86 | |
|---|
| | 87 | 2008-08-01 Dan Bernstein <mitz@apple.com> |
|---|
| | 88 | |
|---|
| | 89 | Reviewed by Dave Hyatt. |
|---|
| | 90 | |
|---|
| | 91 | - tweak a comment |
|---|
| | 92 | |
|---|
| | 93 | * platform/graphics/cg/ImageCG.cpp: |
|---|
| | 94 | (WebCore::BitmapImage::draw): |
|---|
| | 95 | |
|---|
| | 96 | 2008-08-01 Jan Michael Alonzo <jmalonzo@webkit.org> |
|---|
| | 97 | |
|---|
| | 98 | * ChangeLog: Fix date of previous commit (r35520) |
|---|
| | 99 | |
|---|
| | 100 | 2008-08-01 Marco Barisione <marco.barisione@collabora.co.uk> |
|---|
| | 101 | |
|---|
| | 102 | Reviewed by Eric Seidel. |
|---|
| | 103 | |
|---|
| | 104 | https://bugs.webkit.org/show_bug.cgi?id=19603 |
|---|
| | 105 | [SOUP] segfault when closing a file using gio |
|---|
| | 106 | |
|---|
| | 107 | Call client->didFinishLoading() only after releasing all the gio |
|---|
| | 108 | resources. |
|---|
| | 109 | |
|---|
| | 110 | * platform/network/soup/ResourceHandleSoup.cpp: |
|---|
| | 111 | (WebCore::closeCallback): |
|---|
| | 112 | (WebCore::readCallback): |
|---|
| | 113 | |
|---|
| | 114 | 2008-08-01 Anders Carlsson <andersca@apple.com> |
|---|
| | 115 | |
|---|
| | 116 | Reviewed by Jon. |
|---|
| | 117 | |
|---|
| | 118 | <rdar://problem/6120206> |
|---|
| | 119 | Crash when plug-in queries for NPPVpluginWantsAllNetworkStreams. |
|---|
| | 120 | |
|---|
| | 121 | Pass in a pointer to a void* to make sure that plug-ins don't overwrite the stack. |
|---|
| | 122 | |
|---|
| | 123 | * plugins/PluginStream.cpp: |
|---|
| | 124 | (WebCore::PluginStream::wantsAllStreams): |
|---|
| | 125 | |
|---|
| | 126 | 2008-08-01 Robin Dunn <robin@alldunn.com> |
|---|
| | 127 | |
|---|
| | 128 | Reviewed by Eric Seidel. |
|---|
| | 129 | |
|---|
| | 130 | Native rendering implementations for form elements in the wx port. |
|---|
| | 131 | |
|---|
| | 132 | https://bugs.webkit.org/show_bug.cgi?id=19069 |
|---|
| | 133 | |
|---|
| | 134 | * platform/wx/RenderThemeWx.cpp: |
|---|
| | 135 | (WebCore::RenderThemeWx::adjustRepaintRect): |
|---|
| | 136 | (WebCore::RenderThemeWx::paintButton): |
|---|
| | 137 | (WebCore::RenderThemeWx::paintTextField): |
|---|
| | 138 | (WebCore::RenderThemeWx::minimumMenuListSize): |
|---|
| | 139 | (WebCore::RenderThemeWx::adjustMenuListStyle): |
|---|
| | 140 | (WebCore::RenderThemeWx::paintMenuList): |
|---|
| | 141 | (WebCore::RenderThemeWx::adjustMenuListButtonStyle): |
|---|
| | 142 | (WebCore::RenderThemeWx::paintMenuListButton): |
|---|
| | 143 | (WebCore::RenderThemeWx::popupInternalPaddingLeft): |
|---|
| | 144 | (WebCore::RenderThemeWx::popupInternalPaddingRight): |
|---|
| | 145 | (WebCore::RenderThemeWx::popupInternalPaddingTop): |
|---|
| | 146 | (WebCore::RenderThemeWx::popupInternalPaddingBottom): |
|---|
| | 147 | |
|---|
| | 148 | 2008-07-30 David Hyatt <hyatt@apple.com> |
|---|
| | 149 | |
|---|
| | 150 | Improvements to selection drawing. |
|---|
| | 151 | |
|---|
| | 152 | Clip out floating and positioned objects when drawing selection so |
|---|
| | 153 | that there is no "double painting" of selection when the selection spans both the space behind the positioned/floating |
|---|
| | 154 | object and the positioned/floating object itself. Improves most Web pages. |
|---|
| | 155 | |
|---|
| | 156 | Do not paint left/right selection gaps if the object's edge is already outside the boundary (at a negative |
|---|
| | 157 | position). Significantly improves the look of selections on digg.com, since it uses giant negative text-indent. |
|---|
| | 158 | |
|---|
| | 159 | Reviewed by Dan |
|---|
| | 160 | |
|---|
| | 161 | Covered by existing selection pixel tests. |
|---|
| | 162 | |
|---|
| | 163 | * rendering/RenderBlock.cpp: |
|---|
| | 164 | (WebCore::RenderBlock::isSelectionRoot): |
|---|
| | 165 | (WebCore::RenderBlock::paintSelection): |
|---|
| | 166 | (WebCore::clipOutPositionedObjects): |
|---|
| | 167 | (WebCore::RenderBlock::fillSelectionGaps): |
|---|
| | 168 | (WebCore::RenderBlock::fillLeftSelectionGap): |
|---|
| | 169 | (WebCore::RenderBlock::fillRightSelectionGap): |
|---|
| | 170 | |
|---|
| | 171 | 2008-08-01 Timothy Hatcher <timothy@apple.com> |
|---|
| | 172 | |
|---|
| | 173 | Adds the ability to disable individual properties of a CSS rule. |
|---|
| | 174 | When hovering over a rule, checkboxes show up to the right of all |
|---|
| | 175 | properties and toggling a checkbox disables/enables the property. |
|---|
| | 176 | Behind the scenes the property is removed from the rule when disabled, |
|---|
| | 177 | but still remains in the list and in the computed style. When disabled |
|---|
| | 178 | the property has a line through it, and is faded in computed style. |
|---|
| | 179 | |
|---|
| | 180 | <rdar://problem/5712828> Support disabling individual CSS properties |
|---|
| | 181 | https://bugs.webkit.org/show_bug.cgi?id=14377 |
|---|
| | 182 | |
|---|
| | 183 | Reviewed by Adam Roben. |
|---|
| | 184 | |
|---|
| | 185 | * page/inspector/StylesSidebarPane.js: |
|---|
| | 186 | (WebInspector.StylesSidebarPane.prototype.update): Include the |
|---|
| | 187 | inline style when it also has disabled properties. Call |
|---|
| | 188 | deleteDisabledProperty for any property that is in the style, |
|---|
| | 189 | since it might have been added back by the page. Remember all |
|---|
| | 190 | disabled properties so they show up in computed style. |
|---|
| | 191 | (deleteDisabledProperty): Helper function to delete all the |
|---|
| | 192 | right properties that track disabled properties. |
|---|
| | 193 | (WebInspector.StylePropertiesSection): Add the computed-style |
|---|
| | 194 | class when the section is Computed Style. |
|---|
| | 195 | (WebInspector.StylePropertiesSection.prototype.onpopulate): |
|---|
| | 196 | Include disabled properties. |
|---|
| | 197 | (WebInspector.StylePropertyTreeElement): Added a disabled argument. |
|---|
| | 198 | (WebInspector.StylePropertyTreeElement.prototype.get/set disabled): |
|---|
| | 199 | Sets the _disabled property and calls updateState. |
|---|
| | 200 | (WebInspector.StylePropertyTreeElement.prototype.get priority): |
|---|
| | 201 | Return the priority of enabled or disabled properties. |
|---|
| | 202 | (WebInspector.StylePropertyTreeElement.prototype.get value): |
|---|
| | 203 | Return the value of enabled or disabled properties. |
|---|
| | 204 | (WebInspector.StylePropertyTreeElement.prototype.updateTitle): Use the |
|---|
| | 205 | priority and value getter. Append the checkbox for root elements of |
|---|
| | 206 | an editable section. |
|---|
| | 207 | (WebInspector.StylePropertyTreeElement.prototype.toggleEnabled): |
|---|
| | 208 | Add or remove properties from the rule and remember removed ones |
|---|
| | 209 | by adding three objects to the style: __disabledProperties, |
|---|
| | 210 | __disabledPropertyValues and __disabledPropertyPriorities. |
|---|
| | 211 | The __disabledProperties object will include all longhand |
|---|
| | 212 | properties of a shorthand for use by Computed Style. |
|---|
| | 213 | (WebInspector.StylePropertyTreeElement.prototype.updateState): |
|---|
| | 214 | Use the value getter. Update the disabled state. |
|---|
| | 215 | * page/inspector/inspector.css: |
|---|
| | 216 | * page/inspector/utilities.js: |
|---|
| | 217 | (Object.hasProperties): Added. Helper to test if an object |
|---|
| | 218 | has any properties. |
|---|
| | 219 | |
|---|
| | 220 | 2008-07-31 Anders Carlsson <andersca@apple.com> |
|---|
| | 221 | |
|---|
| | 222 | Reviewed by Darin. |
|---|
| | 223 | |
|---|
| | 224 | <rdar://problem/5949410> |
|---|
| | 225 | Add the ability to transfer a given application cache to a new database. |
|---|
| | 226 | |
|---|
| | 227 | * WebCore.base.exp: |
|---|
| | 228 | Export ApplicationCacheStorage::storeCopyOfCache. |
|---|
| | 229 | |
|---|
| | 230 | * loader/appcache/ApplicationCache.cpp: |
|---|
| | 231 | (WebCore::ApplicationCache::~ApplicationCache): |
|---|
| | 232 | Don't call cacheDestroyed for our special "copy" groups. |
|---|
| | 233 | |
|---|
| | 234 | * loader/appcache/ApplicationCacheGroup.cpp: |
|---|
| | 235 | (WebCore::ApplicationCacheGroup::ApplicationCacheGroup): |
|---|
| | 236 | (WebCore::ApplicationCacheGroup::~ApplicationCacheGroup): |
|---|
| | 237 | Add a "copy" flag to the ApplicationCacheGroup constructor. A "copied" group is special |
|---|
| | 238 | and can only be stored to disk. |
|---|
| | 239 | |
|---|
| | 240 | * loader/appcache/ApplicationCacheGroup.h: |
|---|
| | 241 | (WebCore::ApplicationCacheGroup::isCopy): |
|---|
| | 242 | New getter. |
|---|
| | 243 | |
|---|
| | 244 | * loader/appcache/ApplicationCacheStorage.cpp: |
|---|
| | 245 | (WebCore::ApplicationCacheStorage::store): |
|---|
| | 246 | Make sure to set the storageID when storing an application resource. |
|---|
| | 247 | |
|---|
| | 248 | (WebCore::ApplicationCacheStorage::storeNewestCache): |
|---|
| | 249 | Change this to return true/false depending on whether storing the cache succeeded or not. |
|---|
| | 250 | |
|---|
| | 251 | (WebCore::ApplicationCacheStorage::storeCopyOfCache): |
|---|
| | 252 | New method which stores a given cache in a new storage (database file). |
|---|
| | 253 | |
|---|
| | 254 | * loader/appcache/ApplicationCacheStorage.h: |
|---|
| | 255 | Add new methods. |
|---|
| | 256 | |
|---|