Commit graph

7343 commits

Author SHA1 Message Date
bors-servo
6e19955129 auto merge of #4081 : achals/servo/master, r=jdm
https://github.com/servo/servo/issues/3994
2014-11-24 02:03:34 -07:00
Achal Shah
23ed1f705b Implement HTML{Anchor,Area,Link}Element.relList.
https://github.com/servo/servo/issues/3994
2014-11-23 23:37:13 -08:00
bors-servo
4a257bc271 auto merge of #4080 : mttr/servo/mach_update, r=jdm
Updates the way mach mixes unrecognized arguments and predefined arguments (see [mozilla bug 1076649](https://bugzilla.mozilla.org/show_bug.cgi?id=1076649) for details on this change), and also adds support for argument groupings (see [1077272](https://bugzilla.mozilla.org/show_bug.cgi?id=1077272)).

I was running into some annoyances when trying to implement a change that would allow a `--debug` flag to be used in `./mach run` for running Servo through a debugger (basically, the same behavior described under "How do I run Mozilla under gdb?" [here](https://developer.mozilla.org/en-US/docs/Debugging_Mozilla_with_gdb)). This change should make those annoyances go away, and as far as I can tell, it doesn't have an impact on the way any of the existing commands are used.
2014-11-23 22:48:32 -07:00
bors-servo
65350bb225 auto merge of #4070 : kparaju/servo/master-mime-sniffer-failing-4046, r=jdm
Fixes #4046

I tested it by:

    ./mach test-wpt --include=XMLHttpRequest > old.log
    # make code changes
    ./mach test-wpt --include=XMLHttpRequest > new.log
    grep panic old.log # SnifferManager panics
    grep panic new.log # No SnifferManager panics
2014-11-23 22:24:34 -07:00
bors-servo
60dfb65ab2 auto merge of #4068 : Manishearth/servo/atomify, r=jdm 2014-11-23 22:00:40 -07:00
bors-servo
90007ee781 auto merge of #4064 : trevorriles/servo/isintervalenum, r=jdm
Created an `IsInterval` enum to improve readability and remove the need for `true // is_interval`

I'm still fairly new to rust. I briefly looked for a way to implement boolean comparisons of the enum but didn't figure out a way. 

Also I'm not attached to any of the names. Let me know what I can fix :)
2014-11-23 21:36:37 -07:00
Matthew Rasmus
8cb7a6842f Remove allow_all_args from mach commands 2014-11-23 16:45:40 -08:00
Matthew Rasmus
850da49846 Update mach to latest changes from mozilla-central
Updates the way mach mixes unrecognized arguments and predefined
arguments (see [mozilla bug
1076649](https://bugzilla.mozilla.org/show_bug.cgi?id=1076649) for
details on this change).
2014-11-23 16:29:29 -08:00
bors-servo
a1a268ce1d auto merge of #4077 : mttr/servo/mach_build_cef_release, r=kmcallister
Requested by kmc in IRC.

```
11:36 < kmc> while you're mach-ing about, can you modify build-cef to
accept --release like build does?
```
2014-11-23 12:57:36 -07:00
Matthew Rasmus
d300469bbd Adds --release flag to ./mach build-cef
Requested by kmc in IRC.

```
11:36 < kmc> while you're mach-ing about, can you modify build-cef to
accept --release like build does?
```
2014-11-23 11:44:53 -08:00
bors-servo
af42f1afc1 auto merge of #4072 : frewsxcv/servo/test-files, r=jdm
Fixes #3910
2014-11-23 11:57:36 -07:00
Corey Farwell
cb38675f48 Make sure directories aren't getting tested 2014-11-23 13:13:53 -05:00
Kshitij Parajuli
9eda82f4a3 Break out of loop if can't send data
Fixes #4046
2014-11-23 12:47:20 -05:00
bors-servo
593e3bc40c auto merge of #4075 : nwin/servo/fix-4037, r=Ms2ger
Fixes #4037
2014-11-23 09:33:36 -07:00
Manish Goregaokar
534919327d Use atom! in place of Atom::from_slice where necessary 2014-11-23 22:03:27 +05:30
bors-servo
b33c31b574 auto merge of #4074 : mrobinson/servo/empty-tiles, r=jdm
rust-layers will now avoid sending empty buffer requests which can
cause failures when Servo tries to create empty platform surfaces.

Fixes #4060.
2014-11-23 09:09:36 -07:00
bors-servo
d215ff7867 auto merge of #4067 : wenderen/servo/document-create-attribute, r=Manishearth
fixes #4054
2014-11-23 08:21:37 -07:00
nwin
45a4236fb0 Fixes 4037. Enable backtrace on run cmd. 2014-11-23 10:51:46 +01:00
Rohan Prinja
4b754bd457 implement Document#createAttribute 2014-11-23 14:51:04 +05:30
Martin Robinson
737a14663d Update rust-layers to fix empty BufferRequest failures
rust-layers will now avoid sending empty buffer requests which can
cause failures when Servo tries to create empty platform surfaces.

Fixes #4060.
2014-11-22 23:36:21 -06:00
bors-servo
e38e20da65 auto merge of #4066 : pcwalton/servo/float-incremental-layout-fix, r=cgaebel,cgaebel,cgaebel
Fixes the maze solver.

r? @larsbergstrom (or anyone)
2014-11-22 11:12:35 -07:00
Patrick Walton
95b57f55cd layout: Fix De Morgan's Law error in incremental reflow, allowing
float/absolute layout layout to be idempotent again.

Fixes the maze solver.
2014-11-21 20:53:59 -08:00
bors-servo
e6e73b8da7 auto merge of #4063 : mttr/servo/test_wpt_from_relpath, r=mbrubeck
Fixes #4055 

This PR allows `./mach test-wpt` to be run  (from /path/to/servo) with a single relative path to some wpt test.

For example:
```
./mach test-wpt tests/wpt/web-platform-tests/dom/sometest.html
```
The argument `tests/wpt/web-platform-tests/dom/sometest.html` is passed on as `--include dom/sometest.html`.
2014-11-21 20:24:30 -07:00
bors-servo
2bba42ad19 auto merge of #4049 : zmike/servo/embedding-callbacks, r=jdm
begin implementing CEF COM, add more types (stupid rust-bindgen taking forever to figure out...)

@jdm @larsbergstrom
2014-11-21 20:00:36 -07:00
Mike Blumenkrantz
d4ddfaa623 embedding: redo browser creation, split after_created COM to separate function
this causes the callback to run at the expected time for applications that may depend on the browser loop having started or somesuch
2014-11-21 21:54:09 -05:00
Mike Blumenkrantz
8aceb59824 embedding: redo browser creation and message loop code to be more CEF-like
big thanks to @alexcrichton for his help with this
2014-11-21 21:54:09 -05:00
Mike Blumenkrantz
0341444ce9 util::opts::default_opts() is now pub 2014-11-21 21:52:56 -05:00
Mike Blumenkrantz
0ddbd430a3 embedding: add cef_window_info_t decl 2014-11-21 21:52:56 -05:00
Mike Blumenkrantz
cd0bcbd777 embedding: add cef_client_t decl 2014-11-21 21:52:56 -05:00
Mike Blumenkrantz
8f34fcb530 embedding: add cef_life_span_handler_t decl 2014-11-21 21:52:56 -05:00
Mike Blumenkrantz
1704838d7d embedding: add cef_display_handler_t decl 2014-11-21 21:52:56 -05:00
Mike Blumenkrantz
cb77e79522 embedding: fix type decls 2014-11-21 21:52:56 -05:00
Matthew Rasmus
655dd453bd Run a single WPT test from a relative path
Fixes #4055
2014-11-21 13:52:18 -08:00
Trevor Riles
0cba3eec62 remove comments now that we have more descriptive names 2014-11-21 15:12:52 -06:00
Trevor Riles
89f1949913 Use an enum to set set_timeout_or_interval's is_interval field. Fixes #4059 2014-11-21 15:10:27 -06:00
bors-servo
b4c3aec383 auto merge of #4052 : glennw/servo/update-glutin, r=larsbergstrom
- Update glutin, and update rust-cocoa to use the servo fork now that upstream is up to date.
- Some events and resizing are still not working correctly on mac yet.
2014-11-21 08:51:31 -07:00
bors-servo
4c1ca2fb96 auto merge of #4056 : brunoabinader/servo/css-updates, r=SimonSapin
TSIA
2014-11-21 08:06:31 -07:00
Bruno de Oliveira Abinader
6f2af793e8 Arc::make_unique is now stable 2014-11-21 10:45:35 -04:00
Bruno de Oliveira Abinader
b9f974ab33 No longer need for local variable in PropertyDeclaration::parse 2014-11-21 10:40:21 -04:00
bors-servo
dfa9e1aa4a auto merge of #4053 : mttr/servo/reftests_with_relative_dir, r=SimonSapin
Fixes #3521
2014-11-21 05:06:31 -07:00
Matthew Rasmus
3149eae7f6 Allow reftests to be run directly w/ relative path
Fixes #3521
2014-11-20 23:21:10 -08:00
bors-servo
c23bfdf1c5 auto merge of #4050 : mttr/servo/implement_attr_nodevalue, r=Ms2ger
Fixes #4047, and updates to expect tests that are now passing because of it.
2014-11-20 17:18:29 -07:00
bors-servo
32d765fb04 auto merge of #4051 : glennw/servo/remove-exit-load, r=mbrubeck
This simplifies some upcoming changes to how event handling works.
2014-11-20 16:54:31 -07:00
Glenn Watson
4efa13d240 Make glutin work on mac.
- Update glutin, and update rust-cocoa to use the servo fork now that upstream is up to date.
- Many events and resizing are still not working correctly on mac yet.
2014-11-21 09:25:56 +10:00
Glenn Watson
898c1ecc8f Remove unused exit after load option.
This simplifies some upcoming changes to how event handling works.
2014-11-21 09:15:02 +10:00
Matthew Rasmus
a87391169d Updated to expect tests that are now passing 2014-11-20 13:40:26 -08:00
Matthew Rasmus
73721cd189 Implement Attr#nodeValue
Fixes #4047
2014-11-20 13:18:10 -08:00
bors-servo
133b523d2b auto merge of #4044 : zmike/servo/embedding-process, r=jdm
Fixes #4023 

@SimonSapin @jdm
2014-11-20 13:06:32 -07:00
bors-servo
9a139dac34 auto merge of #4045 : mttr/servo/mach_update, r=jdm
Example usage:

``` sh
$ ./mach update-cargo -p rust-xml
.
    Updating git repository `https://github.com/netvl/rust-xml`
ports/cef
    Updating git repository `https://github.com/netvl/rust-xml`
ports/android/glut_app
    Updating git repository `https://github.com/netvl/rust-xml`
```
2014-11-20 10:45:31 -07:00
bors-servo
df471245c3 auto merge of #4042 : mttr/servo/debian_requirements_update, r=SimonSapin
Encountered this when building for the first time today:

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

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

Installing the libbz2-dev packaged fixed it. Added to the list of packages to install on Debian based linuxes in README.md
2014-11-20 10:00:58 -07:00