subversion

Checkout Tools
  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 843184 is being indexed.

While as OSCON, I was talking with some people who want to embed SVN

in their program. In order to dynamically allocate some of the

structures, they need a context pointer to hold their private state

(e.g. the target of a thunking vtable layer). To help these people

out, we simply add a little context field to some of our structures.

Normally, this will be NULL (especially if the structure is statically

allocated constant data).

* svn_delta.h (svn_delta_editor_t): add a void* context field.

This fixes a few small bugs in the Client library bindings.

* bindings/swig/svn_client.i:

- Fixed a crash in the 'out' %typemap that converts an apr_array_header_t

into a python list.

- Added %typemaps for const char *xml_src and const char *xml_dst that

explicitly allow these arguments to be 'None' in python.

Oops. A 'to' got dropped.
* index.html: Don't claim that we'll have all CVS features, just most

of them.

Voted for 18 - josander <jostein@josander.net>
* build/buildcheck.sh: Allow use of neon 0.23.1 through 0.23.3.

* www/project_faq.html: Add FAQ entry relating to SSH forwarding.

Upgrade to use Neon 0.23.3 which hopefully fixes the Windows build

issues for real this time.

* build/buildcheck.sh:

Require Neon 0.23.3.

* INSTALL:

Update to use Neon 0.23.3.

* CHANGES:

Mention Neon 0.23.3.

Darn tabs
Votes from Bruce Atherton
Added a couple of new logos from Bruce Atherton (bruce@callenish.com) and Michael Meehan
Added new logo from Diego Navarro (diego@navarro.mus.br)
Unify some duplicated code before things get out of sync:

* subversion/include/svn_types.h, subversion/libsvn_subr/validate.c

(svn_mime_type_is_binary): New function.

(svn_mime_type_validate): Renamed from svn_validate_mime_type, so we

have a consistent prefix for mime-type stuff now. All callers

changed.

* subversion/clients/cmdline/feedback.c

(notify): Just call svn_mime_type_is_binary, instead of doing

it by hand.

* subversion/libsvn_wc/questions.c

(svn_wc_has_binary_prop): Same, and users may apply in person for a

refund of the cycles wasted this way.

    • -7
    • +1
    /trunk/subversion/libsvn_wc/questions.c
    • -1
    • +1
    /trunk/subversion/mod_dav_svn/liveprops.c
    • -1
    • +12
    /trunk/subversion/libsvn_subr/validate.c
    • -8
    • +13
    /trunk/subversion/include/svn_types.h
Resolve issue #888:

Committing an added binary files failed to give "(bin)" feedback, now

it does.

* subversion/libsvn_client/commit_util.c

(do_item_commit): Pass mime-type to notify in the file case. Also,

put braces around conditional bodies for clarity.

* subversion/tests/clients/cmdline/update_tests.py

(update_binary_file, update_binary_file_2): Expect the new notification.

Votes from jknight

New XFAIL test for issue #888.

[in subversion/tests/clients/cmdline]

* commit_tests.py (commit_one_new_binary_file): New test.

(test_list): Add commit_one_new_binary_file, marked as XFAIL.

* svntest/tree.py (build_tree_from_commit): Tweak the regex to accept

the "Adding (bin)" status.

Votes from Nicholas Riley.
Hey, when I voted before, #18 wasn't a selection. It's nicer when you

see its icons vs #16.

<jerenkrantz@apache.org>

<brane@xbc.nu>: Vote for 18. And I hate trailing whitespace.

Now that we're so close to the end, it's time to see how the current

leader and runner-up fare when used as icons.

* images/tyrus-svn2-*.png, images/tyrus-svn2.ico,

images/cmpilato-wave-*.png, images/cmpilato-wave.ico:

Added six variants of tyrus-svn2 and cmpilato-wave:

- 256-colour (optimized palette) and 16-colour (Windows palette)

- 48, 32 and 16 pixels wide

and a Windwos icon that containes all those images.

* entries.html: Add links to those images.

<brane@xbc.nu>

    • ?
    /svn-logos/images/cmpilato-wave-32m.png
    • ?
    /svn-logos/images/tyrus-svn2-48.png
    • ?
    /svn-logos/images/cmpilato-wave-48m.png
    • ?
    /svn-logos/images/cmpilato-wave-16m.png
    • ?
    /svn-logos/images/cmpilato-wave.ico
    • ?
    /svn-logos/images/tyrus-svn2-32m.png
    • ?
    /svn-logos/images/cmpilato-wave-48.png
    • ?
    /svn-logos/images/tyrus-svn2-16.png
    • ?
    /svn-logos/images/tyrus-svn2-48m.png
    • ?
    /svn-logos/images/tyrus-svn2-32.png
    • ?
    /svn-logos/images/cmpilato-wave-16.png
    • ?
    /svn-logos/images/cmpilato-wave-32.png
    • ?
    /svn-logos/images/tyrus-svn2-16m.png
* build/win32/build_neon.bat:

Add "/D HAVE_EXPAT" to EXPAT_FLAGS to handle one issue with compiling

Neon and Subversion on Windows. However, this doesn't fix all of the

issues and the complete fix requires a release of Neon 0.23.3.

* bindings/swig/INSTALL: new instructions to get swig bindings working.

* bindings/swig/README: add pointer to INSTALL doc.

    • -0
    • +5
    /trunk/subversion/bindings/swig/README
    • -0
    • +84
    /trunk/subversion/bindings/swig/INSTALL
Votes from Anders Rune Jensen
Fix a typo.

Suggested by: Blair Zajac <blair@orcaware.com>

* win-tests.py: The test mode is in 'sys.argv[1]', not in 'type'.

Include svn_props.h
    • -0
    • +2
    /trunk/subversion/bindings/swig/util.i
Votes from Will Andrews <will@FreeBSD.org>.
Votes from ehabkost
votes from garrett rooney <rooneg@electricjellyfish.net>

Votes from Scott Lamb <slamb@slamb.org>

Fix issue #720: add the "--no-auth-cache" option.

Patch by: Mark Benedetto King <bking@inquira.com>

me

* subversion/clients/cmdline/cl.h

(svn_cl__longopt_t): Add svn_cl__no_auth_cache_opt.

(svn_cl__opt_state_t): Add no_auth_cache field.

* subversion/clients/cmdline/main.c

(svn_cl__options): Add "no_auth_cache" option.

(svn_cl__cmd_table): Support the new option in many commands.

(main): Notice the option, set opt_state accordingly.

* subversion/include/svn_client.h

(svn_client_auth_baton_t): Remove overwrite field, split into two

new boolean fields store_auth_info and got_new_auth_info.

* subversion/clients/cmdline/prompt.c

(svn_cl__make_auth_baton): Set the new fields accordingly.

* subversion/libsvn_client/auth.c

(get_username, get_password): Adjust for above; also, tighten logic.

(maybe_store_username, maybe_store_password): Replace store_username

and store_password respectively. Put config conditionalization into

the latter. All callers changed.

(store_user_and_pass): Don't do config conditionalization here,

maybe_store_password takes care of it now.

* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_log_switch_stdout

Adjust expected output.

    • -15
    • +28
    /trunk/subversion/clients/cmdline/main.c
    • -2
    • +3
    /trunk/subversion/clients/cmdline/cl.h
    • -58
    • +33
    /trunk/subversion/libsvn_client/auth.c
    • -2
    • +15
    /trunk/subversion/include/svn_client.h