Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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