Commit Graph

3284 Commits

Author SHA1 Message Date
Ms2ger
f6f1990ef0 servo: Merge #4869 - Various layout cleanup (from Ms2ger:layout-unsafe); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1a47f176ffb059a7a3f29f94485859163cb1284b
2015-02-08 21:00:43 -07:00
Glenn Watson
2015f0954a servo: Merge #4859 - Fix page being removed too early. Fixes #3986 (intermittent failure) (from glennw:fix-3986); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 13b49ddf446871e7c544bd0b5d6457168c84de46

--HG--
rename : servo/tests/content/test_iframe_contentDocument.html.disabled => servo/tests/content/test_iframe_contentDocument.html
2015-02-08 08:51:43 -07:00
zertyuiop
8a38f5f0ae servo: Merge #4867 - libXcursor-devel in Fedora Prerequisites (from zertyuiop:master); r=kmcallister
Source-Repo: https://github.com/servo/servo
Source-Revision: aa5fecec5b2e7052891873f95f0d7bca5afb62a9
2015-02-07 12:00:43 -07:00
Manish Goregaokar
49c6598243 servo: Merge #4864 - Gonk upgrade (from Manishearth:gonkup1); r=larsbergstrom
This does a rustup to our current rustc.

Gonk now compiles, but doesn't run. Trying to fix this, but thought I'd PR my progress.

This needs a couple of things to work:

 - An override of time  (7f105d4dd2), with `timegm(struct tm *tm)`  from `src/time_helpers.c` commented out
 - An override of openssl (1a60bccb6a), with [this patch](http://hastebin.com/onovacofuj.diff)
 - An override of gl-rs (230e6c9ed6), with submodules updated. This is because the lockfile is messed up due to conflicting github and registry deps. While I could fix this by forking things, this goes away next rustup anyway (the deps all move to a common source), so I just worked around it with a clone.
 - Env vars similar to [this](http://hastebin.com/hawadubolu.bash)
 - After the last failed link step, run `../../mach rustc` with the same args (extracted from `../../mach cargo -v`), along with `-C link-args="$LDFLAGS -lGLESv2 -L $GONKDIR/backup-flame/system/lib/"`
 - (Steps for creating a B2G build [here](https://www.irccloud.com/pastebin/VG2lHBVP))

r? @larsbergstrom

(No need for a merge, just a check on the unsafe stuff would be fine)

Source-Repo: https://github.com/servo/servo
Source-Revision: 11edfdc9353362161b0ff9a654d61dccd1d438f0
2015-02-07 09:09:43 -07:00
Glenn Watson
d93ca71608 servo: Merge #4842 - Implement window.frameElement, change window.parent to make use of it (from glennw:window-frameelement); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: d0f61f4f85acda3da2f0bbcccc5949f185f94373
2015-02-07 04:51:41 -07:00
Simon Sapin
73c21f832d servo: Merge #4856 - Use the ToCss trait instead of Show for CSSOM serialization (from servo:tocss); r=jdm
r? @jdm

The in-progress Rust upgrade will go on top of this.

Source-Repo: https://github.com/servo/servo
Source-Revision: f5cb1690bfa20c1eccffe2f94a2155d2321e69fa
2015-02-06 17:21:42 -07:00
Ms2ger
13b8a682c5 servo: Merge #4862 - Cleanup script_task.rs (from Ms2ger:script_task); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 5436922169c79ea4cabcfabb195c7b732df8e74b
2015-02-06 05:18:44 -07:00
Ms2ger
200c888b80 servo: Merge #4836 - Implement an Unrooted smart pointer to replace JS when it is not traced (from Ms2ger:unrooted); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 7d32ece0bf3cdfbeb98e106ec6daca5a5f4385bc
2015-02-06 04:36:44 -07:00
Keith Yeung
b9550bc709 servo: Merge #4857 - Implemented Location.assign (from KiChjang:location-assign); r=jdm
Fixes #4841

Source-Repo: https://github.com/servo/servo
Source-Revision: f451291782030dd729e56372cf64b1a1412f9f6b
2015-02-06 03:45:44 -07:00
Ms2ger
7e13f9f843 servo: Merge #4860 - Fix warnings introduced in #4852 (from Ms2ger:warnings-4852); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 63f6601c133fcee9c598c474695e3c740a02820d
2015-02-06 03:06:44 -07:00
Shing Lyu
4c4a49bac3 servo: Merge #4702 - Bug #3219 - Assign hostfile using the HOST_FILE environment variable (from shinglyu:bug3219); r=jdm
This is a fix for bug #3219 . This patch allows the user to specify a disposiable hostfile using the `HOST_FILE` environment variable. Therefore, we can run tests on test servers without actually changing the system hostfile.

Source-Repo: https://github.com/servo/servo
Source-Revision: 237cdee9e462bc7b070d9fe1a7722ad961ff25c2
2015-02-05 20:30:45 -07:00
Adenilson Cavalcanti
8637f836b7 servo: Merge #4855 - Using the color helpers in CanvasPaintTask (from Adenilson:colorHelpersCanvas01); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 6d1c13ea1bc94fe9383da684c6ee0e22851750ec
2015-02-05 17:33:42 -07:00
Shreya Bastikar
42e76273cf servo: Merge #4854 - Support firing error events from a dedicated worker at the containing wo (from jdm:workererr); r=jdm
...rker object.

Rebased from #4537.

Source-Repo: https://github.com/servo/servo
Source-Revision: c360b75e1640d5329068cfdbaa560b63ed03b35f
2015-02-05 15:27:44 -07:00
Sagar Muchhal
e8dbf69dbc servo: Merge #4853 - Add console message support to devtools. Does not actually cause logging (from jdm:consoleapicall); r=jdm
... to occur in the remote console.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0d560806f8fd621c2744429ae534e93e1f2563cb
2015-02-05 14:45:45 -07:00
Prabhjyot Singh Sodhi
2d0843d484 servo: Merge #4851 - adding --release flag to mach run command (from psdh:release); r=mbrubeck
#4834

Source-Repo: https://github.com/servo/servo
Source-Revision: 149053c2a770f919538133350f9398510c998bcf
2015-02-05 13:18:47 -07:00
Sagar Muchhal
9b1f1b9c10 servo: Merge #4852 - Add flag to send live updates to devtools (from jdm:buffermessages); r=jdm
Rebased and squashed version of #4191.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0a2bde1b6ea97b68dfa0e62440dc92ef80fb1fd2
2015-02-05 12:36:45 -07:00
Keith Yeung
c9aac69d6b servo: Merge #4845 - Moved Location object from Window to Document (from KiChjang:location-in-doc); r=jdm
Fixes #4840

Source-Repo: https://github.com/servo/servo
Source-Revision: 5c02f8956d37d39f4482c570621ffa1c61a3f41c
2015-02-05 11:54:48 -07:00
Ms2ger
7f6a9f9591 servo: Merge #4850 - Remove the Deref implementation for Root (from Ms2ger:root-deref); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: d439c0d16d6ea1449d207858705d124e191ecc13
2015-02-05 10:51:50 -07:00
Josh Matthews
ef4e12da2f servo: Merge #4848 - Fix devtools implementation of downcastable actors. Fixes #4844 (from jdm:devtoolsoops); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: a938bdf9711e5e54d78b74c9446980f76b576958
2015-02-05 08:27:50 -07:00
Ms2ger
484ffd642c servo: Merge #4804 - Document the DOM (from Ms2ger:dom-docs); r=jdm
Please review carefully.

Source-Repo: https://github.com/servo/servo
Source-Revision: aae9bc2071966b3090e3dba96a8c5d4b6a93fc2c
2015-02-05 06:42:48 -07:00
Prabhjyot Singh Sodhi
19eaee7c4c servo: Merge #4838 - Parsing sandbox attribute on iframe elements (from psdh:local); r=jdm
#4601

Source-Repo: https://github.com/servo/servo
Source-Revision: 40c59724b2638fee3b9932eba1aa9f6ebd77b0cd
2015-02-04 16:06:46 -07:00
Glenn Watson
0fb02d59d2 servo: Merge #4811 - Implement window.parent for iframes (from glennw:window_parent); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 0beb070d482323889556276b122624a2b14cd08b
2015-02-04 15:24:50 -07:00
Josh Matthews
21a974a25d servo: Merge #4519 - Cookie support (from jdm:cookies); r=Ms2ger
As specified in http://tools.ietf.org/html/rfc6265. Requires https://github.com/servo/cookie-rs/pull/1. Tested against http://www.joshmatthews.net/cookie.php, http://www.html-kit.com/tools/cookietester/, https://github.com/login, and https://mobile.twitter.com/session/new .

Source-Repo: https://github.com/servo/servo
Source-Revision: 7e3f504d94ffb77ec6148166d2ab73978e1c71c8
2015-02-04 11:57:54 -07:00
Keith Yeung
18cd53c8d1 servo: Merge #4822 - Modified constellation key event handler to deal with missing frames (from KiChjang:constellation-frame-handling); r=jdm
Attempt at fixing #4795. Code has been written to check for the existence for the current frame, but it seems to pass the condition every time.

Source-Repo: https://github.com/servo/servo
Source-Revision: 58a3cdcbef30e04199d33dc83cea0ace3e2cfcf1
2015-02-04 10:06:56 -07:00
Adenilson Cavalcanti
e6257e95e3 servo: Merge #4832 - Implementing transparent_black() (from Adenilson:transparentBlack01); r=jdm
This patch set will implement a new helper function for transparent black, while changing the behavior of helper black() function returning opaque black by default.

It will also use the new Color equality operator to streamline the code in some points.

Source-Repo: https://github.com/servo/servo
Source-Revision: e14c569ed0cf42bae343e7ba9d9cb760e5733182
2015-02-04 04:21:49 -07:00
Gilles Leblanc
49f20e1f82 servo: Merge #4706 - Initialize trusted-ness of DOM events properly (from gilles-leblanc:issue-3740); r=jdm
Fixes #3740

Source-Repo: https://github.com/servo/servo
Source-Revision: e0d4fd35947d5ba80df26a4157c920b7b226d53d
2015-02-04 03:39:49 -07:00
Glenn Watson
9ee75ca55d servo: Merge #4830 - Load android OpenGL pointers (fixes #4824) (from glennw:android-gl); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: a766f1a7060d367ad1f564b2a0fcbd45c8accb63
2015-02-03 19:45:49 -07:00
Matt Brubeck
3b8af1ec2c servo: Merge #4826 - Add [no_link] attribute to plugins crate (from mbrubeck:cef_plugins); r=jdm
Fixes errors linking to our CEF embedding library. r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 95802fe8b372727572d0557cb783dc807dfe2c29
2015-02-03 19:03:50 -07:00
Ms2ger
9b7615b8a4 servo: Merge #4823 - Fix build warnings (from Ms2ger:warnings); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1e72608f5c1d96cfcabdd993d973f4580e2fdb54
2015-02-03 17:57:51 -07:00
Arpad Borsos
1cfeb000f6 servo: Merge #4815 - Lowercase DOM getters at compile time, fixes #4728 (from Swatinem:lowercasegetters); r=Manishearth
The implementation was copied directly from
https://github.com/rust-lang/rust/pull/16636
and updated for rust changes, so the credit goes to @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: 902c16497c40684930819693a7e90f0862eb7f56
2015-02-03 17:09:53 -07:00
Martin Robinson
fea2344e01 servo: Merge #4829 - Revert "Using Color equality operators to streamline code" (from servo:revert-4825-usingColorOperators01); r=jdm
Reverts servo/servo#4825

I merged this incorrectly via the big green button and busted the tree pretty badly. @Adenilson has committed to fixing the issue in rust-azure and then relanding this in a fixed state.

Source-Repo: https://github.com/servo/servo
Source-Revision: e48eb87eb40545f361c62d2e81118435430d0adb
2015-02-03 16:12:54 -07:00
Adenilson Cavalcanti
ac8c05d858 servo: Merge #4825 - Using Color equality operators to streamline code (from Adenilson:usingColorOperators01)
Source-Repo: https://github.com/servo/servo
Source-Revision: 728f723753da49261c03e8061b748432f4a00182
2015-02-03 11:12:44 -08:00
Alexandru Cojocaru
24ca70cf6f servo: Merge #4820 - add unwrap to send/recv calls (from servo:send-recv); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 8e6dcc7c26d88bb0452226ff8c34539e368e03d9
2015-02-03 11:24:53 -07:00
yodalee
c99d3e601b servo: Merge #4729 - Issue4534 form submission for button elements (from yodalee:issue4534-form-submission-for-button-elements); r=jdm
Sorry for the late PR for the issue #4534.
This issue is more complicated than I thought, I have to un-comment the Form-related attribute in Button element.
In the beginning, I modify the files in `bindings` directory, and it's ... generated files.
Hope I don't make something wrong.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2bfe5cfecdf00bb8bc0fbde957984d75fb1d1229
2015-02-03 10:40:01 -07:00
Ms2ger
819c89a677 servo: Merge #4818 - Use JS<Node> rather than TrustedNodeAddress in the HTML parser (from Ms2ger:tna-parser); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 45ebcf1df7b2b320502136731ae429eb5498fa43
2015-02-03 09:39:53 -07:00
Ms2ger
2d4d3b187f servo: Merge #4817 - Remove the to_js methods (from Ms2ger:to_js); r=jdm
They are unused.

Source-Repo: https://github.com/servo/servo
Source-Revision: bc448f158b73206c916cb0205ca9c5a59a70c37b
2015-02-03 08:18:52 -07:00
Maciej Skrzypkowski
270caf0882 servo: Merge #4816 - Added "-j" flag usage for building OpenSSL for android (from mskrzypkows:mskrzypkows_b); r=jdm
Sorry again the same pull request because I accidentally removed commit from branch.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3da41c2b16d84a8eb4c616b50124afd1252d1123
2015-02-03 07:09:52 -07:00
Ms2ger
156e13f462 servo: Merge #4814 - Correct the documentation comment syntax in layout_interface.rs (from Ms2ger:layout_interface-doc); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 32a807da82f93c8b4311f4b53d8252618ed425e9
2015-02-03 06:21:53 -07:00
Damien Lespiau
46dd9bcfc6 servo: Merge #4802 - Fix the fedora bzip2 dependency (from dlespiau:20150202-fedora-bz2-devel); r=jdm
The bzip2 devel package is bzip2-devel, not just bzip2. This fixes
linking on fedora machines:

  note: /usr/bin/ld: cannot find -lbz2
  collect2: error: ld returned 1 exit status

  error: aborting due to previous error
  Could not compile `servo`.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>

Source-Repo: https://github.com/servo/servo
Source-Revision: 2ae7ed327d0b442d32b01c1cf92c69bda2089111
2015-02-03 05:06:50 -07:00
Manish Goregaokar
115d2a2354 servo: Merge #4813 - Fix the fix of the fix for fixing docs (from Manishearth:fix-fix-fix-doc); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 4622961d01533fbc9c310c485c98546724be0eea
2015-02-03 04:21:50 -07:00
Manish Goregaokar
417e07e36b servo: Merge #4812 - Fix the fix for doc upload (from Manishearth:doc-fix-fix); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ff53354ba7716fadc7656891d7b0723a3730e890
2015-02-03 03:27:51 -07:00
Matthew Rasmus
7cd0fd06de servo: Merge #4783 - Fix 'inline-block' sizing issues (from mttr:inline_block_percentage); r=mbrubeck
The first commit fixes #3624, and the second commit fixes a bug uncovered by the first fix and caught by a reftest (according to CSS 2.1, inline-blocks should have the shrink-to-fit algorithm run on them when size is set to 'auto'). The two new reftests included here fail before the fix and pass afterwards.

Source-Repo: https://github.com/servo/servo
Source-Revision: 986f9cb5432dc51e37e0c47a4f430c0353c6dc75
2015-02-02 17:45:50 -07:00
Martin Robinson
6c95f2190b servo: Merge #4809 - Update to latest rust-layers (from mrobinson:rust-layers-update); r=glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 6eac20d84da2b5f0741a91b5af3907af56b009b0
2015-02-02 16:57:51 -07:00
Adenilson Cavalcanti
6317f67ce1 servo: Merge #4808 - Using color helpers in Compositor and PaintContext (from Adenilson:usingColorHelpers01); r=pcwalton
Using color helpers in Compositor and PaintContext (plus added TODO related to equality operators).

Source-Repo: https://github.com/servo/servo
Source-Revision: 99600726f3c25ed205b86a27c764887e0cc1a461
2015-02-02 15:54:52 -07:00
Manish Goregaokar
ad1e1db195 servo: Merge #4805 - Fix doc upload (from Manishearth:doc-upload); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 68ceb6323172ad1b914064cdc496f4c3a2699f76
2015-02-02 14:54:52 -07:00
Adenilson Cavalcanti
b201ec4863 servo: Merge #4790 - Implements 2 helper functions for Color type (white() and black()) (from Adenilson:colorOperatorsHelpers01); r=jdm
Implements 2 helper functions for Color type (white() and black()) plus uses the new equality operators implemented in rust-azure.

Source-Repo: https://github.com/servo/servo
Source-Revision: 685412ec488ab4336c71ea303b4a9a30f214a1a3
2015-02-02 14:03:57 -07:00
Keith Yeung
0bdad32b66 servo: Merge #4793 - Added error checking on XMLHttpRequest::setWithCredentials (from KiChjang:xhr-cred-check); r=Manishearth
Fixes #4665

Source-Repo: https://github.com/servo/servo
Source-Revision: 755adf0ddefb060007c0319655f994445aea4709
2015-02-02 08:57:53 -07:00
Ms2ger
f638baf1e4 servo: Merge #4799 - Mark HTMLAreaElement and KeyboardEvent as DOM structs (from Ms2ger:dom-structs); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 3286d2812a083aa4a081d888a40e86b0b12b5c20
2015-02-02 02:24:49 -07:00
Glenn Watson
4ba063a3b5 servo: Merge #4798 - Remove the glfw port (it doesn't compile since last rustup anyway) (from glennw:remove-glfw); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 896cdcb96a98d4b4858d24806ee67db6f63c9fb1
2015-02-02 01:30:50 -07:00
Ms2ger
55b0fac726 servo: Merge #4797 - Create mod.rs files for the dom and dom::bindings modules (from Ms2ger:mods); r=saneyuki
This gives us a better place to put DOM documentation, which I'd like to start
adding.

Source-Repo: https://github.com/servo/servo
Source-Revision: ccdf0bd65e415eff024e034519f733eeded32812
2015-02-01 01:36:49 -07:00