all: replace "it's" with "its" where needed

This commit is contained in:
Beniamino Galvani 2018-04-18 14:13:28 +02:00
parent b01ebd7399
commit aca671fff0
25 changed files with 31 additions and 31 deletions

2
README
View file

@ -45,7 +45,7 @@ settings service" and the "user settings service" store connection information
and provide these to NetworkManager, also via D-Bus. Each settings service
can determine how and where it persistently stores the connection information;
for example, the GNOME applet stores its configuration in GConf, and the system
settings service stores it's config in distro-specific formats, or in a distro-
settings service stores its config in distro-specific formats, or in a distro-
agnostic format, depending on user/administrator preference.
A variety of other system services are used by NetworkManager to provide

2
TODO
View file

@ -38,7 +38,7 @@ based on it and the device's state.
To allow for "pre-down" scenarios, this state should be implemented before a
device is taken down while it still has connectivity. If the device is
taken down because it's ethernet carrier was dropped, or because the WiFi
taken down because its ethernet carrier was dropped, or because the WiFi
connection was terminated by the supplicant, this state is pointless and should
be skipped. But if the user requested a manual "disconnect", or NM is dropping
connections on exit, etc, then this state should be entered. In the future

View file

@ -42,7 +42,7 @@ gboolean nmc_string_to_tristate (const char *str, NMCTriStateValue *val, GError
gboolean matches (const char *cmd, const char *pattern);
/* FIXME: don't expose this function on it's own, at least not from this file. */
/* FIXME: don't expose this function on its own, at least not from this file. */
const char *nmc_bond_validate_mode (const char *mode, GError **error);
const char *nm_active_connection_state_reason_to_string (NMActiveConnectionStateReason reason);

View file

@ -181,7 +181,7 @@ typedef struct _NMMetaPropertyTypDataNested NMMetaPropertyTypDataNested;
/* this gives some context information for virtual functions.
* This command actually violates layering, and should be considered
* a hack. In the future, try to replace it's use. */
* a hack. In the future, try to replace its use. */
struct _NMMetaOperationContext {
NMConnection *connection;
};

View file

@ -205,7 +205,7 @@
@state: <link linkend="NMState">NMState</link>
The overall networking state as determined by the NetworkManager daemon,
based on the state of network devices under it's management.
based on the state of network devices under its management.
-->
<method name="state">
<arg name="state" type="u" direction="out"/>

View file

@ -80,12 +80,12 @@ typedef enum {
* @NM_VLAN_FLAG_REORDER_HEADERS: indicates that this interface should reorder
* outgoing packet headers to look more like a non-VLAN Ethernet interface
* @NM_VLAN_FLAG_GVRP: indicates that this interface should use GVRP to register
* itself with it's switch
* itself with its switch
* @NM_VLAN_FLAG_LOOSE_BINDING: indicates that this interface's operating
* state is tied to the underlying network interface but other details
* (like routing) are not.
* @NM_VLAN_FLAG_MVRP: indicates that this interface should use MVRP to register
* itself with it's switch
* itself with its switch
*
* #NMVlanFlags values control the behavior of the VLAN interface.
**/

View file

@ -464,7 +464,7 @@ _nm_utils_string_slist_validate (GSList *list, const char **valid_values)
* @hash: a #GHashTable
*
* Utility function to iterate over a hash table and return
* it's values as a #GSList.
* its values as a #GSList.
*
* Returns: (element-type gpointer) (transfer container): a newly allocated #GSList
* containing the values of the hash table. The caller must free the
@ -4335,7 +4335,7 @@ nm_utils_inet_ntop (int addr_family, gconstpointer addr, char *dst)
* characters. If set to %NULL, it will return a pointer to an internal, static
* buffer (shared with nm_utils_inet6_ntop()). Beware, that the internal
* buffer will be overwritten with ever new call of nm_utils_inet4_ntop() or
* nm_utils_inet6_ntop() that does not provied it's own @dst buffer. Also,
* nm_utils_inet6_ntop() that does not provide its own @dst buffer. Also,
* using the internal buffer is not thread safe. When in doubt, pass your own
* @dst buffer to avoid these issues.
*
@ -4359,7 +4359,7 @@ nm_utils_inet4_ntop (in_addr_t inaddr, char *dst)
* characters. If set to %NULL, it will return a pointer to an internal, static
* buffer (shared with nm_utils_inet4_ntop()). Beware, that the internal
* buffer will be overwritten with ever new call of nm_utils_inet4_ntop() or
* nm_utils_inet6_ntop() that does not provied it's own @dst buffer. Also,
* nm_utils_inet6_ntop() that does not provide its own @dst buffer. Also,
* using the internal buffer is not thread safe. When in doubt, pass your own
* @dst buffer to avoid these issues.
*

View file

@ -1000,7 +1000,7 @@ managed=1
<listitem><para>The URI of a web page to periodically
request when connectivity is being checked. This page
should return the header "X-NetworkManager-Status" with a
value of "online". Alternatively, it's body content should
value of "online". Alternatively, its body content should
be set to "NetworkManager is online". The body content
check can be controlled by the <literal>response</literal>
option. If this option is blank or missing, connectivity

View file

@ -115,7 +115,7 @@ void nm_dedup_multi_index_obj_release (NMDedupMultiIndex *self,
/* the NMDedupMultiIdxType is an access handle under which you can store and
* retrieve NMDedupMultiObj instances in NMDedupMultiIndex.
*
* The NMDedupMultiIdxTypeClass determines it's behavior, but you can have
* The NMDedupMultiIdxTypeClass determines its behavior, but you can have
* multiple instances (of the same class).
*
* For example, NMIP4Config can have idx-type to put there all IPv4 Routes.

View file

@ -56,7 +56,7 @@ struct _NMObjBaseClass {
* Note that it is also an abstract super class of GTypeInstance, that means
* you may implement a NMObjBaseClass as a subtype of GTypeClass.
*
* For that to work, you must properly set the GTypeClass instance (and it's
* For that to work, you must properly set the GTypeClass instance (and its
* GType).
*
* Note that to implement a NMObjBaseClass that is *not* a GTypeClass, you wouldn't

View file

@ -737,7 +737,7 @@ supplicant_interface_init (NMDeviceEthernet *self)
return FALSE;
}
/* Listen for it's state signals */
/* Listen for its state signals */
priv->supplicant.iface_state_id = g_signal_connect (priv->supplicant.iface,
NM_SUPPLICANT_INTERFACE_STATE,
G_CALLBACK (supplicant_iface_state_cb),

View file

@ -4236,7 +4236,7 @@ nm_device_notify_component_added (NMDevice *self, GObject *component)
* because that ethernet interface is controlled by the WWAN device and cannot
* be used independently of the WWAN device.
*
* Returns: %TRUE if @self or it's components owns the interface name,
* Returns: %TRUE if @self or its components own the interface name,
* %FALSE if not
*/
gboolean
@ -7984,7 +7984,7 @@ _set_mtu (NMDevice *self, guint32 mtu)
if (priv->master) {
/* changing the MTU of a slave, might require the master to reset
* it's MTU. Note that the master usually cannot set a MTU larger
* its MTU. Note that the master usually cannot set a MTU larger
* then the slave's. Hence, when the slave increases the MTU,
* master might want to retry setting the MTU. */
nm_device_commit_mtu (priv->master);
@ -9945,7 +9945,7 @@ can_reapply_change (NMDevice *self, const char *setting_name,
* allowed to differ.
*
* This includes UUID, there is no principal problem with reapplying a
* connection and changing it's UUID. In fact, disallowing it makes it
* connection and changing its UUID. In fact, disallowing it makes it
* cumbersome for the user to reapply any connection but the original
* settings-connection. */
return nm_device_hash_check_invalid_keys (diffs,

View file

@ -181,7 +181,7 @@ create_dm_cmd_line (const char *iface,
nm_cmd_line_add_string (cmd, "--log-queries");
}
/* dnsmasq may read from it's default config file location, which if that
/* dnsmasq may read from its default config file location, which if that
* location is a valid config file, it will combine with the options here
* and cause undesirable side-effects. Like sending bogus IP addresses
* as the gateway or whatever. So tell dnsmasq not to use any config file

View file

@ -238,7 +238,7 @@ nm_config_data_get_plugins (const NMConfigData *self, gboolean allow_default)
if (!list && allow_default) {
gs_unref_keyfile GKeyFile *kf = nm_config_create_keyfile ();
/* let keyfile split the default string according to it's own escaping rules. */
/* let keyfile split the default string according to its own escaping rules. */
g_key_file_set_value (kf, NM_CONFIG_KEYFILE_GROUP_MAIN, "plugins", NM_CONFIG_DEFAULT_MAIN_PLUGINS);
list = g_key_file_get_string_list (kf, NM_CONFIG_KEYFILE_GROUP_MAIN, "plugins", NULL, NULL);
}

View file

@ -615,7 +615,7 @@ _sort_groups_cmp (const char **pa, const char **pb, gpointer dummy)
if (a_is_connection) {
/* both are [connection.\+] entries. Reverse their order.
* One of the sections might be literally [connection]. That section
* is special and it's order will be fixed later. It doesn't actually
* is special and its order will be fixed later. It doesn't actually
* matter here how it compares with [connection.\+] sections. */
return pa > pb ? -1 : 1;
}
@ -633,7 +633,7 @@ _sort_groups_cmp (const char **pa, const char **pb, gpointer dummy)
if (a_is_device) {
/* both are [device.\+] entries. Reverse their order.
* One of the sections might be literally [device]. That section
* is special and it's order will be fixed later. It doesn't actually
* is special and its order will be fixed later. It doesn't actually
* matter here how it compares with [device.\+] sections. */
return pa > pb ? -1 : 1;
}

View file

@ -2571,7 +2571,7 @@ _get_contents_error (GError **error, int errsv, const char *format, ...)
/**
* nm_utils_fd_get_contents:
* @fd: open file descriptor to read. The fd will not be closed,
* but don't rely on it's state afterwards.
* but don't rely on its state afterwards.
* @close_fd: if %TRUE, @fd will be closed by the function.
* Passing %TRUE here might safe a syscall for dup().
* @max_length: allocate at most @max_length bytes. If the

View file

@ -133,7 +133,7 @@ typedef enum { /*< skip >*/
""__VA_ARGS__); \
} G_STMT_END
/* nm_log() only evaluates it's argument list after checking
/* nm_log() only evaluates its argument list after checking
* whether logging for the given level/domain is enabled. */
#define nm_log(level, domain, ifname, con_uuid, ...) \
G_STMT_START { \

View file

@ -5520,7 +5520,7 @@ device_connectivity_done (NMDevice *device,
* However, if one of the requests (early) returns full connectivity and agrees with
* the accumulated connectivity state, we no longer have to wait. The result is set.
*
* This also works well, because NMDevice first emits change signals to it's own
* This also works well, because NMDevice first emits change signals to its own
* connectivity state, which is then taken into account for the accumulated global
* state. All this happens, before the callback is invoked. */
g_dbus_method_invocation_return_value (g_steal_pointer (&data->context),

View file

@ -30,7 +30,7 @@
<allow send_destination="org.fedoraproject.FirewallD1"/>
<!-- Allow the custom name for the dnsmasq instance spawned by NM
from the dns dnsmasq plugin to own it's dbus name, and for
from the dns dnsmasq plugin to own its dbus name, and for
messages to be sent to it.
-->
<allow own="org.freedesktop.NetworkManager.dnsmasq"/>

View file

@ -59,7 +59,7 @@ nl_errno (int err)
* _NLE_BASE.
*
* However, often we encode errors as negative values. This function
* normalizes the error and returns it's positive value. */
* normalizes the error and returns its positive value. */
return err >= 0
? err
: ((err == G_MININT) ? NLE_BUG : -errno);

View file

@ -3054,7 +3054,7 @@ nm_platform_lookup_predicate_routes_main_skip_rtprot_kernel (const NMPObject *ob
* @user_data: user data for @predicate
*
* Returns the result of lookup in a GPtrArray. The result array contains
* references objects from the cache, it's destroy function will unref them.
* references objects from the cache, its destroy function will unref them.
*
* The user must unref the GPtrArray, which will also unref the NMPObject
* elements.

View file

@ -388,7 +388,7 @@ _nmp_object_fixup_link_udev_fields (NMPObject **obj_new, NMPObject *obj_orig, gb
/* The link contains internal fields that are combined by
* properties from netlink and udev. Update those properties */
/* When a link is not in netlink, it's udev fields don't matter. */
/* When a link is not in netlink, its udev fields don't matter. */
if (obj->_link.netlink.is_in_netlink) {
driver = _link_get_driver (obj->_link.udev.device,
obj->link.kind,

View file

@ -88,7 +88,7 @@ typedef enum { /*< skip >*/
/* Consider all the destination fields of a route, that is, the ID without the ifindex
* and gateway (meaning: network/plen,metric).
* The reason for this is that `ip route change` can replace an existing route
* and modify it's ifindex/gateway. Effectively, that means it deletes an existing
* and modify its ifindex/gateway. Effectively, that means it deletes an existing
* route and adds a different one (as the ID of the route changes). However, it only
* sends one RTM_NEWADDR notification without notifying about the deletion. We detect
* that by having this index to contain overlapping routes which require special

View file

@ -975,7 +975,7 @@ claim_connection (NMSettings *self, NMSettingsConnection *connection)
/* Read seen-bssids from look-aside file and put it into the connection's data */
nm_settings_connection_read_and_fill_seen_bssids (connection);
/* Ensure it's initial visibility is up-to-date */
/* Ensure its initial visibility is up-to-date */
nm_settings_connection_recheck_visibility (connection);
/* Evil openconnect migration hack */

View file

@ -7025,7 +7025,7 @@ test_write_wired_ctc_dhcp (void)
TEST_SCRATCH_DIR "/network-scripts/",
&testfile);
/* Ensure the CTCPROT item gets written out as it's own option */
/* Ensure the CTCPROT item gets written out as its own option */
ifcfg = _svOpenFile (testfile);
_svGetValue_check (ifcfg, "CTCPROT", "0");