Skip to content

Add CFMutableDictionary type. - #135

Merged
bors-servo merged 1 commit into
servo:masterfrom
djg:dict_mut
Jan 20, 2018
Merged

bors-servo merged 1 commit into
servo:masterfrom
djg:dict_mut

Conversation

@djg

@djg djg commented Nov 27, 2017 •

Copy link
Copy Markdown

Added CFMutableDictionary that presents the mutable dictionary
functions of CF. Tries to present a similar interface as CFDictionary.

Fixes issue #93.


This change is Reviewable

Comment thread core-foundation/src/dictionary.rs Outdated
impl Clone for CFMutableDictionary {
#[inline]
fn clone(&self) -> CFMutableDictionary {
unsafe {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self.copy_with_capacity?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review, @jdm. I pushed the requested changes.

Added CFMutableDictionary that presents the mutable dictionary
functions of CF. Tries to present a similar interface as CFDictionary.

Fixes issue servo#93.
@jdm

jdm commented Nov 29, 2017

Copy link
Copy Markdown
Member

@bors-servo: r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 6a77e37 has been approved by jdm

bors-servo pushed a commit that referenced this pull request Nov 29, 2017
Add CFMutableDictionary type.

Added CFMutableDictionary that presents the mutable dictionary
functions of CF. Tries to present a similar interface as CFDictionary.

Fixes issue #93.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/135)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 6a77e37 with merge 5aa66a0...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-travis

@jdm

jdm commented Jan 16, 2018

Copy link
Copy Markdown
Member

@bors-servo retry

bors-servo pushed a commit that referenced this pull request Jan 17, 2018
Add CFMutableDictionary type.

Added CFMutableDictionary that presents the mutable dictionary
functions of CF. Tries to present a similar interface as CFDictionary.

Fixes issue #93.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/135)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 6a77e37 with merge 8be0848...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-travis

@jdm

jdm commented Jan 17, 2018 •

Copy link
Copy Markdown
Member
error: process didn't exit successfully: `/Users/travis/build/servo/core-foundation-rs/core-foundation/target/debug/deps/core_foundation-a1646b9f32dd17a1` (signal: 4, SIGILL: illegal instruction)

However, the test that was added in this PR passed, so probably preexisting?

@jdm

jdm commented Jan 17, 2018

Copy link
Copy Markdown
Member

I think it's another instance of #141 that panics during a C callback.
@bors-servo retry

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 6a77e37 with merge 611201a...

bors-servo pushed a commit that referenced this pull request Jan 18, 2018
Add CFMutableDictionary type.

Added CFMutableDictionary that presents the mutable dictionary
functions of CF. Tries to present a similar interface as CFDictionary.

Fixes issue #93.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/135)
<!-- Reviewable:end -->
@faern faern mentioned this pull request Jan 18, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-travis

@jdm

jdm commented Jan 18, 2018

Copy link
Copy Markdown
Member

@bors-servo: retry

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 6a77e37 with merge 535b893...

bors-servo pushed a commit that referenced this pull request Jan 19, 2018
Add CFMutableDictionary type.

Added CFMutableDictionary that presents the mutable dictionary
functions of CF. Tries to present a similar interface as CFDictionary.

Fixes issue #93.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/135)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💥 Test timed out

@jdm

jdm commented Jan 19, 2018

Copy link
Copy Markdown
Member

@bors-servo retry

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 6a77e37 with merge 3a8e10c...

bors-servo pushed a commit that referenced this pull request Jan 19, 2018
Add CFMutableDictionary type.

Added CFMutableDictionary that presents the mutable dictionary
functions of CF. Tries to present a similar interface as CFDictionary.

Fixes issue #93.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/135)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - status-travis
Approved by: jdm
Pushing 3a8e10c to master...

@bors-servo
bors-servo merged commit 6a77e37 into servo:master Jan 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants