~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to subversion/bindings/javahl/native/SVNClient.h

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2015-08-07 21:32:47 UTC
  • mfrom: (0.2.15) (4.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20150807213247-ozyewtmgsr6tkewl
Tags: 1.9.0-1
* Upload to unstable
* New upstream release.
  + Security fixes
    - CVE-2015-3184: Mixed anonymous/authenticated path-based authz with
      httpd 2.4
    - CVE-2015-3187: svn_repos_trace_node_locations() reveals paths hidden
      by authz
* Add >= 2.7 requirement for python-all-dev Build-Depends, needed to run
  tests.
* Remove Build-Conflicts against ruby-test-unit.  (Closes: #791844)
* Remove patches/apache_module_dependency in favor of expressing the
  dependencies in authz_svn.load/dav_svn.load.
* Build-Depend on apache2-dev (>= 2.4.16) to ensure ap_some_authn_required()
  is available when building mod_authz_svn and Depend on apache2-bin (>=
  2.4.16) for runtime support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
class ChangelistCallback;
54
54
class CommitMessage;
55
55
class StringArray;
56
 
class RevpropTable;
 
56
class PropertyTable;
57
57
class DiffOptions;
58
58
#include "svn_types.h"
59
59
#include "svn_client.h"
62
62
class SVNClient :public SVNBase
63
63
{
64
64
 public:
 
65
  jobject openRemoteSession(const char* path, int);
 
66
  void vacuum(const char *path,
 
67
              bool remove_unversioned_items, bool remove_ignored_items,
 
68
              bool fix_recorded_timestamps, bool remove_unused_pristines,
 
69
              bool include_externals);
65
70
  void patch(const char *patchPath, const char *targetPath, bool dryRun,
66
71
             int stripCount, bool reverse, bool ignoreWhitespace,
67
72
             bool removeTempfiles, PatchCallback *callback);
68
 
  void info2(const char *path, Revision &revision, Revision &pegRevision,
69
 
             svn_depth_t depth, StringArray &changelists,
70
 
             InfoCallback *callback);
 
73
  void info(const char *path,
 
74
            Revision &revision, Revision &pegRevision, svn_depth_t depth,
 
75
            svn_boolean_t fetchExcluded, svn_boolean_t fetchActualOnly,
 
76
            svn_boolean_t includeExternals,
 
77
            StringArray &changelists, InfoCallback *callback);
71
78
  void unlock(Targets &targets, bool force);
72
79
  void lock(Targets &targets, const char *comment, bool force);
73
80
  jobject revProperties(const char *path, Revision &revision);
75
82
  void blame(const char *path, Revision &pegRevision,
76
83
             Revision &revisionStart, Revision &revisionEnd,
77
84
             bool ignoreMimeType, bool includeMergedRevisions,
78
 
             BlameCallback *callback);
 
85
             BlameCallback *callback, DiffOptions const& options);
79
86
  void relocate(const char *from, const char *to, const char *path,
80
87
                bool ignoreExternals);
81
 
  void streamFileContent(const char *path, Revision &revision,
82
 
                         Revision &pegRevision, OutputStream &outputStream);
 
88
  apr_hash_t *streamFileContent(const char *path,
 
89
                                Revision &revision, Revision &pegRevision,
 
90
                                bool expand_keywords, bool return_props,
 
91
                                OutputStream &outputStream);
83
92
  void propertySetLocal(Targets &targets, const char *name, JNIByteArray &value,
84
93
                        svn_depth_t depth, StringArray &changelists,
85
94
                        bool force);
86
95
  void propertySetRemote(const char *path, long base_rev, const char *name,
87
96
                         CommitMessage *message,
88
97
                         JNIByteArray &value, bool force,
89
 
                         RevpropTable &revprops, CommitCallback *callback);
 
98
                         PropertyTable &revprops, CommitCallback *callback);
90
99
  void properties(const char *path, Revision &revision,
91
100
                  Revision &pegRevision, svn_depth_t depth,
92
101
                  StringArray &changelists, ProplistCallback *callback);
103
112
             const char *path2, Revision &revision2,
104
113
             const char *localPath, bool forceDelete, svn_depth_t depth,
105
114
             bool ignoreMergeinfo, bool diffIgnoreAncestry,
106
 
             bool dryRun, bool recordOnly);
 
115
             bool dryRun, bool allowMixedRev, bool recordOnly);
107
116
  void merge(const char *path, Revision &pegRevision,
108
117
             std::vector<RevisionRange> *rangesToMerge,
109
118
             const char *localPath, bool forceDelete, svn_depth_t depth,
110
119
             bool ignoreMergeinfo, bool diffIgnoreAncestry,
111
 
             bool dryRun, bool recordOnly);
 
120
             bool dryRun, bool allowMixedRev, bool recordOnly);
112
121
  void mergeReintegrate(const char *path, Revision &pegRevision,
113
122
                        const char *localPath, bool dryRun);
114
123
  void doImport(const char *path, const char *url, CommitMessage *message,
115
124
                svn_depth_t depth, bool noIgnore, bool noAutoProps,
116
125
                bool ignoreUnknownNodeTypes,
117
 
                RevpropTable &revprops, ImportFilterCallback *ifCallback,
 
126
                PropertyTable &revprops, ImportFilterCallback *ifCallback,
118
127
                CommitCallback *commitCallback);
119
128
  jlong doSwitch(const char *path, const char *url, Revision &revision,
120
129
                 Revision &pegRevision, svn_depth_t depth,
122
131
                 bool allowUnverObstructions, bool ignoreAncestry);
123
132
  jlong doExport(const char *srcPath, const char *destPath,
124
133
                 Revision &revision, Revision &pegRevision, bool force,
125
 
                 bool ignoreExternals, svn_depth_t depth,
126
 
                 const char *nativeEOL);
 
134
                 bool ignoreExternals, bool ignoreKeywords,
 
135
                 svn_depth_t depth, const char *nativeEOL);
127
136
  void resolve(const char *path, svn_depth_t depth,
128
137
               svn_wc_conflict_choice_t choice);
129
 
  void cleanup(const char *path);
 
138
  void cleanup(const char *path,
 
139
               bool break_locks,
 
140
               bool fix_recorded_timestamps,
 
141
               bool clear_dav_cache,
 
142
               bool remove_unused_pristines,
 
143
               bool include_externals);
130
144
  void mkdir(Targets &targets, CommitMessage *message, bool makeParents,
131
 
             RevpropTable &revprops, CommitCallback *callback);
 
145
             PropertyTable &revprops, CommitCallback *callback);
132
146
  void move(Targets &srcPaths, const char *destPath,
133
147
            CommitMessage *message, bool force, bool moveAsChild,
134
148
            bool makeParents, bool metadataOnly, bool allowMixRev,
135
 
            RevpropTable &revprops, CommitCallback *callback);
 
149
            PropertyTable &revprops, CommitCallback *callback);
136
150
  void copy(CopySources &copySources, const char *destPath,
137
151
            CommitMessage *message, bool copyAsChild, bool makeParents,
138
 
            bool ignoreExternals, RevpropTable &revprops,
139
 
            CommitCallback *callback);
 
152
            bool ignoreExternals, bool metaDataOnly, bool pinExternals,
 
153
            jobject jexternalsToPin,
 
154
            PropertyTable &revprops, CommitCallback *callback);
140
155
  void commit(Targets &targets, CommitMessage *message, svn_depth_t depth,
141
156
              bool noUnlock, bool keepChangelist,
142
 
              StringArray &changelists, RevpropTable &revprops,
 
157
              StringArray &changelists, PropertyTable &revprops,
143
158
              CommitCallback *callback);
144
159
  jlongArray update(Targets &targets, Revision &revision, svn_depth_t depth,
145
160
                    bool depthIsSticky, bool makeParents, bool ignoreExternals,
146
161
                    bool allowUnverObstructions);
147
162
  void add(const char *path, svn_depth_t depth, bool force,
148
163
           bool no_ignore, bool no_autoprops, bool add_parents);
149
 
  void revert(const char *path, svn_depth_t depth, StringArray &changelists);
 
164
  void revert(StringArray &paths, svn_depth_t depth, StringArray &changelists,
 
165
              bool clear_changelists, bool metadata_only);
150
166
  void remove(Targets &targets, CommitMessage *message, bool force,
151
 
              bool keep_local, RevpropTable &revprops,
 
167
              bool keep_local, PropertyTable &revprops,
152
168
              CommitCallback *callback);
153
169
  jlong checkout(const char *moduleName, const char *destPath,
154
170
                 Revision &revision, Revision &pegRevsion, svn_depth_t depth,
157
173
                   std::vector<RevisionRange> &ranges, bool stopOnCopy,
158
174
                   bool discoverPaths, bool includeMergedRevisions,
159
175
                   StringArray &revProps,
160
 
                   long limit, LogMessageCallback *callback);
 
176
                   int limit, LogMessageCallback *callback);
161
177
  jobject getVersionExtended(bool verbose);
162
178
  jstring getAdminDirectoryName();
163
179
  jboolean isAdminDirectory(const char *name);
165
181
                       svn_depth_t depth, StringArray &changelists);
166
182
  void removeFromChangelists(Targets &srcPaths, svn_depth_t depth,
167
183
                             StringArray &changelists);
168
 
  void getChangelists(const char *path, StringArray &changelists,
 
184
  void getChangelists(const char *path, StringArray *changelists,
169
185
                      svn_depth_t depth, ChangelistCallback *callback);
170
 
  void status(const char *path, svn_depth_t depth, bool onServer,
171
 
              bool getAll, bool noIgnore, bool ignoreExternals,
172
 
              StringArray &changelists, StatusCallback *callback);
 
186
  void status(const char *path, svn_depth_t depth,
 
187
              bool onServer, bool onDisk, bool getAll,
 
188
              bool noIgnore, bool ignoreExternals,
 
189
              bool depthAsSticky, StringArray &changelists,
 
190
              StatusCallback *callback);
173
191
  void list(const char *url, Revision &revision, Revision &pegRevision,
174
192
            svn_depth_t depth, int direntFields, bool fetchLocks,
175
193
            ListCallback *callback);