Nabil Saleh
eefbdecf0a
further cleanup
2011-04-29 10:50:10 +02:00
Nabil Saleh
3339a272e5
code cleanup
2011-04-29 10:41:36 +02:00
Nabil Saleh
ca767ff3aa
code cleanup
2011-04-29 10:09:04 +02:00
Nabil Saleh
b10c71814c
further performance optimization:
...
- hiding all elements at once
2011-04-20 17:31:57 +02:00
Nabil Saleh
9cb8673e68
data-filter performance optimization
...
- algorithmic optimization of listview.filter
- functional optimization by supporting data-filtertext attribute
includes patch from mathieucarbou: f58631d07d
2011-04-19 11:25:48 +02:00
Nabil Saleh
702e89f034
fix for Issue #1425
...
- active state was not removed from buttons when they where not used for pagenavigation
2011-04-18 15:01:31 +02:00
scottjehl
472cbb1778
moved calls into one. #cleaning
2011-04-17 14:24:47 -07:00
scottjehl
b649f17d9d
one call to $.type
2011-04-17 12:11:03 -07:00
Kin Blas
8c71ee5dff
Fix for issue 1458 - Listview thumbnails aren't rendering correctly.
...
Needed to modify _itemApply() to look for the first image that is the first child of its parent. I may need to tweak this at a later point because the selector is still too general.
2011-04-14 23:36:58 -07:00
John Bender
2242684e59
added support for query params with dialog hash keys
2011-04-14 21:49:50 -07:00
John Bender
59bd1400ad
check the url saved on the page element in the history stack to avoid checking agains the dialog nonsense url Fixes #1433
2011-04-14 21:49:50 -07:00
scottjehl
af7451d5ff
switched to boolean check and removed the second value. Now this is only true in old webos, where it should be.
2011-04-14 18:10:22 -04:00
Kin Blas
609d1de5f4
Fix for issue 1446 - Can't drag slider in 1.0a4.1 (Android 2.1)
...
- Don't bind and unbind our touch listeners dynamically. This gets Android 2.1 into a strange state where it stops dispatching touch events. Instead, we now register our touchmove, touchend and scroll listeners at the same time we register our permanent touchstart listener, we then block and unblock processing in our touch listeners via a flag.
2011-04-13 15:52:51 -07:00
Kin Blas
212f9ed237
Modified _createSubPages() to reduce the number of property lookups and function calls per iteration.
2011-04-12 14:33:20 -07:00
Kin Blas
12c8c61e85
Merge branch 'master' of https://github.com/jquery/jquery-mobile
2011-04-12 13:55:15 -07:00
Kin Blas
98dc036ff0
Fix for Issue 1424 - Adding items to listviews on a4.1 is too slow
...
- Some optimizations to speed things up:
- Modified _itemApply() to make use of item.children() and filters. Also got rid of some unused code.
- Convert .each() in refresh() to a loop.
- Cache some $list.jqmData() values so we don't do it for each list item.
2011-04-12 13:51:27 -07:00
scottjehl
c3fd9c1835
made sure a couple of variables are locally scoped. Fixes #1403
2011-04-12 15:11:14 -04:00
John Bender
aee4c631da
removed stripQuery helper to reduce confusion and complexity as striping the query param from a url is much more complex than a hash as it was originally intended for
2011-04-12 01:14:05 -07:00
John Bender
a5add9a974
added handling for identical query param href/action on the same page
2011-04-12 00:58:24 -07:00
John Bender
8d3dc2cbc2
query param href/actions require absolute path prefixes when no relative path information is contained in the hash
2011-04-12 00:22:42 -07:00
John Bender
681f2a2073
handle relative query param links and forms Fixes #1160
2011-04-11 23:40:53 -07:00
John Bender
d6439d235f
removed duplicate current page check in favor of fixing the off by one bug
2011-04-11 22:59:51 -07:00
John Bender
09b736a399
minor refactor from Scott's original suggestion on the issue
2011-04-10 22:59:06 -07:00
John Bender
c5ba91f0b9
navigation whitespace
2011-04-10 22:58:21 -07:00
Kin Blas
0ef954575a
Fix for issues:
...
1333 - Delay when scrolling over list when data-theme="d"
1368 - Listview refresh performance on a4
1407 - Bad scroll performance since A4 on iPhone 3G
Removed the checking for window.pageX/pageY in the vmouse touch callbacks. Accessing pageX/pageY causes the browser to flush its rendering queue.
2011-04-08 11:01:41 -07:00
scottjehl
3da5f05f75
wrapped the else if/else in an else to prevent an unnecessary dom walk until we have to make it.
2011-04-07 16:50:10 -04:00
scottjehl
97f5a9565f
To ensure focus and scrollTo don't conflict (when possible), I set the focus order on page show to 1) previously clicked item if revisiting that page 2) page title 3) first focusable item in the page. Fixes #1342
2011-04-07 16:27:32 -04:00
scottjehl
b4088b9422
don't add the class to a disabled button. Fixes the checkbox test
2011-04-07 15:34:17 -04:00
scottjehl
cd0ad522ba
moved the active state vclick to navigation
2011-04-07 15:28:52 -04:00
scottjehl
784f5974e5
make sure collapsibles don't have a sticky on-state.
2011-04-07 15:03:29 -04:00
scottjehl
982b7d4b15
Make navigation feel more responsive through feedback, even though it actually uses the click event again for actual page changes.
...
- set active state on all button vclick events
- cancelled vclick on slider switch handles so it's not too sticky.
- removed addClass in navigation.js as the first change handles it there.
2011-04-07 14:41:45 -04:00
scottjehl
9a1b2dcb3c
changed name of interal function loadComplete to pageChangeComplete
2011-04-07 11:33:04 -04:00
Martin Kou
4dc2560895
Fixed yet another duplicate tap event bug.
2011-04-06 23:39:41 +08:00
John Bender
141127b903
fixed scoping issue that was causing the checkbox check to fail, tests to follow Fixes #1328
2011-04-05 23:47:34 -07:00
Kin Blas
c7aadd8a47
Fix for issue 1379 - vmouseclick or vclick?
...
- Changed typo "vmouseclick" to "vclick".
2011-04-05 15:57:37 -07:00
Kin Blas
600a43f746
Fix for ssue 1369 - vmouseup event has no [client/page/screen][X/Y] properties on iOS devices
...
- Modified createVirtualEvent to use changedTouches if touches doesn't exist.
- Also filed issue 1373 about the fact that we really need to be tracking touch identifiers in the vmouse code.
2011-04-05 10:21:54 -07:00
John Bender
05cc415f0c
fix for current page links
2011-04-04 23:41:05 -07:00
Kin Blas
d43bbfc52a
Switch back to hijacking links on the click event. We'll focus on improving "percieved" visual performance since launching a page load and transitions on vclick opens us up to too many problems:
...
- Third party click handlers never called.
- Touch and click target mismatches due markup changes before the click events are generated. (What looks like a double click event)
2011-04-04 10:00:24 -07:00
John Bender
5c37beaa29
activeElement conditional for windows support Fixes #1294
2011-04-02 00:03:37 -07:00
Kin Blas
58369ec943
Added missing comma in var declaration.
2011-04-01 14:05:46 -07:00
Kin Blas
8cd0d2c679
I'm not sure how this happened, but the dataType fix for Issue 991 disappeared between commits 61005944 and 7503f62a.
...
Adding it back in to fix Issue 1349 - File urls still not working in alpha 4 as shipped.
2011-04-01 13:37:18 -07:00
John Bender
f2525b06de
moved attribute call to jqmData call
2011-04-01 02:09:05 -07:00
John Bender
fad90ca99a
navigation white space
2011-04-01 01:48:38 -07:00
John Bender
74d13ee034
whitespace in mobile core
2011-03-31 23:39:09 -07:00
scottjehl
7d04d3eb37
updated to jQuery 1.5.2
2011-03-31 18:09:46 -04:00
scottjehl
cbd1e4cb4c
Merge remote branch 'origin/master'
2011-03-31 17:49:15 -04:00
scottjehl
ec8a9cfed4
Merge remote branch 'origin/master'
2011-03-31 17:40:16 -04:00
Kin Blas
ae06612eca
Clear our preventClickDefault and stopClickPropagation locals in the live click handler.
2011-03-31 14:39:11 -07:00
scottjehl
4839d82e54
removed class we weren't using
2011-03-31 17:31:16 -04:00
scottjehl
f241a858b5
fixed ordered lists in readonly OL listviews. Fixes #1144
2011-03-31 17:24:09 -04:00