Commit Graph

3368 Commits

Author SHA1 Message Date
Prabhjyot Singh Sodhi
56b7bb7f35 servo: Merge #5012 - using opts::default_opts() in cef/core.rs (from psdh:defopts); r=jdm
Fixes #5002

Source-Repo: https://github.com/servo/servo
Source-Revision: 2271de3d5be0adbe6dcdcbfbbc480a3d39b8a321
2015-02-22 13:15:44 -07:00
Edit Balint
515ef0d463 servo: Merge #5020 - Implement Canvas pixel manipulation (from jdm:canvas); r=jdm
Rebase of #4639.

Source-Repo: https://github.com/servo/servo
Source-Revision: 287f390c4a56dd8c5960df699d45653227b25d6f
2015-02-22 11:48:46 -07:00
Ms2ger
a9f76e032c servo: Merge #5017 - Mark some unused arguments as unused in bindings (from Ms2ger:unused-args); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 3ea09bf2ea8db621107abbc8b358f1c0ce0ffea4
2015-02-22 10:15:47 -07:00
Ms2ger
3aa03cdd4e servo: Merge #5004 - Reindent handle_click_event (from Ms2ger:handle_click_event); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: e68d6d2924bf2f6f762e2dc50b75fc32c0eafe16
2015-02-22 09:36:46 -07:00
Ms2ger
2379d5a154 servo: Merge #5015 - Only unwrap the object once when finalizing (from Ms2ger:finalize); r=jdm
Previously, we had 'value' and 'this' locals, both storing a pointer to the
DOM object, for no good reason.

Source-Repo: https://github.com/servo/servo
Source-Revision: 92620c0a5f3bf01ddfb2f52fb89cdc467ff4a761
2015-02-22 08:36:49 -07:00
Prabhjyot Singh Sodhi
27cccf0267 servo: Merge #5011 - changin os.exit to sys.exit (from psdh:ossys); r=Manishearth
Fixes #5009

Source-Repo: https://github.com/servo/servo
Source-Revision: a5f52bf086fcb4ec4c3d22917b928ebd0997ff84
2015-02-21 13:42:45 -07:00
Prabhjyot Singh Sodhi
8e4c455bec servo: Merge #4956 - Fixing Intermittent failure in pages with timers (from psdh:interfail); r=jdm
Fixes #4923

Source-Repo: https://github.com/servo/servo
Source-Revision: f1f826544919b4fa7cdf4bf263abf0c0c1497f70
2015-02-21 12:51:44 -07:00
Ms2ger
959786fd9f servo: Merge #5007 - Remove unused imports (from Ms2ger:warnings); r=saneyuki
Source-Repo: https://github.com/servo/servo
Source-Revision: 939b13f436d2fc895cf8a57140b0bd50acc53a89
2015-02-21 11:33:46 -07:00
Ms2ger
0369e60ea1 servo: Merge #5006 - Cleanup ScriptTask::load (from Ms2ger:script_task); r=saneyuki
Source-Repo: https://github.com/servo/servo
Source-Revision: 31c8f97b4b493d828f1b96144772f3df1aff145b
2015-02-21 10:48:46 -07:00
yodalee
5da0bd9faa servo: Merge #5003 - update mozjs-sys to newest (from yodalee:update-mozjs-sys); r=Ms2ger
update mozjs-sys after rust-mozjs

Source-Repo: https://github.com/servo/servo
Source-Revision: d368d70f14474c5c0460d0d06f163c390cff60bd
2015-02-21 10:06:48 -07:00
Tetsuharu OHZEKI
d03a50553c servo: Merge #4997 - Move DocumentProgressHandler to document.rs (from saneyuki:doc); r=jdm
Fix #4987

Source-Repo: https://github.com/servo/servo
Source-Revision: b589735b47e0c8c9b008831a776a6db38b38cd5d
2015-02-21 09:24:47 -07:00
Keith Yeung
06a1188c2f servo: Merge #4939 - Script elements now fire async error events (fixes #4506) (from KiChjang:script-element-error-events); r=jdm
Fixes #4506

Source-Repo: https://github.com/servo/servo
Source-Revision: 0be6389158799a58a46564524004e827c5884296
2015-02-21 08:42:46 -07:00
Keith Yeung
da58e664b1 servo: Merge #4931 - Worker now fires errorevent when url fetching failed, fixes #4511 (from KiChjang:worker-error-event); r=jdm
Fixes #4511

Source-Repo: https://github.com/servo/servo
Source-Revision: 1ad9c678f7fbfaffe86a0f76904aaf5f5a3bbee2
2015-02-21 07:39:51 -07:00
Ms2ger
9c6ed590bc servo: Merge #5000 - Move gfx to libc from crates.io (from Ms2ger:libc-gfx); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: bc5eeb00a1874c7211d6a656871000f9352c2f40
2015-02-21 06:51:50 -07:00
Keith Yeung
624cc237e1 servo: Merge #4999 - Moved handle_click_event from script_task.rs to document.rs (from KiChjang:refactor-handle-click-event); r=jdm
Fixes #4983

Source-Repo: https://github.com/servo/servo
Source-Revision: aad6cc03b80c3ef88439c3dc68693ddcc941ecde
2015-02-21 05:42:53 -07:00
Ms2ger
6c5842988e servo: Merge #5001 - Remove the implementation of ToJSValConvertible for JS<T> (from Ms2ger:JS-to_jsval); r=jdm
It is unused and doesn't serve a purpose.

Source-Repo: https://github.com/servo/servo
Source-Revision: ea9b0909bdc240a064978accd0c092b8814945d4
2015-02-21 05:03:51 -07:00
yodalee
919ae8d751 servo: Merge #4998 - update mozjs and rust-mozjs to newest (from yodalee:update-mozjs-and-rustmozjs); r=Ms2ger
All javascript Typedarray supported.

Source-Repo: https://github.com/servo/servo
Source-Revision: b548fb8f58c03a7ebb6573049ec72a516eb9282d
2015-02-21 02:51:48 -07:00
Patrick Walton
150bdee4d8 servo: Merge #4994 - layout: Add an option to visualize parallel layout (from pcwalton:layout-tinting); r=pcwalton
r? @metajack

Source-Repo: https://github.com/servo/servo
Source-Revision: d26345f868e4261760ce204bdc383941e8f14621
2015-02-20 23:06:48 -07:00
Manish Goregaokar
12185fd3bc servo: Merge #4991 - Add ./mach build-gonk; unbreak gonk build; document (from Manishearth:gonkup); r=larsbergstrom
r? @larsbergstrom

cc @mwu

Source-Repo: https://github.com/servo/servo
Source-Revision: d326e75c5e0314903ed2d297dcb72e535c543c2f
2015-02-20 22:27:49 -07:00
Andreas Gal
e3a7b4c06d servo: Merge #4977 - Use cleaner StrokeOptions interface (from andreasgal:master); r=jdm
The new interface will be added by https://github.com/ser...vo/rust-azure/pull/145 (has to be merged first).

Source-Repo: https://github.com/servo/servo
Source-Revision: 991b47953197ef5311300145e7b3d6f249a3f6b5
2015-02-20 21:00:55 -07:00
Adenilson Cavalcanti
5558b61a79 servo: Merge #4995 - Actually print the contents of Flow Tree into console (from Adenilson:printFlowTree01); r=jdm
When executing servo with proper flags (i.e. --debug dump-flow-tree), it should print the flow tree. We had the code, but it was commented.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2eb71bda83c175ec4af9aca4e22b74ef7fea9097
2015-02-20 20:12:55 -07:00
Shing Lyu
0149b7729b servo: Merge #4870 - Bug 4236: Moved anchorelement click event to activation behaviour (from shinglyu:bug4236); r=jdm
Fixed bug #4236

Source-Repo: https://github.com/servo/servo
Source-Revision: 95cc1705cb2d795071ee454132a3d7d691f385ae
2015-02-20 19:00:54 -07:00
Ms2ger
b801182c59 servo: Merge #4993 - Move compositing to libc from crates.io (from Ms2ger:libc-compositing); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: d8c9f2b92fb4be83895c4fe43ede2d6e83d2c274
2015-02-20 18:21:51 -07:00
Simon Sapin
07b7b78232 servo: Merge #4988 - Do "computed value" calculation with a trait with an associated type (from SimonSapin:to_computed_value_associated_type); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: ab0cbbe3f398c89baa5d53f79b607d32fd9ee2ce
2015-02-20 17:42:52 -07:00
Prabhjyot Singh Sodhi
a4bd26f91d servo: Merge #4865 - implementing step 12 of 'prepare a script' algorithm (from psdh:prepscript); r=Ms2ger
#4176

Source-Repo: https://github.com/servo/servo
Source-Revision: e39e75865bdcef639b47a6a448a84cf2ca4894cf
2015-02-20 17:03:53 -07:00
Prabhjyot Singh Sodhi
a2572cb4f4 servo: Merge #4992 - ./mach cargo now cd's to servo dir if in root (from psdh:cargodir); r=Manishearth
Fixes #4976

Source-Repo: https://github.com/servo/servo
Source-Revision: ff10deb81415d2d1822166d1c0ca0d9f484f48c6
2015-02-20 16:24:53 -07:00
Josh Matthews
76adf3ce88 servo: Merge #4989 - Use platform-sized integers for textinput.rs (from jdm:textinputsizes); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: e8ade1e3d331a78921b3a7a3be2737a94b096ffa
2015-02-20 15:39:53 -07:00
awlnx
efc175ec27 servo: Merge #4958 - fixes issue #4103 (from awlnx:master); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: bc0e13a46db491b778f2ec47782d03282775eedc
2015-02-20 14:33:54 -07:00
Chris Manchester
d6b0936869 servo: Merge #4882 - Stringifiers (from chmanchester:stringifiers); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 172db80703fc19ff078f2f46fb299cadd99a483b
2015-02-20 13:01:02 -07:00
Ms2ger
8fa61151a1 servo: Merge #4979 - Audit ints and uints in script (from Ms2ger:audit-ints); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 276f74b1ddec9dfa4cb053eb0802f95bd5ed6b66
2015-02-20 07:09:54 -07:00
Ms2ger
88fd138436 servo: Merge #4978 - Use the try macro to initialize dictionaries (from Ms2ger:try-dicts); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 45a0e0e65c0d104c3e29f6521b11b4285cde58d2
2015-02-20 05:54:53 -07:00
Ms2ger
6f16c7dd57 servo: Merge #4975 - Move util to libc from crates.io (from Ms2ger:util-libc); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 0a4c8c0e4c0e8c94a82363b10971c99fc0d9abbc
2015-02-20 01:42:53 -07:00
Jack Moffitt
aaef4c20a3 servo: Merge #4969 - Added overlay for demoing parallel painting (from servo:parallel-paint-demo); r=glennw
You can enable this with `-Z show-parallel-paint`. The output looks like this:

![screenshot 2015-02-19 13 21 12](https://cloud.githubusercontent.com/assets/28357/6275199/7bd6e788-b83a-11e4-89cb-a74f360272f2.png)

Source-Repo: https://github.com/servo/servo
Source-Revision: 49ff6b2ccc43ab657814a1b4584122411a4b2acb
2015-02-19 16:21:57 -07:00
Ms2ger
7d0de0bb3d servo: Merge #4970 - Move layout to libc from crates.io (from Ms2ger:js-layout); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: f769626dd2e351c8b408b39bfac6f6cbd53581a9
2015-02-19 13:43:00 -07:00
Ms2ger
d434c04486 servo: Merge #4963 - Move js to libc from crates.io (from Ms2ger:js-libc); r=jdm
Requires https://github.com/servo/rust-mozjs/pull/136.

Source-Repo: https://github.com/servo/servo
Source-Revision: d94bd278a4a6e5ef38a9967be69ada0f1bf50f6d
2015-02-19 12:03:54 -07:00
Ms2ger
fbf983ef98 servo: Merge #4962 - Remove the libc feature gate from cef (from Ms2ger:cef-libc); r=jdm
As it depends on the crates.io libc crate, the feature gate doesn't apply.

Source-Repo: https://github.com/servo/servo
Source-Revision: e0af48426980dd067dba00c98d6c2e9b8ebe1695
2015-02-19 06:45:52 -07:00
Ms2ger
39813e1fef servo: Merge #4961 - Remove the Option<Self> arguments from IDLInterface (from Ms2ger:IDLInterface); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 1e2d6c5a2d6ffe54d610858d786cda421180cb63
2015-02-19 03:15:52 -07:00
Glenn Watson
92351aa8e2 servo: Merge #4951 - Change window title to reflect document title (from glennw:set-title); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: dc31d96f65246def19cb7a23f3a62795cd7344a1
2015-02-18 14:42:49 -07:00
thiagopnts
641741cfab servo: Merge #4943 - Remove warning (from thiagopnts:remove-warnings); r=gw
Remove warning from unused import

Source-Repo: https://github.com/servo/servo
Source-Revision: 25678f9c2f220fbbfaad61e3d3b53aa39428d53b
2015-02-18 14:00:58 -07:00
Prabhjyot Singh Sodhi
97ba6efd50 servo: Merge #4930 - Mach bootstrapping will sync modules (from psdh:sync); r=Manishearth
Fixes #4916

Source-Repo: https://github.com/servo/servo
Source-Revision: 5622366bc5d40e387114ad51fdfb3a321772351d
2015-02-18 13:18:50 -07:00
Prabhjyot Singh Sodhi
1468fc2d06 servo: Merge #4918 - Porting Gecko's JSToNativeConversionInfo changes to Servo's codegen (from psdh:conversion); r=Ms2ger
Fixes #4800

Source-Repo: https://github.com/servo/servo
Source-Revision: 2e4f343aeae23a0fd3d9c5307778dec9b2e8ea21
2015-02-18 12:15:56 -07:00
Prabhjyot Singh Sodhi
24d19afa21 servo: Merge #4877 - improving mach run error message in case of missing binaries (from psdh:imperror); r=jdm
#4874

Source-Repo: https://github.com/servo/servo
Source-Revision: b70e3cc5be5474cf3e45b7db251cf1ee494e26f1
2015-02-18 11:33:55 -07:00
Tetsuharu OHZEKI
79c9cf4a82 servo: Merge #4949 - XMLHttpRequestEventTarget should not be [NoInterfaceObject] (from saneyuki:xhr); r=jdm
Fix #4941

Source-Repo: https://github.com/servo/servo
Source-Revision: 554e1ee939187914c55aca9b3355fbdf20dd31c8
2015-02-17 10:45:52 -07:00
Ms2ger
057d7cb476 servo: Merge #4947 - Use rustc-serialize rather than the built-in deprecated serialize (from Ms2ger:serialize); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: afb152a8569953f730df564be2745c5a6302bf6f
2015-02-17 07:30:50 -07:00
Manish Goregaokar
051e813fd0 servo: Merge #4946 - Update to latest glutin (from Manishearth:glutin_up); r=gw
Also moves some of our deps away from rustc's libc and onto Crates libc.

Needs:

 - https://github.com/servo/rust-azure/pull/144
 - https://github.com/servo/rust-xlib/pull/35
 - https://github.com/servo/gleam/pull/14
 - https://github.com/servo/rust-layers/pull/151

Source-Repo: https://github.com/servo/servo
Source-Revision: 4ab928728e3d65ac4c6ca72cd6c8aa0c75fde33b
2015-02-17 00:18:49 -07:00
Nicholas Nethercote
60061c31b2 servo: Merge #4938 - Avoid bloom filter churn (from nnethercote:dont-clone-bloom-filter); r=Ms2ger
When a cached bloom filter is found during traversal, there are two
cases, both of which currently do unnecessary allocations. This patch
avoids these allocations. In the process, it renders correct two
previously-incorrect comments, and moves one of those comments into a
better spot.

While scrolling moderately fast all the way through the "Guardians of
the Galaxy" Wikipedia page, this patch (a) avoids 1.2 million calls to
`clone()` and (b) replaces 111,000 `BloomFilter::new()` calls with
`clear()` calls.

Source-Repo: https://github.com/servo/servo
Source-Revision: a45265231797355d08e891be360b2e10bd8df37b
2015-02-16 15:54:48 -07:00
Bryan Bell
931cd7e602 servo: Merge #4896 - When using glutin, set the mouse cursor (from bjwbell:mouse-cursor); r=glennw
r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: a848a00a1db2c57f59509efc4165d8e04e89bb53
2015-02-16 14:54:49 -07:00
Glenn Watson
4ddf1f39c5 servo: Merge #4934 - Fixes background-color calculation for iframes. Fixes #1248 (from glennw:fix-1248); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 6d2e840bf49f7d9d8022ab2566cfb641dd578a44
2015-02-16 14:06:52 -07:00
Glenn Watson
884bfec2ce servo: Merge #4937 - Support root element having percentage heights in layout (from glennw:pc-height); r=pcwalton
This allows using standard CSS techniques to place a footer at the bottom of the page.

Source-Repo: https://github.com/servo/servo
Source-Revision: c7d3ea1c6588512c62ce6688ad0e544dacccfb8f
2015-02-16 13:19:02 -07:00
Ms2ger
4e8c547103 servo: Merge #4936 - Replace the FooCast traits by structs (from Ms2ger:InheritTypes); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: ec42c01fba1188ef965ce9cbce59b22767c3c2fd
2015-02-15 17:18:48 -07:00