Josh Matthews
0c51a192d7
Address review comments.
2015-02-04 13:35:05 +00:00
Josh Matthews
d2444dd370
Implement document.cookies.
2015-02-04 13:35:05 +00:00
Josh Matthews
824709f178
Unify the get/set scookie APIs to make them both deal with raw strings.
2015-02-04 13:35:05 +00:00
Josh Matthews
504094aa84
Set cookie headers on the request, rather than the load data, to ensure they are used after redirects occur.
2015-02-04 13:35:05 +00:00
Josh Matthews
14df9f8a70
Differentiate between HTTP and non-HTTP APIs for cookie operations. Fix some incorrect cookie removal operation logic. Order the returned cookies according to the spec. Make cookie unit tests pass.
2015-02-04 13:35:05 +00:00
Josh Matthews
24c8896f88
Improve redirect behaviour to clear headers and reevaluate sent cookies. Implement storage-related cookie behaviour such as domain and path matching that cookie-rs doesn't require. Remove stored cookies when an empty value is stored. Document cookie code.
2015-02-04 13:35:05 +00:00
Josh Matthews
ae2b74c783
Make Document::url return the page's URL to avoid stale URLs after redirects.
2015-02-04 13:34:06 +00:00
Josh Matthews
19fbb9e568
Set the Content-Type header when submitting a urlencoded form.
2015-02-04 13:34:06 +00:00
Shamir Khodzha
3239aeacdc
cookies and cookies storage implementation
2015-02-04 13:34:06 +00:00
bors-servo
e14c569ed0
auto merge of #4832 : Adenilson/servo/transparentBlack01, r=jdm
...
This patch set will implement a new helper function for transparent black, while changing the behavior of helper black() function returning opaque black by default.
It will also use the new Color equality operator to streamline the code in some points.
2015-02-04 04:21:49 -07:00
bors-servo
e0d4fd3594
auto merge of #4706 : gilles-leblanc/servo/issue-3740, r=jdm
...
Fixes #3740
2015-02-04 03:39:49 -07:00
Adenilson Cavalcanti
7a36634963
Using the equality operator in PaintContext. Pay attention this
...
is a change on behavior as we previously didn't test for alpha
channel.
2015-02-03 18:51:50 -08:00
bors-servo
a766f1a706
auto merge of #4830 : glennw/servo/android-gl, r=mbrubeck
2015-02-03 19:45:49 -07:00
Gilles Leblanc
a1804effaf
Initialize trusted-ness of DOM events properly
...
Fixes #3740
2015-02-03 21:40:07 -05:00
Adenilson Cavalcanti
3088b8fc30
Using the new equality operator in LayoutTask.
2015-02-03 18:14:42 -08:00
Adenilson Cavalcanti
ffa23088ff
Using the new transparent_black() in the proper places.
2015-02-03 18:08:30 -08:00
bors-servo
95802fe8b3
auto merge of #4826 : mbrubeck/servo/cef_plugins, r=jdm
...
Fixes errors linking to our CEF embedding library. r? @glennw
2015-02-03 19:03:50 -07:00
Adenilson Cavalcanti
e1db06475c
There are cases where we need opaque black (e.g. border color) and
...
other cases where we need transparent black (e.g. clearing, root layers).
2015-02-03 17:40:50 -08:00
bors-servo
1e72608f5c
auto merge of #4823 : Ms2ger/servo/warnings, r=jdm
2015-02-03 17:57:51 -07:00
bors-servo
902c16497c
auto merge of #4815 : Swatinem/servo/lowercasegetters, r=Manishearth
...
The implementation was copied directly from
https://github.com/rust-lang/rust/pull/16636
and updated for rust changes, so the credit goes to @Manishearth
2015-02-03 17:09:53 -07:00
Glenn Watson
e5bf195098
Load android OpenGL pointers ( fixes #4824 ).
2015-02-04 09:22:34 +10:00
bors-servo
e48eb87eb4
auto merge of #4829 : servo/servo/revert-4825-usingColorOperators01, r=jdm
...
Reverts servo/servo#4825
I merged this incorrectly via the big green button and busted the tree pretty badly. @Adenilson has committed to fixing the issue in rust-azure and then relanding this in a fixed state.
2015-02-03 16:12:54 -07:00
Martin Robinson
8855a25780
Revert "Using Color equality operators to streamline code"
2015-02-03 15:07:30 -08:00
Matt Brubeck
96cb0fbabf
Add [no_link] attribute to plugins crate
...
Fixes errors linking to our CEF embedding library.
2015-02-03 13:12:14 -08:00
Martin Robinson
728f723753
Merge pull request #4825 from Adenilson/usingColorOperators01
...
Using Color equality operators to streamline code
2015-02-03 11:12:44 -08:00
Adenilson Cavalcanti
cc404aba1a
Using Color equality operators to streamline code in
...
PaintContext and LayoutTask.
2015-02-03 11:03:09 -08:00
Arpad Borsos
02d750adba
Lowercase DOM getters at compile time, fixes #4728
...
The implementation was copied directly from
https://github.com/rust-lang/rust/pull/16636
and updated for rust changes, so the credit goes to @Manishearth
2015-02-03 19:58:47 +01:00
bors-servo
8e6dcc7c26
auto merge of #4820 : servo/servo/send-recv, r=Ms2ger
2015-02-03 11:24:53 -07:00
bors-servo
2bfe5cfecd
auto merge of #4729 : yodalee/servo/issue4534-form-submission-for-button-elements, r=jdm
...
Sorry for the late PR for the issue #4534 .
This issue is more complicated than I thought, I have to un-comment the Form-related attribute in Button element.
In the beginning, I modify the files in `bindings` directory, and it's ... generated files.
Hope I don't make something wrong.
2015-02-03 10:40:01 -07:00
Ms2ger
e2408355a7
Fix build warnings.
2015-02-03 18:22:27 +01:00
yodalee
67ff27293a
remove expected FAIL but now PASS in test ini
2015-02-04 01:02:36 +08:00
bors-servo
45ebcf1df7
auto merge of #4818 : Ms2ger/servo/tna-parser, r=jdm
2015-02-03 09:39:53 -07:00
bors-servo
bc448f158b
auto merge of #4817 : Ms2ger/servo/to_js, r=jdm
...
They are unused.
2015-02-03 08:18:52 -07:00
Alexandru Cojocaru
685fee02a0
add unwrap
to send/recv
calls
2015-02-03 16:05:13 +01:00
Ms2ger
eb5759774c
Remove JS::from_trusted_node_address.
2015-02-03 16:04:47 +01:00
Ms2ger
12be33efc9
Use JS<Node> rather than TrustedNodeAddress in the HTML parser.
2015-02-03 16:03:23 +01:00
Ms2ger
444e76c397
Remove the to_js methods.
...
They are unused.
2015-02-03 15:12:01 +01:00
bors-servo
3da41c2b16
auto merge of #4816 : mskrzypkows/servo/mskrzypkows_b, r=jdm
...
Sorry again the same pull request because I accidentally removed commit from branch.
2015-02-03 07:09:52 -07:00
yodalee
7f64c27a8f
remove type match in is_instance_activatable
2015-02-03 21:39:24 +08:00
bors-servo
32a807da82
auto merge of #4814 : Ms2ger/servo/layout_interface-doc, r=jdm
2015-02-03 06:21:53 -07:00
Ms2ger
32341069a8
Correct the documentation comment syntax in layout_interface.rs.
2015-02-03 14:10:25 +01:00
yodalee
5f82780d3a
coding style in htmlinputelement, TODO in button
...
add comment, empty line in inputelement
add button type TODO in buttonelement
2015-02-03 20:53:06 +08:00
yodalee
0f2b1c4856
activation behavior for Button type Submit
2015-02-03 20:37:06 +08:00
yodalee
15231db7d3
add Form related attribute to HTMLButtonElement
...
add formAction, formEnctype, formMethod, formTarget
2015-02-03 20:33:38 +08:00
yodalee
a026ccd4bb
implment activation of buttonelement
...
ignore button type first
2015-02-03 20:33:24 +08:00
bors-servo
2ae7ed327d
auto merge of #4802 : dlespiau/servo/20150202-fedora-bz2-devel, r=jdm
...
The bzip2 devel package is bzip2-devel, not just bzip2. This fixes
linking on fedora machines:
note: /usr/bin/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status
error: aborting due to previous error
Could not compile `servo`.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-02-03 05:06:50 -07:00
yodalee
6d0e9a6c9d
implement formcontrol for htmlbuttonelement
2015-02-03 19:50:31 +08:00
yodalee
c0867ec90a
formcontrol trait to element trait
...
mutable function and reset function in formcontrol
move into trait of single element
currently only TextArea element and Input element
2015-02-03 19:50:31 +08:00
yodalee
c5a5db6324
add button type into HTMLButtonElement
2015-02-03 19:45:03 +08:00
Damien Lespiau
4ce4e89810
Fix the fedora bzip2 dependency
...
The bzip2 devel package is bzip2-devel, not just bzip2. This fixes
linking on fedora machines:
note: /usr/bin/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status
error: aborting due to previous error
Could not compile `servo`.
2015-02-03 11:32:39 +00:00