Skip to content

Commit e2c4a3c

Browse files
author
gcko
committed
merging
2 parents 955e3f7 + 07d40b8 commit e2c4a3c

File tree

458 files changed

+4044
-2170
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

458 files changed

+4044
-2170
lines changed

MIT-LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2010 Paul Bakaus, http://jqueryui.com/
1+
Copyright (c) 2011 Paul Bakaus, http://jqueryui.com/
22

33
This software consists of voluntary contributions made by many
44
individuals (AUTHORS.txt, http://jqueryui.com/about) For exact

build/build.xml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,22 @@
196196
<mapper type="glob" from="*.css" to="${dist.dir}/themes/base/minified/*.min.css" />
197197
<targetfile/>
198198
</apply>
199-
199+
200+
<replaceregexp match=".css" replace=".min.css" flags="g">
201+
<fileset dir="${dist.dir}/themes/base/minified/">
202+
<include name="*.base.min.css"/>
203+
<include name="*.all.min.css"/>
204+
</fileset>
205+
</replaceregexp>
206+
207+
<!-- make a copy of all theme images to ensure that relative paths in minified css files work -->
208+
<copy todir="${dist.dir}/themes/base/minified/images" >
209+
<fileset dir="${ui.dir}/themes/base/images" />
210+
</copy>
211+
200212
<echo message="Minified ui/ built." />
201213
</target>
202-
214+
203215
<target description="Copy needed folders" name="copy">
204216
<echo message="Copying files" />
205217
<mkdir dir="${dist.dir}" />

build/release/prepare-release

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ repo_dir="$base_dir/jquery-ui"
55
release_dir="$repo_dir/build/release"
66

77
github_repo="git@github.com:jquery/jquery-ui.git"
8-
remote_cmd="ssh jqadmin@ui-dev.jquery.com /srv/dev.jqueryui.com/prepare-release"
8+
git_branch="1-8-stable"
9+
trac_url="http://bugs.jqueryui.com"
910

1011

1112

@@ -25,6 +26,7 @@ cd $base_dir
2526
echo "Cloning repo from $github_repo..."
2627
git clone $github_repo
2728
cd $repo_dir
29+
git checkout $git_branch
2830

2931
echo
3032
echo "Environment setup complete."
@@ -43,11 +45,12 @@ echo "------------------------"
4345
echo
4446

4547
# NOTE: this will be different for minor and major releases
46-
version=`$remote_cmd/get-latest-version`
47-
major_minor=${version%.*}
48-
point=${version##*.}
49-
version_new="${major_minor}.$(($point + 1))"
50-
version_next=`cat version.txt`
48+
version_new=`cat version.txt`
49+
version_new=${version_new:0:$((${#version_new} - 3))}
50+
major_minor=${version_new%.*}
51+
point=${version_new##*.}
52+
version="${major_minor}.$(($point - 1))"
53+
version_next="${major_minor}.$(($point + 1))pre"
5154

5255
echo "We are going from $version to $version_new."
5356
echo "version.txt will be set to $version_next when complete."
@@ -85,7 +88,9 @@ git whatchanged $version... --pretty=format:"$format_full" \
8588

8689
# find all fixed tickets
8790
echo "Adding Trac tickets to changelog..."
88-
$remote_cmd/generate-changelog >> $base_dir/changelog
91+
trac_changelog="$trac_url/query?format=tab&milestone=$version_new"
92+
trac_changelog="$trac_changelog&resolution=fixed&col=id&col=component&col=summary&order=component"
93+
curl $trac_changelog >> $base_dir/changelog
8994

9095
echo
9196
echo "Changelog complete."
@@ -114,11 +119,11 @@ git whatchanged $version... --pretty=format:"$format_contributors" \
114119

115120
# find all reporters and commenters from Trac
116121
echo "Adding reporters and commenters from Trac..."
117-
$remote_cmd/generate-contributors >> $base_dir/thankyou
122+
curl "$trac_url/report/22?V=$version_new&max=-1&format=tab" | tail -n +2 >> $base_dir/thankyou
118123

119124
# sort names
120125
echo "Sorting contributors..."
121-
LC_ALL='C' sort -f $base_dir/thankyou | uniq > $base_dir/_thankyou
126+
LC_ALL='C' sort -f $base_dir/thankyou | col -b | uniq > $base_dir/_thankyou
122127
mv $base_dir/_thankyou $base_dir/thankyou
123128

124129
# find all people that were thanked
@@ -162,7 +167,7 @@ git tag $version_new
162167
echo "Updating version.txt to $version_next..."
163168
echo $version_next > version.txt
164169

165-
git commit -a -m "Updating the master version to $version_next"
170+
git commit -a -m "Updating the $git_branch version to $version_next"
166171
echo "Committed version.txt..."
167172

168173
echo
@@ -206,7 +211,6 @@ echo
206211

207212
# TODO: automate this
208213
# NOTE: this will be different for minor and major releases
209-
milestone=`$remote_cmd/get-latest-milestone`
210214

211215
# Create new milestrone and version
212216
echo "$version_new was tagged at $version_new_time."
@@ -215,11 +219,6 @@ echo "Create the $version_new Version with the above date and time."
215219
echo "Press enter when done."
216220
read
217221

218-
# Update milestone for all fixed tickets
219-
echo "Change all $milestone fixed tickets to $version_new."
220-
echo "Press enter when done."
221-
read
222-
223222
echo
224223
echo "Trac updates complete."
225224
echo
@@ -329,3 +328,8 @@ echo
329328
#
330329
# Generate themes
331330
#
331+
332+
333+
334+
335+
# ruby -e 'puts File.read("thankyou").split("\n").join(", ")' > thankyou2

demos/accordion/collapsible.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<title>jQuery UI Accordion - Collapse content</title>
66
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7-
<script src="../../jquery-1.4.4.js"></script>
7+
<script src="../../jquery-1.5.1.js"></script>
88
<script src="../../ui/jquery.ui.core.js"></script>
99
<script src="../../ui/jquery.ui.widget.js"></script>
1010
<script src="../../ui/jquery.ui.accordion.js"></script>

demos/accordion/custom-icons.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<title>jQuery UI Accordion - Customize icons</title>
66
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7-
<script src="../../jquery-1.4.4.js"></script>
7+
<script src="../../jquery-1.5.1.js"></script>
88
<script src="../../ui/jquery.ui.core.js"></script>
99
<script src="../../ui/jquery.ui.widget.js"></script>
1010
<script src="../../ui/jquery.ui.accordion.js"></script>

demos/accordion/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<title>jQuery UI Accordion - Default functionality</title>
66
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7-
<script src="../../jquery-1.4.4.js"></script>
7+
<script src="../../jquery-1.5.1.js"></script>
88
<script src="../../ui/jquery.ui.core.js"></script>
99
<script src="../../ui/jquery.ui.widget.js"></script>
1010
<script src="../../ui/jquery.ui.accordion.js"></script>

demos/accordion/fillspace.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<title>jQuery UI Accordion - Fill space</title>
66
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7-
<script src="../../jquery-1.4.4.js"></script>
7+
<script src="../../jquery-1.5.1.js"></script>
88
<script src="../../ui/jquery.ui.core.js"></script>
99
<script src="../../ui/jquery.ui.widget.js"></script>
1010
<script src="../../ui/jquery.ui.mouse.js"></script>

demos/accordion/hoverintent.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<title>jQuery UI Accordion - Open on hoverintent</title>
66
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7-
<script src="../../jquery-1.4.4.js"></script>
7+
<script src="../../jquery-1.5.1.js"></script>
88
<script src="../../ui/jquery.ui.core.js"></script>
99
<script src="../../ui/jquery.ui.widget.js"></script>
1010
<script src="../../ui/jquery.ui.accordion.js"></script>

demos/accordion/mouseover.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<title>jQuery UI Accordion - Open on mouseover</title>
66
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7-
<script src="../../jquery-1.4.4.js"></script>
7+
<script src="../../jquery-1.5.1.js"></script>
88
<script src="../../ui/jquery.ui.core.js"></script>
99
<script src="../../ui/jquery.ui.widget.js"></script>
1010
<script src="../../ui/jquery.ui.accordion.js"></script>

demos/accordion/no-auto-height.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<title>jQuery UI Accordion - No auto height</title>
66
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7-
<script src="../../jquery-1.4.4.js"></script>
7+
<script src="../../jquery-1.5.1.js"></script>
88
<script src="../../ui/jquery.ui.core.js"></script>
99
<script src="../../ui/jquery.ui.widget.js"></script>
1010
<script src="../../ui/jquery.ui.accordion.js"></script>

0 commit comments

Comments
 (0)