Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for range control #39 #44

Merged
merged 8 commits into from
May 25, 2017
Merged

Add support for range control #39 #44

merged 8 commits into from
May 25, 2017

Conversation

dcbriccetti
Copy link
Contributor

Work in progress. Built on the 25-modernize-xformparser branch. The key change is this commit: https://github.com/dcbriccetti/javarosa/commit/a099ca7a927b9051c39b38a97ad40e3c4a1d6a26. There is some prep work earlier in the day, Apr 26.

…th because it’s a bad practice and because Arrays.asList, which is a handy way to create the argument for this parameter, creates a fixed-size List.
…quired to properly collect the attributes.) Add a test.
Conflicts:
	test/org/javarosa/xform/parse/XFormParserTest.java
…s start, end and step values in it. Add a new test for a form with a bad data value in a range attribute.
@dcbriccetti
Copy link
Contributor Author

@lognaturel, @mitchellsundt and @ctsims, perhaps you’ll have a moment to look over this change. 3911f90
Thanks!

@lognaturel
Copy link
Member

@dcbriccetti It would be super helpful to know the kind of feedback you're looking for. Do you think it's ready to go and want final review? Is there a particular aspect that you're unsure about?

This is a pretty different approach from the way attributes in other contexts are handled but it's clean.

@dcbriccetti
Copy link
Contributor Author

Hi @lognaturel. I was hoping for some reassurance from @mitchellsundt and/or @ctsims, but if you like the tests and the implementation, I say this is ready to go.

@ctsims
Copy link
Contributor

ctsims commented May 22, 2017

This implementation makes sense to me and seems quite clean. I appreciate the lack of appearance attributes full of magic strings :p.

@dcbriccetti
Copy link
Contributor Author

@ctsims, thanks for having a look!

@lognaturel
Copy link
Member

@ctsims Thanks so much for the reassurance as we get our JavaRosa sea legs!! And @dcbriccetti thanks for the clean implementation. Yay for BigDecimal! 😄

@lognaturel lognaturel merged commit 4bf5e62 into getodk:master May 25, 2017
@dcbriccetti dcbriccetti deleted the 39-range-element branch June 1, 2017 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants