Permalink
Commits on Jan 10, 2012
  1. 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
    committed Jan 8, 2012
Commits on Jan 3, 2012
  1. Fix linking on Windows

    mongoose needs symbols from Ws2_32.lib
    
    http://code.google.com/p/phantomjs/issues/detail?id=331
    aportale committed with Jan 3, 2012
Commits on Jan 1, 2012
Commits on Dec 30, 2011
  1. Changes for 1.4.1.

    committed Dec 30, 2011
  2. 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.)
    jonleighton committed with Dec 30, 2011
  3. 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:
    
      WebKit/webkit@931870c
    
    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
    jonleighton committed with Dec 30, 2011
  4. 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
    committed Dec 30, 2011
Commits on Dec 26, 2011
Commits on Dec 25, 2011
Commits on Dec 23, 2011
  1. 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
    committed Dec 23, 2011
  2. 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
    committed Dec 23, 2011
Commits on Dec 22, 2011
  1. 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
    committed Dec 22, 2011
Commits on Dec 21, 2011
  1. Merge branch 'master' into 1.4

    committed Dec 21, 2011
  2. Merge pull request #185 from Roejames12/master

    Last changes
    committed Dec 21, 2011
Commits on Dec 20, 2011
  1. Refer to 1.4 in the README.

    committed Dec 20, 2011
  2. Remove the complex example for WebServer module.

    The simpleserver should be a better starting point to learn the module.
    
    http://code.google.com/p/phantomjs/issues/detail?id=115
    committed Dec 20, 2011
  3. Some API changes in the WebServer module.

    Trying to match http://nodejs.org/docs/latest/api/http.html.
    
    For the server response:
    
      * Change writeBody to write
      * Change writeHeaders to writeHead
    
    For the request object, 'headers' is now an object containing all
    key-value pairs of the actual HTTP headers.
    
    'queryString' is folded into 'url' key.
    
    Non-standard keys in the request: isSSL, remotePort, remoteIP,
    remoteUser, are disabled in the mean-time (will be revisited after 1.4
    release).
    
    Implementation-wise, the request object is now a simple key-value pair
    using QVariant, as opposed to the heavy QObject instance.
    
    http://code.google.com/p/phantomjs/issues/detail?id=115
    committed Dec 20, 2011