GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Kotlin Language Adaptor by MarioAriasC · Pull Request #292 · ReactiveX/RxJava

Conversation

@MarioAriasC

@MarioAriasC MarioAriasC commented Jun 8, 2013

Copy link
Copy Markdown
Contributor

Langauge adaptor for kotlin

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
MarioAriasC added 7 commits May 15, 2013 07:36
@MarioAriasC
Kotlin support for RxJava
ac687c3
@MarioAriasC
Readme and Apache licenses
0a34144
@MarioAriasC
Merge remote-tracking branch 'upstream/master'
71573d7
@MarioAriasC
Merge remote-tracking branch 'upstream/master'
4f8251f
Conflicts:
	rxjava-core/src/main/java/rx/util/functions/Functions.java
@MarioAriasC
update for kotlin M5.3
6b93817
@MarioAriasC
Merge remote-tracking branch 'upstream/master'
d9b9fab
@MarioAriasC
format correction
003d248
@cloudbees-pull-request-builder

cloudbees-pull-request-builder commented Jun 8, 2013

Copy link
Copy Markdown

RxJava-pull-requests #165 FAILURE
Looks like there's a problem with this pull request

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MarioAriasC

MarioAriasC commented Jun 8, 2013

Copy link
Copy Markdown
Contributor Author

Is a problem with the Perm-Gen memory size when compiling the scala module after you download the kotlin libraries for the first time. The problem disappear growing up the Perm-Gen size, or running the whole process a second time

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@benjchristensen

benjchristensen commented Jun 14, 2013

Copy link
Copy Markdown
Member

Thank you for submitting this, I am not ignoring it due to lack of interest, I'm just overly busy at the moment but I will get around to this!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MarioAriasC

MarioAriasC commented Jun 14, 2013

Copy link
Copy Markdown
Contributor Author

No problem

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codefromthecrypt

codefromthecrypt commented Jun 29, 2013

Copy link
Copy Markdown

@MarioAriasC you might want to redo this on a feature branch as there's a lot of clutter (merge commits, whoops I forgot this) here. I'll review anyway, but we are interested in merging concise, complete commits. make sense? Let me know if you need git syntax help.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

codefromthecrypt
codefromthecrypt reviewed Jun 29, 2013
View reviewed changes
Comment thread language-adaptors/rxjava-kotlin/build.gradle

@codefromthecrypt codefromthecrypt Jun 29, 2013

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

this is redundant

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@MarioAriasC MarioAriasC Jul 3, 2013

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Needed by Kotlin Gradle plugin

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@codefromthecrypt

codefromthecrypt commented Jun 29, 2013

Copy link
Copy Markdown

looks good to me. sufficient unit tests, etc. cleanup the files, build.gradle, and commit, then ask @benjchristensen!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

codefromthecrypt
codefromthecrypt reviewed Jun 29, 2013
View reviewed changes
Comment thread language-adaptors/rxjava-kotlin/build.gradle

@codefromthecrypt codefromthecrypt Jun 29, 2013

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

looking at your source, I don't see use of junit outside tests, mark this testCompile

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@MarioAriasC

MarioAriasC commented Jul 2, 2013

Copy link
Copy Markdown
Contributor Author

@adriancole Any help with git syntax (and other things) will be very appreciated

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codefromthecrypt

codefromthecrypt commented Jul 2, 2013

Copy link
Copy Markdown

sure.

It looks like you are 7 commits ahead of master (merges plus the other things you've added)

do git reset HEAD~7 which should unstage your changes.

Then, you do git pull upstream master to reset your head to latest.
Then, redo your commit, and you'll need to do git push -f origin master to overwrite the commits here.

hope this helps.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@benjchristensen

benjchristensen commented Jul 5, 2013

Copy link
Copy Markdown
Member

We are getting very close to being able to pull this in (with some refactoring) now that pull #300 is coming.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mattrjacobs mattrjacobs mentioned this pull request Jul 6, 2013
Version 0.10.0 - Static Language Support #304
Closed
@benjchristensen

benjchristensen commented Aug 31, 2013

Copy link
Copy Markdown
Member

Does Kotlin support closure/function coercion like Java 8 or Groovy 2.2 (http://docs.codehaus.org/display/GROOVY/2013/07/09/First+beta+of+Groovy+2.2+available) or allow dynamic generation of extension methods?

I see that Kotlin has extension methods, but every method must be defined manually.

I'm interested in a mechanism to automatically coerce from Kotlin functions to RxJava Function/Action classes, or dynamically generate the extension methods. Here's how I generate the extension methods dynamically in Groovy: https://github.com/Netflix/RxJava/blob/master/language-adaptors/rxjava-groovy/src/main/java/rx/lang/groovy/RxGroovyExtensionModule.java#L84

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@benjchristensen

benjchristensen commented Aug 31, 2013

Copy link
Copy Markdown
Member

For background on the previous questions and why it has been so long in responding to this pull request look at release 0.11.0 which significantly changes how we do language adaptors: https://github.com/Netflix/RxJava/releases/tag/rxjava-0.11.0

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MarioAriasC

MarioAriasC commented Sep 2, 2013

Copy link
Copy Markdown
Contributor Author

Kotlin support function coercion is called SAM (Single Abstract Method) Conversions, this support was introduced in M5.2 and completed in M6 http://blog.jetbrains.com/kotlin/2013/08/kotlin-m6-is-here/

Personally I used it in other project and works fine, but sometimes the compiler can infer the actual type of the interface, in those cases we could fall back on Extension methods.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@MarioAriasC @cloudbees-pull-request-builder @benjchristensen @codefromthecrypt
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.