]>
source.dussan.org Git - jquery.git/log
Dave Methvin [Thu, 20 Jan 2011 02:02:46 +0000 (21:02 -0500)]
Rework unit tests to check actual result elements.
Dave Methvin [Wed, 29 Dec 2010 02:07:04 +0000 (21:07 -0500)]
By default, use document root rather than current selection's context when add()ing elements. Fixes #7853.
Dave Methvin [Mon, 27 Dec 2010 19:43:52 +0000 (13:43 -0600)]
Don't cache non-html strings in buildFragment to avoid possible collision with the names of Object methods like toString. Also makes the unit tests 0.5% to 8% faster. Fixes #6779.
Dave Methvin [Mon, 27 Dec 2010 19:30:05 +0000 (13:30 -0600)]
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.
jrburke [Mon, 27 Dec 2010 19:01:20 +0000 (13:01 -0600)]
Register as a CommonJS async module if in that kind of environment. Fixes #7102.
Colin Snover [Mon, 27 Dec 2010 04:08:41 +0000 (22:08 -0600)]
Merge SlexAxton/jquery:master into jquery/jquery:master.
Alex Sexton [Mon, 11 Oct 2010 16:54:00 +0000 (11:54 -0500)]
Changed the expando string to use a random number instead of the time, so collisions become less likely. Also added jQuery version to instantly differentiate separate versions of jQuery (a common use case for noConflict, etc, when two jQuery instances are on the page). Fixes #6842.
Colin Snover [Mon, 27 Dec 2010 02:56:20 +0000 (20:56 -0600)]
DRY out $.get and $.post. Fixes #7847. Thanks to cowboy for the patch.
Ben Alman [Sun, 26 Dec 2010 22:49:01 +0000 (22:49 +0000)]
Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax will uppercase as-needed).
Ben Alman [Sun, 26 Dec 2010 18:51:29 +0000 (18:51 +0000)]
WETness getting you down? Fear not, the $.get and $.post methods are now 866% DRYer. This fixes #7847.
Colin Snover [Sun, 26 Dec 2010 16:35:14 +0000 (10:35 -0600)]
Fix reliableHiddenOffsets test was not working properly when table cells have borders, causing unnecessary slowness in some browsers. Thanks to matjas for his $.support test page.
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: http://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