Commit graph

2307 commits

Author SHA1 Message Date
John Bender
dfab3d7920 increased two test timeouts to give slower ci test browser time work, also included a small whitespace fix to nav 2011-04-21 23:17:08 -07:00
John Bender
70a86c748f added a sequenced test to make sure that opening a dialog sized select menu resulted in that same dialog many times. also moved one of the event tests over to core 2011-04-21 22:32:37 -07:00
John Bender
cf23361a19 added the single call to local function focus button to ensure menu height calculation is accurate Fixes #1453 2011-04-21 22:30:39 -07:00
Kin Blas
2d2e6d7741 Fix for issue 1461 - Tops of pages missing after dialog click in Safari and iPhone.
- Delayed the setting of focus till *AFTER* the scroll position is restored.
2011-04-21 15:31:21 -07:00
Kin Blas
1ec80bdc80 I broke button states in my last checkin. I was passing in the wrong element (document) into the new function that finds the button element. 2011-04-21 10:56:04 -07:00
Kin Blas
d4c7b5da66 Fix from @brukhabtu for issue 1492 - Errors when trying to delete DOM elements.
- Check for existence of the bindings object before attempting to use it. Apparently jQuery core strips off any data bindings of an element before calling teardown on it to remove special event handlers.
2011-04-20 18:06:21 -07:00
John Bender
b0e3d5fbf1 select test cleanup, added test to check that the dialog hash key is removed when a large select menu item is clicked Fixes #1454 2011-04-19 23:28:11 -07:00
John Bender
16a38a61ea fixed custom select dialog menu transition issues by preceding backward through history. This tightly couples the closing of custom select dialog menus to our hash change history implementation because of how it handles dialogs in dialogs. 2011-04-19 23:28:11 -07:00
John Bender
01c40c2525 select whitespace fixes 2011-04-19 23:28:11 -07:00
Kin Blas
7d9af0b2a8 Fix for issue 1157 - Collapsible block prevents page scrolling on iPhone 4
- When we switched to virtual mouse events, I just did a straight translation of the code that existed which basically did the collapse/expand on mouseup. In order to factor in scrolling, I needed to move that code into a vclick handler and stopPropagation() and preventDefault() to make sure the button doesn't activate.
2011-04-19 16:57:13 -07:00
John Bender
dbd68472b4 whitespace and comment fixes 2011-04-18 22:35:13 -07:00
John Bender
49b1b780ed test alterations for absolute navigation 2011-04-18 21:46:53 -07:00
John Bender
8e42b52767 beginning to move to absolute hashes in all cases, still some more work to do 2011-04-18 21:46:53 -07:00
toddparker
3ec9069166 Merge remote branch 'origin/master' 2011-04-18 17:35:42 -07:00
toddparker
fb8ef84434 Fixed a typo, thanks Steven. 2011-04-18 17:35:27 -07:00
Kin Blas
c31ee33a0f Fix for 1407 - Bad scroll performance since A4 on iPhone 3G
- Modified vmouse code so that it uses $.data() instead of $().data() which is significantly faster.

- Modified the navigation and buttonMarkup code so they stop using live(). The vmouse code triggers several events during the touch events, which in turn causes the underlying event code to call $.closest() with the selector used during the live() call to figure out if the event should be handled. This turns out to be very expensive, so instead, we now just bind directly to the document, and walk the DOM manually to figure out if we should handle it. This is much faster since we are avoid triggering multiple nested function calls.
2011-04-18 16:13:50 -07:00
toddparker
cdd8b745ca Added documentation on the auto-updating title and data-attr in the anatomy of a page. 2011-04-18 14:51:48 -07:00
toddparker
188913012b Merge remote branch 'origin/master' 2011-04-18 14:40:58 -07: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
b83d81962e tests for dialog query param support 2011-04-14 21:49:50 -07:00
John Bender
2242684e59 added support for query params with dialog hash keys 2011-04-14 21:49:50 -07:00
John Bender
a267a3077c added tests to verify that dialogs referencing themselves with query params don't do anything 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
093d3b1a22 Merge remote branch 'origin/master' 2011-04-14 18:10:27 -04: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
eddiemonge
f29f19ccaa update compiler link in Makefile 2011-04-15 05:52:25 +08:00
scottjehl
14b4cc4a7e updating compiler 2011-04-14 16:43:57 -04:00
scottjehl
d81751af67 Merge branch 'fr_1177' of https://github.com/eddiemonge/jquery-mobile into eddiemonge-fr_1177 2011-04-14 16:29:33 -04:00
scottjehl
d97a964884 been meaning to do this for a while. 2011-04-14 16:04:47 -04:00
eddiemonge
0bc9f7edab blank commands are not so good. 2011-04-14 12:08:24 -07:00
eddiemonge
2f8cca7c26 change file permissions for git hooks 2011-04-14 12:01:27 -07:00
eddiemonge
77b164798a Merge branch 'master' of github.com:eddiemonge/jquery-mobile into fr_1177
* 'master' of github.com:eddiemonge/jquery-mobile:
  Fix for issue 1446 - Can't drag slider in 1.0a4.1 (Android 2.1)
  Modified _createSubPages() to reduce the number of property lookups and function calls per iteration.
  Fix for Issue 1424 - Adding items to listviews on a4.1 is too slow
  made sure a couple of variables are locally scoped. Fixes #1403
  moved previous strip query tests to tests for cleanHash
  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
  tests for nested pages/query params
  added handling for identical query param href/action on the same page
  query param href/actions require absolute path prefixes when no relative path information is contained in the hash
  tests for handling query params in  makeAbsolute path helper, moved path helper tests to helper test file
  handle relative query param links and forms Fixes #1160
  removed duplicate current page check in favor of fixing the off by one bug
2011-04-14 11:54:15 -07:00
eddiemonge
4284d07508 add compiled and gitstatus.log to gitignore 2011-04-13 23:37:59 -07:00
Kin Blas
8ca008ee23 It doesn't get any true-er with an extra 'u'! 2011-04-13 18:09:41 -07:00
eddiemonge
80fc7a648a change latest build to say that in the version 2011-04-13 17:09:52 -07:00
eddiemonge
2e9e8f203a add scripts to manage git post hooks 2011-04-13 16:15:00 -07: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
eddiemonge
4f7c08140d use a php script and a cron to make latest 2011-04-13 15:40:13 -07:00
eddiemonge
250fc190ba use a log and a cron 2011-04-13 15:32:57 -07:00
eddiemonge
1882c7ab56 add post commit hook script to update git 2011-04-13 13:32:49 -07:00
eddiemonge
ca55d18e1b makefile for lateset 2011-04-13 12:54:54 -07:00
eddiemonge
55d82f47ac makefile reads jquery core version from the file 2011-04-13 11:01:25 -07:00
eddiemonge
a65ac5f268 change makefile to point to CDN 2011-04-13 10:47:21 -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
eddiemonge
5f487bbaec add images to path, remove nightly folder before moving to there so it doesnt go into a sub folder 2011-04-12 12:00:05 -07:00