Dave Methvin [Sat, 15 Jan 2011 15:24:13 +0000 (10:24 -0500)]
Update test case to feature-detect Opera's lack of defaultPrevented and skip the test for it.
Dave Methvin [Mon, 27 Dec 2010 17:43:48 +0000 (12:43 -0500)]
Test for standard createEvent before IE-specific click method.
Don't fallback to fake click; let's see which browsers fail, if any.
Dave Methvin [Fri, 24 Dec 2010 14:53:39 +0000 (09:53 -0500)]
Simplify the check for isDefaultPrevented.
Dave Methvin [Thu, 23 Dec 2010 21:21:14 +0000 (16:21 -0500)]
When a native browser event is bubbling up the DOM, make sure that the correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793.
Colin Snover [Thu, 23 Dec 2010 00:54:22 +0000 (18:54 -0600)]
Fix fix for #6481 introduced at
7862c45ad2f32096383a21b8b301155787724476 which did not like it when Array.prototype was modified on empty arrays.
Colin Snover [Thu, 23 Dec 2010 00:31:33 +0000 (18:31 -0600)]
Don't use for-in loops on Arrays. Fixes #7817. Thanks to dmethvin.
Conflicts:
src/manipulation.js
Colin Snover [Thu, 23 Dec 2010 00:19:30 +0000 (18:19 -0600)]
Update cloneCopyEvent so that it does not create superfluous data objects when cloning elements. Exposes a new method, $.hasData. Fixes #7165. Thanks to DaveMethvin and iliakan for their help.
Colin Snover [Thu, 23 Dec 2010 00:17:58 +0000 (18:17 -0600)]
Code style fix
Colin Snover [Wed, 22 Dec 2010 21:03:01 +0000 (15:03 -0600)]
More unit tests and a $.hasData that works for JS objects too.
Colin Snover [Wed, 22 Dec 2010 20:54:37 +0000 (14:54 -0600)]
Update jQuery.hasData to always return a boolean, with unit tests.
Colin Snover [Wed, 22 Dec 2010 20:43:17 +0000 (14:43 -0600)]
Remove code for ticket #7717 which has been marked WONTFIX to match existing $.data functionality and to prevent infinite loops caused by circular references.
Colin Snover [Wed, 22 Dec 2010 15:15:41 +0000 (09:15 -0600)]
Fix a potential error in the previous commit caused by the use of a separate index variable. Thanks to dmethvin for the review.
Colin Snover [Wed, 22 Dec 2010 15:13:28 +0000 (09:13 -0600)]
Fix a potential error in the previous commit caused by the use of a separate index variable. Thanks to dmethvin for the review.
Colin Snover [Wed, 22 Dec 2010 15:13:28 +0000 (09:13 -0600)]
Fix a potential error in the previous commit caused by the use of a separate index variable.
Dave Methvin [Tue, 21 Dec 2010 15:00:49 +0000 (10:00 -0500)]
Use for loop instead of for/in loop to protect sanctity of Array.prototype. Fixes #7817. Test case for this commit is shared with the fix for #6355, https://github.com/jquery/jquery/pull/140 .
Dave Methvin [Tue, 21 Dec 2010 03:23:59 +0000 (22:23 -0500)]
Use a for loop rather than for/in loop when copying events, so that code will work with an augmented Array.prototype. Fixes 7809.
Colin Snover [Sun, 19 Dec 2010 21:33:53 +0000 (15:33 -0600)]
Fix #7717 and #7165. Thanks to dmethvin and iliakan for their help fixing these issues.
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