John Resig [Sun, 5 Sep 2010 14:17:18 +0000 (10:17 -0400)]
First pass at unifying the various CSS methods in jQuery (jQuery.style, jQuery.curCSS, and jQuery.css are now all under jQuery.css).
John Resig [Sun, 5 Sep 2010 04:04:37 +0000 (00:04 -0400)]
Broke apart some of the browser-specific logic for CSS handling.
John Resig [Sun, 5 Sep 2010 03:34:52 +0000 (23:34 -0400)]
Some more minor formatting tweaks.
John Resig [Sun, 5 Sep 2010 03:28:17 +0000 (23:28 -0400)]
Tweaking the formatting from the previous commit.
Brandon Aaron [Fri, 3 Sep 2010 02:06:40 +0000 (21:06 -0500)]
First look at css hooks. These hooks provide a way to change how jQuery handles getting and setting certain css properties. This means normalizing properties like background-position can easily be done via plugins.
They are similar in concept to the special event hooks. Return false from the hook to revert control back to jQuery's normal processes for getting and setting certain css properties.
John Resig [Thu, 2 Sep 2010 20:15:54 +0000 (16:15 -0400)]
Fix the order of the element test arguments.
John Resig [Thu, 2 Sep 2010 19:13:10 +0000 (15:13 -0400)]
Tweaked the name unit tests to specify the exact nodes from which to test against.
John Resig [Thu, 2 Sep 2010 18:56:32 +0000 (14:56 -0400)]
Remove cases of :contains() where quotes are used - not using quotes follows more closely with the CSS Selector recommendation.
Brandon Aaron [Wed, 1 Sep 2010 16:05:35 +0000 (11:05 -0500)]
Add .width() and .height() unit test for empty sets. Fix .height() test that was masquerading as a .width() test. Made sure .width() and .height() tests were in-sync (testing the same things).
Brandon Aaron [Wed, 1 Sep 2010 15:48:19 +0000 (10:48 -0500)]
Increase max number of JSLint errors. This is necessary because we have several error messages that we choose to ignore.
John Resig [Fri, 27 Aug 2010 22:17:07 +0000 (18:17 -0400)]
Switched to use 'in' for the setInterval/window check as it also skirts around the Safari 2 NodeList crasher. See the discussion in
94f35d05199ec1634d9c8c60d10f298f260056bd for more details.
John Resig [Fri, 27 Aug 2010 19:14:30 +0000 (15:14 -0400)]
Blackberry 4.6 is capable of finding elements that are no longer in the DOM via getElementById. It only appears to happen when the node has been inside of a cloned Document Fragment. Fixes #6963.
John Resig [Fri, 27 Aug 2010 18:16:27 +0000 (14:16 -0400)]
Handle two more cases where comments were missing in the test case, in Blackberry 4.6.
John Resig [Fri, 27 Aug 2010 17:15:48 +0000 (13:15 -0400)]
Use the native isArray whenever possible. See perf test by jdalton here: jsperf.com/isarray-vs-other Fixes #6825.
John Resig [Fri, 27 Aug 2010 14:03:30 +0000 (07:03 -0700)]
Simplify the logic in $.type, thanks to jdalton for the suggesiton in
5d2be7e299131a31cffbd73edea59cde30445608.
John Resig [Fri, 27 Aug 2010 13:10:52 +0000 (06:10 -0700)]
Added some tweaks to $.type to handle null and undefined. Added a bunch of unit tests as well.
John Resig [Thu, 26 Aug 2010 19:36:44 +0000 (15:36 -0400)]
Blackberry 4.6 doesn't maintain comment nodes in the DOM, ignore them in our test cases.
John Resig [Thu, 26 Aug 2010 19:26:30 +0000 (15:26 -0400)]
Fixed mistake with tweaked iframe manipulation test.
John Resig [Thu, 26 Aug 2010 19:21:01 +0000 (15:21 -0400)]
Tweak some more jQuery set results in the manipulation tests. Also fixed the order of the expected test results.
John Resig [Thu, 26 Aug 2010 18:57:23 +0000 (14:57 -0400)]
Tweak more element orders in the manipulation tests. Also differentiate between iframe test failing and the inability to access iframe internals (as in the case of Blackberry).
John Resig [Thu, 26 Aug 2010 18:37:58 +0000 (14:37 -0400)]
Tweaked manipulation test to ignore order of elements from selector (not important to the test).
John Resig [Thu, 26 Aug 2010 16:51:37 +0000 (12:51 -0400)]
Only attempt to use the IE technique for setting opacity if the filter property exists (otherwise fallback to the standards-compatible technique).
John Resig [Thu, 26 Aug 2010 16:36:50 +0000 (12:36 -0400)]
Tweaked anchor test to work better on Blackberry 4.7.
John Resig [Wed, 25 Aug 2010 16:57:34 +0000 (09:57 -0700)]
Adding in a jQuery.type(obj) method (a simple map to using Object.prototype.toString.call). Fixes #3330.
John Resig [Wed, 25 Aug 2010 16:27:30 +0000 (09:27 -0700)]
Tweaked logic for working around Blackberry 4.7 makeArray(RegExp) issue. Fixes #6930.
John Resig [Tue, 24 Aug 2010 14:28:47 +0000 (07:28 -0700)]
Make sure that missing attributes return undefined in Blackberry 4.7. Fixes #6938.
John Resig [Mon, 23 Aug 2010 21:23:13 +0000 (14:23 -0700)]
Simplifying some of the .val() test code.
John Resig [Mon, 23 Aug 2010 21:10:39 +0000 (14:10 -0700)]
.val() on empty options returns the text value rather than the value in Blackberry 4.7. Fixes #6932.
John Resig [Mon, 23 Aug 2010 19:38:55 +0000 (12:38 -0700)]
Fixing getting/setting classes and makeArray(RegExp) for Blackberry 4.7. Fixes #6930, #6931.
jzaefferer [Wed, 28 Jul 2010 15:19:01 +0000 (17:19 +0200)]
Replace usage of the removed global reset() method with QUnit.reset().
John Resig [Tue, 27 Jul 2010 17:45:32 +0000 (13:45 -0400)]
Make sure that .data() events don't bubble, per the discussion in
2e10af143b7eafb7142524f6534a62aee1910bd1. Fixes #6832.
jzaefferer [Tue, 27 Jul 2010 10:50:08 +0000 (12:50 +0200)]
Moving jQuery-core specific resets from QUnit to core.
Dave Reed [Fri, 23 Jul 2010 15:25:31 +0000 (11:25 -0400)]
Fix for issues discussed in
9faab0b74fd316c2161612236d9ea8a01f3c78f8. Goes towards fixing #6808.
InfinitiesLoop [Thu, 22 Jul 2010 17:48:24 +0000 (01:48 +0800)]
Ticket 6808. Updated per code review comments by jeresig
InfinitiesLoop [Tue, 20 Jul 2010 21:53:36 +0000 (05:53 +0800)]
Ticket #6808. Changes data() so on plain objects, it uses a function to contain the cache ID to avoid it being JSON serialized.
Richard D. Worth [Thu, 8 Apr 2010 01:38:19 +0000 (09:38 +0800)]
Fixed ant build to be more consistent with Makefile. Now has all same targets (see README.md) and
* generates an identical jquery.js to that of make
* generates a min file
* runs jslint.
* cleans more thoroughly
* can be passed a PREFIX property
Richard D. Worth [Thu, 8 Apr 2010 01:20:35 +0000 (09:20 +0800)]
Whitespace (spaces to tabs)
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'
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.
InfinitiesLoop [Mon, 19 Jul 2010 23:22:25 +0000 (07:22 +0800)]
Ticket #6804. Adds a changeData event.
wycats [Sun, 20 Jun 2010 05:29:55 +0000 (22:29 -0700)]
Merge branch 'doug'
Douglas Neiner [Mon, 14 Jun 2010 19:03:13 +0000 (15:03 -0400)]
Slight optmization on the Rakefile
Douglas Neiner [Mon, 14 Jun 2010 15:49:30 +0000 (11:49 -0400)]
Edits to README after Karl's review
Douglas Neiner [Mon, 14 Jun 2010 15:25:22 +0000 (11:25 -0400)]
Minor changes to README
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.
Douglas Neiner [Mon, 14 Jun 2010 06:07:21 +0000 (02:07 -0400)]
Fixed spelling on QUnit pull message
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
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
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.
jeresig [Wed, 31 Mar 2010 18:36:24 +0000 (14:36 -0400)]
Removed extra semicolon leftover from recent tweaking.
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.
jeresig [Wed, 24 Mar 2010 20:16:13 +0000 (16:16 -0400)]
Need to expose the isLocal change globally as well.
jeresig [Wed, 24 Mar 2010 20:04:10 +0000 (16:04 -0400)]
Temporarily disable ajax tests when running in TestSwam.
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.
jeresig [Wed, 24 Mar 2010 19:18:11 +0000 (15:18 -0400)]
Adjust isPlainObject test to run in an iframe.
jeresig [Tue, 23 Mar 2010 20:37:40 +0000 (16:37 -0400)]
Make sure the offset tests work without a built jQuery file.
jeresig [Tue, 23 Mar 2010 20:24:51 +0000 (16:24 -0400)]
Update other remote test URLs as well.
jeresig [Tue, 23 Mar 2010 20:22:09 +0000 (16:22 -0400)]
Strip off filename and query string for JSONP Remote test.
jeresig [Tue, 23 Mar 2010 19:21:42 +0000 (15:21 -0400)]
Update the TestSwarm URL to point to the new jQuery swarm location.
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).
jeresig [Tue, 23 Mar 2010 16:19:47 +0000 (12:19 -0400)]
Handle auto-running of the TestSwarm injection script in 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).
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.
jeresig [Tue, 15 Jun 2010 03:05:01 +0000 (23:05 -0400)]
Tweak spacing from last commit.
malsup [Thu, 29 Apr 2010 03:45:34 +0000 (11:45 +0800)]
Fix for http://dev.jquery.com/ticket/6451
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.
jeresig [Wed, 31 Mar 2010 18:36:24 +0000 (14:36 -0400)]
Removed extra semicolon leftover from recent tweaking.
Brandon Aaron [Sat, 27 Mar 2010 23:58:55 +0000 (18:58 -0500)]
Merge branch 'master' of github.com:jquery/jquery
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.
jeresig [Wed, 24 Mar 2010 20:16:13 +0000 (16:16 -0400)]
Need to expose the isLocal change globally as well.
jeresig [Wed, 24 Mar 2010 20:04:10 +0000 (16:04 -0400)]
Temporarily disable ajax tests when running in TestSwam.
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.
jeresig [Wed, 24 Mar 2010 19:18:11 +0000 (15:18 -0400)]
Adjust isPlainObject test to run in an iframe.
Brandon Aaron [Wed, 24 Mar 2010 03:40:38 +0000 (22:40 -0500)]
Merge branch 'master' of github.com:jquery/jquery
jeresig [Tue, 23 Mar 2010 20:37:40 +0000 (16:37 -0400)]
Make sure the offset tests work without a built jQuery file.
jeresig [Tue, 23 Mar 2010 20:24:51 +0000 (16:24 -0400)]
Update other remote test URLs as well.
jeresig [Tue, 23 Mar 2010 20:22:09 +0000 (16:22 -0400)]
Strip off filename and query string for JSONP Remote test.
jeresig [Tue, 23 Mar 2010 19:21:42 +0000 (15:21 -0400)]
Update the TestSwarm URL to point to the new jQuery swarm location.
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).
jeresig [Tue, 23 Mar 2010 16:19:47 +0000 (12:19 -0400)]
Handle auto-running of the TestSwarm injection script in 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).
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.
Brandon Aaron [Tue, 23 Mar 2010 00:05:08 +0000 (20:05 -0400)]
Fix setting only one property at a time in .offset({})
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
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.
jeresig [Tue, 9 Mar 2010 19:08:33 +0000 (14:08 -0500)]
Rewrote the live/delegate submit tests to be more generic.
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.
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.
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.
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.
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.
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.
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.
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.
jeresig [Tue, 2 Mar 2010 15:53:54 +0000 (10:53 -0500)]
Add in the new level information to the closest(Array) test.
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.
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.
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.
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.
jeresig [Tue, 2 Mar 2010 02:24:49 +0000 (21:24 -0500)]
More changes to get jQuery in line with JSLint.