aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/platform/macos
Commit message (Collapse)AuthorAgeFilesLines
* Derive Debug on FontGroup and its componentsOlaf Buddenhagen2015-12-123-2/+4
|
* Update string_cache to 0.2.Alan Jeffrey2015-11-251-1/+1
| | | | | | | | | | | Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock. Removed references to string_cache_plugin. Import atom! and ns! from string_cache. Replaced ns!("") by ns!(). Replaced ns!(XML) and co by ns!(xml) and co. Replaced atom!(foo) by atom!("foo"). Replaced Atom::from_slice by Atom::from. Replaced atom.as_slice() by &*atom.
* Fix issues found by rust-clippyCorey Farwell2015-10-121-2/+2
|
* Split Au type into separate crate, with minimal dependencies.Glenn Watson2015-10-011-1/+1
|
* A few clean ups for Au typeGlenn Watson2015-09-281-8/+22
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-193-12/+8
| | | | This merges import blocks that were reported by tidy as unmerged.
* Remove 'get_*' on getters as per RFC 0344 on various componentsMathieu Rheaume2015-09-122-5/+5
|
* Implement get_table_for_tag on FreeTypeMatt Brubeck2015-09-031-2/+2
| | | | Also fixes use-after-free of FontTable buffers.
* Remove no-op Drop implementation from FontTableMatt Brubeck2015-08-281-5/+0
| | | | This is no longer necessary for opting out of the Copy trait.
* sort all usesJohann Tuffe2015-08-203-6/+6
|
* Fix existing syntactics nits.Josh Matthews2015-08-161-1/+1
|
* Utilize match guard; make methods more similarCorey Farwell2015-08-111-15/+16
| | | | | Make the structure for the `stretchiness` and `boldness` methods more similar
* gfx: Fix Core Text font instantiation for Web fonts on Mac.Patrick Walton2015-08-042-19/+15
| | | | Fixes GitHub Octicons. A reftest has been added for this.
* gfx: Instantiate the `CTFont` corresponding to a Mac font on demand.Patrick Walton2015-07-312-7/+17
| | | | This avoids panics in multiprocess mode.
* gfx: Make display lists serializable using `serde`.Patrick Walton2015-07-152-3/+50
| | | | | | | | | This commit introduces the `serde` dependency, which we will use to serialize messages going between processes in multiprocess Servo. This also adds a new debugging flag, `-Z print-display-list-json`, allowing the output of display list serialization to be visualized. This will be useful for our experiments with alternate rasterizers.
* Use atoms for font template structures.Glenn Watson2015-07-131-4/+4
|
* Instrument FreeType allocations.Nicholas Nethercote2015-06-101-0/+8
| | | | | | | | | | | This will allow reporting of memory usage by FreeType instances, which are measured in the MiBs for LayoutWorker threads. This change also makes FreeType allocations happen with jemalloc instead of the system malloc, which is a good thing. Finally, the change documents some dubiousness involving FontContextHandle.
* Utilize `if let` instead of `match` in a few placesCorey Farwell2015-06-091-12/+8
|
* Remove `get_` prefix on gettersCorey Farwell2015-06-021-3/+2
| | | | | | Part of #6224 I certainly didn't remove all of them; I avoided `unsafe` areas and also `components/script`
* Remove unused imports.Ms2ger2015-05-061-1/+0
|
* Rename Au methods with f32/f64 instead of frac32/frac/subpxSimon Sapin2015-05-051-4/+4
|
* Replace Au-related free functions in util::geometry with Au methods.Simon Sapin2015-05-051-2/+2
|
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-052-2/+1
|
* Remove some as_slice calls.Ms2ger2015-04-242-3/+3
|
* Remove int_uint feature from gfx.Josh Matthews2015-04-071-2/+2
|
* Retain buffer for CGDataProviderCreateWithData. Fixes #5084.Connor Jennings2015-03-151-1/+3
| | | | | | | CGDataProviderCreateWithData just wraps the underlying buffer. The underlying buffer needs to be kept around until the data provider is freed. Adding the buffer to the FontTemplateData struct ensures it sticks around.
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-2/+2
| | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there.
* gfx: Implement `font-stretch` per CSS3-FONTS § 3.3 in the Core TextPatrick Walton2015-01-281-1/+16
| | | | font backend.
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-284-7/+10
|
* Move to to_owned rather than into_string.Ms2ger2015-01-202-2/+6
| | | | into_string has been removed from Rust.
* Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.Ms2ger2015-01-082-12/+11
|
* Fix obsolete format traits.Ms2ger2015-01-021-1/+1
| | | | They are to be removed from the language in the next rust upgrade.
* gfx: to_string() -> into_string()Manish Goregaokar2014-12-272-2/+2
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-0/+1
|
* Replace almost "render" to "paint" words in gfx crate.Tetsuharu OHZEKI2014-12-081-1/+1
|
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-1/+1
|
* Convert internal font code to store pt size as Au.Glenn Watson2014-10-221-2/+2
|
* Update rust-core-text, handle empty font collections. Fixes #3703.Glenn Watson2014-10-211-6/+11
|
* Disallow toggling radio buttons. Use generated content for checkboxes and ↵Josh Matthews2014-10-011-1/+1
| | | | radio buttons. Switching to the glyph 0 for the average advance width.
* Add average advance width to the font metrics structure, using the X glyph ↵Josh Matthews2014-10-011-1/+8
| | | | as a best guess.
* Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000)Keegan McAllister2014-09-201-1/+1
|
* Improve quality of font rendering on Linux (and Android).Glenn Watson2014-09-101-0/+4
| | | | | | | | | | | | | | | The freetype hinting only works on integer pixel sizes. For this reason, the advance width metrics for a font of size 12.99 are the same as the advance metrics for a font of size 12.0. This results in small fonts appearing to overlap slightly, which is particularly noticeable on parts of Wikipedia. Round the font size up to a pixel boundary inside the freetype system. Also fetch the system default fonts for the generic font families rather than hard coding them. These two changes make the font rendering on Linux very close to the Firefox font rendering on Wikipedia.
* Cargoify servoJack Moffitt2014-09-084-0/+278