jquery.git
13 years agoMinor fix to Makefile so that 'make clean' doesn't fail when run immediately after...
Richard D. Worth [Thu, 8 Apr 2010 01:10:07 +0000 (09:10 +0800)]
Minor fix to Makefile so that 'make clean' doesn't fail when run immediately after 'make clean'

13 years agoSimplified getting the commit date using git log --pretty. Fixed missing date in...
Richard D. Worth [Thu, 8 Apr 2010 01:06:46 +0000 (09:06 +0800)]
Simplified getting the commit date using git log --pretty. Fixed missing date in ant build.

13 years agoTicket #6804. Adds a changeData event.
InfinitiesLoop [Mon, 19 Jul 2010 23:22:25 +0000 (07:22 +0800)]
Ticket #6804. Adds a changeData event.

13 years agoMerge branch 'doug'
wycats [Sun, 20 Jun 2010 05:29:55 +0000 (22:29 -0700)]
Merge branch 'doug'

13 years agoSlight optmization on the Rakefile
Douglas Neiner [Mon, 14 Jun 2010 19:03:13 +0000 (15:03 -0400)]
Slight optmization on the Rakefile

13 years agoEdits to README after Karl's review
Douglas Neiner [Mon, 14 Jun 2010 15:49:30 +0000 (11:49 -0400)]
Edits to README after Karl's review

13 years agoMinor changes to README
Douglas Neiner [Mon, 14 Jun 2010 15:25:22 +0000 (11:25 -0400)]
Minor changes to README

13 years agoUpdated README file with updated information for the Rake addtions
Douglas Neiner [Mon, 14 Jun 2010 15:17:13 +0000 (11:17 -0400)]
Updated README file with updated information for the Rake addtions

Also changed the default Rake task to "all" instead of "jquery"
to parallel the Makefile.

13 years agoFixed spelling on QUnit pull message
Douglas Neiner [Mon, 14 Jun 2010 06:07:21 +0000 (02:07 -0400)]
Fixed spelling on QUnit pull message

13 years agoUpdated Rakefile to remove use of *nix specific commands
Douglas Neiner [Mon, 14 Jun 2010 06:05:06 +0000 (02:05 -0400)]
Updated Rakefile to remove use of *nix specific commands

Only `sh` statements left are either 'java' or 'git' commands,
which should work on Windows, though I still need to test

13 years agoUpdated Rakefile to mirror the functionality of the Makefile
Douglas Neiner [Sun, 13 Jun 2010 03:55:49 +0000 (23:55 -0400)]
Updated Rakefile to mirror the functionality of the Makefile

The Rakefile now supports all the functionality of the Makefile
including only rebuilding files when dependent files change.

To see availible tasks, run:

    rake -T

13 years agoExpose jQuery.uuid (use with caution) and make sure the expando property is used...
John Resig [Sat, 24 Apr 2010 21:15:45 +0000 (14:15 -0700)]
Expose jQuery.uuid (use with caution) and make sure the expando property is used in the events module.

13 years agoRemoved extra semicolon leftover from recent tweaking.
jeresig [Wed, 31 Mar 2010 18:36:24 +0000 (14:36 -0400)]
Removed extra semicolon leftover from recent tweaking.

13 years agoMobile WebKit browsers don't support accessing the scroll position of the document...
jeresig [Thu, 25 Mar 2010 21:30:13 +0000 (17:30 -0400)]
Mobile WebKit browsers don't support accessing the scroll position of the document/window.

13 years agoNeed to expose the isLocal change globally as well.
jeresig [Wed, 24 Mar 2010 20:16:13 +0000 (16:16 -0400)]
Need to expose the isLocal change globally as well.

13 years agoTemporarily disable ajax tests when running in TestSwam.
jeresig [Wed, 24 Mar 2010 20:04:10 +0000 (16:04 -0400)]
Temporarily disable ajax tests when running in TestSwam.

13 years agoUse custom events for testing unbind instead of the, potentially conflicting, error...
jeresig [Wed, 24 Mar 2010 19:39:58 +0000 (15:39 -0400)]
Use custom events for testing unbind instead of the, potentially conflicting, error event.

13 years agoAdjust isPlainObject test to run in an iframe.
jeresig [Wed, 24 Mar 2010 19:18:11 +0000 (15:18 -0400)]
Adjust isPlainObject test to run in an iframe.

13 years agoMake sure the offset tests work without a built jQuery file.
jeresig [Tue, 23 Mar 2010 20:37:40 +0000 (16:37 -0400)]
Make sure the offset tests work without a built jQuery file.

13 years agoUpdate other remote test URLs as well.
jeresig [Tue, 23 Mar 2010 20:24:51 +0000 (16:24 -0400)]
Update other remote test URLs as well.

13 years agoStrip off filename and query string for JSONP Remote test.
jeresig [Tue, 23 Mar 2010 20:22:09 +0000 (16:22 -0400)]
Strip off filename and query string for JSONP Remote test.

13 years agoUpdate the TestSwarm URL to point to the new jQuery swarm location.
jeresig [Tue, 23 Mar 2010 19:21:42 +0000 (15:21 -0400)]
Update the TestSwarm URL to point to the new jQuery swarm location.

13 years agoChanged the order of the tests to run in the same order in which they're specified...
jeresig [Tue, 23 Mar 2010 16:31:40 +0000 (12:31 -0400)]
Changed the order of the tests to run in the same order in which they're specified in the Makefile (fixed a dimensions test bug that popped up as a result).

13 years agoHandle auto-running of the TestSwarm injection script in the test suite.
jeresig [Tue, 23 Mar 2010 16:19:47 +0000 (12:19 -0400)]
Handle auto-running of the TestSwarm injection script in the test suite.

13 years agoMade it so that you no longer need to build jQuery in order to run the test suite...
jeresig [Tue, 23 Mar 2010 16:12:16 +0000 (12:12 -0400)]
Made it so that you no longer need to build jQuery in order to run the test suite (but you'll still need a checkout of QUnit and Sizzle, at least).

13 years agoFixing request data param issue. Thanks to mislav for the patch. Fixes #5123.
jeresig [Tue, 15 Jun 2010 03:08:28 +0000 (23:08 -0400)]
Fixing request data param issue. Thanks to mislav for the patch. Fixes #5123.

13 years agoTweak spacing from last commit.
jeresig [Tue, 15 Jun 2010 03:05:01 +0000 (23:05 -0400)]
Tweak spacing from last commit.

13 years agoFix for http://dev.jquery.com/ticket/6451
malsup [Thu, 29 Apr 2010 03:45:34 +0000 (11:45 +0800)]
Fix for http://dev.jquery.com/ticket/6451

14 years agoExpose jQuery.uuid (use with caution) and make sure the expando property is used...
John Resig [Sat, 24 Apr 2010 21:15:45 +0000 (14:15 -0700)]
Expose jQuery.uuid (use with caution) and make sure the expando property is used in the events module.

14 years agoRemoved extra semicolon leftover from recent tweaking.
jeresig [Wed, 31 Mar 2010 18:36:24 +0000 (14:36 -0400)]
Removed extra semicolon leftover from recent tweaking.

14 years agoMerge branch 'master' of github.com:jquery/jquery
Brandon Aaron [Sat, 27 Mar 2010 23:58:55 +0000 (18:58 -0500)]
Merge branch 'master' of github.com:jquery/jquery

14 years agoMobile WebKit browsers don't support accessing the scroll position of the document...
jeresig [Thu, 25 Mar 2010 21:30:13 +0000 (17:30 -0400)]
Mobile WebKit browsers don't support accessing the scroll position of the document/window.

14 years agoNeed to expose the isLocal change globally as well.
jeresig [Wed, 24 Mar 2010 20:16:13 +0000 (16:16 -0400)]
Need to expose the isLocal change globally as well.

14 years agoTemporarily disable ajax tests when running in TestSwam.
jeresig [Wed, 24 Mar 2010 20:04:10 +0000 (16:04 -0400)]
Temporarily disable ajax tests when running in TestSwam.

14 years agoUse custom events for testing unbind instead of the, potentially conflicting, error...
jeresig [Wed, 24 Mar 2010 19:39:58 +0000 (15:39 -0400)]
Use custom events for testing unbind instead of the, potentially conflicting, error event.

14 years agoAdjust isPlainObject test to run in an iframe.
jeresig [Wed, 24 Mar 2010 19:18:11 +0000 (15:18 -0400)]
Adjust isPlainObject test to run in an iframe.

14 years agoMerge branch 'master' of github.com:jquery/jquery
Brandon Aaron [Wed, 24 Mar 2010 03:40:38 +0000 (22:40 -0500)]
Merge branch 'master' of github.com:jquery/jquery

14 years agoMake sure the offset tests work without a built jQuery file.
jeresig [Tue, 23 Mar 2010 20:37:40 +0000 (16:37 -0400)]
Make sure the offset tests work without a built jQuery file.

14 years agoUpdate other remote test URLs as well.
jeresig [Tue, 23 Mar 2010 20:24:51 +0000 (16:24 -0400)]
Update other remote test URLs as well.

14 years agoStrip off filename and query string for JSONP Remote test.
jeresig [Tue, 23 Mar 2010 20:22:09 +0000 (16:22 -0400)]
Strip off filename and query string for JSONP Remote test.

14 years agoUpdate the TestSwarm URL to point to the new jQuery swarm location.
jeresig [Tue, 23 Mar 2010 19:21:42 +0000 (15:21 -0400)]
Update the TestSwarm URL to point to the new jQuery swarm location.

14 years agoChanged the order of the tests to run in the same order in which they're specified...
jeresig [Tue, 23 Mar 2010 16:31:40 +0000 (12:31 -0400)]
Changed the order of the tests to run in the same order in which they're specified in the Makefile (fixed a dimensions test bug that popped up as a result).

14 years agoHandle auto-running of the TestSwarm injection script in the test suite.
jeresig [Tue, 23 Mar 2010 16:19:47 +0000 (12:19 -0400)]
Handle auto-running of the TestSwarm injection script in the test suite.

14 years agoMade it so that you no longer need to build jQuery in order to run the test suite...
jeresig [Tue, 23 Mar 2010 16:12:16 +0000 (12:12 -0400)]
Made it so that you no longer need to build jQuery in order to run the test suite (but you'll still need a checkout of QUnit and Sizzle, at least).

14 years agoFixed an issue with setting offset of absolutely positioned element that has no posit...
Brandon Aaron [Tue, 23 Mar 2010 00:11:37 +0000 (20:11 -0400)]
Fixed an issue with setting offset of absolutely positioned element that has no position values ("auto"). Fixes #5781.

14 years agoFix setting only one property at a time in .offset({})
Brandon Aaron [Tue, 23 Mar 2010 00:05:08 +0000 (20:05 -0400)]
Fix setting only one property at a time in .offset({})

14 years agoAdded unit tests for setting offset one property at a time and added radix to parseIn...
Brandon Aaron [Mon, 22 Mar 2010 22:50:17 +0000 (18:50 -0400)]
Added unit tests for setting offset one property at a time and added radix to parseInt calls

14 years agoSwitch to using String.prototype.trim from String.trim as it's more-widely available.
jeresig [Thu, 11 Mar 2010 15:49:19 +0000 (10:49 -0500)]
Switch to using String.prototype.trim from String.trim as it's more-widely available.

14 years agoRewrote the live/delegate submit tests to be more generic.
jeresig [Tue, 9 Mar 2010 19:08:33 +0000 (14:08 -0500)]
Rewrote the live/delegate submit tests to be more generic.

14 years agoMake sure that special remove and teardown events get called when .die() is used...
jeresig [Tue, 9 Mar 2010 17:22:25 +0000 (12:22 -0500)]
Make sure that special remove and teardown events get called when .die() is used. Additionally made sure that default actions are triggered when namespaced events are used. Fixes #6202 and #6250.

14 years agoRemoving the mention of buliding the docs from the README. Thanks to 'phihag' in...
jeresig [Tue, 9 Mar 2010 14:16:35 +0000 (09:16 -0500)]
Removing the mention of buliding the docs from the README. Thanks to 'phihag' in the forum for the heads-up.

14 years agoLanding a faster trim method. Based upon the work by Travis Hardiman and DBJDBJ....
jeresig [Tue, 9 Mar 2010 14:14:27 +0000 (09:14 -0500)]
Landing a faster trim method. Based upon the work by Travis Hardiman and DBJDBJ. More details here: forum.jquery.com/topic/faster-jquery-trim Fixes #2279, #4452, and #4835.

14 years agoNo need to use .call() anymore since we switched from .apply() for appendTo, etc...
jeresig [Fri, 5 Mar 2010 14:59:58 +0000 (09:59 -0500)]
No need to use .call() anymore since we switched from .apply() for appendTo, etc. Thanks to Robert in 2c08004f6d4e7f11a875190e132d204a25cb9418 for the heads-up.

14 years agoI take that back! It was a bug, but the cache had to be triggered and a collection...
jeresig [Fri, 5 Mar 2010 05:14:47 +0000 (00:14 -0500)]
I take that back! It was a bug, but the cache had to be triggered and a collection of cached nodes had to be passed in (an odd case to be sure). Fixes #6227.

14 years agoAttempted to fix #6227, not entirely sure if it's a problem as I'm having a hard...
jeresig [Fri, 5 Mar 2010 05:07:57 +0000 (00:07 -0500)]
Attempted to fix #6227, not entirely sure if it's a problem as I'm having a hard time reproducing it. Regardless, the change is harmless and potentially even speeds up appendTo, etc. slightly.

14 years agoAdded in Ben Alman's proposed event.namespace property (the property holds the namesp...
jeresig [Tue, 2 Mar 2010 22:34:12 +0000 (17:34 -0500)]
Added in Ben Alman's proposed event.namespace property (the property holds the namespaces specified in a call to trigger). Additionally fixes namespaces with .live(). Fixes #6208 and #6209.

14 years agoMake sure that we don't try to remove data from an applet. Re-Fixes #1675.
jeresig [Tue, 2 Mar 2010 18:56:15 +0000 (13:56 -0500)]
Make sure that we don't try to remove data from an applet. Re-Fixes #1675.

14 years agoAdd in the new level information to the closest(Array) test.
jeresig [Tue, 2 Mar 2010 15:53:54 +0000 (10:53 -0500)]
Add in the new level information to the closest(Array) test.

14 years agoWe no longer support globally-triggered events on plain objects. This is a trade...
jeresig [Tue, 2 Mar 2010 15:51:31 +0000 (10:51 -0500)]
We no longer support globally-triggered events on plain objects. This is a trade-off to having good garbage collection on the objects.

14 years agoMoving more properties onto jQuery.ajax, also copy them back to the jQuery object...
jeresig [Tue, 2 Mar 2010 15:44:48 +0000 (10:44 -0500)]
Moving more properties onto jQuery.ajax, also copy them back to the jQuery object for backwards compatibility.

14 years agoRemove the need for the return in sizzle-jquery and just remove the attempt to expose...
jeresig [Tue, 2 Mar 2010 02:56:08 +0000 (21:56 -0500)]
Remove the need for the return in sizzle-jquery and just remove the attempt to expose Sizzle completely. jQuery is 100% passing JSLint ('make lint') now.

14 years agoAdded in integrated JSLint checking against the jQuery source. Just run 'make lint...
jeresig [Tue, 2 Mar 2010 02:51:44 +0000 (21:51 -0500)]
Added in integrated JSLint checking against the jQuery source. Just run 'make lint' to see the result.

14 years agoMore changes to get jQuery in line with JSLint.
jeresig [Tue, 2 Mar 2010 02:24:49 +0000 (21:24 -0500)]
More changes to get jQuery in line with JSLint.

14 years agoWe don't want to increment the Ajax counter if there isn't a global event.
jeresig [Tue, 2 Mar 2010 00:31:13 +0000 (19:31 -0500)]
We don't want to increment the Ajax counter if there isn't a global event.

14 years agoLand some additional tweaks related to running through JSLint.
jeresig [Mon, 1 Mar 2010 23:19:29 +0000 (18:19 -0500)]
Land some additional tweaks related to running through JSLint.

14 years agoFixed some cases where expression, expression was used and shouldn't be.
jeresig [Mon, 1 Mar 2010 21:26:57 +0000 (16:26 -0500)]
Fixed some cases where expression, expression was used and shouldn't be.

14 years agoMade some code tweaks related to running jQuery through JSLint (thanks to Lorin Larso...
jeresig [Mon, 1 Mar 2010 17:44:56 +0000 (12:44 -0500)]
Made some code tweaks related to running jQuery through JSLint (thanks to Lorin Larson for the JSLint run).

14 years agoAdding unit tests to make sure .scrollTop() and .scrollLeft() work cross-frame.
brandonaaron [Sun, 28 Feb 2010 16:55:59 +0000 (10:55 -0600)]
Adding unit tests to make sure .scrollTop() and .scrollLeft() work cross-frame.

14 years agoUse correct window reference in offset to work properly cross-frame. Fixes #6190.
brandonaaron [Sun, 28 Feb 2010 01:43:23 +0000 (19:43 -0600)]
Use correct window reference in offset to work properly cross-frame. Fixes #6190.

14 years agoNo reason to double-bind the beforeunload event. Fixes #6113.
jeresig [Sat, 27 Feb 2010 15:03:43 +0000 (10:03 -0500)]
No reason to double-bind the beforeunload event. Fixes #6113.

14 years agoAttach data directly to plain objects, no reason to use the central jQuery.cache...
jeresig [Sat, 27 Feb 2010 14:49:58 +0000 (09:49 -0500)]
Attach data directly to plain objects, no reason to use the central jQuery.cache. Fixes #6189.

14 years agoMerge branch 'master' of github.com:jquery/jquery
jeresig [Sat, 27 Feb 2010 14:02:18 +0000 (09:02 -0500)]
Merge branch 'master' of github.com:jquery/jquery

14 years agoAdding in .bind(name, false), .unbind(name, false) support - an easy way to just...
jeresig [Sat, 27 Feb 2010 14:02:13 +0000 (09:02 -0500)]
Adding in .bind(name, false), .unbind(name, false) support - an easy way to just stop bubbling and the default action on an element. Fixes #6188.

14 years agoMake sure events exist before trying to access them in jQuery.event.handle and remove...
brandonaaron [Sat, 27 Feb 2010 07:31:33 +0000 (01:31 -0600)]
Make sure events exist before trying to access them in jQuery.event.handle and removed unnecessary var statement. Fixes #6163.

14 years agoMake it so that you can pass in event data to .click(), et. al. Fixes #6187.
jeresig [Sat, 27 Feb 2010 01:01:19 +0000 (20:01 -0500)]
Make it so that you can pass in event data to .click(), et. al. Fixes #6187.

14 years agoMake sure that undefined is always returned for undefined data properties. Fixes...
jeresig [Fri, 26 Feb 2010 17:35:04 +0000 (12:35 -0500)]
Make sure that undefined is always returned for undefined data properties. Fixes #6166.

14 years agoMake sure that unbinding on a plain javascript object works correctly. Fixes #6184.
jeresig [Fri, 26 Feb 2010 16:32:12 +0000 (11:32 -0500)]
Make sure that unbinding on a plain javascript object works correctly. Fixes #6184.

14 years agoMake sure that the correct type is set for live mouseenter/mouseleave events. Fixes...
jeresig [Fri, 26 Feb 2010 16:23:49 +0000 (11:23 -0500)]
Make sure that the correct type is set for live mouseenter/mouseleave events. Fixes #6169.

14 years agoMake sure that live events bubble unless explicitly told not to, like a normal event...
jeresig [Fri, 26 Feb 2010 14:26:14 +0000 (09:26 -0500)]
Make sure that live events bubble unless explicitly told not to, like a normal event. Fixes #6182.

14 years agoUpdating the source version to 1.4.3pre.
jeresig [Sun, 14 Feb 2010 03:33:57 +0000 (22:33 -0500)]
Updating the source version to 1.4.3pre.

14 years agoTagging the 1.4.2 release.
jeresig [Sun, 14 Feb 2010 03:33:48 +0000 (22:33 -0500)]
Tagging the 1.4.2 release.

14 years agoNo need to run trim on every class iteration in addClass, thanks for the heads-up...
jeresig [Sat, 13 Feb 2010 19:30:27 +0000 (14:30 -0500)]
No need to run trim on every class iteration in addClass, thanks for the heads-up Leeoniya.

14 years agoAdapt the nbsp entity test for Opera (output isn't as important as the fact that...
jeresig [Sat, 13 Feb 2010 12:05:39 +0000 (07:05 -0500)]
Adapt the nbsp entity test for Opera (output isn't as important as the fact that it's getting converted.

14 years agoFound a better detect for deleting an expando, added back in removeAttribute as it...
jeresig [Sat, 13 Feb 2010 11:57:58 +0000 (06:57 -0500)]
Found a better detect for deleting an expando, added back in removeAttribute as it does work in IE.

14 years agoClean up expando removal code - only try to delete the expando from an element if...
jeresig [Sat, 13 Feb 2010 11:32:20 +0000 (06:32 -0500)]
Clean up expando removal code - only try to delete the expando from an element if it's possible.

14 years agoMake sure that elements that have been removed also have their special events cleaned...
jeresig [Sat, 13 Feb 2010 11:10:43 +0000 (06:10 -0500)]
Make sure that elements that have been removed also have their special events cleaned up. Fixes #6084.

14 years agoMake sure that mousing over XUL elements results in no trigger of a mouseleave. Fixes...
jeresig [Sat, 13 Feb 2010 10:45:48 +0000 (05:45 -0500)]
Make sure that mousing over XUL elements results in no trigger of a mouseleave. Fixes #6013.

14 years agoMake sure that live focus and blur events also bind to the regular events, to handle...
jeresig [Sat, 13 Feb 2010 10:37:17 +0000 (05:37 -0500)]
Make sure that live focus and blur events also bind to the regular events, to handle triggered events. Fixes #6055.

14 years agoWhen binding a change directly to a file input just passthrough to the normal bind...
jeresig [Sat, 13 Feb 2010 09:40:26 +0000 (04:40 -0500)]
When binding a change directly to a file input just passthrough to the normal bind. A temporary fix for #5997, needs more investigation.

14 years agoDon't inject style elements using innerHTML as they will go away in IE. Fixes #5977.
jeresig [Sat, 13 Feb 2010 08:30:45 +0000 (03:30 -0500)]
Don't inject style elements using innerHTML as they will go away in IE. Fixes #5977.

14 years agoAdded some tests to test repeated injected of scripts. Was fixed when fixing #5094.
jeresig [Sat, 13 Feb 2010 08:25:27 +0000 (03:25 -0500)]
Added some tests to test repeated injected of scripts. Was fixed when fixing #5094.

14 years agoMake sure that we don't try to use a detached node (that was in a fragment) as a...
jeresig [Sat, 13 Feb 2010 08:14:00 +0000 (03:14 -0500)]
Make sure that we don't try to use a detached node (that was in a fragment) as a fragment in IE. Fixes #5829.

14 years agoMake sure the fragment isn't used if it's not the same set we're working with. Fixes...
jeresig [Sat, 13 Feb 2010 07:49:04 +0000 (02:49 -0500)]
Make sure the fragment isn't used if it's not the same set we're working with. Fixes #6068.

14 years agoRename internal .getText to maintain parity between it and the primary .text(). Fixes...
jeresig [Sat, 13 Feb 2010 07:26:50 +0000 (02:26 -0500)]
Rename internal .getText to maintain parity between it and the primary .text(). Fixes #6094.

14 years agoIf .attr() is run on no elements undefined should be returned (as should be the case...
jeresig [Sat, 13 Feb 2010 07:23:38 +0000 (02:23 -0500)]
If .attr() is run on no elements undefined should be returned (as should be the case when no attribute is found). Fixes #6012.

14 years agoMake sure that no extra whitespace is leftover after an addClass. Fixes #6050.
jeresig [Sat, 13 Feb 2010 07:18:38 +0000 (02:18 -0500)]
Make sure that no extra whitespace is leftover after an addClass. Fixes #6050.

14 years agoMake sure leading whitespace is trimmed for parseJSON. Fixes #6031.
jeresig [Sat, 13 Feb 2010 07:14:23 +0000 (02:14 -0500)]
Make sure leading whitespace is trimmed for parseJSON. Fixes #6031.

14 years agoMake sure that fragments containing options aren't cached.
jeresig [Sat, 13 Feb 2010 06:50:19 +0000 (01:50 -0500)]
Make sure that fragments containing options aren't cached.

14 years agoRemove the need for the internal setArray method, it was only really used by pushStac...
jeresig [Sat, 13 Feb 2010 06:45:09 +0000 (01:45 -0500)]
Remove the need for the internal setArray method, it was only really used by pushStack anyway. Fixes #6003.

14 years agoMake sure that there are some live events before continuing on.
jeresig [Sat, 13 Feb 2010 00:38:57 +0000 (19:38 -0500)]
Make sure that there are some live events before continuing on.