Commit graph

7329 commits

Author SHA1 Message Date
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
bors-servo
593e3bc40c auto merge of #4075 : nwin/servo/fix-4037, r=Ms2ger
Fixes #4037
2014-11-23 09:33:36 -07:00
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
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
Mike Blumenkrantz
c8da9e1a54 embedding: cef_string_ascii_to_wide() 2014-11-20 11:53:47 -05:00
Mike Blumenkrantz
0d21a68ee7 embedding: cef_string_ascii_to_utf16() 2014-11-20 11:53:47 -05:00
Mike Blumenkrantz
bd5419418e embedding: cef_string_wide_to_utf8() 2014-11-20 11:53:47 -05:00
Mike Blumenkrantz
8b5f4cff3d embedding: cef_string_utf8_to_wide() 2014-11-20 11:53:47 -05:00
Mike Blumenkrantz
031963c91e embedding: cef_string_wide_cmp() 2014-11-20 11:53:44 -05:00
Mike Blumenkrantz
b0a65f4918 embedding: implement cef_execute_process() stub
this is missing signal handler functionality in rust and we currently have no use case for actual execution of secondary processes
2014-11-20 11:53:41 -05:00
Mike Blumenkrantz
37583ea8f5 embedding: add some commonly used string constants from chromium 2014-11-20 11:53:37 -05:00
Ms2ger
7ccb09b34d Update web-platform-tests. 2014-11-20 11:52:31 -05:00
Matthew Rasmus
3b40b51a81 Added bzip to Fedora and Arch prereqs 2014-11-20 08:46:18 -08:00
Matthew Rasmus
3a43abfa35 Added a mach command for cargo update
As proposed in #3736

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-19 20:55:04 -08:00
Matthew Rasmus
70ad932450 Added libbz2-dev to Debian based prerequisites
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.
2014-11-19 15:35:30 -08:00
bors-servo
7eeec45a4e auto merge of #4039 : Ms2ger/servo/wpt_20141119, r=jdm 2014-11-19 13:51:29 -07:00
bors-servo
ce6ea55acd auto merge of #4040 : pcwalton/servo/librustc-linkage, r=metajack
r? @zmike
2014-11-19 13:18:29 -07:00
Patrick Walton
10cc07e137 cef: Don't link against librustc in the final build artifact 2014-11-19 12:12:04 -08:00