1030 Commits

Author SHA1 Message Date
Ariya Hidayat 5322ee9681 Make sure POST works.
With Qt 4.8, POST request with an empty content type will make the
content type set to "application/octet-stream". Somehow this breaks
POST.

The fix is to set the content type to "application/x-www-form-urlencoded",
like the case with Qt 4.7.

Based on the suggestion by Leo Franchi.

http://code.google.com/p/phantomjs/issues/detail?id=337
2012-01-10 08:28:20 -08:00
Alessandro Portale b31a43559f Fix linking on Windows
mongoose needs symbols from Ws2_32.lib

http://code.google.com/p/phantomjs/issues/detail?id=331
2012-01-03 07:42:23 -08:00
Ariya Hidayat 5842899594 Adjust the test for version 1.4.1. 1.4.1 2011-12-31 21:05:10 -08:00
Ariya Hidayat 68ad1c2c6e Changes for 1.4.1. 2011-12-30 08:31:36 -08:00
Jon Leighton ecfcbec668 Add a test for file upload support 2011-12-30 08:24:49 -08:00
Jon Leighton 8521d197a0 Ignore source files in the deploy/ directory 2011-12-30 08:24:45 -08:00
Jon Leighton 8c372d6500 Make linux build script use the Qt 4.8.0 tarball.
Also make it always put the files in deploy/, regardless of where the
script is run from. (So use can run deploy/build-linux.sh from the root
directory.)
2011-12-30 08:24:34 -08:00
Jon Leighton 4e98c09488 Fix file upload on Qt 4.8.
Code was added to WebKit to detect whether the click event on the file
input element is triggered by user action or by a script. If it's by a
script, the event is ignored. This prevented us from simulating a click
on the element.

This fix just patches WebKit to remove the detection.

The relevant WebKit commit is:

  https://github.com/WebKit/webkit/commit/931870c11b2a4d0b714eea241db5654d9d8cf6a7

The associated WebKit bug is:

  https://bugs.webkit.org/show_bug.cgi?id=47593

Our bug is:

  http://code.google.com/p/phantomjs/issues/detail?id=307&q=upload

Conflicts:

	deploy/build-mac.sh
2011-12-30 08:24:22 -08:00
Ariya Hidayat ea95d57af2 Workaround to prevent WebCoreMovieObserver confusion.
The solution is for the static build script to disable QuickTime video.
In many cases, video support for a headless engine is not so useful.

http://code.google.com/p/phantomjs/issues/detail?id=321
2011-12-30 07:29:14 -08:00
Ariya Hidayat 9997b8740f Prepara 1.4 branch for 1.4.1 bug fix release. 2011-12-30 07:28:09 -08:00
Will d730b3187b Allow proxy type to be set on the command line.
http://code.google.com/p/phantomjs/issues/detail?id=266
2011-12-26 13:15:41 -08:00
Ariya Hidayat 5564ae06e7 Don't display debugging and warning messages.
http://code.google.com/p/phantomjs/issues/detail?id=323
2011-12-25 03:35:43 -08:00
Ariya Hidayat cbc9be0a7f Don't create window.WebServer.
It was done for WebPage for backward compatibility and it would be
removed in the future, so don't do it for WebServer.

http://code.google.com/p/phantomjs/issues/detail?id=115
1.4.0
2011-12-22 21:34:47 -08:00
Ariya Hidayat 1ee0a4ce44 Mac build script: x86 only for better compatibility.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-12-22 21:20:52 -08:00
Ariya Hidayat fa4309e381 Mac build script: Make sure it's executable.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-12-22 17:33:58 -08:00
Ariya Hidayat 724d28863b Static build: Don't merge Mac and Linux script.
Apparently with Qt 4.8, static build on Linux does not work out of the
box so there is no need to merge the static build scripts.

Also, tweak some configure options.

http://code.google.com/p/phantomjs/issues/detail?id=142
http://code.google.com/p/phantomjs/issues/detail?id=197
2011-12-22 17:30:33 -08:00
Ariya Hidayat bfc16995b4 Linux build script: Keep to 4 parallel jobs at most.
http://code.google.com/p/phantomjs/issues/detail?id=197
2011-12-22 17:28:27 -08:00
Ariya Hidayat 3c13b9dca1 Static build script: Fix the build.
MIT SHM is needed on X11.
Local path is better passed directly to configure.

http://code.google.com/p/phantomjs/issues/detail?id=142
http://code.google.com/p/phantomjs/issues/detail?id=197
2011-12-22 09:32:35 -08:00
Ariya Hidayat c32d78747c Static build script: attempt to unify both Mac and Linux version.
http://code.google.com/p/phantomjs/issues/detail?id=142
http://code.google.com/p/phantomjs/issues/detail?id=197
2011-12-22 08:31:03 -08:00
Ariya Hidayat 62811468e4 Merge branch '1.4' of github.com:ariya/phantomjs into 1.4 2011-12-21 08:40:38 -08:00
Ariya Hidayat eb33e89e7a Merge branch 'master' into 1.4 2011-12-21 08:39:22 -08:00
Ariya Hidayat 93dd478370 Merge pull request #185 from Roejames12/master
Last changes
2011-12-21 08:37:14 -08:00
Ariya Hidayat 9ca1a4042c Mac build script: update to get Qt 4.8.0.
http://code.google.com/p/phantomjs/issues/detail?id=142
2011-12-21 07:59:39 -08:00
Ariya Hidayat 1e8b0a7336 WebServer: make sure status code is used for writeHead() function.
http://code.google.com/p/phantomjs/issues/detail?id=115
2011-12-21 07:59:39 -08:00
Ariya Hidayat f4f59b2319 WebServer: make sure status code is used for writeHead() function.
http://code.google.com/p/phantomjs/issues/detail?id=115
2011-12-21 07:56:09 -08:00