Dave Methvin
|
eed3803c98
|
When serializing text, encode all line breaks as CRLF pairs per the application/x-www-form-urlencoded specification. Fixes #6876.
|
2010-12-31 13:56:51 -06:00 |
|
jaubourg
|
7e2810fa95
|
Merge branch 'deferred' of github.com:jquery/jquery into deferred
Conflicts:
Rakefile
src/ajax.js
|
2010-12-31 04:21:08 +01:00 |
|
jaubourg
|
6fb9759a75
|
Simplified the way a Promise is tested for (removed promiseMarker). Removed isCancelled helper method from _Deferred, wasn't used nor tested. Reworked jQuery.Deferred and removed unnecessary variables. Also ensured a Promise will return itself when asked for a Promise. Finally, the jQuery.when tests have been revamped.
|
2010-12-31 04:15:15 +01:00 |
|
jaubourg
|
3c6f1380fa
|
Revised conversion logic to handle converter equal to true properly.
|
2010-12-31 04:15:12 +01:00 |
|
jaubourg
|
6dbffb8596
|
Introduced a new promise method on deferreds that returns an immutable object (exposing then, fail, isResolved, isRejected and promise itself only). Remove $.isDeferred and moved logic directly into $.when. Made sure $.when returns a promise by using promise(). Used promise() in ajax code too.
|
2010-12-31 04:15:11 +01:00 |
|
jaubourg
|
6165cc45b7
|
Renamed several ajaxSettings options. Removed cors test, fixed failing cors test.
|
2010-12-31 04:15:09 +01:00 |
|
jaubourg
|
2a5c16f217
|
Revised logic in data conversion to account for when dataFilter modifies the dataTypes list.
|
2010-12-31 04:13:42 +01:00 |
|
jaubourg
|
981d1e08eb
|
Removed re-usability from jXHR object (no more open, send & onreadystatechange support). Streamlined the implementation and put it back into ajax.js (removed xhr.js in the process). Went back to a more simple & direct approach to options handling (keeping much room to further minification-related optimizations). Code is cleaner, smaller & faster. Removed & edited unit tests accordingly. All build files have had xhr.js removed.
|
2010-12-31 04:13:40 +01:00 |
|
jaubourg
|
6f53be1839
|
Removed dataCheckers, added true as possible value for dataConverters indicating dataType equivalence (ie. no conversion has to be performed).
|
2010-12-31 04:05:58 +01:00 |
|
unknown
|
240d8b681e
|
Removed custom method in isDeferred and when.
|
2010-12-31 04:05:56 +01:00 |
|
unknown
|
23d455b446
|
Deferred cannot be cancelled by returning false in a callback. Exception in the callback are still propagated and execution of remaining callbacks is still possible.
|
2010-12-31 04:05:55 +01:00 |
|
unknown
|
fd63416ab1
|
Removed a console.log :/
|
2010-12-31 04:05:54 +01:00 |
|
unknown
|
2d4001b82c
|
Capitalized Deferred & _Deferred to clearly mark them as new types, like Event.
|
2010-12-31 04:05:53 +01:00 |
|
unknown
|
22e28b01e6
|
Changed dataConverters key format.
|
2010-12-31 04:05:52 +01:00 |
|
unknown
|
524bf39400
|
jQuery.parseXML extracted from ajax & added to core, needs unit testing.
|
2010-12-31 04:05:50 +01:00 |
|
jaubourg
|
5bfbe7eaf6
|
Removed NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch's warning).
|
2010-12-31 04:05:49 +01:00 |
|
jaubourg
|
d5bb001b9a
|
Rewrote the data conversion logic in ajax. Should be cleaner and faster.
|
2010-12-31 04:05:48 +01:00 |
|
jaubourg
|
e29ebbc199
|
Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.
|
2010-12-31 04:05:46 +01:00 |
|
jaubourg
|
2fec5dbecd
|
Fixed a loop that only worked in webkit.
|
2010-12-31 04:02:33 +01:00 |
|
jaubourg
|
39d96ab8c5
|
Added deferred to core. Used internally for DOM readyness and ajax callbacks.
|
2010-12-31 04:01:39 +01:00 |
|
jaubourg
|
43828b7482
|
Removed NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch's warning).
|
2010-12-31 03:56:11 +01:00 |
|
jaubourg
|
fef0f63526
|
Rewrote the data conversion logic in ajax. Should be cleaner and faster.
|
2010-12-31 03:56:10 +01:00 |
|
jaubourg
|
4c49c87d4d
|
Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.
|
2010-12-31 03:53:00 +01:00 |
|
jaubourg
|
c072dbd4e2
|
Fixed a loop that only worked in webkit.
|
2010-12-31 03:49:23 +01:00 |
|
jaubourg
|
5bacb53866
|
Added deferred to core. Used internally for DOM readyness and ajax callbacks.
|
2010-12-31 03:49:22 +01:00 |
|
jaubourg
|
7b1e873cd9
|
Simplified the way a Promise is tested for (removed promiseMarker). Removed isCancelled helper method from _Deferred, wasn't used nor tested. Reworked jQuery.Deferred and removed unnecessary variables. Also ensured a Promise will return itself when asked for a Promise. Finally, the jQuery.when tests have been revamped.
|
2010-12-30 17:06:53 +01:00 |
|
Jonas Pfenniger
|
c1625f6b79
|
Update Rakefile to remove module wrappers (feature parity with make and ant). Update Makefile to avoid rebuilding jquery.js when it is not necessary to do so.
|
2010-12-30 01:38:28 -06:00 |
|
Colin Snover
|
4eeae8b0bc
|
Remove patch for very early versions of Opera 9 that made it impossible to animate values smaller than -10000. Fixes #7193. Thanks to igorw for initial patch & test case.
|
2010-12-30 01:23:08 -06:00 |
|
Colin Snover
|
3e0cc81504
|
Clean trailing whitespace from all files.
|
2010-12-30 00:34:48 -06:00 |
|
Colin Snover
|
429b078dc7
|
Merge branch 'fix7762' into jquery master. Fixes #7762.
|
2010-12-30 00:02:56 -06:00 |
|
Colin Snover
|
9029dc02a2
|
Update CommonJS module registration to check to see if define is a function instead of just not undefined.
|
2010-12-29 23:58:03 -06:00 |
|
jaubourg
|
64902e0345
|
Merge branch 'master' of github.com:jquery/jquery into deferred
|
2010-12-30 04:43:31 +01:00 |
|
jaubourg
|
dfa5707306
|
Fix for #7865. Scripts onload handler passes event as first parameter so statusText is now passed as second argument for aborts.
|
2010-12-30 04:41:52 +01:00 |
|
jaubourg
|
7490eb4f8e
|
Revised conversion logic to handle converter equal to true properly.
|
2010-12-29 18:44:45 +01:00 |
|
jaubourg
|
54d965ffa5
|
Introduced a new promise method on deferreds that returns an immutable object (exposing then, fail, isResolved, isRejected and promise itself only). Remove $.isDeferred and moved logic directly into $.when. Made sure $.when returns a promise by using promise(). Used promise() in ajax code too.
|
2010-12-28 04:13:44 +01:00 |
|
jaubourg
|
8c9d32723a
|
Renamed several ajaxSettings options. Removed cors test, fixed failing cors test.
|
2010-12-28 02:30:51 +01:00 |
|
jaubourg
|
97b32d7830
|
Merge branch 'master' of github.com:jquery/jquery into deferred
|
2010-12-28 02:02:31 +01:00 |
|
Dave Methvin
|
5fd21fc02b
|
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.
|
2010-12-27 13:43:52 -06:00 |
|
Dave Methvin
|
64ee5581af
|
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.
|
2010-12-27 13:30:05 -06:00 |
|
jrburke
|
6ffa730721
|
Register as a CommonJS async module if in that kind of environment. Fixes #7102.
|
2010-12-27 13:03:27 -06:00 |
|
Colin Snover
|
01cba2ecaa
|
Merge SlexAxton/jquery:master into jquery/jquery:master.
|
2010-12-26 22:12:56 -06:00 |
|
Alex Sexton
|
faabb2c318
|
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.
|
2010-12-26 22:07:46 -06:00 |
|
Colin Snover
|
4443371dba
|
DRY out $.get and $.post. Fixes #7847. Thanks to cowboy for the patch.
|
2010-12-26 20:56:20 -06:00 |
|
Ben Alman
|
78a6f5b152
|
Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax will uppercase as-needed).
|
2010-12-26 22:49:01 +00:00 |
|
Colin Snover
|
37d297c67f
|
Clearing event handlers on unload is no longer necessary in any version of IE. This issue causing memory leaks between pages was fixed in MS07-033.
|
2010-12-26 14:28:49 -06:00 |
|
Colin Snover
|
a939ade9c6
|
Fix whitespace in event.js
|
2010-12-26 14:28:13 -06:00 |
|
Ben Alman
|
1830db4226
|
WETness getting you down? Fear not, the $.get and $.post methods are now 866% DRYer. This fixes #7847.
|
2010-12-26 18:52:27 +00:00 |
|
Colin Snover
|
52b1709b94
|
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.
|
2010-12-26 10:35:14 -06:00 |
|
jaubourg
|
85f0dda562
|
Revised logic in data conversion to account for when dataFilter modifies the dataTypes list.
|
2010-12-25 23:00:25 +01:00 |
|
jaubourg
|
f7ed2aca56
|
Removed re-usability from jXHR object (no more open, send & onreadystatechange support). Streamlined the implementation and put it back into ajax.js (removed xhr.js in the process). Went back to a more simple & direct approach to options handling (keeping much room to further minification-related optimizations). Code is cleaner, smaller & faster. Removed & edited unit tests accordingly. All build files have had xhr.js removed.
|
2010-12-25 18:54:37 +01:00 |
|