- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
diff --git a/Source/WebKit/PlatformQt.cmake b/Source/WebKit/PlatformQt.cmake | |
index 909efc00dba..59f8f7eab45 100644 | |
--- a/Source/WebKit/PlatformQt.cmake | |
+++ b/Source/WebKit/PlatformQt.cmake | |
@@ -410,11 +410,19 @@ generate_header("${FORWARDING_HEADERS_DIR}/QtWebKit/QtWebKitDepends" | |
#endif | |
") | |
+if (MACOS_BUILD_FRAMEWORKS) | |
+ set(WebKit_INCLUDE_DESTINATION "${LIB_INSTALL_DIR}/QtWebKit.framework/Versions/5/Headers") |
diff --git a/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp b/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp | |
index b7f9447bc..b14c53e9f 100644 | |
--- a/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp | |
+++ b/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp | |
@@ -37,7 +37,7 @@ namespace WebCore { | |
// and 2 ready to re-fill the pipeline. | |
unsigned initializeMaximumHTTPConnectionCountPerHost() | |
{ | |
- return 6 * (1 + 3 + 2); | |
+ return 5000; |
diff --git a/qtbase/src/gui/painting/qcoregraphics.mm b/qtbase/src/gui/painting/qcoregraphics.mm | |
index 98fdd7f35e..c4fb8afc64 100644 | |
--- a/qtbase/src/gui/painting/qcoregraphics.mm | |
+++ b/qtbase/src/gui/painting/qcoregraphics.mm | |
@@ -72,17 +72,8 @@ CGImageRef qt_mac_toCGImageMask(const QImage &image) | |
image.bytesPerLine(), dataProvider, NULL, false); | |
} | |
-OSStatus qt_mac_drawCGImage(CGContextRef inContext, const CGRect *inBounds, CGImageRef inImage) | |
+void qt_mac_drawCGImage(CGContextRef inContext, const CGRect *inBounds, CGImageRef inImage) |
diff --git a/qtbase/src/network/access/qhttpnetworkconnection.cpp b/qtbase/src/network/access/qhttpnetworkconnection.cpp | |
index e6a15ccfc4..d635930bf7 100644 | |
--- a/qtbase/src/network/access/qhttpnetworkconnection.cpp | |
+++ b/qtbase/src/network/access/qhttpnetworkconnection.cpp | |
@@ -67,10 +67,10 @@ | |
QT_BEGIN_NAMESPACE | |
-const int QHttpNetworkConnectionPrivate::defaultHttpChannelCount = 6; | |
+const int QHttpNetworkConnectionPrivate::defaultHttpChannelCount = 1000; |
// `data` array contains 10 million random values | |
// and we want to a) determine whether or not a value is in the array, | |
// and b) determine the value before and after | |
// tell us how long a function takes to run | |
function profile(name, fn) { | |
console.log(`profiling ${name}`); | |
let start = new Date(); | |
let out = fn(); | |
out && console.log(out); |
Create a game in the style of Space Clicker / Clicking Bad (http://clickingbad.nullism.com/).
You start off, and you have an app running on one server. It's on fire.
You're working for a revenue-generating company (right? right?) so every request you serve makes you money. $10 CPM.
If you maintain good uptime and low response times, traffic will increase. Similar to production and distribution in Clicking Bad, you need both to make maximum revenue.
To bootstrap yourself, you can answer requests by hand by clicking (hence the "clicker" part) to more quickly get money and level up. You'll pretty quickly leave that part behind, though.
diff --git a/Source/WebKit/PlatformQt.cmake b/Source/WebKit/PlatformQt.cmake | |
index 30b1a377aed..c373b58d8b0 100644 | |
--- a/Source/WebKit/PlatformQt.cmake | |
+++ b/Source/WebKit/PlatformQt.cmake | |
@@ -387,20 +387,20 @@ install( | |
${KDE_INSTALL_INCLUDEDIR}/QtWebKit/${PROJECT_VERSION}/QtWebKit/private | |
) | |
-set(WEBKIT_PKGCONGIG_DEPS "Qt5Core Qt5Gui Qt5Network") | |
+set(WEBKIT_PKGCONFIG_DEPS "Qt5Core Qt5Gui Qt5Network") |
import Ember from 'ember'; | |
const { get, computed } = Ember; | |
function serialize(val) { | |
return JSON.stringify(val); | |
} | |
function deserialize(val) { | |
console.log('deserializing, this takes a long time...'); |
class Qtwebkit < Formula | |
desc "Full-featured qt port of the WebKit rendering engine" | |
homepage "https://github.com/annulen/webkit" | |
url "https://github.com/annulen/webkit/releases/download/qtwebkit-tp4/qtwebkit-tp4.tar.xz" | |
version "tp4" | |
sha256 "35fcf7e04742b040a072245d79f36d1486e63345a69f53e09408c6564d3bcf27" | |
revision 1 | |
# to be changed to https://github.com/annulen/webkit.git |