Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSoC 2019 Webkit2 work #4

Open
wants to merge 44 commits into
base: haiku
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
2c1cc02
Import Haiku sources
pulkomandy Jan 28, 2021
defbe5d
Import Haiku sources: new files
pulkomandy Jan 28, 2021
cc34ddc
Fix build after merge.
pulkomandy Jun 15, 2019
6a05b63
RunLoopHaiku: fix indentation
pulkomandy Aug 3, 2019
a9fdabd
Webcore: remove unused Cordinated Graphics file from build.
pulkomandy Aug 3, 2019
a0ddfc3
Add an OSAllocatorHaiku
pulkomandy Aug 3, 2019
8e12da5
BSecureSocket: reimplement and make it work
pulkomandy Jul 3, 2019
37a0fb8
Fix management of include directories
pulkomandy Aug 3, 2019
9d779ec
FontPlatformData: simplify some code.
pulkomandy Aug 3, 2019
3b12f65
Build fixes cherry picked from webkit2 branch
pulkomandy Aug 15, 2019
e228eaa
Make ProcessID on Haiku an int32_t
pulkomandy Feb 24, 2019
5bcd5fe
Enable building WebKit2 (non-legacy)
RAJAGOPALAN-GANGADHARAN Feb 9, 2019
b791175
Configuring minibrowser build and execute [early stage]
RAJAGOPALAN-GANGADHARAN Mar 17, 2019
1d019d6
Initial implementation to load blank url and now trying to load html …
RAJAGOPALAN-GANGADHARAN Apr 5, 2019
c350f03
Process launching done succesffuly
RAJAGOPALAN-GANGADHARAN Apr 29, 2019
e7375c8
Added message handler to main run loop and made changes to webview st…
RAJAGOPALAN-GANGADHARAN May 2, 2019
6382b8f
ProcessLauncherHaiku: implement using BRoster::Launch
pulkomandy May 8, 2019
d08ef16
Add resources to WebProcess
pulkomandy May 9, 2019
b9b8bde
IPC for haiku
RAJAGOPALAN-GANGADHARAN May 12, 2019
9e71993
Fix build of webkit2 after rebase
pulkomandy Jun 14, 2019
82456bb
Enable logging with BeDC
RAJAGOPALAN-GANGADHARAN Jun 7, 2019
2c2632e
Fix webkit2 build after rebase
pulkomandy Jun 15, 2019
b00af9c
Adding the view to Minibrowser and adding few buttons
RAJAGOPALAN-GANGADHARAN Jun 8, 2019
a59bed5
Partial implementation of mouse events
RAJAGOPALAN-GANGADHARAN Jun 12, 2019
10fbda8
Widget and shared memory
RAJAGOPALAN-GANGADHARAN Jun 14, 2019
8f702a3
Fixed Shared Memory and Started Network Process implementation
RAJAGOPALAN-GANGADHARAN Jun 22, 2019
0c8a449
fix one instance of using a Webcore header with incorrect path
pulkomandy Aug 3, 2019
adf525b
Finish fixing the build.
pulkomandy Jun 25, 2019
3ba1998
Clenaup commits
RAJAGOPALAN-GANGADHARAN Jun 23, 2019
2932abe
More include paths/build fixes
pulkomandy Jun 26, 2019
4851b80
Fixed Few Network Process elements and State changers
RAJAGOPALAN-GANGADHARAN Jun 30, 2019
ba6e0cf
Redesign Minibrowser
RAJAGOPALAN-GANGADHARAN Jul 1, 2019
202fd7d
Enabling Coordinated Graphics
RAJAGOPALAN-GANGADHARAN Jul 19, 2019
63374f2
Started fixing bitmap memory problem
RAJAGOPALAN-GANGADHARAN Jul 22, 2019
826d07c
Fixed shareable bitmap to actually share bbitmap
RAJAGOPALAN-GANGADHARAN Jul 24, 2019
f8bb7a5
Backing store: fix uninitialized pointer
pulkomandy Jul 29, 2019
034de83
Fix a memory leak
pulkomandy Jul 29, 2019
139f794
Fix and re-enable WebKitLegacy
pulkomandy Jul 29, 2019
e34157b
Fixed Few Network Process elements and State changers
RAJAGOPALAN-GANGADHARAN Jun 30, 2019
61f22dc
Sizing and optimization
RAJAGOPALAN-GANGADHARAN Aug 5, 2019
784a736
Cleanup commit
RAJAGOPALAN-GANGADHARAN Aug 6, 2019
7b37a14
Added thread id for key and removed debug message also fixed spacing …
RAJAGOPALAN-GANGADHARAN Aug 8, 2019
2267042
Fixed indentation problems
RAJAGOPALAN-GANGADHARAN Aug 8, 2019
a0f5532
Easy API
RAJAGOPALAN-GANGADHARAN Aug 10, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ set(ALL_PORTS
AppleWin
Efl
GTK
Haiku
JSCOnly
Mac
PlayStation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html>
<html>
<head>
<style>
chatitem {
Expand Down Expand Up @@ -40,4 +40,4 @@
<span">https://tools.usps.com/go/TrackConfirmAction_input?
strOrigTrackNum=9405510200882644026532</span>
</messagebody></messagetext></message></chatitem>
</body></html>
</body></html>
2 changes: 1 addition & 1 deletion LayoutTests/fast/forms/resources/image-slow.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

# flush the buffers after each print
select (STDOUT);
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/html5lib/generate-test-wrappers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!env python
# Copyright (c) 2013 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

use CGI;
use HTTP::Date;
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/cache/resources/cache-simulator.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

use CGI;
use HTTP::Date;
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/cache/resources/current-time.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Content-type: text/plain\n";
print "\n";
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/cache/resources/echo-no-store.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Content-type: text/plain\n";
print "Cache-control: no-store\n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Content-type: text/html\n";
print "Cache-control: max-age=60000\n";
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/cache/resources/random-cached.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Content-type: text/javascript\n";
print "Cache-control: max-age=60000\n";
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/cache/resources/random-max-age.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Content-type: text/javascript\n";
print "Cache-control: max-age=0\n";
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/cache/resources/random.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Content-type: text/javascript\n";
print "Cache-control: no-store\n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "content-type: text/html\n";
print "\n";
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/cookies/resources/clearCookies.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -wT
#!perl -wT
use strict;

print "Content-Type: text/plain\n";
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/cookies/resources/getCookies.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -wT
#!perl -wT
use strict;

print "Content-Type: text/plain\n";
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/cookies/resources/setCookies.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -wT
#!perl -wT
use strict;

print "Content-Type: text/plain\n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Script to generate a Refresh header HTTP redirect

print "Status: 200 ok\r\n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Script to generate a Refresh header HTTP redirect

print "Status: 200 ok\r\n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Script to generate a 30x HTTP redirect (determined by the query parameter)

$REDIRECT_CODE = $ENV{'QUERY_STRING'} || '301';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

# flush the buffers after each print
select (STDOUT);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

# Flush STDOUT after each print.
select (STDOUT);
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/incremental/slow-utf8-html.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

# flush the buffers after each print
select (STDOUT);
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/incremental/slow-utf8-text.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

# flush the buffers after each print
select (STDOUT);
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/incremental/split-hex-entities.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

# flush the buffers after each print
select (STDOUT);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# http://trac.webkit.org/projects/webkit/changeset/7800
# rdar://problem/3829452 REGRESSION (156-157): onload handler doesn't run on page with meta refresh of 0 duration (new Apple start page)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/perl -w
#!perl -w

print "Status: 404 Not Found\n\n";
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Status: 404 Not Found\n";
print "Content-type: text/javascript\n\n";
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/local/slow-css-pass.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Content-type: text/css\n";
print "Cache-control: no-store\n\n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!python
# Copyright (C) 2013 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/media/resources/setCookie.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -wT
#!perl -wT
use CGI;

$query = new CGI;
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/media/video-accept-encoding.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

use strict;

Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/media/video-throttled-load.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

use strict;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -wT
#!perl -wT
use strict;

my $type = $ENV{'QUERY_STRING'};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

use CGI;
use HTTP::Date;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -wT
#!perl -wT
use strict;

print "Content-Type: \n\n";
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/misc/BOM-override.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Test that BOM can override whatever charset was set in Content-Type
# (this is not the behavior of Firefox, nor expected by any standard).

Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/misc/error404.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Simple script to generate a 404 HTTP error

print "Status: 404 Not Found\r\n";
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/misc/resources/BOM-override-2.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Test that BOM can override whatever charset was set in Content-Type
# (this is not the behavior of Firefox, nor expected by any standard).

Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/misc/resources/BOM-override-3.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Test that BOM can override whatever charset was set in Content-Type
# (this is not the behavior of Firefox, nor expected by any standard).

Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/misc/resources/image-slow.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

# flush the buffers after each print
select (STDOUT);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

# flush the buffers after each print
select (STDOUT);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Content-type: text/html\n\n";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Content-type: text/html\n\n";

Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/misc/resources/script-slow1.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

# flush the buffers after each print
select (STDOUT);
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/misc/resources/script-slow2.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

# flush the buffers after each print
select (STDOUT);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Content-type: text/javascript\n\n";
sleep(1.0);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Content-type: text/javascript\n\n";
sleep(0.5);
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/misc/resources/slow-image-load.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

use strict;

Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/misc/resources/slow-stylesheet.cgi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

print "Content-type: text/css\n\n";
sleep(0.5);
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/misc/resources/svg-slow.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

# flush the buffers after each print
select (STDOUT);
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/misc/resources/text-refresh.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Simple script to generate a redirect to a success document.

print "Content-type: text/plain\r\n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -wT
#!perl -wT
use strict;

print "Content-Type: text/javascript\nCache-Control: no-store\n\nwindow.pass='PASS'\;";
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/misc/xmltokenizer-do-not-crash.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!perl -w

# flush the buffers after each print
select (STDOUT);
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/navigation/resources/error404.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Simple script to generate a 404 HTTP error

print "Status: 404 Not Found\r\n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Simple script to that dumps the HTTP request method and all input parameters.

use CGI;
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/navigation/resources/form-target.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Simple script to that dumps the HTTP request method and all input parameters.

use CGI;
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/navigation/resources/frameset.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Simple script to generate a frameset, where the main frame is
# determined by a URL query parameter.
#
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/navigation/resources/postresult.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Simple script to generate a POST result.
#
# Depending on which button was pushed in the form, we either generate a direct
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl

$count = 1;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl

print "Status: 302 Moved Temporarily\r\n";
print "Location: redirect-cycle-1.pl\r\n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Simple script to generate a 302 HTTP redirect to a page that triggers a
# navigation back (only if POST is used).

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Simple script to generate a 302 HTTP redirect

print "Status: 302 Moved Temporarily\r\n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Simple script to generate a 302 HTTP redirect with http-equiv=refresh

print "Status: 302 Found\r\n";
Expand Down
2 changes: 1 addition & 1 deletion LayoutTests/http/tests/navigation/resources/redirect302.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl
# Simple script to generate a 302 HTTP redirect

print "Status: 302 Moved Temporarily\r\n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!perl

print "Content-type: text/plain\r\n";
print "\r\n";
Expand Down
Loading