Skip to content

Commit

Permalink
Support new NIFs
Browse files Browse the repository at this point in the history
  • Loading branch information
apage43 committed Jul 27, 2011
1 parent 4b812e9 commit 157ab58
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MobileCouchbase/Couchbase.xcodeproj/project.pbxproj
Expand Up @@ -276,7 +276,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "./build_app.sh couchdb \"couch.erl couch_api_wrap.erl couch_api_wrap_httpc.erl couch_app.erl couch_app_server.erl couch_app_server_emonk.erl couch_app_server_erlang.erl couch_auth_cache.erl couch_btree.erl couch_changes.erl couch_compaction_daemon.erl couch_compress.erl couch_compress_types.erl couch_config.erl couch_config_writer.erl couch_db.erl couch_db_frontend.erl couch_db_update_notifier.erl couch_db_update_notifier_sup.erl couch_db_updater.erl couch_doc.erl couch_drv.erl couch_event_sup.erl couch_external_manager.erl couch_external_server.erl couch_file.erl couch_httpc_pool.erl couch_httpd.erl couch_httpd_auth.erl couch_httpd_db.erl couch_httpd_external.erl couch_httpd_misc_handlers.erl couch_httpd_oauth.erl couch_httpd_proxy.erl couch_httpd_replicator.erl couch_httpd_rewrite.erl couch_httpd_show.erl couch_httpd_stats_handlers.erl couch_httpd_vhost.erl couch_httpd_view.erl couch_httpd_view_merger.erl couch_internal_load_gen.erl couch_key_tree.erl couch_log.erl couch_native_process.erl couch_os_daemons.erl couch_os_process.erl couch_primary_sup.erl couch_query_servers.erl couch_ref_counter.erl couch_rep_sup.erl couch_replication_manager.erl couch_replication_notifier.erl couch_replicator.erl couch_replicator_doc_copier.erl couch_replicator_rev_finder.erl couch_replicator_utils.erl couch_secondary_sup.erl couch_server.erl couch_server_sup.erl couch_stats_aggregator.erl couch_stats_collector.erl couch_stream.erl couch_task_status.erl couch_util.erl couch_uuids.erl couch_view.erl couch_view_compactor.erl couch_view_group.erl couch_view_merger.erl couch_view_server.erl couch_view_server_emonk.erl couch_view_server_erlang.erl couch_view_server_os.erl couch_view_updater.erl couch_work_queue.erl json_stream_parse.erl\" ../../../../erlang/lib/couch/ebin\n./build_app.sh erlang-oauth \"oauth.erl oauth_hmac_sha1.erl oauth_http.erl oauth_plaintext.erl oauth_rsa_sha1.erl oauth_unix.erl oauth_uri.erl\" ../../../../erlang/lib/erlang-oauth/ebin\n./build_app.sh ibrowse \"ibrowse.erl ibrowse_app.erl ibrowse_http_client.erl ibrowse_lb.erl ibrowse_lib.erl ibrowse_sup.erl ibrowse_test.erl\" ../../../../erlang/lib/ibrowse\n./build_app.sh mochiweb \"mochifmt.erl mochifmt_records.erl mochifmt_std.erl mochiglobal.erl mochihex.erl mochijson.erl mochijson2.erl mochilists.erl mochilogfile2.erl mochinum.erl mochitemp.erl mochiutf8.erl mochiweb.erl mochiweb_acceptor.erl mochiweb_app.erl mochiweb_charref.erl mochiweb_cookies.erl mochiweb_cover.erl mochiweb_echo.erl mochiweb_headers.erl mochiweb_html.erl mochiweb_http.erl mochiweb_io.erl mochiweb_mime.erl mochiweb_multipart.erl mochiweb_request.erl mochiweb_request_tests.erl mochiweb_response.erl mochiweb_skel.erl mochiweb_socket.erl mochiweb_socket_server.erl mochiweb_sup.erl mochiweb_util.erl reloader.erl\" ../../../../erlang/lib/mochiweb/ebin\n./build_app.sh ejson \"ejson.erl mochijson2.erl mochinum.erl\" ../../../../erlang/lib/ejson/ebin\nerlc -o erlang/lib/emonk/ebin Vendor/couchdb/src/emonk/src/emonk.erl";
shellScript = "./build_app.sh couchdb \"couch.erl couch_api_wrap.erl couch_api_wrap_httpc.erl couch_app.erl couch_app_server.erl couch_app_server_emonk.erl couch_app_server_erlang.erl couch_auth_cache.erl couch_btree.erl couch_changes.erl couch_compaction_daemon.erl couch_compress.erl couch_compress_types.erl couch_config.erl couch_config_writer.erl couch_db.erl couch_db_frontend.erl couch_db_update_notifier.erl couch_db_update_notifier_sup.erl couch_db_updater.erl couch_doc.erl couch_drv.erl couch_event_sup.erl couch_external_manager.erl couch_external_server.erl couch_file.erl couch_httpc_pool.erl couch_httpd.erl couch_httpd_auth.erl couch_httpd_db.erl couch_httpd_external.erl couch_httpd_misc_handlers.erl couch_httpd_oauth.erl couch_httpd_proxy.erl couch_httpd_replicator.erl couch_httpd_rewrite.erl couch_httpd_show.erl couch_httpd_stats_handlers.erl couch_httpd_vhost.erl couch_httpd_view.erl couch_httpd_view_merger.erl couch_internal_load_gen.erl couch_key_tree.erl couch_log.erl couch_native_process.erl couch_os_daemons.erl couch_os_process.erl couch_primary_sup.erl couch_query_servers.erl couch_ref_counter.erl couch_rep_sup.erl couch_replication_manager.erl couch_replication_notifier.erl couch_replicator.erl couch_replicator_doc_copier.erl couch_replicator_rev_finder.erl couch_replicator_utils.erl couch_secondary_sup.erl couch_server.erl couch_server_sup.erl couch_stats_aggregator.erl couch_stats_collector.erl couch_stream.erl couch_task_status.erl couch_util.erl couch_uuids.erl couch_view.erl couch_view_compactor.erl couch_view_group.erl couch_view_merger.erl couch_view_server.erl couch_view_server_emonk.erl couch_view_server_erlang.erl couch_view_server_os.erl couch_view_updater.erl couch_work_queue.erl json_stream_parse.erl\" ../../../../erlang/lib/couch/ebin\n./build_app.sh erlang-oauth \"oauth.erl oauth_hmac_sha1.erl oauth_http.erl oauth_plaintext.erl oauth_rsa_sha1.erl oauth_unix.erl oauth_uri.erl\" ../../../../erlang/lib/erlang-oauth/ebin\n./build_app.sh ibrowse \"ibrowse.erl ibrowse_app.erl ibrowse_http_client.erl ibrowse_lb.erl ibrowse_lib.erl ibrowse_sup.erl ibrowse_test.erl\" ../../../../erlang/lib/ibrowse\n./build_app.sh mochiweb \"mochifmt.erl mochifmt_records.erl mochifmt_std.erl mochiglobal.erl mochihex.erl mochijson.erl mochijson2.erl mochilists.erl mochilogfile2.erl mochinum.erl mochitemp.erl mochiutf8.erl mochiweb.erl mochiweb_acceptor.erl mochiweb_app.erl mochiweb_charref.erl mochiweb_cookies.erl mochiweb_cover.erl mochiweb_echo.erl mochiweb_headers.erl mochiweb_html.erl mochiweb_http.erl mochiweb_io.erl mochiweb_mime.erl mochiweb_multipart.erl mochiweb_request.erl mochiweb_request_tests.erl mochiweb_response.erl mochiweb_skel.erl mochiweb_socket.erl mochiweb_socket_server.erl mochiweb_sup.erl mochiweb_util.erl reloader.erl\" ../../../../erlang/lib/mochiweb/ebin\n./build_app.sh ejson \"ejson.erl mochijson2.erl mochinum.erl\" ../../../../erlang/lib/ejson/ebin\n./build_app.sh snappy \"snappy.erl\" ../../../../erlang/lib/snappy/ebin\nerlc -o erlang/lib/emonk/ebin Vendor/couchdb/src/emonk/src/emonk.erl";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand Down
2 changes: 1 addition & 1 deletion MobileCouchbase/Vendor/couchdb
2 changes: 1 addition & 1 deletion MobileCouchbase/Vendor/iErl14
Submodule iErl14 updated 36 files
+158 −0 iErl14.xcodeproj/project.pbxproj
+308 −0 src/ejson/decode.c
+30 −0 src/ejson/ejson.c
+183 −0 src/ejson/encode.c
+120 −0 src/ejson/erl_nif_compat.h
+159 −0 src/ejson/yajl/yajl.c
+65 −0 src/ejson/yajl/yajl_alloc.c
+50 −0 src/ejson/yajl/yajl_alloc.h
+119 −0 src/ejson/yajl/yajl_buf.c
+73 −0 src/ejson/yajl/yajl_buf.h
+85 −0 src/ejson/yajl/yajl_bytestack.h
+85 −0 src/ejson/yajl/yajl_common.h
+188 −0 src/ejson/yajl/yajl_encode.c
+50 −0 src/ejson/yajl/yajl_encode.h
+322 −0 src/ejson/yajl/yajl_gen.c
+159 −0 src/ejson/yajl/yajl_gen.h
+737 −0 src/ejson/yajl/yajl_lex.c
+133 −0 src/ejson/yajl/yajl_lex.h
+193 −0 src/ejson/yajl/yajl_parse.h
+470 −0 src/ejson/yajl/yajl_parser.c
+95 −0 src/ejson/yajl/yajl_parser.h
+0 −4 src/emulator/beam/erl_nif.h
+37 −25 src/emulator/sys/unix/erl_unix_sys_ddll.c
+129 −0 src/snappy/erl_nif_compat.h
+1 −0 src/snappy/google-snappy/AUTHORS
+28 −0 src/snappy/google-snappy/COPYING
+130 −0 src/snappy/google-snappy/snappy-config.h
+150 −0 src/snappy/google-snappy/snappy-internal.h
+72 −0 src/snappy/google-snappy/snappy-sinksource.cc
+136 −0 src/snappy/google-snappy/snappy-sinksource.h
+42 −0 src/snappy/google-snappy/snappy-stubs-internal.cc
+477 −0 src/snappy/google-snappy/snappy-stubs-internal.h
+68 −0 src/snappy/google-snappy/snappy-stubs-public.h
+1,021 −0 src/snappy/google-snappy/snappy.cc
+155 −0 src/snappy/google-snappy/snappy.h
+265 −0 src/snappy/snappy_nif.cc
12 changes: 12 additions & 0 deletions MobileCouchbase/erlang/lib/snappy/ebin/snappy.app
@@ -0,0 +1,12 @@
{application, snappy,
[
{description, "snappy compressor/decompressor Erlang NIF wrapper"},
{vsn, "1.0.3"},
{registered, []},
{applications, [
kernel,
stdlib
]},
{env, []},
{modules, [snappy]}
]}.

0 comments on commit 157ab58

Please sign in to comment.