Skip to content
This repository
Newer
Older
100644 221 lines (194 sloc) 9.854 kb
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
1 <?xml version="1.0" ?>
2
5d1c05b2 »
2010-06-01 Separate packaging from building in ant build; force clean before pac…
3 <project name="PIE" default="build" basedir=".">
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
4
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
5 <property name="version" value="1.0beta6-SNAPSHOT" />
762539aa »
2011-10-03 Add support for multiple fallback CDN locations
6 <!-- 'http://cdnjs.cloudflare.com/ajax/libs/css3pie/${version}' -->
7 <property name="default_base_urls" value="['http://lojjic.github.com/PIE/files/builds/${version}']"/>
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
8 <property name="build_dir" value="./build" />
9 <property name="src_dir" value="./sources" />
10
d62b0c90 »
2010-05-25 Add creation of distributable zip package to build script
11 <target name="clean">
12 <delete dir="${build_dir}" />
13 </target>
14
5d1c05b2 »
2010-06-01 Separate packaging from building in ant build; force clean before pac…
15 <target name="build-uncompressed">
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
16 <mkdir dir="${build_dir}" />
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
17
18 <concat destfile="${build_dir}/PIE_IE678_uncompressed.js">
19 <fileset file="${src_dir}/js_open.js" />
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
20 <fileset file="${src_dir}/PIE_open.js" />
21 <fileset file="${src_dir}/Util.js" />
43fc3ab9 »
2011-06-26 Factor out logic common to IE9 and IE<9 gradient renderers into a sha…
22 <fileset file="${src_dir}/GradientUtil.js" />
4045a505 »
2010-07-31 Implement lazy initialization. Elements which are outside the browser…
23 <fileset file="${src_dir}/Observable.js" />
24 <fileset file="${src_dir}/Heartbeat.js" />
a69573d0 »
2011-08-20 Update build file
25 <fileset file="${src_dir}/OnUnload.js" />
dc459e6b »
2010-08-30 Move the .htc event listeners and event handling logic into an Elemen…
26 <fileset file="${src_dir}/OnResize.js" />
828dac61 »
2010-10-31 When printing, revert all elements to their default non-CSS3 state, t…
27 <fileset file="${src_dir}/OnScroll.js" />
28 <fileset file="${src_dir}/OnPrint.js" />
253f0c98 »
2011-08-20 Add listeners for handling changes due to :focus and :active pseudocl…
29 <fileset file="${src_dir}/OnMouseup.js" />
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
30 <fileset file="${src_dir}/Length.js" />
31 <fileset file="${src_dir}/BgPosition.js" />
c89e2d02 »
2011-07-02 Honor background-size when rendering linear-gradients in IE9. Allows …
32 <fileset file="${src_dir}/BgSize.js" />
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
33 <fileset file="${src_dir}/Angle.js" />
34 <fileset file="${src_dir}/Color.js" />
35 <fileset file="${src_dir}/Tokenizer.js" />
04ed5d5b »
2010-08-31 Move all accesses of element dimensions into a new BoundsInfo object,…
36 <fileset file="${src_dir}/BoundsInfo.js" />
d6baacf5 »
2010-06-03 Abstract out the creation of StyleInfo classes. ~300 byte file size i…
37 <fileset file="${src_dir}/StyleInfoBase.js" />
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
38 <fileset file="${src_dir}/BackgroundStyleInfo.js" />
39 <fileset file="${src_dir}/BorderStyleInfo.js" />
40 <fileset file="${src_dir}/BorderRadiusStyleInfo.js" />
41 <fileset file="${src_dir}/BorderImageStyleInfo.js" />
42 <fileset file="${src_dir}/BoxShadowStyleInfo.js" />
bf3d9f21 »
2010-06-03 Fix bug where css3 renderings would not get updated when the target e…
43 <fileset file="${src_dir}/VisibilityStyleInfo.js" />
9fcfa801 »
2011-11-06 Major refactoring: VML is now constructed as a single string of marku…
44 <fileset file="${src_dir}/VmlShape.js" />
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
45 <fileset file="${src_dir}/RendererBase.js" />
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
46 <fileset file="${src_dir}/RendererBase_IE678.js" />
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
47 <fileset file="${src_dir}/RootRenderer.js" />
37db46d3 »
2010-05-23 Split background and border rendering into separate renderers; beside…
48 <fileset file="${src_dir}/BackgroundRenderer.js" />
49 <fileset file="${src_dir}/BorderRenderer.js" />
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
50 <fileset file="${src_dir}/BorderImageRenderer.js" />
ad351e8b »
2010-05-23 Split box-shadow renderer into two renderers for outset and inset sha…
51 <fileset file="${src_dir}/BoxShadowOutsetRenderer.js" />
1e1b0fad »
2010-11-02 Remove inset box-shadow renderer from the build until it's implemented
52 <!--<fileset file="${src_dir}/BoxShadowInsetRenderer.js" />-->
b392f432 »
2010-11-01 Add support for rendering rounded corners etc. on <img> tags -- the i…
53 <fileset file="${src_dir}/ImgRenderer.js" />
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
54 <fileset file="${src_dir}/Element.js" />
55 <fileset file="${src_dir}/PIE_API.js" />
56 <fileset file="${src_dir}/js_close.js" />
1da1423c »
2011-11-06 Add empty vbscript block at end of htc file as a workaround for very …
57
58 <filterchain>
59 <tokenfilter>
60 <replacestring from="$Version$" to="${version}" />
61 </tokenfilter>
62 </filterchain>
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
63 </concat>
64
65 <concat destfile="${build_dir}/PIE_IE9_uncompressed.js">
66 <fileset file="${src_dir}/js_open.js" />
67 <fileset file="${src_dir}/PIE_open.js" />
68 <fileset file="${src_dir}/Util.js" />
69 <fileset file="${src_dir}/GradientUtil.js" />
70 <fileset file="${src_dir}/Observable.js" />
71 <fileset file="${src_dir}/Heartbeat.js" />
41194841 »
2011-10-08 Fix split build for IE9: add missing files and functions, move color …
72 <fileset file="${src_dir}/OnUnload.js" />
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
73 <fileset file="${src_dir}/OnResize.js" />
74 <fileset file="${src_dir}/OnScroll.js" />
75 <fileset file="${src_dir}/OnPrint.js" />
41194841 »
2011-10-08 Fix split build for IE9: add missing files and functions, move color …
76 <fileset file="${src_dir}/OnMouseup.js" />
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
77 <fileset file="${src_dir}/Length.js" />
78 <fileset file="${src_dir}/BgPosition.js" />
79 <fileset file="${src_dir}/BgSize.js" />
80 <fileset file="${src_dir}/Angle.js" />
81 <fileset file="${src_dir}/Color.js" />
82 <fileset file="${src_dir}/Tokenizer.js" />
83 <fileset file="${src_dir}/BoundsInfo.js" />
84 <fileset file="${src_dir}/StyleInfoBase.js" />
85 <fileset file="${src_dir}/BackgroundStyleInfo.js" />
41194841 »
2011-10-08 Fix split build for IE9: add missing files and functions, move color …
86 <fileset file="${src_dir}/BorderStyleInfo.js" />
87 <fileset file="${src_dir}/BorderImageStyleInfo.js" />
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
88 <fileset file="${src_dir}/RendererBase.js" />
f745eac9 »
2011-08-07 IE9: Allow border-image and -pie-background:linear-gradient to work t…
89 <fileset file="${src_dir}/IE9RootRenderer.js" />
a3423c57 »
2011-05-15 Add support for rendering of linear-gradient in IE9 standards mode. T…
90 <fileset file="${src_dir}/IE9BackgroundRenderer.js" />
ef5ccac8 »
2011-06-05 Work in progress on border-image support for IE9.
91 <fileset file="${src_dir}/IE9BorderImageRenderer.js" />
dc459e6b »
2010-08-30 Move the .htc event listeners and event handling logic into an Elemen…
92 <fileset file="${src_dir}/Element.js" />
93 <fileset file="${src_dir}/PIE_API.js" />
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
94 <fileset file="${src_dir}/js_close.js" />
1da1423c »
2011-11-06 Add empty vbscript block at end of htc file as a workaround for very …
95
96 <filterchain>
97 <tokenfilter>
98 <replacestring from="$Version$" to="${version}" />
99 </tokenfilter>
100 </filterchain>
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
101 </concat>
102
45381979 »
2011-11-27 Combine htc wrapper files into one
103 <loadfile property="htc_script_uncompressed" srcFile="${src_dir}/htc_script.js">
1da1423c »
2011-11-06 Add empty vbscript block at end of htc file as a workaround for very …
104 <filterchain>
105 <tokenfilter>
106 <replacestring from="$JSVariant$" to="_uncompressed" />
107 <replacestring from="$DefaultBaseUrls$" to="${default_base_urls}" />
108 </tokenfilter>
109 </filterchain>
45381979 »
2011-11-27 Combine htc wrapper files into one
110 </loadfile>
111 <copy file="${src_dir}/htc_markup.htc" tofile="${build_dir}/PIE_uncompressed.htc">
112 <filterchain>
113 <tokenfilter>
114 <replacestring from="$Version$" to="${version}" />
115 <replacestring from="$Contents$" to="${htc_script_uncompressed}" />
116 </tokenfilter>
117 </filterchain>
118 </copy>
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
119 </target>
120
5d1c05b2 »
2010-06-01 Separate packaging from building in ant build; force clean before pac…
121 <target name="build-compressed" depends="build-uncompressed">
f83e0b19 »
2010-04-17 Switch to Closure Compiler, using advanced optimizations mode. Lots o…
122 <exec executable="java">
123 <arg line='-jar tools/compiler.jar
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
124 --js ${build_dir}/PIE_IE678_uncompressed.js
41194841 »
2011-10-08 Fix split build for IE9: add missing files and functions, move color …
125 --module "PIE_IE678:1"
126 --module_output_path_prefix ${build_dir}/
127 --compilation_level ADVANCED_OPTIMIZATIONS
128 --externs ${src_dir}/closure_externs.js' />
129 </exec>
130
131 <exec executable="java">
132 <arg line='-jar tools/compiler.jar
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
133 --js ${build_dir}/PIE_IE9_uncompressed.js
41194841 »
2011-10-08 Fix split build for IE9: add missing files and functions, move color …
134 --module "PIE_IE9:1"
135 --module_output_path_prefix ${build_dir}/
136 --compilation_level ADVANCED_OPTIMIZATIONS
137 --externs ${src_dir}/closure_externs.js' />
138 </exec>
139
140 <exec executable="java">
141 <arg line='-jar tools/compiler.jar
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
142 --js ${src_dir}/htc_script.js
f83e0b19 »
2010-04-17 Switch to Closure Compiler, using advanced optimizations mode. Lots o…
143 --js ${src_dir}/closure_preservefunctions.js
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
144 --module "htc_script_compressed:1"
f83e0b19 »
2010-04-17 Switch to Closure Compiler, using advanced optimizations mode. Lots o…
145 --module "temp:1"
146 --module_output_path_prefix ${build_dir}/
147 --compilation_level ADVANCED_OPTIMIZATIONS
148 --externs ${src_dir}/closure_externs.js' />
149 </exec>
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
150
45381979 »
2011-11-27 Combine htc wrapper files into one
151 <loadfile property="htc_script_compressed" srcFile="${build_dir}/htc_script_compressed.js">
152 <filterchain>
153 <tokenfilter>
154 <replacestring from="$JSVariant$" to="" />
155 <replacestring from="$DefaultBaseUrls$" to="${default_base_urls}" />
156 </tokenfilter>
157 </filterchain>
158 </loadfile>
159 <copy file="${src_dir}/htc_markup.htc" tofile="${build_dir}/PIE.htc">
1da1423c »
2011-11-06 Add empty vbscript block at end of htc file as a workaround for very …
160 <filterchain>
161 <striplinecomments>
162 <comment value="//#" />
163 </striplinecomments>
164 <tokenfilter>
45381979 »
2011-11-27 Combine htc wrapper files into one
165 <replacestring from="$Contents$" to="${htc_script_compressed}" />
1da1423c »
2011-11-06 Add empty vbscript block at end of htc file as a workaround for very …
166 <replacestring from="$Version$" to="${version}" />
167 </tokenfilter>
168 </filterchain>
45381979 »
2011-11-27 Combine htc wrapper files into one
169 </copy>
743eb632 »
2010-07-11 Add build number to comment top of htc file
170
1531a076 »
2010-05-08 Add PHP wrapper as workaround for web servers which are not configure…
171 <delete file="${build_dir}/temp.js" />
aa82152c »
2011-09-29 Implement split build and loader. PIE.htc is now a very small (1K) st…
172 <delete file="${build_dir}/htc_script_compressed.js" />
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
173 </target>
174
1531a076 »
2010-05-08 Add PHP wrapper as workaround for web servers which are not configure…
175
176 <target name="copy-wrappers">
177 <copy todir="${build_dir}">
178 <fileset dir="${src_dir}/wrappers" />
179 </copy>
180 </target>
181
182
5d1c05b2 »
2010-06-01 Separate packaging from building in ant build; force clean before pac…
183 <target name="build" depends="build-uncompressed,build-compressed" />
184
185 <target name="package" depends="clean,build,copy-wrappers">
d62b0c90 »
2010-05-25 Add creation of distributable zip package to build script
186 <!-- Create distribution bundle -->
187 <zip destfile="${build_dir}/PIE.zip" basedir="${build_dir}"/>
188 </target>
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
189
2798bc52 »
2011-10-08 Add ant task to automate pushing build result files to the gh-pages b…
190
191
192 <target name="deploy" depends="build" description="Builds and pushes the files to the gh-pages branch">
193 <!-- Clone repo into temp dir, checking out the gh-pages branch -->
194 <exec executable="git">
195 <arg line="clone --reference . --branch gh-pages git@github.com:lojjic/PIE.git ${build_dir}/temp-git-clone" />
196 </exec>
197
198 <!-- Copy built files into correct version dir -->
199 <copy todir="${build_dir}/temp-git-clone/files/builds/${version}" overwrite="true">
200 <fileset file="${build_dir}/PIE.htc" />
201 <fileset file="${build_dir}/PIE_IE678.js" />
202 <fileset file="${build_dir}/PIE_IE9.js" />
203 <fileset file="${build_dir}/PIE_uncompressed.htc" />
204 <fileset file="${build_dir}/PIE_IE678_uncompressed.js" />
205 <fileset file="${build_dir}/PIE_IE9_uncompressed.js" />
206 </copy>
207
208 <!-- Commit and push -->
209 <exec executable="git" dir="${build_dir}/temp-git-clone">
210 <arg line='commit -a -m "Update files for build ${version}"' />
211 </exec>
212 <exec executable="git" dir="${build_dir}/temp-git-clone">
213 <arg line='push origin gh-pages' />
214 </exec>
215
216 <!-- Cleanup -->
217 <delete dir="${build_dir}/temp-git-clone" />
218 </target>
219
3e71920c »
2010-04-08 Split the monolithic PIE.htc into separate source files per class/com…
220 </project>
Something went wrong with that request. Please try again.