You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/10/16 13:27:23 UTC
[1/2] couch commit: updated refs/heads/master to f55205d
Repository: couchdb-couch
Updated Branches:
refs/heads/master b5e7e54fa -> f55205d6c
Fix couch_httpd_multipart exports
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/de590ccd
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/de590ccd
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/de590ccd
Branch: refs/heads/master
Commit: de590ccdc83028394a935829d04aaee9da6f18d2
Parents: b5e7e54
Author: Alexander Shorin <kx...@apache.org>
Authored: Thu Oct 15 23:15:33 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Thu Oct 15 23:15:33 2015 +0300
----------------------------------------------------------------------
src/couch_httpd_multipart.erl | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/de590ccd/src/couch_httpd_multipart.erl
----------------------------------------------------------------------
diff --git a/src/couch_httpd_multipart.erl b/src/couch_httpd_multipart.erl
index 4aff207..6ce3c76 100644
--- a/src/couch_httpd_multipart.erl
+++ b/src/couch_httpd_multipart.erl
@@ -12,10 +12,14 @@
-module(couch_httpd_multipart).
--export([encode_multipart_stream/5]).
--export([decode_multipart_stream/3]).
--export([length_multipart_stream/3]).
--export([abort_multipart_stream/1]).
+-export([
+ abort_multipart_stream/1,
+ decode_multipart_stream/3,
+ encode_multipart_stream/5,
+ length_multipart_stream/3,
+ num_mp_writers/0,
+ num_mp_writers/1
+]).
-include_lib("couch/include/couch_db.hrl").
[2/2] couch commit: updated refs/heads/master to f55205d
Posted by kx...@apache.org.
Remove deprecated functions
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/f55205d6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/f55205d6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/f55205d6
Branch: refs/heads/master
Commit: f55205d6ce25613aa50067a54be5754affbf3001
Parents: de590cc
Author: Alexander Shorin <kx...@apache.org>
Authored: Thu Oct 15 23:16:36 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Fri Oct 16 00:42:28 2015 +0300
----------------------------------------------------------------------
src/couch_doc.erl | 12 ------------
1 file changed, 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/f55205d6/src/couch_doc.erl
----------------------------------------------------------------------
diff --git a/src/couch_doc.erl b/src/couch_doc.erl
index a3f1a66..f973923 100644
--- a/src/couch_doc.erl
+++ b/src/couch_doc.erl
@@ -23,9 +23,6 @@
-export([with_ejson_body/1]).
-export([is_deleted/1]).
-%% deprecated
--export([abort_multi_part_stream/1]).
--export([num_mp_writers/1]).
-include_lib("couch/include/couch_db.hrl").
@@ -444,12 +441,3 @@ with_ejson_body(#doc{body = Body} = Doc) when is_binary(Body) ->
Doc#doc{body = couch_compress:decompress(Body)};
with_ejson_body(#doc{body = {_}} = Doc) ->
Doc.
-
-%% deprecated
-abort_multi_part_stream(Parser) ->
- couch_log:warning("couch_doc:abort_multi_part_stream/1 is deprecated use couch_httpd_multipart:abort_multipart_stream/1", []),
- couch_httpd_multipart:abort_multipart_stream(Parser).
-
-num_mp_writers(N) ->
- couch_log:warning("couch_doc:num_mp_writers/1 is deprecated use couch_httpd_multipart:num_mp_writers/1", []),
- couch_httpd_multipart:num_mp_writers(N).