Commit Graph

1264 Commits (1.6)

Author SHA1 Message Date
Ariya Hidayat 606371a39b Add the missing local storage change in Lavender.
http://code.google.com/p/phantomjs/issues/detail?id=598
http://code.google.com/p/phantomjs/issues/detail?id=300
2012-09-05 23:27:24 -07:00
Ariya Hidayat 25762ab5ba Better support for OS X Mountain Lion.
require('system').os.version should give "10.8 (Mountain Lion)".

http://code.google.com/p/phantomjs/issues/detail?id=688
2012-08-01 00:44:48 -07:00
Ariya Hidayat deff339b11 Qt: Detect Mountain Lion.
Upstream commit: http://qt.gitorious.org/qt/qt/commit/665355e0ba.

http://code.google.com/p/phantomjs/issues/detail?id=688
2012-08-01 00:44:38 -07:00
Ariya Hidayat 71effef372 Better support for Windows 8.
require('system').os.version should give "8" for Windows 8.

http://code.google.com/p/phantomjs/issues/detail?id=684
2012-07-29 23:46:19 -07:00
Ariya Hidayat 6cba85aad6 Qt: Support Windows 8.
Do not display "Qt: Untested Windows..." when running on Windows 8.

Upstream commit: http://qt.gitorious.org/qt/qt/commit/af7e859a3f.

http://code.google.com/p/phantomjs/issues/detail?id=684
2012-07-29 23:40:24 -07:00
Ariya Hidayat 7d0493f2aa Next in this branch if 1.6.2. 2012-07-29 23:36:55 -07:00
Ariya Hidayat 716ded0a0b detectsniff example: Fix usage text.
http://code.google.com/p/phantomjs/issues/detail?id=680
2012-07-25 01:38:54 -07:00
Ariya Hidayat fc35e69a12 Merge pull request #297 from jonleighton/fix_rpath
Fix RPATH in package.sh. Also fix the run script with --bundle-libs.
2012-07-25 01:35:57 -07:00
Jon Leighton de7402b444 Fix RPATH in package.sh. Also fix the run script with --bundle-libs. 2012-07-24 18:17:52 +01:00
Ariya Hidayat c856f13fec Changes for 1.6.1.
http://code.google.com/p/phantomjs/issues/detail?id=598
2012-07-21 13:48:59 -07:00
Ariya Hidayat 1cd2dd6b2a Use the new Twitter handle for the examples.
http://code.google.com/p/phantomjs/issues/detail?id=609
2012-07-15 11:25:34 -07:00
Ariya Hidayat 5bc517e2ba Some more info on X11-less. 2012-07-15 11:25:27 -07:00
Ariya Hidayat 0dbf8b77b9 Use the new Twitter handle. 2012-07-15 11:25:19 -07:00
Ariya Hidayat 90076f83e9 The next is version 1.6.1.
http://code.google.com/p/phantomjs/issues/detail?id=598
2012-07-15 11:20:49 -07:00
Ariya Hidayat c167a5ceb3 Windows: Link to multithreaded static run-time library.
As suggested by Alessandro, this gets rid of run-time requirement of MSVC
run-time library.

http://code.google.com/p/phantomjs/issues/detail?id=424
2012-07-15 03:44:18 -07:00
Ariya Hidayat eacba7e381 Isolate static Windows build to MSVC only.
http://code.google.com/p/phantomjs/issues/detail?id=424
2012-07-13 22:53:30 -07:00
Ariya Hidayat c118800752 Fix the right compiler define to isolate the static codec on Windows.
http://code.google.com/p/phantomjs/issues/detail?id=645
http://code.google.com/p/phantomjs/issues/detail?id=598
http://code.google.com/p/phantomjs/issues/detail?id=424
2012-07-13 22:48:37 -07:00
Ariya Hidayat 525ea65fec Isolate codec tricks to Windows for now.
http://code.google.com/p/phantomjs/issues/detail?id=645
http://code.google.com/p/phantomjs/issues/detail?id=598
http://code.google.com/p/phantomjs/issues/detail?id=424
2012-07-09 17:20:09 -07:00
Alessandro Portale f1fb653669 WIP: Get the PhantomJS+Qt build for MSVC working.
http://code.google.com/p/phantomjs/issues/detail?id=598
http://code.google.com/p/phantomjs/issues/detail?id=424
2012-07-09 06:32:20 -07:00
Jon Leighton a569d618f0 Deploy script improvements.
http://code.google.com/p/phantomjs/issues/detail?id=599

Squashed commit of the following:

commit 2cdcf8a47567f3c067958383843cccf858af531c
Author: Jon Leighton <j@jonathanleighton.com>
Date:   Sat Jul 7 19:37:38 2012 +0100

    Make lib-bundling/brandelf optional in deploy/package.sh

    This configuration has had some problems and we don't wish to use it in
    the official packages.

    Enable it with --bundle-libs.

commit 2a2155a4e1f5873aa8624859cead9d66750747f4
Author: Jon Leighton <j@jonathanleighton.com>
Date:   Sat Jul 7 19:24:40 2012 +0100

    notify user if upx is missing

commit 9656a99df0ff101150276dc88e0127f68041f617
Author: Jon Leighton <j@jonathanleighton.com>
Date:   Sat Jul 7 19:23:36 2012 +0100

    stripping symbols after upx probably doesn't work, reorder that

commit c5f425dc17069c89e7d2ff274309006c728ffab4
Author: Jon Leighton <j@jonathanleighton.com>
Date:   Sat Jul 7 19:17:07 2012 +0100

    fix logical fail
2012-07-09 06:31:25 -07:00
Jon Leighton 0cf71e3a9e Increase VM memory. Necessary for linking on 64-bit build.
http://code.google.com/p/phantomjs/issues/detail?id=599
2012-07-07 08:03:24 -07:00
Jon Leighton e944da9323 Fix remote inspector when building statically.
For some reason, it seems that checking CONFIG(static) inside
src/phantomjs.pro is not reliable. That caused the STATIC_BUILD define
not to be set, and hence Q_INIT_RESOURCE would never get called in
main.cpp.

Instead of using Q_INIT_RESOURCE, let's just compile the resources
directly into the phantomjs binary. This means we don't need to detect
whether Qt is linked statically or dynamically.

https://code.google.com/p/phantomjs/issues/detail?id=430
2012-07-07 08:00:50 -07:00
Ariya Hidayat 9720c499c0 Merge pull request #285 from jonleighton/deploy2-1.6
Deploy fixes
2012-06-29 07:48:17 -07:00
Jon Leighton d3e4c14b6d Use zip for the OS X package
Requested by @ariya, who was concerned that .tar.bz2 might be confusing to
OS X users who are not well-versed in UNIX.
2012-06-29 15:05:48 +01:00
Jon Leighton 24f53636a0 Fix the top-level folder name in the packaged symbol tarball. 2012-06-29 15:05:41 +01:00
Jon Leighton cffc41174c Fix symbols generation on Linux
We are linking against e.g. libQtCore.so.4 rather than
libQtCore.so.4.8.2, and this affects symbol generation. (I am not sure
if this changed at some point, but this change should make it generate
the correct symbol files regardless.)

Also makes it less dependent on the Qt version.
2012-06-29 15:05:30 +01:00
Jon Leighton 14d9c0cdde Don't build the deploy in debug mode.
Debug mode turns off all optimisations. This make PhantomJS considerably
slower.

Instead, we build in 'release' mode, but generate debugging symbols at
the same time.

This may present some problems analysing crashes, if the optimisations
make that difficult. However, in my testing I was able to get useful
debug output even with optimisations enabled. So we should see how we go
- if it becomes a problem we can produce seperate debug binaries with no
optimisations.

https://code.google.com/p/phantomjs/issues/detail?id=599
2012-06-29 15:05:11 +01:00
Ariya Hidayat 7971161dc4 ChangeLog fix: it's onPrompt and not onAlert.
Thanks to Ryuichi Okumura <okuryu@gmail.com> for the notice.

http://code.google.com/p/phantomjs/issues/detail?id=598
2012-06-26 08:17:41 -07:00
Ariya Hidayat e2295f805c Lavender.
http://code.google.com/p/phantomjs/issues/detail?id=598
2012-06-20 23:28:04 -07:00
Ariya Hidayat ffc594e264 Fix Twitter-related examples to work with the new site.
http://code.google.com/p/phantomjs/issues/detail?id=609
2012-06-20 22:54:20 -07:00
Ariya Hidayat 78b1e271d6 Merge branch 'master' into 1.6 2012-06-20 21:30:30 -07:00
Ariya Hidayat 9c05341698 Changes for Lavender.
http://code.google.com/p/phantomjs/issues/detail?id=598
2012-06-20 21:24:46 -07:00
Ariya Hidayat 8c46d6db83 Only compress with UPX if it's available.
Also, make sure we use the maximum compression level.

http://code.google.com/p/phantomjs/issues/detail?id=599
2012-06-20 21:18:37 -07:00
Ariya Hidayat e524157c81 Merge branch 'master' into 1.6 2012-06-20 09:06:25 -07:00
Ariya Hidayat 06e424b614 Merge pull request #278 from jonleighton/deploy
fix lib paths for dump-symbols.sh
2012-06-20 07:48:08 -07:00
Jon Leighton eca983cdda fix lib paths for dump-symbols.sh 2012-06-20 09:15:03 +01:00
Ariya Hidayat 7944013141 Merge branch 'master' into 1.6 2012-06-19 17:26:04 -07:00
Ariya Hidayat 959f8ca323 Merge pull request #277 from jonleighton/deploy
A couple of packaging script tweaks
2012-06-19 17:23:44 -07:00
Jon Leighton 7ff61604e3 use upx to compress binary on OS X 2012-06-19 23:49:06 +01:00
Jon Leighton d0ee703529 tweak/fix provision-vm.sh 2012-06-19 23:19:49 +01:00
Ariya Hidayat 1f685ec241 Set version to 1.6.0.
http://code.google.com/p/phantomjs/issues/detail?id=598
2012-06-19 06:58:19 -07:00
Ariya Hidayat 78d23935a5 Update CoffeeScript compiler to version 1.3.3.
http://code.google.com/p/phantomjs/issues/detail?id=496
2012-06-18 22:40:51 -07:00
Ariya Hidayat c68082e3b1 Undocument the callback mechanism.
This is private for now, see issue 133 for details.

http://code.google.com/p/phantomjs/issues/detail?id=133
2012-06-18 22:35:53 -07:00
Ariya Hidayat 23469d6cde Merge pull request #276 from jonleighton/breakpad
Breakpad / deploy stuff
2012-06-18 20:59:35 -07:00
Ariya Hidayat e5f695a0b4 Merge pull request #275 from jonleighton/stacktraces
Fix segfault when using e.g. console.error
2012-06-18 20:59:12 -07:00
Jon Leighton fe784b45e6 PhantomJS itself also needs to be build in debug mode.
https://code.google.com/p/phantomjs/issues/detail?id=599
2012-06-19 00:30:17 +01:00
Jon Leighton aa533a5659 ignore deploy/brandelf 2012-06-19 00:29:18 +01:00
Tom Stuart & Jon Leighton 5fa0202f29 Add breakpad support for Mac
This provides support for compiling the breakpad client into PhantomJS,
and generifies that Linux packaging scripts so that they also apply to
OS X and automate the symbol generation.

Building the Breakpad tool programs seems to be less than
straightforward on OS X, and documentation is poor. We have managed to
produce tools/dump-syms-mac.pro which allows building the dump_syms
program for dumping the debugging symbols. This needed a couple of
modifications to breakpad in order to compile successfully.

We have run out of time to work on making the minidump_stackwalk program
build. However, this is solely a developer tool and so it can wait until
after the 1.6 release before we complete this work.

Testing is welcome!

https://code.google.com/p/phantomjs/issues/detail?id=576
2012-06-19 00:28:37 +01:00
Jon Leighton 439a58eaee Fix segfault when using e.g. console.error
When console.error was called, there was a segfault because it was
treated as an uncaught exception, but did not have the correct stack
trace information (I am not sure why, but still...)

Now that we are generating the stackTrace in WebCore::reportException,
the MessageType gets set correctly, so we can use this to differentiate
between uncaught exceptions and other messages.

https://code.google.com/p/phantomjs/issues/detail?id=47
2012-06-18 23:43:50 +01:00
Ariya Hidayat c3c65df12d Merge pull request #273 from ferama/master
fix wrong pdf margins using custom header/footer
2012-06-18 06:53:29 -07:00