This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Implement the `mouseover` event in Servo. | |
Description: | |
https://developer.mozilla.org/en-US/docs/Web/Events/mouseover | |
Copy the HTML below locally and run it: | |
./mach run -d test.html | |
Notice that mousing over the second div does not change its background color in Servo! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
larsberg@ubuntu:~/servo/build$ make VERBOSE=1 | |
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE) | |
CFLAGS="-O2" RUSTFLAGS="-D unused-imports -g -L /home/larsberg/servo/build/workspace/lib/x86_64-unknown-linux-gnu -L /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw -L /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw/.libs -L /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw/src/.libs -L /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/ -L /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src//.libs -L /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src//src/.libs" EXT_DEPS="/home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw/lib*.dummy /home/larsberg/servo/build/x86_64-unknown-linux-gnu//rust_snapshot/rust-0.11.0-pre-x86_64-unknown-linux-gnu/bin/rustc" CC=/usr/bin/gcc CXX=/usr/bin/g++ LD=/usr/bin/ld AR=/usr/bin/ar make -C /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw-rs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[larsberg@lbergstrom build]$ make VERBOSE=1 | |
CFLAGS="-O2" RUSTFLAGS="-D unused-imports -O -g --target arm-linux-androideabi -C android-cross-path=/Users/larsberg/ndk-standalone/ -L /Users/larsberg/servo/build/workspace/lib/arm-linux-androideabi " CC=/Users/larsberg/ndk-standalone//bin/arm-linux-androideabi-gcc CXX=/Users/larsberg/ndk-standalone//bin/arm-linux-androideabi-g++ LD=/Users/larsberg/ndk-standalone//bin/arm-linux-androideabi-ld AR=/Users/larsberg/ndk-standalone//bin/arm-linux-androideabi-ar make -C /Users/larsberg/servo/build/arm-linux-androideabi/src/support/glut/rust-glut && touch /Users/larsberg/servo/build/arm-linux-androideabi/src/support/glut/rust-glut/lib*.dummy | |
/Users/larsberg/servo/build/arm-linux-androideabi/src/compiler/rust/x86_64-apple-darwin/stage2/bin/rustc -D unused-imports -O -g --target arm-linux-androideabi -C android-cross-path=/Users/larsberg/ndk-standalone/ -L /Users/larsberg/servo/build/workspace/lib/arm-linux-androideabi -L. /Users/larsberg/servo/src/support/glut/rust-glut/g |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub extern "C" fn display_callback() { | |
local_data::get(display_tls_key, |callback| { | |
callback.as_ref().map(|&ref cb| { | |
cb.call(); | |
}); | |
}); | |
} | |
pub fn display_func(callback: ~DisplayCallback) { | |
local_data::set(display_tls_key, callback); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
note: servo.o:(.debug_info+0x39217): undefined reference to `hashmap::INITIAL_LOG2_CAP::h7172fcabfac34e69Pwd::v0.11.pre' | |
servo.o:(.debug_info+0x409a4): undefined reference to `unstable::mutex::imp::os::PTHREAD_MUTEX_INITIALIZER::h56ba642e8c1596a5R1T::v0.11.pre' | |
servo.o:(.debug_info+0x409b3): undefined reference to `unstable::mutex::imp::os::PTHREAD_COND_INITIALIZER::h0bc44b3e3d2d20ebZ1T::v0.11.pre' | |
servo.o:(.debug_info+0x409c2): undefined reference to `unstable::mutex::imp::MUTEX_INIT::h821ce208933e3f3ai2T::v0.11.pre' | |
/home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/components/gfx/libgfx-64458125-0.1.rlib(gfx.o):(.debug_info+0x20fd6): undefined reference to `hashmap::INITIAL_LOG2_CAP::h7172fcabfac34e69Pwd::v0.11.pre' | |
/home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/components/script/libscript-5506d641-0.1.rlib(script.o):(.debug_info+0x152470): undefined reference to `hashmap::INITIAL_LOG2_CAP::h7172fcabfac34e69Pwd::v0.11.pre' | |
/home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/components/sty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
servo(97697,0x10e59f000) malloc: *** error for object 0x7fff77ce6390: pointer being freed was not allocated | |
*** set a breakpoint in malloc_error_break to debug | |
task 'LayoutTask' failed at 'internal error: entered unreachable code', /Users/larsberg/servo/src/compiler/rust/src/libstd/comm/mod.rs:547 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn mock_resource_task(on_load: proc(resource: Sender<resource_task::ProgressMsg>)) -> ResourceTask { | |
spawn_listener(proc(port: Receiver<resource_task::ControlMsg>) { | |
loop { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/larsberg/servo/src/components/script/dom/bindings/codegen/EventListenerBinding.rs:72:3: 72:28 error: expected serialize::serialize::Encoder<()>, but found serialize::serialize::Encoder<__E> (expected () but found type parameter) | |
/Users/larsberg/servo/src/components/script/dom/bindings/codegen/EventListenerBinding.rs:72 parent: CallbackInterface, | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
note: in expansion of #[deriving] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[larsberg@lbergstrom build]$ make VERBOSE=1 | |
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE) | |
cfg: enabling more debugging in RUSTC (CFG_ENABLE_DEBUG) | |
/Users/larsberg/servo/build/x86_64-apple-darwin/src/compiler/rust/x86_64-apple-darwin/stage2/bin/rustc -D unused-imports -g -L /Users/larsberg/servo/build/x86_64-apple-darwin/src/platform/macos/rust-core-foundation -L /Users/larsberg/servo/build/x86_64-apple-darwin/src/platform/macos/rust-core-graphics -L /Users/larsberg/servo/build/x86_64-apple-darwin/src/platform/macos/rust-core-text -L /Users/larsberg/servo/build/x86_64-apple-darwin/src/platform/macos/rust-io-surface -L /Users/larsberg/servo/build/x86_64-apple-darwin/src/support/glfw/glfw -L /Users/larsberg/servo/build/x86_64-apple-darwin/src/support/glfw/glfw-rs -L /Users/larsberg/servo/build/x86_64-apple-darwin/src/platform/macos/rust-cocoa -L /Users/larsberg/servo/build/x86_64-apple-darwin/src/support/alert/rust-alert -L /Users/larsberg/servo/build/x86_64-apple-darwin/src/support/azure/rust-azure - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[lbergstrom@buildbot-master-servo-01.srv.servo.releng.use1.mozilla.com servo1]$ make restart | |
cd master && /builds/buildbot/servo1/bin/buildbot restart $PWD | |
buildmaster not running | |
now restarting buildbot process.. | |
Following twistd.log until startup finished.. | |
The buildmaster took more than 10 seconds to start, so we were unable to | |
confirm that it started correctly. Please 'tail twistd.log' and look for a | |
line that says 'configuration update complete' to verify correct startup. |