Commit graph

2250 commits

Author SHA1 Message Date
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
ac736c6053 moved previous strip query tests to tests for cleanHash 2011-04-12 01:16:20 -07: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
cdc0f139ce tests for nested pages/query params 2011-04-12 01:05:36 -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
193762da19 tests for handling query params in makeAbsolute path helper, moved path helper tests to helper test file 2011-04-11 23:42:01 -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
John Bender
7d6ff25543 [astounding] fixed css that locked ie in the navigation unit tests. tagged so I can show my kids some day 2011-04-08 22:04:06 -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
5c1953f5cd set version to 1.0a4.1 2011-04-07 16:55:05 -04: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
John Bender
5158c6f7cb comment correction in test 2011-04-06 13:33:32 -07:00
John Bender
ceed56fb2a test added for checkbox check and uncheck firing change 2011-04-06 13:31:06 -07: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
d591be56e2 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-04-05 10:24:01 -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
toddparker
164d40b711 Set loader z-index to 100 so it sits over sliders. Fixes #1371 2011-04-05 12:20:54 -04:00
toddparker
77d7c08316 Removed placeholder A4 banner graphic. 2011-04-05 11:41:42 -04:00
John Bender
b1da5f0d06 added tests to make sure links that reference the pages they are defined within don't transition Fixes #1360 2011-04-04 23:47:16 -07:00
John Bender
05cc415f0c fix for current page links 2011-04-04 23:41:05 -07:00
toddparker
97db437373 Removed duplicate text shadow rule 2011-04-04 22:31:14 -04: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
John Bender
280394757b fixed titles in the checkbox radio tests 2011-04-01 23:43:59 -07:00
John Bender
4bea7c41b8 fixed broken open page call to prevent redirect in tests 2011-04-01 22:55:55 -07:00
John Bender
9280fb467f whitespace in listview tests 2011-04-01 22:55:55 -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
scottjehl
bb7b09f2a1 documented theme css namespace caveat. Fixes #1341 2011-04-01 14:58:36 -04:00
scottjehl
cb34aa2169 typo 2011-04-01 12:28:28 -04:00
scottjehl
39f904091f updated version to 1.0beta-pre 2011-04-01 12:01:24 -04:00
John Bender
3a85ef61ac removed global pre test setup that used QUnit.start :(, and fixed spurious test failures from changePage being fired by the library after it had been redefined in the tests 2011-04-01 02:11:15 -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
John Bender
f63b1bf911 moved page title tests to sequence to stabalize their behavior 2011-03-31 22:47:40 -07:00