Commit graph

6253 commits

Author SHA1 Message Date
Matt Brubeck
b11a110e85 Merge pull request #3414 from mbrubeck/pre-line-break
Fix line splitting in `white-space: pre` flows. r=gw
2014-09-18 19:30:37 -07:00
Simon Sapin
f24af67207 Fix http://doc.servo.org/ to redirect to /servo/index.html again...
... rather than being the Rust documentation index.

The order of `cp` command determines which `target/doc/index.html` file
overwrites the other.
2014-09-18 23:54:04 +01:00
Matt Brubeck
f35941d91d Fix line splitting in white-space: pre flows
The newline position from one line was getting used repeatedly, causing extra
"phantom" newlines in the following lines.  Fixes #3413.
2014-09-18 14:25:12 -07:00
Patrick Walton
5e5f77a354 Try to unbreak the build by removing unused import 2014-09-18 10:56:58 -07:00
Patrick Walton
667f887f49 Merge pull request #3397 from cgaebel/issue-3386
Fixes #3386.
2014-09-18 09:29:21 -07:00
Clark Gaebel
670ca9894e Fixed #3386. 2014-09-18 09:20:23 -07:00
Clark Gaebel
1b251db732 Merge pull request #3379 from cgaebel/bucketed-timing
Added more complex profiling metadata.
2014-09-18 09:12:34 -07:00
Patrick Walton
22bca83509 Merge pull request #3404 from glennw/inline-block-fix
Include margin in inline block intrinsic width. Fixes [edit] links on wikipedia. Also improves google homepage.
2014-09-18 07:51:11 -07:00
Simon Sapin
8ec41f2546 Merge pull request #3405 from andreastt/ato/mach_dumb_term
Support dumb terminals in bootstrap downloads
2014-09-18 15:19:25 +01:00
Josh Matthews
9607b468bc Revert "script: Use atom comparison in more places, especially for attributes." for persistent test failures.
This reverts commit 874db26104.
2014-09-18 09:20:19 -04:00
Simon Sapin
7158cac2dc Merge pull request #3371 from servo/fix-doc-upload
Make Travis upload to doc.servo.org again.
2014-09-18 13:40:34 +01:00
Simon Sapin
547b5ea6fb Make Travis upload to doc.servo.org again. 2014-09-18 13:39:12 +01:00
Andreas Tolfsen
a5b5d358fb Support dumb terminals in bootstrap downloads
Dumb terminals can only interpret a limited number of control codes,
and rewriting the terminal buffer will make `./mach build` very talkative
on these terminals.

This can be tested by setting the environment variable TERM to "dumb"
as such:

	TERM=dumb ./mach build
2014-09-18 12:16:49 +01:00
Glenn Watson
6bc65f3b07 Include margin in inline block intrinsic width. Fixes [edit] links on wikipedia. 2014-09-18 16:07:28 +10:00
Matt Brubeck
340ebdfd85 Merge pull request #3372 from mbrubeck/wpt-params
Make test_wpt params optional. r=me
2014-09-17 17:05:59 -07:00
Matt Brubeck
8aeb90e8c3 Merge pull request #3395 from mbrubeck/doctest
Fix unit test failures. r=jdm
2014-09-17 17:05:29 -07:00
Josh Matthews
75caade828 Merge pull request #3358 from jdm/thespicemustnotreflow
Delay initiating layout operations for as long as possible.
2014-09-17 19:09:31 -04:00
Clark Gaebel
6bc63d47cd Added more complex profiling metadata. 2014-09-17 15:41:27 -07:00
Matt Brubeck
140b0007fd Update style unit tests to use atoms
Fixes test bustage from #3316.
2014-09-17 14:49:04 -07:00
Matt Brubeck
a939cc50bb Fix doctest errors in rustdoc comments
Mostly this disables doctest for comments that are not actually tests.
2014-09-17 14:46:37 -07:00
Patrick Walton
787a683365 Merge pull request #3316 from pcwalton/use-atoms
script: Use atom comparison in more places, especially for attributes.
2014-09-17 13:19:00 -07:00
Patrick Walton
874db26104 script: Use atom comparison in more places, especially for attributes.
75% improvement in style recalc for Guardians of the Galaxy.
2014-09-17 13:17:12 -07:00
Josh Matthews
61642d64b5 Merge pull request #3387 from prasoon2211/base64_methods_for_worker
Implement atob and btoa methods for worker
2014-09-17 11:46:20 -04:00
Patrick Walton
b5110b8f78 Merge pull request #3392 from pcwalton/string-cache-race
Update string-cache for real
2014-09-17 08:34:44 -07:00
Patrick Walton
05b7573b62 Update string-cache for real 2014-09-17 08:33:32 -07:00
Patrick Walton
aa841ae508 Merge pull request #3376 from pcwalton/string-cache-race
build: Update string-cache to fix a nasty race
2014-09-17 08:24:32 -07:00
Patrick Walton
ee2b4e208f build: Update string-cache to fix a nasty race 2014-09-17 08:20:54 -07:00
Manish Goregaokar
11ba79894a Merge pull request #3374 from Manishearth/lint_unrooted_jsmanaged
Add lint for ensuring proper rooting of JS<T>; r=jdm
2014-09-17 18:17:19 +05:30
Prasoon Shukla
e0f2c9edc1 Fix for issue #3238
Moved the Atob and Btoa methods ouside the impl for WorkerMethod trait
and made them publicly accessible from WorkerGlobalScopeMethods via
proxy methods.
2014-09-17 12:27:01 +05:30
Josh Matthews
aa935c7b02 Merge pull request #3382 from saneyuki/mach
Fix `mach cargo` is missing
2014-09-17 02:33:35 -04:00
Josh Matthews
4a1d51b982 Merge pull request #3367 from jdm/breakpoint
Add breakpoint utility function.
2014-09-17 02:33:27 -04:00
Tetsuharu OHZEKI
b0cd45e2da Fix mach cargo is missing 2014-09-17 11:52:05 +09:00
Jack Moffitt
1544db8bb9 Merge pull request #3373 from ProgramFOX/issue3366
Removed unused BlobMethods and CommentMethods traits, fixes #3366
2014-09-16 18:39:06 -06:00
Patrick Walton
514aca0981 Merge pull request #3377 from LalehB/patch-5
Update README.md
2014-09-16 14:49:52 -07:00
LalehB
5dcce000e5 Update README.md 2014-09-16 14:04:16 -07:00
LalehB
dea11c5ba2 Update README.md 2014-09-16 13:27:41 -07:00
Keegan McAllister
ffd126a0ff Merge pull request #3318 from mrobinson/scrolling
Store content offset in unscaled pixels
2014-09-16 13:00:44 -07:00
Manish Goregaokar
f5087e1490 Use #[must_root] for HTMLElements 2014-09-17 01:02:44 +05:30
Manish Goregaokar
30014c3919 Make Reflector #[must_root], propagate to non-HTMLElements 2014-09-17 01:02:41 +05:30
Simon Sapin
14f7d2dabd Merge pull request #3365 from SimonSapin/command-line-argument-filenames
Try to parse command line argument as file names
2014-09-16 20:32:40 +01:00
Manish Goregaokar
f0b8391762 Address review comments 2014-09-17 00:33:36 +05:30
Patrick Walton
ef56335efe Merge pull request #3350 from glennw/layout-viewer
Add viewer for layout trace files.
2014-09-16 11:14:01 -07:00
Manish Goregaokar
d241826987 Unwrap pointers and miscellany for unrooted_must_root check 2014-09-16 23:31:40 +05:30
Matt Brubeck
8e2ac7a5c5 Merge pull request #3296 from mbrubeck/background-position
Support CSS2 background-position keyword and percent values. r=SimonSapin
2014-09-16 10:35:00 -07:00
Matt Brubeck
6c9524b687 Implement background-position keyword values
Also fixes calculation of background-position percentages:

Rather than multiplying the container size by a percent and aligning the top
left of the image at the resulting width, we also need to subtract a
corresponding percent of the image size, per
http://dev.w3.org/csswg/css2/colors.html#propdef-background-position

"A value pair of '100% 100%' places the lower right corner of the image in the
lower right corner of the padding box. With a value pair of '14% 84%', the
point 14% across and 84% down the image is to be placed at the point 14%
across and 84% down the padding box."
2014-09-16 10:24:31 -07:00
Manish Goregaokar
bded5c3703 Add unrooted_must_root lint for usages of JS<T> in let/for bindings 2014-09-16 22:54:24 +05:30
ProgramFOX
457f1876b9 Removed unused BlobMethods and CommentMethods traits, fixes #3366 2014-09-16 19:03:04 +02:00
Manish Goregaokar
12dc54d238 Add unrooted_must_root lint for enums and structs containing JS<T>, as well as functions with JS<T> in their parameter list
For safe wrappers over JS<T> (eg Temporary<T>) use #[allow(unrooted_must_root)].
For all other types containing a #[must_root] value, annotate the type with #[must_root] to ensure that it is never used unrooted
2014-09-16 22:11:27 +05:30
Matt Brubeck
4154d3291b Make test_wpt params optional
Fixes an exception in `mach test`.
2014-09-16 09:38:22 -07:00
Matt Brubeck
66a7de750c Merge pull request #3339 from mbrubeck/percent-height
Implement percentage heights for block flows. r=SimonSapin
2014-09-16 09:03:04 -07:00