[jquery-dev] Re: Building/developing jQuery on Windows using MSBUILD + VisualStudio

2009-12-02 Thread DBJDBJ
1. I am using VS2008 + Git extensions - Visual Studio and Shell Explorer Extensions for Git version 1.79 made by Henk Westhuis ( henk_westh...@hotmail.com ) The only problem I had was simillar to yuors. It is easily rectified by *not* using PuTTy. I switched to OpenSSH. I am pretty sure Tortoise

[jquery-dev] Re: Ant build

2009-12-02 Thread DBJDBJ
@Scott : I have never met any poor soul , who pays my fees and who is in the same time not stuck in the MS-land. Game over. On Dec 1, 5:18 pm, Scott Sauyet scott.sau...@gmail.com wrote: On Tue, Dec 1, 2009 at 12:14 PM, DBJDBJ dbj...@gmail.com wrote: Actually even better would be jquery.proj.

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Julian Aubourg
I started cleaning the code and I think it's already in a good enough shape now for some code reviews/remarks/ideas, etc. All tests pass under webkit browsers, Opera Firefox (only latest versions tested). IE8 has two failing tests (3 but the third doesn't fail if the 2 previous ones aren't ran) I

[jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Shade
I'm still a little confused as to why the XHR (with transport) plugin doesn't give us what we need in terms of being able to provide an alternate XHR-like transport that $.ajax will use? I found it to be quite graceful and succinct for what I was doing with flXHR and the jQuery.flXHR plugin.

Re: [jquery-dev] Re: Ant build

2009-12-02 Thread Scott Sauyet
On Wed, Dec 2, 2009 at 10:12 AM, DBJDBJ dbj...@gmail.com wrote: @Scott : I have never met any poor soul , who pays my fees and who is in the same time not stuck in the MS-land. Game over. Sorry, I'm working this week with C++ for the first time in more than five years and with Visual Studio for

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Julian Aubourg
I confirm that jQuery.isObjectLiteral(document.createElement(div)) returns true under IE8. 2009/12/2 Julian Aubourg aubourg.jul...@gmail.com I started cleaning the code and I think it's already in a good enough shape now for some code reviews/remarks/ideas, etc. All tests pass under webkit

[jquery-dev] Google JS Tools

2009-12-02 Thread mike.helgeson
In case anyone is interested, I just stumbled on this product from google... http://code.google.com/closure/ With a web interface and REST API http://closure-compiler.appspot.com/home And a Firebug extension... http://code.google.com/closure/compiler/docs/inspector.html -- You received this

Re: [jquery-dev] Google JS Tools

2009-12-02 Thread John Resig
Yep - we've investigated the compiler as a solution for jQuery. Unfortunately the best part (the advanced optimization settings) require some significant changes to the code base in order to work correctly - and even then it's not entirely clear that it'll provide a benefit over the basic

Re: [jquery-dev] Google JS Tools

2009-12-02 Thread Ralph Whitbeck
Sounds like someone needs to listen to the Official jQuery Podcast ;-) On Wed, Dec 2, 2009 at 11:57 AM, John Resig jere...@gmail.com wrote: Yep - we've investigated the compiler as a solution for jQuery. Unfortunately the best part (the advanced optimization settings) require some significant

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread John Resig
I confirm that jQuery.isObjectLiteral(document.createElement(div)) returns true under IE8. I was actually just exploring issues with isObjectLiteral and extend as you wrote this email. I'll check in to that today and hopefully post a solution. --John -- You received this message because you

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Scott Sauyet
On Tue, Dec 1, 2009 at 8:21 PM, Julian Aubourg aubourg.jul...@gmail.com wrote: Anyway, the code has been comitted at http://github.com/jaubourg/jquery Just started looking at this, and it makes a great deal of sense to me. As to the extension API, would this be simpler?:

[jquery-dev] Re: Google JS Tools

2009-12-02 Thread DBJDBJ
Alternatively try : http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=34488#DownloadId=87862 It *seems* really good ... --DBJ -- You received this message because you are subscribed to the Google Groups jQuery Development group. To post to this group, send email to

[jquery-dev] Re: Ant build

2009-12-02 Thread DBJDBJ
@Scott (sorry others for privatising this thread) I advise you to look again in msbuild. It is actually deprecated, but still supported. The usual inital knee jerk reaction is just to dump it, it is xml etc .. but it is really simple and really works. I guess this is why it is deprecated ;o) I

[jquery-dev] Re: Building/developing jQuery on Windows using MSBUILD + VisualStudio

2009-12-02 Thread DBJDBJ
To clarify: I use VisualStudio and its web site (from file system) project kind, for editing jquery project. To build it I have jquery.proj which I execute with open with msbuild.exe For git I have Visual Studio GIT Extensions installed. On Dec 2, 3:06 pm, DBJDBJ dbj...@gmail.com wrote: 1. I

[jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread George Adamson
Hi Julian, re the deep copy bug you experienced. I presume you are referring to $.extend(deep...) ? FWIW I hit this when a document object is among the options passed into a plugin that uses extend deep to merge the options with it's defaults. For some reason it worked fine when I passed

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Julian Aubourg
No, you're actually right... I just realized I made an awful signature with two functions in a row and I'm puzzled John didn't notice it yet... quick quick, to refactor it :P The main problem I have with optionsFilter and the way it works is that I still need a main function to select the correct

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Julian Aubourg
Yep, like I said earlier jQuery.isObjectLiteral(document.createElement(div)) returns true in IE8 (dunno for earlier versions) but John seems to be working on it. Can't believe how difficult to get right these type controlling codes can be. Seems like magic to me sometimes. 2009/12/3 George

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread John Resig
Yep, like I said earlier jQuery.isObjectLiteral(document.createElement(div)) returns true in IE8 (dunno for earlier versions) but John seems to be working on it. Can't believe how difficult to get right these type controlling codes can be. Seems like magic to me sometimes. I actually landed

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Julian Aubourg
Unfortunately this type of change will break plugins such as jquery.ui.tabs but judging by other changes you've been discussing, it seems that there will be many breaking changes. I'm doing my best so that it doesn't break anything, hence my current focus on unit testing right now. -- You

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Julian Aubourg
And here I ask the git newb question? How do I sync my branch with your latest changes? 2009/12/3 John Resig jere...@gmail.com Yep, like I said earlier jQuery.isObjectLiteral(document.createElement(div)) returns true in IE8 (dunno for earlier versions) but John seems to be working on it.

[jquery-dev] next()

2009-12-02 Thread TMNT
I have multiple country state dropdowns on my form and would like to change the options of state dropdown when the value in corresponding country dropdown is changed. (all my country elements have class 'country' state elements have 'state' class) $('select.country').change(function() { var

[jquery-dev] Re: next()

2009-12-02 Thread Dave Methvin
The jQuery-en group is a better fit for this question. This group is for the discussion of the development of jQuery itself. -- You received this message because you are subscribed to the Google Groups jQuery Development group. To post to this group, send email to jquery-...@googlegroups.com.

[jquery-dev] Re: Building/developing jQuery on Windows

2009-12-02 Thread Dave Methvin
This article looks like it could be helpful: http://devlicio.us/blogs/sergio_pereira/archive/2009/05/06/git-ssh-pu... Thanks everyone for your help. For me at least, it turned out the solution was to switch from the PuTTY client recommended in that article to the one in the git bash

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Julian Aubourg
Nevermind I found the way ;) So, 100% tests passing in IE8, latest safari, latest chrome, latest Opera and latest Firefox. Still searching for a decent solution to the pluggable aspect of transports. 2009/12/3 Julian Aubourg aubourg.jul...@gmail.com And here I ask the git newb question? How

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Michael Geary
isObjectLiteral is a really poor name for that function. It makes no sense at all. An object *literal* is text. It's not an object until it's parsed, and then it's not an object literal any more, it's just an Object. Case in point: jQuery.isObjectLiteral({}) and jQuery.isObjectLiteral(new Object)

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread John Resig
Well, we don't want isObject (or isJavaScriptObject or isNativeObject) since that'll allow things like 'new String'. We explicitly want the case where people are using {} or new Object in their code, adding on some properties, and passing it around. It sound like you're worried about some sort of

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Julian Aubourg
isPlainObject? Anyway, progress again on the transport front. Transport definition reduced to 2 functions (the response headers are now passed to the complete callback which is simpler and more elegant). Also, the new architecture didn't prevent the infamous memory leak when using

Re: [jquery-dev] Re: $.ajax feature matrix

2009-12-02 Thread Julian Aubourg
Since I remembered this : http://groups.google.com/group/jquery-dev/browse_thread/thread/5e63ab0adf17aabc?pli=1 I implemented a common poller for all xhr based requests. So, no matter how many concurrent requests you have, there will only be *1* timer used. See top of the file:

[jquery-dev] JSON RPC and a mobile jQuery

2009-12-02 Thread azoff
I have been listening to the jQuery podcasts (official and yayquery) and I am really excited about all the potential stuff that is to come in January. Of those many things I am extremely interested in the new developments regarding a mobile version of jQuery. As far as I understand, a mobile