aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove #![feature(custom_derive)]Anthony Ramine2016-11-031-1/+0
|
* Auto merge of #14028 - servo:rustup, r=nox,SimonSapinbors-servo2016-11-021-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update Rust to 1.14.0-nightly (7c69b0d5a 2016-11-01) <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14028) <!-- Reviewable:end -->
| * Use heapsize_derive instead of heapsize_pluginSimon Sapin2016-11-031-1/+1
| |
* | Ignore the Content-Type header completely for @font-face.Ms2ger2016-11-021-1/+0
|/ | | | | | This matches the previous default (network.mime.sniff off) behaviour in all but one case: we will now accept a font without a `Content-Type` header, which would previously have been ignored.
* Remove some unused gfx code.Ms2ger2016-10-281-8/+0
|
* Remove old rendering backend.Glenn Watson2016-10-181-7/+0
| | | | | | | | | | | | | | This removes paint threads, rust-layers dependency, and changes optional webrender types to be required. The use_webrender option has been removed, however I've left the "-w" command line option in place so that wpt runner can continue to pass that. Once it's removed from there we can also remove the -w option. Once this stage is complete, it should be fine to change the display list building code to generate webrender display lists directly and avoid the conversion step.
* Update to Rust 1.14.0-nightly (19ac57926 2016-10-08)Anthony Ramine2016-10-091-1/+5
| | | | A cargo bump and a switch to serde_derive is needed to do this rustup.
* Minimal Win32 font platform implementation.Glenn Watson2016-10-051-2/+6
| | | | | | | | | | | This uses a (very simple) Win32 API call to enumerate font families available, and load them as byte buffers. The font rasterization itself is done by freetype. This gets Servo + WR + Windows working, but should be improved by adding a proper implementation that matches fonts correctly and also uses DirectWrite (or GDI) to handle font rasterization.
* Sanitise web fontsKeegan McAllister2016-08-221-0/+1
| | | | Fixes #3030.
* Native MSVC windows build, convert to cmakeVladimir Vukicevic2016-08-171-2/+2
|
* Prefer length and percentage for word spacingRavi Shankar2016-08-091-0/+1
|
* Reduce the scope of the allowed unsafe code in gfx::text.Ms2ger2016-06-051-1/+0
|
* Make the gfx::platform module private.Ms2ger2016-06-051-1/+1
|
* Remove support for gpu painting.Ms2ger2016-06-031-1/+0
| | | | | | Fixes #3614. Fixes #4683. Fixes #7366.
* Add a fast path for shaping ASCII textMatt Brubeck2016-05-201-0/+1
|
* Move hb_tag! macro and KERN into font moduleMatt Brubeck2016-05-191-1/+1
|
* Add string_cache override for geckolib based on gecko atoms.Bobby Holley2016-05-181-0/+1
| | | | The work in these patches is based on Ms2ger's gecko-atom crate.
* Use xi-unicode for line breakingMatt Brubeck2016-04-301-0/+1
|
* Stop using deprecated `str::char_*` methodsMatt Brubeck2016-04-271-1/+0
| | | | Fixes deprecation warnings in the gfx crate.
* Replace range::Range with std::ops::Range in text shaping codeMatt Brubeck2016-04-271-0/+1
|
* Silence unused-extern-crates false positives.Zbynek Winkler2016-04-221-0/+2
| | | | | | | | | Added #[allow(unused_extern_crates)] to silence false positives * bitflags, lazy_static and matches because macro_use * alloc_jemalloc because builtin crate See https://github.com/rust-lang/rust/issues/30849
* gfx: Drop "canvas_traits" dependencyEmilio Cobos Álvarez2016-03-231-1/+0
|
* Deny unsafe code in more crates.Ms2ger2016-03-181-0/+4
|
* Remove unnecessary path attributes from gfx/lib.rs.Ms2ger2016-03-181-3/+0
|
* Move util::range into its own crateJonathan Schuster2016-02-251-1/+2
|
* Add WebRender integration to Servo.Glenn Watson2016-02-181-0/+1
| | | | | | | | WebRender is an experimental GPU accelerated rendering backend for Servo. The WebRender backend can be specified by running Servo with the -w option (otherwise the default rendering backend will be used). WebRender has many bugs, and missing features - but it is usable to browse most websites - please report any WebRender specific rendering bugs you encounter!
* Move util::cursor to style_traitsAnthony Ramine2016-02-161-0/+1
|
* Auto merge of #9523 - ruud-v-a:hasher, r=Wafflespeanutbors-servo2016-02-051-1/+0
|\ | | | | | | | | | | | | | | | | | | Upgrade to new Hasher API This fixes #9494. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9523) <!-- Reviewable:end -->
| * Upgrade to new Hasher APIRuud van Asseldonk2016-02-031-1/+0
| |
* | Auto merge of #9532 - nox:dedup-heapsize, r=Manishearthbors-servo2016-02-051-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | Say farewell to in-tree HeapSizeOf <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9532) <!-- Reviewable:end -->
| * | Say farewell to in-tree HeapSizeOfAnthony Ramine2016-02-041-0/+2
| |/
* / Remove old features 'clone_from_slice' and 'convert'Tim van der Meij2016-02-031-1/+0
|/
* win32: use fontconfig/freetype on windows as well (for now)Vladimir Vukicevic2016-01-201-5/+4
|
* Remove some unused extern crates.Ms2ger2016-01-131-1/+0
|
* task -> threadrohan.prinja2016-01-101-2/+2
|
* Restrict font loads to known MIME types.Josh Matthews2015-12-311-0/+1
|
* Fix warnings: Use Vec.extend_from_slice instead of Vec.push_allTetsuharu OHZEKI2015-12-101-1/+0
|
* Add check up on extern crate order and sort extern crates alphabeticallyGuillaume Gomez2015-11-281-10/+10
|
* Split Au type into separate crate, with minimal dependencies.Glenn Watson2015-10-011-0/+1
|
* Break text runs by unicode scriptMatt Brubeck2015-09-291-0/+1
|
* Upgrade to the new harfbuzz-sys crateMatt Brubeck2015-09-291-1/+1
|
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-39/+42
|
* Upgrade rust to f93ab64d4a1a7ee91759a1594ab2a426b6cc657e/rustc-1.5.0-dev.Manish Goregaokar2015-09-231-2/+2
|
* Issue #7390 correct the order of mod declarationHugo Thiessard2015-09-181-1/+1
|
* Auto merge of #7527 - bjwbell:simd_advance_for_char_range, r=metajackbors-servo2015-09-091-0/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Use SIMD in fast path for advance_for_char_range In advance_for_char_range add a fast SIMD code path for the the common case where there are no detailed glyphs. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7527) <!-- Reviewable:end -->
| * Add fast SIMD code path in advance_for_char_rangeBryan Bell2015-09-091-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In advance_for_char_range add a SIMD code path for the the common case of no detailed glyphs. - gfx/Cargo.toml Add simd dependency https://github.com/huonw/simd - servo/Cargo.lock Add simd dependency https://github.com/huonw/simd @ d9ad79d86eab50a8f36d45fe17aa9e3a533389ee. - SIMD isn't used on non-x86_65/aarch64 architectures.
* | Implement get_table_for_tag on FreeTypeMatt Brubeck2015-09-031-1/+1
|/ | | | Also fixes use-after-free of FontTable buffers.
* make test-tidy check that = have space after themerneyja2015-09-011-9/+9
|
* Make Harfbuzz font_funcs staticMatt Brubeck2015-08-031-0/+3
|
* gfx: Split the paint messages into layout and chrome messages, and makePatrick Walton2015-07-311-0/+1
| | | | the layout messages serializable.