Commit graph

9429 commits

Author SHA1 Message Date
bors-servo
65a0ebc567 auto merge of #5418 : Ms2ger/servo/contenttest, r=jdm 2015-03-28 09:37:06 -06:00
Ms2ger
864679db24 Use u32 for SubpageId. 2015-03-28 15:55:03 +01:00
Ms2ger
131270c1d3 Use u32 for PipelineId. 2015-03-28 15:55:03 +01:00
Ms2ger
c98d92df00 Use u32 for WorkerId. 2015-03-28 15:55:01 +01:00
bors-servo
5833dea733 auto merge of #5427 : pcwalton/servo/accidentally-quadratic, r=Ms2ger
r? @jdm
2015-03-28 08:52:06 -06:00
Ms2ger
2f3060c8a7 Use u32 for FrameId. 2015-03-28 15:36:36 +01:00
Ms2ger
37c271a260 Use usize and u32 for LayerId. 2015-03-28 15:36:36 +01:00
Ms2ger
ac3c076892 Use u32 for Epoch. 2015-03-28 15:36:36 +01:00
Ms2ger
43ed033eff Use isize/usize in range. 2015-03-28 15:36:36 +01:00
Ms2ger
f50530577c Use usize in test_lru_cache. 2015-03-28 15:36:36 +01:00
Ms2ger
54c006d159 Use u32 for reflow ids. 2015-03-28 15:36:36 +01:00
Ms2ger
6f05750956 Use u32 for outstanding_paint_msgs. 2015-03-28 15:36:35 +01:00
Manish Goregaokar
4d2ca2d8e2 Allow passing a path to --userscripts 2015-03-28 14:59:11 +05:30
Patrick Walton
9695e09707 script: Squash mouse-move events just like resizes.
Otherwise they queue up if the event handler isn't 60FPS.
2015-03-27 19:07:42 -07:00
Patrick Walton
0fcaa3ce03 script: Fix O(n^2) dirty bit marking when setting style on all immediate
children of a node.
2015-03-27 19:06:57 -07:00
bors-servo
55f9bd5d6f auto merge of #5413 : Ms2ger/servo/percent-encoding, r=jdm 2015-03-27 18:09:59 -06:00
bors-servo
e916ee081a auto merge of #5401 : frewsxcv/servo/cleanup-element, r=Ms2ger 2015-03-27 16:25:00 -06:00
Ms2ger
0ffa02eec8 Fix indentation in contenttest. 2015-03-27 21:22:28 +01:00
Ms2ger
3cd9f4e428 Move away from as_slice() in contenttest. 2015-03-27 21:21:37 +01:00
Ms2ger
6b0bf4cf0a Move contenttest to the new process APIs. 2015-03-27 21:16:28 +01:00
bors-servo
439e3150d7 auto merge of #5181 : thiagopnts/servo/master, r=jdm
This is for #4704. I'm not sure if this is the best approach, so I'm open to suggestions.
2015-03-27 13:33:56 -06:00
Thiago Pontes
1244f9e016 Notify devtools about new worker globals 2015-03-27 16:04:53 -03:00
Ms2ger
f45db7714c Simplify URLSearchParams::serialize's percent-encoding. 2015-03-27 15:35:13 +01:00
Corey Farwell
679dd679a7 Improve and fix default_path cookie algorithm
* Previously, the function returned an owned String, which is not
  necessary, so now it returns a slice
* Steps have now been documented/labeled
* The last step of the algorithm was incorrect; it would only slice the
  path if the "/" was the last character, which is not what the spec
  says. The spec says to slice up until (but not including) the last
  "/". Also added a regression test for this.
2015-03-26 23:44:15 -04:00
bors-servo
5dd43bf84c auto merge of #5389 : Manishearth/servo/trace_raw, r=jdm 2015-03-26 20:51:51 -06:00
Corey Farwell
b5d3e77716 Cleanup and modernize script::dom::element 2015-03-26 17:58:38 -04:00
bors-servo
07e271b4e5 auto merge of #5392 : leavengood/servo/fix-alphabetic-key-codes, r=jdm 2015-03-26 14:30:56 -06:00
bors-servo
8127e1e1e9 auto merge of #5390 : leavengood/servo/backquote-handling, r=jdm 2015-03-26 13:12:53 -06:00
bors-servo
37a98e40b8 auto merge of #5383 : Ms2ger/servo/update-js, r=jdm 2015-03-26 12:18:55 -06:00
Ryan Leavengood
0d0be2aa1d Fix #5374: Use correct codes for alphabetic chars 2015-03-26 14:06:57 -04:00
bors-servo
ac786e2967 auto merge of #5388 : Ms2ger/servo/net-tests, r=jdm 2015-03-26 11:33:55 -06:00
Manish Goregaokar
1a952b935b blanket impl jstraceable on *T 2015-03-26 22:42:47 +05:30
Ryan Leavengood
99121e3096 Fix #5367: Map GraveAccent to Backquote 2015-03-26 13:11:50 -04:00
Ms2ger
6ea514bc06 Update js. 2015-03-26 17:53:51 +01:00
Ms2ger
578a909864 Stop using old_io in net tests. 2015-03-26 17:43:13 +01:00
bors-servo
265f313de3 auto merge of #5387 : Manishearth/servo/macro_path, r=Ms2ger 2015-03-26 10:39:57 -06:00
Manish Goregaokar
c9ccf7aeb4 make no_jsmanaged_fields not require imports 2015-03-26 22:05:28 +05:30
bors-servo
fefdd9afba auto merge of #5381 : Ms2ger/servo/old_path, r=jdm 2015-03-26 09:36:56 -06:00
bors-servo
26c77d6662 auto merge of #5380 : fabricedesre/servo/no-unused-import, r=Ms2ger 2015-03-26 08:51:51 -06:00
bors-servo
699ace844c auto merge of #5375 : frewsxcv/servo/xhr-docs, r=jdm
Also adding some newlines for visual separation between
functions/methods
2015-03-26 06:33:50 -06:00
Ms2ger
e2c03510de Stop using old_path in contenttest. 2015-03-26 09:28:37 +01:00
Ms2ger
385e472ca0 Update the feature gates for contenttest. 2015-03-26 09:27:36 +01:00
Ms2ger
9aa2696641 Stop using old_path in net. 2015-03-26 08:59:33 +01:00
Ms2ger
b5bc73f5cb Stop using old_path in compositing. 2015-03-26 08:59:16 +01:00
Fabrice Desré
0580ad9a82 Suppress unused import warnings 2015-03-25 22:57:27 -07:00
bors-servo
96fb1dac3d auto merge of #5377 : frewsxcv/servo/rm-node-iter, r=jdm
Was introduced in 7aee1cae84

I noticed it isn't actively in use, so unless there's some bigger reason
why it exists, it could probably be removed
2015-03-25 23:30:48 -06:00
bors-servo
d784d9c488 auto merge of #5348 : nnethercote/servo/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.
2015-03-25 21:18:48 -06:00
bors-servo
432739164b auto merge of #5359 : aweinstock314/servo/moz-events, r=jdm
Addresses #5352.

This is based on https://github.com/glennw/servo/tree/moz-events
2015-03-25 20:00:54 -06:00
Corey Farwell
01ac9a6c87 Remove unused script::dom::node::NodeIterator
Was introduced in 7aee1cae84

I noticed it isn't actively in use, so unless there's some bigger reason
why it exists, it could probably be removed
2015-03-25 21:45:28 -04:00
Corey Farwell
14a9871792 Add comments linking XHR code to XHR specification
Also adding some newlines for visual separation between
functions/methods
2015-03-25 20:35:31 -04:00