Diff

Differences From Artifact [206a55cec7]:

To Artifact [1cc2b39cd9]:


   128    128   		close $secretfd
   129    129   
   130    130   		## Compute basic key	
   131    131   		set key [list $secret $build_platform $cache_tcl_version $cache_kitcreator_version $build_packages]
   132    132   
   133    133   		## Update key with options in deterministic order
   134    134   		foreach option [lsort -dictionary [array names build_options]] {
          135  +			switch -- $option {
          136  +				"threaded" - "kitdll" {
          137  +					# For boolean options, skip them if they are not enabled
          138  +					if {!$build_options($option)} {
          139  +						continue
          140  +					}
          141  +				}
          142  +			}
   135    143   			lappend key [list "option:$option" $build_options($option)]
   136    144   		}
   137    145   
   138    146   		## Convert key to a user-consumable string via hashing
   139    147   		set key [string tolower [sha1::sha1 -hex $key]]
   140    148   
   141    149   		# Determine filename
................................................................................
   294    302   <?  foreach package [lsort -dictionary [array names packages]] { ?>
   295    303               <input type="checkbox" name="option_package_<? puts -nonewline $package ?>" id="option_package_<? puts -nonewline $package ?>">Package: <? puts -nonewline $packages($package) ?><br>
   296    304   <? } ?>
   297    305               <input type="checkbox" name="option_threaded">Kit: Threaded<br>
   298    306               <input type="checkbox" name="option_kitdll">Kit: Build Library (KitDLL)<br>
   299    307             </td>
   300    308           </tr>
          309  +<!--
   301    310           <tr>
   302    311             <td>Kit Icon:</td>
   303    312             <td>
   304    313               <input type="file" name="option_icon">
   305    314             </td>
   306    315           </tr>
   307    316           <tr>
   308    317             <td>Description:</td>
   309    318             <td>
   310    319               <input type="text" name="option_desc">
   311    320             </td>
   312    321           </tr>
          322  +-->
   313    323         </table>
   314    324         <input type="submit" name="submit" value="Create">
   315    325       </form>
   316    326     </body>
   317    327   </html><? } ?>