Ariya Hidayat
98c3034b4b
Get really ready for 1.8.1.
...
http://code.google.com/p/phantomjs/issues/detail?id=863
2013-01-05 10:32:03 -08:00
Ariya Hidayat
e9e0319765
Setup Vagrant to build Linux packages on CentOS 5.
...
The goal is to use old glibc so that it can reach more audience (in
particular, RHEL and CentOS users).
Also, we don't compress the executable (using UPX) so that it can be
inspected with ldd. Bonus: no more decompression overhead, faster
startup.
http://code.google.com/p/phantomjs/issues/detail?id=963
2013-01-05 10:30:20 -08:00
Ariya Hidayat
9196270a77
Get ready for the first patch version.
...
http://code.google.com/p/phantomjs/issues/detail?id=863
2012-12-31 15:49:52 -08:00
Ariya Hidayat
a2ffa972d1
Mac OS X: Fix possible crash when using some TrueType fonts.
...
This is just a workaround. We simply avoid removing the custom font
(intentionally leak it, a small price to pay) because otherwise it will
invalidate Qt's font cache, which in turns trigger the crash at
CoreText's CTFontCopyGraphicsFont.
http://code.google.com/p/phantomjs/issues/detail?id=690
2012-12-31 02:59:05 -08:00
Ariya Hidayat
350fb12ba6
ChangeLog: Add missing window.location fix.
...
http://code.google.com/p/phantomjs/issues/detail?id=863
2012-12-25 22:35:53 -08:00
Ariya Hidayat
5e3ca977e2
Unix packaging: Fix UPX detection for binary compression.
...
As pointed out by Cristian Ciupitu, our UPX detection logic was broken.
This is now fixed by using `type` to look for the executable.
http://code.google.com/p/phantomjs/issues/detail?id=928
2012-12-24 17:36:04 -08:00
Ariya Hidayat
804ddfc995
More 1.8 materials.
...
http://code.google.com/p/phantomjs/issues/detail?id=863
2012-12-21 08:51:10 -08:00
Ivan De Marino
5c153c872a
Importing GhostDriver v1.0.2.
...
Changes listed here: https://github.com/detro/ghostdriver/issues?labels=1.0.2&page=1&state=closed
2012-12-19 18:38:09 +00:00
Ariya Hidayat
638fbce7ad
Get ready for version 1.8.0.
...
http://code.google.com/p/phantomjs/issues/detail?id=863
2012-12-17 23:15:29 -08:00
Ariya Hidayat
8836398825
Generalize WebServer binary data handling into a real encoding support.
...
http://code.google.com/p/phantomjs/issues/detail?id=505
2012-12-17 23:12:48 -08:00
Sebastian Krzyszkowiak
f70a6ab4ee
Add test case for WebServerResponse::setEncoding
...
http://code.google.com/p/phantomjs/issues/detail?id=505
2012-12-17 19:27:19 -08:00
Sebastian Krzyszkowiak
78e72312dc
Implement WebServerResponse::setEncoding in order to allow binary encoding to be sent.
...
Fixes http://code.google.com/p/phantomjs/issues/detail?id=505
2012-12-17 19:27:06 -08:00
Ivan De Marino
302050e0ce
Fixing typo in GhostDriver 1.0.1
2012-12-17 19:15:43 -08:00
Ariya Hidayat
9a8b84a293
More changes for 1.8.
...
http://code.google.com/p/phantomjs/issues/detail?id=863
2012-12-16 23:16:37 -08:00
Ariya Hidayat
9c0888d54d
Fix potential hang in the example scripts due to missing exit() call.
...
Patch by Jônatas Pedraza <jonatas.nona@gmail.com> and Vivek Galatage
<vivekgalatage@gmail.com>.
http://code.google.com/p/phantomjs/issues/detail?id=922
2012-12-16 23:02:44 -08:00
David Burrows
15fe514025
Increase maximum number of redirects in line with modern browsers.
...
Modern browser mostly limit re-directs to 20. The current limit in PhantomJS is 10 which is not in line with most browsers. This patch is a simple increase of gMaxRedirections from 10 to 20.
http://code.google.com/p/phantomjs/issues/detail?id=849
2012-12-16 22:21:07 -08:00
qubird
f6a91a8813
New WebPage#setContent api - makes possible to specify location along with content
...
http://code.google.com/p/phantomjs/issues/detail?id=909
2012-12-16 15:43:10 -08:00
Ariya Hidayat
daae36c3ba
Some changes for 1.8.
...
http://code.google.com/p/phantomjs/issues/detail?id=863
2012-12-16 14:48:28 -08:00
fastclemmy
3b2a1c27a1
Update examples/pizza.coffee.
...
Guess the DOM has changed a little. No more class .address but an (incorrectly used) <address> tag instead. (same pull request as the vanilla JS example)
http://code.google.com/p/phantomjs/issues/detail?id=921
2012-12-16 14:20:57 -08:00
fastclemmy
8f14ef027e
Fix examples/pizza.js.
...
Guess the DOM has changed a little. No more class .address but an (incorrectly used) <address> tag instead.
http://code.google.com/p/phantomjs/issues/detail?id=921
2012-12-16 14:19:57 -08:00
Ivan De Marino
027aa93b18
Importing GhostDriver version `1.0.1`.
...
Changes are documented here:
https://github.com/detro/ghostdriver/issues?labels=1.0.1&state=closed .
https://github.com/detro/ghostdriver/issues/130
2012-12-16 13:55:58 -08:00
Ivan De Marino
f5652e5110
Fix "--webdriver-selenium-grid-hub" CLI parameter.
...
I had forgotten to update the option parsing code,
and the option was never picked.
Related issue: [GhostDriver #130 ](https://github.com/detro/ghostdriver/issues/130 ).
2012-12-13 23:45:54 -08:00
Vitaliy Slobodin
04b74f99fd
Enable WOFF file support.
...
Background:
WOFF format requires that WebKit should be compiled with zlib.
Related issues:
http://code.google.com/p/phantomjs/issues/detail?id=592
2012-12-12 21:42:58 -08:00
Jon Leighton
eb3c9caa6e
Upgrade to Qt 4.8.4
...
http://code.google.com/p/phantomjs/issues/detail?id=918
2012-12-12 21:42:45 -08:00
Jon Leighton
66ab9a1113
Fix memory leak on linux
...
We were previously adding the certificates on each instantiation of
NetworkAccessManager, causing memory consumption to grow unbounded.
I have also removed the Qt version check. It's unnecessary as we only
build against a fixed Qt version.
https://code.google.com/p/phantomjs/issues/detail?id=882
2012-12-12 21:25:26 -08:00
Vitaliy Slobodin
5eb0f64e6b
Fix window.location.
...
Description:
Web Page can't navigate to a relative url using the property 'window.location'.
Upstream bug:
https://bugs.webkit.org/show_bug.cgi?id=47978
Issues:
http://code.google.com/p/phantomjs/issues/detail?id=632
http://code.google.com/p/phantomjs/issues/detail?id=530
2012-12-12 17:03:37 +04:00
James M. Greene
31dd714a22
Added getters for the WebPage#onError and phantom.onError properties
...
Fixes http://code.google.com/p/phantomjs/issues/detail?id=910
2012-12-11 21:57:25 -08:00
Jon Leighton
487fbf3035
Enable multiple files to be uploaded to a file input
...
Obviously, the input must have the multiple attribute for this to work.
The API is:
page.uploadFile('#file_input', ['file1', file2'])
I haven't implemented support for multiple files in the page.filePicker
API because I couldn't work out how to get a return value of an array
of strings through the JS/C++ bridge.
https://code.google.com/p/phantomjs/issues/detail?id=256
2012-12-11 21:41:02 -08:00
James M. Greene
e8380e42d7
Added CoffeeScript examples where missing, minor other fixes
...
Added CoffeeScript examples where missing, minor other fixes such as spacing standardization (2 spaces is the standard in CoffeeScript via Ruby). Also a small set of minor JS example fixes and additional comments.
Fixes http://code.google.com/p/phantomjs/issues/detail?id=907
2012-12-06 14:29:37 -06:00
James M. Greene
4c285c419d
Removed an invalid spec file and an invalid spec include.
...
Fixes http://code.google.com/p/phantomjs/issues/detail?id=906
2012-12-06 08:27:55 -08:00
James M. Greene
f61635f2d4
Adding 'WebPage#close' calls where appropriate in example scripts.
...
Fixes http://code.google.com/p/phantomjs/issues/detail?id=903
2012-12-06 08:27:06 -08:00
James M. Greene
c9f9b5a14b
Added getters for all of the WebPage signal//callback handlers.
...
Fixes http://code.google.com/p/phantomjs/issues/detail?id=899
2012-12-05 23:43:50 -06:00
Ariya Hidayat
a777797942
Stub for 1.8 changes.
...
http://code.google.com/p/phantomjs/issues/detail?id=863
2012-12-04 08:41:40 -08:00
Jan Schaumann
94e1f40ad9
Add a spec file to allow creation of an rpm from the (previously built) binary.
...
http://code.google.com/p/phantomjs/issues/detail?id=897
2012-11-30 22:31:50 -08:00
Milian Wolff
fd653fe61f
Properly use bottom margin to calculate the footer height.
...
http://code.google.com/p/phantomjs/issues/detail?id=894
2012-11-29 13:42:18 +01:00
Ivan De Marino
4caa71a6b7
Importing latest GhostDriver, tag "1.0.0".
...
http://code.google.com/p/phantomjs/issues/detail?id=49
2012-11-27 08:00:45 -08:00
Ivan De Marino
ffa9fab316
Embedding GhostDriver into PhantomJS(!!!)
...
Finally. After so much work, this is finally a reality.
To launch PhantomJS in "Remote WebDriver mode":
```bash
$ phantomjs --webdriver=OPTIONAL_IP:OPTIONAL_PORT
```
Also, GhostDriver brings along support for Selenium Grid: now PhantomJS can register itself to a Selenium Grid HUB.
Just launch it in Webdriver Mode with the following extra options:
```bash
$ phantomjs --webdriver=OPTIONAL_IP:OPTIONAL_PORT --webdriver-selenium-grid-hub=http://url.to.selenium.grid.hub:port
```
http://code.google.com/p/phantomjs/issues/detail?id=49
2012-11-27 07:58:34 -08:00
Ivan De Marino
2dcccc8968
First import of `ghostdriver.qrc` & related files.
...
http://code.google.com/p/phantomjs/issues/detail?id=49
2012-11-27 07:58:13 -08:00
Vitaliy Slobodin
63dd36205f
Don't perform on-demand loading of root certificates on Linux
...
Description:
Qt is performing loading on-demand of root certificates on Linux, which causing SSL errors.
Issue:
http://code.google.com/p/phantomjs/issues/detail?id=882
2012-11-24 16:41:03 +04:00
Milian Wolff
2d778f687e
Repeat thead and tfoot when table contains page breaks.
...
This was already done in https://github.com/ariya/phantomjs/pull/211
but somehow got lost when the Qt source tree was imported.
Note that I even improved this patch a bit to also properly repaint
the borders of cells in thead/tfoot.
http://code.google.com/p/phantomjs/issues/detail?id=615
2012-11-22 15:39:07 +01:00
Milian Wolff
5c87852c32
Prevent page breaks in table rows.
...
This was part of a previous PhantomJS release but got reverted
when the Qt source tree was imported. See the old pull request
here: https://github.com/ariya/phantomjs/pull/211
http://code.google.com/p/phantomjs/issues/detail?id=880
2012-11-22 15:38:58 +01:00
Ivan De Marino
9ba13ba989
Implementing "goBack", "goForward" and "go".
...
Completing work for [Issue #808 ](http://code.google.com/p/phantomjs/issues/detail?id=808 ).
2012-11-18 16:11:25 -08:00
Vitaliy Slobodin
40a14b72b1
Restore dirty line logic in RenderInline::destroy.
...
WebKit upstream fix: http://trac.webkit.org/changeset/86060
WebKit upsteam bug: https://bugs.webkit.org/show_bug.cgi?id=60448
Related issues:
http://code.google.com/p/phantomjs/issues/detail?id=704
http://code.google.com/p/phantomjs/issues/detail?id=703
http://code.google.com/p/phantomjs/issues/detail?id=675
http://code.google.com/p/phantomjs/issues/detail?id=689
http://code.google.com/p/phantomjs/issues/detail?id=532
http://code.google.com/p/phantomjs/issues/detail?id=851
2012-11-14 11:28:58 -08:00
Ariya Hidayat
559afcd4e8
Bump the version.
...
http://code.google.com/p/phantomjs/issues/detail?id=863
2012-11-10 01:45:54 -08:00
Ariya Hidayat
59dbd77ef5
Ask for a confirmation before initiating the build.
...
Although it is mentioned in http://phantomjs.org/build.html , many people
are not aware this, they compile from source (even if a binary package
is available) and get shocked to realize the build takes ages.
The build script is thus modified to give the initial warning.
Unattended build is still possible, just use --confirm flag.
http://code.google.com/p/phantomjs/issues/detail?id=862
2012-11-10 00:11:14 -08:00
Ariya Hidayat
7b84e43a10
Merge remote-tracking branch 'JamesMGreene/ExposeProcessId'
2012-11-08 06:24:32 -08:00
James M. Greene
280305797e
Exposing the Process ID (PID) via the System module.
...
`require('system').pid` should return your PhantomJS instance's Process ID.
http://code.google.com/p/phantomjs/issues/detail?id=769
2012-11-06 11:49:55 -06:00
Ivan De Marino
eadb03a978
Adding "page.onFilePicker" callback.
...
This addresses [Issue #843 ](http://code.google.com/p/phantomjs/issues/detail?id=843 ).
Important: this doesn't change the ability to use
"page.uploadFile", that will keep working as expected.
2012-11-03 18:41:18 +00:00
Ivan De Marino
1fa9c04845
Reworking code related to Issue #800 .
...
This addresses [Issue #842 ](http://code.google.com/p/phantomjs/issues/detail?id=842 ).
2012-11-03 14:38:23 +00:00
Ivan De Marino
7c7d1f961c
Adding "date" detection to `detectType`
...
Addresses [Issue #800 ](http://code.google.com/p/phantomjs/issues/detail?id=800 )
2012-11-03 14:38:22 +00:00