Guro Bokum
3ed4bd2314
servo: Merge #5166 - RootCollection doesn't check if its SmallVec has spilled #5037 (from JIoJIaJIu:gc); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 52cc63a2622a77ee317f1b320be8ae7e478b2a43
2015-03-31 09:24:58 -06:00
Patrick Walton
92e76aafdc
servo: Merge #5428 - script: Squash mouse-move events just like resizes (from pcwalton:squash-mouse-move); r=jdm
...
Otherwise they queue up if the event handler isn't 60FPS.
r? @jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: c1cc31b9d66f3c61dd0aa7e6a1a43991187d09a5
2015-03-30 13:40:04 -06:00
Corey Farwell
e6fc75f06f
servo: Merge #5451 - Cleanup script::dom::cssstyledeclarations (from frewsxcv:cleanup-css-style-declarations); r=Ms2ger
...
* Group imports
* Convert seralization helper function to use `Iterator::fold`
* Remove basically pointless `serialize_value` helper function
* Wrap lines longer than 100 chars
* Add URLs to spec
Source-Repo: https://github.com/servo/servo
Source-Revision: 018e1f726d0ec0bf3d0dee68594ef1151dc8049d
2015-03-30 10:55:03 -06:00
Mikko Vanhatalo
29fde5b548
servo: Merge #5379 - Fixed code_value values (from minsumm:code_value); r=jdm
...
Changed Key::N to KeyN, also changed Equals to Equal, and NumpadEquals to NumpadEqual.
Source-Repo: https://github.com/servo/servo
Source-Revision: 629edc5c46a869b5bb6bc51b8d39b0115702a00c
2015-03-30 07:58:06 -06:00
Mátyás Mustoha
315e4311b8
servo: Merge #5455 - Canvas: arc throws IndexSizeError on negative radius (from mmatyas:canvas_arc_negativeradius); r=Ms2ger
...
"Negative values for radius must cause the implementation to throw an IndexSizeError exception."
Source-Repo: https://github.com/servo/servo
Source-Revision: 1bd8e18d92c291418ce6a5712f7b4503d9b5104c
2015-03-30 04:16:04 -06:00
Corey Farwell
a16f3c35d8
servo: Merge #5448 - Fix useless assert in script::dom::element (from frewsxcv:fix-assert); r=Ms2ger
...
We should ensure the parameter is lowercased. Right now, the assert will
always return true.
Discussed in #5445
Introduced in ee2ccc4f872ba33a86057d87a99d1015b3c41cf1
Source-Repo: https://github.com/servo/servo
Source-Revision: 350a35428ab547e45e86826d2a818cb15d004bf5
2015-03-29 20:31:01 -06:00
Brandon DeRosier
9063ce2f56
servo: Merge #5422 - Use box syntax instead of Box::new() (from bdero:bdero/box-syntax); r=jdm
...
Closes #5417
Source-Repo: https://github.com/servo/servo
Source-Revision: 39556cc8328793478c0e34ff99e2d36d1ab4f5cb
2015-03-29 17:10:01 -06:00
Corey Farwell
76d037253b
servo: Merge #5447 - Remove some unnecessary uses of as_slice (from frewsxcv:as-slice); r=jdm
...
For the majority of these cases, `as_slice` can be removed due to
`Deref`. In particular, `Deref` for:
* `String` -> `str`
* `Atom` -> `str`
The latter of those two requires, a bump of the locked `string-cache`
library
Source-Repo: https://github.com/servo/servo
Source-Revision: 0fd41847a39be387c03bd5d8b6f2aec2b1bb6f66
2015-03-29 14:52:02 -06:00
Mukilan Thiyagarajan
04976edce5
servo: Merge #5436 - Implement a replacement for Vec<Root<T>> (from servo:rooted-vec); r=Ms2ger,jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1282850b998ce82195a7099d950676fc1b53b86b
2015-03-29 05:07:01 -06:00
Corey Farwell
703baca10c
servo: Merge #5440 - Add links to spec for script::dom structs/methods (from frewsxcv:spec-links); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 4cf76d65baa8ced9f748b0d5cd632c8852da134d
2015-03-28 19:01:03 -06:00
Corey Farwell
8f48da759b
servo: Merge #5435 - Cleanup and modernize script::dom::attr (from frewsxcv:dom-attr-cleanup); r=jdm
...
* Wrap lines longer than 100 characters
* Add whatwg specification links for official methods
* Other misc cleanup/modernization
Source-Repo: https://github.com/servo/servo
Source-Revision: e70beca74bb85bec1f0ea4bb84cea6fea3cfc439
2015-03-28 14:40:02 -06:00
Ms2ger
b244a0a2c4
servo: Merge #5416 - Remove some int/uints (from Ms2ger:int); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 674e52afa1012cb342629dab4d3abae975a16fe9
2015-03-28 13:58:02 -06:00
Ms2ger
c9a8a2c0a7
servo: Merge #5431 - Remove some unused imports (from Ms2ger:unused-imports); r=jdm
...
These became unused in f45db7714c8c3244fe20d1b0a104cb845d0b79f5; I don't know
why I didn't notice that.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2b9bfb9af387fba1a080bed070cf6134eb5d10e1
2015-03-28 11:07:03 -06:00
Patrick Walton
394d73aedf
servo: Merge #5427 - script: Fix O(n^2) dirty bit marking when setting style on all immediate children of a node (from pcwalton:accidentally-quadratic); r=Ms2ger
...
r? @jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 5833dea7338f1331a36ca3e792bf7656f2d67bf9
2015-03-28 08:52:06 -06:00
Ms2ger
1c9c7b1747
servo: Merge #5413 - Simplify URLSearchParams::serialize's percent-encoding (from Ms2ger:percent-encoding); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 55f9bd5d6f95cde282909c9128c00e9644332729
2015-03-27 18:09:59 -06:00
Corey Farwell
0e42f95de4
servo: Merge #5401 - Cleanup and modernize script::dom::element (from frewsxcv:cleanup-element); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: e916ee081aac4739728843b5761c860983f6f913
2015-03-27 16:25:00 -06:00
Thiago Pontes
79eadfe612
servo: Merge #5181 - Notify devtools about new worker globals (from thiagopnts:master); r=jdm
...
This is for #4704 . I'm not sure if this is the best approach, so I'm open to suggestions.
Source-Repo: https://github.com/servo/servo
Source-Revision: 439e3150d74453b86abbcc7934b7e5152f102940
2015-03-27 13:33:56 -06:00
Manish Goregaokar
5384901f1b
servo: Merge #5389 - Blanket impl JSTraceable on raw pointers (from Manishearth:trace_raw); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 5dd43bf84c78063b6eaf505cab253c1666d969ce
2015-03-26 20:51:51 -06:00
Ryan Leavengood
9238b99c41
servo: Merge #5392 - Fix #5374 : Use correct codes for alphabetic chars (from leavengood:fix-alphabetic-key-codes); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 07e271b4e5a3aaa6e3e57084dd51b5e1ad987597
2015-03-26 14:30:56 -06:00
Ryan Leavengood
fe046085f2
servo: Merge #5390 - Fix #5367 : Map GraveAccent to Backquote (from leavengood:backquote-handling); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 8127e1e1e9f601f1bcf718198d0c56ed9b6a99e6
2015-03-26 13:12:53 -06:00
Manish Goregaokar
597a99b6c9
servo: Merge #5387 - make no_jsmanaged_fields not require imports (from Manishearth:macro_path); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 265f313de3de12ee137073d4dfde5c35a33c789c
2015-03-26 10:39:57 -06:00
Corey Farwell
91f91c7053
servo: Merge #5375 - Add comments linking XHR code to XHR specification (from frewsxcv:xhr-docs); r=jdm
...
Also adding some newlines for visual separation between
functions/methods
Source-Repo: https://github.com/servo/servo
Source-Revision: 699ace844c939ab97180acad67a984dc71108a12
2015-03-26 06:33:50 -06:00
Corey Farwell
bda8f2a049
servo: Merge #5377 - Remove unused script::dom::node::NodeIterator (from frewsxcv:rm-node-iter); r=jdm
...
Was introduced in 7aee1cae84704b885988a5985a7604747125ec1e
I noticed it isn't actively in use, so unless there's some bigger reason
why it exists, it could probably be removed
Source-Repo: https://github.com/servo/servo
Source-Revision: 96fb1dac3d346cf2e46e5d5ec5abf79134743dad
2015-03-25 23:30:48 -06:00
Nicholas Nethercote
511ce78c9b
servo: Merge #5348 - Rename lots of profiling-related things (from nnethercote:profiler-renaming); r=jdm
...
```
------------------------------------------------------------------------
BEFORE AFTER
------------------------------------------------------------------------
util::memory util::mem
- heap_size_of - heap_size_of (unchanged)
- SizeOf - HeapSizeOf
- size_of_excluding_self - heap_size_of_children
prof::mem prof::mem
- MemoryProfilerChan - ProfilerChan
- MemoryReport - Report
- MemoryReportsChan - ReportsChan
- MemoryReporter - Reporter
- MemoryProfilerMsg - ProfilerMsg
- {R,UnR}egisterMemoryReporter - {R,UnR}egisterReporter
- MemoryProfiler - Prof
- ReportsForest - ReportsForest (unchanged)
- ReportsTree - ReportsTree (unchanged)
- SystemMemoryReporter - SystemReporter
prof::time prof::time
- TimeProfilerChan - ProfilerChan
- TimerMetadata - TimerMetadata (unchanged)
- Formatable - Formattable [spelling!]
- TimeProfilerMsg - ProfilerMsg
- TimeProfilerCategory - ProfilerCategory
- TimeProfilerBuckets - ProfilerBuckets
- TimeProfiler - Profiler
- TimerMetadataFrameType - TimerMetadataFrameType (unchanged)
- TimerMetadataReflowType - TimerMetadataReflowType (unchanged)
- ProfilerMetadata - ProfilerMetadata (unchanged)
```
In a few places both prof::time and prof::mem are used, and so
module-qualification is needed to avoid overlap, e.g. time::Profiler and
mem::Profiler. Likewise with std::mem and prof::mem. This is not a big
deal.
Source-Repo: https://github.com/servo/servo
Source-Revision: d784d9c488be4533a3590a154addd366d15a5864
2015-03-25 21:18:48 -06:00
Avi Weinstock
96762695f2
servo: Merge #5359 - Moz events (from aweinstock314:moz-events); r=jdm
...
Addresses #5352 .
This is based on https://github.com/glennw/servo/tree/moz-events
Source-Repo: https://github.com/servo/servo
Source-Revision: 432739164b1f3a117c0aac1dfc97b41018c89b46
2015-03-25 20:00:54 -06:00
Corey Farwell
f6c3bd03c7
servo: Merge #5372 - Remove enum variant prefix in XMLHttpRequestState (from frewsxcv:xhr-enum-prefix); r=jdm
...
It was originally titled XHRDone to prevent conflicts with other
variants called Done. This was done before enum namespacing landed, but
now that it has, the prefixing is not necessary.
Source-Repo: https://github.com/servo/servo
Source-Revision: 88ca398cae4070957306890b0c7006ac7b9e5cef
2015-03-25 18:27:48 -06:00
snf
19ca15de9f
servo: Merge #5360 - implementing MainThreadRunnable in ScriptTask (from snf:main_thread_runnable); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 7f587f6cb56b1dae1a56dec36754007ef4d376ac
2015-03-25 14:48:50 -06:00
Glenn Watson
262629a3e4
servo: Merge #5339 - Add mozbrowser events for location + title change (from glennw:moz-events); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 644dc405863cc5cdf7c562588cdd05c40d00ee35
2015-03-25 13:39:49 -06:00
Mátyás Mustoha
73453b6e86
servo: Merge #5302 - Canvas: Added stroke support (from mmatyas:canvas_stroke); r=jdm
...
This is the servo side patch of servo/rust-azure#149 .
Source-Repo: https://github.com/servo/servo
Source-Revision: f29ea4e4ef633c023a43f47f7fc8c6b46e51b8df
2015-03-25 07:54:50 -06:00
Tetsuharu OHZEKI
4aeeaa02d7
servo: Merge #5346 - Add bindings support for unrestricted float values (from saneyuki:binding); r=jdm
...
- Fix #707
- Take over from #5106
Source-Repo: https://github.com/servo/servo
Source-Revision: e77c4e2d76104855c42d1eee09caf36b61acccad
2015-03-25 01:09:47 -06:00
Corey Farwell
e694380ecf
servo: Merge #5351 - Add links for script::dom::window to whatwg HTML spec (from frewsxcv:window-docs); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 8b5df113f0202e889195e3772e13c037c4d33cc7
2015-03-24 23:54:48 -06:00
Diego Marcos
70420c0960
servo: Merge #5231 - Implementing canvas drawImage API for HTML Canvas elements as image sour (from dmarcos:issue4784); r=jdm
...
...ce
Source-Repo: https://github.com/servo/servo
Source-Revision: 2ab1ece765a50e26c2908bcbe5463ff1fda0b085
2015-03-24 14:01:06 -06:00
snf
a8c8cecb20
servo: Merge #5306 - Implementing StorageEvent interface (from snf:storage_event); r=jdm
...
Needed for #5196
Source-Repo: https://github.com/servo/servo
Source-Revision: 2c51d0ef53d25892be4c992fdbe131c1b641bf74
2015-03-24 12:52:00 -06:00
Corey Farwell
032b27e090
servo: Merge #5343 - Clean up a few things in script::dom::window (from frewsxcv:script-dom-window); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1432b630d2fb54be1bae512d3a37cc0aee714db4
2015-03-24 10:33:55 -06:00
Corey Farwell
1e579d0b66
servo: Merge #5334 - Cleanup and modernize script::dom::document (from frewsxcv:cleanup-document); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 8f4526842087c0e47a51d320d06749980ed94ecb
2015-03-24 06:54:48 -06:00
Nicholas Nethercote
dab428b57b
servo: Merge #5335 - Move profiler code from util into a new crate profile (from nnethercote:profile-crate); r=glennw
...
- Most of util::memory has been moved into profile::mem, though the
`SizeOf` trait and related things remain in util::memory. The
`SystemMemoryReporter` code is now in a submodule
profile::mem::system_reporter.
- util::time has been moved entirely into profile::time.
Source-Repo: https://github.com/servo/servo
Source-Revision: d1268ec9c6633684270015e7b2619181aeb47b8b
2015-03-24 03:15:49 -06:00
Glenn Watson
99fb8dc2ab
servo: Merge #5333 - Ensures that iframe navigation updates the parent iframe element subpage id (from glennw:fix-iframe-subpage); r=jdm
...
This fixes the case of clicking a link in an iframe, going back, then clicking the link again.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2f85c5bb502c2582d34772db979e27c741ee76e3
2015-03-23 23:03:45 -06:00
Glenn Watson
37dd093e24
servo: Merge #5318 - Make text input relayout when value is changed directly (from glennw:input-relayout); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: b7e66c5349e639dd6b1850e6b6e93811ffd47141
2015-03-23 18:03:45 -06:00
Josh Matthews
8b2e844fa1
servo: Merge #5327 - Fix double-panic when the script task panics (from Ms2ger:memory-explosion); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 5ce7d8accfc52dd37b19b4400a643a980412bb2f
2015-03-23 13:39:53 -06:00
Corey Farwell
1ab8b106f2
servo: Merge #5321 - Add TODO comments for a recently opened issue (from frewsxcv:patch-1); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: ca79abe45871b4bfe8e8162cb39f8b6bacd0b0b6
2015-03-23 07:57:50 -06:00
Ms2ger
18b512bb2e
servo: Merge #5323 - Fix warnings in script (from Ms2ger:script-warnings); r=Manishearth
...
Source-Repo: https://github.com/servo/servo
Source-Revision: f9826c3ae80a9d859fc067dcceddf3ab105656f6
2015-03-23 06:57:50 -06:00
Corey Farwell
388e42a421
servo: Merge #5319 - dom::urlsearchparams cleanup and documentation (from frewsxcv:urlsearchparams); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: ccac6a944e37e2ea99aa933bbabc2e3d896c2f6e
2015-03-23 05:18:50 -06:00
Glenn Watson
b3a06d687a
servo: Merge #5281 - Experimental implementation of (a small subset of) mozbrowser APIs (from glennw:mozbrowser); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1f682d878db99651bfd26b8a28b57895f2238f87
2015-03-22 21:36:51 -06:00
Corey Farwell
b4d6ac8261
servo: Merge #5316 - Stop abusing format! macro when construct a String (from frewsxcv:no-format-abuse); r=jdm
...
In these cases for `format!`, we're just constructing a String of the
single argument with no special format.
Source-Repo: https://github.com/servo/servo
Source-Revision: dfb8929b001c8d0fb6d5e63f5a9d6dcc17cb388a
2015-03-22 19:30:51 -06:00
Corey Farwell
d159d13b5d
servo: Merge #5307 - Tidy up script::dom::document.SetBody (from frewsxcv:document-set-body); r=jdm
...
There were a few things that were bothering me with `SetBody`:
* The 'Step 3' comment is in the wrong place
* The logic of 'Step 4' comes before 'Step 3'
* 'Step 5' was not documented
Source-Repo: https://github.com/servo/servo
Source-Revision: 445f1c891a5536a26b4759ba4b2dab99c31505f4
2015-03-22 10:09:46 -06:00
Manish Goregaokar
b61b655dbb
servo: Merge #5298 - Basic userscript support (from Manishearth:userscript); r=saneyuki
...
Gives us a place to store polyfills and other userscripts so that we can:
- Quickly determine what DOM features are needed to make stuff like jQuery work by iteratively writing stub implementations
- Write spec-incompatible but "good enough" polyfills for stuff like jQuery to make Servo more testable on live sites, for demos, and for browser.html
r? @jdm
cc @eddyb
Source-Repo: https://github.com/servo/servo
Source-Revision: 72e2c79a089ff6654a36951ce4aedac62006e6a1
2015-03-22 08:27:48 -06:00
Manish Goregaokar
5e87044185
servo: Merge #5296 - Replace unsafe_blocks by unsafe_code (from servo:unsafe_code); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 29a36adbe7d87fb38ba9bef3a718c6c823fb5977
2015-03-21 05:12:45 -06:00
Patrick Walton
99ae36dcac
servo: Merge #5261 - Remove debugging info in release mode and stop reflowing on every new image that comes in (from pcwalton:too-many-reflows); r=pcwalton,metajack
...
These help Facebook Timeline a lot.
r? @metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: aa6ed369b80cbbc81eef9e8697963d0d64358f9b
2015-03-20 11:51:47 -06:00
Ms2ger
bfd31316e6
servo: Merge #5288 - Fix various build warnings (from Ms2ger:warnings); r=SimonSapin
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 0663cd632517c9a9c86db47456c5a4da637045ed
2015-03-20 11:00:54 -06:00
Ms2ger
94ceefff5b
servo: Merge #5287 - Update some feature gates (from Ms2ger:gates); r=jdm
...
CC #5286 .
Source-Repo: https://github.com/servo/servo
Source-Revision: 6ffd459479dde59f471eb42ef0515dd964b6a9d9
2015-03-20 09:12:51 -06:00