aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* Print backtraces for panics, even if the constellation has closed.Alan Jeffrey2016-08-101-4/+11
|
* Print thread name and file location when panickingAnthony Ramine2016-08-041-1/+8
|
* Attach more signals to the backtrace signal handler.Josh Matthews2016-07-281-1/+4
|
* Removed panic channel, replaced by integrated logging and issue reporting.Alan Jeffrey2016-07-201-3/+15
|
* Sent log messages to the constellation.Alan Jeffrey2016-07-151-3/+2
|
* Send servo version in mozbrowser error.Connor Brewster2016-07-011-1/+2
| | | | | Also moved servo version to util for usage by the --version flag and for sending the version to browser.html with mozbrowsererror
* Auto merge of #11262 - campaul:add_version_flag, r=Manishearthbors-servo2016-06-291-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `--version` flag - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #11241 (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ Not 100% sure of a good way to test this, so I'm submitting as is for feedback. Manually testing it appears to work fine. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11262) <!-- Reviewable:end -->
| * Add `--version` flagCameron Paul2016-06-281-0/+6
| |
* | Add a signal handler for SIGSEGV that reports the current thread name and ↵Josh Matthews2016-06-201-1/+32
| | | | | | | | backtrace.
* | servo: Add an `Info.plist` on the Mac and opt into integrated graphics.Patrick Walton2016-06-081-0/+13
| | | | | | | | | | | | | | | | | | | | | | Discrete GPUs cause power use problems and tend to perform badly with WebRender. See: * https://developer.apple.com/library/mac/qa/qa1734/_index.html * https://reverse.put.as/2013/05/28/gimmedebugah-how-to-embedded-a-info-plist-into-arbitrary-binaries/
* | Removed CompositorEventListener traitKyle Headley2016-05-311-1/+1
|/
* Remove references to unused crates.Zbynek Winkler2016-04-221-2/+1
| | | | The cleanup is based on info from using "-W unused-extern-crates".
* Remove watcher threads; replace with more panic handler goodnessManish Goregaokar2016-04-151-0/+2
|
* No more headless compositor. Just the normal one.Michael Howell2016-03-241-40/+10
| | | | | | | | | This changes headless operation to strictly be a runtime option, rather than a compile-time one. Note that the old headless version still relied on a display server to support WebGL, while it now requires one all the time. Fixes #8573
* Use lazy_static for HOST_TABLE.Ms2ger2016-03-151-4/+0
| | | | | This might change behaviour if the file is changed between Servo startup and the moment HOST_TABLE is first accessed. I don't think we care.
* Remove some unused extern crates.Ms2ger2016-01-131-1/+0
|
* task -> threadrohan.prinja2016-01-101-1/+1
|
* Update offscreen_gl_contextEmilio Cobos Álvarez2015-12-221-3/+3
|
* Auto merge of #8692 - GuillaumeGomez:patch-1, r=Wafflespeanutbors-servo2015-11-281-5/+4
|\ | | | | | | | | | | | | | | | | | | Ensure crate are alphabetically sorted cc @nox <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8692) <!-- Reviewable:end -->
| * Add check up on extern crate order and sort extern crates alphabeticallyGuillaume Gomez2015-11-281-5/+4
| |
* | Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)Manish Goregaokar2015-11-271-5/+5
|/ | | | … and libc 0.2 and many other dependencies
* compositing: Split Servo up into multiple sandboxed processes.Patrick Walton2015-11-191-5/+15
| | | | | Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch.
* Force constellation logging when running particularly frustrating tests on ↵Josh Matthews2015-11-051-2/+6
| | | | the build machines. Continuation of investigation for #7787.
* Upgrade to latest glutinMatt Brubeck2015-11-051-1/+1
|
* Auto merge of #8288 - larsbergstrom:new_android_build, r=mbrubeckbors-servo2015-11-051-0/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New Android suppport r/f? @mbrubeck No need to r+ urgently; I want to do a little bit more testing of the release build, but I'm hoping to land this bit (moving to a more sane build process) next week. The new version of building an APK: 1) Removes the glutin-based APK builder from the link step 2) Adds a build.rs step to the build of the final Servo library that adds the native code required by glutin's android_rs_glue (e.g., `ANativeActivity_onCreate` definition) 3) Replaces the link step with a `fake-ld.sh` script that instead creates a libservo.so 4) Adds a new mach `package` step to build the APK that has some Rust code that builds the library from a set of in-tree build files This setup fixes a number of problems: 1) We can use gdb, because we use `ndk-build`, which adds the .gdbserver info, plus we keep around all of the build files (also required by the ndk gdb) 2) We can add more Java code & hooks to handle Android intents 3) We no longer have any git submodules or the awkward two-step build with android-rs-glue Many other setups were tried (and failed). The most obvious ones is building a libservo.so from a `dylib` target from the servo build on Android. This doesn't work because you can't have a different default lib target on one platform than others in Cargo, and you also can't pass it in from the commandline (e.g., --lib does not have a dylib arg). Additionally, if you don't go through the intermediate libservo.rlib step (which removes unused symbols), then you end up with a TON of missing symbols because our -sys crates are super sloppy about that. I spent a few weeks beginning to clean them up, but since it's something we can't easily enforce (and new -sys packages will have this problem, too, since it's only an issue with the Android loader), it made more sense to me to just have the build set up to discard those unused bits of code before they ever get to the linker, much less the loader. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8288) <!-- Reviewable:end -->
| * New Android suppportLars Bergstrom2015-11-041-0/+14
| |
* | servo/main: Load gl symbols in headless modeEmilio Cobos Álvarez2015-11-011-0/+16
|/ | | | This allows running WebGL reftests in wpt.
* Read params from a file on AndroidConnor Imes2015-10-301-4/+34
|
* Remove some unused code on AndroidMatt Brubeck2015-10-291-2/+0
|
* Simplify and unify compositor shutdown code pathsMartin Robinson2015-10-071-5/+0
| | | | | | | Unify all compositor shutdown code paths into two methods, one which starts the shutdown and the other that finishes it. This simplifies the way the compositor shuts down and prevents "leaking" pixmaps when exiting in uncommon ways.
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-8/+6
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-2/+1
| | | | This merges import blocks that were reported by tidy as unmerged.
* Remove 'get_*' on getters as per RFC 0344 on various componentsMathieu Rheaume2015-09-121-3/+3
|
* Auto merge of #7468 - JoshTheGoldfish:Issue7460, r=jdmbors-servo2015-09-011-6/+6
|\ | | | | | | | | | | | | | | | | | | Making test-tidy check that = have space after them For issue #7460. Need to ensure compatibility with #7390. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7468) <!-- Reviewable:end -->
| * make test-tidy check that = have space after themerneyja2015-09-011-6/+6
| |
* | Remove hack for android builders now that build is successful once more.Josh Matthews2015-09-011-1/+1
| |
* | Re-export crates needed to use the Servo Rust APImeh2015-08-311-10/+4
|/
* sort all usesJohann Tuffe2015-08-201-7/+7
|
* Use hosts-replaced URL only when loading resourcesJames Graham2015-08-051-2/+3
|
* Stop using env::set_exit_code.Ms2ger2015-06-261-32/+32
|
* Use the correct log crate and setup env_logger in main.Eduard Burtescu2015-06-061-0/+3
|
* compositing: Support multiple events per frame.Patrick Walton2015-05-201-7/+4
| | | | Improves scrolling performance on Mac.
* Fix android logging since the rustupGlenn Watson2015-05-181-9/+8
|
* Update the environment variable debug code for new RustLars Bergstrom2015-05-141-1/+3
|
* add parent window setting when creating windows with glutinMike Blumenkrantz2015-05-131-1/+1
| | | | needed for embedding api usage
* Get rid of old `libc` featureMatt Brubeck2015-05-051-1/+1
|
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-6/+6
|
* Remove `cfg(not(test))`s from servo/main.rsBrian Anderson2015-04-141-105/+138
| | | | | | Reorganize servo directory code top-down and add comments Remove cfg(not(test)) from servo/lib.rs Remove redundant thread from constellation setup
* Fix various build warnings.Ms2ger2015-03-201-1/+1
|
* Stop using CString::from_slice in redirect_output.Ms2ger2015-03-201-3/+2
| | | | | It will panic if there are any null bytes in read_buffer, but fgets guarantees that there is a null-terminator.