Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 119 lines (100 sloc) 5.208 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" />
bf3d9f2 Fix bug where css3 renderings would not get updated when the target elem...
Jason Johnston authored
36 <fileset file="${src_dir}/VisibilityStyleInfo.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
37 <fileset file="${src_dir}/RendererBase.js" />
38 <fileset file="${src_dir}/RootRenderer.js" />
37db46d Split background and border rendering into separate renderers; besides b...
Jason Johnston authored
39 <fileset file="${src_dir}/BackgroundRenderer.js" />
40 <fileset file="${src_dir}/BorderRenderer.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
41 <fileset file="${src_dir}/BorderImageRenderer.js" />
ad351e8 Split box-shadow renderer into two renderers for outset and inset shadow...
Jason Johnston authored
42 <fileset file="${src_dir}/BoxShadowOutsetRenderer.js" />
1e1b0fa Remove inset box-shadow renderer from the build until it's implemented
Jason Johnston authored
43 <!--<fileset file="${src_dir}/BoxShadowInsetRenderer.js" />-->
b392f43 Add support for rendering rounded corners etc. on <img> tags -- the img ...
Jason Johnston authored
44 <fileset file="${src_dir}/ImgRenderer.js" />
dc459e6 Move the .htc event listeners and event handling logic into an Element w...
Jason Johnston authored
45 <fileset file="${src_dir}/Element.js" />
46 <fileset file="${src_dir}/PIE_API.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
47 <fileset file="${src_dir}/PIE_close.js" />
48 </concat>
49
50 <concat destfile="${build_dir}/PIE_uncompressed.htc">
51 <fileset file="${src_dir}/htc_open.txt" />
52 <fileset file="${build_dir}/script_uncompressed.js" />
dc459e6 Move the .htc event listeners and event handling logic into an Element w...
Jason Johnston authored
53 <fileset file="${src_dir}/htc_init.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
54 <fileset file="${src_dir}/htc_close.txt" />
55 </concat>
743eb63 Add build number to comment top of htc file
Jason Johnston authored
56
dc459e6 Move the .htc event listeners and event handling logic into an Element w...
Jason Johnston authored
57 <concat destfile="${build_dir}/PIE_uncompressed.js">
58 <fileset file="${src_dir}/js_open.js" />
59 <fileset file="${build_dir}/script_uncompressed.js" />
60 <fileset file="${src_dir}/js_close.js" />
61 </concat>
62
743eb63 Add build number to comment top of htc file
Jason Johnston authored
63 <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
64 <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
65 </target>
66
5d1c05b Separate packaging from building in ant build; force clean before packag...
Jason Johnston authored
67 <target name="build-compressed" depends="build-uncompressed">
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots of s...
Jason Johnston authored
68 <exec executable="java">
69 <arg line='-jar tools/compiler.jar
70 --js ${build_dir}/script_uncompressed.js
8a6f3ac Minor compressibility improvements
Jason Johnston authored
71 --js ${src_dir}/htc_init.js
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots of s...
Jason Johnston authored
72 --js ${src_dir}/closure_preservefunctions.js
73 --module "script_compressed:1"
8a6f3ac Minor compressibility improvements
Jason Johnston authored
74 --module "htc_init_compressed:1"
f83e0b1 Switch to Closure Compiler, using advanced optimizations mode. Lots of s...
Jason Johnston authored
75 --module "temp:1"
76 --module_output_path_prefix ${build_dir}/
77 --compilation_level ADVANCED_OPTIMIZATIONS
78 --externs ${src_dir}/closure_externs.js' />
79 </exec>
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
80
81 <concat destfile="${build_dir}/PIE.htc">
82 <fileset file="${src_dir}/htc_open.txt" />
83 <fileset file="${build_dir}/script_compressed.js" />
8a6f3ac Minor compressibility improvements
Jason Johnston authored
84 <fileset file="${build_dir}/htc_init_compressed.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
85 <fileset file="${src_dir}/htc_close.txt" />
86 </concat>
1531a07 Add PHP wrapper as workaround for web servers which are not configured t...
Jason Johnston authored
87
dc459e6 Move the .htc event listeners and event handling logic into an Element w...
Jason Johnston authored
88 <concat destfile="${build_dir}/PIE.js">
89 <fileset file="${src_dir}/js_open.js" />
90 <fileset file="${build_dir}/script_compressed.js" />
91 <fileset file="${src_dir}/js_close.js" />
92 </concat>
93
743eb63 Add build number to comment top of htc file
Jason Johnston authored
94 <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
95 <replace file="${build_dir}/PIE.js" token="$Version$" value="${version}"/>
743eb63 Add build number to comment top of htc file
Jason Johnston authored
96
1531a07 Add PHP wrapper as workaround for web servers which are not configured t...
Jason Johnston authored
97 <delete file="${build_dir}/temp.js" />
8a6f3ac Minor compressibility improvements
Jason Johnston authored
98 <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
99 <delete file="${build_dir}/script_uncompressed.js" />
100 <delete file="${build_dir}/script_compressed.js" />
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
101 </target>
102
1531a07 Add PHP wrapper as workaround for web servers which are not configured t...
Jason Johnston authored
103
104 <target name="copy-wrappers">
105 <copy todir="${build_dir}">
106 <fileset dir="${src_dir}/wrappers" />
107 </copy>
108 </target>
109
110
5d1c05b Separate packaging from building in ant build; force clean before packag...
Jason Johnston authored
111 <target name="build" depends="build-uncompressed,build-compressed" />
112
113 <target name="package" depends="clean,build,copy-wrappers">
d62b0c9 Add creation of distributable zip package to build script
Jason Johnston authored
114 <!-- Create distribution bundle -->
115 <zip destfile="${build_dir}/PIE.zip" basedir="${build_dir}"/>
116 </target>
3e71920 Split the monolithic PIE.htc into separate source files per class/compon...
Jason Johnston authored
117
118 </project>
Something went wrong with that request. Please try again.