Commit graph

3133 commits

Author SHA1 Message Date
Dan Heberden c0389e3e37 Add missing var declaration for 2011-04-05 08:33:14 -07:00
Dan Heberden c72371f714 Improve speed of $.map with object support (-5% previous speed) and improve .length detection 2011-04-04 23:59:54 -07:00
Dan Heberden 00dd6013b6 Clean up tab spacing 2011-03-21 12:24:53 -07:00
Dan Heberden d832f4f71e jQuery.map to iterate over objects with a .length property 2011-03-21 12:12:31 -07:00
Dan Heberden e38f074d14 jQuery.map to conform with style guidelines - improved size/DRY code 2011-03-21 08:39:53 -07:00
Dan Heberden 2407690ef9 Fixes 2616; Pull in #252 by jboesch: jQuery.map with object support 2011-03-21 08:10:27 -07:00
Dan Heberden f0e7d28e83 Merge branch 'bug_2616' of https://github.com/jboesch/jquery into map-object.1.6
* 'bug_2616' of https://github.com/jboesch/jquery:
  Bug 2616; Adding object support to jQuery.map
2011-03-21 08:04:35 -07:00
jeresig 5c79f82ec2 Merge branch 'fix-7340-focusin-focusout-bubble' of https://github.com/dmethvin/jquery into dmethvin-fix-7340-focusin-focusout-bubble 2011-03-21 10:53:18 -04:00
Carl Fürstenberg 8a1156da9b merge doesn't work when init
sadly the merge strategy doesn't work when doing an initial clone,
circumvent that
2011-03-18 17:59:16 +01:00
Carl Fürstenberg e2dd8916ee Adding core target
Adding core target to do jquery, minimization and lint
2011-03-18 17:59:09 +01:00
Carl Fürstenberg b4acb7ae81 updating phony rules 2011-03-17 20:23:20 +01:00
Carl Fürstenberg 4f9e78616e Change makefile order to only update submodules on 'all' target
insterad of always update the submodules, now only "make all" will run
that, thus an "make jquery" will not update them
2011-03-17 20:21:32 +01:00
Carl Fürstenberg 22738e0e4b Remove jq target
remove obsolete jq target
2011-03-17 20:20:02 +01:00
Carl Fürstenberg a2faed347d Merge when updating submodules on make
When  running make, the submodule update will remove all local changes.
Adding flag --rebase or --merge does solve the issue. rebase will
probably make it cleaner, but it might stop on conflict, thus --merge
will result in fewer (probably none).
2011-03-17 19:50:53 +01:00
John Resig 0cf336d2c9 Merge branch 'bug_6158' of https://github.com/jboesch/jquery into jboesch-bug_6158 2011-03-15 17:06:24 -04:00
Carl Fürstenberg bd4468886d adding pull command 2011-03-15 21:42:58 +01:00
Carl Fürstenberg cd2ca7b591 pull submodules make command
Adding an helper funciton to pull the latest from all registered
submodules
2011-03-15 21:25:51 +01:00
Carl Fürstenberg 150d3decb5 Introduce submodules, closes #8536
Instead of the manual clone of sizzle and qunit, use git submodules
instead. this will ensure that all future releases can be recreated by
checking out an tag.
2011-03-15 20:16:09 +01:00
jaubourg 714ae379db Fixes #8509. Makes URL regexp less overzealous and ensures it recognizes URL schemes which do not contain a conformant hierarchical structure ( as per section 2.1.2 of http://www.ietf.org/rfc/rfc2718.txt ). Also adds about: and adobe air's app: and app-storage: to the list of local protocols and provides a failover in case document.location is illformed. Unit test added. 2011-03-15 19:20:03 +01:00
Jordan Boesch 124acbfbc5 removing parens 2011-03-14 14:17:02 -06:00
jaubourg 6c124d3dd4 Fixes #8423. Never set X-Requested-With header automagically for cross-domain requests. 2011-03-07 00:42:09 +01:00
Jordan Boesch dd100bf5ac bug 6158; fixing replaceWith from throwing errors on non existant elements; fixing semicolon 2011-03-05 09:59:25 -06:00
Jordan Boesch c9ef09c800 bug 6158; fixing replaceWith from throwing errors on non existant elements 2011-03-05 09:46:12 -06:00
Jordan Boesch 5c2d70979c bug 6158; fixing replaceWith from throwing errors on empty elements 2011-03-05 09:30:29 -06:00
Dave Methvin 55ec6a71d2 Fixes #7340. Use a single capturing handler to simulate bubbling focusin/focusout event on non-IE browsers. Allow native DOM methods to fire events other than the currently active one back into jQuery. 2011-03-04 21:16:40 -05:00
jaubourg 2d0bc7ce72 Moves Deferred-related code into a separate module. Context handling has been simplified in _Deferred.resolve and jQuery.when has been refactored for clarity (and minor optimization). 2011-03-03 19:38:06 +01:00
jaubourg c1279895f3 Fix for #8421. Makes sure resolveWith can be called with only one parameter. 2011-03-03 15:16:47 +01:00
Jordan Boesch c8a887af06 Bug 2616; Adding object support to jQuery.map 2011-02-27 12:47:35 -06:00
gnarf 71bd828d9f Grouped up the test 2011-02-24 13:21:05 -06:00
gnarf 14e9da51f9 A quick change to detect AIR urls 2011-02-24 13:10:33 -06:00
jaubourg 58faec7cb7 Removes unnecessary parenthesis from regular expression. 2011-02-24 06:37:37 +01:00
jaubourg 5d9db486c7 Revert "Fixes #8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6."
This reverts commit cacea6f7e7.
2011-02-24 00:32:30 +01:00
jeresig 83d1a1fd56 Updating the source version to 1.5.2pre. 2011-02-23 13:55:45 -05:00
jeresig 2defcf96e5 Tagging the 1.5.1 release. 2011-02-23 13:55:29 -05:00
jeresig 292acd97a2 Make a new jQuery.support.noCloneChecked - splitting apart the previous feature detect relating to clone in IE, fixes the last remaining issue with IE 9 RC. Fixes #8365. 2011-02-23 13:18:44 -05:00
jaubourg 3663836b01 Refactors jQuery.when to avoid unnecessary recursion and limit function calls as much as possible. 2011-02-23 08:00:27 +01:00
jaubourg cacea6f7e7 Fixes #8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6. 2011-02-23 02:50:27 +01:00
jaubourg e405419fb7 Makes the promise method of Deferreds a bit more readable by not using the variable declared as parameter trick anymore. 2011-02-22 00:44:22 +01:00
jeresig d5f7711ce0 Updating the source version to 1.5.1pre. 2011-02-18 13:57:32 -05:00
jeresig 13e1198754 Tagging the 1.5.1rc1 release. 2011-02-18 13:57:25 -05:00
Dan Heberden 47abe5e1da Bug #6911 - Prevent action on disabled elements, both triggering and bound via .live() 2011-02-18 10:09:07 -08:00
jaubourg a43a5ca9cf Revert "Adds an invert method to promises that returns a "inverted" promise that is resolved when the underlying deferred is rejected and rejected when the underlying deferred is resolved."
This reverts commit 4e97543051.
2011-02-18 18:06:26 +01:00
Alex Sexton 752db8fffe A temporary workaround for #8018 that avoids any chance of compatibility-breaking changes until a proper fix can be landed in 1.6. 2011-02-17 18:01:30 -06:00
Anton M 4b91b918a3 Fix a some inaccuracies in the original test case for #7912.
- Use fresh div instead of one outside the test-fixture
- make sure the empty string test tests actually that (not 0% 0%)
- actually test for < -10000 (#7193)
- fixed some whitespace issues
2011-02-17 19:14:46 +01:00
louisremi 85d9343271 Fixes #7912. Make sure .cur() only returns 0 as fallback value when it needs to ("", auto, undefined, null).
This change makes .cur() more .cssHooks friendly. .cur() now returns the unmodified value by
.css() if it isn't a number, number-alike or a value that needs a fallback to 0.
This way fx.start doesn't need to be recalculated for complex values.
2011-02-17 17:26:23 +01:00
Dave Methvin b9f5e2b974 Only perpetrate the .toJSON hack on data caches when they are attached to a plain Javascript object. Part of the continuing saga of #8108. 2011-02-17 17:09:56 +01:00
jaubourg 5b38439011 Fixes #8297. Makes sure response headers with empty values are handled properly and do not prevent proper parsing of the entire response headers string. Unit test amended. 2011-02-17 17:03:09 +01:00
Anton M faa6fe32f7 Revert "Merge branch '8099' of https://github.com/rwldrn/jquery into rwldrn-8099"
This reverts commit bb9408516a, reversing
changes made to 3ad8dd242a.

Conflicts:

	src/effects.js
2011-02-15 22:30:34 +01:00
Anton M 6b08d88d04 Fix some whitespace issues. 2011-02-15 22:09:09 +01:00
Dave Methvin 12c0e1a692 Fixes #7922. Copy the donor event when simulating a bubbling submit in IE so that we don't accidentally stop propagation on it. Remove a bunch of return statements that could also cancel the event. DRY out the liveFired change from #6359 by moving it to the trigger() function. 2011-02-15 22:08:39 +01:00