Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 143 lines (124 sloc) 6.652 kB
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
1 <?xml version="1.0" ?>
2
5d1c05b Separate packaging from building in ant build; force clean before pac…
Jason Johnston authored
3 <project name="PIE" default="build" basedir=".">
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
4
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
5 <property name="version" value="1.0beta6-SNAPSHOT" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
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 pac…
Jason Johnston authored
13 <target name="build-uncompressed">
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
14 <mkdir dir="${build_dir}" />
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
15
16 <concat destfile="${build_dir}/PIE_IE678_uncompressed.js">
17 <fileset file="${src_dir}/js_open.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
18 <fileset file="${src_dir}/PIE_open.js" />
19 <fileset file="${src_dir}/Util.js" />
43fc3ab Factor out logic common to IE9 and IE<9 gradient renderers into a sha…
Jason Johnston authored
20 <fileset file="${src_dir}/GradientUtil.js" />
4045a50 Implement lazy initialization. Elements which are outside the browser…
Jason Johnston authored
21 <fileset file="${src_dir}/Observable.js" />
22 <fileset file="${src_dir}/Heartbeat.js" />
a69573d Update build file
Jason Johnston authored
23 <fileset file="${src_dir}/OnUnload.js" />
dc459e6 Move the .htc event listeners and event handling logic into an Elemen…
Jason Johnston authored
24 <fileset file="${src_dir}/OnResize.js" />
828dac6 When printing, revert all elements to their default non-CSS3 state, t…
Jason Johnston authored
25 <fileset file="${src_dir}/OnScroll.js" />
26 <fileset file="${src_dir}/OnPrint.js" />
253f0c9 Add listeners for handling changes due to :focus and :active pseudocl…
Jason Johnston authored
27 <fileset file="${src_dir}/OnMouseup.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
28 <fileset file="${src_dir}/Length.js" />
29 <fileset file="${src_dir}/BgPosition.js" />
c89e2d0 Honor background-size when rendering linear-gradients in IE9. Allows …
Jason Johnston authored
30 <fileset file="${src_dir}/BgSize.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
31 <fileset file="${src_dir}/Angle.js" />
32 <fileset file="${src_dir}/Color.js" />
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
33 <fileset file="${src_dir}/Color_IE678.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
34 <fileset file="${src_dir}/Tokenizer.js" />
04ed5d5 Move all accesses of element dimensions into a new BoundsInfo object,…
Jason Johnston authored
35 <fileset file="${src_dir}/BoundsInfo.js" />
d6baacf Abstract out the creation of StyleInfo classes. ~300 byte file size i…
Jason Johnston authored
36 <fileset file="${src_dir}/StyleInfoBase.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
37 <fileset file="${src_dir}/BackgroundStyleInfo.js" />
38 <fileset file="${src_dir}/BorderStyleInfo.js" />
39 <fileset file="${src_dir}/BorderRadiusStyleInfo.js" />
40 <fileset file="${src_dir}/BorderImageStyleInfo.js" />
41 <fileset file="${src_dir}/BoxShadowStyleInfo.js" />
bf3d9f2 Fix bug where css3 renderings would not get updated when the target e…
Jason Johnston authored
42 <fileset file="${src_dir}/VisibilityStyleInfo.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
43 <fileset file="${src_dir}/RendererBase.js" />
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
44 <fileset file="${src_dir}/RendererBase_IE678.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
45 <fileset file="${src_dir}/RootRenderer.js" />
37db46d Split background and border rendering into separate renderers; beside…
Jason Johnston authored
46 <fileset file="${src_dir}/BackgroundRenderer.js" />
47 <fileset file="${src_dir}/BorderRenderer.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
48 <fileset file="${src_dir}/BorderImageRenderer.js" />
ad351e8 Split box-shadow renderer into two renderers for outset and inset sha…
Jason Johnston authored
49 <fileset file="${src_dir}/BoxShadowOutsetRenderer.js" />
1e1b0fa Remove inset box-shadow renderer from the build until it's implemented
Jason Johnston authored
50 <!--<fileset file="${src_dir}/BoxShadowInsetRenderer.js" />-->
b392f43 Add support for rendering rounded corners etc. on <img> tags -- the i…
Jason Johnston authored
51 <fileset file="${src_dir}/ImgRenderer.js" />
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
52 <fileset file="${src_dir}/Element.js" />
53 <fileset file="${src_dir}/PIE_API.js" />
54 <fileset file="${src_dir}/js_close.js" />
55 </concat>
56
57 <concat destfile="${build_dir}/PIE_IE9_uncompressed.js">
58 <fileset file="${src_dir}/js_open.js" />
59 <fileset file="${src_dir}/PIE_open.js" />
60 <fileset file="${src_dir}/Util.js" />
61 <fileset file="${src_dir}/GradientUtil.js" />
62 <fileset file="${src_dir}/Observable.js" />
63 <fileset file="${src_dir}/Heartbeat.js" />
64 <fileset file="${src_dir}/OnBeforeUnload.js" />
65 <fileset file="${src_dir}/OnResize.js" />
66 <fileset file="${src_dir}/OnScroll.js" />
67 <fileset file="${src_dir}/OnPrint.js" />
68 <fileset file="${src_dir}/Length.js" />
69 <fileset file="${src_dir}/BgPosition.js" />
70 <fileset file="${src_dir}/BgSize.js" />
71 <fileset file="${src_dir}/Angle.js" />
72 <fileset file="${src_dir}/Color.js" />
73 <fileset file="${src_dir}/Tokenizer.js" />
74 <fileset file="${src_dir}/BoundsInfo.js" />
75 <fileset file="${src_dir}/StyleInfoBase.js" />
76 <fileset file="${src_dir}/BackgroundStyleInfo.js" />
77 <fileset file="${src_dir}/RendererBase.js" />
f745eac IE9: Allow border-image and -pie-background:linear-gradient to work t…
Jason Johnston authored
78 <fileset file="${src_dir}/IE9RootRenderer.js" />
a3423c5 Add support for rendering of linear-gradient in IE9 standards mode. T…
Jason Johnston authored
79 <fileset file="${src_dir}/IE9BackgroundRenderer.js" />
ef5ccac Work in progress on border-image support for IE9.
Jason Johnston authored
80 <fileset file="${src_dir}/IE9BorderImageRenderer.js" />
dc459e6 Move the .htc event listeners and event handling logic into an Elemen…
Jason Johnston authored
81 <fileset file="${src_dir}/Element.js" />
82 <fileset file="${src_dir}/PIE_API.js" />
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
83 <fileset file="${src_dir}/js_close.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
84 </concat>
85
86 <concat destfile="${build_dir}/PIE_uncompressed.htc">
87 <fileset file="${src_dir}/htc_open.txt" />
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
88 <fileset file="${src_dir}/htc_script.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
89 <fileset file="${src_dir}/htc_close.txt" />
90 </concat>
743eb63 Add build number to comment top of htc file
Jason Johnston authored
91
92 <replace file="${build_dir}/PIE_uncompressed.htc" token="$Version$" value="${version}"/>
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
93 <replace file="${build_dir}/PIE_IE678_uncompressed.js" token="$Version$" value="${version}"/>
94 <replace file="${build_dir}/PIE_IE9_uncompressed.js" token="$Version$" value="${version}"/>
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
95 </target>
96
5d1c05b Separate packaging from building in ant build; force clean before pac…
Jason Johnston authored
97 <target name="build-compressed" depends="build-uncompressed">
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots o…
Jason Johnston authored
98 <exec executable="java">
99 <arg line='-jar tools/compiler.jar
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
100 --js ${build_dir}/PIE_IE678_uncompressed.js
101 --js ${build_dir}/PIE_IE9_uncompressed.js
102 --js ${src_dir}/htc_script.js
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots o…
Jason Johnston authored
103 --js ${src_dir}/closure_preservefunctions.js
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
104 --module "PIE_IE678:1"
105 --module "PIE_IE9:1"
106 --module "htc_script_compressed:1"
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots o…
Jason Johnston authored
107 --module "temp:1"
108 --module_output_path_prefix ${build_dir}/
109 --compilation_level ADVANCED_OPTIMIZATIONS
110 --externs ${src_dir}/closure_externs.js' />
111 </exec>
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
112
113 <concat destfile="${build_dir}/PIE.htc">
114 <fileset file="${src_dir}/htc_open.txt" />
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
115 <fileset file="${build_dir}/htc_script_compressed.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
116 <fileset file="${src_dir}/htc_close.txt" />
117 </concat>
1531a07 Add PHP wrapper as workaround for web servers which are not configure…
Jason Johnston authored
118
743eb63 Add build number to comment top of htc file
Jason Johnston authored
119 <replace file="${build_dir}/PIE.htc" token="$Version$" value="${version}"/>
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
120 <replace file="${build_dir}/PIE_IE678.js" token="$Version$" value="${version}"/>
121 <replace file="${build_dir}/PIE_IE9.js" token="$Version$" value="${version}"/>
743eb63 Add build number to comment top of htc file
Jason Johnston authored
122
1531a07 Add PHP wrapper as workaround for web servers which are not configure…
Jason Johnston authored
123 <delete file="${build_dir}/temp.js" />
aa82152 Implement split build and loader. PIE.htc is now a very small (1K) st…
Jason Johnston authored
124 <delete file="${build_dir}/htc_script_compressed.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
125 </target>
126
1531a07 Add PHP wrapper as workaround for web servers which are not configure…
Jason Johnston authored
127
128 <target name="copy-wrappers">
129 <copy todir="${build_dir}">
130 <fileset dir="${src_dir}/wrappers" />
131 </copy>
132 </target>
133
134
5d1c05b Separate packaging from building in ant build; force clean before pac…
Jason Johnston authored
135 <target name="build" depends="build-uncompressed,build-compressed" />
136
137 <target name="package" depends="clean,build,copy-wrappers">
d62b0c9 Add creation of distributable zip package to build script
Jason Johnston authored
138 <!-- Create distribution bundle -->
139 <zip destfile="${build_dir}/PIE.zip" basedir="${build_dir}"/>
140 </target>
3e71920 Split the monolithic PIE.htc into separate source files per class/com…
Jason Johnston authored
141
142 </project>
Something went wrong with that request. Please try again.