Added proper webOS identification for the webOS-ports release of Open webOS known as LuneOS
Enyo-DCO-1.1-Signed-off-by: Jason Robitaille <jason.robitaille@lge.com>
PlatformSample shows Enyo version
Switch to single quote
ENYO-339: getAbsoluteBounds now exactly mirrors getBoundingClientRect
This includes rotation and complex transformations. For basic measurements, which disregard for transformed size, just basic DOM measurement, use `enyo.dom.getBounds()`.

Enyo-DCO-1.1-Signed-off-by: Blake Stephens <blake.stephens@lge.com>
ENYO-571: Prevent poisoning of other DataLists after explicitly specifying controlsPerPage.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>
Merge pull request #945 from enyojs/ENYO-571-aarontam

ENYO-571: Prevent poisoning of other DataLists after explicitly specifying controlsPerPage.

Reviewed By: Derek Anderson <derek.anderson@lge.com>
Integrated-By: Ryan Duffy (ryan.duffy@lge.com)
Update version string to 2.5.3-pre.1
ENYO-575: Guard against invalid page index

Temporary fix for bogus page index problem that can cause invalid
elements to render in DataList. Permanent fix coming soon...

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)
Merge pull request #948 from enyojs/ENYO-575-quickfix-graynorton

ENYO-575: Guard against invalid page index

Reviewed-By: Aaron Tam (aaron.tam@lge.com) 
Integrated-By: Gray Norton (gray.norton@lge.com)
ENYO-573: Synchronize up/down events based on button.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>
ENYO-591: Clean up DataList page assignment logic

We have recently had some issues (e.g. ENYO-575, BHV-18217) that
arose because DataList would sometimes assign invalid (negative)
page indices.

We made point fixes to address these specific issues (including
one fix that we knew was just a quickfix for a deeper issue), but
in the process it became apparent that some general cleanup in this
area would yield more understandable / maintainable code and
probably nip similar issues in the bud.

In this change, we:

* Consolidate page assignment logic, which was formerly done
  partially in refresh() and partially in resetToPosition(), into
  a single new  method, assignPageIndices()

* Incorporate logic originally implemented in Moonstone to be
  smarter about choosing whether to generate the preceding or
  following page along with our target page

* Document page assignment logic thoroughly with inline comments

* Refactor reset(), refresh() and resetToPosition() to be
  independent of one another while sharing common functionality

* Add a new optional argument, scrollerArgs, to scrollToIndex().
  This allows scrollToIndex() to be easily overridden in Moonstone
  (and potentially other libraries) without copying and pasting a lot of code.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)
ENYO-591: Provide simpler mechanism for overriding scrollToControl

Our fix for ENYO-591 introduced an overly complex, awkward method
for subkinds of the DataList delegate to override scrollToControl.

Replacing that with something cleaner and simpler. (Thanks to Ryan
Duffy for the suggestion.)

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)
ENYO-573: Adding in-line documentation.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>
Merge pull request #949 from enyojs/ENYO-573-aarontam

ENYO-573: Synchronize up/down events based on button.

Reviewed-By: Krishna Rangarajan (krishna.rangarajan@lge.com)
Integrated-By: Gray Norton (gray.norton@lge.com)
ENYO-593: Scroll thumb doesn't properly hide in some cases

We recently made a change to the thumb-showing and -hiding logic
in TouchScrollStrategy, calling showThumbs() from the
onScrollMathScroll handler. We neglected to call delayHideThumbs(),
however, which resulted in the thumb not properly disappearing in
some edge cases.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)
Merge pull request #954 from enyojs/ENYO-593-graynorton

ENYO-593: Scroll thumb doesn't properly hide in some cases

Reviewed-By: Aaron Tam (aaron.tam@lge.com)
Integrated-By: Aaron Tam (aaron.tam@lge.com)
Merge pull request #951 from enyojs/ENYO-591-graynorton

ENYO-591: Clean up DataList page assignment logic

Reviewed-By: Ryan Duffy (ryan.duffy@lge.com)
Integrated-By: Aaron Tam (aaron.tam@lge.com)
Merge pull request #929 from enyojs/luneos-jasonrobitaille

Added proper webOS identification for the webOS-ports release of Open we...

Reviewed-by: Roy Sutton (roy.sutton@lge.com)
Integrated-By: Aaron Tam (aaron.tam@lge.com)
BHV-19352: Fix controlsPerPage issue in vertical grid delegate

controlsPerPage in vertical delegate was recently updated to
invalidate cached page metrics. This was required to ensure that
pages were generated correctly after the list has been resized.

However, vertical grid delegate has been overriding controlsPerPage
in a way that is not compatible with the recent change, resulting
in calculation errors for DataGridList.

In this commit, we refactor the controls-per-page calculation so
that the vertical grid delegate can override just the portion it
needs to change, while preserving the rest of the logic.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)
BHV-19352: Restoring _updatedControlsPerPage

Restoring timestamp that was overzelously removed in the previous
commit.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)