scottjehl [Wed, 22 Dec 2010 20:24:07 +0000 (15:24 -0500)]
Getting window dimensions currently fails in Nokia browsers, causing JS error (and consequently making jQuery Mobile fail to render the page). Based on a tip from Ben Nolan, this fix returns window.screen[width|height] if the other attempts at getting window dimensions fail. On mobile at least, it seems to make sense, and on desktop (assuming this issue would ever show up on desktop), this might be better than returning false or undefined.
Colin Snover [Thu, 16 Dec 2010 07:29:06 +0000 (01:29 -0600)]
Address some code style issues in the clone fix.
Colin Snover [Tue, 14 Dec 2010 06:40:28 +0000 (00:40 -0600)]
Fixes #7397.
Colin Snover [Tue, 14 Dec 2010 06:37:11 +0000 (00:37 -0600)]
Merge branch 'bug_7397' of https://github.com/rwldrn/jquery into rwldrn-bug_7397
Colin Snover [Mon, 13 Dec 2010 02:01:47 +0000 (20:01 -0600)]
More specific version numbers.
Colin Snover [Mon, 13 Dec 2010 01:23:22 +0000 (19:23 -0600)]
Speed up & compatibility improvements for new clone mechanism in IE.
Colin Snover [Sun, 12 Dec 2010 19:37:00 +0000 (13:37 -0600)]
Return test comments to ASCII space
Colin Snover [Sun, 12 Dec 2010 08:39:06 +0000 (02:39 -0600)]
Merge branch 'bug5566' into csnover-bug5566. Fixes #4386, #5566, #6997.
Conflicts:
src/manipulation.js
test/unit/manipulation.js
Colin Snover [Sun, 12 Dec 2010 08:20:31 +0000 (02:20 -0600)]
Fix the clone method to be a little less insane in IE, which fixes the new event-cloning clone() as well as probably a bunch of IE-related clone bugs.
jaubourg [Sat, 11 Dec 2010 01:41:39 +0000 (02:41 +0100)]
Simplified headers tests: removed multiline headers (support is far too servers & browsers dependant) and made all the tests in a single request.
jaubourg [Sat, 11 Dec 2010 01:21:54 +0000 (02:21 +0100)]
Tweaked the headers test to be apache independent and actually work.
jaubourg [Sat, 11 Dec 2010 01:04:13 +0000 (02:04 +0100)]
Removed bind/unbind from xhr emulation: success/error/complete are deferred not events so these methods didn't really make sense in the first place.
jaubourg [Sat, 11 Dec 2010 00:56:29 +0000 (01:56 +0100)]
Added the regexp to remove module closures to the ant build file to be on par with the Makefile.
jaubourg [Sat, 11 Dec 2010 00:35:46 +0000 (01:35 +0100)]
More variable renaming to avoid conflicts when module closures are removed.
jaubourg [Fri, 10 Dec 2010 06:00:06 +0000 (07:00 +0100)]
Changed document.location to window.location per Ben Alman advice.
jaubourg [Fri, 10 Dec 2010 03:16:56 +0000 (04:16 +0100)]
Renamed variables to avoid conflicts when Makefile removes internal closures.
jaubourg [Fri, 10 Dec 2010 02:16:50 +0000 (03:16 +0100)]
Fix the closure in ajax.js too.
jaubourg [Fri, 10 Dec 2010 02:14:03 +0000 (03:14 +0100)]
Fixed function closures so that Makefile can do its magic.
jaubourg [Fri, 10 Dec 2010 01:55:43 +0000 (02:55 +0100)]
Replaced spaces with a tab in Makefile.
jaubourg [Fri, 10 Dec 2010 01:45:08 +0000 (02:45 +0100)]
Removed non-standard (and not that useful) xhr emulation methods & reworked the headers test as a consequence.
jaubourg [Fri, 10 Dec 2010 01:43:41 +0000 (02:43 +0100)]
Added xhr.js and transports/*.js to Rakefile and build.xml (in sync with Makefile).
jaubourg [Thu, 9 Dec 2010 18:34:28 +0000 (13:34 -0500)]
Rewrite of the Ajax module by Julian Aubourg. Some (dated) details can be found here: oksoclap.com/6Y26bm1ZsB more details are forthcoming. Fixes #7195.
jeresig [Thu, 9 Dec 2010 18:27:52 +0000 (13:27 -0500)]
Backing out
cec68e2b00d86357c18b576cbaed52cc1ea42a74, was causing serialize tests to fail. Un-fixes #5566.
jeresig [Thu, 9 Dec 2010 18:07:44 +0000 (13:07 -0500)]
Backing out
fb6c038bf00296480234c971a1664ac01ca1479e, was causing jQuery.param tests to fail - unfixes #7413.
jeresig [Thu, 9 Dec 2010 17:51:14 +0000 (12:51 -0500)]
Merge branch 'explain-map-concat' of https://github.com/ajpiano/jquery into ajpiano-explain-map-concat
rwldrn [Thu, 9 Dec 2010 17:50:01 +0000 (12:50 -0500)]
Whitespace correction
rwldrn [Thu, 9 Dec 2010 17:48:52 +0000 (12:48 -0500)]
Whitespace correction
rwldrn [Thu, 9 Dec 2010 17:47:53 +0000 (12:47 -0500)]
Whitespace correction
rwldrn [Thu, 9 Dec 2010 17:44:52 +0000 (12:44 -0500)]
Reorders condition at L65 for efficiency
jeresig [Thu, 9 Dec 2010 17:44:30 +0000 (12:44 -0500)]
Merge branch 'bug5566' of https://github.com/csnover/jquery into csnover-bug5566
jeresig [Thu, 9 Dec 2010 17:43:10 +0000 (12:43 -0500)]
Merge branch 'attrFollowupFix' of https://github.com/jitter/jquery into jitter-attrFollowupFix
jeresig [Thu, 9 Dec 2010 17:37:30 +0000 (12:37 -0500)]
Merge branch 'rfxnum' of https://github.com/lrbabe/jquery into lrbabe-rfxnum
jeresig [Thu, 9 Dec 2010 17:33:26 +0000 (12:33 -0500)]
Merge branch 'support_6897' of https://github.com/rwldrn/jquery into rwldrn-support_6897
jeresig [Thu, 9 Dec 2010 17:32:15 +0000 (12:32 -0500)]
Merge branch 'bug_7413' of https://github.com/rwldrn/jquery into rwldrn-bug_7413
louisremi [Thu, 9 Dec 2010 09:23:45 +0000 (10:23 +0100)]
Precising the unit part of rfxnum regex
Anton M [Tue, 7 Dec 2010 02:17:42 +0000 (03:17 +0100)]
Fix attr() problems in IE with attribute nodes. Followup to commit
b50f41a2.
IE can't add properties on an attribute-node element, thus we handle it
like text-/comment-nodes.
Colin Snover [Tue, 7 Dec 2010 01:37:16 +0000 (19:37 -0600)]
Clone fragments in domManip using jQuery.clone instead of DocumentFragment.cloneNode in order to carry over event data. Fixes #5566, #6997.
Colin Snover [Tue, 7 Dec 2010 01:36:42 +0000 (19:36 -0600)]
Clean up empty lines with whitespace in manipulation.js
John Resig [Mon, 6 Dec 2010 22:24:13 +0000 (17:24 -0500)]
Merge branch 'bug7524' of https://github.com/csnover/jquery into csnover-bug7524
John Resig [Mon, 6 Dec 2010 22:23:08 +0000 (17:23 -0500)]
Merge branch 'bug6242' of https://github.com/csnover/jquery into csnover-bug6242
John Resig [Mon, 6 Dec 2010 22:22:02 +0000 (17:22 -0500)]
Merge branch 'bug7531' of https://github.com/csnover/jquery into csnover-bug7531
John Resig [Mon, 6 Dec 2010 22:19:30 +0000 (17:19 -0500)]
Merge branch 't6398' of https://github.com/jitter/jquery into jitter-t6398
John Resig [Mon, 6 Dec 2010 22:14:20 +0000 (17:14 -0500)]
Merge branch 't4386' of https://github.com/jitter/jquery into jitter-t4386
John Resig [Mon, 6 Dec 2010 22:06:26 +0000 (17:06 -0500)]
Merge branch 't7578' of https://github.com/jitter/jquery into jitter-t7578
John Resig [Mon, 6 Dec 2010 22:05:02 +0000 (17:05 -0500)]
Merge branch 't5476' of https://github.com/jitter/jquery into jitter-t5476
John Resig [Mon, 6 Dec 2010 22:02:00 +0000 (17:02 -0500)]
Merge branch 'restrictAttr' of https://github.com/jitter/jquery into jitter-restrictAttr
John Resig [Mon, 6 Dec 2010 21:57:41 +0000 (16:57 -0500)]
Merge branch 't7673' of https://github.com/jitter/jquery into jitter-t7673
John Resig [Mon, 6 Dec 2010 21:38:51 +0000 (16:38 -0500)]
Merge branch 'jquery145' of https://github.com/danheberden/jquery into danheberden-jquery145
Colin Snover [Fri, 3 Dec 2010 07:19:39 +0000 (01:19 -0600)]
Only try to get data attributes for a jQuery-wrapped object if it is actually an Element node. Fixes #7524.
Colin Snover [Fri, 3 Dec 2010 06:12:52 +0000 (00:12 -0600)]
Fix memory leaks in IE caused by the custom abort function of $.ajax. Fixes bug #6242.
Anton M [Wed, 1 Dec 2010 20:31:22 +0000 (21:31 +0100)]
Handle carriage return characters in className property. Fixes #7673.
adam j. sontag [Sat, 27 Nov 2010 22:15:33 +0000 (17:15 -0500)]
Add a comment explaining that jQuery.map flattens arrays
Anton M [Wed, 24 Nov 2010 22:35:26 +0000 (23:35 +0100)]
Add unit test for fix to #7578.
danheberden [Mon, 22 Nov 2010 00:54:56 +0000 (16:54 -0800)]
Fix for #6911 - prevent disabled elements in liveHandler
Anton M [Sun, 21 Nov 2010 03:31:04 +0000 (04:31 +0100)]
Make sure custom events named "submit" can be bound to non DOM elements in IE too. Fixes 6398.
Anton M [Sun, 21 Nov 2010 00:58:46 +0000 (01:58 +0100)]
Make sure IE clones body elements correctly. Fixes 4386.
Anton M [Fri, 19 Nov 2010 22:14:24 +0000 (23:14 +0100)]
Set cache to false as default for script or json requests. Fixes 7578.
Anton M [Fri, 19 Nov 2010 11:28:13 +0000 (12:28 +0100)]
Improve performance of get() for negative indices. Fixes #5476.
Colin Snover [Wed, 17 Nov 2010 20:50:05 +0000 (14:50 -0600)]
Optimize for size instead of speed.
Colin Snover [Wed, 17 Nov 2010 06:59:24 +0000 (00:59 -0600)]
Coerce s.url to string before calling replace, since replace is also a method of a Location object. Fixes #7531.
Anton M [Sat, 13 Nov 2010 13:39:28 +0000 (14:39 +0100)]
Make sure attr() works on non DOM element nodes. Fixes #7202, #7451, #7500.
Also added some tests for this attr(name), attr(name, value) and removeAttr(name).
Henri Wiechers [Fri, 12 Nov 2010 05:45:24 +0000 (07:45 +0200)]
Convert test/data/text.php to use lf line endings.
Henri Wiechers [Fri, 12 Nov 2010 05:42:53 +0000 (07:42 +0200)]
Convert test/delegatetest.html to use lf line endings.
Henri Wiechers [Fri, 12 Nov 2010 05:41:44 +0000 (07:41 +0200)]
Mark *.jar files as binary.
Henri Wiechers [Fri, 12 Nov 2010 05:40:19 +0000 (07:40 +0200)]
Changed crlf attribute to newer eol one.
John Resig [Fri, 12 Nov 2010 00:05:10 +0000 (19:05 -0500)]
Updating the source version to 1.4.5pre.
John Resig [Fri, 12 Nov 2010 00:04:53 +0000 (19:04 -0500)]
Tagging the 1.4.4 release.
jeresig [Wed, 10 Nov 2010 16:15:02 +0000 (11:15 -0500)]
Updating the source version to 1.4.4pre.
jeresig [Wed, 10 Nov 2010 16:14:53 +0000 (11:14 -0500)]
Tagging the 1.4.4rc3 release.
rwldrn [Wed, 10 Nov 2010 15:23:48 +0000 (10:23 -0500)]
Updating #7397 unit tests to correctly test for a persisted display value
jeresig [Wed, 10 Nov 2010 04:42:05 +0000 (23:42 -0500)]
Backing out commit
795e880bba1f7f949df58748f7fd92e50296a8f4 - errors popping up in IE 6/7/8.
jeresig [Wed, 10 Nov 2010 04:33:18 +0000 (23:33 -0500)]
Need to also handle the case where 'auto' is being returned, as in Firefox. Follow-up to #7395.
jeresig [Wed, 10 Nov 2010 04:29:26 +0000 (23:29 -0500)]
Maintain returning 0px from width/height for disconnected nodes for backwards compat, for now. Fixes #7395.
rwldrn [Wed, 10 Nov 2010 04:18:16 +0000 (23:18 -0500)]
Fixes #7397; Adds 4 supporting unit tests.
Anton M [Tue, 9 Nov 2010 23:36:53 +0000 (00:36 +0100)]
Partially revert commit
a64dc0405064d68c7b7cd0f0fc8ea60086cbcd21.
Removing the conditional was too liberal as now attr() would even work
on plain javascript objects. Keeping a check to make sure it is at least
a DOM Node is appropriate. Using nodeName as in the commit which introduced
the nodeType === 1 check seems plausible.
rwldrn [Tue, 9 Nov 2010 23:20:27 +0000 (18:20 -0500)]
Clean #7397; Removed unnec. var declaration
rwldrn [Tue, 9 Nov 2010 23:06:33 +0000 (18:06 -0500)]
Fixes #7397; 4 supporting unit tests
rwldrn [Tue, 9 Nov 2010 21:31:52 +0000 (16:31 -0500)]
Support unit test for #6897
rwldrn [Tue, 9 Nov 2010 21:14:11 +0000 (16:14 -0500)]
Fixes #7413; isEmptyObject() check to see if obj passes isPlainObject
Colin Snover [Tue, 9 Nov 2010 20:52:20 +0000 (15:52 -0500)]
Remove conditional that prevents attr from working on non-Element nodes. Fixes #7451.
John Resig [Tue, 9 Nov 2010 20:49:07 +0000 (15:49 -0500)]
Merge branch 'fixAdjacentTests' of https://github.com/jitter/jquery into jitter-fixAdjacentTests
John Resig [Tue, 9 Nov 2010 19:03:11 +0000 (14:03 -0500)]
Ensure that unquoted attribute selectors are quoted (allowing them to go into qSA/matchesSelector properly). Fixes #7216.
John Resig [Tue, 9 Nov 2010 18:44:06 +0000 (13:44 -0500)]
Make sure that if an additional load event is triggered (such as an iframe being dynamically injected in DOM ready) the ready event isn't triggered twice. Fixes #7352.
John Resig [Tue, 9 Nov 2010 17:40:55 +0000 (12:40 -0500)]
Merge branch 'bug7422' of https://github.com/csnover/jquery into csnover-bug7422
Anton M [Tue, 9 Nov 2010 17:13:39 +0000 (18:13 +0100)]
Fix selector tests broken by newer version of Qunit.
John Resig [Tue, 9 Nov 2010 16:09:07 +0000 (11:09 -0500)]
Make sure that when multiple variables are being declared that assignments are each done on their own line.
John Resig [Tue, 9 Nov 2010 15:34:32 +0000 (10:34 -0500)]
We don't do end of line comments, move them above.
Colin Snover [Sat, 6 Nov 2010 18:52:30 +0000 (13:52 -0500)]
Ensure that AJAX requests are actually aborted in all browsers. Fix #7422.
jeresig [Wed, 3 Nov 2010 23:00:05 +0000 (19:00 -0400)]
Merge branch 'master' of github.com:jquery/jquery
jeresig [Wed, 3 Nov 2010 22:59:55 +0000 (18:59 -0400)]
Limit the scope of the CSS 'auto' change to just height/width. Fixes #7393.
jeresig [Wed, 3 Nov 2010 22:57:22 +0000 (18:57 -0400)]
Limit the scope of the CSS 'auto' change to just height/width. Fixes #7293.
jeresig [Wed, 3 Nov 2010 19:46:40 +0000 (15:46 -0400)]
Updating the source version to 1.4.4pre.
jeresig [Wed, 3 Nov 2010 19:46:31 +0000 (15:46 -0400)]
Tagging the 1.4.4rc2 release.
jeresig [Wed, 3 Nov 2010 19:39:28 +0000 (15:39 -0400)]
Opera doesn't give height/width of display: none elements with getComputedStyle but does with currentStyle - fall back to that if it exists.
jeresig [Mon, 1 Nov 2010 23:29:11 +0000 (19:29 -0400)]
Only change ID on nodes that don't already have an ID for rooted qSA. Fixes #7212.
jeresig [Mon, 1 Nov 2010 23:04:59 +0000 (19:04 -0400)]
Make sure that accessing computed CSS for elements returns 'auto' instead of '' consistently. Fixes #7337.
John Resig [Thu, 28 Oct 2010 19:59:58 +0000 (15:59 -0400)]
Fix quotes in comment.
Brandon Aaron [Thu, 28 Oct 2010 16:58:03 +0000 (11:58 -0500)]
Fix tab spacing.
jeresig [Wed, 27 Oct 2010 18:35:26 +0000 (14:35 -0400)]
Calling .hide().show() on a stylesheet-hidden element wasn't bringing it back. Fixes #7331.
Karl Swedberg [Tue, 26 Oct 2010 21:37:44 +0000 (14:37 -0700)]
For .show() with no arguments, only set display of elements in the second loop if they don't have style.display already set or if style.display isn't none. Fixes #7315.