Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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