|
|
 |
 |
 |
system.verbs.builtins.rootUpdates.update
If during an update, a part is not installed over a protected address, the offending change is simply discarded. This patch collects the skipped changes in a table at user.rootupdates.protectedChanges and opens this table if something new was added.
28May01 A solution for a bug where if a script was protected, it would still be overwritten because the shipping version only protected tables.
Amended script :
| on update (adrInRoot = table.getcursoraddress (), flQuietMode=false, adrCtNewParts=nil) |
| |
«1/30/06; 3:24:19 AM by JES |
| |
«10/11/05; 4:05:28 PM by JES |
| |
«9/26/05; 11:53:29 PM by JES |
| |
«9/26/05; 11:48:11 PM by JES |
| |
«8/31/05; 4:29:41 AM by JES |
| |
«7/7/05; 2:47:47 AM by JES |
| |
«6/21/05; 4:24:49 PM by JES |
| |
«10/4/04; 11:40:39 PM by JES |
| |
«When testing items in user.rootUpdates.protected, check for the address of the part in addition to the address of its parent table. |
| |
«Log parts that failed to install. Don't add failed parts to the root updates outline. |
| |
«Changes suggested by DAB. |
| |
«1/12/04; 12:48:36 AM by JES |
| |
«8/28/02; 10:48:23 PM by JES |
| |
«4/16/02; 4:34:53 PM by JES |
| |
«1/21/02; 2:25:42 PM by JES |
| |
«1/7/02; 9:09:40 PM by PBS |
| |
«8/6/01; 2:22:37 PM by PBS |
| |
«01/21/01; 6:03:11 PM by JES |
| |
«08/20/00; 11:49:35 AM by PBS |
| |
«06/17/00; 11:16:23 PM by PBS |
| |
«11/16/99; 1:43:53 AM by AR |
| |
«10/7/99; 6:43:29 PM by DW |
| |
local (adrroot = table.getrootaddress (adrInRoot)) |
| |
local (alist = string.parseaddress (adrroot)) |
| |
local (f = window.getFile (alist [1])) |
| |
local (fname = file.filefrompath (f)) |
| |
if not string.lower (fname) endswith ".root" |
| |
local (channelname = string.mid (fname, 1, sizeof (fname) - 5)) |
| |
local (adrtable = @user.rootUpdates.servers.[channelname]) |
| |
if not defined (adrtable^) |
| |
bundle //the responder name on the server changed |
| |
on getUpdate (serverName, adrInRoot = nil) //an enhanced version of rootupdates.getUpdate |
| |
getUpdate (channelname, adrroot) |
Relative to Frontier version 9.7b10
|