Commit Graph

505 Commits (da629874d3b6e8b2673e0c79a75ee723f60f8d1c)

Author SHA1 Message Date
Ariya Hidayat da629874d3 examples/feature.js: Show supported/unsupported features.
Feature detection is done via Modernizr.
2011-06-26 14:05:48 -07:00
Ariya Hidayat c6db0354ea Mac OS X: No need to build as an application bundle.
http://code.google.com/p/phantomjs/issues/detail?id=139
2011-06-26 00:03:18 -07:00
Ariya Hidayat cf23a5c6e3 Bump unstable version. 2011-06-25 23:59:16 -07:00
Ariya Hidayat 07f946d817 Merge pull request #93 from corgibytes/open-with-post-without-load-handler
Allow calling WebPage.open with HTTP verb, but without load handler
2011-06-25 22:09:07 -07:00
M. Scott Ford 1b67c2b8c4 Fixed issue with the open method that was preventing the use of POST unless a onLoadFinished handler was also passed in. 2011-06-26 00:07:07 -04:00
Ariya Hidayat f2d0a21330 Merge pull request #92 from Roejames12/master
localAccessRemote and HTML5 webapp cache
2011-06-24 18:52:23 -07:00
IceArmy 346f238d7f Enabled HTML5 Web App Cache. 2011-06-24 18:35:56 -07:00
IceArmy 64404a1902 Adding "--local-access-remote=[yes|no]".
* This will allow local content to access remote content, bypassing the same origin policy.
* It's controllable from the CLI and through the "page.settings" property
* This addresses Issue #28 but only partially: it's still not possible to make _remote content access other remote content on a different origin_.
2011-06-24 18:35:56 -07:00
Ariya Hidayat addcb36a2e Merge pull request #91 from detro/master
Curing _Commentitis_
2011-06-24 16:50:49 -07:00
Ivan De Marino 99310e2c47 Curing my _Commentitis_. 2011-06-25 00:16:57 +01:00
Ariya Hidayat 3ef660466d Merge pull request #89 from detro/master
Tweaks related to QWebSettings
2011-06-24 10:35:55 -07:00
Ivan De Marino 2895d096ab Adding "--local-access-remote=[yes|no]".
* This will allow local content to access remote content, bypassing the same origin policy.
* It's controllable from the CLI and through the "page.settings" property
* This addresses Issue #28 but only partially: it's still not possible to make _remote content access other remote content on a different origin_.
2011-06-24 15:57:55 +01:00
Ivan De Marino 0a2ec5f09f Sorting out the Page Settings Names into a unique source of truth (i.e. consts.h) 2011-06-24 15:51:01 +01:00
Ivan De Marino 9fa0a2c7ce Enabled HTML5 Web App Cache. 2011-06-24 15:28:17 +01:00
Ivan De Marino 6a56c53fba Sorted out a bit the global "QWebSettins".
More stuff to come: I'm working on Issue #28.
2011-06-24 14:54:31 +01:00
Ivan De Marino 40817dd525 Added "--version" and updated text in the usage text. 2011-06-24 14:17:54 +01:00
Ariya Hidayat 037e83d6cd Merge branch 'master' of github.com:ariya/phantomjs 2011-06-21 22:59:20 -07:00
Ariya Hidayat c6c039a953 Update ChangeLog file. 2011-06-21 22:58:50 -07:00
Ariya Hidayat b277e3a815 Merge pull request #88 from Roejames12/8064c294
Fix plugin loading path when program is frozen
2011-06-21 14:54:22 -07:00
IceArmy 8064c294b3 Fix loading plugins when program is frozen 2011-06-21 10:46:12 -07:00
Ariya Hidayat d3910f1efe Merge pull request #87 from dunkfordyce/master
youve got the wrong var name in examples/rasterise.jz
2011-06-21 08:23:03 -07:00
Ariya Hidayat 5436dac17b Merge pull request #86 from Roejames12/75b75722
Regenerate resources
2011-06-21 08:22:48 -07:00
Dunk Fordyce 42472aa92f fix page/phantom variable wrongness 2011-06-21 14:34:41 +01:00
IceArmy 75b757226f Regenerate resources 2011-06-21 00:07:16 -07:00
Ariya Hidayat 753ef864b9 Merge pull request #84 from corgibytes/fix-disconnect-this
Correctly disconnected event handler.
2011-06-20 23:59:32 -07:00
Ariya Hidayat 77414c0b0a Merge pull request #85 from Roejames12/master
Make sure phantom.exit() really exits.
2011-06-20 23:58:56 -07:00
IceArmy 49b630bd65 Make sure phantom.exit() really exits. 2011-06-20 23:54:03 -07:00
Ariya Hidayat 8094cdb4e7 Make sure phantom.exit() really exits.
Patch by Alessandro Portale.
2011-06-20 23:24:51 -07:00
M. Scott Ford 95a7650be8 Correctly disconnected event handler. 2011-06-20 18:55:05 -04:00
Ariya Hidayat baa4382de9 Merge pull request #83 from Roejames12/69b06da1
Revert "Exit program properly when we call phantom.exit"
2011-06-20 10:33:32 -07:00
Ariya Hidayat 3abb03d638 Build fix for Qt 4.5. 2011-06-20 10:26:32 -07:00
IceArmy 69b06da140 Revert "Exit program properly when we call phantom.exit" 2011-06-20 10:14:08 -07:00
Ariya Hidayat 7ba0d6964e Merge pull request #82 from Roejames12/master
Exit program properly when we call phantom.exit
2011-06-19 23:19:44 -07:00
IceArmy d29c6732b5 Pass source and lineNumber for console redirection.
onConsoleMessage callback can handle two (optional) arguments, e.g.

    page.onConsoleMessage = function (msg, lineNo, source) {
        ....
    };
2011-06-19 22:34:29 -07:00
IceArmy 1be23d0be9 Regenerate resources 2011-06-19 21:19:01 -07:00
IceArmy 3d0c56af40 Fix the last problem with setTimeout and setInterval 2011-06-19 21:18:14 -07:00
Ariya Hidayat 00810e98b3 Pass source and lineNumber for console redirection.
onConsoleMessage callback can handle two (optional) arguments, e.g.

    page.onConsoleMessage = function (msg, lineNo, source) {
        ....
    };
2011-06-19 21:06:27 -07:00
IceArmy 1fb67c49e7 Fix bug where output couldn't be piped/redirected 2011-06-19 18:40:44 -07:00
IceArmy c44838227d Fix bug where phantom.exit wouldn't exit properly 2011-06-19 17:26:39 -07:00
Ariya Hidayat 9931279ccc Remove unnecessary console redirection. 2011-06-19 15:28:58 -07:00
IceArmy 54478a1154 Use qWarning only if script isn't starting script 2011-06-19 14:00:04 -07:00
IceArmy 7a9e0c8599 Exit on start script error 2011-06-19 13:37:03 -07:00
IceArmy 56039cae7f Fix issue 131 - 'Properly exit page' causes changed stack trace 2011-06-19 02:49:13 -07:00
IceArmy 9a85d01687 Add newline to CSConverter.convert 2011-06-19 01:23:44 -07:00
IceArmy 11e29fe45c Regenerate resources 2011-06-19 01:23:01 -07:00
IceArmy 0e765f2a95 Exit program properly when we call phantom.exit
Previously, calling phantom.exit would set the exit code and finish running the
JavaScript until it was done, then exit the program with your code. Basically
it didn't actually exit the program. It caused many code fallthrough problems,
but is now fixed. :)
2011-06-19 01:20:45 -07:00
Ariya Hidayat f7ca056f1f Merge pull request #81 from Roejames12/master
Maintain consistency across error messages
2011-06-18 07:31:05 -07:00
IceArmy ff3eb34fc1 Maintain consistency across error messages 2011-06-18 00:27:59 -07:00
Ariya Hidayat 6e2b362850 Change scriptLookupDir to libraryPath. 2011-06-17 20:52:19 -07:00
Ariya Hidayat 12c81516cc Never continue if terminated is flagged. 2011-06-17 20:52:13 -07:00