annotate src/sources @ 1739:c414850f206f

Add support for -boot flag, which allows in-tree execution of Ur/Web The boot flag rewrites most hardcoded paths to point to the build directory, and also forces static compilation. This is convenient for developing Ur/Web, or if you cannot 'sudo make install' Ur/Web. The following changes were made: * Header files were moved to include/urweb instead of include; this lets FFI users point their C_INCLUDE_PATH at this directory at write <urweb/urweb.h>. For internal Ur/Web executables, we simply pass -I$PATH/include/urweb as normal. * Differentiate between LIB and SRCLIB; SRCLIB is Ur and JavaScript source files, while LIB is compiled products from libtool. For in-tree compilation these live in different places. * No longer reference Config for paths; instead use Settings; these settings can be changed dynamically by Compiler.enableBoot () (TODO: add a disableBoot function.) * config.h is now generated directly in include/urweb/config.h, for consistency's sake (especially since it gets installed along with the rest of the headers!) * All of the autotools build products got updated. * The linkStatic field in protocols now only contains the name of the build product, and not the absolute path. Future users have to be careful not to reference the Settings files to early, lest they get an old version (this was the source of two bugs during development of this patch.)
author Edward Z. Yang <ezyang@mit.edu>
date Wed, 02 May 2012 17:17:57 -0400
parents 4a03aa3251cb
children 38297294cf98
rev   line source
adamc@378 1 config.sig
adamc@378 2 config.sml
adamc@378 3
adamc@6 4 search.sig
adamc@6 5 search.sml
adamc@6 6
adamc@5 7 list_util.sig
adamc@5 8 list_util.sml
adamc@5 9
adamc@193 10 order.sig
adamc@193 11 order.sml
adamc@193 12
adamc@0 13 errormsg.sig
adamc@0 14 errormsg.sml
adamc@0 15
adamc@876 16 print.sig
adamc@876 17 print.sml
adamc@876 18
adamc@764 19 settings.sig
adamc@764 20 settings.sml
adamc@764 21
adamc@865 22 http.sig
adamc@865 23 http.sml
adamc@865 24
adamc@858 25 cgi.sig
adamc@858 26 cgi.sml
adamc@858 27
adamc@859 28 fastcgi.sig
adamc@859 29 fastcgi.sml
adamc@859 30
adam@1493 31 static.sig
adam@1493 32 static.sml
adam@1493 33
adam@1656 34 prim.sig
adam@1656 35 prim.sml
adam@1656 36
adamc@866 37 mysql.sig
adamc@866 38 mysql.sml
adamc@866 39
adamc@885 40 sqlite.sig
adamc@885 41 sqlite.sml
adamc@885 42
adamc@731 43 datatype_kind.sml
adamc@732 44
adamc@732 45 export.sig
adamc@731 46 export.sml
adamc@731 47
adamc@4 48 source.sml
adamc@1 49
adam@1592 50 utf8.sig
adam@1592 51 utf8.sml
adam@1592 52
adam@1592 53 ../xml/entities.sml
adam@1592 54
adamc@244 55 urweb.grm
adamc@244 56 urweb.lex
adamc@1 57
adamc@4 58 source_print.sig
adamc@4 59 source_print.sml
adamc@1 60
adamc@2 61 elab.sml
adamc@2 62
adamc@13 63 elab_util.sig
adamc@13 64 elab_util.sml
adamc@13 65
adamc@10 66 elab_env.sig
adamc@10 67 elab_env.sml
adamc@10 68
adamc@3 69 elab_print.sig
adamc@3 70 elab_print.sml
adamc@3 71
adamc@81 72 elab_ops.sig
adamc@81 73 elab_ops.sml
adamc@81 74
adamc@82 75 disjoint.sig
adamc@82 76 disjoint.sml
adamc@82 77
adamc@329 78 elab_err.sig
adamc@329 79 elab_err.sml
adamc@329 80
adam@1732 81 mod_db.sig
adam@1732 82 mod_db.sml
adam@1732 83
adamc@2 84 elaborate.sig
adamc@2 85 elaborate.sml
adamc@2 86
adamc@448 87 unnest.sig
adamc@448 88 unnest.sml
adamc@448 89
adamc@313 90 termination.sig
adamc@313 91 termination.sml
adamc@313 92
adamc@38 93 expl.sml
adamc@38 94
adamc@38 95 expl_util.sig
adamc@38 96 expl_util.sml
adamc@38 97
adamc@38 98 expl_env.sig
adamc@38 99 expl_env.sml
adamc@38 100
adamc@38 101 expl_print.sig
adamc@38 102 expl_print.sml
adamc@38 103
adamc@38 104 explify.sig
adamc@38 105 explify.sml
adamc@38 106
adamc@16 107 core.sml
adamc@16 108
adamc@16 109 core_util.sig
adamc@16 110 core_util.sml
adamc@16 111
adamc@16 112 core_env.sig
adamc@16 113 core_env.sml
adamc@16 114
adamc@16 115 core_print.sig
adamc@16 116 core_print.sml
adamc@16 117
adamc@16 118 corify.sig
adamc@16 119 corify.sml
adamc@16 120
adam@1289 121 reduce_local.sig
adam@1289 122 reduce_local.sml
adamc@20 123
adamc@23 124 shake.sig
adamc@23 125 shake.sml
adamc@23 126
adam@1289 127 core_untangle.sig
adam@1289 128 core_untangle.sml
adam@1289 129
adam@1289 130 especialize.sig
adam@1289 131 especialize.sml
adam@1289 132
adam@1289 133 reduce.sig
adam@1289 134 reduce.sml
adamc@1276 135
adamc@315 136 unpoly.sig
adamc@315 137 unpoly.sml
adamc@315 138
adamc@193 139 specialize.sig
adamc@193 140 specialize.sml
adamc@193 141
adamc@607 142 rpcify.sig
adamc@607 143 rpcify.sml
adamc@607 144
adamc@110 145 tag.sig
adamc@110 146 tag.sml
adamc@110 147
adamc@732 148 effectize.sig
adamc@732 149 effectize.sml
adamc@732 150
adamc@680 151 marshalcheck.sig
adamc@680 152 marshalcheck.sml
adamc@680 153
adamc@1170 154 css.sig
adamc@1170 155 css.sml
adamc@1170 156
adamc@25 157 mono.sml
adamc@25 158
adamc@26 159 mono_util.sig
adamc@26 160 mono_util.sml
adamc@26 161
adamc@25 162 mono_env.sig
adamc@25 163 mono_env.sml
adamc@25 164
adamc@25 165 mono_print.sig
adamc@25 166 mono_print.sml
adamc@25 167
adamc@108 168 monoize.sig
adamc@108 169 monoize.sml
adamc@108 170
adamc@453 171 mono_reduce.sig
adamc@453 172 mono_reduce.sml
adamc@453 173
adamc@96 174 mono_opt.sig
adamc@96 175 mono_opt.sml
adamc@96 176
adamc@133 177 untangle.sig
adamc@133 178 untangle.sml
adamc@133 179
adamc@134 180 mono_shake.sig
adamc@134 181 mono_shake.sml
adamc@134 182
adamc@1235 183 fuse.sig
adamc@1235 184 fuse.sml
adamc@1235 185
ezyang@1697 186 sql.sml
ezyang@1697 187
adamc@1200 188 iflow.sig
adamc@1200 189 iflow.sml
adamc@1200 190
adamc@567 191 jscomp.sig
adamc@567 192 jscomp.sml
adamc@567 193
adamc@378 194 pathcheck.sig
adamc@377 195 pathcheck.sml
adamc@377 196
adam@1595 197 sidecheck.sig
adam@1595 198 sidecheck.sml
adam@1595 199
adamc@29 200 cjr.sml
adamc@29 201
adamc@881 202 postgres.sig
adamc@881 203 postgres.sml
adamc@881 204
adamc@29 205 cjr_env.sig
adamc@29 206 cjr_env.sml
adamc@29 207
adamc@29 208 cjr_print.sig
adamc@29 209 cjr_print.sml
adamc@29 210
adamc@29 211 cjrize.sig
adamc@29 212 cjrize.sml
adamc@29 213
adamc@643 214 scriptcheck.sig
adamc@643 215 scriptcheck.sml
adamc@643 216
adamc@282 217 prepare.sig
adamc@282 218 prepare.sml
adamc@282 219
adamc@879 220 checknest.sig
adamc@879 221 checknest.sml
adamc@879 222
adamc@1 223 compiler.sig
adamc@1 224 compiler.sml
adamc@380 225
adamc@380 226 demo.sig
adamc@380 227 demo.sml
adam@1493 228
adam@1493 229 tutorial.sig
adam@1493 230 tutorial.sml