Skip to content

Instantly share code, notes, and snippets.

View noamr's full-sized avatar

Noam Rosenthal noamr

View GitHub Profile
Process: QtTestBrowser [80776]
Path: /Users/USER/*/QtTestBrowser
Identifier: QtTestBrowser
Version: ???
Code Type: X86-64 (Native)
Parent Process: bash [710]
User ID: 501
Date/Time: 2013-02-26 13:54:39.857 +0100
OS Version: Mac OS X 10.8.2 (12C3006)
commit 9d43fe8d9d79a4d7b7c9cc4953aa465df8a26ed2
Author: Noam Rosenthal <noam@webkit.org>
Date: Tue Apr 9 14:50:43 2013 +0200
WIP overlap clipping
diff --git a/LayoutTests/compositing/overlap-blending/nested-overlap-outline.html b/LayoutTests/compositing/overlap-blending/nested-overlap-outline.html
new file mode 100644
index 0000000..4c14f0a
--- /dev/null
commit 6e51e92330b7d1bc792578fc492c912f82339d59
Author: Noam Rosenthal <noam.rosenthal@nokia.com>
Date: Wed May 29 11:56:59 2013 +0200
Added scene locking capability
Added two functions, WKCoordinatedSceneLockState and WKCoordinatedSceneUnlockState.
Those should be called e.g. by responding to didStartProvisionalLoadForFrame or
didSameDocumentNavigationForFrame, to ensure that the state of the scene stays
the same as it was before the load until it is unlocked.
diff --git a/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp b/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
index a0e916f..f173da7 100644
--- a/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
+++ b/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
@@ -954,11 +954,11 @@ Color CoordinatedGraphicsLayer::tiledBackingStoreBackgroundColor() const
return contentsOpaque() ? Color::white : Color::transparent;
}
-PassOwnPtr<GraphicsContext> CoordinatedGraphicsLayer::beginContentUpdate(const IntSize& size, uint32_t& atlas, IntPoint& offset)
+bool CoordinatedGraphicsLayer::paintToSurface(const IntSize& size, uint32_t& atlas, IntPoint& offset, CoordinatedSurface::Client* client)
diff --git a/Source/WebCore/platform/network/soup/ClientCertificateManager.cpp b/Source/WebCore/platform/network/soup/ClientCertificateManager.cpp
new file mode 100644
index 0000000..23d9e50
--- /dev/null
+++ b/Source/WebCore/platform/network/soup/ClientCertificateManager.cpp
@@ -0,0 +1,54 @@
+#include "config.h"
+#include "ClientCertificateManager.h"
+
+#include <wtf/text/CString.h>
<html>
<head>
<title>https://www.facebook.com</title>
<meta name="viewport" content="ya-title=#3b5998,ya-dock=#000000" />
<style>
* {
font-family: 'Helvetica Neue', Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif;
font-weight: bold;
}
input {
auto curl = curl_easy_init();
static const char* modes[] = { "collection", "monitoring", "lowPower", "fitness", "calibration"};
curl_easy_setopt(curl, CURLOPT_URL, (std::string("http://localhost:2700/tools/mode?mode=") + modes[mode]).c_str());
curl_easy_setopt(curl, CURLOPT_POST, 1);
curl_easy_perform(curl);
curl_easy_cleanup(curl);
auto curl = curl_easy_init();
static const char* modes[] = { "collection", "monitoring", "lowPower", "fitness", "calibration"};
auto url = std::string("http://localhost:2700/tools/mode");
LOGE("URL :%s %s", url.c_str(), modes[mode]);
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, modes[mode]);
curl_easy_perform(curl);
curl_easy_cleanup(curl);

Keybase proof

I hereby claim:

  • I am noamr on github.
  • I am noam (https://keybase.io/noam) on keybase.
  • I have a public key whose fingerprint is 60C9 4A24 FBBF F735 B6BC CB45 139C 5737 071D A45E

To claim this, I am signing this object:

FROM ubuntu:14.04
COPY vobadk.deb /tmp/
RUN apt-get update
RUN dpkg -i --force-depends /tmp/vobadk.deb
RUN apt-get -f -y install
ENTRYPOINT /usr/local/vobadk/bin/adk-controller