Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 123 lines (104 sloc) 5.453 kb
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
1 <?xml version="1.0" ?>
2
5d1c05b Separate packaging from building in ant build; force clean before packag...
Jason Johnston authored
3 <project name="PIE" default="build" basedir=".">
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
4
65b832d Bump build number to 1.0beta5-SNAPSHOT
Jason Johnston authored
5 <property name="version" value="1.0beta5-SNAPSHOT" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
6 <property name="build_dir" value="./build" />
7 <property name="src_dir" value="./sources" />
8
d62b0c9 Add creation of distributable zip package to build script
Jason Johnston authored
9 <target name="clean">
10 <delete dir="${build_dir}" />
11 </target>
12
5d1c05b Separate packaging from building in ant build; force clean before packag...
Jason Johnston authored
13 <target name="build-uncompressed">
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
14 <mkdir dir="${build_dir}" />
15 <concat destfile="${build_dir}/script_uncompressed.js">
16 <fileset file="${src_dir}/PIE_open.js" />
17 <fileset file="${src_dir}/Util.js" />
43fc3ab Factor out logic common to IE9 and IE<9 gradient renderers into a shared...
Jason Johnston authored
18 <fileset file="${src_dir}/GradientUtil.js" />
4045a50 Implement lazy initialization. Elements which are outside the browser vi...
Jason Johnston authored
19 <fileset file="${src_dir}/Observable.js" />
20 <fileset file="${src_dir}/Heartbeat.js" />
828dac6 When printing, revert all elements to their default non-CSS3 state, to a...
Jason Johnston authored
21 <fileset file="${src_dir}/OnBeforeUnload.js" />
dc459e6 Move the .htc event listeners and event handling logic into an Element w...
Jason Johnston authored
22 <fileset file="${src_dir}/OnResize.js" />
828dac6 When printing, revert all elements to their default non-CSS3 state, to a...
Jason Johnston authored
23 <fileset file="${src_dir}/OnScroll.js" />
24 <fileset file="${src_dir}/OnPrint.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
25 <fileset file="${src_dir}/Length.js" />
26 <fileset file="${src_dir}/BgPosition.js" />
c89e2d0 Honor background-size when rendering linear-gradients in IE9. Allows cor...
Jason Johnston authored
27 <fileset file="${src_dir}/BgSize.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
28 <fileset file="${src_dir}/Angle.js" />
29 <fileset file="${src_dir}/Color.js" />
30 <fileset file="${src_dir}/Tokenizer.js" />
04ed5d5 Move all accesses of element dimensions into a new BoundsInfo object, wh...
Jason Johnston authored
31 <fileset file="${src_dir}/BoundsInfo.js" />
d6baacf Abstract out the creation of StyleInfo classes. ~300 byte file size impr...
Jason Johnston authored
32 <fileset file="${src_dir}/StyleInfoBase.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
33 <fileset file="${src_dir}/BackgroundStyleInfo.js" />
34 <fileset file="${src_dir}/BorderStyleInfo.js" />
35 <fileset file="${src_dir}/BorderRadiusStyleInfo.js" />
36 <fileset file="${src_dir}/BorderImageStyleInfo.js" />
37 <fileset file="${src_dir}/BoxShadowStyleInfo.js" />
bf3d9f2 Fix bug where css3 renderings would not get updated when the target elem...
Jason Johnston authored
38 <fileset file="${src_dir}/VisibilityStyleInfo.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
39 <fileset file="${src_dir}/RendererBase.js" />
40 <fileset file="${src_dir}/RootRenderer.js" />
37db46d Split background and border rendering into separate renderers; besides b...
Jason Johnston authored
41 <fileset file="${src_dir}/BackgroundRenderer.js" />
42 <fileset file="${src_dir}/BorderRenderer.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
43 <fileset file="${src_dir}/BorderImageRenderer.js" />
ad351e8 Split box-shadow renderer into two renderers for outset and inset shadow...
Jason Johnston authored
44 <fileset file="${src_dir}/BoxShadowOutsetRenderer.js" />
1e1b0fa Remove inset box-shadow renderer from the build until it's implemented
Jason Johnston authored
45 <!--<fileset file="${src_dir}/BoxShadowInsetRenderer.js" />-->
b392f43 Add support for rendering rounded corners etc. on <img> tags -- the img ...
Jason Johnston authored
46 <fileset file="${src_dir}/ImgRenderer.js" />
a3423c5 Add support for rendering of linear-gradient in IE9 standards mode. The ...
Jason Johnston authored
47 <fileset file="${src_dir}/IE9BackgroundRenderer.js" />
ef5ccac Work in progress on border-image support for IE9.
Jason Johnston authored
48 <fileset file="${src_dir}/IE9BorderImageRenderer.js" />
dc459e6 Move the .htc event listeners and event handling logic into an Element w...
Jason Johnston authored
49 <fileset file="${src_dir}/Element.js" />
50 <fileset file="${src_dir}/PIE_API.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
51 <fileset file="${src_dir}/PIE_close.js" />
52 </concat>
53
54 <concat destfile="${build_dir}/PIE_uncompressed.htc">
55 <fileset file="${src_dir}/htc_open.txt" />
56 <fileset file="${build_dir}/script_uncompressed.js" />
dc459e6 Move the .htc event listeners and event handling logic into an Element w...
Jason Johnston authored
57 <fileset file="${src_dir}/htc_init.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
58 <fileset file="${src_dir}/htc_close.txt" />
59 </concat>
743eb63 Add build number to comment top of htc file
Jason Johnston authored
60
dc459e6 Move the .htc event listeners and event handling logic into an Element w...
Jason Johnston authored
61 <concat destfile="${build_dir}/PIE_uncompressed.js">
62 <fileset file="${src_dir}/js_open.js" />
63 <fileset file="${build_dir}/script_uncompressed.js" />
64 <fileset file="${src_dir}/js_close.js" />
65 </concat>
66
743eb63 Add build number to comment top of htc file
Jason Johnston authored
67 <replace file="${build_dir}/PIE_uncompressed.htc" token="$Version$" value="${version}"/>
dc459e6 Move the .htc event listeners and event handling logic into an Element w...
Jason Johnston authored
68 <replace file="${build_dir}/PIE_uncompressed.js" token="$Version$" value="${version}"/>
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
69 </target>
70
5d1c05b Separate packaging from building in ant build; force clean before packag...
Jason Johnston authored
71 <target name="build-compressed" depends="build-uncompressed">
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots of s...
Jason Johnston authored
72 <exec executable="java">
73 <arg line='-jar tools/compiler.jar
74 --js ${build_dir}/script_uncompressed.js
8a6f3ac Minor compressibility improvements
Jason Johnston authored
75 --js ${src_dir}/htc_init.js
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots of s...
Jason Johnston authored
76 --js ${src_dir}/closure_preservefunctions.js
77 --module "script_compressed:1"
8a6f3ac Minor compressibility improvements
Jason Johnston authored
78 --module "htc_init_compressed:1"
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots of s...
Jason Johnston authored
79 --module "temp:1"
80 --module_output_path_prefix ${build_dir}/
81 --compilation_level ADVANCED_OPTIMIZATIONS
82 --externs ${src_dir}/closure_externs.js' />
83 </exec>
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
84
85 <concat destfile="${build_dir}/PIE.htc">
86 <fileset file="${src_dir}/htc_open.txt" />
87 <fileset file="${build_dir}/script_compressed.js" />
8a6f3ac Minor compressibility improvements
Jason Johnston authored
88 <fileset file="${build_dir}/htc_init_compressed.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
89 <fileset file="${src_dir}/htc_close.txt" />
90 </concat>
1531a07 Add PHP wrapper as workaround for web servers which are not configured t...
Jason Johnston authored
91
dc459e6 Move the .htc event listeners and event handling logic into an Element w...
Jason Johnston authored
92 <concat destfile="${build_dir}/PIE.js">
93 <fileset file="${src_dir}/js_open.js" />
94 <fileset file="${build_dir}/script_compressed.js" />
95 <fileset file="${src_dir}/js_close.js" />
96 </concat>
97
743eb63 Add build number to comment top of htc file
Jason Johnston authored
98 <replace file="${build_dir}/PIE.htc" token="$Version$" value="${version}"/>
dc459e6 Move the .htc event listeners and event handling logic into an Element w...
Jason Johnston authored
99 <replace file="${build_dir}/PIE.js" token="$Version$" value="${version}"/>
743eb63 Add build number to comment top of htc file
Jason Johnston authored
100
1531a07 Add PHP wrapper as workaround for web servers which are not configured t...
Jason Johnston authored
101 <delete file="${build_dir}/temp.js" />
8a6f3ac Minor compressibility improvements
Jason Johnston authored
102 <delete file="${build_dir}/htc_init_compressed.js" />
1531a07 Add PHP wrapper as workaround for web servers which are not configured t...
Jason Johnston authored
103 <delete file="${build_dir}/script_uncompressed.js" />
104 <delete file="${build_dir}/script_compressed.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
105 </target>
106
1531a07 Add PHP wrapper as workaround for web servers which are not configured t...
Jason Johnston authored
107
108 <target name="copy-wrappers">
109 <copy todir="${build_dir}">
110 <fileset dir="${src_dir}/wrappers" />
111 </copy>
112 </target>
113
114
5d1c05b Separate packaging from building in ant build; force clean before packag...
Jason Johnston authored
115 <target name="build" depends="build-uncompressed,build-compressed" />
116
117 <target name="package" depends="clean,build,copy-wrappers">
d62b0c9 Add creation of distributable zip package to build script
Jason Johnston authored
118 <!-- Create distribution bundle -->
119 <zip destfile="${build_dir}/PIE.zip" basedir="${build_dir}"/>
120 </target>
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
121
122 </project>
Something went wrong with that request. Please try again.