Checkout Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 1537412 is being indexed.

Update the repos tests to use proper path functions instead of apr_pstrcat to

avoid problems like those fixed in r1537364.

* subversion/tests/libsvn_repos/repos-test.c

(in_repo_authz,

in_repo_groups_authz,

test_config_pool): Use proper uri and dirent functions instead of guessing.

Follow-up to r1537358: Fix - hopefully - tests on Windows.

* subversion/tests/libsvn_repos/repos-test.c

(test_config_pool): prepend drive letter with a root slash

Provide a comprehensive test for the config_pool API.

* subversion/tests/libsvn_repos

svn:ignore temporary config files

* subversion/tests/libsvn_repos/repos-test.c

(test_config_pool): new test

(test_funcs): register it

Introduce a null-pointer constant that we can use as a termination sentinel

in variable argument lists. This avoids the ugliness of writing

"(char *) NULL" all over the place.

* subversion/include/svn_types.h (SVN_VA_NULL): New symbol.

* subversion/include/svn_dirent_uri.h (svn_dirent_join_many),

subversion/include/svn_path.h (svn_path_join_many),

subversion/include/svn_xml.h (svn_xml_make_open_tag):

Update docstrings, mentioning SVN_VA_NULL as the argument list terminator.

[Lots of implementation files]: Replace typecast-NULL with SVN_VA_NULL in

function calls with variable argument lists.

  1. … 89 more files in changeset.
Merge fsx branch into /trunk with no conflicts.

Remove BRANCH-README.

  1. … 83 more files in changeset.
Fix the #include order such that svn_private_config.h is always

included first before any other svn header - if we also include

svn_hash.h.

* subversion/bindings/javahl/native/org_apache_subversion_javahl_ConfigImpl_Category.cpp,

subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c,

subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c,

subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c,

subversion/libsvn_auth_gnome_keyring/gnome_keyring.c,

subversion/libsvn_client/add.c,

subversion/libsvn_client/cat.c,

subversion/libsvn_client/changelist.c,

subversion/libsvn_client/cleanup.c,

subversion/libsvn_client/commit.c,

subversion/libsvn_client/commit_util.c,

subversion/libsvn_client/copy.c,

subversion/libsvn_client/copy_foreign.c,

subversion/libsvn_client/ctx.c,

subversion/libsvn_client/delete.c,

subversion/libsvn_client/deprecated.c,

subversion/libsvn_client/diff.c,

subversion/libsvn_client/diff_local.c,

subversion/libsvn_client/diff_summarize.c,

subversion/libsvn_client/export.c,

subversion/libsvn_client/externals.c,

subversion/libsvn_client/import.c,

subversion/libsvn_client/info.c,

subversion/libsvn_client/iprops.c,

subversion/libsvn_client/list.c,

subversion/libsvn_client/locking_commands.c,

subversion/libsvn_client/log.c,

subversion/libsvn_client/merge.c,

subversion/libsvn_client/mergeinfo.c,

subversion/libsvn_client/patch.c,

subversion/libsvn_client/prop_commands.c,

subversion/libsvn_client/ra.c,

subversion/libsvn_client/repos_diff.c,

subversion/libsvn_client/resolved.c,

subversion/libsvn_client/revert.c,

subversion/libsvn_client/status.c,

subversion/libsvn_client/switch.c,

subversion/libsvn_client/update.c,

subversion/libsvn_client/util.c,

subversion/libsvn_delta/compat.c,

subversion/libsvn_delta/xdelta.c,

subversion/libsvn_diff/parse-diff.c,

subversion/libsvn_diff/util.c,

subversion/libsvn_fs/access.c,

subversion/libsvn_fs_base/bdb/changes-table.c,

subversion/libsvn_fs_base/bdb/env.c,

subversion/libsvn_fs_base/dag.c,

subversion/libsvn_fs_base/fs.c,

subversion/libsvn_fs_base/lock.c,

subversion/libsvn_fs_base/revs-txns.c,

subversion/libsvn_fs_base/tree.c,

subversion/libsvn_fs_fs/caching.c,

subversion/libsvn_fs_fs/fs_fs.c,

subversion/libsvn_fs/fs-loader.c,

subversion/libsvn_fs_fs/lock.c,

subversion/libsvn_fs_fs/temp_serializer.c,

subversion/libsvn_fs_fs/tree.c,

subversion/libsvn_fs_util/fs-util.c,

subversion/libsvn_ra/compat.c,

subversion/libsvn_ra/deprecated.c,

subversion/libsvn_ra_local/ra_plugin.c,

subversion/libsvn_ra/ra_loader.c,

subversion/libsvn_ra_serf/blame.c,

subversion/libsvn_ra_serf/blncache.c,

subversion/libsvn_ra_serf/commit.c,

subversion/libsvn_ra_serf/getlocations.c,

subversion/libsvn_ra_serf/getlocationsegments.c,

subversion/libsvn_ra_serf/getlocks.c,

subversion/libsvn_ra_serf/inherited_props.c,

subversion/libsvn_ra_serf/log.c,

subversion/libsvn_ra_serf/merge.c,

subversion/libsvn_ra_serf/mergeinfo.c,

subversion/libsvn_ra_serf/options.c,

subversion/libsvn_ra_serf/property.c,

subversion/libsvn_ra_serf/replay.c,

subversion/libsvn_ra_serf/serf.c,

subversion/libsvn_ra_serf/update.c,

subversion/libsvn_ra_serf/util.c,

subversion/libsvn_ra_serf/xml.c,

subversion/libsvn_ra_svn/client.c,

subversion/libsvn_ra_svn/editorp.c,

subversion/libsvn_ra_svn/marshal.c,

subversion/libsvn_repos/authz.c,

subversion/libsvn_repos/commit.c,

subversion/libsvn_repos/delta.c,

subversion/libsvn_repos/deprecated.c,

subversion/libsvn_repos/fs-wrap.c,

subversion/libsvn_repos/hooks.c,

subversion/libsvn_repos/log.c,

subversion/libsvn_repos/replay.c,

subversion/libsvn_repos/reporter.c,

subversion/libsvn_repos/repos.c,

subversion/libsvn_repos/rev_hunt.c,

subversion/libsvn_subr/auth.c,

subversion/libsvn_subr/cmdline.c,

subversion/libsvn_subr/compat.c,

subversion/libsvn_subr/config_auth.c,

subversion/libsvn_subr/config.c,

subversion/libsvn_subr/deprecated.c,

subversion/libsvn_subr/dso.c,

subversion/libsvn_subr/hash.c,

subversion/libsvn_subr/io.c,

subversion/libsvn_subr/mergeinfo.c,

subversion/libsvn_subr/opt.c,

subversion/libsvn_subr/properties.c,

subversion/libsvn_subr/simple_providers.c,

subversion/libsvn_subr/sorts.c,

subversion/libsvn_subr/ssl_client_cert_providers.c,

subversion/libsvn_subr/ssl_client_cert_pw_providers.c,

subversion/libsvn_subr/ssl_server_trust_providers.c,

subversion/libsvn_subr/subst.c,

subversion/libsvn_subr/types.c,

subversion/libsvn_subr/username_providers.c,

subversion/libsvn_subr/utf.c,

subversion/libsvn_subr/win32_crypto.c,

subversion/libsvn_wc/adm_crawler.c,

subversion/libsvn_wc/adm_files.c,

subversion/libsvn_wc/adm_ops.c,

subversion/libsvn_wc/conflicts.c,

subversion/libsvn_wc/copy.c,

subversion/libsvn_wc/deprecated.c,

subversion/libsvn_wc/diff_editor.c,

subversion/libsvn_wc/diff_local.c,

subversion/libsvn_wc/entries.c,

subversion/libsvn_wc/externals.c,

subversion/libsvn_wc/info.c,

subversion/libsvn_wc/lock.c,

subversion/libsvn_wc/node.c,

subversion/libsvn_wc/old-and-busted.c,

subversion/libsvn_wc/props.c,

subversion/libsvn_wc/revert.c,

subversion/libsvn_wc/status.c,

subversion/libsvn_wc/translate.c,

subversion/libsvn_wc/update_editor.c,

subversion/libsvn_wc/upgrade.c,

subversion/libsvn_wc/wc_db.c,

subversion/libsvn_wc/wc_db_update_move.c,

subversion/libsvn_wc/wc_db_wcroot.c,

subversion/libsvn_wc/workqueue.c,

subversion/mod_dav_svn/activity.c,

subversion/mod_dav_svn/deadprops.c,

subversion/mod_dav_svn/lock.c,

subversion/mod_dav_svn/merge.c,

subversion/mod_dav_svn/mod_dav_svn.c,

subversion/mod_dav_svn/reports/update.c,

subversion/mod_dav_svn/repos.c,

subversion/mod_dav_svn/version.c,

subversion/svnadmin/svnadmin.c,

subversion/svnauth/svnauth.c,

subversion/svn/cl-conflicts.c,

subversion/svn/commit-cmd.c,

subversion/svn/conflict-callbacks.c,

subversion/svn/diff-cmd.c,

subversion/svn/help-cmd.c,

subversion/svnlook/svnlook.c,

subversion/svnmucc/svnmucc.c,

subversion/svn/notify.c,

subversion/svn/propedit-cmd.c,

subversion/svn/propget-cmd.c,

subversion/svn/props.c,

subversion/svnrdump/dump_editor.c,

subversion/svnrdump/svnrdump.c,

subversion/svnrdump/util.c,

subversion/svnserve/serve.c,

subversion/svn/status.c,

subversion/svn/status-cmd.c,

subversion/svn/svn.c,

subversion/svnsync/svnsync.c,

subversion/svnsync/sync.c,

subversion/svn/util.c,

subversion/tests/libsvn_fs/fs-test.c,

subversion/tests/libsvn_repos/repos-test.c,

subversion/tests/libsvn_subr/hashdump-test.c,

subversion/tests/libsvn_subr/mergeinfo-test.c,

subversion/tests/libsvn_subr/subst_translate-test.c,

subversion/tests/libsvn_wc/conflict-data-test.c,

subversion/tests/libsvn_wc/op-depth-test.c,

subversion/tests/libsvn_wc/wc-test.c,

subversion/tests/svn_test_fs.c,

tools/dev/fsfs-reorg.c,

tools/server-side/fsfs-stats.c): #include svn_private_config.h first

  1. … 180 more files in changeset.
* subversion/tests/libsvn_repos/repos-test.c

(filename_with_control_chars): Update synopsis of issue #4340 in comment.

Remove the '#ifdef SVN_FS_INFO' guards that hide the svn_fs_info* and

svn_repos_info* family of APIs. All these APIs were developed on trunk,

so their names are not repeated in this log message.

  1. … 6 more files in changeset.
Remove duplicate line.

* subversion/tests/libsvn_repos/repos-test.c

(in_repo_groups_authz): Remove second setting of groups_url.

* **/**

Run tools/dev/remove-trailing-whitespace.sh to remove all trailing whitespace

before we branch 1.8, like we did before creating previous branches.

No functional changes.

  1. … 199 more files in changeset.
'svnadmin info': disable the public APIs for 1.8.x, by making them conditional

on an undefined preprocessor symbol.

* subversion/include/svn_fs.h

(svn_fs_info_format, svn_fs_info_config_files, svn_fs_info_t,

svn_fs_info, svn_fs_info_dup, SVN_FS_FSFS_INFO_SHARDED,

SVN_FS_FSFS_INFO_REP_CACHE_PATH, SVN_FS_FSFS_INFO_MIN_UNPACKED_REV):

As above.

* subversion/include/svn_repos.h

(svn_repos_capabilities, svn_repos_info_format):

As above.

* subversion/libsvn_fs/fs-loader.c

(svn_fs_info_format, svn_fs_info_config_files, svn_fs_info, svn_fs_info_dup):

As above.

* subversion/libsvn_repos/repos.c

(svn_repos_capabilities, svn_repos_info_format): As above.

* subversion/tests/libsvn_fs/fs-test.c

(test_fs_info_format): As above.

(test_funcs): As above.

* subversion/tests/libsvn_repos/repos-test.c

(test_repos_info): As above.

(test_funcs): As above.

  1. … 5 more files in changeset.
* subversion/tests/libsvn_repos/repos-test.c

(test_path_authz): Catch unrecognised actions to avoid unitialised variable.

Redesign and implement "fetch repository info".

Introduce independent functions, replacing the info struct. Remove hooks

support for now; it could be added by reusing hooks.c:check_hook_cmd().

* subversion/include/svn_repos.h

(svn_repos_capabilities): Point to this function from the "if you add a new

capability" comment.

(svn_repos_info_format): New function.

(svn_repos_info, svn_repos_info_t, svn_repos_info_dup):

Delete declarations (which have never been implemented)..

* subversion/libsvn_repos/repos.c

(svn_repos_capabilities): Implement.

(svn_repos_info_format): Implement.

(svn_repos_info, svn_repos_info_t, svn_repos_info_dup):

Delete stub definitions.

* subversion/tests/libsvn_repos/repos-test.c

(svn_hash.h, svn_version.h): Include.

(test_repos_info): New function.

(test_funcs): Run it.

* subversion/libsvn_repos/repos.h

(SVN_REPOS__FORMAT_NUMBER, SVN_REPOS__FORMAT_NUMBER_1_4):

Juggle macros a little to ensure that svn_repos_info_format() would trip

if we increment the format number without changing the "format number to

version number" logic therein.

  1. … 3 more files in changeset.
* subversion/tests/libsvn_repos/repos-test.c

(filename_with_control_chars): Use a repository named

"test-repo-..." rather than "test-repos-...", as that's our

convention, and that's what's matched in svn:ignores.

Remove the ability of svn_repos_authz_read2() to handle repos-relative URLs.

This cleans up a case where it was impossible to canonicalize the paths

being passed into it and also ends up removing the need to pass repos_root

into it. If callers want to support repos-relative URLs then they should

resolve them into absolute file URLs and canonicalize them prior to calling

svn_repos_authz_read2().

* subversion/include/svn_repos.h

(svn_repos_authz_read2): Remove repos_root argument and adjust documentation

to account for no longer accepting repos-root URLs. Also change "a file"

in the documented formats for path to a dirent to be more precise.

* subversion/libsvn_repos/authz.c

(authz_retrieve_config_repo, svn_repos__authz_read, svn_repos_authz_read2):

Remove repos_root parameter and support for repos-relative URLs in path.

* subversion/libsvn_repos/deprecated.c

(svn_repos_authz_read): Adjust call of svn_repos__authz_read().

* subversion/libsvn_repos/repos.h

(svn_repos_authz_read): Adjust declaration and documentation to match the

removal of repos_root and support for repos-relative URLs.

* subversion/mod_authz_svn/mod_authz_svn.c

(canonicalize_access_file): Adjust comment about why we are not canonicalizing

here.

(get_access_conf): When access_file is a repos-relative URL resolve and

canonicalize it before calling svn_repos_authz_read2().

* subversion/svnserve/serve.c

(canonicalize_access_file): Change access_file to an arginout and return

an svn_error_t so that we can resolve and canonicalize repos-relative

urls.

(load_authz_config): Adjust calls to canonicalize_access_file() due to

above changes.

* subversion/tests/libsvn_repos/repos-test.c

(in_repo_authz, in_repo_groups_authz): Remove repos-relative URL tests

and convert still needed tests that were using repos-relative URls to

absolute URLs.

* tools/server-side/svnauthz.c

(get_authz): Fix call to svn_repos_authz_read2() to match above changes.

  1. … 7 more files in changeset.
Reject paths containing control characters at the repos layer.

Newly added paths are checked by the repos commit editor, and rejected

if they contain control characters.

Related to issue #4340.

* subversion/libsvn_repos/commit.c

(illegal_path_escape): New, copied from libsvn_subr/path.c.

Going forward, we could make this function public in libsvn_subr.

But a static copy in this file will make backports easier for now.

(check_cntrl): New, based on svn_path_check_valid().

(add_file_or_directory): Reject paths which contain control characters.

* subversion/tests/libsvn_repos/repos-test.c

(filename_with_control_chars): New test.

(test_funcs): Add new test.

  1. … 1 more file in changeset.
Remove the test for issue #4340, "fs layer should reject filenames with

trailing \n", which changed its focus from the repos layer to the FS layer.

* subversion/tests/libsvn_repos/repos-test.c

(filename_trailing_newline): Remove.

(test_funcs): Remove filename_trailing_newline test from this list.

Follow-up to r1461535:

* subversion/tests/libsvn_repos/repos-test.c

(filename_trailing_newline): Tweak this test to verify behaviour of

the repos layer, not the FS layer. Current consensus seems to be that

the FS API should allow such names, and the repos layer should reject

them. So expect a commit of the transaction via the repos API to fail,

rather than expecting the FS layer to reject the creation of filenames

with trailing newlines in transactions.

Add an XFAIL test for issue 4340, "repos layer should reject filenames with

trailing \n".

* subversion/tests/libsvn_repos/repos-test.c

(filename_trailing_newline, test_funcs): New test.

The new (1.8) zero_copy_limit parameter in svn_repos_begin_report3

can only be used under certain circumstances. Document those.

Since we use that interface at our RA layers only, the preconditions

are fulfilled. However, our tests do create some things with this

API and this patch disables the zero copy optimization for those.

* subversion/include/svn_repos.h

(svn_repos_begin_report3): mention limitation on zero_copy_limit

* subversion/tests/libsvn_repos/repos-test.c

(reporter_depth_exclude): make our tests comply to that limitation

  1. … 1 more file in changeset.
Allow svn_ra_get_file_revs2() and svn_repos_get_file_revs2() to report file

revisions backwards. This to allow optimizing 'svn blame' in a future

Subversion release without having to wait for yet another server upgrade

to support this new feature.

* subversion/include/svn_ra.h

(svn_ra_get_file_revs2): Update documentation.

* subversion/include/svn_repos.h

(svn_repos_get_file_revs2): Update documentation.

* subversion/libsvn_repos/rev_hunt.c

(svn_repos_get_file_revs2): Update comment. Detect reversed arguments,

which would originally just return an error or no revisions..

and in that case reverse the revision array before walking it.

* subversion/tests/libsvn_repos/repos-test.c

(test_get_file_revs): Extend test to also walk the revisions backwards.

  1. … 3 more files in changeset.
Fix test failures after r1440023.

* subversion/tests/libsvn_repos/repos-test.c

(in_repo_authz, in_repo_groups_authz): Expect SVN_ERR_ILLEGAL_TARGET

for non-existant paths in the repo.

Introduce AuthzSVNGroupsFile option to allow Subversion configurations with

groups stored in a separate file.

* subversion/include/svn_config.h

(SVN_CONFIG_OPTION_GROUPS_DB): New define.

* subversion/include/svn_repos.h

(SVN_REPOS__CONF_GROUPS): New define.

(svn_repos_authz_read2): New optional 'groups_path' parameter.

(svn_repos_authz_parse): New optional 'groups_stream' parameter.

* subversion/libsvn_repos/authz.c

(authz_copy_group): Introduce a callback for groups copying.

(authz_copy_groups): Introduce a helper routine to copy groups from a

specified config to the authz structure. Report error if the

destination authz already contains group definitions.

(svn_repos__authz_read): Support the 'groups_path' parameter. If it is set,

parse the corresponding groups config and copy the groups to the

resulting authz structure using authz_copy_groups.

(svn_repos_authz_read2): New optional 'groups_path' parameter.

(svn_repos_authz_read): Support the 'groups_stream' parameter. If it is

set, parse the corresponding groups config stream and copy the groups

to the resulting authz structure.

* subversion/libsvn_repos/deprecated.c

(svn_repos_authz_read): Pass NULL as the 'groups_path' parameter when

calling svn_repos__authz_read.

* subversion/libsvn_repos/repos.h

(svn_repos__authz_read): New optional 'groups_path' parameter.

* subversion/libsvn_repos/repos.с

(create_conf): Explain the purpose of the new groups-db option.

* subversion/mod_authz_svn/mod_authz_svn.c

(authz_svn_config_rec): Add the 'groups_file' config member.

(AuthzSVNGroupsFile_cmd): Introduce a function to canonicalize the groups

file config value.

(authz_svn_cmds): Add the AuthzSVNGroupsFile option.

(get_access_conf): Log the path to the groups file if it is set. Pass the

groups file path to svn_repos_authz_read2.

* subversion/svnserve/serve.c

(canonicalize_access_file): New function. Factored out from

load_authz_config to be reused for the groups file.

(load_authz_config): Retrieve the SVN_CONFIG_OPTION_GROUPS_DB from the

svnserve config. Canonicalize this value if it is present and pass

it to svn_repos_authz_read2 when loading the authz configuration.

* tools/server-side/svnauthz.c

(svnauthz_opt_state): Add the 'groups_file' member.

(svnauthz__cmdline_options_t): Add the svnauthz__groups_file enum member.

(options_table): Add the --groups-file option and short description for it.

(cmd_table): Update the documentation to reflect the added

svnauthz__groups_file option.

(read_file_contents): New function. Factored out from get_authz_from_txn to

be reused for the groups file contents.

(get_authz_from_txn): Use read_file_contents for both authz and groups

files. Pass the resulting contents to svn_repos_authz_parse.

(get_authz): Pass the groups file from options to get_authz_from_txn

or svn_repos_authz_read2 depending on whether transaction option is set.

(canonicalize_access_file): New function. Factored out from

sub_main to be reused for the groups file.

(sub_main): Grab the groups file option from the command line, canonicalize

it if it present and pass it further as a part of the opt_state.

* subversion/tests/libsvn_repos/repos-test.c

(authz-get-handle, in_repo_authz): Pass NULL as the 'groups_path' parameter

when calling svn_repos_authz_read2. Pass NULL as the 'groups_stream'

parameter when calling svn_repos_authz_parse.

(authz_groups_get_handle): Introduce the helper routine for tests similiar

to authz_get_handle but supporting a separate groups file.

(groups_authz, in_repo_groups_authz): Add.

* subversion/tests/cmdline/authz_tests.py

(authz_svnserve_groups): Add the access test for svnserve configured with

a separate groups file.

(test_list): Add a reference to the new test.

* subversion/tests/cmdline/svntest/main.py

(write_restrictive_svnserve_conf_with_groups): New method. Creates a

default restrictive svnserve configuration with a separate groups file.

(write_groups_file): Introduce a helper method to write the groups file

in tests.

* subversion/tests/cmdline/svntest/sandbox.py

(_set_name): Store the default path to the groups file in the

'Sandbox.groups_file' variable.

* subversion/mod_authz_svn/INSTALL

(II.1): Describe usage of AuthzSVNGroupsFile directive.

Patch by: Evgeny Kotkov <evgeny.kotkov{_AT_}visualsvn.com>

  1. … 13 more files in changeset.
Fix compilation warning.

* subversion/tests/libsvn_repos/repos-test.c

(prop_validation): Use '\xff' instead of '(char) 0xff'.

Follow-up to r1437354: Add test for svn_repos_delete().

* subversion/tests/libsvn_repos/repos-test.c

(test_delete_repos): New test for svn_repos_delete().

(test_funcs): Add new test to list.

Suggested by: philip

Add a svn_repos_authz_parse() function which parses an authz config from

a stream.

This also switches most testing of the authz code to using streams, which

should result in a tiny bit faster testing since we're not needing to

do disk I/O.

* subversion/libsvn_repos/authz.c

(svn_repos__authz_read): Factor out walking the config for authz errors

into ...

(authz_validate): New function.

(svn_repos_authz_parse): New function.

* subversion/include/svn_repos.h

(svn_repos_authz_parse): New function.

* subversion/tests/libsvn_repos/repos-test.c

(authz_get_handle): Adjust to allow authz conf to be optionally written

to a in memory stream rather than always going to a temp file.

(authz): Change most of the tests to use in memory streams and duplicate

one test so that the code that is unique to the file path is excercised.

(commit_editor_authz,issue_4060): Use in memory streams.

  1. … 2 more files in changeset.
* subversion/tests/libsvn_repos/repos-test.c (authz): Remove unused variable.

Merge the in-repo-authz branch back to trunk.

See http://svn.haxx.se/dev/archive-2012-12/0397.shtml

  1. … 23 more files in changeset.
Refactor some test code to make it easier to extend.

* subversion/tests/libsvn_repos/repos-test.c

(nls_receiver_baton, format_segment, nls_receiver, check_location_segments):

Add doc strings and constify the expected result pointers.

(location_segment_test_t): New struct.

(node_location_segments): Move the test data into an array and iterate

over it.

Make the unit test for svn_repos_node_location_segments() stronger.

* subversion/tests/libsvn_repos/repos-test.c

(strcmp_null): New function.

(nls_receiver): Check 'range_end' and 'path' as well as 'range_start'.

(node_location_segments): Fix two typos in the expected paths.