Permalink
Browse files

I really don't know how to use git

  • Loading branch information...
1 parent d5b653b commit 62c4059a2865acc1febc148676f43f2cb67c9d95 @tipiirai tipiirai committed Aug 19, 2011
Showing with 53,781 additions and 0 deletions.
  1. +19 −0 .gitignore
  2. +4 −0 README.md
  3. +113 −0 build.xml
  4. BIN lib/compiler.jar
  5. +4,376 −0 lib/jquery-1.3.2.js
  6. +19 −0 lib/jquery-1.3.2.min.js
  7. +6,241 −0 lib/jquery-1.4.2.js
  8. +154 −0 lib/jquery-1.4.2.min.js
  9. +151 −0 lib/jquery-1.4.js
  10. +16 −0 lib/jquery-1.5.min.js
  11. +8,981 −0 lib/jquery-1.6.2.js
  12. +18 −0 lib/jquery-1.6.2.min.js
  13. +386 −0 lib/jslint.js
  14. BIN lib/rhino.jar
  15. +765 −0 src/dateinput/dateinput.js
  16. +155 −0 src/overlay/overlay.apple.js
  17. +293 −0 src/overlay/overlay.js
  18. +471 −0 src/rangeinput/rangeinput.js
  19. +89 −0 src/scrollable/scrollable.autoscroll.js
  20. +368 −0 src/scrollable/scrollable.js
  21. +134 −0 src/scrollable/scrollable.navigator.js
  22. +284 −0 src/tabs/tabs.js
  23. +178 −0 src/tabs/tabs.slideshow.js
  24. +224 −0 src/toolbox/toolbox.expose.js
  25. +108 −0 src/toolbox/toolbox.history.js
  26. +65 −0 src/toolbox/toolbox.mousewheel.js
  27. +150 −0 src/tooltip/tooltip.dynamic.js
  28. +358 −0 src/tooltip/tooltip.js
  29. +78 −0 src/tooltip/tooltip.slide.js
  30. +595 −0 src/validator/validator.js
  31. +32 −0 test/dateinput/customized.htm
  32. +16 −0 test/dateinput/minimal.htm
  33. BIN test/dateinput/next.gif
  34. BIN test/dateinput/prev.gif
  35. +16 −0 test/dateinput/setmin.htm
  36. +146 −0 test/dateinput/skin1.css
  37. +53 −0 test/dateinput/tabs.htm
  38. +122 −0 test/form/dateinput-layout.htm
  39. +127 −0 test/form/dateinput.css
  40. +81 −0 test/form/dateinput.htm
  41. +104 −0 test/form/draggable.htm
  42. BIN test/form/img/button.png
  43. BIN test/form/img/checkbox.png
  44. BIN test/form/img/radio.png
  45. BIN test/form/img/select.png
  46. +161 −0 test/form/styleable.htm
  47. BIN test/img/2132556613_ab0a4b8d2f_o.jpg
  48. BIN test/img/2220611397_73b6486fe9.jpg
  49. BIN test/img/3720930469_66ffe057f8.jpg
  50. BIN test/img/375832178_02b1b0e4b1.jpg
  51. BIN test/img/3942153630_38e1a62b2d.jpg
  52. BIN test/img/543642045_9aa7beb2c0.jpg
  53. BIN test/img/6481762_3d2c7e79f7.jpg
  54. BIN test/img/arrow_next.gif
  55. BIN test/img/arrow_prev.gif
  56. BIN test/img/blue_next.gif
  57. BIN test/img/blue_prev.gif
  58. +4,376 −0 test/js/jquery-1.3.2.js
  59. +19 −0 test/js/jquery-1.3.2.min.js
  60. +6,078 −0 test/js/jquery-1.4.1.js
  61. +152 −0 test/js/jquery-1.4.1.min.js
  62. +6,241 −0 test/js/jquery-1.4.2.js
  63. +154 −0 test/js/jquery-1.4.2.min.js
  64. +16 −0 test/js/jquery-1.5.min.js
  65. +8,981 −0 test/js/jquery-1.6.2.js
  66. +18 −0 test/js/jquery-1.6.2.min.js
  67. +101 −0 test/overlay/events.htm
  68. BIN test/overlay/img/close.gif
  69. BIN test/overlay/img/close.png
  70. BIN test/overlay/img/image-1.jpg
  71. BIN test/overlay/img/image-2.jpg
  72. BIN test/overlay/img/image-3.jpg
  73. BIN test/overlay/img/image-4.jpg
  74. BIN test/overlay/img/next.gif
  75. BIN test/overlay/img/overlay-white.png
  76. BIN test/overlay/img/overlay.png
  77. +39 −0 test/overlay/index.htm
  78. +21 −0 test/overlay/no-trigger.htm
  79. +64 −0 test/overlay/style.css
  80. +17 −0 test/overlay/test.js
  81. +15 −0 test/rangeinput/css/multiple.css
  82. +57 −0 test/rangeinput/css/skin1.css
  83. +54 −0 test/rangeinput/css/small.css
  84. +9 −0 test/rangeinput/img/IDEAS
  85. BIN test/rangeinput/img/apple/bg.png
  86. BIN test/rangeinput/img/apple/dragger.png
  87. BIN test/rangeinput/img/apple/gradient.jpg
  88. BIN test/rangeinput/img/apple/iphone.png
  89. BIN test/rangeinput/img/h30.png
  90. BIN test/rangeinput/img/h300.png
  91. BIN test/rangeinput/img/h80.png
  92. BIN test/rangeinput/img/pattern.png
  93. BIN test/rangeinput/img/small-horizontal.png
  94. BIN test/rangeinput/img/small-vertical.png
  95. +48 −0 test/rangeinput/multiple.htm
  96. +95 −0 test/rangeinput/scrollbar.htm
  97. +28 −0 test/rangeinput/vertical.htm
  98. +52 −0 test/scrollable/autoscroll.html
  99. +69 −0 test/scrollable/index.html
  100. +62 −0 test/scrollable/multiple.htm
  101. +53 −0 test/scrollable/single.html
  102. +43 −0 test/scrollable/size2.html
  103. +56 −0 test/scrollable/style.css
  104. +42 −0 test/tabs/accordion-horizontal.htm
  105. +43 −0 test/tabs/css/horizontal.css
  106. +67 −0 test/tabs/css/tabs.css
  107. +54 −0 test/tabs/history.htm
  108. +56 −0 test/tabs/index.html
  109. +82 −0 test/tabs/slideshow.htm
  110. BIN test/toolbox/clock.swf
  111. +23 −0 test/toolbox/flashembed.htm
  112. +12 −0 test/toolbox/mask/mask.htm
  113. +35 −0 test/tooltip/click.html
  114. +102 −0 test/tooltip/dynamic.html
  115. +155 −0 test/tooltip/index.html
  116. +65 −0 test/tooltip/many.html
  117. +49 −0 test/tooltip/positioning.htm
  118. +24 −0 test/tooltip/style.css
  119. +84 −0 test/validator/dateinputs.htm
  120. +75 −0 test/validator/minimal.htm
  121. +58 −0 test/validator/no-form.htm
  122. +26 −0 test/validator/onsubmit.htm
  123. +50 −0 test/validator/radio.htm
  124. +21 −0 test/validator/submit_manually.htm
  125. +89 −0 test/validator/validator.htm
View
@@ -0,0 +1,19 @@
+build
+site
+www
+builder
+jquerytools.github.com
+
+# patch
+*.rej
+*.orig
+
+# vim
+*~
+
+# emacs
+\#*\#
+\.\#*
+
+# MacOS directory store
+.DS_Store
View
@@ -0,0 +1,4 @@
+[jQuery Tools](http://flowplayer.org/tools/) - The Missing UI library for the Web
+================================
+
+jQuery Tools is a collection of the most important user-interface components for modern websites. Used by large sites all over the world.
View
@@ -0,0 +1,113 @@
+<project name="jQuery.Tools" default="min">
+
+ <taskdef resource="net/sf/antcontrib/antlib.xml"/>
+ <property name="version" value="1.2.5"/>
+ <property name="build" value="build/${version}"/>
+ <property name="file" value="none"/>
+
+ <!-- replace @VERSION and @DATE tags -->
+ <target name="sources">
+
+ <!-- copy sources to build directory -->
+ <mkdir dir="${build}"/>
+ <copy todir="${build}">
+ <fileset dir="src"/>
+ </copy>
+
+ <!-- jQuery library -->
+ <copy todir="${build}">
+ <fileset dir="lib" includes="*.js"/>
+ </copy>
+
+
+
+ <!-- loop trough them -->
+ <for param="file">
+ <path>
+ <fileset dir="${build}" includes="*/*.js" excludes="*/*.min.js"/>
+ </path>
+
+ <sequential>
+
+ <!-- version number -->
+ <replaceregexp match="@VERSION" replace="${version}" byline="true" file="@{file}" />
+
+ <!-- last modified (via <git log> command) -->
+ <propertyregex property="source" input="@{file}" override="yes" replace="\1"
+ regexp=".+/\d.\d.\d/(.*)\.js"/>
+
+ <exec executable="git" outputproperty="git.log" >
+ <arg line="log -1 src/${source}.js"/>
+ </exec>
+
+ <propertyregex property="date" input="${git.log}" select="\1">
+ <regexp pattern="Date:(.+)"/>
+ </propertyregex>
+
+ <replaceregexp match="@DATE" replace="${date}" file="@{file}" />
+
+ </sequential>
+ </for>
+ </target>
+
+
+ <!-- minify with Closure Compiler (default mode) -->
+ <target name="min" depends="sources">
+
+ <!-- do the hard work -->
+ <apply
+ executable="java"
+ parallel="false"
+ verbose="true"
+ dest="${build}">
+
+ <fileset dir="${build}" includes="*/*.js" excludes="*/*.min.js"/>
+ <arg line="-jar"/>
+ <arg path="lib/compiler.jar"/>
+ <arg line="--js"/>
+ <srcfile/>
+ <arg line="--js_output_file"/>
+ <mapper type="glob" from="*.js" to="*.min.js"/>
+ <targetfile/>
+ </apply>
+
+ </target>
+
+ <!-- lint (http://www.jslint.com/lint.html) -->
+ <target name="lint">
+ <if>
+ <equals arg1="${file}" arg2="none" />
+
+ <!-- loop trough all files -->
+ <then>
+ <for param="file">
+ <path>
+ <fileset dir="src" includes="**/*.js"/>
+ </path>
+
+ <sequential>
+ <java jar="lib/rhino.jar" fork="true">
+ <arg value="lib/jslint.js" />
+ <arg value="@{file}" />
+ </java>
+ </sequential>
+ </for>
+ </then>
+
+ <!-- ant lint -Dfile=validator/validator.js -->
+ <else>
+ <java jar="lib/rhino.jar" fork="true">
+ <arg value="lib/jslint.js" />
+ <arg value="src/${file}" />
+ </java>
+ </else>
+
+ </if>
+
+ </target>
+
+</project>
+
+
+
+
View
Binary file not shown.
Oops, something went wrong. Retry.

6 comments on commit 62c4059

@mariomarin

Thanks for updating the project. It is a shame you don't know how to use git, this commit replaces the history of the project, your developers are not aware of your changes and the people that have pull requests pending don't have the opportunity to know if the problem they tried to solve is gone.

You have created a great project, we depend on you, and that's not good. Why don't you try to build a strong community of developers, so you can take the next 2 month break knowing your project is in good hands.

Thanks again.

@tipiirai
Collaborator

I obviously wasn't replacing the commit history on purpose. I did a commit like I usually do and this happened. No idea why.

Building a community is essential. For now the reason has been time. I'm working on 2.0 and hopefully I can improve my habits then. There are also good sides in projects with strong dictatorship - a good balance is the best.

@mariomarin

Sorry I didn't know it was an accident. Please don't think I am moaning, I do appreciate your efforts and time. Your project has been an important tool for my daily work, I use it every day, and I've trained my coworkers to use it. I hope I can contribute to your project I am interested in doing so with validator.

@ches
ches commented on 62c4059 Aug 27, 2011

Big ouch :-(

Perhaps we can work from previous history and create a diff of exactly what changes you were trying to add here by using all the code in this commit as a snapshot (git clone in two separate directories, use a tool like kdiff3 to compare them). It'd be really unfortunate now if this branch ever got merged to master with this commit included. Let me know if I can help to figure it out.

@ches
ches commented on 62c4059 Aug 27, 2011

Hum, so actually I think everything is fine and it's not really a big deal. If you have the tip of dev checked out and look at the history log of any file, it's complete -- it doesn't start from this commit or even show this commit at all. git blame likewise does not show everything under the sun as being last modified by this commit. I guess this is case in point of what is meant by git tracking content, not files [mind blown].

For sake of posterity, taking a look at things it's evident that the commit just before this one was a merge commit and it deleted everything in the repo, except for one tiny change it made. It looks like you must have been trying to combine that $ -> jQuery change with the previous change. I think it's all worked itself out in the end -- crises averted :-)

@bradrobertson

ya I haven't noticed any problems with the branch either, seems to be fine.

Please sign in to comment.