1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-09-11 12:55:33 +03:00
Commit Graph

1951 Commits

Author SHA1 Message Date
Tim Gates
da0ab54e1c docs: Fix simple typo, wihout -> without
There is a small typo in src/qcommandline/qcommandline.h.

Closes #15426
2020-05-12 20:24:04 -07:00
Vitaly Slobodin
cb1b04bb50 Replace NULL (or 0) with Q_NULLPTR 2020-01-16 07:16:06 -08:00
Vitaly Slobodin
a283cb4e55 Remove QSsl deprecation warnings 2020-01-10 10:02:14 -08:00
Vitaly Slobodin
36e2d94799 Remove OS2 icons and resources 2020-01-10 10:00:43 -08:00
Vitaly Slobodin
ec0f1a8dcd Remove QString::null deprecation warnings 2020-01-10 10:00:14 -08:00
Ariya Hidayat
1141321170 Initialize progress right away with QtWebKit 5.212 (#15342)
Apparently loading progress used to move beyond 0 right after the
frame start loading an URI, even before there is network traffic.

This behavior compatibility prevents the regression on the test
module/webpage/loading.js.
2020-01-09 16:55:21 -08:00
Vitaly Slobodin
4e8248d730 Remove astyle completely 2020-01-08 07:30:02 -08:00
Ariya Hidayat
be71ec28c9 CI to check for coding style (#15404) 2020-01-07 16:43:05 -08:00
Ariya Hidayat
699510fd48 Format the code using clang-format (#15404)
clang-format -i --style=WebKit src/*.h src/*.cpp
2020-01-07 16:40:13 -08:00
Ariya Hidayat
07243f4fe1 CI: Build on Windows using GCC via MinGW (#15405)
Currently it is disabled, due to broken QtWebKit on MinGW/MSYS2
(see #15405 for details)
2020-01-06 18:45:10 -08:00
Ariya Hidayat
9aa6177591 INSTALL: MinGW instruction (#15405) 2020-01-04 14:56:03 -08:00
Ariya Hidayat
0e3c01252e Fix building on Windows using MinGW (#15405) 2019-12-31 01:30:37 -08:00
Ariya Hidayat
8542540d09 Stale bot: bump the waiting time (#15395) 2019-12-31 01:20:09 -08:00
Ariya Hidayat
2b666c91f5 Add some tests for ES2015 features (#15402) 2019-12-31 01:17:35 -08:00
Ariya Hidayat
da8e2930a9 Issue auto-close: tweak the message (#15395) 2019-12-28 23:08:10 -08:00
Ariya Hidayat
b9211d7ffc CI with Azure Pipelines (#15403) 2019-12-28 21:36:29 -08:00
Ariya Hidayat
1ef877671f C++11 requires a space between literal and string macro (#15401) 2019-12-28 18:58:02 -08:00
Ariya Hidayat
42ce79b479 Remove code to deal with non-JavaScript support (#15401)
This was necessary long time ago when CoffeeScript was still supported.
Now it's time to get rid of the crufts.
2019-12-27 17:46:24 -08:00
Ariya Hidayat
5da14481bc Remove GhostDriver, thereby also built-in WebDriver support (#15399)
We don't carry an embedded copy of GhostDriver anymore.
2019-12-26 01:23:59 -08:00
Ariya Hidayat
bdaa9c8f83 Temporarily skip failing tests (#15342)
Due to some behavior differences in the latest QtWebKit, some tests do
not behave very well. Let's skip them while the issues are being
investigated.
2019-12-25 14:44:58 -08:00
Ariya Hidayat
f38e1ae158 Use the most up-to-date community QtWebKit (#15342) 2019-12-25 12:03:56 -08:00
Ariya Hidayat
e4a26a2cfe Use CMake build system (#15397) 2019-12-25 04:43:20 -08:00
Ariya Hidayat
10a3d932ab Adjust some API for the latest QtWebKit (#15341) 2019-12-25 04:43:19 -08:00
Ariya Hidayat
974393e737 Use system-installed Qt (#15341) 2019-12-25 04:43:19 -08:00
Ariya Hidayat
1c53215f8e Mark as version 3.0.0-development 2019-12-25 04:43:19 -08:00
Ariya Hidayat
8bfc658d45 Experiment with issue auto-closing (#15395) 2019-12-25 04:12:30 -08:00
Ariya Hidayat
c4b1a9ba34 [Windows] Compile fixes with MinGW 2019-11-29 10:29:16 -08:00
Vitaly Slobodin
3789743e2e [Linux] We need C++11 now 2019-11-29 10:29:16 -08:00
Vitaly Slobodin
88383c6199 [Linux] Override the default QPA platform plugin
Issue ##14061
2019-11-29 10:29:15 -08:00
Vitaly Slobodin
77e1fb9705 Remove deprecated files 2019-11-29 10:29:15 -08:00
Vitaly Slobodin
36a2995141 Remove deprecated files 2019-11-29 10:29:15 -08:00
jesg
09a4839091 update ghostdriver for phantomjs 2.5 (#14849)
* fix page load for phantomjs 2.5.0
* add unhandledPromptBehavior w3c capability
* add blacklist/whitelist filters
* fix sending keys to content editable elements
* fix file upload for phantomjs 2.5.0
* fix action chains with elements in iframes
* replace calls to execute_script with atoms
* add --remoteHost (@madhavajay)
* add w3c defaults for add cookie
* fix multiple file upload
* add w3c timeout defaults
* fix custom phantomjs headers
* add support for switch to parent frame (Chui Tey)
* add support for right click (Artur Signell)
* add zoomFactor capability
* fix reset log buffer after each post request
* fix registration with selenium grid
* fix memory leak in har log
* add limited support for loggingPrefs capability
* fix browser and har logs default to OFF
* various bug fixes

Issue #14553
2019-11-29 10:29:15 -08:00
Ariya Hidayat
b27247529a Update issue templates 2018-09-13 15:02:54 -07:00
Ariya Hidayat
466ae257a9 Notice on suspended development (#15344) 2018-06-02 01:39:05 -07:00
Zachary T Jones
9bbd1ab0a3 Update selector in useragent example to prevent TypeError
The DOM structure of the page that is retrieved by useragent.js
has changed since the example was last updated, and the selector
for the user agent value no longer exists. This causes a TypeError
to be output to the user when running the example. This updates
the example to use a selector that exists on the page.

https://github.com/ariya/phantomjs/issues/15392
2018-06-02 01:09:14 -07:00
Ariya Hidayat
c0944903c3 Use CircleCI to run build and tests (#13828)
Note that we have to disable the test of web server listening on port 1
since CircleCI executes everything with root privilige.
2018-03-09 00:10:16 -08:00
Annamalai
915b69224d Strict mode forbids implicit creation of global property (#14411) 2018-03-06 13:15:47 -08:00
Elias Winberg
95fdce45b9 Fix case-insensitive format for renderBase64 (#14361) 2018-03-06 13:15:35 -08:00
Ariya Hidayat
fc6ac9c33e [OS X] Allow building with custom OpenSSL library
Fixes #13932
2018-03-06 13:15:00 -08:00
Elan Ruusamäe
55d3c0f073 Update build.py to disable qtbase/qtwebkit unwanted features
Closes #14133
2018-03-06 13:14:48 -08:00
tntim96
7079696db6 Upgrade example to run with Jasmine 2.4.1
https://github.com/ariya/phantomjs/issues/14280
2018-03-06 13:14:26 -08:00
Andrew Murray
d77b8dde0a Fixed typo
Closes gh-14282
2018-03-06 13:14:10 -08:00
Ariya Hidayat
7f65284f60 Revert "Honor branch specified in .gitmodules"
This reverts commit cde33dc6fb.
2018-03-06 13:11:16 -08:00
Antonin Stefanutti
bfccbd65f2 Add support for capturing viewport when rendering images
Adds a new 'onlyViewport' option to the render API so that images can be captured
based on the viewport size when set to 'true' as opposed to being
captured as a page based on the content size when set to 'false'. The
'onlyViewport' option defaults to 'false' for backward compatibility.

Align on SlimerJS

Fixes #10619
2016-05-11 12:15:49 +02:00
Marc Epard
4ef5f27600 Test load-images=yes and load-images=no. 2016-05-07 00:50:20 +03:00
Osman Yuksel
0ba7bc8ef6 #13976 - 'global variables are forbidden in strict mode' issue fixed 2016-05-07 00:46:19 +03:00
Connor Dunn
7d7e5f345b Add support to render pdf to base64.
https://github.com/ariya/phantomjs/issues/11192
https://github.com/ariya/phantomjs/issues/12392
2016-05-07 00:35:26 +03:00
vitallium
d0388371cf Add/Remove CookieJar methods must return value
Consider CookierJar return a boolean value on
addCookie or removeCookie methods.

Issue: #14047
2016-04-11 21:31:05 +03:00
Vitaly Slobodin
2267b2643f Add issue template
Issue: #14016
2016-04-11 21:27:13 +03:00
Marc Epard
4f48c360c6 Increase memory available on Windows
Prevents Memory Exhausted problems in some cases. See #11390 et al.
2016-04-11 21:22:24 +03:00