Commit graph

1780 commits

Author SHA1 Message Date
Mat Marquis
b2106887d8 Merge remote-tracking branch 'upstream/master' 2011-11-11 18:54:48 -05:00
jblas@adobe.com
0e0435ed1c Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-11-11 14:54:05 -08:00
jblas@adobe.com
6bd8f7a85b Reclaiming another 200-300 msecs on the 400 listview item page for iPad and WP7.5.
- Use $.data() instead of $.fn.data() in buttonMarkup().
- Avoid excess function overhead with a filtered children() call by walking the DOM ourselves in listview code.
2011-11-11 14:51:58 -08:00
Mat Marquis
5262c2be56 Fixes #3020 — Theme-dependent backgrounds should be applied only to ‘data-role=content’ within a dialog. 2011-11-11 15:20:36 -05:00
John Bender
ced1f865a2 whitespace and a comment on setting buttonPlaceholder to undefined 2011-11-11 12:08:59 -08:00
frietsch
c824b16816 Bugfix: If a named submit button was clicked multiple times, the name wasn't sent in 2nd ... nth time. 2011-11-11 12:08:59 -08:00
frietsch
b051c3203e Bugfix: If a named submit button was clicked multiple times, the name wasn't sent in 2nd ... nth time. 2011-11-11 12:08:59 -08:00
John Bender
73508f1dbf Merge branch 'pbosakov-issue_2821' 2011-11-11 11:20:57 -08:00
John Bender
46f6c678eb simplify nested branches 2011-11-11 11:20:30 -08:00
jblas@adobe.com
343161c972 Reclaim 250 msecs on iPad and WP7.5 (Mango) by simply combining find().filter() calls and getting rid of fake pseudo selectors :eq(0) and :last. 2011-11-11 10:31:31 -08:00
John Bender
1f20d7c002 Merge branch 'issue_2821' of https://github.com/pbosakov/jquery-mobile into pbosakov-issue_2821 2011-11-11 09:58:16 -08:00
jblas@adobe.com
ac8a7c7cb9 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-11-10 14:15:25 -08:00
jblas@adobe.com
87070cc690 Reclaiming another 700-800 msecs on the 400 listview item test for WP7.5 (Mango) with a few minor tweaks:
- Added _findFirstElementByTagName() which does basic DOM traversal to find the first of an element with the given nodeName. Use this in place of $.fn.closest() and $.fn.children() calls that filter with ":eq(0)".
- Avoid calling $.fn.add() if you can. The creation of the new collection is costing about 400 msecs.
- Avoid calling $() with markup for a single node, just use document.createElement() and pass it to $().
2011-11-10 14:15:12 -08:00
Ghislain Seguin
4bba893940 Fixed custom select dialog header styling 2011-11-10 09:17:31 -08:00
Ghislain Seguin
acdbd8f1b7 Renamed variable 2011-11-10 09:17:31 -08:00
John Bender
8ef15e82cc correction to license include in js/index.php 2011-11-09 22:36:00 -08:00
jblas@adobe.com
a8a6f58d3e Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-11-09 18:02:27 -08:00
jblas@adobe.com
8e23813d25 Got rid of pseudo selectors :header and :eq(0) since they take a long time on WP7.5 (Mango). This shaves off 300 msecs when loading the form gallery page. 2011-11-09 17:59:25 -08:00
John Bender
7085843b74 moved info text to license-info.txt 2011-11-09 16:00:25 -08:00
John Bender
989f7f1542 move intro to text for css combine, js combine, and makefile use 2011-11-09 15:45:08 -08:00
John Bender
3fdb12600e Merge pull request #2994 from eddiemonge/5535e24c46c95f16b437c0ebec8c19094caf18a7
License Changes
2011-11-09 15:27:25 -08:00
Ghislain Seguin
1b2f1d8e40 Merge pull request #2894 from MauriceG/patch-3
Fix for #2893: Buttons keep ui-btn-down-x class if leaved with mouse button pressed
2011-11-09 13:46:04 -08:00
John Bender
1d4109295d textinput whitespace 2011-11-09 11:43:40 -08:00
John Bender
d50aa91e6d comment clarification 2011-11-09 11:42:57 -08:00
John Bender
3f52c482d0 account for css load in initial document load and page transition with text area autogrow 2011-11-09 11:35:21 -08:00
Eddie Monge Jr.
6b5ca6311a Remove unneeded css as height will suffice. Trigger the inputs keyup. Im not sure calling $(keyup) called the function on the element. 2011-11-09 08:32:00 -08:00
jblas@adobe.com
cb820f6e5d Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-11-08 17:07:18 -08:00
jblas@adobe.com
76766a635f Speed up listview enhancement for WP 7.5 (Mango). This change allows the 400 listview item page to load in 3-4 seconds instead of 30 seconds.
- Modified refresh() so that it manually checks for the first image in the list item or .ui-link-inherit element. This allows us to avoid executing a selector with a direct descendant and :eq(0) pseudo which is quite slow on WP 7.5 IE.
2011-11-08 17:04:41 -08:00
Eddie Monge
5535e24c46 Update to add license to root, update individual files to not have license, add license to built and testing files 2011-11-08 15:43:36 -08:00
John Bender
94c2651244 Merge pull request #2959 from garann/158a65c1fd7f34afb6f157921a1604f6e3159a29
Store title of initial page
2011-11-08 13:38:29 -08:00
jblas@adobe.com
b198f57276 Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-11-08 11:21:01 -08:00
jblas@adobe.com
488e8f70ad Some minor performance tweaks:
- Cache the nsNormalize() results so we don't have to call $.camelcase() every time jqmData() is called.

- Move the regexp used in our monkey patched $.find outside of the function to save some regex compilation cycles.
2011-11-08 11:19:39 -08:00
Ghislain Seguin
8dcef4493d Fix for #2954 2011-11-07 21:02:28 -08:00
jblas@adobe.com
e17e29b559 Eeking out another 200+ msecs (on iPad) by simply switching to children("img:eq0") instead of find(">img:eq0"). Still need to figure out how to get rid of the find(".ui-link-inherit>img:eq(0)") which is the where the bulk of listview enhancement is spent on WP7. 2011-11-07 15:16:32 -08:00
jblas@adobe.com
8177ec4bb5 Shave another 200-300ms off the 400 listview item page by simply reducing the number of function calls we make during enhancement.
- Got rid of _itemApply() and moved it's functionality to the bottom of refresh(), doing finds from $list where we can, and li where we can't. Boom, at least 1200+ less function calls.
2011-11-07 12:38:54 -08:00
Garann Means
158a65c1fd Store title of initial page so it will appear correctly if reloaded via link instead of back button 2011-11-07 14:23:27 -06:00
Ghislain Seguin
47e0e4bf99 Fixed inheritance of content theme 2011-11-04 22:34:58 -07:00
Ghislain Seguin
26c48c8c6c Fix for #2871: Added overlayTheme option to dialog widget 2011-11-04 22:34:58 -07:00
Mat Marquis
63573bce5e Merge pull request #2934 from garann/master
Issue #1447 - unescape entities in page titles
2011-11-04 15:04:26 -07:00
jblas@adobe.com
0b5f6dab5d Reworked getInheritedTheme() to avoid closest() and attr(). This new version shaves off 200ms of page enhancement time on the forms gallery page on a Droid X (Android 2.1). 2011-11-04 14:11:19 -07:00
Garann Means
6699dab7d1 Corrected logic for locating entities in titles 2011-11-04 15:08:10 -05:00
jblas@adobe.com
97e3f8a800 Fix for issue #2520 - No longer able to remove / expire pages reliably
- Modified loadPage() so that if we are attempting to load the first page of the application document, that we first check to make sure it is in the DOM before returning our cached copy. If it is not in the DOM, we let it fall through to the ajax loading code so that it gets recreated. This is necessary since some developers are agressively pruning pages, including embedded ones, for various reasons.
2011-11-04 10:58:44 -07:00
Garann Means
d7d52544e7 Fix for #1447 - create element and read text from there to unescape entities in page title 2011-11-04 12:33:07 -05:00
John Bender
408c98322a whitespace in mobile widget 2011-11-02 14:23:29 -07:00
Petko Bossakov
8387919d26 Issue 2821: prevented caling blur() on a body element, causes bug in IE8 2011-11-02 22:09:25 +02:00
jblas@adobe.com
8c81959a7d Merge branch 'master' of https://github.com/jquery/jquery-mobile 2011-11-01 14:59:36 -07:00
jblas@adobe.com
e056d20728 Some minor listview tweaking to eliminate 1200 $.fn.find calls in our 400 item listview test case.
- Moved some of the finds we used to do for every item, out of the processing loop so we do just 3 big finds. This shaves off 200-300ms on iPad iOS 4.3.5.
2011-11-01 14:57:31 -07:00
John Bender
010e93152d Merge pull request #2899 from jpfiset/master
Fix for issue #2897
2011-11-01 09:44:43 -07:00
jblas@adobe.com
ebd7e04ce0 More enhancement optimizations:
- Modified buttonMarkup so that it checks options against undefined before calling jqmData(). This is necessary because false is a valid option.

- Modified listview so that it doesn't check for a data-counttheme unless it actually has a count item.
2011-11-01 09:26:41 -07:00
Jean-Pierre Fiset
bd5f62cb3c Fix for issue #2897 2011-11-01 11:00:27 -04:00