]> source.dussan.org Git - jquery.git/log
jquery.git
14 years agoSwitched from using Git Submodules to just doing a straight clone of the QUnit and...
jeresig [Mon, 30 Nov 2009 20:45:16 +0000 (15:45 -0500)]
Switched from using Git Submodules to just doing a straight clone of the QUnit and Sizzle directories. Works much better for what we want.

14 years agoBringing Sizzle and QUnit up to date.
jeresig [Mon, 30 Nov 2009 20:09:50 +0000 (15:09 -0500)]
Bringing Sizzle and QUnit up to date.

14 years agoDon't do the update after the pull - forces the submodules up to date.
jeresig [Mon, 30 Nov 2009 20:08:55 +0000 (15:08 -0500)]
Don't do the update after the pull - forces the submodules up to date.

14 years agoUse .add() to merge two test groups together for .unwrap().
jeresig [Mon, 30 Nov 2009 19:39:34 +0000 (14:39 -0500)]
Use .add() to merge two test groups together for .unwrap().

14 years agoChanged the style attribute test to handle hex colors (as that's what Opera returns...
jeresig [Mon, 30 Nov 2009 19:31:32 +0000 (14:31 -0500)]
Changed the style attribute test to handle hex colors (as that's what Opera returns, in this case.

14 years agoMade .show(null/undefined) and .hide(null/undefined) work the same as .show() and...
jeresig [Mon, 30 Nov 2009 19:28:09 +0000 (14:28 -0500)]
Made .show(null/undefined) and .hide(null/undefined) work the same as .show() and .hide().

14 years agoFixed a problem with animations with a duration of 0 not working properly for hide...
jeresig [Mon, 30 Nov 2009 19:22:24 +0000 (14:22 -0500)]
Fixed a problem with animations with a duration of 0 not working properly for hide and show.

14 years agoSimplified a selector in the .live() tests.
jeresig [Mon, 30 Nov 2009 19:02:03 +0000 (14:02 -0500)]
Simplified a selector in the .live() tests.

14 years agoTweaked the live test to be a bit simpler.
jeresig [Mon, 30 Nov 2009 18:50:25 +0000 (13:50 -0500)]
Tweaked the live test to be a bit simpler.

14 years agoFixed wrap test that was looking for comment values from .text().
jeresig [Mon, 30 Nov 2009 18:46:14 +0000 (13:46 -0500)]
Fixed wrap test that was looking for comment values from .text().

14 years agoMerge branch 'master' of github.com:jquery/jquery
jeresig [Mon, 30 Nov 2009 18:42:26 +0000 (13:42 -0500)]
Merge branch 'master' of github.com:jquery/jquery

14 years agoFixed bug with singleTag matching in core.js.
jeresig [Mon, 30 Nov 2009 18:42:19 +0000 (13:42 -0500)]
Fixed bug with singleTag matching in core.js.

14 years agoFixes $.trim for   closes #4980
Yehuda Katz [Mon, 30 Nov 2009 18:21:56 +0000 (10:21 -0800)]
Fixes $.trim for   closes #4980

14 years agoIgnore diff and patch files.
jeresig [Mon, 30 Nov 2009 18:00:06 +0000 (13:00 -0500)]
Ignore diff and patch files.

15 years agoMerge branch 'master' of github.com:jquery/jquery
jeresig [Sun, 29 Nov 2009 21:22:08 +0000 (16:22 -0500)]
Merge branch 'master' of github.com:jquery/jquery

15 years agoAdding a Rakefile to build jQuery core, for those that need it.
jeresig [Sun, 29 Nov 2009 21:21:54 +0000 (16:21 -0500)]
Adding a Rakefile to build jQuery core, for those that need it.

15 years agoadded missing semicolons
Karl Swedberg [Fri, 27 Nov 2009 19:31:28 +0000 (03:31 +0800)]
added missing semicolons

15 years agoadded missing radix parameter for parseInt()
Karl Swedberg [Fri, 27 Nov 2009 19:29:44 +0000 (03:29 +0800)]
added missing radix parameter for parseInt()

15 years agoadded curly braces around all if/else statements
Karl Swedberg [Fri, 27 Nov 2009 19:28:42 +0000 (03:28 +0800)]
added curly braces around all if/else statements

15 years agoForce endlines to be just LF (any CRLF is auto-converted to LF by Git).
jeresig [Fri, 27 Nov 2009 16:23:19 +0000 (11:23 -0500)]
Force endlines to be just LF (any CRLF is auto-converted to LF by Git).

15 years agoDisable the X-Requested-With header to avoid preflighting remote POST requests. Fixes...
John Resig [Wed, 25 Nov 2009 18:29:34 +0000 (13:29 -0500)]
Disable the X-Requested-With header to avoid preflighting remote POST requests. Fixes #4601.

15 years agoFixed spacing on the modified Ajax code.
John Resig [Wed, 25 Nov 2009 18:24:24 +0000 (13:24 -0500)]
Fixed spacing on the modified Ajax code.

15 years agoFixing endlines.
Mark Gibson [Wed, 25 Nov 2009 17:09:53 +0000 (12:09 -0500)]
Fixing endlines.

15 years agoRe-adding zeros removed from slice calls in last commit.
Robert Katic [Thu, 19 Nov 2009 12:37:48 +0000 (20:37 +0800)]
Re-adding zeros removed from slice calls in last commit.

15 years agoCorrected RegExp to match event namespaces. Fixes #5303.
Robert Katic [Thu, 19 Nov 2009 05:11:29 +0000 (13:11 +0800)]
Corrected RegExp to match event namespaces. Fixes #5303.

15 years agoGeneric jQuery.merge and safer jQuery.makeArray(nodeList).
Robert Katic [Wed, 18 Nov 2009 02:26:42 +0000 (10:26 +0800)]
Generic jQuery.merge and safer jQuery.makeArray(nodeList).

* Made jQuery.marge more generic supporting null and undefined values, and supporting array like objects as results. Fixes #5527.

* Made jQuery.makeArray(nodeList) more safer using jQuery.merge internally. Fixes #5528.

* Added a second "results" argument to jQuery.makeArray for internal usage to avoid intermediary arrays in init.

15 years agoAdded support for .text() on text nodes. Fixes #5525.
John Resig [Tue, 17 Nov 2009 19:52:08 +0000 (14:52 -0500)]
Added support for .text() on text nodes. Fixes #5525.

15 years agoRe-wrote context Ajax test to use an element instead of an object (a more realistic...
John Resig [Tue, 17 Nov 2009 19:36:10 +0000 (14:36 -0500)]
Re-wrote context Ajax test to use an element instead of an object (a more realistic test and works with the new jQuery.extend logic for cloning object literals).

15 years agoRe-adding the QUnit submodule file.
John Resig [Tue, 17 Nov 2009 19:25:14 +0000 (14:25 -0500)]
Re-adding the QUnit submodule file.

15 years agoChanged the === undefined ready event check to == null since frameElement is usually...
Andrea Giammarchi [Tue, 17 Nov 2009 15:45:01 +0000 (10:45 -0500)]
Changed the === undefined ready event check to == null since frameElement is usually null and was skipping the normal line of checks.

15 years agoHide the .settings file in the gitignore.
John Resig [Sun, 15 Nov 2009 05:27:06 +0000 (00:27 -0500)]
Hide the .settings file in the gitignore.

15 years agoIgnoring src/selector.js (build) and Emacs backup files
Kim Dalsgaard [Fri, 13 Nov 2009 21:26:00 +0000 (05:26 +0800)]
Ignoring src/selector.js (build) and Emacs backup files

15 years agoAdded test for passing null to .show()
Scott Gonzalez [Thu, 12 Nov 2009 23:08:33 +0000 (07:08 +0800)]
Added test for passing null to .show()

15 years agoAllowing falsy values to be passed as a speed for hide().
Scott Gonzalez [Thu, 12 Nov 2009 22:39:33 +0000 (06:39 +0800)]
Allowing falsy values to be passed as a speed for hide().

15 years agoAllowing falsy values to be passed as a speed for show().
Scott Gonzalez [Thu, 12 Nov 2009 22:27:10 +0000 (06:27 +0800)]
Allowing falsy values to be passed as a speed for show().

15 years agoCorrected some minor errors made by me (rkatic) in last commits.
Robert Katic [Thu, 12 Nov 2009 15:24:19 +0000 (23:24 +0800)]
Corrected some minor errors made by me (rkatic) in last commits.

15 years agoForgotten to update the number of jQuery.extend related tests.
Robert Katic [Thu, 12 Nov 2009 06:03:59 +0000 (14:03 +0800)]
Forgotten to update the number of jQuery.extend related tests.

15 years agoMade jQuery.extend(true, ...) to extend recursively only 'object literal' values.
Robert Katic [Thu, 12 Nov 2009 05:48:45 +0000 (13:48 +0800)]
Made jQuery.extend(true, ...) to extend recursively only 'object literal' values.

15 years agoMade isObjectLiteral to work correctly with custom objects with empty prototypes.
Robert Katic [Thu, 12 Nov 2009 04:50:40 +0000 (12:50 +0800)]
Made isObjectLiteral to work correctly with custom objects with empty prototypes.

15 years agoMake sure that the submodules are pulling from the right location.
John Resig [Wed, 11 Nov 2009 23:08:07 +0000 (18:08 -0500)]
Make sure that the submodules are pulling from the right location.

15 years agoUse array.indexOf if available (speeds up modern browsers). Thanks to lrbabe and...
lrbabe [Wed, 11 Nov 2009 20:15:58 +0000 (15:15 -0500)]
Use array.indexOf if available (speeds up modern browsers). Thanks to lrbabe and Andrea for the patch. Fixes #5160.

15 years agoAdded useMap and frameBorder IE support to attr. Fixes #4561.
John Resig [Wed, 11 Nov 2009 20:11:58 +0000 (15:11 -0500)]
Added useMap and frameBorder IE support to attr. Fixes #4561.

15 years agoAdded a check to make sure that a load request isn't done if the element doesn't...
John Resig [Wed, 11 Nov 2009 19:55:32 +0000 (14:55 -0500)]
Added a check to make sure that a load request isn't done if the element doesn't exist. Fixes #4235.

15 years agoPass in the XHR object as the third argument to the success callback (which helps...
John Resig [Wed, 11 Nov 2009 19:29:01 +0000 (14:29 -0500)]
Pass in the XHR object as the third argument to the success callback (which helps $.get, $.post, and load). Fixes #3363.

15 years agoFixed the case where HTML that contained entities was being inserted as text strings...
John Resig [Wed, 11 Nov 2009 19:23:56 +0000 (14:23 -0500)]
Fixed the case where HTML that contained entities was being inserted as text strings instead of HTML. Thanks to dmethvin for the test case! Fixes #5483.

15 years agoLanding tweak from 'haruka' that fixes non-pixel fontSize values in IE. Fixes #760.
John Resig [Wed, 11 Nov 2009 19:17:16 +0000 (14:17 -0500)]
Landing tweak from 'haruka' that fixes non-pixel fontSize values in IE. Fixes #760.

15 years agoLand Rich's fix for not using window.top to do frame detection. Fixes #4787.
Rich Dougherty [Wed, 11 Nov 2009 18:56:39 +0000 (13:56 -0500)]
Land Rich's fix for not using window.top to do frame detection. Fixes #4787.

15 years agoMade jQuery('<div/>') and jQuery('<div></div>') use the same code path (making the...
John Resig [Wed, 11 Nov 2009 18:49:29 +0000 (13:49 -0500)]
Made jQuery('<div/>') and jQuery('<div></div>') use the same code path (making the second one faster). Fixes #5293.

15 years agoOpera 9.2 was interpreting .5 as 0.50, changing it to .55 lets the result be the...
John Resig [Wed, 11 Nov 2009 18:45:03 +0000 (13:45 -0500)]
Opera 9.2 was interpreting .5 as 0.50, changing it to .55 lets the result be the same in all browsers: 0.55. Fixes #5344.

15 years agoRemoved the use of this.length++ as it makes it hard to use the init method directly...
John Resig [Wed, 11 Nov 2009 18:42:50 +0000 (13:42 -0500)]
Removed the use of this.length++ as it makes it hard to use the init method directly. Fixes #4955.

15 years agoAdd QUnit as a submodule.
Damian Janowski [Mon, 9 Nov 2009 21:25:13 +0000 (05:25 +0800)]
Add QUnit as a submodule.

15 years agoRemove symlink to John Resig's filesystem.
Damian Janowski [Mon, 9 Nov 2009 21:19:51 +0000 (05:19 +0800)]
Remove symlink to John Resig's filesystem.

15 years agoMaking sure that you can bind multiple toggles to a single element without problems...
Mr Speaker [Wed, 11 Nov 2009 14:46:24 +0000 (09:46 -0500)]
Making sure that you can bind multiple toggles to a single element without problems. Thanks to 'Mr Speaker' for the original patch. Fixes #5274.

15 years agoRenamed isObject to isObjectLiteral to be more specific.
John Resig [Wed, 11 Nov 2009 04:07:05 +0000 (23:07 -0500)]
Renamed isObject to isObjectLiteral to be more specific.

15 years agoForce the submodules to keep up to date.
John Resig [Tue, 10 Nov 2009 01:13:58 +0000 (02:13 +0100)]
Force the submodules to keep up to date.

15 years agoRequire that, at least, document.body exists before firing the ready event. This...
John Resig [Mon, 9 Nov 2009 12:47:53 +0000 (13:47 +0100)]
Require that, at least, document.body exists before firing the ready event. This may stop jQuery from working on pages that don't create a document.body (such as Safari, when no body exists) but considering that we've required a document.body since 1.3 and haven't broken any pages, this doesn't appear to be a pressing issue. Used the test case written by dmethvin to verify the bug and the fix. Fixes #4320.

15 years agoBacking out commit 81bfd9b870f658ce00eec48ea48a84d69c20bf05, read the ticket incorrec...
John Resig [Mon, 9 Nov 2009 12:30:33 +0000 (13:30 +0100)]
Backing out commit 81bfd9b870f658ce00eec48ea48a84d69c20bf05, read the ticket incorrectly - and seeing some of the other earlier tickets it's obvious that a more generic solution is needed. Thanks jdalton for the catch.

15 years agoMerge branch 'master' of git@github.com:jquery/jquery
John Resig [Mon, 9 Nov 2009 12:01:10 +0000 (13:01 +0100)]
Merge branch 'master' of git@github.com:jquery/jquery

15 years agoMaking mouseenter and mouseleave work with .live().
lrbabe [Mon, 9 Nov 2009 11:59:54 +0000 (12:59 +0100)]
Making mouseenter and mouseleave work with .live().

15 years agoCleanup bubbling focus and blur events
lrbabe [Fri, 6 Nov 2009 11:59:45 +0000 (19:59 +0800)]
Cleanup bubbling focus and blur events
- Use cached event instead of jQuery.event
- Do not cache event.special if you use it only once

15 years agoMade the closest method evaluate the selector with appropriate context.
Robert Katić [Mon, 9 Nov 2009 11:39:29 +0000 (12:39 +0100)]
Made the closest method evaluate the selector with appropriate context.

15 years agoAdded a method to myKlass.
rkatic [Mon, 9 Nov 2009 10:55:25 +0000 (18:55 +0800)]
Added a method to myKlass.
If an object's prototype is "empty", then isObject returns true!

15 years agoAdded comments to isObject.
rkatic [Sun, 8 Nov 2009 23:26:01 +0000 (07:26 +0800)]
Added comments to isObject.

15 years agoFixing spacing problems from rkatic's patches.
John Resig [Sat, 7 Nov 2009 16:40:47 +0000 (17:40 +0100)]
Fixing spacing problems from rkatic's patches.

15 years agoMake liveHandler to use jQuery.lastCloser and speed up internal sorting.
rkatic [Sat, 7 Nov 2009 16:10:58 +0000 (00:10 +0800)]
Make liveHandler to use jQuery.lastCloser and speed up internal sorting.

15 years agoStore last closer value to jQuery.lastCloser instead of using data API.
rkatic [Sat, 7 Nov 2009 16:04:08 +0000 (00:04 +0800)]
Store last closer value to jQuery.lastCloser instead of using data API.

15 years agoMade sure that animate callbacks get executed even when no properties are passed...
John Resig [Sat, 7 Nov 2009 16:22:35 +0000 (17:22 +0100)]
Made sure that animate callbacks get executed even when no properties are passed in. Fixes #5459.

15 years agoMake .add() take an optional context and - if a context is specified in the root...
John Resig [Sat, 7 Nov 2009 15:43:31 +0000 (16:43 +0100)]
Make .add() take an optional context and - if a context is specified in the root selector - use that as the base context.

15 years agoComment nodes are discarded from a merge, for no apparent reason. Fixes #5438.
John Resig [Sat, 7 Nov 2009 15:15:33 +0000 (16:15 +0100)]
Comment nodes are discarded from a merge, for no apparent reason. Fixes #5438.

15 years agojQuery.ajax modified the passed-in object only to help test the code - this shouldn...
John Resig [Sat, 7 Nov 2009 15:08:07 +0000 (16:08 +0100)]
jQuery.ajax modified the passed-in object only to help test the code - this shouldn't occur. Fixes #5439.

15 years agoA typechange for test/qunit.
John Resig [Sat, 7 Nov 2009 15:03:16 +0000 (16:03 +0100)]
A typechange for test/qunit.

15 years agoMake sure that document.body exists, at least, in IE before the ready event is fired...
John Resig [Sat, 7 Nov 2009 15:00:43 +0000 (16:00 +0100)]
Make sure that document.body exists, at least, in IE before the ready event is fired. Fixes #5443.

15 years agoThe complete event wasn't getting called on local file 404s. Thanks to 'mrspeaker...
John Resig [Sat, 7 Nov 2009 13:59:47 +0000 (14:59 +0100)]
The complete event wasn't getting called on local file 404s. Thanks to 'mrspeaker' for the patch. Fixes #5468.

15 years agoFixed the case where getComputedStyled was assumed to exist if getBoundingClientRect...
John Resig [Sat, 7 Nov 2009 13:57:27 +0000 (14:57 +0100)]
Fixed the case where getComputedStyled was assumed to exist if getBoundingClientRect did (which isn't the case on the Playstation 3). Fixes #5467.

15 years agoRemoving some of the SVN-specific stuff from the Ant build file (should probably...
John Resig [Sat, 7 Nov 2009 13:55:14 +0000 (14:55 +0100)]
Removing some of the SVN-specific stuff from the Ant build file (should probably be updated to use the new Git functionality.

15 years agochanged the extension of the README from .markdown to .md
Michael Bensoussan [Mon, 2 Nov 2009 22:58:12 +0000 (06:58 +0800)]
changed the extension of the README from .markdown to .md

15 years agoupdate the README title with a direct link
Michael Bensoussan [Mon, 2 Nov 2009 21:41:03 +0000 (05:41 +0800)]
update the README title with a direct link

15 years agoupdate the README for more readbility
Michael Bensoussan [Mon, 2 Nov 2009 21:40:00 +0000 (05:40 +0800)]
update the README for more readbility

15 years agofrom txt to markdown
Michael Bensoussan [Mon, 2 Nov 2009 21:36:49 +0000 (05:36 +0800)]
from txt to markdown

15 years agoConsistant splits using " " instead of ","
visionmedia [Fri, 23 Oct 2009 15:52:38 +0000 (23:52 +0800)]
Consistant splits using " " instead of ","

This was used in several other areas, and IMO is easier to read
and since nothing is multi-word then we misewell use " "

15 years agoPull in the Sizzle library dynamically using a submodule and make it part of the...
John Resig [Mon, 26 Oct 2009 22:23:31 +0000 (18:23 -0400)]
Pull in the Sizzle library dynamically using a submodule and make it part of the jQuery build process.

15 years agoMoved a bunch of methods out of the jQuery-specific Sizzle code into more-appropriate...
John Resig [Mon, 26 Oct 2009 22:07:57 +0000 (18:07 -0400)]
Moved a bunch of methods out of the jQuery-specific Sizzle code into more-appropriate files, in jQuery itself.

15 years agofix sed statement used to extract the date
Jon Evans [Fri, 23 Oct 2009 10:13:26 +0000 (18:13 +0800)]
fix sed statement used to extract the date

15 years agoRemoved the revision info and fixed the date pull to work against git log instead...
John Resig [Fri, 23 Oct 2009 07:25:40 +0000 (03:25 -0400)]
Removed the revision info and fixed the date pull to work against git log instead of SVN.

15 years agoRemoving the old speed perf directory (the current one is in the main 'speed' directory).
John Resig [Fri, 23 Oct 2009 02:06:20 +0000 (22:06 -0400)]
Removing the old speed perf directory (the current one is in the main 'speed' directory).

15 years agoOnly need Java if you want to build a minified version of jQuery.
John Resig [Fri, 23 Oct 2009 01:57:45 +0000 (21:57 -0400)]
Only need Java if you want to build a minified version of jQuery.

15 years agoRemoved the 'lite' build option (no longer used) and updated the README.
John Resig [Fri, 23 Oct 2009 01:56:49 +0000 (21:56 -0400)]
Removed the 'lite' build option (no longer used) and updated the README.

15 years agoCleaned out the build directory - a lot of old files that weren't being used anymore.
John Resig [Fri, 23 Oct 2009 01:54:34 +0000 (21:54 -0400)]
Cleaned out the build directory - a lot of old files that weren't being used anymore.

15 years agoRemoving some old text files.
John Resig [Fri, 23 Oct 2009 01:45:36 +0000 (21:45 -0400)]
Removing some old text files.

15 years agoAdded the submodule init/update to the Makefile for 'make test' and updated the READM...
John Resig [Fri, 23 Oct 2009 01:44:44 +0000 (21:44 -0400)]
Added the submodule init/update to the Makefile for 'make test' and updated the README to be more current.

15 years agoPull in QUnit using a submodule. In order to build jQuery (and run the tests) you...
John Resig [Fri, 23 Oct 2009 01:39:41 +0000 (21:39 -0400)]
Pull in QUnit using a submodule. In order to build jQuery (and run the tests) you'll need to do 'git submodule init' and 'git submodule update' after checkout.

15 years agoWe don't want to filter out the qunit file.
John Resig [Fri, 23 Oct 2009 01:26:28 +0000 (21:26 -0400)]
We don't want to filter out the qunit file.

15 years agoFixed the cleaning method to support namespaced elements. Thanks to einaros for the...
John Resig [Mon, 12 Oct 2009 16:26:01 +0000 (16:26 +0000)]
Fixed the cleaning method to support namespaced elements. Thanks to einaros for the patch recommendation. Fixes #5358.

15 years agoFixed == change in ready.
John Resig [Thu, 8 Oct 2009 18:13:07 +0000 (18:13 +0000)]
Fixed == change in ready.

15 years agoUpdated the jQuery suite to use the updated QUnit CSS styling.
John Resig [Tue, 29 Sep 2009 22:48:25 +0000 (22:48 +0000)]
Updated the jQuery suite to use the updated QUnit CSS styling.

15 years agoUpdated the jQuery test suite to use the new QUnit file names.
John Resig [Tue, 29 Sep 2009 22:25:02 +0000 (22:25 +0000)]
Updated the jQuery test suite to use the new QUnit file names.

15 years agoMoved the jQuery-specific test suite CSS into a separate file.
John Resig [Tue, 29 Sep 2009 22:09:21 +0000 (22:09 +0000)]
Moved the jQuery-specific test suite CSS into a separate file.

15 years agoAdapted the jQuery test suite to handle the toolbar moving inline.
John Resig [Tue, 29 Sep 2009 21:40:17 +0000 (21:40 +0000)]
Adapted the jQuery test suite to handle the toolbar moving inline.

15 years agoUpdated the jQuery suite to use the new 'qunit-' prefix on specific elements.
John Resig [Tue, 29 Sep 2009 21:34:12 +0000 (21:34 +0000)]
Updated the jQuery suite to use the new 'qunit-' prefix on specific elements.

15 years agoFixed the q() method to use same instead of isSet.
John Resig [Tue, 29 Sep 2009 21:22:35 +0000 (21:22 +0000)]
Fixed the q() method to use same instead of isSet.